]> git.lyx.org Git - features.git/blob - src/ChangeLog
make LFUN_GOTO_PARAGRAPH work with deep nestings
[features.git] / src / ChangeLog
1 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2
3         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4         nestings
5
6 2003-11-04  André Pönitz  <poenitz@gmx.net>
7
8         * cursor.[Ch]: restructure
9
10         * BufferView.[Ch]:
11         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
12
13         * iterators.[Ch] (asCursor): remove
14
15         * lfuns.h: remove LFUN_INSET_EDIT
16
17         * lyxfunc.C:
18         * tabular.C:
19         * text.C:
20         * text2.C:
21         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
22
23 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
24
25         * lyxfind.[Ch]: complete overhaul
26         * BufferView_pimpl.C:
27         * lyxfunc.C: adjust
28         * paragraph.[Ch] (insert): add
29
30 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
31
32         * BufferView.[Ch]:
33         * lyxtext.h:
34         * text.C: remove dead spellcheck code
35         
36 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
37
38         * dispatchresult.h: add a val setter
39
40         * cursor.C (dispatch): use a tempvar for data_[i]
41
42 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
43
44         * PosIterator.[Ch]: compile fix
45
46 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
47
48         * text.C (cursorPar): deactivate the cursor cache
49
50 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
51
52         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
53
54 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
55
56         * text3.C (dispatch): adjust for new DisptchResult semantics.
57
58         * lyxfunc.C (dispatch): handle update when return from
59         Cursor::dispatch, adjust for new DispatchResult semantics.
60
61         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
62         DispatchResult(true) mean to not update. Add class functions for
63         setting dispatched and update, as well as reading.
64
65         * cursor.C (dispatch): don't handle update here
66
67 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
68
69         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
70         * trans_mgr.C: adjust
71
72         * paragraph_funcs.C (readParToken): exception safety
73
74         * lyxvc.h: store the vcs pointer in a scoped_ptr
75         * lyxvc.C: adjust
76
77         * lyxsocket.C (serverCallback): exception safety
78
79         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
80
81         * ispell.C (clone): make it return a auto_ptr
82
83         * factory.C (createInset): exception safety
84         (readInset): exception safety
85
86         * bufferlist.C (newBuffer): exception safety
87
88         * Thesaurus.C (Thesaurus): use initialization for aik_
89
90         * MenuBackend.C (expandToc): exception safety.
91
92 2003-11-03  André Pönitz  <poenitz@gmx.net>
93
94         * buffer.C:
95         * buffer.h:
96         * bufferview_funcs.C: remove getInsetFromId()
97
98         * lyxcursor.[Ch]:
99         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
100
101         * lyxfunc.C:
102         * text2.C:
103         * text3.C: adjust
104
105 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
106
107         * PosIterator.C (distance, advance): new
108         * bufferview_funcs.[Ch] (put_selection_at): new
109         * iterators.[Ch] (lockPath): new
110
111 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
112
113         * iterators.[Ch] (asPosIterator): added
114         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
115         * PosIterator.[Ch]: added
116
117 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
118
119         * text3.C:
120         * lyxfunc.C:
121         * cursor.C (dispatch):
122         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
123
124         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
125         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
126         contructor, add a class function dispatched. Remove operator>=
127
128 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
129
130         * debug.C: only use the default constructor for debugstream
131         (lyxerr) here.
132
133         * main.C (main): include debug.h and setup the lyxerr streambuf
134         here.
135
136 2003-10-31  José Matos  <jamatos@lyx.org>
137
138         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
139
140         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
141         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
142         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
143         * paragraph_pimpl.C (simpleTeXSpecialC):
144         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
145         add LatexRunParams argument.
146
147         * exporter.C (Export): change call accordingly.
148
149         * latexrunparams.h: add new member to take care of the other backends.
150 2003-10-30  José Matos  <jamatos@lyx.org>
151
152         * buffer.C (makeLinuxDocFile, makeDocBookFile):
153         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
154         factorise code for paragraph output.
155         * buffer.[Ch]:
156         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
157         move functions.
158
159 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
160
161         * text3.C (dispatch):
162         * lyxfunc.C (dispatch):
163         * cursor.C (dispatch):
164         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
165
166         * dispatchresult.h: make the dispatch_result_t ctor explicit
167
168 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
169
170         * sgml.[Ch]:
171         * buffer.C: small refactoring of docbook stuff
172
173 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
174
175         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
176         meaning.
177
178 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
179
180         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
181         operator dispatch_result_t, and operators for == != and >=
182
183         * cursor.C (dispatch): adjust for operator dispatch_result_t
184         removal. comment out call to update
185
186         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
187
188 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
189
190         * text3.C:
191         * text2.C:
192         * text.C:
193         * lyxtext.h:
194         * lyxfunc.C:
195         * cursor.C:
196         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
197         (dispatch):
198
199         * dispatchresult.h: new file, DispatchResult broken out of
200         insets/insetbase.h
201
202         * Makefile.am (lyx_SOURCES): add dispatchresult.h
203
204 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
205
206         * text.C (rowBreakPoint): put a hack inside #if 0
207
208 2003-10-28  André Pönitz  <poenitz@gmx.net>
209
210         * lyxtext.h:
211         * metricsinfo.C:
212         * paragraph_funcs.C:
213         * rowpainter.C:
214         * text.C:
215         * text2.C: general cleanup (lots of small stuff)
216
217 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
218
219         * text2.C (cursorEnd): simple fix to the "end key goes to one
220         before the end on last row" bug
221
222 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
223
224         * text.C (backspace): fix the "zombie characters"
225
226 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
227
228         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
229
230 2003-10-27  André Pönitz  <poenitz@gmx.net>
231
232         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
233
234         * factory.C: handle new InsetPagebreak, InsetLine
235
236         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
237         and move handling into new InsetPagebreak, InsetLine
238
239         * BufferView_pimpl.C:
240         * LyXAction.C:
241         * ParagraphParameters.C:
242         * ParameterStruct.h:
243         * lyxfunc.C:
244         * lyxtext.h:
245         * paragraph.C:
246         * paragraph.h:
247         * paragraph_funcs.C:
248         * paragraph_pimpl.C:
249         * rowpainter.C:
250         * text.C:
251         * text2.C:
252         * text3.C: adjust
253
254 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
255
256         * text.C:
257         * lyxrow_funcs.[Ch]:
258         * Bidi.C:
259         * paragraph.C:
260         * lyxtext.h:
261         * rowpainter.C:
262         * text2.C:
263         * text3.C: remove lastPos uses in favour of Row::endpos
264
265 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
266
267         * undo.C (performUndoOrRedo): fix two crashes by setting a
268         cursor by hand and reordering some calls. Use bv->lockInset instead
269         of inset->edit because the latter loses cursor information
270
271 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
272
273         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
274         by Martin
275         (rowBreakPoint): fix width. change point to point + 1.
276         Add a missing check.
277
278 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
279
280         * MenuBackend.C:
281         * lyxfunc.C: fix (at least partly) the problems
282         with the Nav menu and headers inside branch insets
283         reported by Kayvan
284
285 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
286
287         * paragraph.C (getChar): add strong asserts
288
289         * lyxrow_funcs.C (lastPos): remove hideous hack
290
291         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
292         (fill): adjust to that (avoid an infinite loop)
293
294 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
295
296         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
297
298 2003-10-23  André Pönitz  <poenitz@gmx.net>
299
300         * RowList_fwd.h: change list<> to vector<> to gain speed
301         after suggestion from Alfredo
302
303 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
304
305         * lyxtext.h: move the bidi stuff from here...
306         * text.C: and here
307         * text2.C: and here
308         * Bidi.[Ch]: ... to here
309
310 2003-10-23  André Pönitz  <poenitz@gmx.net>
311
312         * lyxtext.h:
313         * text.C (isLastRow, isFirstRow): new functions
314
315         * paragraph.h: new width cache member
316
317         * rowpainter.C: replace RowList::iterator with Row & where possible
318
319         * lyxfunc.C: replace several view()->text with a single call
320
321         * toc.C: fix 'unused' warning
322
323 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
324
325         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
326         when woring with stream::pos_type
327         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
328
329 2003-10-22  André Pönitz  <poenitz@gmx.net>
330
331         * lyxtext.h:
332         * text.C: use Row & instead of RowList::iterator
333
334         * lyxrow.h: rename end() to endpos()
335
336         * rowpainter.C:
337         * text.C:
338         * text2.C: adjust
339
340 2003-10-22  Angus Leeming  <leeming@lyx.org>
341
342         * buffer.[Ch] (fully_loaded): new member function, returning true
343         only when the file has been loaded fully.
344         Used to prevent the premature generation of previews and by the
345         citation inset to prevent computation of the natbib-style label.
346
347         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
348         templates are all set up.
349
350         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
351
352 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
353
354         * text.C: fixed an "oops" in the "is a bit silly"
355         bug fix
356
357 2003-10-21  André Pönitz  <poenitz@gmx.net>
358
359         * FuncStatus.[Ch]: small stuff, whitespace
360
361         * lyxfont.[Ch]: operator<<() for debug reasons
362
363         * lyxfunc.C:
364         * lyxrow_funcs.C:
365         * lyxtext.h: whitespace, spelling
366
367         * paragraph.C: naming of variables
368
369         * text.C:
370         * text2.C: small stuff
371
372
373 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
374
375         * text.C: (1) finish off the inset display() work;
376         (2) fix the "is a bit silly" bug (accessing char
377         past end of par).
378
379 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
380
381         * text.C: re-introduce display() for insets, fixing the
382         various bugs (stretch of line above, math inset
383         positioning, ...)
384
385 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
386
387         * text.C (rightMargin): remove spurious semicolon
388
389         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
390         1415)
391
392 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
393
394         * text3.C: fix one crash due to wrong cursor def
395
396 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
397
398         * vc-backend.C (scanMaster): make the regex static
399
400         * LaTeX.C (scanAuxFile): make the regexs static
401
402         * text3.C (doInsertInset, dispatch, dispatch):
403         * text2.C (cursorUp, cursorDown):
404         * text.C (selectNextWordToSpellcheck):
405         * BufferView_pimpl.C (dispatch):
406         * lyxfunc.C (dispatch):  localDispatch -> dispatch
407
408 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
409
410         * lyxsocket.C: include <cerrno>
411
412 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
413
414         * lyxfunc.C (dispatch): remove textcache stuff
415
416         * bufferlist.C (release): remove textcache stuff
417         (closeAll): ditto
418
419         * TextCache.C: delete file
420         * TextCache.h: delete file
421
422         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
423
424         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
425         delete of the bv_->text.
426         (resizeCurrentBuffer): remove texcache stuff
427         (workAreaResize): ditto
428
429 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
430
431         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
432         action.
433
434 2003-10-16  André Pönitz  <poenitz@gmx.net>
435
436         * lyxrow.[Ch]:
437         * paragraph.h:
438         * rowpainter.C:
439         * text.C:
440         * text2.C:
441         * text3.C: speed up by storing y positions per paragraph plus per-row
442         offset instead of having a 'full' y position in the row.
443
444 2003-10-15  André Pönitz  <poenitz@gmx.net>
445
446         * iterators.[Ch]:
447         * iterators.[Ch]:
448         * undo.[Ch]: make undo aware of inner insets
449
450 2003-10-14  Angus Leeming  <leeming@lyx.org>
451
452         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
453         static member functions LyX::ref() and LyX::cref.
454         (lastfiles): new accessor functions for the new lastfiles_ member var.
455         (addLyXView, views_): add a new LyXView to the list of views_.
456         (updateInset): loop over all LyXViews to call their own updateInset
457         member function, returning a pointer to the Buffer owning the inset.
458
459         * BufferView_pimpl.C (loadLyXFile):
460         * MenuBackend.C (expandLastfiles):
461         * bufferlist.C (MenuWrite, QuitLyX):
462         lastfiles is no longer a global variable.
463         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
464
465         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
466         static function. Access through LyX::cref().emergencyCleanup().
467
468 2003-10-14  André Pönitz  <poenitz@gmx.net>
469
470         * iterators.[Ch]: new direct access to innermost LyXText and Inset
471
472         * undo.[Ch]: restoring part of 'undo in insets'
473
474         * Makefile.am:
475         * undo_funcs.[Ch]: merge with undo.[Ch]
476
477         * tabular.C: small cleansing stuff
478
479 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
480
481         * paragraph_funcs.C (readParToken): report unknown insets as error
482         boxes. Use the outer paragraph as location (also for unknown
483         tokens).
484
485         * factory.C (readInset): do not abort on reading an unknown inset.
486         Eat it and return 0.
487
488 2003-10-13  Angus Leeming  <leeming@lyx.org>
489
490         * lyx_main.C (LyX): remove call to setDisplayTranslator().
491
492         * lyxrc.C: displayTranslator is now a function,
493         declared in GraphicsTypes.h.
494
495 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
496
497         * format.C: new placeholder $$a to pass the socket address.
498
499         * bufferlist.[Ch]: new function getBufferFromTmp.
500
501         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
502           files in the temporary dir.
503
504 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
505
506         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
507
508         * Makefile.am: add lyxsocket.[Ch].
509
510         * lyx_main.C (error_handler): handle SIGPIPE.
511
512 2003-10-13  André Pönitz  <poenitz@gmx.net>
513
514         * BufferView_pimpl.C:
515         * lyxtext.h:
516         * text.C:
517         * text2.C:
518         * text3.C:
519         * undo_funcs.[Ch]: use paroffset_type instead of
520           ParagraphList::iterators to prevent multiple conversion
521           (and get a more robust interface)
522
523 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
524
525         * lyxfunc.C (dispatch): RESULT -> dispatch_result
526         * lyxtext.h: ditto
527         * text3.C (dispatch): ditto
528
529 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
530
531         * LaTeX.C (handleFoundFile): move the static to smaller scope,
532         move the onlyfile, use onlyfile instead of foundfile in a couple
533         of places.
534
535         * DepTable.C (update): flush the error stream a bit more
536
537 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
538
539         * lyxserver.C (callback): adjust
540
541         * lyxfunc.C (getStatus): add a missing brace in commented code
542         (ensureBufferClean): reindent
543         (dispatch): delete version taking a string
544
545 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
546
547         * LaTeX.C (deplog): move found file handlig from here...
548         (handleFoundFile): .. to new function here.
549         (deplog): make sure to discover several files mentioned on the
550         same log line.
551
552 2003-10-10  André Pönitz  <poenitz@gmx.net>
553
554         * lyxfunc.C:
555         * lyxtext.h:
556         * tabular.C:
557         * text.C:
558         * text2.C:
559         * text3.C: fix some of the tabular crashes
560
561 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
562
563         * MenuBackend.C (binding): put debug message into Debug::KBMAP
564
565         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
566
567 2003-10-09  André Pönitz  <poenitz@gmx.net>
568
569         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
570
571         * BufferView.C:
572         * BufferView_pimpl.C:
573         * bufferview_funcs.C:
574         * lyx_cb.C:
575         * lyxcursor.C:
576         * lyxfind.C:
577         * lyxfunc.C:
578         * lyxtext.h:
579         * text.C:
580         * text2.C:
581         * text3.C:
582         * text_funcs.[Ch]:
583         * textcursor.[Ch]:
584         * undo_funcs.C: adjust
585
586 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
587
588         * text2.C (incrementItemDepth): new function, use a backtracking
589         algorithm to discover the correct item depth.
590         (resetEnumCounterIfNeeded): new function, use a backtracking
591         algorithm to discover if counter reset is needed.
592         (setCounter): use them. Simplify a bit. Add different labels for
593         different item depths for itemize.
594
595         * paragraph.C (Paragraph): remove initialization of enumdepth
596         (operator=): ditto
597
598         * paragraph.h: get rid of enumdepth, and use itemdepth both for
599         enumerate and itemize. Change the type of itemdepth to signed char.
600
601 2003-10-08  André Pönitz  <poenitz@gmx.net>
602
603         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
604           thing assignable.
605         * text.C:
606         * text2.C: adjust
607
608         * tabular.[Ch]: fix crash after 'row-insert'
609
610 2003-10-08  Angus Leeming  <leeming@lyx.org>
611
612         Fix doxygen warnings.
613
614         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
615         Remove CutAndPaste:: prefix from header file declaration.
616
617         * LColor.h (fill): remove LColor:: prefix from declaration.
618
619         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
620         use lyx::depth_type rather than Paragraph::depth_type so that
621         header file and .C file match.
622
623         * converter.h (intToFormat): remove Converters:: prefix from declaration.
624
625         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
626         * aspell.C: \file aspell_local.C -> \file aspell.C
627         * gettext.C: \file gettext.C -> \file src/gettext.C
628         * gettext.h: \file gettext.h -> \file src/gettext.h
629         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
630         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
631         * text.C: \file text.C -> \file src/text.C
632
633         * toc.C: move comment so that doxygen is not confused.
634
635 2003-10-07  Angus Leeming  <leeming@lyx.org>
636
637         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
638
639 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
640
641         * aspell.C:
642         * aspell_local.h: add forgotten std::string's.
643
644 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
645
646         * LaTeXFeatures.C:
647         * LyXAction.C:
648         * factory.C:
649         * lfuns.h:
650         * lyxfunc.C:
651         * text3.C: The Box patch. Fancybox support, minipage, parbox
652
653 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
654
655         * CutAndPaste.h:
656         * DepTable.h:
657         * FloatList.h:
658         * LaTeXFeatures.h:
659         * ParagraphParameters.h:
660         * TextCache.h:
661         * Thesaurus.h:
662         * bufferlist.h:
663         * exporter.h:
664         * importer.h:
665         * lastfiles.h:
666         * lyxfind.h:
667         * lyxfont.h:
668         * lyxlex.h:
669         * lyxtextclasslist.h:
670         * messages.h:
671         * paragraph.h:
672         * paragraph_pimpl.C:
673         * textcursor.h: add <string> and other small fixes to make Lars'
674         std::string patch compile with STLport.
675
676 2003-10-06  Angus Leeming  <leeming@lyx.org>
677
678         * LColor.h: Add missing #include <string>.
679
680 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
681
682         * All most all file in all subdirs: Make <string> be the prefered
683         way of getting to std::string, add using declarations.
684
685 2003-10-06  André Pönitz  <poenitz@gmx.net>
686
687         * metricsinfo.C: initialize LyXFont before changing attribute.
688         (fixes the 'math in \emph is upright' bug)
689
690 2003-10-06  André Pönitz  <poenitz@gmx.net>
691
692         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
693
694 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
695
696         * graph.C:
697         * paragraph_pimpl.C: Small fixes to build using STLport
698
699 2003-10-02  André Pönitz  <poenitz@gmx.net>
700
701         * lyxfunc.C:
702         * text3.C: move handling of LFUN_DEPTH *; fix #1360
703
704 2003-10-01  André Pönitz  <poenitz@gmx.net>
705
706         * factory.C: assert early
707
708 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
709
710         * lyx_main.C: remove the global debug object
711
712         * debug.h: adjust for new debugstream
713
714         * debug.C: adjust for new debugstream and keep the global debug
715         object here.
716
717 2003-09-22  Angus Leeming  <leeming@lyx.org>
718
719         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
720         of g++ which otherwise complain that the scoped_ptr destructor can't delete
721         an incomplete class LyXFont.
722
723 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
724
725         * factory.C: bug fix in branches
726
727 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
728
729         * lyxfunc.C (processKeySym): adjust
730         (dispatch): adjust
731         (dispatch): change arg name from ev to func, adjust
732         (sendDispatchMessage): ditto
733
734         * lyx_main.C (defaultKeyBindings): adjust keybindings
735         (deadKeyBindings): ditto
736
737         * kbsequence.C (addkey): return a FuncRequest
738
739         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
740
741         * kbmap.C (bind): take a FuncRequest as arg, adjust
742         (read): adjust
743         (lookup): adjust
744         (defkey): change to take a FuncRequest as arg, adjust
745         (findbinding): take a FuncRequest as arg, adjust.
746
747         * funcrequest.h (operator=): added
748
749         * funcrequest.C (FuncRequest): default kb_action changed from
750         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
751
752         * buffer.C (dispatch): simplify
753         (dispatch): adjust to take a FuncRequest as arg, adjust
754
755         * boost.C (assertion_failed): change assertion message slightly
756
757         * ToolbarBackend.C (read): simplify
758
759         * MenuBackend.C (binding): adjust call to findbinding, add a
760         message if no binding is found.
761         (read): simplify
762         (expandToc): correct by adding a empty FuncRequest
763
764         * LyXAction.C: include <boost/assert.hpp>
765         (isPseudoAction): delete function
766         (LookupFunc): change name to...
767         (lookupFunc): this. change return type to FuncRequest.
768         (getActionName): take kb_action as arg, simplify
769         (funcHasFlag): add an assert, simplify.
770
771 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
772
773         * toc.C (action): return a FuncRequest, simplify
774
775         * lyxfunc.C (processKeySym): adjust
776         (getStatus): delete version that takes an int.
777         (getStatus): adjust
778         (dispatch): delete version that takes action as int
779         (dispatch): adjust
780         (sendDispatchMessage): simplify and adjust
781
782         * funcrequest.C (getArg): take unsigned int as arg
783
784         * ToolbarBackend.C (read): adjust
785         (add): delete version that takes func as a string.
786         (getIton): take a FuncRequest as arg
787
788         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
789         action.
790
791         * MenuBackend.C (MenuItem): add a new construct that only takes a
792         Kind, simplify the constructor use for submenus.
793         (add): adjust
794         (expandLastfiles): adjust
795         (expandDocuments): adjust
796         (expandFormats): adjust
797         (expandFloatListInsert): adjust
798         (expandFloatInsert): adjust
799         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
800
801         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
802         Remove class variables lyx_pseudo_map and lyx_arg_map
803
804         * LyXAction.C (searchActionArg): delete function
805         (getPseudoAction): delete function
806         (retrieveActionArg): delete function
807         (LookupFunc): make it return kb_action, simplify.
808         (getActionName): simplify
809
810         * factory.C (createInset): fix new bug
811
812 2003-09-19  Angus Leeming  <leeming@lyx.org>
813
814         * CutAndPaste.C (pasteSelection): remove fudge used to set the
815         masterFilename_ parameter in the include inset.
816
817         * factory.C (createInset): changes due to the changes to InsetInclude.
818
819 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
820
821         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
822
823 2003-09-18  Angus Leeming  <leeming@lyx.org>
824
825         * buffer.C:
826         * BufferView.C: pass the buffer when calling Inset::getLabelList,
827         Inset::fillWithBibKeys.
828         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
829
830 2003-09-18  Angus Leeming  <leeming@lyx.org>
831
832         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
833         variables.
834         (ctor): pass and store a 'Buffer const &'
835         (buffer): new member function.
836
837         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
838         '*this' to the LaTeXFeatures ctor.
839
840 2003-09-18  Angus Leeming  <leeming@lyx.org>
841
842         * LColor.h:
843         * lyxfont.C:
844         * lyxfont.h:
845         * lyxtext.h:
846         * text.C: rename EnumLColor as LColor_color.
847
848 2003-09-18  Angus Leeming  <leeming@lyx.org>
849
850         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
851         remove #include "insets/insetbase.h" from cursor.h.
852
853 2003-09-18  Angus Leeming  <leeming@lyx.org>
854
855         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
856         InsetOld_code to remove #include "inset.h".
857
858         * iterators.C: add #include "insets/inset.h"
859
860 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
861
862         * BufferView.C: remove more locking stuff that apparently doesn't
863         do anything sensible.
864
865 2003-09-16  André Pönitz  <poenitz@gmx.net>
866
867         * paragraph.[Ch]:
868         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
869           performance boost.
870
871 2003-09-16  Angus Leeming  <leeming@lyx.org>
872
873         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
874
875         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
876         arg/return type.
877
878         * paragraph.h: remove #include "lyxfont.h". Forward declare
879         LyXFont_size.
880
881 2003-09-16  Angus Leeming  <leeming@lyx.org>
882
883         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
884         of support/textutils.h.
885         (isWord): move the contents of support/textutils.h's IsWordChar here.
886
887         * buffer.C:
888         * lyxfind.C:
889         * rowpainter.C:
890         * text.C:
891         * text2.C: add #include "paragraph.h".
892
893         * rowpainter.C:
894         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
895
896 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
897
898         * main.C:
899         * lyx_main.C:
900         * lyx_cb.C:
901         * buffer.C:
902         * LaTeX.C: use namespace alias for lyx::support::os
903
904 2003-09-16  Angus Leeming  <leeming@lyx.org>
905
906         * bufferparams.C:
907         * bufferview_funcs.C:
908         * factory.C:
909         * lyxfunc.C:
910         * paragraph_pimpl.C:
911         * rowpainter.C:
912         * text.C: add #include "LColor.h".
913
914 2003-09-16  Angus Leeming  <leeming@lyx.org>
915
916         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
917         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
918         return LyXFont &.
919         Store the FontBits::color variable as an int rather than as an
920         LColor::colorso that we can move LColor.h out of the lyxfont.h header
921         file.
922
923         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
924         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
925         string calls together.
926
927         * lyxrc.C: add #include "LColor.h".
928
929 2003-09-15  Angus Leeming  <leeming@lyx.org>
930
931         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
932         a cow_ptr.
933
934 2003-09-15  Angus Leeming  <leeming@lyx.org>
935
936         * LColor.h: add an EnumLColor wrapper for LColor::color.
937
938         * lyxfont.[Ch] (color, setColor, realColor):
939         * lyxtext.h, text.C (backgroundColor):
940         pass EnumLColor args to/from the functions, rather than LColor::color
941         ones.
942
943         * lyxfont.h:
944         * lyxtext.h: forward declare EnumLColor.
945
946         * lyx_main.C: add #include "LColor.h".
947
948 2003-09-15  Angus Leeming  <leeming@lyx.org>
949
950         * .cvsignore: add lyx-gtk.
951
952 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
953
954         * Chktex.C
955         * LaTeX.C
956         * LaTeXFeatures.C
957         * ParagraphParameters.C
958         * Spacing.C
959         * buffer.C
960         * bufferparams.C
961         * bufferview_funcs.C
962         * chset.C
963         * counters.C
964         * funcrequest.C
965         * lyxfont.C
966         * lyxgluelength.C
967         * lyxlength.C
968         * paragraph.C
969         * paragraph_funcs.C
970         * text3.C
971         * vc-backend.C: remove usage of STRCONV
972
973 2003-09-15  Angus Leeming  <leeming@lyx.org>
974
975         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
976         explicitly define the color passed to the painter.
977
978 2003-09-15  Angus Leeming  <leeming@lyx.org>
979
980         * bufferparams.C (BufferParams): reorder member initializers to avoid
981         compiler warning.
982
983 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
984
985         * CutAndPaste.C (pasteSelection): remove an outdated #warning
986         * text.C (updateRowPositions): remove an unusual nop
987
988 2003-09-12  André Pönitz  <poenitz@gmx.net>
989
990         * BufferView_pimpl.C:
991         * Bullet.C:
992         * layout.h:
993         * lyxfunc.C:
994         * lyxlayout.[Ch]:
995         * lyxtextclass.C:
996         * rowpainter.C:
997         * text.C:
998         * text2.C:
999         * Counters.[Ch]: finish the 'automatic counters' job
1000
1001 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1002
1003         * aspell.C: include <boost/assert.cpp> (compile fix)
1004
1005 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
1006
1007         * boost.C (assertion_failed): use lyx::support::abort instead of
1008         assert.
1009
1010 2003-09-10  Angus Leeming  <leeming@lyx.org>
1011
1012         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1013         with their _fwd progeny.
1014
1015 2003-09-09  Angus Leeming  <leeming@lyx.org>
1016
1017         134 files throughtout the source tree: replace 'using namespace abc;'
1018         directives with the appropriate 'using abc::xyz;' declarations.
1019
1020 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1021
1022         * boost.C (emergencyCleanup): moved here from LAssert.c
1023         (assertion_failed): new function, called by BOOST_ASSERT
1024
1025         * several files: change Assert to BOOST_ASSERT
1026
1027 2003-09-09  Angus Leeming  <leeming@lyx.org>
1028
1029         * buffer.[Ch]: Add an Impl class and move Buffer's member
1030         variables into it. As a result move several header files out of
1031         buffer.h.
1032
1033         Add header files to lots of .C files all over the tree as a result.
1034
1035 2003-09-09  Angus Leeming  <leeming@lyx.org>
1036
1037         * buffer.[Ch]: make Buffer's member variables private. Add
1038         accessor functions.
1039
1040         Lots of changes all over the tree as a result.
1041
1042 2003-09-08  Angus Leeming  <leeming@lyx.org>
1043
1044         * graph.C: #include <config.h>.
1045
1046 2003-09-08  Angus Leeming  <leeming@lyx.org>
1047
1048         * BranchList.C:
1049         * BufferView.C:
1050         * BufferView_pimpl.C:
1051         * CutAndPaste.C:
1052         * DepTable.C:
1053         * LaTeX.C:
1054         * LaTeXFeatures.C:
1055         * LyXAction.C:
1056         * MenuBackend.C:
1057         * TextCache.C:
1058         * aspell.C:
1059         * buffer.C:
1060         * bufferlist.C:
1061         * changes.C:
1062         * chset.C:
1063         * converter.C:
1064         * counters.C:
1065         * debug.C:
1066         * graph.C:
1067         * ispell.C:
1068         * lyx_cb.C:
1069         * lyxfind.C:
1070         * lyxfunc.C:
1071         * lyxlex_pimpl.C:
1072         * lyxrc.C:
1073         * lyxrow.C:
1074         * paragraph.C:
1075         * rowpainter.C:
1076         * texrow.C:
1077         * text.C:
1078         * text2.C:
1079         * toc.C: remove redundant using directives.
1080
1081 2003-09-07  Angus Leeming  <leeming@lyx.org>
1082
1083         * LaTeXFeatures.h: remove #include "support/types.h".
1084         * ToolbarBackend.h: remove #include <algorithm>.
1085         * changes.h: remove #include <ctime>.
1086         * debug.h: remove #include <iosfwd>.
1087         * graph.h: remove #include "support/std_string.h".
1088         * lyx_main.h: remove #include <csignal>.
1089         * lyxlex_pimpl.h: remove #include <fstream>.
1090         * sgml.h: remove #include <algorithm>, <utility>.
1091         * toc.h: remove #include "support/std_ostream.h".
1092         Add #include <iosfwd>.
1093
1094 2003-09-07  Angus Leeming  <leeming@lyx.org>
1095
1096         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
1097
1098         * converter.h: forward declare LatexRunParams.
1099         * encoding.h: remove #include "lyxrc.h".
1100         * lyxtext.h: remove #include "LColor.h".
1101         * lyxtextclass.h: remove #include "support/types.h".
1102         * trans.h: remove #include "tex-accent.h".
1103         * trans_mgr.h: remove #include "tex-accent.h".
1104         * insets/inset.h: remove #include "support/types.h", <vector>.
1105         * insets/insetcollapsable.h: remove #include "LColor.h".
1106         * insets/insetinclude.h: remove #include "dimension.h".
1107         * insets/insetlatexaccent.h: remove #include "dimension.h".
1108         * insets/insetoptarg.h:: remove #include "insettext.h".
1109         * insets/insettext.h: remove #include "dimension.h",
1110         <boost/shared_ptr.hpp>
1111
1112         * insets/renderers.h: add #include "dimension.h".
1113         * insets/updatableinset.h: add #include "support/types.h".
1114
1115         * many .C files: Associated changes.
1116
1117 2003-09-06  Angus Leeming  <leeming@lyx.org>
1118
1119         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
1120         one, inside testInvariant.
1121
1122         * PrinterParams.C: new file.
1123         * PrinterParams.[Ch]: move the function bodies out of line.
1124
1125 2003-09-06  Angus Leeming  <leeming@lyx.org>
1126
1127         * ParagraphParameters.h: forward declare ParameterStruct rather than
1128         including its header file.
1129         (depth): moved out-of-line.
1130
1131 2003-09-06  Angus Leeming  <leeming@lyx.org>
1132
1133         * BufferView_pimpl.h:
1134         * kbmap.h:
1135         * kbsequence.h:
1136         * lyxfunc.h: forward declare LyXKeySym rather than
1137         #include "frontends/LyXKeySym.h".
1138
1139         * BufferView_pimpl.C:
1140         * kbmap.C:
1141         * kbsequence.C:
1142         * lyxfunc.C: associated changes.
1143
1144 2003-09-06  Angus Leeming  <leeming@lyx.org>
1145
1146         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1147         As a result, can remove the #include "insets/inset.h" from BufferView.h
1148
1149 2003-09-06  Angus Leeming  <leeming@lyx.org>
1150
1151         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1152         As a result, can remove the #include "insets/inset.h" from BufferView.h
1153
1154 2003-09-06  Angus Leeming  <leeming@lyx.org>
1155
1156         * buffer_funcs.C:
1157         * buffer.h:
1158         * bufferlist.C:
1159         * BufferView.C:
1160         * bufferview_funcs.C:
1161         * BufferView_pimpl.C:
1162         * CutAndPaste.C:
1163         * lyx_cb.C:
1164         * lyxfunc.C:
1165         * paragraph.h:
1166         * ParagraphParameters.C:
1167         * tabular.C:
1168         * text3.C:
1169         * toc.C:
1170         * undo_funcs.C:
1171         * frontends/controllers/ControlDocument.C:
1172         * insets/insetcaption.C: rearrange the #includes into some sort of
1173         coherent order.
1174
1175         * buffer.h: remove #includes ErrorList.h, undo.h
1176
1177 2003-09-06  Angus Leeming  <leeming@lyx.org>
1178
1179         * support/types.h: add a 'depth_type' typedef, used to store the
1180         nesting depth of a paragraph.
1181
1182         * paragraph.h:
1183         * ParameterStruct.h: use this lyx::depth_type typedef rather than
1184         defining explicitly.
1185
1186         * buffer.h:
1187         * paragraph_funcs.h:
1188         * ParagraphParameters.h:
1189         * sgml.h: use lyx::depth_type rather than Paragraph or
1190         ParameterStruct's depth_type.
1191
1192         * buffer.h
1193         * paragraph_funcs.h: no need to #include paragraph.h anymore.
1194
1195         * BufferView.C:
1196         * BufferView_pimpl.C:
1197         * CutAndPaste.C:
1198         * ParagraphParameters.C:
1199         * buffer_funcs.C:
1200         * bufferlist.C:
1201         * bufferview_funcs.C:
1202         * lyx_cb.C:
1203         * lyxfunc.C:
1204         * tabular.C:
1205         * text3.C:
1206         * toc.C:
1207         * undo_funcs.C:
1208         * frontends/LyXView.C:
1209         * frontends/controllers/ControlDocument.C:
1210         * frontends/controllers/ControlErrorList.C:
1211         * insets/insetbibitem.C:
1212         * insets/insetbranch.C:
1213         * insets/insetcaption.C:
1214         * insets/insetcollapsable.C:
1215         * insets/insetenv.C:
1216         * insets/insetert.C:
1217         * insets/insetfloat.C:
1218         * insets/insetfoot.C:
1219         * insets/insetfootlike.C:
1220         * insets/insetnewline.C:
1221         * insets/insetquotes.C:
1222         * insets/insettabular.C:
1223         * insets/insettext.C:
1224         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1225
1226         * frontends/controllers/ControlChanges.C: #include "changes.h".
1227
1228 2003-09-06  Angus Leeming  <leeming@lyx.org>
1229
1230         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1231         than #including paragraph.h.
1232
1233         * ParagraphList.h:
1234         * RowList.h: deleted. Superfluous.
1235
1236         * CutAndPaste.h:
1237         * iterators.h:
1238         * lyxcursor.h:
1239         * lyxtext.h:
1240         * text_funcs.h:
1241         * undo.h:
1242         * undo_funcs.h:
1243         * insets/inset.h:
1244         * insets/insettext.h: use ParagraphList_fwd.h rather than
1245         ParagraphList.h.
1246
1247         * paragraph.h: don't forward declare ParagraphList.
1248
1249         * buffer.h:
1250         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1251         rather than ParagraphList.h. paragraph.h is still needed for the
1252         Paragraph::depth_type parameters.
1253
1254         * textcursor.h: enable it to compile stand-alone in light of the
1255         above changes.
1256
1257         * bufferview_funcs.C:
1258         * iterators.C:
1259         * lyxfunc.C:
1260         * lyxrow_funcs.C:
1261         * paragraph.C:
1262         * rowpainter.C:
1263         * text.C:
1264         * text2.C:
1265         * text3.C:
1266         * text_funcs.C:
1267         * textcursor.C:
1268         * undo.C:
1269         * frontends/controllers/ControlParagraph.C:
1270         * frontends/controllers/ControlTabular.C:
1271         * insets/insetmarginal.C:
1272         * insets/insetminipage.C:
1273         * insets/insetnote.C:
1274         * insets/insetoptarg.C: add header files needed to compile again.
1275
1276 2003-09-06  Angus Leeming  <leeming@lyx.org>
1277
1278         * RowList_fwd.h: new file, forward-declaring Row rather than
1279         #including lyxrow.h.
1280
1281         * lyxrow_funcs.h:
1282         * lyxtext.h:
1283         * paragraph.h:
1284         * insets/insettext.h: use it instead of RowList.h
1285
1286         * bufferview_funcs.C:
1287         * lyxfunc.C:
1288         * lyxrow_funcs.C:
1289         * paragraph.C:
1290         * rowpainter.C:
1291         * text.C:
1292         * text2.C:
1293         * text3.C: #include "RowList.h".
1294
1295 2003-09-05  Angus Leeming  <leeming@lyx.org>
1296
1297         * factory.C (createInset):
1298         * vspace.C (c-tor): replace sscanf call with an istringstream.
1299         * ispell.C: re-add missing HP/UX headers.
1300         * lyxserver.C: re-add missing  os2 headers.
1301
1302 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
1303
1304         * BranchList.C:
1305         * graph.C:
1306         * ispell.C:
1307         * lastfiles.C:
1308         * lyx_cb.C:
1309         * lyxserver.C:
1310         * texrow.C:
1311         * text3.C: re-add missing system headers, needed for 2.95.2.
1312
1313 2003-09-05  Angus Leeming  <leeming@lyx.org>
1314
1315         Changes most place everywhere due to the removal of using directives
1316         from support/std_sstream.h.
1317
1318 2003-09-05  Angus Leeming  <leeming@lyx.org>
1319
1320         Replace LString.h with support/std_string.h,
1321         Lsstream.h with support/std_sstream.h,
1322         support/LIstream.h with support/std_istream.h,
1323         support/LOstream.h with support/std_ostream.h.
1324
1325         Changes resulting throughout the tree.
1326
1327 2003-09-05  Angus Leeming  <leeming@lyx.org>
1328
1329         * sgml.h: ensure that the header file can be compiled stand-alone.
1330         * *.C: strip out redundant #includes. (320 in total.)
1331
1332 2003-09-04  Angus Leeming  <leeming@lyx.org>
1333
1334         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1335         here (from getPackages).
1336
1337         * debug.[Ch]: add a new EXTERNAL tag.
1338
1339 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1340
1341         * text2.C (cursorEnd): simplify
1342         (setCursor): adjust
1343         (getColumnNearX): adjust
1344
1345         * text.C (computeBidiTables): adjust
1346         (fill): adjust
1347
1348         * rowpainter.C (paintChars): adjust
1349         (paintSelection): adjust
1350         (paintChangeBar): adjust
1351         (paintText): adjust
1352
1353         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1354         lastPos instead.
1355         (numberOfSeparators): adjust
1356
1357 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1358
1359         * LyXAction.C:
1360         * box.[Ch]:
1361         * lfuns.h:
1362         * lyxfunc.C:
1363         * text3.C: Restricts the mouse click functionality
1364         of insets like bibtex, include, toc and floatlist to the visible
1365         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1366         up the dialogs. Cursor has to be in front of the inset (i.e.
1367         start of row) for this to function.
1368
1369 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1370
1371         * bufferview_funcs.C (currentState): output row information
1372
1373 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1374
1375         * bufferview_funcs.C (currentState): output paragraph position
1376
1377 2003-09-04  Angus Leeming  <leeming@lyx.org>
1378
1379         * FloatList.h: move out #include "Floating.h".
1380         * LaTeX.h: move out #include "DepTable.h".
1381         * LyXAction.h: move out #include "funcrequest.h".
1382         * buffer.h: move out #include "author.h", "iterators.h".
1383         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
1384         * lyx_main.h: move out #include "errorlist.h".
1385         * lyxfunc.h: move out #include "FuncStatus.h".
1386         * lyxtext: move out #include "lyxcursor.h".
1387         * paragraph_pimpl.h: move out #include "counters.h".
1388
1389 2003-09-03  Angus Leeming  <leeming@lyx.org>
1390
1391         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
1392         preamble_snippets list, enabling us to add snippets to the preamble
1393         only if the snippet was not there already.
1394
1395 2003-09-04  Angus Leeming  <leeming@lyx.org>
1396
1397         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
1398
1399 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1400
1401         * lyxfunc.C (dispatch): if fitCursor did something be sure to
1402         update
1403
1404 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1405
1406         * BranchList.C: point fix, earlier forgotten
1407
1408 2003-09-02  Angus Leeming  <leeming@lyx.org>
1409
1410         * box.C (contains): renamed from 'contained' after a fantastic
1411         amount of hot air.
1412
1413 2003-09-02  John Levon  <levon@movementarian.org>
1414
1415         * BufferView.C:
1416         * lyxcursor.h:
1417         * lyxcursor.C:
1418         * lyxfunc.C:
1419         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
1420
1421 2003-09-02  John Levon  <levon@movementarian.org>
1422
1423         * text2.C: simplification of cursorEnd(), including partial
1424         fix for bug 1376
1425
1426 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1427
1428         * buffer.C (readFile): add a space
1429
1430 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
1431
1432         * BufferView_pimpl.C (update): remove bogus fitCursor() call
1433
1434 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1435
1436         * buffer.C (readFile): new function, take a filename and a
1437         ParagraphList::iterator
1438         (readFile): adjust
1439         (readFile): adjust, make it private. don't use setStream, make
1440         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
1441         always contain the filename.
1442
1443         * BufferView.C (insertLyXFile): simplify and make it work for
1444         gzipped files.
1445
1446 2003-08-30  John Levon  <levon@movementarian.org>
1447
1448         * Makefile.am: fix dist (from Kayvan)
1449
1450 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1451
1452         * most files: change to use const Buffer refs
1453
1454 2003-08-27  André Pönitz  <poenitz@gmx.net>
1455
1456         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
1457         on top of ownerPar().
1458
1459 2003-08-27  John Levon  <levon@movementarian.org>
1460
1461         * funcrequest.C: properly initialise POD members
1462
1463 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1464
1465         * lyxtext.h (top_y): move top_y from here
1466         * text.C:
1467         * text2.C:
1468         * text3.C:
1469         * BufferView.[Ch]:
1470         * BufferView_pimpl.[Ch]: to here
1471         * frontends/screen.C:
1472         * insets/insettabular.C:
1473         * insets/insettext.C: adjust
1474         * rowpainter.[Ch] (paintRows): remove LyXText & argument
1475
1476 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1477
1478         * BufferView.[Ch]:
1479         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
1480
1481 2003-08-26  André Pönitz  <poenitz@gmx.net>
1482
1483         * paragraph_func.[Ch] (outerPar): new function
1484
1485         * paragraph.C:
1486         * paragraph_funcs.C:
1487         * paragraph_funcs.h:
1488         * paragraph_pimpl.C:
1489         * text2.C: remove Inset::par_owner
1490
1491 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
1492
1493         * lyxrow_funcs.C:
1494         * lyxtext.h:
1495         * text.C:
1496         * text2.C: eliminates the needFullRow/display() stuff
1497         altogether, putting the logic in metrics/draw in the insets.
1498
1499 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
1500
1501         * text2.C (redoParagraphInternal, redoParagraphs):
1502         * text.C (redoParagraph): add a call to updateRowPositions at the
1503         end of each 'metrics-like' call. Remove all others.
1504         (getRow): remove the 'y-computing' version.
1505         (getRowNearY): do not compute nor return the real y. Solve the
1506         'y < 0' problem and simplify.
1507
1508 2003-08-22  Angus Leeming  <leeming@lyx.org>
1509
1510         * *.[Ch]: clean-up of licence and author blurbs.
1511         Also move config.h out of a few .h files and into a few .C files.
1512
1513 2003-08-22  André Pönitz  <poenitz@gmx.net>
1514
1515         * lyxrow.[Ch]: add x_ and *fill_ members
1516
1517         * lyxtext.h:
1518         * text.C:
1519         * rowpainter.C:
1520         * text2.C: adjust/remove prepareToPrint() calls
1521
1522 2003-08-22  André Pönitz  <poenitz@gmx.net>
1523
1524         * lyxrow.[Ch]: add  end_ member
1525
1526         * lyxrow_funcs.C: use LyXRow::end_
1527
1528         * lyxtext.h (singleWidth): add LyXFont parameter
1529
1530         * rowpainter.C:
1531         * text2.C: adjust LyXText::singleWidth() calls
1532
1533         * text.C (redoParagraph): simplify row breaking logic
1534
1535
1536 2003-08-19  André Pönitz  <poenitz@gmx.net>
1537
1538         * funcrequest.C: initialize button_ member
1539
1540         * text3.C:
1541         * rowpainter.[Ch]: interface consolidation
1542
1543 2003-08-18  André Pönitz  <poenitz@gmx.net>
1544
1545         * BufferView.C:
1546         * BufferView_pimpl.C:
1547         * lyxfind.C:
1548         * paragraph_funcs.C:
1549         * rowpainter.C:
1550         * text3.C: remove LyXScreen::draw() and fitCursor calls
1551
1552         * BranchList.h: remove spurious semicolons
1553
1554         * MenuBackend.C: fix branchlist related crash
1555
1556 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
1557
1558         * BranchList.[Ch]:
1559         * InsetList.[Ch]:
1560         * LColor.[Ch]:
1561         * LyXAction.C:
1562         * Makefile.am:
1563         * MenuBackend.[Ch]:
1564         * bufferparams.[Ch]:
1565         * factory.C:
1566         * lfuns.h:
1567         * lyxfunc.C:
1568         * text3.C: implements the 'branch inset'
1569         idea. This allows the output of various versions of a document
1570         from a single source version, selectively outputing or suppressing
1571         output of parts of the text.
1572         This implementation contains a 'branch list editor' in a separate
1573         tab of the document settings dialog. Branches are user definable
1574         and have a "display colour" to distinguish them on-screen.
1575
1576         ColorHandler was somewhat cleaned up.
1577         (1) make possible a dynamically growing LColor list by allowing
1578         the graphic context cache to grow along (vector);
1579         (2) eliminate an IMHO unnecessary step in colour allocation.
1580
1581 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
1582
1583         * BufferView_pimpl.C: compile fix
1584
1585 2003-08-15  André Pönitz  <poenitz@gmx.net>
1586
1587         * rowpainter.C: remove extra metrics calls
1588
1589         * lyxtext.h: merge the two constructors into a single one,
1590           pass reference to owner's par list
1591
1592         * BufferView_pimpl.C:
1593         * text.C:
1594         * text2.C: adjust
1595
1596 2003-08-15  André Pönitz  <poenitz@gmx.net>
1597
1598         * lyxrow_funcs.[Ch]:
1599         * lyxtext.h:
1600         * paragraph.h:
1601         * paragraph_funcs.C:
1602         * rowpainter.C:
1603         * text.C:
1604         * text2.C:
1605         * text3.C:
1606         * text_funcs.C: split LyXText::rowlist_ into individual
1607         Paragraph::rows_ chunks
1608
1609         * BufferView.[Ch]:
1610         * BufferView_pimpl.[Ch]:
1611         * lyxfind.C:
1612         * lyxtext.h:
1613         * text3.C: remove toggleSelection()
1614
1615 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
1616
1617         * bufferlist.C: beautify two alerts (shorter text of buttons)
1618         * buffer.C: Remove redundant ' ' from message
1619         * tabular.h:
1620         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
1621         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
1622         rename VALIGN_CENTER to VALIGN_MIDDLE
1623
1624 2003-08-11  André Pönitz  <poenitz@gmx.net>
1625
1626         * lyxtext.h (getPar):
1627         * text.C: new function
1628
1629 2003-08-11  André Pönitz  <poenitz@gmx.net>
1630
1631         * Makefile.am:
1632         * tracer.[Ch]: remove unneeded files
1633
1634         * InsetList.[Ch]: remove resizeInsetsLyXText()
1635
1636         * lyxtext.h:
1637         * text.C:
1638         * text2.C:
1639         * text3.C: merge insertParagraphs() and appendParagraph()
1640         remove breakAgain(), update()
1641
1642         * BufferView_pimpl.[Ch]:
1643         * bufferview_funcs.[Ch]:
1644         * lyxfunc.C:
1645         * paragraph.[Ch]:
1646         * rowpainter.C:
1647         * tabular.C: adjust after text & InsetList changes.
1648
1649 2003-08-08  André Pönitz  <poenitz@gmx.net>
1650
1651         * text.C (insertChar, backspace): replace rowlist fiddling
1652         with rebreak of full par
1653
1654         * lyxtext.h:
1655         * text.C (breakAgainOneRow, redoHeightOfParagraph,
1656         checkParagraph, updateInset): removed
1657
1658 2003-08-07  André Pönitz  <poenitz@gmx.net>
1659
1660         * paragraph.C:
1661         * text3.C: merge some LFUN handlers, remove dead code
1662
1663 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1664
1665         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
1666
1667 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
1668
1669         * text2.C (DEPM): fix part of bug 1255 and 1256
1670
1671 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1672
1673         * BufferView_pimpl.C (workAreaDispatch): change to use
1674         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
1675         that are no mouse related.
1676
1677 2003-08-05  André Pönitz  <poenitz@gmx.net>
1678
1679         * BufferView.[Ch]:
1680         * BufferView_pimpl.[Ch]:
1681         * bufferview_funcs.C:
1682         * text2.C:
1683         * text3.C: rip out "deep update"
1684
1685         * textcursor.[Ch] (last_sel_cursor): remove unused member
1686
1687 2003-08-04  André Pönitz  <poenitz@gmx.net>
1688
1689         * BufferView.[Ch]:
1690         * BufferView_pimpl.[Ch]:
1691         * ParagraphParameters.C:
1692         * bufferview_funcs.C:
1693         * lyx_cb.C:
1694         * lyxfind.C:
1695         * lyxfunc.C:
1696         * text.C:
1697         * text2.C:
1698         * text3.C: replace "complicated" BufferView::update(...) calls with
1699         simpler ones.
1700
1701         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
1702
1703 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
1704
1705         * Makefile.am (lyx_SOURCES): add paper.h
1706
1707 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1708
1709         * Makefile.am: move things around so that both lyx-qt and
1710         lyx-xforms can be built (according to --with-frontend). Then lyx
1711         is a symbolic link to lyx-[firstfrontend]
1712
1713 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
1714
1715         * Always use std::endl with lyxerr
1716
1717 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
1718
1719         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
1720
1721 2003-08-01  André Pönitz  <poenitz@gmx.net>
1722
1723         * BufferView.[Ch]:
1724         * BufferView_pimpl.[Ch]:
1725         * lyxfunc.C:
1726         * text3.C: merge BufferView::repaint() and BufferView::update()
1727
1728 2003-08-01  José Matos  <jamatos@lyx.org>
1729
1730         * buffer.[Ch]: file_format is no longer a buffer data element.
1731
1732 2003-08-01  André Pönitz  <poenitz@gmx.net>
1733
1734         * BufferView.C:
1735         * lyxtext.h:
1736         * text.C:
1737         * text2.C: make redoParagraph more independent of current cursor
1738
1739         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
1740         * text.C:
1741         * text2.C: remove unneeded members
1742
1743 2003-07-30  André Pönitz  <poenitz@gmx.net>
1744
1745         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
1746
1747         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
1748           create a single function...
1749
1750         * paragraph_funcs.C (moveItem): ... here.
1751
1752         * text.C:
1753           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
1754
1755 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
1756
1757         * LColor.[Ch]: Add comment and greyedout logical colors.
1758
1759 2003-07-30  André Pönitz  <poenitz@gmx.net>
1760
1761         * tabular.C: don't use Assert too heavily. This crashes where it
1762           shouldn't
1763
1764 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
1765
1766         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
1767         is disabled (bug 1232)
1768
1769 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1770
1771         * factory.C: limited 'arg' scope
1772
1773 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1774
1775         * factory.C: fixed Note submenu issues
1776
1777 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1778
1779         * factory.C: submenu for Note/Comment/Greyedout
1780
1781 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
1782
1783         * lyx_main.C (LyX):
1784         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
1785
1786 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
1787
1788         * LaTeXFeatures.C:
1789         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
1790         greyedout. Patch provided by Jürgen Spitzmüller.
1791
1792 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1793
1794         * kbmap.C (read): fix error message when reading bind files
1795
1796 2003-07-29  Angus Leeming  <leeming@lyx.org>
1797
1798         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
1799         certainly does not do what it purports to do. I am doing it, and
1800         us, a favour by killing it.
1801
1802 2003-07-28  José Matos  <jamatos@lyx.org>
1803
1804         * buffer.C (readBody, do_writeFile):
1805         * paragraph.C(readParagraph): \end_document replaces \the_end.
1806
1807 2003-07-29  André Pönitz  <poenitz@gmx.net>
1808
1809         * BufferView.[Ch]:
1810         * BufferView_pimpl.[Ch]:
1811         * lyxfunc.C:
1812         * text2.C:
1813         * text3.C:
1814         * textcursor.[Ch]: remove toggleToggle & Co
1815
1816 2003-07-28  José Matos  <jamatos@fep.up.pt>
1817
1818         * buffer.C (readParagraph):
1819         * params_func (readParToken, readParagraph):
1820         * paragraph.C (write): \layout -> \begin_layout.
1821
1822 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1823
1824         * lyxlex_pimpl.C (setFile): clean up slightly.
1825
1826         * bufferparams.h: add compressed var
1827
1828         * buffer_funcs.C (readFile): adjust for LyXLex change
1829         (newFile): ditto + simplify
1830
1831         * buffer.C (writeFile): handle writing of compressed files
1832
1833         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
1834         Check if the file is compressed and set a bufferparm if so.
1835
1836         * Makefile.am (lyx_LDADD): remove explicit -lz
1837
1838 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1839
1840         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
1841         makeDocBookFile): put the real LyX version in the first line of
1842         the file
1843
1844         * version.h:
1845         * version.C.in: remove lyx_docversion
1846
1847         * tabular.C (write_attribute): add a template-based version to
1848         write enums properly
1849
1850 2003-07-28  André Pönitz  <poenitz@gmx.net>
1851
1852         * lyxtext.h:
1853         * text.C:
1854         * text2.C:
1855         * text3.C: use doubles again for x-coordinates. They are needed.
1856
1857 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1858
1859         * messages.C (getLocaleDir): use lyx_localedir()
1860
1861         * lyxlex_pimpl.C (setFile): compress stuff
1862
1863         * buffer.C (writeFile): add some compression stuff
1864         (do_writeFile): new func, dont call expliti close... will this
1865         breake anything?
1866
1867         * Makefile.am (lyx_LDADD): add -lz
1868
1869 2003-07-28  José Matos  <jamatos@fep.up.pt>
1870
1871         * buffer.C: increment file format.
1872         * paragraph_funcs (readParagraph, readParToken):
1873         * paragraph.C (readParagraph): add \end_layout.
1874
1875 2003-07-27  Angus Leeming  <leeming@lyx.org>
1876
1877         * Makefile.am: remove special casing for configure-time setting of
1878         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
1879
1880         * lyx_main.C (init): remove all Jean-Marc's magic setting of
1881         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
1882
1883 2003-07-26  André Pönitz  <poenitz@gmx.net>
1884
1885         * paragraph_func.[Ch]:
1886         * paragraph.C (realizeFont): inline it whereever it is used
1887
1888         * rowpainter.C:
1889         * text.C:
1890         * text2.C:
1891         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
1892
1893
1894 2003-07-26  André Pönitz  <poenitz@gmx.net>
1895
1896         *       lyxtext.h:
1897         * text.C:
1898         * text2.C: get rid of LyXText::need_break_row
1899
1900 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1901
1902         * toc.[Ch]: put namespace toc inside namespace lyx
1903
1904         * MenuBackend.C (expandToc2): adjust for lyx::toc
1905         (expandToc): ditto
1906
1907         * lyxfunc.C (dispatch): adjust for lyx::find
1908
1909         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
1910         lyx::find instead. Reorganize a bit.
1911         (LyXReplace): rename to replace
1912         (LyXFind): rename to find
1913
1914         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
1915         (dispatch): ditto
1916
1917 2003-07-26  André Pönitz  <poenitz@gmx.net>
1918
1919         * text.C (setHeightOfRow): restrict scope of temporary variable
1920
1921         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
1922           code (never has been used?)
1923
1924 2003-07-27  Asger Alstrup  <alstrup@local>
1925
1926         * text.C (fill): Optimise algorithm to exploit that we can reuse
1927         the LyXFont for many characters.
1928         (setHeightOfRow): Same thing.
1929         (rowBreakPoint): Same thing.
1930
1931 2003-07-26  Asger Alstrup  <alstrup@local>
1932
1933         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
1934
1935         * text.C (singleWidth): Spurious font copying in hot-spot
1936         singleWidth avoided. Reorder tests for arabic for efficiency.
1937
1938         * text.C (fill): handle empty paragraphs better.
1939
1940 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1941
1942         * ispell.C:
1943         * encoding.h: add includes
1944
1945         * lyxrc.C: remove reading of bind files
1946
1947         * lyx_main.C (init): setup bindings and menus only if we have a
1948         gui.
1949
1950         * kbmap.C (read): new method. Do the actual reading of bind
1951         files.
1952
1953         * converter.C (dvipdfm_options):
1954         * bufferparams.C:
1955         * lyxrc.C (read):
1956         (output): adapt PAPER_* enums.
1957
1958         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
1959
1960         * bufferparams.h: remove paper-related enums from there
1961
1962         * paper.h: New file. A trivial header file to hold paper-related
1963         enums. It should later expand to contain many paper-related
1964         horrors access.
1965
1966         * lyxrc.C: declare extern displayTranslator
1967
1968 2003-07-27  José Matos  <jamatos@fep.up.pt>
1969
1970         * tabular.[Ch] (linuxdoc): add support for tables and figures
1971         (linuxdoc).
1972
1973 2003-07-27  José Matos  <jamatos@fep.up.pt>
1974
1975         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
1976         consistency in both functions.
1977         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
1978
1979 2003-07-26  Asger Alstrup  <alstrup@local>
1980
1981         * rowpainter.C (paintRows): Change algorithm to work directly on
1982         the insets rather than asking every character in the document
1983         whether its an inset.
1984
1985 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
1986
1987         * buffer.C (openFileWrite): factorize some code
1988
1989 2003-07-26  Angus Leeming  <leeming@lyx.org>
1990
1991         * lyx_cb.C:
1992         * lyx_main.[Ch]: replace occurances of system_tempdir with
1993         os::getTmpDir().
1994
1995 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1996
1997         * rename Inset to InsetOld
1998
1999 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
2000
2001         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2002         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2003         which I think is a bit clearer. EDIT is gone, since it was
2004         premature optimisation, and broken for mathed anyway.
2005         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2006         with cursor positioning in insets as well (math insets still do not
2007         work, but that's a different story anyway.) It mysteriously
2008         crashes sometimes with undo in the first paragraph, but I'm fairly
2009         confident that this is a compiler bug.
2010
2011 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2012
2013         * paragraph.C (Paragraph): adjust for new clone return type
2014         (operator==): ditto
2015         (copyIntoMinibuffer): ditto
2016
2017 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
2018
2019         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2020         by not having a special case, and always doing a full rebreak of
2021         the document after undo.
2022
2023 2003-07-23  Angus Leeming  <leeming@lyx.org>
2024
2025         * factory.C (createInset): InsetExternal::setParams now takes a
2026         Buffer const * arg.
2027
2028 2003-07-23  Angus Leeming  <leeming@lyx.org>
2029
2030         * factory.C (createInset): changed interface to the external and
2031         graphics mailers' string2params functions.
2032
2033 2003-07-23  Angus Leeming  <leeming@lyx.org>
2034
2035         * factory.C (createInset): pass a
2036         Buffer const * parameter to InsetExternalMailer's string2params.
2037
2038 2003-07-22  John Levon  <levon@movementarian.org>
2039
2040         * Thesaurus.h: include the right aiksaurus header
2041
2042 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2043
2044         * MenuBackend.C (expand): check menu shortcuts unconditionally
2045
2046 2003-07-21  Angus Leeming  <leeming@lyx.org>
2047
2048         * factory.C (createInset): pass a
2049         buffer_path parameter to InsetGraphicsMailer's string2params.
2050
2051 2003-07-21  Angus Leeming  <leeming@lyx.org>
2052
2053         * BufferView_pimpl.C (buffer):
2054         * buffer.C (d-tor):
2055         * lyx_main.C (LyX):
2056         * lyxfunc.C (dispatch):
2057         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2058         rather than the grfx shortcut.
2059
2060 2003-07-21  André Pönitz  <poenitz@gmx.net>
2061
2062         * rowpainter.C: remove unused variables
2063
2064         * tabular_funcs.C:
2065         * tabular_funcs.h: move to tabular.C
2066         * Makefile.am: adjust
2067
2068         * tabular.[Ch]: basic optical cleaning
2069
2070         * author.h: pass references, not values
2071
2072 2003-07-18  André Pönitz  <poenitz@gmx.net>
2073
2074         * lyxtext.h:
2075         * metricsinfo.C:
2076         * metricsinfo.h:
2077         * rowpainter.C:
2078         * text.C:
2079         * text2.C:
2080         * text3.C: two-phase drawing for InsetText and InsetTabular
2081         some float -> int changes.
2082
2083 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2084
2085         * lyx_main.C: fix the fix
2086
2087 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2088
2089         * lyx_main.C: fix a crash in batch mode if no files specified
2090         * converter.C: ws
2091
2092 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
2093
2094         * format.[Ch] (papersize): moved to BufferParams
2095         * converter.[Ch] (dvips_options): moved to BufferParams
2096         (dvipdfm_options): moved to anon namespace
2097         * bufferparams.[Ch]: added above functions.
2098
2099 2003-07-17  André Pönitz  <poenitz@gmx.net>
2100
2101         * lyxtext.h:
2102         * rowpainter.C:
2103         * text2.C: don't call inset->update() anymore
2104
2105         * metricsinfo.[Ch]: add convenience constructor
2106
2107 2003-07-16  André Pönitz  <poenitz@gmx.net>
2108
2109         * lyxcursor.[Ch]:
2110         * lyxfunc.[Ch]:
2111         * text.C:
2112         * text2.C: replace the LyXCursor::irow_ member with
2113          on-demand computation of the value
2114
2115 2003-07-16  John Levon  <levon@movementarian.org>
2116
2117         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
2118
2119 2003-07-15  André Pönitz  <poenitz@gmx.net>
2120
2121         * text.C:
2122         * text2.C: remove no more needed refresh_row
2123
2124 2003-07-15  André Pönitz  <poenitz@gmx.net>
2125
2126         * lyxtext.h:
2127         * rowpainter.C:
2128         * text2.C:
2129         * text3.C: refresh_status tristate -> need_update bool
2130
2131 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
2132
2133         * lyxtext.h (init): remove reinit argument (act as if always true)
2134         * text2.C: adjust to that
2135
2136 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2137
2138         * bufferview_funcs.[Ch]: introduce function replaceSelection()
2139         * text3.C: use it to delete selections in some cases
2140         (bugs 441, 673, 702, 954).
2141
2142 2003-07-14  André Pönitz  <poenitz@gmx.net>
2143
2144         * rowpainter.[Ch]: reduce interface
2145
2146 2003-07-14  André Pönitz  <poenitz@gmx.net>
2147
2148         * BufferView_pimpl.C:
2149         * text2.C: adjust after removing unused BufferView * argument
2150
2151 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
2152
2153         * text2.C (init): fix a crash fired on resize
2154
2155 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
2156
2157         * buffer.[Ch]: added new closing signal
2158         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
2159         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
2160         BufferView::Pimpl via the closing the signal
2161
2162 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
2163
2164         * buffer.[Ch]: take out all bv-related from buffer
2165         * BufferView.C:
2166         * BufferView_pimpl.[Ch]: connect to new signals
2167         * CutAndPaste.C: removed useless asserts
2168         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
2169         * lyxvc.[Ch]:
2170         * vc-backend.[Ch]:
2171         * lyxfunc.C: moved view-related funciontality from vc here
2172         * paragraph.C: removed outdated comments
2173         * text.C: ws
2174
2175 2003-07-10  André Pönitz  <poenitz@gmx.net>
2176
2177         * BufferView_pimpl.C:
2178         * tabular.h:
2179         * tabular_funcs.C:
2180         * text.C:
2181         * text2.C: remove InsetText::InnerCache, clean up consequences
2182
2183 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
2184
2185         * ispell.C: fix two typos in error messages
2186
2187 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
2188
2189         * Extend Note inset to other forms of annotation like Comment
2190         and Greyedout. Right button click gives dialog.
2191
2192         Files modified or added (+):
2193
2194         * insetnote.[Ch]
2195         * FormNote.[Ch]      +
2196         * ControlNote.[Ch]   +
2197         * form_note.fd       +
2198         * Makefile.am in frontends/xforms, frontends/xforms/forms,
2199         frontends/controllers
2200         * xforms/Dialogs.C
2201         * factory.C
2202
2203 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2204
2205         * aspell.C: add missing namespace lyx::support
2206
2207 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
2208
2209         * BufferView.[Ch] (newFile): Add
2210         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2211         * LaTeX.[Ch] (message): added this signal and use it
2212         * buffer.[Ch] (busy, message): added these signals and use them
2213         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2214         * converter.C:
2215         * exporter.C:
2216         * format.C:
2217         * importer.C: use buffer signals instead of direct bv calling
2218         * lyx_cb.[Ch] (ShowMessage): removed
2219         * lyx_main.C:
2220         * lyxfunc.C:
2221         * paragraph_funcs.C:
2222         * text2.C: use buffer signals
2223
2224 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2225
2226         * introduce namespace lyx::graphics
2227
2228 2003-07-02  André Pönitz  <poenitz@gmx.net>
2229
2230         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2231
2232 2003-07-01  André Pönitz  <poenitz@gmx.net>
2233
2234         * text.C:
2235         * text2.C:
2236         * text3.C:
2237         * text_funcs.[Ch]:
2238         * textcursor.h:
2239         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2240           text*.C to text_func.C
2241
2242 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2243
2244         * introduce namespace lyx::support
2245
2246 2003-06-30  André Pönitz  <poenitz@gmx.net>
2247
2248         * Chktex.C:
2249         * funcrequest.C:
2250         * lyxtext.h:
2251         * text.C: re-enable --with-included-string
2252
2253 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2254
2255         * textcursor.C: add <config.h>
2256
2257         * text.C (getWord): remove const from word_location arg
2258
2259         * lyxvc.C (getLogFile): fix const type order
2260
2261         * lyxtext.h: remove const from word_location arg, add arg name
2262
2263         * lyxlayout.h: currect type on labeltype.
2264
2265         * importer.C: correct \file
2266
2267         * converter.C (intToFormat): use std:: on ret val, ws changes
2268
2269         * bufferlist.h: correct \file
2270
2271         * buffer.C (makeLinuxDocFile): fix const type order
2272         (makeDocBookFile): ditto
2273         (fillWithBibKeys): use std:: on stdlib args.
2274
2275         * CutAndPaste.C: fix authors.
2276         (availableSelections): use std:: on return vector
2277
2278 2003-06-27  André Pönitz  <poenitz@gmx.net>
2279
2280         * BufferView_pimpl.C:
2281         * bufferview_funcs.C:
2282         * lyxcursor.C:
2283         * lyxcursor.h:
2284         * lyxfunc.C:
2285         * lyxtext.h:
2286         * rowpainter.C:
2287         * text.C:
2288         * text2.C:
2289         * text3.C: remove LyXCursor::row_ member
2290
2291         * lyxtext.h:
2292         * text.C: rename fullRebreak() to partialRebreak() and implement
2293           a fullRebreak() that really bereks fully
2294
2295         * textcursor.h: new struct for cursor-related data
2296
2297 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
2298
2299         * lyx_main.C (LyX): get full path of document loaded on the
2300         command line
2301
2302 2003-06-26  André Pönitz  <poenitz@gmx.net>
2303
2304         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2305           remove unused/broken operator>,<,>=.
2306
2307         *       text.C: remove only use of broken operator<= in an Assert().
2308
2309 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2310
2311         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2312         moved errorlist_.clear to showErrorList
2313
2314 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2315
2316         * converter.C (scanLog, runLaTeX):
2317         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2318         move the bv->showErrorList call to the callers
2319         * lyxfunc.C: i.e. here...
2320         * text2.C: and here
2321         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2322         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2323         namespace, the second to...
2324         * buffer_funcs (BufferFormat, parseErrors): added
2325         * errorlist.C (ErrorList(TeXErrors const &)): removed
2326
2327 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2328
2329         * ToolbarBackend.C (getIcon): complain when icon cannot be found
2330
2331 2003-06-24  "Garst R. Reese" <reese@isn.net>
2332
2333         * debug.C: fix typo
2334
2335 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2336
2337         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2338
2339         * version.C.in: change docversion to 1.4
2340
2341 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
2342
2343         * buffer.C: fix a bug just introduced
2344
2345 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
2346
2347         * buffer.[Ch]: added the parseError signal and use it, removed
2348         sgmlError
2349         * BufferView.[Ch] (addError): moved to ...
2350         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2351         to the Buffer::parseError signal to catch (guess what) parse errors
2352         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2353
2354 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
2355
2356         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2357         ability to create a buffer and to return an existing one from
2358         the list. Moved these functions to...
2359         * buffer_funcs.[Ch]: added
2360         * BufferView.[Ch] (loadLyXFile): added
2361         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
2362         job removed from bufferlist::loadLyXFile.
2363         * buffer.C (setReadOnly): make it work without view
2364         (i.e added an if (users))
2365
2366 2003-06-19  Angus Leeming  <leeming@lyx.org>
2367
2368         * lfuns.h:
2369         * LyXAction.C (init):
2370         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
2371         with LFUN_DIALOG_SHOW <name> <data>.
2372
2373 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2374
2375         * CutAndPaste.C (availableSelections): small compilation fix for
2376         ancient (gcc 2.9x) compilers
2377
2378 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
2379
2380         * text3.C (cursorNext): add tmp var
2381
2382         * text2.C (updateCounters): for function calling out of for clause
2383         (replaceSelectionWithString): ditto
2384         (insertStringAsParagraphs): ditto
2385         (getColumnNearX): add tmp var
2386         (setCursorFromCoordinates): add tmp var
2387         (cursorDownParagraph): add tmp var
2388         (deleteEmptyParagraphMechanism): add tmp var
2389
2390         * text.C (insertChar): add tmp var
2391
2392         * rowpainter.C (paintDepthBar): add tmp var
2393
2394         * CutAndPaste.C (availableSelections): potentially check all
2395         paragraphs in a cut to fill the shown strings.
2396
2397 2003-06-18  André Pönitz  <poenitz@gmx.net>
2398
2399         * kbmap.[Ch]: use vector<> instead of list<>
2400
2401 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
2402
2403         * text3.C (dispatch): handle arg to LFUN_PASTE, call
2404         pasteSelection with index
2405
2406         * text2.C (pasteSelection): modify, call pasteSelection with index
2407
2408         * paragraph.C (asString): reimplement version with no interval to
2409         call the one with interval.
2410
2411         * lyxtext.h: add index arg to pasteSelection
2412
2413         * MenuBackend.C (MenuItem): handle PasteRecent
2414         (Menu::read::Menutags): add md_pasterecent
2415         (read): handle it
2416         (expandPasteRecent): new function
2417         (expand): use it
2418
2419         * MenuBackend.h: add PasteRecent to MenuItem::Kind
2420
2421         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
2422         the limited stack
2423         (availableSelections): new function
2424
2425 2003-06-17  Angus Leeming  <leeming@lyx.org>
2426
2427         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
2428
2429 2003-06-17  Angus Leeming  <leeming@lyx.org>
2430
2431         * lfuns.h:
2432         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
2433
2434         * lyxfunc.C (dispatch): invoke it.
2435
2436 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2437
2438         * iterators.C (operator++, ParPosition): reintroduce some
2439         const_cast for the benefit of older compilers.
2440
2441 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2442
2443         * text3.C (dispatch): do not modify clipboard when doing
2444         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
2445         LFUN_DELETE_SKIP on a selection selection
2446
2447 2003-06-16  André Pönitz  <poenitz@gmx.net>
2448
2449         * BufferView.C:
2450         * buffer.C:
2451         * buffer.h:
2452         * paragraph.C:
2453         * tabular.[Ch]: IU of clone() and getLabelList();
2454
2455 2003-06-13  André Pönitz  <poenitz@gmx.net>
2456
2457         * tabular.h: compactification
2458
2459 2003-06-12  André Pönitz  <poenitz@gmx.net>
2460
2461         * tabular.C:
2462         * tabular.h:
2463         * tabular_funcs.h: some renaming plus whitespace
2464
2465 2003-06-12  André Pönitz  <poenitz@gmx.net>
2466
2467         * BufferView.C:
2468         * BufferView_pimpl.C:
2469         * CutAndPaste.C:
2470         * buffer.C:
2471         * iterators.[Ch]:
2472         * lyxfunc.C:
2473         * text.C:
2474         * toc.C: Return a Paragraph & for ParIterator::operator*()
2475
2476 2003-06-11  John Levon  <levon@movementarian.org>
2477
2478         * lyx_main.C:
2479         * ToolbarBackend.h:
2480         * ToolbarBackend.C: add "Toolbars" section and
2481         put the flags there
2482
2483 2003-06-10  Angus Leeming  <leeming@lyx.org>
2484
2485         * lfuns.h:
2486         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
2487
2488         * lyxfunc.C (dispatch): invoke it.
2489
2490 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2491
2492         * main.C: protect <ios> with HAVE_IOS
2493         (main): protect sync_with_stdio with HAVE_IOS
2494
2495 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
2496
2497         * text2.C (cutSelection): adjust
2498         (pasteSelection): adjust
2499
2500         * messages.C: handle get of empty string
2501
2502         * main.C (main): use sync_with_stdio(false)
2503
2504         * lyxfunc.C (dispatch): adjust
2505
2506         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
2507         (WriteAs): remove unneeded BufferView arg.
2508
2509         * bufferparams.h: use correct types on papersize, papersize2 and
2510         paperpackage.
2511
2512         * bufferparams.C (readToken): adjust for type
2513         (writeLaTeX): add missing cases to switch.
2514
2515         * bufferlist.C (quitWriteBuffer): adjust
2516         (close): adjust
2517
2518         * buffer.C (asciiParagraph): remove some commented code.
2519
2520         * CutAndPaste.C: remove current_view extern variable.
2521         (cutSelection): add BufferParams arg.
2522         (eraseSelection): add BufferParams arg.
2523         (pasteSelection): add Buffer const & arg
2524
2525 2003-06-07  John Levon  <levon@movementarian.org>
2526
2527         * buffer.C:
2528         * paragraph_funcs.C:
2529         * paragraph_pimpl.C:
2530         * text.C:
2531         * text2.C:
2532         * paragraph.h:
2533         * paragraph.C: allow InsetERT to freely space lines,
2534         and some consolidation of code
2535
2536 2003-06-06  José Matos  <jamatos@fep.up.pt>
2537
2538         * buffer.C (makeDocBookFile): fix bug #821
2539
2540 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
2541
2542         * BufferView_pimpl.C (dispatch): use Dialogs::visible
2543
2544 2003-06-04  Angus Leeming  <leeming@lyx.org>
2545
2546         * buffer.C: bump format to 224.
2547
2548 2003-06-05  André Pönitz  <poenitz@gmx.net>
2549
2550         * text2.C (redoParagraphs): remove two const_cast<>
2551
2552 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2553
2554         * ParagraphList.h: remove last remnants of NO_STD_LIST
2555
2556 2003-06-03  Angus Leeming  <leeming@lyx.org>
2557
2558         * factory.C (createInset): small change to the way InsetExternal's params
2559         are set.
2560
2561 2003-06-04  André Pönitz  <poenitz@gmx.net>
2562
2563         * buffer.h: use Undo directly instead of shared_ptr<Undo>
2564
2565         * paragraph_pimpl.h:
2566         * paragraph.[Ch]: some Inset -> UpdatableInset changes
2567
2568         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
2569
2570         * undo_funcs.C: make some simple cases of undo work again
2571
2572 2003-06-03  John Levon  <levon@movementarian.org>
2573
2574         * ispell.C: HPUX doesn't have sys/select.h
2575         (from Albert Chin)
2576
2577 2003-06-03  John Levon  <levon@movementarian.org>
2578
2579         * CutAndPaste.C: update tabular and include inset
2580         buffer references
2581
2582         * buffer.h:
2583         * paragraph.h:
2584         * paragraph.C: remove owningBuffer(), don't pass Buffer
2585         to clone()
2586
2587         * factory.C: insetGraphicsParams changed
2588
2589 2003-06-02  John Levon  <levon@movementarian.org>
2590
2591         * LyXAction.C:
2592         * factory.C:
2593         * lfuns.h:
2594         * lyxfunc.C:
2595         * text3.C: remove insetparent
2596
2597 2003-06-02  John Levon  <levon@movementarian.org>
2598
2599         * buffer.h:
2600         * buffer.C: fix inset_iterator.end(), move out of line
2601         (bug 1149)
2602
2603 2003-06-01  John Levon  <levon@movementarian.org>
2604
2605         * text3.C: use a proper cut/paste when doing inset
2606         insert (from Jürgen Spitzmüller)
2607
2608 2003-06-01  John Levon  <levon@movementarian.org>
2609
2610         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
2611
2612 2003-05-30  André Pönitz  <poenitz@gmx.net>
2613
2614         * rowpainter.C: unify second drawing phase
2615
2616 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2617
2618         * trans_mgr.C: remove one case of current_view
2619
2620         * text2.C (cursorBottom): delete NO_STD_LIST stuff
2621
2622         * paragraph_funcs.h: remove paragraph.h include
2623
2624         * paragraph.h: delete NO_STD_LIST stuff
2625
2626         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
2627
2628         * buffer.h: remove paragraph.h include
2629
2630         * ParagraphList.C: delete file
2631
2632         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
2633
2634         * toc.C (getTocList): adjust
2635
2636         * paragraph_pimpl.C (validate): adjust
2637
2638         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
2639
2640         * paragraph.C (Paragraph): adjust
2641         (getPositionOfInset): use const_iterator, adjust
2642         (bibitem): use const_iterator, adjust
2643         (setInsetOwner): adjust
2644
2645         * iterators.C (operator++): adjust
2646
2647         * InsetList.[Ch]: Replace selfmade iterator with standard
2648         vector::iterator also introduce const_iterator. Remove getPos,
2649         getInset and setInset from InsetTable. Adjust accordingly.
2650
2651         * BufferView.C (lockInset): adjust
2652         (ChangeInsets): adjust
2653
2654         * tabular.[Ch]: delete commented same_id functions
2655
2656 2003-05-28  John Levon  <levon@movementarian.org>
2657
2658         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
2659
2660 2003-05-28  André Pönitz  <poenitz@gmx.net>
2661
2662         * metricsinfo.[Ch]: remove 'fullredraw' member
2663
2664 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
2665
2666         * lyxtextclass.C (operator): remove caching.
2667
2668 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2669
2670         * text3.C: adjust
2671
2672         * text2.C (cursorBottom): adjust
2673         (setCounter): use ParagraphList::find, adjust
2674
2675         * text.C (workWidth): use ParagraphList::find, adjust
2676
2677         * lyxcursor.C (LyXCursor): adjust
2678
2679         * buffer.C (inset_iterator): adjust
2680
2681         * ParagraphList.h: make iterator(value_type) private, make
2682         ParagraphList a friend of iterator.
2683
2684         * ParagraphList.C (find): new function
2685
2686         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2687
2688 2003-05-27  André Pönitz  <poenitz@gmx.net>
2689
2690         * dimension.[Ch]: a -> asc, d -> des, w -> wid
2691
2692 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2693
2694         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
2695
2696 2003-05-26  John Levon  <levon@movementarian.org>
2697
2698         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
2699
2700 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2701
2702         * remove same_id from function signatures, adjust.
2703
2704 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2705
2706         * undo_funcs.C (createUndo): use the id functions directly, adjust.
2707
2708         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
2709
2710         * paragraph.C (Paragraph): get rid of same_ids parameter
2711
2712         * ParagraphList.C (insert): adjust
2713         (push_back): adjust
2714
2715 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2716
2717         * paragraph_funcs.C (breakParagraph): adjust
2718         (breakParagraphConservative): adjust
2719
2720         * buffer.C (readParagraph): adjust
2721
2722         * ParagraphList.C (insert): take a reference instead of a pointer
2723         (insert): adjust
2724
2725         * paragraph.[Ch] (id): new function
2726
2727         * bufferlist.C (newFile): adjust
2728
2729         * ParagraphList.C (ParagraphList): adjust
2730         (assign): adjust
2731         (push_back): take a reference instead of a pointer.
2732
2733         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
2734
2735         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
2736         instead.
2737
2738         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
2739         set else use old code.
2740
2741         * ParagraphList.C: remove all NO_NEXT code and only compile this
2742         code of NO_STD_LIST is set.
2743
2744 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
2745
2746         * BufferView_pimpl.C:
2747         * TextCache.C:
2748         * TextCache.h:
2749         * bufferlist.C:
2750         * errorlist.h:
2751         * format.C:
2752         * format.h:
2753         * graph.C:
2754         * lyxfunc.C:
2755         * lyxrc.C:
2756         * graphics/GraphicsConverter.C:
2757         * graphics/PreviewLoader.C: header adjustment
2758
2759 2003-05-23  Angus Leeming  <leeming@lyx.org>
2760
2761         * LaTeXFeatures.[Ch] (useBabel): new method.
2762         * bufferparams.C (writeLaTeX): use it.
2763
2764 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2765
2766         * ParagraphList.h (set): remove unused function.
2767
2768 2003-05-23  André Pönitz  <poenitz@gmx.net>
2769
2770         * BufferView.C:
2771         * BufferView_pimpl.C:
2772         * buffer.C:
2773         * buffer.h:
2774         * lyxfunc.C:
2775         * undo_funcs.C: setUndo reworked
2776
2777         * iterators.[Ch]: add access to topmost ParagraphList
2778
2779         * lyxtext.[Ch] (workWidth): add a const
2780
2781 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
2782
2783         * texrow.[Ch] (increasePos): remove function
2784         * exporter.C (export): removed unused var and outdated comment
2785
2786 2003-05-23  Angus Leeming  <leeming@lyx.org>
2787
2788         * latexrunparams.h: rename fragile as moving_arg.
2789         * paragraph.C (simpleTeXOnePar): ditto.
2790         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
2791
2792 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2793
2794         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
2795         (createUndo): ditto
2796         (textUndoOrRedo): comment out a currently unused var.
2797
2798         * paragraph.h (NO_NEXT): enable NO_NEXT
2799
2800         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
2801
2802         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
2803
2804         * exporter.C (Export): adjust for removeAutoInsets removal.
2805
2806         * buffer.C (runChktex): adjust for removeAutoInsets removal.
2807
2808         * LyXAction.C (init): remove LFUN_REMOVEERRORS
2809
2810         * BufferView.[Ch] (removeAutoInsets): delete function
2811
2812 2003-05-22  Angus Leeming  <leeming@lyx.org>
2813
2814         * latexrunparams.h: add a free_spacing variable.
2815
2816         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
2817         to pass moving_arg, as the data is stored in runparams.fragile.
2818
2819         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
2820         to Inset::latexOptional or to simpleTeXOnePar.
2821
2822         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
2823         free_spacing arg to Inset::latexOptional.
2824
2825         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2826         free_spacing arg.
2827
2828 2003-05-22  Angus Leeming  <leeming@lyx.org>
2829
2830         * latexrunparams.h: add fragile and use_babel variables.
2831
2832         * bufferparams.[Ch] (writeLaTeX): return use_babel.
2833         * buffer.C (makeLaTeXFile): store this returned value in
2834         runparams.use_babel, thus passing it to the inset::latex methods.
2835
2836         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
2837         simpleTeXSpecialChars as it is now stored in runparams.fragile.
2838
2839         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
2840         longer has a fragile arg, as it is stored in runparams.fragile.
2841
2842         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
2843         moving_arg parameter as the data is stored in runparams.fragile.
2844
2845         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2846         a fragile parameter as the data is stored in runparams.fragile.
2847
2848 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2849
2850         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
2851
2852 2003-05-22  Angus Leeming  <leeming@lyx.org>
2853
2854         * latexrunparams.h: add a 'bool nice' which defaults to false.
2855
2856         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
2857         now encapsulated within runparams.
2858
2859         * bufferlist.C (updateIncludedTeXfiles):
2860         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
2861
2862 2003-05-22  Angus Leeming  <leeming@lyx.org>
2863
2864         * latexrunparams.h: new file containing struct LatexRunParams.
2865         * Makefile.am: add new file.
2866
2867         * LaTeX.[Ch] (c-tor, run):
2868         * buffer.[Ch] (makeLaTeXFile):
2869         * bufferlist.[Ch] (updateIncludedTeXfiles):
2870         * converter.C (convert, scanLog):
2871         * converter.[Ch] (runLaTeX):
2872         * exporter.C (Export):
2873         * paragraph.[Ch] (simpleTeXOnePar):
2874         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
2875         * paragraph_funcs.[Ch] (latexParagraphs):
2876         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
2877         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
2878         pass around a LatexRunParams parameter.
2879
2880 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2881
2882         * paragraph.[Ch]: remove unused constructor
2883
2884         * ParagraphList.C (erase): new function, taking two iterators
2885
2886 2003-05-22  André Pönitz  <poenitz@gmx.net>
2887
2888         * undo_funcs.C: remove duplicated code
2889
2890         * iterator.[Ch]: operator=
2891
2892 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2893
2894         * tabular.C (SetMultiColumn): ws changes
2895
2896         * rowpainter.C (paintFirst): get rid of a ->previous
2897
2898         * lyx_cb.C (getPossibleLabel): parlist simplification
2899
2900         * BufferView.C (ChangeInsets): simplify slightly.
2901
2902 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2903
2904         * LyXAction.C: new lfun space-insert, kill protected-space-insert
2905         * lfuns.h: new LFUN_SPACE
2906         * lyxfunc.C: protected space has a new lfun
2907         * paragraph_funcs.C: read new space insets
2908         * text3.C:
2909         * factory.C: handle new space insets
2910
2911 2003-05-22  André Pönitz  <poenitz@gmx.net>
2912
2913         * BufferView.C:
2914         * BufferView_pimpl.C:
2915         * buffer.[Ch]:
2916         * lyxfunc.C:
2917         * undo_funcs.C: return a ParIterator from getParFromID.
2918
2919         * iterators.[Ch]: add two const's
2920
2921 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2922
2923         * toc.C (getTocList): adjust
2924
2925         * iterators.[Ch]: rework for parlist
2926
2927         * buffer.C (par_iterator_begin): adjust
2928         (par_iterator_end): adjust
2929
2930         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
2931
2932         * BufferView.C (removeAutoInsets): adjust
2933         (ChangeInsets): adjust
2934
2935 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
2936
2937         * text.C (top_y): fix bug 1110
2938
2939 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
2940
2941         * errorlist.[Ch]: added
2942         * buffer.C:
2943         * BufferView.[Ch]:
2944         * BufferView_pimpl.C:
2945         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
2946         instead
2947
2948 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2949
2950         * Makefile.am: ensure that lyx is relinked upon changes to the
2951         various "convenience" libs.
2952
2953 2003-05-20  Angus Leeming  <leeming@lyx.org>
2954
2955         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
2956         files are compiled in alphabetical order again.
2957
2958         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
2959
2960 2003-05-19  Angus Leeming  <leeming@lyx.org>
2961
2962         * gettext.[Ch]: remove "char const * _(char const *)".
2963
2964 2003-05-19  André Pönitz  <poenitz@gmx.net>
2965
2966         * dimension.[Ch]: promote from mathed/dimension.[Ch]
2967
2968         * Makefile.am:
2969         * BufferView.C:
2970         * DepTable.h:
2971         * LaTeXFeatures.C:
2972         * buffer.C:
2973         * lyxfont.C:
2974         * lyxlex.h:
2975         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
2976
2977 2003-05-19  André Pönitz  <poenitz@gmx.net>
2978
2979         * buffer.C:
2980         * lyxlayout.[Ch]:
2981         * lyxtextclass.[Ch]:
2982         * paragraph.C:
2983         * paragraph_funcs.[Ch]:
2984         * text2.C:
2985         * text3.C: more insetenv work
2986
2987 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
2988
2989         * ParagraphParameters.C (params2string): small bug fixed
2990
2991 2003-05-16  André Pönitz  <poenitz@gmx.net>
2992
2993         * debug.C:
2994         * bufferview_funcs.C: patch from Kornel Benko to prevent
2995           crash when _(...) is called twice in a statement
2996
2997 2003-05-16  André Pönitz  <poenitz@gmx.net>
2998
2999         * BufferView.C:
3000         * lyxfunc.C:
3001         * text.C:
3002         * text2.C:
3003         * text3.C:
3004         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3005
3006 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
3007
3008         * lyx_main.C (init): remove spurious static_cast
3009
3010 2003-05-14  André Pönitz  <poenitz@gmx.net>
3011
3012         * BufferView.C: fix format string
3013
3014 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
3015
3016         * BufferView.[Ch] (insertErrors): removed
3017         * BufferView.[Ch] (showErrorList): added
3018         * buffer.C (runChkTeX):
3019         * converter.C (scanLog): call showErrorList instead of inserterrors
3020
3021 2003-05-13  André Pönitz  <poenitz@gmx.net>
3022
3023         * BufferView_pimpl.C:
3024         * buffer.C:
3025         * bufferview_func.C:
3026         * MenuBackend.C:
3027         * lyxfunc.C:
3028         * lyxrc.C:
3029         * tex-accent.C:
3030         * text3.C:
3031         * toc.C:
3032         * tabular_funcs.h: tostr() from its own header
3033
3034         * ParagraphParameters.C:
3035         * ToolbarBackend.C:
3036         * bufferparams.C:
3037         * format.C:
3038         * lyxlex_pimpl.C:
3039         * text3.C: STRCONV()
3040
3041 2003-05-12  André Pönitz  <poenitz@gmx.net>
3042
3043         * BufferView.C:
3044         * BufferView_pimpl.C:
3045         * CutAndPaste.C:
3046         * LaTeX.C:
3047         * LaTeXFeatures.C:
3048         * ParagraphParameters.C:
3049         * buffer.C:
3050         * bufferlist.C:
3051         * bufferparams.C:
3052         * bufferview_funcs.C:
3053         * converter.C:
3054         * counters.C:
3055         * debug.C:
3056         * exporter.C:
3057         * format.C:
3058         * importer.C:
3059         * lyx_cb.C:
3060         * lyx_main.C:
3061         * lyxfont.C:
3062         * lyxfunc.C:
3063         * lyxvc.C:
3064         * paragraph.C:
3065         * paragraph_funcs.C:
3066         * tabular.C:
3067         * tabular_funcs.C:
3068         * text2.C:
3069         * text3.C:  boost::format -> bformat  all over the place
3070
3071
3072 2003-05-09  André Pönitz  <poenitz@gmx.net>
3073
3074         * LColor.[Ch]: Pimpl the #include <map> away
3075
3076 2003-05-09  John Levon  <levon@movementarian.org>
3077
3078         * bufferlist.C: never remove emergency saves
3079
3080 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3081
3082         * Makefile.am: better lib building
3083
3084 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
3085
3086         * texrow.[Ch]: remove dependency on Paragraph and just store a id
3087         instead.
3088         * paragraph_pimpl.C (simpleTeXBlanks): adjust
3089         (simpleTeXSpecialChars): adjust
3090         (simpleTeXSpecialChars): adjust
3091         * paragraph.C (simpleTeXOnePar): adjust
3092         * buffer.C (makeLaTeXFile): adjust
3093
3094         * Makefile.am (BOOST_LIBS): allow boost as system lib.
3095
3096         * text2.C (changeDepth): parlist cleanup
3097         (getColumnNearX): ditto
3098
3099         * rowpainter.C (getLabelFont): parlist cleanup
3100
3101         * bufferlist.C (newFile): parlist cleanup
3102
3103         * CutAndPaste.C (eraseSelection): parlist cleanup
3104
3105         * BufferView_pimpl.C (trackChanges): parlist cleanup
3106         (dispatch): ditto
3107
3108         * BufferView.C (lockInset): parlist cleanup.
3109         (ChangeInsets): ditto
3110
3111 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3112
3113         * CutAndPaste.h: Update file header.
3114
3115         * CutAndPaste.C: Update file header.
3116         Store the parts cut out of the Document in a limited_stack.
3117         (copySelection): adjust
3118         (pasteSelection): new function, takes the index in the limited stack.
3119         (nrOfParagraphs): adjust
3120         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
3121         simplify error inset insertion.
3122         (checkPastePossible): adjust
3123
3124 2003-05-06  John Levon  <levon@movementarian.org>
3125
3126         * text2.C: don't cast wrap inset to float
3127
3128 2003-05-05  André Pönitz  <poenitz@gmx.net>
3129
3130         * iterator.C:
3131         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
3132
3133         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
3134           few naked Paragraph *.
3135
3136 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
3137
3138         * bufferparams.C: Output warning if a document with missing
3139         TeX document class is loaded
3140         * exporter.C: Disable TeX exports if the document class is missing
3141         * lyxtextclass.C:
3142         * lyxtextclass.h:
3143         * lyxtextclasslist.C: Handle new textclass.lst format; new method
3144         isTeXClassAvailable()
3145
3146 2003-05-03  John Levon  <levon@movementarian.org>
3147
3148         * BufferView.h:
3149         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
3150         explicit cursor show/hide
3151
3152         * BufferView_pimpl.h:
3153         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
3154         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
3155
3156         * lyxfunc.C: hide cursor before dispatching.
3157
3158         * lyx_cb.C:
3159         * lyxfind.C:
3160         * text.C:
3161         * text3.C: remove explicit cursor hides
3162
3163 2003-05-02  André Pönitz  <poenitz@gmx.net>
3164
3165         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
3166
3167         * undo_funcs.C:
3168         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
3169           linked lists
3170
3171         * text2.C: tiny whitespace
3172
3173 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3174
3175         * undo_funcs.C: almost only ws changes.
3176
3177         * ParagraphList.C (splice): just return if pl is empty.
3178
3179 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3180
3181         * ParagraphList.C (splice): new function.
3182
3183         * CutAndPaste.C (pasteSelection): use it
3184
3185 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3186
3187         * CutAndPaste.C (pasteSelection): remove the last next and
3188         previous from this file.
3189
3190 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3191
3192         * CutAndPaste.C (pasteSelection): more clean up, user proper
3193         ParagraphList functions for pasteing.
3194
3195         * ParagraphList.C (insert): new function, three arg insert
3196
3197 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3198
3199         * ParagraphList.C (insert): new function, three arg insert
3200
3201         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
3202         not on paragraphs.
3203
3204 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3205
3206         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3207
3208 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3209
3210         * CutAndPaste.C (pasteSelection): remove some unneeded code.
3211
3212 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3213
3214         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3215         (copySelection): clean up a bit.
3216         (pasteSelection): use make_pair
3217
3218         * ParagraphList.C (ParagraphList): implement copy constructor
3219         (operator=): implement, base on copy constructor.
3220         (assign): new func
3221
3222         * paragraph.C (erase): return a bool
3223
3224         * paragraph_pimpl.C (erasePos): remove function, move contents...
3225         (erase): ... here. Return a bool.
3226         (erase): call erase instead of erasePos.
3227
3228 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
3229
3230         * ParagraphList.h: define PitPosPair
3231         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3232         ParagraphList, fix a bug on pasting multiple pars
3233         * text2.C: change interface to C&P
3234
3235 2003-04-30  André Pönitz  <poenitz@gmx.net>
3236
3237         * undo_func.C: revert part of yesterday's patch 2
3238
3239 2003-04-30  John Levon  <levon@movementarian.org>
3240
3241         * LColor.C: s/tabular/table/
3242
3243 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3244
3245         * text3.C (dispatch): do not convert iterator -> pointer
3246         * undo_funcs.C (setCursorParUndo): ditto
3247         * text_funcs.C (transposeChars): ditto
3248
3249         * text2.C (setLayout): ws changes only
3250
3251         * text.C (breakParagraph): do not convert iterator -> pointer
3252         (insertChar): ditto
3253         (acceptChange): ditto
3254         (rejectChange): ditto
3255         (changeCase): ditto
3256         (Delete): ditto
3257         (backspace): ditto
3258
3259         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3260         pointer
3261
3262 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3263
3264         * text3.C (gotoInset): YABG (yet another bad getChar)
3265
3266 2003-04-29  André Pönitz  <poenitz@gmx.net>
3267
3268         * paragraph.h: make operator= private unimplemented as long as
3269           it is unusable
3270
3271         * ParagraphList.C: whitespace
3272
3273         * paragraph.[Ch]:
3274         * paragraph_pimpl.[Ch]:
3275         * paragraph_funcs.C:
3276         * CutAndPaste.C:
3277         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
3278
3279         * text2.C:
3280           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3281
3282 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3283
3284         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3285         * paragraph.[Ch] (erase):
3286         * paragraph_pimpl.[Ch] (erase): change return type and value
3287         * text2.C (cutSelection): some rework
3288
3289 2003-04-28  John Levon  <levon@movementarian.org>
3290
3291         * bufferlist.C: changes for unsaved changes dialog
3292
3293 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3294
3295         * bufferlist.C (newFile): set language (messages_) for new
3296         documents also.
3297
3298         * buffer.C (readFile): ws changes only.
3299
3300 2003-04-28  André Pönitz  <poenitz@gmx.net>
3301
3302         * undo_funcs.C:
3303         * lyxfunc.C:
3304         * buffer.[Ch]:
3305         * BufferView_pimpl.C:
3306         * BufferView.C: getParFromID related ParagraphList::iterator changes
3307
3308 2003-04-28  André Pönitz  <poenitz@gmx.net>
3309
3310         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3311           Changes
3312
3313 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3314
3315         * messages.C: remove one more localedir class variable.
3316
3317 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3318
3319         * messages.C (getLocaleDir): singleton generation function
3320         (Pimpl): use it.
3321         (Messages): add a default constructor.
3322
3323         * main.C (main): do not setup localedir here, do not call
3324         gettext_init.
3325
3326         * gettext.C (_): use it.
3327         (gettext_init): delete funciton
3328
3329 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3330
3331         * gettext.C (getLyXMessages): new singleton generating function.
3332
3333         * buffer.C (updateDocLang): adjust
3334
3335         * Makefile.am (messages.o): add target
3336         (main.o): remove target
3337
3338 2003-04-27  John Levon  <levon@movementarian.org>
3339
3340         * bufferlist.C:
3341         * lyx_cb.C:
3342         * lyxfunc.C:
3343         * lyxvc.C: specify cancel button in Alert::prompt
3344
3345 2003-04-26  John Levon  <levon@movementarian.org>
3346
3347         * text3.C:
3348         * lyxfunc.C:
3349         * lfuns.h:
3350         * LyXAction.C: add LFUN_INSET_SETTINGS
3351
3352         * lyxfunc.C: don't enable tabular-feature when there's
3353         just any locking inset
3354
3355 2003-04-26  John Levon  <levon@movementarian.org>
3356
3357         * bufferlist.C: re-add Cancel to buffer close question
3358
3359         * lyxfunc.C: fix import UI a bit
3360
3361 2003-04-25  John Levon  <levon@movementarian.org>
3362
3363         * gettext.C: remove the broken asserts for now
3364
3365 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3366
3367         * messages.C: make case where setlocale cannot comply work better.
3368
3369         * buffer.C (updateDocLang): new function
3370         (changeLanguage): use it
3371         (readFile): use it
3372
3373         * text2.C (setCounter): use B_ a bit.
3374
3375         * lyxlayout.C (Read): be sure to trim the label strings.
3376
3377         * messages.C (Messages): fix typo in comment
3378
3379         * buffer.C (readFile): set message_ after file is loaded.
3380         (makeDocBookFile): remove double return
3381         (changeLanguage): reset message_ upon language change.
3382         (B_): new func, use this to get translated buffer strings.
3383
3384         * main.C: add myself and Jean Marc as authors.
3385
3386 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3387
3388         * messages.[hC]: pimplify Messages, and three different pimpls to be
3389         used in different circumstances.
3390
3391         * gettext.[Ch]: change for use with new message code.
3392
3393 2003-04-24 André Pönitz <poenitz@gmx.net>
3394
3395         * factory.C: support for eqref
3396
3397 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3398
3399         * messages.[Ch]: add missing char
3400
3401         * Makefile.am (lyx_SOURCES): add messages.[Ch]
3402
3403         * messages.[Ch]: New files
3404
3405 2003-04-18  John Levon  <levon@movementarian.org>
3406
3407         * BufferView.h:
3408         * BufferView.C:
3409         * BufferView_pimpl.C:
3410         * lfuns.h:
3411         * LyXAction.C:
3412         * lyxtext.h:
3413         * text2.C: remove layout-copy/paste (bug 778)
3414
3415 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3416
3417         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
3418
3419 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3420
3421         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
3422         if they succeed. Act accordingly.
3423
3424 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3425
3426         * text2.C (setCharFont): adjust
3427         (setCounter): adjust
3428         (insertStringAsLines): adjust
3429
3430         * text.C (leftMargin): adjust
3431         (setHeightOfRow): adjust
3432
3433         * rowpainter.C (paintFirst): adjust
3434         (paintLast): adjust
3435
3436         * paragraph_funcs.C (depthHook): ParagraphList::iterators
3437         (outerHook): ditto
3438         (isFirstInSequence): ditto
3439         (getEndLabel): ditto
3440         (outerFont): adjust
3441
3442         * paragraph.C (getParLanguage): comment out some hard stuff.
3443
3444         * buffer.C (insertStringAsLines): take a ParagraphList as arg
3445         (sgmlError): ditto
3446         (simpleDocBookOnePar): ditto
3447         (makeDocBookFile): use ParagraphList::iterator
3448
3449         * CutAndPaste.C (pasteSelection): adjust
3450
3451 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3452
3453         * text2.C (getFont): adjust
3454         (getLayoutFont): adjust
3455         (getLabelFont): adjust
3456
3457         * paragraph_funcs.C (TeXOnePar): adjust
3458
3459         * buffer.C (simpleLinuxDocOnePar): adjust
3460         (simpleDocBookOnePar): adjust
3461
3462         * CutAndPaste.C (pasteSelection): adjust
3463
3464         * BufferView.C (getEncoding): adjust
3465
3466         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
3467
3468 2003-04-16  John Levon  <levon@movementarian.org>
3469
3470         * lyxfind.C: use parlist stuff for search/changes
3471
3472 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3473
3474         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
3475
3476         * text2.C (deleteEmptyParagraphMechanism): adjust
3477
3478         * text2.[Ch] (ownerParagraph): delete func (both of them
3479
3480 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3481
3482         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
3483
3484 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3485
3486         * ParagraphList.C: prepare for NO_NEXT
3487
3488 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3489
3490         * text2.C (getFont): adjust
3491         (getLayoutFont): adjust
3492         (getLabelFont): adjust
3493
3494         * paragraph.C (getFont): adjust
3495         (getLabelFont): adjust
3496         (getLayoutFont): adjust
3497
3498         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
3499
3500 2003-04-15  John Levon  <levon@movementarian.org>
3501
3502         From Angus Leeming
3503
3504         * lyx_main.C: handle Include in .ui files
3505
3506 2003-04-15  John Levon  <levon@movementarian.org>
3507
3508         * MenuBackend.C: make the doc files length shorter
3509
3510         * ToolbarBackend.h:
3511         * ToolbarBackend.C: handle toolbar placement flags,
3512         Minibuffer
3513
3514 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3515
3516         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
3517         adjust
3518
3519         * paragraph_funcs.C (TeXOnePar): adjust
3520
3521         * paragraph.C (getLabelFont): add outerfont arg, adjust
3522         (getLayoutFont): ditto
3523         (simpleTeXOnePar): adjust
3524
3525         * paragraph_pimpl.C (realizeFont): delete func
3526
3527 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
3528
3529         * text2.C (beforeFullRowInset): added a bad getchar check, removed
3530         row argument, constify cur argument.
3531
3532 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3533
3534         * text2.C (getFont): adjust
3535         (getLayoutFont): adjust
3536         (getLabelFont): adjust
3537
3538         * paragraph_funcs.C (TeXOnePar): adjust
3539         (outerFont): new func...
3540         (realizeFont): ...moved out from here, changed this to facilitate
3541         transition
3542
3543         * paragraph.C (getFont): take outerfont as arg, adjust
3544         (simpleTeXOnePar): add outerfont arg, adjust
3545
3546         * buffer.C (simpleLinuxDocOnePar): adjust
3547         (simpleDocBookOnePar): adjust
3548
3549         * CutAndPaste.C (pasteSelection): adjust
3550
3551         * BufferView.C (getEncoding): adjust
3552
3553 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3554
3555         * text2.C (setCharFont): adjust
3556         (setCounter): adjust
3557
3558         * text.C (leftMargin): adjust
3559         (setHeightOfRow): adjust
3560
3561         * rowpainter.C (paintFirst): adjust
3562         (paintLast): adjust
3563
3564         * paragraph_pimpl.C (realizeFont): adjust
3565
3566         * paragraph.C (isFirstInSequence): move from here...
3567         * paragraph_funcs.C (isFirstInSequence): ...to here
3568
3569         * paragraph.C (outerHook): move from here...
3570         * paragraph_funcs.C (outerHook): ...to here
3571
3572         * paragraph.C (depthHook): move from here...
3573         * paragraph_funcs.C (depthHook): ...to here
3574
3575         * paragraph.C (getEndLabel): move from here...
3576         * paragraph_funcs.C (getEndLabel): ...to here
3577
3578         * text2.C (realizeFont): move from here...
3579         * paragraph_funcs.C (realizeFont): ...to here
3580
3581 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3582
3583         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
3584
3585 2003-04-14  Angus Leeming  <leeming@lyx.org>
3586
3587         * LColor.[Ch]: scrap LColor mathcursor.
3588
3589 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3590
3591         * lyxlex.[Ch] (text): delete function
3592         * trans.C (Load): adjust
3593         * paragraph_funcs.C (readParToken): adjust
3594
3595 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3596
3597         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
3598         vector<char> instead of a char[].
3599
3600         * lyxlex_pimpl.C (getString): adjust
3601         (next): adjust
3602         (lex): use getString
3603         (eatLine): adjust
3604         (nextToken): adjust
3605
3606         * lyxlex.C (text): use pimpl_->getString()
3607         (getBool): ditto
3608         (findToken): ditto
3609
3610 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3611
3612         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
3613         (makeFontEntriesLayoutSpecific): temp var for par.size()
3614         (setLayout): temp var for ownerParagraphs().end()
3615         (fullRebreak): temp var for rows().end()
3616         (selectionAsString): temp var for boost::next(startpit), realize
3617         that the while really is a regular for loop.
3618         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
3619         setCursor in one place.
3620         (setParagraph): temp vr for ownerParagraphs().end()
3621         (updateCounters): make the while loop a for loop
3622         (cutSelection): temp var for ownerParagraphs().end()
3623         (updateInset): make the do {} while() a regular for loop
3624         (getCursorX): use temp vars
3625         (setCurrentFont): use temp vars
3626         (getColumnNearX): use temp vars
3627
3628 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3629
3630         * text.C (transformChar): use temp var for getChar
3631         (computeBidiTables): use temp var for row->par()
3632         (fill): move temp vars for row->par() and pit->layout() earlier in
3633         the function.
3634         (labelFill): use temp var for row->par()
3635         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
3636         asc and desc, realize that pit never changes and that firstpit is
3637         just a duplicate and not needed. Exchange rit->par() with pit in a
3638         lot of places.
3639         (breakAgain): use a temp var for boost::next(rit)
3640         (breakAgainOneRow): ditto
3641         (breakParagraph): use a temp var for rows().begin()
3642         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
3643         (cursorRightOneWord): use temp var for cursor.par() and
3644         cursor.pos(), remove usage of tmpcursor.
3645         (cursorLeftOneWord): use temp var for cursor.par() and
3646         cursor.pos() only set cur at end of function.
3647
3648 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3649
3650         * text.C, text2.C: exchange all usage of Paragraph::next with
3651         boost::next(ParagraphList::iterator)
3652
3653         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
3654
3655         * text2.C (cursorTop): simplify implementation
3656         (cursorBottom): ditto
3657         (setParagraph): use ParagraphList::iterator
3658         (setCurrentFont): adjust
3659         (getColumnNearX): adjust
3660         (cursorRight): adjust
3661         (cursorLeft): remove usage of Paragraph::previous
3662         (cursorUpParagraph): ditto
3663         (deleteEmptyParagraphMechanism): slight cleanup
3664
3665         * text.C (isBoundary): take a Paragraph const & instead of a
3666         pointer as arg.
3667         (addressBreakPoint): ditto
3668         (leftMargin): remove usage of Paragraph::previous.
3669         (setHeightOfRow): ditto
3670         (cursorLeftOneWord): ditto
3671         (selectNextWordToSpellcheck): ditto
3672         (Delete): ditto
3673         (backspace): ditto
3674         (breakParagraph): remove one usage of Paragraph::next
3675         (redoParagraph): ditto
3676         (acceptChange): ditto
3677         (insertChar): adjust
3678         (rowBreakPoint): adjust
3679
3680         * bufferview_funcs.C (toggleAndShow): adjust
3681
3682 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
3683
3684         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
3685         methods to access it.
3686         * lyxtext.h:
3687         * text.C: Added updateRowPositions to compute all row positions.
3688         Make top_y and getRowNearY() to use the cached y position
3689
3690 2003-04-11  John Levon  <levon@movementarian.org>
3691
3692         * text.C (rowBreakPoint): reintroduce the labelEnd
3693         checks, code copied from the row fill stuff. Deep voodoo.
3694
3695         * text.C (fill): add a comment and debugging for the
3696         next poor soul.
3697
3698 2003-04-11  John Levon  <levon@movementarian.org>
3699
3700         * text.C: make sure fullrow insets get wrapped to the next line,
3701         even when they're in a manual label
3702
3703 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
3704
3705         * text2.C (insertParagraph): make it take ParagraphList::iterator
3706         as arg.
3707         (setLayout): make it return ParagraphList::iterator
3708         (redoParagraphs): ditto
3709         (setCounter): ditto
3710         (checkParagraph): ditto
3711
3712         * text.C (getRow): make getrow take ParagraphList::iterator as arg
3713
3714         * text2.C: adjust several funcs.
3715         (realizeFont): take a ParagraphList::iterator as arg.
3716         (getLayoutFont): ditto
3717         (getLabelFont): ditto
3718         (setCharFont): ditto
3719
3720         * text.C: adjust several funcs.
3721
3722 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
3723
3724         * text.C (selectNextWordToSpellcheck): don't accidentally
3725         skip insets
3726
3727 2003-04-10  John Levon  <levon@movementarian.org>
3728
3729         * ToolbarBackend.C (getIcon): special handling for
3730         LFUN_MATH_DELIM
3731
3732 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
3733
3734         * text2.C (cursorRight): a getChar assert fixed
3735
3736 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3737
3738         * text2.C (getFont): change to take a ParagraphList::iterator
3739         instead of Paragraph*
3740         Adjust several functions.
3741
3742         * text.C (transformChar): change to take a ParagraphList::iterator
3743         instead of Paragraph*
3744         (singleWidth): ditto
3745         Adjust several functions.
3746
3747         * rowpainter.C: adjust several functions
3748         * rowpainter.h:store a ParagraphList::iterator and not a
3749         Paragraph&.
3750
3751
3752 2003-04-09  John Levon  <levon@movementarian.org>
3753
3754         * lyxfunc.C:
3755         * lfuns.h:
3756         * LyXAction.h:
3757         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
3758         and the "help" bits as well
3759
3760 2003-04-09  John Levon  <levon@movementarian.org>
3761
3762         * ToolbarBackend.h:
3763         * ToolbarBackend.C: allow multiple toolbars
3764
3765 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3766
3767         * undo_funcs.C (setCursorParUndo): adjust
3768
3769         * text_funcs.C (transposeChars): adjust
3770
3771         * text3.C (gotoNextInset): adjust
3772         (dispatch): adjust
3773
3774         * text2.C (setLayout): adjust
3775         (changeDepth): adjust
3776         (setFont): adjust
3777         (redoParagraphs): adjust
3778         (selectionAsString): adjust
3779         (setParagraph): adjust
3780         (insertInset): adjust
3781         (cutSelection): adjust
3782         (copySelection): adjust
3783         (pasteSelection): adjust
3784         (insertStringAsLines): adjust
3785         (updateInset): adjust
3786         (setCursor): change to take a ParagraphList::iterator parameter
3787         (setCursorIntern): change to take a ParagraphList::iterator parameter
3788         (setCurrentFont): adjust
3789         (cursorLeft): adjust
3790         (cursorRight): adjust
3791         (deleteEmptyParagraphMechanism): adjust
3792
3793         * text.C (breakParagraph): adjust
3794         (insertChar): adjust
3795         (acceptChange): adjust
3796         (rejectChange): adjust
3797         (selectNextWordToSpellcheck): adjust
3798         (changeCase): adjust
3799         (Delete): adjust
3800         (backspace): adjust
3801
3802         * lyxfind.C (SearchForward): adjust
3803         (SearchBackward): adjust
3804         (nextChange): adjust
3805
3806         * lyxcursor.C (par): adjust
3807
3808         * lyxcursor.h: store a ParagraphList::iterator instead of a
3809         Paragraph*
3810
3811         * lyx_cb.C (getPossibleLabel): adjust
3812
3813         * bufferview_funcs.C (toggleAndShow): adjust
3814
3815         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3816         (dispatch): adjust
3817
3818         * BufferView.C (removeAutoInsets): adjust
3819         (lockedInsetStoreUndo): adjust
3820
3821 2003-04-09  John Levon  <levon@movementarian.org>
3822
3823         * ToolbarBackend.C: try icon without argument
3824         if with argument fails
3825
3826 2003-04-08  John Levon  <levon@movementarian.org>
3827
3828         * ToolbarBackend.h:
3829         * ToolbarBackend.C: add getIcon(), handle tooltip,
3830         and change from "Icon" to "Item".
3831
3832 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
3833
3834         * BufferView.C (lockInset): another bad getchar crunched
3835
3836 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
3837
3838         * text2.C (changeDepth): do not setUndo on test_only (make undo work
3839         again)
3840
3841 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
3842
3843         * lyxfind.C (searchForward, searchBackwards): bug 782
3844
3845 2003-04-07  John Levon  <levon@movementarian.org>
3846
3847         * paragraph.C: remove dead comment
3848
3849         * text.C: remove troublesome depth-fiddling code
3850         in leftMargin() and rightMargin() (bug 1017)
3851
3852         * text.C: fix breaking of rows in nested lists
3853         (bug 1004)
3854
3855         * text2.C (updateCounters): fix up depth values
3856         (bug 1013)
3857
3858 2003-04-07  John Levon  <levon@movementarian.org>
3859
3860         * BufferView_pimpl.C: clear message when doc finishes resizing,
3861         and after a mouse event
3862
3863         * lyxfunc.C: clear message after exiting inset
3864
3865 2003-04-07  John Levon  <levon@movementarian.org>
3866
3867         * bufferview_funcs.C: show math status not outside
3868         status in the statusbar
3869
3870 2003-04-07  John Levon  <levon@movementarian.org>
3871
3872         * lyxfunc.C: note status changed after a depth change
3873
3874 2003-04-04  Angus Leeming  <leeming@lyx.org>
3875
3876         * LaTeX.h: move AuxInfo operator==, != out of line.
3877         Remove LaTeX virtual destructor; nothing derives from it.
3878         Move operator()() out of public area and rename it startscript().
3879         Change protected for private.
3880
3881 2003-04-04  Angus Leeming  <leeming@lyx.org>
3882
3883         * lyxfunc.C:
3884         * text2.C: remove unneeded #includes.
3885
3886 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
3887
3888         * text2.C (dEPM): fix the heigth of the next row
3889
3890 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
3891
3892         * text.C: squashed an invalid getChar requester + some ws changes
3893
3894 2003-04-03  John Levon  <levon@movementarian.org>
3895
3896         * bufferview_funcs.h:
3897         * bufferview_funcs.C:
3898         * lyxfunc.C:
3899         * lyxtext.h:
3900         * text2.C: make getStatus work for the env depth lfuns
3901
3902 2003-04-03  John Levon  <levon@movementarian.org>
3903
3904         * bufferview_funcs.h:
3905         * bufferview_funcs.C:
3906         * lyxfunc.C:
3907         * lyxtext.h:
3908         * text2.C: parlistize decDepth(), by merging it with incDepth()
3909
3910 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3911
3912         * lyxrow.h: store a ParagraphList::iterator instead of a
3913         Paragraph* and adjust other class functions to suit.
3914
3915         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
3916         above.
3917
3918 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
3919
3920         * text2.C (setCursor): do not anchor to cursor row for the time being
3921
3922 2003-04-02  John Levon  <levon@movementarian.org>
3923
3924         * LyXAction.C:
3925         * lfuns.h:
3926         * lyx_main.C:
3927         * lyxtext.h:
3928         * text.C:
3929         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
3930
3931 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3932
3933         * paragraph.h: make ParagraphList and ParagraphList::iterator
3934         friends of Paragraph.
3935
3936         * buffer.C (makeLinuxDocFile): move towards ParagraphList
3937
3938         * ParagraphList.C: Use the private next_ and previous_ from
3939         Paragraph.
3940
3941 2003-04-01  John Levon  <levon@movementarian.org>
3942
3943         * ToolbarBackend.h:
3944         * ToolbarBackend.C:
3945         * Makefile.am: rename, remove defaults gunk
3946
3947         * MenuBackend.h:
3948         * MenuBackend.C: remove defaults gunk
3949
3950         * Languages.h:
3951         * Languages.C: remove defaults gunk
3952
3953         * lyx_main.h:
3954         * lyx_main.C: error out if files couldn't be found.
3955
3956 2003-04-02  John Levon  <levon@movementarian.org>
3957
3958         * text2.C: make incDepth() use parlist
3959
3960 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3961
3962         * undo_funcs.C (firstUndoParagraph): adjust
3963
3964         * text3.C (gotoInset): adjust
3965         (dispatch): adjust, and rewrite loop.
3966
3967         * text2.C (init): adjust, and rewrite loop.
3968         (redoParagraphs): adjust
3969         (updateInset): adjust, and rewrite loop.
3970         (deleteEmptyParagraphMechanism): adjust
3971
3972         * tabular.C (LyXTabular): adjust
3973         (SetMultiColumn): adjust
3974         (TeXRow): adjust
3975
3976         * lyxtext.[Ch] (ownerParagraph): delete function
3977         (ownerParagraphs): new function returns a ParagraphList.
3978
3979         * BufferView.C (removeAutoInsets): adjust
3980         (insertErrors): adjust
3981         (setCursorFromRow): adjust
3982
3983 2003-04-01  Angus Leeming  <leeming@lyx.org>
3984
3985         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
3986         in the frontends.
3987
3988 2003-04-02  John Levon  <levon@movementarian.org>
3989
3990         * lyxtext.h:
3991         * text.C:
3992         * Makefile.am:
3993         * text_funcs.h:
3994         * text_funcs.C: make transposeChars a free function
3995
3996         * lyxrow_funcs.C: remove wrong comment
3997
3998 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3999
4000         * lyxtext.h: adjust
4001         * rowpainter.C: adjust
4002         * text.C: adjust
4003         * text2.C: adjust
4004         * text3.C: adjust
4005
4006         * lyxrow_funcs. [Ch]: new files
4007
4008         * lyxrow.[Ch]: remove next and previous pointers
4009         (next,previous): remove accessor functions
4010         (isParEnd): move to lyxrow_funcs
4011         (lastPos): move to lyxrow_funcs
4012         (nextRowIsAllInset): move to lyxrow_funcs
4013         (lastPrintablePos): move to lyxrow_funcs
4014         (numberOfSeparators): move to lyxrow_funcs
4015         (numberOfHfills): move to lyxrow_funcs
4016         (numberOfLabelHfills): move to lyxrow_funcs
4017         (hfillExpansion): move to lyxrow_funcs
4018
4019         * lyxfunc.C: adjust
4020
4021         * bufferview_funcs.C (toggleAndShow): adjust
4022
4023         * RowList.h: Remove class RowList from file leave just a
4024         std::list<Row>.
4025
4026         * RowList.C: delete file
4027
4028         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4029         and lyxrow_funcs.h
4030
4031 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4032
4033         * text3.C (cursorPrevious): adjust
4034         (cursorNext): adjust
4035         (dispatch): adjust
4036
4037         * text2.C (redoHeightOfParagraph): adjust
4038         (redoDrawingOfParagraph): adjust
4039         (setCursor): adjust
4040
4041         * text.C (breakParagraph): adjust
4042         (insertChar): adjust
4043         (backspace): adjust
4044
4045         * rowpainter.C (RowPainter): adjust
4046         (leftMargin): simplify and adjust
4047         (most rowpainter functions): adjust.
4048
4049         * rowpainter.h: store the row as RowList::iterator not as Row*
4050
4051         * lyxcursor.C (row): taka RowList::iterator as arg
4052         (irow): ditto
4053
4054         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4055         of Row*.
4056
4057 2003-04-01  Angus Leeming  <leeming@lyx.org>
4058
4059         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4060         stuff like bool Bool.
4061
4062 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4063
4064         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4065         rewrite a loop
4066
4067 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4068
4069         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4070         RowList::iterator.
4071
4072         * lyxtext.h (rows): drop one version and leve a const variant that
4073         returns a RowList::iterator.
4074
4075 2003-03-31  Angus Leeming  <leeming@lyx.org>
4076
4077         * text.C (fill): ensure that the signature is the same as that in the
4078         header file.
4079
4080 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
4081
4082         * text2.C (redoParagraphs): adjust
4083         (updateCounters): adjust
4084         (checkParagraph): adjust
4085         (getColumnNearX): adjust and reformat a bit.
4086
4087         * text.C (top_y): adjust
4088         (workWidth): adjust
4089         (leftMargin): adjust
4090         (prepareToPrint): adjust
4091         (getRow): adjust
4092         (getRowNearY): adjust
4093
4094         * lyxtext.h: make rowlist_ mutable.
4095
4096         * RowList.h: add const_iterator
4097         * RowList.C: adjust for RowList::const_iterator.
4098
4099         * text2.C (getCursorX): make it take a RowList::iterator as arg,
4100         adjust.
4101
4102 2003-03-31  John Levon  <levon@movementarian.org>
4103
4104         * lyxrc.h:
4105         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
4106
4107         * lyx_main.C: set default fonts from using lyx_gui funcs
4108
4109         * exporter.C: pdf_mode moved from lyxrc
4110
4111         * lyx_cb.C:
4112         * lyxfunc.C: changes from above
4113
4114 2003-03-31  John Levon  <levon@movementarian.org>
4115
4116         * lyx_main.C: fix to the last fix
4117
4118 2003-03-31  John Levon  <levon@movementarian.org>
4119
4120         * bufferlist.C: "Load original" -> "Load Original"
4121
4122         * converter.C:
4123         * exporter.C:
4124         * importer.C:
4125         * lyx_main.C:
4126         * format.C: more Alert cleanups
4127
4128 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4129
4130         * text2.C (removeParagraph): make it take a RowList::iterator as
4131         arg, adjust.
4132         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
4133         (postRowPaint): make it take a RowList::iterator as arg, adjust.
4134
4135         * text.C (anchor_row): make it take a RowList::iterator as arg,
4136         adjust.
4137         (computeBidiTables): make it take a const reference to Row instead
4138         of Row pointer, adjust.
4139         (leftMargin): make it take a RowList::iterator as arg, adjust.
4140         (rowBreakPoint): adjust
4141         (breakAgainOneRow): make it take a RowList::iterator as arg,
4142         adjust.
4143         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
4144
4145         * bufferview_funcs.C (toggleAndShow): adjust
4146
4147 2003-03-30  John Levon  <levon@movementarian.org>
4148
4149         * Makefile.am:
4150         * BoostFormat.h:
4151         * boost-inst.C: moved to support
4152
4153         * several files: changes as a result
4154
4155 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4156
4157         * text2.C (LyXText): adjust.
4158         (init): adjust
4159         (removeRow): make it take a RowList::iterator as arg, adjust.
4160         (fullRebreak): adjust
4161         (deleteEmptyParagraphMechanism): adjust
4162         (clearPaint): adjust
4163         (postPaint): adjust
4164
4165         * text.C (top_y): adjust
4166         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
4167         (breakAgain): make it take a RowList::iterator as arg, adjust.
4168         (breakParagraph): adjust
4169         (insertChar): adjust
4170         (backspace): adjust
4171
4172         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
4173         need_break_row, and refresh_row.
4174
4175         * text3.C (dispatch): adjust
4176
4177         * text2.C (checkParagraph): adjust
4178         (setCursor): adjust
4179         (setCursorFromCoordinates): adjust
4180
4181         * text.C (top_y): adjust
4182         (workWidth): adjust
4183         (getRow): make it return a RowList::iterator, adjust
4184         (getRowNearY): make it return a RowList::iterator, adjust
4185
4186         * text2.C (init): adjust
4187         (insertRow): remove function
4188         (insertParagraph): adjust
4189         (redoParagraphs): adjust
4190         (fullRebreak): adjust
4191         (updateCounters): adjust
4192
4193         * text.C (top_y): rewrite to use RowList iterators.
4194         (top_y): adjust
4195         (setHeightOfRow): rewrite to sue RowList iterators.
4196         (appendParagraph): adjust
4197         (breakAgain): adjust
4198         (breakAgainOneRow): adjust
4199         (breakParagraph): adjust
4200         (getRow): adjust
4201         (getRowNearY): adjust, and remove commented code.
4202
4203         * lyxtext.h (firstRow): delete function
4204         (lastRow): delete function
4205         (rows): new function (const and non-const versions.)
4206         (insertRow): delete function
4207
4208         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4209
4210 2003-03-29  John Levon  <levon@movementarian.org>
4211
4212         * BufferView_pimpl.C: always update scrollbar top
4213         because pasting text when we're anchored could mean we
4214         miss an update altogether
4215
4216 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4217
4218         * text2.C (init): use rowlist_.end() and not 0.
4219         (insertRow): change to take a RowList::iterator as arg, adjust
4220         for this.
4221         (insertParagraph): change to take a RowList::iterator as arg,
4222         adjust for this.
4223         (redoParagraphs): remove some debug msgs.
4224
4225         * text.C (appendParagraph): change to take a RowList::iterator
4226         arg, adjust for this.
4227         (breakAgain): add an assert
4228         (breakAgainOneRow): ditto
4229
4230 2003-03-29  John Levon  <levon@movementarian.org>
4231
4232         * text2.C: do not clear selection after inc/decDepth
4233         (bug 550)
4234
4235 2003-03-29  John Levon  <levon@movementarian.org>
4236
4237         * BufferView.C:
4238         * buffer.C: fix broken strerrors according to Lars
4239
4240 2003-03-29  John Levon  <levon@movementarian.org>
4241
4242         * converters.C: more Alert cleanups
4243
4244 2003-03-29  John Levon  <levon@movementarian.org>
4245
4246         * bufferview_funcs.C: remove pointless Alert
4247
4248         * buffer.C: fix confusing error message when
4249         a template is chmoded 000
4250
4251 2003-03-29  John Levon  <levon@movementarian.org>
4252
4253         * BufferView.C:
4254         * BufferView.h:
4255         * BufferView_pimpl.C: Alert fixes
4256
4257         * Makefile.am:
4258         * tabular.C:
4259         * tabular-old.C: remove unused table compat reading
4260
4261 2003-03-29  John Levon  <levon@movementarian.org>
4262
4263         * BufferView.C:
4264         * buffer.C:
4265         * lyx_cb.h:
4266         * lyx_cb.C: more Alert cleanups
4267
4268         * lyxfunc.C: don't allow chktex if not latex document
4269
4270 2003-03-29  John Levon  <levon@movementarian.org>
4271
4272         * lyx_cb.C:
4273         * BufferView.C:
4274         * buffer.C: warnings pushed down from support/,
4275         kill err_alert
4276
4277 2003-03-29  John Levon  <levon@movementarian.org>
4278
4279         * lyxfunc.C: safety check for C-r (revert)
4280
4281 2003-03-29  John Levon  <levon@movementarian.org>
4282
4283         * bufferlist.h:
4284         * bufferlist.C: several UI fixes using Alert::prompt.
4285         Fix the pointless looping quit code. Fix stupid revert
4286         behaviour (bug 938)
4287
4288         * lyxvc.h:
4289         * lyxvc.C:
4290         * lyx_cb.C: use Alert::prompt
4291
4292         * lyx_main.C: remove a silly question
4293
4294         * lyxfunc.C: remove a couple of silly questions,
4295         use Alert::prompt
4296
4297 2003-03-28  John Levon  <levon@movementarian.org>
4298
4299         * text2.C: fix bug 974 (End on empty par)
4300
4301 2003-03-28  John Levon  <levon@movementarian.org>
4302
4303         * BufferView_pimpl.C:
4304         * LyXAction.C:
4305         * lfuns.h: remove do-nothing math greek lfuns
4306
4307 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4308
4309         * lyxgluelength.h (isValidGlueLength): add default arg on
4310         parameter 2. Remove default arg from friend in class.
4311
4312         * lyxlength.h (isValidLength): add default arg on parameter 2.
4313         Remove default arg from friend in class.
4314
4315         * text2.C (LyXText): adjust, initialize refresh_row.
4316         (init): adjust
4317         (removeRow): adjust
4318         (insertRow): adjust
4319         (insertParagraph): adjst
4320         (redoParagraphs): adjust
4321         (fullRebreak): adjust
4322         (updateCounters): adjust
4323         (deleteEmptyParagraphMechanism): first attempt at fixing a
4324         crashing bug.
4325
4326         * text.C (top_y): adjust
4327         (setHeightOfRow): adjust
4328         (getRow): adjust
4329         (getRowNearY): adjust
4330
4331         * lyxtext.h: include RowList.h
4332         (~LyXText): not needed anymore, deleted.
4333         (firstRow): modify for RowList
4334         (lastRow): new function
4335         Delete firstrow and lastrow class variables, add a Rowlist
4336         rowlist_ class variable.
4337
4338         * lyxrow.C (lastPos): use empty() and not !size() to check if a
4339         paragraph is empty.
4340
4341         * RowList.C (insert): fix case where it == begin().
4342
4343 2003-03-26  Angus Leeming  <leeming@lyx.org>
4344
4345         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4346         the thesaurus dialog.
4347
4348 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4349
4350         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4351
4352         * RowList.[Ch]: new files
4353
4354         * ParagraphList.C (erase): handle the case where it == begin
4355         correctly.
4356
4357 2003-03-25  John Levon  <levon@movementarian.org>
4358
4359         * Makefile.am:
4360         * aspell_local.h:
4361         * aspell.C: add new aspell support
4362
4363         * lyxrc.h:
4364         * lyxrc.C: Make use_pspell be use_spell_lib. Always
4365         have it accessible.
4366
4367 2003-03-25  Angus Leeming  <leeming@lyx.org>
4368
4369         * lfuns.h:
4370         * LyXAction.C (init): new LFUN_INSET_INSERT.
4371
4372         * BufferView_pimpl.C (dispatch): split out part of the
4373         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
4374
4375         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
4376         LFUN_INSET_APPLY.
4377
4378 2003-03-25  Angus Leeming  <leeming@lyx.org>
4379
4380         * lyxfunc.C (dispatch): changes to the Dialogs interface.
4381
4382 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
4383
4384         * text2.C:
4385         * text3.C: remove useless row->height(0)
4386
4387 2003-03-25  John Levon  <levon@movementarian.org>
4388
4389         * lyxtext.h:
4390         * text2.C:
4391         * text3.C: rename the refreshing stuff to better names
4392
4393 2003-03-24  John Levon  <levon@movementarian.org>
4394
4395         * BufferView_pimpl.h:
4396         * BufferView_pimpl.C: update layout choice on a mouse
4397         press/release
4398
4399 2003-03-23  John Levon  <levon@movementarian.org>
4400
4401         * Makefile.am: fix commandtags.h reference
4402
4403 2003-03-22  John Levon  <levon@movementarian.org>
4404
4405         * BufferView_pimpl.C:
4406         * lyxtext.h:
4407         * rowpainter.C:
4408         * rowpainter.h:
4409         * text.C:
4410         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
4411
4412 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
4413
4414         * lyxtext.h:
4415         * text.C: take the rtl methods out of line
4416
4417 2003-03-21 André Pönitz <poenitz@gmx.net>
4418
4419         * metricsinfo.[Ch]: new files containing structures to be passed around
4420         during the two-phase-drawing...
4421
4422 2003-03-21 André Pönitz <poenitz@gmx.net>
4423
4424         * lyxtextclass.C: read 'environment' tag.
4425
4426 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
4427
4428         * text2.C (removeRow): fix bug 964
4429
4430 2003-03-20  John Levon  <levon@movementarian.org>
4431
4432         * rowpainter.C:
4433         * text.C:
4434         * text2.C: paint cleanups. Inset::update() dropped font
4435         parameter
4436
4437 2003-03-19  John Levon  <levon@movementarian.org>
4438
4439         * lyxfunc.C: only fitcursor/markDirty if available()
4440
4441 2003-03-19  John Levon  <levon@movementarian.org>
4442
4443         * commandtags.h: rename to ...
4444
4445         * lfuns.h: ... this, and renumber / cleanup
4446
4447 2003-03-19  John Levon  <levon@movementarian.org>
4448
4449         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
4450         fit the cursor after an lfun
4451
4452         * BufferView.h:
4453         * BufferView.C:
4454         * BufferView_pimpl.h:
4455         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
4456
4457         * LyXAction.C: layout-character should have ReadOnly
4458
4459         * ParagraphParameters.C:
4460         * buffer.C:
4461         * bufferview_funcs.C:
4462         * lyx_cb.C:
4463         * lyxfind.C:
4464         * lyxtext.h:
4465         * text.C:
4466         * text2.C:
4467         * text3.C:
4468         * undo_funcs.C: changes from above
4469
4470 2003-03-18  John Levon  <levon@movementarian.org>
4471
4472         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
4473         remove it from update()
4474
4475         * lyxfunc.C: update layout choice after an lfun
4476
4477         * text3.C: remove extra updateLayoutChoice()s
4478
4479 2003-03-18  John Levon  <levon@movementarian.org>
4480
4481         * text.C: top_y change means full repaint, fix
4482         a drawing bug with cursor movement
4483
4484 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4485
4486         * lyxtext.h:
4487         * text.C:
4488         * text2.C: anchor row on setCursor
4489
4490 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4491
4492         * lyxtext.h: remove almost all mutable keywords
4493         * text.C:
4494         * text2.C:
4495         * text3.C: remove const keywords accordingly
4496
4497 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4498
4499         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
4500         anon namespace
4501         (TeXEnvironment): ditto
4502         (TeXOnePar): ditto
4503
4504 2003-03-17  John Levon  <levon@movementarian.org>
4505
4506         * text.C (rowBreakPoint): remove attempt to fix displayed
4507         math insets inside a manual label
4508
4509 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4510
4511         * lyxtext.h: remove BufferView* as first arg from almost all class
4512         functions.
4513         * other files: adjust.
4514
4515 2003-03-17  John Levon  <levon@movementarian.org>
4516
4517         * lyxtext.h:
4518         * undo_funcs.C:
4519         * text2.C: more paint cleanups
4520
4521         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
4522
4523         * rowpainter.h:
4524         * rowpainter.C: remove "smart" background painting code
4525
4526 2003-03-16  John Levon  <levon@movementarian.org>
4527
4528         * lyxtext.h:
4529         * text.C:
4530         * text2.C:
4531         * text3.C: add helper functions for setting refresh_row/y
4532
4533 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
4534
4535         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
4536         newline inset which *can* get inserted in the pass_thru layouts.
4537         This is primarily for literate documents.
4538
4539 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
4540
4541         * buffer.C: increment LYX_FORMAT to 223
4542
4543 2003-03-14 André Pönitz <poenitz@gmx.net>
4544
4545         * textclass.h: prepare for environment handling, ws changes
4546         * lyxlayout.C: read latexheader and latexfooter tags
4547
4548 2003-03-14  John Levon  <levon@movementarian.org>
4549
4550         * text2.C: rewrite ::status() a bit
4551
4552 2003-03-13  John Levon  <levon@movementarian.org>
4553
4554         * lyxtext.h: add some docs
4555
4556 2003-03-13  John Levon  <levon@movementarian.org>
4557
4558         * lyxtext.h:
4559         * text.C:
4560         * text2.C:
4561         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
4562
4563 2003-03-13  John Levon  <levon@movementarian.org>
4564
4565         * text3.C: fix appendix redrawing
4566
4567 2003-03-13  John Levon  <levon@movementarian.org>
4568
4569         * text.C (setHeightOfRow):
4570         * rowpainter.h:
4571         * rowpainter.C: make appendix mark have the text
4572           "Appendix" so the user knows what it is
4573
4574         * LColor.h:
4575         * LColor.C: s/appendixline/appendix/ from above
4576
4577 2003-03-13  John Levon  <levon@movementarian.org>
4578
4579         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
4580
4581         * text.C: fix a getChar(pos) bug properly
4582
4583 2003-03-13  Angus Leeming  <leeming@lyx.org>
4584
4585         * commandtags.h:
4586         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
4587         Probably only temporary. Let's see how things pan out.
4588
4589         * BufferView.C (unlockInset):
4590         * BufferView_pimpl.C (fitCursor):
4591         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
4592
4593         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
4594         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
4595
4596         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
4597         new functions that convert ParagraphParameters to and from a string.
4598
4599         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
4600         BufferView::Pimpl's dispatch.
4601         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
4602
4603 2003-03-13 André Pönitz <poenitz@gmx.net>
4604
4605         * lyxfunc.C:
4606         * text3.C:
4607         * factory.C: make it aware of InsetEnv
4608
4609 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4610
4611         * text2.C (setCursor): never ask for one past last
4612         (setCursor): add some debugging messages.
4613
4614         * text.C (singleWidth): never ask for one past last
4615         (singleWidth): ditto
4616         (leftMargin): ditto
4617         (rightMargin): ditto
4618         (rowBreakPoint): ditto
4619         (setHeightOfRow): ditto
4620         (prepareToPrint): ditto
4621
4622         * rowpainter.C (paintBackground): never ask for one past last
4623         (paintText): never ask for one past last
4624
4625         * paragraph_pimpl.C (getChar): make the assert stricter, never
4626         allow the one past last pos to be taken
4627
4628         * paragraph.C (getChar): ws changes only
4629
4630         * lyxrow.C (nextRowIsAllInset): never ask for one past last
4631         (numberOfSeparators): ditto
4632         (numberOfHfills): ditto
4633
4634 2003-03-12  John Levon  <levon@movementarian.org>
4635
4636         * author.h:
4637         * author.C:
4638         * bufferparams.h:
4639         * bufferparams.C:
4640         * paragraph_funcs.C: fix per-buffer authorlists
4641
4642 2003-03-12  John Levon  <levon@movementarian.org>
4643
4644         * text.C: fix newline in right address
4645
4646 2003-03-12  Angus Leeming  <leeming@lyx.org>
4647
4648         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
4649         duplicate those in LyXFunc::dispatch.
4650
4651         * commandtags.h:
4652         * LyXAction.C:
4653         * ToolbarDefaults.C:
4654         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
4655         Add LFUN_FONTFREE_UPDATE.
4656
4657         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
4658         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
4659
4660         * bufferview_func.[Ch]: several new functions to facilliate
4661         transfer of data to and from the character dialog.
4662
4663 2003-03-12  John Levon  <levon@movementarian.org>
4664
4665         * buffer.C:
4666         * paragraph.h:
4667         * paragraph.C:
4668         * paragraph_funcs.C:
4669         * paragraph_pimpl.C:
4670         * sgml.C:
4671         * tabular.C:
4672         * text.C:
4673         * text3.C: remove META_NEWLINE in favour of an inset
4674
4675         * rowpainter.h:
4676         * rowpainter.C: remove paintNewline (done by inset)
4677
4678 2003-03-12  John Levon  <levon@movementarian.org>
4679
4680         * paragraph_pimpl.C: complain about bad getChar()s
4681         for a while at least
4682
4683 2003-03-12  John Levon  <levon@movementarian.org>
4684
4685         * buffer.h:
4686         * buffer.C: move paragraph read into a separate function,
4687         a little renaming to reflect that.
4688
4689         * bufferparams.h:
4690         * bufferparams.C: remove the author_ids map, not necessary now
4691
4692         * factory.h:
4693         * factory.C: moved Buffer::readInset to here
4694
4695         * paragraph_funcs.h:
4696         * paragraph_funcs.C: readParagraph free function moved from
4697         buffer.C
4698
4699         * tabular.C: name change
4700
4701 2003-03-12  John Levon  <levon@movementarian.org>
4702
4703         * buffer.C:
4704         * ParagraphParameters.C: move par params input to
4705         a read() method
4706
4707         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
4708         behave like a normal read from the stream wrt reading
4709         a line vs. a \\token
4710
4711 2003-03-12  John Levon  <levon@movementarian.org>
4712
4713         * paragraph.C:
4714         * ParagraphParameters.h:
4715         * ParagraphParameters.C: move output code to a
4716         ::write() method
4717
4718 2003-03-12  John Levon  <levon@movementarian.org>
4719
4720         * BufferView.C (insertLyXFile):
4721         * buffer.h:
4722         * buffer.C:
4723         * tabular.C: use a parlist iterator for creating the
4724           document.
4725
4726 2003-03-12  John Levon  <levon@movementarian.org>
4727
4728         * buffer.C: make current_change static local not
4729           static file-scope
4730
4731 2003-03-12  John Levon  <levon@movementarian.org>
4732
4733         * buffer.C: fix insertStringAsLines for change tracking
4734
4735 2003-03-12  John Levon  <levon@movementarian.org>
4736
4737         * BufferView.C:
4738         * tabular.C:
4739         * buffer.h:
4740         * buffer.C:
4741         * bufferparams.h:
4742         * bufferparams.C: move author list into params. Rename some
4743           functions. Move the header reading into a separate token
4744           loop. Move the header token reading into BufferParams.
4745
4746 2003-03-12  John Levon  <levon@movementarian.org>
4747
4748         * changes.C: put debug inside lyxerr.debugging() checks
4749
4750 2003-03-11 André Pönitz <poenitz@gmx.net>
4751
4752         * factory.C: make it aware of InsetHFill
4753
4754 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4755
4756         * buffer.C (latexParagraphs): move function from here...
4757         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
4758         args.
4759
4760 2003-03-10  Angus Leeming  <leeming@lyx.org>
4761
4762         * LyXAction.C (init): fix bug in poplating array with multiple entries
4763         with the same LFUN (spotted by JMarc).
4764
4765 2003-03-10  John Levon  <levon@movementarian.org>
4766
4767         * text.C:
4768         * text2.C: move getColumnNearX() near its
4769         only call site
4770
4771 2003-03-10  John Levon  <levon@movementarian.org>
4772
4773         * text.C: fix break before a minipage
4774
4775 2003-03-10  John Levon  <levon@movementarian.org>
4776
4777         * text.C: fix the last commit
4778
4779 2003-03-09  John Levon  <levon@movementarian.org>
4780
4781         * lyxtext.h:
4782         * text.C:
4783         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
4784         bug 365 (don't break before insets unless needed). Don't
4785         return a value > last under any circumstances.
4786
4787 2003-03-09  Angus Leeming  <leeming@lyx.org>
4788
4789         * BufferView_pimpl.C (trackChanges, dispatch): call
4790         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
4791
4792 2003-03-09  Angus Leeming  <leeming@lyx.org>
4793
4794         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
4795         than Dialogs::showAboutlyx().
4796
4797 2003-03-09  Angus Leeming  <leeming@lyx.org>
4798
4799         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
4800         than Dialogs::showTabularCreate().
4801
4802 2003-03-09  John Levon  <levon@movementarian.org>
4803
4804         * lyxtext.h:
4805         * text.C:
4806         * text2.C: 3rd arg to nextBreakPoint was always the same.
4807           Use references.
4808
4809 2003-03-08  John Levon  <levon@movementarian.org>
4810
4811         * lyxrow.C:
4812         * paragraph.C:
4813         * paragraph.h:
4814         * rowpainter.C:
4815         * text.C:
4816         * text2.C: Remove the "main" bit from the "main body"
4817           notion.
4818
4819 2003-03-08  John Levon  <levon@movementarian.org>
4820
4821         * text.C (leftMargin): The left margin of an empty
4822         manual label paragraph should not include the label width
4823         string length.
4824
4825         * text.C (prepareToPrint): don't attempt to measure hfills
4826         for empty manual label paragraphs - the answer should be 0
4827
4828 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4829
4830         * CutAndPaste.C: remove commented code and reindent.
4831
4832 2003-03-08  John Levon  <levon@movementarian.org>
4833
4834         * lyxfunc.h:
4835         * lyxfunc.C: move reloadBuffer()
4836
4837         * BufferView.h:
4838         * BufferView.C: to here
4839
4840         * lyxvc.C: add comment
4841
4842         * vc-backend.h:
4843         * vc-backend.C: call bv->reload() to avoid
4844           getStatus() check on MENURELOAD
4845
4846 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
4847
4848         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
4849         to an old format .dep file.
4850
4851 2003-03-07  Angus Leeming  <leeming@lyx.org>
4852
4853         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
4854         when the LFUN_MOUSE_RELEASE should have been handled by
4855         inset->localDispatch.
4856
4857 2003-03-07  Angus Leeming  <leeming@lyx.org>
4858
4859         * BufferView_pimpl.C (dispatch):
4860         * LyXAction.C (init):
4861         * ToolbarDefaults.C (init):
4862         * commandtags.h:
4863         * lyxfunc.C (getStatus):
4864         remove LFUN_INSET_GRAPHICS.
4865
4866         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
4867
4868 2003-03-07  Angus Leeming  <leeming@lyx.org>
4869
4870         * commandtags.h:
4871         * LyXAction.C (init):
4872         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
4873
4874         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
4875
4876         * commandtags.h:
4877         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
4878
4879         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
4880         localDispatch method LFUN_INSET_DIALOG_UPDATE.
4881
4882 2003-03-07  Angus Leeming  <leeming@lyx.org>
4883
4884         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
4885         remove "ert".
4886
4887 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4888
4889         * ParagraphList.C (front): new function
4890         (back): implement
4891
4892 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
4893
4894         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
4895         and top_row_offset_. removed var first_y.
4896         * text.C (top_y):
4897         * text2.C (LyXText, removeRow):
4898         * text3.C:
4899         * BufferView_pimpl.C:
4900         use these methods instead of using first_y
4901
4902 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4903
4904         * text2.C (pasteSelection): adjust for checkPastePossible
4905
4906         * CutAndPaste.C: remove Paragraph * buf and replace with
4907         ParagraphList paragraphs.
4908         (DeleteBuffer): delete
4909         (cutSelection): change the tc type to textclass_type
4910         (copySelection): change the tc type to textclass_type
4911         (copySelection): adjust for ParagraphList
4912         (pasteSelection): change the tc type to textclass_type
4913         (pasteSelection): adjust for Paragraphlist
4914         (nrOfParagraphs): simplify for ParagraphList
4915         (checkPastePossible): simplify for ParagraphList
4916         (checkPastePossible): remove unused arg
4917
4918         * ParagraphList.C (insert): handle the case where there are no
4919         paragraphs yet.
4920
4921         * CutAndPaste.h: make CutAndPaste a namespace.
4922
4923         * text3.C (dispatch): adjust
4924
4925         * text.C (breakParagraph): add a ParagraphList as arg
4926
4927         * paragraph_funcs.C (breakParagraph): change to take a
4928         BufferParams and a ParagraphList as args.
4929         (breakParagraphConservative): ditto
4930         (mergeParagraph): ditto
4931         (TeXDeeper): add a ParagraphList arg
4932         (TeXEnvironment): ditto
4933         (TeXOnePar): ditto
4934
4935         * buffer.C (readLyXformat2): adjust
4936         (insertStringAsLines): adjust
4937         (latexParagraphs): adjust
4938
4939         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
4940         (cutSelection): adjust
4941         (pasteSelection): adjust
4942
4943         * BufferView_pimpl.C (insertInset): adjust
4944
4945 2003-03-05  Angus Leeming  <leeming@lyx.org>
4946
4947         * commandtags.h:
4948         * LyXAction.C (init):
4949         * BufferView_pimpl.C (dispatch):
4950         * lyxfunc.C (getStatus):
4951         remove LFUN_CHILD_INSERT.
4952
4953         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
4954
4955 2003-03-05  Angus Leeming  <leeming@lyx.org>
4956
4957         * commandtags.h:
4958         * LyXAction.C (init):
4959         * src/factory.C (createInset):
4960         * lyxfunc.C (getStatus):
4961         * text3.C (dispatch):
4962         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
4963
4964         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
4965
4966 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
4967
4968         * ParagraphList.C (insert): handle insert right before end()
4969         (erase): fix cases where it can be first or last paragraph.
4970
4971 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4972
4973         * paragraph_funcs.C (TeXEnvironment): remove all usage of
4974         Paragraph::next and Paragraph::previous
4975         (TeXOnePar): ditto
4976
4977         * text.C (breakParagraph): adjust
4978
4979         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
4980         BufferParams& as arg.
4981         (breakParagraph): use ParagraphList::insert
4982         (breakParagraphConservative): take a Buffer* instead of a
4983         BufferParams& as arg.
4984         (breakParagraphConservative): use ParagraphList::insert.
4985
4986         * buffer.C (insertStringAsLines): un-const it
4987         (insertStringAsLines): adjust
4988
4989         * ParagraphList.C (insert): new function
4990
4991         * CutAndPaste.C (pasteSelection): adjust
4992
4993         * text.C (backspace): adjust
4994
4995         * tabular.C (SetMultiColumn): adjust
4996
4997         * CutAndPaste.C (cutSelection): adjust
4998         (pasteSelection): adjust
4999
5000         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5001         Buffer const * as arg
5002
5003         * ParagraphList.C (erase): new function
5004         * paragraph_funcs.C (mergeParagraph): use it
5005         (mergeParagraph): make it take a Buffer* instead of a
5006         BufferParams* as arg
5007
5008         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5009         as arg
5010         (breakParagraphConservative): ditto
5011
5012         * paragraph.h: remove the breakParagraph friend
5013
5014         * paragraph.C (eraseIntern): new function
5015         (setChange): new function
5016
5017         * paragraph_funcs.C (mergeParagraph): make it take a
5018         ParagraphList::iterator instead of a Paragraph *, adjust
5019         accordingly.
5020
5021         * paragraph.h: move an #endif so that the change tracking stuff
5022         also works in the NO_NEXT case.
5023
5024 2003-03-04  Angus Leeming  <leeming@lyx.org>
5025
5026         * commandtags.h:
5027         * LyXAction.C: new LFUN_INSET_MODIFY.
5028
5029         * BufferView_pimpl.C (dispatch): if an inset is found to be open
5030         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5031
5032 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5033
5034         * several files: ws changes only
5035
5036         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5037         (TeXEnvironment): ditto
5038         (TeXDeeper): ditto
5039
5040         * buffer.C (makeLaTeXFile): adjust
5041         (latexParagraphs): make it take ParagraphList::iterator as args
5042
5043 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5044
5045         * buffer.C (latexParagraphs): adjust
5046
5047         * paragraph.C (TeXOnePar): move function...
5048         (optArgInset): move function...
5049         (TeXEnvironment): move function...
5050         * paragraph_pimpl.C (TeXDeeper): move function...
5051         * paragraph_funcs.C: ...here
5052
5053         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5054
5055 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5056
5057         * buffer.C (readInset): remove compability code for old Figure and
5058         InsetInfo insets
5059
5060 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5061
5062         * buffer.C: ws changes
5063         (readInset):
5064
5065         * BufferView_pimpl.C: ditto
5066         * author.C: ditto
5067         * buffer.h: ditto
5068         * bufferlist.h: ditto
5069         * changes.h: ditto
5070         * lyxfunc.C: ditto
5071
5072 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
5073
5074         * converter.[Ch]: split into itself +
5075         * graph.[Ch]
5076         * format.[Ch]
5077         * Makefile.am: += graph.[Ch] + format.[Ch]
5078         * MenuBackend.C
5079         * buffer.C
5080         * exporter.C
5081         * importer.C
5082         * lyx_main.C
5083         * lyxfunc.C
5084         * lyxrc.C: added #include "format.h"
5085
5086 2003-02-27  Angus Leeming  <leeming@lyx.org>
5087
5088         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
5089           a label.
5090
5091         * factory.C (createInset): add "label" to the factory.
5092
5093         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
5094           string and do no more.
5095
5096 2003-02-27  Angus Leeming  <leeming@lyx.org>
5097
5098         * commandtags.h:
5099         * LyXAction.C (init):
5100         * factory.C (createInset):
5101         * BufferView_pimpl.C (dispatch):
5102           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5103
5104         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5105
5106         * lyxfunc.C (dispatch):
5107         * text3.C (dispatch): pass name to params2string.
5108
5109 2003-02-26  Angus Leeming  <leeming@lyx.org>
5110
5111         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
5112           blocks together.
5113           Rearrange the ~includes. Strip out the unnecessary ones.
5114
5115         * factory.C (createInset): reformat.
5116           create new insets for the various LFUN_XYZ_APPLY lfuns.
5117
5118 2003-02-26  John Levon  <levon@movementarian.org>
5119
5120         * lyxrow.h:
5121         * lyxrow.C: add isParStart,isParEnd helpers
5122
5123         * paragraph.h: make isInserted/DeletedText take refs
5124
5125         * paragraph_funcs.h:
5126         * paragraph_funcs.C: remove #if 0'd code
5127
5128         * lyxtext.h:
5129         * text3.C:
5130         * text2.C:
5131         * text.C: use lyxrow helpers above.
5132           Move draw and paint routines to RowPainter.
5133           Make several methods use refs not pointers.
5134           Make backgroundColor() const.
5135           Add markChangeInDraw(), isInInset().
5136           Merge changeRegionCase into changeCase.
5137           Make workWidth() shouldn't-happen code into an Assert.
5138
5139         * rowpainter.h:
5140         * rowpainter.C: new class for painting a row.
5141
5142         * vspace.h:
5143         * vspace.C: make inPixels take a ref
5144
5145 2003-02-26  Angus Leeming  <leeming@lyx.org>
5146
5147         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
5148         LFUN_REF_APPLY.
5149
5150 2003-02-25  John Levon  <levon@movementarian.org>
5151
5152         * ispell.C: give the forked command a more accurate name
5153
5154 2003-02-22  John Levon  <levon@movementarian.org>
5155
5156         * toc.h:
5157         * toc.C: make TocItem store an id not a Paragraph *
5158           (bug #913)
5159
5160 2003-02-21  Angus Leeming  <leeming@lyx.org>
5161
5162         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
5163           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
5164           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
5165           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
5166           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
5167           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
5168
5169         * BufferView_pimpl.C (dispatch):
5170         * LyXAction.C (init):
5171         * factory.C (createInset):
5172         * lyxfunc.C (getStatus, dispatch):
5173         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
5174
5175 2003-02-21  Angus Leeming  <leeming@lyx.org>
5176
5177         * BufferView_pimpl.C (MenuInsertLyXFile):
5178         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
5179         * lyxfunc.C (menuNew, open, doImport):
5180           no longer pass a LyXView & to fileDlg.
5181
5182 2003-02-21  Angus Leeming  <leeming@lyx.org>
5183
5184         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
5185         * LyXAction.C: change, BIBKEY to BIBITEM.
5186         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
5187         Change InsetBibKey to InsetBibitem.
5188         Change BIBKEY_CODE to BIBITEM_CODE.
5189         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5190         * factory.C: replace insetbib.h with insetbibitem.h.
5191         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5192         * paragraph.C: replace insetbib.h with insetbibitem.h.
5193         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5194         Change bibkey() to bibitem().
5195         * text.C: remove insetbib.h.
5196         * text2.C: replace insetbib.h with insetbibitem.h.
5197         change bibkey() to bibitem().
5198         * text3.C: remove insetbib.h.
5199         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5200
5201 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5202
5203         * lyxrc.C (output): enclose user email in quotes (in case there are
5204         several words)
5205
5206 2003-02-18  John Levon  <levon@movementarian.org>
5207
5208         * buffer.h: add std::
5209
5210 2003-02-17  John Levon  <levon@movementarian.org>
5211
5212         * SpellBase.h:
5213         * ispell.h:
5214         * ispell.C:
5215         * pspell.h:
5216         * pspell.C: reworking. Especially in ispell, a large
5217           number of clean ups and bug fixes.
5218
5219         * lyxfunc.C: fix revert to behave sensibly
5220
5221 2003-02-17 André Pönitz <poenitz@gmx.net>
5222
5223         * LyXAction.C:
5224         * commandtags.h: new LFUN_INSERT_BIBKEY
5225
5226         * layout.h:
5227         * lyxlayout.C:
5228         * buffer.C:
5229         * factory.C:
5230         * text.C:
5231         * text2.C:
5232         * text3.C:
5233         * paragraph.[Ch]:
5234         * paragraph_func.C: remove special bibkey handling
5235
5236 2003-02-17  John Levon  <levon@movementarian.org>
5237
5238         * text.C (Delete): fix case where delete at the end of
5239           the very first paragraph would not merge the pars
5240
5241 2003-02-17  John Levon  <levon@movementarian.org>
5242
5243         * lyxrow.C: fix lastPrintablePos()
5244
5245 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5246
5247         * bufferparams.C (writeLaTeX): add a std:here
5248
5249         * buffer.C: and remove a using directive there
5250
5251 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5252
5253         * buffer.C (makeLaTeXFile): move the code that generates the
5254           preamble...
5255
5256         * bufferparams.C (writeLaTeX): ... in this new method
5257
5258         * LaTeXFeatures.C (getEncodingSet): make const
5259           (getLanguages): make const
5260
5261         * MenuBackend.C (binding): returns the binding associated to this
5262           action
5263           (add): sets the status of each item by calling getStatus. Adds
5264           some intelligence.
5265           (read): add support for OptSubMenu
5266           (expand): remove extra separator at the end of expanded menu
5267
5268 2003-02-15  John Levon  <levon@movementarian.org>
5269
5270         * BufferView.C:
5271         * BufferView_pimpl.C:
5272         * bufferlist.h:
5273         * bufferlist.C: remove pointless BufferStorage bloat. Remove
5274           inset code that had no actual effect. Remove unneeded status
5275           code.
5276
5277 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5278
5279         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5280           in preamble
5281
5282 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
5283
5284         * text.C (drawLengthMarker): also draw an arrow marker for
5285           symbolic lengths (medskip...)
5286
5287 2003-02-14  John Levon  <levon@movementarian.org>
5288
5289         * tabular.h:
5290         * tabular.C: better method names
5291
5292 2003-02-14  John Levon  <levon@movementarian.org>
5293
5294         * BufferView_pimpl.C:
5295         * bufferlist.C:
5296         * buffer.C:
5297         * converter.C:
5298         * lyx_cb.C:
5299         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5300           it's a more accurate name. Remove some pointless uses.
5301
5302 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5303
5304         * text2.C (LyXText): change order of initilizers to shut off
5305           warnings
5306
5307 2003-02-14  John Levon  <levon@movementarian.org>
5308
5309         * buffer.C: use ParIterator for getParFromID()
5310
5311         * paragraph.h:
5312         * paragraph.C:
5313         * paragraph_pimpl.h:
5314         * paragraph_pimpl.C: remove unused getParFromID()
5315
5316 2003-02-14  John Levon  <levon@movementarian.org>
5317
5318         * buffer.C: remove some very old #if 0'd parse code
5319
5320 2003-02-13  John Levon  <levon@movementarian.org>
5321
5322         * text.h:
5323         * text.C:
5324         * text2.C: move hfillExpansion(), numberOfSeparators(),
5325           rowLast(), rowLastPrintable(), numberofHfills(),
5326           numberOfLabelHfills() ...
5327
5328         * lyxrow.h:
5329         * lyxrow.C: ... to member functions here.
5330
5331         * paragraph.h:
5332         * paragraph.C:
5333         * lyxtext.h:
5334         * text.C: remove LyXText::beginningOfMainBody(), and call
5335           p->beginningOfMainBody() directly. Move the check for
5336           LABEL_MANUAL into the latter.
5337
5338         * text.h:
5339         * text.C:
5340         * text2.C:
5341         * vspace.C:
5342         * BufferView.h:
5343         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5344
5345         * text.h:
5346         * text.C:
5347         * text2.C:
5348         * text3.C:
5349         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5350           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5351
5352 2003-02-13  John Levon  <levon@movementarian.org>
5353
5354         * CutAndPaste.C: remove debug
5355
5356 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5357
5358         * paragraph.C (asString): remove two unused variables
5359
5360         * lyxtextclass.C (readTitleType):
5361           (Read):
5362           (LyXTextClass): handle new members titletype_ and titlename_
5363
5364         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
5365
5366 2003-02-09  John Levon  <levon@movementarian.org>
5367
5368         * buffer.h:
5369         * buffer.C: replace hand-coded list with a map for the dep clean
5370
5371 2003-02-08  John Levon  <levon@movementarian.org>
5372
5373         * LaTeX.C: consolidate code into showRunMessage() helper
5374
5375 2003-02-08  John Levon  <levon@movementarian.org>
5376
5377         * lyxfind.C:
5378         * lyxtext.h:
5379         * text2.C:
5380         * BufferView.C: change setSelectionOverString() to setSelectionRange()
5381           and pass the size in explicitly
5382
5383         * BufferView_pimpl.h:
5384         * BufferView_pimpl.C:
5385         * BufferView.h:
5386         * BufferView.C: add getCurrentChange()
5387
5388         * BufferView_pimpl.h:
5389         * BufferView_pimpl.C: handle change lfuns
5390
5391         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
5392           for changes. Mark pasted paragraphs as new.
5393
5394         * support/lyxtime.h:
5395         * support/lyxtime.C:
5396         * DepTable.C: abstract time_t as lyx::time_type
5397
5398         * LColor.h:
5399         * LColor.C: add colours for new text, deleted text, changebars
5400
5401         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
5402           package use "usenames" option.
5403
5404         * commandtags.h:
5405         * lyxfunc.C:
5406         * LyXAction.C: add change lfuns
5407
5408         * Makefile.am:
5409         * author.h:
5410         * author.C: author handling
5411
5412         * buffer.h:
5413         * buffer.C: add a per-buffer author list, with first entry as
5414           current author. Handle new .lyx tokens for change tracking. Output
5415           author list to .lyx file. Output dvipost stuff to .tex preamble.
5416           Bump lyx format to 222.
5417
5418         * bufferlist.h:
5419         * bufferlist.C: add setCurrentAuthor() to reset current author details
5420           in all buffers.
5421
5422         * bufferparams.h:
5423         * bufferparams.C: add param for tracking
5424
5425         * bufferview_funcs.C: output change info in minibuffer
5426
5427         * Makefile.am:
5428         * changes.h:
5429         * changes.C: add change-tracking structure
5430
5431         * debug.h:
5432         * debug.C: add CHANGES debug flag
5433
5434         * lyxfind.h:
5435         * lyxfind.C: add code for finding the next change piece
5436
5437         * lyxrc.h:
5438         * lyxrc.C: add user_name and user_email
5439
5440         * lyxrow.h:
5441         * lyxrow.C: add a metric for the top of the text line
5442
5443         * lyxtext.h:
5444         * text.C: implement accept/rejectChange()
5445
5446         * lyxtext.h:
5447         * text.C: paint changebars. Paint new/deleted text in the chosen
5448         colours. Strike through deleted text.
5449
5450         * paragraph.h:
5451         * paragraph.C:
5452         * paragraph_pimpl.h:
5453         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
5454           in the current change to the insert functions. Rework erase to
5455           mark text as deleted, adding an eraseIntern() and a range-based
5456           erase(). Implement per-paragraph change lookup and
5457           accept/reject.
5458
5459         * paragraph_funcs.C: Fixup paste for change tracking.
5460
5461         * tabular.C: mark added row/columns as new.
5462
5463         * text.C: fix rowLast() to never return -1. Don't allow
5464           spellchecking of deleted text. Track transpose changes. Don't
5465           allow paragraph break or merge where appropriate.
5466
5467         * text2.C: leave cursor at end of selection after a cut.
5468
5469 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5470
5471         * text.C (getLengthMarkerHeight):
5472         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
5473         visible on screen too.
5474
5475 2003-02-07  John Levon  <levon@movementarian.org>
5476
5477         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
5478
5479 2003-02-05  Angus Leeming  <leeming@lyx.org>
5480
5481         * lyxserver.C (read_ready): revert my patch of 11 September last year
5482         as it sends PC cpu through the roof. Presumably this means that
5483         the lyxserver will no longer run on an Alpha...
5484
5485 2003-01-30  Angus Leeming  <leeming@lyx.org>
5486
5487         * factory.C (createInset): create an InsetCommandParam of type "index"
5488         and use it to 'do the right thing'.
5489
5490         * text2.C (getStringToIndex): ensure that cursor position is always
5491         reset to the reset_cursor position.
5492
5493 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5494
5495         * lyxfunc.C (getStatus): "buffer-export custom" should never be
5496         disabled.
5497
5498 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
5499
5500         * bufferview.C:
5501         * lyxcb.C:
5502         * lyxfunc.C: Output messages with identical spelling, punctuation,
5503         and spaces
5504
5505 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
5506
5507         * MenuBackend.C (expandFormats): List only viewable export formats
5508         in "View" menu
5509
5510         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
5511         message
5512
5513         * lyxfunc.C (getStatus): Make sure that formats other than
5514         "fax" can also be disabled
5515
5516 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5517
5518         * text3.C (dispatch): put the lfuns that insert insets in 3
5519         groups, and call doInsertInset with appropriate arguments.
5520         (doInsertInset): new function, that creates an inset and inserts
5521         it according to some boolean parameters.
5522
5523 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5524
5525         * buffer.C (readFile): remember to pass on 'par' when calling
5526         readFile recursively.
5527
5528 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5529
5530         * MenuBackend.C (expandFormats): add "..." to import formats.
5531
5532 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
5533
5534         * paragraph.C (asString): Remove XForms RTL hacks.
5535
5536 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
5537         * buffer.C: fix typo
5538
5539 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
5540
5541         * Makefile.am (LIBS): delete var
5542         (lyx_LDADD): add @LIBS@ here instead.
5543
5544 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
5545
5546         * Clarify the meaning of "wheel mouse jump"
5547
5548 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5549
5550         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
5551         tabular in a float
5552
5553 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5554
5555         * importer.C (Loaders): do not preallocate 3 elements in the
5556         vector, since one ends up with 6 elements otherwise
5557
5558 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5559
5560         * DepTable.C (write): write the file name as last element of the
5561         .dep file (because it may contain spaces)
5562         (read): read info in the right order
5563
5564 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5565
5566         * paragraph_pimpl.C (simpleTeXBlanks):
5567         (simpleTeXSpecialChars):
5568         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
5569
5570         * tabular.C (latex): add some missing case statements. Reindent.
5571
5572         * MenuBackend.C (expandToc): remove unused variable.
5573
5574 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
5575
5576         * LColor.C:
5577         * LaTeX.C:
5578         * LyXAction.C:
5579         * MenuBackend.C:
5580         * buffer.C:
5581         * exporter.C:
5582         * lyxfunc.C:
5583         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
5584         and the like.
5585
5586 2003-01-05  John Levon  <levon@movementarian.org>
5587
5588         * BufferView.h:
5589         * BufferView.C: add getEncoding()
5590
5591         * kbsequence.h:
5592         * kbsequence.C: do not store last keypress
5593
5594         * lyxfunc.h:
5595         * lyxfunc.C: store last keypress here instead. Pass encoding
5596           to getISOEncoded()
5597
5598 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5599
5600         * lyx_main.C (init): remove annoying error message when following
5601         symbolic links (bug #780)
5602
5603 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5604
5605         * text.C (insertChar):
5606         * lyxrc.C (getDescription): remove extra spaces
5607
5608 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5609
5610         * lyxrc.C (getDescription): remove extra spaces
5611
5612 2002-12-20  John Levon  <levon@movementarian.org>
5613
5614         * text3.C: hack fix for page up/down across tall rows
5615
5616 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5617
5618         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
5619         not been invoked
5620
5621 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5622
5623         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
5624         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
5625         thesaurus is not compiled in
5626
5627 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
5628
5629         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
5630
5631 2002-12-16  Angus Leeming  <leeming@lyx.org>
5632
5633         * lyxrc.[Ch]:
5634         * lyx_main.C (init): remove override_x_deadkeys stuff.
5635
5636 2002-12-12  John Levon  <levon@movementarian.org>
5637
5638         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
5639           insert. Only remove shift modifier under strict
5640           circumstances.
5641
5642 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5643
5644         * MenuBackend.C (expandToc): fix crash.
5645
5646 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5647
5648         * MenuBackend.C (expandToc): gettext on float names.
5649
5650 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5651
5652         * lyxlength.[Ch]: set default unit to UNIT_NONE,
5653         implement bool empty() [bug 490]
5654
5655 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5656
5657         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
5658
5659 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5660
5661         * several files: ws changes
5662
5663 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5664
5665         * text2.C (setCounter): clean up a bit, use boost.format.
5666         (updateCounters): initialize par upon declaration.
5667
5668         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
5669         if the layout exists. We do not just store the layout any more.
5670         (SwitchLayoutsBetweenClasses): use boost.format
5671
5672 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5673
5674         * converter.C (convert): if from and to files are the same, use a
5675         temporary files as intermediary
5676
5677 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5678
5679         * commandtags.h:
5680         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
5681
5682 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
5683
5684         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
5685
5686 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5687
5688         * tabular.C (asciiPrintCell): use string(size, char) instead of
5689         explicit loop.
5690
5691         * sgml.C (openTag): fix order of arguments to string constructor
5692         (closeTag): ditto
5693
5694         * lyxfunc.C (dispatch): use boost.format
5695
5696         * lots of files: change "c" -> 'c'
5697
5698 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
5699
5700         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
5701
5702 2002-11-25  Angus Leeming  <leeming@lyx.org>
5703
5704         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
5705
5706         * lyx_main.C (init): compile fix.
5707
5708 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5709
5710         * lyx_cb.C (start): boost.formatify
5711         do not include <iostream>
5712
5713         * lengthcommon.C: ws only
5714
5715         * boost-inst.C,BoostFormat.h: add more explict instantations
5716
5717 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5718
5719         * lots of files: handle USE_BOOST_FORMAT
5720
5721 2002-11-21  John Levon  <levon@movementarian.org>
5722
5723         * pspell.C: fix compile
5724
5725 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5726
5727         * lyxfunc.C (dispatch): use boost::format
5728         (open): ditto
5729         (doImport): ditto
5730
5731         * lyxfont.C (stateText): use boost::format
5732
5733         * lyx_main.C (LyX): use boost::format
5734         (init): ditto
5735         (queryUserLyXDir): ditto
5736         (readRcFile): ditto
5737         (parse_dbg): ditto
5738         (typedef boost::function): use the recommened syntax.
5739
5740         * importer.C (Import): use boost::format
5741
5742         * debug.C (showLevel): use boost::format
5743
5744         * converter.C (view): use boost::format
5745         (convert): ditto
5746         (move): ditto
5747         (scanLog): ditto
5748
5749         * bufferview_funcs.C (currentState): use boost::format
5750
5751         * bufferlist.C (emergencyWrite): use boost::format
5752
5753         * buffer.C (readLyXformat2): use boost::format
5754         (parseSingleLyXformat2Token): ditto
5755
5756         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
5757
5758         * LaTeX.C (run): use boost::format
5759
5760         * Chktex.C (scanLogFile): use boost::format
5761
5762         * BufferView_pimpl.C (savePosition): use boost::format
5763         (restorePosition): ditto
5764         (MenuInsertLyXFile): ditto
5765
5766         * BoostFormat.h: help file for explicit instation.
5767
5768 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
5769
5770         * tabular.C (latex): Support for block alignment in fixed width
5771         columns.
5772
5773 2002-11-17  John Levon  <levon@movementarian.org>
5774
5775         * BufferView_pimpl.C:
5776         * lyx_cb.C:
5777         * lyxfunc.C: split filedialog into open/save
5778
5779 2002-11-08  Juergen Vigna  <jug@sad.it>
5780
5781         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
5782         by my last patch (hopefully).
5783
5784 2002-11-08  John Levon  <levon@movementarian.org>
5785
5786         * iterators.h:
5787         * iterators.C:
5788         * buffer.h:
5789         * buffer.C:
5790         * paragraph.h:
5791         * paragraph.C:
5792         * toc.h:
5793         * toc.C: ParConstIterator, and use it (from Lars)
5794
5795 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
5796
5797         * lyxtextclass.[Ch]: revise and add doxygen comments
5798
5799 2002-11-07  John Levon  <levon@movementarian.org>
5800
5801         * text.C: fix progress value for spellchecker
5802
5803         * toc.C: fix navigate menu for insetwrap inside minipage
5804
5805         * paragraph_funcs.C: added FIXME for suspect code
5806
5807 2002-11-07  John Levon  <levon@movementarian.org>
5808
5809         * BufferView_pimpl.C: fix redrawing of insets
5810           on buffer switch
5811
5812 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5813
5814         * text2.C (updateCounters): fix bug 668
5815
5816 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
5817
5818         * text3.C (dispatch): Do not make the buffer dirty when moving the
5819         cursor.
5820
5821 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5822
5823         * vc-backend.C: STRCONV
5824         (scanMaster): ditto
5825
5826         * text2.C (setCounter): STRCONV
5827
5828         * paragraph.C (asString): STRCONV
5829
5830         * lyxlength.C (asString): STRCONV
5831         (asLatexString): ditto
5832
5833         * lyxgluelength.C (asString): STRCONV
5834         (asLatexString): ditto
5835
5836         * lyxfunc.C (dispatch): STRCONV
5837         (open): ditto
5838
5839         * lyxfont.C (stateText): STRCONV
5840
5841         * importer.C (Import): STRCONV
5842
5843         * counters.C (labelItem): STRCONV
5844         (numberLabel): ditto
5845         (numberLabel): remove unused ostringstream o
5846
5847         * chset.C: STRCONV
5848         (loadFile): ditto
5849
5850         * bufferview_funcs.C (currentState): STRCONV
5851
5852         * buffer.C (readFile): STRCONV
5853         (asciiParagraph): ditto
5854         (makeLaTeXFile): ditto
5855
5856         * Spacing.C (writeEnvirBegin): STRCONV
5857
5858         * LaTeXFeatures.C (getLanguages): STRCONV
5859         (getPackages): ditto
5860         (getMacros): ditto
5861         (getBabelOptions): ditto
5862         (getTClassPreamble): ditto
5863         (getLyXSGMLEntities): ditto
5864         (getIncludedFiles): ditto
5865
5866         * LaTeX.C: STRCONV
5867         (run): ditto
5868         (scanAuxFile): ditto
5869         (deplog): ditto
5870
5871         * LString.h: add the STRCONV macros
5872
5873         * BufferView_pimpl.C (savePosition): STRCONV
5874         (restorePosition): ditto
5875         (MenuInsertLyXFile): ditto
5876
5877         * vc-backend.C (scanMaster): change from submatch[...] to
5878         submatch.str(...)
5879
5880         * funcrequest.C: include config.h
5881
5882         * factory.C: include config.h
5883
5884         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
5885
5886         * box.C: include config.h
5887
5888         * LaTeX.C (scanAuxFile): change from submatch[...] to
5889         submatch.str(...)
5890         (deplog): ditto
5891
5892 2002-10-25  Angus Leeming  <leeming@lyx.org>
5893
5894         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
5895
5896         * ispell.[Ch] (setError): new method.
5897         * ispell.C (c-tor): move out child process into new class LaunchIspell.
5898         Use setError() insetead of goto END.
5899
5900         * lyx_cb.C (AutoSave): move out child process into new class
5901         AutoSaveBuffer.
5902
5903 2002-10-30  John Levon  <levon@movementarian.org>
5904
5905         * text3.C: make start appendix undoable
5906
5907 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
5908
5909         * lyxlength.C (inPixels): Fix returned value.
5910
5911         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
5912         environment.
5913
5914 2002-10-24  Angus Leeming  <leeming@lyx.org>
5915
5916         * lyxgluelength.h: no need to forward declare BufferParams
5917         or BufferView, so don't.
5918
5919 2002-10-21  John Levon  <levon@movementarian.org>
5920
5921         * BufferView.C: menuUndo ->undo, redo
5922
5923         * BufferView.h: document, remove dead, make some methods private
5924
5925         * paragraph_funcs.h:
5926         * paragraph_funcs.C:
5927         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
5928
5929         * buffer.h:
5930         * buffer.C:
5931         * sgml.h:
5932         * sgml.C: move sgml open/close tag into sgml.C
5933
5934         * bufferview_funcs.h: unused prototype
5935
5936         * lyxfunc.h:
5937         * lyxfunc.C: remove unused
5938
5939         * lyxtext.h:
5940         * text.C: remove unused
5941
5942 2002-10-21  John Levon  <levon@movementarian.org>
5943
5944         * BufferView.h:
5945         * BufferView.C:
5946         * BufferView_pimpl.h:
5947         * BufferView_pimpl.C: fix mouse wheel handling based on
5948           patch from Darren Freeman
5949
5950 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
5951
5952         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
5953
5954 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
5955
5956         * lyxlength.C (inPixels): Fix hanfling of negative length.
5957         Fix LyXLength::MU case.
5958
5959 2002-10-16  John Levon  <levon@movementarian.org>
5960
5961         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
5962
5963 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5964
5965         * converter.C (view): add support for $$i (file name) and $$p
5966         (file path) for the viewer command. If $$i is not specified, then
5967         it is appended to the command (for compatibility with old syntax)
5968
5969 2002-10-14  Juergen Vigna  <jug@sad.it>
5970
5971         * undo_funcs.C (textHandleUndo): alter the order in which the
5972         new undopar is added to the LyXText, as we have to set first
5973         the right prev/next and then add it as otherwise the rebuild of
5974         LyXText is not correct. Also reset the cursor to the right paragraph,
5975         with this IMO we could remove the hack in "redoParagraphs()".
5976
5977 2002-10-09  Angus Leeming  <leeming@lyx.org>
5978
5979         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
5980         to turn off an optimisation if a new inset is to be inserted.
5981
5982 2002-10-11 André Pönitz <poenitz@gmx.net>
5983
5984         * lyxtext.h: make some functions public to allow access
5985         from inset/lyxtext for handling LFUN_PRIOR/NEXT
5986
5987 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5988
5989         * text3.C (dispatch): when changing layout, avoid an infinite loop
5990         [bug #652]
5991
5992 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5993
5994         * lyxrc.C (read): treat a viewer or converter command of "none" as
5995         if it were empty.
5996
5997         * MenuBackend.C (expandFormats): for an update, also allow the
5998         formats that are not viewable
5999
6000         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6001         script if it is newer than the lyxrc.defaults in user directory
6002
6003 2002-10-07 André Pönitz <poenitz@gmx.net>
6004
6005         * text.C: Vitaly Lipatov's small i18n fix
6006
6007 2002-09-25  Angus Leeming  <leeming@lyx.org>
6008
6009         * ispell.h: doxygen fix.
6010
6011 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
6012
6013         * buffer.h (readFile): Add a new argument to the method, to allow
6014         reading of old-format templates.
6015
6016 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
6017
6018         * toc.C (getTocList): Get TOC from InsetWrap.
6019
6020 2002-09-16  John Levon  <levon@movementarian.org>
6021
6022         * lyxfunc.C: check tabular for cut/copy too
6023
6024 2002-09-12  John Levon  <levon@movementarian.org>
6025
6026         * LyXAction.C: tidy
6027
6028         * factory.h:
6029         * factory.C: add header
6030
6031         * paragraph_funcs.h:
6032         * paragraph_funcs.C: cleanup
6033
6034 2002-09-11  John Levon  <levon@movementarian.org>
6035
6036         * PrinterParams.h: odd/even default to true
6037
6038 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
6039
6040         * PrinterParams.h: update printer parameters for new xforms dialog
6041
6042 2002-09-11  Angus Leeming  <leeming@lyx.org>
6043
6044         * lyxserver.C (read_ready): re-write to make it more transparent
6045         and to make it work in coherent fashion under Tru64 Unix.
6046
6047 2002-09-11  André Pönitz <poenitz@gmx.net>
6048
6049         * commandtags.h:
6050         * LyXAction.C:
6051         * text3.C: implement LFUN_WORDSEL
6052
6053 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6054
6055         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6056         make floatlist_ a boost::shared_ptr<FloatList>
6057
6058         * lyxtextclass.C: include FloatList.h
6059         (LyXTextClass): initialize floatlist_
6060         (TextClassTags): add TC_NOFLOAT
6061         (Read): match "nofloat" to TC_NOFLOAT and use it.
6062         (readFloat): modify call to floatlist_
6063         (floats): ditto
6064         (floats): ditto
6065
6066         * FloatList.[Ch] (FloatList): remove commented out float
6067         initialization.
6068         (erase): new function
6069
6070 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6071
6072         * MenuBackend.C (expandToc): fix crash when there is no document
6073         open
6074
6075 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
6076
6077         * many files: Add insetwrap.
6078
6079 2002-09-09  John Levon  <levon@movementarian.org>
6080
6081         * text2.C: remove confusing and awkward depth wraparound
6082
6083 2002-09-09  John Levon  <levon@movementarian.org>
6084
6085         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6086
6087         * buffer.h:
6088         * buffer.C: remove getIncludeonlyList()
6089
6090         * paragraph.C:
6091         * lyxfunc.C: remove headers
6092
6093 2002-09-09  Juergen Vigna  <jug@sad.it>
6094
6095         * text.C (getColumnNearX): fix form Michael this is most
6096         probably a cut&paste bug.
6097
6098 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6099
6100         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
6101
6102         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6103         references, ws changes.
6104
6105         * text2.C (init): update counters after init
6106         (insertParagraph): no need to set counter on idividual paragraphs.
6107         (setCounter): access the counters object in the textclass object
6108         on in the buffer object.
6109         (updateCounters): ditto
6110
6111         * lyxtextclass.C: include counters.h, add variable ctrs_ as
6112         shared_ptr<Counters> to avoid loading counters.h in all
6113         compilation units.
6114         (LyXTextClass): initialize ctrs_
6115         (TextClassTags): add TC_COUNTER, and ...
6116         (Read): use it here.
6117         (CounterTags): new tags
6118         (readCounter): new function
6119         (counters): new funtion
6120         (defaultLayoutName): return a const reference
6121
6122         * counters.C (Counters): remove contructor
6123         (newCounter): remove a couple of unneeded statements.
6124         (newCounter): simplify a bit.
6125         (numberLabel): some small formatting changes.
6126
6127         * buffer.[Ch]: remove all traces of counters, move the Counters
6128         object to the LyXTextClass.
6129
6130 2002-09-06  Alain Castera  <castera@in2p3.fr>
6131
6132         * tabular.C: uses \tabularnewline; uses >{...} construct from array
6133         package to set the horizontal alignment on fixed width columns.
6134
6135         * lyx_sty.C:
6136         * lyx_sty.h: added tabularnewline macro def.
6137
6138         * LaTeXFeatures.C: added NeedTabularnewline macro feature
6139
6140 2002-09-06  John Levon  <levon@movementarian.org>
6141
6142         * LyXAction.C: tooltips for sub/superscript
6143
6144         * MenuBackend.C: a bit more verbose
6145
6146         * lyxfunc.C: tiny clean
6147
6148         * undo_funcs.C: document undo_frozen
6149
6150 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6151
6152         * counters.C (Counters): add missing algorithm counter.
6153
6154         * text2.C (setCounter): lookup the counter with layouts latexname
6155         instead of by section number.
6156         (setCounter): use a hackish way to lookup the correct enum
6157         counter.
6158         a float name->type change
6159         reset enum couners with counter name directly instead of depth value.
6160
6161         * counters.C (Counters): remove the push_backs, change to use the
6162         float type not the float name.
6163         (labelItem): remove unused string, float name->type change
6164
6165         * counters.h: don't include vector, loose the enums and sects vectors
6166
6167 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6168
6169         * lyxtextclass.C (TextClassTags): add TC_FLOAT
6170         (Read): add float->TC_FLOAT to textclassTags
6171         (Read): and handle it in the switch
6172         (readFloat): new function
6173
6174         * FloatList.C (FloatList): comment out the hardcoded float
6175         definitions.
6176
6177         * lyxlayout.h: ws change.
6178
6179 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
6180
6181         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
6182
6183 2002-09-03  Angus Leeming  <leeming@lyx.org>
6184
6185         * BufferView_pimpl.h: qualified name is not allowed in member
6186         declaration: WorkArea & Pimpl::workarea() const;
6187
6188         * factory.C: added using std::endl directive.
6189
6190         * text3.C: added using std::find and std::vector directives.
6191
6192 2002-08-29  André Pönitz <poenitz@gmx.net>
6193
6194         * lyxtext.h:
6195         * text2.C: remove unused member number_of_rows
6196
6197         * Makefile.am:
6198         * BufferView2.C: remove file, move contents to...
6199         * BufferView.C: ... here
6200
6201         * BufferView_pimpl.C:
6202         * factory.C: move more inset creation to factory
6203
6204         * vspace.C: avoid direct usage of LyXText, ws changes
6205
6206         * BufferView.[Ch]:
6207                 don't provide direct access to WorkArea, use two simple
6208                 acessors haveSelction() and workHeight() instead
6209
6210
6211 2002-08-29  John Levon  <levon@movementarian.org>
6212
6213         * BufferView_pimpl.C (dispatch): do not continue when
6214           no buffer
6215
6216 2002-08-28  André Pönitz <poenitz@gmx.net>
6217
6218         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6219
6220         * BufferView.h:
6221         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6222
6223 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
6224
6225         * buffer.C: increment LYX_FORMAT to 221
6226
6227         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6228         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6229
6230         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6231
6232         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6233
6234 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6235
6236         * factory.C (createInset): use LyXTextClass::floats
6237
6238         * MenuBackend.C (expandFloatListInsert):
6239         (expandFloatInsert):
6240         (expandToc):
6241
6242         * text2.C (setCounter):
6243
6244         * LaTeXFeatures.C (useFloat):
6245         (getFloatDefinitions):
6246
6247         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6248
6249         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6250         floatlist_, with accessor floats().
6251
6252         * FloatList.h: remove global FloatList
6253
6254 2002-08-26  André Pönitz <poenitz@gmx.net>
6255
6256         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6257
6258         * BufferView.h:
6259         * BufferView2.C:
6260         * BufferView_pimpl.C:
6261         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6262
6263 2002-08-25  John Levon  <levon@movementarian.org>
6264
6265         * LyXAction.C: fix margin note description
6266
6267 2002-08-24  John Levon  <levon@movementarian.org>
6268
6269         * buffer.C:
6270         * bufferlist.C:
6271         * bufferview_funcs.C:
6272         * lyxfont.C:
6273         * undo_funcs.C: cleanups
6274
6275         * lyxfunc.C: disable CUT/COPY when no selection
6276
6277 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
6278
6279         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6280         in "enum UNIT"; e.g. PTW for Percent of TextWidth
6281
6282         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6283         Add backward compatibility to "mono", "gray" and "no".
6284
6285 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
6286
6287         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6288         (and file_format >= 200).
6289
6290 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6291
6292         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6293
6294 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6295
6296         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6297
6298 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
6299
6300         * BufferView_pimpl.C:
6301         * LyXAction.C:
6302         * buffer.C:
6303         * commandtags.h:
6304         * lyxfunc.C:
6305         * paragraph.[Ch]:
6306         * text2.C:
6307         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6308         inset and code to make it  work with the paragraph code. The inset
6309         can be anywhere in the paragraph, but will only do the expected
6310         thing in LaTeX if the layout file contains the parameter line
6311                         OptionalArgs    1
6312         (or more generally, a nonzero value) for that layout.
6313
6314 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6315
6316         * paragraph.h: remove the declaration of undefined counters class
6317         function.
6318
6319 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
6320
6321         * text2.C (setCounter):  fixed enumeration mis-count as reported by
6322         Dr. Richard Hawkins.
6323
6324 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6325
6326         * paragraph_funcs.h: remove some unneeded includes
6327
6328         * text.C (backspace): pasteParagraph now in global scipe
6329
6330         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6331         (pasteSelection): ditto
6332
6333         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6334         * paragraph_funcs.C (pasteParagraph): ... here
6335
6336 2002-08-20  André Pönitz <poenitz@gmx.net>
6337
6338         * commandtags.h: new LFUNs for swapping/copying table row/colums
6339
6340         * LyXAction.C:
6341         * lyxfunc.C: support for new lfuns
6342
6343 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6344
6345         * tabular.C:
6346         * buffer.[Ch]: remove NO_COMPABILITY stuff
6347
6348 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
6349
6350         * boost.C (throw_exception): new file, with helper function for
6351         boost compiled without exceptions.
6352
6353         * paragraph.h:
6354         * lyxlength.C:
6355         * buffer.C:
6356         * ParameterStruct.h:
6357         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6358
6359         * bufferlist.C (emergencyWriteAll): use boost bind
6360
6361         * BufferView_pimpl.C (moveCursorUpdate): remove inline
6362
6363         * text.C: include paragraph_funcs.h
6364         (breakParagraph): breakParagraph is now in global scope
6365
6366         * paragraph_funcs.[Ch]: new files
6367
6368         * paragraph.C (breakParagraph,breakParagraphConservative): move to
6369         global scope
6370
6371         * buffer.C: include paragraph_funcs.h
6372         (insertStringAsLines): breakParagraph is now in global scope
6373
6374         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
6375         paragraph_funcs.C
6376
6377         * CutAndPaste.C: include paragraph_funcs.h
6378         (cutSelection): breakParagraphConservative is now in global scope
6379         (pasteSelection): ditto
6380
6381         * buffer.h: declare oprator== and operator!= for
6382         Buffer::inset_iterator
6383
6384         * bufferlist.C (emergencyWrite): don't use fmt(...)
6385
6386         * text3.C: add using std::endl
6387
6388         * BufferView.C (moveCursorUpdate): remove default arg
6389
6390 2002-08-20  André Pönitz <poenitz@gmx.net>
6391
6392         * buffer.[Ch]: move inline functions to .C
6393
6394         * BufferView2.C:
6395         * BufferView_pimpl.C:
6396         * text.C:
6397         * buffer.[Ch]: use improved inset_iterator
6398
6399         * buffer.C:
6400         * paragraph.[Ch]: write one paragraph at a time
6401
6402 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
6403
6404         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
6405         style if style is not specified.
6406
6407 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6408
6409         * text2.C (setCounter): when searching for right label for a
6410         caption, make sure to recurse to parent insets (so that a caption
6411         in a minipage in a figure float works) (bug #568)
6412
6413 2002-08-20  André Pönitz <poenitz@gmx.net>
6414
6415         * text3.C: new file for LyXText::dispatch() and helpers
6416
6417         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
6418
6419         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
6420
6421 2002-08-19  André Pönitz <poenitz@gmx.net>
6422
6423         * lyxtext.h:
6424         * text.C: new LyXText::dispatch()
6425
6426         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
6427
6428 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
6429
6430         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
6431
6432         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
6433         Hebrew text.
6434
6435 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6436
6437         * Makefile.am: use $(variables) instead of @substitutions@
6438
6439 2002-08-15  André Pönitz <poenitz@gmx.net>
6440
6441         * lyxfunc.C:
6442         * BufferView_pimpl.C: streamlining mathed <-> outer world
6443         interaction
6444
6445         * commandtags.h:
6446         * LyXAction.C: remove unused LFUN_MATH
6447
6448 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6449
6450         * paragraph.[Ch]: add some NO_NEXT ifdefs.
6451
6452 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6453
6454         * paragraph.C (Paragraph): reformat a bit
6455         (cutIntoMinibuffer): use builtin InsetList function instad of
6456         doing it manually.
6457         (getInset): ditto
6458
6459         * buffer.C: include boost/bind.hpp, add using std::for_each
6460         (writeFileAscii): use ParagraphList iterators
6461         (validate): use for_each for validate traversal of paragraphs
6462         (getBibkeyList): use ParagraphList iterators
6463         (resizeInsets): use for_each to resizeInsetsLyXText for all
6464         paragraphs.
6465         (getParFromID): use ParagraphList iterators
6466
6467         * BufferView2.C (lockInset): use paragraph list and iterators
6468
6469 2002-08-14  John Levon  <levon@movementarian.org>
6470
6471         * lyxserver.C: remove spurious xforms include
6472
6473 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6474
6475         * lyxfunc.C (getStatus): disable math-extern outside of math mode
6476
6477 2002-08-13  André Pönitz <poenitz@gmx.net>
6478
6479         * LyXAction.[Ch]:
6480         * lyxfunc.C: further cleaning
6481
6482 2002-08-13  André Pönitz <poenitz@gmx.net>
6483
6484         * funcrequest.h: new constructor
6485
6486         * funcrequest.C: move stuff here from .h
6487
6488         * Makefile.am:
6489         * BufferView_pimpl.C:
6490         * LyXAction.C:
6491         * toc.C:
6492         * lyxfunc.C: subsequent changes
6493
6494         * lyxfunc.h: new view() member function
6495
6496         * lyxfunc.C: subsequent changes
6497
6498 2002-08-13  Angus Leeming  <leeming@lyx.org>
6499
6500         * BufferView2.C:
6501         * BufferView_pimpl.C:
6502         * buffer.C:
6503         * converter.C:
6504         * importer.C:
6505         * lyxfunc.C:
6506         * lyxvc.C:
6507         * toc.C:
6508         * vc-backend.C:
6509         changes due to the changed LyXView interface that now returns references
6510         to member variables not pointers.
6511
6512 2002-08-13  Angus Leeming  <leeming@lyx.org>
6513
6514         * WordLangTuple (word, lang_code): return references to strings,
6515         not strings.
6516
6517         * BufferView.h:
6518         * SpellBase.h:
6519         * lyxtext.h: forward-declare WordLangTuple.
6520
6521         * BufferView2.C:
6522         * ispell.C:
6523         * pspell.C:
6524         * text.C: #include "WordLangTuple.h".
6525
6526         * lyxtext.h:
6527         * text.C: (selectNextWordToSpellcheck): constify return type.
6528
6529 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
6530
6531         * buffer.C:
6532         * buffer.h:
6533         * lyxtext.h:
6534         * paragraph.C:
6535         * paragraph_pimpl.h:
6536         * text.C:
6537         * text2.C:
6538         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
6539         suggested by Angus.
6540         Made updateCounter always count from start of buffer, and removed
6541         second argument (par).
6542         Reverted floats number display to '#'. Perhaps I'll try again when the
6543         code base is sanitized a bit.
6544
6545 2002-08-12  Angus Leeming  <leeming@lyx.org>
6546
6547         * buffer.[Ch] (getLabelList): constify.
6548
6549 2002-08-07  André Pönitz <poenitz@gmx.net>
6550
6551         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
6552
6553         * funcrequest.h: extension to keep mouse (x,y) position
6554
6555 2002-08-12  Juergen Vigna  <jug@sad.it>
6556
6557         * BufferView2.C (insertErrors): forbid undo when inserting error
6558         insets.
6559
6560         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
6561
6562 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6563
6564         * ParagraphList.[Ch]: new files
6565
6566         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
6567
6568         * BufferView2.C (lockInset): ParagraphList changes
6569         * toc.C: ditto
6570         * text2.C: ditto
6571         * bufferlist.C: ditto
6572         * buffer.h: ditto
6573         * buffer.C: ditto
6574
6575 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6576
6577         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
6578         unused class variable counter_,
6579
6580         * paragraph.[Ch] (getFirstCounter): delete unused function
6581
6582         * counters.C: include LAssert.h
6583         (reset): add a new function with no arg, change other version to
6584         not have def. arg and to not allow empty arg.
6585
6586         * text2.C (setCounter): remove empty arg from call to Counters::reset
6587
6588 2002-08-11  John Levon  <levon@movementarian.org>
6589
6590         * Makefile.am: add WordLangTuple.h
6591
6592 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6593
6594         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
6595         lyxfunc.C lyxlex_pimpl.C: ws changes only.
6596
6597         * insets/insettext.C: InsetList changes
6598
6599         * graphics/GraphicsSupport.C (operator()): InsetList changes
6600
6601         * toc.C (getTocList): InsetList changes
6602
6603         * paragraph_pimpl.[Ch]: InsetList changes
6604
6605         * paragraph.[Ch]: InsetList changes
6606
6607         * buffer.C (inset_iterator): InsetList changes
6608         (setParagraph): ditto
6609         * buffer.h (inset_iterator): ditto
6610         * iterators.C (operator++): ditto
6611         * iterators.h: ditto
6612
6613         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
6614
6615         * InsetList.[Ch]: new files, most InsetList handling moved out of
6616         paragraph.C.
6617
6618         * BufferView2.C (removeAutoInsets): InsetList changes
6619         (lockInset): ditto
6620         (ChangeInsets): ditto
6621
6622 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6623
6624         * paragraph_pimpl.h (empty): new function
6625
6626         * paragraph.[Ch] (empty): new function
6627
6628         * other files: use the new Paragraph::empty function
6629
6630 2002-08-09  John Levon  <levon@movementarian.org>
6631
6632         * lyxtext.h: remove unused refresh_height
6633
6634 2002-08-09  John Levon  <levon@movementarian.org>
6635
6636         * Makefile.am:
6637         * sgml.h:
6638         * sgml.C:
6639         * buffer.C:
6640         * paragraph.h:
6641         * paragraph.C: move sgml char escaping out of paragraph
6642
6643         * paragraph.h:
6644         * paragraph.C: remove id setter
6645
6646         * buffer.C:
6647         * paragraph.C:
6648         * paragraph_pimpl.C: remove dead tex_code_break_column
6649
6650         * bufferview_funcs.C: small cleanup
6651
6652         * lyxfunc.C: remove dead proto
6653
6654         * lyxtext.h: make some stuff private. Remove some dead stuff.
6655
6656         * lyxgluelength.C: make as[LyX]String() readable
6657
6658 2002-08-08  John Levon  <levon@movementarian.org>
6659
6660         * LyXAction.h:
6661         * LyXAction.C:
6662         * MenuBackend.C:
6663         * ToolbarDefaults.C:
6664         * lyxfunc.C:
6665         * lyxrc.C:
6666         * toc.C: lyxaction cleanup
6667
6668 2002-08-08  John Levon  <levon@movementarian.org>
6669
6670         * BufferView2.C: small cleanup
6671
6672         * lyxfind.h:
6673         * lyxfind.C: move unnecessary header into the .C
6674
6675 2002-08-08  John Levon  <levon@movementarian.org>
6676
6677         * funcrequest.h: just tedious nonsense
6678
6679         * lyx_main.h:
6680         * lyx_main.C: cleanups
6681
6682         * buffer.C:
6683         * vspace.C: remove dead header lyx_main.h
6684
6685 2002-08-07  Angus Leeming  <leeming@lyx.org>
6686
6687         * Paragraph.[Ch]:
6688         * paragraph_pimpl.h:
6689         Forward declare class Counters in paragraph.h by moving the ctrs member
6690         variable into Paragraph::Pimpl.
6691         (counters): new method, returning a reference to pimpl_->ctrs.
6692
6693         * text2.C: ensuing changes.
6694
6695 2002-08-07  John Levon  <levon@movementarian.org>
6696
6697         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
6698
6699         * BufferView_pimpl.C: announce X selection on double/triple
6700           click
6701
6702         * lyx_main.C: use correct bool in batch dispatch
6703
6704         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
6705
6706 2002-08-07  André Pönitz <poenitz@gmx.net>
6707
6708         * funcrequest.h: new class to wrap a kb_action and its argument
6709
6710         * BufferView.[Ch]:
6711         * BufferView_pimpl[Ch]:
6712         * LaTeX.C:
6713         * LyXAction.[Ch]:
6714         * lyxfunc.[Ch]:
6715         * lyxrc.C: subsequent changes
6716
6717
6718 2002-08-07  John Levon  <levon@movementarian.org>
6719
6720         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
6721           document options change.
6722
6723 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
6724
6725         * counters.[Ch]
6726         * text2.C
6727         * paragraph.[Ch]
6728         * makefile.am: move counters functionality over from
6729         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
6730
6731 2002-08-06  John Levon  <levon@movementarian.org>
6732
6733         * WordLangTuple.h: new file for word + language code tuple
6734
6735         * SpellBase.h:
6736         * pspell.h:
6737         * pspell.C:
6738         * ispell.h:
6739         * ispell.C:
6740         * lyxtext.h:
6741         * text.C:
6742         * text2.C:
6743         * BufferView.h:
6744         * BufferView2.C: use WordLangTuple
6745
6746         * layout.h:
6747         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
6748
6749 2002-08-06  John Levon  <levon@movementarian.org>
6750
6751         * lyx_main.C: fix cmdline batch handling
6752
6753 2002-08-06  André Pönitz <poenitz@gmx.net>
6754
6755         * lyxrc.C: set default for show_banner to true
6756
6757 2002-08-06  John Levon  <levon@movementarian.org>
6758
6759         * pspell.C: fix a crash, and allow new aspell to work
6760
6761 2002-08-06  John Levon  <levon@movementarian.org>
6762
6763         * lyxfunc.C:
6764         * kbmap.C: small cleanup
6765
6766         * vspace.h:
6767         * vspace.C: add const
6768
6769 2002-08-05  John Levon  <levon@movementarian.org>
6770
6771         * LyXAction.C: back to tabular-insert
6772
6773 2002-08-04  John Levon  <levon@movementarian.org>
6774
6775         * BufferView.h:
6776         * BufferView.C: cosmetic change
6777
6778         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
6779
6780         * bufferlist.C:
6781         * buffer.h:
6782         * buffer.C:
6783         * lyxcb.h:
6784         * lyxcb.C:
6785         * lyxserver.C:
6786         * lyxvc.C:
6787         * vc-backend.C:
6788         * BufferView2.C: purge all "Lyx" not "LyX" strings
6789
6790         * lyxcursor.h:
6791         * lyxcursor.C: attempt to add some documentation
6792
6793         * lyxfunc.C:
6794         * commandtags.h:
6795         * LyXAction.C:
6796         * ToolbarDefaults.C:
6797         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
6798           merge with LFUN_TABULAR_INSERT
6799
6800         * Makefile.am:
6801         * SpellBase.h:
6802         * ispell.h:
6803         * ispell.C:
6804         * pspell.h:
6805         * pspell.C: split up i/pspell implementations into separate
6806           files, many cleanups
6807
6808         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
6809
6810         * text2.C: some cleanup
6811
6812         * lyxfunc.C: don't check for isp_command == "none" any more, it
6813           didn't make any sense
6814
6815 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
6816
6817         * counters.[Ch]
6818         * text2.C
6819         * paragraph.[Ch]
6820         * makefile.am: move counters functionality over
6821         from text2.C/paragraph.[Ch] to counters.[Ch], and
6822         make proper C++.
6823 2002-08-02  John Levon  <levon@movementarian.org>
6824
6825         * buffer.C: s/lyxconvert/lyx2lyx/
6826
6827 2002-08-02  Angus Leeming  <leeming@lyx.org>
6828
6829         * lyxlex.C: revert John's change as it breaks reading of the user
6830         preamble.
6831
6832 2002-08-02  Angus Leeming  <leeming@lyx.org>
6833
6834         * importer.C (Import):
6835         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
6836         changes due to LyXView::view() now returning a boost::shared_ptr.
6837
6838 2002-08-02  John Levon  <levon@movementarian.org>
6839
6840         * lyxlex.C: small cleanup
6841
6842 2002-08-02  John Levon  <levon@movementarian.org>
6843
6844         * text2.C (status): small cleanup, no logic change
6845
6846 2002-08-01  John Levon  <levon@movementarian.org>
6847
6848         * buffer.h:
6849         * buffer.C (writeFile): don't output alerts, caller
6850           handles this
6851
6852         * bufferlist.C:
6853         * lyx_cb.C: from above
6854
6855         * lyxfunc.C: allow to open non-existent files
6856
6857 2002-07-31  John Levon  <levon@movementarian.org>
6858
6859         * lyxserver.C: don't let incidental errors get
6860           in the way (errno)
6861
6862 2002-07-30  John Levon  <levon@movementarian.org>
6863
6864         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
6865
6866 2002-07-30  John Levon  <levon@movementarian.org>
6867
6868         * lyxserver.h:
6869         * lyxserver.C: remove I/O callback too
6870
6871 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6872
6873         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
6874         log.
6875
6876 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6877
6878         * many files: strip,frontStrip -> trim,ltrim,rtrim
6879
6880 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6881
6882         * PrinterParams.h: remove extern containsOnly, and include
6883         support/lstrings.h instead.
6884
6885         * LaTeX.C (scanAuxFile): modify because of strip changes
6886         (deplog): ditto
6887         * buffer.C (makeLaTeXFile): ditto
6888         * bufferparams.C (writeFile): ditt
6889         * lyxfont.C (stateText): ditto
6890         * lyxserver.C (read_ready): ditto
6891         * vc-backend.C (scanMaster): ditto
6892
6893         * BufferView_pimpl.h: ws changes
6894
6895         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
6896
6897 2002-07-26  André Pönitz <poenitz@gmx.net>
6898
6899         * kb_sequence.C: remove unnedred usings
6900
6901 2002-07-26  Juergen Vigna  <jug@sad.it>
6902
6903         * lyxfind.C (LyXReplace): we have to check better if the returned
6904         text is not of theLockingInset()->getLockingInset().
6905
6906 2002-07-25  Juergen Vigna  <jug@sad.it>
6907
6908         * lyxfind.C (LyXReplace): don't replace if we don't get the
6909         right LyXText.
6910
6911         * undo_funcs.C (createUndo): remove debugging code.
6912
6913 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
6914
6915         * buffer.C (parseSingleLyXformat2Token): Use default placement
6916         when reading old floats.
6917
6918         * FloatList.C (FloatList): Change the default placement of figure
6919         and tables to "tbp".
6920
6921 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
6922
6923         * MenuBackend.C: using std::max
6924
6925 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6926
6927         * MenuBackend.C (expandToc):
6928         (expandToc2): code moved from xforms menu frontend. It is now
6929         generic and TOCs are transparent to menu frontends.
6930
6931 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6932
6933         * toc.C (getTocList): protect against buf=0
6934
6935         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
6936         Menu as first parameter. Now, this calls itself recursively to
6937         expand a whole tree (this will be useful for TOC handling)
6938         (expandFloatInsert): remove 'wide' version of floats
6939
6940         * MenuBackend.h (submenuname): returns the name of the submenu.
6941         (submenu): returns the submenu itself, provided it has been
6942         created by MenuBackend::expand
6943
6944 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6945
6946         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
6947         insets which have noFontChange == true. (bug #172)
6948
6949 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6950
6951         * BufferView_pimpl.C: add connection objects and use them...
6952         (Pimpl): here.
6953
6954 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6955
6956         * MenuBackend.C (expandLastfiles):
6957         (expandDocuments):
6958         (expandFormats):
6959         (expandFloatListInsert):
6960         (expandFloatInsert):
6961         (expand): split expand in parts
6962
6963 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6964
6965         * lyx_gui.C: use lyx_gui::exit()
6966
6967 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6968
6969         * LyXAction.C: show the failing pseudo action
6970
6971 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
6972
6973         * buffer.C (readFile): Run the lyxconvert script in order to read
6974         old files.
6975
6976 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6977
6978         * LyXAction.C:
6979         * commandtags.h:
6980         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
6981
6982 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6983
6984         * LyXAction.C:
6985         * commandtags.h:
6986         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
6987
6988 2002-07-22  Herbert Voss  <voss@lyx.org>
6989
6990         * lengthcommon.C:
6991         * lyxlength.[Ch]: add support for the vertical lengths
6992
6993 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
6994
6995         * toc.[Ch]: std:: fixes
6996
6997 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6998
6999         * lyxrc.C: do not include lyx_main.h
7000
7001         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7002         for layouts
7003
7004         * lyxrc.C:
7005         * encoding.C:
7006         * bufferlist.C:
7007         * BufferView2.C: include "lyxlex.h"
7008
7009         * tabular.h:
7010         * bufferparams.h: do not #include "lyxlex.h"
7011
7012         * lyxtextclasslist.C (Add): remove method
7013         (classlist): renamed to classlist_
7014
7015         * paragraph_pimpl.C:
7016         * paragraph.C:
7017         * text2.C:
7018         * CutAndPaste.C:
7019         * bufferview_funcs.C:
7020         * bufferlist.C:
7021         * text.C:
7022         * LaTeXFeatures.C:
7023         * buffer.C:
7024         * toc.C (getTocList): use BufferParams::getLyXTextClass
7025
7026         * toc.C (getTocList): use InsetFloat::addToToc
7027
7028         * toc.[Ch]: new files, containing helper functions to handle table
7029         of contents
7030
7031         * lyxfunc.C (dispatch): no need to remove spaces around command
7032         given as a string
7033         (getStatus): handle LFUN_SEQUENCE by returning the status of the
7034         first command of the sequence; it is not very clever, but I do not
7035         have a better idea, actually
7036
7037         * LyXAction.C (LookupFunc): make sure to remove space at the
7038         beginning and end of the command
7039
7040 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7041
7042         * MenuBackend.C (getMenubar): new method: return the menubar of
7043         this menu set
7044         (read): treat differently reading of menu and menubar (in
7045         particular, the menubar has no name now)
7046         (Menu::menubar): remove
7047
7048         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7049         saving is finished
7050
7051 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7052
7053         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7054         a bibitem inset in a RTL paragraph.
7055
7056 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
7057
7058         * paragraph_pimpl.C: constify
7059
7060         * BufferView_pimpl.C:
7061         * LaTeX.C:
7062         * lyxfunc.C: fix dispatch in a nicer way
7063
7064 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7065
7066         * lyxfunc.C (dispatch):
7067         * BufferView_pimpl.C:
7068         * BufferView_pimpl.h:
7069         * BufferView.C:
7070         * BufferView.h: rename Dispatch() to dispatch()
7071
7072         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7073
7074         * lyxlayout.C (Read): honor DependsOn tag
7075
7076         * lyxlayout.[Ch] (depends_on): new method
7077
7078         * version.C.in: update lyx_docversion
7079
7080         * LaTeXFeatures.C (getMacros): only define \LyX when needed
7081
7082         * paragraph.C (validate): remove from here...
7083         * paragraph_pimpl.C (validate): ... and move here
7084         (isTextAt): make it const
7085
7086         * buffer.C (getLists): ws cleanup
7087
7088 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7089
7090         * language.C (read): Use iso8859-1 encoding in latex_lang
7091         (this prevents LyX from crashing when using iso10646-1 encoding).
7092
7093 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7094
7095         * text2.C (toggleInset): if cursor is inside an inset, close the
7096         inset and leave cursor _after_ it
7097
7098 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7099
7100         * lyxfunc.C: move minibuffer completion handling out of here
7101
7102 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7103
7104         * BufferView_pimpl.C:
7105         * LaTeX.C: fix dispatch calls
7106
7107 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
7108
7109         * text.C (drawChars): Fix Arabic text rendering.
7110
7111 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
7112
7113         * LyXAction.C:
7114         * commandtags.h:
7115         * lyxfunc.C: remove message-push/pop
7116
7117         * lyxserver.C:
7118         * lyxfunc.h:
7119         * lyxfunc.C: rationalise some code by removing verboseDispatch
7120           in favour of a bool argument to dispatch()
7121
7122 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7123
7124         * lyx_main.C (init): make sure to read symlinks as absolute paths
7125
7126 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7127
7128         * lyxfunc.h:
7129         * lyxfunc.C: no need for commandshortcut to be a member
7130
7131 2002-07-15  André Pönitz <poenitz@gmx.net>
7132
7133         * converter.C: add support for $$s (scripts from lib/scripts dir)
7134         * lyx_main.C: white space
7135
7136 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7137
7138         * bufferlist.C:
7139         * lyxrc.h:
7140         * lyxrc.C: remove second exit confirmation
7141
7142 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7143
7144         * BufferView.h:
7145         * BufferView.C:
7146         * BufferView2.C:
7147         * BufferView_pimpl.h:
7148         * BufferView_pimpl.C:
7149         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
7150
7151 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7152
7153         * MenuBackend.C (expand): add numeric shortcuts to document menu
7154
7155         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
7156
7157 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7158
7159         * lyxfont.C (setLyXFamily):
7160         (setLyXSeries):
7161         (setLyXShape):
7162         (setLyXSize):
7163         (setLyXMisc):
7164         (lyxRead):
7165         * debug.C (value):
7166         * buffer.C (asciiParagraph): use ascii_lowercase
7167
7168 2002-07-15  Mike Fabian  <mfabian@suse.de>
7169
7170         * lyxlex_pimpl.C (search_kw):
7171         * lyxlex.C (getLongString):
7172         * converter.h (operator<):
7173         * converter.C (operator<):
7174         * buffer.C (parseSingleLyXformat2Token):
7175         (asciiParagraph):
7176         * ToolbarDefaults.C (read):
7177         * MenuBackend.C (checkShortcuts):
7178         (read):
7179         * LColor.C (getFromGUIName):
7180         (getFromLyXName): use the compare_ascii_no_case instead of
7181         compare_no_case, because in turkish, 'i' is not the lowercase
7182         version of 'I', and thus turkish locale breaks parsing of tags.
7183
7184 2002-07-16  Angus Leeming  <leeming@lyx.org>
7185
7186         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
7187         now takes a Buffer const & argument.
7188
7189 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
7190
7191         * BufferView.C (resize): check there's a buffer to resize
7192
7193 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
7194
7195         * lyxfunc.C: remove dead code
7196
7197         * lyxserver.h:
7198         * lyxserver.C: use lyx_guii::set_read_callback
7199
7200 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
7201
7202         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
7203         an inset in a RTL paragraph.
7204
7205 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7206
7207         * lyxfunc.C: repaint after a font size update
7208
7209 2002-07-15  André Pönitz <poenitz@gmx.net>
7210
7211         * lyxlength.C: inBP should be able to return negative values
7212
7213 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7214
7215         * lyxfunc.C: use lyx_gui::update_fonts()
7216
7217 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7218
7219         * lyxfunc.C: use lyx_gui::update_color()
7220
7221 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7222
7223         * bufferlist.C:
7224         * lyxfunc.h:
7225         * lyxfunc.C:
7226         * lyxrc.h:
7227         * lyxrc.C: remove file->new asks for name option, and let
7228           buffer-new take an argument
7229
7230 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7231
7232         * BufferView_pimpl.C: remove unneeded extra repaint()
7233
7234 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
7235
7236         * LyXAction.C: allow command-sequence with NoBuffer
7237
7238         * lyxfunc.C: don't insist on trailing ';' for command-sequence
7239
7240 2002-07-10  Angus Leeming  <leeming@lyx.org>
7241
7242         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7243
7244 2002-07-09  Angus Leeming  <leeming@lyx.org>
7245
7246         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7247
7248 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7249
7250         * lengthcommon.h: whitespace
7251
7252         * lyxfunc.C: update scrollbar after goto paragraph
7253
7254         * lyxtext.h: factor out page break drawing, and fix it so
7255           page break/added space paints as selected nicely
7256
7257 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7258
7259         * BufferView_pimpl.C: add FIXMEs, clean up a little
7260
7261 2002-07-09  André Pönitz <poenitz@gmx.net>
7262
7263         * lyxfont.[Ch]: support for wasy symbols
7264
7265 2002-07-08  André Pönitz <poenitz@gmx.net>
7266
7267         * BufferView_pimpl.C: apply John's patch for #93.
7268
7269 2002-07-05  Angus Leeming  <leeming@lyx.org>
7270
7271         * BufferView_pimpl.C (buffer): generate previews if desired.
7272
7273         * LColor.h: add "preview" to the color enum.
7274
7275         * LColor.C (LColor): add a corresponding entry to the items array.
7276
7277         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7278         with this buffer.
7279
7280 2002-07-05  Angus Leeming  <leeming@lyx.org>
7281
7282         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7283         The body of the code is now in the method that is passed an ostream &
7284         rather than a file name.
7285         Pass an additional only_preamble parameter, useful for the forthcoming
7286         preview stuff.
7287
7288 2002-07-03  André Pönitz <poenitz@gmx.net>
7289
7290         * lyxfunc.C: simplify getStatus() a bit for math stuff
7291
7292 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7293
7294         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7295
7296 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7297
7298         * text.C (changeRegionCase): do not change case of all the
7299         document when region ends at paragraph end (bug #461)
7300
7301 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7302
7303         * paragraph.C (startTeXParParams):
7304         (endTeXParParams): add \protect when necessary
7305
7306 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7307
7308         * BufferView_pimpl.C (workAreaExpose): remove warning
7309
7310 2002-06-27  Angus Leeming  <leeming@lyx.org>
7311
7312         * Makefile.am: add lyxlayout_ptr_fwd.h.
7313
7314 2002-06-26  André Pönitz <poenitz@gmx.net>
7315
7316         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7317
7318 2002-06-25  Angus Leeming  <leeming@lyx.org>
7319
7320         * lyxfunc.C (dispatch): Comment out the call to
7321         grfx::GCache::changeDisplay. The method no longer exists now that the
7322         pixmap generation part of the graphics loader has been moved into
7323         InsetGraphics.
7324
7325 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7326
7327         * text2.C: layout as layout
7328
7329         * text.C: layout as layout
7330
7331         * tabular.C (OldFormatRead): layout as layout
7332
7333         * paragraph_pimpl.C (TeXDeeper): layout as layout
7334         (realizeFont): layout as layout
7335
7336         * paragraph.C (writeFile): layout as layout
7337         (validate): layout as layout
7338         (getFont): layout as layout
7339         (getLabelFont): layout as layout
7340         (getLayoutFont): layout as layout
7341         (breakParagraph): layout as layout
7342         (stripLeadingSpaces): layout as layout
7343         (getEndLabel): layout as layout
7344         (getMaxDepthAfter): layout as layout
7345         (applyLayout): layout as layout
7346         (TeXOnePar): layout as layout
7347         (simpleTeXOnePar): layout as layout
7348         (TeXEnvironment): layout as layout
7349         (layout): layout as layout
7350         (layout): layout as layout
7351
7352         * lyxtextclass.C (compare_name): new functor to work with
7353         shared_ptr, layout as layout
7354         (Read): layout as layout
7355         (hasLayout): layout as layout
7356         (operator): layout as layout
7357         (delete_layout): layout as layout
7358         (defaultLayout): layout as layout
7359
7360         * lyxlayout_ptr_fwd.h: new file
7361
7362         * lyxlayout.C (Read): layout as layout
7363
7364         * lyx_cb.C (MenuInsertLabel): layout as layout
7365
7366         * bufferlist.C (newFile): layout as layout
7367
7368         * buffer.C (readLyXformat2): layout as layout
7369         (parseSingleLyXformat2Token): layout as layout
7370         (insertStringAsLines): layout as layout
7371         (asciiParagraph): layout as layout
7372         (latexParagraphs): layout as layout
7373         (makeLinuxDocFile): layout as layout
7374         (simpleLinuxDocOnePar): layout as layout
7375         (makeDocBookFile): layout as layout
7376         (simpleDocBookOnePar): layout as layout
7377         (getLists): layout as layout
7378
7379         * LaTeXFeatures.C (getTClassPreamble): layout as layout
7380
7381         * CutAndPaste.C (cutSelection): layout as layout
7382         (pasteSelection): layout as layout
7383         (SwitchLayoutsBetweenClasses): layout as layout
7384
7385         * BufferView_pimpl.C (Dispatch): layout as layout
7386         (smartQuote): layout as layout
7387
7388         * BufferView2.C (unlockInset): layout as layout
7389
7390 2002-06-24  André Pönitz <poenitz@gmx.net>
7391
7392         * lyxfunc.C: fix #487
7393
7394 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7395
7396         * lyxrc.h:
7397         * lyxrc.C:
7398         * lyxfunc.C: remove display_shortcuts, show_banner
7399
7400 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7401
7402         * Buffer_pimpl.C: oops, update on resize
7403
7404 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7405
7406         * buffer.C:
7407         * converter.C:
7408         * exporter.C:
7409         * lyxfunc.C:
7410         * BufferView.h:
7411         * BufferView.C: use repaint()
7412
7413         * BufferView_pimpl.h:
7414         * BufferView_pimpl.C: s/updateScreen()/repaint()/
7415           as it's a clearer description. Remove superfluous
7416           redraws.
7417
7418 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7419
7420         * text.C: fix bug 488. Not ideal, but getting
7421           getWord() to work properly for the insets that
7422           matter is more difficult ...
7423
7424 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7425
7426         * BufferView_pimpl.C:
7427         * LyXAction.C:
7428         * commandtags.h:
7429         * lyxfunc.C: remove the six million index lyxfuncs to just
7430           one, and DTRT (bug 458)
7431
7432 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7433
7434         * BufferView.h:
7435         * BufferView.C:
7436         * BufferView_pimpl.h:
7437         * BufferView_pimpl.C: clean up resize() stuff,
7438           and unnecessary updateScreen()s
7439
7440 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7441
7442         * BufferView.h:
7443         * BufferView.C:
7444         * BufferView_pimpl.h:
7445         * BufferView_pimpl.C:
7446         * lyxfind.h:
7447         * lyxfind.C:
7448         * minibuffer.C: remove focus management of workarea,
7449           not needed. Use screen's greyOut()
7450
7451 2002-06-17  Herbert Voss  <voss@lyx.org>
7452
7453         * converter.C: (convert) do not post a message, when converting
7454         fails, let the calling function decide what to do in this case
7455
7456 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
7457
7458         * lyxfunc.C: tidy up a little
7459
7460 2002-06-16    <alstrup@diku.dk>
7461
7462         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
7463         Got rid of FORMS_H_LOCATION include. Now we are
7464         GUII.
7465
7466 2002-06-15  LyX Development team  <lyx@rilke>
7467
7468         * buffer.[Ch] (sgmlOpenTag):
7469         (sgmlCloseTag): Added support for avoiding pernicious mixed
7470         content. Return number of lines written.
7471
7472         (makeLinuxDocFile):
7473         (makeDocBookFile): Fixed calls to sgml*Tag.
7474         Simple white space clean.
7475
7476         (simpleDocBookOnePar): Simple white space clean.
7477
7478         * tabular.[Ch] (docBook): Renamed to docbook and got another
7479         argument to related with the pernicious mixed content.
7480
7481         (docbookRow): Fixed calls for docbook inset method.
7482
7483 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
7484
7485         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
7486         so it's X11 independent.
7487
7488         * kb*.[Ch]: ditto.
7489
7490         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
7491
7492 2002-06-15  Lyx Development team  <lyx@electronia>
7493
7494         * intl.h: Renamed getTrans to getTransManager.
7495
7496 2002-06-14  Angus Leeming  <leeming@lyx.org>
7497
7498         * Makefile.am: nuke forgotten stl_string_fwd.h.
7499
7500 2002-06-12  Angus Leeming  <leeming@lyx.org>
7501
7502         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
7503
7504 2002-06-13  Angus Leeming  <leeming@lyx.org>
7505
7506         * LaTeX.C:
7507         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
7508
7509 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
7510
7511         * kbmap.C (getiso): add support for cyrillic and greek
7512
7513 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7514
7515         * BufferView.h:
7516         * BufferView.C:
7517         * BufferView_pimpl.h:
7518         * BufferView_pimpl.C: move bogus scrolling logic
7519           to xforms
7520
7521 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7522
7523         * lyxfunc.C:
7524         * BufferView_pimpl.C: view->resize() change
7525
7526 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7527
7528         * BufferView_pimpl.C: topCursorVisible
7529           prototype change
7530
7531 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7532
7533         * Makefile.am:
7534         * lyx_gui.h:
7535         * lyx_gui.C: move to frontends/
7536
7537         * main.C:
7538         * lyx_main.h:
7539         * lyx_main.C: changes from above
7540
7541 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7542
7543         * intl.C:
7544         * intl.h:
7545         * kbmap.C:
7546         * kbsequence.C:
7547         * lyx_cb.C:
7548         * lyx_main.C: minor tidy
7549
7550 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7551
7552         * BufferView_pimpl.h:
7553         * BufferView_pimpl.C:
7554         * BufferView.h:
7555         * BufferView.C: make painter() const,
7556           remove dead code
7557
7558         * BufferView2.C: use screen() accessor
7559
7560         * lyx_main.h:
7561         * lyx_main.C: some minor cleanup
7562
7563 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7564
7565         * BufferView_pimpl.h:
7566         * BufferView_pimpl.C: remove enter/leaveView,
7567           use workHeight()
7568
7569 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7570
7571         * BufferView.h:
7572         * BufferView.C:
7573         * BufferView2.C:
7574         * BufferView_pimpl.h:
7575         * BufferView_pimpl.C: only construct screen once,
7576           rename
7577
7578         * lyxrc.C: remove pointless comment
7579
7580 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
7581
7582         * BufferView.h:
7583         * BufferView.C: remove active() and belowMouse()
7584
7585         * BufferView_pimpl.h:
7586         * BufferView_pimpl.C: use workarea() not workarea_,
7587           and make it use a scoped_ptr instead
7588
7589 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
7590
7591         * lyx_gui.C: add debug message on BadWindow
7592
7593 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7594
7595         * sp_spell.C: fdopen is not part of the C++ standard.
7596
7597         * paragraph.C (InsetIterator): use >= instead of ==
7598
7599 2002-06-07  Angus Leeming  <leeming@lyx.org>
7600
7601         Fixes needed to compile with Compaq cxx 6.5.
7602         * BufferView_pimpl.C:
7603         * DepTable.C:
7604         * buffer.C:
7605         * converter.C:
7606         * encoding.C:
7607         * lyx_gui.C:
7608         * lyx_main.C:
7609         * lyxtextclasslist.C:
7610         * minibuffer.C:
7611         * sp_spell.C:
7612         * tabular_funcs.C:
7613         * vc-backend.C:
7614         all c-library variables have been moved into namespace std. Wrap
7615         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
7616
7617         * lyxlength.C:
7618         * tabular-old.C:
7619         * tabular.C:
7620         Add a using std::abs declaration.
7621
7622         * kbmap.h (modifier_pair):
7623         * paragraph.h (InsetTable, InsetList):
7624         * lyxfont.h (FontBits):
7625         type definition made public.
7626
7627         * bufferlist.C (emergencyWriteAll): the compiler complains that
7628         there is more than one possible lyx::class_fun template to choose from.
7629         I re-named the void specialisation as lyx::void_class_fun.
7630
7631         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
7632
7633         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
7634         the compiler is is unable to find tostr in write_attribute.
7635
7636 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7637
7638         * buffer.C (sgmlError): hide #warning
7639
7640 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7641
7642         * xtl/*: get rid of xtl, which is not in use anyway
7643
7644         * LyXAction.C (init):
7645         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
7646         were unimplemented xtl experimentation
7647
7648 2002-06-04  André Pönitz <poenitz@gmx.net>
7649
7650         * lyxfunc.C: disable array operation on simple formulae
7651
7652 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
7653
7654         * converter.C: constify a bit
7655
7656 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
7657
7658         * lyx_gui.C: check xforms version correctly
7659
7660 2002-04-30  Herbert Voss  <voss@lyx.org>
7661
7662         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
7663         "keep" option
7664
7665 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
7666
7667         * lyxvc.C: fix bug 416 (make sure buffer is saved before
7668           attempt to register it with a VCS)
7669
7670 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7671
7672         * lyx_main.C (init): honor variables LYX_DIR_13x and
7673         LYX_USERDIR_13x
7674
7675 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
7676
7677         * buffer.h:
7678         * buffer.C:
7679         * lyx_main.C: fix a crash on bad command line,
7680           and give a useful exit status on error
7681
7682         * lyxfunc.C (doImport): allow -i lyx to work
7683
7684 2002-03-30  André Pönitz <poenitz@gmx.net>
7685
7686         * lyxfunc.C: mathed font changes
7687
7688 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
7689
7690         * LaTeX.C:
7691         * importer.h:
7692         * importer.C:
7693         * lyx_sty.h:
7694         * lyx_sty.C:
7695         * lyxlex.C:
7696         * lyxrow.h:
7697         * lyxtext.h:
7698         * paragraph.h:
7699         * paragraph.C:
7700         * texrow.h:
7701         * texrow.C:
7702         * text.C:
7703         * trans_mgr.h: srcdocs, and some minor cleanups
7704
7705 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7706
7707         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
7708         call getFont all the time)
7709
7710 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7711
7712         * switch from SigC signals to boost::signals
7713
7714 2002-05-29  André Pönitz <poenitz@gmx.net>
7715
7716         * paragraph_pimpl.C (getChar): don't call size() too often...
7717
7718 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7719
7720         * paragraph_pimpl.C (insertChar): do not try to update tables when
7721         appending (pos == size())
7722
7723         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
7724         in order to reduce drastically the number of comparisons needed to
7725         parse a large document
7726
7727 2002-05-29  André Pönitz <poenitz@gmx.net>
7728
7729         * text.C:
7730         * text2.C:
7731         * lyxtextclass.C:
7732         * sp_pspell.h:
7733         * textclasslist.[Ch]:
7734         * sp_ispell.h: whitespace change
7735
7736 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7737
7738         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
7739         lyxaction directly now.
7740
7741 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
7742
7743         * trans.C:
7744         * lyxfont.C:
7745         * lyxvc.C: remove unused headers
7746
7747 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
7748
7749         * Makefile.am:
7750         * buffer.h:
7751         * undostack.h:
7752         * undostack.C:
7753         * undo_funcs.h:
7754         * undo_funcs.C: some cleanups. Use shared_ptr
7755           and a template for the undo stacks.
7756
7757 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
7758
7759         * BufferView_pimpl.h:
7760         * BufferView_pimpl.C:
7761         * kbmap.h:
7762         * kbmap.C:
7763         * kbsequence.h:
7764         * kbsequence.C:
7765         * lyxfunc.h:
7766         * lyxfunc.C:
7767         * text2.C: use key_state/mouse_state
7768
7769 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7770
7771         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
7772         and LSubstring
7773
7774         * chset.C: change include order
7775         (loadFile): use boost regex and get rid of LRegex and LSubstring
7776
7777         * Makefile.am (BOOST_LIBS): new variable
7778         (lyx_LDADD): use it
7779
7780         * LaTeX.C: change include order.
7781         (scanAuxFile): use boost regex and get rid of LRegex and
7782         LSubstring
7783         (deplog): ditto
7784
7785 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
7786
7787         * ColorHandler.h:
7788         * ColorHandler.C:
7789         * FontInfo.h:
7790         * FontInfo.C: moved to frontends/xforms/
7791
7792         * FontLoader.h:
7793         * FontLoader.C: moved into frontends for GUIIzation
7794
7795         * Makefile.am:
7796         * lyx_gui.C:
7797         * lyxfont.C:
7798         * lyxfunc.C: changes from above
7799
7800 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
7801
7802         * LColor.C: remove spurious X include
7803
7804         * BufferView_pimpl.C:
7805         * Makefile.am:
7806         * font.h:
7807         * font.C:
7808         * text.C:
7809         * text2.C: move font metrics to frontends/
7810
7811 2002-05-24  Juergen Vigna  <jug@sad.it>
7812
7813         * undo_funcs.C (textHandleUndo): fix the cursor selection after
7814         setting the undo_cursor.
7815
7816         * ParagraphParameters.h: include local includes first.
7817
7818 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7819
7820         * BufferView_pimpl.C:
7821         * BufferView_pimpl.h:
7822         * Makefile.am:
7823         * WorkArea.h:
7824         * WorkArea.C:
7825         * screen.C: move WorkArea into frontends/
7826
7827         * lyxscreen.h:
7828         * screen.C:
7829         * text.C:
7830         * BufferView.C:
7831         * BufferView2.C: move LyXScreen into frontends/
7832
7833         * lyxlookup.h:
7834         * lyxlookup.C:
7835         * lyx_gui.C: move lyxlookup into frontends/xforms/
7836
7837 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7838
7839         * BufferView2.C:
7840         * BufferView_pimpl.C:
7841         * FontLoader.C:
7842         * LyXView.h:
7843         * LyXView.C:
7844         * Makefile.am:
7845         * WorkArea.C:
7846         * XFormsView.h:
7847         * XFormsView.C:
7848         * buffer.C:
7849         * bufferlist.C:
7850         * bufferview_funcs.C:
7851         * converter.C:
7852         * importer.C:
7853         * lyx_cb.C:
7854         * lyx_gui.C:
7855         * lyx_main.C:
7856         * lyx_find.C:
7857         * lyxfunc.C:
7858         * lyxvc.C:
7859         * minibuffer.C:
7860         * text.C:
7861         * text2.C:
7862         * trans.C:
7863         * vc-backend.C: move LyX/XFormsView into frontends/
7864
7865 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7866
7867         * Makefile.am:
7868         * PainterBase.C:
7869         * PainterBase.h:
7870         * Painter.C:
7871         * Painter.h:
7872         * WorkArea.C:
7873         * WorkArea.h:
7874         * screen.C:
7875         * tabular.C:
7876         * text.C:
7877         * text2.C: move Painter to frontends/
7878
7879 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7880
7881         * buffer.C: comment out some some code that depend upon lyx_format
7882         < 220
7883
7884         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
7885         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
7886
7887         * buffer.h (NO_COMPABILITY): turn off compability
7888
7889         * ColorHandler.C: include scoped_array.hpp
7890
7891         * font.C: Use more specific smart_ptr header.
7892         * Painter.C: ditto
7893         * gettext.C: ditto
7894         * ShareContainer.h: ditto
7895         * lyx_main.h: ditto
7896         * kbmap.h: ditto
7897         * FontInfo.h: ditto
7898         * BufferView_pimpl.h: ditto
7899         * ColorHandler.h: ditto
7900
7901         * kbmap.C (defkey): change call to shared_ptr::reset
7902
7903 2002-05-21  Juergen Vigna  <jug@sad.it>
7904
7905         * buffer.C (insertErtContents): fix to insert ert asis if it is
7906         non empty. Skip it completely if it contains only whitespaces.
7907
7908 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
7909
7910         * BufferView_pimpl.C:
7911         * BufferView2.C: clear selection on paste (bug 393)
7912
7913 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7914
7915         * DepTable.C: include ctime
7916
7917 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
7918
7919         * buffer.C (latexParagraphs): Add new argument (moving_arg).
7920
7921 2002-05-14  Juergen Vigna  <jug@sad.it>
7922
7923         * text.C (breakParagraph): fixed function to honor the keepempty
7924         layout in the right maner and also to permit the right breaking
7925         algorithm on empty or non empyt keepempty paragraphs.
7926
7927         * paragraph.C (breakParagraph): we have to check also if the par
7928         is really empty (!size()) for isempty otherwise we do the wrong
7929         paragraph break.
7930
7931 2002-05-10  Juergen Vigna  <jug@sad.it>
7932
7933         * buffer.[Ch] : The following are only changes to the ert
7934         compatibility read reading old LaTeX layout and font stuff and
7935         convert it to ERTInsets.
7936
7937         * buffer.h: added isErtInset().
7938
7939         * buffer.C (struct ErtComp): add a fromlayout bool to check
7940         if we're inside a LaTeX layout.
7941         (isErtInset): new helper function.
7942         (insertErtContents): look for other ert insets before this one
7943         and insert the contents there, so that we don't have subsequent
7944         ERT insets with nothing between them. This way we create only one
7945         inset with multiple paragraphs. Also check if we don't insert only
7946         spaces ' ' as they are ignored anyway afterwards in the .tex file
7947         so if we have only spaces we will ignore this latex part in the
7948         new file.
7949         (parseSingleLyXformat2Token \\layout): better compatibility when
7950         reading layout-latex stuff.
7951         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
7952         language tag.
7953         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
7954         stuff after reading the inset only get the information back from
7955         the stack.
7956
7957 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
7958
7959         * buffer.C (makeLaTeXFile): Put language options after loading babel.
7960
7961         * LaTeXFeatures.C (getBabelOptions): New method.
7962
7963 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7964
7965         * BufferView_pimpl.C (Dispatch): work around missing argument for
7966         'layout'
7967
7968 2002-05-08  Juergen Vigna  <jug@sad.it>
7969
7970         * text.C (leftMargin): handle paragraph leftindent.
7971
7972         * paragraph.C (writeFile): write the new \\leftindent tag.
7973         (validate): handle leftindent code.
7974         (TeXEnvironment): handle paragraphleftindent code again.
7975
7976         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
7977
7978         * buffer.C (parseSingleLyXformat2Token): added compatibility code
7979         for paragrap_extra indent code and new token \\leftindent.
7980         (latexParagraphs): handle the leftindent as environment.
7981
7982         * ParameterStruct.h: added leftindent support.
7983
7984         * ParagraphParameters.C (leftIndent): added support functions for
7985         the paragraph left indent.
7986
7987         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
7988         more appropriate.
7989
7990 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
7991
7992         * paragraph.C (isRightToLeftPar): Return false for a paragraph
7993         inside insetERT.
7994
7995         * text.C (computeBidiTables): No bidi in insetERT.
7996
7997         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
7998         in RTL documents.
7999
8000 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8001
8002         * version.C.in: pre 5
8003
8004 2002-05-02  José Matos  <jamatos@fep.up.pt>
8005         * buffer.C (makeDocBookFile): white space changes, add newline to
8006         command styles.
8007         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8008
8009         * tabular.C (docBook): fix typo.
8010
8011 2002-05-03  Juergen Vigna  <jug@sad.it>
8012
8013         * screen.C (drawFromTo): recalculate the rowpointer if we had a
8014         change in LyXText as we can not be sure it was not freed.
8015         (drawOneRow): remove unused code.
8016
8017         * text.C (drawInset): redo the calculation of the need_break_row as
8018         it could have a row which was already freed.
8019         (draw): look at the return value of drawInset and return false if
8020         it also returned false.
8021         (paintRowText): look at the return value of draw and return false if
8022         it also returned false.
8023
8024         * lyxtext.h: added bool return type to drawInset() and draw() so that
8025         if we have a change in the row so that the rowbreak has to be redone
8026         we abort drawing as it will be called again.
8027
8028 2002-05-02  Juergen Vigna  <jug@sad.it>
8029
8030         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8031         a change in the maintext also if we're inside an inset.
8032         (Dispatch): set the cursor again after a break line and after the
8033         screen has been updated as it could be we're in a different row.
8034
8035         * text2.C (fixCursorAfterDelete): check to make sure we don't request
8036         to set the cursor behind the pargraph with > size().
8037         (setCursor): check also for the same paragraph when checking where
8038         to put the cursor if we have a NFR inset.
8039
8040         * buffer.C (parseSingleLyXformat2Token): move the compatibility
8041         parts of layout read further up as it still was in the wrong
8042         position.
8043
8044 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8045
8046         * screen.C (drawFromTo): change sine fullRebreak always return
8047         true.
8048
8049         * buffer.C (parseSingleLyXformat2Token): reindent some
8050
8051         * BufferView_pimpl.C (update): change since fullRebreak always
8052         return true.
8053         (Dispatch): git rid of the last hardcoded "Standard"s.
8054
8055 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8056
8057         * text2.[Ch] (fullRebreak): make it return void now that we always
8058         returned true.
8059
8060 2002-04-30  Juergen Vigna  <jug@sad.it>
8061
8062         * buffer.C (parseSingleLyXformat2Token): reset the font before the
8063         ert compatibility check for "latex" layout.
8064
8065 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
8066
8067         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8068         minipages: use col% instead of p%, and also use the current font.
8069         (makeLaTeXFile): Fix use babel condition.
8070         (parseSingleLyXformat2Token): Correct font when reading old floats.
8071
8072 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
8073
8074         * BufferView_pimpl.C (Dispatch): Check that float type exists when
8075         inserting list of floats.
8076
8077 2002-04-25  Herbert Voss  <voss@lyx.org>
8078
8079         * MenuBackend.C (expand): don't add the graphics extensions to the
8080         export menu
8081
8082 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8083
8084         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8085         non-existing layout, do not complain if it was the default layout
8086         of the original class (bug #342)
8087
8088 2002-04-24  Juergen Vigna  <jug@sad.it>
8089
8090         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
8091         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
8092
8093 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
8094
8095         * buffer.C (getBibkeyList): If using \bibliography, return the
8096         option field with the reference itself. Enables us to provide natbib
8097         support when using \bibliography.
8098
8099 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
8100
8101         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
8102
8103         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8104         natbib is provided by the LaTeX class.
8105
8106 2002-04-23  Juergen Vigna  <jug@sad.it>
8107
8108         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
8109         Wakeup functions.
8110
8111         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
8112
8113 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8114
8115         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
8116
8117         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
8118         ensuremath around textordmasculine, textordfeminine and
8119         textdegree.
8120
8121 2002-04-19  Juergen Vigna  <jug@sad.it>
8122
8123         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
8124         reinitializing the buffer otherwise row-dimensions may be wrong.
8125         (update): reset also the selection cursors if they do exits otherwise
8126         their x/y positions may be wrong.
8127
8128         * text2.C (cursorDown): don't enter the inset if we came from a row
8129         above and are one row over the inset.
8130
8131         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
8132         really leaving an inset.
8133
8134 2002-04-18  Juergen Vigna  <jug@sad.it>
8135
8136         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
8137         of the selected paragraph does not have the selected layout also if
8138         the last one had!
8139
8140         * text2.C (setLayout): fixed bug which did not change last selected
8141         paragraph.
8142
8143         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
8144         changed the read and substituted \\end_float with \\end_inset!
8145
8146         * BufferView_pimpl.C (cursorPrevious):
8147         (cursorNext): fixed to make it work with rows heigher than the work
8148         area without moving the cursor only the draw of the row.
8149         (workAreaMotionNotify): fix jumping over high rows.
8150
8151 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8152
8153         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
8154         Ressler.
8155
8156 2002-04-16  Juergen Vigna  <jug@sad.it>
8157
8158         * text2.C (setCursor): set also the irow().
8159         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
8160         (cursorUp):
8161         (cursorDown): support for locking an inset if the x_fix value goes
8162         inside it. That way I can transverse insets too with cursor up/down.
8163
8164         * lyxrow.h: added irow helper function same as other (i) functions.
8165
8166         * BufferView_pimpl.C (cursorPrevious):
8167         (cursorNext): fixed for insets!
8168
8169 2002-04-15  Juergen Vigna  <jug@sad.it>
8170
8171         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
8172         position otherwise it is wrong in some cases.
8173
8174         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
8175         inside the inset before the call.
8176
8177 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
8178
8179         * buffer.[Ch] (getBibkeyList): make it const.
8180
8181 2002-04-12  Juergen Vigna  <jug@sad.it>
8182
8183         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
8184
8185         * text2.C (getCursorX): new helper function
8186         (setCursor): compute also ix_
8187         (setCursorFromCoordinates): set also ix.
8188
8189         * lyxcursor.h: added ix_ and helper functions.
8190
8191         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8192
8193         * buffer.C (insertStringAsLines): dont break paragraph if the this
8194         paragraph is inside an inset which does not permit it!
8195
8196         * text.C (breakParagraph): honor keepempty flag and break the paragraph
8197         also with no chars on this paragraph.
8198         (paintRowText): only paint stuff if it's inside the workarea!
8199
8200         * paragraph.C (breakParagraph): honor keepempty flag and break the
8201         paragraph always below not above.
8202
8203         * BufferView2.C (unlockInset): update the paragraph layout on inset
8204         unlock as we changed paragraph in such a case.
8205
8206         * lyxfind.C (LyXFind): clear the former selection if not found!
8207
8208         * text2.C (insertInset): freeze Undo after setUndo so that it is not
8209         again called in insertChar().
8210
8211         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8212         an inset which uses the whole row!
8213         (rightMargin): ditto.
8214         (insertChar): force a rebreak if we inserted an inset!
8215
8216 2002-03-28  Herbert Voss  <voss@lyx.org>
8217
8218         * lyxlength.[Ch]: add inBP() to get the right PS-point
8219         units (BigPoint). With inPixels we have rounding errors
8220
8221 2002-04-11  Juergen Vigna  <jug@sad.it>
8222
8223         * text2.C (setCursorFromCoordinates): set iy to the right value.
8224         (setCursor): add check if row->previous exists!
8225
8226         * buffer.C (parseSingleLyXformat2Token): reset font after read of
8227         an old float_type as this was the case in the old code!
8228
8229         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8230
8231         * BufferView2.C (showLockedInsetCursor): use iy
8232         (fitLockedInsetCursor): ditto
8233
8234         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8235         locked insets as there we have the right value now.
8236
8237         * lyxcursor.C: added iy_ variable and iy functions to set to the
8238         baseline of cursor-y of the locked inset.
8239
8240         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8241         (setCursor): fixed for insets which need a full row.
8242
8243         * text.C (rowLastPrintable): don't ignore the last space when before
8244         an inset which needs a full row.
8245         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8246         as last character of a row when before a inset which needs a full row.
8247
8248 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8249
8250         * version.C.in: update date
8251
8252         * text2.C (fullRebreak): try to always return true and see what
8253         happens...
8254
8255 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8256
8257         * MenuBackend.C (expand): use Floating::listName
8258
8259         * FloatList.C (FloatList): add listName argument to the built-in
8260         floats
8261
8262         * Floating.[Ch]: add listName member, which is the 'List of XXX'
8263         text associated with the float.
8264
8265 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8266
8267         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8268
8269 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8270
8271         * ShareContainer.h: add a couple of missing typenames.
8272
8273 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
8274
8275         * lyxrc.C (getDescription): use _() correctly rather than N_().
8276
8277 2002-03-28  Herbert Voss  <voss@lyx.org>
8278
8279         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8280         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8281
8282 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8283
8284         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8285         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8286
8287 2002-03-29  Juergen Vigna  <jug@sad.it>
8288
8289         * lyxfunc.C (dispatch): add a missing fitCursor call.
8290
8291         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8292         it was scrolled by a cursor move, so return the bool status.
8293
8294         * BufferView.C (fitCursor): return the bool flag also to the outside
8295         world as this is needed.
8296
8297         * screen.C (toggleToggle): don't subtract the offset if it's positive.
8298
8299         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8300         call the edit() as it is not needed (and wrong) IMO.
8301         (workAreaButtonPress): set the screen_first variable before evt.
8302         unlock the inset as this may change screen_first and then we have
8303         a wrong y position for the click!
8304
8305 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8306
8307         * MenuBackend.C (expand): another translation that I missed
8308
8309 2002-03-28  Juergen Vigna  <jug@sad.it>
8310
8311         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8312
8313         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8314
8315 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8316
8317         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8318
8319         * MenuBackend.C (expand): fix export/view/update when there is no
8320         document open.
8321
8322 2002-03-27  Herbert Voss  <voss@lyx.org>
8323
8324         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8325         and text%
8326
8327 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8328
8329         * bufferview_funcs.C (currentState): only show paragraph number
8330         for is DEVEL_VERSION is set.
8331
8332         * lyxfunc.C (dispatch): put warning in INFO channel
8333
8334         * MenuBackend.C (expand): translate the name of floats
8335
8336         * FloatList.C (FloatList): mark the float names for translation
8337
8338         * converter.C (convert): use LibScriptSearch
8339
8340 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8341
8342         * MenuBackend.C (defaults): fix default menu (we might as well get
8343         rid of it...)
8344
8345 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8346
8347         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8348         directory.
8349
8350 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8351
8352         * lyxvc.C: reorder includes.
8353
8354 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
8355
8356         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8357           properly
8358
8359 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
8360
8361         * CutAndPaste.C: change layouts earlier on paste
8362           to avoid crashing when calling getFont()
8363
8364 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
8365
8366         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
8367         irritating #error.
8368
8369 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8370
8371         * WorkArea.C: remove 'Pending' debug message.
8372
8373         * most files: ws cleanup
8374
8375         * buffer.[Ch]: ws changes
8376
8377         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
8378
8379 2002-03-21  Juergen Vigna  <jug@sad.it>
8380
8381         * tabular.C (SetMultiColumn): collapse also the contents of the
8382         cells and set the last border right. Added a Buffer const * param.
8383
8384 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8385
8386         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
8387         linking or not.
8388
8389 2002-03-19  Juergen Vigna  <jug@sad.it>
8390
8391         * text2.C (clearSelection): reset also xsel_cache.
8392
8393         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
8394         where it needs to be called (John tells us to do so too :)
8395         (selectionLost): reset sel_cache.
8396
8397         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
8398
8399 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8400
8401         * text2.C (setCursorIntern): put debuging code in INSETS channel
8402
8403 2002-03-19  André Pönitz <poenitz@gmx.net>
8404
8405         * lyxfunc.C: tiny whitespace change
8406
8407 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8408
8409         * ToolbarDefaults.C (init):
8410         * LyXAction.C (init):
8411         * commandtags.h:
8412         * BufferView_pimpl.C (Dispatch):
8413         * lyxfunc.C (dispatch): remove LFUN_DEPTH
8414
8415 2002-03-19  Allan Rae  <rae@lyx.org>
8416
8417         * exporter.C (Export): removeAutoInsets before doing anything else.
8418         While I've just introduced a dependency on BufferView this really is
8419         the best place to clean the buffer otherwise you need to cleanup in
8420         a dozen places before calling export or cleanup in a dozen functions
8421         that export calls.
8422
8423         * converter.C (runLaTeX):
8424         (scanLog): Better handling of removeAutoInsets and screen updates.
8425
8426         * lyxfunc.C (dispatch): small whitespace changes
8427
8428 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8429
8430         * WorkArea.C (C_WorkAreaEvent): return a value.
8431         (event_cb): return 1 if we handled the event, 0 otherwise.
8432
8433         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
8434
8435 2002-03-18  Juergen Vigna  <jug@sad.it>
8436
8437         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
8438         (GetAdditionalWidth): ditto.
8439         (RightLine): ditto.
8440         (LeftLine): ditto.
8441
8442         * BufferView2.C (copy): use getLyXText() so that we do it inside an
8443         inset if we're there actually (probably not used right now but this
8444         is the direction to go for unifying code).
8445         (paste): disable code to clear the selection.
8446
8447         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
8448         inside an InsetText and move the check further up as it is in the
8449         wrong place.
8450
8451         * text2.C (pasteSelection): set a selection over the pasted text.
8452
8453 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
8454
8455         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
8456         and libgraphics to build on Cygwin.
8457
8458 2002-03-15  Juergen Vigna  <jug@sad.it>
8459
8460         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
8461         inserting an Inset into the paragraph. I know this is not the best
8462         fix but we already use current_view in CutAndPaste so we will remove
8463         all of it's using at the same time.
8464
8465         * buffer.C (sgmlError): deactivated function till it is rewritten in
8466         the right mode, now it can create problems.
8467
8468         * paragraph.C (isLineSeparator): check if getInset returns != 0,
8469         before accessing it.
8470
8471 2002-03-14  Juergen Vigna  <jug@sad.it>
8472
8473         * undo_funcs.C (textHandleUndo): do the right thing when updating
8474         the inset after the undo/redo.
8475
8476         * text2.C (setCursor): just some testcode for #44 not ready yet.
8477
8478         * undo_funcs.C (textHandleUndo): set the next() and previous()
8479         pointers of the paragraph to 0 before deleting otherwise we have
8480         problems with the Paragraph::[destructor].
8481
8482         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
8483         on a paragraph insertion.
8484
8485 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8486
8487         * buffer.C (asciiParagraph): use += operator for char append to
8488         string.
8489
8490         * paragraph.C (getFontSettings): compare >= not just >
8491         (highestFontInRange): ditto
8492         (setFont): ditto
8493
8494 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8495
8496         * paragraph.C: change several algorithm to be more appripriate for
8497         the problem domain. This is lookip in FontList and in the InsetList.
8498
8499 2002-03-13  André Pönitz <poenitz@gmx.net>
8500
8501         * commandtags.h:
8502         * LyXAction.C: remove unused LFUN_MATH_MACROARG
8503
8504 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
8505
8506         * commandtags.h:
8507         * LyXAction.C:
8508         * lyxfunc.C:
8509         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
8510
8511 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8512
8513         * Painter.C (display): anon helper function, adjust code for this
8514         change.
8515         (pixmap): remove function.
8516
8517         * Painter.h: remove private display variable.
8518
8519         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
8520
8521 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
8522
8523         * WorkArea.[Ch]: remove figinset_canvas cruft.
8524
8525 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8526
8527         * lyxtextclass.C (operator): add one item cache optimization.
8528
8529         * bufferlist.h: doxy changes
8530
8531         * bufferlist.C: ws changes
8532
8533         * DepTable.[Ch] (ext_exist): place const in the right spot.
8534
8535         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
8536         call resizeInsets.
8537         (workAreaExpose): call resizeInsets when the with BufferView changes.
8538         (Dispatch): adjust for protectedBlank removal
8539         (specialChar): call updateInset if the insert went ok.
8540
8541         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
8542         specialChar instead.
8543
8544         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
8545
8546         * BufferView.h: doxy change
8547
8548         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
8549
8550         * lyxtextclass.C (operator[]): remove non-const version
8551         (defaultLayout): remove non-const version
8552
8553 2002-03-12  Juergen Vigna  <jug@sad.it>
8554
8555         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
8556         did resize the LyXText too.
8557
8558         * buffer.C (readLyXformat2): set layout information on newly allocated
8559         paragraphs.
8560
8561         * tabular.C (OldFormatRead): set layout information on the paragraph.
8562
8563 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8564
8565         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
8566
8567 2002-03-11  Juergen Vigna  <jug@sad.it>
8568
8569         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
8570         plainly wrong.
8571         (resizeCurrentBuffer): force also the insets to resize themselfes.
8572         (moveCursorUpdate): fixed up for InsetText.
8573
8574 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
8575
8576         * commandtags.h:
8577         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
8578         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
8579         value of Dialogs::tooltipsEnabled().
8580         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
8581
8582 2002-03-08  Juergen Vigna  <jug@sad.it>
8583
8584         * BufferView_pimpl.C (updateInset): update inset inside inset also
8585         if it isn't inside theLockingInset().
8586
8587 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8588
8589         * buffer.C (asciiParagraph): redo some of the word and line length
8590         handling.
8591         (getLists): look for Caption instead of caption.
8592
8593 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8594
8595         * buffer.C (Buffer): initialize niceFile to true
8596         (makeLaTeXFile):
8597         (makeLinuxDocFile):
8598         (makeDocBookFile): make sure niceFile is true on exit
8599
8600 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8601
8602         * buffer.C (makeLaTeXFile): escape ~ in \input@path
8603
8604 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
8605
8606         * LyXSendto.C: remove.
8607         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
8608         * lyx_gui.C: remove now-redundant comment.
8609         * ColorHandler.h: remove forward declaration of class WorkArea.
8610         * lyxfunc.C: remove #include "WorkArea.h".
8611
8612 2002-03-07  Juergen Vigna  <jug@sad.it>
8613
8614         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
8615         got moved away with the DEPM and also set the inset_owner always
8616         right which before could have been omitted.
8617
8618 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8619
8620         * buffer.C (parseSingleLyXformat2Token): use default layout is the
8621         wanted layout is not found.
8622
8623 2002-03-07  Juergen Vigna  <jug@sad.it>
8624
8625         * CutAndPaste.C (cutSelection): another layout settings forgotten.
8626
8627 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8628
8629         * paragraph.C (breakParagraph): use default layout not layout of
8630         prev paragraph.
8631         (Paragraph): clear ParagraphParameters.
8632
8633 2002-03-06  Juergen Vigna  <jug@sad.it>
8634
8635         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
8636         otherwise it would not be a valid lenght. Fixed a special case in
8637         the minipage compatibility read where we end the document with a
8638         minipage.
8639
8640         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
8641         was set as it could be 0 for InsetTexts first entry.
8642
8643 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8644
8645         * paragraph.C (writeFile): if layout is empty write out
8646         defaultLayoutName().
8647
8648         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
8649         file without named layout we set layout to defaultLayoutName().
8650
8651 2002-03-06  Juergen Vigna  <jug@sad.it>
8652
8653         * CutAndPaste.C (copySelection): set layout for new paragraph.
8654
8655         * text.C (prepareToPrint): leave ERT inset left aligned
8656         (leftMargin): don't indent paragraphs inside ERT insets
8657
8658 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8659
8660         * paragraph.C (breakParagraph): dont call clear do the work manually
8661
8662         * paragraph.[Ch] (clear): remove function
8663
8664 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8665
8666         * paragraph.C (Paragraph): dont call clear, the work has already
8667         been done.
8668
8669         * lyxtextclass.C (operator): assert if n is empty
8670
8671         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
8672         work manually instead.
8673
8674 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
8675
8676         * BufferView_pimpl.C: protect selectionLost against text == 0
8677
8678 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8679
8680         * text.C (breakParagraph): fix a setting layout to '0' problem.
8681
8682 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8683
8684         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
8685         final location of file, for the included files, and graphics.
8686
8687 2002-03-05  Juergen Vigna  <jug@sad.it>
8688
8689         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
8690
8691 2002-03-04  Juergen Vigna  <jug@sad.it>
8692
8693         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
8694
8695         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
8696         last column of multicolumn cells.
8697         (SetWidthOfMulticolCell): recalculate NMC and real columns.
8698
8699 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8700
8701         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
8702         file if it doesn't go to a temporary file.
8703
8704         * buffer.C (sgmlOpenTag):
8705         (sgmlCloseTag):  remove extra newline insertion.
8706
8707 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8708
8709         * text.C (getRowNearY): comment out debug msg
8710
8711 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8712
8713         * text2.C: first -> first_y
8714
8715         * text.C (getRowNearY): add some attemts at a possible
8716         optimization, not working.
8717
8718         * tabular.[Ch]: add BufferParams to several function so that newly
8719         created paragraph can be initialized to he default layotu for the
8720         buffers textclass.
8721
8722         * tabular-old.C (ReadOld): add buf->params to call of Init
8723
8724         * screen.C: rename text->first to text->first_y
8725
8726         * paragraph.C (breakParagraph): always set layout in the broken
8727         paragraph
8728
8729         * lyxtextclass.C (Read): remove lowercase
8730         (hasLayout): ditto
8731         (operator): ditto
8732         (delete_layout): ditto
8733
8734         * lyxtext.h: rename first -> first_y
8735
8736         * lyxlayout.C (Read): remove lowercase
8737         (name): ditto
8738         (setName): ditto
8739         (obsoleted_by): ditto
8740
8741         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
8742
8743         * buffer.C (insertErtContents): add params are to InsetERT
8744         (parseSingleLyXformat2Token): add code to check if a paragraphs
8745         layout really exist.
8746         (parseSingleLyXformat2Token): add params to several inset
8747         constructors
8748         (asciiParagraph): remove lowercase, do the layout comparisons with
8749         no_case
8750
8751         * BufferView_pimpl.C (cursorNext): first -> first_y
8752         (resizeCurrentBuffer): first -> first_y
8753         (updateScrollbar): first -> first_y
8754         (scrollCB): first -> first_y
8755         (workAreaMotionNotify): first -> first_y
8756         (workAreaButtonPress): first -> first_y
8757         (checkInsetHit): first -> first_y
8758         (cursorPrevious): first -> first_y
8759         (cursorNext): first -> first_y
8760         (Dispatch): add buffer_->params to severl inset contructors
8761
8762 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8763
8764         * lyxlayout.C (Read): remove some debug info that I forgot.
8765
8766         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
8767         clean up the code slightly.
8768         (makeLinuxDocFile): ditto
8769         (makeDocBookFile): ditto
8770
8771         * text2.C: layout as string
8772
8773         * text.C: layout as string
8774
8775         * paragraph_pimpl.C: layout as string
8776
8777         * paragraph.[Ch]: layout as string
8778
8779         * lyxtextclasslist.[Ch]: layout as string
8780
8781         * lyxtextclass.[Ch]: layout as string
8782
8783         * lyxtext.h: layout as string
8784
8785         * lyxlayout.[Ch]: layout as string
8786
8787         * lyx_cb.C: layout as string
8788
8789         * bufferview_funcs.C: layout as string
8790
8791         * bufferparams.C: layout as string
8792
8793         * buffer.C: layout as string
8794
8795         * LyXView.[Ch]: layout as string
8796
8797         * LaTeXFeatures.[Ch]: layout as string
8798
8799         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
8800
8801         * BufferView_pimpl.C: change current_layout to string, remove
8802         lyx::layout_type.
8803         (Dispatch):
8804         (smartQuote):
8805         (insertInset):
8806         (workAreaButtonRelease): layout as string
8807
8808         * BufferView2.C (unlockInset): adjust
8809
8810         * vspace.C (asLatexCommand): use an explict temp variable.
8811
8812 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
8813
8814         * Makefile.am: use FRONTEND_*
8815
8816 2002-03-01  Juergen Vigna  <jug@sad.it>
8817
8818         * tabular.C (SetWidthOfMulticolCell): changed to something better
8819         I hope but still work in progress.
8820         (recalculateMulticolumnsOfColumn): renamed function from
8821         recalculateMulticolCells as it is more appropriate now.
8822         (SetWidthOfCell): calculate multicols better.
8823
8824 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8825
8826         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
8827
8828         * lyxfunc.C (processKeySym): print sequence also if it is
8829         `deleted' (complete)
8830
8831         * kbsequence.C (print): print sequence even if it is deleted
8832         (complete would be a better word, actually).
8833
8834         * lyxfunc.C (dispatch): print complete options after a prefix key
8835
8836         * vspace.C (asLatexCommand): rewrite in a slightly different form.
8837
8838 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
8839
8840         * text2.C (setCharFont): eliminate setCharFont code duplication.
8841
8842 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8843
8844         * BufferView_pimpl.C (Dispatch): remove bogus handling of
8845         LFUN_TABULAR_FEATURE (bug #177)
8846
8847 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
8848
8849         * Makefile.am: remove figure.h
8850
8851 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
8852
8853         * Bufferview_pimpl.C:
8854         * CutAndPasteC:
8855         * LaTeX.C:
8856         * LyXSendto.C:
8857         * buffer.C:
8858         * bufferlist.C:
8859         * converter.C:
8860         * language.C:
8861         * lyxfunc.C:
8862         * lyxvc.C:
8863         * paragraph.C:
8864         * text.C:
8865         * text2.C: remove #include "lyx_gui_misc.h".
8866
8867         * LaTeX.C: added #include <cstdio>
8868
8869 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8870
8871         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
8872         that the paragraph following this one can have.
8873
8874         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
8875
8876         * vspace.C (asLatexCommand): fix bogus gcc warning
8877
8878         * Makefile.am (lyx_SOURCES): remove vms_defines.h
8879
8880 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
8881
8882         * text2.C (setLayout): get rid of redundant code
8883
8884 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
8885
8886         * text2.C (incDepth): make sure depth cannot be increased beyond
8887         reasonable values.
8888
8889 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
8890
8891         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
8892         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
8893
8894         * PainterBase.h (image):
8895         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
8896         a LyXImage const *.
8897
8898 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
8899
8900         * BufferView.C:
8901         * BufferView.h:
8902         * BufferView_pimpl.C:
8903         * BufferView_pimpl.h:
8904         * LaTeXFeatures.C:
8905         * LyXAction.C:
8906         * LyXView.C:
8907         * Makefile.am:
8908         * UpdateList.h:
8909         * UpdateList.C:
8910         * buffer.C:
8911         * figure.h:
8912         * figureForm.C:
8913         * figureForm.h:
8914         * figure_form.C:
8915         * figure_form.h:
8916         * lyx_cb.C:
8917         * lyx_gui.C:
8918         * lyx_gui_misc.C:
8919         * lyxfunc.C:
8920         * sp_base.h:
8921         * sp_ispell.h:
8922         * sp_pspell.h:
8923         * sp_spell.C: remove fig inset, and the crap house of
8924           cards that follows it
8925
8926 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
8927
8928         * Makefile.am:
8929         * lyxserver.C:
8930         * os2_defines.h:
8931         * os2_errortable.h:
8932         * nt_defines.h: move .h into support/
8933
8934         * vms_defines.h: remove
8935
8936         * WorkArea.C: add space in debug output
8937
8938         * text2.C:
8939         * paragraph.C:
8940         * buffer.C: add WITH_WARNINGS
8941
8942         * vc-backend.h:
8943         * vc-backend.C:
8944         * bufferlist.C: s/retrive/retrieve/, add docs
8945
8946         * vspace.h:
8947         * vspace.C:
8948         * kbmap.h:
8949         * lyxlength.h:
8950         * lyxgluelength.h:
8951         * length_common.h:
8952         * chset.h:
8953         * chset.C: add docs
8954
8955         * lyxgui.C: add ID to X error handler
8956
8957         * lyxtestclass.c: fix typo
8958
8959 2002-02-26  Juergen Vigna  <jug@sad.it>
8960
8961         * tabular_funcs.C (write_attribute): changed so that some default
8962         attributes are not written at all.
8963         (getTokenValue): set default values before trying to read the
8964         value so we have the return value always set as default if we don't
8965         find the token we search for.
8966
8967         * tabular.C (Write): write bools as bools not as strings!
8968
8969 2002-02-22  Juergen Vigna  <jug@sad.it>
8970
8971         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
8972         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
8973
8974         * text.C (leftMargin): don't add an indent for paragraphs inside
8975         tabular cells (fix #208).
8976
8977 2002-02-21  José Matos  <jamatos@fep.up.pt>
8978
8979         * tabular.C (docBook): fixed support for long tables.
8980
8981 2002-02-20  Juergen Vigna  <jug@sad.it>
8982
8983         * text2.C (getFont): get the drawing font of the Inset if this
8984         paragraph is inside an inset (only important for InsetERT for now).
8985
8986         * buffer.C (insertErtContents): use new lanugage params in ERT
8987         constructor.
8988
8989         * CutAndPaste.C: commenting out seemingly uneeded code.
8990
8991 2002-02-19  Allan Rae  <rae@lyx.org>
8992
8993         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
8994         Iterators might be simple to use but they also get invalidated.
8995         (removeAutoInsets): renamed saved cursor tracking variables and added
8996         some comments to clarify what everything does.
8997
8998 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
8999
9000         * Chktex.C:
9001         * LaTeX.C:
9002         * LyXSendto.C:
9003         * converter.C:
9004         * lyx_cb.C:
9005         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9006         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9007
9008         * lyxfunc.C:
9009         * vc-backend.h: remove #include "support/syscall.h"
9010
9011         * LaTeX.C:
9012         * LyXSendto.C:
9013         * converter.C: rearrange #includes in Lars' approved fashion.
9014
9015         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9016         forward declare class Timeout in the header file.
9017
9018         * XFormsView.C: changes due to the above.
9019
9020         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9021         similar to LyXView.
9022
9023         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9024         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9025
9026 2002-02-18  José Matos  <jamatos@fep.up.pt>
9027
9028         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9029         insets contents.
9030
9031 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
9032
9033         * a lot of small ws changes
9034         * add a lot of using std::XXX
9035         * use std construcs some places where approp.
9036         * use some exisint stuff from lyxfunctional where approp.
9037         * Make file changes to use partial linking (lets test this now...)
9038
9039 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9040
9041         * Chktex.C:
9042         * buffer.C:
9043         remove #include "support/syscontr.h" as it's redundant. Always has been.
9044
9045         * Chktex.C:
9046         * LaTeX.C:
9047         * LyXSendto.C:
9048         * converter.C:
9049         * lyx_cb.C:
9050         * vc-backend.C:
9051         change Systemcalls::System to Systemcalls::Wait and
9052         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9053         No change of functionality, just reflects the stripped down Systemcalls
9054         class.
9055
9056 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9057
9058         * debug.[Ch]: add a GRAPHICS type to the enum.
9059
9060 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9061
9062         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9063
9064         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9065         there is an inset.
9066
9067 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9068
9069         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9070         match the changes below.
9071
9072         * text2.C (toggleInset): if there is not editable inset at cursor
9073         position, try to see if cursor is _inside_ a collapsable inset
9074         and close it.
9075
9076 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9077
9078         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9079         document menu has a nice checkbox
9080
9081 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9082
9083         * lyxlength.C (asLatexString): change PW to output as percent of
9084         \textwidth.
9085
9086         * lengthcommon.C: change '%' to 't%'
9087
9088         * lyxfunc.C (dispatch): a few comments from Martin
9089
9090 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
9091
9092         * WorkArea.h:
9093         * WorkArea.C:
9094         * BufferView_pimpl.h:
9095         * BufferView_pimpl.C: clear our selection when X tells us we've lost
9096           the X selection.
9097
9098 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9099
9100         * vspace.C (inPixels): fix compiler warning
9101
9102 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9103
9104         * lyxfunc.C (getStatus): fix status message for disabled commands.
9105
9106 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
9107
9108         * BufferView_pimpl.C: fix crash on close buffer
9109         during selection (#227)
9110
9111 2002-01-27  Herbert Voss  <voss@lyx.org>
9112
9113         * buffer.C: link old Figure to new graphic inset
9114
9115 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
9116
9117         * FontLoader.C (getFontinfo): Change the latex font names in order
9118         to match the names of type1inst.
9119
9120 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9121
9122         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
9123
9124         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
9125         (extchanged): ditto
9126         (ext_exist): ditto
9127         (remove_files_with_extension): ditto
9128         (remove_file): ditto
9129         (write): ditto
9130
9131         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
9132         document is smaller than the work area height. Do not initialize
9133         static variables to 0.
9134
9135 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9136
9137         * lyx_gui.C (init): give the toolbar tooltips a normal font.
9138
9139         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
9140         LFUN_LAYOUT_PARAGRAPHS.
9141
9142         * tabular.C (GetCellFromInset): new method. Finds an inset in a
9143         tabular. It is possible to provide a possible cell, which will
9144         typically be the actcell from the corresponding insettabular
9145
9146         * lyxfunc.C (getStatus): small cleanup; disable
9147         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
9148         true
9149
9150 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9151
9152         * tabular.C (Validate): remove broken optimization (fixes bug #201)
9153
9154         * paragraph.C (startTeXParParams):
9155         (endTeXParParams): new methods. The LaTeX code to
9156         start/end paragraph formatting
9157         (simpleTeXOnePar): call startTeXParParams also when paragraph is
9158         empty (fixes bug #200)
9159
9160         * vspace.C (inPixels): adapt to the change below
9161         (inPixels): [later] more cleanups (remove unused variables)
9162
9163         * lyxlength.C (inPixels): change to use a width and a height as
9164         parameter.
9165
9166 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9167
9168         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
9169         Replaced with \paperwidth
9170
9171         * DepTable.C (insert): add std:: qualifier
9172
9173 2002-01-18  Allan Rae  <rae@lyx.org>
9174
9175         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
9176         updated also?
9177
9178         * text.C (drawInset): Turned out I didn't know enough about how
9179         rebreaking worked.  This fixes most of the redraw problems.  I see
9180         an occasional cursor trail when a line is broken now and the cursor
9181         placement can seem out by a few pixels also after a rebreak.
9182
9183 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9184
9185         * buffer.C (parseSingleLyXformat2Token): update because minipage
9186         width is now a LyXLength
9187
9188         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9189
9190         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9191         math insets
9192
9193 2002-01-17  Juergen Vigna  <jug@sad.it>
9194
9195         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9196
9197         * BufferView2.C (lockInset): call edit() so that theLockingInset()
9198         is set correctly and the inset is updated correctly.
9199
9200 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9201
9202         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
9203         the beginning of the loop.
9204
9205 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
9206
9207         * lyxrc.C: improve help for use_scalable_fonts
9208
9209 2002-01-17  Allan Rae  <rae@lyx.org>
9210
9211         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9212
9213 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9214
9215         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9216         make sure to set their inset_owner to the right value (bug #171)
9217
9218 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
9219
9220         * DepTable.h
9221         * DepTable.C: Implement mtime checking to reduce time spent doing
9222         CRCs.
9223
9224 2002-01-16  Juergen Vigna  <jug@sad.it>
9225
9226         * tabular.C (GetAdditionalHeight): one of error fixed.
9227
9228         * lyxrc.C (output): small fix in writing use_pspell.
9229
9230 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
9231
9232         * sp_base.h: #include LString.h
9233
9234 2002-01-16  Allan Rae  <rae@lyx.org>
9235
9236         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
9237         Can someone check this please?
9238
9239         * text.C (drawInset): It was possible that p.row would be removed by
9240         breakAgainOneRow upsetting a few other settings.  There may be another
9241         small tweak possible by setting need_break_row = 0 when p.row has been
9242         removed but I don't know enough about the logic here.
9243
9244 2002-01-15  Allan Rae  <rae@lyx.org>
9245
9246         * text.C (insertChar): removed conditional truism.
9247
9248         * BufferView2.C (removeAutoInsets): More tweaks.
9249         cur_par_prev could be a stray pointer.  Check for trailing empty line
9250         in case last line was cur_par and only had an error inset on it.
9251
9252 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9253
9254         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9255         absolute
9256
9257         * vc-backend.C (most methods):
9258         * exporter.C (Export):
9259         * converter.C (convert):
9260         (runLaTeX):
9261         * LyXSendto.C (SendtoApplyCB):
9262         * lyxfunc.C (dispatch):
9263         (menuNew):
9264         (open):
9265         (doImport):
9266         * lyx_cb.C (AutoSave):
9267         (InsertAsciiFile):
9268         * BufferView_pimpl.C (MenuInsertLyXFile):
9269         * buffer.C (runChktex): use Buffer::filePath().
9270
9271         * buffer.h: rename filename to filename_; rename filepath to
9272         filepath_ and make it private
9273         (filePath): new method
9274
9275         * buffer.C (writeFile): use fileName()
9276         (getLatexName):
9277
9278         * lyx_main.C (init): fix starting  of LyX when the binary is a
9279         link from so,ewhere else.
9280
9281         * minibuffer.C: include <cctype> for isprint
9282
9283 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9284
9285         * buffer.C (parseSingleLyXformat2Token): changes associated with the
9286         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9287         name clash with InsetCollapsable's width function.
9288
9289 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9290
9291         * lastfiles.C: include <iterator>
9292
9293 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9294
9295         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9296         std::count.
9297
9298         * buffer.C (makeLaTeXFile): ditto.
9299         Also make loop operation more transparent.
9300
9301 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9302
9303         * ToolbarDefaults.C: remove trailing comma closing namespace.
9304
9305         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9306
9307         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9308         as in WorkArea.
9309
9310         * trans.C (Load): comment out unused variable, allowed.
9311
9312 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9313
9314         * minibuffer.[Ch] (append_char): new method to recieve input from the
9315         drop-down completion browser. If a key was pressed, then recieve this
9316         char and append it to the existing string.
9317         (peek_event): modify the positioning data passed to the completion
9318         browser so that it can be placed above the minibuffer rather than below.
9319 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9320
9321         * LyXAction.C (init): alloe error-next for readonly documents.
9322
9323         * BufferView2.C (ChangeRefsIfUnique): use standard version of
9324         count.
9325
9326 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9327
9328         * bufferlist.C (readFile): create the buffer _after_ checking that
9329         the file exists.
9330
9331         * lyxfunc.C (verboseDispatch): fix handling of arguments
9332
9333         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9334
9335         * lyxrc.C: use string::erase() instead of initializing to "".
9336
9337
9338 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9339
9340         * BufferView_pimpl.h:
9341         * BufferView_pimpl.C:
9342         * WorkArea.h:
9343         * WorkArea.C:
9344         * text2.C: tell X when we have made a selection for copying
9345
9346 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9347
9348         * BufferView_pimpl.C (MenuInsertLyXFile):
9349         * lyxfunc.C (menuNew):
9350         (open):
9351         (doImport): add shortcuts to directory buttons
9352
9353         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9354         open a float)
9355
9356         * lyxfunc.C (setStatusMessage):
9357         (getStatusMessage): new methods
9358         (getStatus):use setStatusMessage instead of setErrorMessage
9359         (dispatch): when function is disabled, set error message here
9360         [instead of in getStatus previously]
9361
9362         * BufferView_pimpl.C (workAreaButtonRelease): update
9363         toolbar/menubar here too.
9364
9365 2002-01-13  Allan Rae  <rae@lyx.org>
9366
9367         * BufferView2.C (removeAutoInsets): finished off earlier fix.
9368         Now seems indestructible.  Remaining task is to audit all other
9369         code affected by deleteEmptyParagraphMechanism.  One small quirk
9370         left is that an empty document with an error in the preamble can
9371         be made to report an error but no error box appears.  I don't know
9372         where it goes.
9373         (removeAutoInsets): Improved comments.
9374
9375 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
9376
9377         * Thesaurus.h:
9378         * Thesaurus.C: update for Aiksaurus 0.14
9379
9380 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9381
9382         * text2.C (firstParagraph): removed member function, all uses
9383         replaces with ownerParagraph
9384         (redoParagraphs): here
9385         (updateInset): here
9386         (toggleAppendix): here
9387         * BufferView2.C (insertErrors): here
9388         (setCursorFromRow): here
9389
9390 2002-01-13  Allan Rae  <rae@lyx.org>
9391
9392         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
9393         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
9394         There is still a way to segfault this although you may have to do this
9395         multiple times: Have an InsetERT with an unknown command in it.
9396         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
9397         <down-arrow>, <Enter> again, View->DVI, BANG!
9398
9399         * text2.C (setCursor):
9400         (deleteEmptyParagraphMechanism):
9401         * lyxtext.h (setCursor):
9402         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
9403         Making use of the return value may help fix other bugs.
9404
9405 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9406
9407         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
9408
9409         * LyXView.C (updateMenubar): call MenuBar::update here
9410         (updateToolbar): but not here
9411         (showState): do not update toolbar/menubar
9412
9413         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
9414         should need to care about that.
9415
9416         * lyxfunc.C (verboseDispatch): simplify a bit
9417         (getStatus): have a version which takes a pseudoaction, and
9418         another which requires a (kb_action,string).
9419
9420         * LyXAction.C (retrieveActionArg): make it work also when action
9421         is not a pseudo-action.
9422         (getActionName): simplify a bit
9423         (helpText):
9424
9425 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9426
9427         * lyxfunc.C (verboseDispatch): new families of methods with
9428         several ways to specify a command and a bool to indicate whether
9429         the command name and shortcut should be displayed in minibuffer
9430         (eventually, we could extend that to a finer bitmask like
9431         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
9432         (dispatch): the pristine dispatch command which just, well,
9433         dispatchs! Note it still sets its result to minibuffer; I'm not
9434         sure we want that.
9435
9436         * lyxfunc.h: remove setHintMessage
9437
9438         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
9439
9440 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9441
9442         * BufferView_pimpl.C (specialChar): delete new inset if we have
9443         not been able to insert it.
9444
9445         * kbmap.C: revert to using int instead of kb_action, since all we
9446         are dealing with is pseudo-actions.
9447
9448         * LyXAction.C (searchActionArg): change to return int instead of
9449         kb_action, since the result is a pseudoaction.
9450
9451 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
9452
9453         * buffer.C (insertErtContents): Fix (partially) the font bug.
9454
9455 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9456
9457         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
9458         as the other one is broken on my machine!
9459
9460 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
9461
9462         * commandtags.h:
9463         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
9464
9465 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
9466
9467         * lyxrc.[Ch]: change names and descriptions of popup font variables to
9468         reflect their actual use. Provide compatibility code for older lyxrc
9469         files.
9470
9471         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
9472         FL_NORMAL_STYLE.
9473         change names of popup font variables in line with the changes to lyxrc.C
9474
9475 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9476
9477         * buffer.C (asciiParagraph): avoid outputing a word twice after
9478         an inset.
9479
9480         * lyxrc.C (getDescription): document that document_path and
9481         template_path can be empty.
9482
9483 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9484
9485         * LaTeXFeatures.C (getMacros):
9486         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
9487
9488         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
9489
9490         * LaTeXFeatures.C (useFloat): require "float" here instead of in
9491         getPackages.
9492         (getPackages): rename feature "floats" to "float". Use an array to
9493         iterate over 'simple' features (i.e. just a \usepackage). Add
9494         handling of "amsmath" (renamed from "amsstyle").
9495
9496 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
9497
9498         * LaTeXFeatures.C (require): Prevent duplicate entries in the
9499         features list.
9500
9501 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
9502
9503         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
9504         FuncStaus::FuncStatus & FuncStaus::some_method().
9505
9506 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
9507
9508         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
9509         of the func_satus stuff. Edited and massaged in various ways by
9510         JMarc.
9511
9512         * lyxfunc.C (getStatus): use FuncStatus
9513
9514 2002-01-08  Juergen Vigna  <jug@sad.it>
9515
9516         * text.C (nextBreakPoint): use function Inset::isChar().
9517
9518         * paragraph.C (TeXOnePar): use function
9519         Inset::forceDefaultParagraphs.
9520
9521         * buffer.C (latexParagraphs): use function
9522         Inset::forceDefaultParagraphs.
9523
9524 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9525
9526         * lyx_gui.C (init): set the style of the menu popups to
9527         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
9528
9529 2002-01-07  Juergen Vigna  <jug@sad.it>
9530
9531         * text.C (setHeightOfRow): small fix
9532         (prepareToPrint): don't look at alignment if we don't have the place
9533         for doing it.
9534
9535 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9536
9537         * box.C: New file. Move the Box methods and functions out of box.h,
9538         following Lars' suggestion.
9539
9540 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9541
9542         * box.h: #include "support/LOstream.h", needed for inlined function.
9543
9544         * lyxtextclass.C:
9545         * lyxtextclasslist.C: added some using std declarations.
9546
9547 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
9548
9549         * box.h: make signed dimensions to allow insets wider than
9550           the screen (bug #162)
9551
9552         * BufferView_pimpl.C: add some insetHit debug
9553
9554 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
9555
9556         * vc-backend.C: add FIXME
9557
9558 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9559
9560         * lyxfunc.C (getStatus): enable code for showing math font status
9561         in toolbar/menu.
9562
9563 2002-01-07  Juergen Vigna  <jug@sad.it>
9564
9565         * text.C (nextBreakPoint): removed debug output not needed anymore.
9566
9567 2002-01-06  Juergen Vigna  <jug@sad.it>
9568
9569         * text.C (nextBreakPoint): fixed up this function we had this bug
9570         since ever but now hopefully we break row better.
9571         (insertChar): we have to check if an inset is the next char as it
9572         could now happen that a large inset is causing a break.
9573
9574 2002-01-05  Juergen Vigna  <jug@sad.it>
9575
9576         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
9577         if it doesn't like to be drawed.
9578
9579 2002-01-04  Juergen Vigna  <jug@sad.it>
9580
9581         * BufferView2.C (lockInset): forgot to set a cursor.
9582
9583         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
9584
9585 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
9586
9587         * FormMathsPanel.C:
9588         * FormMathsPanel.h
9589         * MathsSymbols.C:
9590         * form_maths_panel.C:
9591         * form_maths_panel.h:
9592         * form_maths_panel.fd: implemented sub- and super- buttons in math
9593         panel.
9594
9595         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
9596         (or ^ space) to be used as in TeX (req'd by André).
9597
9598         * lyxfunc.C: Allow ^ and _ again to be used both as
9599         super/subscript (mathed) and as themselves (in text).
9600
9601 2002-01-03  Allan Rae  <rae@lyx.org>
9602
9603         * LyXView.C (updateWindowTitle): Setup a short icon title of either
9604         "LyX" or the filename of the current buffer if it has one.  This is a
9605         modified form of John Levon's patch.
9606
9607         * XFormsView.C (setWindowTitle): also set icon title.
9608
9609         * LyXView.h (setWindowTitle): signature changed.
9610         * XFormsView.h (setWindowTitle): ditto.
9611
9612 2002-01-02  Juergen Vigna  <jug@sad.it>
9613
9614         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
9615
9616 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9617
9618         * screen.C (topCursorVisible): introduce a temp var for
9619         text->cursor.row(), handle the case where this row is null. (kindo
9620         hachish)
9621
9622         * text2.C (setCursor): add a couple of asserts.
9623
9624         * paragraph.h (inset_iterator): add -> operator
9625
9626         * paragraph.[Ch] (autoDeleteInsets): remove member function
9627
9628         * BufferView2.C (removeAutoInsets): rewrite to handle the old
9629         cursor pos correctly and handle inset deletion by itself.
9630         (insertErrors): move iterator declaration out of for expression
9631
9632         * lyxtextclass.C: add <algorithm>
9633
9634         * Makefile.am: added the new files to sources, removed layout.C
9635
9636         * layout.C: removed file
9637
9638         * layout.h: remove LYX_DUMMY_LAYOUT
9639
9640         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
9641         layout.
9642
9643         * lyxlayout.[Ch]:
9644         * lyxtextclass.[Ch]:
9645         * lyxtextclasslist.[Ch]: new files
9646
9647         * include order changes to a lot of files, also changes because of
9648         the six new files.
9649
9650 2001-12-27  Juergen Vigna  <jug@sad.it>
9651
9652         * buffer.C (asciiParagraph): more fixes.
9653
9654         * tabular.C (ascii): make ascii export support export of only the
9655         data separated by a column-delimiter.
9656         (ascii): better support for ascii export.
9657
9658         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
9659
9660 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9661
9662         * tabular_funcs.C: use a "using std::getline" instead of the
9663         previous fix from Angus (necessary for cxx + lyxstring)
9664
9665 2001-12-24  Juergen Vigna  <jug@sad.it>
9666
9667         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
9668
9669         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
9670         problems. First check a minipage also if we have some ert-contents
9671         (not only on par->size(), second set the right depth of the paragraph
9672         on the relink to the root-paragraph-list!
9673
9674         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
9675         which then did not anymore update the main paragraphs on undo/redo!
9676
9677 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9678
9679         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
9680         code. Support all font-changing funcs (even those which are not in
9681         menu currently). Support for reporting font settings in
9682         mathed (disabled until Andre provides a function on mathed's side).
9683
9684         * func_status.h (toggle): small helper function to set toggle
9685         state on a flag.
9686
9687 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
9688
9689         * tabular_funcs.C: getline -> std::getline
9690
9691 2001-12-21  Juergen Vigna  <jug@sad.it>
9692
9693         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
9694         accessed and could be 0 (I couldn't generate this but it seems
9695         Michael could!).
9696
9697 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9698
9699         * tabular_funcs.C: add LIstream.h, move write_attribute to..
9700         * tabular_funcs.h: here and include iosfwd
9701
9702 2001-12-20  Juergen Vigna  <jug@sad.it>
9703
9704         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
9705         inside inset but undo_par was.
9706
9707 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9708
9709         * Thesaurus.C: always include <config.h> in sources.
9710
9711         * Painter.h:
9712         * lyxlookup.h:
9713         * box.h: do not include <config.h> in header files
9714
9715         * text.C (paintLastRow): remove unused variable
9716
9717         * text.C (transformChar):
9718         (insertChar):
9719         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
9720
9721         * Painter.C (text):
9722         * font.C (width): rewrite to use uppercase() instead of
9723         islower/toupper.
9724
9725         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
9726
9727 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
9728
9729         * lyxfind.C: clean up of find failure position change
9730
9731 2001-12-20  Juergen Vigna  <jug@sad.it>
9732
9733         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
9734
9735         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
9736         (TeXRow): added to LaTeX a single tabular row.
9737         (TeXLongtableHeaderFooter): added to output LT-h/f data.
9738         (Latex): simplified and finally good LT-h/f support.
9739         (various_functions): just small adaptions for LT-h/f support.
9740
9741         * tabular_funcs.[hC]: added and moved here all not classfunctions
9742         of LyXTabular.
9743
9744 2001-12-19  Juergen Vigna  <jug@sad.it>
9745
9746         * tabular.[Ch]: better support for longtabular options (not finished
9747         yet!)
9748
9749 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9750
9751         * text.C (paintLastRow): use the label font instead of the font of
9752         the last character to compute the size of *_BOX. This makes more
9753         sense and avoids a crash with empty paragraphs.
9754         Use Painter::rectangle to draw EMPTY_BOX.
9755
9756 2001-12-19  Juergen Vigna  <jug@sad.it>
9757
9758         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
9759         the paragraphs if the replaced paragraph is not the first one!
9760         Tried to delete not used paragraphs but does not work yet so for
9761         now it's inside #ifdef's and by default off!
9762
9763 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9764
9765         * MenuBackend.C: include "lyx_main.h" instead of declaring
9766         lastfiles (actually was declared as LastFiles* instead of a
9767         scoped_ptr).
9768
9769 2001-12-17  Juergen Vigna  <jug@sad.it>
9770
9771         * tabular.C (AppendColumn): applied John's fix
9772
9773 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
9774
9775         * BufferView.h:
9776         * BufferView.C:
9777         * BufferView_pimpl.h:
9778         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
9779
9780         * Makefile.am:
9781         * box.h: new start of class for above
9782
9783         * lyxfunc.C: ignore space-only minibuffer dispatches.
9784           Show the command name when it doesn't exist
9785
9786         * minibuffer.C: don't add empty lines to the history
9787
9788         * minibuffer.C: add a space on dropdown completion
9789
9790 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
9791
9792         * text.C: fix line above/below drawing in insets
9793
9794 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9795
9796         * lyxlength.C (LyXLength): Initialize private variables.
9797
9798 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
9799
9800         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
9801         when inserting error insets.
9802
9803 2001-12-13  Juergen Vigna  <jug@sad.it>
9804
9805         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
9806         actually sometimes the before-paragraph.
9807         (setUndo): don't clear the redostack if we're not actually undoing!
9808
9809 2001-12-06  Juergen Vigna  <jug@sad.it>
9810
9811         * undo_funcs.C (textHandleUndo): well after John's hint I got here
9812         and fixed redoing of main paragraph, so we can use it now ;)
9813
9814         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
9815
9816 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9817
9818         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
9819         Juergen's request
9820
9821 2001-12-13  André Pönitz <poenitz@gmx.net>
9822
9823         * undostack.[Ch]:
9824         * undo_func.C: minor cleanup
9825
9826 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9827
9828         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
9829         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
9830         font in urw-fonts package which is marked as -urw-fontspecific and
9831         does not work (incidentally, changing the encoding in the
9832         fonts.dir of this package to -adobe-fontspecific fixes the
9833         problem).
9834
9835         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
9836         is a crash when undoing first paragraph (Juergen, please take a
9837         look). THis does not mean the undo fix is wrong, just that it
9838         uncovers problems.
9839
9840         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
9841         the (Paragraph*) version when needed instead of duplicating the
9842         code.
9843
9844         * text.C (workWidth): use Inset::parOwner to find out where the
9845         inset has been inserted. This is a huge performance gain for large
9846         documents with lots of insets. If Inset::parOwner is not set, fall
9847         back on the brute force method
9848
9849         * paragraph_pimpl.C (insertInset):
9850         * paragraph.C (Paragraph):
9851         (cutIntoMinibuffer): set parOwner of insets when
9852         inserting/removing them
9853
9854         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9855
9856 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
9857
9858         * commandtags.h:
9859         * LyXAction.C:
9860         * lyx_main.C:
9861         * lyxfunc.C:
9862         * mathed/formulabase.C:
9863         * mathed/math_cursor.[Ch]:
9864         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
9865
9866
9867 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9868
9869         * lyxlength.[Ch] (operator!=): new function
9870
9871 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9872
9873         * text.C (workWidth): use Inset::parOwner to find out where the
9874         inset has been inserted. This is a huge performance gain for large
9875         documents with lots of insets. If Inset::parOwner is not set, fall
9876         back on the brute force method
9877
9878         * paragraph_pimpl.C (insertInset):
9879         * paragraph.C (Paragraph):
9880         (cutIntoMinibuffer): set parOwner of insets when
9881         inserting/removing them
9882
9883         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9884
9885 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9886
9887         * tabular-old.C (getTokenValue):
9888         * tabular.C (getTokenValue):
9889         (write_attribute): new versions for LyXLength
9890         (everywhere): adjust the use of widths
9891
9892         * tabular.h: change the type of widths from string to LyXLength
9893
9894 2001-12-11  Ben Stanley <bds02@uow.edu.au>
9895
9896         * paragraph.C: fixed missing line number count when exporting
9897         Environments to LaTeX file
9898
9899         * buffer.C: added informational message for checking line numbers.
9900
9901 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9902
9903         * text2.C (deleteEmptyParagraphMechanism): if there is only one
9904         paragraph, do the 'double space' part, but not the 'empty
9905         paragraph' one.
9906
9907         * text.C (workWidth): small optimization
9908         (getLengthMarkerHeight): use minimal size for negative lengths.
9909
9910 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
9911
9912         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
9913
9914         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
9915
9916 2001-12-11  André Pönitz <poenitz@gmx.net>
9917
9918         * FontLoader.C:
9919         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
9920
9921 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9922
9923         * text2.C: keep selection on a setFont()
9924
9925 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9926
9927         * lyx_cb.C: another bv->text misuse, from insert label
9928
9929 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
9930
9931         * kbsequence.h:
9932         * kbsequence.C: re-instate nmodifier mask
9933
9934 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
9935
9936         * lyx_main.h: make lyxGUI private.
9937
9938 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9939
9940         * lyxfind.C: place the cursor correctly on failed search
9941
9942 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9943
9944         * text.C (getLengthMarkerHeight): for small heights, the arrows
9945         are not always on top/bottom of the text
9946         (drawLengthMarker): smaller arrows; take the left margin in
9947         account; draw also vfills.
9948         (paintFirstRow):
9949         (paintLastRow): remove special code for vfill and standard spaces,
9950         since everything is handled in drawLengthMarker now.
9951
9952 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9953
9954         * buffer.C (insertErtContents): try to handle font and language
9955         interaction a bit better.g
9956
9957         * ColorHandler.C (updateColor): change the hash to cover the whole
9958         LColor enum, ws cleanup
9959         (getGCLinepars): ditto
9960         (getGCLinepars): only lookup in the linecache once.
9961
9962 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
9963
9964         * iterators.C (operator++): Make the iterator more robust
9965
9966         * BufferView2.C (removeAutoInsets): Use paragraph iterators
9967         (John's patch)
9968         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
9969
9970 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9971
9972         * lyxtext.h:
9973         * text.C: better added space drawing
9974
9975 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9976
9977         * LyXView.C:
9978         * BufferView2.C: fix layout combo update on inset unlock
9979
9980 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9981
9982         * Makefile.am: don't compile unused files
9983
9984 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9985
9986         * lyxfunc.C:
9987         * commandtags.h:
9988         * LyXAction.C: remove old LFUN_LAYOUTNO
9989
9990 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9991
9992         * paragraph_pimpl.h:
9993         * paragraph_pimpl.C: isTextAt() doesn't need font param
9994
9995 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9996
9997         * lyxlex.h:
9998         * lyxlex.C: little cleanup
9999
10000 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10001
10002         * BufferView_pimpl.C: fix insertAscii for insets
10003
10004 2001-12-05  Juergen Vigna  <jug@sad.it>
10005
10006         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10007         set the right font on the "multi" paragraph paste!
10008
10009 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10010
10011         * trans_decl.h:
10012         * trans_mgr.[Ch]:
10013         * trans.[Ch]:
10014         * lyxgluelength.C:
10015         * lyxlength.C: remove out-commented code.
10016
10017         * BufferView_pimpl:
10018         * CutAndPaste.C:
10019         * DepTable.C:
10020         * buffer.C:
10021         * chset.C:
10022         * lastfiles.C:
10023         * lyxlex.C:
10024         * lyxlex_pimpl.C:
10025         * lyxserver.C:
10026         * screen.C:
10027         * tabular-old.C:
10028         * tabular.C:
10029         * text.C:
10030         * trans_mgr.C:
10031         * vc-backend.C: change "while(" to "while ("
10032
10033         * lyxlength.[Ch]: add zero function to check if length is zero or
10034         not
10035         * lyxgluelength.C: use it
10036
10037 2001-12-05  Allan Rae  <rae@lyx.org>
10038
10039         * lyxlength.C: Attempted a fix for the abs(int) header selection.
10040         Works for 2.95.3, from what I understand of Garst's reports this should
10041         work for other g++ versions.  We're screwed if the abs(int) definition
10042         changed between bugfix releases of gcc.
10043
10044 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10045
10046         * text.C: fix chapter label offset !
10047
10048 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10049
10050         * lyxtext.h:
10051         * text.C: fix hfill at end of line, clean up
10052
10053 2001-12-04  Juergen Vigna  <jug@sad.it>
10054
10055         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10056         that we force an update of the inset and it's owners if neccessary.
10057
10058 2001-12-03  Juergen Vigna  <jug@sad.it>
10059
10060         * text.C (rowLast): simplified code
10061
10062 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10063
10064         * lyxfunc.C: fix show options on timeout
10065
10066 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10067
10068         * screen.C (topCursorVisible): scroll half a page when the cursor
10069         reached top of bottom of screen
10070
10071 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
10072
10073         * minibuffer.C: deactivate on loss of focus
10074
10075 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10076
10077         * vspace.[Ch] (operator!=): add operator.
10078
10079 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
10080
10081         * BufferView_pimpl.C: refuse to open an inset when
10082         there's a selection.
10083
10084 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
10085
10086         * BufferView_pimpl.C: allow to click on RHS of full row insets
10087
10088 2001-11-30  Juergen Vigna  <jug@sad.it>
10089
10090         * tabular.C (LyXTabular): add a same_id to set the same id's in the
10091         insets for undo reasons.
10092
10093 2001-11-28  André Pönitz <poenitz@gmx.net>
10094
10095         * vspace.[Ch]: cosmetical changes
10096
10097 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10098
10099         * LyXAction.h:
10100         * LyXAction.C:
10101         * lyxfunc.h:
10102         * lyxfunc.C:
10103         * kbmap.h:
10104         * kbmap.C:
10105         * lyxrc.C:
10106         * kbsequence.h:
10107         * kbsequence.C: part re-write of old kb code
10108
10109         * Painter.C:
10110         * WorkArea.C: remove Lgb_bug_find_hack
10111
10112 2001-11-30  José Matos <jamatos@fep.up.pt>
10113
10114         * buffer.C (makeDocBookFile): add a comment to point a hack.
10115         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
10116         Fixed a double write of labels.
10117
10118 2001-11-29 Ben Stanley <bds02@uow.edu.au>
10119
10120         * LaTeX.C:
10121         * LaTeX.h Fixed bug in LaTeX class where it would not
10122         re-run latex if no depfiles were changed, but the .dvi was removed.
10123
10124 2001-11-28  André Pönitz <poenitz@gmx.net>
10125
10126         * all the files from the change on 2001/11/26:
10127         use lyx::layout_type instead of LyXTextClass::size_type
10128         use lyx::textclass_type instead of LyXTextClassList::size_type
10129
10130 2001-11-29  Juergen Vigna  <jug@sad.it>
10131
10132         * text.C: added support for paragraph::isFreeSpacing()
10133
10134         * buffer.C: same as above
10135
10136         * paragraph.h: inserted isFreeSpacing() function to enable
10137         FreeSpacing inside InsetERT.
10138
10139         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
10140         of the paragraph's in the cut/copy buffer to 0!
10141
10142         * text2.C (removeRow): remove the assert as it can!
10143
10144         * lyxtext.h: added helper function firstRow returning firstrow and
10145         made firstrow private again.
10146
10147         * BufferView2.C (lockInset): don't relock if we're already locked!
10148
10149         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
10150         the only paragraph.
10151         (removeRow): added Assert::(firstrow)
10152
10153         * debug.C: forgot to add INSETTEXT here.
10154
10155 2001-11-28  Juergen Vigna  <jug@sad.it>
10156
10157         * sp_spell.C (initialize): changed error text to more general
10158         spellchecker command use (not only ispell!)
10159
10160         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
10161
10162         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
10163
10164 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10165
10166         * vspace.C: initialise lyxgluelength on failure
10167
10168 2001-11-28  Allan Rae  <rae@lyx.org>
10169
10170         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
10171         declaration & definition that looks like a function declaration.
10172
10173 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10174
10175         * BufferView2.C (copy):
10176         (copyEnvironment): do not clear the selection when doing a copy.
10177
10178         * text.C (paintFirstRow): compilation fix
10179
10180 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
10181
10182         * tabular.C (Latex): correct line count when writing latex.
10183
10184 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
10185
10186         * paragraph_pimpl.h:
10187         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10188           bug a bit
10189
10190 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10191
10192         * text.C:
10193         * LColor.h:
10194         * LColor.C: change vfillline->added_space
10195
10196         * text.C: add markers and text for added space
10197
10198         * vspace.C: fix comment
10199
10200 2001-11-28  André Pönitz <poenitz@gmx.net>
10201
10202         * paragraph.C: whitespace changes
10203         * all the other files from the change on 2001/11/26:
10204         change *::pos_type into lyx::pos_type
10205
10206 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10207
10208         * buffer.C (parseSingleLyXformat2Token): Set the language to the
10209         language of the document when inserting error insets.
10210
10211 2001-11-26  André Pönitz <poenitz@gmx.net>
10212
10213         * BufferView_pimpl.[Ch]:
10214         *       CutAndPaste.C:
10215         * buffer.[Ch]:
10216         * lyxcursor.[Ch]:
10217         * lyxfind.C:
10218         * lyxfunc.C:
10219         * lyxrow.[Ch]:
10220         * paragraph.[Ch]:
10221         * paragraph_pimpl.[Ch]:
10222         * sp_spell.C:
10223         * text.C:
10224         * text2.C: reduce header dependencies, introduce type for positions
10225
10226 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10227
10228         * <various>: change to use Alert.h
10229
10230 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10231
10232         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10233         when encountering an unknown token.
10234         (readLyXformat2): Show an error message if there were unknown tokens.
10235
10236 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
10237
10238         * BufferView2.C:
10239         * BufferView_pimpl.C:
10240         * buffer.C:
10241         * paragraph.h:
10242         * text.C:
10243         * text2.C: use par->isInset()
10244
10245 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10246
10247         * paragraph_pimpl.h:
10248         * paragraph_pimpl.C: cleanup
10249
10250 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10251
10252         * text2.C (removeRow):
10253         * text.C (setHeightOfRow): remove useless (and costly) call to
10254         getRow.
10255
10256 2001-11-20  Allan Rae  <rae@lyx.org>
10257
10258         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10259         Now need Inset*::checkInsertChar() to return true for appropriate
10260         cases so that the characters in the minibuffer will actually be
10261         inserted.
10262
10263 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10264
10265         * text.C: change the order of the includes.
10266         (workWidth): initialize it at once.
10267         (workWidth): make maxw unsigned
10268         (setHeightOfRow): remove unused variable (inset)
10269         (selectSelectedWord): remove unused variable (inset)
10270         (paintRowText): fix drawing of hfill characters, and clean up a bit.
10271
10272 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10273
10274         * lyxserver.C (emergencyCleanup): do not try to close pipes if
10275         server is not running.
10276         (openConnection):
10277         (closeConnection): add debug info when server is disabled.
10278
10279         * ColorHandler.C (getGCForeground): send debug message to GUI
10280         channel.
10281
10282         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10283
10284         * kbmap.C (bind): modify because return conventions of
10285         kb_sequence::parse have changed.
10286
10287         * kbsequence.C (parse): only ignore spaces and not any stupid
10288         control character. This avoids tests like s[i] <= ' ', which are
10289         guaranteed to fail with 8bit characters and signed chars.
10290         Change return code to string::npos when there have been no error
10291         (0 was a bad idea when error is at first character)
10292
10293 2001-11-14  José Matos  <jamatos@fep.up.pt>
10294
10295         * buffer.h:
10296         * buffer.C (simpleDocBookOnePar): removed unused argument.
10297
10298 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10299
10300         * text.C (selectNextWordToSpellcheck): do not test explicitely for
10301         insets which are part of a word. Paragraph::isLetter takes care of
10302         that now. Use Paragraph::isInset to identify insets.
10303         (selectSelectedWord): do not test for hyphenation break.
10304
10305         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10306         that protected spaces are considered as spaces.
10307
10308         * paragraph.C (isLetter): cleanup the code for ispell extras; use
10309         Inset::isLetter.
10310
10311 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
10312
10313         * lyxserver.h:
10314         * lyxserver.C: fix it. and small cleanup.
10315
10316 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10317
10318         * BufferView_pimpl.C: use inline helpers
10319
10320         * LaTeXFeatures.h:
10321         * LaTeXFeatures.C: fix typos
10322
10323         * Spacing.h:
10324         * Spacing.C: move spacing_string into class
10325
10326         * ToolbarDefaults.C: move stuff into namespace anon
10327
10328         * layout.h: update enum
10329
10330         * lyxfunc.C: use better debug
10331
10332         * minibuffer.h: fix typo
10333
10334         * debug.h:
10335         * debug.C:
10336         * WorkArea.C: add and use Debug::WORKAREA
10337
10338         * lyxtext.h:
10339         * text.C:
10340         * text2.C: code re-organisation, inline helpers
10341
10342 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
10343
10344         * Layout.C: replaced a few cases of std::vector.size() == 0 with
10345         std::vector.empty().
10346
10347 2001-11-09  Allan Rae  <rae@lyx.org>
10348
10349         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10350         '\n's after tables.  Tabular and ERT inset work now makes this no
10351         longer necessary.
10352
10353 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10354
10355         * minibuffer.h:
10356         * minibuffer.C: fix crash, improve drop-down completion
10357
10358 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
10359
10360         * lyxserver.h:
10361         * lyxserver.C: invalidate fd's when doing endPipe()
10362
10363 2001-11-08  José Matos  <jamatos@fep.up.pt>
10364
10365         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
10366         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
10367
10368         * paragraph.h:
10369         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
10370
10371 2001-11-07  José Matos  <jamatos@fep.up.pt>
10372
10373         * buffer.h:
10374         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
10375         const qualifier.
10376
10377         * buffer.C (sgmlOpenTag):
10378         * buffer.C (sgmlCloseTag): removed debug info.
10379
10380         * buffer.h (sgmlOpenTag):
10381         * buffer.h (sgmlCloseTag): made public.
10382
10383 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10384
10385         * buffer.C (saveParamsAsDefaults):
10386         * lyx_cb.C (MenuLayoutSave): remove
10387
10388         * LyXAction.C (init):
10389         * commandtags.h:
10390         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
10391
10392 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10393
10394         * buffer.C (setPaperStuff): removed from here...
10395
10396         * bufferparams.C (setPaperStuff): ... and moved there.
10397
10398 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
10399
10400         * minibuffer.h:
10401         * minibuffer.C:
10402         * XFormsView.C: add support for drop-down completion
10403
10404 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
10405
10406         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
10407         commands.
10408
10409 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10410
10411         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
10412         disabled.
10413
10414 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
10415
10416         * lyx_main.C: change ref to known bugs
10417
10418 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
10419
10420         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
10421         to work around older babel problems.
10422
10423 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
10424
10425         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
10426
10427 2001-10-24  Juergen Vigna  <jug@sad.it>
10428
10429         * tabular-old.C (ReadOld): below variable changes reflected.
10430
10431         * tabular.[Ch]: added ltType struct for longtable header/footer
10432         defines and changed all instances where they are used. Added
10433         future support for double top/bottom rows.
10434
10435 2001-10-24  José Matos  <jamatos@fep.up.pt>
10436
10437         * buffer.h (docbookHandleCaption):
10438         * buffer.C (docbookHandleCaption): removed unused function.
10439         (makeDocBookFile): moved docbook supported version to v4.1.
10440
10441 2001-10-24  José Matos  <jamatos@fep.up.pt>
10442
10443         * tabular.h:
10444         * tabular.C (docbookRow): new function to export docbook code of a row.
10445         (DocBook): now honors the longtable flags.
10446
10447 2001-10-23  José Matos  <jamatos@fep.up.pt>
10448
10449         * LaTeXFeatures.h:
10450         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
10451         of the lyx defined sgml entities used in a docbook/linuxdoc document.
10452
10453         * buffer.C (makeLinuxDocFile):
10454         (makeDocBookFile): reworked the preamble, more clean, and with
10455         support for lyx defined entities. Changed the document declaration
10456         to be more XML friendly.
10457
10458         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
10459         if we need to output XML that should be done with a filter.
10460
10461 2001-10-22  Juergen Vigna  <jug@sad.it>
10462
10463         * sp_pspell.h (class PSpell): add alive function needed in the
10464         controller to see if the spellchecker could be started.
10465
10466 2001-10-22  Juergen Vigna  <jug@sad.it>
10467
10468         * buffer.C (insertStringAsLines): modify the font for inserting
10469         chars in certain conditions by calling checkInsertChar(font).
10470
10471 2001-10-19  Juergen Vigna  <jug@sad.it>
10472
10473         * text.C (workWidth): use getRow instead of wrong algorithm.
10474         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
10475
10476 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
10477
10478         * lyxserver.h:
10479         * lyxserver.C:
10480         * lyx_main.h:
10481         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
10482
10483 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10484
10485         * text.C (workWidth): do not search for the exact row when
10486         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
10487         optimization for big documents.
10488
10489 2001-10-18  Juergen Vigna  <jug@sad.it>
10490
10491         * text.C (workWidth): new function with added Inset * parameter.
10492
10493 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10494
10495         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
10496
10497         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
10498         change return type of getColumnNearX.
10499
10500
10501         * text.C (changeRegionCase): use uppercase/lowercase instead of
10502         toupper/tolower.
10503         (leftMargin):
10504         (rightMargin): simplify code by factoring out the uses of
10505         textclasslist.
10506         (labelFill):
10507         (numberOfHfills):
10508         (setHeightOfRow):
10509         (appendParagraph): use Paragraph::size_type
10510
10511 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10512
10513         * vspace.C (asLatexString): add a missing break
10514
10515 2001-10-15  Herbert Voss  <voss@perce.de>
10516
10517         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
10518
10519 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10520
10521         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
10522         is not available.
10523
10524 2001-10-10  André Pönitz <poenitz@gmx.net>
10525
10526         * lyxfunc.C: removed greek_kb_flag.
10527
10528 2001-10-10  Herbert Voss  <voss@perce.de>
10529
10530         * lyx_main.C: delete global string help_lyxdir.
10531
10532 2001-10-09  Herbert Voss  <voss@perce.de>
10533
10534         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
10535
10536         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
10537
10538         * lyx_main.C: added global string help_lyxdir.
10539
10540         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
10541
10542 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10543
10544         * lyxrc.C (set_font_norm_type): support iso8859-4
10545
10546 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
10547
10548         * LaTeX.C (deplog): add another regex for MikTeX
10549
10550 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10551
10552         * lyxrc.C (set_font_norm_type): support iso8859-3
10553
10554 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10555
10556         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
10557
10558         * LaTeXFeatures.C: remove special case of french and index
10559
10560         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
10561         before \begin{document}). This solves several incompatibilities.
10562
10563 2001-10-03  Garst Reese  <reese@isn.net>
10564
10565         * lyx_cb.C: change CheckTex error msg.
10566
10567 2001-10-03  José Matos  <jamatos@fep.up.pt>
10568
10569         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
10570
10571 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10572
10573         * .cvsignore: update
10574
10575         * lyx_main.C (commandLineVersionInfo): use new style version info.
10576
10577         * buffer.C (writeFile):
10578         (makeLaTeXFile):
10579         (makeLinuxDocFile):
10580         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
10581
10582         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
10583
10584         * version.h: update to use stuff in version.C
10585
10586         * version.C.in: new file. Contains version information determined
10587         at compile time. This is a merging of version.h and
10588         version_info.h.in.
10589
10590 2001-10-03  Juergen Vigna  <jug@sad.it>
10591
10592         * BufferView_pimpl.C (update): don't change "dirty" status in
10593         updateInset call.
10594
10595 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
10596
10597         * WorkArea.C (c-tor): re-position version string slightly.
10598
10599 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
10600
10601         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
10602         revert to previous code.
10603
10604         WorkArea.[Ch]: (show, destroySplash): methods removed.
10605
10606         WorkArea.C: rework code so that it's an amalgam of the codes before and
10607         after the splash screen was moved to WorkArea.
10608
10609 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10610
10611         * lyxrc.C (read):
10612         * vspace.C (inPixels):
10613         (lyx_advance):
10614         * kbmap.C (bind):
10615         * buffer.C (insertStringAsLines):
10616         (asciiParagraph): fix types to be large enough
10617
10618         * lyxlex_pimpl.h: change member status from short to int
10619
10620         * layout.h: fix type of endlabeltype
10621
10622         * kbmap.C (bind):
10623         * kbsequence.C (parse): change return type to string::size_type
10624
10625         * LaTeX.C (updateBibtexDependencies): comment out unneeded
10626         variable
10627
10628         * Bullet.C (bulletSize):
10629         (bulletEntry): do not use short ints as parameters
10630
10631         * BufferView2.C (insertLyXFile): change a char to an int.
10632
10633         * WorkArea.C (WorkArea): remove unneeded floats in computation
10634
10635 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
10636
10637         * buffer.C (asciiParagraph): Treat '\\' as other chars.
10638
10639         * paragraph.C (asString): Do not ignore newline/hfill chars when
10640         copying to the clipboard.
10641
10642 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
10643
10644         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
10645         after a multi-line inset.
10646
10647 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
10648
10649         * paragraph.C (validate): Set NeedLyXFootnoteCode
10650
10651 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
10652
10653         * lyxfont.C (LyXSizeNames): changed increase-error to increase
10654         and decrease-error to decrease.
10655
10656 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10657
10658         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
10659         it more readable (should be equivalent)
10660
10661 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10662
10663         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
10664
10665 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10666
10667         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
10668         of a cursor (row, etc.) after a character has been deleted
10669         (deleteEmptyParagraphMechanism): call the method above on _all_
10670         cursors held by the LyXText when a double space has been
10671         detected/deleted.
10672
10673 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
10674
10675         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
10676         pixmap.
10677         (resizeCurrentBuff): remove code to destroy the old splash dialog.
10678
10679         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
10680         background. Use greyOut() and the new show() methods to toggle between
10681         the foreground and background. Add code to remove the splash after
10682         its initial showing.
10683
10684         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
10685         (create_forms): no longer call Dialogs::showSplash.
10686
10687 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10688
10689         * .cvsignore: add version_info.h
10690
10691 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10692
10693         * version_info.h.in: new file
10694
10695         * Makefile.am: add version_info.h.in
10696
10697         * lyx_main.C (commandLineVersionInfo): use version_info defined in
10698         version_info.h instead of VERSION_INFO
10699
10700 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
10701
10702         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
10703         The ERT inset now returns string().
10704
10705 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
10706
10707         * lyxtext.h, text.C (selectNextWord): renamed as
10708         selectNextWordToSpellcheck.
10709
10710         * text.C (selectNextWordToSpellcheck): Modified to not select
10711         words inside an ERT inset.
10712
10713 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10714
10715         * lyx_cb.C (MenuLayoutSave): change a bit the question
10716
10717         * sp_base.h: include <sys/types.h>
10718
10719 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
10720
10721         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
10722
10723 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
10724
10725         * several files: fix typos in user-visible strings
10726
10727 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10728
10729         * text2.C (pasteSelection): do not set the selection, since it
10730         will be cleared later. Actually, the intent was to fix the way the
10731         selection was set, but I figured rmoving the code was just as good.
10732
10733 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
10734
10735         * FontLoader.C (available): Check if font is available without
10736         loading the font.
10737
10738 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
10739
10740         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
10741
10742 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
10743
10744         * lyxrc.[Ch]: added display_graphics variable and associated code.
10745
10746 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10747
10748         * bufferparams.C (hasClassDefaults): new method. Returns true if
10749         the buffer parameters correspond to known class defaults
10750
10751 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
10752
10753         * XFormsView.C (show): set minimum size to the main window.
10754
10755 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10756
10757         * text2.C (copySelection):
10758         (cutSelection):
10759         * lyxfind.C (LyXReplace):
10760         * BufferView_pimpl.C (Dispatch): pass the correct flag to
10761         LyXText::selectionAsString.
10762
10763         * paragraph.C (asString): add "label" argument to the second form
10764
10765         * text2.C (selectionAsString): add "label" argument and pass it to
10766         Paragraph::asString.
10767
10768 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10769
10770         * lyx_main.C (commandLineHelp): remove version information
10771
10772 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
10773
10774         * lyx_main.C: add -version commandline option
10775
10776 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10777
10778         * paragraph.h: make the optional constructor arg required instead.
10779         some modifications to other files because of this.
10780
10781         * minibuffer.C (C_MiniBuffer_peek_event): make it static
10782
10783         * lyxserver.C (C_LyXComm_callback): make it static
10784
10785         * lyx_main.C (error_handler): make it static
10786
10787         * lyx_gui.C (LyX_XErrHandler): make it static
10788
10789         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
10790
10791         * WorkArea.C: make the extern "C" methods static.
10792
10793         * Makefile.am (lyx_LDADD): simplify
10794
10795 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10796
10797         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
10798         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
10799
10800         * LyXAction.C (init):
10801         * lyxfunc.C (dispatch): associated code removal.
10802
10803 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10804
10805         * lyxfont.h (isSymbolFont): shut off warning
10806
10807         * text.C (setHeightOfRow):
10808         (getVisibleRow): fix crash with empty paragraphs which have a
10809         bottom line
10810
10811 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
10812
10813         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
10814         code.
10815
10816 2001-09-04  José Matos  <jamatos@fep.up.pt>
10817         * buffer.C
10818         * buffer.h
10819         * tabular.C (docbook): rename docBook method to docbook.
10820
10821 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10822
10823         * Makefile.am: add dependencies to main.o.
10824
10825 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
10826
10827         * FontLoader.C (available): Return false if !lyxrc.use_gui
10828
10829 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
10830
10831         * FontInfo.C (query):
10832         * converter.C (view):
10833         * importer.C (Import):
10834         * exporter.C (Export): Can not -> cannot.
10835
10836 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
10837
10838         * BufferView_pimpl.C: allow to create index inset even if
10839           string is empty
10840
10841 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10842
10843         * buffer.C (getLists): replace boost::tie code with an explicit pair
10844         as boost::tie can break some compilers.
10845
10846         * iterators.h: Added a std:: declaration to the return type of
10847         ParIterator::size.
10848
10849 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
10850
10851         * lyxrc.C: add help for view_dvi_paper_option, default to safe
10852           case.
10853
10854 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
10855
10856         * iterators.[Ch]: New files. Provide paragraph iterators.
10857
10858         * buffer.C (changeLanguage): Use paragraph iterators.
10859         (isMultiLingual): ditto
10860
10861         * BufferView2.C (ChangeInsets): Use paragraph iterators.
10862
10863 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
10864
10865         * FontLoader.C: Support for cmr font.
10866
10867 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
10868
10869         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
10870         (available): New method.
10871
10872         * FontInfo.C (getFontname): Use scalable fonts even when
10873         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
10874         found.
10875
10876 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
10877
10878         * converter.C (Formats::view): reverted! Incorrect fix.
10879
10880 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
10881
10882         * converter.C (Formats::view): only output the -paper option
10883         if the dvi viewer is xdvi, thereby fixing bug #233429.
10884
10885 2001-08-23  Herbert Voss  <voss@perce>
10886
10887         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
10888
10889 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
10890
10891         * Spacing.h (Spacing): Set space to Default on in the default
10892         constructor.
10893
10894 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10895
10896         * vc-backend.h (RCS::versionString): add RCS to version
10897         (CVS::versionString): add CVS to version
10898
10899         * vc-backend.C (scanMaster): do not add CVS to version.
10900         (scanMaster): do not add RCS to version
10901
10902         * lyxvc.C (versionString): new method
10903
10904         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
10905
10906 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10907
10908         * Spacing.C (set): initialize fval
10909
10910 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
10911
10912         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
10913         " or \.
10914
10915 2001-08-16  Juergen Vigna  <jug@sad.it>
10916
10917         * lyxfunc.C (dispatch): implemented the new FINISHED states.
10918
10919 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
10920
10921         * BufferView_pimpl.C:
10922         * figureForm.C:
10923         * lyxtext.h:
10924         * text2.C: setParagraph takes linespacing now
10925
10926 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
10927
10928         * LyxAction.C: add internal LFUN_CITATION_INSERT
10929
10930         * LyXView.C: actually apply fix
10931
10932         * bufferlist.C: fix open non-existent file
10933
10934         * lyxfind.C: fix indentation
10935
10936         * lyxfunc.C: remove unneeded assert, fix typo
10937
10938 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
10939
10940         * MenuBackend.C: use "Floatname List"
10941
10942 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
10943
10944         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
10945         when converting LaTeX layout to insetERT.
10946         Generate a non-collapsed float when reading old float
10947
10948 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
10949
10950         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
10951         ERT insets.
10952
10953 2001-08-13  Juergen Vigna  <jug@sad.it>
10954
10955         * text.C (fill): return 0 instead of 20 as this seems to be the more
10956         correct value.
10957
10958 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
10959
10960         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
10961         lyxrc.font_norm.
10962
10963 2001-08-13  Juergen Vigna  <jug@sad.it>
10964
10965         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
10966         casesensitive off.
10967         (SearchBackward): comment out the unlocking of the inset_owner this
10968         should not be needed!
10969
10970 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
10971
10972         * Many files: Remove inherit_language, and add latex_language
10973
10974         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
10975         collapsible insets.
10976
10977 2001-08-10  Juergen Vigna  <jug@sad.it>
10978
10979         * text.C (prepareToPrint): fixed hfill-width in draw!
10980
10981         * BufferView2.C (selectLastWord): save the selection cursor as this
10982         now is cleared in the function LyXText::clearSelection!
10983
10984 2001-08-08  Juergen Vigna  <jug@sad.it>
10985
10986         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
10987         BACKSPACE type functions.
10988
10989         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
10990         is only cutted from the document but not put in the cut-buffer, where
10991         still the old stuff should be.
10992
10993         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
10994
10995         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
10996
10997         * tabular.C (SetWidthOfCell): fixed special case where the width
10998         was not updated!
10999         (LeftLine): handle '|' in align_special.
11000         (RightLine): ditto
11001         (LeftAlreadyDrawed): ditto
11002         (SetWidthOfCell): ditto
11003
11004 2001-08-07  Juergen Vigna  <jug@sad.it>
11005
11006         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11007
11008 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11009
11010         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11011         * lyxlex.[hC]: ditto
11012
11013 2001-08-06  Juergen Vigna  <jug@sad.it>
11014
11015         * text.C (getVisibleRow): fix up row clearing a bit.
11016
11017 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11018
11019         * minibuffer.C: make sure the X server sees the changes in the input.
11020
11021 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11022
11023         * paragraph.C (getFont): split into...
11024         (getLabelFont): this
11025         (getLayoutFont): and this
11026         * paragraph_pimpl.C (realizeFont): calling this
11027
11028         * text2.C (getFont): split into...
11029         (getLayoutFont): this
11030         (getLabelFont): and this
11031         (realizeFont): all three calling this
11032
11033         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11034         files where used.
11035
11036 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11037
11038         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11039
11040 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
11041
11042         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11043         layouts from the Quote inset insertion.
11044
11045 2001-08-03  Juergen Vigna  <jug@sad.it>
11046
11047         * BufferView_pimpl.C (update): do the fitCursor only at the end!
11048
11049         * screen.C (drawFromTo): don't call fitcursor here and do the loop
11050         only if status not is already CHANGED_IN_DRAW (second level).
11051
11052         * text.C (draw): don't set the need_break_row when inside an
11053         InsetText LyXText.
11054
11055 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11056
11057         * buffer.C (parseSingleLyXformat2Token): handle more latex
11058         conversion cases.
11059
11060         * bufferview_funcs.[hC]: change function names to
11061         begin with small char, adjust other files.
11062
11063 2001-08-02  André Pönitz <poenitz@gmx.net>
11064
11065         * lyxfunc.C:
11066         BufferView_pimpl.C: remove broken special code for math-greek
11067
11068 2001-08-02  Juergen Vigna  <jug@sad.it>
11069
11070         * BufferView_pimpl.C (update): redone this function so that we
11071         update the text again if there was a CHANGE_IN_DRAW.
11072
11073         * screen.C (cursorToggle): removed LyXText parameter and recoded.
11074         (drawFromTo): added a new internal bool which is used by draw() and
11075         redraw() function.
11076         (general): some cursor drawing problems fixed.
11077
11078 2001-08-01  Juergen Vigna  <jug@sad.it>
11079
11080         * lyxfind.C (LyXFind): fixed
11081         (SearchForward): ditto
11082         (SearchBackward): ditto
11083
11084         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11085         spurius drawing of the cursor in the main area.
11086
11087         * text2.C (status): small fix which could lead to a segfault!
11088         (clearSelection): remove unneeded BufferView param.
11089
11090 2001-08-01  André Pönitz <poenitz@gmx.net>
11091
11092         * lyxfunc.C: small change due to changed mathed interface
11093
11094 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11095
11096         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
11097
11098 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
11099
11100         * lyxfunc.c: fail gracefully if file doesn't exist
11101
11102         * LyXSendto.C:
11103         * buffer.C:
11104         * lyxfunc.C:
11105         * BufferView_pimpl.C: IsDirWriteable() proto changed
11106
11107         * LyXView.C: fix updateWindowTitle() to store the last title
11108
11109 2001-07-31  Juergen Vigna  <jug@sad.it>
11110
11111         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
11112         the font (wrong since using of Paragraph::highestFontInRange).
11113
11114         * paragraph.C (highestFontInRange): added a default_size parameter.
11115
11116         * text.C (getVisibleRow): minor clear row changes (still not perfect).
11117         (setHeightOfRow): reformat
11118
11119 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11120
11121         * converter.[hC] + affected files: move to (inital-char)lowercase
11122         function names.
11123
11124         * ParagraphParameters.C (ParagraphParameters): remove commented code
11125
11126         * PainterBase.[Ch]: remove commented code
11127
11128         * LaTeXFeatures.h: add "bool floats" for float.sty
11129
11130         * LaTeXFeatures.C (LaTeXFeatures): init floats
11131         (require): handle float
11132         (getPackages): do it with floats
11133
11134 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11135
11136         * BufferView_pimpl.C (Dispatch): improve handling of
11137         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
11138
11139         * commandtags.h: #include lyxfont.h here temporarily to avoid
11140         keybinding bug.
11141
11142         * bufferlist.h: include LString.h here.
11143
11144 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11145
11146         * text2.C (getStringToIndex): new method.
11147
11148 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
11149
11150         * *: Reduced header file dependencies all over.
11151
11152 2001-07-30  Baruch Even  <baruch@lyx.org>
11153
11154         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
11155
11156 2001-07-29  Baruch Even  <baruch@lyx.org>
11157
11158         * buffer.C (readInset): Changed GRAPHICS to Graphics.
11159
11160 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11161
11162         * ParameterStruct.h (endif): add a default constructor to make
11163         sure that all variables is initialized.
11164
11165         * ParagraphParameters.C (ParagraphParameters): adjust
11166
11167 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11168
11169         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11170         index; also, check that there is something to index, and that it
11171         does not span over several paragraphs.
11172         (doubleClick): use WHOLE_WORD_STRICT for double click.
11173
11174         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
11175
11176         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11177         scheme.
11178
11179 2001-07-26  Baruch Even  <baruch@lyx.org>
11180
11181         * buffer.C (readInset): Changed to call up InsetGraphics when reading
11182         an InsetFig figure, backwards compatible reading of old figure code.
11183
11184 2001-07-27  Juergen Vigna  <jug@sad.it>
11185
11186         * text2.C: font.realize function adaption.
11187
11188         * text.C (draw): add a warnings lyxerr text if needed.
11189
11190         * layout.C: font.realize function adaption.
11191
11192         * language.C: add inherit_language and implement it's handlings
11193
11194         * bufferview_funcs.C (StyleReset): remove language parameter from
11195         font creation (should be language_inherit now).
11196
11197         * bufferparams.C (writeFile): handle ignore_language.
11198
11199         * paragraph.C (getFontSettings): the language has to be resolved
11200         otherwise we have problems in LyXFont!
11201
11202         * lyxfont.C (lyxWriteChanges): added document_language parameter
11203         (update): removed unneeded language parameter
11204
11205         * paragraph.C (validate): fixed wrong output of color-package when
11206         using interface colors for certain fonts in certain environments,
11207         which should not seen as that on the final output.
11208
11209 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
11210
11211         * BufferView_pimpl.C:
11212         * Thesaurus.h:
11213         * Thesaurus.C:
11214         * Makefile.am:
11215         * commandtags.h:
11216         * LyXAction.C: add thesaurus support
11217
11218         * lyxfind.h:
11219         * lyxfind.C: add "once" parameter, for thesaurus, to not
11220           move to the next match
11221
11222 2001-07-26  Juergen Vigna  <jug@sad.it>
11223
11224         * lyxfont.C (realize): honor ignore_language too!
11225         (resolved): ditto.
11226
11227         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11228
11229         * text.C (draw): one place more for ignore_language to not draw
11230         itself!
11231
11232 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
11233
11234         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11235
11236 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11237
11238         * buffer.C (parseSingleLyXformat2Token): a more general fix for
11239         the minipage conversion problem.
11240
11241 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11242
11243         * buffer.C (parseSingleLyXformat2Token): check minipage if we
11244         insert an inset.
11245
11246 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11247
11248         * BufferView.h: don't forward declare WorkArea
11249
11250         * BufferView.C: don't include WorkArea.h
11251
11252 2001-07-25  André Pönitz <poenitz@gmx.net>
11253
11254         * commandtags.h:
11255         * LyXAction.C:
11256         * lyxfunc.C:  new LFUN 'math-space'
11257
11258         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11259
11260 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11261
11262         * text2.C (toggleInset): call open/close
11263
11264 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11265
11266         * lyxfunc.C (dispatch): add debug for the disabled case
11267
11268         * font.C (buttonText): make similar to rectText
11269
11270         * buffer.C (readInset): comment out parsing of insetlist and
11271         insttheorem
11272
11273         * PainterBase.C (rectText): small correction
11274
11275         * BufferView_pimpl.C: comment out insettheorem and insetlist
11276         * LyXAction.C: ditto
11277         * commandtags.h: ditto
11278
11279 2001-07-24  Juergen Vigna  <jug@sad.it>
11280
11281         * text.C (draw): honor the ignore_language.
11282
11283         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11284
11285 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11286
11287         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11288         char inset.
11289
11290 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11291
11292         * lyxtext.h: remove unused (and unimplemented) methods
11293
11294 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11295
11296         * text.C (getVisibleRow): honor background color
11297
11298         * PainterBase.h:
11299         * Painter.h: remove default color argument for fillRectangle
11300
11301         * text.C (backgroundColor): new method
11302
11303 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11304
11305         * text.C (getVisibleRow): adjust
11306
11307         * font.[Ch] (rectText): new method, metrics
11308         (buttonText): new method, metrics
11309
11310         * PainterBase.[hC]: make rectText and buttonText always draw and take
11311         fewer paramteres.
11312
11313 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11314
11315         * ToolbarDefaults.C (read):
11316         * MenuBackend.C (read): allow escaping in all strings
11317
11318         * BufferView_pimpl.C (insertAndEditInset): new method.
11319         (Dispatch): use insertAndEditInset whenever appropriate.
11320
11321         * BufferView_pimpl.C (insertNote): removed
11322
11323         * BufferView_pimpl.C (smartQuote): new method, moved from
11324         BufferView; if an insetquote cannot be inserted, insert a '"'
11325         character instead.
11326
11327         * BufferView2.C: remove insertCorrectQuote();
11328
11329         * lyxfunc.C (getStatus): Add support for all remaingin
11330         inset-insert lfuns.
11331
11332         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11333
11334         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11335         command (necessary to pass " as parameter of self-insert.
11336
11337         * text.C (selectWordWhenUnderCursor):
11338         (selectWord): add word_location parameter
11339         (selectWordWhenUnderCursor): same + remove special code for word
11340         boundary.
11341         (selectNextWord): use kind() to guess type of insetspecialchar,
11342         not latex().
11343
11344         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11345         (insertErtContents): create ert insets as collapsed.
11346         (readInset): better compatibility code for Info inset.
11347
11348 2001-07-20  Juergen Vigna  <jug@sad.it>
11349
11350         * lyxfunc.C (dispatch): use always LyXFind now!
11351
11352         * text2.C (init): add a reinit flag so that the LyXText can be
11353         reinited instead of deleted and reallocated (used in InsetText).
11354
11355         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11356
11357         * text.C: ditto
11358
11359         * text2.C: ditto
11360
11361 2001-07-18  Juergen Vigna  <jug@sad.it>
11362
11363         * text.C (selectNextWord): handle insets inside inset by calling
11364         always the bv->text functions so that we can go up the_locking_inset!
11365
11366         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
11367         in strange locations when inside an inset!
11368
11369         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
11370         handling to include insets.
11371
11372         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
11373
11374 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11375
11376         * LyXAction.C (init):
11377         * commandtags.h:
11378         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
11379         LIGATURE_BREAK, since the name is so stupid.
11380
11381 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11382
11383         * buffer.C (readInset): enable reading of new InsetNotes as well as old
11384         InsetInfos.
11385
11386         * FontLoader.C: remove FORMS_H_LOCATION cruft.
11387
11388         * sp_form.[Ch]: remove.
11389
11390         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
11391
11392         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
11393         InsetInfo.
11394
11395         * src/buffer.C (readInset): ditto.
11396
11397 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11398
11399         * BufferView_pimpl.C (specialChar): new method. Obsoletes
11400         menuSeparator(), endOfSentenceDot(), ldots() and
11401         hyphenationPoint(), which are therefore removed.
11402         (Dispatch): handle LFUN_HYPHENATION_BREAK.
11403
11404         * LyXAction.C (init):
11405         * commandtags.h: add LFUN_HYPHENATION_BREAK.
11406
11407         * paragraph.C (getWord): removed.
11408
11409         * BufferView_pimpl.C (Dispatch): use last word or selection for
11410         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
11411
11412         * lyx_main.C (queryUserLyXDir): do not ask before creating
11413         user_dir, except if it has been named explicitely.
11414
11415 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11416
11417         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
11418         a document of zero size.
11419
11420 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
11421
11422         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
11423         approriately in the c-tor and in require().
11424         (getPackages): output the appropriate LaTeX for natbib support.
11425
11426         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
11427         variables "use_natbib" and "use_numerical_citations" when reading the
11428         LyX file.
11429         (readInset): read the various natbib cite commands.
11430         (validate): white-space change.
11431
11432         * bufferparams.[Ch]: new variables "bool use_natbib" and
11433         "bool use_numerical_citations".
11434         (writeFile): output them in the LyX file.
11435
11436 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11437
11438         * lyxfunc.C (getStatus): add support for all the inset insertion
11439         commands.
11440
11441         * text2.C (insertInset):
11442         * paragraph.C (insetAllowed):
11443         * BufferView_pimpl.C (insertInset): update to take in account the
11444         renaming of insertInsetAllowed
11445
11446         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
11447
11448         * text2.C (getInset): new method. returns inset at cursor position.
11449
11450         * BufferView_pimpl.C (Dispatch): changes because of this.
11451
11452         * LyXAction.C (init): rename open-stuff to inset-toggle.
11453
11454         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
11455
11456         * text2.C (toggleInset): renamed from openStuff; use
11457         Inset::open().
11458
11459 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
11460
11461         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
11462
11463         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
11464
11465 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
11466
11467         * buffer.C (readLyXformat2): Add filename to the error dialog
11468
11469 2001-07-18  Juergen Vigna  <jug@sad.it>
11470
11471         * tabular.C (GetCellNumber): put an assert here instead of the check!
11472
11473 2001-07-17  Juergen Vigna  <jug@sad.it>
11474
11475         * BufferView_pimpl.C (toggleSelection): adapted too.
11476
11477         * text.C (selectNextWord): adapted for use with insets.
11478         (selectSelectedWord): ditto
11479
11480 2001-07-17  Juergen Vigna  <jug@sad.it>
11481
11482         * sp_spell.C (PSpell): fix initialitation order.
11483
11484 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11485
11486         * paragraph.C: spacing
11487
11488 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
11489
11490         * sp_spell.C: repair language selection for pspell
11491
11492 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11493
11494         * lyxfunc.h: change more methods to begin with lower char.
11495
11496 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
11497
11498         * buffer.C (parseSingleLyXformat2Token): Generate error insets
11499         for unknown layouts.
11500
11501 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11502
11503         * buffer.C (readLyXformat2): Generate an error dialog if there are
11504         unknown layouts.
11505
11506 2001-07-16  Juergen Vigna  <jug@sad.it>
11507
11508         * sp_spell.C: always compile ISpell part.
11509
11510         * lyxrc.C: added use_pspell entry and it's handling.
11511
11512 2001-07-13  Juergen Vigna  <jug@sad.it>
11513
11514         * sp_spell.C: removed double includes.
11515
11516 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
11517
11518         Consistent use of Lsstream.h:
11519         * Lsstream.h: added using std::stringstream for consistencies sake.
11520
11521         * buffer.C: removed using std::stringstream
11522
11523         * lyxfont.C (stateText):
11524         * paragraph.C (asString):
11525         * text.C (selectNextWord, selectSelectedWord):
11526         * text2.C (setCounter):
11527         * vspace.C (asString, asLatexString):
11528         std::ostringstream -> ostringstream.
11529
11530 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
11531
11532         * LyXAction.C: add LFUN_HELP_ABOUTLYX
11533         * commandtags.h: add LFUN_HELP_ABOUTLYX
11534         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
11535
11536 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
11537
11538         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
11539         cursorToggle()
11540         * lyx_gui_misc.C: remove spellchecker
11541         * lyxfunc.C: showSpellchecker
11542         * sp_base.h: added
11543         * sp_ispell.h: added
11544         * sp_pspell.h: added
11545         * sp_spell.C: added
11546         * sp_form.[Ch]: removed
11547         * spellchecker.[Ch]: removed
11548
11549 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
11550
11551         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
11552         is set.
11553         (simpleTeXSpecialChars): Simply print the input character without
11554         any special translation if pass_thru is set.
11555
11556         * layout.h: Added bool pass_thru to layout class for being able to
11557         implement pass through of a paragraph for Literate Programming.
11558
11559         * layout.C: add LT_PASS_THRU to LayoutTags enum.
11560         * layout.C (LyXLayout): set pass_thru to flase in constructor.
11561         * layout.C (Read): add "passthru" to list of layout tags and add
11562         code to set the pass_thru boolean when it is read.
11563
11564 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11565
11566         * trans_decl.h: remove allowed from KmodInfo
11567
11568         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
11569         remove allowed code
11570         (Load): adjust
11571
11572         * paragraph_pimpl.C (erase): use boost::prior
11573
11574         * Painter.C (text): use data() instead of c_str() when length is
11575         also provided.
11576         * WorkArea.C (putClipboard): ditto
11577         * font.h (width): ditto
11578
11579         * BufferView2.C: use it-> instead of (*it). for iterators
11580         * texrow.C: ditto
11581         * paragraph_pimpl.C: ditto
11582         * paragraph.C: ditto
11583         * minibuffer.C: ditto
11584         * language.C: ditto
11585         * kbmap.C: ditto
11586         * encoding.C: ditto
11587         * counters.C: ditto
11588         * converter.C: ditto
11589         * chset.C: ditto
11590         * Variables.C: ditto
11591         * TextCache.C: ditto
11592         * MenuBackend.C: ditto
11593         * LyXAction.C: ditto
11594         * LColor.C: ditto
11595         * FloatList.C: ditto
11596         * DepTable.C: ditto
11597         * ColorHandler.C (LyXColorHandler): ditto
11598
11599 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11600
11601         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
11602
11603         * text2.C (openStuff): reintroduce this method (which had been
11604         nuked in NEW_INSETS frenzy).
11605
11606         * lyxfunc.C (Dispatch): when an action has not been handled, use
11607         its name in the error message, not its number.
11608
11609         * paragraph.C (inInset): change method name to begin with lowercase.
11610
11611         * undo_funcs.C:
11612         * text2.C: updates because of this.
11613
11614 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11615
11616         * ToolbarDefaults.C (add): add spaces in error message
11617
11618 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11619
11620         * buffer.C (readLyXformat2): initialize the ert comp. variables.
11621         (readLyXformat2): rename return_par to first_par, use lyxlex's
11622         pushToken and remove the manual push handling.
11623         (parseSingleLyXformat2Token): add another ert comp. variable:
11624         in_tabular, rename return_par to first_par. handle newlines better
11625
11626 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11627
11628         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
11629
11630 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11631
11632         * text2.C (getParFromID): removed
11633
11634         * buffer.C (getParFromID): new method moved form lyxtext.
11635         * BufferView2.C (insertErrors): adjust
11636         (setCursorFromRow): adjust
11637         * BufferView_pimpl.C (restorePosition): adjust
11638         * lyxfunc.C (Dispatch): adjust
11639         * undo_funcs.C (textUndo): adjust
11640         (textRedo): adjust
11641         (textHandleUndo): adjust
11642         (textHandleUndo): adjust
11643
11644 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11645
11646         * buffer.C: up' the LYX_FORMAT
11647
11648         * lyxfont.h: turn NO_LATEX on as default
11649
11650         * buffer.C (insertErtContents): new methods of tex style compability.
11651         (parseSingleLyXformat2Token): use it several places.
11652         * tabular.C (OldFormatRead): and here
11653
11654 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11655
11656         * text2.C: remove some commented code.
11657         reindent file.
11658
11659         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
11660         * trans.C: changes because of the above.
11661
11662 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
11663
11664         * text2.C (setCounter): Fix counters bug with bibliography layout.
11665
11666 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11667
11668         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
11669         own member functions
11670         (simpleTeXSpecialChars): ditto
11671
11672 2001-07-06  Juergen Vigna  <jug@sad.it>
11673
11674         * a lot of files: changed the access to LyXText::status and the
11675         call of undo-functions.
11676
11677         * undo.[Ch]: added a inset_id to the undo informations.
11678
11679         * undo_funcs.[Ch]: added and moved here all undo functions.
11680
11681         * lyxtext.h: give the status enum a weight, made status_ a private
11682         variable and made accessor functions for it, removed the whole bunch
11683         of undo-functions as they are now in their own file, make some
11684         functions publically available. Added function ownerParagraph with
11685         int parameter.
11686
11687         * paragraph.[Ch]: added "bool same_ids" to the constructor,
11688         made InInset() a const function, added getParFromID() function.
11689
11690         * buffer.[Ch]: added const version for inset_iterator functions,
11691         added getInsetFromID() function.
11692
11693         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
11694         changed undo functions for new version.
11695
11696 2001-07-05  Juergen Vigna  <jug@sad.it>
11697
11698         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
11699         unknow mechanism does not call the proper constructor but only this
11700         one also if I request the other!?
11701
11702 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11703
11704         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
11705
11706         * text2.C (LyXText): use initialization lists.
11707
11708         * lyxtext.h (Selection): initialize set_ and mark_
11709         (init): remove method
11710
11711 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
11712
11713         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
11714
11715 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11716
11717         * screen.[Ch]: change method names to begin with lowercase
11718
11719         * BufferView_pimpl.C (updateScrollbar): simplify further and
11720         hopefully make it a bit faster.
11721
11722 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11723
11724         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
11725         calling directly xforms functions.
11726
11727         * Painter.C (Painter):
11728         * lyx_cb.C (MenuWrite):
11729         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
11730         fl_display.
11731
11732         * lyx_gui.C: remove bogus guiruntime extern declaration.
11733
11734 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11735
11736         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
11737         in NEW_INSETS
11738         (redoDrawingOfParagraph): ditto
11739         (redoParagraphs): ditto
11740         (cutSelection): don't create a object for CutAndPaste use the
11741         static method directly
11742         (pasteSelection): ditto
11743
11744         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
11745         LyXview (+ rename)
11746
11747 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11748
11749         * modifications to some other files because of this.
11750
11751         * Makefile.am (lyx_SOURCES): add XFormsView
11752
11753         * XFormsView.[Ch]: new files
11754
11755         * LyXView.[Ch]: make LyXView a base class for the gui handling for
11756         the main window. Move the gui dependent stuff to XFormsView
11757
11758 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11759
11760         * tabular.C (GetCellInset): update cur_cell also in the row/col
11761         version of this function.
11762
11763         * lyxfunc.C: no need to include figure_form.h here.
11764
11765         * FontLoader.h:
11766         * lyxfunc.h:
11767         * lyxscreen.h:
11768         * text2.C:
11769         * lyxvc.C: no need to include forms.h here.
11770
11771 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11772
11773         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
11774
11775         * lyxfunc.C (Dispatch):
11776         * Spacing.C (set):
11777         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
11778         constructor argument.
11779
11780 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11781
11782         * paragraph.C (Paragraph): dont't clear, and just set layout.
11783         (makeSameLayout): use params's copy contructor.
11784
11785         * ParagraphParameters.[Ch] (makeSame): delete method
11786
11787 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
11788
11789         * Variables.[Ch]: fix indentation, rename set to isSet
11790
11791 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11792
11793         * lyxfunc.C (Dispatch): fix typo
11794
11795 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11796
11797         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
11798         upper_bound.
11799
11800         * bufferlist.C: include assert.h for emergencyWrite().
11801
11802 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11803
11804         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
11805           give up at last (bug #425202) !
11806
11807 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
11808
11809         * lyx_gui_misc.C:
11810         * sp_form.h:
11811         * sp_form.C:
11812         * spellchecker.h:
11813         * spellchecker.C: strip spellchecker options and bring up
11814           preferences tab instead
11815
11816 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11817
11818         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
11819         the istringstream constructor
11820
11821 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11822
11823         * paragraph.C (getLayout): fix return value
11824
11825         * paragraph.h: do not declare getLayout as inline.
11826
11827         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
11828
11829 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11830
11831         * lyxcursor.h (operator<): new func
11832         (operator>): new func
11833         (operator>=): new func
11834         (operator<=): new func
11835
11836         * text.C (changeCase): use selection.start and selection.end
11837         (changeRegionCase): require from to be <= to. Require par to be a
11838         valid paragraph.
11839
11840         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
11841
11842 2001-06-27  Juergen Vigna  <jug@sad.it>
11843
11844         * text.C (cursorLeftOneWord): changed to return the cursor and added
11845         overlay with BufferView * parameter which calls this one.
11846         (getWord): added
11847         (selectWord): use new getWord function.
11848         (changeCase): renamed from changeWordCase as and extended to work
11849         also on selections.
11850
11851         * lyxtext.h: added enum word_location
11852
11853         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
11854         changeCase as this operates now also on selections.
11855
11856 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
11857
11858         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
11859
11860         * many files: send debug output to Debug::INFO instead of
11861         Debug::ANY.
11862
11863         * converter.C (View):
11864         (Convert):
11865         (Move): send debug output to Debug::FILES instead of console.
11866
11867 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
11868
11869         * lyxfunc.C (getStatus): use func_status
11870
11871         * func_status.h: new header, describing the results of
11872         LyXFunc::getStatus;
11873
11874         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
11875         LFUN_MATH_HALIGN.
11876
11877 2001-06-25  The LyX Project  <jug@sad.it>
11878
11879         * buffer.C (sgmlOpenTag):
11880         (sgmlCloseTag):
11881         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
11882
11883 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11884
11885         * text2.C: remove some dead code
11886
11887         * tabular.C (GetCellInset): store the last cell checked (gotten)
11888
11889         * tabular.h: add the helper for the speedup
11890
11891         * lyxtext.h: remove some dead code
11892
11893 2001-06-26  The LyX Project  <Asger>
11894
11895         * paragraph.C: Change export to LaTeX of alignment to
11896         \begin{center} and family for better roundtrip work with reLyX.
11897
11898         * Tune the math drawing a bit.
11899
11900 2001-06-25  The LyX Project  <Asger>
11901
11902         * LColor.C (LColor): New color for math background. New color
11903         for buttons.
11904
11905 2001-06-25  The LyX Project  <jug@sad.it>
11906
11907         * lyxfunc.C (MenuNew): remove extra check for .lyx file
11908
11909         * lyxfunc.C (Open):
11910         * bufferlist.C (newFile): do not restrict to files ending with
11911         .lyx
11912
11913         * BufferView_pimpl.C (MenuInsertLyXFile):
11914
11915 2001-06-24  The LyX Project  <jug@sad.it>
11916
11917         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
11918         of compare_no_case
11919
11920 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11921
11922         * lyxtext.h: rename most methods to begin with a small char.
11923         Lots of changes because of this.
11924
11925         * paragraph.C (Paragraph): do not call fitToSize
11926         (erase): call Pimpl::erase
11927         (insertChar): call Pimpl::insertChar
11928         (insertInset): call Pipl::insertInset
11929         (breakParagraph): do not call fitToSize
11930         (breakParagraphConservative): do not call fitToSize
11931         (fitToSize): remove method
11932
11933         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
11934
11935 2001-06-24  The LyX Project  <Asger>
11936
11937         * Fix Qt compilation^2
11938
11939 2001-06-24  The LyX Project  <jug@sad.it>
11940
11941         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
11942         depthHook(getDepth()-1).
11943
11944         * paragraph.h:
11945         * ParagraphParameters.h:
11946         * ParameterStruct.h: change type of depth to unsigned int ==
11947         depth_type. Many adaptations to other files before of that.
11948
11949 2001-06-24  The LyX Project  <Asger>
11950
11951         * Fix Qt compilation.
11952
11953 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11954
11955         * paragraph.h: renamed several methods to begin with small letter.
11956         several changes to many parts of the code because of this.
11957
11958 2001-06-23  The LyX Project  <jug@sad.it>
11959
11960         * text2.C (InsertStringAsLines): renamed from InsertStringA;
11961         rewritten to discard all double spaces when KeepEmpty is off
11962         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
11963         to only handle newlines but not fiddle with spaces and friends.
11964
11965         * lyxfunc.C (MenuNew): when doing 'new from template', use
11966         template_path as default directory
11967
11968 2001-06-23  The LyX Project  <Asger>
11969
11970         * Clean-up of header file includes all over
11971         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
11972
11973 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11974
11975         * paragraph.h: renamed from lyxparagraph.h
11976
11977 2001-06-23  Asger  <lyx@violet.home.sad.it>
11978
11979         * Buffer.h: Removed Buffer::resize
11980         * BufferList.h: Removed BufferList::resize
11981         * LyXView.h: Added LyXView::resize. This way, we will only reflow
11982         the document lazily when we change the width, or the font settings.
11983
11984 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11985
11986         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
11987
11988 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11989
11990         * buffer.h: remove out of date comment
11991
11992 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11993
11994         * lyxscreen.h:
11995         * screen.C: fix "theoretical" GC leak
11996
11997 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11998
11999         * LaTeX.C (scanAuxFile):
12000         (deplog): remove trailing \r when reading stream (useful under
12001         win32)
12002
12003 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
12004
12005         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12006         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12007         and BufferView::theLockingInset(Inset*), so should use them and not
12008         access bv_->text->the_locking_inset directly.
12009
12010         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12011
12012 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12013
12014         * Makefile.am:
12015         * tex-defs.h: remove old unused file
12016
12017 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
12018
12019         * BufferView_pimpl.C: fix typo, remove minibuffer message
12020           when buffer has loaded
12021
12022 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12023
12024         * lyxfunc.C (Dispatch): use stringstream
12025         (MenuNew): use stringstream
12026         (Open): use stringstream
12027
12028         * importer.C (Import): use stringstream
12029
12030         * bufferview_funcs.C (CurrentState): use stringstream
12031
12032         * LaTeX.C (run): use stringstream
12033
12034         * BufferView_pimpl.C (savePosition): use stringstream
12035         (restorePosition): use stringstream
12036         (MenuInsertLyXFile): use stringstream
12037
12038 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
12039
12040         * BufferView.C:
12041         * Bullet.C:
12042         * ColorHandler.C:
12043         * FontInfo.C:
12044         * FontLoader.C:
12045         * LColor.C:
12046         * LaTeXFeatures.C:
12047         * Painter.C:
12048         * gettext.C:
12049         * lyx_gui_misc.C:
12050         * lyxserver.C:
12051         * vspace.C: removed // -*- C++ -*- as first line.
12052
12053         * lyxfind.h:
12054         * version.h: added // -*- C++ -*- as first line.
12055
12056 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12057
12058         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12059
12060         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12061         of string
12062
12063 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12064
12065         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12066         of floats.
12067
12068 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12069
12070         * gettext.C: include LString.h even when --disable-nls is on.
12071
12072 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
12073
12074         * converter.h (Get): changed argument type from int to
12075         FormatList::size_type to avoid unnecessary conversion.
12076
12077         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12078         before using it.
12079
12080 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12081
12082         * gettext.h: include LString.h even when --disable-nls is on.
12083
12084 2001-06-07  Juergen Vigna  <jug@sad.it>
12085
12086         * text.C (BreakAgain): subst spaces with tabs.
12087
12088         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
12089         (resizeInsetsLyXText): set force on resizeLyXText.
12090
12091 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12092
12093         * gettext.h (gettext_init):
12094         (locale_init): use a real definition instead of a macro
12095
12096 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12097
12098         * Bufferview_pimpl.C:
12099         * LColor.h:
12100         * LColor.C: further lcolor tidies
12101
12102 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12103
12104         * BufferView_pimpl.C (updateScrollbar): simplify.
12105
12106         * BufferView2.C: don't include insets/insetinfo.h, change
12107         prototype for insertInset and call the Pimpl version. let
12108         updateInset call Pimpl version.
12109
12110         * BufferView.h: move inset_slept to BufferView::Pimpl, move
12111         gotoInset to BufferView::Pimpl
12112
12113 2001-06-01  Juergen Vigna  <jug@sad.it>
12114
12115         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
12116         inside a LockingInset (is the update needed at all?).
12117
12118 2001-05-31  Juergen Vigna  <jug@sad.it>
12119
12120         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
12121         here not the old one otherwise how should we compare it afterwards
12122         if it's the same!
12123
12124 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12125
12126         * lyxfont.C:
12127         * tabular.C:
12128         * tabular-old.C:
12129         * FontInfo.C: bring C functions into global namespace when
12130         necessary
12131
12132 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12133
12134         * LString.h: make sure config.h has been loaded before LString.h.
12135
12136         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
12137         (one for each char read by EatLine!).
12138
12139         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
12140         variables.
12141
12142 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12143
12144         * paragraph.C (BreakParagraph): set the inset_owner in the new par
12145         to the same as the par we break from
12146
12147 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12148
12149         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
12150
12151         * MenuBackend.C (expand): also create menu entries for wide
12152         versions of the floats.
12153
12154         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
12155
12156         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
12157
12158         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
12159         frontends/Makefile.am
12160
12161         * text2.C: adjust
12162         * text.C: adjust
12163
12164
12165         * tabular.C (getTokenValue): add std::
12166
12167         * tabular-old.C (getTokenValue): add std::
12168         (getTokenValue): ditto
12169         (getTokenValue): ditto
12170
12171         * screen.C (ToggleSelection): adjust
12172
12173         * lyxtext.h: put selection cursors inside a Selection struct.
12174
12175         * lyxfunc.C (moveCursorUpdate): adjust
12176
12177         * lyxfont.C (latexWriteStartChanges): add std::
12178
12179         * lyxfind.C: adjust
12180
12181         * font.h: delete with(char const *, LyXFont const &)
12182
12183         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
12184
12185         * FontInfo.C (getFontname): add std::
12186
12187         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12188         (workAreaButtonPress): adjust
12189         (tripleClick): adjust
12190         (update): adjust
12191         (moveCursorUpdate): adjust
12192         (Dispatch): adjust
12193
12194         * BufferView2.C (gotoInset): adjust
12195
12196 2001-05-30  Juergen Vigna  <jug@sad.it>
12197
12198         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
12199         to check pspell I add this as default as I now have new pspell
12200         libraries and they seem to use this.
12201
12202 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12203
12204         * text2.C (CutSelection): make the cursor valid before the call to
12205         ClearSelection.
12206
12207 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12208
12209         * kbsequence.C (parse): de-uglify a bit the parsing code, which
12210         relied on 0 terminated strings and other horrors. Bug found due to
12211         the new assert in lyxstring!
12212
12213         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12214         KP_ keys.
12215
12216 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12217
12218         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12219         to latinkeys.bind.
12220
12221         * lyxfunc.C (processKeySym): change method of getting to the
12222         self-insert char.
12223
12224         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12225         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12226         * BufferView_pimpl.[Ch]: here as private methods.
12227
12228 2001-05-28  Juergen Vigna  <jug@sad.it>
12229
12230         * text.C (SetHeightOfRow): added the update() call again as it is
12231         needed to initialize inset dimensions!
12232
12233 2001-05-16  Juergen Vigna  <jug@sad.it>
12234
12235         * text2.C (SetCharFont): Add new function with BufferView * and
12236         bool toggleall parameters for setting insets internal fonts.
12237         (SetFont): Freeze the undo as we may change fonts in Insets and
12238         all this change should be inside only one Undo!
12239
12240         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12241         setting font's in insets as for them we have the SetFont function!
12242
12243 2001-05-15  Juergen Vigna  <jug@sad.it>
12244
12245         * text2.C (ClearSelection): to be sure we REALLY don't have any
12246         selection anymore!
12247
12248         * tabular.C (TeXCellPreamble): fixed the left border problem for
12249         multicolumn cells.
12250
12251 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
12252
12253         * LaTeX.C (deplog): Make sure that the main .tex file is in the
12254         dependancy file
12255
12256 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12257
12258         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12259         LFUN_BREAKPARAGRAPH.
12260
12261         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12262         help test to "internal only", similar for LFUN_INSERT_URL
12263
12264         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12265         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12266         auto_region_delete and deadkeys.
12267
12268 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
12269
12270         * LColor.h:
12271         * LColor.C: remove some dead entries, tidy a little
12272
12273 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12274
12275         * lyxfunc.C (processKeySym): comment the Escape handling, remove
12276         commented code.
12277         (Dispatch): implement LFUN_ESCAPE
12278
12279         * commandtags.h: add LFUN_ESCAPE
12280
12281         * LyXAction.C (init): add entry for LFUN_ESCAPE
12282
12283         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12284         Remove commented code.
12285         (insertNote): moved here
12286         (open_new_inset): moved here
12287
12288         * BufferView[2].[Ch]: move insertNote and open_new_inset to
12289         BufferView_pimpl
12290
12291 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12292
12293         * kbmap.C (findbinding): clean it up and make it work correctly.
12294
12295         * lyx_main.C (init): do not pass argc and argv as parameters
12296
12297 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
12298
12299         * buffer.C: fix path for OS/2 & Win32
12300
12301         * lyx_gui.C:
12302         * lyx_main:
12303         * lyx_main.C: Added os:: class.
12304
12305         * os2_defines.h: update
12306
12307 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12308
12309         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12310         better by trying again with reduced state.
12311
12312 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12313
12314         * lyxrc.C (read): print error about invalid key sequence only when
12315         debugging (because not all latinX keysyms are known to some X
12316         servers)
12317
12318         * kbsequence.C (getiso): add a few std:: qualifiers
12319         (getiso): comment out extra return statement.
12320
12321 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12322
12323         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12324         handling.
12325         (Dispatch): enhance the accent inset a bit. (not perfect)
12326
12327 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12328
12329         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12330
12331 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12332
12333         * bufferlist.C (emergencyWrite): fix assert() call
12334
12335 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
12336
12337         * text.C (InsertChar): Added trivial patch to only send the "you
12338         can not do multiple spaces this way" message once during a
12339         session.
12340
12341 2001-05-08  Baruch Even  <baruch@lyx.org>
12342
12343         * Makefile.am: Changed order of libraries to get LyX to link properly
12344         with the gnome frontend.
12345
12346 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12347
12348         * LaTeXFeatures.h: add a std:: qualifier
12349
12350 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12351
12352         * paragraph.C (String): use stringstream
12353
12354 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12355
12356         * paragraph.C (writeFile): remove footflag arg
12357
12358         * buffer.C (makeLaTeXFile): use stringstream
12359         (latexParagraphs): remove footnot gurba
12360
12361         * LaTeXFeatures.C (getPackages): use stringstream
12362         (getMacros): likewise
12363         (getTClassPreamble): likewise
12364         (getFloatDefinitions): new method
12365
12366         * paragraph.C (writeFile): reindent
12367         (Erase): reindent
12368
12369         * WorkArea.h: revert the xpos + etc changes.
12370
12371         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
12372
12373         * lyxparagraph.[Ch]: add copy constructor, remove Clone
12374
12375         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
12376         (pasteSelection): likewise
12377         * text2.C (CreateUndo): likewise
12378
12379 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12380
12381         * minibuffer.C (peek_event): temporarily reduce the functionality
12382         of the minibuffer (to allow args on lfuns)
12383
12384         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
12385         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
12386
12387         * buffer.C (readInset): add compability reading of old float
12388         lists, add reading of new style float list.
12389         (readInset): avoid reevaluation of inscmd.getCmdName()
12390         (getLists): reindent
12391
12392         * MenuBackend.C (MenuItem): implement parsing of
12393         md_floatlistinsert and md_floatinsert.
12394         (expand::LastFiles): move initalizaton of iterators out of loop,
12395         avoid reevaluation.
12396         (expand::Documents): introduce typdedef vector<string> Strings,
12397         and use it.
12398         (expand::ExportFormats): introduce typedef vector<Format const *>
12399         Formats, and use it.
12400         (expand): implement FloatListInsert and FloatInsert.
12401
12402         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
12403         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
12404         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
12405
12406         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
12407         handling.
12408         (Dispatch::LFUN_FLOAT_LIST): implement
12409
12410 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12411
12412         * LaTeX.C (run): Fix problem with --export code.
12413
12414 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12415
12416         * BufferView.[Ch] (workarea): removed.
12417         (getClipboard) new method; wrapper for workarea()->getClipboard()
12418
12419         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
12420         bug.
12421
12422         * WorkArea.h (width, height, xpos, ypos): These methods all
12423         returned the dimensions of the work_area sub-area of WorkArea,
12424         resulting in a position error if the WorkArea were resized. Now
12425         return the dimensions of the entire WorkArea.
12426
12427         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
12428
12429 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12430
12431         * LaTeX.C (deplog): correct the syntax of regex reg1
12432
12433 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12434
12435         * undo.C: remove !NEW_INSETS cruft
12436
12437 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12438
12439         * text2.C: remove !NEW_INSETS cruft
12440
12441         * text.C: remove !NEW_INSETS cruft
12442
12443         * tabular.C: remove !NEW_INSETS cruft
12444
12445         * spellchecker.C: remove !NEW_INSETS cruft
12446
12447         * lyxtext.h: remove !NEW_INSETS cruft
12448
12449         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
12450
12451         * lyxfunc.C: remove !NEW_INSETS cruft
12452
12453         * lyxfind.C: remove !NEW_INSETS cruft
12454
12455         * lyx_cb.C: remove !NEW_INSETS cruft
12456
12457         * figureForm.C: remove  !NEW_INSETS cruft
12458
12459         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
12460
12461         * buffer.[Ch]: remove !NEW_INSETS cruft
12462
12463         * ToolbarDefaults.C: remove !NEW_INSETS cruft
12464
12465         * CutAndPaste.C: remove !NEW_INSETS cruft
12466
12467         * BufferView_pimpl.C: remove !NEW_INSETS cruft
12468
12469         * BufferView2.C: remove !NEW_INSETS cruft
12470
12471         * BufferView.h: remove !NEW_INSETS cruft
12472
12473 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12474
12475         * Lsstream.h: include LString.h before the sstream headers to
12476         fix problem with gcc 2.95.3 and lyxstring
12477
12478 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12479
12480         * lyx_main.C: add using directives when needed for C functions
12481         declared in std:: namespace.
12482
12483 2001-04-27  Juergen Vigna  <jug@sad.it>
12484
12485         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
12486         (SetHeightOfRow): comment out the update call should not be needed!
12487
12488 2001-04-13  Juergen Vigna  <jug@sad.it>
12489
12490         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
12491         (LyXTabular): tried to minimize operator= operations (and realized
12492         hopfully Lars wish).
12493
12494 2001-04-27  Juergen Vigna  <jug@sad.it>
12495
12496         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
12497
12498 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12499
12500         * lyxfunc.C (Dispatch): hack to make listof algorithm work
12501
12502         * buffer.C (readInset): hack to make listof algorithm work
12503
12504         * BufferView_pimpl.C: hack to make listof algorithm work
12505
12506 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12507
12508         * LyXAction.C: removed all !NEW_INSETS cruft
12509         (init): moved lfun_item in method
12510
12511         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
12512
12513 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12514
12515         * BufferView2.C (theLockingInset): white space.
12516
12517 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12518
12519         * minibuffer.C: include <iostream>
12520
12521         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
12522
12523         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
12524
12525         * commandtags.h: add LFUN_TRANSPOSE_CHARS
12526
12527         * text.[Ch] (TransposeChars): new method
12528
12529 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12530
12531         * call message directly through LyXView instead of through LyXFunc
12532         * BufferView2.C: adjust
12533         * BufferView_pimpl.C: adjust
12534         * FontLoader.C: adjust
12535         * buffer.C: adjust
12536         * bufferview_funcs.C: adjust
12537         * converter.C: adjust
12538         * figureForm.C: adjust
12539         * importer.C: adjust
12540         * lyx_cb.C: adjust
12541         * lyx_gui_misc.C: adjust
12542         * lyxfunc.C: adjust
12543         * lyxvc.C: adjust
12544         * text2.C: adjust
12545         + more files in subdirs
12546
12547         * lyxparagraph.h (size): move up int file
12548         (GetLayout): ditto
12549
12550         * adjust all uses of Assert to lyx::Assert.
12551
12552         * BufferView2.C (ChangeCitationsIfUnique): adjust for
12553         lyxfunctional in namespace lyx
12554         * layout.C (hasLayout): ditto
12555         (GetLayout): ditto
12556         (GetLayout): ditto
12557         (delete_layout): ditto
12558         (NumberOfClass): ditto
12559         * converter.C (GetFormat): ditto
12560         (GetNumber): ditto
12561         (Add): ditto
12562         (Delete): ditto
12563         (SetViewer): ditto
12564         * bufferlist.C (getFileNames): ditto
12565         (emergencyWriteAll): ditto
12566         (exists): ditto
12567         (getBuffer): ditto
12568         * MenuBackend.C (hasSubmenu): ditto
12569         (hasMenu): ditto
12570         (getMenu): ditto
12571         * BufferView_pimpl.C (getInsetByCode): ditto
12572
12573 2001-04-18  Juergen Vigna  <jug@sad.it>
12574
12575         * vspace.C (asLatexString): fixed the 100% problem.
12576
12577 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12578
12579         * lyxfunc.C (Dispatch):
12580         * minibuffer.C:
12581         * minibuffer.h: add a few std:: qualifiers
12582
12583 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12584
12585         * minibuffer.[Ch]: reimplement so that commands is initiated and
12586         run from lyxfunc, simplified som handling, and made the completion
12587         and history code for complete. wip.
12588
12589         * lyxfunc.C (processKeySym): call message
12590         (miniDispatch): new temporary method
12591         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
12592         (LFUN_MESSAGE): implement
12593         (LFUN_MESSAGE_PUSH): implement
12594         (LFUN_MESSAGE_POP): implement
12595         (initMiniBuffer): the initial/defualt minibuffer message.
12596
12597         * lyxfont.[Ch]: inline some more getters
12598
12599         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
12600
12601         * lyx_gui_misc.[Ch] (WriteStatus): remove method
12602
12603         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
12604         (AutoSave): use LFUN_MESSAGE
12605         (Reconfigure): ditto
12606
12607         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
12608
12609         * figureForm.C: use LFUN_MESSAGE
12610
12611         * converter.C (runLaTeX): use LFUN_MESSAGE
12612
12613         * bufferview_funcs.C: use LFUN_MESSAGE
12614         (Melt): ditto
12615         (changeDepth): ditto
12616
12617         * bufferparams.h: use boost::
12618
12619         * bufferlist.h: inherit privately from noncopyable
12620
12621         * bufferlist.C (loadLyXFile): remove some commented code.
12622
12623         * buffer.C (runChktex): use LFUN_MESSAGE
12624
12625         * ShareContainer.h: inherit privately from noncopyable
12626
12627         * ParagraphParameters.[hC] (depth): inline it.
12628
12629         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
12630         methods.
12631         (message): new method
12632         (messagePush): ditto
12633         (messagePop): ditto
12634         (show): init minibuffer
12635         (showState): direct call
12636
12637         * LaTeX.[Ch]: inherit privately from noncopyable
12638         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
12639         instead of WriteStatus.
12640
12641         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
12642
12643         * BufferView_pimpl.C (buffer): don't init minibuffer
12644         (workAreaButtonPress): use LFUN_MESSAGE
12645         (workAreaButtonRelease): ditto
12646         (savePosition): ditto
12647         (restorePosition): ditto
12648         (MenuInsertLyXFile): ditto
12649         (workAreaExpose): don't init minibuffer
12650         (update): remove commented code, simplify
12651
12652         * BufferView2.C (openStuff): use LFUN_MESSAGE
12653         (toggleFloat): ditto
12654         (menuUndo): ditto
12655         (menuRedo): ditto
12656         (copyEnvironment): ditto
12657         (pasteEnvironment): ditto
12658         (copy): ditto
12659         (cut): ditto
12660         (paste): ditto
12661         (gotoInset): ditto
12662         (updateInset): remove some commented code
12663
12664         * lastfiles.h: inherit privately from noncopyable
12665         * layout.h: ditto
12666         * lyx_gui.h: ditto
12667         * lyx_main.h: ditto
12668         * lyxlex.h: ditto
12669         * lyxlex_pimpl.h: ditto
12670
12671         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
12672         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
12673         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12674
12675         * LyXAction.h: inherit privately from noncopyable, add methods
12676         func_begin, func_end, returning iterators to the func map.
12677
12678         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
12679         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12680         (func_begin): new method
12681         (func_end): new method
12682
12683         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
12684         and not)
12685         (copySelection): ditto
12686         (pasteSelection): ditto
12687
12688         * BufferView.C: whitespace change
12689         * BufferView.h: inherit privately from noncopyable
12690
12691 2001-04-16  Allan Rae  <rae@lyx.org>
12692
12693         * tabular-old.C (l_getline):
12694         * spellchecker.C (sc_check_word):
12695         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
12696         an unrecognised preprocessor directive.  So ensure they're wrapped.
12697
12698 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
12699
12700         * src/exporter.C (Export): Give an error message when path to file
12701         contains spaces.
12702
12703 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
12704
12705         * LaTeX.C (deplog): Always check that foundfile exists.
12706
12707 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12708
12709         * lyx_main.h:
12710         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
12711
12712 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12713
12714         * tabular.[Ch] (getLabelList): implement new method
12715
12716         * minibuffer.h: comment ouf setTiimer
12717
12718         * minibuffer.C (ExecutingCB): constify res
12719         (peek_event): constify s
12720         (Set): constify ntext
12721         (Init): constify nicename
12722
12723         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
12724
12725         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
12726         (savePosition): use two params to Minibuffer::Set
12727         (restorePosition): ditto
12728
12729 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12730
12731         * lyx_main.C: include language.h
12732
12733         * Makefile.am (lyx_main.o): add language.h
12734
12735 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12736
12737         * exporter.C:
12738         * paragraph.C:
12739         * screen.C:
12740         * tabular.C:
12741         * CutAndPaste.C: include gettext.h
12742
12743         * lyxfont.h: remove old hack with ON and OFF.
12744
12745         * lyxparagraph.h:
12746         * lyxfont.h: do not include language.h...
12747
12748         * BufferView2.C:
12749         * LaTeXFeatures.C:
12750         * Painter.C:
12751         * bufferview_funcs.C:
12752         * font.C:
12753         * lyxfont.C:
12754         * text.C:
12755         * text2.C:
12756         * trans_mgr.C:
12757         * paragraph.C: ... but do it here instead
12758
12759 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12760
12761         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
12762
12763         * tabular.C: small reformat
12764
12765         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
12766         NEW_INSETS version
12767         (GetChar): ditto
12768         (BreakParagraph): ditto
12769         (SetOnlyLayout): ditto
12770         (SetLayout): ditto
12771
12772         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
12773         with one arg less.
12774
12775         * lastfiles.C: removed most using decl, add std:: where needed
12776
12777         * buffer.C: ws changes
12778
12779         * MenuBackend.C (class compare_format): put into anon namespace
12780         (expand): constify label, names, action, action2
12781         (expand):
12782
12783         * text.C (SingleWidth): constify font
12784         (IsBoundary): constify rtl2
12785         (GetVisibleRow): constify ww
12786
12787         * LaTeX.C (deplog): constify logfile
12788
12789         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
12790         start_x, end_x
12791         (workAreaExpose): constify widthChange, heightChange
12792
12793         * lyxrow.C (par): moved
12794         (height): moved
12795         (next): moved
12796         * lyxrow.h: as inlines here
12797
12798         * lyxfont.h (shape): moved from lyxfont.C
12799         (emph): moved from lyxfont.C
12800
12801         * lyxfont.C (LyXFont): use initialization list for all
12802         constructors
12803         (shape): move to lyxfont.h as inline
12804         (emph): move to lyxfont.h as inline
12805
12806
12807 2001-04-04  Juergen Vigna  <jug@sad.it>
12808
12809         * vspace.C: had to include stdio.h for use of sscanf
12810
12811 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
12812
12813         * BufferView.h:
12814         * BufferView_pimpl.h: remove xforms cruft. Both classes are
12815         independent of xforms.
12816
12817 2001-04-02  Juergen Vigna  <jug@sad.it>
12818
12819         * spellchecker.C: fixed namespace placing!
12820
12821 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
12822
12823         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
12824         the LyXParagraph * is 0.
12825
12826 2001-03-29  Juergen Vigna  <jug@sad.it>
12827
12828         * vspace.C: added support for %, c%, p%, l%.
12829         (stringFromUnit): added helper function.
12830         (asLatexString): changed to give right results for the %-values.
12831
12832         * buffer.C: convert the widthp in a width%.
12833
12834 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
12835
12836         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
12837         figureForm.[Ch].
12838
12839         * figureForm.[Ch]: stripped the FD_from_figure manipulation
12840         code out of lux_cb.[Ch], ready for its (imminent?) removal.
12841
12842         * lyx_cb.[Ch]: see above.
12843
12844         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
12845         form1.[Ch].
12846
12847         * form1.[Ch]:
12848         * lyx.[Ch]: replaced by figure_form.[Ch].
12849
12850         * lyx_gui.C:
12851         * lyx_gui_misc.C:
12852         * lyxfunc.C: changed headers associated with above changes.
12853
12854 2001-03-27  Juergen Vigna  <jug@sad.it>
12855
12856         * BufferView_pimpl.C: set the temporary cursor right!
12857
12858 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
12859
12860         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
12861
12862 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
12863
12864         * LString.h: removed "using std::getline"!
12865
12866         * BufferView_pimpl.C (Dispatch): changes due to changes in
12867         InsetInclude::Params.
12868
12869         * buffer.C (tag_name): removed redundant break statements as they were
12870         producing lots of warnings with my compiler.
12871
12872 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12873
12874         * LString.h: add "using std::getline" when using the real <string>.
12875
12876 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
12877
12878         * buffer.C: removed bitset usage.
12879         PAR_TAG moved to an anonymous name space.
12880         (tag_name): new funtion, also in the anonymous namespace.
12881         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
12882         (makeDocBookFile): clean code. Completed transition from string arrays
12883         to string vectors.
12884         (SimpleDocBookOnePar): code clean.
12885
12886 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12887
12888         * tabular.C: add some comments.
12889
12890 2001-03-22  Juergen Vigna  <jug@sad.it>
12891
12892         * buffer.C (parseSingleLyXformat2Token): redone the minipage
12893         compatibility read a bit and fixed bug with minipage in different
12894         depth.
12895
12896 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
12897
12898         * buffer.C (pop_tag): removed.
12899         (push_tag): removed.
12900         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
12901         array replaced with vector. Added support for CDATA sections.
12902         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
12903         at any nest level.
12904         (makeDocBookFile): XML conformant declaration of CDATA section,
12905         fixed bug related to <emphasis> in the first paragraph char.
12906         (sgmlOpenTag): exclude empty tags.
12907         (sgmlCloseTag): ditto.
12908
12909         * buffer.h (pop_tag): removed.
12910         (push_tag): removed.
12911
12912 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
12913
12914         * language.h (Languages): added size_type and size().
12915
12916 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12917
12918         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
12919         response on compability reading of minipages. One probliem is that
12920         the old usage of minipages was «flertydig»
12921
12922         * several files here and in subdirs: don't use static at file
12923         scope use anon namespaces instead.
12924
12925 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
12926
12927         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
12928         LaTeX output. This is necessary for Literate document
12929         processing.
12930
12931 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12932
12933         * buffer.C: insert hfill when needed.
12934
12935         * tabular.C (l_getline): use string::erase, small whitespace change.
12936
12937         * BufferView_pimpl.C: try the anon namespace.
12938         * WorkArea.C: ditto
12939
12940 2001-03-16  Juergen Vigna  <jug@sad.it>
12941
12942         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
12943         otherwise it won't open options-dialogs.
12944
12945         * buffer.C: honor pextraWidth(p) on converting minipages.
12946
12947         * tabular.C (l_getline): changed the functions to strip trailing \r.
12948
12949 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
12950
12951         * BufferView_pimpl.C:
12952         * minibuffer..C: added "using SigC::slot" declaration.
12953
12954 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12955
12956         * lyxlex_pimpl.h: noncopyable is in namespace boost.
12957
12958         * text2.C: ditto
12959
12960         * text.C: ditto
12961
12962         * paragraph.C: ditto
12963
12964         * lyxtext.h: NO_PEXTRA
12965
12966         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
12967
12968         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
12969         * ParameterStruct.h: ditto
12970         * ParagraphParameters.h: ditto
12971         * lyxparagraph.h: ditto
12972
12973 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12974
12975         * buffer.C: add compability for minipage alignment.
12976         (latexParagraphs): remove unwanted pextra check.
12977
12978         * several files: remove CXX_WORKING_NAMESPACES
12979
12980         * buffer.C (pop_tag): tie is in namespace boost
12981
12982         * BufferView.h: noncopyable is in namespace boost
12983         * lyxlex.h: ditto
12984         * lyx_main.h: ditto
12985         * lyx_gui.h: ditto
12986         * layout.h: ditto
12987         * lastfiles.h: ditto
12988         * bufferlist.h: ditto
12989         * ShareContainer.h: ditto
12990         * LyXView.h: ditto
12991         * LyXAction.h: ditto
12992         * LaTeX.h: ditto
12993
12994 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
12995
12996         * Merging changes from BRANCH_MVC back into HEAD.
12997
12998         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
12999
13000 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
13001
13002         * BufferView_pimpl.C: change from intl.C
13003
13004         * combox.h:
13005         * combox.C:
13006         * Makefile.am: move combox.*
13007
13008         * form1.h:
13009         * form1.C:
13010         * lyx_gui.C:
13011         * intl.h:
13012         * intl.C: remove dialog (covered by prefs)
13013
13014 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13015
13016         * lyxfunc.C (Dispatch): removed redundant break statement.
13017
13018 2001-03-14  Juergen Vigna  <jug@sad.it>
13019
13020         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13021
13022 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13023
13024         * buffer.C: add hack to fix compability reading of minipages.
13025
13026 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
13027
13028         * buffer.C (getLists): Cleanup.
13029
13030 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13031
13032         * lyxfont.C (update): don't honor toggleall on font size.
13033
13034 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
13035
13036         * bmtable.c:
13037         * bmtable.h:
13038         * Makefile.am: moved to frontends/xforms/
13039
13040         * lyx_gui_misc.C:
13041         * lyxfunc.C:
13042         * BufferView_pimpl.C: changes for moved mathpanel
13043
13044 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13045
13046         * gettext.h: fix gettext_init() in --disable-nls
13047
13048 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13049
13050         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13051
13052 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
13053
13054         * lyx.C:
13055         * lyx.h: strip external form
13056
13057 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13058
13059         * BufferView_pimpl.C: add comment, destroySplash()
13060
13061 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13062
13063         * BufferView_pimpl.C:
13064         * LyXAction.C:
13065         * buffer.C:
13066         * commandtags.h:
13067         * lyxfunc.C: use re-worked insetinclude
13068
13069 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13070
13071         * buffer.C: add using std::stringstream.
13072
13073         * lyx_cb.C: readd using std::ios.
13074
13075         * buffer.C: add using std::map.
13076
13077         * BufferView_pimpl.C: add using std::vector.
13078
13079         * ShareContainer.h: add std:: to swap.
13080
13081         * buffer.h: add some typedefs
13082         * buffer.C (getLists): use them
13083         (getLists): renamed from getTocList.
13084         add a counter for the different float types and use it in the
13085         generated string.
13086         (getLists): use the same counter for the NEW_INSETS and the "non"
13087         NEW_INSETS
13088
13089         * lyx_cb.h: remove unused items, includes, using etc.
13090
13091         * ShareContainer.h: remove some commented code, add more comments
13092         and "documentation".
13093
13094 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13095
13096         * buffer.C (getTocList): make the list also when NEW_INSETS is
13097         defined.
13098
13099         * buffer.h: remove TocType
13100
13101         * buffer.C (getTocList): change to return a map<string,
13102         vector<TocItem> >, implement for dynamic number of list.
13103
13104         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13105         * text2.C (PasteSelection): adjust
13106         * CutAndPaste.C (pasteSelection): adjust
13107
13108         * FloatList.C (FloatList): update from the new_insets branch.
13109         * Floating.[Ch]: ditto
13110         * LaTeXFeatures.C: ditto
13111         * buffer.C: ditto
13112         * lyxlex_pimpl.C: ditto
13113
13114         * paragraph.C (Last): remove when NEW_INSETS is defined.
13115
13116         * other file: changes because of the above.
13117
13118 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13119
13120         * lyxparagraph.h: rename next to next_, previous to previous_,
13121         make them private for NEW_INSETS. Rename Next() to next(),
13122         Previous() to previous().
13123
13124         * other files: changes because of the above.
13125
13126 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
13127
13128         * BufferView.h:
13129         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
13130         problem.
13131
13132 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13133
13134         * main.C (main): pass lyx_localedir to gettext_init().
13135
13136         * gettext.h: remove locale_init and gettext_init macros
13137
13138         * gettext.C (locale_init): new function
13139         (gettext_init): new function
13140
13141         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
13142         setlocale().
13143
13144 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
13145
13146         * Moved credits to frontends:
13147         * credits.[Ch]: removed
13148         * credits_form.[Ch]: removed
13149         * lyx_gui_misc.C: remove credits stuff
13150         * Makefile.am:
13151
13152 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13153
13154         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
13155
13156         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
13157         unneeded destructor.
13158
13159         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
13160         a standalone pointer again.
13161
13162         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
13163
13164 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
13165
13166         * Makefile.am:
13167         * filedlg.h:
13168         * filedlg.C:
13169         * LyXAction.C:
13170         * ToolbarDefaults.C:
13171         * bufferlist.C:
13172         * commandtags.h:
13173         * form1.C:
13174         * form1.h:
13175         * lyx_cb.C:
13176         * lyx_cb.h:
13177         * lyxfunc.h:
13178         * lyxfunc.C:
13179         * BufferView_pimpl.C: use new file dialog in GUII
13180
13181         * lyx_cb.h:
13182         * lyx_cb.C: remove LayoutsCB to Toolbar
13183
13184 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13185
13186         * ShareContainer.h (get): add std:: qualifier
13187
13188 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13189
13190         * ShareContainer.h: define a proper ShareContainer::value_type
13191         type (and use typename to please compaq cxx)
13192
13193 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13194
13195         * lyxparagraph.h: move serveral local vars to
13196         ParameterStruct/ParagraphParameters., use ShareContainer in
13197         FontTable., make vars in FontTable private and add getter and
13198         setter.
13199
13200         * paragraph.C: changes because of the above.
13201
13202         * lyxfont.h: remove copy constructor and copy assignment. (the
13203         default ones is ok), move number inside FontBits. move inlines to
13204         lyxfont.C
13205
13206         * lyxfont.C: add number to initializaton of statics, move several
13207         inlines here. constify several local vars. some whitespace
13208         cleanup. Dont hide outerscope variables.
13209
13210         * Spacing.h: add two new constructors to match the set methods.
13211
13212         * ShareContainer.h: new file, will perhaps be moved to support
13213
13214         * ParameterStruct.h: new file
13215
13216         * ParagraphParameters.h: new file
13217
13218         * ParagraphParameters.C: new file
13219
13220         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13221         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13222
13223         * BufferView_pimpl.C: ParagraphParameter changes.
13224         * buffer.C: Likewise.
13225         * bufferview_funcs.C: Likewise.
13226         * text.C: Likewise.
13227         * text2.C: Likewise.
13228
13229 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13230
13231         * lyxfind.C (LyXReplace): do not redefine default argument in
13232         implementation.
13233         (IsStringInText): ditto
13234         (SearchForward): ditto
13235         (SearchBackward): ditto
13236
13237 2001-03-06  Juergen Vigna  <jug@sad.it>
13238
13239         * lyxfind.C (IsStringInText): put parentes around expressions.
13240
13241 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
13242
13243         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13244
13245 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
13246
13247         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13248
13249         * stl_string_fwd.h: add comment
13250
13251         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13252
13253         * tabular.h:
13254         * tabular.C: remove unused DocBook methods
13255
13256         * intl.C:
13257         * language.C:
13258         * paragraph.C:
13259         * buffer.C:
13260         killed DO_USE_DEFAULT_LANGUAGE
13261
13262 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13263
13264         * lyx_gui.C: do not include language.h.
13265
13266         * bufferview_funcs.C (ToggleAndShow): do not provide optional
13267         arguments in function implementation.
13268
13269 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13270
13271         * BufferView_pimpl.C: add <ctime>
13272
13273 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13274
13275         * BufferView_pimpl.C: add using std::find_if
13276
13277 2001-02-27  José Matos  <jamatos@fep.up.pt>
13278
13279         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13280         by OnlyPath.
13281
13282 2001-02-11  José Matos  <jamatos@fep.up.pt>
13283
13284         * buffer.C (makeDocBookFile): command styles now have a parameter as
13285         "title" by default.
13286
13287 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
13288
13289         * layout_forms.[Ch]: removed
13290         * lyx_cb.[Ch]: out character
13291         * lyx_gui.C: out character
13292         * lyx_gui_misc.C: out character
13293         * bufferview_funcs.C: : out character,
13294         added toggleall as parameter in ToggleAndShow
13295
13296 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
13297
13298         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13299
13300         * text2.C (SetCurrentFont): Disable number property at boundary.
13301
13302 2001-02-26  Juergen Vigna  <jug@sad.it>
13303
13304         * lyxfunc.C (getStatus): added a string argument override function so
13305         that this is correctly called from LyXFunc::Dispatch if it contains a
13306         do_not_use_argument which is used!
13307         (Dispatch): added check for "custom" export and call appropriate func.
13308
13309 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
13310
13311         * lyxrc.C: Add language_command_local, language_use_babel and
13312         language_global_options.
13313
13314         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13315
13316         * buffer.C (makeLaTeXFile): Use language_use_babel and
13317         language_global_options.
13318
13319 2001-02-23  Juergen Vigna  <jug@sad.it>
13320
13321         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13322         which works with LyXText and putted it inside BufferView. Here now we
13323         only call for that part the BufferView::Dispatch() function.
13324
13325         * BufferView.C (Dispatch): added.
13326
13327         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13328         functions which needs to use a LyXText over from LyXFunc.
13329         (MenuInsertLyXFile): added
13330         (getInsetByCode): added
13331         (moveCursorUpdate): added
13332         (static TEXT): added
13333
13334 2001-02-22  Juergen Vigna  <jug@sad.it>
13335
13336         * BufferView_pimpl.C (update): call a status update to see if LyXText
13337         needs it.
13338
13339 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13340
13341         * vc-backend.C (revert): implement for CVS
13342         (getLog): implement for CVS
13343
13344 2001-02-20  Juergen Vigna  <jug@sad.it>
13345
13346         * text2.C (ClearSelection): added BufferView param for inset_owner call
13347
13348         * lyxfunc.C (TEXT): added this function and use it instead of
13349         directly owner->view()-text of getLyXText().
13350
13351 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
13352
13353         * src/layout_forms.C: out preamble
13354         * src/layout_forms.h: out preamble
13355         * src/lyx_cb.C: out preamble
13356         * src/lyx_cb.h: out preamble
13357         * src/lyx_gui.C: out preamble
13358         * src/lyx_gui_misc.C: out preamble
13359         * src/lyxfunc.C: connect with guii preamble
13360
13361 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
13362
13363         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
13364
13365 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
13366
13367         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
13368         whether to run bibtex.
13369
13370 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
13371
13372         * Makefile.am (lyx_SOURCES): Remove BackStack.h
13373
13374 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13375
13376         * Makefile.am (lyx_SOURCES): removed bibforms.h
13377
13378         * vspace.h: doxygen
13379
13380         * text.C (GetVisibleRow): make several local vars const
13381
13382         * tabular.C: small cleanup.
13383
13384         * lyxserver.C (callback): use compare instead of strncmp
13385
13386         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
13387         inlines to after class or to paragraph.C
13388
13389         * lyxfont.h: remove friend operator!=
13390
13391         * converter.h: move friend bool operator< to non friend and after
13392         class def.
13393
13394         * combox.h: small cleanup
13395
13396         * buffer.h: doxygen, remove unused constructor, move inclas inlies
13397         to inlines after class def.
13398
13399         * buffer.C (pop_tag): use string operations instead of strcmp
13400
13401         * bmtable.c: doxygen, small cleanup
13402
13403         * LaTeX.h: remove friend operator==
13404
13405 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
13406
13407         * screen.C:
13408         * lyxrc.[Ch]:
13409         * lyxfunc.C:
13410         * lyxfont.[Ch]:
13411         * lyx_cb.C:
13412         * intl.[Ch]:
13413         * commandtags.h:
13414         * buffer.C:
13415         * WorkArea.[Ch]:
13416         * LyXAction.C:
13417         * BufferView_pimpl.C:
13418         * BufferView.[Ch]: remove cruft
13419
13420 2001-02-14  Juergen Vigna  <jug@sad.it>
13421
13422         * lyxfunc.C: removed #if 0 unused code
13423
13424         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
13425
13426         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
13427
13428         * text2.C (SetSelection): added a BufferView * parameter
13429
13430 2001-02-13  Juergen Vigna  <jug@sad.it>
13431
13432         * lyxfunc.C (Dispatch): fixed protected blank problem.
13433         * BufferView2.C (protectedBlank): added LyxText * parameter.
13434
13435         * tabular.C (AppendRow): forgot to set row_info of newly added row.
13436         (AppendColumn): same as above for column_info.
13437
13438         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
13439         (moveCursorUpdate): use a LyXText param for support of InsetText.
13440
13441         * BufferView_pimpl.C (doubleClick): added support for InsetText.
13442         (tripleClick): ditto
13443
13444         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
13445
13446         * BufferView_pimpl.C (update): added LyXText param to honor insets.
13447
13448         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
13449
13450         * text2.C (SetSelection): set correct update status if inset_owner
13451         (ToggleFree): ditto
13452
13453 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
13454
13455         * tabular.C: remove some commented code.
13456
13457 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
13458
13459         * BufferView_pimpl.C: call hideSplash()
13460
13461         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
13462
13463         * include_form.h:
13464         * bibforms.h: remove
13465
13466         * lyxfunc.C:
13467         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
13468           add LFUN_CHILD_CREATE
13469
13470         * counters.h: fix tiny typo
13471
13472         * lyx_cb.C:
13473         * lyx.h:
13474         * lyx_gui.C:
13475         * lyx.C: move splash to frontends/xforms/
13476
13477         * lyx_gui_misc.C: move Include and Bibform to frontends
13478
13479         * lyxvc.h: clarify comment
13480
13481         * vspace.C: tiny housekeeping
13482
13483 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
13484
13485         * text.C (PrepareToPrint): RTL Fix.
13486
13487         * paragraph.C (GetUChar): New method.
13488         (String):  Use GetUChar.
13489
13490         * buffer.C (asciiParagraph): Use GetUChar.
13491
13492 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
13493
13494         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
13495
13496 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
13497
13498         * buffer.h:
13499         * buffer.C: rename to getLogName(), handle
13500           build log / latex log nicely
13501
13502 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13503
13504         * MenuBackend.C:
13505         * MenuBackend.h: remove support for reference menuitem type.
13506
13507 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
13508
13509         * BufferView_pimpl.C: housekeeping
13510         * BufferView_pimpl.h:
13511         * LyXView.h:
13512         * Makefile.am:
13513         * Timeout.C:
13514         * Timeout.h:
13515         * minibuffer.h: move Timeout GUI-I
13516
13517 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
13518
13519         * lyxrc.C (read): Update converters data-structures.
13520
13521 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
13522
13523         * LaTeX.h (operator!=): add operator != for Aux_Info
13524
13525 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
13526
13527         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
13528
13529         * LaTeXLog.C: deleted, useful code moved to Buffer
13530
13531         * buffer.h:
13532         * buffer.C: new function getLatexLogName()
13533
13534         * lyx_gui_misc.C:
13535         * lyx_gui.C:
13536         * lyxvc.C:
13537         * lyxvc.h:
13538         * lyxfunc.C: use frontends for LaTeX and VC logs
13539
13540 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13541
13542         * LaTeX.h: yet another std:: that Allan forgot.
13543
13544         * Variables.C (set): renamed from isset(), because this clashes
13545         with some HP-UX macros (grr).
13546
13547 2001-02-06  Allan Rae  <rae@lyx.org>
13548
13549         * LaTeX.h: Another bug fix.  Missing std:: this time.
13550
13551 2001-02-04  Allan Rae  <rae@lyx.org>
13552
13553         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
13554         floats problem. I've left it commented out because it's not quite
13555         correct.  It should also test that the current object is a table or
13556         figure inset.  But I haven't gotten around to figuring out how to do
13557         that.  I *think* it'll be something like: "table" == inset.type()
13558
13559         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
13560         bool.
13561
13562 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
13563
13564         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
13565         all the citation/databases/styles in the auxilary file.
13566         (run): Rerun latex if there was a babel language error.
13567
13568 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
13569
13570         * text.C (Backspace): Preserve the font when changing newline char
13571         with a space.
13572         (BreakParagraph): If the cursor is before a space, delete the space.
13573
13574         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
13575
13576 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
13577
13578         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
13579         new argument (code).
13580         (ChangeCitationsIfUnique): New method.
13581
13582         * paragraph.C (GetPositionOfInset): Handle bibkey.
13583
13584 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13585
13586         * BufferView_pimpl.h: change type of Position::par_pos to
13587         LyXParagraph::size_type.
13588
13589 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
13590
13591         * BufferView_pimpl.C (savePosition, restorePosition): Write
13592         messages to minibuffer.
13593
13594 2001-01-28  José Matos  <jamatos@fep.up.pt>
13595
13596         * buffer.C (makeDocBookFile): adds support for document language.
13597         A silly restriction on the name of LatexCommand types where removed.
13598         Added support for CDATA sections, allows to chars unescaped, used
13599         among others in code, to avoid escape < and >.
13600
13601 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
13602
13603         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
13604         saved positions instrad of a stack. Furthermore, a position is
13605         stored using paragraph id/paragraph position.
13606
13607         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
13608         Remove LFUN_REF_BACK.
13609
13610 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
13611
13612         * converter.C (dvipdfm_options): New method.
13613
13614 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13615
13616         * vspace.C (isValidLength): Fix for empty input string.
13617
13618 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13619
13620         * LyXAction.C (init): change description of LFUN_FIGURE to
13621         "Insert Graphics"
13622
13623 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13624
13625         * LaTeX.C: add using directive
13626
13627 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
13628
13629         * MenuBackend.C (expand): Fix the sorting of the formats.
13630
13631 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
13632
13633         * lyx_main.C: tiny error message fix
13634
13635 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13636
13637         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
13638         calling fl_initialize(). This fixes the problem with ',' as
13639         decimal separator in text files.
13640
13641 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
13642
13643         * trans.C (process): Fix the keymap bug.
13644
13645 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
13646
13647         * LaTeX.C (scanAuxFiles): New method. Provides support for
13648         multiple bibliographies (when using the bibtopic/bibunits pacakges).
13649         (scanLogFile) Scan for "run BibTeX" messages.
13650
13651         * buffer.C (makeLaTeXFile): Do not load the ae package when using
13652         OT1 font encoding. Also, load the aecompl package if the ae
13653         package is loaded.
13654
13655         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
13656
13657 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13658
13659         * texrow.C (increasePos): turn two error messages into debug
13660         messages.
13661
13662 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
13663
13664         * LaTeX.C (scanAux): Handle the \@input macro.
13665         (runBibTeX): Use scanAux().
13666
13667         * language.C (latex_options_): New field.
13668
13669         * LaTeXFeatures.C (getMacros): Add language macros.
13670
13671         * buffer.C (makeLaTeXFile): Small fix.
13672
13673 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13674
13675         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
13676
13677         * text2.C: add a using directive.
13678
13679 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
13680
13681         * BufferView2.C:
13682         * lyx_gui_misc.h:
13683         * lyxfr1.C:
13684         * lyxfunc.C: kill LyXBell.
13685
13686 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
13687
13688         * text.C (IsBoundary): Remove the error message
13689
13690         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
13691
13692         * lyxrc.C (setDefaults): Correct initialization value for
13693         font_norm_type.
13694
13695 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
13696
13697         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
13698         gotoError().
13699
13700         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
13701         and GotoNextNote().
13702
13703         * src/LyXAction.C: Added reference-next.
13704
13705         * text.C (InsertChar): Use contains instead of strchr.
13706
13707         * lyx_cb.C (MenuInsertLabel): Enable default value code.
13708
13709 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
13710
13711         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
13712         alignment commands (when needed).
13713
13714         * text.C (InsertChar): Add ':' to number separator chars.