]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
removing update calls
[lyx.git] / src / ChangeLog
1 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2
3         * cursor.[Ch] (updatePos): new function for updating the y
4         position of the tip inset
5         * bufferview_funcs.C (put_selection_at): 
6         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
7
8 2003-11-11  André Pönitz  <poenitz@gmx.net>
9
10         * text.C: remove big comment on invalid Paragraph pointers as it is
11         not valid anymore
12
13 2003-11-11  André Pönitz  <poenitz@gmx.net>
14
15         * text_funcs.[Ch]: merge with ...
16
17         * text.C: ... this
18
19         * lyxtext.h:
20         * text2.C:
21         * text3.C: adjust
22
23         * Makefile.am: remove text_funcs.[Ch]
24
25 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
26
27         * cursor.C (getPos): return absolute cached y coord
28
29         * BufferView_pimpl.C (fitCursor): new simplistic code
30         (workAreaDispatch): add a fitCursor call
31
32 2003-11-10  André Pönitz  <poenitz@gmx.net>
33
34         * BufferView.[Ch]:
35         * BufferView_pimpl.[Ch]: merge update() and updateInset()
36
37 2003-11-10  André Pönitz  <poenitz@gmx.net>
38
39         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
40         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
41         indicate that the cursor needs to leave an inset
42
43         * lyxtext.h: remove inset locking
44
45         * cursor.[Ch]: re-implement functionality provided by inset locking
46
47         * BufferView.[Ch]:
48         * BufferView_pimpl.[Ch]:
49         * LyXAction.C:
50         * bufferview_funcs.[Ch]:
51         * factory.C:
52         * funcrequest.[Ch]:
53         * iterators.C:
54         * lyx_cb.C:
55         * lyxfind.C:
56         * lyxfunc.C:
57         * text.C:
58         * text2.C:
59         * text3.C:
60         * undo.C: adjust
61
62 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
63
64         * PosIterator.[Ch]: replace the stack with a vector, add inset 
65         accesor
66         * iterators.[C]: adjust
67
68 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
69
70         * lyxfind.C (replaceAll): mark the buffer dirty if something was
71         replaced
72         * paragraph_funcs.C (readParToken): put the correct id in the
73         error item, not the id of the top paragraph
74
75 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
76
77         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
78         * bufferview_funcs.C (put_selection_at): use the above
79
80 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
81
82         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
83
84 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
85
86         * output_linuxdoc.h: 
87         * output_plaintext.h: 
88         * output.h: 
89         * output_docbook.h: add #include statements
90
91 2003-11-05  José Matos  <jamatos@lyx.org>
92
93         * output_docbook.[Ch]:
94         * output_latex.[Ch]:
95         * output_linuxdoc.[Ch]:
96         * output_plaintext.[Ch]: New files for output formats.
97         * output.[Ch]: New file for helper functions.
98
99         * buffer.[Ch]:
100         * paragraph_funcs.[Ch]: output functions moved to new files.
101
102         * outputparams.h: rename of latexrunparams.h
103
104         * LaTeX.[Ch]:
105         * buffer.[Ch]:
106         * bufferlist.[Ch]:
107         * converter.[Ch]:
108         * exporter.C:
109         * paragraph.[Ch]:
110         * paragraph_funcs.[Ch]:
111         * paragraph_pimpl.[Ch]:
112         * tabular.[Ch]: rename ascii to plaintext
113         and LatexRunParams to OutputParams.
114         
115 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
116
117         * iterators.[Ch] (text): require bv argument
118         * undo.C (recordUndo): 
119         * lyxfunc.C (dispatch): 
120         * bufferview_funcs.C (put_selection_at): adjust
121
122 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
123
124         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
125
126 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
127
128         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
129         nestings
130
131 2003-11-04  André Pönitz  <poenitz@gmx.net>
132
133         * cursor.[Ch]: restructure
134
135         * BufferView.[Ch]:
136         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
137
138         * iterators.[Ch] (asCursor): remove
139
140         * lfuns.h: remove LFUN_INSET_EDIT
141
142         * lyxfunc.C:
143         * tabular.C:
144         * text.C:
145         * text2.C:
146         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
147
148 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
149
150         * lyxfind.[Ch]: complete overhaul
151         * BufferView_pimpl.C:
152         * lyxfunc.C: adjust
153         * paragraph.[Ch] (insert): add
154
155 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
156
157         * BufferView.[Ch]:
158         * lyxtext.h:
159         * text.C: remove dead spellcheck code
160         
161 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
162
163         * dispatchresult.h: add a val setter
164
165         * cursor.C (dispatch): use a tempvar for data_[i]
166
167 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
168
169         * PosIterator.[Ch]: compile fix
170
171 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
172
173         * text.C (cursorPar): deactivate the cursor cache
174
175 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
176
177         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
178
179 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
180
181         * text3.C (dispatch): adjust for new DisptchResult semantics.
182
183         * lyxfunc.C (dispatch): handle update when return from
184         Cursor::dispatch, adjust for new DispatchResult semantics.
185
186         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
187         DispatchResult(true) mean to not update. Add class functions for
188         setting dispatched and update, as well as reading.
189
190         * cursor.C (dispatch): don't handle update here
191
192 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
193
194         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
195         * trans_mgr.C: adjust
196
197         * paragraph_funcs.C (readParToken): exception safety
198
199         * lyxvc.h: store the vcs pointer in a scoped_ptr
200         * lyxvc.C: adjust
201
202         * lyxsocket.C (serverCallback): exception safety
203
204         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
205
206         * ispell.C (clone): make it return a auto_ptr
207
208         * factory.C (createInset): exception safety
209         (readInset): exception safety
210
211         * bufferlist.C (newBuffer): exception safety
212
213         * Thesaurus.C (Thesaurus): use initialization for aik_
214
215         * MenuBackend.C (expandToc): exception safety.
216
217 2003-11-03  André Pönitz  <poenitz@gmx.net>
218
219         * buffer.C:
220         * buffer.h:
221         * bufferview_funcs.C: remove getInsetFromId()
222
223         * lyxcursor.[Ch]:
224         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
225
226         * lyxfunc.C:
227         * text2.C:
228         * text3.C: adjust
229
230 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
231
232         * PosIterator.C (distance, advance): new
233         * bufferview_funcs.[Ch] (put_selection_at): new
234         * iterators.[Ch] (lockPath): new
235
236 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
237
238         * iterators.[Ch] (asPosIterator): added
239         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
240         * PosIterator.[Ch]: added
241
242 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
243
244         * text3.C:
245         * lyxfunc.C:
246         * cursor.C (dispatch):
247         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
248
249         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
250         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
251         contructor, add a class function dispatched. Remove operator>=
252
253 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
254
255         * debug.C: only use the default constructor for debugstream
256         (lyxerr) here.
257
258         * main.C (main): include debug.h and setup the lyxerr streambuf
259         here.
260
261 2003-10-31  José Matos  <jamatos@lyx.org>
262
263         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
264
265         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
266         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
267         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
268         * paragraph_pimpl.C (simpleTeXSpecialC):
269         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
270         add LatexRunParams argument.
271
272         * exporter.C (Export): change call accordingly.
273
274         * latexrunparams.h: add new member to take care of the other backends.
275 2003-10-30  José Matos  <jamatos@lyx.org>
276
277         * buffer.C (makeLinuxDocFile, makeDocBookFile):
278         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
279         factorise code for paragraph output.
280         * buffer.[Ch]:
281         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
282         move functions.
283
284 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
285
286         * text3.C (dispatch):
287         * lyxfunc.C (dispatch):
288         * cursor.C (dispatch):
289         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
290
291         * dispatchresult.h: make the dispatch_result_t ctor explicit
292
293 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
294
295         * sgml.[Ch]:
296         * buffer.C: small refactoring of docbook stuff
297
298 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
299
300         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
301         meaning.
302
303 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
304
305         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
306         operator dispatch_result_t, and operators for == != and >=
307
308         * cursor.C (dispatch): adjust for operator dispatch_result_t
309         removal. comment out call to update
310
311         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
312
313 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
314
315         * text3.C:
316         * text2.C:
317         * text.C:
318         * lyxtext.h:
319         * lyxfunc.C:
320         * cursor.C:
321         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
322         (dispatch):
323
324         * dispatchresult.h: new file, DispatchResult broken out of
325         insets/insetbase.h
326
327         * Makefile.am (lyx_SOURCES): add dispatchresult.h
328
329 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
330
331         * text.C (rowBreakPoint): put a hack inside #if 0
332
333 2003-10-28  André Pönitz  <poenitz@gmx.net>
334
335         * lyxtext.h:
336         * metricsinfo.C:
337         * paragraph_funcs.C:
338         * rowpainter.C:
339         * text.C:
340         * text2.C: general cleanup (lots of small stuff)
341
342 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
343
344         * text2.C (cursorEnd): simple fix to the "end key goes to one
345         before the end on last row" bug
346
347 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
348
349         * text.C (backspace): fix the "zombie characters"
350
351 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
352
353         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
354
355 2003-10-27  André Pönitz  <poenitz@gmx.net>
356
357         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
358
359         * factory.C: handle new InsetPagebreak, InsetLine
360
361         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
362         and move handling into new InsetPagebreak, InsetLine
363
364         * BufferView_pimpl.C:
365         * LyXAction.C:
366         * ParagraphParameters.C:
367         * ParameterStruct.h:
368         * lyxfunc.C:
369         * lyxtext.h:
370         * paragraph.C:
371         * paragraph.h:
372         * paragraph_funcs.C:
373         * paragraph_pimpl.C:
374         * rowpainter.C:
375         * text.C:
376         * text2.C:
377         * text3.C: adjust
378
379 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
380
381         * text.C:
382         * lyxrow_funcs.[Ch]:
383         * Bidi.C:
384         * paragraph.C:
385         * lyxtext.h:
386         * rowpainter.C:
387         * text2.C:
388         * text3.C: remove lastPos uses in favour of Row::endpos
389
390 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
391
392         * undo.C (performUndoOrRedo): fix two crashes by setting a
393         cursor by hand and reordering some calls. Use bv->lockInset instead
394         of inset->edit because the latter loses cursor information
395
396 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
397
398         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
399         by Martin
400         (rowBreakPoint): fix width. change point to point + 1.
401         Add a missing check.
402
403 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
404
405         * MenuBackend.C:
406         * lyxfunc.C: fix (at least partly) the problems
407         with the Nav menu and headers inside branch insets
408         reported by Kayvan
409
410 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
411
412         * paragraph.C (getChar): add strong asserts
413
414         * lyxrow_funcs.C (lastPos): remove hideous hack
415
416         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
417         (fill): adjust to that (avoid an infinite loop)
418
419 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
420
421         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
422
423 2003-10-23  André Pönitz  <poenitz@gmx.net>
424
425         * RowList_fwd.h: change list<> to vector<> to gain speed
426         after suggestion from Alfredo
427
428 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
429
430         * lyxtext.h: move the bidi stuff from here...
431         * text.C: and here
432         * text2.C: and here
433         * Bidi.[Ch]: ... to here
434
435 2003-10-23  André Pönitz  <poenitz@gmx.net>
436
437         * lyxtext.h:
438         * text.C (isLastRow, isFirstRow): new functions
439
440         * paragraph.h: new width cache member
441
442         * rowpainter.C: replace RowList::iterator with Row & where possible
443
444         * lyxfunc.C: replace several view()->text with a single call
445
446         * toc.C: fix 'unused' warning
447
448 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
449
450         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
451         when woring with stream::pos_type
452         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
453
454 2003-10-22  André Pönitz  <poenitz@gmx.net>
455
456         * lyxtext.h:
457         * text.C: use Row & instead of RowList::iterator
458
459         * lyxrow.h: rename end() to endpos()
460
461         * rowpainter.C:
462         * text.C:
463         * text2.C: adjust
464
465 2003-10-22  Angus Leeming  <leeming@lyx.org>
466
467         * buffer.[Ch] (fully_loaded): new member function, returning true
468         only when the file has been loaded fully.
469         Used to prevent the premature generation of previews and by the
470         citation inset to prevent computation of the natbib-style label.
471
472         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
473         templates are all set up.
474
475         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
476
477 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
478
479         * text.C: fixed an "oops" in the "is a bit silly"
480         bug fix
481
482 2003-10-21  André Pönitz  <poenitz@gmx.net>
483
484         * FuncStatus.[Ch]: small stuff, whitespace
485
486         * lyxfont.[Ch]: operator<<() for debug reasons
487
488         * lyxfunc.C:
489         * lyxrow_funcs.C:
490         * lyxtext.h: whitespace, spelling
491
492         * paragraph.C: naming of variables
493
494         * text.C:
495         * text2.C: small stuff
496
497
498 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
499
500         * text.C: (1) finish off the inset display() work;
501         (2) fix the "is a bit silly" bug (accessing char
502         past end of par).
503
504 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
505
506         * text.C: re-introduce display() for insets, fixing the
507         various bugs (stretch of line above, math inset
508         positioning, ...)
509
510 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
511
512         * text.C (rightMargin): remove spurious semicolon
513
514         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
515         1415)
516
517 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
518
519         * text3.C: fix one crash due to wrong cursor def
520
521 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
522
523         * vc-backend.C (scanMaster): make the regex static
524
525         * LaTeX.C (scanAuxFile): make the regexs static
526
527         * text3.C (doInsertInset, dispatch, dispatch):
528         * text2.C (cursorUp, cursorDown):
529         * text.C (selectNextWordToSpellcheck):
530         * BufferView_pimpl.C (dispatch):
531         * lyxfunc.C (dispatch):  localDispatch -> dispatch
532
533 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
534
535         * lyxsocket.C: include <cerrno>
536
537 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
538
539         * lyxfunc.C (dispatch): remove textcache stuff
540
541         * bufferlist.C (release): remove textcache stuff
542         (closeAll): ditto
543
544         * TextCache.C: delete file
545         * TextCache.h: delete file
546
547         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
548
549         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
550         delete of the bv_->text.
551         (resizeCurrentBuffer): remove texcache stuff
552         (workAreaResize): ditto
553
554 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
555
556         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
557         action.
558
559 2003-10-16  André Pönitz  <poenitz@gmx.net>
560
561         * lyxrow.[Ch]:
562         * paragraph.h:
563         * rowpainter.C:
564         * text.C:
565         * text2.C:
566         * text3.C: speed up by storing y positions per paragraph plus per-row
567         offset instead of having a 'full' y position in the row.
568
569 2003-10-15  André Pönitz  <poenitz@gmx.net>
570
571         * iterators.[Ch]:
572         * iterators.[Ch]:
573         * undo.[Ch]: make undo aware of inner insets
574
575 2003-10-14  Angus Leeming  <leeming@lyx.org>
576
577         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
578         static member functions LyX::ref() and LyX::cref.
579         (lastfiles): new accessor functions for the new lastfiles_ member var.
580         (addLyXView, views_): add a new LyXView to the list of views_.
581         (updateInset): loop over all LyXViews to call their own updateInset
582         member function, returning a pointer to the Buffer owning the inset.
583
584         * BufferView_pimpl.C (loadLyXFile):
585         * MenuBackend.C (expandLastfiles):
586         * bufferlist.C (MenuWrite, QuitLyX):
587         lastfiles is no longer a global variable.
588         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
589
590         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
591         static function. Access through LyX::cref().emergencyCleanup().
592
593 2003-10-14  André Pönitz  <poenitz@gmx.net>
594
595         * iterators.[Ch]: new direct access to innermost LyXText and Inset
596
597         * undo.[Ch]: restoring part of 'undo in insets'
598
599         * Makefile.am:
600         * undo_funcs.[Ch]: merge with undo.[Ch]
601
602         * tabular.C: small cleansing stuff
603
604 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
605
606         * paragraph_funcs.C (readParToken): report unknown insets as error
607         boxes. Use the outer paragraph as location (also for unknown
608         tokens).
609
610         * factory.C (readInset): do not abort on reading an unknown inset.
611         Eat it and return 0.
612
613 2003-10-13  Angus Leeming  <leeming@lyx.org>
614
615         * lyx_main.C (LyX): remove call to setDisplayTranslator().
616
617         * lyxrc.C: displayTranslator is now a function,
618         declared in GraphicsTypes.h.
619
620 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
621
622         * format.C: new placeholder $$a to pass the socket address.
623
624         * bufferlist.[Ch]: new function getBufferFromTmp.
625
626         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
627           files in the temporary dir.
628
629 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
630
631         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
632
633         * Makefile.am: add lyxsocket.[Ch].
634
635         * lyx_main.C (error_handler): handle SIGPIPE.
636
637 2003-10-13  André Pönitz  <poenitz@gmx.net>
638
639         * BufferView_pimpl.C:
640         * lyxtext.h:
641         * text.C:
642         * text2.C:
643         * text3.C:
644         * undo_funcs.[Ch]: use paroffset_type instead of
645           ParagraphList::iterators to prevent multiple conversion
646           (and get a more robust interface)
647
648 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
649
650         * lyxfunc.C (dispatch): RESULT -> dispatch_result
651         * lyxtext.h: ditto
652         * text3.C (dispatch): ditto
653
654 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
655
656         * LaTeX.C (handleFoundFile): move the static to smaller scope,
657         move the onlyfile, use onlyfile instead of foundfile in a couple
658         of places.
659
660         * DepTable.C (update): flush the error stream a bit more
661
662 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
663
664         * lyxserver.C (callback): adjust
665
666         * lyxfunc.C (getStatus): add a missing brace in commented code
667         (ensureBufferClean): reindent
668         (dispatch): delete version taking a string
669
670 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
671
672         * LaTeX.C (deplog): move found file handlig from here...
673         (handleFoundFile): .. to new function here.
674         (deplog): make sure to discover several files mentioned on the
675         same log line.
676
677 2003-10-10  André Pönitz  <poenitz@gmx.net>
678
679         * lyxfunc.C:
680         * lyxtext.h:
681         * tabular.C:
682         * text.C:
683         * text2.C:
684         * text3.C: fix some of the tabular crashes
685
686 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
687
688         * MenuBackend.C (binding): put debug message into Debug::KBMAP
689
690         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
691
692 2003-10-09  André Pönitz  <poenitz@gmx.net>
693
694         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
695
696         * BufferView.C:
697         * BufferView_pimpl.C:
698         * bufferview_funcs.C:
699         * lyx_cb.C:
700         * lyxcursor.C:
701         * lyxfind.C:
702         * lyxfunc.C:
703         * lyxtext.h:
704         * text.C:
705         * text2.C:
706         * text3.C:
707         * text_funcs.[Ch]:
708         * textcursor.[Ch]:
709         * undo_funcs.C: adjust
710
711 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
712
713         * text2.C (incrementItemDepth): new function, use a backtracking
714         algorithm to discover the correct item depth.
715         (resetEnumCounterIfNeeded): new function, use a backtracking
716         algorithm to discover if counter reset is needed.
717         (setCounter): use them. Simplify a bit. Add different labels for
718         different item depths for itemize.
719
720         * paragraph.C (Paragraph): remove initialization of enumdepth
721         (operator=): ditto
722
723         * paragraph.h: get rid of enumdepth, and use itemdepth both for
724         enumerate and itemize. Change the type of itemdepth to signed char.
725
726 2003-10-08  André Pönitz  <poenitz@gmx.net>
727
728         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
729           thing assignable.
730         * text.C:
731         * text2.C: adjust
732
733         * tabular.[Ch]: fix crash after 'row-insert'
734
735 2003-10-08  Angus Leeming  <leeming@lyx.org>
736
737         Fix doxygen warnings.
738
739         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
740         Remove CutAndPaste:: prefix from header file declaration.
741
742         * LColor.h (fill): remove LColor:: prefix from declaration.
743
744         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
745         use lyx::depth_type rather than Paragraph::depth_type so that
746         header file and .C file match.
747
748         * converter.h (intToFormat): remove Converters:: prefix from declaration.
749
750         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
751         * aspell.C: \file aspell_local.C -> \file aspell.C
752         * gettext.C: \file gettext.C -> \file src/gettext.C
753         * gettext.h: \file gettext.h -> \file src/gettext.h
754         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
755         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
756         * text.C: \file text.C -> \file src/text.C
757
758         * toc.C: move comment so that doxygen is not confused.
759
760 2003-10-07  Angus Leeming  <leeming@lyx.org>
761
762         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
763
764 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
765
766         * aspell.C:
767         * aspell_local.h: add forgotten std::string's.
768
769 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
770
771         * LaTeXFeatures.C:
772         * LyXAction.C:
773         * factory.C:
774         * lfuns.h:
775         * lyxfunc.C:
776         * text3.C: The Box patch. Fancybox support, minipage, parbox
777
778 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
779
780         * CutAndPaste.h:
781         * DepTable.h:
782         * FloatList.h:
783         * LaTeXFeatures.h:
784         * ParagraphParameters.h:
785         * TextCache.h:
786         * Thesaurus.h:
787         * bufferlist.h:
788         * exporter.h:
789         * importer.h:
790         * lastfiles.h:
791         * lyxfind.h:
792         * lyxfont.h:
793         * lyxlex.h:
794         * lyxtextclasslist.h:
795         * messages.h:
796         * paragraph.h:
797         * paragraph_pimpl.C:
798         * textcursor.h: add <string> and other small fixes to make Lars'
799         std::string patch compile with STLport.
800
801 2003-10-06  Angus Leeming  <leeming@lyx.org>
802
803         * LColor.h: Add missing #include <string>.
804
805 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
806
807         * All most all file in all subdirs: Make <string> be the prefered
808         way of getting to std::string, add using declarations.
809
810 2003-10-06  André Pönitz  <poenitz@gmx.net>
811
812         * metricsinfo.C: initialize LyXFont before changing attribute.
813         (fixes the 'math in \emph is upright' bug)
814
815 2003-10-06  André Pönitz  <poenitz@gmx.net>
816
817         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
818
819 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
820
821         * graph.C:
822         * paragraph_pimpl.C: Small fixes to build using STLport
823
824 2003-10-02  André Pönitz  <poenitz@gmx.net>
825
826         * lyxfunc.C:
827         * text3.C: move handling of LFUN_DEPTH *; fix #1360
828
829 2003-10-01  André Pönitz  <poenitz@gmx.net>
830
831         * factory.C: assert early
832
833 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
834
835         * lyx_main.C: remove the global debug object
836
837         * debug.h: adjust for new debugstream
838
839         * debug.C: adjust for new debugstream and keep the global debug
840         object here.
841
842 2003-09-22  Angus Leeming  <leeming@lyx.org>
843
844         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
845         of g++ which otherwise complain that the scoped_ptr destructor can't delete
846         an incomplete class LyXFont.
847
848 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
849
850         * factory.C: bug fix in branches
851
852 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
853
854         * lyxfunc.C (processKeySym): adjust
855         (dispatch): adjust
856         (dispatch): change arg name from ev to func, adjust
857         (sendDispatchMessage): ditto
858
859         * lyx_main.C (defaultKeyBindings): adjust keybindings
860         (deadKeyBindings): ditto
861
862         * kbsequence.C (addkey): return a FuncRequest
863
864         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
865
866         * kbmap.C (bind): take a FuncRequest as arg, adjust
867         (read): adjust
868         (lookup): adjust
869         (defkey): change to take a FuncRequest as arg, adjust
870         (findbinding): take a FuncRequest as arg, adjust.
871
872         * funcrequest.h (operator=): added
873
874         * funcrequest.C (FuncRequest): default kb_action changed from
875         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
876
877         * buffer.C (dispatch): simplify
878         (dispatch): adjust to take a FuncRequest as arg, adjust
879
880         * boost.C (assertion_failed): change assertion message slightly
881
882         * ToolbarBackend.C (read): simplify
883
884         * MenuBackend.C (binding): adjust call to findbinding, add a
885         message if no binding is found.
886         (read): simplify
887         (expandToc): correct by adding a empty FuncRequest
888
889         * LyXAction.C: include <boost/assert.hpp>
890         (isPseudoAction): delete function
891         (LookupFunc): change name to...
892         (lookupFunc): this. change return type to FuncRequest.
893         (getActionName): take kb_action as arg, simplify
894         (funcHasFlag): add an assert, simplify.
895
896 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
897
898         * toc.C (action): return a FuncRequest, simplify
899
900         * lyxfunc.C (processKeySym): adjust
901         (getStatus): delete version that takes an int.
902         (getStatus): adjust
903         (dispatch): delete version that takes action as int
904         (dispatch): adjust
905         (sendDispatchMessage): simplify and adjust
906
907         * funcrequest.C (getArg): take unsigned int as arg
908
909         * ToolbarBackend.C (read): adjust
910         (add): delete version that takes func as a string.
911         (getIton): take a FuncRequest as arg
912
913         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
914         action.
915
916         * MenuBackend.C (MenuItem): add a new construct that only takes a
917         Kind, simplify the constructor use for submenus.
918         (add): adjust
919         (expandLastfiles): adjust
920         (expandDocuments): adjust
921         (expandFormats): adjust
922         (expandFloatListInsert): adjust
923         (expandFloatInsert): adjust
924         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
925
926         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
927         Remove class variables lyx_pseudo_map and lyx_arg_map
928
929         * LyXAction.C (searchActionArg): delete function
930         (getPseudoAction): delete function
931         (retrieveActionArg): delete function
932         (LookupFunc): make it return kb_action, simplify.
933         (getActionName): simplify
934
935         * factory.C (createInset): fix new bug
936
937 2003-09-19  Angus Leeming  <leeming@lyx.org>
938
939         * CutAndPaste.C (pasteSelection): remove fudge used to set the
940         masterFilename_ parameter in the include inset.
941
942         * factory.C (createInset): changes due to the changes to InsetInclude.
943
944 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
945
946         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
947
948 2003-09-18  Angus Leeming  <leeming@lyx.org>
949
950         * buffer.C:
951         * BufferView.C: pass the buffer when calling Inset::getLabelList,
952         Inset::fillWithBibKeys.
953         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
954
955 2003-09-18  Angus Leeming  <leeming@lyx.org>
956
957         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
958         variables.
959         (ctor): pass and store a 'Buffer const &'
960         (buffer): new member function.
961
962         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
963         '*this' to the LaTeXFeatures ctor.
964
965 2003-09-18  Angus Leeming  <leeming@lyx.org>
966
967         * LColor.h:
968         * lyxfont.C:
969         * lyxfont.h:
970         * lyxtext.h:
971         * text.C: rename EnumLColor as LColor_color.
972
973 2003-09-18  Angus Leeming  <leeming@lyx.org>
974
975         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
976         remove #include "insets/insetbase.h" from cursor.h.
977
978 2003-09-18  Angus Leeming  <leeming@lyx.org>
979
980         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
981         InsetOld_code to remove #include "inset.h".
982
983         * iterators.C: add #include "insets/inset.h"
984
985 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
986
987         * BufferView.C: remove more locking stuff that apparently doesn't
988         do anything sensible.
989
990 2003-09-16  André Pönitz  <poenitz@gmx.net>
991
992         * paragraph.[Ch]:
993         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
994           performance boost.
995
996 2003-09-16  Angus Leeming  <leeming@lyx.org>
997
998         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
999
1000         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1001         arg/return type.
1002
1003         * paragraph.h: remove #include "lyxfont.h". Forward declare
1004         LyXFont_size.
1005
1006 2003-09-16  Angus Leeming  <leeming@lyx.org>
1007
1008         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1009         of support/textutils.h.
1010         (isWord): move the contents of support/textutils.h's IsWordChar here.
1011
1012         * buffer.C:
1013         * lyxfind.C:
1014         * rowpainter.C:
1015         * text.C:
1016         * text2.C: add #include "paragraph.h".
1017
1018         * rowpainter.C:
1019         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1020
1021 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1022
1023         * main.C:
1024         * lyx_main.C:
1025         * lyx_cb.C:
1026         * buffer.C:
1027         * LaTeX.C: use namespace alias for lyx::support::os
1028
1029 2003-09-16  Angus Leeming  <leeming@lyx.org>
1030
1031         * bufferparams.C:
1032         * bufferview_funcs.C:
1033         * factory.C:
1034         * lyxfunc.C:
1035         * paragraph_pimpl.C:
1036         * rowpainter.C:
1037         * text.C: add #include "LColor.h".
1038
1039 2003-09-16  Angus Leeming  <leeming@lyx.org>
1040
1041         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1042         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1043         return LyXFont &.
1044         Store the FontBits::color variable as an int rather than as an
1045         LColor::colorso that we can move LColor.h out of the lyxfont.h header
1046         file.
1047
1048         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1049         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1050         string calls together.
1051
1052         * lyxrc.C: add #include "LColor.h".
1053
1054 2003-09-15  Angus Leeming  <leeming@lyx.org>
1055
1056         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1057         a cow_ptr.
1058
1059 2003-09-15  Angus Leeming  <leeming@lyx.org>
1060
1061         * LColor.h: add an EnumLColor wrapper for LColor::color.
1062
1063         * lyxfont.[Ch] (color, setColor, realColor):
1064         * lyxtext.h, text.C (backgroundColor):
1065         pass EnumLColor args to/from the functions, rather than LColor::color
1066         ones.
1067
1068         * lyxfont.h:
1069         * lyxtext.h: forward declare EnumLColor.
1070
1071         * lyx_main.C: add #include "LColor.h".
1072
1073 2003-09-15  Angus Leeming  <leeming@lyx.org>
1074
1075         * .cvsignore: add lyx-gtk.
1076
1077 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
1078
1079         * Chktex.C
1080         * LaTeX.C
1081         * LaTeXFeatures.C
1082         * ParagraphParameters.C
1083         * Spacing.C
1084         * buffer.C
1085         * bufferparams.C
1086         * bufferview_funcs.C
1087         * chset.C
1088         * counters.C
1089         * funcrequest.C
1090         * lyxfont.C
1091         * lyxgluelength.C
1092         * lyxlength.C
1093         * paragraph.C
1094         * paragraph_funcs.C
1095         * text3.C
1096         * vc-backend.C: remove usage of STRCONV
1097
1098 2003-09-15  Angus Leeming  <leeming@lyx.org>
1099
1100         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1101         explicitly define the color passed to the painter.
1102
1103 2003-09-15  Angus Leeming  <leeming@lyx.org>
1104
1105         * bufferparams.C (BufferParams): reorder member initializers to avoid
1106         compiler warning.
1107
1108 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
1109
1110         * CutAndPaste.C (pasteSelection): remove an outdated #warning
1111         * text.C (updateRowPositions): remove an unusual nop
1112
1113 2003-09-12  André Pönitz  <poenitz@gmx.net>
1114
1115         * BufferView_pimpl.C:
1116         * Bullet.C:
1117         * layout.h:
1118         * lyxfunc.C:
1119         * lyxlayout.[Ch]:
1120         * lyxtextclass.C:
1121         * rowpainter.C:
1122         * text.C:
1123         * text2.C:
1124         * Counters.[Ch]: finish the 'automatic counters' job
1125
1126 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1127
1128         * aspell.C: include <boost/assert.cpp> (compile fix)
1129
1130 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
1131
1132         * boost.C (assertion_failed): use lyx::support::abort instead of
1133         assert.
1134
1135 2003-09-10  Angus Leeming  <leeming@lyx.org>
1136
1137         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1138         with their _fwd progeny.
1139
1140 2003-09-09  Angus Leeming  <leeming@lyx.org>
1141
1142         134 files throughtout the source tree: replace 'using namespace abc;'
1143         directives with the appropriate 'using abc::xyz;' declarations.
1144
1145 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1146
1147         * boost.C (emergencyCleanup): moved here from LAssert.c
1148         (assertion_failed): new function, called by BOOST_ASSERT
1149
1150         * several files: change Assert to BOOST_ASSERT
1151
1152 2003-09-09  Angus Leeming  <leeming@lyx.org>
1153
1154         * buffer.[Ch]: Add an Impl class and move Buffer's member
1155         variables into it. As a result move several header files out of
1156         buffer.h.
1157
1158         Add header files to lots of .C files all over the tree as a result.
1159
1160 2003-09-09  Angus Leeming  <leeming@lyx.org>
1161
1162         * buffer.[Ch]: make Buffer's member variables private. Add
1163         accessor functions.
1164
1165         Lots of changes all over the tree as a result.
1166
1167 2003-09-08  Angus Leeming  <leeming@lyx.org>
1168
1169         * graph.C: #include <config.h>.
1170
1171 2003-09-08  Angus Leeming  <leeming@lyx.org>
1172
1173         * BranchList.C:
1174         * BufferView.C:
1175         * BufferView_pimpl.C:
1176         * CutAndPaste.C:
1177         * DepTable.C:
1178         * LaTeX.C:
1179         * LaTeXFeatures.C:
1180         * LyXAction.C:
1181         * MenuBackend.C:
1182         * TextCache.C:
1183         * aspell.C:
1184         * buffer.C:
1185         * bufferlist.C:
1186         * changes.C:
1187         * chset.C:
1188         * converter.C:
1189         * counters.C:
1190         * debug.C:
1191         * graph.C:
1192         * ispell.C:
1193         * lyx_cb.C:
1194         * lyxfind.C:
1195         * lyxfunc.C:
1196         * lyxlex_pimpl.C:
1197         * lyxrc.C:
1198         * lyxrow.C:
1199         * paragraph.C:
1200         * rowpainter.C:
1201         * texrow.C:
1202         * text.C:
1203         * text2.C:
1204         * toc.C: remove redundant using directives.
1205
1206 2003-09-07  Angus Leeming  <leeming@lyx.org>
1207
1208         * LaTeXFeatures.h: remove #include "support/types.h".
1209         * ToolbarBackend.h: remove #include <algorithm>.
1210         * changes.h: remove #include <ctime>.
1211         * debug.h: remove #include <iosfwd>.
1212         * graph.h: remove #include "support/std_string.h".
1213         * lyx_main.h: remove #include <csignal>.
1214         * lyxlex_pimpl.h: remove #include <fstream>.
1215         * sgml.h: remove #include <algorithm>, <utility>.
1216         * toc.h: remove #include "support/std_ostream.h".
1217         Add #include <iosfwd>.
1218
1219 2003-09-07  Angus Leeming  <leeming@lyx.org>
1220
1221         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
1222
1223         * converter.h: forward declare LatexRunParams.
1224         * encoding.h: remove #include "lyxrc.h".
1225         * lyxtext.h: remove #include "LColor.h".
1226         * lyxtextclass.h: remove #include "support/types.h".
1227         * trans.h: remove #include "tex-accent.h".
1228         * trans_mgr.h: remove #include "tex-accent.h".
1229         * insets/inset.h: remove #include "support/types.h", <vector>.
1230         * insets/insetcollapsable.h: remove #include "LColor.h".
1231         * insets/insetinclude.h: remove #include "dimension.h".
1232         * insets/insetlatexaccent.h: remove #include "dimension.h".
1233         * insets/insetoptarg.h:: remove #include "insettext.h".
1234         * insets/insettext.h: remove #include "dimension.h",
1235         <boost/shared_ptr.hpp>
1236
1237         * insets/renderers.h: add #include "dimension.h".
1238         * insets/updatableinset.h: add #include "support/types.h".
1239
1240         * many .C files: Associated changes.
1241
1242 2003-09-06  Angus Leeming  <leeming@lyx.org>
1243
1244         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
1245         one, inside testInvariant.
1246
1247         * PrinterParams.C: new file.
1248         * PrinterParams.[Ch]: move the function bodies out of line.
1249
1250 2003-09-06  Angus Leeming  <leeming@lyx.org>
1251
1252         * ParagraphParameters.h: forward declare ParameterStruct rather than
1253         including its header file.
1254         (depth): moved out-of-line.
1255
1256 2003-09-06  Angus Leeming  <leeming@lyx.org>
1257
1258         * BufferView_pimpl.h:
1259         * kbmap.h:
1260         * kbsequence.h:
1261         * lyxfunc.h: forward declare LyXKeySym rather than
1262         #include "frontends/LyXKeySym.h".
1263
1264         * BufferView_pimpl.C:
1265         * kbmap.C:
1266         * kbsequence.C:
1267         * lyxfunc.C: associated changes.
1268
1269 2003-09-06  Angus Leeming  <leeming@lyx.org>
1270
1271         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1272         As a result, can remove the #include "insets/inset.h" from BufferView.h
1273
1274 2003-09-06  Angus Leeming  <leeming@lyx.org>
1275
1276         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1277         As a result, can remove the #include "insets/inset.h" from BufferView.h
1278
1279 2003-09-06  Angus Leeming  <leeming@lyx.org>
1280
1281         * buffer_funcs.C:
1282         * buffer.h:
1283         * bufferlist.C:
1284         * BufferView.C:
1285         * bufferview_funcs.C:
1286         * BufferView_pimpl.C:
1287         * CutAndPaste.C:
1288         * lyx_cb.C:
1289         * lyxfunc.C:
1290         * paragraph.h:
1291         * ParagraphParameters.C:
1292         * tabular.C:
1293         * text3.C:
1294         * toc.C:
1295         * undo_funcs.C:
1296         * frontends/controllers/ControlDocument.C:
1297         * insets/insetcaption.C: rearrange the #includes into some sort of
1298         coherent order.
1299
1300         * buffer.h: remove #includes ErrorList.h, undo.h
1301
1302 2003-09-06  Angus Leeming  <leeming@lyx.org>
1303
1304         * support/types.h: add a 'depth_type' typedef, used to store the
1305         nesting depth of a paragraph.
1306
1307         * paragraph.h:
1308         * ParameterStruct.h: use this lyx::depth_type typedef rather than
1309         defining explicitly.
1310
1311         * buffer.h:
1312         * paragraph_funcs.h:
1313         * ParagraphParameters.h:
1314         * sgml.h: use lyx::depth_type rather than Paragraph or
1315         ParameterStruct's depth_type.
1316
1317         * buffer.h
1318         * paragraph_funcs.h: no need to #include paragraph.h anymore.
1319
1320         * BufferView.C:
1321         * BufferView_pimpl.C:
1322         * CutAndPaste.C:
1323         * ParagraphParameters.C:
1324         * buffer_funcs.C:
1325         * bufferlist.C:
1326         * bufferview_funcs.C:
1327         * lyx_cb.C:
1328         * lyxfunc.C:
1329         * tabular.C:
1330         * text3.C:
1331         * toc.C:
1332         * undo_funcs.C:
1333         * frontends/LyXView.C:
1334         * frontends/controllers/ControlDocument.C:
1335         * frontends/controllers/ControlErrorList.C:
1336         * insets/insetbibitem.C:
1337         * insets/insetbranch.C:
1338         * insets/insetcaption.C:
1339         * insets/insetcollapsable.C:
1340         * insets/insetenv.C:
1341         * insets/insetert.C:
1342         * insets/insetfloat.C:
1343         * insets/insetfoot.C:
1344         * insets/insetfootlike.C:
1345         * insets/insetnewline.C:
1346         * insets/insetquotes.C:
1347         * insets/insettabular.C:
1348         * insets/insettext.C:
1349         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1350
1351         * frontends/controllers/ControlChanges.C: #include "changes.h".
1352
1353 2003-09-06  Angus Leeming  <leeming@lyx.org>
1354
1355         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1356         than #including paragraph.h.
1357
1358         * ParagraphList.h:
1359         * RowList.h: deleted. Superfluous.
1360
1361         * CutAndPaste.h:
1362         * iterators.h:
1363         * lyxcursor.h:
1364         * lyxtext.h:
1365         * text_funcs.h:
1366         * undo.h:
1367         * undo_funcs.h:
1368         * insets/inset.h:
1369         * insets/insettext.h: use ParagraphList_fwd.h rather than
1370         ParagraphList.h.
1371
1372         * paragraph.h: don't forward declare ParagraphList.
1373
1374         * buffer.h:
1375         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1376         rather than ParagraphList.h. paragraph.h is still needed for the
1377         Paragraph::depth_type parameters.
1378
1379         * textcursor.h: enable it to compile stand-alone in light of the
1380         above changes.
1381
1382         * bufferview_funcs.C:
1383         * iterators.C:
1384         * lyxfunc.C:
1385         * lyxrow_funcs.C:
1386         * paragraph.C:
1387         * rowpainter.C:
1388         * text.C:
1389         * text2.C:
1390         * text3.C:
1391         * text_funcs.C:
1392         * textcursor.C:
1393         * undo.C:
1394         * frontends/controllers/ControlParagraph.C:
1395         * frontends/controllers/ControlTabular.C:
1396         * insets/insetmarginal.C:
1397         * insets/insetminipage.C:
1398         * insets/insetnote.C:
1399         * insets/insetoptarg.C: add header files needed to compile again.
1400
1401 2003-09-06  Angus Leeming  <leeming@lyx.org>
1402
1403         * RowList_fwd.h: new file, forward-declaring Row rather than
1404         #including lyxrow.h.
1405
1406         * lyxrow_funcs.h:
1407         * lyxtext.h:
1408         * paragraph.h:
1409         * insets/insettext.h: use it instead of RowList.h
1410
1411         * bufferview_funcs.C:
1412         * lyxfunc.C:
1413         * lyxrow_funcs.C:
1414         * paragraph.C:
1415         * rowpainter.C:
1416         * text.C:
1417         * text2.C:
1418         * text3.C: #include "RowList.h".
1419
1420 2003-09-05  Angus Leeming  <leeming@lyx.org>
1421
1422         * factory.C (createInset):
1423         * vspace.C (c-tor): replace sscanf call with an istringstream.
1424         * ispell.C: re-add missing HP/UX headers.
1425         * lyxserver.C: re-add missing  os2 headers.
1426
1427 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
1428
1429         * BranchList.C:
1430         * graph.C:
1431         * ispell.C:
1432         * lastfiles.C:
1433         * lyx_cb.C:
1434         * lyxserver.C:
1435         * texrow.C:
1436         * text3.C: re-add missing system headers, needed for 2.95.2.
1437
1438 2003-09-05  Angus Leeming  <leeming@lyx.org>
1439
1440         Changes most place everywhere due to the removal of using directives
1441         from support/std_sstream.h.
1442
1443 2003-09-05  Angus Leeming  <leeming@lyx.org>
1444
1445         Replace LString.h with support/std_string.h,
1446         Lsstream.h with support/std_sstream.h,
1447         support/LIstream.h with support/std_istream.h,
1448         support/LOstream.h with support/std_ostream.h.
1449
1450         Changes resulting throughout the tree.
1451
1452 2003-09-05  Angus Leeming  <leeming@lyx.org>
1453
1454         * sgml.h: ensure that the header file can be compiled stand-alone.
1455         * *.C: strip out redundant #includes. (320 in total.)
1456
1457 2003-09-04  Angus Leeming  <leeming@lyx.org>
1458
1459         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1460         here (from getPackages).
1461
1462         * debug.[Ch]: add a new EXTERNAL tag.
1463
1464 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1465
1466         * text2.C (cursorEnd): simplify
1467         (setCursor): adjust
1468         (getColumnNearX): adjust
1469
1470         * text.C (computeBidiTables): adjust
1471         (fill): adjust
1472
1473         * rowpainter.C (paintChars): adjust
1474         (paintSelection): adjust
1475         (paintChangeBar): adjust
1476         (paintText): adjust
1477
1478         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1479         lastPos instead.
1480         (numberOfSeparators): adjust
1481
1482 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1483
1484         * LyXAction.C:
1485         * box.[Ch]:
1486         * lfuns.h:
1487         * lyxfunc.C:
1488         * text3.C: Restricts the mouse click functionality
1489         of insets like bibtex, include, toc and floatlist to the visible
1490         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1491         up the dialogs. Cursor has to be in front of the inset (i.e.
1492         start of row) for this to function.
1493
1494 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1495
1496         * bufferview_funcs.C (currentState): output row information
1497
1498 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1499
1500         * bufferview_funcs.C (currentState): output paragraph position
1501
1502 2003-09-04  Angus Leeming  <leeming@lyx.org>
1503
1504         * FloatList.h: move out #include "Floating.h".
1505         * LaTeX.h: move out #include "DepTable.h".
1506         * LyXAction.h: move out #include "funcrequest.h".
1507         * buffer.h: move out #include "author.h", "iterators.h".
1508         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
1509         * lyx_main.h: move out #include "errorlist.h".
1510         * lyxfunc.h: move out #include "FuncStatus.h".
1511         * lyxtext: move out #include "lyxcursor.h".
1512         * paragraph_pimpl.h: move out #include "counters.h".
1513
1514 2003-09-03  Angus Leeming  <leeming@lyx.org>
1515
1516         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
1517         preamble_snippets list, enabling us to add snippets to the preamble
1518         only if the snippet was not there already.
1519
1520 2003-09-04  Angus Leeming  <leeming@lyx.org>
1521
1522         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
1523
1524 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1525
1526         * lyxfunc.C (dispatch): if fitCursor did something be sure to
1527         update
1528
1529 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1530
1531         * BranchList.C: point fix, earlier forgotten
1532
1533 2003-09-02  Angus Leeming  <leeming@lyx.org>
1534
1535         * box.C (contains): renamed from 'contained' after a fantastic
1536         amount of hot air.
1537
1538 2003-09-02  John Levon  <levon@movementarian.org>
1539
1540         * BufferView.C:
1541         * lyxcursor.h:
1542         * lyxcursor.C:
1543         * lyxfunc.C:
1544         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
1545
1546 2003-09-02  John Levon  <levon@movementarian.org>
1547
1548         * text2.C: simplification of cursorEnd(), including partial
1549         fix for bug 1376
1550
1551 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1552
1553         * buffer.C (readFile): add a space
1554
1555 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
1556
1557         * BufferView_pimpl.C (update): remove bogus fitCursor() call
1558
1559 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1560
1561         * buffer.C (readFile): new function, take a filename and a
1562         ParagraphList::iterator
1563         (readFile): adjust
1564         (readFile): adjust, make it private. don't use setStream, make
1565         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
1566         always contain the filename.
1567
1568         * BufferView.C (insertLyXFile): simplify and make it work for
1569         gzipped files.
1570
1571 2003-08-30  John Levon  <levon@movementarian.org>
1572
1573         * Makefile.am: fix dist (from Kayvan)
1574
1575 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1576
1577         * most files: change to use const Buffer refs
1578
1579 2003-08-27  André Pönitz  <poenitz@gmx.net>
1580
1581         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
1582         on top of ownerPar().
1583
1584 2003-08-27  John Levon  <levon@movementarian.org>
1585
1586         * funcrequest.C: properly initialise POD members
1587
1588 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1589
1590         * lyxtext.h (top_y): move top_y from here
1591         * text.C:
1592         * text2.C:
1593         * text3.C:
1594         * BufferView.[Ch]:
1595         * BufferView_pimpl.[Ch]: to here
1596         * frontends/screen.C:
1597         * insets/insettabular.C:
1598         * insets/insettext.C: adjust
1599         * rowpainter.[Ch] (paintRows): remove LyXText & argument
1600
1601 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1602
1603         * BufferView.[Ch]:
1604         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
1605
1606 2003-08-26  André Pönitz  <poenitz@gmx.net>
1607
1608         * paragraph_func.[Ch] (outerPar): new function
1609
1610         * paragraph.C:
1611         * paragraph_funcs.C:
1612         * paragraph_funcs.h:
1613         * paragraph_pimpl.C:
1614         * text2.C: remove Inset::par_owner
1615
1616 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
1617
1618         * lyxrow_funcs.C:
1619         * lyxtext.h:
1620         * text.C:
1621         * text2.C: eliminates the needFullRow/display() stuff
1622         altogether, putting the logic in metrics/draw in the insets.
1623
1624 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
1625
1626         * text2.C (redoParagraphInternal, redoParagraphs):
1627         * text.C (redoParagraph): add a call to updateRowPositions at the
1628         end of each 'metrics-like' call. Remove all others.
1629         (getRow): remove the 'y-computing' version.
1630         (getRowNearY): do not compute nor return the real y. Solve the
1631         'y < 0' problem and simplify.
1632
1633 2003-08-22  Angus Leeming  <leeming@lyx.org>
1634
1635         * *.[Ch]: clean-up of licence and author blurbs.
1636         Also move config.h out of a few .h files and into a few .C files.
1637
1638 2003-08-22  André Pönitz  <poenitz@gmx.net>
1639
1640         * lyxrow.[Ch]: add x_ and *fill_ members
1641
1642         * lyxtext.h:
1643         * text.C:
1644         * rowpainter.C:
1645         * text2.C: adjust/remove prepareToPrint() calls
1646
1647 2003-08-22  André Pönitz  <poenitz@gmx.net>
1648
1649         * lyxrow.[Ch]: add  end_ member
1650
1651         * lyxrow_funcs.C: use LyXRow::end_
1652
1653         * lyxtext.h (singleWidth): add LyXFont parameter
1654
1655         * rowpainter.C:
1656         * text2.C: adjust LyXText::singleWidth() calls
1657
1658         * text.C (redoParagraph): simplify row breaking logic
1659
1660
1661 2003-08-19  André Pönitz  <poenitz@gmx.net>
1662
1663         * funcrequest.C: initialize button_ member
1664
1665         * text3.C:
1666         * rowpainter.[Ch]: interface consolidation
1667
1668 2003-08-18  André Pönitz  <poenitz@gmx.net>
1669
1670         * BufferView.C:
1671         * BufferView_pimpl.C:
1672         * lyxfind.C:
1673         * paragraph_funcs.C:
1674         * rowpainter.C:
1675         * text3.C: remove LyXScreen::draw() and fitCursor calls
1676
1677         * BranchList.h: remove spurious semicolons
1678
1679         * MenuBackend.C: fix branchlist related crash
1680
1681 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
1682
1683         * BranchList.[Ch]:
1684         * InsetList.[Ch]:
1685         * LColor.[Ch]:
1686         * LyXAction.C:
1687         * Makefile.am:
1688         * MenuBackend.[Ch]:
1689         * bufferparams.[Ch]:
1690         * factory.C:
1691         * lfuns.h:
1692         * lyxfunc.C:
1693         * text3.C: implements the 'branch inset'
1694         idea. This allows the output of various versions of a document
1695         from a single source version, selectively outputing or suppressing
1696         output of parts of the text.
1697         This implementation contains a 'branch list editor' in a separate
1698         tab of the document settings dialog. Branches are user definable
1699         and have a "display colour" to distinguish them on-screen.
1700
1701         ColorHandler was somewhat cleaned up.
1702         (1) make possible a dynamically growing LColor list by allowing
1703         the graphic context cache to grow along (vector);
1704         (2) eliminate an IMHO unnecessary step in colour allocation.
1705
1706 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
1707
1708         * BufferView_pimpl.C: compile fix
1709
1710 2003-08-15  André Pönitz  <poenitz@gmx.net>
1711
1712         * rowpainter.C: remove extra metrics calls
1713
1714         * lyxtext.h: merge the two constructors into a single one,
1715           pass reference to owner's par list
1716
1717         * BufferView_pimpl.C:
1718         * text.C:
1719         * text2.C: adjust
1720
1721 2003-08-15  André Pönitz  <poenitz@gmx.net>
1722
1723         * lyxrow_funcs.[Ch]:
1724         * lyxtext.h:
1725         * paragraph.h:
1726         * paragraph_funcs.C:
1727         * rowpainter.C:
1728         * text.C:
1729         * text2.C:
1730         * text3.C:
1731         * text_funcs.C: split LyXText::rowlist_ into individual
1732         Paragraph::rows_ chunks
1733
1734         * BufferView.[Ch]:
1735         * BufferView_pimpl.[Ch]:
1736         * lyxfind.C:
1737         * lyxtext.h:
1738         * text3.C: remove toggleSelection()
1739
1740 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
1741
1742         * bufferlist.C: beautify two alerts (shorter text of buttons)
1743         * buffer.C: Remove redundant ' ' from message
1744         * tabular.h:
1745         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
1746         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
1747         rename VALIGN_CENTER to VALIGN_MIDDLE
1748
1749 2003-08-11  André Pönitz  <poenitz@gmx.net>
1750
1751         * lyxtext.h (getPar):
1752         * text.C: new function
1753
1754 2003-08-11  André Pönitz  <poenitz@gmx.net>
1755
1756         * Makefile.am:
1757         * tracer.[Ch]: remove unneeded files
1758
1759         * InsetList.[Ch]: remove resizeInsetsLyXText()
1760
1761         * lyxtext.h:
1762         * text.C:
1763         * text2.C:
1764         * text3.C: merge insertParagraphs() and appendParagraph()
1765         remove breakAgain(), update()
1766
1767         * BufferView_pimpl.[Ch]:
1768         * bufferview_funcs.[Ch]:
1769         * lyxfunc.C:
1770         * paragraph.[Ch]:
1771         * rowpainter.C:
1772         * tabular.C: adjust after text & InsetList changes.
1773
1774 2003-08-08  André Pönitz  <poenitz@gmx.net>
1775
1776         * text.C (insertChar, backspace): replace rowlist fiddling
1777         with rebreak of full par
1778
1779         * lyxtext.h:
1780         * text.C (breakAgainOneRow, redoHeightOfParagraph,
1781         checkParagraph, updateInset): removed
1782
1783 2003-08-07  André Pönitz  <poenitz@gmx.net>
1784
1785         * paragraph.C:
1786         * text3.C: merge some LFUN handlers, remove dead code
1787
1788 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1789
1790         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
1791
1792 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
1793
1794         * text2.C (DEPM): fix part of bug 1255 and 1256
1795
1796 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1797
1798         * BufferView_pimpl.C (workAreaDispatch): change to use
1799         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
1800         that are no mouse related.
1801
1802 2003-08-05  André Pönitz  <poenitz@gmx.net>
1803
1804         * BufferView.[Ch]:
1805         * BufferView_pimpl.[Ch]:
1806         * bufferview_funcs.C:
1807         * text2.C:
1808         * text3.C: rip out "deep update"
1809
1810         * textcursor.[Ch] (last_sel_cursor): remove unused member
1811
1812 2003-08-04  André Pönitz  <poenitz@gmx.net>
1813
1814         * BufferView.[Ch]:
1815         * BufferView_pimpl.[Ch]:
1816         * ParagraphParameters.C:
1817         * bufferview_funcs.C:
1818         * lyx_cb.C:
1819         * lyxfind.C:
1820         * lyxfunc.C:
1821         * text.C:
1822         * text2.C:
1823         * text3.C: replace "complicated" BufferView::update(...) calls with
1824         simpler ones.
1825
1826         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
1827
1828 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
1829
1830         * Makefile.am (lyx_SOURCES): add paper.h
1831
1832 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1833
1834         * Makefile.am: move things around so that both lyx-qt and
1835         lyx-xforms can be built (according to --with-frontend). Then lyx
1836         is a symbolic link to lyx-[firstfrontend]
1837
1838 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
1839
1840         * Always use std::endl with lyxerr
1841
1842 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
1843
1844         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
1845
1846 2003-08-01  André Pönitz  <poenitz@gmx.net>
1847
1848         * BufferView.[Ch]:
1849         * BufferView_pimpl.[Ch]:
1850         * lyxfunc.C:
1851         * text3.C: merge BufferView::repaint() and BufferView::update()
1852
1853 2003-08-01  José Matos  <jamatos@lyx.org>
1854
1855         * buffer.[Ch]: file_format is no longer a buffer data element.
1856
1857 2003-08-01  André Pönitz  <poenitz@gmx.net>
1858
1859         * BufferView.C:
1860         * lyxtext.h:
1861         * text.C:
1862         * text2.C: make redoParagraph more independent of current cursor
1863
1864         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
1865         * text.C:
1866         * text2.C: remove unneeded members
1867
1868 2003-07-30  André Pönitz  <poenitz@gmx.net>
1869
1870         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
1871
1872         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
1873           create a single function...
1874
1875         * paragraph_funcs.C (moveItem): ... here.
1876
1877         * text.C:
1878           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
1879
1880 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
1881
1882         * LColor.[Ch]: Add comment and greyedout logical colors.
1883
1884 2003-07-30  André Pönitz  <poenitz@gmx.net>
1885
1886         * tabular.C: don't use Assert too heavily. This crashes where it
1887           shouldn't
1888
1889 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
1890
1891         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
1892         is disabled (bug 1232)
1893
1894 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1895
1896         * factory.C: limited 'arg' scope
1897
1898 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1899
1900         * factory.C: fixed Note submenu issues
1901
1902 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1903
1904         * factory.C: submenu for Note/Comment/Greyedout
1905
1906 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
1907
1908         * lyx_main.C (LyX):
1909         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
1910
1911 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
1912
1913         * LaTeXFeatures.C:
1914         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
1915         greyedout. Patch provided by Jürgen Spitzmüller.
1916
1917 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1918
1919         * kbmap.C (read): fix error message when reading bind files
1920
1921 2003-07-29  Angus Leeming  <leeming@lyx.org>
1922
1923         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
1924         certainly does not do what it purports to do. I am doing it, and
1925         us, a favour by killing it.
1926
1927 2003-07-28  José Matos  <jamatos@lyx.org>
1928
1929         * buffer.C (readBody, do_writeFile):
1930         * paragraph.C(readParagraph): \end_document replaces \the_end.
1931
1932 2003-07-29  André Pönitz  <poenitz@gmx.net>
1933
1934         * BufferView.[Ch]:
1935         * BufferView_pimpl.[Ch]:
1936         * lyxfunc.C:
1937         * text2.C:
1938         * text3.C:
1939         * textcursor.[Ch]: remove toggleToggle & Co
1940
1941 2003-07-28  José Matos  <jamatos@fep.up.pt>
1942
1943         * buffer.C (readParagraph):
1944         * params_func (readParToken, readParagraph):
1945         * paragraph.C (write): \layout -> \begin_layout.
1946
1947 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1948
1949         * lyxlex_pimpl.C (setFile): clean up slightly.
1950
1951         * bufferparams.h: add compressed var
1952
1953         * buffer_funcs.C (readFile): adjust for LyXLex change
1954         (newFile): ditto + simplify
1955
1956         * buffer.C (writeFile): handle writing of compressed files
1957
1958         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
1959         Check if the file is compressed and set a bufferparm if so.
1960
1961         * Makefile.am (lyx_LDADD): remove explicit -lz
1962
1963 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1964
1965         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
1966         makeDocBookFile): put the real LyX version in the first line of
1967         the file
1968
1969         * version.h:
1970         * version.C.in: remove lyx_docversion
1971
1972         * tabular.C (write_attribute): add a template-based version to
1973         write enums properly
1974
1975 2003-07-28  André Pönitz  <poenitz@gmx.net>
1976
1977         * lyxtext.h:
1978         * text.C:
1979         * text2.C:
1980         * text3.C: use doubles again for x-coordinates. They are needed.
1981
1982 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1983
1984         * messages.C (getLocaleDir): use lyx_localedir()
1985
1986         * lyxlex_pimpl.C (setFile): compress stuff
1987
1988         * buffer.C (writeFile): add some compression stuff
1989         (do_writeFile): new func, dont call expliti close... will this
1990         breake anything?
1991
1992         * Makefile.am (lyx_LDADD): add -lz
1993
1994 2003-07-28  José Matos  <jamatos@fep.up.pt>
1995
1996         * buffer.C: increment file format.
1997         * paragraph_funcs (readParagraph, readParToken):
1998         * paragraph.C (readParagraph): add \end_layout.
1999
2000 2003-07-27  Angus Leeming  <leeming@lyx.org>
2001
2002         * Makefile.am: remove special casing for configure-time setting of
2003         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2004
2005         * lyx_main.C (init): remove all Jean-Marc's magic setting of
2006         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2007
2008 2003-07-26  André Pönitz  <poenitz@gmx.net>
2009
2010         * paragraph_func.[Ch]:
2011         * paragraph.C (realizeFont): inline it whereever it is used
2012
2013         * rowpainter.C:
2014         * text.C:
2015         * text2.C:
2016         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2017
2018
2019 2003-07-26  André Pönitz  <poenitz@gmx.net>
2020
2021         *       lyxtext.h:
2022         * text.C:
2023         * text2.C: get rid of LyXText::need_break_row
2024
2025 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2026
2027         * toc.[Ch]: put namespace toc inside namespace lyx
2028
2029         * MenuBackend.C (expandToc2): adjust for lyx::toc
2030         (expandToc): ditto
2031
2032         * lyxfunc.C (dispatch): adjust for lyx::find
2033
2034         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2035         lyx::find instead. Reorganize a bit.
2036         (LyXReplace): rename to replace
2037         (LyXFind): rename to find
2038
2039         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2040         (dispatch): ditto
2041
2042 2003-07-26  André Pönitz  <poenitz@gmx.net>
2043
2044         * text.C (setHeightOfRow): restrict scope of temporary variable
2045
2046         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
2047           code (never has been used?)
2048
2049 2003-07-27  Asger Alstrup  <alstrup@local>
2050
2051         * text.C (fill): Optimise algorithm to exploit that we can reuse
2052         the LyXFont for many characters.
2053         (setHeightOfRow): Same thing.
2054         (rowBreakPoint): Same thing.
2055
2056 2003-07-26  Asger Alstrup  <alstrup@local>
2057
2058         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2059
2060         * text.C (singleWidth): Spurious font copying in hot-spot
2061         singleWidth avoided. Reorder tests for arabic for efficiency.
2062
2063         * text.C (fill): handle empty paragraphs better.
2064
2065 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2066
2067         * ispell.C:
2068         * encoding.h: add includes
2069
2070         * lyxrc.C: remove reading of bind files
2071
2072         * lyx_main.C (init): setup bindings and menus only if we have a
2073         gui.
2074
2075         * kbmap.C (read): new method. Do the actual reading of bind
2076         files.
2077
2078         * converter.C (dvipdfm_options):
2079         * bufferparams.C:
2080         * lyxrc.C (read):
2081         (output): adapt PAPER_* enums.
2082
2083         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2084
2085         * bufferparams.h: remove paper-related enums from there
2086
2087         * paper.h: New file. A trivial header file to hold paper-related
2088         enums. It should later expand to contain many paper-related
2089         horrors access.
2090
2091         * lyxrc.C: declare extern displayTranslator
2092
2093 2003-07-27  José Matos  <jamatos@fep.up.pt>
2094
2095         * tabular.[Ch] (linuxdoc): add support for tables and figures
2096         (linuxdoc).
2097
2098 2003-07-27  José Matos  <jamatos@fep.up.pt>
2099
2100         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2101         consistency in both functions.
2102         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2103
2104 2003-07-26  Asger Alstrup  <alstrup@local>
2105
2106         * rowpainter.C (paintRows): Change algorithm to work directly on
2107         the insets rather than asking every character in the document
2108         whether its an inset.
2109
2110 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
2111
2112         * buffer.C (openFileWrite): factorize some code
2113
2114 2003-07-26  Angus Leeming  <leeming@lyx.org>
2115
2116         * lyx_cb.C:
2117         * lyx_main.[Ch]: replace occurances of system_tempdir with
2118         os::getTmpDir().
2119
2120 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2121
2122         * rename Inset to InsetOld
2123
2124 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
2125
2126         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2127         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2128         which I think is a bit clearer. EDIT is gone, since it was
2129         premature optimisation, and broken for mathed anyway.
2130         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2131         with cursor positioning in insets as well (math insets still do not
2132         work, but that's a different story anyway.) It mysteriously
2133         crashes sometimes with undo in the first paragraph, but I'm fairly
2134         confident that this is a compiler bug.
2135
2136 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2137
2138         * paragraph.C (Paragraph): adjust for new clone return type
2139         (operator==): ditto
2140         (copyIntoMinibuffer): ditto
2141
2142 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
2143
2144         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2145         by not having a special case, and always doing a full rebreak of
2146         the document after undo.
2147
2148 2003-07-23  Angus Leeming  <leeming@lyx.org>
2149
2150         * factory.C (createInset): InsetExternal::setParams now takes a
2151         Buffer const * arg.
2152
2153 2003-07-23  Angus Leeming  <leeming@lyx.org>
2154
2155         * factory.C (createInset): changed interface to the external and
2156         graphics mailers' string2params functions.
2157
2158 2003-07-23  Angus Leeming  <leeming@lyx.org>
2159
2160         * factory.C (createInset): pass a
2161         Buffer const * parameter to InsetExternalMailer's string2params.
2162
2163 2003-07-22  John Levon  <levon@movementarian.org>
2164
2165         * Thesaurus.h: include the right aiksaurus header
2166
2167 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2168
2169         * MenuBackend.C (expand): check menu shortcuts unconditionally
2170
2171 2003-07-21  Angus Leeming  <leeming@lyx.org>
2172
2173         * factory.C (createInset): pass a
2174         buffer_path parameter to InsetGraphicsMailer's string2params.
2175
2176 2003-07-21  Angus Leeming  <leeming@lyx.org>
2177
2178         * BufferView_pimpl.C (buffer):
2179         * buffer.C (d-tor):
2180         * lyx_main.C (LyX):
2181         * lyxfunc.C (dispatch):
2182         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2183         rather than the grfx shortcut.
2184
2185 2003-07-21  André Pönitz  <poenitz@gmx.net>
2186
2187         * rowpainter.C: remove unused variables
2188
2189         * tabular_funcs.C:
2190         * tabular_funcs.h: move to tabular.C
2191         * Makefile.am: adjust
2192
2193         * tabular.[Ch]: basic optical cleaning
2194
2195         * author.h: pass references, not values
2196
2197 2003-07-18  André Pönitz  <poenitz@gmx.net>
2198
2199         * lyxtext.h:
2200         * metricsinfo.C:
2201         * metricsinfo.h:
2202         * rowpainter.C:
2203         * text.C:
2204         * text2.C:
2205         * text3.C: two-phase drawing for InsetText and InsetTabular
2206         some float -> int changes.
2207
2208 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2209
2210         * lyx_main.C: fix the fix
2211
2212 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2213
2214         * lyx_main.C: fix a crash in batch mode if no files specified
2215         * converter.C: ws
2216
2217 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
2218
2219         * format.[Ch] (papersize): moved to BufferParams
2220         * converter.[Ch] (dvips_options): moved to BufferParams
2221         (dvipdfm_options): moved to anon namespace
2222         * bufferparams.[Ch]: added above functions.
2223
2224 2003-07-17  André Pönitz  <poenitz@gmx.net>
2225
2226         * lyxtext.h:
2227         * rowpainter.C:
2228         * text2.C: don't call inset->update() anymore
2229
2230         * metricsinfo.[Ch]: add convenience constructor
2231
2232 2003-07-16  André Pönitz  <poenitz@gmx.net>
2233
2234         * lyxcursor.[Ch]:
2235         * lyxfunc.[Ch]:
2236         * text.C:
2237         * text2.C: replace the LyXCursor::irow_ member with
2238          on-demand computation of the value
2239
2240 2003-07-16  John Levon  <levon@movementarian.org>
2241
2242         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
2243
2244 2003-07-15  André Pönitz  <poenitz@gmx.net>
2245
2246         * text.C:
2247         * text2.C: remove no more needed refresh_row
2248
2249 2003-07-15  André Pönitz  <poenitz@gmx.net>
2250
2251         * lyxtext.h:
2252         * rowpainter.C:
2253         * text2.C:
2254         * text3.C: refresh_status tristate -> need_update bool
2255
2256 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
2257
2258         * lyxtext.h (init): remove reinit argument (act as if always true)
2259         * text2.C: adjust to that
2260
2261 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2262
2263         * bufferview_funcs.[Ch]: introduce function replaceSelection()
2264         * text3.C: use it to delete selections in some cases
2265         (bugs 441, 673, 702, 954).
2266
2267 2003-07-14  André Pönitz  <poenitz@gmx.net>
2268
2269         * rowpainter.[Ch]: reduce interface
2270
2271 2003-07-14  André Pönitz  <poenitz@gmx.net>
2272
2273         * BufferView_pimpl.C:
2274         * text2.C: adjust after removing unused BufferView * argument
2275
2276 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
2277
2278         * text2.C (init): fix a crash fired on resize
2279
2280 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
2281
2282         * buffer.[Ch]: added new closing signal
2283         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
2284         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
2285         BufferView::Pimpl via the closing the signal
2286
2287 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
2288
2289         * buffer.[Ch]: take out all bv-related from buffer
2290         * BufferView.C:
2291         * BufferView_pimpl.[Ch]: connect to new signals
2292         * CutAndPaste.C: removed useless asserts
2293         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
2294         * lyxvc.[Ch]:
2295         * vc-backend.[Ch]:
2296         * lyxfunc.C: moved view-related funciontality from vc here
2297         * paragraph.C: removed outdated comments
2298         * text.C: ws
2299
2300 2003-07-10  André Pönitz  <poenitz@gmx.net>
2301
2302         * BufferView_pimpl.C:
2303         * tabular.h:
2304         * tabular_funcs.C:
2305         * text.C:
2306         * text2.C: remove InsetText::InnerCache, clean up consequences
2307
2308 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
2309
2310         * ispell.C: fix two typos in error messages
2311
2312 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
2313
2314         * Extend Note inset to other forms of annotation like Comment
2315         and Greyedout. Right button click gives dialog.
2316
2317         Files modified or added (+):
2318
2319         * insetnote.[Ch]
2320         * FormNote.[Ch]      +
2321         * ControlNote.[Ch]   +
2322         * form_note.fd       +
2323         * Makefile.am in frontends/xforms, frontends/xforms/forms,
2324         frontends/controllers
2325         * xforms/Dialogs.C
2326         * factory.C
2327
2328 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2329
2330         * aspell.C: add missing namespace lyx::support
2331
2332 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
2333
2334         * BufferView.[Ch] (newFile): Add
2335         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2336         * LaTeX.[Ch] (message): added this signal and use it
2337         * buffer.[Ch] (busy, message): added these signals and use them
2338         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2339         * converter.C:
2340         * exporter.C:
2341         * format.C:
2342         * importer.C: use buffer signals instead of direct bv calling
2343         * lyx_cb.[Ch] (ShowMessage): removed
2344         * lyx_main.C:
2345         * lyxfunc.C:
2346         * paragraph_funcs.C:
2347         * text2.C: use buffer signals
2348
2349 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2350
2351         * introduce namespace lyx::graphics
2352
2353 2003-07-02  André Pönitz  <poenitz@gmx.net>
2354
2355         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2356
2357 2003-07-01  André Pönitz  <poenitz@gmx.net>
2358
2359         * text.C:
2360         * text2.C:
2361         * text3.C:
2362         * text_funcs.[Ch]:
2363         * textcursor.h:
2364         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2365           text*.C to text_func.C
2366
2367 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2368
2369         * introduce namespace lyx::support
2370
2371 2003-06-30  André Pönitz  <poenitz@gmx.net>
2372
2373         * Chktex.C:
2374         * funcrequest.C:
2375         * lyxtext.h:
2376         * text.C: re-enable --with-included-string
2377
2378 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2379
2380         * textcursor.C: add <config.h>
2381
2382         * text.C (getWord): remove const from word_location arg
2383
2384         * lyxvc.C (getLogFile): fix const type order
2385
2386         * lyxtext.h: remove const from word_location arg, add arg name
2387
2388         * lyxlayout.h: currect type on labeltype.
2389
2390         * importer.C: correct \file
2391
2392         * converter.C (intToFormat): use std:: on ret val, ws changes
2393
2394         * bufferlist.h: correct \file
2395
2396         * buffer.C (makeLinuxDocFile): fix const type order
2397         (makeDocBookFile): ditto
2398         (fillWithBibKeys): use std:: on stdlib args.
2399
2400         * CutAndPaste.C: fix authors.
2401         (availableSelections): use std:: on return vector
2402
2403 2003-06-27  André Pönitz  <poenitz@gmx.net>
2404
2405         * BufferView_pimpl.C:
2406         * bufferview_funcs.C:
2407         * lyxcursor.C:
2408         * lyxcursor.h:
2409         * lyxfunc.C:
2410         * lyxtext.h:
2411         * rowpainter.C:
2412         * text.C:
2413         * text2.C:
2414         * text3.C: remove LyXCursor::row_ member
2415
2416         * lyxtext.h:
2417         * text.C: rename fullRebreak() to partialRebreak() and implement
2418           a fullRebreak() that really bereks fully
2419
2420         * textcursor.h: new struct for cursor-related data
2421
2422 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
2423
2424         * lyx_main.C (LyX): get full path of document loaded on the
2425         command line
2426
2427 2003-06-26  André Pönitz  <poenitz@gmx.net>
2428
2429         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2430           remove unused/broken operator>,<,>=.
2431
2432         *       text.C: remove only use of broken operator<= in an Assert().
2433
2434 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2435
2436         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2437         moved errorlist_.clear to showErrorList
2438
2439 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2440
2441         * converter.C (scanLog, runLaTeX):
2442         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2443         move the bv->showErrorList call to the callers
2444         * lyxfunc.C: i.e. here...
2445         * text2.C: and here
2446         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2447         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2448         namespace, the second to...
2449         * buffer_funcs (BufferFormat, parseErrors): added
2450         * errorlist.C (ErrorList(TeXErrors const &)): removed
2451
2452 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2453
2454         * ToolbarBackend.C (getIcon): complain when icon cannot be found
2455
2456 2003-06-24  "Garst R. Reese" <reese@isn.net>
2457
2458         * debug.C: fix typo
2459
2460 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2461
2462         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2463
2464         * version.C.in: change docversion to 1.4
2465
2466 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
2467
2468         * buffer.C: fix a bug just introduced
2469
2470 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
2471
2472         * buffer.[Ch]: added the parseError signal and use it, removed
2473         sgmlError
2474         * BufferView.[Ch] (addError): moved to ...
2475         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2476         to the Buffer::parseError signal to catch (guess what) parse errors
2477         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2478
2479 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
2480
2481         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2482         ability to create a buffer and to return an existing one from
2483         the list. Moved these functions to...
2484         * buffer_funcs.[Ch]: added
2485         * BufferView.[Ch] (loadLyXFile): added
2486         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
2487         job removed from bufferlist::loadLyXFile.
2488         * buffer.C (setReadOnly): make it work without view
2489         (i.e added an if (users))
2490
2491 2003-06-19  Angus Leeming  <leeming@lyx.org>
2492
2493         * lfuns.h:
2494         * LyXAction.C (init):
2495         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
2496         with LFUN_DIALOG_SHOW <name> <data>.
2497
2498 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2499
2500         * CutAndPaste.C (availableSelections): small compilation fix for
2501         ancient (gcc 2.9x) compilers
2502
2503 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
2504
2505         * text3.C (cursorNext): add tmp var
2506
2507         * text2.C (updateCounters): for function calling out of for clause
2508         (replaceSelectionWithString): ditto
2509         (insertStringAsParagraphs): ditto
2510         (getColumnNearX): add tmp var
2511         (setCursorFromCoordinates): add tmp var
2512         (cursorDownParagraph): add tmp var
2513         (deleteEmptyParagraphMechanism): add tmp var
2514
2515         * text.C (insertChar): add tmp var
2516
2517         * rowpainter.C (paintDepthBar): add tmp var
2518
2519         * CutAndPaste.C (availableSelections): potentially check all
2520         paragraphs in a cut to fill the shown strings.
2521
2522 2003-06-18  André Pönitz  <poenitz@gmx.net>
2523
2524         * kbmap.[Ch]: use vector<> instead of list<>
2525
2526 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
2527
2528         * text3.C (dispatch): handle arg to LFUN_PASTE, call
2529         pasteSelection with index
2530
2531         * text2.C (pasteSelection): modify, call pasteSelection with index
2532
2533         * paragraph.C (asString): reimplement version with no interval to
2534         call the one with interval.
2535
2536         * lyxtext.h: add index arg to pasteSelection
2537
2538         * MenuBackend.C (MenuItem): handle PasteRecent
2539         (Menu::read::Menutags): add md_pasterecent
2540         (read): handle it
2541         (expandPasteRecent): new function
2542         (expand): use it
2543
2544         * MenuBackend.h: add PasteRecent to MenuItem::Kind
2545
2546         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
2547         the limited stack
2548         (availableSelections): new function
2549
2550 2003-06-17  Angus Leeming  <leeming@lyx.org>
2551
2552         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
2553
2554 2003-06-17  Angus Leeming  <leeming@lyx.org>
2555
2556         * lfuns.h:
2557         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
2558
2559         * lyxfunc.C (dispatch): invoke it.
2560
2561 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2562
2563         * iterators.C (operator++, ParPosition): reintroduce some
2564         const_cast for the benefit of older compilers.
2565
2566 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2567
2568         * text3.C (dispatch): do not modify clipboard when doing
2569         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
2570         LFUN_DELETE_SKIP on a selection selection
2571
2572 2003-06-16  André Pönitz  <poenitz@gmx.net>
2573
2574         * BufferView.C:
2575         * buffer.C:
2576         * buffer.h:
2577         * paragraph.C:
2578         * tabular.[Ch]: IU of clone() and getLabelList();
2579
2580 2003-06-13  André Pönitz  <poenitz@gmx.net>
2581
2582         * tabular.h: compactification
2583
2584 2003-06-12  André Pönitz  <poenitz@gmx.net>
2585
2586         * tabular.C:
2587         * tabular.h:
2588         * tabular_funcs.h: some renaming plus whitespace
2589
2590 2003-06-12  André Pönitz  <poenitz@gmx.net>
2591
2592         * BufferView.C:
2593         * BufferView_pimpl.C:
2594         * CutAndPaste.C:
2595         * buffer.C:
2596         * iterators.[Ch]:
2597         * lyxfunc.C:
2598         * text.C:
2599         * toc.C: Return a Paragraph & for ParIterator::operator*()
2600
2601 2003-06-11  John Levon  <levon@movementarian.org>
2602
2603         * lyx_main.C:
2604         * ToolbarBackend.h:
2605         * ToolbarBackend.C: add "Toolbars" section and
2606         put the flags there
2607
2608 2003-06-10  Angus Leeming  <leeming@lyx.org>
2609
2610         * lfuns.h:
2611         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
2612
2613         * lyxfunc.C (dispatch): invoke it.
2614
2615 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2616
2617         * main.C: protect <ios> with HAVE_IOS
2618         (main): protect sync_with_stdio with HAVE_IOS
2619
2620 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
2621
2622         * text2.C (cutSelection): adjust
2623         (pasteSelection): adjust
2624
2625         * messages.C: handle get of empty string
2626
2627         * main.C (main): use sync_with_stdio(false)
2628
2629         * lyxfunc.C (dispatch): adjust
2630
2631         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
2632         (WriteAs): remove unneeded BufferView arg.
2633
2634         * bufferparams.h: use correct types on papersize, papersize2 and
2635         paperpackage.
2636
2637         * bufferparams.C (readToken): adjust for type
2638         (writeLaTeX): add missing cases to switch.
2639
2640         * bufferlist.C (quitWriteBuffer): adjust
2641         (close): adjust
2642
2643         * buffer.C (asciiParagraph): remove some commented code.
2644
2645         * CutAndPaste.C: remove current_view extern variable.
2646         (cutSelection): add BufferParams arg.
2647         (eraseSelection): add BufferParams arg.
2648         (pasteSelection): add Buffer const & arg
2649
2650 2003-06-07  John Levon  <levon@movementarian.org>
2651
2652         * buffer.C:
2653         * paragraph_funcs.C:
2654         * paragraph_pimpl.C:
2655         * text.C:
2656         * text2.C:
2657         * paragraph.h:
2658         * paragraph.C: allow InsetERT to freely space lines,
2659         and some consolidation of code
2660
2661 2003-06-06  José Matos  <jamatos@fep.up.pt>
2662
2663         * buffer.C (makeDocBookFile): fix bug #821
2664
2665 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
2666
2667         * BufferView_pimpl.C (dispatch): use Dialogs::visible
2668
2669 2003-06-04  Angus Leeming  <leeming@lyx.org>
2670
2671         * buffer.C: bump format to 224.
2672
2673 2003-06-05  André Pönitz  <poenitz@gmx.net>
2674
2675         * text2.C (redoParagraphs): remove two const_cast<>
2676
2677 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2678
2679         * ParagraphList.h: remove last remnants of NO_STD_LIST
2680
2681 2003-06-03  Angus Leeming  <leeming@lyx.org>
2682
2683         * factory.C (createInset): small change to the way InsetExternal's params
2684         are set.
2685
2686 2003-06-04  André Pönitz  <poenitz@gmx.net>
2687
2688         * buffer.h: use Undo directly instead of shared_ptr<Undo>
2689
2690         * paragraph_pimpl.h:
2691         * paragraph.[Ch]: some Inset -> UpdatableInset changes
2692
2693         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
2694
2695         * undo_funcs.C: make some simple cases of undo work again
2696
2697 2003-06-03  John Levon  <levon@movementarian.org>
2698
2699         * ispell.C: HPUX doesn't have sys/select.h
2700         (from Albert Chin)
2701
2702 2003-06-03  John Levon  <levon@movementarian.org>
2703
2704         * CutAndPaste.C: update tabular and include inset
2705         buffer references
2706
2707         * buffer.h:
2708         * paragraph.h:
2709         * paragraph.C: remove owningBuffer(), don't pass Buffer
2710         to clone()
2711
2712         * factory.C: insetGraphicsParams changed
2713
2714 2003-06-02  John Levon  <levon@movementarian.org>
2715
2716         * LyXAction.C:
2717         * factory.C:
2718         * lfuns.h:
2719         * lyxfunc.C:
2720         * text3.C: remove insetparent
2721
2722 2003-06-02  John Levon  <levon@movementarian.org>
2723
2724         * buffer.h:
2725         * buffer.C: fix inset_iterator.end(), move out of line
2726         (bug 1149)
2727
2728 2003-06-01  John Levon  <levon@movementarian.org>
2729
2730         * text3.C: use a proper cut/paste when doing inset
2731         insert (from Jürgen Spitzmüller)
2732
2733 2003-06-01  John Levon  <levon@movementarian.org>
2734
2735         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
2736
2737 2003-05-30  André Pönitz  <poenitz@gmx.net>
2738
2739         * rowpainter.C: unify second drawing phase
2740
2741 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2742
2743         * trans_mgr.C: remove one case of current_view
2744
2745         * text2.C (cursorBottom): delete NO_STD_LIST stuff
2746
2747         * paragraph_funcs.h: remove paragraph.h include
2748
2749         * paragraph.h: delete NO_STD_LIST stuff
2750
2751         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
2752
2753         * buffer.h: remove paragraph.h include
2754
2755         * ParagraphList.C: delete file
2756
2757         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
2758
2759         * toc.C (getTocList): adjust
2760
2761         * paragraph_pimpl.C (validate): adjust
2762
2763         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
2764
2765         * paragraph.C (Paragraph): adjust
2766         (getPositionOfInset): use const_iterator, adjust
2767         (bibitem): use const_iterator, adjust
2768         (setInsetOwner): adjust
2769
2770         * iterators.C (operator++): adjust
2771
2772         * InsetList.[Ch]: Replace selfmade iterator with standard
2773         vector::iterator also introduce const_iterator. Remove getPos,
2774         getInset and setInset from InsetTable. Adjust accordingly.
2775
2776         * BufferView.C (lockInset): adjust
2777         (ChangeInsets): adjust
2778
2779         * tabular.[Ch]: delete commented same_id functions
2780
2781 2003-05-28  John Levon  <levon@movementarian.org>
2782
2783         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
2784
2785 2003-05-28  André Pönitz  <poenitz@gmx.net>
2786
2787         * metricsinfo.[Ch]: remove 'fullredraw' member
2788
2789 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
2790
2791         * lyxtextclass.C (operator): remove caching.
2792
2793 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2794
2795         * text3.C: adjust
2796
2797         * text2.C (cursorBottom): adjust
2798         (setCounter): use ParagraphList::find, adjust
2799
2800         * text.C (workWidth): use ParagraphList::find, adjust
2801
2802         * lyxcursor.C (LyXCursor): adjust
2803
2804         * buffer.C (inset_iterator): adjust
2805
2806         * ParagraphList.h: make iterator(value_type) private, make
2807         ParagraphList a friend of iterator.
2808
2809         * ParagraphList.C (find): new function
2810
2811         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2812
2813 2003-05-27  André Pönitz  <poenitz@gmx.net>
2814
2815         * dimension.[Ch]: a -> asc, d -> des, w -> wid
2816
2817 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2818
2819         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
2820
2821 2003-05-26  John Levon  <levon@movementarian.org>
2822
2823         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
2824
2825 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2826
2827         * remove same_id from function signatures, adjust.
2828
2829 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2830
2831         * undo_funcs.C (createUndo): use the id functions directly, adjust.
2832
2833         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
2834
2835         * paragraph.C (Paragraph): get rid of same_ids parameter
2836
2837         * ParagraphList.C (insert): adjust
2838         (push_back): adjust
2839
2840 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2841
2842         * paragraph_funcs.C (breakParagraph): adjust
2843         (breakParagraphConservative): adjust
2844
2845         * buffer.C (readParagraph): adjust
2846
2847         * ParagraphList.C (insert): take a reference instead of a pointer
2848         (insert): adjust
2849
2850         * paragraph.[Ch] (id): new function
2851
2852         * bufferlist.C (newFile): adjust
2853
2854         * ParagraphList.C (ParagraphList): adjust
2855         (assign): adjust
2856         (push_back): take a reference instead of a pointer.
2857
2858         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
2859
2860         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
2861         instead.
2862
2863         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
2864         set else use old code.
2865
2866         * ParagraphList.C: remove all NO_NEXT code and only compile this
2867         code of NO_STD_LIST is set.
2868
2869 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
2870
2871         * BufferView_pimpl.C:
2872         * TextCache.C:
2873         * TextCache.h:
2874         * bufferlist.C:
2875         * errorlist.h:
2876         * format.C:
2877         * format.h:
2878         * graph.C:
2879         * lyxfunc.C:
2880         * lyxrc.C:
2881         * graphics/GraphicsConverter.C:
2882         * graphics/PreviewLoader.C: header adjustment
2883
2884 2003-05-23  Angus Leeming  <leeming@lyx.org>
2885
2886         * LaTeXFeatures.[Ch] (useBabel): new method.
2887         * bufferparams.C (writeLaTeX): use it.
2888
2889 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2890
2891         * ParagraphList.h (set): remove unused function.
2892
2893 2003-05-23  André Pönitz  <poenitz@gmx.net>
2894
2895         * BufferView.C:
2896         * BufferView_pimpl.C:
2897         * buffer.C:
2898         * buffer.h:
2899         * lyxfunc.C:
2900         * undo_funcs.C: setUndo reworked
2901
2902         * iterators.[Ch]: add access to topmost ParagraphList
2903
2904         * lyxtext.[Ch] (workWidth): add a const
2905
2906 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
2907
2908         * texrow.[Ch] (increasePos): remove function
2909         * exporter.C (export): removed unused var and outdated comment
2910
2911 2003-05-23  Angus Leeming  <leeming@lyx.org>
2912
2913         * latexrunparams.h: rename fragile as moving_arg.
2914         * paragraph.C (simpleTeXOnePar): ditto.
2915         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
2916
2917 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2918
2919         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
2920         (createUndo): ditto
2921         (textUndoOrRedo): comment out a currently unused var.
2922
2923         * paragraph.h (NO_NEXT): enable NO_NEXT
2924
2925         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
2926
2927         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
2928
2929         * exporter.C (Export): adjust for removeAutoInsets removal.
2930
2931         * buffer.C (runChktex): adjust for removeAutoInsets removal.
2932
2933         * LyXAction.C (init): remove LFUN_REMOVEERRORS
2934
2935         * BufferView.[Ch] (removeAutoInsets): delete function
2936
2937 2003-05-22  Angus Leeming  <leeming@lyx.org>
2938
2939         * latexrunparams.h: add a free_spacing variable.
2940
2941         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
2942         to pass moving_arg, as the data is stored in runparams.fragile.
2943
2944         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
2945         to Inset::latexOptional or to simpleTeXOnePar.
2946
2947         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
2948         free_spacing arg to Inset::latexOptional.
2949
2950         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2951         free_spacing arg.
2952
2953 2003-05-22  Angus Leeming  <leeming@lyx.org>
2954
2955         * latexrunparams.h: add fragile and use_babel variables.
2956
2957         * bufferparams.[Ch] (writeLaTeX): return use_babel.
2958         * buffer.C (makeLaTeXFile): store this returned value in
2959         runparams.use_babel, thus passing it to the inset::latex methods.
2960
2961         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
2962         simpleTeXSpecialChars as it is now stored in runparams.fragile.
2963
2964         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
2965         longer has a fragile arg, as it is stored in runparams.fragile.
2966
2967         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
2968         moving_arg parameter as the data is stored in runparams.fragile.
2969
2970         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2971         a fragile parameter as the data is stored in runparams.fragile.
2972
2973 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2974
2975         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
2976
2977 2003-05-22  Angus Leeming  <leeming@lyx.org>
2978
2979         * latexrunparams.h: add a 'bool nice' which defaults to false.
2980
2981         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
2982         now encapsulated within runparams.
2983
2984         * bufferlist.C (updateIncludedTeXfiles):
2985         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
2986
2987 2003-05-22  Angus Leeming  <leeming@lyx.org>
2988
2989         * latexrunparams.h: new file containing struct LatexRunParams.
2990         * Makefile.am: add new file.
2991
2992         * LaTeX.[Ch] (c-tor, run):
2993         * buffer.[Ch] (makeLaTeXFile):
2994         * bufferlist.[Ch] (updateIncludedTeXfiles):
2995         * converter.C (convert, scanLog):
2996         * converter.[Ch] (runLaTeX):
2997         * exporter.C (Export):
2998         * paragraph.[Ch] (simpleTeXOnePar):
2999         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3000         * paragraph_funcs.[Ch] (latexParagraphs):
3001         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3002         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3003         pass around a LatexRunParams parameter.
3004
3005 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3006
3007         * paragraph.[Ch]: remove unused constructor
3008
3009         * ParagraphList.C (erase): new function, taking two iterators
3010
3011 2003-05-22  André Pönitz  <poenitz@gmx.net>
3012
3013         * undo_funcs.C: remove duplicated code
3014
3015         * iterator.[Ch]: operator=
3016
3017 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3018
3019         * tabular.C (SetMultiColumn): ws changes
3020
3021         * rowpainter.C (paintFirst): get rid of a ->previous
3022
3023         * lyx_cb.C (getPossibleLabel): parlist simplification
3024
3025         * BufferView.C (ChangeInsets): simplify slightly.
3026
3027 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3028
3029         * LyXAction.C: new lfun space-insert, kill protected-space-insert
3030         * lfuns.h: new LFUN_SPACE
3031         * lyxfunc.C: protected space has a new lfun
3032         * paragraph_funcs.C: read new space insets
3033         * text3.C:
3034         * factory.C: handle new space insets
3035
3036 2003-05-22  André Pönitz  <poenitz@gmx.net>
3037
3038         * BufferView.C:
3039         * BufferView_pimpl.C:
3040         * buffer.[Ch]:
3041         * lyxfunc.C:
3042         * undo_funcs.C: return a ParIterator from getParFromID.
3043
3044         * iterators.[Ch]: add two const's
3045
3046 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3047
3048         * toc.C (getTocList): adjust
3049
3050         * iterators.[Ch]: rework for parlist
3051
3052         * buffer.C (par_iterator_begin): adjust
3053         (par_iterator_end): adjust
3054
3055         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3056
3057         * BufferView.C (removeAutoInsets): adjust
3058         (ChangeInsets): adjust
3059
3060 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
3061
3062         * text.C (top_y): fix bug 1110
3063
3064 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
3065
3066         * errorlist.[Ch]: added
3067         * buffer.C:
3068         * BufferView.[Ch]:
3069         * BufferView_pimpl.C:
3070         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3071         instead
3072
3073 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3074
3075         * Makefile.am: ensure that lyx is relinked upon changes to the
3076         various "convenience" libs.
3077
3078 2003-05-20  Angus Leeming  <leeming@lyx.org>
3079
3080         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3081         files are compiled in alphabetical order again.
3082
3083         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3084
3085 2003-05-19  Angus Leeming  <leeming@lyx.org>
3086
3087         * gettext.[Ch]: remove "char const * _(char const *)".
3088
3089 2003-05-19  André Pönitz  <poenitz@gmx.net>
3090
3091         * dimension.[Ch]: promote from mathed/dimension.[Ch]
3092
3093         * Makefile.am:
3094         * BufferView.C:
3095         * DepTable.h:
3096         * LaTeXFeatures.C:
3097         * buffer.C:
3098         * lyxfont.C:
3099         * lyxlex.h:
3100         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3101
3102 2003-05-19  André Pönitz  <poenitz@gmx.net>
3103
3104         * buffer.C:
3105         * lyxlayout.[Ch]:
3106         * lyxtextclass.[Ch]:
3107         * paragraph.C:
3108         * paragraph_funcs.[Ch]:
3109         * text2.C:
3110         * text3.C: more insetenv work
3111
3112 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
3113
3114         * ParagraphParameters.C (params2string): small bug fixed
3115
3116 2003-05-16  André Pönitz  <poenitz@gmx.net>
3117
3118         * debug.C:
3119         * bufferview_funcs.C: patch from Kornel Benko to prevent
3120           crash when _(...) is called twice in a statement
3121
3122 2003-05-16  André Pönitz  <poenitz@gmx.net>
3123
3124         * BufferView.C:
3125         * lyxfunc.C:
3126         * text.C:
3127         * text2.C:
3128         * text3.C:
3129         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3130
3131 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
3132
3133         * lyx_main.C (init): remove spurious static_cast
3134
3135 2003-05-14  André Pönitz  <poenitz@gmx.net>
3136
3137         * BufferView.C: fix format string
3138
3139 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
3140
3141         * BufferView.[Ch] (insertErrors): removed
3142         * BufferView.[Ch] (showErrorList): added
3143         * buffer.C (runChkTeX):
3144         * converter.C (scanLog): call showErrorList instead of inserterrors
3145
3146 2003-05-13  André Pönitz  <poenitz@gmx.net>
3147
3148         * BufferView_pimpl.C:
3149         * buffer.C:
3150         * bufferview_func.C:
3151         * MenuBackend.C:
3152         * lyxfunc.C:
3153         * lyxrc.C:
3154         * tex-accent.C:
3155         * text3.C:
3156         * toc.C:
3157         * tabular_funcs.h: tostr() from its own header
3158
3159         * ParagraphParameters.C:
3160         * ToolbarBackend.C:
3161         * bufferparams.C:
3162         * format.C:
3163         * lyxlex_pimpl.C:
3164         * text3.C: STRCONV()
3165
3166 2003-05-12  André Pönitz  <poenitz@gmx.net>
3167
3168         * BufferView.C:
3169         * BufferView_pimpl.C:
3170         * CutAndPaste.C:
3171         * LaTeX.C:
3172         * LaTeXFeatures.C:
3173         * ParagraphParameters.C:
3174         * buffer.C:
3175         * bufferlist.C:
3176         * bufferparams.C:
3177         * bufferview_funcs.C:
3178         * converter.C:
3179         * counters.C:
3180         * debug.C:
3181         * exporter.C:
3182         * format.C:
3183         * importer.C:
3184         * lyx_cb.C:
3185         * lyx_main.C:
3186         * lyxfont.C:
3187         * lyxfunc.C:
3188         * lyxvc.C:
3189         * paragraph.C:
3190         * paragraph_funcs.C:
3191         * tabular.C:
3192         * tabular_funcs.C:
3193         * text2.C:
3194         * text3.C:  boost::format -> bformat  all over the place
3195
3196
3197 2003-05-09  André Pönitz  <poenitz@gmx.net>
3198
3199         * LColor.[Ch]: Pimpl the #include <map> away
3200
3201 2003-05-09  John Levon  <levon@movementarian.org>
3202
3203         * bufferlist.C: never remove emergency saves
3204
3205 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3206
3207         * Makefile.am: better lib building
3208
3209 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
3210
3211         * texrow.[Ch]: remove dependency on Paragraph and just store a id
3212         instead.
3213         * paragraph_pimpl.C (simpleTeXBlanks): adjust
3214         (simpleTeXSpecialChars): adjust
3215         (simpleTeXSpecialChars): adjust
3216         * paragraph.C (simpleTeXOnePar): adjust
3217         * buffer.C (makeLaTeXFile): adjust
3218
3219         * Makefile.am (BOOST_LIBS): allow boost as system lib.
3220
3221         * text2.C (changeDepth): parlist cleanup
3222         (getColumnNearX): ditto
3223
3224         * rowpainter.C (getLabelFont): parlist cleanup
3225
3226         * bufferlist.C (newFile): parlist cleanup
3227
3228         * CutAndPaste.C (eraseSelection): parlist cleanup
3229
3230         * BufferView_pimpl.C (trackChanges): parlist cleanup
3231         (dispatch): ditto
3232
3233         * BufferView.C (lockInset): parlist cleanup.
3234         (ChangeInsets): ditto
3235
3236 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3237
3238         * CutAndPaste.h: Update file header.
3239
3240         * CutAndPaste.C: Update file header.
3241         Store the parts cut out of the Document in a limited_stack.
3242         (copySelection): adjust
3243         (pasteSelection): new function, takes the index in the limited stack.
3244         (nrOfParagraphs): adjust
3245         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
3246         simplify error inset insertion.
3247         (checkPastePossible): adjust
3248
3249 2003-05-06  John Levon  <levon@movementarian.org>
3250
3251         * text2.C: don't cast wrap inset to float
3252
3253 2003-05-05  André Pönitz  <poenitz@gmx.net>
3254
3255         * iterator.C:
3256         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
3257
3258         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
3259           few naked Paragraph *.
3260
3261 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
3262
3263         * bufferparams.C: Output warning if a document with missing
3264         TeX document class is loaded
3265         * exporter.C: Disable TeX exports if the document class is missing
3266         * lyxtextclass.C:
3267         * lyxtextclass.h:
3268         * lyxtextclasslist.C: Handle new textclass.lst format; new method
3269         isTeXClassAvailable()
3270
3271 2003-05-03  John Levon  <levon@movementarian.org>
3272
3273         * BufferView.h:
3274         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
3275         explicit cursor show/hide
3276
3277         * BufferView_pimpl.h:
3278         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
3279         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
3280
3281         * lyxfunc.C: hide cursor before dispatching.
3282
3283         * lyx_cb.C:
3284         * lyxfind.C:
3285         * text.C:
3286         * text3.C: remove explicit cursor hides
3287
3288 2003-05-02  André Pönitz  <poenitz@gmx.net>
3289
3290         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
3291
3292         * undo_funcs.C:
3293         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
3294           linked lists
3295
3296         * text2.C: tiny whitespace
3297
3298 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3299
3300         * undo_funcs.C: almost only ws changes.
3301
3302         * ParagraphList.C (splice): just return if pl is empty.
3303
3304 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3305
3306         * ParagraphList.C (splice): new function.
3307
3308         * CutAndPaste.C (pasteSelection): use it
3309
3310 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3311
3312         * CutAndPaste.C (pasteSelection): remove the last next and
3313         previous from this file.
3314
3315 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3316
3317         * CutAndPaste.C (pasteSelection): more clean up, user proper
3318         ParagraphList functions for pasteing.
3319
3320         * ParagraphList.C (insert): new function, three arg insert
3321
3322 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3323
3324         * ParagraphList.C (insert): new function, three arg insert
3325
3326         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
3327         not on paragraphs.
3328
3329 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3330
3331         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3332
3333 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3334
3335         * CutAndPaste.C (pasteSelection): remove some unneeded code.
3336
3337 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3338
3339         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3340         (copySelection): clean up a bit.
3341         (pasteSelection): use make_pair
3342
3343         * ParagraphList.C (ParagraphList): implement copy constructor
3344         (operator=): implement, base on copy constructor.
3345         (assign): new func
3346
3347         * paragraph.C (erase): return a bool
3348
3349         * paragraph_pimpl.C (erasePos): remove function, move contents...
3350         (erase): ... here. Return a bool.
3351         (erase): call erase instead of erasePos.
3352
3353 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
3354
3355         * ParagraphList.h: define PitPosPair
3356         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3357         ParagraphList, fix a bug on pasting multiple pars
3358         * text2.C: change interface to C&P
3359
3360 2003-04-30  André Pönitz  <poenitz@gmx.net>
3361
3362         * undo_func.C: revert part of yesterday's patch 2
3363
3364 2003-04-30  John Levon  <levon@movementarian.org>
3365
3366         * LColor.C: s/tabular/table/
3367
3368 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3369
3370         * text3.C (dispatch): do not convert iterator -> pointer
3371         * undo_funcs.C (setCursorParUndo): ditto
3372         * text_funcs.C (transposeChars): ditto
3373
3374         * text2.C (setLayout): ws changes only
3375
3376         * text.C (breakParagraph): do not convert iterator -> pointer
3377         (insertChar): ditto
3378         (acceptChange): ditto
3379         (rejectChange): ditto
3380         (changeCase): ditto
3381         (Delete): ditto
3382         (backspace): ditto
3383
3384         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3385         pointer
3386
3387 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3388
3389         * text3.C (gotoInset): YABG (yet another bad getChar)
3390
3391 2003-04-29  André Pönitz  <poenitz@gmx.net>
3392
3393         * paragraph.h: make operator= private unimplemented as long as
3394           it is unusable
3395
3396         * ParagraphList.C: whitespace
3397
3398         * paragraph.[Ch]:
3399         * paragraph_pimpl.[Ch]:
3400         * paragraph_funcs.C:
3401         * CutAndPaste.C:
3402         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
3403
3404         * text2.C:
3405           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3406
3407 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3408
3409         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3410         * paragraph.[Ch] (erase):
3411         * paragraph_pimpl.[Ch] (erase): change return type and value
3412         * text2.C (cutSelection): some rework
3413
3414 2003-04-28  John Levon  <levon@movementarian.org>
3415
3416         * bufferlist.C: changes for unsaved changes dialog
3417
3418 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3419
3420         * bufferlist.C (newFile): set language (messages_) for new
3421         documents also.
3422
3423         * buffer.C (readFile): ws changes only.
3424
3425 2003-04-28  André Pönitz  <poenitz@gmx.net>
3426
3427         * undo_funcs.C:
3428         * lyxfunc.C:
3429         * buffer.[Ch]:
3430         * BufferView_pimpl.C:
3431         * BufferView.C: getParFromID related ParagraphList::iterator changes
3432
3433 2003-04-28  André Pönitz  <poenitz@gmx.net>
3434
3435         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3436           Changes
3437
3438 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3439
3440         * messages.C: remove one more localedir class variable.
3441
3442 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3443
3444         * messages.C (getLocaleDir): singleton generation function
3445         (Pimpl): use it.
3446         (Messages): add a default constructor.
3447
3448         * main.C (main): do not setup localedir here, do not call
3449         gettext_init.
3450
3451         * gettext.C (_): use it.
3452         (gettext_init): delete funciton
3453
3454 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3455
3456         * gettext.C (getLyXMessages): new singleton generating function.
3457
3458         * buffer.C (updateDocLang): adjust
3459
3460         * Makefile.am (messages.o): add target
3461         (main.o): remove target
3462
3463 2003-04-27  John Levon  <levon@movementarian.org>
3464
3465         * bufferlist.C:
3466         * lyx_cb.C:
3467         * lyxfunc.C:
3468         * lyxvc.C: specify cancel button in Alert::prompt
3469
3470 2003-04-26  John Levon  <levon@movementarian.org>
3471
3472         * text3.C:
3473         * lyxfunc.C:
3474         * lfuns.h:
3475         * LyXAction.C: add LFUN_INSET_SETTINGS
3476
3477         * lyxfunc.C: don't enable tabular-feature when there's
3478         just any locking inset
3479
3480 2003-04-26  John Levon  <levon@movementarian.org>
3481
3482         * bufferlist.C: re-add Cancel to buffer close question
3483
3484         * lyxfunc.C: fix import UI a bit
3485
3486 2003-04-25  John Levon  <levon@movementarian.org>
3487
3488         * gettext.C: remove the broken asserts for now
3489
3490 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3491
3492         * messages.C: make case where setlocale cannot comply work better.
3493
3494         * buffer.C (updateDocLang): new function
3495         (changeLanguage): use it
3496         (readFile): use it
3497
3498         * text2.C (setCounter): use B_ a bit.
3499
3500         * lyxlayout.C (Read): be sure to trim the label strings.
3501
3502         * messages.C (Messages): fix typo in comment
3503
3504         * buffer.C (readFile): set message_ after file is loaded.
3505         (makeDocBookFile): remove double return
3506         (changeLanguage): reset message_ upon language change.
3507         (B_): new func, use this to get translated buffer strings.
3508
3509         * main.C: add myself and Jean Marc as authors.
3510
3511 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3512
3513         * messages.[hC]: pimplify Messages, and three different pimpls to be
3514         used in different circumstances.
3515
3516         * gettext.[Ch]: change for use with new message code.
3517
3518 2003-04-24 André Pönitz <poenitz@gmx.net>
3519
3520         * factory.C: support for eqref
3521
3522 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3523
3524         * messages.[Ch]: add missing char
3525
3526         * Makefile.am (lyx_SOURCES): add messages.[Ch]
3527
3528         * messages.[Ch]: New files
3529
3530 2003-04-18  John Levon  <levon@movementarian.org>
3531
3532         * BufferView.h:
3533         * BufferView.C:
3534         * BufferView_pimpl.C:
3535         * lfuns.h:
3536         * LyXAction.C:
3537         * lyxtext.h:
3538         * text2.C: remove layout-copy/paste (bug 778)
3539
3540 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3541
3542         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
3543
3544 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3545
3546         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
3547         if they succeed. Act accordingly.
3548
3549 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3550
3551         * text2.C (setCharFont): adjust
3552         (setCounter): adjust
3553         (insertStringAsLines): adjust
3554
3555         * text.C (leftMargin): adjust
3556         (setHeightOfRow): adjust
3557
3558         * rowpainter.C (paintFirst): adjust
3559         (paintLast): adjust
3560
3561         * paragraph_funcs.C (depthHook): ParagraphList::iterators
3562         (outerHook): ditto
3563         (isFirstInSequence): ditto
3564         (getEndLabel): ditto
3565         (outerFont): adjust
3566
3567         * paragraph.C (getParLanguage): comment out some hard stuff.
3568
3569         * buffer.C (insertStringAsLines): take a ParagraphList as arg
3570         (sgmlError): ditto
3571         (simpleDocBookOnePar): ditto
3572         (makeDocBookFile): use ParagraphList::iterator
3573
3574         * CutAndPaste.C (pasteSelection): adjust
3575
3576 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3577
3578         * text2.C (getFont): adjust
3579         (getLayoutFont): adjust
3580         (getLabelFont): adjust
3581
3582         * paragraph_funcs.C (TeXOnePar): adjust
3583
3584         * buffer.C (simpleLinuxDocOnePar): adjust
3585         (simpleDocBookOnePar): adjust
3586
3587         * CutAndPaste.C (pasteSelection): adjust
3588
3589         * BufferView.C (getEncoding): adjust
3590
3591         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
3592
3593 2003-04-16  John Levon  <levon@movementarian.org>
3594
3595         * lyxfind.C: use parlist stuff for search/changes
3596
3597 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3598
3599         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
3600
3601         * text2.C (deleteEmptyParagraphMechanism): adjust
3602
3603         * text2.[Ch] (ownerParagraph): delete func (both of them
3604
3605 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3606
3607         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
3608
3609 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3610
3611         * ParagraphList.C: prepare for NO_NEXT
3612
3613 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3614
3615         * text2.C (getFont): adjust
3616         (getLayoutFont): adjust
3617         (getLabelFont): adjust
3618
3619         * paragraph.C (getFont): adjust
3620         (getLabelFont): adjust
3621         (getLayoutFont): adjust
3622
3623         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
3624
3625 2003-04-15  John Levon  <levon@movementarian.org>
3626
3627         From Angus Leeming
3628
3629         * lyx_main.C: handle Include in .ui files
3630
3631 2003-04-15  John Levon  <levon@movementarian.org>
3632
3633         * MenuBackend.C: make the doc files length shorter
3634
3635         * ToolbarBackend.h:
3636         * ToolbarBackend.C: handle toolbar placement flags,
3637         Minibuffer
3638
3639 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3640
3641         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
3642         adjust
3643
3644         * paragraph_funcs.C (TeXOnePar): adjust
3645
3646         * paragraph.C (getLabelFont): add outerfont arg, adjust
3647         (getLayoutFont): ditto
3648         (simpleTeXOnePar): adjust
3649
3650         * paragraph_pimpl.C (realizeFont): delete func
3651
3652 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
3653
3654         * text2.C (beforeFullRowInset): added a bad getchar check, removed
3655         row argument, constify cur argument.
3656
3657 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3658
3659         * text2.C (getFont): adjust
3660         (getLayoutFont): adjust
3661         (getLabelFont): adjust
3662
3663         * paragraph_funcs.C (TeXOnePar): adjust
3664         (outerFont): new func...
3665         (realizeFont): ...moved out from here, changed this to facilitate
3666         transition
3667
3668         * paragraph.C (getFont): take outerfont as arg, adjust
3669         (simpleTeXOnePar): add outerfont arg, adjust
3670
3671         * buffer.C (simpleLinuxDocOnePar): adjust
3672         (simpleDocBookOnePar): adjust
3673
3674         * CutAndPaste.C (pasteSelection): adjust
3675
3676         * BufferView.C (getEncoding): adjust
3677
3678 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3679
3680         * text2.C (setCharFont): adjust
3681         (setCounter): adjust
3682
3683         * text.C (leftMargin): adjust
3684         (setHeightOfRow): adjust
3685
3686         * rowpainter.C (paintFirst): adjust
3687         (paintLast): adjust
3688
3689         * paragraph_pimpl.C (realizeFont): adjust
3690
3691         * paragraph.C (isFirstInSequence): move from here...
3692         * paragraph_funcs.C (isFirstInSequence): ...to here
3693
3694         * paragraph.C (outerHook): move from here...
3695         * paragraph_funcs.C (outerHook): ...to here
3696
3697         * paragraph.C (depthHook): move from here...
3698         * paragraph_funcs.C (depthHook): ...to here
3699
3700         * paragraph.C (getEndLabel): move from here...
3701         * paragraph_funcs.C (getEndLabel): ...to here
3702
3703         * text2.C (realizeFont): move from here...
3704         * paragraph_funcs.C (realizeFont): ...to here
3705
3706 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3707
3708         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
3709
3710 2003-04-14  Angus Leeming  <leeming@lyx.org>
3711
3712         * LColor.[Ch]: scrap LColor mathcursor.
3713
3714 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3715
3716         * lyxlex.[Ch] (text): delete function
3717         * trans.C (Load): adjust
3718         * paragraph_funcs.C (readParToken): adjust
3719
3720 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3721
3722         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
3723         vector<char> instead of a char[].
3724
3725         * lyxlex_pimpl.C (getString): adjust
3726         (next): adjust
3727         (lex): use getString
3728         (eatLine): adjust
3729         (nextToken): adjust
3730
3731         * lyxlex.C (text): use pimpl_->getString()
3732         (getBool): ditto
3733         (findToken): ditto
3734
3735 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3736
3737         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
3738         (makeFontEntriesLayoutSpecific): temp var for par.size()
3739         (setLayout): temp var for ownerParagraphs().end()
3740         (fullRebreak): temp var for rows().end()
3741         (selectionAsString): temp var for boost::next(startpit), realize
3742         that the while really is a regular for loop.
3743         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
3744         setCursor in one place.
3745         (setParagraph): temp vr for ownerParagraphs().end()
3746         (updateCounters): make the while loop a for loop
3747         (cutSelection): temp var for ownerParagraphs().end()
3748         (updateInset): make the do {} while() a regular for loop
3749         (getCursorX): use temp vars
3750         (setCurrentFont): use temp vars
3751         (getColumnNearX): use temp vars
3752
3753 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3754
3755         * text.C (transformChar): use temp var for getChar
3756         (computeBidiTables): use temp var for row->par()
3757         (fill): move temp vars for row->par() and pit->layout() earlier in
3758         the function.
3759         (labelFill): use temp var for row->par()
3760         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
3761         asc and desc, realize that pit never changes and that firstpit is
3762         just a duplicate and not needed. Exchange rit->par() with pit in a
3763         lot of places.
3764         (breakAgain): use a temp var for boost::next(rit)
3765         (breakAgainOneRow): ditto
3766         (breakParagraph): use a temp var for rows().begin()
3767         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
3768         (cursorRightOneWord): use temp var for cursor.par() and
3769         cursor.pos(), remove usage of tmpcursor.
3770         (cursorLeftOneWord): use temp var for cursor.par() and
3771         cursor.pos() only set cur at end of function.
3772
3773 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3774
3775         * text.C, text2.C: exchange all usage of Paragraph::next with
3776         boost::next(ParagraphList::iterator)
3777
3778         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
3779
3780         * text2.C (cursorTop): simplify implementation
3781         (cursorBottom): ditto
3782         (setParagraph): use ParagraphList::iterator
3783         (setCurrentFont): adjust
3784         (getColumnNearX): adjust
3785         (cursorRight): adjust
3786         (cursorLeft): remove usage of Paragraph::previous
3787         (cursorUpParagraph): ditto
3788         (deleteEmptyParagraphMechanism): slight cleanup
3789
3790         * text.C (isBoundary): take a Paragraph const & instead of a
3791         pointer as arg.
3792         (addressBreakPoint): ditto
3793         (leftMargin): remove usage of Paragraph::previous.
3794         (setHeightOfRow): ditto
3795         (cursorLeftOneWord): ditto
3796         (selectNextWordToSpellcheck): ditto
3797         (Delete): ditto
3798         (backspace): ditto
3799         (breakParagraph): remove one usage of Paragraph::next
3800         (redoParagraph): ditto
3801         (acceptChange): ditto
3802         (insertChar): adjust
3803         (rowBreakPoint): adjust
3804
3805         * bufferview_funcs.C (toggleAndShow): adjust
3806
3807 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
3808
3809         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
3810         methods to access it.
3811         * lyxtext.h:
3812         * text.C: Added updateRowPositions to compute all row positions.
3813         Make top_y and getRowNearY() to use the cached y position
3814
3815 2003-04-11  John Levon  <levon@movementarian.org>
3816
3817         * text.C (rowBreakPoint): reintroduce the labelEnd
3818         checks, code copied from the row fill stuff. Deep voodoo.
3819
3820         * text.C (fill): add a comment and debugging for the
3821         next poor soul.
3822
3823 2003-04-11  John Levon  <levon@movementarian.org>
3824
3825         * text.C: make sure fullrow insets get wrapped to the next line,
3826         even when they're in a manual label
3827
3828 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
3829
3830         * text2.C (insertParagraph): make it take ParagraphList::iterator
3831         as arg.
3832         (setLayout): make it return ParagraphList::iterator
3833         (redoParagraphs): ditto
3834         (setCounter): ditto
3835         (checkParagraph): ditto
3836
3837         * text.C (getRow): make getrow take ParagraphList::iterator as arg
3838
3839         * text2.C: adjust several funcs.
3840         (realizeFont): take a ParagraphList::iterator as arg.
3841         (getLayoutFont): ditto
3842         (getLabelFont): ditto
3843         (setCharFont): ditto
3844
3845         * text.C: adjust several funcs.
3846
3847 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
3848
3849         * text.C (selectNextWordToSpellcheck): don't accidentally
3850         skip insets
3851
3852 2003-04-10  John Levon  <levon@movementarian.org>
3853
3854         * ToolbarBackend.C (getIcon): special handling for
3855         LFUN_MATH_DELIM
3856
3857 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
3858
3859         * text2.C (cursorRight): a getChar assert fixed
3860
3861 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3862
3863         * text2.C (getFont): change to take a ParagraphList::iterator
3864         instead of Paragraph*
3865         Adjust several functions.
3866
3867         * text.C (transformChar): change to take a ParagraphList::iterator
3868         instead of Paragraph*
3869         (singleWidth): ditto
3870         Adjust several functions.
3871
3872         * rowpainter.C: adjust several functions
3873         * rowpainter.h:store a ParagraphList::iterator and not a
3874         Paragraph&.
3875
3876
3877 2003-04-09  John Levon  <levon@movementarian.org>
3878
3879         * lyxfunc.C:
3880         * lfuns.h:
3881         * LyXAction.h:
3882         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
3883         and the "help" bits as well
3884
3885 2003-04-09  John Levon  <levon@movementarian.org>
3886
3887         * ToolbarBackend.h:
3888         * ToolbarBackend.C: allow multiple toolbars
3889
3890 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3891
3892         * undo_funcs.C (setCursorParUndo): adjust
3893
3894         * text_funcs.C (transposeChars): adjust
3895
3896         * text3.C (gotoNextInset): adjust
3897         (dispatch): adjust
3898
3899         * text2.C (setLayout): adjust
3900         (changeDepth): adjust
3901         (setFont): adjust
3902         (redoParagraphs): adjust
3903         (selectionAsString): adjust
3904         (setParagraph): adjust
3905         (insertInset): adjust
3906         (cutSelection): adjust
3907         (copySelection): adjust
3908         (pasteSelection): adjust
3909         (insertStringAsLines): adjust
3910         (updateInset): adjust
3911         (setCursor): change to take a ParagraphList::iterator parameter
3912         (setCursorIntern): change to take a ParagraphList::iterator parameter
3913         (setCurrentFont): adjust
3914         (cursorLeft): adjust
3915         (cursorRight): adjust
3916         (deleteEmptyParagraphMechanism): adjust
3917
3918         * text.C (breakParagraph): adjust
3919         (insertChar): adjust
3920         (acceptChange): adjust
3921         (rejectChange): adjust
3922         (selectNextWordToSpellcheck): adjust
3923         (changeCase): adjust
3924         (Delete): adjust
3925         (backspace): adjust
3926
3927         * lyxfind.C (SearchForward): adjust
3928         (SearchBackward): adjust
3929         (nextChange): adjust
3930
3931         * lyxcursor.C (par): adjust
3932
3933         * lyxcursor.h: store a ParagraphList::iterator instead of a
3934         Paragraph*
3935
3936         * lyx_cb.C (getPossibleLabel): adjust
3937
3938         * bufferview_funcs.C (toggleAndShow): adjust
3939
3940         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3941         (dispatch): adjust
3942
3943         * BufferView.C (removeAutoInsets): adjust
3944         (lockedInsetStoreUndo): adjust
3945
3946 2003-04-09  John Levon  <levon@movementarian.org>
3947
3948         * ToolbarBackend.C: try icon without argument
3949         if with argument fails
3950
3951 2003-04-08  John Levon  <levon@movementarian.org>
3952
3953         * ToolbarBackend.h:
3954         * ToolbarBackend.C: add getIcon(), handle tooltip,
3955         and change from "Icon" to "Item".
3956
3957 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
3958
3959         * BufferView.C (lockInset): another bad getchar crunched
3960
3961 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
3962
3963         * text2.C (changeDepth): do not setUndo on test_only (make undo work
3964         again)
3965
3966 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
3967
3968         * lyxfind.C (searchForward, searchBackwards): bug 782
3969
3970 2003-04-07  John Levon  <levon@movementarian.org>
3971
3972         * paragraph.C: remove dead comment
3973
3974         * text.C: remove troublesome depth-fiddling code
3975         in leftMargin() and rightMargin() (bug 1017)
3976
3977         * text.C: fix breaking of rows in nested lists
3978         (bug 1004)
3979
3980         * text2.C (updateCounters): fix up depth values
3981         (bug 1013)
3982
3983 2003-04-07  John Levon  <levon@movementarian.org>
3984
3985         * BufferView_pimpl.C: clear message when doc finishes resizing,
3986         and after a mouse event
3987
3988         * lyxfunc.C: clear message after exiting inset
3989
3990 2003-04-07  John Levon  <levon@movementarian.org>
3991
3992         * bufferview_funcs.C: show math status not outside
3993         status in the statusbar
3994
3995 2003-04-07  John Levon  <levon@movementarian.org>
3996
3997         * lyxfunc.C: note status changed after a depth change
3998
3999 2003-04-04  Angus Leeming  <leeming@lyx.org>
4000
4001         * LaTeX.h: move AuxInfo operator==, != out of line.
4002         Remove LaTeX virtual destructor; nothing derives from it.
4003         Move operator()() out of public area and rename it startscript().
4004         Change protected for private.
4005
4006 2003-04-04  Angus Leeming  <leeming@lyx.org>
4007
4008         * lyxfunc.C:
4009         * text2.C: remove unneeded #includes.
4010
4011 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4012
4013         * text2.C (dEPM): fix the heigth of the next row
4014
4015 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4016
4017         * text.C: squashed an invalid getChar requester + some ws changes
4018
4019 2003-04-03  John Levon  <levon@movementarian.org>
4020
4021         * bufferview_funcs.h:
4022         * bufferview_funcs.C:
4023         * lyxfunc.C:
4024         * lyxtext.h:
4025         * text2.C: make getStatus work for the env depth lfuns
4026
4027 2003-04-03  John Levon  <levon@movementarian.org>
4028
4029         * bufferview_funcs.h:
4030         * bufferview_funcs.C:
4031         * lyxfunc.C:
4032         * lyxtext.h:
4033         * text2.C: parlistize decDepth(), by merging it with incDepth()
4034
4035 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4036
4037         * lyxrow.h: store a ParagraphList::iterator instead of a
4038         Paragraph* and adjust other class functions to suit.
4039
4040         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4041         above.
4042
4043 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4044
4045         * text2.C (setCursor): do not anchor to cursor row for the time being
4046
4047 2003-04-02  John Levon  <levon@movementarian.org>
4048
4049         * LyXAction.C:
4050         * lfuns.h:
4051         * lyx_main.C:
4052         * lyxtext.h:
4053         * text.C:
4054         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4055
4056 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4057
4058         * paragraph.h: make ParagraphList and ParagraphList::iterator
4059         friends of Paragraph.
4060
4061         * buffer.C (makeLinuxDocFile): move towards ParagraphList
4062
4063         * ParagraphList.C: Use the private next_ and previous_ from
4064         Paragraph.
4065
4066 2003-04-01  John Levon  <levon@movementarian.org>
4067
4068         * ToolbarBackend.h:
4069         * ToolbarBackend.C:
4070         * Makefile.am: rename, remove defaults gunk
4071
4072         * MenuBackend.h:
4073         * MenuBackend.C: remove defaults gunk
4074
4075         * Languages.h:
4076         * Languages.C: remove defaults gunk
4077
4078         * lyx_main.h:
4079         * lyx_main.C: error out if files couldn't be found.
4080
4081 2003-04-02  John Levon  <levon@movementarian.org>
4082
4083         * text2.C: make incDepth() use parlist
4084
4085 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4086
4087         * undo_funcs.C (firstUndoParagraph): adjust
4088
4089         * text3.C (gotoInset): adjust
4090         (dispatch): adjust, and rewrite loop.
4091
4092         * text2.C (init): adjust, and rewrite loop.
4093         (redoParagraphs): adjust
4094         (updateInset): adjust, and rewrite loop.
4095         (deleteEmptyParagraphMechanism): adjust
4096
4097         * tabular.C (LyXTabular): adjust
4098         (SetMultiColumn): adjust
4099         (TeXRow): adjust
4100
4101         * lyxtext.[Ch] (ownerParagraph): delete function
4102         (ownerParagraphs): new function returns a ParagraphList.
4103
4104         * BufferView.C (removeAutoInsets): adjust
4105         (insertErrors): adjust
4106         (setCursorFromRow): adjust
4107
4108 2003-04-01  Angus Leeming  <leeming@lyx.org>
4109
4110         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4111         in the frontends.
4112
4113 2003-04-02  John Levon  <levon@movementarian.org>
4114
4115         * lyxtext.h:
4116         * text.C:
4117         * Makefile.am:
4118         * text_funcs.h:
4119         * text_funcs.C: make transposeChars a free function
4120
4121         * lyxrow_funcs.C: remove wrong comment
4122
4123 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4124
4125         * lyxtext.h: adjust
4126         * rowpainter.C: adjust
4127         * text.C: adjust
4128         * text2.C: adjust
4129         * text3.C: adjust
4130
4131         * lyxrow_funcs. [Ch]: new files
4132
4133         * lyxrow.[Ch]: remove next and previous pointers
4134         (next,previous): remove accessor functions
4135         (isParEnd): move to lyxrow_funcs
4136         (lastPos): move to lyxrow_funcs
4137         (nextRowIsAllInset): move to lyxrow_funcs
4138         (lastPrintablePos): move to lyxrow_funcs
4139         (numberOfSeparators): move to lyxrow_funcs
4140         (numberOfHfills): move to lyxrow_funcs
4141         (numberOfLabelHfills): move to lyxrow_funcs
4142         (hfillExpansion): move to lyxrow_funcs
4143
4144         * lyxfunc.C: adjust
4145
4146         * bufferview_funcs.C (toggleAndShow): adjust
4147
4148         * RowList.h: Remove class RowList from file leave just a
4149         std::list<Row>.
4150
4151         * RowList.C: delete file
4152
4153         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4154         and lyxrow_funcs.h
4155
4156 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4157
4158         * text3.C (cursorPrevious): adjust
4159         (cursorNext): adjust
4160         (dispatch): adjust
4161
4162         * text2.C (redoHeightOfParagraph): adjust
4163         (redoDrawingOfParagraph): adjust
4164         (setCursor): adjust
4165
4166         * text.C (breakParagraph): adjust
4167         (insertChar): adjust
4168         (backspace): adjust
4169
4170         * rowpainter.C (RowPainter): adjust
4171         (leftMargin): simplify and adjust
4172         (most rowpainter functions): adjust.
4173
4174         * rowpainter.h: store the row as RowList::iterator not as Row*
4175
4176         * lyxcursor.C (row): taka RowList::iterator as arg
4177         (irow): ditto
4178
4179         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4180         of Row*.
4181
4182 2003-04-01  Angus Leeming  <leeming@lyx.org>
4183
4184         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4185         stuff like bool Bool.
4186
4187 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4188
4189         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4190         rewrite a loop
4191
4192 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4193
4194         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4195         RowList::iterator.
4196
4197         * lyxtext.h (rows): drop one version and leve a const variant that
4198         returns a RowList::iterator.
4199
4200 2003-03-31  Angus Leeming  <leeming@lyx.org>
4201
4202         * text.C (fill): ensure that the signature is the same as that in the
4203         header file.
4204
4205 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
4206
4207         * text2.C (redoParagraphs): adjust
4208         (updateCounters): adjust
4209         (checkParagraph): adjust
4210         (getColumnNearX): adjust and reformat a bit.
4211
4212         * text.C (top_y): adjust
4213         (workWidth): adjust
4214         (leftMargin): adjust
4215         (prepareToPrint): adjust
4216         (getRow): adjust
4217         (getRowNearY): adjust
4218
4219         * lyxtext.h: make rowlist_ mutable.
4220
4221         * RowList.h: add const_iterator
4222         * RowList.C: adjust for RowList::const_iterator.
4223
4224         * text2.C (getCursorX): make it take a RowList::iterator as arg,
4225         adjust.
4226
4227 2003-03-31  John Levon  <levon@movementarian.org>
4228
4229         * lyxrc.h:
4230         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
4231
4232         * lyx_main.C: set default fonts from using lyx_gui funcs
4233
4234         * exporter.C: pdf_mode moved from lyxrc
4235
4236         * lyx_cb.C:
4237         * lyxfunc.C: changes from above
4238
4239 2003-03-31  John Levon  <levon@movementarian.org>
4240
4241         * lyx_main.C: fix to the last fix
4242
4243 2003-03-31  John Levon  <levon@movementarian.org>
4244
4245         * bufferlist.C: "Load original" -> "Load Original"
4246
4247         * converter.C:
4248         * exporter.C:
4249         * importer.C:
4250         * lyx_main.C:
4251         * format.C: more Alert cleanups
4252
4253 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4254
4255         * text2.C (removeParagraph): make it take a RowList::iterator as
4256         arg, adjust.
4257         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
4258         (postRowPaint): make it take a RowList::iterator as arg, adjust.
4259
4260         * text.C (anchor_row): make it take a RowList::iterator as arg,
4261         adjust.
4262         (computeBidiTables): make it take a const reference to Row instead
4263         of Row pointer, adjust.
4264         (leftMargin): make it take a RowList::iterator as arg, adjust.
4265         (rowBreakPoint): adjust
4266         (breakAgainOneRow): make it take a RowList::iterator as arg,
4267         adjust.
4268         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
4269
4270         * bufferview_funcs.C (toggleAndShow): adjust
4271
4272 2003-03-30  John Levon  <levon@movementarian.org>
4273
4274         * Makefile.am:
4275         * BoostFormat.h:
4276         * boost-inst.C: moved to support
4277
4278         * several files: changes as a result
4279
4280 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4281
4282         * text2.C (LyXText): adjust.
4283         (init): adjust
4284         (removeRow): make it take a RowList::iterator as arg, adjust.
4285         (fullRebreak): adjust
4286         (deleteEmptyParagraphMechanism): adjust
4287         (clearPaint): adjust
4288         (postPaint): adjust
4289
4290         * text.C (top_y): adjust
4291         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
4292         (breakAgain): make it take a RowList::iterator as arg, adjust.
4293         (breakParagraph): adjust
4294         (insertChar): adjust
4295         (backspace): adjust
4296
4297         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
4298         need_break_row, and refresh_row.
4299
4300         * text3.C (dispatch): adjust
4301
4302         * text2.C (checkParagraph): adjust
4303         (setCursor): adjust
4304         (setCursorFromCoordinates): adjust
4305
4306         * text.C (top_y): adjust
4307         (workWidth): adjust
4308         (getRow): make it return a RowList::iterator, adjust
4309         (getRowNearY): make it return a RowList::iterator, adjust
4310
4311         * text2.C (init): adjust
4312         (insertRow): remove function
4313         (insertParagraph): adjust
4314         (redoParagraphs): adjust
4315         (fullRebreak): adjust
4316         (updateCounters): adjust
4317
4318         * text.C (top_y): rewrite to use RowList iterators.
4319         (top_y): adjust
4320         (setHeightOfRow): rewrite to sue RowList iterators.
4321         (appendParagraph): adjust
4322         (breakAgain): adjust
4323         (breakAgainOneRow): adjust
4324         (breakParagraph): adjust
4325         (getRow): adjust
4326         (getRowNearY): adjust, and remove commented code.
4327
4328         * lyxtext.h (firstRow): delete function
4329         (lastRow): delete function
4330         (rows): new function (const and non-const versions.)
4331         (insertRow): delete function
4332
4333         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4334
4335 2003-03-29  John Levon  <levon@movementarian.org>
4336
4337         * BufferView_pimpl.C: always update scrollbar top
4338         because pasting text when we're anchored could mean we
4339         miss an update altogether
4340
4341 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4342
4343         * text2.C (init): use rowlist_.end() and not 0.
4344         (insertRow): change to take a RowList::iterator as arg, adjust
4345         for this.
4346         (insertParagraph): change to take a RowList::iterator as arg,
4347         adjust for this.
4348         (redoParagraphs): remove some debug msgs.
4349
4350         * text.C (appendParagraph): change to take a RowList::iterator
4351         arg, adjust for this.
4352         (breakAgain): add an assert
4353         (breakAgainOneRow): ditto
4354
4355 2003-03-29  John Levon  <levon@movementarian.org>
4356
4357         * text2.C: do not clear selection after inc/decDepth
4358         (bug 550)
4359
4360 2003-03-29  John Levon  <levon@movementarian.org>
4361
4362         * BufferView.C:
4363         * buffer.C: fix broken strerrors according to Lars
4364
4365 2003-03-29  John Levon  <levon@movementarian.org>
4366
4367         * converters.C: more Alert cleanups
4368
4369 2003-03-29  John Levon  <levon@movementarian.org>
4370
4371         * bufferview_funcs.C: remove pointless Alert
4372
4373         * buffer.C: fix confusing error message when
4374         a template is chmoded 000
4375
4376 2003-03-29  John Levon  <levon@movementarian.org>
4377
4378         * BufferView.C:
4379         * BufferView.h:
4380         * BufferView_pimpl.C: Alert fixes
4381
4382         * Makefile.am:
4383         * tabular.C:
4384         * tabular-old.C: remove unused table compat reading
4385
4386 2003-03-29  John Levon  <levon@movementarian.org>
4387
4388         * BufferView.C:
4389         * buffer.C:
4390         * lyx_cb.h:
4391         * lyx_cb.C: more Alert cleanups
4392
4393         * lyxfunc.C: don't allow chktex if not latex document
4394
4395 2003-03-29  John Levon  <levon@movementarian.org>
4396
4397         * lyx_cb.C:
4398         * BufferView.C:
4399         * buffer.C: warnings pushed down from support/,
4400         kill err_alert
4401
4402 2003-03-29  John Levon  <levon@movementarian.org>
4403
4404         * lyxfunc.C: safety check for C-r (revert)
4405
4406 2003-03-29  John Levon  <levon@movementarian.org>
4407
4408         * bufferlist.h:
4409         * bufferlist.C: several UI fixes using Alert::prompt.
4410         Fix the pointless looping quit code. Fix stupid revert
4411         behaviour (bug 938)
4412
4413         * lyxvc.h:
4414         * lyxvc.C:
4415         * lyx_cb.C: use Alert::prompt
4416
4417         * lyx_main.C: remove a silly question
4418
4419         * lyxfunc.C: remove a couple of silly questions,
4420         use Alert::prompt
4421
4422 2003-03-28  John Levon  <levon@movementarian.org>
4423
4424         * text2.C: fix bug 974 (End on empty par)
4425
4426 2003-03-28  John Levon  <levon@movementarian.org>
4427
4428         * BufferView_pimpl.C:
4429         * LyXAction.C:
4430         * lfuns.h: remove do-nothing math greek lfuns
4431
4432 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4433
4434         * lyxgluelength.h (isValidGlueLength): add default arg on
4435         parameter 2. Remove default arg from friend in class.
4436
4437         * lyxlength.h (isValidLength): add default arg on parameter 2.
4438         Remove default arg from friend in class.
4439
4440         * text2.C (LyXText): adjust, initialize refresh_row.
4441         (init): adjust
4442         (removeRow): adjust
4443         (insertRow): adjust
4444         (insertParagraph): adjst
4445         (redoParagraphs): adjust
4446         (fullRebreak): adjust
4447         (updateCounters): adjust
4448         (deleteEmptyParagraphMechanism): first attempt at fixing a
4449         crashing bug.
4450
4451         * text.C (top_y): adjust
4452         (setHeightOfRow): adjust
4453         (getRow): adjust
4454         (getRowNearY): adjust
4455
4456         * lyxtext.h: include RowList.h
4457         (~LyXText): not needed anymore, deleted.
4458         (firstRow): modify for RowList
4459         (lastRow): new function
4460         Delete firstrow and lastrow class variables, add a Rowlist
4461         rowlist_ class variable.
4462
4463         * lyxrow.C (lastPos): use empty() and not !size() to check if a
4464         paragraph is empty.
4465
4466         * RowList.C (insert): fix case where it == begin().
4467
4468 2003-03-26  Angus Leeming  <leeming@lyx.org>
4469
4470         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4471         the thesaurus dialog.
4472
4473 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4474
4475         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4476
4477         * RowList.[Ch]: new files
4478
4479         * ParagraphList.C (erase): handle the case where it == begin
4480         correctly.
4481
4482 2003-03-25  John Levon  <levon@movementarian.org>
4483
4484         * Makefile.am:
4485         * aspell_local.h:
4486         * aspell.C: add new aspell support
4487
4488         * lyxrc.h:
4489         * lyxrc.C: Make use_pspell be use_spell_lib. Always
4490         have it accessible.
4491
4492 2003-03-25  Angus Leeming  <leeming@lyx.org>
4493
4494         * lfuns.h:
4495         * LyXAction.C (init): new LFUN_INSET_INSERT.
4496
4497         * BufferView_pimpl.C (dispatch): split out part of the
4498         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
4499
4500         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
4501         LFUN_INSET_APPLY.
4502
4503 2003-03-25  Angus Leeming  <leeming@lyx.org>
4504
4505         * lyxfunc.C (dispatch): changes to the Dialogs interface.
4506
4507 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
4508
4509         * text2.C:
4510         * text3.C: remove useless row->height(0)
4511
4512 2003-03-25  John Levon  <levon@movementarian.org>
4513
4514         * lyxtext.h:
4515         * text2.C:
4516         * text3.C: rename the refreshing stuff to better names
4517
4518 2003-03-24  John Levon  <levon@movementarian.org>
4519
4520         * BufferView_pimpl.h:
4521         * BufferView_pimpl.C: update layout choice on a mouse
4522         press/release
4523
4524 2003-03-23  John Levon  <levon@movementarian.org>
4525
4526         * Makefile.am: fix commandtags.h reference
4527
4528 2003-03-22  John Levon  <levon@movementarian.org>
4529
4530         * BufferView_pimpl.C:
4531         * lyxtext.h:
4532         * rowpainter.C:
4533         * rowpainter.h:
4534         * text.C:
4535         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
4536
4537 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
4538
4539         * lyxtext.h:
4540         * text.C: take the rtl methods out of line
4541
4542 2003-03-21 André Pönitz <poenitz@gmx.net>
4543
4544         * metricsinfo.[Ch]: new files containing structures to be passed around
4545         during the two-phase-drawing...
4546
4547 2003-03-21 André Pönitz <poenitz@gmx.net>
4548
4549         * lyxtextclass.C: read 'environment' tag.
4550
4551 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
4552
4553         * text2.C (removeRow): fix bug 964
4554
4555 2003-03-20  John Levon  <levon@movementarian.org>
4556
4557         * rowpainter.C:
4558         * text.C:
4559         * text2.C: paint cleanups. Inset::update() dropped font
4560         parameter
4561
4562 2003-03-19  John Levon  <levon@movementarian.org>
4563
4564         * lyxfunc.C: only fitcursor/markDirty if available()
4565
4566 2003-03-19  John Levon  <levon@movementarian.org>
4567
4568         * commandtags.h: rename to ...
4569
4570         * lfuns.h: ... this, and renumber / cleanup
4571
4572 2003-03-19  John Levon  <levon@movementarian.org>
4573
4574         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
4575         fit the cursor after an lfun
4576
4577         * BufferView.h:
4578         * BufferView.C:
4579         * BufferView_pimpl.h:
4580         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
4581
4582         * LyXAction.C: layout-character should have ReadOnly
4583
4584         * ParagraphParameters.C:
4585         * buffer.C:
4586         * bufferview_funcs.C:
4587         * lyx_cb.C:
4588         * lyxfind.C:
4589         * lyxtext.h:
4590         * text.C:
4591         * text2.C:
4592         * text3.C:
4593         * undo_funcs.C: changes from above
4594
4595 2003-03-18  John Levon  <levon@movementarian.org>
4596
4597         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
4598         remove it from update()
4599
4600         * lyxfunc.C: update layout choice after an lfun
4601
4602         * text3.C: remove extra updateLayoutChoice()s
4603
4604 2003-03-18  John Levon  <levon@movementarian.org>
4605
4606         * text.C: top_y change means full repaint, fix
4607         a drawing bug with cursor movement
4608
4609 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4610
4611         * lyxtext.h:
4612         * text.C:
4613         * text2.C: anchor row on setCursor
4614
4615 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4616
4617         * lyxtext.h: remove almost all mutable keywords
4618         * text.C:
4619         * text2.C:
4620         * text3.C: remove const keywords accordingly
4621
4622 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4623
4624         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
4625         anon namespace
4626         (TeXEnvironment): ditto
4627         (TeXOnePar): ditto
4628
4629 2003-03-17  John Levon  <levon@movementarian.org>
4630
4631         * text.C (rowBreakPoint): remove attempt to fix displayed
4632         math insets inside a manual label
4633
4634 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4635
4636         * lyxtext.h: remove BufferView* as first arg from almost all class
4637         functions.
4638         * other files: adjust.
4639
4640 2003-03-17  John Levon  <levon@movementarian.org>
4641
4642         * lyxtext.h:
4643         * undo_funcs.C:
4644         * text2.C: more paint cleanups
4645
4646         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
4647
4648         * rowpainter.h:
4649         * rowpainter.C: remove "smart" background painting code
4650
4651 2003-03-16  John Levon  <levon@movementarian.org>
4652
4653         * lyxtext.h:
4654         * text.C:
4655         * text2.C:
4656         * text3.C: add helper functions for setting refresh_row/y
4657
4658 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
4659
4660         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
4661         newline inset which *can* get inserted in the pass_thru layouts.
4662         This is primarily for literate documents.
4663
4664 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
4665
4666         * buffer.C: increment LYX_FORMAT to 223
4667
4668 2003-03-14 André Pönitz <poenitz@gmx.net>
4669
4670         * textclass.h: prepare for environment handling, ws changes
4671         * lyxlayout.C: read latexheader and latexfooter tags
4672
4673 2003-03-14  John Levon  <levon@movementarian.org>
4674
4675         * text2.C: rewrite ::status() a bit
4676
4677 2003-03-13  John Levon  <levon@movementarian.org>
4678
4679         * lyxtext.h: add some docs
4680
4681 2003-03-13  John Levon  <levon@movementarian.org>
4682
4683         * lyxtext.h:
4684         * text.C:
4685         * text2.C:
4686         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
4687
4688 2003-03-13  John Levon  <levon@movementarian.org>
4689
4690         * text3.C: fix appendix redrawing
4691
4692 2003-03-13  John Levon  <levon@movementarian.org>
4693
4694         * text.C (setHeightOfRow):
4695         * rowpainter.h:
4696         * rowpainter.C: make appendix mark have the text
4697           "Appendix" so the user knows what it is
4698
4699         * LColor.h:
4700         * LColor.C: s/appendixline/appendix/ from above
4701
4702 2003-03-13  John Levon  <levon@movementarian.org>
4703
4704         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
4705
4706         * text.C: fix a getChar(pos) bug properly
4707
4708 2003-03-13  Angus Leeming  <leeming@lyx.org>
4709
4710         * commandtags.h:
4711         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
4712         Probably only temporary. Let's see how things pan out.
4713
4714         * BufferView.C (unlockInset):
4715         * BufferView_pimpl.C (fitCursor):
4716         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
4717
4718         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
4719         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
4720
4721         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
4722         new functions that convert ParagraphParameters to and from a string.
4723
4724         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
4725         BufferView::Pimpl's dispatch.
4726         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
4727
4728 2003-03-13 André Pönitz <poenitz@gmx.net>
4729
4730         * lyxfunc.C:
4731         * text3.C:
4732         * factory.C: make it aware of InsetEnv
4733
4734 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4735
4736         * text2.C (setCursor): never ask for one past last
4737         (setCursor): add some debugging messages.
4738
4739         * text.C (singleWidth): never ask for one past last
4740         (singleWidth): ditto
4741         (leftMargin): ditto
4742         (rightMargin): ditto
4743         (rowBreakPoint): ditto
4744         (setHeightOfRow): ditto
4745         (prepareToPrint): ditto
4746
4747         * rowpainter.C (paintBackground): never ask for one past last
4748         (paintText): never ask for one past last
4749
4750         * paragraph_pimpl.C (getChar): make the assert stricter, never
4751         allow the one past last pos to be taken
4752
4753         * paragraph.C (getChar): ws changes only
4754
4755         * lyxrow.C (nextRowIsAllInset): never ask for one past last
4756         (numberOfSeparators): ditto
4757         (numberOfHfills): ditto
4758
4759 2003-03-12  John Levon  <levon@movementarian.org>
4760
4761         * author.h:
4762         * author.C:
4763         * bufferparams.h:
4764         * bufferparams.C:
4765         * paragraph_funcs.C: fix per-buffer authorlists
4766
4767 2003-03-12  John Levon  <levon@movementarian.org>
4768
4769         * text.C: fix newline in right address
4770
4771 2003-03-12  Angus Leeming  <leeming@lyx.org>
4772
4773         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
4774         duplicate those in LyXFunc::dispatch.
4775
4776         * commandtags.h:
4777         * LyXAction.C:
4778         * ToolbarDefaults.C:
4779         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
4780         Add LFUN_FONTFREE_UPDATE.
4781
4782         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
4783         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
4784
4785         * bufferview_func.[Ch]: several new functions to facilliate
4786         transfer of data to and from the character dialog.
4787
4788 2003-03-12  John Levon  <levon@movementarian.org>
4789
4790         * buffer.C:
4791         * paragraph.h:
4792         * paragraph.C:
4793         * paragraph_funcs.C:
4794         * paragraph_pimpl.C:
4795         * sgml.C:
4796         * tabular.C:
4797         * text.C:
4798         * text3.C: remove META_NEWLINE in favour of an inset
4799
4800         * rowpainter.h:
4801         * rowpainter.C: remove paintNewline (done by inset)
4802
4803 2003-03-12  John Levon  <levon@movementarian.org>
4804
4805         * paragraph_pimpl.C: complain about bad getChar()s
4806         for a while at least
4807
4808 2003-03-12  John Levon  <levon@movementarian.org>
4809
4810         * buffer.h:
4811         * buffer.C: move paragraph read into a separate function,
4812         a little renaming to reflect that.
4813
4814         * bufferparams.h:
4815         * bufferparams.C: remove the author_ids map, not necessary now
4816
4817         * factory.h:
4818         * factory.C: moved Buffer::readInset to here
4819
4820         * paragraph_funcs.h:
4821         * paragraph_funcs.C: readParagraph free function moved from
4822         buffer.C
4823
4824         * tabular.C: name change
4825
4826 2003-03-12  John Levon  <levon@movementarian.org>
4827
4828         * buffer.C:
4829         * ParagraphParameters.C: move par params input to
4830         a read() method
4831
4832         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
4833         behave like a normal read from the stream wrt reading
4834         a line vs. a \\token
4835
4836 2003-03-12  John Levon  <levon@movementarian.org>
4837
4838         * paragraph.C:
4839         * ParagraphParameters.h:
4840         * ParagraphParameters.C: move output code to a
4841         ::write() method
4842
4843 2003-03-12  John Levon  <levon@movementarian.org>
4844
4845         * BufferView.C (insertLyXFile):
4846         * buffer.h:
4847         * buffer.C:
4848         * tabular.C: use a parlist iterator for creating the
4849           document.
4850
4851 2003-03-12  John Levon  <levon@movementarian.org>
4852
4853         * buffer.C: make current_change static local not
4854           static file-scope
4855
4856 2003-03-12  John Levon  <levon@movementarian.org>
4857
4858         * buffer.C: fix insertStringAsLines for change tracking
4859
4860 2003-03-12  John Levon  <levon@movementarian.org>
4861
4862         * BufferView.C:
4863         * tabular.C:
4864         * buffer.h:
4865         * buffer.C:
4866         * bufferparams.h:
4867         * bufferparams.C: move author list into params. Rename some
4868           functions. Move the header reading into a separate token
4869           loop. Move the header token reading into BufferParams.
4870
4871 2003-03-12  John Levon  <levon@movementarian.org>
4872
4873         * changes.C: put debug inside lyxerr.debugging() checks
4874
4875 2003-03-11 André Pönitz <poenitz@gmx.net>
4876
4877         * factory.C: make it aware of InsetHFill
4878
4879 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4880
4881         * buffer.C (latexParagraphs): move function from here...
4882         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
4883         args.
4884
4885 2003-03-10  Angus Leeming  <leeming@lyx.org>
4886
4887         * LyXAction.C (init): fix bug in poplating array with multiple entries
4888         with the same LFUN (spotted by JMarc).
4889
4890 2003-03-10  John Levon  <levon@movementarian.org>
4891
4892         * text.C:
4893         * text2.C: move getColumnNearX() near its
4894         only call site
4895
4896 2003-03-10  John Levon  <levon@movementarian.org>
4897
4898         * text.C: fix break before a minipage
4899
4900 2003-03-10  John Levon  <levon@movementarian.org>
4901
4902         * text.C: fix the last commit
4903
4904 2003-03-09  John Levon  <levon@movementarian.org>
4905
4906         * lyxtext.h:
4907         * text.C:
4908         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
4909         bug 365 (don't break before insets unless needed). Don't
4910         return a value > last under any circumstances.
4911
4912 2003-03-09  Angus Leeming  <leeming@lyx.org>
4913
4914         * BufferView_pimpl.C (trackChanges, dispatch): call
4915         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
4916
4917 2003-03-09  Angus Leeming  <leeming@lyx.org>
4918
4919         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
4920         than Dialogs::showAboutlyx().
4921
4922 2003-03-09  Angus Leeming  <leeming@lyx.org>
4923
4924         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
4925         than Dialogs::showTabularCreate().
4926
4927 2003-03-09  John Levon  <levon@movementarian.org>
4928
4929         * lyxtext.h:
4930         * text.C:
4931         * text2.C: 3rd arg to nextBreakPoint was always the same.
4932           Use references.
4933
4934 2003-03-08  John Levon  <levon@movementarian.org>
4935
4936         * lyxrow.C:
4937         * paragraph.C:
4938         * paragraph.h:
4939         * rowpainter.C:
4940         * text.C:
4941         * text2.C: Remove the "main" bit from the "main body"
4942           notion.
4943
4944 2003-03-08  John Levon  <levon@movementarian.org>
4945
4946         * text.C (leftMargin): The left margin of an empty
4947         manual label paragraph should not include the label width
4948         string length.
4949
4950         * text.C (prepareToPrint): don't attempt to measure hfills
4951         for empty manual label paragraphs - the answer should be 0
4952
4953 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4954
4955         * CutAndPaste.C: remove commented code and reindent.
4956
4957 2003-03-08  John Levon  <levon@movementarian.org>
4958
4959         * lyxfunc.h:
4960         * lyxfunc.C: move reloadBuffer()
4961
4962         * BufferView.h:
4963         * BufferView.C: to here
4964
4965         * lyxvc.C: add comment
4966
4967         * vc-backend.h:
4968         * vc-backend.C: call bv->reload() to avoid
4969           getStatus() check on MENURELOAD
4970
4971 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
4972
4973         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
4974         to an old format .dep file.
4975
4976 2003-03-07  Angus Leeming  <leeming@lyx.org>
4977
4978         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
4979         when the LFUN_MOUSE_RELEASE should have been handled by
4980         inset->localDispatch.
4981
4982 2003-03-07  Angus Leeming  <leeming@lyx.org>
4983
4984         * BufferView_pimpl.C (dispatch):
4985         * LyXAction.C (init):
4986         * ToolbarDefaults.C (init):
4987         * commandtags.h:
4988         * lyxfunc.C (getStatus):
4989         remove LFUN_INSET_GRAPHICS.
4990
4991         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
4992
4993 2003-03-07  Angus Leeming  <leeming@lyx.org>
4994
4995         * commandtags.h:
4996         * LyXAction.C (init):
4997         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
4998
4999         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5000
5001         * commandtags.h:
5002         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5003
5004         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5005         localDispatch method LFUN_INSET_DIALOG_UPDATE.
5006
5007 2003-03-07  Angus Leeming  <leeming@lyx.org>
5008
5009         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5010         remove "ert".
5011
5012 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5013
5014         * ParagraphList.C (front): new function
5015         (back): implement
5016
5017 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
5018
5019         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5020         and top_row_offset_. removed var first_y.
5021         * text.C (top_y):
5022         * text2.C (LyXText, removeRow):
5023         * text3.C:
5024         * BufferView_pimpl.C:
5025         use these methods instead of using first_y
5026
5027 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5028
5029         * text2.C (pasteSelection): adjust for checkPastePossible
5030
5031         * CutAndPaste.C: remove Paragraph * buf and replace with
5032         ParagraphList paragraphs.
5033         (DeleteBuffer): delete
5034         (cutSelection): change the tc type to textclass_type
5035         (copySelection): change the tc type to textclass_type
5036         (copySelection): adjust for ParagraphList
5037         (pasteSelection): change the tc type to textclass_type
5038         (pasteSelection): adjust for Paragraphlist
5039         (nrOfParagraphs): simplify for ParagraphList
5040         (checkPastePossible): simplify for ParagraphList
5041         (checkPastePossible): remove unused arg
5042
5043         * ParagraphList.C (insert): handle the case where there are no
5044         paragraphs yet.
5045
5046         * CutAndPaste.h: make CutAndPaste a namespace.
5047
5048         * text3.C (dispatch): adjust
5049
5050         * text.C (breakParagraph): add a ParagraphList as arg
5051
5052         * paragraph_funcs.C (breakParagraph): change to take a
5053         BufferParams and a ParagraphList as args.
5054         (breakParagraphConservative): ditto
5055         (mergeParagraph): ditto
5056         (TeXDeeper): add a ParagraphList arg
5057         (TeXEnvironment): ditto
5058         (TeXOnePar): ditto
5059
5060         * buffer.C (readLyXformat2): adjust
5061         (insertStringAsLines): adjust
5062         (latexParagraphs): adjust
5063
5064         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5065         (cutSelection): adjust
5066         (pasteSelection): adjust
5067
5068         * BufferView_pimpl.C (insertInset): adjust
5069
5070 2003-03-05  Angus Leeming  <leeming@lyx.org>
5071
5072         * commandtags.h:
5073         * LyXAction.C (init):
5074         * BufferView_pimpl.C (dispatch):
5075         * lyxfunc.C (getStatus):
5076         remove LFUN_CHILD_INSERT.
5077
5078         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5079
5080 2003-03-05  Angus Leeming  <leeming@lyx.org>
5081
5082         * commandtags.h:
5083         * LyXAction.C (init):
5084         * src/factory.C (createInset):
5085         * lyxfunc.C (getStatus):
5086         * text3.C (dispatch):
5087         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5088
5089         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5090
5091 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
5092
5093         * ParagraphList.C (insert): handle insert right before end()
5094         (erase): fix cases where it can be first or last paragraph.
5095
5096 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5097
5098         * paragraph_funcs.C (TeXEnvironment): remove all usage of
5099         Paragraph::next and Paragraph::previous
5100         (TeXOnePar): ditto
5101
5102         * text.C (breakParagraph): adjust
5103
5104         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5105         BufferParams& as arg.
5106         (breakParagraph): use ParagraphList::insert
5107         (breakParagraphConservative): take a Buffer* instead of a
5108         BufferParams& as arg.
5109         (breakParagraphConservative): use ParagraphList::insert.
5110
5111         * buffer.C (insertStringAsLines): un-const it
5112         (insertStringAsLines): adjust
5113
5114         * ParagraphList.C (insert): new function
5115
5116         * CutAndPaste.C (pasteSelection): adjust
5117
5118         * text.C (backspace): adjust
5119
5120         * tabular.C (SetMultiColumn): adjust
5121
5122         * CutAndPaste.C (cutSelection): adjust
5123         (pasteSelection): adjust
5124
5125         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5126         Buffer const * as arg
5127
5128         * ParagraphList.C (erase): new function
5129         * paragraph_funcs.C (mergeParagraph): use it
5130         (mergeParagraph): make it take a Buffer* instead of a
5131         BufferParams* as arg
5132
5133         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5134         as arg
5135         (breakParagraphConservative): ditto
5136
5137         * paragraph.h: remove the breakParagraph friend
5138
5139         * paragraph.C (eraseIntern): new function
5140         (setChange): new function
5141
5142         * paragraph_funcs.C (mergeParagraph): make it take a
5143         ParagraphList::iterator instead of a Paragraph *, adjust
5144         accordingly.
5145
5146         * paragraph.h: move an #endif so that the change tracking stuff
5147         also works in the NO_NEXT case.
5148
5149 2003-03-04  Angus Leeming  <leeming@lyx.org>
5150
5151         * commandtags.h:
5152         * LyXAction.C: new LFUN_INSET_MODIFY.
5153
5154         * BufferView_pimpl.C (dispatch): if an inset is found to be open
5155         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5156
5157 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5158
5159         * several files: ws changes only
5160
5161         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5162         (TeXEnvironment): ditto
5163         (TeXDeeper): ditto
5164
5165         * buffer.C (makeLaTeXFile): adjust
5166         (latexParagraphs): make it take ParagraphList::iterator as args
5167
5168 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5169
5170         * buffer.C (latexParagraphs): adjust
5171
5172         * paragraph.C (TeXOnePar): move function...
5173         (optArgInset): move function...
5174         (TeXEnvironment): move function...
5175         * paragraph_pimpl.C (TeXDeeper): move function...
5176         * paragraph_funcs.C: ...here
5177
5178         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5179
5180 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5181
5182         * buffer.C (readInset): remove compability code for old Figure and
5183         InsetInfo insets
5184
5185 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5186
5187         * buffer.C: ws changes
5188         (readInset):
5189
5190         * BufferView_pimpl.C: ditto
5191         * author.C: ditto
5192         * buffer.h: ditto
5193         * bufferlist.h: ditto
5194         * changes.h: ditto
5195         * lyxfunc.C: ditto
5196
5197 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
5198
5199         * converter.[Ch]: split into itself +
5200         * graph.[Ch]
5201         * format.[Ch]
5202         * Makefile.am: += graph.[Ch] + format.[Ch]
5203         * MenuBackend.C
5204         * buffer.C
5205         * exporter.C
5206         * importer.C
5207         * lyx_main.C
5208         * lyxfunc.C
5209         * lyxrc.C: added #include "format.h"
5210
5211 2003-02-27  Angus Leeming  <leeming@lyx.org>
5212
5213         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
5214           a label.
5215
5216         * factory.C (createInset): add "label" to the factory.
5217
5218         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
5219           string and do no more.
5220
5221 2003-02-27  Angus Leeming  <leeming@lyx.org>
5222
5223         * commandtags.h:
5224         * LyXAction.C (init):
5225         * factory.C (createInset):
5226         * BufferView_pimpl.C (dispatch):
5227           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5228
5229         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5230
5231         * lyxfunc.C (dispatch):
5232         * text3.C (dispatch): pass name to params2string.
5233
5234 2003-02-26  Angus Leeming  <leeming@lyx.org>
5235
5236         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
5237           blocks together.
5238           Rearrange the ~includes. Strip out the unnecessary ones.
5239
5240         * factory.C (createInset): reformat.
5241           create new insets for the various LFUN_XYZ_APPLY lfuns.
5242
5243 2003-02-26  John Levon  <levon@movementarian.org>
5244
5245         * lyxrow.h:
5246         * lyxrow.C: add isParStart,isParEnd helpers
5247
5248         * paragraph.h: make isInserted/DeletedText take refs
5249
5250         * paragraph_funcs.h:
5251         * paragraph_funcs.C: remove #if 0'd code
5252
5253         * lyxtext.h:
5254         * text3.C:
5255         * text2.C:
5256         * text.C: use lyxrow helpers above.
5257           Move draw and paint routines to RowPainter.
5258           Make several methods use refs not pointers.
5259           Make backgroundColor() const.
5260           Add markChangeInDraw(), isInInset().
5261           Merge changeRegionCase into changeCase.
5262           Make workWidth() shouldn't-happen code into an Assert.
5263
5264         * rowpainter.h:
5265         * rowpainter.C: new class for painting a row.
5266
5267         * vspace.h:
5268         * vspace.C: make inPixels take a ref
5269
5270 2003-02-26  Angus Leeming  <leeming@lyx.org>
5271
5272         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
5273         LFUN_REF_APPLY.
5274
5275 2003-02-25  John Levon  <levon@movementarian.org>
5276
5277         * ispell.C: give the forked command a more accurate name
5278
5279 2003-02-22  John Levon  <levon@movementarian.org>
5280
5281         * toc.h:
5282         * toc.C: make TocItem store an id not a Paragraph *
5283           (bug #913)
5284
5285 2003-02-21  Angus Leeming  <leeming@lyx.org>
5286
5287         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
5288           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
5289           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
5290           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
5291           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
5292           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
5293
5294         * BufferView_pimpl.C (dispatch):
5295         * LyXAction.C (init):
5296         * factory.C (createInset):
5297         * lyxfunc.C (getStatus, dispatch):
5298         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
5299
5300 2003-02-21  Angus Leeming  <leeming@lyx.org>
5301
5302         * BufferView_pimpl.C (MenuInsertLyXFile):
5303         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
5304         * lyxfunc.C (menuNew, open, doImport):
5305           no longer pass a LyXView & to fileDlg.
5306
5307 2003-02-21  Angus Leeming  <leeming@lyx.org>
5308
5309         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
5310         * LyXAction.C: change, BIBKEY to BIBITEM.
5311         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
5312         Change InsetBibKey to InsetBibitem.
5313         Change BIBKEY_CODE to BIBITEM_CODE.
5314         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5315         * factory.C: replace insetbib.h with insetbibitem.h.
5316         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5317         * paragraph.C: replace insetbib.h with insetbibitem.h.
5318         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5319         Change bibkey() to bibitem().
5320         * text.C: remove insetbib.h.
5321         * text2.C: replace insetbib.h with insetbibitem.h.
5322         change bibkey() to bibitem().
5323         * text3.C: remove insetbib.h.
5324         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5325
5326 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5327
5328         * lyxrc.C (output): enclose user email in quotes (in case there are
5329         several words)
5330
5331 2003-02-18  John Levon  <levon@movementarian.org>
5332
5333         * buffer.h: add std::
5334
5335 2003-02-17  John Levon  <levon@movementarian.org>
5336
5337         * SpellBase.h:
5338         * ispell.h:
5339         * ispell.C:
5340         * pspell.h:
5341         * pspell.C: reworking. Especially in ispell, a large
5342           number of clean ups and bug fixes.
5343
5344         * lyxfunc.C: fix revert to behave sensibly
5345
5346 2003-02-17 André Pönitz <poenitz@gmx.net>
5347
5348         * LyXAction.C:
5349         * commandtags.h: new LFUN_INSERT_BIBKEY
5350
5351         * layout.h:
5352         * lyxlayout.C:
5353         * buffer.C:
5354         * factory.C:
5355         * text.C:
5356         * text2.C:
5357         * text3.C:
5358         * paragraph.[Ch]:
5359         * paragraph_func.C: remove special bibkey handling
5360
5361 2003-02-17  John Levon  <levon@movementarian.org>
5362
5363         * text.C (Delete): fix case where delete at the end of
5364           the very first paragraph would not merge the pars
5365
5366 2003-02-17  John Levon  <levon@movementarian.org>
5367
5368         * lyxrow.C: fix lastPrintablePos()
5369
5370 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5371
5372         * bufferparams.C (writeLaTeX): add a std:here
5373
5374         * buffer.C: and remove a using directive there
5375
5376 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5377
5378         * buffer.C (makeLaTeXFile): move the code that generates the
5379           preamble...
5380
5381         * bufferparams.C (writeLaTeX): ... in this new method
5382
5383         * LaTeXFeatures.C (getEncodingSet): make const
5384           (getLanguages): make const
5385
5386         * MenuBackend.C (binding): returns the binding associated to this
5387           action
5388           (add): sets the status of each item by calling getStatus. Adds
5389           some intelligence.
5390           (read): add support for OptSubMenu
5391           (expand): remove extra separator at the end of expanded menu
5392
5393 2003-02-15  John Levon  <levon@movementarian.org>
5394
5395         * BufferView.C:
5396         * BufferView_pimpl.C:
5397         * bufferlist.h:
5398         * bufferlist.C: remove pointless BufferStorage bloat. Remove
5399           inset code that had no actual effect. Remove unneeded status
5400           code.
5401
5402 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5403
5404         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5405           in preamble
5406
5407 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
5408
5409         * text.C (drawLengthMarker): also draw an arrow marker for
5410           symbolic lengths (medskip...)
5411
5412 2003-02-14  John Levon  <levon@movementarian.org>
5413
5414         * tabular.h:
5415         * tabular.C: better method names
5416
5417 2003-02-14  John Levon  <levon@movementarian.org>
5418
5419         * BufferView_pimpl.C:
5420         * bufferlist.C:
5421         * buffer.C:
5422         * converter.C:
5423         * lyx_cb.C:
5424         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5425           it's a more accurate name. Remove some pointless uses.
5426
5427 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5428
5429         * text2.C (LyXText): change order of initilizers to shut off
5430           warnings
5431
5432 2003-02-14  John Levon  <levon@movementarian.org>
5433
5434         * buffer.C: use ParIterator for getParFromID()
5435
5436         * paragraph.h:
5437         * paragraph.C:
5438         * paragraph_pimpl.h:
5439         * paragraph_pimpl.C: remove unused getParFromID()
5440
5441 2003-02-14  John Levon  <levon@movementarian.org>
5442
5443         * buffer.C: remove some very old #if 0'd parse code
5444
5445 2003-02-13  John Levon  <levon@movementarian.org>
5446
5447         * text.h:
5448         * text.C:
5449         * text2.C: move hfillExpansion(), numberOfSeparators(),
5450           rowLast(), rowLastPrintable(), numberofHfills(),
5451           numberOfLabelHfills() ...
5452
5453         * lyxrow.h:
5454         * lyxrow.C: ... to member functions here.
5455
5456         * paragraph.h:
5457         * paragraph.C:
5458         * lyxtext.h:
5459         * text.C: remove LyXText::beginningOfMainBody(), and call
5460           p->beginningOfMainBody() directly. Move the check for
5461           LABEL_MANUAL into the latter.
5462
5463         * text.h:
5464         * text.C:
5465         * text2.C:
5466         * vspace.C:
5467         * BufferView.h:
5468         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5469
5470         * text.h:
5471         * text.C:
5472         * text2.C:
5473         * text3.C:
5474         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5475           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5476
5477 2003-02-13  John Levon  <levon@movementarian.org>
5478
5479         * CutAndPaste.C: remove debug
5480
5481 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5482
5483         * paragraph.C (asString): remove two unused variables
5484
5485         * lyxtextclass.C (readTitleType):
5486           (Read):
5487           (LyXTextClass): handle new members titletype_ and titlename_
5488
5489         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
5490
5491 2003-02-09  John Levon  <levon@movementarian.org>
5492
5493         * buffer.h:
5494         * buffer.C: replace hand-coded list with a map for the dep clean
5495
5496 2003-02-08  John Levon  <levon@movementarian.org>
5497
5498         * LaTeX.C: consolidate code into showRunMessage() helper
5499
5500 2003-02-08  John Levon  <levon@movementarian.org>
5501
5502         * lyxfind.C:
5503         * lyxtext.h:
5504         * text2.C:
5505         * BufferView.C: change setSelectionOverString() to setSelectionRange()
5506           and pass the size in explicitly
5507
5508         * BufferView_pimpl.h:
5509         * BufferView_pimpl.C:
5510         * BufferView.h:
5511         * BufferView.C: add getCurrentChange()
5512
5513         * BufferView_pimpl.h:
5514         * BufferView_pimpl.C: handle change lfuns
5515
5516         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
5517           for changes. Mark pasted paragraphs as new.
5518
5519         * support/lyxtime.h:
5520         * support/lyxtime.C:
5521         * DepTable.C: abstract time_t as lyx::time_type
5522
5523         * LColor.h:
5524         * LColor.C: add colours for new text, deleted text, changebars
5525
5526         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
5527           package use "usenames" option.
5528
5529         * commandtags.h:
5530         * lyxfunc.C:
5531         * LyXAction.C: add change lfuns
5532
5533         * Makefile.am:
5534         * author.h:
5535         * author.C: author handling
5536
5537         * buffer.h:
5538         * buffer.C: add a per-buffer author list, with first entry as
5539           current author. Handle new .lyx tokens for change tracking. Output
5540           author list to .lyx file. Output dvipost stuff to .tex preamble.
5541           Bump lyx format to 222.
5542
5543         * bufferlist.h:
5544         * bufferlist.C: add setCurrentAuthor() to reset current author details
5545           in all buffers.
5546
5547         * bufferparams.h:
5548         * bufferparams.C: add param for tracking
5549
5550         * bufferview_funcs.C: output change info in minibuffer
5551
5552         * Makefile.am:
5553         * changes.h:
5554         * changes.C: add change-tracking structure
5555
5556         * debug.h:
5557         * debug.C: add CHANGES debug flag
5558
5559         * lyxfind.h:
5560         * lyxfind.C: add code for finding the next change piece
5561
5562         * lyxrc.h:
5563         * lyxrc.C: add user_name and user_email
5564
5565         * lyxrow.h:
5566         * lyxrow.C: add a metric for the top of the text line
5567
5568         * lyxtext.h:
5569         * text.C: implement accept/rejectChange()
5570
5571         * lyxtext.h:
5572         * text.C: paint changebars. Paint new/deleted text in the chosen
5573         colours. Strike through deleted text.
5574
5575         * paragraph.h:
5576         * paragraph.C:
5577         * paragraph_pimpl.h:
5578         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
5579           in the current change to the insert functions. Rework erase to
5580           mark text as deleted, adding an eraseIntern() and a range-based
5581           erase(). Implement per-paragraph change lookup and
5582           accept/reject.
5583
5584         * paragraph_funcs.C: Fixup paste for change tracking.
5585
5586         * tabular.C: mark added row/columns as new.
5587
5588         * text.C: fix rowLast() to never return -1. Don't allow
5589           spellchecking of deleted text. Track transpose changes. Don't
5590           allow paragraph break or merge where appropriate.
5591
5592         * text2.C: leave cursor at end of selection after a cut.
5593
5594 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5595
5596         * text.C (getLengthMarkerHeight):
5597         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
5598         visible on screen too.
5599
5600 2003-02-07  John Levon  <levon@movementarian.org>
5601
5602         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
5603
5604 2003-02-05  Angus Leeming  <leeming@lyx.org>
5605
5606         * lyxserver.C (read_ready): revert my patch of 11 September last year
5607         as it sends PC cpu through the roof. Presumably this means that
5608         the lyxserver will no longer run on an Alpha...
5609
5610 2003-01-30  Angus Leeming  <leeming@lyx.org>
5611
5612         * factory.C (createInset): create an InsetCommandParam of type "index"
5613         and use it to 'do the right thing'.
5614
5615         * text2.C (getStringToIndex): ensure that cursor position is always
5616         reset to the reset_cursor position.
5617
5618 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5619
5620         * lyxfunc.C (getStatus): "buffer-export custom" should never be
5621         disabled.
5622
5623 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
5624
5625         * bufferview.C:
5626         * lyxcb.C:
5627         * lyxfunc.C: Output messages with identical spelling, punctuation,
5628         and spaces
5629
5630 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
5631
5632         * MenuBackend.C (expandFormats): List only viewable export formats
5633         in "View" menu
5634
5635         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
5636         message
5637
5638         * lyxfunc.C (getStatus): Make sure that formats other than
5639         "fax" can also be disabled
5640
5641 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5642
5643         * text3.C (dispatch): put the lfuns that insert insets in 3
5644         groups, and call doInsertInset with appropriate arguments.
5645         (doInsertInset): new function, that creates an inset and inserts
5646         it according to some boolean parameters.
5647
5648 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5649
5650         * buffer.C (readFile): remember to pass on 'par' when calling
5651         readFile recursively.
5652
5653 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5654
5655         * MenuBackend.C (expandFormats): add "..." to import formats.
5656
5657 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
5658
5659         * paragraph.C (asString): Remove XForms RTL hacks.
5660
5661 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
5662         * buffer.C: fix typo
5663
5664 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
5665
5666         * Makefile.am (LIBS): delete var
5667         (lyx_LDADD): add @LIBS@ here instead.
5668
5669 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
5670
5671         * Clarify the meaning of "wheel mouse jump"
5672
5673 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5674
5675         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
5676         tabular in a float
5677
5678 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5679
5680         * importer.C (Loaders): do not preallocate 3 elements in the
5681         vector, since one ends up with 6 elements otherwise
5682
5683 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5684
5685         * DepTable.C (write): write the file name as last element of the
5686         .dep file (because it may contain spaces)
5687         (read): read info in the right order
5688
5689 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5690
5691         * paragraph_pimpl.C (simpleTeXBlanks):
5692         (simpleTeXSpecialChars):
5693         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
5694
5695         * tabular.C (latex): add some missing case statements. Reindent.
5696
5697         * MenuBackend.C (expandToc): remove unused variable.
5698
5699 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
5700
5701         * LColor.C:
5702         * LaTeX.C:
5703         * LyXAction.C:
5704         * MenuBackend.C:
5705         * buffer.C:
5706         * exporter.C:
5707         * lyxfunc.C:
5708         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
5709         and the like.
5710
5711 2003-01-05  John Levon  <levon@movementarian.org>
5712
5713         * BufferView.h:
5714         * BufferView.C: add getEncoding()
5715
5716         * kbsequence.h:
5717         * kbsequence.C: do not store last keypress
5718
5719         * lyxfunc.h:
5720         * lyxfunc.C: store last keypress here instead. Pass encoding
5721           to getISOEncoded()
5722
5723 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5724
5725         * lyx_main.C (init): remove annoying error message when following
5726         symbolic links (bug #780)
5727
5728 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5729
5730         * text.C (insertChar):
5731         * lyxrc.C (getDescription): remove extra spaces
5732
5733 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5734
5735         * lyxrc.C (getDescription): remove extra spaces
5736
5737 2002-12-20  John Levon  <levon@movementarian.org>
5738
5739         * text3.C: hack fix for page up/down across tall rows
5740
5741 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5742
5743         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
5744         not been invoked
5745
5746 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5747
5748         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
5749         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
5750         thesaurus is not compiled in
5751
5752 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
5753
5754         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
5755
5756 2002-12-16  Angus Leeming  <leeming@lyx.org>
5757
5758         * lyxrc.[Ch]:
5759         * lyx_main.C (init): remove override_x_deadkeys stuff.
5760
5761 2002-12-12  John Levon  <levon@movementarian.org>
5762
5763         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
5764           insert. Only remove shift modifier under strict
5765           circumstances.
5766
5767 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5768
5769         * MenuBackend.C (expandToc): fix crash.
5770
5771 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5772
5773         * MenuBackend.C (expandToc): gettext on float names.
5774
5775 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5776
5777         * lyxlength.[Ch]: set default unit to UNIT_NONE,
5778         implement bool empty() [bug 490]
5779
5780 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5781
5782         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
5783
5784 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5785
5786         * several files: ws changes
5787
5788 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5789
5790         * text2.C (setCounter): clean up a bit, use boost.format.
5791         (updateCounters): initialize par upon declaration.
5792
5793         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
5794         if the layout exists. We do not just store the layout any more.
5795         (SwitchLayoutsBetweenClasses): use boost.format
5796
5797 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5798
5799         * converter.C (convert): if from and to files are the same, use a
5800         temporary files as intermediary
5801
5802 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5803
5804         * commandtags.h:
5805         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
5806
5807 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
5808
5809         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
5810
5811 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5812
5813         * tabular.C (asciiPrintCell): use string(size, char) instead of
5814         explicit loop.
5815
5816         * sgml.C (openTag): fix order of arguments to string constructor
5817         (closeTag): ditto
5818
5819         * lyxfunc.C (dispatch): use boost.format
5820
5821         * lots of files: change "c" -> 'c'
5822
5823 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
5824
5825         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
5826
5827 2002-11-25  Angus Leeming  <leeming@lyx.org>
5828
5829         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
5830
5831         * lyx_main.C (init): compile fix.
5832
5833 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5834
5835         * lyx_cb.C (start): boost.formatify
5836         do not include <iostream>
5837
5838         * lengthcommon.C: ws only
5839
5840         * boost-inst.C,BoostFormat.h: add more explict instantations
5841
5842 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5843
5844         * lots of files: handle USE_BOOST_FORMAT
5845
5846 2002-11-21  John Levon  <levon@movementarian.org>
5847
5848         * pspell.C: fix compile
5849
5850 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5851
5852         * lyxfunc.C (dispatch): use boost::format
5853         (open): ditto
5854         (doImport): ditto
5855
5856         * lyxfont.C (stateText): use boost::format
5857
5858         * lyx_main.C (LyX): use boost::format
5859         (init): ditto
5860         (queryUserLyXDir): ditto
5861         (readRcFile): ditto
5862         (parse_dbg): ditto
5863         (typedef boost::function): use the recommened syntax.
5864
5865         * importer.C (Import): use boost::format
5866
5867         * debug.C (showLevel): use boost::format
5868
5869         * converter.C (view): use boost::format
5870         (convert): ditto
5871         (move): ditto
5872         (scanLog): ditto
5873
5874         * bufferview_funcs.C (currentState): use boost::format
5875
5876         * bufferlist.C (emergencyWrite): use boost::format
5877
5878         * buffer.C (readLyXformat2): use boost::format
5879         (parseSingleLyXformat2Token): ditto
5880
5881         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
5882
5883         * LaTeX.C (run): use boost::format
5884
5885         * Chktex.C (scanLogFile): use boost::format
5886
5887         * BufferView_pimpl.C (savePosition): use boost::format
5888         (restorePosition): ditto
5889         (MenuInsertLyXFile): ditto
5890
5891         * BoostFormat.h: help file for explicit instation.
5892
5893 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
5894
5895         * tabular.C (latex): Support for block alignment in fixed width
5896         columns.
5897
5898 2002-11-17  John Levon  <levon@movementarian.org>
5899
5900         * BufferView_pimpl.C:
5901         * lyx_cb.C:
5902         * lyxfunc.C: split filedialog into open/save
5903
5904 2002-11-08  Juergen Vigna  <jug@sad.it>
5905
5906         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
5907         by my last patch (hopefully).
5908
5909 2002-11-08  John Levon  <levon@movementarian.org>
5910
5911         * iterators.h:
5912         * iterators.C:
5913         * buffer.h:
5914         * buffer.C:
5915         * paragraph.h:
5916         * paragraph.C:
5917         * toc.h:
5918         * toc.C: ParConstIterator, and use it (from Lars)
5919
5920 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
5921
5922         * lyxtextclass.[Ch]: revise and add doxygen comments
5923
5924 2002-11-07  John Levon  <levon@movementarian.org>
5925
5926         * text.C: fix progress value for spellchecker
5927
5928         * toc.C: fix navigate menu for insetwrap inside minipage
5929
5930         * paragraph_funcs.C: added FIXME for suspect code
5931
5932 2002-11-07  John Levon  <levon@movementarian.org>
5933
5934         * BufferView_pimpl.C: fix redrawing of insets
5935           on buffer switch
5936
5937 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5938
5939         * text2.C (updateCounters): fix bug 668
5940
5941 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
5942
5943         * text3.C (dispatch): Do not make the buffer dirty when moving the
5944         cursor.
5945
5946 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5947
5948         * vc-backend.C: STRCONV
5949         (scanMaster): ditto
5950
5951         * text2.C (setCounter): STRCONV
5952
5953         * paragraph.C (asString): STRCONV
5954
5955         * lyxlength.C (asString): STRCONV
5956         (asLatexString): ditto
5957
5958         * lyxgluelength.C (asString): STRCONV
5959         (asLatexString): ditto
5960
5961         * lyxfunc.C (dispatch): STRCONV
5962         (open): ditto
5963
5964         * lyxfont.C (stateText): STRCONV
5965
5966         * importer.C (Import): STRCONV
5967
5968         * counters.C (labelItem): STRCONV
5969         (numberLabel): ditto
5970         (numberLabel): remove unused ostringstream o
5971
5972         * chset.C: STRCONV
5973         (loadFile): ditto
5974
5975         * bufferview_funcs.C (currentState): STRCONV
5976
5977         * buffer.C (readFile): STRCONV
5978         (asciiParagraph): ditto
5979         (makeLaTeXFile): ditto
5980
5981         * Spacing.C (writeEnvirBegin): STRCONV
5982
5983         * LaTeXFeatures.C (getLanguages): STRCONV
5984         (getPackages): ditto
5985         (getMacros): ditto
5986         (getBabelOptions): ditto
5987         (getTClassPreamble): ditto
5988         (getLyXSGMLEntities): ditto
5989         (getIncludedFiles): ditto
5990
5991         * LaTeX.C: STRCONV
5992         (run): ditto
5993         (scanAuxFile): ditto
5994         (deplog): ditto
5995
5996         * LString.h: add the STRCONV macros
5997
5998         * BufferView_pimpl.C (savePosition): STRCONV
5999         (restorePosition): ditto
6000         (MenuInsertLyXFile): ditto
6001
6002         * vc-backend.C (scanMaster): change from submatch[...] to
6003         submatch.str(...)
6004
6005         * funcrequest.C: include config.h
6006
6007         * factory.C: include config.h
6008
6009         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6010
6011         * box.C: include config.h
6012
6013         * LaTeX.C (scanAuxFile): change from submatch[...] to
6014         submatch.str(...)
6015         (deplog): ditto
6016
6017 2002-10-25  Angus Leeming  <leeming@lyx.org>
6018
6019         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6020
6021         * ispell.[Ch] (setError): new method.
6022         * ispell.C (c-tor): move out child process into new class LaunchIspell.
6023         Use setError() insetead of goto END.
6024
6025         * lyx_cb.C (AutoSave): move out child process into new class
6026         AutoSaveBuffer.
6027
6028 2002-10-30  John Levon  <levon@movementarian.org>
6029
6030         * text3.C: make start appendix undoable
6031
6032 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
6033
6034         * lyxlength.C (inPixels): Fix returned value.
6035
6036         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6037         environment.
6038
6039 2002-10-24  Angus Leeming  <leeming@lyx.org>
6040
6041         * lyxgluelength.h: no need to forward declare BufferParams
6042         or BufferView, so don't.
6043
6044 2002-10-21  John Levon  <levon@movementarian.org>
6045
6046         * BufferView.C: menuUndo ->undo, redo
6047
6048         * BufferView.h: document, remove dead, make some methods private
6049
6050         * paragraph_funcs.h:
6051         * paragraph_funcs.C:
6052         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6053
6054         * buffer.h:
6055         * buffer.C:
6056         * sgml.h:
6057         * sgml.C: move sgml open/close tag into sgml.C
6058
6059         * bufferview_funcs.h: unused prototype
6060
6061         * lyxfunc.h:
6062         * lyxfunc.C: remove unused
6063
6064         * lyxtext.h:
6065         * text.C: remove unused
6066
6067 2002-10-21  John Levon  <levon@movementarian.org>
6068
6069         * BufferView.h:
6070         * BufferView.C:
6071         * BufferView_pimpl.h:
6072         * BufferView_pimpl.C: fix mouse wheel handling based on
6073           patch from Darren Freeman
6074
6075 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
6076
6077         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6078
6079 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
6080
6081         * lyxlength.C (inPixels): Fix hanfling of negative length.
6082         Fix LyXLength::MU case.
6083
6084 2002-10-16  John Levon  <levon@movementarian.org>
6085
6086         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6087
6088 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6089
6090         * converter.C (view): add support for $$i (file name) and $$p
6091         (file path) for the viewer command. If $$i is not specified, then
6092         it is appended to the command (for compatibility with old syntax)
6093
6094 2002-10-14  Juergen Vigna  <jug@sad.it>
6095
6096         * undo_funcs.C (textHandleUndo): alter the order in which the
6097         new undopar is added to the LyXText, as we have to set first
6098         the right prev/next and then add it as otherwise the rebuild of
6099         LyXText is not correct. Also reset the cursor to the right paragraph,
6100         with this IMO we could remove the hack in "redoParagraphs()".
6101
6102 2002-10-09  Angus Leeming  <leeming@lyx.org>
6103
6104         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6105         to turn off an optimisation if a new inset is to be inserted.
6106
6107 2002-10-11 André Pönitz <poenitz@gmx.net>
6108
6109         * lyxtext.h: make some functions public to allow access
6110         from inset/lyxtext for handling LFUN_PRIOR/NEXT
6111
6112 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6113
6114         * text3.C (dispatch): when changing layout, avoid an infinite loop
6115         [bug #652]
6116
6117 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6118
6119         * lyxrc.C (read): treat a viewer or converter command of "none" as
6120         if it were empty.
6121
6122         * MenuBackend.C (expandFormats): for an update, also allow the
6123         formats that are not viewable
6124
6125         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6126         script if it is newer than the lyxrc.defaults in user directory
6127
6128 2002-10-07 André Pönitz <poenitz@gmx.net>
6129
6130         * text.C: Vitaly Lipatov's small i18n fix
6131
6132 2002-09-25  Angus Leeming  <leeming@lyx.org>
6133
6134         * ispell.h: doxygen fix.
6135
6136 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
6137
6138         * buffer.h (readFile): Add a new argument to the method, to allow
6139         reading of old-format templates.
6140
6141 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
6142
6143         * toc.C (getTocList): Get TOC from InsetWrap.
6144
6145 2002-09-16  John Levon  <levon@movementarian.org>
6146
6147         * lyxfunc.C: check tabular for cut/copy too
6148
6149 2002-09-12  John Levon  <levon@movementarian.org>
6150
6151         * LyXAction.C: tidy
6152
6153         * factory.h:
6154         * factory.C: add header
6155
6156         * paragraph_funcs.h:
6157         * paragraph_funcs.C: cleanup
6158
6159 2002-09-11  John Levon  <levon@movementarian.org>
6160
6161         * PrinterParams.h: odd/even default to true
6162
6163 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
6164
6165         * PrinterParams.h: update printer parameters for new xforms dialog
6166
6167 2002-09-11  Angus Leeming  <leeming@lyx.org>
6168
6169         * lyxserver.C (read_ready): re-write to make it more transparent
6170         and to make it work in coherent fashion under Tru64 Unix.
6171
6172 2002-09-11  André Pönitz <poenitz@gmx.net>
6173
6174         * commandtags.h:
6175         * LyXAction.C:
6176         * text3.C: implement LFUN_WORDSEL
6177
6178 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6179
6180         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6181         make floatlist_ a boost::shared_ptr<FloatList>
6182
6183         * lyxtextclass.C: include FloatList.h
6184         (LyXTextClass): initialize floatlist_
6185         (TextClassTags): add TC_NOFLOAT
6186         (Read): match "nofloat" to TC_NOFLOAT and use it.
6187         (readFloat): modify call to floatlist_
6188         (floats): ditto
6189         (floats): ditto
6190
6191         * FloatList.[Ch] (FloatList): remove commented out float
6192         initialization.
6193         (erase): new function
6194
6195 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6196
6197         * MenuBackend.C (expandToc): fix crash when there is no document
6198         open
6199
6200 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
6201
6202         * many files: Add insetwrap.
6203
6204 2002-09-09  John Levon  <levon@movementarian.org>
6205
6206         * text2.C: remove confusing and awkward depth wraparound
6207
6208 2002-09-09  John Levon  <levon@movementarian.org>
6209
6210         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6211
6212         * buffer.h:
6213         * buffer.C: remove getIncludeonlyList()
6214
6215         * paragraph.C:
6216         * lyxfunc.C: remove headers
6217
6218 2002-09-09  Juergen Vigna  <jug@sad.it>
6219
6220         * text.C (getColumnNearX): fix form Michael this is most
6221         probably a cut&paste bug.
6222
6223 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6224
6225         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
6226
6227         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6228         references, ws changes.
6229
6230         * text2.C (init): update counters after init
6231         (insertParagraph): no need to set counter on idividual paragraphs.
6232         (setCounter): access the counters object in the textclass object
6233         on in the buffer object.
6234         (updateCounters): ditto
6235
6236         * lyxtextclass.C: include counters.h, add variable ctrs_ as
6237         shared_ptr<Counters> to avoid loading counters.h in all
6238         compilation units.
6239         (LyXTextClass): initialize ctrs_
6240         (TextClassTags): add TC_COUNTER, and ...
6241         (Read): use it here.
6242         (CounterTags): new tags
6243         (readCounter): new function
6244         (counters): new funtion
6245         (defaultLayoutName): return a const reference
6246
6247         * counters.C (Counters): remove contructor
6248         (newCounter): remove a couple of unneeded statements.
6249         (newCounter): simplify a bit.
6250         (numberLabel): some small formatting changes.
6251
6252         * buffer.[Ch]: remove all traces of counters, move the Counters
6253         object to the LyXTextClass.
6254
6255 2002-09-06  Alain Castera  <castera@in2p3.fr>
6256
6257         * tabular.C: uses \tabularnewline; uses >{...} construct from array
6258         package to set the horizontal alignment on fixed width columns.
6259
6260         * lyx_sty.C:
6261         * lyx_sty.h: added tabularnewline macro def.
6262
6263         * LaTeXFeatures.C: added NeedTabularnewline macro feature
6264
6265 2002-09-06  John Levon  <levon@movementarian.org>
6266
6267         * LyXAction.C: tooltips for sub/superscript
6268
6269         * MenuBackend.C: a bit more verbose
6270
6271         * lyxfunc.C: tiny clean
6272
6273         * undo_funcs.C: document undo_frozen
6274
6275 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6276
6277         * counters.C (Counters): add missing algorithm counter.
6278
6279         * text2.C (setCounter): lookup the counter with layouts latexname
6280         instead of by section number.
6281         (setCounter): use a hackish way to lookup the correct enum
6282         counter.
6283         a float name->type change
6284         reset enum couners with counter name directly instead of depth value.
6285
6286         * counters.C (Counters): remove the push_backs, change to use the
6287         float type not the float name.
6288         (labelItem): remove unused string, float name->type change
6289
6290         * counters.h: don't include vector, loose the enums and sects vectors
6291
6292 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6293
6294         * lyxtextclass.C (TextClassTags): add TC_FLOAT
6295         (Read): add float->TC_FLOAT to textclassTags
6296         (Read): and handle it in the switch
6297         (readFloat): new function
6298
6299         * FloatList.C (FloatList): comment out the hardcoded float
6300         definitions.
6301
6302         * lyxlayout.h: ws change.
6303
6304 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
6305
6306         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
6307
6308 2002-09-03  Angus Leeming  <leeming@lyx.org>
6309
6310         * BufferView_pimpl.h: qualified name is not allowed in member
6311         declaration: WorkArea & Pimpl::workarea() const;
6312
6313         * factory.C: added using std::endl directive.
6314
6315         * text3.C: added using std::find and std::vector directives.
6316
6317 2002-08-29  André Pönitz <poenitz@gmx.net>
6318
6319         * lyxtext.h:
6320         * text2.C: remove unused member number_of_rows
6321
6322         * Makefile.am:
6323         * BufferView2.C: remove file, move contents to...
6324         * BufferView.C: ... here
6325
6326         * BufferView_pimpl.C:
6327         * factory.C: move more inset creation to factory
6328
6329         * vspace.C: avoid direct usage of LyXText, ws changes
6330
6331         * BufferView.[Ch]:
6332                 don't provide direct access to WorkArea, use two simple
6333                 acessors haveSelction() and workHeight() instead
6334
6335
6336 2002-08-29  John Levon  <levon@movementarian.org>
6337
6338         * BufferView_pimpl.C (dispatch): do not continue when
6339           no buffer
6340
6341 2002-08-28  André Pönitz <poenitz@gmx.net>
6342
6343         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6344
6345         * BufferView.h:
6346         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6347
6348 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
6349
6350         * buffer.C: increment LYX_FORMAT to 221
6351
6352         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6353         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6354
6355         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6356
6357         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6358
6359 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6360
6361         * factory.C (createInset): use LyXTextClass::floats
6362
6363         * MenuBackend.C (expandFloatListInsert):
6364         (expandFloatInsert):
6365         (expandToc):
6366
6367         * text2.C (setCounter):
6368
6369         * LaTeXFeatures.C (useFloat):
6370         (getFloatDefinitions):
6371
6372         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6373
6374         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6375         floatlist_, with accessor floats().
6376
6377         * FloatList.h: remove global FloatList
6378
6379 2002-08-26  André Pönitz <poenitz@gmx.net>
6380
6381         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6382
6383         * BufferView.h:
6384         * BufferView2.C:
6385         * BufferView_pimpl.C:
6386         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6387
6388 2002-08-25  John Levon  <levon@movementarian.org>
6389
6390         * LyXAction.C: fix margin note description
6391
6392 2002-08-24  John Levon  <levon@movementarian.org>
6393
6394         * buffer.C:
6395         * bufferlist.C:
6396         * bufferview_funcs.C:
6397         * lyxfont.C:
6398         * undo_funcs.C: cleanups
6399
6400         * lyxfunc.C: disable CUT/COPY when no selection
6401
6402 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
6403
6404         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6405         in "enum UNIT"; e.g. PTW for Percent of TextWidth
6406
6407         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6408         Add backward compatibility to "mono", "gray" and "no".
6409
6410 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
6411
6412         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6413         (and file_format >= 200).
6414
6415 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6416
6417         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6418
6419 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6420
6421         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6422
6423 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
6424
6425         * BufferView_pimpl.C:
6426         * LyXAction.C:
6427         * buffer.C:
6428         * commandtags.h:
6429         * lyxfunc.C:
6430         * paragraph.[Ch]:
6431         * text2.C:
6432         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6433         inset and code to make it  work with the paragraph code. The inset
6434         can be anywhere in the paragraph, but will only do the expected
6435         thing in LaTeX if the layout file contains the parameter line
6436                         OptionalArgs    1
6437         (or more generally, a nonzero value) for that layout.
6438
6439 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6440
6441         * paragraph.h: remove the declaration of undefined counters class
6442         function.
6443
6444 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
6445
6446         * text2.C (setCounter):  fixed enumeration mis-count as reported by
6447         Dr. Richard Hawkins.
6448
6449 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6450
6451         * paragraph_funcs.h: remove some unneeded includes
6452
6453         * text.C (backspace): pasteParagraph now in global scipe
6454
6455         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6456         (pasteSelection): ditto
6457
6458         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6459         * paragraph_funcs.C (pasteParagraph): ... here
6460
6461 2002-08-20  André Pönitz <poenitz@gmx.net>
6462
6463         * commandtags.h: new LFUNs for swapping/copying table row/colums
6464
6465         * LyXAction.C:
6466         * lyxfunc.C: support for new lfuns
6467
6468 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6469
6470         * tabular.C:
6471         * buffer.[Ch]: remove NO_COMPABILITY stuff
6472
6473 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
6474
6475         * boost.C (throw_exception): new file, with helper function for
6476         boost compiled without exceptions.
6477
6478         * paragraph.h:
6479         * lyxlength.C:
6480         * buffer.C:
6481         * ParameterStruct.h:
6482         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6483
6484         * bufferlist.C (emergencyWriteAll): use boost bind
6485
6486         * BufferView_pimpl.C (moveCursorUpdate): remove inline
6487
6488         * text.C: include paragraph_funcs.h
6489         (breakParagraph): breakParagraph is now in global scope
6490
6491         * paragraph_funcs.[Ch]: new files
6492
6493         * paragraph.C (breakParagraph,breakParagraphConservative): move to
6494         global scope
6495
6496         * buffer.C: include paragraph_funcs.h
6497         (insertStringAsLines): breakParagraph is now in global scope
6498
6499         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
6500         paragraph_funcs.C
6501
6502         * CutAndPaste.C: include paragraph_funcs.h
6503         (cutSelection): breakParagraphConservative is now in global scope
6504         (pasteSelection): ditto
6505
6506         * buffer.h: declare oprator== and operator!= for
6507         Buffer::inset_iterator
6508
6509         * bufferlist.C (emergencyWrite): don't use fmt(...)
6510
6511         * text3.C: add using std::endl
6512
6513         * BufferView.C (moveCursorUpdate): remove default arg
6514
6515 2002-08-20  André Pönitz <poenitz@gmx.net>
6516
6517         * buffer.[Ch]: move inline functions to .C
6518
6519         * BufferView2.C:
6520         * BufferView_pimpl.C:
6521         * text.C:
6522         * buffer.[Ch]: use improved inset_iterator
6523
6524         * buffer.C:
6525         * paragraph.[Ch]: write one paragraph at a time
6526
6527 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
6528
6529         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
6530         style if style is not specified.
6531
6532 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6533
6534         * text2.C (setCounter): when searching for right label for a
6535         caption, make sure to recurse to parent insets (so that a caption
6536         in a minipage in a figure float works) (bug #568)
6537
6538 2002-08-20  André Pönitz <poenitz@gmx.net>
6539
6540         * text3.C: new file for LyXText::dispatch() and helpers
6541
6542         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
6543
6544         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
6545
6546 2002-08-19  André Pönitz <poenitz@gmx.net>
6547
6548         * lyxtext.h:
6549         * text.C: new LyXText::dispatch()
6550
6551         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
6552
6553 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
6554
6555         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
6556
6557         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
6558         Hebrew text.
6559
6560 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6561
6562         * Makefile.am: use $(variables) instead of @substitutions@
6563
6564 2002-08-15  André Pönitz <poenitz@gmx.net>
6565
6566         * lyxfunc.C:
6567         * BufferView_pimpl.C: streamlining mathed <-> outer world
6568         interaction
6569
6570         * commandtags.h:
6571         * LyXAction.C: remove unused LFUN_MATH
6572
6573 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6574
6575         * paragraph.[Ch]: add some NO_NEXT ifdefs.
6576
6577 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6578
6579         * paragraph.C (Paragraph): reformat a bit
6580         (cutIntoMinibuffer): use builtin InsetList function instad of
6581         doing it manually.
6582         (getInset): ditto
6583
6584         * buffer.C: include boost/bind.hpp, add using std::for_each
6585         (writeFileAscii): use ParagraphList iterators
6586         (validate): use for_each for validate traversal of paragraphs
6587         (getBibkeyList): use ParagraphList iterators
6588         (resizeInsets): use for_each to resizeInsetsLyXText for all
6589         paragraphs.
6590         (getParFromID): use ParagraphList iterators
6591
6592         * BufferView2.C (lockInset): use paragraph list and iterators
6593
6594 2002-08-14  John Levon  <levon@movementarian.org>
6595
6596         * lyxserver.C: remove spurious xforms include
6597
6598 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6599
6600         * lyxfunc.C (getStatus): disable math-extern outside of math mode
6601
6602 2002-08-13  André Pönitz <poenitz@gmx.net>
6603
6604         * LyXAction.[Ch]:
6605         * lyxfunc.C: further cleaning
6606
6607 2002-08-13  André Pönitz <poenitz@gmx.net>
6608
6609         * funcrequest.h: new constructor
6610
6611         * funcrequest.C: move stuff here from .h
6612
6613         * Makefile.am:
6614         * BufferView_pimpl.C:
6615         * LyXAction.C:
6616         * toc.C:
6617         * lyxfunc.C: subsequent changes
6618
6619         * lyxfunc.h: new view() member function
6620
6621         * lyxfunc.C: subsequent changes
6622
6623 2002-08-13  Angus Leeming  <leeming@lyx.org>
6624
6625         * BufferView2.C:
6626         * BufferView_pimpl.C:
6627         * buffer.C:
6628         * converter.C:
6629         * importer.C:
6630         * lyxfunc.C:
6631         * lyxvc.C:
6632         * toc.C:
6633         * vc-backend.C:
6634         changes due to the changed LyXView interface that now returns references
6635         to member variables not pointers.
6636
6637 2002-08-13  Angus Leeming  <leeming@lyx.org>
6638
6639         * WordLangTuple (word, lang_code): return references to strings,
6640         not strings.
6641
6642         * BufferView.h:
6643         * SpellBase.h:
6644         * lyxtext.h: forward-declare WordLangTuple.
6645
6646         * BufferView2.C:
6647         * ispell.C:
6648         * pspell.C:
6649         * text.C: #include "WordLangTuple.h".
6650
6651         * lyxtext.h:
6652         * text.C: (selectNextWordToSpellcheck): constify return type.
6653
6654 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
6655
6656         * buffer.C:
6657         * buffer.h:
6658         * lyxtext.h:
6659         * paragraph.C:
6660         * paragraph_pimpl.h:
6661         * text.C:
6662         * text2.C:
6663         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
6664         suggested by Angus.
6665         Made updateCounter always count from start of buffer, and removed
6666         second argument (par).
6667         Reverted floats number display to '#'. Perhaps I'll try again when the
6668         code base is sanitized a bit.
6669
6670 2002-08-12  Angus Leeming  <leeming@lyx.org>
6671
6672         * buffer.[Ch] (getLabelList): constify.
6673
6674 2002-08-07  André Pönitz <poenitz@gmx.net>
6675
6676         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
6677
6678         * funcrequest.h: extension to keep mouse (x,y) position
6679
6680 2002-08-12  Juergen Vigna  <jug@sad.it>
6681
6682         * BufferView2.C (insertErrors): forbid undo when inserting error
6683         insets.
6684
6685         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
6686
6687 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6688
6689         * ParagraphList.[Ch]: new files
6690
6691         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
6692
6693         * BufferView2.C (lockInset): ParagraphList changes
6694         * toc.C: ditto
6695         * text2.C: ditto
6696         * bufferlist.C: ditto
6697         * buffer.h: ditto
6698         * buffer.C: ditto
6699
6700 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6701
6702         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
6703         unused class variable counter_,
6704
6705         * paragraph.[Ch] (getFirstCounter): delete unused function
6706
6707         * counters.C: include LAssert.h
6708         (reset): add a new function with no arg, change other version to
6709         not have def. arg and to not allow empty arg.
6710
6711         * text2.C (setCounter): remove empty arg from call to Counters::reset
6712
6713 2002-08-11  John Levon  <levon@movementarian.org>
6714
6715         * Makefile.am: add WordLangTuple.h
6716
6717 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6718
6719         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
6720         lyxfunc.C lyxlex_pimpl.C: ws changes only.
6721
6722         * insets/insettext.C: InsetList changes
6723
6724         * graphics/GraphicsSupport.C (operator()): InsetList changes
6725
6726         * toc.C (getTocList): InsetList changes
6727
6728         * paragraph_pimpl.[Ch]: InsetList changes
6729
6730         * paragraph.[Ch]: InsetList changes
6731
6732         * buffer.C (inset_iterator): InsetList changes
6733         (setParagraph): ditto
6734         * buffer.h (inset_iterator): ditto
6735         * iterators.C (operator++): ditto
6736         * iterators.h: ditto
6737
6738         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
6739
6740         * InsetList.[Ch]: new files, most InsetList handling moved out of
6741         paragraph.C.
6742
6743         * BufferView2.C (removeAutoInsets): InsetList changes
6744         (lockInset): ditto
6745         (ChangeInsets): ditto
6746
6747 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6748
6749         * paragraph_pimpl.h (empty): new function
6750
6751         * paragraph.[Ch] (empty): new function
6752
6753         * other files: use the new Paragraph::empty function
6754
6755 2002-08-09  John Levon  <levon@movementarian.org>
6756
6757         * lyxtext.h: remove unused refresh_height
6758
6759 2002-08-09  John Levon  <levon@movementarian.org>
6760
6761         * Makefile.am:
6762         * sgml.h:
6763         * sgml.C:
6764         * buffer.C:
6765         * paragraph.h:
6766         * paragraph.C: move sgml char escaping out of paragraph
6767
6768         * paragraph.h:
6769         * paragraph.C: remove id setter
6770
6771         * buffer.C:
6772         * paragraph.C:
6773         * paragraph_pimpl.C: remove dead tex_code_break_column
6774
6775         * bufferview_funcs.C: small cleanup
6776
6777         * lyxfunc.C: remove dead proto
6778
6779         * lyxtext.h: make some stuff private. Remove some dead stuff.
6780
6781         * lyxgluelength.C: make as[LyX]String() readable
6782
6783 2002-08-08  John Levon  <levon@movementarian.org>
6784
6785         * LyXAction.h:
6786         * LyXAction.C:
6787         * MenuBackend.C:
6788         * ToolbarDefaults.C:
6789         * lyxfunc.C:
6790         * lyxrc.C:
6791         * toc.C: lyxaction cleanup
6792
6793 2002-08-08  John Levon  <levon@movementarian.org>
6794
6795         * BufferView2.C: small cleanup
6796
6797         * lyxfind.h:
6798         * lyxfind.C: move unnecessary header into the .C
6799
6800 2002-08-08  John Levon  <levon@movementarian.org>
6801
6802         * funcrequest.h: just tedious nonsense
6803
6804         * lyx_main.h:
6805         * lyx_main.C: cleanups
6806
6807         * buffer.C:
6808         * vspace.C: remove dead header lyx_main.h
6809
6810 2002-08-07  Angus Leeming  <leeming@lyx.org>
6811
6812         * Paragraph.[Ch]:
6813         * paragraph_pimpl.h:
6814         Forward declare class Counters in paragraph.h by moving the ctrs member
6815         variable into Paragraph::Pimpl.
6816         (counters): new method, returning a reference to pimpl_->ctrs.
6817
6818         * text2.C: ensuing changes.
6819
6820 2002-08-07  John Levon  <levon@movementarian.org>
6821
6822         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
6823
6824         * BufferView_pimpl.C: announce X selection on double/triple
6825           click
6826
6827         * lyx_main.C: use correct bool in batch dispatch
6828
6829         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
6830
6831 2002-08-07  André Pönitz <poenitz@gmx.net>
6832
6833         * funcrequest.h: new class to wrap a kb_action and its argument
6834
6835         * BufferView.[Ch]:
6836         * BufferView_pimpl[Ch]:
6837         * LaTeX.C:
6838         * LyXAction.[Ch]:
6839         * lyxfunc.[Ch]:
6840         * lyxrc.C: subsequent changes
6841
6842
6843 2002-08-07  John Levon  <levon@movementarian.org>
6844
6845         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
6846           document options change.
6847
6848 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
6849
6850         * counters.[Ch]
6851         * text2.C
6852         * paragraph.[Ch]
6853         * makefile.am: move counters functionality over from
6854         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
6855
6856 2002-08-06  John Levon  <levon@movementarian.org>
6857
6858         * WordLangTuple.h: new file for word + language code tuple
6859
6860         * SpellBase.h:
6861         * pspell.h:
6862         * pspell.C:
6863         * ispell.h:
6864         * ispell.C:
6865         * lyxtext.h:
6866         * text.C:
6867         * text2.C:
6868         * BufferView.h:
6869         * BufferView2.C: use WordLangTuple
6870
6871         * layout.h:
6872         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
6873
6874 2002-08-06  John Levon  <levon@movementarian.org>
6875
6876         * lyx_main.C: fix cmdline batch handling
6877
6878 2002-08-06  André Pönitz <poenitz@gmx.net>
6879
6880         * lyxrc.C: set default for show_banner to true
6881
6882 2002-08-06  John Levon  <levon@movementarian.org>
6883
6884         * pspell.C: fix a crash, and allow new aspell to work
6885
6886 2002-08-06  John Levon  <levon@movementarian.org>
6887
6888         * lyxfunc.C:
6889         * kbmap.C: small cleanup
6890
6891         * vspace.h:
6892         * vspace.C: add const
6893
6894 2002-08-05  John Levon  <levon@movementarian.org>
6895
6896         * LyXAction.C: back to tabular-insert
6897
6898 2002-08-04  John Levon  <levon@movementarian.org>
6899
6900         * BufferView.h:
6901         * BufferView.C: cosmetic change
6902
6903         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
6904
6905         * bufferlist.C:
6906         * buffer.h:
6907         * buffer.C:
6908         * lyxcb.h:
6909         * lyxcb.C:
6910         * lyxserver.C:
6911         * lyxvc.C:
6912         * vc-backend.C:
6913         * BufferView2.C: purge all "Lyx" not "LyX" strings
6914
6915         * lyxcursor.h:
6916         * lyxcursor.C: attempt to add some documentation
6917
6918         * lyxfunc.C:
6919         * commandtags.h:
6920         * LyXAction.C:
6921         * ToolbarDefaults.C:
6922         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
6923           merge with LFUN_TABULAR_INSERT
6924
6925         * Makefile.am:
6926         * SpellBase.h:
6927         * ispell.h:
6928         * ispell.C:
6929         * pspell.h:
6930         * pspell.C: split up i/pspell implementations into separate
6931           files, many cleanups
6932
6933         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
6934
6935         * text2.C: some cleanup
6936
6937         * lyxfunc.C: don't check for isp_command == "none" any more, it
6938           didn't make any sense
6939
6940 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
6941
6942         * counters.[Ch]
6943         * text2.C
6944         * paragraph.[Ch]
6945         * makefile.am: move counters functionality over
6946         from text2.C/paragraph.[Ch] to counters.[Ch], and
6947         make proper C++.
6948 2002-08-02  John Levon  <levon@movementarian.org>
6949
6950         * buffer.C: s/lyxconvert/lyx2lyx/
6951
6952 2002-08-02  Angus Leeming  <leeming@lyx.org>
6953
6954         * lyxlex.C: revert John's change as it breaks reading of the user
6955         preamble.
6956
6957 2002-08-02  Angus Leeming  <leeming@lyx.org>
6958
6959         * importer.C (Import):
6960         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
6961         changes due to LyXView::view() now returning a boost::shared_ptr.
6962
6963 2002-08-02  John Levon  <levon@movementarian.org>
6964
6965         * lyxlex.C: small cleanup
6966
6967 2002-08-02  John Levon  <levon@movementarian.org>
6968
6969         * text2.C (status): small cleanup, no logic change
6970
6971 2002-08-01  John Levon  <levon@movementarian.org>
6972
6973         * buffer.h:
6974         * buffer.C (writeFile): don't output alerts, caller
6975           handles this
6976
6977         * bufferlist.C:
6978         * lyx_cb.C: from above
6979
6980         * lyxfunc.C: allow to open non-existent files
6981
6982 2002-07-31  John Levon  <levon@movementarian.org>
6983
6984         * lyxserver.C: don't let incidental errors get
6985           in the way (errno)
6986
6987 2002-07-30  John Levon  <levon@movementarian.org>
6988
6989         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
6990
6991 2002-07-30  John Levon  <levon@movementarian.org>
6992
6993         * lyxserver.h:
6994         * lyxserver.C: remove I/O callback too
6995
6996 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6997
6998         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
6999         log.
7000
7001 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7002
7003         * many files: strip,frontStrip -> trim,ltrim,rtrim
7004
7005 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7006
7007         * PrinterParams.h: remove extern containsOnly, and include
7008         support/lstrings.h instead.
7009
7010         * LaTeX.C (scanAuxFile): modify because of strip changes
7011         (deplog): ditto
7012         * buffer.C (makeLaTeXFile): ditto
7013         * bufferparams.C (writeFile): ditt
7014         * lyxfont.C (stateText): ditto
7015         * lyxserver.C (read_ready): ditto
7016         * vc-backend.C (scanMaster): ditto
7017
7018         * BufferView_pimpl.h: ws changes
7019
7020         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7021
7022 2002-07-26  André Pönitz <poenitz@gmx.net>
7023
7024         * kb_sequence.C: remove unnedred usings
7025
7026 2002-07-26  Juergen Vigna  <jug@sad.it>
7027
7028         * lyxfind.C (LyXReplace): we have to check better if the returned
7029         text is not of theLockingInset()->getLockingInset().
7030
7031 2002-07-25  Juergen Vigna  <jug@sad.it>
7032
7033         * lyxfind.C (LyXReplace): don't replace if we don't get the
7034         right LyXText.
7035
7036         * undo_funcs.C (createUndo): remove debugging code.
7037
7038 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
7039
7040         * buffer.C (parseSingleLyXformat2Token): Use default placement
7041         when reading old floats.
7042
7043         * FloatList.C (FloatList): Change the default placement of figure
7044         and tables to "tbp".
7045
7046 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
7047
7048         * MenuBackend.C: using std::max
7049
7050 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7051
7052         * MenuBackend.C (expandToc):
7053         (expandToc2): code moved from xforms menu frontend. It is now
7054         generic and TOCs are transparent to menu frontends.
7055
7056 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7057
7058         * toc.C (getTocList): protect against buf=0
7059
7060         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7061         Menu as first parameter. Now, this calls itself recursively to
7062         expand a whole tree (this will be useful for TOC handling)
7063         (expandFloatInsert): remove 'wide' version of floats
7064
7065         * MenuBackend.h (submenuname): returns the name of the submenu.
7066         (submenu): returns the submenu itself, provided it has been
7067         created by MenuBackend::expand
7068
7069 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7070
7071         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7072         insets which have noFontChange == true. (bug #172)
7073
7074 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7075
7076         * BufferView_pimpl.C: add connection objects and use them...
7077         (Pimpl): here.
7078
7079 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7080
7081         * MenuBackend.C (expandLastfiles):
7082         (expandDocuments):
7083         (expandFormats):
7084         (expandFloatListInsert):
7085         (expandFloatInsert):
7086         (expand): split expand in parts
7087
7088 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7089
7090         * lyx_gui.C: use lyx_gui::exit()
7091
7092 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7093
7094         * LyXAction.C: show the failing pseudo action
7095
7096 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
7097
7098         * buffer.C (readFile): Run the lyxconvert script in order to read
7099         old files.
7100
7101 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7102
7103         * LyXAction.C:
7104         * commandtags.h:
7105         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7106
7107 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7108
7109         * LyXAction.C:
7110         * commandtags.h:
7111         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7112
7113 2002-07-22  Herbert Voss  <voss@lyx.org>
7114
7115         * lengthcommon.C:
7116         * lyxlength.[Ch]: add support for the vertical lengths
7117
7118 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
7119
7120         * toc.[Ch]: std:: fixes
7121
7122 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7123
7124         * lyxrc.C: do not include lyx_main.h
7125
7126         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7127         for layouts
7128
7129         * lyxrc.C:
7130         * encoding.C:
7131         * bufferlist.C:
7132         * BufferView2.C: include "lyxlex.h"
7133
7134         * tabular.h:
7135         * bufferparams.h: do not #include "lyxlex.h"
7136
7137         * lyxtextclasslist.C (Add): remove method
7138         (classlist): renamed to classlist_
7139
7140         * paragraph_pimpl.C:
7141         * paragraph.C:
7142         * text2.C:
7143         * CutAndPaste.C:
7144         * bufferview_funcs.C:
7145         * bufferlist.C:
7146         * text.C:
7147         * LaTeXFeatures.C:
7148         * buffer.C:
7149         * toc.C (getTocList): use BufferParams::getLyXTextClass
7150
7151         * toc.C (getTocList): use InsetFloat::addToToc
7152
7153         * toc.[Ch]: new files, containing helper functions to handle table
7154         of contents
7155
7156         * lyxfunc.C (dispatch): no need to remove spaces around command
7157         given as a string
7158         (getStatus): handle LFUN_SEQUENCE by returning the status of the
7159         first command of the sequence; it is not very clever, but I do not
7160         have a better idea, actually
7161
7162         * LyXAction.C (LookupFunc): make sure to remove space at the
7163         beginning and end of the command
7164
7165 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7166
7167         * MenuBackend.C (getMenubar): new method: return the menubar of
7168         this menu set
7169         (read): treat differently reading of menu and menubar (in
7170         particular, the menubar has no name now)
7171         (Menu::menubar): remove
7172
7173         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7174         saving is finished
7175
7176 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7177
7178         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7179         a bibitem inset in a RTL paragraph.
7180
7181 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
7182
7183         * paragraph_pimpl.C: constify
7184
7185         * BufferView_pimpl.C:
7186         * LaTeX.C:
7187         * lyxfunc.C: fix dispatch in a nicer way
7188
7189 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7190
7191         * lyxfunc.C (dispatch):
7192         * BufferView_pimpl.C:
7193         * BufferView_pimpl.h:
7194         * BufferView.C:
7195         * BufferView.h: rename Dispatch() to dispatch()
7196
7197         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7198
7199         * lyxlayout.C (Read): honor DependsOn tag
7200
7201         * lyxlayout.[Ch] (depends_on): new method
7202
7203         * version.C.in: update lyx_docversion
7204
7205         * LaTeXFeatures.C (getMacros): only define \LyX when needed
7206
7207         * paragraph.C (validate): remove from here...
7208         * paragraph_pimpl.C (validate): ... and move here
7209         (isTextAt): make it const
7210
7211         * buffer.C (getLists): ws cleanup
7212
7213 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7214
7215         * language.C (read): Use iso8859-1 encoding in latex_lang
7216         (this prevents LyX from crashing when using iso10646-1 encoding).
7217
7218 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7219
7220         * text2.C (toggleInset): if cursor is inside an inset, close the
7221         inset and leave cursor _after_ it
7222
7223 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7224
7225         * lyxfunc.C: move minibuffer completion handling out of here
7226
7227 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7228
7229         * BufferView_pimpl.C:
7230         * LaTeX.C: fix dispatch calls
7231
7232 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
7233
7234         * text.C (drawChars): Fix Arabic text rendering.
7235
7236 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
7237
7238         * LyXAction.C:
7239         * commandtags.h:
7240         * lyxfunc.C: remove message-push/pop
7241
7242         * lyxserver.C:
7243         * lyxfunc.h:
7244         * lyxfunc.C: rationalise some code by removing verboseDispatch
7245           in favour of a bool argument to dispatch()
7246
7247 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7248
7249         * lyx_main.C (init): make sure to read symlinks as absolute paths
7250
7251 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7252
7253         * lyxfunc.h:
7254         * lyxfunc.C: no need for commandshortcut to be a member
7255
7256 2002-07-15  André Pönitz <poenitz@gmx.net>
7257
7258         * converter.C: add support for $$s (scripts from lib/scripts dir)
7259         * lyx_main.C: white space
7260
7261 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7262
7263         * bufferlist.C:
7264         * lyxrc.h:
7265         * lyxrc.C: remove second exit confirmation
7266
7267 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7268
7269         * BufferView.h:
7270         * BufferView.C:
7271         * BufferView2.C:
7272         * BufferView_pimpl.h:
7273         * BufferView_pimpl.C:
7274         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
7275
7276 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7277
7278         * MenuBackend.C (expand): add numeric shortcuts to document menu
7279
7280         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
7281
7282 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7283
7284         * lyxfont.C (setLyXFamily):
7285         (setLyXSeries):
7286         (setLyXShape):
7287         (setLyXSize):
7288         (setLyXMisc):
7289         (lyxRead):
7290         * debug.C (value):
7291         * buffer.C (asciiParagraph): use ascii_lowercase
7292
7293 2002-07-15  Mike Fabian  <mfabian@suse.de>
7294
7295         * lyxlex_pimpl.C (search_kw):
7296         * lyxlex.C (getLongString):
7297         * converter.h (operator<):
7298         * converter.C (operator<):
7299         * buffer.C (parseSingleLyXformat2Token):
7300         (asciiParagraph):
7301         * ToolbarDefaults.C (read):
7302         * MenuBackend.C (checkShortcuts):
7303         (read):
7304         * LColor.C (getFromGUIName):
7305         (getFromLyXName): use the compare_ascii_no_case instead of
7306         compare_no_case, because in turkish, 'i' is not the lowercase
7307         version of 'I', and thus turkish locale breaks parsing of tags.
7308
7309 2002-07-16  Angus Leeming  <leeming@lyx.org>
7310
7311         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
7312         now takes a Buffer const & argument.
7313
7314 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
7315
7316         * BufferView.C (resize): check there's a buffer to resize
7317
7318 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
7319
7320         * lyxfunc.C: remove dead code
7321
7322         * lyxserver.h:
7323         * lyxserver.C: use lyx_guii::set_read_callback
7324
7325 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
7326
7327         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
7328         an inset in a RTL paragraph.
7329
7330 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7331
7332         * lyxfunc.C: repaint after a font size update
7333
7334 2002-07-15  André Pönitz <poenitz@gmx.net>
7335
7336         * lyxlength.C: inBP should be able to return negative values
7337
7338 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7339
7340         * lyxfunc.C: use lyx_gui::update_fonts()
7341
7342 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7343
7344         * lyxfunc.C: use lyx_gui::update_color()
7345
7346 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7347
7348         * bufferlist.C:
7349         * lyxfunc.h:
7350         * lyxfunc.C:
7351         * lyxrc.h:
7352         * lyxrc.C: remove file->new asks for name option, and let
7353           buffer-new take an argument
7354
7355 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7356
7357         * BufferView_pimpl.C: remove unneeded extra repaint()
7358
7359 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
7360
7361         * LyXAction.C: allow command-sequence with NoBuffer
7362
7363         * lyxfunc.C: don't insist on trailing ';' for command-sequence
7364
7365 2002-07-10  Angus Leeming  <leeming@lyx.org>
7366
7367         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7368
7369 2002-07-09  Angus Leeming  <leeming@lyx.org>
7370
7371         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7372
7373 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7374
7375         * lengthcommon.h: whitespace
7376
7377         * lyxfunc.C: update scrollbar after goto paragraph
7378
7379         * lyxtext.h: factor out page break drawing, and fix it so
7380           page break/added space paints as selected nicely
7381
7382 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7383
7384         * BufferView_pimpl.C: add FIXMEs, clean up a little
7385
7386 2002-07-09  André Pönitz <poenitz@gmx.net>
7387
7388         * lyxfont.[Ch]: support for wasy symbols
7389
7390 2002-07-08  André Pönitz <poenitz@gmx.net>
7391
7392         * BufferView_pimpl.C: apply John's patch for #93.
7393
7394 2002-07-05  Angus Leeming  <leeming@lyx.org>
7395
7396         * BufferView_pimpl.C (buffer): generate previews if desired.
7397
7398         * LColor.h: add "preview" to the color enum.
7399
7400         * LColor.C (LColor): add a corresponding entry to the items array.
7401
7402         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7403         with this buffer.
7404
7405 2002-07-05  Angus Leeming  <leeming@lyx.org>
7406
7407         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7408         The body of the code is now in the method that is passed an ostream &
7409         rather than a file name.
7410         Pass an additional only_preamble parameter, useful for the forthcoming
7411         preview stuff.
7412
7413 2002-07-03  André Pönitz <poenitz@gmx.net>
7414
7415         * lyxfunc.C: simplify getStatus() a bit for math stuff
7416
7417 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7418
7419         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7420
7421 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7422
7423         * text.C (changeRegionCase): do not change case of all the
7424         document when region ends at paragraph end (bug #461)
7425
7426 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7427
7428         * paragraph.C (startTeXParParams):
7429         (endTeXParParams): add \protect when necessary
7430
7431 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7432
7433         * BufferView_pimpl.C (workAreaExpose): remove warning
7434
7435 2002-06-27  Angus Leeming  <leeming@lyx.org>
7436
7437         * Makefile.am: add lyxlayout_ptr_fwd.h.
7438
7439 2002-06-26  André Pönitz <poenitz@gmx.net>
7440
7441         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7442
7443 2002-06-25  Angus Leeming  <leeming@lyx.org>
7444
7445         * lyxfunc.C (dispatch): Comment out the call to
7446         grfx::GCache::changeDisplay. The method no longer exists now that the
7447         pixmap generation part of the graphics loader has been moved into
7448         InsetGraphics.
7449
7450 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7451
7452         * text2.C: layout as layout
7453
7454         * text.C: layout as layout
7455
7456         * tabular.C (OldFormatRead): layout as layout
7457
7458         * paragraph_pimpl.C (TeXDeeper): layout as layout
7459         (realizeFont): layout as layout
7460
7461         * paragraph.C (writeFile): layout as layout
7462         (validate): layout as layout
7463         (getFont): layout as layout
7464         (getLabelFont): layout as layout
7465         (getLayoutFont): layout as layout
7466         (breakParagraph): layout as layout
7467         (stripLeadingSpaces): layout as layout
7468         (getEndLabel): layout as layout
7469         (getMaxDepthAfter): layout as layout
7470         (applyLayout): layout as layout
7471         (TeXOnePar): layout as layout
7472         (simpleTeXOnePar): layout as layout
7473         (TeXEnvironment): layout as layout
7474         (layout): layout as layout
7475         (layout): layout as layout
7476
7477         * lyxtextclass.C (compare_name): new functor to work with
7478         shared_ptr, layout as layout
7479         (Read): layout as layout
7480         (hasLayout): layout as layout
7481         (operator): layout as layout
7482         (delete_layout): layout as layout
7483         (defaultLayout): layout as layout
7484
7485         * lyxlayout_ptr_fwd.h: new file
7486
7487         * lyxlayout.C (Read): layout as layout
7488
7489         * lyx_cb.C (MenuInsertLabel): layout as layout
7490
7491         * bufferlist.C (newFile): layout as layout
7492
7493         * buffer.C (readLyXformat2): layout as layout
7494         (parseSingleLyXformat2Token): layout as layout
7495         (insertStringAsLines): layout as layout
7496         (asciiParagraph): layout as layout
7497         (latexParagraphs): layout as layout
7498         (makeLinuxDocFile): layout as layout
7499         (simpleLinuxDocOnePar): layout as layout
7500         (makeDocBookFile): layout as layout
7501         (simpleDocBookOnePar): layout as layout
7502         (getLists): layout as layout
7503
7504         * LaTeXFeatures.C (getTClassPreamble): layout as layout
7505
7506         * CutAndPaste.C (cutSelection): layout as layout
7507         (pasteSelection): layout as layout
7508         (SwitchLayoutsBetweenClasses): layout as layout
7509
7510         * BufferView_pimpl.C (Dispatch): layout as layout
7511         (smartQuote): layout as layout
7512
7513         * BufferView2.C (unlockInset): layout as layout
7514
7515 2002-06-24  André Pönitz <poenitz@gmx.net>
7516
7517         * lyxfunc.C: fix #487
7518
7519 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7520
7521         * lyxrc.h:
7522         * lyxrc.C:
7523         * lyxfunc.C: remove display_shortcuts, show_banner
7524
7525 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7526
7527         * Buffer_pimpl.C: oops, update on resize
7528
7529 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7530
7531         * buffer.C:
7532         * converter.C:
7533         * exporter.C:
7534         * lyxfunc.C:
7535         * BufferView.h:
7536         * BufferView.C: use repaint()
7537
7538         * BufferView_pimpl.h:
7539         * BufferView_pimpl.C: s/updateScreen()/repaint()/
7540           as it's a clearer description. Remove superfluous
7541           redraws.
7542
7543 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7544
7545         * text.C: fix bug 488. Not ideal, but getting
7546           getWord() to work properly for the insets that
7547           matter is more difficult ...
7548
7549 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7550
7551         * BufferView_pimpl.C:
7552         * LyXAction.C:
7553         * commandtags.h:
7554         * lyxfunc.C: remove the six million index lyxfuncs to just
7555           one, and DTRT (bug 458)
7556
7557 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7558
7559         * BufferView.h:
7560         * BufferView.C:
7561         * BufferView_pimpl.h:
7562         * BufferView_pimpl.C: clean up resize() stuff,
7563           and unnecessary updateScreen()s
7564
7565 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7566
7567         * BufferView.h:
7568         * BufferView.C:
7569         * BufferView_pimpl.h:
7570         * BufferView_pimpl.C:
7571         * lyxfind.h:
7572         * lyxfind.C:
7573         * minibuffer.C: remove focus management of workarea,
7574           not needed. Use screen's greyOut()
7575
7576 2002-06-17  Herbert Voss  <voss@lyx.org>
7577
7578         * converter.C: (convert) do not post a message, when converting
7579         fails, let the calling function decide what to do in this case
7580
7581 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
7582
7583         * lyxfunc.C: tidy up a little
7584
7585 2002-06-16    <alstrup@diku.dk>
7586
7587         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
7588         Got rid of FORMS_H_LOCATION include. Now we are
7589         GUII.
7590
7591 2002-06-15  LyX Development team  <lyx@rilke>
7592
7593         * buffer.[Ch] (sgmlOpenTag):
7594         (sgmlCloseTag): Added support for avoiding pernicious mixed
7595         content. Return number of lines written.
7596
7597         (makeLinuxDocFile):
7598         (makeDocBookFile): Fixed calls to sgml*Tag.
7599         Simple white space clean.
7600
7601         (simpleDocBookOnePar): Simple white space clean.
7602
7603         * tabular.[Ch] (docBook): Renamed to docbook and got another
7604         argument to related with the pernicious mixed content.
7605
7606         (docbookRow): Fixed calls for docbook inset method.
7607
7608 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
7609
7610         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
7611         so it's X11 independent.
7612
7613         * kb*.[Ch]: ditto.
7614
7615         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
7616
7617 2002-06-15  Lyx Development team  <lyx@electronia>
7618
7619         * intl.h: Renamed getTrans to getTransManager.
7620
7621 2002-06-14  Angus Leeming  <leeming@lyx.org>
7622
7623         * Makefile.am: nuke forgotten stl_string_fwd.h.
7624
7625 2002-06-12  Angus Leeming  <leeming@lyx.org>
7626
7627         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
7628
7629 2002-06-13  Angus Leeming  <leeming@lyx.org>
7630
7631         * LaTeX.C:
7632         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
7633
7634 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
7635
7636         * kbmap.C (getiso): add support for cyrillic and greek
7637
7638 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7639
7640         * BufferView.h:
7641         * BufferView.C:
7642         * BufferView_pimpl.h:
7643         * BufferView_pimpl.C: move bogus scrolling logic
7644           to xforms
7645
7646 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7647
7648         * lyxfunc.C:
7649         * BufferView_pimpl.C: view->resize() change
7650
7651 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7652
7653         * BufferView_pimpl.C: topCursorVisible
7654           prototype change
7655
7656 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7657
7658         * Makefile.am:
7659         * lyx_gui.h:
7660         * lyx_gui.C: move to frontends/
7661
7662         * main.C:
7663         * lyx_main.h:
7664         * lyx_main.C: changes from above
7665
7666 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7667
7668         * intl.C:
7669         * intl.h:
7670         * kbmap.C:
7671         * kbsequence.C:
7672         * lyx_cb.C:
7673         * lyx_main.C: minor tidy
7674
7675 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7676
7677         * BufferView_pimpl.h:
7678         * BufferView_pimpl.C:
7679         * BufferView.h:
7680         * BufferView.C: make painter() const,
7681           remove dead code
7682
7683         * BufferView2.C: use screen() accessor
7684
7685         * lyx_main.h:
7686         * lyx_main.C: some minor cleanup
7687
7688 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7689
7690         * BufferView_pimpl.h:
7691         * BufferView_pimpl.C: remove enter/leaveView,
7692           use workHeight()
7693
7694 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7695
7696         * BufferView.h:
7697         * BufferView.C:
7698         * BufferView2.C:
7699         * BufferView_pimpl.h:
7700         * BufferView_pimpl.C: only construct screen once,
7701           rename
7702
7703         * lyxrc.C: remove pointless comment
7704
7705 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
7706
7707         * BufferView.h:
7708         * BufferView.C: remove active() and belowMouse()
7709
7710         * BufferView_pimpl.h:
7711         * BufferView_pimpl.C: use workarea() not workarea_,
7712           and make it use a scoped_ptr instead
7713
7714 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
7715
7716         * lyx_gui.C: add debug message on BadWindow
7717
7718 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7719
7720         * sp_spell.C: fdopen is not part of the C++ standard.
7721
7722         * paragraph.C (InsetIterator): use >= instead of ==
7723
7724 2002-06-07  Angus Leeming  <leeming@lyx.org>
7725
7726         Fixes needed to compile with Compaq cxx 6.5.
7727         * BufferView_pimpl.C:
7728         * DepTable.C:
7729         * buffer.C:
7730         * converter.C:
7731         * encoding.C:
7732         * lyx_gui.C:
7733         * lyx_main.C:
7734         * lyxtextclasslist.C:
7735         * minibuffer.C:
7736         * sp_spell.C:
7737         * tabular_funcs.C:
7738         * vc-backend.C:
7739         all c-library variables have been moved into namespace std. Wrap
7740         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
7741
7742         * lyxlength.C:
7743         * tabular-old.C:
7744         * tabular.C:
7745         Add a using std::abs declaration.
7746
7747         * kbmap.h (modifier_pair):
7748         * paragraph.h (InsetTable, InsetList):
7749         * lyxfont.h (FontBits):
7750         type definition made public.
7751
7752         * bufferlist.C (emergencyWriteAll): the compiler complains that
7753         there is more than one possible lyx::class_fun template to choose from.
7754         I re-named the void specialisation as lyx::void_class_fun.
7755
7756         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
7757
7758         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
7759         the compiler is is unable to find tostr in write_attribute.
7760
7761 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7762
7763         * buffer.C (sgmlError): hide #warning
7764
7765 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7766
7767         * xtl/*: get rid of xtl, which is not in use anyway
7768
7769         * LyXAction.C (init):
7770         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
7771         were unimplemented xtl experimentation
7772
7773 2002-06-04  André Pönitz <poenitz@gmx.net>
7774
7775         * lyxfunc.C: disable array operation on simple formulae
7776
7777 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
7778
7779         * converter.C: constify a bit
7780
7781 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
7782
7783         * lyx_gui.C: check xforms version correctly
7784
7785 2002-04-30  Herbert Voss  <voss@lyx.org>
7786
7787         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
7788         "keep" option
7789
7790 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
7791
7792         * lyxvc.C: fix bug 416 (make sure buffer is saved before
7793           attempt to register it with a VCS)
7794
7795 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7796
7797         * lyx_main.C (init): honor variables LYX_DIR_13x and
7798         LYX_USERDIR_13x
7799
7800 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
7801
7802         * buffer.h:
7803         * buffer.C:
7804         * lyx_main.C: fix a crash on bad command line,
7805           and give a useful exit status on error
7806
7807         * lyxfunc.C (doImport): allow -i lyx to work
7808
7809 2002-03-30  André Pönitz <poenitz@gmx.net>
7810
7811         * lyxfunc.C: mathed font changes
7812
7813 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
7814
7815         * LaTeX.C:
7816         * importer.h:
7817         * importer.C:
7818         * lyx_sty.h:
7819         * lyx_sty.C:
7820         * lyxlex.C:
7821         * lyxrow.h:
7822         * lyxtext.h:
7823         * paragraph.h:
7824         * paragraph.C:
7825         * texrow.h:
7826         * texrow.C:
7827         * text.C:
7828         * trans_mgr.h: srcdocs, and some minor cleanups
7829
7830 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7831
7832         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
7833         call getFont all the time)
7834
7835 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7836
7837         * switch from SigC signals to boost::signals
7838
7839 2002-05-29  André Pönitz <poenitz@gmx.net>
7840
7841         * paragraph_pimpl.C (getChar): don't call size() too often...
7842
7843 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7844
7845         * paragraph_pimpl.C (insertChar): do not try to update tables when
7846         appending (pos == size())
7847
7848         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
7849         in order to reduce drastically the number of comparisons needed to
7850         parse a large document
7851
7852 2002-05-29  André Pönitz <poenitz@gmx.net>
7853
7854         * text.C:
7855         * text2.C:
7856         * lyxtextclass.C:
7857         * sp_pspell.h:
7858         * textclasslist.[Ch]:
7859         * sp_ispell.h: whitespace change
7860
7861 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7862
7863         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
7864         lyxaction directly now.
7865
7866 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
7867
7868         * trans.C:
7869         * lyxfont.C:
7870         * lyxvc.C: remove unused headers
7871
7872 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
7873
7874         * Makefile.am:
7875         * buffer.h:
7876         * undostack.h:
7877         * undostack.C:
7878         * undo_funcs.h:
7879         * undo_funcs.C: some cleanups. Use shared_ptr
7880           and a template for the undo stacks.
7881
7882 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
7883
7884         * BufferView_pimpl.h:
7885         * BufferView_pimpl.C:
7886         * kbmap.h:
7887         * kbmap.C:
7888         * kbsequence.h:
7889         * kbsequence.C:
7890         * lyxfunc.h:
7891         * lyxfunc.C:
7892         * text2.C: use key_state/mouse_state
7893
7894 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7895
7896         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
7897         and LSubstring
7898
7899         * chset.C: change include order
7900         (loadFile): use boost regex and get rid of LRegex and LSubstring
7901
7902         * Makefile.am (BOOST_LIBS): new variable
7903         (lyx_LDADD): use it
7904
7905         * LaTeX.C: change include order.
7906         (scanAuxFile): use boost regex and get rid of LRegex and
7907         LSubstring
7908         (deplog): ditto
7909
7910 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
7911
7912         * ColorHandler.h:
7913         * ColorHandler.C:
7914         * FontInfo.h:
7915         * FontInfo.C: moved to frontends/xforms/
7916
7917         * FontLoader.h:
7918         * FontLoader.C: moved into frontends for GUIIzation
7919
7920         * Makefile.am:
7921         * lyx_gui.C:
7922         * lyxfont.C:
7923         * lyxfunc.C: changes from above
7924
7925 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
7926
7927         * LColor.C: remove spurious X include
7928
7929         * BufferView_pimpl.C:
7930         * Makefile.am:
7931         * font.h:
7932         * font.C:
7933         * text.C:
7934         * text2.C: move font metrics to frontends/
7935
7936 2002-05-24  Juergen Vigna  <jug@sad.it>
7937
7938         * undo_funcs.C (textHandleUndo): fix the cursor selection after
7939         setting the undo_cursor.
7940
7941         * ParagraphParameters.h: include local includes first.
7942
7943 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7944
7945         * BufferView_pimpl.C:
7946         * BufferView_pimpl.h:
7947         * Makefile.am:
7948         * WorkArea.h:
7949         * WorkArea.C:
7950         * screen.C: move WorkArea into frontends/
7951
7952         * lyxscreen.h:
7953         * screen.C:
7954         * text.C:
7955         * BufferView.C:
7956         * BufferView2.C: move LyXScreen into frontends/
7957
7958         * lyxlookup.h:
7959         * lyxlookup.C:
7960         * lyx_gui.C: move lyxlookup into frontends/xforms/
7961
7962 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7963
7964         * BufferView2.C:
7965         * BufferView_pimpl.C:
7966         * FontLoader.C:
7967         * LyXView.h:
7968         * LyXView.C:
7969         * Makefile.am:
7970         * WorkArea.C:
7971         * XFormsView.h:
7972         * XFormsView.C:
7973         * buffer.C:
7974         * bufferlist.C:
7975         * bufferview_funcs.C:
7976         * converter.C:
7977         * importer.C:
7978         * lyx_cb.C:
7979         * lyx_gui.C:
7980         * lyx_main.C:
7981         * lyx_find.C:
7982         * lyxfunc.C:
7983         * lyxvc.C:
7984         * minibuffer.C:
7985         * text.C:
7986         * text2.C:
7987         * trans.C:
7988         * vc-backend.C: move LyX/XFormsView into frontends/
7989
7990 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7991
7992         * Makefile.am:
7993         * PainterBase.C:
7994         * PainterBase.h:
7995         * Painter.C:
7996         * Painter.h:
7997         * WorkArea.C:
7998         * WorkArea.h:
7999         * screen.C:
8000         * tabular.C:
8001         * text.C:
8002         * text2.C: move Painter to frontends/
8003
8004 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8005
8006         * buffer.C: comment out some some code that depend upon lyx_format
8007         < 220
8008
8009         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8010         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8011
8012         * buffer.h (NO_COMPABILITY): turn off compability
8013
8014         * ColorHandler.C: include scoped_array.hpp
8015
8016         * font.C: Use more specific smart_ptr header.
8017         * Painter.C: ditto
8018         * gettext.C: ditto
8019         * ShareContainer.h: ditto
8020         * lyx_main.h: ditto
8021         * kbmap.h: ditto
8022         * FontInfo.h: ditto
8023         * BufferView_pimpl.h: ditto
8024         * ColorHandler.h: ditto
8025
8026         * kbmap.C (defkey): change call to shared_ptr::reset
8027
8028 2002-05-21  Juergen Vigna  <jug@sad.it>
8029
8030         * buffer.C (insertErtContents): fix to insert ert asis if it is
8031         non empty. Skip it completely if it contains only whitespaces.
8032
8033 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
8034
8035         * BufferView_pimpl.C:
8036         * BufferView2.C: clear selection on paste (bug 393)
8037
8038 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8039
8040         * DepTable.C: include ctime
8041
8042 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
8043
8044         * buffer.C (latexParagraphs): Add new argument (moving_arg).
8045
8046 2002-05-14  Juergen Vigna  <jug@sad.it>
8047
8048         * text.C (breakParagraph): fixed function to honor the keepempty
8049         layout in the right maner and also to permit the right breaking
8050         algorithm on empty or non empyt keepempty paragraphs.
8051
8052         * paragraph.C (breakParagraph): we have to check also if the par
8053         is really empty (!size()) for isempty otherwise we do the wrong
8054         paragraph break.
8055
8056 2002-05-10  Juergen Vigna  <jug@sad.it>
8057
8058         * buffer.[Ch] : The following are only changes to the ert
8059         compatibility read reading old LaTeX layout and font stuff and
8060         convert it to ERTInsets.
8061
8062         * buffer.h: added isErtInset().
8063
8064         * buffer.C (struct ErtComp): add a fromlayout bool to check
8065         if we're inside a LaTeX layout.
8066         (isErtInset): new helper function.
8067         (insertErtContents): look for other ert insets before this one
8068         and insert the contents there, so that we don't have subsequent
8069         ERT insets with nothing between them. This way we create only one
8070         inset with multiple paragraphs. Also check if we don't insert only
8071         spaces ' ' as they are ignored anyway afterwards in the .tex file
8072         so if we have only spaces we will ignore this latex part in the
8073         new file.
8074         (parseSingleLyXformat2Token \\layout): better compatibility when
8075         reading layout-latex stuff.
8076         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8077         language tag.
8078         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8079         stuff after reading the inset only get the information back from
8080         the stack.
8081
8082 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
8083
8084         * buffer.C (makeLaTeXFile): Put language options after loading babel.
8085
8086         * LaTeXFeatures.C (getBabelOptions): New method.
8087
8088 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8089
8090         * BufferView_pimpl.C (Dispatch): work around missing argument for
8091         'layout'
8092
8093 2002-05-08  Juergen Vigna  <jug@sad.it>
8094
8095         * text.C (leftMargin): handle paragraph leftindent.
8096
8097         * paragraph.C (writeFile): write the new \\leftindent tag.
8098         (validate): handle leftindent code.
8099         (TeXEnvironment): handle paragraphleftindent code again.
8100
8101         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8102
8103         * buffer.C (parseSingleLyXformat2Token): added compatibility code
8104         for paragrap_extra indent code and new token \\leftindent.
8105         (latexParagraphs): handle the leftindent as environment.
8106
8107         * ParameterStruct.h: added leftindent support.
8108
8109         * ParagraphParameters.C (leftIndent): added support functions for
8110         the paragraph left indent.
8111
8112         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8113         more appropriate.
8114
8115 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
8116
8117         * paragraph.C (isRightToLeftPar): Return false for a paragraph
8118         inside insetERT.
8119
8120         * text.C (computeBidiTables): No bidi in insetERT.
8121
8122         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8123         in RTL documents.
8124
8125 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8126
8127         * version.C.in: pre 5
8128
8129 2002-05-02  José Matos  <jamatos@fep.up.pt>
8130         * buffer.C (makeDocBookFile): white space changes, add newline to
8131         command styles.
8132         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8133
8134         * tabular.C (docBook): fix typo.
8135
8136 2002-05-03  Juergen Vigna  <jug@sad.it>
8137
8138         * screen.C (drawFromTo): recalculate the rowpointer if we had a
8139         change in LyXText as we can not be sure it was not freed.
8140         (drawOneRow): remove unused code.
8141
8142         * text.C (drawInset): redo the calculation of the need_break_row as
8143         it could have a row which was already freed.
8144         (draw): look at the return value of drawInset and return false if
8145         it also returned false.
8146         (paintRowText): look at the return value of draw and return false if
8147         it also returned false.
8148
8149         * lyxtext.h: added bool return type to drawInset() and draw() so that
8150         if we have a change in the row so that the rowbreak has to be redone
8151         we abort drawing as it will be called again.
8152
8153 2002-05-02  Juergen Vigna  <jug@sad.it>
8154
8155         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8156         a change in the maintext also if we're inside an inset.
8157         (Dispatch): set the cursor again after a break line and after the
8158         screen has been updated as it could be we're in a different row.
8159
8160         * text2.C (fixCursorAfterDelete): check to make sure we don't request
8161         to set the cursor behind the pargraph with > size().
8162         (setCursor): check also for the same paragraph when checking where
8163         to put the cursor if we have a NFR inset.
8164
8165         * buffer.C (parseSingleLyXformat2Token): move the compatibility
8166         parts of layout read further up as it still was in the wrong
8167         position.
8168
8169 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8170
8171         * screen.C (drawFromTo): change sine fullRebreak always return
8172         true.
8173
8174         * buffer.C (parseSingleLyXformat2Token): reindent some
8175
8176         * BufferView_pimpl.C (update): change since fullRebreak always
8177         return true.
8178         (Dispatch): git rid of the last hardcoded "Standard"s.
8179
8180 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8181
8182         * text2.[Ch] (fullRebreak): make it return void now that we always
8183         returned true.
8184
8185 2002-04-30  Juergen Vigna  <jug@sad.it>
8186
8187         * buffer.C (parseSingleLyXformat2Token): reset the font before the
8188         ert compatibility check for "latex" layout.
8189
8190 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
8191
8192         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8193         minipages: use col% instead of p%, and also use the current font.
8194         (makeLaTeXFile): Fix use babel condition.
8195         (parseSingleLyXformat2Token): Correct font when reading old floats.
8196
8197 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
8198
8199         * BufferView_pimpl.C (Dispatch): Check that float type exists when
8200         inserting list of floats.
8201
8202 2002-04-25  Herbert Voss  <voss@lyx.org>
8203
8204         * MenuBackend.C (expand): don't add the graphics extensions to the
8205         export menu
8206
8207 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8208
8209         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8210         non-existing layout, do not complain if it was the default layout
8211         of the original class (bug #342)
8212
8213 2002-04-24  Juergen Vigna  <jug@sad.it>
8214
8215         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
8216         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
8217
8218 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
8219
8220         * buffer.C (getBibkeyList): If using \bibliography, return the
8221         option field with the reference itself. Enables us to provide natbib
8222         support when using \bibliography.
8223
8224 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
8225
8226         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
8227
8228         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8229         natbib is provided by the LaTeX class.
8230
8231 2002-04-23  Juergen Vigna  <jug@sad.it>
8232
8233         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
8234         Wakeup functions.
8235
8236         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
8237
8238 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8239
8240         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
8241
8242         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
8243         ensuremath around textordmasculine, textordfeminine and
8244         textdegree.
8245
8246 2002-04-19  Juergen Vigna  <jug@sad.it>
8247
8248         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
8249         reinitializing the buffer otherwise row-dimensions may be wrong.
8250         (update): reset also the selection cursors if they do exits otherwise
8251         their x/y positions may be wrong.
8252
8253         * text2.C (cursorDown): don't enter the inset if we came from a row
8254         above and are one row over the inset.
8255
8256         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
8257         really leaving an inset.
8258
8259 2002-04-18  Juergen Vigna  <jug@sad.it>
8260
8261         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
8262         of the selected paragraph does not have the selected layout also if
8263         the last one had!
8264
8265         * text2.C (setLayout): fixed bug which did not change last selected
8266         paragraph.
8267
8268         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
8269         changed the read and substituted \\end_float with \\end_inset!
8270
8271         * BufferView_pimpl.C (cursorPrevious):
8272         (cursorNext): fixed to make it work with rows heigher than the work
8273         area without moving the cursor only the draw of the row.
8274         (workAreaMotionNotify): fix jumping over high rows.
8275
8276 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8277
8278         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
8279         Ressler.
8280
8281 2002-04-16  Juergen Vigna  <jug@sad.it>
8282
8283         * text2.C (setCursor): set also the irow().
8284         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
8285         (cursorUp):
8286         (cursorDown): support for locking an inset if the x_fix value goes
8287         inside it. That way I can transverse insets too with cursor up/down.
8288
8289         * lyxrow.h: added irow helper function same as other (i) functions.
8290
8291         * BufferView_pimpl.C (cursorPrevious):
8292         (cursorNext): fixed for insets!
8293
8294 2002-04-15  Juergen Vigna  <jug@sad.it>
8295
8296         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
8297         position otherwise it is wrong in some cases.
8298
8299         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
8300         inside the inset before the call.
8301
8302 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
8303
8304         * buffer.[Ch] (getBibkeyList): make it const.
8305
8306 2002-04-12  Juergen Vigna  <jug@sad.it>
8307
8308         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
8309
8310         * text2.C (getCursorX): new helper function
8311         (setCursor): compute also ix_
8312         (setCursorFromCoordinates): set also ix.
8313
8314         * lyxcursor.h: added ix_ and helper functions.
8315
8316         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8317
8318         * buffer.C (insertStringAsLines): dont break paragraph if the this
8319         paragraph is inside an inset which does not permit it!
8320
8321         * text.C (breakParagraph): honor keepempty flag and break the paragraph
8322         also with no chars on this paragraph.
8323         (paintRowText): only paint stuff if it's inside the workarea!
8324
8325         * paragraph.C (breakParagraph): honor keepempty flag and break the
8326         paragraph always below not above.
8327
8328         * BufferView2.C (unlockInset): update the paragraph layout on inset
8329         unlock as we changed paragraph in such a case.
8330
8331         * lyxfind.C (LyXFind): clear the former selection if not found!
8332
8333         * text2.C (insertInset): freeze Undo after setUndo so that it is not
8334         again called in insertChar().
8335
8336         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8337         an inset which uses the whole row!
8338         (rightMargin): ditto.
8339         (insertChar): force a rebreak if we inserted an inset!
8340
8341 2002-03-28  Herbert Voss  <voss@lyx.org>
8342
8343         * lyxlength.[Ch]: add inBP() to get the right PS-point
8344         units (BigPoint). With inPixels we have rounding errors
8345
8346 2002-04-11  Juergen Vigna  <jug@sad.it>
8347
8348         * text2.C (setCursorFromCoordinates): set iy to the right value.
8349         (setCursor): add check if row->previous exists!
8350
8351         * buffer.C (parseSingleLyXformat2Token): reset font after read of
8352         an old float_type as this was the case in the old code!
8353
8354         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8355
8356         * BufferView2.C (showLockedInsetCursor): use iy
8357         (fitLockedInsetCursor): ditto
8358
8359         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8360         locked insets as there we have the right value now.
8361
8362         * lyxcursor.C: added iy_ variable and iy functions to set to the
8363         baseline of cursor-y of the locked inset.
8364
8365         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8366         (setCursor): fixed for insets which need a full row.
8367
8368         * text.C (rowLastPrintable): don't ignore the last space when before
8369         an inset which needs a full row.
8370         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8371         as last character of a row when before a inset which needs a full row.
8372
8373 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8374
8375         * version.C.in: update date
8376
8377         * text2.C (fullRebreak): try to always return true and see what
8378         happens...
8379
8380 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8381
8382         * MenuBackend.C (expand): use Floating::listName
8383
8384         * FloatList.C (FloatList): add listName argument to the built-in
8385         floats
8386
8387         * Floating.[Ch]: add listName member, which is the 'List of XXX'
8388         text associated with the float.
8389
8390 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8391
8392         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8393
8394 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8395
8396         * ShareContainer.h: add a couple of missing typenames.
8397
8398 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
8399
8400         * lyxrc.C (getDescription): use _() correctly rather than N_().
8401
8402 2002-03-28  Herbert Voss  <voss@lyx.org>
8403
8404         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8405         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8406
8407 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8408
8409         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8410         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8411
8412 2002-03-29  Juergen Vigna  <jug@sad.it>
8413
8414         * lyxfunc.C (dispatch): add a missing fitCursor call.
8415
8416         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8417         it was scrolled by a cursor move, so return the bool status.
8418
8419         * BufferView.C (fitCursor): return the bool flag also to the outside
8420         world as this is needed.
8421
8422         * screen.C (toggleToggle): don't subtract the offset if it's positive.
8423
8424         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8425         call the edit() as it is not needed (and wrong) IMO.
8426         (workAreaButtonPress): set the screen_first variable before evt.
8427         unlock the inset as this may change screen_first and then we have
8428         a wrong y position for the click!
8429
8430 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8431
8432         * MenuBackend.C (expand): another translation that I missed
8433
8434 2002-03-28  Juergen Vigna  <jug@sad.it>
8435
8436         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8437
8438         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8439
8440 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8441
8442         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8443
8444         * MenuBackend.C (expand): fix export/view/update when there is no
8445         document open.
8446
8447 2002-03-27  Herbert Voss  <voss@lyx.org>
8448
8449         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8450         and text%
8451
8452 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8453
8454         * bufferview_funcs.C (currentState): only show paragraph number
8455         for is DEVEL_VERSION is set.
8456
8457         * lyxfunc.C (dispatch): put warning in INFO channel
8458
8459         * MenuBackend.C (expand): translate the name of floats
8460
8461         * FloatList.C (FloatList): mark the float names for translation
8462
8463         * converter.C (convert): use LibScriptSearch
8464
8465 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8466
8467         * MenuBackend.C (defaults): fix default menu (we might as well get
8468         rid of it...)
8469
8470 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8471
8472         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8473         directory.
8474
8475 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8476
8477         * lyxvc.C: reorder includes.
8478
8479 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
8480
8481         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8482           properly
8483
8484 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
8485
8486         * CutAndPaste.C: change layouts earlier on paste
8487           to avoid crashing when calling getFont()
8488
8489 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
8490
8491         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
8492         irritating #error.
8493
8494 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8495
8496         * WorkArea.C: remove 'Pending' debug message.
8497
8498         * most files: ws cleanup
8499
8500         * buffer.[Ch]: ws changes
8501
8502         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
8503
8504 2002-03-21  Juergen Vigna  <jug@sad.it>
8505
8506         * tabular.C (SetMultiColumn): collapse also the contents of the
8507         cells and set the last border right. Added a Buffer const * param.
8508
8509 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8510
8511         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
8512         linking or not.
8513
8514 2002-03-19  Juergen Vigna  <jug@sad.it>
8515
8516         * text2.C (clearSelection): reset also xsel_cache.
8517
8518         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
8519         where it needs to be called (John tells us to do so too :)
8520         (selectionLost): reset sel_cache.
8521
8522         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
8523
8524 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8525
8526         * text2.C (setCursorIntern): put debuging code in INSETS channel
8527
8528 2002-03-19  André Pönitz <poenitz@gmx.net>
8529
8530         * lyxfunc.C: tiny whitespace change
8531
8532 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8533
8534         * ToolbarDefaults.C (init):
8535         * LyXAction.C (init):
8536         * commandtags.h:
8537         * BufferView_pimpl.C (Dispatch):
8538         * lyxfunc.C (dispatch): remove LFUN_DEPTH
8539
8540 2002-03-19  Allan Rae  <rae@lyx.org>
8541
8542         * exporter.C (Export): removeAutoInsets before doing anything else.
8543         While I've just introduced a dependency on BufferView this really is
8544         the best place to clean the buffer otherwise you need to cleanup in
8545         a dozen places before calling export or cleanup in a dozen functions
8546         that export calls.
8547
8548         * converter.C (runLaTeX):
8549         (scanLog): Better handling of removeAutoInsets and screen updates.
8550
8551         * lyxfunc.C (dispatch): small whitespace changes
8552
8553 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8554
8555         * WorkArea.C (C_WorkAreaEvent): return a value.
8556         (event_cb): return 1 if we handled the event, 0 otherwise.
8557
8558         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
8559
8560 2002-03-18  Juergen Vigna  <jug@sad.it>
8561
8562         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
8563         (GetAdditionalWidth): ditto.
8564         (RightLine): ditto.
8565         (LeftLine): ditto.
8566
8567         * BufferView2.C (copy): use getLyXText() so that we do it inside an
8568         inset if we're there actually (probably not used right now but this
8569         is the direction to go for unifying code).
8570         (paste): disable code to clear the selection.
8571
8572         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
8573         inside an InsetText and move the check further up as it is in the
8574         wrong place.
8575
8576         * text2.C (pasteSelection): set a selection over the pasted text.
8577
8578 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
8579
8580         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
8581         and libgraphics to build on Cygwin.
8582
8583 2002-03-15  Juergen Vigna  <jug@sad.it>
8584
8585         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
8586         inserting an Inset into the paragraph. I know this is not the best
8587         fix but we already use current_view in CutAndPaste so we will remove
8588         all of it's using at the same time.
8589
8590         * buffer.C (sgmlError): deactivated function till it is rewritten in
8591         the right mode, now it can create problems.
8592
8593         * paragraph.C (isLineSeparator): check if getInset returns != 0,
8594         before accessing it.
8595
8596 2002-03-14  Juergen Vigna  <jug@sad.it>
8597
8598         * undo_funcs.C (textHandleUndo): do the right thing when updating
8599         the inset after the undo/redo.
8600
8601         * text2.C (setCursor): just some testcode for #44 not ready yet.
8602
8603         * undo_funcs.C (textHandleUndo): set the next() and previous()
8604         pointers of the paragraph to 0 before deleting otherwise we have
8605         problems with the Paragraph::[destructor].
8606
8607         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
8608         on a paragraph insertion.
8609
8610 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8611
8612         * buffer.C (asciiParagraph): use += operator for char append to
8613         string.
8614
8615         * paragraph.C (getFontSettings): compare >= not just >
8616         (highestFontInRange): ditto
8617         (setFont): ditto
8618
8619 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8620
8621         * paragraph.C: change several algorithm to be more appripriate for
8622         the problem domain. This is lookip in FontList and in the InsetList.
8623
8624 2002-03-13  André Pönitz <poenitz@gmx.net>
8625
8626         * commandtags.h:
8627         * LyXAction.C: remove unused LFUN_MATH_MACROARG
8628
8629 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
8630
8631         * commandtags.h:
8632         * LyXAction.C:
8633         * lyxfunc.C:
8634         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
8635
8636 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8637
8638         * Painter.C (display): anon helper function, adjust code for this
8639         change.
8640         (pixmap): remove function.
8641
8642         * Painter.h: remove private display variable.
8643
8644         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
8645
8646 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
8647
8648         * WorkArea.[Ch]: remove figinset_canvas cruft.
8649
8650 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8651
8652         * lyxtextclass.C (operator): add one item cache optimization.
8653
8654         * bufferlist.h: doxy changes
8655
8656         * bufferlist.C: ws changes
8657
8658         * DepTable.[Ch] (ext_exist): place const in the right spot.
8659
8660         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
8661         call resizeInsets.
8662         (workAreaExpose): call resizeInsets when the with BufferView changes.
8663         (Dispatch): adjust for protectedBlank removal
8664         (specialChar): call updateInset if the insert went ok.
8665
8666         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
8667         specialChar instead.
8668
8669         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
8670
8671         * BufferView.h: doxy change
8672
8673         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
8674
8675         * lyxtextclass.C (operator[]): remove non-const version
8676         (defaultLayout): remove non-const version
8677
8678 2002-03-12  Juergen Vigna  <jug@sad.it>
8679
8680         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
8681         did resize the LyXText too.
8682
8683         * buffer.C (readLyXformat2): set layout information on newly allocated
8684         paragraphs.
8685
8686         * tabular.C (OldFormatRead): set layout information on the paragraph.
8687
8688 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8689
8690         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
8691
8692 2002-03-11  Juergen Vigna  <jug@sad.it>
8693
8694         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
8695         plainly wrong.
8696         (resizeCurrentBuffer): force also the insets to resize themselfes.
8697         (moveCursorUpdate): fixed up for InsetText.
8698
8699 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
8700
8701         * commandtags.h:
8702         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
8703         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
8704         value of Dialogs::tooltipsEnabled().
8705         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
8706
8707 2002-03-08  Juergen Vigna  <jug@sad.it>
8708
8709         * BufferView_pimpl.C (updateInset): update inset inside inset also
8710         if it isn't inside theLockingInset().
8711
8712 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8713
8714         * buffer.C (asciiParagraph): redo some of the word and line length
8715         handling.
8716         (getLists): look for Caption instead of caption.
8717
8718 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8719
8720         * buffer.C (Buffer): initialize niceFile to true
8721         (makeLaTeXFile):
8722         (makeLinuxDocFile):
8723         (makeDocBookFile): make sure niceFile is true on exit
8724
8725 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8726
8727         * buffer.C (makeLaTeXFile): escape ~ in \input@path
8728
8729 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
8730
8731         * LyXSendto.C: remove.
8732         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
8733         * lyx_gui.C: remove now-redundant comment.
8734         * ColorHandler.h: remove forward declaration of class WorkArea.
8735         * lyxfunc.C: remove #include "WorkArea.h".
8736
8737 2002-03-07  Juergen Vigna  <jug@sad.it>
8738
8739         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
8740         got moved away with the DEPM and also set the inset_owner always
8741         right which before could have been omitted.
8742
8743 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8744
8745         * buffer.C (parseSingleLyXformat2Token): use default layout is the
8746         wanted layout is not found.
8747
8748 2002-03-07  Juergen Vigna  <jug@sad.it>
8749
8750         * CutAndPaste.C (cutSelection): another layout settings forgotten.
8751
8752 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8753
8754         * paragraph.C (breakParagraph): use default layout not layout of
8755         prev paragraph.
8756         (Paragraph): clear ParagraphParameters.
8757
8758 2002-03-06  Juergen Vigna  <jug@sad.it>
8759
8760         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
8761         otherwise it would not be a valid lenght. Fixed a special case in
8762         the minipage compatibility read where we end the document with a
8763         minipage.
8764
8765         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
8766         was set as it could be 0 for InsetTexts first entry.
8767
8768 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8769
8770         * paragraph.C (writeFile): if layout is empty write out
8771         defaultLayoutName().
8772
8773         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
8774         file without named layout we set layout to defaultLayoutName().
8775
8776 2002-03-06  Juergen Vigna  <jug@sad.it>
8777
8778         * CutAndPaste.C (copySelection): set layout for new paragraph.
8779
8780         * text.C (prepareToPrint): leave ERT inset left aligned
8781         (leftMargin): don't indent paragraphs inside ERT insets
8782
8783 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8784
8785         * paragraph.C (breakParagraph): dont call clear do the work manually
8786
8787         * paragraph.[Ch] (clear): remove function
8788
8789 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8790
8791         * paragraph.C (Paragraph): dont call clear, the work has already
8792         been done.
8793
8794         * lyxtextclass.C (operator): assert if n is empty
8795
8796         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
8797         work manually instead.
8798
8799 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
8800
8801         * BufferView_pimpl.C: protect selectionLost against text == 0
8802
8803 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8804
8805         * text.C (breakParagraph): fix a setting layout to '0' problem.
8806
8807 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8808
8809         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
8810         final location of file, for the included files, and graphics.
8811
8812 2002-03-05  Juergen Vigna  <jug@sad.it>
8813
8814         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
8815
8816 2002-03-04  Juergen Vigna  <jug@sad.it>
8817
8818         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
8819
8820         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
8821         last column of multicolumn cells.
8822         (SetWidthOfMulticolCell): recalculate NMC and real columns.
8823
8824 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8825
8826         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
8827         file if it doesn't go to a temporary file.
8828
8829         * buffer.C (sgmlOpenTag):
8830         (sgmlCloseTag):  remove extra newline insertion.
8831
8832 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8833
8834         * text.C (getRowNearY): comment out debug msg
8835
8836 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8837
8838         * text2.C: first -> first_y
8839
8840         * text.C (getRowNearY): add some attemts at a possible
8841         optimization, not working.
8842
8843         * tabular.[Ch]: add BufferParams to several function so that newly
8844         created paragraph can be initialized to he default layotu for the
8845         buffers textclass.
8846
8847         * tabular-old.C (ReadOld): add buf->params to call of Init
8848
8849         * screen.C: rename text->first to text->first_y
8850
8851         * paragraph.C (breakParagraph): always set layout in the broken
8852         paragraph
8853
8854         * lyxtextclass.C (Read): remove lowercase
8855         (hasLayout): ditto
8856         (operator): ditto
8857         (delete_layout): ditto
8858
8859         * lyxtext.h: rename first -> first_y
8860
8861         * lyxlayout.C (Read): remove lowercase
8862         (name): ditto
8863         (setName): ditto
8864         (obsoleted_by): ditto
8865
8866         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
8867
8868         * buffer.C (insertErtContents): add params are to InsetERT
8869         (parseSingleLyXformat2Token): add code to check if a paragraphs
8870         layout really exist.
8871         (parseSingleLyXformat2Token): add params to several inset
8872         constructors
8873         (asciiParagraph): remove lowercase, do the layout comparisons with
8874         no_case
8875
8876         * BufferView_pimpl.C (cursorNext): first -> first_y
8877         (resizeCurrentBuffer): first -> first_y
8878         (updateScrollbar): first -> first_y
8879         (scrollCB): first -> first_y
8880         (workAreaMotionNotify): first -> first_y
8881         (workAreaButtonPress): first -> first_y
8882         (checkInsetHit): first -> first_y
8883         (cursorPrevious): first -> first_y
8884         (cursorNext): first -> first_y
8885         (Dispatch): add buffer_->params to severl inset contructors
8886
8887 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8888
8889         * lyxlayout.C (Read): remove some debug info that I forgot.
8890
8891         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
8892         clean up the code slightly.
8893         (makeLinuxDocFile): ditto
8894         (makeDocBookFile): ditto
8895
8896         * text2.C: layout as string
8897
8898         * text.C: layout as string
8899
8900         * paragraph_pimpl.C: layout as string
8901
8902         * paragraph.[Ch]: layout as string
8903
8904         * lyxtextclasslist.[Ch]: layout as string
8905
8906         * lyxtextclass.[Ch]: layout as string
8907
8908         * lyxtext.h: layout as string
8909
8910         * lyxlayout.[Ch]: layout as string
8911
8912         * lyx_cb.C: layout as string
8913
8914         * bufferview_funcs.C: layout as string
8915
8916         * bufferparams.C: layout as string
8917
8918         * buffer.C: layout as string
8919
8920         * LyXView.[Ch]: layout as string
8921
8922         * LaTeXFeatures.[Ch]: layout as string
8923
8924         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
8925
8926         * BufferView_pimpl.C: change current_layout to string, remove
8927         lyx::layout_type.
8928         (Dispatch):
8929         (smartQuote):
8930         (insertInset):
8931         (workAreaButtonRelease): layout as string
8932
8933         * BufferView2.C (unlockInset): adjust
8934
8935         * vspace.C (asLatexCommand): use an explict temp variable.
8936
8937 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
8938
8939         * Makefile.am: use FRONTEND_*
8940
8941 2002-03-01  Juergen Vigna  <jug@sad.it>
8942
8943         * tabular.C (SetWidthOfMulticolCell): changed to something better
8944         I hope but still work in progress.
8945         (recalculateMulticolumnsOfColumn): renamed function from
8946         recalculateMulticolCells as it is more appropriate now.
8947         (SetWidthOfCell): calculate multicols better.
8948
8949 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8950
8951         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
8952
8953         * lyxfunc.C (processKeySym): print sequence also if it is
8954         `deleted' (complete)
8955
8956         * kbsequence.C (print): print sequence even if it is deleted
8957         (complete would be a better word, actually).
8958
8959         * lyxfunc.C (dispatch): print complete options after a prefix key
8960
8961         * vspace.C (asLatexCommand): rewrite in a slightly different form.
8962
8963 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
8964
8965         * text2.C (setCharFont): eliminate setCharFont code duplication.
8966
8967 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8968
8969         * BufferView_pimpl.C (Dispatch): remove bogus handling of
8970         LFUN_TABULAR_FEATURE (bug #177)
8971
8972 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
8973
8974         * Makefile.am: remove figure.h
8975
8976 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
8977
8978         * Bufferview_pimpl.C:
8979         * CutAndPasteC:
8980         * LaTeX.C:
8981         * LyXSendto.C:
8982         * buffer.C:
8983         * bufferlist.C:
8984         * converter.C:
8985         * language.C:
8986         * lyxfunc.C:
8987         * lyxvc.C:
8988         * paragraph.C:
8989         * text.C:
8990         * text2.C: remove #include "lyx_gui_misc.h".
8991
8992         * LaTeX.C: added #include <cstdio>
8993
8994 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8995
8996         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
8997         that the paragraph following this one can have.
8998
8999         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9000
9001         * vspace.C (asLatexCommand): fix bogus gcc warning
9002
9003         * Makefile.am (lyx_SOURCES): remove vms_defines.h
9004
9005 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
9006
9007         * text2.C (setLayout): get rid of redundant code
9008
9009 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
9010
9011         * text2.C (incDepth): make sure depth cannot be increased beyond
9012         reasonable values.
9013
9014 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
9015
9016         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9017         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9018
9019         * PainterBase.h (image):
9020         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9021         a LyXImage const *.
9022
9023 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9024
9025         * BufferView.C:
9026         * BufferView.h:
9027         * BufferView_pimpl.C:
9028         * BufferView_pimpl.h:
9029         * LaTeXFeatures.C:
9030         * LyXAction.C:
9031         * LyXView.C:
9032         * Makefile.am:
9033         * UpdateList.h:
9034         * UpdateList.C:
9035         * buffer.C:
9036         * figure.h:
9037         * figureForm.C:
9038         * figureForm.h:
9039         * figure_form.C:
9040         * figure_form.h:
9041         * lyx_cb.C:
9042         * lyx_gui.C:
9043         * lyx_gui_misc.C:
9044         * lyxfunc.C:
9045         * sp_base.h:
9046         * sp_ispell.h:
9047         * sp_pspell.h:
9048         * sp_spell.C: remove fig inset, and the crap house of
9049           cards that follows it
9050
9051 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9052
9053         * Makefile.am:
9054         * lyxserver.C:
9055         * os2_defines.h:
9056         * os2_errortable.h:
9057         * nt_defines.h: move .h into support/
9058
9059         * vms_defines.h: remove
9060
9061         * WorkArea.C: add space in debug output
9062
9063         * text2.C:
9064         * paragraph.C:
9065         * buffer.C: add WITH_WARNINGS
9066
9067         * vc-backend.h:
9068         * vc-backend.C:
9069         * bufferlist.C: s/retrive/retrieve/, add docs
9070
9071         * vspace.h:
9072         * vspace.C:
9073         * kbmap.h:
9074         * lyxlength.h:
9075         * lyxgluelength.h:
9076         * length_common.h:
9077         * chset.h:
9078         * chset.C: add docs
9079
9080         * lyxgui.C: add ID to X error handler
9081
9082         * lyxtestclass.c: fix typo
9083
9084 2002-02-26  Juergen Vigna  <jug@sad.it>
9085
9086         * tabular_funcs.C (write_attribute): changed so that some default
9087         attributes are not written at all.
9088         (getTokenValue): set default values before trying to read the
9089         value so we have the return value always set as default if we don't
9090         find the token we search for.
9091
9092         * tabular.C (Write): write bools as bools not as strings!
9093
9094 2002-02-22  Juergen Vigna  <jug@sad.it>
9095
9096         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9097         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9098
9099         * text.C (leftMargin): don't add an indent for paragraphs inside
9100         tabular cells (fix #208).
9101
9102 2002-02-21  José Matos  <jamatos@fep.up.pt>
9103
9104         * tabular.C (docBook): fixed support for long tables.
9105
9106 2002-02-20  Juergen Vigna  <jug@sad.it>
9107
9108         * text2.C (getFont): get the drawing font of the Inset if this
9109         paragraph is inside an inset (only important for InsetERT for now).
9110
9111         * buffer.C (insertErtContents): use new lanugage params in ERT
9112         constructor.
9113
9114         * CutAndPaste.C: commenting out seemingly uneeded code.
9115
9116 2002-02-19  Allan Rae  <rae@lyx.org>
9117
9118         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9119         Iterators might be simple to use but they also get invalidated.
9120         (removeAutoInsets): renamed saved cursor tracking variables and added
9121         some comments to clarify what everything does.
9122
9123 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
9124
9125         * Chktex.C:
9126         * LaTeX.C:
9127         * LyXSendto.C:
9128         * converter.C:
9129         * lyx_cb.C:
9130         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9131         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9132
9133         * lyxfunc.C:
9134         * vc-backend.h: remove #include "support/syscall.h"
9135
9136         * LaTeX.C:
9137         * LyXSendto.C:
9138         * converter.C: rearrange #includes in Lars' approved fashion.
9139
9140         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9141         forward declare class Timeout in the header file.
9142
9143         * XFormsView.C: changes due to the above.
9144
9145         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9146         similar to LyXView.
9147
9148         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9149         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9150
9151 2002-02-18  José Matos  <jamatos@fep.up.pt>
9152
9153         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9154         insets contents.
9155
9156 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
9157
9158         * a lot of small ws changes
9159         * add a lot of using std::XXX
9160         * use std construcs some places where approp.
9161         * use some exisint stuff from lyxfunctional where approp.
9162         * Make file changes to use partial linking (lets test this now...)
9163
9164 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9165
9166         * Chktex.C:
9167         * buffer.C:
9168         remove #include "support/syscontr.h" as it's redundant. Always has been.
9169
9170         * Chktex.C:
9171         * LaTeX.C:
9172         * LyXSendto.C:
9173         * converter.C:
9174         * lyx_cb.C:
9175         * vc-backend.C:
9176         change Systemcalls::System to Systemcalls::Wait and
9177         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9178         No change of functionality, just reflects the stripped down Systemcalls
9179         class.
9180
9181 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9182
9183         * debug.[Ch]: add a GRAPHICS type to the enum.
9184
9185 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9186
9187         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9188
9189         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9190         there is an inset.
9191
9192 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9193
9194         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9195         match the changes below.
9196
9197         * text2.C (toggleInset): if there is not editable inset at cursor
9198         position, try to see if cursor is _inside_ a collapsable inset
9199         and close it.
9200
9201 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9202
9203         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9204         document menu has a nice checkbox
9205
9206 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9207
9208         * lyxlength.C (asLatexString): change PW to output as percent of
9209         \textwidth.
9210
9211         * lengthcommon.C: change '%' to 't%'
9212
9213         * lyxfunc.C (dispatch): a few comments from Martin
9214
9215 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
9216
9217         * WorkArea.h:
9218         * WorkArea.C:
9219         * BufferView_pimpl.h:
9220         * BufferView_pimpl.C: clear our selection when X tells us we've lost
9221           the X selection.
9222
9223 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9224
9225         * vspace.C (inPixels): fix compiler warning
9226
9227 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9228
9229         * lyxfunc.C (getStatus): fix status message for disabled commands.
9230
9231 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
9232
9233         * BufferView_pimpl.C: fix crash on close buffer
9234         during selection (#227)
9235
9236 2002-01-27  Herbert Voss  <voss@lyx.org>
9237
9238         * buffer.C: link old Figure to new graphic inset
9239
9240 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
9241
9242         * FontLoader.C (getFontinfo): Change the latex font names in order
9243         to match the names of type1inst.
9244
9245 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9246
9247         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
9248
9249         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
9250         (extchanged): ditto
9251         (ext_exist): ditto
9252         (remove_files_with_extension): ditto
9253         (remove_file): ditto
9254         (write): ditto
9255
9256         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
9257         document is smaller than the work area height. Do not initialize
9258         static variables to 0.
9259
9260 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9261
9262         * lyx_gui.C (init): give the toolbar tooltips a normal font.
9263
9264         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
9265         LFUN_LAYOUT_PARAGRAPHS.
9266
9267         * tabular.C (GetCellFromInset): new method. Finds an inset in a
9268         tabular. It is possible to provide a possible cell, which will
9269         typically be the actcell from the corresponding insettabular
9270
9271         * lyxfunc.C (getStatus): small cleanup; disable
9272         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
9273         true
9274
9275 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9276
9277         * tabular.C (Validate): remove broken optimization (fixes bug #201)
9278
9279         * paragraph.C (startTeXParParams):
9280         (endTeXParParams): new methods. The LaTeX code to
9281         start/end paragraph formatting
9282         (simpleTeXOnePar): call startTeXParParams also when paragraph is
9283         empty (fixes bug #200)
9284
9285         * vspace.C (inPixels): adapt to the change below
9286         (inPixels): [later] more cleanups (remove unused variables)
9287
9288         * lyxlength.C (inPixels): change to use a width and a height as
9289         parameter.
9290
9291 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9292
9293         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
9294         Replaced with \paperwidth
9295
9296         * DepTable.C (insert): add std:: qualifier
9297
9298 2002-01-18  Allan Rae  <rae@lyx.org>
9299
9300         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
9301         updated also?
9302
9303         * text.C (drawInset): Turned out I didn't know enough about how
9304         rebreaking worked.  This fixes most of the redraw problems.  I see
9305         an occasional cursor trail when a line is broken now and the cursor
9306         placement can seem out by a few pixels also after a rebreak.
9307
9308 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9309
9310         * buffer.C (parseSingleLyXformat2Token): update because minipage
9311         width is now a LyXLength
9312
9313         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9314
9315         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9316         math insets
9317
9318 2002-01-17  Juergen Vigna  <jug@sad.it>
9319
9320         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9321
9322         * BufferView2.C (lockInset): call edit() so that theLockingInset()
9323         is set correctly and the inset is updated correctly.
9324
9325 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9326
9327         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
9328         the beginning of the loop.
9329
9330 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
9331
9332         * lyxrc.C: improve help for use_scalable_fonts
9333
9334 2002-01-17  Allan Rae  <rae@lyx.org>
9335
9336         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9337
9338 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9339
9340         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9341         make sure to set their inset_owner to the right value (bug #171)
9342
9343 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
9344
9345         * DepTable.h
9346         * DepTable.C: Implement mtime checking to reduce time spent doing
9347         CRCs.
9348
9349 2002-01-16  Juergen Vigna  <jug@sad.it>
9350
9351         * tabular.C (GetAdditionalHeight): one of error fixed.
9352
9353         * lyxrc.C (output): small fix in writing use_pspell.
9354
9355 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
9356
9357         * sp_base.h: #include LString.h
9358
9359 2002-01-16  Allan Rae  <rae@lyx.org>
9360
9361         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
9362         Can someone check this please?
9363
9364         * text.C (drawInset): It was possible that p.row would be removed by
9365         breakAgainOneRow upsetting a few other settings.  There may be another
9366         small tweak possible by setting need_break_row = 0 when p.row has been
9367         removed but I don't know enough about the logic here.
9368
9369 2002-01-15  Allan Rae  <rae@lyx.org>
9370
9371         * text.C (insertChar): removed conditional truism.
9372
9373         * BufferView2.C (removeAutoInsets): More tweaks.
9374         cur_par_prev could be a stray pointer.  Check for trailing empty line
9375         in case last line was cur_par and only had an error inset on it.
9376
9377 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9378
9379         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9380         absolute
9381
9382         * vc-backend.C (most methods):
9383         * exporter.C (Export):
9384         * converter.C (convert):
9385         (runLaTeX):
9386         * LyXSendto.C (SendtoApplyCB):
9387         * lyxfunc.C (dispatch):
9388         (menuNew):
9389         (open):
9390         (doImport):
9391         * lyx_cb.C (AutoSave):
9392         (InsertAsciiFile):
9393         * BufferView_pimpl.C (MenuInsertLyXFile):
9394         * buffer.C (runChktex): use Buffer::filePath().
9395
9396         * buffer.h: rename filename to filename_; rename filepath to
9397         filepath_ and make it private
9398         (filePath): new method
9399
9400         * buffer.C (writeFile): use fileName()
9401         (getLatexName):
9402
9403         * lyx_main.C (init): fix starting  of LyX when the binary is a
9404         link from so,ewhere else.
9405
9406         * minibuffer.C: include <cctype> for isprint
9407
9408 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9409
9410         * buffer.C (parseSingleLyXformat2Token): changes associated with the
9411         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9412         name clash with InsetCollapsable's width function.
9413
9414 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9415
9416         * lastfiles.C: include <iterator>
9417
9418 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9419
9420         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9421         std::count.
9422
9423         * buffer.C (makeLaTeXFile): ditto.
9424         Also make loop operation more transparent.
9425
9426 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9427
9428         * ToolbarDefaults.C: remove trailing comma closing namespace.
9429
9430         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9431
9432         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9433         as in WorkArea.
9434
9435         * trans.C (Load): comment out unused variable, allowed.
9436
9437 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9438
9439         * minibuffer.[Ch] (append_char): new method to recieve input from the
9440         drop-down completion browser. If a key was pressed, then recieve this
9441         char and append it to the existing string.
9442         (peek_event): modify the positioning data passed to the completion
9443         browser so that it can be placed above the minibuffer rather than below.
9444 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9445
9446         * LyXAction.C (init): alloe error-next for readonly documents.
9447
9448         * BufferView2.C (ChangeRefsIfUnique): use standard version of
9449         count.
9450
9451 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9452
9453         * bufferlist.C (readFile): create the buffer _after_ checking that
9454         the file exists.
9455
9456         * lyxfunc.C (verboseDispatch): fix handling of arguments
9457
9458         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9459
9460         * lyxrc.C: use string::erase() instead of initializing to "".
9461
9462
9463 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9464
9465         * BufferView_pimpl.h:
9466         * BufferView_pimpl.C:
9467         * WorkArea.h:
9468         * WorkArea.C:
9469         * text2.C: tell X when we have made a selection for copying
9470
9471 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9472
9473         * BufferView_pimpl.C (MenuInsertLyXFile):
9474         * lyxfunc.C (menuNew):
9475         (open):
9476         (doImport): add shortcuts to directory buttons
9477
9478         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9479         open a float)
9480
9481         * lyxfunc.C (setStatusMessage):
9482         (getStatusMessage): new methods
9483         (getStatus):use setStatusMessage instead of setErrorMessage
9484         (dispatch): when function is disabled, set error message here
9485         [instead of in getStatus previously]
9486
9487         * BufferView_pimpl.C (workAreaButtonRelease): update
9488         toolbar/menubar here too.
9489
9490 2002-01-13  Allan Rae  <rae@lyx.org>
9491
9492         * BufferView2.C (removeAutoInsets): finished off earlier fix.
9493         Now seems indestructible.  Remaining task is to audit all other
9494         code affected by deleteEmptyParagraphMechanism.  One small quirk
9495         left is that an empty document with an error in the preamble can
9496         be made to report an error but no error box appears.  I don't know
9497         where it goes.
9498         (removeAutoInsets): Improved comments.
9499
9500 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
9501
9502         * Thesaurus.h:
9503         * Thesaurus.C: update for Aiksaurus 0.14
9504
9505 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9506
9507         * text2.C (firstParagraph): removed member function, all uses
9508         replaces with ownerParagraph
9509         (redoParagraphs): here
9510         (updateInset): here
9511         (toggleAppendix): here
9512         * BufferView2.C (insertErrors): here
9513         (setCursorFromRow): here
9514
9515 2002-01-13  Allan Rae  <rae@lyx.org>
9516
9517         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
9518         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
9519         There is still a way to segfault this although you may have to do this
9520         multiple times: Have an InsetERT with an unknown command in it.
9521         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
9522         <down-arrow>, <Enter> again, View->DVI, BANG!
9523
9524         * text2.C (setCursor):
9525         (deleteEmptyParagraphMechanism):
9526         * lyxtext.h (setCursor):
9527         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
9528         Making use of the return value may help fix other bugs.
9529
9530 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9531
9532         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
9533
9534         * LyXView.C (updateMenubar): call MenuBar::update here
9535         (updateToolbar): but not here
9536         (showState): do not update toolbar/menubar
9537
9538         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
9539         should need to care about that.
9540
9541         * lyxfunc.C (verboseDispatch): simplify a bit
9542         (getStatus): have a version which takes a pseudoaction, and
9543         another which requires a (kb_action,string).
9544
9545         * LyXAction.C (retrieveActionArg): make it work also when action
9546         is not a pseudo-action.
9547         (getActionName): simplify a bit
9548         (helpText):
9549
9550 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9551
9552         * lyxfunc.C (verboseDispatch): new families of methods with
9553         several ways to specify a command and a bool to indicate whether
9554         the command name and shortcut should be displayed in minibuffer
9555         (eventually, we could extend that to a finer bitmask like
9556         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
9557         (dispatch): the pristine dispatch command which just, well,
9558         dispatchs! Note it still sets its result to minibuffer; I'm not
9559         sure we want that.
9560
9561         * lyxfunc.h: remove setHintMessage
9562
9563         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
9564
9565 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9566
9567         * BufferView_pimpl.C (specialChar): delete new inset if we have
9568         not been able to insert it.
9569
9570         * kbmap.C: revert to using int instead of kb_action, since all we
9571         are dealing with is pseudo-actions.
9572
9573         * LyXAction.C (searchActionArg): change to return int instead of
9574         kb_action, since the result is a pseudoaction.
9575
9576 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
9577
9578         * buffer.C (insertErtContents): Fix (partially) the font bug.
9579
9580 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9581
9582         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
9583         as the other one is broken on my machine!
9584
9585 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
9586
9587         * commandtags.h:
9588         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
9589
9590 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
9591
9592         * lyxrc.[Ch]: change names and descriptions of popup font variables to
9593         reflect their actual use. Provide compatibility code for older lyxrc
9594         files.
9595
9596         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
9597         FL_NORMAL_STYLE.
9598         change names of popup font variables in line with the changes to lyxrc.C
9599
9600 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9601
9602         * buffer.C (asciiParagraph): avoid outputing a word twice after
9603         an inset.
9604
9605         * lyxrc.C (getDescription): document that document_path and
9606         template_path can be empty.
9607
9608 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9609
9610         * LaTeXFeatures.C (getMacros):
9611         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
9612
9613         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
9614
9615         * LaTeXFeatures.C (useFloat): require "float" here instead of in
9616         getPackages.
9617         (getPackages): rename feature "floats" to "float". Use an array to
9618         iterate over 'simple' features (i.e. just a \usepackage). Add
9619         handling of "amsmath" (renamed from "amsstyle").
9620
9621 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
9622
9623         * LaTeXFeatures.C (require): Prevent duplicate entries in the
9624         features list.
9625
9626 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
9627
9628         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
9629         FuncStaus::FuncStatus & FuncStaus::some_method().
9630
9631 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
9632
9633         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
9634         of the func_satus stuff. Edited and massaged in various ways by
9635         JMarc.
9636
9637         * lyxfunc.C (getStatus): use FuncStatus
9638
9639 2002-01-08  Juergen Vigna  <jug@sad.it>
9640
9641         * text.C (nextBreakPoint): use function Inset::isChar().
9642
9643         * paragraph.C (TeXOnePar): use function
9644         Inset::forceDefaultParagraphs.
9645
9646         * buffer.C (latexParagraphs): use function
9647         Inset::forceDefaultParagraphs.
9648
9649 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9650
9651         * lyx_gui.C (init): set the style of the menu popups to
9652         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
9653
9654 2002-01-07  Juergen Vigna  <jug@sad.it>
9655
9656         * text.C (setHeightOfRow): small fix
9657         (prepareToPrint): don't look at alignment if we don't have the place
9658         for doing it.
9659
9660 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9661
9662         * box.C: New file. Move the Box methods and functions out of box.h,
9663         following Lars' suggestion.
9664
9665 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9666
9667         * box.h: #include "support/LOstream.h", needed for inlined function.
9668
9669         * lyxtextclass.C:
9670         * lyxtextclasslist.C: added some using std declarations.
9671
9672 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
9673
9674         * box.h: make signed dimensions to allow insets wider than
9675           the screen (bug #162)
9676
9677         * BufferView_pimpl.C: add some insetHit debug
9678
9679 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
9680
9681         * vc-backend.C: add FIXME
9682
9683 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9684
9685         * lyxfunc.C (getStatus): enable code for showing math font status
9686         in toolbar/menu.
9687
9688 2002-01-07  Juergen Vigna  <jug@sad.it>
9689
9690         * text.C (nextBreakPoint): removed debug output not needed anymore.
9691
9692 2002-01-06  Juergen Vigna  <jug@sad.it>
9693
9694         * text.C (nextBreakPoint): fixed up this function we had this bug
9695         since ever but now hopefully we break row better.
9696         (insertChar): we have to check if an inset is the next char as it
9697         could now happen that a large inset is causing a break.
9698
9699 2002-01-05  Juergen Vigna  <jug@sad.it>
9700
9701         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
9702         if it doesn't like to be drawed.
9703
9704 2002-01-04  Juergen Vigna  <jug@sad.it>
9705
9706         * BufferView2.C (lockInset): forgot to set a cursor.
9707
9708         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
9709
9710 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
9711
9712         * FormMathsPanel.C:
9713         * FormMathsPanel.h
9714         * MathsSymbols.C:
9715         * form_maths_panel.C:
9716         * form_maths_panel.h:
9717         * form_maths_panel.fd: implemented sub- and super- buttons in math
9718         panel.
9719
9720         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
9721         (or ^ space) to be used as in TeX (req'd by André).
9722
9723         * lyxfunc.C: Allow ^ and _ again to be used both as
9724         super/subscript (mathed) and as themselves (in text).
9725
9726 2002-01-03  Allan Rae  <rae@lyx.org>
9727
9728         * LyXView.C (updateWindowTitle): Setup a short icon title of either
9729         "LyX" or the filename of the current buffer if it has one.  This is a
9730         modified form of John Levon's patch.
9731
9732         * XFormsView.C (setWindowTitle): also set icon title.
9733
9734         * LyXView.h (setWindowTitle): signature changed.
9735         * XFormsView.h (setWindowTitle): ditto.
9736
9737 2002-01-02  Juergen Vigna  <jug@sad.it>
9738
9739         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
9740
9741 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9742
9743         * screen.C (topCursorVisible): introduce a temp var for
9744         text->cursor.row(), handle the case where this row is null. (kindo
9745         hachish)
9746
9747         * text2.C (setCursor): add a couple of asserts.
9748
9749         * paragraph.h (inset_iterator): add -> operator
9750
9751         * paragraph.[Ch] (autoDeleteInsets): remove member function
9752
9753         * BufferView2.C (removeAutoInsets): rewrite to handle the old
9754         cursor pos correctly and handle inset deletion by itself.
9755         (insertErrors): move iterator declaration out of for expression
9756
9757         * lyxtextclass.C: add <algorithm>
9758
9759         * Makefile.am: added the new files to sources, removed layout.C
9760
9761         * layout.C: removed file
9762
9763         * layout.h: remove LYX_DUMMY_LAYOUT
9764
9765         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
9766         layout.
9767
9768         * lyxlayout.[Ch]:
9769         * lyxtextclass.[Ch]:
9770         * lyxtextclasslist.[Ch]: new files
9771
9772         * include order changes to a lot of files, also changes because of
9773         the six new files.
9774
9775 2001-12-27  Juergen Vigna  <jug@sad.it>
9776
9777         * buffer.C (asciiParagraph): more fixes.
9778
9779         * tabular.C (ascii): make ascii export support export of only the
9780         data separated by a column-delimiter.
9781         (ascii): better support for ascii export.
9782
9783         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
9784
9785 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9786
9787         * tabular_funcs.C: use a "using std::getline" instead of the
9788         previous fix from Angus (necessary for cxx + lyxstring)
9789
9790 2001-12-24  Juergen Vigna  <jug@sad.it>
9791
9792         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
9793
9794         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
9795         problems. First check a minipage also if we have some ert-contents
9796         (not only on par->size(), second set the right depth of the paragraph
9797         on the relink to the root-paragraph-list!
9798
9799         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
9800         which then did not anymore update the main paragraphs on undo/redo!
9801
9802 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9803
9804         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
9805         code. Support all font-changing funcs (even those which are not in
9806         menu currently). Support for reporting font settings in
9807         mathed (disabled until Andre provides a function on mathed's side).
9808
9809         * func_status.h (toggle): small helper function to set toggle
9810         state on a flag.
9811
9812 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
9813
9814         * tabular_funcs.C: getline -> std::getline
9815
9816 2001-12-21  Juergen Vigna  <jug@sad.it>
9817
9818         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
9819         accessed and could be 0 (I couldn't generate this but it seems
9820         Michael could!).
9821
9822 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9823
9824         * tabular_funcs.C: add LIstream.h, move write_attribute to..
9825         * tabular_funcs.h: here and include iosfwd
9826
9827 2001-12-20  Juergen Vigna  <jug@sad.it>
9828
9829         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
9830         inside inset but undo_par was.
9831
9832 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9833
9834         * Thesaurus.C: always include <config.h> in sources.
9835
9836         * Painter.h:
9837         * lyxlookup.h:
9838         * box.h: do not include <config.h> in header files
9839
9840         * text.C (paintLastRow): remove unused variable
9841
9842         * text.C (transformChar):
9843         (insertChar):
9844         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
9845
9846         * Painter.C (text):
9847         * font.C (width): rewrite to use uppercase() instead of
9848         islower/toupper.
9849
9850         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
9851
9852 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
9853
9854         * lyxfind.C: clean up of find failure position change
9855
9856 2001-12-20  Juergen Vigna  <jug@sad.it>
9857
9858         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
9859
9860         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
9861         (TeXRow): added to LaTeX a single tabular row.
9862         (TeXLongtableHeaderFooter): added to output LT-h/f data.
9863         (Latex): simplified and finally good LT-h/f support.
9864         (various_functions): just small adaptions for LT-h/f support.
9865
9866         * tabular_funcs.[hC]: added and moved here all not classfunctions
9867         of LyXTabular.
9868
9869 2001-12-19  Juergen Vigna  <jug@sad.it>
9870
9871         * tabular.[Ch]: better support for longtabular options (not finished
9872         yet!)
9873
9874 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9875
9876         * text.C (paintLastRow): use the label font instead of the font of
9877         the last character to compute the size of *_BOX. This makes more
9878         sense and avoids a crash with empty paragraphs.
9879         Use Painter::rectangle to draw EMPTY_BOX.
9880
9881 2001-12-19  Juergen Vigna  <jug@sad.it>
9882
9883         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
9884         the paragraphs if the replaced paragraph is not the first one!
9885         Tried to delete not used paragraphs but does not work yet so for
9886         now it's inside #ifdef's and by default off!
9887
9888 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9889
9890         * MenuBackend.C: include "lyx_main.h" instead of declaring
9891         lastfiles (actually was declared as LastFiles* instead of a
9892         scoped_ptr).
9893
9894 2001-12-17  Juergen Vigna  <jug@sad.it>
9895
9896         * tabular.C (AppendColumn): applied John's fix
9897
9898 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
9899
9900         * BufferView.h:
9901         * BufferView.C:
9902         * BufferView_pimpl.h:
9903         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
9904
9905         * Makefile.am:
9906         * box.h: new start of class for above
9907
9908         * lyxfunc.C: ignore space-only minibuffer dispatches.
9909           Show the command name when it doesn't exist
9910
9911         * minibuffer.C: don't add empty lines to the history
9912
9913         * minibuffer.C: add a space on dropdown completion
9914
9915 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
9916
9917         * text.C: fix line above/below drawing in insets
9918
9919 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9920
9921         * lyxlength.C (LyXLength): Initialize private variables.
9922
9923 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
9924
9925         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
9926         when inserting error insets.
9927
9928 2001-12-13  Juergen Vigna  <jug@sad.it>
9929
9930         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
9931         actually sometimes the before-paragraph.
9932         (setUndo): don't clear the redostack if we're not actually undoing!
9933
9934 2001-12-06  Juergen Vigna  <jug@sad.it>
9935
9936         * undo_funcs.C (textHandleUndo): well after John's hint I got here
9937         and fixed redoing of main paragraph, so we can use it now ;)
9938
9939         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
9940
9941 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9942
9943         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
9944         Juergen's request
9945
9946 2001-12-13  André Pönitz <poenitz@gmx.net>
9947
9948         * undostack.[Ch]:
9949         * undo_func.C: minor cleanup
9950
9951 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9952
9953         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
9954         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
9955         font in urw-fonts package which is marked as -urw-fontspecific and
9956         does not work (incidentally, changing the encoding in the
9957         fonts.dir of this package to -adobe-fontspecific fixes the
9958         problem).
9959
9960         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
9961         is a crash when undoing first paragraph (Juergen, please take a
9962         look). THis does not mean the undo fix is wrong, just that it
9963         uncovers problems.
9964
9965         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
9966         the (Paragraph*) version when needed instead of duplicating the
9967         code.
9968
9969         * text.C (workWidth): use Inset::parOwner to find out where the
9970         inset has been inserted. This is a huge performance gain for large
9971         documents with lots of insets. If Inset::parOwner is not set, fall
9972         back on the brute force method
9973
9974         * paragraph_pimpl.C (insertInset):
9975         * paragraph.C (Paragraph):
9976         (cutIntoMinibuffer): set parOwner of insets when
9977         inserting/removing them
9978
9979         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9980
9981 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
9982
9983         * commandtags.h:
9984         * LyXAction.C:
9985         * lyx_main.C:
9986         * lyxfunc.C:
9987         * mathed/formulabase.C:
9988         * mathed/math_cursor.[Ch]:
9989         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
9990
9991
9992 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9993
9994         * lyxlength.[Ch] (operator!=): new function
9995
9996 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9997
9998         * text.C (workWidth): use Inset::parOwner to find out where the
9999         inset has been inserted. This is a huge performance gain for large
10000         documents with lots of insets. If Inset::parOwner is not set, fall
10001         back on the brute force method
10002
10003         * paragraph_pimpl.C (insertInset):
10004         * paragraph.C (Paragraph):
10005         (cutIntoMinibuffer): set parOwner of insets when
10006         inserting/removing them
10007
10008         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10009
10010 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10011
10012         * tabular-old.C (getTokenValue):
10013         * tabular.C (getTokenValue):
10014         (write_attribute): new versions for LyXLength
10015         (everywhere): adjust the use of widths
10016
10017         * tabular.h: change the type of widths from string to LyXLength
10018
10019 2001-12-11  Ben Stanley <bds02@uow.edu.au>
10020
10021         * paragraph.C: fixed missing line number count when exporting
10022         Environments to LaTeX file
10023
10024         * buffer.C: added informational message for checking line numbers.
10025
10026 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10027
10028         * text2.C (deleteEmptyParagraphMechanism): if there is only one
10029         paragraph, do the 'double space' part, but not the 'empty
10030         paragraph' one.
10031
10032         * text.C (workWidth): small optimization
10033         (getLengthMarkerHeight): use minimal size for negative lengths.
10034
10035 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
10036
10037         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10038
10039         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10040
10041 2001-12-11  André Pönitz <poenitz@gmx.net>
10042
10043         * FontLoader.C:
10044         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10045
10046 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10047
10048         * text2.C: keep selection on a setFont()
10049
10050 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10051
10052         * lyx_cb.C: another bv->text misuse, from insert label
10053
10054 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10055
10056         * kbsequence.h:
10057         * kbsequence.C: re-instate nmodifier mask
10058
10059 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
10060
10061         * lyx_main.h: make lyxGUI private.
10062
10063 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10064
10065         * lyxfind.C: place the cursor correctly on failed search
10066
10067 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10068
10069         * text.C (getLengthMarkerHeight): for small heights, the arrows
10070         are not always on top/bottom of the text
10071         (drawLengthMarker): smaller arrows; take the left margin in
10072         account; draw also vfills.
10073         (paintFirstRow):
10074         (paintLastRow): remove special code for vfill and standard spaces,
10075         since everything is handled in drawLengthMarker now.
10076
10077 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10078
10079         * buffer.C (insertErtContents): try to handle font and language
10080         interaction a bit better.g
10081
10082         * ColorHandler.C (updateColor): change the hash to cover the whole
10083         LColor enum, ws cleanup
10084         (getGCLinepars): ditto
10085         (getGCLinepars): only lookup in the linecache once.
10086
10087 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
10088
10089         * iterators.C (operator++): Make the iterator more robust
10090
10091         * BufferView2.C (removeAutoInsets): Use paragraph iterators
10092         (John's patch)
10093         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10094
10095 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10096
10097         * lyxtext.h:
10098         * text.C: better added space drawing
10099
10100 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10101
10102         * LyXView.C:
10103         * BufferView2.C: fix layout combo update on inset unlock
10104
10105 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10106
10107         * Makefile.am: don't compile unused files
10108
10109 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10110
10111         * lyxfunc.C:
10112         * commandtags.h:
10113         * LyXAction.C: remove old LFUN_LAYOUTNO
10114
10115 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10116
10117         * paragraph_pimpl.h:
10118         * paragraph_pimpl.C: isTextAt() doesn't need font param
10119
10120 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10121
10122         * lyxlex.h:
10123         * lyxlex.C: little cleanup
10124
10125 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10126
10127         * BufferView_pimpl.C: fix insertAscii for insets
10128
10129 2001-12-05  Juergen Vigna  <jug@sad.it>
10130
10131         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10132         set the right font on the "multi" paragraph paste!
10133
10134 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10135
10136         * trans_decl.h:
10137         * trans_mgr.[Ch]:
10138         * trans.[Ch]:
10139         * lyxgluelength.C:
10140         * lyxlength.C: remove out-commented code.
10141
10142         * BufferView_pimpl:
10143         * CutAndPaste.C:
10144         * DepTable.C:
10145         * buffer.C:
10146         * chset.C:
10147         * lastfiles.C:
10148         * lyxlex.C:
10149         * lyxlex_pimpl.C:
10150         * lyxserver.C:
10151         * screen.C:
10152         * tabular-old.C:
10153         * tabular.C:
10154         * text.C:
10155         * trans_mgr.C:
10156         * vc-backend.C: change "while(" to "while ("
10157
10158         * lyxlength.[Ch]: add zero function to check if length is zero or
10159         not
10160         * lyxgluelength.C: use it
10161
10162 2001-12-05  Allan Rae  <rae@lyx.org>
10163
10164         * lyxlength.C: Attempted a fix for the abs(int) header selection.
10165         Works for 2.95.3, from what I understand of Garst's reports this should
10166         work for other g++ versions.  We're screwed if the abs(int) definition
10167         changed between bugfix releases of gcc.
10168
10169 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10170
10171         * text.C: fix chapter label offset !
10172
10173 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10174
10175         * lyxtext.h:
10176         * text.C: fix hfill at end of line, clean up
10177
10178 2001-12-04  Juergen Vigna  <jug@sad.it>
10179
10180         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10181         that we force an update of the inset and it's owners if neccessary.
10182
10183 2001-12-03  Juergen Vigna  <jug@sad.it>
10184
10185         * text.C (rowLast): simplified code
10186
10187 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10188
10189         * lyxfunc.C: fix show options on timeout
10190
10191 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10192
10193         * screen.C (topCursorVisible): scroll half a page when the cursor
10194         reached top of bottom of screen
10195
10196 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
10197
10198         * minibuffer.C: deactivate on loss of focus
10199
10200 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10201
10202         * vspace.[Ch] (operator!=): add operator.
10203
10204 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
10205
10206         * BufferView_pimpl.C: refuse to open an inset when
10207         there's a selection.
10208
10209 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
10210
10211         * BufferView_pimpl.C: allow to click on RHS of full row insets
10212
10213 2001-11-30  Juergen Vigna  <jug@sad.it>
10214
10215         * tabular.C (LyXTabular): add a same_id to set the same id's in the
10216         insets for undo reasons.
10217
10218 2001-11-28  André Pönitz <poenitz@gmx.net>
10219
10220         * vspace.[Ch]: cosmetical changes
10221
10222 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10223
10224         * LyXAction.h:
10225         * LyXAction.C:
10226         * lyxfunc.h:
10227         * lyxfunc.C:
10228         * kbmap.h:
10229         * kbmap.C:
10230         * lyxrc.C:
10231         * kbsequence.h:
10232         * kbsequence.C: part re-write of old kb code
10233
10234         * Painter.C:
10235         * WorkArea.C: remove Lgb_bug_find_hack
10236
10237 2001-11-30  José Matos <jamatos@fep.up.pt>
10238
10239         * buffer.C (makeDocBookFile): add a comment to point a hack.
10240         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
10241         Fixed a double write of labels.
10242
10243 2001-11-29 Ben Stanley <bds02@uow.edu.au>
10244
10245         * LaTeX.C:
10246         * LaTeX.h Fixed bug in LaTeX class where it would not
10247         re-run latex if no depfiles were changed, but the .dvi was removed.
10248
10249 2001-11-28  André Pönitz <poenitz@gmx.net>
10250
10251         * all the files from the change on 2001/11/26:
10252         use lyx::layout_type instead of LyXTextClass::size_type
10253         use lyx::textclass_type instead of LyXTextClassList::size_type
10254
10255 2001-11-29  Juergen Vigna  <jug@sad.it>
10256
10257         * text.C: added support for paragraph::isFreeSpacing()
10258
10259         * buffer.C: same as above
10260
10261         * paragraph.h: inserted isFreeSpacing() function to enable
10262         FreeSpacing inside InsetERT.
10263
10264         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
10265         of the paragraph's in the cut/copy buffer to 0!
10266
10267         * text2.C (removeRow): remove the assert as it can!
10268
10269         * lyxtext.h: added helper function firstRow returning firstrow and
10270         made firstrow private again.
10271
10272         * BufferView2.C (lockInset): don't relock if we're already locked!
10273
10274         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
10275         the only paragraph.
10276         (removeRow): added Assert::(firstrow)
10277
10278         * debug.C: forgot to add INSETTEXT here.
10279
10280 2001-11-28  Juergen Vigna  <jug@sad.it>
10281
10282         * sp_spell.C (initialize): changed error text to more general
10283         spellchecker command use (not only ispell!)
10284
10285         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
10286
10287         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
10288
10289 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10290
10291         * vspace.C: initialise lyxgluelength on failure
10292
10293 2001-11-28  Allan Rae  <rae@lyx.org>
10294
10295         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
10296         declaration & definition that looks like a function declaration.
10297
10298 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10299
10300         * BufferView2.C (copy):
10301         (copyEnvironment): do not clear the selection when doing a copy.
10302
10303         * text.C (paintFirstRow): compilation fix
10304
10305 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
10306
10307         * tabular.C (Latex): correct line count when writing latex.
10308
10309 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
10310
10311         * paragraph_pimpl.h:
10312         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10313           bug a bit
10314
10315 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10316
10317         * text.C:
10318         * LColor.h:
10319         * LColor.C: change vfillline->added_space
10320
10321         * text.C: add markers and text for added space
10322
10323         * vspace.C: fix comment
10324
10325 2001-11-28  André Pönitz <poenitz@gmx.net>
10326
10327         * paragraph.C: whitespace changes
10328         * all the other files from the change on 2001/11/26:
10329         change *::pos_type into lyx::pos_type
10330
10331 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10332
10333         * buffer.C (parseSingleLyXformat2Token): Set the language to the
10334         language of the document when inserting error insets.
10335
10336 2001-11-26  André Pönitz <poenitz@gmx.net>
10337
10338         * BufferView_pimpl.[Ch]:
10339         *       CutAndPaste.C:
10340         * buffer.[Ch]:
10341         * lyxcursor.[Ch]:
10342         * lyxfind.C:
10343         * lyxfunc.C:
10344         * lyxrow.[Ch]:
10345         * paragraph.[Ch]:
10346         * paragraph_pimpl.[Ch]:
10347         * sp_spell.C:
10348         * text.C:
10349         * text2.C: reduce header dependencies, introduce type for positions
10350
10351 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10352
10353         * <various>: change to use Alert.h
10354
10355 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10356
10357         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10358         when encountering an unknown token.
10359         (readLyXformat2): Show an error message if there were unknown tokens.
10360
10361 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
10362
10363         * BufferView2.C:
10364         * BufferView_pimpl.C:
10365         * buffer.C:
10366         * paragraph.h:
10367         * text.C:
10368         * text2.C: use par->isInset()
10369
10370 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10371
10372         * paragraph_pimpl.h:
10373         * paragraph_pimpl.C: cleanup
10374
10375 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10376
10377         * text2.C (removeRow):
10378         * text.C (setHeightOfRow): remove useless (and costly) call to
10379         getRow.
10380
10381 2001-11-20  Allan Rae  <rae@lyx.org>
10382
10383         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10384         Now need Inset*::checkInsertChar() to return true for appropriate
10385         cases so that the characters in the minibuffer will actually be
10386         inserted.
10387
10388 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10389
10390         * text.C: change the order of the includes.
10391         (workWidth): initialize it at once.
10392         (workWidth): make maxw unsigned
10393         (setHeightOfRow): remove unused variable (inset)
10394         (selectSelectedWord): remove unused variable (inset)
10395         (paintRowText): fix drawing of hfill characters, and clean up a bit.
10396
10397 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10398
10399         * lyxserver.C (emergencyCleanup): do not try to close pipes if
10400         server is not running.
10401         (openConnection):
10402         (closeConnection): add debug info when server is disabled.
10403
10404         * ColorHandler.C (getGCForeground): send debug message to GUI
10405         channel.
10406
10407         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10408
10409         * kbmap.C (bind): modify because return conventions of
10410         kb_sequence::parse have changed.
10411
10412         * kbsequence.C (parse): only ignore spaces and not any stupid
10413         control character. This avoids tests like s[i] <= ' ', which are
10414         guaranteed to fail with 8bit characters and signed chars.
10415         Change return code to string::npos when there have been no error
10416         (0 was a bad idea when error is at first character)
10417
10418 2001-11-14  José Matos  <jamatos@fep.up.pt>
10419
10420         * buffer.h:
10421         * buffer.C (simpleDocBookOnePar): removed unused argument.
10422
10423 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10424
10425         * text.C (selectNextWordToSpellcheck): do not test explicitely for
10426         insets which are part of a word. Paragraph::isLetter takes care of
10427         that now. Use Paragraph::isInset to identify insets.
10428         (selectSelectedWord): do not test for hyphenation break.
10429
10430         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10431         that protected spaces are considered as spaces.
10432
10433         * paragraph.C (isLetter): cleanup the code for ispell extras; use
10434         Inset::isLetter.
10435
10436 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
10437
10438         * lyxserver.h:
10439         * lyxserver.C: fix it. and small cleanup.
10440
10441 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10442
10443         * BufferView_pimpl.C: use inline helpers
10444
10445         * LaTeXFeatures.h:
10446         * LaTeXFeatures.C: fix typos
10447
10448         * Spacing.h:
10449         * Spacing.C: move spacing_string into class
10450
10451         * ToolbarDefaults.C: move stuff into namespace anon
10452
10453         * layout.h: update enum
10454
10455         * lyxfunc.C: use better debug
10456
10457         * minibuffer.h: fix typo
10458
10459         * debug.h:
10460         * debug.C:
10461         * WorkArea.C: add and use Debug::WORKAREA
10462
10463         * lyxtext.h:
10464         * text.C:
10465         * text2.C: code re-organisation, inline helpers
10466
10467 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
10468
10469         * Layout.C: replaced a few cases of std::vector.size() == 0 with
10470         std::vector.empty().
10471
10472 2001-11-09  Allan Rae  <rae@lyx.org>
10473
10474         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10475         '\n's after tables.  Tabular and ERT inset work now makes this no
10476         longer necessary.
10477
10478 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10479
10480         * minibuffer.h:
10481         * minibuffer.C: fix crash, improve drop-down completion
10482
10483 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
10484
10485         * lyxserver.h:
10486         * lyxserver.C: invalidate fd's when doing endPipe()
10487
10488 2001-11-08  José Matos  <jamatos@fep.up.pt>
10489
10490         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
10491         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
10492
10493         * paragraph.h:
10494         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
10495
10496 2001-11-07  José Matos  <jamatos@fep.up.pt>
10497
10498         * buffer.h:
10499         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
10500         const qualifier.
10501
10502         * buffer.C (sgmlOpenTag):
10503         * buffer.C (sgmlCloseTag): removed debug info.
10504
10505         * buffer.h (sgmlOpenTag):
10506         * buffer.h (sgmlCloseTag): made public.
10507
10508 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10509
10510         * buffer.C (saveParamsAsDefaults):
10511         * lyx_cb.C (MenuLayoutSave): remove
10512
10513         * LyXAction.C (init):
10514         * commandtags.h:
10515         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
10516
10517 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10518
10519         * buffer.C (setPaperStuff): removed from here...
10520
10521         * bufferparams.C (setPaperStuff): ... and moved there.
10522
10523 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
10524
10525         * minibuffer.h:
10526         * minibuffer.C:
10527         * XFormsView.C: add support for drop-down completion
10528
10529 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
10530
10531         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
10532         commands.
10533
10534 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10535
10536         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
10537         disabled.
10538
10539 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
10540
10541         * lyx_main.C: change ref to known bugs
10542
10543 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
10544
10545         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
10546         to work around older babel problems.
10547
10548 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
10549
10550         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
10551
10552 2001-10-24  Juergen Vigna  <jug@sad.it>
10553
10554         * tabular-old.C (ReadOld): below variable changes reflected.
10555
10556         * tabular.[Ch]: added ltType struct for longtable header/footer
10557         defines and changed all instances where they are used. Added
10558         future support for double top/bottom rows.
10559
10560 2001-10-24  José Matos  <jamatos@fep.up.pt>
10561
10562         * buffer.h (docbookHandleCaption):
10563         * buffer.C (docbookHandleCaption): removed unused function.
10564         (makeDocBookFile): moved docbook supported version to v4.1.
10565
10566 2001-10-24  José Matos  <jamatos@fep.up.pt>
10567
10568         * tabular.h:
10569         * tabular.C (docbookRow): new function to export docbook code of a row.
10570         (DocBook): now honors the longtable flags.
10571
10572 2001-10-23  José Matos  <jamatos@fep.up.pt>
10573
10574         * LaTeXFeatures.h:
10575         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
10576         of the lyx defined sgml entities used in a docbook/linuxdoc document.
10577
10578         * buffer.C (makeLinuxDocFile):
10579         (makeDocBookFile): reworked the preamble, more clean, and with
10580         support for lyx defined entities. Changed the document declaration
10581         to be more XML friendly.
10582
10583         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
10584         if we need to output XML that should be done with a filter.
10585
10586 2001-10-22  Juergen Vigna  <jug@sad.it>
10587
10588         * sp_pspell.h (class PSpell): add alive function needed in the
10589         controller to see if the spellchecker could be started.
10590
10591 2001-10-22  Juergen Vigna  <jug@sad.it>
10592
10593         * buffer.C (insertStringAsLines): modify the font for inserting
10594         chars in certain conditions by calling checkInsertChar(font).
10595
10596 2001-10-19  Juergen Vigna  <jug@sad.it>
10597
10598         * text.C (workWidth): use getRow instead of wrong algorithm.
10599         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
10600
10601 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
10602
10603         * lyxserver.h:
10604         * lyxserver.C:
10605         * lyx_main.h:
10606         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
10607
10608 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10609
10610         * text.C (workWidth): do not search for the exact row when
10611         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
10612         optimization for big documents.
10613
10614 2001-10-18  Juergen Vigna  <jug@sad.it>
10615
10616         * text.C (workWidth): new function with added Inset * parameter.
10617
10618 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10619
10620         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
10621
10622         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
10623         change return type of getColumnNearX.
10624
10625
10626         * text.C (changeRegionCase): use uppercase/lowercase instead of
10627         toupper/tolower.
10628         (leftMargin):
10629         (rightMargin): simplify code by factoring out the uses of
10630         textclasslist.
10631         (labelFill):
10632         (numberOfHfills):
10633         (setHeightOfRow):
10634         (appendParagraph): use Paragraph::size_type
10635
10636 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10637
10638         * vspace.C (asLatexString): add a missing break
10639
10640 2001-10-15  Herbert Voss  <voss@perce.de>
10641
10642         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
10643
10644 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10645
10646         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
10647         is not available.
10648
10649 2001-10-10  André Pönitz <poenitz@gmx.net>
10650
10651         * lyxfunc.C: removed greek_kb_flag.
10652
10653 2001-10-10  Herbert Voss  <voss@perce.de>
10654
10655         * lyx_main.C: delete global string help_lyxdir.
10656
10657 2001-10-09  Herbert Voss  <voss@perce.de>
10658
10659         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
10660
10661         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
10662
10663         * lyx_main.C: added global string help_lyxdir.
10664
10665         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
10666
10667 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10668
10669         * lyxrc.C (set_font_norm_type): support iso8859-4
10670
10671 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
10672
10673         * LaTeX.C (deplog): add another regex for MikTeX
10674
10675 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10676
10677         * lyxrc.C (set_font_norm_type): support iso8859-3
10678
10679 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10680
10681         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
10682
10683         * LaTeXFeatures.C: remove special case of french and index
10684
10685         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
10686         before \begin{document}). This solves several incompatibilities.
10687
10688 2001-10-03  Garst Reese  <reese@isn.net>
10689
10690         * lyx_cb.C: change CheckTex error msg.
10691
10692 2001-10-03  José Matos  <jamatos@fep.up.pt>
10693
10694         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
10695
10696 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10697
10698         * .cvsignore: update
10699
10700         * lyx_main.C (commandLineVersionInfo): use new style version info.
10701
10702         * buffer.C (writeFile):
10703         (makeLaTeXFile):
10704         (makeLinuxDocFile):
10705         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
10706
10707         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
10708
10709         * version.h: update to use stuff in version.C
10710
10711         * version.C.in: new file. Contains version information determined
10712         at compile time. This is a merging of version.h and
10713         version_info.h.in.
10714
10715 2001-10-03  Juergen Vigna  <jug@sad.it>
10716
10717         * BufferView_pimpl.C (update): don't change "dirty" status in
10718         updateInset call.
10719
10720 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
10721
10722         * WorkArea.C (c-tor): re-position version string slightly.
10723
10724 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
10725
10726         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
10727         revert to previous code.
10728
10729         WorkArea.[Ch]: (show, destroySplash): methods removed.
10730
10731         WorkArea.C: rework code so that it's an amalgam of the codes before and
10732         after the splash screen was moved to WorkArea.
10733
10734 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10735
10736         * lyxrc.C (read):
10737         * vspace.C (inPixels):
10738         (lyx_advance):
10739         * kbmap.C (bind):
10740         * buffer.C (insertStringAsLines):
10741         (asciiParagraph): fix types to be large enough
10742
10743         * lyxlex_pimpl.h: change member status from short to int
10744
10745         * layout.h: fix type of endlabeltype
10746
10747         * kbmap.C (bind):
10748         * kbsequence.C (parse): change return type to string::size_type
10749
10750         * LaTeX.C (updateBibtexDependencies): comment out unneeded
10751         variable
10752
10753         * Bullet.C (bulletSize):
10754         (bulletEntry): do not use short ints as parameters
10755
10756         * BufferView2.C (insertLyXFile): change a char to an int.
10757
10758         * WorkArea.C (WorkArea): remove unneeded floats in computation
10759
10760 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
10761
10762         * buffer.C (asciiParagraph): Treat '\\' as other chars.
10763
10764         * paragraph.C (asString): Do not ignore newline/hfill chars when
10765         copying to the clipboard.
10766
10767 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
10768
10769         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
10770         after a multi-line inset.
10771
10772 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
10773
10774         * paragraph.C (validate): Set NeedLyXFootnoteCode
10775
10776 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
10777
10778         * lyxfont.C (LyXSizeNames): changed increase-error to increase
10779         and decrease-error to decrease.
10780
10781 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10782
10783         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
10784         it more readable (should be equivalent)
10785
10786 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10787
10788         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
10789
10790 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10791
10792         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
10793         of a cursor (row, etc.) after a character has been deleted
10794         (deleteEmptyParagraphMechanism): call the method above on _all_
10795         cursors held by the LyXText when a double space has been
10796         detected/deleted.
10797
10798 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
10799
10800         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
10801         pixmap.
10802         (resizeCurrentBuff): remove code to destroy the old splash dialog.
10803
10804         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
10805         background. Use greyOut() and the new show() methods to toggle between
10806         the foreground and background. Add code to remove the splash after
10807         its initial showing.
10808
10809         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
10810         (create_forms): no longer call Dialogs::showSplash.
10811
10812 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10813
10814         * .cvsignore: add version_info.h
10815
10816 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10817
10818         * version_info.h.in: new file
10819
10820         * Makefile.am: add version_info.h.in
10821
10822         * lyx_main.C (commandLineVersionInfo): use version_info defined in
10823         version_info.h instead of VERSION_INFO
10824
10825 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
10826
10827         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
10828         The ERT inset now returns string().
10829
10830 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
10831
10832         * lyxtext.h, text.C (selectNextWord): renamed as
10833         selectNextWordToSpellcheck.
10834
10835         * text.C (selectNextWordToSpellcheck): Modified to not select
10836         words inside an ERT inset.
10837
10838 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10839
10840         * lyx_cb.C (MenuLayoutSave): change a bit the question
10841
10842         * sp_base.h: include <sys/types.h>
10843
10844 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
10845
10846         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
10847
10848 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
10849
10850         * several files: fix typos in user-visible strings
10851
10852 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10853
10854         * text2.C (pasteSelection): do not set the selection, since it
10855         will be cleared later. Actually, the intent was to fix the way the
10856         selection was set, but I figured rmoving the code was just as good.
10857
10858 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
10859
10860         * FontLoader.C (available): Check if font is available without
10861         loading the font.
10862
10863 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
10864
10865         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
10866
10867 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
10868
10869         * lyxrc.[Ch]: added display_graphics variable and associated code.
10870
10871 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10872
10873         * bufferparams.C (hasClassDefaults): new method. Returns true if
10874         the buffer parameters correspond to known class defaults
10875
10876 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
10877
10878         * XFormsView.C (show): set minimum size to the main window.
10879
10880 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10881
10882         * text2.C (copySelection):
10883         (cutSelection):
10884         * lyxfind.C (LyXReplace):
10885         * BufferView_pimpl.C (Dispatch): pass the correct flag to
10886         LyXText::selectionAsString.
10887
10888         * paragraph.C (asString): add "label" argument to the second form
10889
10890         * text2.C (selectionAsString): add "label" argument and pass it to
10891         Paragraph::asString.
10892
10893 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10894
10895         * lyx_main.C (commandLineHelp): remove version information
10896
10897 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
10898
10899         * lyx_main.C: add -version commandline option
10900
10901 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10902
10903         * paragraph.h: make the optional constructor arg required instead.
10904         some modifications to other files because of this.
10905
10906         * minibuffer.C (C_MiniBuffer_peek_event): make it static
10907
10908         * lyxserver.C (C_LyXComm_callback): make it static
10909
10910         * lyx_main.C (error_handler): make it static
10911
10912         * lyx_gui.C (LyX_XErrHandler): make it static
10913
10914         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
10915
10916         * WorkArea.C: make the extern "C" methods static.
10917
10918         * Makefile.am (lyx_LDADD): simplify
10919
10920 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10921
10922         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
10923         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
10924
10925         * LyXAction.C (init):
10926         * lyxfunc.C (dispatch): associated code removal.
10927
10928 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10929
10930         * lyxfont.h (isSymbolFont): shut off warning
10931
10932         * text.C (setHeightOfRow):
10933         (getVisibleRow): fix crash with empty paragraphs which have a
10934         bottom line
10935
10936 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
10937
10938         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
10939         code.
10940
10941 2001-09-04  José Matos  <jamatos@fep.up.pt>
10942         * buffer.C
10943         * buffer.h
10944         * tabular.C (docbook): rename docBook method to docbook.
10945
10946 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10947
10948         * Makefile.am: add dependencies to main.o.
10949
10950 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
10951
10952         * FontLoader.C (available): Return false if !lyxrc.use_gui
10953
10954 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
10955
10956         * FontInfo.C (query):
10957         * converter.C (view):
10958         * importer.C (Import):
10959         * exporter.C (Export): Can not -> cannot.
10960
10961 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
10962
10963         * BufferView_pimpl.C: allow to create index inset even if
10964           string is empty
10965
10966 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10967
10968         * buffer.C (getLists): replace boost::tie code with an explicit pair
10969         as boost::tie can break some compilers.
10970
10971         * iterators.h: Added a std:: declaration to the return type of
10972         ParIterator::size.
10973
10974 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
10975
10976         * lyxrc.C: add help for view_dvi_paper_option, default to safe
10977           case.
10978
10979 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
10980
10981         * iterators.[Ch]: New files. Provide paragraph iterators.
10982
10983         * buffer.C (changeLanguage): Use paragraph iterators.
10984         (isMultiLingual): ditto
10985
10986         * BufferView2.C (ChangeInsets): Use paragraph iterators.
10987
10988 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
10989
10990         * FontLoader.C: Support for cmr font.
10991
10992 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
10993
10994         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
10995         (available): New method.
10996
10997         * FontInfo.C (getFontname): Use scalable fonts even when
10998         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
10999         found.
11000
11001 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11002
11003         * converter.C (Formats::view): reverted! Incorrect fix.
11004
11005 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11006
11007         * converter.C (Formats::view): only output the -paper option
11008         if the dvi viewer is xdvi, thereby fixing bug #233429.
11009
11010 2001-08-23  Herbert Voss  <voss@perce>
11011
11012         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11013
11014 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11015
11016         * Spacing.h (Spacing): Set space to Default on in the default
11017         constructor.
11018
11019 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11020
11021         * vc-backend.h (RCS::versionString): add RCS to version
11022         (CVS::versionString): add CVS to version
11023
11024         * vc-backend.C (scanMaster): do not add CVS to version.
11025         (scanMaster): do not add RCS to version
11026
11027         * lyxvc.C (versionString): new method
11028
11029         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11030
11031 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11032
11033         * Spacing.C (set): initialize fval
11034
11035 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
11036
11037         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11038         " or \.
11039
11040 2001-08-16  Juergen Vigna  <jug@sad.it>
11041
11042         * lyxfunc.C (dispatch): implemented the new FINISHED states.
11043
11044 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11045
11046         * BufferView_pimpl.C:
11047         * figureForm.C:
11048         * lyxtext.h:
11049         * text2.C: setParagraph takes linespacing now
11050
11051 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
11052
11053         * LyxAction.C: add internal LFUN_CITATION_INSERT
11054
11055         * LyXView.C: actually apply fix
11056
11057         * bufferlist.C: fix open non-existent file
11058
11059         * lyxfind.C: fix indentation
11060
11061         * lyxfunc.C: remove unneeded assert, fix typo
11062
11063 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11064
11065         * MenuBackend.C: use "Floatname List"
11066
11067 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
11068
11069         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11070         when converting LaTeX layout to insetERT.
11071         Generate a non-collapsed float when reading old float
11072
11073 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11074
11075         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11076         ERT insets.
11077
11078 2001-08-13  Juergen Vigna  <jug@sad.it>
11079
11080         * text.C (fill): return 0 instead of 20 as this seems to be the more
11081         correct value.
11082
11083 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11084
11085         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11086         lyxrc.font_norm.
11087
11088 2001-08-13  Juergen Vigna  <jug@sad.it>
11089
11090         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11091         casesensitive off.
11092         (SearchBackward): comment out the unlocking of the inset_owner this
11093         should not be needed!
11094
11095 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
11096
11097         * Many files: Remove inherit_language, and add latex_language
11098
11099         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11100         collapsible insets.
11101
11102 2001-08-10  Juergen Vigna  <jug@sad.it>
11103
11104         * text.C (prepareToPrint): fixed hfill-width in draw!
11105
11106         * BufferView2.C (selectLastWord): save the selection cursor as this
11107         now is cleared in the function LyXText::clearSelection!
11108
11109 2001-08-08  Juergen Vigna  <jug@sad.it>
11110
11111         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11112         BACKSPACE type functions.
11113
11114         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11115         is only cutted from the document but not put in the cut-buffer, where
11116         still the old stuff should be.
11117
11118         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11119
11120         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11121
11122         * tabular.C (SetWidthOfCell): fixed special case where the width
11123         was not updated!
11124         (LeftLine): handle '|' in align_special.
11125         (RightLine): ditto
11126         (LeftAlreadyDrawed): ditto
11127         (SetWidthOfCell): ditto
11128
11129 2001-08-07  Juergen Vigna  <jug@sad.it>
11130
11131         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11132
11133 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11134
11135         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11136         * lyxlex.[hC]: ditto
11137
11138 2001-08-06  Juergen Vigna  <jug@sad.it>
11139
11140         * text.C (getVisibleRow): fix up row clearing a bit.
11141
11142 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11143
11144         * minibuffer.C: make sure the X server sees the changes in the input.
11145
11146 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11147
11148         * paragraph.C (getFont): split into...
11149         (getLabelFont): this
11150         (getLayoutFont): and this
11151         * paragraph_pimpl.C (realizeFont): calling this
11152
11153         * text2.C (getFont): split into...
11154         (getLayoutFont): this
11155         (getLabelFont): and this
11156         (realizeFont): all three calling this
11157
11158         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11159         files where used.
11160
11161 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11162
11163         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11164
11165 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
11166
11167         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11168         layouts from the Quote inset insertion.
11169
11170 2001-08-03  Juergen Vigna  <jug@sad.it>
11171
11172         * BufferView_pimpl.C (update): do the fitCursor only at the end!
11173
11174         * screen.C (drawFromTo): don't call fitcursor here and do the loop
11175         only if status not is already CHANGED_IN_DRAW (second level).
11176
11177         * text.C (draw): don't set the need_break_row when inside an
11178         InsetText LyXText.
11179
11180 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11181
11182         * buffer.C (parseSingleLyXformat2Token): handle more latex
11183         conversion cases.
11184
11185         * bufferview_funcs.[hC]: change function names to
11186         begin with small char, adjust other files.
11187
11188 2001-08-02  André Pönitz <poenitz@gmx.net>
11189
11190         * lyxfunc.C:
11191         BufferView_pimpl.C: remove broken special code for math-greek
11192
11193 2001-08-02  Juergen Vigna  <jug@sad.it>
11194
11195         * BufferView_pimpl.C (update): redone this function so that we
11196         update the text again if there was a CHANGE_IN_DRAW.
11197
11198         * screen.C (cursorToggle): removed LyXText parameter and recoded.
11199         (drawFromTo): added a new internal bool which is used by draw() and
11200         redraw() function.
11201         (general): some cursor drawing problems fixed.
11202
11203 2001-08-01  Juergen Vigna  <jug@sad.it>
11204
11205         * lyxfind.C (LyXFind): fixed
11206         (SearchForward): ditto
11207         (SearchBackward): ditto
11208
11209         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11210         spurius drawing of the cursor in the main area.
11211
11212         * text2.C (status): small fix which could lead to a segfault!
11213         (clearSelection): remove unneeded BufferView param.
11214
11215 2001-08-01  André Pönitz <poenitz@gmx.net>
11216
11217         * lyxfunc.C: small change due to changed mathed interface
11218
11219 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11220
11221         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
11222
11223 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
11224
11225         * lyxfunc.c: fail gracefully if file doesn't exist
11226
11227         * LyXSendto.C:
11228         * buffer.C:
11229         * lyxfunc.C:
11230         * BufferView_pimpl.C: IsDirWriteable() proto changed
11231
11232         * LyXView.C: fix updateWindowTitle() to store the last title
11233
11234 2001-07-31  Juergen Vigna  <jug@sad.it>
11235
11236         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
11237         the font (wrong since using of Paragraph::highestFontInRange).
11238
11239         * paragraph.C (highestFontInRange): added a default_size parameter.
11240
11241         * text.C (getVisibleRow): minor clear row changes (still not perfect).
11242         (setHeightOfRow): reformat
11243
11244 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11245
11246         * converter.[hC] + affected files: move to (inital-char)lowercase
11247         function names.
11248
11249         * ParagraphParameters.C (ParagraphParameters): remove commented code
11250
11251         * PainterBase.[Ch]: remove commented code
11252
11253         * LaTeXFeatures.h: add "bool floats" for float.sty
11254
11255         * LaTeXFeatures.C (LaTeXFeatures): init floats
11256         (require): handle float
11257         (getPackages): do it with floats
11258
11259 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11260
11261         * BufferView_pimpl.C (Dispatch): improve handling of
11262         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
11263
11264         * commandtags.h: #include lyxfont.h here temporarily to avoid
11265         keybinding bug.
11266
11267         * bufferlist.h: include LString.h here.
11268
11269 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11270
11271         * text2.C (getStringToIndex): new method.
11272
11273 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
11274
11275         * *: Reduced header file dependencies all over.
11276
11277 2001-07-30  Baruch Even  <baruch@lyx.org>
11278
11279         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
11280
11281 2001-07-29  Baruch Even  <baruch@lyx.org>
11282
11283         * buffer.C (readInset): Changed GRAPHICS to Graphics.
11284
11285 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11286
11287         * ParameterStruct.h (endif): add a default constructor to make
11288         sure that all variables is initialized.
11289
11290         * ParagraphParameters.C (ParagraphParameters): adjust
11291
11292 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11293
11294         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11295         index; also, check that there is something to index, and that it
11296         does not span over several paragraphs.
11297         (doubleClick): use WHOLE_WORD_STRICT for double click.
11298
11299         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
11300
11301         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11302         scheme.
11303
11304 2001-07-26  Baruch Even  <baruch@lyx.org>
11305
11306         * buffer.C (readInset): Changed to call up InsetGraphics when reading
11307         an InsetFig figure, backwards compatible reading of old figure code.
11308
11309 2001-07-27  Juergen Vigna  <jug@sad.it>
11310
11311         * text2.C: font.realize function adaption.
11312
11313         * text.C (draw): add a warnings lyxerr text if needed.
11314
11315         * layout.C: font.realize function adaption.
11316
11317         * language.C: add inherit_language and implement it's handlings
11318
11319         * bufferview_funcs.C (StyleReset): remove language parameter from
11320         font creation (should be language_inherit now).
11321
11322         * bufferparams.C (writeFile): handle ignore_language.
11323
11324         * paragraph.C (getFontSettings): the language has to be resolved
11325         otherwise we have problems in LyXFont!
11326
11327         * lyxfont.C (lyxWriteChanges): added document_language parameter
11328         (update): removed unneeded language parameter
11329
11330         * paragraph.C (validate): fixed wrong output of color-package when
11331         using interface colors for certain fonts in certain environments,
11332         which should not seen as that on the final output.
11333
11334 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
11335
11336         * BufferView_pimpl.C:
11337         * Thesaurus.h:
11338         * Thesaurus.C:
11339         * Makefile.am:
11340         * commandtags.h:
11341         * LyXAction.C: add thesaurus support
11342
11343         * lyxfind.h:
11344         * lyxfind.C: add "once" parameter, for thesaurus, to not
11345           move to the next match
11346
11347 2001-07-26  Juergen Vigna  <jug@sad.it>
11348
11349         * lyxfont.C (realize): honor ignore_language too!
11350         (resolved): ditto.
11351
11352         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11353
11354         * text.C (draw): one place more for ignore_language to not draw
11355         itself!
11356
11357 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
11358
11359         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11360
11361 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11362
11363         * buffer.C (parseSingleLyXformat2Token): a more general fix for
11364         the minipage conversion problem.
11365
11366 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11367
11368         * buffer.C (parseSingleLyXformat2Token): check minipage if we
11369         insert an inset.
11370
11371 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11372
11373         * BufferView.h: don't forward declare WorkArea
11374
11375         * BufferView.C: don't include WorkArea.h
11376
11377 2001-07-25  André Pönitz <poenitz@gmx.net>
11378
11379         * commandtags.h:
11380         * LyXAction.C:
11381         * lyxfunc.C:  new LFUN 'math-space'
11382
11383         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11384
11385 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11386
11387         * text2.C (toggleInset): call open/close
11388
11389 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11390
11391         * lyxfunc.C (dispatch): add debug for the disabled case
11392
11393         * font.C (buttonText): make similar to rectText
11394
11395         * buffer.C (readInset): comment out parsing of insetlist and
11396         insttheorem
11397
11398         * PainterBase.C (rectText): small correction
11399
11400         * BufferView_pimpl.C: comment out insettheorem and insetlist
11401         * LyXAction.C: ditto
11402         * commandtags.h: ditto
11403
11404 2001-07-24  Juergen Vigna  <jug@sad.it>
11405
11406         * text.C (draw): honor the ignore_language.
11407
11408         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11409
11410 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11411
11412         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11413         char inset.
11414
11415 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11416
11417         * lyxtext.h: remove unused (and unimplemented) methods
11418
11419 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11420
11421         * text.C (getVisibleRow): honor background color
11422
11423         * PainterBase.h:
11424         * Painter.h: remove default color argument for fillRectangle
11425
11426         * text.C (backgroundColor): new method
11427
11428 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11429
11430         * text.C (getVisibleRow): adjust
11431
11432         * font.[Ch] (rectText): new method, metrics
11433         (buttonText): new method, metrics
11434
11435         * PainterBase.[hC]: make rectText and buttonText always draw and take
11436         fewer paramteres.
11437
11438 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11439
11440         * ToolbarDefaults.C (read):
11441         * MenuBackend.C (read): allow escaping in all strings
11442
11443         * BufferView_pimpl.C (insertAndEditInset): new method.
11444         (Dispatch): use insertAndEditInset whenever appropriate.
11445
11446         * BufferView_pimpl.C (insertNote): removed
11447
11448         * BufferView_pimpl.C (smartQuote): new method, moved from
11449         BufferView; if an insetquote cannot be inserted, insert a '"'
11450         character instead.
11451
11452         * BufferView2.C: remove insertCorrectQuote();
11453
11454         * lyxfunc.C (getStatus): Add support for all remaingin
11455         inset-insert lfuns.
11456
11457         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11458
11459         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11460         command (necessary to pass " as parameter of self-insert.
11461
11462         * text.C (selectWordWhenUnderCursor):
11463         (selectWord): add word_location parameter
11464         (selectWordWhenUnderCursor): same + remove special code for word
11465         boundary.
11466         (selectNextWord): use kind() to guess type of insetspecialchar,
11467         not latex().
11468
11469         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11470         (insertErtContents): create ert insets as collapsed.
11471         (readInset): better compatibility code for Info inset.
11472
11473 2001-07-20  Juergen Vigna  <jug@sad.it>
11474
11475         * lyxfunc.C (dispatch): use always LyXFind now!
11476
11477         * text2.C (init): add a reinit flag so that the LyXText can be
11478         reinited instead of deleted and reallocated (used in InsetText).
11479
11480         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11481
11482         * text.C: ditto
11483
11484         * text2.C: ditto
11485
11486 2001-07-18  Juergen Vigna  <jug@sad.it>
11487
11488         * text.C (selectNextWord): handle insets inside inset by calling
11489         always the bv->text functions so that we can go up the_locking_inset!
11490
11491         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
11492         in strange locations when inside an inset!
11493
11494         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
11495         handling to include insets.
11496
11497         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
11498
11499 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11500
11501         * LyXAction.C (init):
11502         * commandtags.h:
11503         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
11504         LIGATURE_BREAK, since the name is so stupid.
11505
11506 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11507
11508         * buffer.C (readInset): enable reading of new InsetNotes as well as old
11509         InsetInfos.
11510
11511         * FontLoader.C: remove FORMS_H_LOCATION cruft.
11512
11513         * sp_form.[Ch]: remove.
11514
11515         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
11516
11517         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
11518         InsetInfo.
11519
11520         * src/buffer.C (readInset): ditto.
11521
11522 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11523
11524         * BufferView_pimpl.C (specialChar): new method. Obsoletes
11525         menuSeparator(), endOfSentenceDot(), ldots() and
11526         hyphenationPoint(), which are therefore removed.
11527         (Dispatch): handle LFUN_HYPHENATION_BREAK.
11528
11529         * LyXAction.C (init):
11530         * commandtags.h: add LFUN_HYPHENATION_BREAK.
11531
11532         * paragraph.C (getWord): removed.
11533
11534         * BufferView_pimpl.C (Dispatch): use last word or selection for
11535         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
11536
11537         * lyx_main.C (queryUserLyXDir): do not ask before creating
11538         user_dir, except if it has been named explicitely.
11539
11540 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11541
11542         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
11543         a document of zero size.
11544
11545 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
11546
11547         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
11548         approriately in the c-tor and in require().
11549         (getPackages): output the appropriate LaTeX for natbib support.
11550
11551         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
11552         variables "use_natbib" and "use_numerical_citations" when reading the
11553         LyX file.
11554         (readInset): read the various natbib cite commands.
11555         (validate): white-space change.
11556
11557         * bufferparams.[Ch]: new variables "bool use_natbib" and
11558         "bool use_numerical_citations".
11559         (writeFile): output them in the LyX file.
11560
11561 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11562
11563         * lyxfunc.C (getStatus): add support for all the inset insertion
11564         commands.
11565
11566         * text2.C (insertInset):
11567         * paragraph.C (insetAllowed):
11568         * BufferView_pimpl.C (insertInset): update to take in account the
11569         renaming of insertInsetAllowed
11570
11571         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
11572
11573         * text2.C (getInset): new method. returns inset at cursor position.
11574
11575         * BufferView_pimpl.C (Dispatch): changes because of this.
11576
11577         * LyXAction.C (init): rename open-stuff to inset-toggle.
11578
11579         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
11580
11581         * text2.C (toggleInset): renamed from openStuff; use
11582         Inset::open().
11583
11584 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
11585
11586         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
11587
11588         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
11589
11590 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
11591
11592         * buffer.C (readLyXformat2): Add filename to the error dialog
11593
11594 2001-07-18  Juergen Vigna  <jug@sad.it>
11595
11596         * tabular.C (GetCellNumber): put an assert here instead of the check!
11597
11598 2001-07-17  Juergen Vigna  <jug@sad.it>
11599
11600         * BufferView_pimpl.C (toggleSelection): adapted too.
11601
11602         * text.C (selectNextWord): adapted for use with insets.
11603         (selectSelectedWord): ditto
11604
11605 2001-07-17  Juergen Vigna  <jug@sad.it>
11606
11607         * sp_spell.C (PSpell): fix initialitation order.
11608
11609 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11610
11611         * paragraph.C: spacing
11612
11613 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
11614
11615         * sp_spell.C: repair language selection for pspell
11616
11617 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11618
11619         * lyxfunc.h: change more methods to begin with lower char.
11620
11621 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
11622
11623         * buffer.C (parseSingleLyXformat2Token): Generate error insets
11624         for unknown layouts.
11625
11626 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11627
11628         * buffer.C (readLyXformat2): Generate an error dialog if there are
11629         unknown layouts.
11630
11631 2001-07-16  Juergen Vigna  <jug@sad.it>
11632
11633         * sp_spell.C: always compile ISpell part.
11634
11635         * lyxrc.C: added use_pspell entry and it's handling.
11636
11637 2001-07-13  Juergen Vigna  <jug@sad.it>
11638
11639         * sp_spell.C: removed double includes.
11640
11641 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
11642
11643         Consistent use of Lsstream.h:
11644         * Lsstream.h: added using std::stringstream for consistencies sake.
11645
11646         * buffer.C: removed using std::stringstream
11647
11648         * lyxfont.C (stateText):
11649         * paragraph.C (asString):
11650         * text.C (selectNextWord, selectSelectedWord):
11651         * text2.C (setCounter):
11652         * vspace.C (asString, asLatexString):
11653         std::ostringstream -> ostringstream.
11654
11655 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
11656
11657         * LyXAction.C: add LFUN_HELP_ABOUTLYX
11658         * commandtags.h: add LFUN_HELP_ABOUTLYX
11659         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
11660
11661 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
11662
11663         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
11664         cursorToggle()
11665         * lyx_gui_misc.C: remove spellchecker
11666         * lyxfunc.C: showSpellchecker
11667         * sp_base.h: added
11668         * sp_ispell.h: added
11669         * sp_pspell.h: added
11670         * sp_spell.C: added
11671         * sp_form.[Ch]: removed
11672         * spellchecker.[Ch]: removed
11673
11674 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
11675
11676         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
11677         is set.
11678         (simpleTeXSpecialChars): Simply print the input character without
11679         any special translation if pass_thru is set.
11680
11681         * layout.h: Added bool pass_thru to layout class for being able to
11682         implement pass through of a paragraph for Literate Programming.
11683
11684         * layout.C: add LT_PASS_THRU to LayoutTags enum.
11685         * layout.C (LyXLayout): set pass_thru to flase in constructor.
11686         * layout.C (Read): add "passthru" to list of layout tags and add
11687         code to set the pass_thru boolean when it is read.
11688
11689 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11690
11691         * trans_decl.h: remove allowed from KmodInfo
11692
11693         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
11694         remove allowed code
11695         (Load): adjust
11696
11697         * paragraph_pimpl.C (erase): use boost::prior
11698
11699         * Painter.C (text): use data() instead of c_str() when length is
11700         also provided.
11701         * WorkArea.C (putClipboard): ditto
11702         * font.h (width): ditto
11703
11704         * BufferView2.C: use it-> instead of (*it). for iterators
11705         * texrow.C: ditto
11706         * paragraph_pimpl.C: ditto
11707         * paragraph.C: ditto
11708         * minibuffer.C: ditto
11709         * language.C: ditto
11710         * kbmap.C: ditto
11711         * encoding.C: ditto
11712         * counters.C: ditto
11713         * converter.C: ditto
11714         * chset.C: ditto
11715         * Variables.C: ditto
11716         * TextCache.C: ditto
11717         * MenuBackend.C: ditto
11718         * LyXAction.C: ditto
11719         * LColor.C: ditto
11720         * FloatList.C: ditto
11721         * DepTable.C: ditto
11722         * ColorHandler.C (LyXColorHandler): ditto
11723
11724 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11725
11726         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
11727
11728         * text2.C (openStuff): reintroduce this method (which had been
11729         nuked in NEW_INSETS frenzy).
11730
11731         * lyxfunc.C (Dispatch): when an action has not been handled, use
11732         its name in the error message, not its number.
11733
11734         * paragraph.C (inInset): change method name to begin with lowercase.
11735
11736         * undo_funcs.C:
11737         * text2.C: updates because of this.
11738
11739 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11740
11741         * ToolbarDefaults.C (add): add spaces in error message
11742
11743 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11744
11745         * buffer.C (readLyXformat2): initialize the ert comp. variables.
11746         (readLyXformat2): rename return_par to first_par, use lyxlex's
11747         pushToken and remove the manual push handling.
11748         (parseSingleLyXformat2Token): add another ert comp. variable:
11749         in_tabular, rename return_par to first_par. handle newlines better
11750
11751 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11752
11753         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
11754
11755 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11756
11757         * text2.C (getParFromID): removed
11758
11759         * buffer.C (getParFromID): new method moved form lyxtext.
11760         * BufferView2.C (insertErrors): adjust
11761         (setCursorFromRow): adjust
11762         * BufferView_pimpl.C (restorePosition): adjust
11763         * lyxfunc.C (Dispatch): adjust
11764         * undo_funcs.C (textUndo): adjust
11765         (textRedo): adjust
11766         (textHandleUndo): adjust
11767         (textHandleUndo): adjust
11768
11769 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11770
11771         * buffer.C: up' the LYX_FORMAT
11772
11773         * lyxfont.h: turn NO_LATEX on as default
11774
11775         * buffer.C (insertErtContents): new methods of tex style compability.
11776         (parseSingleLyXformat2Token): use it several places.
11777         * tabular.C (OldFormatRead): and here
11778
11779 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11780
11781         * text2.C: remove some commented code.
11782         reindent file.
11783
11784         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
11785         * trans.C: changes because of the above.
11786
11787 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
11788
11789         * text2.C (setCounter): Fix counters bug with bibliography layout.
11790
11791 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11792
11793         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
11794         own member functions
11795         (simpleTeXSpecialChars): ditto
11796
11797 2001-07-06  Juergen Vigna  <jug@sad.it>
11798
11799         * a lot of files: changed the access to LyXText::status and the
11800         call of undo-functions.
11801
11802         * undo.[Ch]: added a inset_id to the undo informations.
11803
11804         * undo_funcs.[Ch]: added and moved here all undo functions.
11805
11806         * lyxtext.h: give the status enum a weight, made status_ a private
11807         variable and made accessor functions for it, removed the whole bunch
11808         of undo-functions as they are now in their own file, make some
11809         functions publically available. Added function ownerParagraph with
11810         int parameter.
11811
11812         * paragraph.[Ch]: added "bool same_ids" to the constructor,
11813         made InInset() a const function, added getParFromID() function.
11814
11815         * buffer.[Ch]: added const version for inset_iterator functions,
11816         added getInsetFromID() function.
11817
11818         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
11819         changed undo functions for new version.
11820
11821 2001-07-05  Juergen Vigna  <jug@sad.it>
11822
11823         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
11824         unknow mechanism does not call the proper constructor but only this
11825         one also if I request the other!?
11826
11827 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11828
11829         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
11830
11831         * text2.C (LyXText): use initialization lists.
11832
11833         * lyxtext.h (Selection): initialize set_ and mark_
11834         (init): remove method
11835
11836 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
11837
11838         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
11839
11840 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11841
11842         * screen.[Ch]: change method names to begin with lowercase
11843
11844         * BufferView_pimpl.C (updateScrollbar): simplify further and
11845         hopefully make it a bit faster.
11846
11847 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11848
11849         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
11850         calling directly xforms functions.
11851
11852         * Painter.C (Painter):
11853         * lyx_cb.C (MenuWrite):
11854         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
11855         fl_display.
11856
11857         * lyx_gui.C: remove bogus guiruntime extern declaration.
11858
11859 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11860
11861         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
11862         in NEW_INSETS
11863         (redoDrawingOfParagraph): ditto
11864         (redoParagraphs): ditto
11865         (cutSelection): don't create a object for CutAndPaste use the
11866         static method directly
11867         (pasteSelection): ditto
11868
11869         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
11870         LyXview (+ rename)
11871
11872 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11873
11874         * modifications to some other files because of this.
11875
11876         * Makefile.am (lyx_SOURCES): add XFormsView
11877
11878         * XFormsView.[Ch]: new files
11879
11880         * LyXView.[Ch]: make LyXView a base class for the gui handling for
11881         the main window. Move the gui dependent stuff to XFormsView
11882
11883 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11884
11885         * tabular.C (GetCellInset): update cur_cell also in the row/col
11886         version of this function.
11887
11888         * lyxfunc.C: no need to include figure_form.h here.
11889
11890         * FontLoader.h:
11891         * lyxfunc.h:
11892         * lyxscreen.h:
11893         * text2.C:
11894         * lyxvc.C: no need to include forms.h here.
11895
11896 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11897
11898         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
11899
11900         * lyxfunc.C (Dispatch):
11901         * Spacing.C (set):
11902         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
11903         constructor argument.
11904
11905 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11906
11907         * paragraph.C (Paragraph): dont't clear, and just set layout.
11908         (makeSameLayout): use params's copy contructor.
11909
11910         * ParagraphParameters.[Ch] (makeSame): delete method
11911
11912 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
11913
11914         * Variables.[Ch]: fix indentation, rename set to isSet
11915
11916 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11917
11918         * lyxfunc.C (Dispatch): fix typo
11919
11920 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11921
11922         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
11923         upper_bound.
11924
11925         * bufferlist.C: include assert.h for emergencyWrite().
11926
11927 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11928
11929         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
11930           give up at last (bug #425202) !
11931
11932 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
11933
11934         * lyx_gui_misc.C:
11935         * sp_form.h:
11936         * sp_form.C:
11937         * spellchecker.h:
11938         * spellchecker.C: strip spellchecker options and bring up
11939           preferences tab instead
11940
11941 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11942
11943         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
11944         the istringstream constructor
11945
11946 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11947
11948         * paragraph.C (getLayout): fix return value
11949
11950         * paragraph.h: do not declare getLayout as inline.
11951
11952         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
11953
11954 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11955
11956         * lyxcursor.h (operator<): new func
11957         (operator>): new func
11958         (operator>=): new func
11959         (operator<=): new func
11960
11961         * text.C (changeCase): use selection.start and selection.end
11962         (changeRegionCase): require from to be <= to. Require par to be a
11963         valid paragraph.
11964
11965         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
11966
11967 2001-06-27  Juergen Vigna  <jug@sad.it>
11968
11969         * text.C (cursorLeftOneWord): changed to return the cursor and added
11970         overlay with BufferView * parameter which calls this one.
11971         (getWord): added
11972         (selectWord): use new getWord function.
11973         (changeCase): renamed from changeWordCase as and extended to work
11974         also on selections.
11975
11976         * lyxtext.h: added enum word_location
11977
11978         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
11979         changeCase as this operates now also on selections.
11980
11981 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
11982
11983         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
11984
11985         * many files: send debug output to Debug::INFO instead of
11986         Debug::ANY.
11987
11988         * converter.C (View):
11989         (Convert):
11990         (Move): send debug output to Debug::FILES instead of console.
11991
11992 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
11993
11994         * lyxfunc.C (getStatus): use func_status
11995
11996         * func_status.h: new header, describing the results of
11997         LyXFunc::getStatus;
11998
11999         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12000         LFUN_MATH_HALIGN.
12001
12002 2001-06-25  The LyX Project  <jug@sad.it>
12003
12004         * buffer.C (sgmlOpenTag):
12005         (sgmlCloseTag):
12006         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
12007
12008 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12009
12010         * text2.C: remove some dead code
12011
12012         * tabular.C (GetCellInset): store the last cell checked (gotten)
12013
12014         * tabular.h: add the helper for the speedup
12015
12016         * lyxtext.h: remove some dead code
12017
12018 2001-06-26  The LyX Project  <Asger>
12019
12020         * paragraph.C: Change export to LaTeX of alignment to
12021         \begin{center} and family for better roundtrip work with reLyX.
12022
12023         * Tune the math drawing a bit.
12024
12025 2001-06-25  The LyX Project  <Asger>
12026
12027         * LColor.C (LColor): New color for math background. New color
12028         for buttons.
12029
12030 2001-06-25  The LyX Project  <jug@sad.it>
12031
12032         * lyxfunc.C (MenuNew): remove extra check for .lyx file
12033
12034         * lyxfunc.C (Open):
12035         * bufferlist.C (newFile): do not restrict to files ending with
12036         .lyx
12037
12038         * BufferView_pimpl.C (MenuInsertLyXFile):
12039
12040 2001-06-24  The LyX Project  <jug@sad.it>
12041
12042         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12043         of compare_no_case
12044
12045 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12046
12047         * lyxtext.h: rename most methods to begin with a small char.
12048         Lots of changes because of this.
12049
12050         * paragraph.C (Paragraph): do not call fitToSize
12051         (erase): call Pimpl::erase
12052         (insertChar): call Pimpl::insertChar
12053         (insertInset): call Pipl::insertInset
12054         (breakParagraph): do not call fitToSize
12055         (breakParagraphConservative): do not call fitToSize
12056         (fitToSize): remove method
12057
12058         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12059
12060 2001-06-24  The LyX Project  <Asger>
12061
12062         * Fix Qt compilation^2
12063
12064 2001-06-24  The LyX Project  <jug@sad.it>
12065
12066         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12067         depthHook(getDepth()-1).
12068
12069         * paragraph.h:
12070         * ParagraphParameters.h:
12071         * ParameterStruct.h: change type of depth to unsigned int ==
12072         depth_type. Many adaptations to other files before of that.
12073
12074 2001-06-24  The LyX Project  <Asger>
12075
12076         * Fix Qt compilation.
12077
12078 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12079
12080         * paragraph.h: renamed several methods to begin with small letter.
12081         several changes to many parts of the code because of this.
12082
12083 2001-06-23  The LyX Project  <jug@sad.it>
12084
12085         * text2.C (InsertStringAsLines): renamed from InsertStringA;
12086         rewritten to discard all double spaces when KeepEmpty is off
12087         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12088         to only handle newlines but not fiddle with spaces and friends.
12089
12090         * lyxfunc.C (MenuNew): when doing 'new from template', use
12091         template_path as default directory
12092
12093 2001-06-23  The LyX Project  <Asger>
12094
12095         * Clean-up of header file includes all over
12096         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12097
12098 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12099
12100         * paragraph.h: renamed from lyxparagraph.h
12101
12102 2001-06-23  Asger  <lyx@violet.home.sad.it>
12103
12104         * Buffer.h: Removed Buffer::resize
12105         * BufferList.h: Removed BufferList::resize
12106         * LyXView.h: Added LyXView::resize. This way, we will only reflow
12107         the document lazily when we change the width, or the font settings.
12108
12109 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12110
12111         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12112
12113 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12114
12115         * buffer.h: remove out of date comment
12116
12117 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12118
12119         * lyxscreen.h:
12120         * screen.C: fix "theoretical" GC leak
12121
12122 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12123
12124         * LaTeX.C (scanAuxFile):
12125         (deplog): remove trailing \r when reading stream (useful under
12126         win32)
12127
12128 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
12129
12130         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12131         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12132         and BufferView::theLockingInset(Inset*), so should use them and not
12133         access bv_->text->the_locking_inset directly.
12134
12135         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12136
12137 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12138
12139         * Makefile.am:
12140         * tex-defs.h: remove old unused file
12141
12142 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
12143
12144         * BufferView_pimpl.C: fix typo, remove minibuffer message
12145           when buffer has loaded
12146
12147 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12148
12149         * lyxfunc.C (Dispatch): use stringstream
12150         (MenuNew): use stringstream
12151         (Open): use stringstream
12152
12153         * importer.C (Import): use stringstream
12154
12155         * bufferview_funcs.C (CurrentState): use stringstream
12156
12157         * LaTeX.C (run): use stringstream
12158
12159         * BufferView_pimpl.C (savePosition): use stringstream
12160         (restorePosition): use stringstream
12161         (MenuInsertLyXFile): use stringstream
12162
12163 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
12164
12165         * BufferView.C:
12166         * Bullet.C:
12167         * ColorHandler.C:
12168         * FontInfo.C:
12169         * FontLoader.C:
12170         * LColor.C:
12171         * LaTeXFeatures.C:
12172         * Painter.C:
12173         * gettext.C:
12174         * lyx_gui_misc.C:
12175         * lyxserver.C:
12176         * vspace.C: removed // -*- C++ -*- as first line.
12177
12178         * lyxfind.h:
12179         * version.h: added // -*- C++ -*- as first line.
12180
12181 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12182
12183         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12184
12185         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12186         of string
12187
12188 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12189
12190         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12191         of floats.
12192
12193 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12194
12195         * gettext.C: include LString.h even when --disable-nls is on.
12196
12197 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
12198
12199         * converter.h (Get): changed argument type from int to
12200         FormatList::size_type to avoid unnecessary conversion.
12201
12202         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12203         before using it.
12204
12205 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12206
12207         * gettext.h: include LString.h even when --disable-nls is on.
12208
12209 2001-06-07  Juergen Vigna  <jug@sad.it>
12210
12211         * text.C (BreakAgain): subst spaces with tabs.
12212
12213         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
12214         (resizeInsetsLyXText): set force on resizeLyXText.
12215
12216 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12217
12218         * gettext.h (gettext_init):
12219         (locale_init): use a real definition instead of a macro
12220
12221 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12222
12223         * Bufferview_pimpl.C:
12224         * LColor.h:
12225         * LColor.C: further lcolor tidies
12226
12227 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12228
12229         * BufferView_pimpl.C (updateScrollbar): simplify.
12230
12231         * BufferView2.C: don't include insets/insetinfo.h, change
12232         prototype for insertInset and call the Pimpl version. let
12233         updateInset call Pimpl version.
12234
12235         * BufferView.h: move inset_slept to BufferView::Pimpl, move
12236         gotoInset to BufferView::Pimpl
12237
12238 2001-06-01  Juergen Vigna  <jug@sad.it>
12239
12240         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
12241         inside a LockingInset (is the update needed at all?).
12242
12243 2001-05-31  Juergen Vigna  <jug@sad.it>
12244
12245         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
12246         here not the old one otherwise how should we compare it afterwards
12247         if it's the same!
12248
12249 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12250
12251         * lyxfont.C:
12252         * tabular.C:
12253         * tabular-old.C:
12254         * FontInfo.C: bring C functions into global namespace when
12255         necessary
12256
12257 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12258
12259         * LString.h: make sure config.h has been loaded before LString.h.
12260
12261         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
12262         (one for each char read by EatLine!).
12263
12264         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
12265         variables.
12266
12267 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12268
12269         * paragraph.C (BreakParagraph): set the inset_owner in the new par
12270         to the same as the par we break from
12271
12272 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12273
12274         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
12275
12276         * MenuBackend.C (expand): also create menu entries for wide
12277         versions of the floats.
12278
12279         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
12280
12281         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
12282
12283         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
12284         frontends/Makefile.am
12285
12286         * text2.C: adjust
12287         * text.C: adjust
12288
12289
12290         * tabular.C (getTokenValue): add std::
12291
12292         * tabular-old.C (getTokenValue): add std::
12293         (getTokenValue): ditto
12294         (getTokenValue): ditto
12295
12296         * screen.C (ToggleSelection): adjust
12297
12298         * lyxtext.h: put selection cursors inside a Selection struct.
12299
12300         * lyxfunc.C (moveCursorUpdate): adjust
12301
12302         * lyxfont.C (latexWriteStartChanges): add std::
12303
12304         * lyxfind.C: adjust
12305
12306         * font.h: delete with(char const *, LyXFont const &)
12307
12308         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
12309
12310         * FontInfo.C (getFontname): add std::
12311
12312         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12313         (workAreaButtonPress): adjust
12314         (tripleClick): adjust
12315         (update): adjust
12316         (moveCursorUpdate): adjust
12317         (Dispatch): adjust
12318
12319         * BufferView2.C (gotoInset): adjust
12320
12321 2001-05-30  Juergen Vigna  <jug@sad.it>
12322
12323         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
12324         to check pspell I add this as default as I now have new pspell
12325         libraries and they seem to use this.
12326
12327 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12328
12329         * text2.C (CutSelection): make the cursor valid before the call to
12330         ClearSelection.
12331
12332 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12333
12334         * kbsequence.C (parse): de-uglify a bit the parsing code, which
12335         relied on 0 terminated strings and other horrors. Bug found due to
12336         the new assert in lyxstring!
12337
12338         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12339         KP_ keys.
12340
12341 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12342
12343         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12344         to latinkeys.bind.
12345
12346         * lyxfunc.C (processKeySym): change method of getting to the
12347         self-insert char.
12348
12349         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12350         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12351         * BufferView_pimpl.[Ch]: here as private methods.
12352
12353 2001-05-28  Juergen Vigna  <jug@sad.it>
12354
12355         * text.C (SetHeightOfRow): added the update() call again as it is
12356         needed to initialize inset dimensions!
12357
12358 2001-05-16  Juergen Vigna  <jug@sad.it>
12359
12360         * text2.C (SetCharFont): Add new function with BufferView * and
12361         bool toggleall parameters for setting insets internal fonts.
12362         (SetFont): Freeze the undo as we may change fonts in Insets and
12363         all this change should be inside only one Undo!
12364
12365         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12366         setting font's in insets as for them we have the SetFont function!
12367
12368 2001-05-15  Juergen Vigna  <jug@sad.it>
12369
12370         * text2.C (ClearSelection): to be sure we REALLY don't have any
12371         selection anymore!
12372
12373         * tabular.C (TeXCellPreamble): fixed the left border problem for
12374         multicolumn cells.
12375
12376 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
12377
12378         * LaTeX.C (deplog): Make sure that the main .tex file is in the
12379         dependancy file
12380
12381 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12382
12383         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12384         LFUN_BREAKPARAGRAPH.
12385
12386         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12387         help test to "internal only", similar for LFUN_INSERT_URL
12388
12389         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12390         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12391         auto_region_delete and deadkeys.
12392
12393 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
12394
12395         * LColor.h:
12396         * LColor.C: remove some dead entries, tidy a little
12397
12398 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12399
12400         * lyxfunc.C (processKeySym): comment the Escape handling, remove
12401         commented code.
12402         (Dispatch): implement LFUN_ESCAPE
12403
12404         * commandtags.h: add LFUN_ESCAPE
12405
12406         * LyXAction.C (init): add entry for LFUN_ESCAPE
12407
12408         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12409         Remove commented code.
12410         (insertNote): moved here
12411         (open_new_inset): moved here
12412
12413         * BufferView[2].[Ch]: move insertNote and open_new_inset to
12414         BufferView_pimpl
12415
12416 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12417
12418         * kbmap.C (findbinding): clean it up and make it work correctly.
12419
12420         * lyx_main.C (init): do not pass argc and argv as parameters
12421
12422 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
12423
12424         * buffer.C: fix path for OS/2 & Win32
12425
12426         * lyx_gui.C:
12427         * lyx_main:
12428         * lyx_main.C: Added os:: class.
12429
12430         * os2_defines.h: update
12431
12432 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12433
12434         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12435         better by trying again with reduced state.
12436
12437 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12438
12439         * lyxrc.C (read): print error about invalid key sequence only when
12440         debugging (because not all latinX keysyms are known to some X
12441         servers)
12442
12443         * kbsequence.C (getiso): add a few std:: qualifiers
12444         (getiso): comment out extra return statement.
12445
12446 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12447
12448         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12449         handling.
12450         (Dispatch): enhance the accent inset a bit. (not perfect)
12451
12452 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12453
12454         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12455
12456 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12457
12458         * bufferlist.C (emergencyWrite): fix assert() call
12459
12460 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
12461
12462         * text.C (InsertChar): Added trivial patch to only send the "you
12463         can not do multiple spaces this way" message once during a
12464         session.
12465
12466 2001-05-08  Baruch Even  <baruch@lyx.org>
12467
12468         * Makefile.am: Changed order of libraries to get LyX to link properly
12469         with the gnome frontend.
12470
12471 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12472
12473         * LaTeXFeatures.h: add a std:: qualifier
12474
12475 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12476
12477         * paragraph.C (String): use stringstream
12478
12479 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12480
12481         * paragraph.C (writeFile): remove footflag arg
12482
12483         * buffer.C (makeLaTeXFile): use stringstream
12484         (latexParagraphs): remove footnot gurba
12485
12486         * LaTeXFeatures.C (getPackages): use stringstream
12487         (getMacros): likewise
12488         (getTClassPreamble): likewise
12489         (getFloatDefinitions): new method
12490
12491         * paragraph.C (writeFile): reindent
12492         (Erase): reindent
12493
12494         * WorkArea.h: revert the xpos + etc changes.
12495
12496         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
12497
12498         * lyxparagraph.[Ch]: add copy constructor, remove Clone
12499
12500         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
12501         (pasteSelection): likewise
12502         * text2.C (CreateUndo): likewise
12503
12504 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12505
12506         * minibuffer.C (peek_event): temporarily reduce the functionality
12507         of the minibuffer (to allow args on lfuns)
12508
12509         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
12510         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
12511
12512         * buffer.C (readInset): add compability reading of old float
12513         lists, add reading of new style float list.
12514         (readInset): avoid reevaluation of inscmd.getCmdName()
12515         (getLists): reindent
12516
12517         * MenuBackend.C (MenuItem): implement parsing of
12518         md_floatlistinsert and md_floatinsert.
12519         (expand::LastFiles): move initalizaton of iterators out of loop,
12520         avoid reevaluation.
12521         (expand::Documents): introduce typdedef vector<string> Strings,
12522         and use it.
12523         (expand::ExportFormats): introduce typedef vector<Format const *>
12524         Formats, and use it.
12525         (expand): implement FloatListInsert and FloatInsert.
12526
12527         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
12528         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
12529         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
12530
12531         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
12532         handling.
12533         (Dispatch::LFUN_FLOAT_LIST): implement
12534
12535 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12536
12537         * LaTeX.C (run): Fix problem with --export code.
12538
12539 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12540
12541         * BufferView.[Ch] (workarea): removed.
12542         (getClipboard) new method; wrapper for workarea()->getClipboard()
12543
12544         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
12545         bug.
12546
12547         * WorkArea.h (width, height, xpos, ypos): These methods all
12548         returned the dimensions of the work_area sub-area of WorkArea,
12549         resulting in a position error if the WorkArea were resized. Now
12550         return the dimensions of the entire WorkArea.
12551
12552         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
12553
12554 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12555
12556         * LaTeX.C (deplog): correct the syntax of regex reg1
12557
12558 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12559
12560         * undo.C: remove !NEW_INSETS cruft
12561
12562 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12563
12564         * text2.C: remove !NEW_INSETS cruft
12565
12566         * text.C: remove !NEW_INSETS cruft
12567
12568         * tabular.C: remove !NEW_INSETS cruft
12569
12570         * spellchecker.C: remove !NEW_INSETS cruft
12571
12572         * lyxtext.h: remove !NEW_INSETS cruft
12573
12574         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
12575
12576         * lyxfunc.C: remove !NEW_INSETS cruft
12577
12578         * lyxfind.C: remove !NEW_INSETS cruft
12579
12580         * lyx_cb.C: remove !NEW_INSETS cruft
12581
12582         * figureForm.C: remove  !NEW_INSETS cruft
12583
12584         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
12585
12586         * buffer.[Ch]: remove !NEW_INSETS cruft
12587
12588         * ToolbarDefaults.C: remove !NEW_INSETS cruft
12589
12590         * CutAndPaste.C: remove !NEW_INSETS cruft
12591
12592         * BufferView_pimpl.C: remove !NEW_INSETS cruft
12593
12594         * BufferView2.C: remove !NEW_INSETS cruft
12595
12596         * BufferView.h: remove !NEW_INSETS cruft
12597
12598 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12599
12600         * Lsstream.h: include LString.h before the sstream headers to
12601         fix problem with gcc 2.95.3 and lyxstring
12602
12603 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12604
12605         * lyx_main.C: add using directives when needed for C functions
12606         declared in std:: namespace.
12607
12608 2001-04-27  Juergen Vigna  <jug@sad.it>
12609
12610         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
12611         (SetHeightOfRow): comment out the update call should not be needed!
12612
12613 2001-04-13  Juergen Vigna  <jug@sad.it>
12614
12615         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
12616         (LyXTabular): tried to minimize operator= operations (and realized
12617         hopfully Lars wish).
12618
12619 2001-04-27  Juergen Vigna  <jug@sad.it>
12620
12621         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
12622
12623 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12624
12625         * lyxfunc.C (Dispatch): hack to make listof algorithm work
12626
12627         * buffer.C (readInset): hack to make listof algorithm work
12628
12629         * BufferView_pimpl.C: hack to make listof algorithm work
12630
12631 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12632
12633         * LyXAction.C: removed all !NEW_INSETS cruft
12634         (init): moved lfun_item in method
12635
12636         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
12637
12638 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12639
12640         * BufferView2.C (theLockingInset): white space.
12641
12642 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12643
12644         * minibuffer.C: include <iostream>
12645
12646         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
12647
12648         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
12649
12650         * commandtags.h: add LFUN_TRANSPOSE_CHARS
12651
12652         * text.[Ch] (TransposeChars): new method
12653
12654 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12655
12656         * call message directly through LyXView instead of through LyXFunc
12657         * BufferView2.C: adjust
12658         * BufferView_pimpl.C: adjust
12659         * FontLoader.C: adjust
12660         * buffer.C: adjust
12661         * bufferview_funcs.C: adjust
12662         * converter.C: adjust
12663         * figureForm.C: adjust
12664         * importer.C: adjust
12665         * lyx_cb.C: adjust
12666         * lyx_gui_misc.C: adjust
12667         * lyxfunc.C: adjust
12668         * lyxvc.C: adjust
12669         * text2.C: adjust
12670         + more files in subdirs
12671
12672         * lyxparagraph.h (size): move up int file
12673         (GetLayout): ditto
12674
12675         * adjust all uses of Assert to lyx::Assert.
12676
12677         * BufferView2.C (ChangeCitationsIfUnique): adjust for
12678         lyxfunctional in namespace lyx
12679         * layout.C (hasLayout): ditto
12680         (GetLayout): ditto
12681         (GetLayout): ditto
12682         (delete_layout): ditto
12683         (NumberOfClass): ditto
12684         * converter.C (GetFormat): ditto
12685         (GetNumber): ditto
12686         (Add): ditto
12687         (Delete): ditto
12688         (SetViewer): ditto
12689         * bufferlist.C (getFileNames): ditto
12690         (emergencyWriteAll): ditto
12691         (exists): ditto
12692         (getBuffer): ditto
12693         * MenuBackend.C (hasSubmenu): ditto
12694         (hasMenu): ditto
12695         (getMenu): ditto
12696         * BufferView_pimpl.C (getInsetByCode): ditto
12697
12698 2001-04-18  Juergen Vigna  <jug@sad.it>
12699
12700         * vspace.C (asLatexString): fixed the 100% problem.
12701
12702 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12703
12704         * lyxfunc.C (Dispatch):
12705         * minibuffer.C:
12706         * minibuffer.h: add a few std:: qualifiers
12707
12708 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12709
12710         * minibuffer.[Ch]: reimplement so that commands is initiated and
12711         run from lyxfunc, simplified som handling, and made the completion
12712         and history code for complete. wip.
12713
12714         * lyxfunc.C (processKeySym): call message
12715         (miniDispatch): new temporary method
12716         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
12717         (LFUN_MESSAGE): implement
12718         (LFUN_MESSAGE_PUSH): implement
12719         (LFUN_MESSAGE_POP): implement
12720         (initMiniBuffer): the initial/defualt minibuffer message.
12721
12722         * lyxfont.[Ch]: inline some more getters
12723
12724         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
12725
12726         * lyx_gui_misc.[Ch] (WriteStatus): remove method
12727
12728         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
12729         (AutoSave): use LFUN_MESSAGE
12730         (Reconfigure): ditto
12731
12732         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
12733
12734         * figureForm.C: use LFUN_MESSAGE
12735
12736         * converter.C (runLaTeX): use LFUN_MESSAGE
12737
12738         * bufferview_funcs.C: use LFUN_MESSAGE
12739         (Melt): ditto
12740         (changeDepth): ditto
12741
12742         * bufferparams.h: use boost::
12743
12744         * bufferlist.h: inherit privately from noncopyable
12745
12746         * bufferlist.C (loadLyXFile): remove some commented code.
12747
12748         * buffer.C (runChktex): use LFUN_MESSAGE
12749
12750         * ShareContainer.h: inherit privately from noncopyable
12751
12752         * ParagraphParameters.[hC] (depth): inline it.
12753
12754         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
12755         methods.
12756         (message): new method
12757         (messagePush): ditto
12758         (messagePop): ditto
12759         (show): init minibuffer
12760         (showState): direct call
12761
12762         * LaTeX.[Ch]: inherit privately from noncopyable
12763         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
12764         instead of WriteStatus.
12765
12766         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
12767
12768         * BufferView_pimpl.C (buffer): don't init minibuffer
12769         (workAreaButtonPress): use LFUN_MESSAGE
12770         (workAreaButtonRelease): ditto
12771         (savePosition): ditto
12772         (restorePosition): ditto
12773         (MenuInsertLyXFile): ditto
12774         (workAreaExpose): don't init minibuffer
12775         (update): remove commented code, simplify
12776
12777         * BufferView2.C (openStuff): use LFUN_MESSAGE
12778         (toggleFloat): ditto
12779         (menuUndo): ditto
12780         (menuRedo): ditto
12781         (copyEnvironment): ditto
12782         (pasteEnvironment): ditto
12783         (copy): ditto
12784         (cut): ditto
12785         (paste): ditto
12786         (gotoInset): ditto
12787         (updateInset): remove some commented code
12788
12789         * lastfiles.h: inherit privately from noncopyable
12790         * layout.h: ditto
12791         * lyx_gui.h: ditto
12792         * lyx_main.h: ditto
12793         * lyxlex.h: ditto
12794         * lyxlex_pimpl.h: ditto
12795
12796         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
12797         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
12798         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12799
12800         * LyXAction.h: inherit privately from noncopyable, add methods
12801         func_begin, func_end, returning iterators to the func map.
12802
12803         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
12804         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12805         (func_begin): new method
12806         (func_end): new method
12807
12808         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
12809         and not)
12810         (copySelection): ditto
12811         (pasteSelection): ditto
12812
12813         * BufferView.C: whitespace change
12814         * BufferView.h: inherit privately from noncopyable
12815
12816 2001-04-16  Allan Rae  <rae@lyx.org>
12817
12818         * tabular-old.C (l_getline):
12819         * spellchecker.C (sc_check_word):
12820         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
12821         an unrecognised preprocessor directive.  So ensure they're wrapped.
12822
12823 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
12824
12825         * src/exporter.C (Export): Give an error message when path to file
12826         contains spaces.
12827
12828 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
12829
12830         * LaTeX.C (deplog): Always check that foundfile exists.
12831
12832 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12833
12834         * lyx_main.h:
12835         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
12836
12837 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12838
12839         * tabular.[Ch] (getLabelList): implement new method
12840
12841         * minibuffer.h: comment ouf setTiimer
12842
12843         * minibuffer.C (ExecutingCB): constify res
12844         (peek_event): constify s
12845         (Set): constify ntext
12846         (Init): constify nicename
12847
12848         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
12849
12850         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
12851         (savePosition): use two params to Minibuffer::Set
12852         (restorePosition): ditto
12853
12854 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12855
12856         * lyx_main.C: include language.h
12857
12858         * Makefile.am (lyx_main.o): add language.h
12859
12860 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12861
12862         * exporter.C:
12863         * paragraph.C:
12864         * screen.C:
12865         * tabular.C:
12866         * CutAndPaste.C: include gettext.h
12867
12868         * lyxfont.h: remove old hack with ON and OFF.
12869
12870         * lyxparagraph.h:
12871         * lyxfont.h: do not include language.h...
12872
12873         * BufferView2.C:
12874         * LaTeXFeatures.C:
12875         * Painter.C:
12876         * bufferview_funcs.C:
12877         * font.C:
12878         * lyxfont.C:
12879         * text.C:
12880         * text2.C:
12881         * trans_mgr.C:
12882         * paragraph.C: ... but do it here instead
12883
12884 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12885
12886         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
12887
12888         * tabular.C: small reformat
12889
12890         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
12891         NEW_INSETS version
12892         (GetChar): ditto
12893         (BreakParagraph): ditto
12894         (SetOnlyLayout): ditto
12895         (SetLayout): ditto
12896
12897         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
12898         with one arg less.
12899
12900         * lastfiles.C: removed most using decl, add std:: where needed
12901
12902         * buffer.C: ws changes
12903
12904         * MenuBackend.C (class compare_format): put into anon namespace
12905         (expand): constify label, names, action, action2
12906         (expand):
12907
12908         * text.C (SingleWidth): constify font
12909         (IsBoundary): constify rtl2
12910         (GetVisibleRow): constify ww
12911
12912         * LaTeX.C (deplog): constify logfile
12913
12914         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
12915         start_x, end_x
12916         (workAreaExpose): constify widthChange, heightChange
12917
12918         * lyxrow.C (par): moved
12919         (height): moved
12920         (next): moved
12921         * lyxrow.h: as inlines here
12922
12923         * lyxfont.h (shape): moved from lyxfont.C
12924         (emph): moved from lyxfont.C
12925
12926         * lyxfont.C (LyXFont): use initialization list for all
12927         constructors
12928         (shape): move to lyxfont.h as inline
12929         (emph): move to lyxfont.h as inline
12930
12931
12932 2001-04-04  Juergen Vigna  <jug@sad.it>
12933
12934         * vspace.C: had to include stdio.h for use of sscanf
12935
12936 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
12937
12938         * BufferView.h:
12939         * BufferView_pimpl.h: remove xforms cruft. Both classes are
12940         independent of xforms.
12941
12942 2001-04-02  Juergen Vigna  <jug@sad.it>
12943
12944         * spellchecker.C: fixed namespace placing!
12945
12946 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
12947
12948         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
12949         the LyXParagraph * is 0.
12950
12951 2001-03-29  Juergen Vigna  <jug@sad.it>
12952
12953         * vspace.C: added support for %, c%, p%, l%.
12954         (stringFromUnit): added helper function.
12955         (asLatexString): changed to give right results for the %-values.
12956
12957         * buffer.C: convert the widthp in a width%.
12958
12959 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
12960
12961         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
12962         figureForm.[Ch].
12963
12964         * figureForm.[Ch]: stripped the FD_from_figure manipulation
12965         code out of lux_cb.[Ch], ready for its (imminent?) removal.
12966
12967         * lyx_cb.[Ch]: see above.
12968
12969         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
12970         form1.[Ch].
12971
12972         * form1.[Ch]:
12973         * lyx.[Ch]: replaced by figure_form.[Ch].
12974
12975         * lyx_gui.C:
12976         * lyx_gui_misc.C:
12977         * lyxfunc.C: changed headers associated with above changes.
12978
12979 2001-03-27  Juergen Vigna  <jug@sad.it>
12980
12981         * BufferView_pimpl.C: set the temporary cursor right!
12982
12983 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
12984
12985         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
12986
12987 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
12988
12989         * LString.h: removed "using std::getline"!
12990
12991         * BufferView_pimpl.C (Dispatch): changes due to changes in
12992         InsetInclude::Params.
12993
12994         * buffer.C (tag_name): removed redundant break statements as they were
12995         producing lots of warnings with my compiler.
12996
12997 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12998
12999         * LString.h: add "using std::getline" when using the real <string>.
13000
13001 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
13002
13003         * buffer.C: removed bitset usage.
13004         PAR_TAG moved to an anonymous name space.
13005         (tag_name): new funtion, also in the anonymous namespace.
13006         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13007         (makeDocBookFile): clean code. Completed transition from string arrays
13008         to string vectors.
13009         (SimpleDocBookOnePar): code clean.
13010
13011 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13012
13013         * tabular.C: add some comments.
13014
13015 2001-03-22  Juergen Vigna  <jug@sad.it>
13016
13017         * buffer.C (parseSingleLyXformat2Token): redone the minipage
13018         compatibility read a bit and fixed bug with minipage in different
13019         depth.
13020
13021 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
13022
13023         * buffer.C (pop_tag): removed.
13024         (push_tag): removed.
13025         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13026         array replaced with vector. Added support for CDATA sections.
13027         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13028         at any nest level.
13029         (makeDocBookFile): XML conformant declaration of CDATA section,
13030         fixed bug related to <emphasis> in the first paragraph char.
13031         (sgmlOpenTag): exclude empty tags.
13032         (sgmlCloseTag): ditto.
13033
13034         * buffer.h (pop_tag): removed.
13035         (push_tag): removed.
13036
13037 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
13038
13039         * language.h (Languages): added size_type and size().
13040
13041 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13042
13043         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13044         response on compability reading of minipages. One probliem is that
13045         the old usage of minipages was «flertydig»
13046
13047         * several files here and in subdirs: don't use static at file
13048         scope use anon namespaces instead.
13049
13050 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
13051
13052         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13053         LaTeX output. This is necessary for Literate document
13054         processing.
13055
13056 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13057
13058         * buffer.C: insert hfill when needed.
13059
13060         * tabular.C (l_getline): use string::erase, small whitespace change.
13061
13062         * BufferView_pimpl.C: try the anon namespace.
13063         * WorkArea.C: ditto
13064
13065 2001-03-16  Juergen Vigna  <jug@sad.it>
13066
13067         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13068         otherwise it won't open options-dialogs.
13069
13070         * buffer.C: honor pextraWidth(p) on converting minipages.
13071
13072         * tabular.C (l_getline): changed the functions to strip trailing \r.
13073
13074 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
13075
13076         * BufferView_pimpl.C:
13077         * minibuffer..C: added "using SigC::slot" declaration.
13078
13079 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13080
13081         * lyxlex_pimpl.h: noncopyable is in namespace boost.
13082
13083         * text2.C: ditto
13084
13085         * text.C: ditto
13086
13087         * paragraph.C: ditto
13088
13089         * lyxtext.h: NO_PEXTRA
13090
13091         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13092
13093         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13094         * ParameterStruct.h: ditto
13095         * ParagraphParameters.h: ditto
13096         * lyxparagraph.h: ditto
13097
13098 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13099
13100         * buffer.C: add compability for minipage alignment.
13101         (latexParagraphs): remove unwanted pextra check.
13102
13103         * several files: remove CXX_WORKING_NAMESPACES
13104
13105         * buffer.C (pop_tag): tie is in namespace boost
13106
13107         * BufferView.h: noncopyable is in namespace boost
13108         * lyxlex.h: ditto
13109         * lyx_main.h: ditto
13110         * lyx_gui.h: ditto
13111         * layout.h: ditto
13112         * lastfiles.h: ditto
13113         * bufferlist.h: ditto
13114         * ShareContainer.h: ditto
13115         * LyXView.h: ditto
13116         * LyXAction.h: ditto
13117         * LaTeX.h: ditto
13118
13119 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13120
13121         * Merging changes from BRANCH_MVC back into HEAD.
13122
13123         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13124
13125 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
13126
13127         * BufferView_pimpl.C: change from intl.C
13128
13129         * combox.h:
13130         * combox.C:
13131         * Makefile.am: move combox.*
13132
13133         * form1.h:
13134         * form1.C:
13135         * lyx_gui.C:
13136         * intl.h:
13137         * intl.C: remove dialog (covered by prefs)
13138
13139 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13140
13141         * lyxfunc.C (Dispatch): removed redundant break statement.
13142
13143 2001-03-14  Juergen Vigna  <jug@sad.it>
13144
13145         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13146
13147 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13148
13149         * buffer.C: add hack to fix compability reading of minipages.
13150
13151 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
13152
13153         * buffer.C (getLists): Cleanup.
13154
13155 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13156
13157         * lyxfont.C (update): don't honor toggleall on font size.
13158
13159 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
13160
13161         * bmtable.c:
13162         * bmtable.h:
13163         * Makefile.am: moved to frontends/xforms/
13164
13165         * lyx_gui_misc.C:
13166         * lyxfunc.C:
13167         * BufferView_pimpl.C: changes for moved mathpanel
13168
13169 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13170
13171         * gettext.h: fix gettext_init() in --disable-nls
13172
13173 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13174
13175         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13176
13177 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
13178
13179         * lyx.C:
13180         * lyx.h: strip external form
13181
13182 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13183
13184         * BufferView_pimpl.C: add comment, destroySplash()
13185
13186 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13187
13188         * BufferView_pimpl.C:
13189         * LyXAction.C:
13190         * buffer.C:
13191         * commandtags.h:
13192         * lyxfunc.C: use re-worked insetinclude
13193
13194 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13195
13196         * buffer.C: add using std::stringstream.
13197
13198         * lyx_cb.C: readd using std::ios.
13199
13200         * buffer.C: add using std::map.
13201
13202         * BufferView_pimpl.C: add using std::vector.
13203
13204         * ShareContainer.h: add std:: to swap.
13205
13206         * buffer.h: add some typedefs
13207         * buffer.C (getLists): use them
13208         (getLists): renamed from getTocList.
13209         add a counter for the different float types and use it in the
13210         generated string.
13211         (getLists): use the same counter for the NEW_INSETS and the "non"
13212         NEW_INSETS
13213
13214         * lyx_cb.h: remove unused items, includes, using etc.
13215
13216         * ShareContainer.h: remove some commented code, add more comments
13217         and "documentation".
13218
13219 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13220
13221         * buffer.C (getTocList): make the list also when NEW_INSETS is
13222         defined.
13223
13224         * buffer.h: remove TocType
13225
13226         * buffer.C (getTocList): change to return a map<string,
13227         vector<TocItem> >, implement for dynamic number of list.
13228
13229         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13230         * text2.C (PasteSelection): adjust
13231         * CutAndPaste.C (pasteSelection): adjust
13232
13233         * FloatList.C (FloatList): update from the new_insets branch.
13234         * Floating.[Ch]: ditto
13235         * LaTeXFeatures.C: ditto
13236         * buffer.C: ditto
13237         * lyxlex_pimpl.C: ditto
13238
13239         * paragraph.C (Last): remove when NEW_INSETS is defined.
13240
13241         * other file: changes because of the above.
13242
13243 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13244
13245         * lyxparagraph.h: rename next to next_, previous to previous_,
13246         make them private for NEW_INSETS. Rename Next() to next(),
13247         Previous() to previous().
13248
13249         * other files: changes because of the above.
13250
13251 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
13252
13253         * BufferView.h:
13254         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
13255         problem.
13256
13257 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13258
13259         * main.C (main): pass lyx_localedir to gettext_init().
13260
13261         * gettext.h: remove locale_init and gettext_init macros
13262
13263         * gettext.C (locale_init): new function
13264         (gettext_init): new function
13265
13266         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
13267         setlocale().
13268
13269 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
13270
13271         * Moved credits to frontends:
13272         * credits.[Ch]: removed
13273         * credits_form.[Ch]: removed
13274         * lyx_gui_misc.C: remove credits stuff
13275         * Makefile.am:
13276
13277 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13278
13279         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
13280
13281         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
13282         unneeded destructor.
13283
13284         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
13285         a standalone pointer again.
13286
13287         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
13288
13289 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
13290
13291         * Makefile.am:
13292         * filedlg.h:
13293         * filedlg.C:
13294         * LyXAction.C:
13295         * ToolbarDefaults.C:
13296         * bufferlist.C:
13297         * commandtags.h:
13298         * form1.C:
13299         * form1.h:
13300         * lyx_cb.C:
13301         * lyx_cb.h:
13302         * lyxfunc.h:
13303         * lyxfunc.C:
13304         * BufferView_pimpl.C: use new file dialog in GUII
13305
13306         * lyx_cb.h:
13307         * lyx_cb.C: remove LayoutsCB to Toolbar
13308
13309 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13310
13311         * ShareContainer.h (get): add std:: qualifier
13312
13313 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13314
13315         * ShareContainer.h: define a proper ShareContainer::value_type
13316         type (and use typename to please compaq cxx)
13317
13318 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13319
13320         * lyxparagraph.h: move serveral local vars to
13321         ParameterStruct/ParagraphParameters., use ShareContainer in
13322         FontTable., make vars in FontTable private and add getter and
13323         setter.
13324
13325         * paragraph.C: changes because of the above.
13326
13327         * lyxfont.h: remove copy constructor and copy assignment. (the
13328         default ones is ok), move number inside FontBits. move inlines to
13329         lyxfont.C
13330
13331         * lyxfont.C: add number to initializaton of statics, move several
13332         inlines here. constify several local vars. some whitespace
13333         cleanup. Dont hide outerscope variables.
13334
13335         * Spacing.h: add two new constructors to match the set methods.
13336
13337         * ShareContainer.h: new file, will perhaps be moved to support
13338
13339         * ParameterStruct.h: new file
13340
13341         * ParagraphParameters.h: new file
13342
13343         * ParagraphParameters.C: new file
13344
13345         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13346         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13347
13348         * BufferView_pimpl.C: ParagraphParameter changes.
13349         * buffer.C: Likewise.
13350         * bufferview_funcs.C: Likewise.
13351         * text.C: Likewise.
13352         * text2.C: Likewise.
13353
13354 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13355
13356         * lyxfind.C (LyXReplace): do not redefine default argument in
13357         implementation.
13358         (IsStringInText): ditto
13359         (SearchForward): ditto
13360         (SearchBackward): ditto
13361
13362 2001-03-06  Juergen Vigna  <jug@sad.it>
13363
13364         * lyxfind.C (IsStringInText): put parentes around expressions.
13365
13366 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
13367
13368         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13369
13370 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
13371
13372         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13373
13374         * stl_string_fwd.h: add comment
13375
13376         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13377
13378         * tabular.h:
13379         * tabular.C: remove unused DocBook methods
13380
13381         * intl.C:
13382         * language.C:
13383         * paragraph.C:
13384         * buffer.C:
13385         killed DO_USE_DEFAULT_LANGUAGE
13386
13387 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13388
13389         * lyx_gui.C: do not include language.h.
13390
13391         * bufferview_funcs.C (ToggleAndShow): do not provide optional
13392         arguments in function implementation.
13393
13394 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13395
13396         * BufferView_pimpl.C: add <ctime>
13397
13398 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13399
13400         * BufferView_pimpl.C: add using std::find_if
13401
13402 2001-02-27  José Matos  <jamatos@fep.up.pt>
13403
13404         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13405         by OnlyPath.
13406
13407 2001-02-11  José Matos  <jamatos@fep.up.pt>
13408
13409         * buffer.C (makeDocBookFile): command styles now have a parameter as
13410         "title" by default.
13411
13412 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
13413
13414         * layout_forms.[Ch]: removed
13415         * lyx_cb.[Ch]: out character
13416         * lyx_gui.C: out character
13417         * lyx_gui_misc.C: out character
13418         * bufferview_funcs.C: : out character,
13419         added toggleall as parameter in ToggleAndShow
13420
13421 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
13422
13423         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13424
13425         * text2.C (SetCurrentFont): Disable number property at boundary.
13426
13427 2001-02-26  Juergen Vigna  <jug@sad.it>
13428
13429         * lyxfunc.C (getStatus): added a string argument override function so
13430         that this is correctly called from LyXFunc::Dispatch if it contains a
13431         do_not_use_argument which is used!
13432         (Dispatch): added check for "custom" export and call appropriate func.
13433
13434 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
13435
13436         * lyxrc.C: Add language_command_local, language_use_babel and
13437         language_global_options.
13438
13439         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13440
13441         * buffer.C (makeLaTeXFile): Use language_use_babel and
13442         language_global_options.
13443
13444 2001-02-23  Juergen Vigna  <jug@sad.it>
13445
13446         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13447         which works with LyXText and putted it inside BufferView. Here now we
13448         only call for that part the BufferView::Dispatch() function.
13449
13450         * BufferView.C (Dispatch): added.
13451
13452         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13453         functions which needs to use a LyXText over from LyXFunc.
13454         (MenuInsertLyXFile): added
13455         (getInsetByCode): added
13456         (moveCursorUpdate): added
13457         (static TEXT): added
13458
13459 2001-02-22  Juergen Vigna  <jug@sad.it>
13460
13461         * BufferView_pimpl.C (update): call a status update to see if LyXText
13462         needs it.
13463
13464 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13465
13466         * vc-backend.C (revert): implement for CVS
13467         (getLog): implement for CVS
13468
13469 2001-02-20  Juergen Vigna  <jug@sad.it>
13470
13471         * text2.C (ClearSelection): added BufferView param for inset_owner call
13472
13473         * lyxfunc.C (TEXT): added this function and use it instead of
13474         directly owner->view()-text of getLyXText().
13475
13476 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
13477
13478         * src/layout_forms.C: out preamble
13479         * src/layout_forms.h: out preamble
13480         * src/lyx_cb.C: out preamble
13481         * src/lyx_cb.h: out preamble
13482         * src/lyx_gui.C: out preamble
13483         * src/lyx_gui_misc.C: out preamble
13484         * src/lyxfunc.C: connect with guii preamble
13485
13486 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
13487
13488         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
13489
13490 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
13491
13492         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
13493         whether to run bibtex.
13494
13495 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
13496
13497         * Makefile.am (lyx_SOURCES): Remove BackStack.h
13498
13499 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13500
13501         * Makefile.am (lyx_SOURCES): removed bibforms.h
13502
13503         * vspace.h: doxygen
13504
13505         * text.C (GetVisibleRow): make several local vars const
13506
13507         * tabular.C: small cleanup.
13508
13509         * lyxserver.C (callback): use compare instead of strncmp
13510
13511         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
13512         inlines to after class or to paragraph.C
13513
13514         * lyxfont.h: remove friend operator!=
13515
13516         * converter.h: move friend bool operator< to non friend and after
13517         class def.
13518
13519         * combox.h: small cleanup
13520
13521         * buffer.h: doxygen, remove unused constructor, move inclas inlies
13522         to inlines after class def.
13523
13524         * buffer.C (pop_tag): use string operations instead of strcmp
13525
13526         * bmtable.c: doxygen, small cleanup
13527
13528         * LaTeX.h: remove friend operator==
13529
13530 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
13531
13532         * screen.C:
13533         * lyxrc.[Ch]:
13534         * lyxfunc.C:
13535         * lyxfont.[Ch]:
13536         * lyx_cb.C:
13537         * intl.[Ch]:
13538         * commandtags.h:
13539         * buffer.C:
13540         * WorkArea.[Ch]:
13541         * LyXAction.C:
13542         * BufferView_pimpl.C:
13543         * BufferView.[Ch]: remove cruft
13544
13545 2001-02-14  Juergen Vigna  <jug@sad.it>
13546
13547         * lyxfunc.C: removed #if 0 unused code
13548
13549         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
13550
13551         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
13552
13553         * text2.C (SetSelection): added a BufferView * parameter
13554
13555 2001-02-13  Juergen Vigna  <jug@sad.it>
13556
13557         * lyxfunc.C (Dispatch): fixed protected blank problem.
13558         * BufferView2.C (protectedBlank): added LyxText * parameter.
13559
13560         * tabular.C (AppendRow): forgot to set row_info of newly added row.
13561         (AppendColumn): same as above for column_info.
13562
13563         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
13564         (moveCursorUpdate): use a LyXText param for support of InsetText.
13565
13566         * BufferView_pimpl.C (doubleClick): added support for InsetText.
13567         (tripleClick): ditto
13568
13569         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
13570
13571         * BufferView_pimpl.C (update): added LyXText param to honor insets.
13572
13573         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
13574
13575         * text2.C (SetSelection): set correct update status if inset_owner
13576         (ToggleFree): ditto
13577
13578 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
13579
13580         * tabular.C: remove some commented code.
13581
13582 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
13583
13584         * BufferView_pimpl.C: call hideSplash()
13585
13586         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
13587
13588         * include_form.h:
13589         * bibforms.h: remove
13590
13591         * lyxfunc.C:
13592         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
13593           add LFUN_CHILD_CREATE
13594
13595         * counters.h: fix tiny typo
13596
13597         * lyx_cb.C:
13598         * lyx.h:
13599         * lyx_gui.C:
13600         * lyx.C: move splash to frontends/xforms/
13601
13602         * lyx_gui_misc.C: move Include and Bibform to frontends
13603
13604         * lyxvc.h: clarify comment
13605
13606         * vspace.C: tiny housekeeping
13607
13608 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
13609
13610         * text.C (PrepareToPrint): RTL Fix.
13611
13612         * paragraph.C (GetUChar): New method.
13613         (String):  Use GetUChar.
13614
13615         * buffer.C (asciiParagraph): Use GetUChar.
13616
13617 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
13618
13619         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
13620
13621 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
13622
13623         * buffer.h:
13624         * buffer.C: rename to getLogName(), handle
13625           build log / latex log nicely
13626
13627 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13628
13629         * MenuBackend.C:
13630         * MenuBackend.h: remove support for reference menuitem type.
13631
13632 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
13633
13634         * BufferView_pimpl.C: housekeeping
13635         * BufferView_pimpl.h:
13636         * LyXView.h:
13637         * Makefile.am:
13638         * Timeout.C:
13639         * Timeout.h:
13640         * minibuffer.h: move Timeout GUI-I
13641
13642 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
13643
13644         * lyxrc.C (read): Update converters data-structures.
13645
13646 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
13647
13648         * LaTeX.h (operator!=): add operator != for Aux_Info
13649
13650 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
13651
13652         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
13653
13654         * LaTeXLog.C: deleted, useful code moved to Buffer
13655
13656         * buffer.h:
13657         * buffer.C: new function getLatexLogName()
13658
13659         * lyx_gui_misc.C:
13660         * lyx_gui.C:
13661         * lyxvc.C:
13662         * lyxvc.h:
13663         * lyxfunc.C: use frontends for LaTeX and VC logs
13664
13665 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13666
13667         * LaTeX.h: yet another std:: that Allan forgot.
13668
13669         * Variables.C (set): renamed from isset(), because this clashes
13670         with some HP-UX macros (grr).
13671
13672 2001-02-06  Allan Rae  <rae@lyx.org>
13673
13674         * LaTeX.h: Another bug fix.  Missing std:: this time.
13675
13676 2001-02-04  Allan Rae  <rae@lyx.org>
13677
13678         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
13679         floats problem. I've left it commented out because it's not quite
13680         correct.  It should also test that the current object is a table or
13681         figure inset.  But I haven't gotten around to figuring out how to do
13682         that.  I *think* it'll be something like: "table" == inset.type()
13683
13684         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
13685         bool.
13686
13687 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
13688
13689         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
13690         all the citation/databases/styles in the auxilary file.
13691         (run): Rerun latex if there was a babel language error.
13692
13693 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
13694
13695         * text.C (Backspace): Preserve the font when changing newline char
13696         with a space.
13697         (BreakParagraph): If the cursor is before a space, delete the space.
13698
13699         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
13700
13701 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
13702
13703         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
13704         new argument (code).
13705         (ChangeCitationsIfUnique): New method.
13706
13707         * paragraph.C (GetPositionOfInset): Handle bibkey.
13708
13709 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13710
13711         * BufferView_pimpl.h: change type of Position::par_pos to
13712         LyXParagraph::size_type.
13713
13714 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
13715
13716         * BufferView_pimpl.C (savePosition, restorePosition): Write
13717         messages to minibuffer.
13718
13719 2001-01-28  José Matos  <jamatos@fep.up.pt>
13720
13721         * buffer.C (makeDocBookFile): adds support for document language.
13722         A silly restriction on the name of LatexCommand types where removed.
13723         Added support for CDATA sections, allows to chars unescaped, used
13724         among others in code, to avoid escape < and >.
13725
13726 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
13727
13728         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
13729         saved positions instrad of a stack. Furthermore, a position is
13730         stored using paragraph id/paragraph position.
13731
13732         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
13733         Remove LFUN_REF_BACK.
13734
13735 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
13736
13737         * converter.C (dvipdfm_options): New method.
13738
13739 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13740
13741         * vspace.C (isValidLength): Fix for empty input string.
13742
13743 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13744
13745         * LyXAction.C (init): change description of LFUN_FIGURE to
13746         "Insert Graphics"
13747
13748 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13749
13750         * LaTeX.C: add using directive
13751
13752 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
13753
13754         * MenuBackend.C (expand): Fix the sorting of the formats.
13755
13756 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
13757
13758         * lyx_main.C: tiny error message fix
13759
13760 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13761
13762         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
13763         calling fl_initialize(). This fixes the problem with ',' as
13764         decimal separator in text files.
13765
13766 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
13767
13768         * trans.C (process): Fix the keymap bug.
13769
13770 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
13771
13772         * LaTeX.C (scanAuxFiles): New method. Provides support for
13773         multiple bibliographies (when using the bibtopic/bibunits pacakges).
13774         (scanLogFile) Scan for "run BibTeX" messages.
13775
13776         * buffer.C (makeLaTeXFile): Do not load the ae package when using
13777         OT1 font encoding. Also, load the aecompl package if the ae
13778         package is loaded.
13779
13780         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
13781
13782 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13783
13784         * texrow.C (increasePos): turn two error messages into debug
13785         messages.
13786
13787 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
13788
13789         * LaTeX.C (scanAux): Handle the \@input macro.
13790         (runBibTeX): Use scanAux().
13791
13792         * language.C (latex_options_): New field.
13793
13794         * LaTeXFeatures.C (getMacros): Add language macros.
13795
13796         * buffer.C (makeLaTeXFile): Small fix.
13797
13798 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13799
13800         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
13801
13802         * text2.C: add a using directive.
13803
13804 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
13805
13806         * BufferView2.C:
13807         * lyx_gui_misc.h:
13808         * lyxfr1.C:
13809         * lyxfunc.C: kill LyXBell.
13810
13811 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
13812
13813         * text.C (IsBoundary): Remove the error message
13814
13815         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
13816
13817         * lyxrc.C (setDefaults): Correct initialization value for
13818         font_norm_type.
13819
13820 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
13821
13822         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
13823         gotoError().
13824
13825         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
13826         and GotoNextNote().
13827
13828         * src/LyXAction.C: Added reference-next.
13829
13830         * text.C (InsertChar): Use contains instead of strchr.
13831
13832         * lyx_cb.C (MenuInsertLabel): Enable default value code.
13833
13834 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
13835
13836         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
13837         alignment commands (when needed).
13838
13839         * text.C (InsertChar): Add ':' to number separator chars.