]> git.lyx.org Git - features.git/blob - src/ChangeLog
remove dead spellcheck code
[features.git] / src / ChangeLog
1
2 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3
4         * BufferView.[Ch]:
5         * lyxtext.h:
6         * text.C: remove dead spellcheck code
7         
8 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9
10         * dispatchresult.h: add a val setter
11
12         * cursor.C (dispatch): use a tempvar for data_[i]
13
14 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
15
16         * PosIterator.[Ch]: compile fix
17
18 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
19
20         * text.C (cursorPar): deactivate the cursor cache
21
22 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
23
24         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
25
26 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
27
28         * text3.C (dispatch): adjust for new DisptchResult semantics.
29
30         * lyxfunc.C (dispatch): handle update when return from
31         Cursor::dispatch, adjust for new DispatchResult semantics.
32
33         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
34         DispatchResult(true) mean to not update. Add class functions for
35         setting dispatched and update, as well as reading.
36
37         * cursor.C (dispatch): don't handle update here
38
39 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
40
41         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
42         * trans_mgr.C: adjust
43
44         * paragraph_funcs.C (readParToken): exception safety
45
46         * lyxvc.h: store the vcs pointer in a scoped_ptr
47         * lyxvc.C: adjust
48
49         * lyxsocket.C (serverCallback): exception safety
50
51         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
52
53         * ispell.C (clone): make it return a auto_ptr
54
55         * factory.C (createInset): exception safety
56         (readInset): exception safety
57
58         * bufferlist.C (newBuffer): exception safety
59
60         * Thesaurus.C (Thesaurus): use initialization for aik_
61
62         * MenuBackend.C (expandToc): exception safety.
63
64 2003-11-03  André Pönitz  <poenitz@gmx.net>
65
66         * buffer.C:
67         * buffer.h:
68         * bufferview_funcs.C: remove getInsetFromId()
69
70         * lyxcursor.[Ch]:
71         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
72
73         * lyxfunc.C:
74         * text2.C:
75         * text3.C: adjust
76
77 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
78
79         * PosIterator.C (distance, advance): new
80         * bufferview_funcs.[Ch] (put_selection_at): new
81         * iterators.[Ch] (lockPath): new
82
83 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
84
85         * iterators.[Ch] (asPosIterator): added
86         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
87         * PosIterator.[Ch]: added
88
89 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
90
91         * text3.C:
92         * lyxfunc.C:
93         * cursor.C (dispatch):
94         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
95
96         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
97         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
98         contructor, add a class function dispatched. Remove operator>=
99
100 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
101
102         * debug.C: only use the default constructor for debugstream
103         (lyxerr) here.
104
105         * main.C (main): include debug.h and setup the lyxerr streambuf
106         here.
107
108 2003-10-31  José Matos  <jamatos@lyx.org>
109
110         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
111
112         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
113         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
114         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
115         * paragraph_pimpl.C (simpleTeXSpecialC):
116         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
117         add LatexRunParams argument.
118
119         * exporter.C (Export): change call accordingly.
120
121         * latexrunparams.h: add new member to take care of the other backends.
122 2003-10-30  José Matos  <jamatos@lyx.org>
123
124         * buffer.C (makeLinuxDocFile, makeDocBookFile):
125         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
126         factorise code for paragraph output.
127         * buffer.[Ch]:
128         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
129         move functions.
130
131 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
132
133         * text3.C (dispatch):
134         * lyxfunc.C (dispatch):
135         * cursor.C (dispatch):
136         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
137
138         * dispatchresult.h: make the dispatch_result_t ctor explicit
139
140 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
141
142         * sgml.[Ch]:
143         * buffer.C: small refactoring of docbook stuff
144
145 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
146
147         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
148         meaning.
149
150 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
151
152         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
153         operator dispatch_result_t, and operators for == != and >=
154
155         * cursor.C (dispatch): adjust for operator dispatch_result_t
156         removal. comment out call to update
157
158         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
159
160 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
161
162         * text3.C:
163         * text2.C:
164         * text.C:
165         * lyxtext.h:
166         * lyxfunc.C:
167         * cursor.C:
168         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
169         (dispatch):
170
171         * dispatchresult.h: new file, DispatchResult broken out of
172         insets/insetbase.h
173
174         * Makefile.am (lyx_SOURCES): add dispatchresult.h
175
176 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
177
178         * text.C (rowBreakPoint): put a hack inside #if 0
179
180 2003-10-28  André Pönitz  <poenitz@gmx.net>
181
182         * lyxtext.h:
183         * metricsinfo.C:
184         * paragraph_funcs.C:
185         * rowpainter.C:
186         * text.C:
187         * text2.C: general cleanup (lots of small stuff)
188
189 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
190
191         * text2.C (cursorEnd): simple fix to the "end key goes to one
192         before the end on last row" bug
193
194 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
195
196         * text.C (backspace): fix the "zombie characters"
197
198 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
199
200         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
201
202 2003-10-27  André Pönitz  <poenitz@gmx.net>
203
204         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
205
206         * factory.C: handle new InsetPagebreak, InsetLine
207
208         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
209         and move handling into new InsetPagebreak, InsetLine
210
211         * BufferView_pimpl.C:
212         * LyXAction.C:
213         * ParagraphParameters.C:
214         * ParameterStruct.h:
215         * lyxfunc.C:
216         * lyxtext.h:
217         * paragraph.C:
218         * paragraph.h:
219         * paragraph_funcs.C:
220         * paragraph_pimpl.C:
221         * rowpainter.C:
222         * text.C:
223         * text2.C:
224         * text3.C: adjust
225
226 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
227
228         * text.C:
229         * lyxrow_funcs.[Ch]:
230         * Bidi.C:
231         * paragraph.C:
232         * lyxtext.h:
233         * rowpainter.C:
234         * text2.C:
235         * text3.C: remove lastPos uses in favour of Row::endpos
236
237 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
238
239         * undo.C (performUndoOrRedo): fix two crashes by setting a
240         cursor by hand and reordering some calls. Use bv->lockInset instead
241         of inset->edit because the latter loses cursor information
242
243 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
244
245         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
246         by Martin
247         (rowBreakPoint): fix width. change point to point + 1.
248         Add a missing check.
249
250 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
251
252         * MenuBackend.C:
253         * lyxfunc.C: fix (at least partly) the problems
254         with the Nav menu and headers inside branch insets
255         reported by Kayvan
256
257 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
258
259         * paragraph.C (getChar): add strong asserts
260
261         * lyxrow_funcs.C (lastPos): remove hideous hack
262
263         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
264         (fill): adjust to that (avoid an infinite loop)
265
266 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
267
268         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
269
270 2003-10-23  André Pönitz  <poenitz@gmx.net>
271
272         * RowList_fwd.h: change list<> to vector<> to gain speed
273         after suggestion from Alfredo
274
275 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
276
277         * lyxtext.h: move the bidi stuff from here...
278         * text.C: and here
279         * text2.C: and here
280         * Bidi.[Ch]: ... to here
281
282 2003-10-23  André Pönitz  <poenitz@gmx.net>
283
284         * lyxtext.h:
285         * text.C (isLastRow, isFirstRow): new functions
286
287         * paragraph.h: new width cache member
288
289         * rowpainter.C: replace RowList::iterator with Row & where possible
290
291         * lyxfunc.C: replace several view()->text with a single call
292
293         * toc.C: fix 'unused' warning
294
295 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
296
297         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
298         when woring with stream::pos_type
299         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
300
301 2003-10-22  André Pönitz  <poenitz@gmx.net>
302
303         * lyxtext.h:
304         * text.C: use Row & instead of RowList::iterator
305
306         * lyxrow.h: rename end() to endpos()
307
308         * rowpainter.C:
309         * text.C:
310         * text2.C: adjust
311
312 2003-10-22  Angus Leeming  <leeming@lyx.org>
313
314         * buffer.[Ch] (fully_loaded): new member function, returning true
315         only when the file has been loaded fully.
316         Used to prevent the premature generation of previews and by the
317         citation inset to prevent computation of the natbib-style label.
318
319         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
320         templates are all set up.
321
322         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
323
324 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
325
326         * text.C: fixed an "oops" in the "is a bit silly"
327         bug fix
328
329 2003-10-21  André Pönitz  <poenitz@gmx.net>
330
331         * FuncStatus.[Ch]: small stuff, whitespace
332
333         * lyxfont.[Ch]: operator<<() for debug reasons
334
335         * lyxfunc.C:
336         * lyxrow_funcs.C:
337         * lyxtext.h: whitespace, spelling
338
339         * paragraph.C: naming of variables
340
341         * text.C:
342         * text2.C: small stuff
343
344
345 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
346
347         * text.C: (1) finish off the inset display() work;
348         (2) fix the "is a bit silly" bug (accessing char
349         past end of par).
350
351 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
352
353         * text.C: re-introduce display() for insets, fixing the
354         various bugs (stretch of line above, math inset
355         positioning, ...)
356
357 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
358
359         * text.C (rightMargin): remove spurious semicolon
360
361         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
362         1415)
363
364 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
365
366         * text3.C: fix one crash due to wrong cursor def
367
368 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
369
370         * vc-backend.C (scanMaster): make the regex static
371
372         * LaTeX.C (scanAuxFile): make the regexs static
373
374         * text3.C (doInsertInset, dispatch, dispatch):
375         * text2.C (cursorUp, cursorDown):
376         * text.C (selectNextWordToSpellcheck):
377         * BufferView_pimpl.C (dispatch):
378         * lyxfunc.C (dispatch):  localDispatch -> dispatch
379
380 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
381
382         * lyxsocket.C: include <cerrno>
383
384 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
385
386         * lyxfunc.C (dispatch): remove textcache stuff
387
388         * bufferlist.C (release): remove textcache stuff
389         (closeAll): ditto
390
391         * TextCache.C: delete file
392         * TextCache.h: delete file
393
394         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
395
396         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
397         delete of the bv_->text.
398         (resizeCurrentBuffer): remove texcache stuff
399         (workAreaResize): ditto
400
401 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
402
403         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
404         action.
405
406 2003-10-16  André Pönitz  <poenitz@gmx.net>
407
408         * lyxrow.[Ch]:
409         * paragraph.h:
410         * rowpainter.C:
411         * text.C:
412         * text2.C:
413         * text3.C: speed up by storing y positions per paragraph plus per-row
414         offset instead of having a 'full' y position in the row.
415
416 2003-10-15  André Pönitz  <poenitz@gmx.net>
417
418         * iterators.[Ch]:
419         * iterators.[Ch]:
420         * undo.[Ch]: make undo aware of inner insets
421
422 2003-10-14  Angus Leeming  <leeming@lyx.org>
423
424         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
425         static member functions LyX::ref() and LyX::cref.
426         (lastfiles): new accessor functions for the new lastfiles_ member var.
427         (addLyXView, views_): add a new LyXView to the list of views_.
428         (updateInset): loop over all LyXViews to call their own updateInset
429         member function, returning a pointer to the Buffer owning the inset.
430
431         * BufferView_pimpl.C (loadLyXFile):
432         * MenuBackend.C (expandLastfiles):
433         * bufferlist.C (MenuWrite, QuitLyX):
434         lastfiles is no longer a global variable.
435         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
436
437         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
438         static function. Access through LyX::cref().emergencyCleanup().
439
440 2003-10-14  André Pönitz  <poenitz@gmx.net>
441
442         * iterators.[Ch]: new direct access to innermost LyXText and Inset
443
444         * undo.[Ch]: restoring part of 'undo in insets'
445
446         * Makefile.am:
447         * undo_funcs.[Ch]: merge with undo.[Ch]
448
449         * tabular.C: small cleansing stuff
450
451 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
452
453         * paragraph_funcs.C (readParToken): report unknown insets as error
454         boxes. Use the outer paragraph as location (also for unknown
455         tokens).
456
457         * factory.C (readInset): do not abort on reading an unknown inset.
458         Eat it and return 0.
459
460 2003-10-13  Angus Leeming  <leeming@lyx.org>
461
462         * lyx_main.C (LyX): remove call to setDisplayTranslator().
463
464         * lyxrc.C: displayTranslator is now a function,
465         declared in GraphicsTypes.h.
466
467 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
468
469         * format.C: new placeholder $$a to pass the socket address.
470
471         * bufferlist.[Ch]: new function getBufferFromTmp.
472
473         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
474           files in the temporary dir.
475
476 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
477
478         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
479
480         * Makefile.am: add lyxsocket.[Ch].
481
482         * lyx_main.C (error_handler): handle SIGPIPE.
483
484 2003-10-13  André Pönitz  <poenitz@gmx.net>
485
486         * BufferView_pimpl.C:
487         * lyxtext.h:
488         * text.C:
489         * text2.C:
490         * text3.C:
491         * undo_funcs.[Ch]: use paroffset_type instead of
492           ParagraphList::iterators to prevent multiple conversion
493           (and get a more robust interface)
494
495 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
496
497         * lyxfunc.C (dispatch): RESULT -> dispatch_result
498         * lyxtext.h: ditto
499         * text3.C (dispatch): ditto
500
501 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
502
503         * LaTeX.C (handleFoundFile): move the static to smaller scope,
504         move the onlyfile, use onlyfile instead of foundfile in a couple
505         of places.
506
507         * DepTable.C (update): flush the error stream a bit more
508
509 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
510
511         * lyxserver.C (callback): adjust
512
513         * lyxfunc.C (getStatus): add a missing brace in commented code
514         (ensureBufferClean): reindent
515         (dispatch): delete version taking a string
516
517 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
518
519         * LaTeX.C (deplog): move found file handlig from here...
520         (handleFoundFile): .. to new function here.
521         (deplog): make sure to discover several files mentioned on the
522         same log line.
523
524 2003-10-10  André Pönitz  <poenitz@gmx.net>
525
526         * lyxfunc.C:
527         * lyxtext.h:
528         * tabular.C:
529         * text.C:
530         * text2.C:
531         * text3.C: fix some of the tabular crashes
532
533 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
534
535         * MenuBackend.C (binding): put debug message into Debug::KBMAP
536
537         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
538
539 2003-10-09  André Pönitz  <poenitz@gmx.net>
540
541         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
542
543         * BufferView.C:
544         * BufferView_pimpl.C:
545         * bufferview_funcs.C:
546         * lyx_cb.C:
547         * lyxcursor.C:
548         * lyxfind.C:
549         * lyxfunc.C:
550         * lyxtext.h:
551         * text.C:
552         * text2.C:
553         * text3.C:
554         * text_funcs.[Ch]:
555         * textcursor.[Ch]:
556         * undo_funcs.C: adjust
557
558 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
559
560         * text2.C (incrementItemDepth): new function, use a backtracking
561         algorithm to discover the correct item depth.
562         (resetEnumCounterIfNeeded): new function, use a backtracking
563         algorithm to discover if counter reset is needed.
564         (setCounter): use them. Simplify a bit. Add different labels for
565         different item depths for itemize.
566
567         * paragraph.C (Paragraph): remove initialization of enumdepth
568         (operator=): ditto
569
570         * paragraph.h: get rid of enumdepth, and use itemdepth both for
571         enumerate and itemize. Change the type of itemdepth to signed char.
572
573 2003-10-08  André Pönitz  <poenitz@gmx.net>
574
575         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
576           thing assignable.
577         * text.C:
578         * text2.C: adjust
579
580         * tabular.[Ch]: fix crash after 'row-insert'
581
582 2003-10-08  Angus Leeming  <leeming@lyx.org>
583
584         Fix doxygen warnings.
585
586         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
587         Remove CutAndPaste:: prefix from header file declaration.
588
589         * LColor.h (fill): remove LColor:: prefix from declaration.
590
591         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
592         use lyx::depth_type rather than Paragraph::depth_type so that
593         header file and .C file match.
594
595         * converter.h (intToFormat): remove Converters:: prefix from declaration.
596
597         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
598         * aspell.C: \file aspell_local.C -> \file aspell.C
599         * gettext.C: \file gettext.C -> \file src/gettext.C
600         * gettext.h: \file gettext.h -> \file src/gettext.h
601         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
602         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
603         * text.C: \file text.C -> \file src/text.C
604
605         * toc.C: move comment so that doxygen is not confused.
606
607 2003-10-07  Angus Leeming  <leeming@lyx.org>
608
609         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
610
611 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
612
613         * aspell.C:
614         * aspell_local.h: add forgotten std::string's.
615
616 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
617
618         * LaTeXFeatures.C:
619         * LyXAction.C:
620         * factory.C:
621         * lfuns.h:
622         * lyxfunc.C:
623         * text3.C: The Box patch. Fancybox support, minipage, parbox
624
625 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
626
627         * CutAndPaste.h:
628         * DepTable.h:
629         * FloatList.h:
630         * LaTeXFeatures.h:
631         * ParagraphParameters.h:
632         * TextCache.h:
633         * Thesaurus.h:
634         * bufferlist.h:
635         * exporter.h:
636         * importer.h:
637         * lastfiles.h:
638         * lyxfind.h:
639         * lyxfont.h:
640         * lyxlex.h:
641         * lyxtextclasslist.h:
642         * messages.h:
643         * paragraph.h:
644         * paragraph_pimpl.C:
645         * textcursor.h: add <string> and other small fixes to make Lars'
646         std::string patch compile with STLport.
647
648 2003-10-06  Angus Leeming  <leeming@lyx.org>
649
650         * LColor.h: Add missing #include <string>.
651
652 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
653
654         * All most all file in all subdirs: Make <string> be the prefered
655         way of getting to std::string, add using declarations.
656
657 2003-10-06  André Pönitz  <poenitz@gmx.net>
658
659         * metricsinfo.C: initialize LyXFont before changing attribute.
660         (fixes the 'math in \emph is upright' bug)
661
662 2003-10-06  André Pönitz  <poenitz@gmx.net>
663
664         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
665
666 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
667
668         * graph.C:
669         * paragraph_pimpl.C: Small fixes to build using STLport
670
671 2003-10-02  André Pönitz  <poenitz@gmx.net>
672
673         * lyxfunc.C:
674         * text3.C: move handling of LFUN_DEPTH *; fix #1360
675
676 2003-10-01  André Pönitz  <poenitz@gmx.net>
677
678         * factory.C: assert early
679
680 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
681
682         * lyx_main.C: remove the global debug object
683
684         * debug.h: adjust for new debugstream
685
686         * debug.C: adjust for new debugstream and keep the global debug
687         object here.
688
689 2003-09-22  Angus Leeming  <leeming@lyx.org>
690
691         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
692         of g++ which otherwise complain that the scoped_ptr destructor can't delete
693         an incomplete class LyXFont.
694
695 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
696
697         * factory.C: bug fix in branches
698
699 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
700
701         * lyxfunc.C (processKeySym): adjust
702         (dispatch): adjust
703         (dispatch): change arg name from ev to func, adjust
704         (sendDispatchMessage): ditto
705
706         * lyx_main.C (defaultKeyBindings): adjust keybindings
707         (deadKeyBindings): ditto
708
709         * kbsequence.C (addkey): return a FuncRequest
710
711         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
712
713         * kbmap.C (bind): take a FuncRequest as arg, adjust
714         (read): adjust
715         (lookup): adjust
716         (defkey): change to take a FuncRequest as arg, adjust
717         (findbinding): take a FuncRequest as arg, adjust.
718
719         * funcrequest.h (operator=): added
720
721         * funcrequest.C (FuncRequest): default kb_action changed from
722         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
723
724         * buffer.C (dispatch): simplify
725         (dispatch): adjust to take a FuncRequest as arg, adjust
726
727         * boost.C (assertion_failed): change assertion message slightly
728
729         * ToolbarBackend.C (read): simplify
730
731         * MenuBackend.C (binding): adjust call to findbinding, add a
732         message if no binding is found.
733         (read): simplify
734         (expandToc): correct by adding a empty FuncRequest
735
736         * LyXAction.C: include <boost/assert.hpp>
737         (isPseudoAction): delete function
738         (LookupFunc): change name to...
739         (lookupFunc): this. change return type to FuncRequest.
740         (getActionName): take kb_action as arg, simplify
741         (funcHasFlag): add an assert, simplify.
742
743 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
744
745         * toc.C (action): return a FuncRequest, simplify
746
747         * lyxfunc.C (processKeySym): adjust
748         (getStatus): delete version that takes an int.
749         (getStatus): adjust
750         (dispatch): delete version that takes action as int
751         (dispatch): adjust
752         (sendDispatchMessage): simplify and adjust
753
754         * funcrequest.C (getArg): take unsigned int as arg
755
756         * ToolbarBackend.C (read): adjust
757         (add): delete version that takes func as a string.
758         (getIton): take a FuncRequest as arg
759
760         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
761         action.
762
763         * MenuBackend.C (MenuItem): add a new construct that only takes a
764         Kind, simplify the constructor use for submenus.
765         (add): adjust
766         (expandLastfiles): adjust
767         (expandDocuments): adjust
768         (expandFormats): adjust
769         (expandFloatListInsert): adjust
770         (expandFloatInsert): adjust
771         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
772
773         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
774         Remove class variables lyx_pseudo_map and lyx_arg_map
775
776         * LyXAction.C (searchActionArg): delete function
777         (getPseudoAction): delete function
778         (retrieveActionArg): delete function
779         (LookupFunc): make it return kb_action, simplify.
780         (getActionName): simplify
781
782         * factory.C (createInset): fix new bug
783
784 2003-09-19  Angus Leeming  <leeming@lyx.org>
785
786         * CutAndPaste.C (pasteSelection): remove fudge used to set the
787         masterFilename_ parameter in the include inset.
788
789         * factory.C (createInset): changes due to the changes to InsetInclude.
790
791 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
792
793         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
794
795 2003-09-18  Angus Leeming  <leeming@lyx.org>
796
797         * buffer.C:
798         * BufferView.C: pass the buffer when calling Inset::getLabelList,
799         Inset::fillWithBibKeys.
800         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
801
802 2003-09-18  Angus Leeming  <leeming@lyx.org>
803
804         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
805         variables.
806         (ctor): pass and store a 'Buffer const &'
807         (buffer): new member function.
808
809         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
810         '*this' to the LaTeXFeatures ctor.
811
812 2003-09-18  Angus Leeming  <leeming@lyx.org>
813
814         * LColor.h:
815         * lyxfont.C:
816         * lyxfont.h:
817         * lyxtext.h:
818         * text.C: rename EnumLColor as LColor_color.
819
820 2003-09-18  Angus Leeming  <leeming@lyx.org>
821
822         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
823         remove #include "insets/insetbase.h" from cursor.h.
824
825 2003-09-18  Angus Leeming  <leeming@lyx.org>
826
827         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
828         InsetOld_code to remove #include "inset.h".
829
830         * iterators.C: add #include "insets/inset.h"
831
832 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
833
834         * BufferView.C: remove more locking stuff that apparently doesn't
835         do anything sensible.
836
837 2003-09-16  André Pönitz  <poenitz@gmx.net>
838
839         * paragraph.[Ch]:
840         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
841           performance boost.
842
843 2003-09-16  Angus Leeming  <leeming@lyx.org>
844
845         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
846
847         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
848         arg/return type.
849
850         * paragraph.h: remove #include "lyxfont.h". Forward declare
851         LyXFont_size.
852
853 2003-09-16  Angus Leeming  <leeming@lyx.org>
854
855         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
856         of support/textutils.h.
857         (isWord): move the contents of support/textutils.h's IsWordChar here.
858
859         * buffer.C:
860         * lyxfind.C:
861         * rowpainter.C:
862         * text.C:
863         * text2.C: add #include "paragraph.h".
864
865         * rowpainter.C:
866         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
867
868 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
869
870         * main.C:
871         * lyx_main.C:
872         * lyx_cb.C:
873         * buffer.C:
874         * LaTeX.C: use namespace alias for lyx::support::os
875
876 2003-09-16  Angus Leeming  <leeming@lyx.org>
877
878         * bufferparams.C:
879         * bufferview_funcs.C:
880         * factory.C:
881         * lyxfunc.C:
882         * paragraph_pimpl.C:
883         * rowpainter.C:
884         * text.C: add #include "LColor.h".
885
886 2003-09-16  Angus Leeming  <leeming@lyx.org>
887
888         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
889         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
890         return LyXFont &.
891         Store the FontBits::color variable as an int rather than as an
892         LColor::colorso that we can move LColor.h out of the lyxfont.h header
893         file.
894
895         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
896         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
897         string calls together.
898
899         * lyxrc.C: add #include "LColor.h".
900
901 2003-09-15  Angus Leeming  <leeming@lyx.org>
902
903         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
904         a cow_ptr.
905
906 2003-09-15  Angus Leeming  <leeming@lyx.org>
907
908         * LColor.h: add an EnumLColor wrapper for LColor::color.
909
910         * lyxfont.[Ch] (color, setColor, realColor):
911         * lyxtext.h, text.C (backgroundColor):
912         pass EnumLColor args to/from the functions, rather than LColor::color
913         ones.
914
915         * lyxfont.h:
916         * lyxtext.h: forward declare EnumLColor.
917
918         * lyx_main.C: add #include "LColor.h".
919
920 2003-09-15  Angus Leeming  <leeming@lyx.org>
921
922         * .cvsignore: add lyx-gtk.
923
924 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
925
926         * Chktex.C
927         * LaTeX.C
928         * LaTeXFeatures.C
929         * ParagraphParameters.C
930         * Spacing.C
931         * buffer.C
932         * bufferparams.C
933         * bufferview_funcs.C
934         * chset.C
935         * counters.C
936         * funcrequest.C
937         * lyxfont.C
938         * lyxgluelength.C
939         * lyxlength.C
940         * paragraph.C
941         * paragraph_funcs.C
942         * text3.C
943         * vc-backend.C: remove usage of STRCONV
944
945 2003-09-15  Angus Leeming  <leeming@lyx.org>
946
947         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
948         explicitly define the color passed to the painter.
949
950 2003-09-15  Angus Leeming  <leeming@lyx.org>
951
952         * bufferparams.C (BufferParams): reorder member initializers to avoid
953         compiler warning.
954
955 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
956
957         * CutAndPaste.C (pasteSelection): remove an outdated #warning
958         * text.C (updateRowPositions): remove an unusual nop
959
960 2003-09-12  André Pönitz  <poenitz@gmx.net>
961
962         * BufferView_pimpl.C:
963         * Bullet.C:
964         * layout.h:
965         * lyxfunc.C:
966         * lyxlayout.[Ch]:
967         * lyxtextclass.C:
968         * rowpainter.C:
969         * text.C:
970         * text2.C:
971         * Counters.[Ch]: finish the 'automatic counters' job
972
973 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
974
975         * aspell.C: include <boost/assert.cpp> (compile fix)
976
977 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
978
979         * boost.C (assertion_failed): use lyx::support::abort instead of
980         assert.
981
982 2003-09-10  Angus Leeming  <leeming@lyx.org>
983
984         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
985         with their _fwd progeny.
986
987 2003-09-09  Angus Leeming  <leeming@lyx.org>
988
989         134 files throughtout the source tree: replace 'using namespace abc;'
990         directives with the appropriate 'using abc::xyz;' declarations.
991
992 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
993
994         * boost.C (emergencyCleanup): moved here from LAssert.c
995         (assertion_failed): new function, called by BOOST_ASSERT
996
997         * several files: change Assert to BOOST_ASSERT
998
999 2003-09-09  Angus Leeming  <leeming@lyx.org>
1000
1001         * buffer.[Ch]: Add an Impl class and move Buffer's member
1002         variables into it. As a result move several header files out of
1003         buffer.h.
1004
1005         Add header files to lots of .C files all over the tree as a result.
1006
1007 2003-09-09  Angus Leeming  <leeming@lyx.org>
1008
1009         * buffer.[Ch]: make Buffer's member variables private. Add
1010         accessor functions.
1011
1012         Lots of changes all over the tree as a result.
1013
1014 2003-09-08  Angus Leeming  <leeming@lyx.org>
1015
1016         * graph.C: #include <config.h>.
1017
1018 2003-09-08  Angus Leeming  <leeming@lyx.org>
1019
1020         * BranchList.C:
1021         * BufferView.C:
1022         * BufferView_pimpl.C:
1023         * CutAndPaste.C:
1024         * DepTable.C:
1025         * LaTeX.C:
1026         * LaTeXFeatures.C:
1027         * LyXAction.C:
1028         * MenuBackend.C:
1029         * TextCache.C:
1030         * aspell.C:
1031         * buffer.C:
1032         * bufferlist.C:
1033         * changes.C:
1034         * chset.C:
1035         * converter.C:
1036         * counters.C:
1037         * debug.C:
1038         * graph.C:
1039         * ispell.C:
1040         * lyx_cb.C:
1041         * lyxfind.C:
1042         * lyxfunc.C:
1043         * lyxlex_pimpl.C:
1044         * lyxrc.C:
1045         * lyxrow.C:
1046         * paragraph.C:
1047         * rowpainter.C:
1048         * texrow.C:
1049         * text.C:
1050         * text2.C:
1051         * toc.C: remove redundant using directives.
1052
1053 2003-09-07  Angus Leeming  <leeming@lyx.org>
1054
1055         * LaTeXFeatures.h: remove #include "support/types.h".
1056         * ToolbarBackend.h: remove #include <algorithm>.
1057         * changes.h: remove #include <ctime>.
1058         * debug.h: remove #include <iosfwd>.
1059         * graph.h: remove #include "support/std_string.h".
1060         * lyx_main.h: remove #include <csignal>.
1061         * lyxlex_pimpl.h: remove #include <fstream>.
1062         * sgml.h: remove #include <algorithm>, <utility>.
1063         * toc.h: remove #include "support/std_ostream.h".
1064         Add #include <iosfwd>.
1065
1066 2003-09-07  Angus Leeming  <leeming@lyx.org>
1067
1068         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
1069
1070         * converter.h: forward declare LatexRunParams.
1071         * encoding.h: remove #include "lyxrc.h".
1072         * lyxtext.h: remove #include "LColor.h".
1073         * lyxtextclass.h: remove #include "support/types.h".
1074         * trans.h: remove #include "tex-accent.h".
1075         * trans_mgr.h: remove #include "tex-accent.h".
1076         * insets/inset.h: remove #include "support/types.h", <vector>.
1077         * insets/insetcollapsable.h: remove #include "LColor.h".
1078         * insets/insetinclude.h: remove #include "dimension.h".
1079         * insets/insetlatexaccent.h: remove #include "dimension.h".
1080         * insets/insetoptarg.h:: remove #include "insettext.h".
1081         * insets/insettext.h: remove #include "dimension.h",
1082         <boost/shared_ptr.hpp>
1083
1084         * insets/renderers.h: add #include "dimension.h".
1085         * insets/updatableinset.h: add #include "support/types.h".
1086
1087         * many .C files: Associated changes.
1088
1089 2003-09-06  Angus Leeming  <leeming@lyx.org>
1090
1091         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
1092         one, inside testInvariant.
1093
1094         * PrinterParams.C: new file.
1095         * PrinterParams.[Ch]: move the function bodies out of line.
1096
1097 2003-09-06  Angus Leeming  <leeming@lyx.org>
1098
1099         * ParagraphParameters.h: forward declare ParameterStruct rather than
1100         including its header file.
1101         (depth): moved out-of-line.
1102
1103 2003-09-06  Angus Leeming  <leeming@lyx.org>
1104
1105         * BufferView_pimpl.h:
1106         * kbmap.h:
1107         * kbsequence.h:
1108         * lyxfunc.h: forward declare LyXKeySym rather than
1109         #include "frontends/LyXKeySym.h".
1110
1111         * BufferView_pimpl.C:
1112         * kbmap.C:
1113         * kbsequence.C:
1114         * lyxfunc.C: associated changes.
1115
1116 2003-09-06  Angus Leeming  <leeming@lyx.org>
1117
1118         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1119         As a result, can remove the #include "insets/inset.h" from BufferView.h
1120
1121 2003-09-06  Angus Leeming  <leeming@lyx.org>
1122
1123         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1124         As a result, can remove the #include "insets/inset.h" from BufferView.h
1125
1126 2003-09-06  Angus Leeming  <leeming@lyx.org>
1127
1128         * buffer_funcs.C:
1129         * buffer.h:
1130         * bufferlist.C:
1131         * BufferView.C:
1132         * bufferview_funcs.C:
1133         * BufferView_pimpl.C:
1134         * CutAndPaste.C:
1135         * lyx_cb.C:
1136         * lyxfunc.C:
1137         * paragraph.h:
1138         * ParagraphParameters.C:
1139         * tabular.C:
1140         * text3.C:
1141         * toc.C:
1142         * undo_funcs.C:
1143         * frontends/controllers/ControlDocument.C:
1144         * insets/insetcaption.C: rearrange the #includes into some sort of
1145         coherent order.
1146
1147         * buffer.h: remove #includes ErrorList.h, undo.h
1148
1149 2003-09-06  Angus Leeming  <leeming@lyx.org>
1150
1151         * support/types.h: add a 'depth_type' typedef, used to store the
1152         nesting depth of a paragraph.
1153
1154         * paragraph.h:
1155         * ParameterStruct.h: use this lyx::depth_type typedef rather than
1156         defining explicitly.
1157
1158         * buffer.h:
1159         * paragraph_funcs.h:
1160         * ParagraphParameters.h:
1161         * sgml.h: use lyx::depth_type rather than Paragraph or
1162         ParameterStruct's depth_type.
1163
1164         * buffer.h
1165         * paragraph_funcs.h: no need to #include paragraph.h anymore.
1166
1167         * BufferView.C:
1168         * BufferView_pimpl.C:
1169         * CutAndPaste.C:
1170         * ParagraphParameters.C:
1171         * buffer_funcs.C:
1172         * bufferlist.C:
1173         * bufferview_funcs.C:
1174         * lyx_cb.C:
1175         * lyxfunc.C:
1176         * tabular.C:
1177         * text3.C:
1178         * toc.C:
1179         * undo_funcs.C:
1180         * frontends/LyXView.C:
1181         * frontends/controllers/ControlDocument.C:
1182         * frontends/controllers/ControlErrorList.C:
1183         * insets/insetbibitem.C:
1184         * insets/insetbranch.C:
1185         * insets/insetcaption.C:
1186         * insets/insetcollapsable.C:
1187         * insets/insetenv.C:
1188         * insets/insetert.C:
1189         * insets/insetfloat.C:
1190         * insets/insetfoot.C:
1191         * insets/insetfootlike.C:
1192         * insets/insetnewline.C:
1193         * insets/insetquotes.C:
1194         * insets/insettabular.C:
1195         * insets/insettext.C:
1196         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1197
1198         * frontends/controllers/ControlChanges.C: #include "changes.h".
1199
1200 2003-09-06  Angus Leeming  <leeming@lyx.org>
1201
1202         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1203         than #including paragraph.h.
1204
1205         * ParagraphList.h:
1206         * RowList.h: deleted. Superfluous.
1207
1208         * CutAndPaste.h:
1209         * iterators.h:
1210         * lyxcursor.h:
1211         * lyxtext.h:
1212         * text_funcs.h:
1213         * undo.h:
1214         * undo_funcs.h:
1215         * insets/inset.h:
1216         * insets/insettext.h: use ParagraphList_fwd.h rather than
1217         ParagraphList.h.
1218
1219         * paragraph.h: don't forward declare ParagraphList.
1220
1221         * buffer.h:
1222         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1223         rather than ParagraphList.h. paragraph.h is still needed for the
1224         Paragraph::depth_type parameters.
1225
1226         * textcursor.h: enable it to compile stand-alone in light of the
1227         above changes.
1228
1229         * bufferview_funcs.C:
1230         * iterators.C:
1231         * lyxfunc.C:
1232         * lyxrow_funcs.C:
1233         * paragraph.C:
1234         * rowpainter.C:
1235         * text.C:
1236         * text2.C:
1237         * text3.C:
1238         * text_funcs.C:
1239         * textcursor.C:
1240         * undo.C:
1241         * frontends/controllers/ControlParagraph.C:
1242         * frontends/controllers/ControlTabular.C:
1243         * insets/insetmarginal.C:
1244         * insets/insetminipage.C:
1245         * insets/insetnote.C:
1246         * insets/insetoptarg.C: add header files needed to compile again.
1247
1248 2003-09-06  Angus Leeming  <leeming@lyx.org>
1249
1250         * RowList_fwd.h: new file, forward-declaring Row rather than
1251         #including lyxrow.h.
1252
1253         * lyxrow_funcs.h:
1254         * lyxtext.h:
1255         * paragraph.h:
1256         * insets/insettext.h: use it instead of RowList.h
1257
1258         * bufferview_funcs.C:
1259         * lyxfunc.C:
1260         * lyxrow_funcs.C:
1261         * paragraph.C:
1262         * rowpainter.C:
1263         * text.C:
1264         * text2.C:
1265         * text3.C: #include "RowList.h".
1266
1267 2003-09-05  Angus Leeming  <leeming@lyx.org>
1268
1269         * factory.C (createInset):
1270         * vspace.C (c-tor): replace sscanf call with an istringstream.
1271         * ispell.C: re-add missing HP/UX headers.
1272         * lyxserver.C: re-add missing  os2 headers.
1273
1274 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
1275
1276         * BranchList.C:
1277         * graph.C:
1278         * ispell.C:
1279         * lastfiles.C:
1280         * lyx_cb.C:
1281         * lyxserver.C:
1282         * texrow.C:
1283         * text3.C: re-add missing system headers, needed for 2.95.2.
1284
1285 2003-09-05  Angus Leeming  <leeming@lyx.org>
1286
1287         Changes most place everywhere due to the removal of using directives
1288         from support/std_sstream.h.
1289
1290 2003-09-05  Angus Leeming  <leeming@lyx.org>
1291
1292         Replace LString.h with support/std_string.h,
1293         Lsstream.h with support/std_sstream.h,
1294         support/LIstream.h with support/std_istream.h,
1295         support/LOstream.h with support/std_ostream.h.
1296
1297         Changes resulting throughout the tree.
1298
1299 2003-09-05  Angus Leeming  <leeming@lyx.org>
1300
1301         * sgml.h: ensure that the header file can be compiled stand-alone.
1302         * *.C: strip out redundant #includes. (320 in total.)
1303
1304 2003-09-04  Angus Leeming  <leeming@lyx.org>
1305
1306         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1307         here (from getPackages).
1308
1309         * debug.[Ch]: add a new EXTERNAL tag.
1310
1311 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1312
1313         * text2.C (cursorEnd): simplify
1314         (setCursor): adjust
1315         (getColumnNearX): adjust
1316
1317         * text.C (computeBidiTables): adjust
1318         (fill): adjust
1319
1320         * rowpainter.C (paintChars): adjust
1321         (paintSelection): adjust
1322         (paintChangeBar): adjust
1323         (paintText): adjust
1324
1325         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1326         lastPos instead.
1327         (numberOfSeparators): adjust
1328
1329 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1330
1331         * LyXAction.C:
1332         * box.[Ch]:
1333         * lfuns.h:
1334         * lyxfunc.C:
1335         * text3.C: Restricts the mouse click functionality
1336         of insets like bibtex, include, toc and floatlist to the visible
1337         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1338         up the dialogs. Cursor has to be in front of the inset (i.e.
1339         start of row) for this to function.
1340
1341 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1342
1343         * bufferview_funcs.C (currentState): output row information
1344
1345 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1346
1347         * bufferview_funcs.C (currentState): output paragraph position
1348
1349 2003-09-04  Angus Leeming  <leeming@lyx.org>
1350
1351         * FloatList.h: move out #include "Floating.h".
1352         * LaTeX.h: move out #include "DepTable.h".
1353         * LyXAction.h: move out #include "funcrequest.h".
1354         * buffer.h: move out #include "author.h", "iterators.h".
1355         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
1356         * lyx_main.h: move out #include "errorlist.h".
1357         * lyxfunc.h: move out #include "FuncStatus.h".
1358         * lyxtext: move out #include "lyxcursor.h".
1359         * paragraph_pimpl.h: move out #include "counters.h".
1360
1361 2003-09-03  Angus Leeming  <leeming@lyx.org>
1362
1363         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
1364         preamble_snippets list, enabling us to add snippets to the preamble
1365         only if the snippet was not there already.
1366
1367 2003-09-04  Angus Leeming  <leeming@lyx.org>
1368
1369         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
1370
1371 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1372
1373         * lyxfunc.C (dispatch): if fitCursor did something be sure to
1374         update
1375
1376 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1377
1378         * BranchList.C: point fix, earlier forgotten
1379
1380 2003-09-02  Angus Leeming  <leeming@lyx.org>
1381
1382         * box.C (contains): renamed from 'contained' after a fantastic
1383         amount of hot air.
1384
1385 2003-09-02  John Levon  <levon@movementarian.org>
1386
1387         * BufferView.C:
1388         * lyxcursor.h:
1389         * lyxcursor.C:
1390         * lyxfunc.C:
1391         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
1392
1393 2003-09-02  John Levon  <levon@movementarian.org>
1394
1395         * text2.C: simplification of cursorEnd(), including partial
1396         fix for bug 1376
1397
1398 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1399
1400         * buffer.C (readFile): add a space
1401
1402 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
1403
1404         * BufferView_pimpl.C (update): remove bogus fitCursor() call
1405
1406 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1407
1408         * buffer.C (readFile): new function, take a filename and a
1409         ParagraphList::iterator
1410         (readFile): adjust
1411         (readFile): adjust, make it private. don't use setStream, make
1412         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
1413         always contain the filename.
1414
1415         * BufferView.C (insertLyXFile): simplify and make it work for
1416         gzipped files.
1417
1418 2003-08-30  John Levon  <levon@movementarian.org>
1419
1420         * Makefile.am: fix dist (from Kayvan)
1421
1422 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1423
1424         * most files: change to use const Buffer refs
1425
1426 2003-08-27  André Pönitz  <poenitz@gmx.net>
1427
1428         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
1429         on top of ownerPar().
1430
1431 2003-08-27  John Levon  <levon@movementarian.org>
1432
1433         * funcrequest.C: properly initialise POD members
1434
1435 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1436
1437         * lyxtext.h (top_y): move top_y from here
1438         * text.C:
1439         * text2.C:
1440         * text3.C:
1441         * BufferView.[Ch]:
1442         * BufferView_pimpl.[Ch]: to here
1443         * frontends/screen.C:
1444         * insets/insettabular.C:
1445         * insets/insettext.C: adjust
1446         * rowpainter.[Ch] (paintRows): remove LyXText & argument
1447
1448 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1449
1450         * BufferView.[Ch]:
1451         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
1452
1453 2003-08-26  André Pönitz  <poenitz@gmx.net>
1454
1455         * paragraph_func.[Ch] (outerPar): new function
1456
1457         * paragraph.C:
1458         * paragraph_funcs.C:
1459         * paragraph_funcs.h:
1460         * paragraph_pimpl.C:
1461         * text2.C: remove Inset::par_owner
1462
1463 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
1464
1465         * lyxrow_funcs.C:
1466         * lyxtext.h:
1467         * text.C:
1468         * text2.C: eliminates the needFullRow/display() stuff
1469         altogether, putting the logic in metrics/draw in the insets.
1470
1471 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
1472
1473         * text2.C (redoParagraphInternal, redoParagraphs):
1474         * text.C (redoParagraph): add a call to updateRowPositions at the
1475         end of each 'metrics-like' call. Remove all others.
1476         (getRow): remove the 'y-computing' version.
1477         (getRowNearY): do not compute nor return the real y. Solve the
1478         'y < 0' problem and simplify.
1479
1480 2003-08-22  Angus Leeming  <leeming@lyx.org>
1481
1482         * *.[Ch]: clean-up of licence and author blurbs.
1483         Also move config.h out of a few .h files and into a few .C files.
1484
1485 2003-08-22  André Pönitz  <poenitz@gmx.net>
1486
1487         * lyxrow.[Ch]: add x_ and *fill_ members
1488
1489         * lyxtext.h:
1490         * text.C:
1491         * rowpainter.C:
1492         * text2.C: adjust/remove prepareToPrint() calls
1493
1494 2003-08-22  André Pönitz  <poenitz@gmx.net>
1495
1496         * lyxrow.[Ch]: add  end_ member
1497
1498         * lyxrow_funcs.C: use LyXRow::end_
1499
1500         * lyxtext.h (singleWidth): add LyXFont parameter
1501
1502         * rowpainter.C:
1503         * text2.C: adjust LyXText::singleWidth() calls
1504
1505         * text.C (redoParagraph): simplify row breaking logic
1506
1507
1508 2003-08-19  André Pönitz  <poenitz@gmx.net>
1509
1510         * funcrequest.C: initialize button_ member
1511
1512         * text3.C:
1513         * rowpainter.[Ch]: interface consolidation
1514
1515 2003-08-18  André Pönitz  <poenitz@gmx.net>
1516
1517         * BufferView.C:
1518         * BufferView_pimpl.C:
1519         * lyxfind.C:
1520         * paragraph_funcs.C:
1521         * rowpainter.C:
1522         * text3.C: remove LyXScreen::draw() and fitCursor calls
1523
1524         * BranchList.h: remove spurious semicolons
1525
1526         * MenuBackend.C: fix branchlist related crash
1527
1528 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
1529
1530         * BranchList.[Ch]:
1531         * InsetList.[Ch]:
1532         * LColor.[Ch]:
1533         * LyXAction.C:
1534         * Makefile.am:
1535         * MenuBackend.[Ch]:
1536         * bufferparams.[Ch]:
1537         * factory.C:
1538         * lfuns.h:
1539         * lyxfunc.C:
1540         * text3.C: implements the 'branch inset'
1541         idea. This allows the output of various versions of a document
1542         from a single source version, selectively outputing or suppressing
1543         output of parts of the text.
1544         This implementation contains a 'branch list editor' in a separate
1545         tab of the document settings dialog. Branches are user definable
1546         and have a "display colour" to distinguish them on-screen.
1547
1548         ColorHandler was somewhat cleaned up.
1549         (1) make possible a dynamically growing LColor list by allowing
1550         the graphic context cache to grow along (vector);
1551         (2) eliminate an IMHO unnecessary step in colour allocation.
1552
1553 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
1554
1555         * BufferView_pimpl.C: compile fix
1556
1557 2003-08-15  André Pönitz  <poenitz@gmx.net>
1558
1559         * rowpainter.C: remove extra metrics calls
1560
1561         * lyxtext.h: merge the two constructors into a single one,
1562           pass reference to owner's par list
1563
1564         * BufferView_pimpl.C:
1565         * text.C:
1566         * text2.C: adjust
1567
1568 2003-08-15  André Pönitz  <poenitz@gmx.net>
1569
1570         * lyxrow_funcs.[Ch]:
1571         * lyxtext.h:
1572         * paragraph.h:
1573         * paragraph_funcs.C:
1574         * rowpainter.C:
1575         * text.C:
1576         * text2.C:
1577         * text3.C:
1578         * text_funcs.C: split LyXText::rowlist_ into individual
1579         Paragraph::rows_ chunks
1580
1581         * BufferView.[Ch]:
1582         * BufferView_pimpl.[Ch]:
1583         * lyxfind.C:
1584         * lyxtext.h:
1585         * text3.C: remove toggleSelection()
1586
1587 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
1588
1589         * bufferlist.C: beautify two alerts (shorter text of buttons)
1590         * buffer.C: Remove redundant ' ' from message
1591         * tabular.h:
1592         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
1593         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
1594         rename VALIGN_CENTER to VALIGN_MIDDLE
1595
1596 2003-08-11  André Pönitz  <poenitz@gmx.net>
1597
1598         * lyxtext.h (getPar):
1599         * text.C: new function
1600
1601 2003-08-11  André Pönitz  <poenitz@gmx.net>
1602
1603         * Makefile.am:
1604         * tracer.[Ch]: remove unneeded files
1605
1606         * InsetList.[Ch]: remove resizeInsetsLyXText()
1607
1608         * lyxtext.h:
1609         * text.C:
1610         * text2.C:
1611         * text3.C: merge insertParagraphs() and appendParagraph()
1612         remove breakAgain(), update()
1613
1614         * BufferView_pimpl.[Ch]:
1615         * bufferview_funcs.[Ch]:
1616         * lyxfunc.C:
1617         * paragraph.[Ch]:
1618         * rowpainter.C:
1619         * tabular.C: adjust after text & InsetList changes.
1620
1621 2003-08-08  André Pönitz  <poenitz@gmx.net>
1622
1623         * text.C (insertChar, backspace): replace rowlist fiddling
1624         with rebreak of full par
1625
1626         * lyxtext.h:
1627         * text.C (breakAgainOneRow, redoHeightOfParagraph,
1628         checkParagraph, updateInset): removed
1629
1630 2003-08-07  André Pönitz  <poenitz@gmx.net>
1631
1632         * paragraph.C:
1633         * text3.C: merge some LFUN handlers, remove dead code
1634
1635 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1636
1637         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
1638
1639 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
1640
1641         * text2.C (DEPM): fix part of bug 1255 and 1256
1642
1643 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1644
1645         * BufferView_pimpl.C (workAreaDispatch): change to use
1646         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
1647         that are no mouse related.
1648
1649 2003-08-05  André Pönitz  <poenitz@gmx.net>
1650
1651         * BufferView.[Ch]:
1652         * BufferView_pimpl.[Ch]:
1653         * bufferview_funcs.C:
1654         * text2.C:
1655         * text3.C: rip out "deep update"
1656
1657         * textcursor.[Ch] (last_sel_cursor): remove unused member
1658
1659 2003-08-04  André Pönitz  <poenitz@gmx.net>
1660
1661         * BufferView.[Ch]:
1662         * BufferView_pimpl.[Ch]:
1663         * ParagraphParameters.C:
1664         * bufferview_funcs.C:
1665         * lyx_cb.C:
1666         * lyxfind.C:
1667         * lyxfunc.C:
1668         * text.C:
1669         * text2.C:
1670         * text3.C: replace "complicated" BufferView::update(...) calls with
1671         simpler ones.
1672
1673         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
1674
1675 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
1676
1677         * Makefile.am (lyx_SOURCES): add paper.h
1678
1679 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1680
1681         * Makefile.am: move things around so that both lyx-qt and
1682         lyx-xforms can be built (according to --with-frontend). Then lyx
1683         is a symbolic link to lyx-[firstfrontend]
1684
1685 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
1686
1687         * Always use std::endl with lyxerr
1688
1689 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
1690
1691         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
1692
1693 2003-08-01  André Pönitz  <poenitz@gmx.net>
1694
1695         * BufferView.[Ch]:
1696         * BufferView_pimpl.[Ch]:
1697         * lyxfunc.C:
1698         * text3.C: merge BufferView::repaint() and BufferView::update()
1699
1700 2003-08-01  José Matos  <jamatos@lyx.org>
1701
1702         * buffer.[Ch]: file_format is no longer a buffer data element.
1703
1704 2003-08-01  André Pönitz  <poenitz@gmx.net>
1705
1706         * BufferView.C:
1707         * lyxtext.h:
1708         * text.C:
1709         * text2.C: make redoParagraph more independent of current cursor
1710
1711         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
1712         * text.C:
1713         * text2.C: remove unneeded members
1714
1715 2003-07-30  André Pönitz  <poenitz@gmx.net>
1716
1717         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
1718
1719         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
1720           create a single function...
1721
1722         * paragraph_funcs.C (moveItem): ... here.
1723
1724         * text.C:
1725           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
1726
1727 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
1728
1729         * LColor.[Ch]: Add comment and greyedout logical colors.
1730
1731 2003-07-30  André Pönitz  <poenitz@gmx.net>
1732
1733         * tabular.C: don't use Assert too heavily. This crashes where it
1734           shouldn't
1735
1736 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
1737
1738         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
1739         is disabled (bug 1232)
1740
1741 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1742
1743         * factory.C: limited 'arg' scope
1744
1745 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1746
1747         * factory.C: fixed Note submenu issues
1748
1749 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1750
1751         * factory.C: submenu for Note/Comment/Greyedout
1752
1753 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
1754
1755         * lyx_main.C (LyX):
1756         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
1757
1758 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
1759
1760         * LaTeXFeatures.C:
1761         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
1762         greyedout. Patch provided by Jürgen Spitzmüller.
1763
1764 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1765
1766         * kbmap.C (read): fix error message when reading bind files
1767
1768 2003-07-29  Angus Leeming  <leeming@lyx.org>
1769
1770         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
1771         certainly does not do what it purports to do. I am doing it, and
1772         us, a favour by killing it.
1773
1774 2003-07-28  José Matos  <jamatos@lyx.org>
1775
1776         * buffer.C (readBody, do_writeFile):
1777         * paragraph.C(readParagraph): \end_document replaces \the_end.
1778
1779 2003-07-29  André Pönitz  <poenitz@gmx.net>
1780
1781         * BufferView.[Ch]:
1782         * BufferView_pimpl.[Ch]:
1783         * lyxfunc.C:
1784         * text2.C:
1785         * text3.C:
1786         * textcursor.[Ch]: remove toggleToggle & Co
1787
1788 2003-07-28  José Matos  <jamatos@fep.up.pt>
1789
1790         * buffer.C (readParagraph):
1791         * params_func (readParToken, readParagraph):
1792         * paragraph.C (write): \layout -> \begin_layout.
1793
1794 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1795
1796         * lyxlex_pimpl.C (setFile): clean up slightly.
1797
1798         * bufferparams.h: add compressed var
1799
1800         * buffer_funcs.C (readFile): adjust for LyXLex change
1801         (newFile): ditto + simplify
1802
1803         * buffer.C (writeFile): handle writing of compressed files
1804
1805         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
1806         Check if the file is compressed and set a bufferparm if so.
1807
1808         * Makefile.am (lyx_LDADD): remove explicit -lz
1809
1810 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1811
1812         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
1813         makeDocBookFile): put the real LyX version in the first line of
1814         the file
1815
1816         * version.h:
1817         * version.C.in: remove lyx_docversion
1818
1819         * tabular.C (write_attribute): add a template-based version to
1820         write enums properly
1821
1822 2003-07-28  André Pönitz  <poenitz@gmx.net>
1823
1824         * lyxtext.h:
1825         * text.C:
1826         * text2.C:
1827         * text3.C: use doubles again for x-coordinates. They are needed.
1828
1829 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1830
1831         * messages.C (getLocaleDir): use lyx_localedir()
1832
1833         * lyxlex_pimpl.C (setFile): compress stuff
1834
1835         * buffer.C (writeFile): add some compression stuff
1836         (do_writeFile): new func, dont call expliti close... will this
1837         breake anything?
1838
1839         * Makefile.am (lyx_LDADD): add -lz
1840
1841 2003-07-28  José Matos  <jamatos@fep.up.pt>
1842
1843         * buffer.C: increment file format.
1844         * paragraph_funcs (readParagraph, readParToken):
1845         * paragraph.C (readParagraph): add \end_layout.
1846
1847 2003-07-27  Angus Leeming  <leeming@lyx.org>
1848
1849         * Makefile.am: remove special casing for configure-time setting of
1850         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
1851
1852         * lyx_main.C (init): remove all Jean-Marc's magic setting of
1853         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
1854
1855 2003-07-26  André Pönitz  <poenitz@gmx.net>
1856
1857         * paragraph_func.[Ch]:
1858         * paragraph.C (realizeFont): inline it whereever it is used
1859
1860         * rowpainter.C:
1861         * text.C:
1862         * text2.C:
1863         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
1864
1865
1866 2003-07-26  André Pönitz  <poenitz@gmx.net>
1867
1868         *       lyxtext.h:
1869         * text.C:
1870         * text2.C: get rid of LyXText::need_break_row
1871
1872 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1873
1874         * toc.[Ch]: put namespace toc inside namespace lyx
1875
1876         * MenuBackend.C (expandToc2): adjust for lyx::toc
1877         (expandToc): ditto
1878
1879         * lyxfunc.C (dispatch): adjust for lyx::find
1880
1881         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
1882         lyx::find instead. Reorganize a bit.
1883         (LyXReplace): rename to replace
1884         (LyXFind): rename to find
1885
1886         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
1887         (dispatch): ditto
1888
1889 2003-07-26  André Pönitz  <poenitz@gmx.net>
1890
1891         * text.C (setHeightOfRow): restrict scope of temporary variable
1892
1893         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
1894           code (never has been used?)
1895
1896 2003-07-27  Asger Alstrup  <alstrup@local>
1897
1898         * text.C (fill): Optimise algorithm to exploit that we can reuse
1899         the LyXFont for many characters.
1900         (setHeightOfRow): Same thing.
1901         (rowBreakPoint): Same thing.
1902
1903 2003-07-26  Asger Alstrup  <alstrup@local>
1904
1905         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
1906
1907         * text.C (singleWidth): Spurious font copying in hot-spot
1908         singleWidth avoided. Reorder tests for arabic for efficiency.
1909
1910         * text.C (fill): handle empty paragraphs better.
1911
1912 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1913
1914         * ispell.C:
1915         * encoding.h: add includes
1916
1917         * lyxrc.C: remove reading of bind files
1918
1919         * lyx_main.C (init): setup bindings and menus only if we have a
1920         gui.
1921
1922         * kbmap.C (read): new method. Do the actual reading of bind
1923         files.
1924
1925         * converter.C (dvipdfm_options):
1926         * bufferparams.C:
1927         * lyxrc.C (read):
1928         (output): adapt PAPER_* enums.
1929
1930         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
1931
1932         * bufferparams.h: remove paper-related enums from there
1933
1934         * paper.h: New file. A trivial header file to hold paper-related
1935         enums. It should later expand to contain many paper-related
1936         horrors access.
1937
1938         * lyxrc.C: declare extern displayTranslator
1939
1940 2003-07-27  José Matos  <jamatos@fep.up.pt>
1941
1942         * tabular.[Ch] (linuxdoc): add support for tables and figures
1943         (linuxdoc).
1944
1945 2003-07-27  José Matos  <jamatos@fep.up.pt>
1946
1947         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
1948         consistency in both functions.
1949         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
1950
1951 2003-07-26  Asger Alstrup  <alstrup@local>
1952
1953         * rowpainter.C (paintRows): Change algorithm to work directly on
1954         the insets rather than asking every character in the document
1955         whether its an inset.
1956
1957 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
1958
1959         * buffer.C (openFileWrite): factorize some code
1960
1961 2003-07-26  Angus Leeming  <leeming@lyx.org>
1962
1963         * lyx_cb.C:
1964         * lyx_main.[Ch]: replace occurances of system_tempdir with
1965         os::getTmpDir().
1966
1967 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1968
1969         * rename Inset to InsetOld
1970
1971 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
1972
1973         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
1974         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
1975         which I think is a bit clearer. EDIT is gone, since it was
1976         premature optimisation, and broken for mathed anyway.
1977         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
1978         with cursor positioning in insets as well (math insets still do not
1979         work, but that's a different story anyway.) It mysteriously
1980         crashes sometimes with undo in the first paragraph, but I'm fairly
1981         confident that this is a compiler bug.
1982
1983 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1984
1985         * paragraph.C (Paragraph): adjust for new clone return type
1986         (operator==): ditto
1987         (copyIntoMinibuffer): ditto
1988
1989 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
1990
1991         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
1992         by not having a special case, and always doing a full rebreak of
1993         the document after undo.
1994
1995 2003-07-23  Angus Leeming  <leeming@lyx.org>
1996
1997         * factory.C (createInset): InsetExternal::setParams now takes a
1998         Buffer const * arg.
1999
2000 2003-07-23  Angus Leeming  <leeming@lyx.org>
2001
2002         * factory.C (createInset): changed interface to the external and
2003         graphics mailers' string2params functions.
2004
2005 2003-07-23  Angus Leeming  <leeming@lyx.org>
2006
2007         * factory.C (createInset): pass a
2008         Buffer const * parameter to InsetExternalMailer's string2params.
2009
2010 2003-07-22  John Levon  <levon@movementarian.org>
2011
2012         * Thesaurus.h: include the right aiksaurus header
2013
2014 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2015
2016         * MenuBackend.C (expand): check menu shortcuts unconditionally
2017
2018 2003-07-21  Angus Leeming  <leeming@lyx.org>
2019
2020         * factory.C (createInset): pass a
2021         buffer_path parameter to InsetGraphicsMailer's string2params.
2022
2023 2003-07-21  Angus Leeming  <leeming@lyx.org>
2024
2025         * BufferView_pimpl.C (buffer):
2026         * buffer.C (d-tor):
2027         * lyx_main.C (LyX):
2028         * lyxfunc.C (dispatch):
2029         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2030         rather than the grfx shortcut.
2031
2032 2003-07-21  André Pönitz  <poenitz@gmx.net>
2033
2034         * rowpainter.C: remove unused variables
2035
2036         * tabular_funcs.C:
2037         * tabular_funcs.h: move to tabular.C
2038         * Makefile.am: adjust
2039
2040         * tabular.[Ch]: basic optical cleaning
2041
2042         * author.h: pass references, not values
2043
2044 2003-07-18  André Pönitz  <poenitz@gmx.net>
2045
2046         * lyxtext.h:
2047         * metricsinfo.C:
2048         * metricsinfo.h:
2049         * rowpainter.C:
2050         * text.C:
2051         * text2.C:
2052         * text3.C: two-phase drawing for InsetText and InsetTabular
2053         some float -> int changes.
2054
2055 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2056
2057         * lyx_main.C: fix the fix
2058
2059 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2060
2061         * lyx_main.C: fix a crash in batch mode if no files specified
2062         * converter.C: ws
2063
2064 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
2065
2066         * format.[Ch] (papersize): moved to BufferParams
2067         * converter.[Ch] (dvips_options): moved to BufferParams
2068         (dvipdfm_options): moved to anon namespace
2069         * bufferparams.[Ch]: added above functions.
2070
2071 2003-07-17  André Pönitz  <poenitz@gmx.net>
2072
2073         * lyxtext.h:
2074         * rowpainter.C:
2075         * text2.C: don't call inset->update() anymore
2076
2077         * metricsinfo.[Ch]: add convenience constructor
2078
2079 2003-07-16  André Pönitz  <poenitz@gmx.net>
2080
2081         * lyxcursor.[Ch]:
2082         * lyxfunc.[Ch]:
2083         * text.C:
2084         * text2.C: replace the LyXCursor::irow_ member with
2085          on-demand computation of the value
2086
2087 2003-07-16  John Levon  <levon@movementarian.org>
2088
2089         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
2090
2091 2003-07-15  André Pönitz  <poenitz@gmx.net>
2092
2093         * text.C:
2094         * text2.C: remove no more needed refresh_row
2095
2096 2003-07-15  André Pönitz  <poenitz@gmx.net>
2097
2098         * lyxtext.h:
2099         * rowpainter.C:
2100         * text2.C:
2101         * text3.C: refresh_status tristate -> need_update bool
2102
2103 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
2104
2105         * lyxtext.h (init): remove reinit argument (act as if always true)
2106         * text2.C: adjust to that
2107
2108 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2109
2110         * bufferview_funcs.[Ch]: introduce function replaceSelection()
2111         * text3.C: use it to delete selections in some cases
2112         (bugs 441, 673, 702, 954).
2113
2114 2003-07-14  André Pönitz  <poenitz@gmx.net>
2115
2116         * rowpainter.[Ch]: reduce interface
2117
2118 2003-07-14  André Pönitz  <poenitz@gmx.net>
2119
2120         * BufferView_pimpl.C:
2121         * text2.C: adjust after removing unused BufferView * argument
2122
2123 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
2124
2125         * text2.C (init): fix a crash fired on resize
2126
2127 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
2128
2129         * buffer.[Ch]: added new closing signal
2130         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
2131         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
2132         BufferView::Pimpl via the closing the signal
2133
2134 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
2135
2136         * buffer.[Ch]: take out all bv-related from buffer
2137         * BufferView.C:
2138         * BufferView_pimpl.[Ch]: connect to new signals
2139         * CutAndPaste.C: removed useless asserts
2140         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
2141         * lyxvc.[Ch]:
2142         * vc-backend.[Ch]:
2143         * lyxfunc.C: moved view-related funciontality from vc here
2144         * paragraph.C: removed outdated comments
2145         * text.C: ws
2146
2147 2003-07-10  André Pönitz  <poenitz@gmx.net>
2148
2149         * BufferView_pimpl.C:
2150         * tabular.h:
2151         * tabular_funcs.C:
2152         * text.C:
2153         * text2.C: remove InsetText::InnerCache, clean up consequences
2154
2155 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
2156
2157         * ispell.C: fix two typos in error messages
2158
2159 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
2160
2161         * Extend Note inset to other forms of annotation like Comment
2162         and Greyedout. Right button click gives dialog.
2163
2164         Files modified or added (+):
2165
2166         * insetnote.[Ch]
2167         * FormNote.[Ch]      +
2168         * ControlNote.[Ch]   +
2169         * form_note.fd       +
2170         * Makefile.am in frontends/xforms, frontends/xforms/forms,
2171         frontends/controllers
2172         * xforms/Dialogs.C
2173         * factory.C
2174
2175 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2176
2177         * aspell.C: add missing namespace lyx::support
2178
2179 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
2180
2181         * BufferView.[Ch] (newFile): Add
2182         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2183         * LaTeX.[Ch] (message): added this signal and use it
2184         * buffer.[Ch] (busy, message): added these signals and use them
2185         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2186         * converter.C:
2187         * exporter.C:
2188         * format.C:
2189         * importer.C: use buffer signals instead of direct bv calling
2190         * lyx_cb.[Ch] (ShowMessage): removed
2191         * lyx_main.C:
2192         * lyxfunc.C:
2193         * paragraph_funcs.C:
2194         * text2.C: use buffer signals
2195
2196 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2197
2198         * introduce namespace lyx::graphics
2199
2200 2003-07-02  André Pönitz  <poenitz@gmx.net>
2201
2202         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2203
2204 2003-07-01  André Pönitz  <poenitz@gmx.net>
2205
2206         * text.C:
2207         * text2.C:
2208         * text3.C:
2209         * text_funcs.[Ch]:
2210         * textcursor.h:
2211         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2212           text*.C to text_func.C
2213
2214 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2215
2216         * introduce namespace lyx::support
2217
2218 2003-06-30  André Pönitz  <poenitz@gmx.net>
2219
2220         * Chktex.C:
2221         * funcrequest.C:
2222         * lyxtext.h:
2223         * text.C: re-enable --with-included-string
2224
2225 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2226
2227         * textcursor.C: add <config.h>
2228
2229         * text.C (getWord): remove const from word_location arg
2230
2231         * lyxvc.C (getLogFile): fix const type order
2232
2233         * lyxtext.h: remove const from word_location arg, add arg name
2234
2235         * lyxlayout.h: currect type on labeltype.
2236
2237         * importer.C: correct \file
2238
2239         * converter.C (intToFormat): use std:: on ret val, ws changes
2240
2241         * bufferlist.h: correct \file
2242
2243         * buffer.C (makeLinuxDocFile): fix const type order
2244         (makeDocBookFile): ditto
2245         (fillWithBibKeys): use std:: on stdlib args.
2246
2247         * CutAndPaste.C: fix authors.
2248         (availableSelections): use std:: on return vector
2249
2250 2003-06-27  André Pönitz  <poenitz@gmx.net>
2251
2252         * BufferView_pimpl.C:
2253         * bufferview_funcs.C:
2254         * lyxcursor.C:
2255         * lyxcursor.h:
2256         * lyxfunc.C:
2257         * lyxtext.h:
2258         * rowpainter.C:
2259         * text.C:
2260         * text2.C:
2261         * text3.C: remove LyXCursor::row_ member
2262
2263         * lyxtext.h:
2264         * text.C: rename fullRebreak() to partialRebreak() and implement
2265           a fullRebreak() that really bereks fully
2266
2267         * textcursor.h: new struct for cursor-related data
2268
2269 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
2270
2271         * lyx_main.C (LyX): get full path of document loaded on the
2272         command line
2273
2274 2003-06-26  André Pönitz  <poenitz@gmx.net>
2275
2276         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2277           remove unused/broken operator>,<,>=.
2278
2279         *       text.C: remove only use of broken operator<= in an Assert().
2280
2281 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2282
2283         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2284         moved errorlist_.clear to showErrorList
2285
2286 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2287
2288         * converter.C (scanLog, runLaTeX):
2289         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2290         move the bv->showErrorList call to the callers
2291         * lyxfunc.C: i.e. here...
2292         * text2.C: and here
2293         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2294         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2295         namespace, the second to...
2296         * buffer_funcs (BufferFormat, parseErrors): added
2297         * errorlist.C (ErrorList(TeXErrors const &)): removed
2298
2299 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2300
2301         * ToolbarBackend.C (getIcon): complain when icon cannot be found
2302
2303 2003-06-24  "Garst R. Reese" <reese@isn.net>
2304
2305         * debug.C: fix typo
2306
2307 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2308
2309         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2310
2311         * version.C.in: change docversion to 1.4
2312
2313 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
2314
2315         * buffer.C: fix a bug just introduced
2316
2317 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
2318
2319         * buffer.[Ch]: added the parseError signal and use it, removed
2320         sgmlError
2321         * BufferView.[Ch] (addError): moved to ...
2322         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2323         to the Buffer::parseError signal to catch (guess what) parse errors
2324         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2325
2326 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
2327
2328         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2329         ability to create a buffer and to return an existing one from
2330         the list. Moved these functions to...
2331         * buffer_funcs.[Ch]: added
2332         * BufferView.[Ch] (loadLyXFile): added
2333         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
2334         job removed from bufferlist::loadLyXFile.
2335         * buffer.C (setReadOnly): make it work without view
2336         (i.e added an if (users))
2337
2338 2003-06-19  Angus Leeming  <leeming@lyx.org>
2339
2340         * lfuns.h:
2341         * LyXAction.C (init):
2342         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
2343         with LFUN_DIALOG_SHOW <name> <data>.
2344
2345 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2346
2347         * CutAndPaste.C (availableSelections): small compilation fix for
2348         ancient (gcc 2.9x) compilers
2349
2350 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
2351
2352         * text3.C (cursorNext): add tmp var
2353
2354         * text2.C (updateCounters): for function calling out of for clause
2355         (replaceSelectionWithString): ditto
2356         (insertStringAsParagraphs): ditto
2357         (getColumnNearX): add tmp var
2358         (setCursorFromCoordinates): add tmp var
2359         (cursorDownParagraph): add tmp var
2360         (deleteEmptyParagraphMechanism): add tmp var
2361
2362         * text.C (insertChar): add tmp var
2363
2364         * rowpainter.C (paintDepthBar): add tmp var
2365
2366         * CutAndPaste.C (availableSelections): potentially check all
2367         paragraphs in a cut to fill the shown strings.
2368
2369 2003-06-18  André Pönitz  <poenitz@gmx.net>
2370
2371         * kbmap.[Ch]: use vector<> instead of list<>
2372
2373 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
2374
2375         * text3.C (dispatch): handle arg to LFUN_PASTE, call
2376         pasteSelection with index
2377
2378         * text2.C (pasteSelection): modify, call pasteSelection with index
2379
2380         * paragraph.C (asString): reimplement version with no interval to
2381         call the one with interval.
2382
2383         * lyxtext.h: add index arg to pasteSelection
2384
2385         * MenuBackend.C (MenuItem): handle PasteRecent
2386         (Menu::read::Menutags): add md_pasterecent
2387         (read): handle it
2388         (expandPasteRecent): new function
2389         (expand): use it
2390
2391         * MenuBackend.h: add PasteRecent to MenuItem::Kind
2392
2393         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
2394         the limited stack
2395         (availableSelections): new function
2396
2397 2003-06-17  Angus Leeming  <leeming@lyx.org>
2398
2399         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
2400
2401 2003-06-17  Angus Leeming  <leeming@lyx.org>
2402
2403         * lfuns.h:
2404         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
2405
2406         * lyxfunc.C (dispatch): invoke it.
2407
2408 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2409
2410         * iterators.C (operator++, ParPosition): reintroduce some
2411         const_cast for the benefit of older compilers.
2412
2413 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2414
2415         * text3.C (dispatch): do not modify clipboard when doing
2416         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
2417         LFUN_DELETE_SKIP on a selection selection
2418
2419 2003-06-16  André Pönitz  <poenitz@gmx.net>
2420
2421         * BufferView.C:
2422         * buffer.C:
2423         * buffer.h:
2424         * paragraph.C:
2425         * tabular.[Ch]: IU of clone() and getLabelList();
2426
2427 2003-06-13  André Pönitz  <poenitz@gmx.net>
2428
2429         * tabular.h: compactification
2430
2431 2003-06-12  André Pönitz  <poenitz@gmx.net>
2432
2433         * tabular.C:
2434         * tabular.h:
2435         * tabular_funcs.h: some renaming plus whitespace
2436
2437 2003-06-12  André Pönitz  <poenitz@gmx.net>
2438
2439         * BufferView.C:
2440         * BufferView_pimpl.C:
2441         * CutAndPaste.C:
2442         * buffer.C:
2443         * iterators.[Ch]:
2444         * lyxfunc.C:
2445         * text.C:
2446         * toc.C: Return a Paragraph & for ParIterator::operator*()
2447
2448 2003-06-11  John Levon  <levon@movementarian.org>
2449
2450         * lyx_main.C:
2451         * ToolbarBackend.h:
2452         * ToolbarBackend.C: add "Toolbars" section and
2453         put the flags there
2454
2455 2003-06-10  Angus Leeming  <leeming@lyx.org>
2456
2457         * lfuns.h:
2458         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
2459
2460         * lyxfunc.C (dispatch): invoke it.
2461
2462 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2463
2464         * main.C: protect <ios> with HAVE_IOS
2465         (main): protect sync_with_stdio with HAVE_IOS
2466
2467 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
2468
2469         * text2.C (cutSelection): adjust
2470         (pasteSelection): adjust
2471
2472         * messages.C: handle get of empty string
2473
2474         * main.C (main): use sync_with_stdio(false)
2475
2476         * lyxfunc.C (dispatch): adjust
2477
2478         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
2479         (WriteAs): remove unneeded BufferView arg.
2480
2481         * bufferparams.h: use correct types on papersize, papersize2 and
2482         paperpackage.
2483
2484         * bufferparams.C (readToken): adjust for type
2485         (writeLaTeX): add missing cases to switch.
2486
2487         * bufferlist.C (quitWriteBuffer): adjust
2488         (close): adjust
2489
2490         * buffer.C (asciiParagraph): remove some commented code.
2491
2492         * CutAndPaste.C: remove current_view extern variable.
2493         (cutSelection): add BufferParams arg.
2494         (eraseSelection): add BufferParams arg.
2495         (pasteSelection): add Buffer const & arg
2496
2497 2003-06-07  John Levon  <levon@movementarian.org>
2498
2499         * buffer.C:
2500         * paragraph_funcs.C:
2501         * paragraph_pimpl.C:
2502         * text.C:
2503         * text2.C:
2504         * paragraph.h:
2505         * paragraph.C: allow InsetERT to freely space lines,
2506         and some consolidation of code
2507
2508 2003-06-06  José Matos  <jamatos@fep.up.pt>
2509
2510         * buffer.C (makeDocBookFile): fix bug #821
2511
2512 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
2513
2514         * BufferView_pimpl.C (dispatch): use Dialogs::visible
2515
2516 2003-06-04  Angus Leeming  <leeming@lyx.org>
2517
2518         * buffer.C: bump format to 224.
2519
2520 2003-06-05  André Pönitz  <poenitz@gmx.net>
2521
2522         * text2.C (redoParagraphs): remove two const_cast<>
2523
2524 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2525
2526         * ParagraphList.h: remove last remnants of NO_STD_LIST
2527
2528 2003-06-03  Angus Leeming  <leeming@lyx.org>
2529
2530         * factory.C (createInset): small change to the way InsetExternal's params
2531         are set.
2532
2533 2003-06-04  André Pönitz  <poenitz@gmx.net>
2534
2535         * buffer.h: use Undo directly instead of shared_ptr<Undo>
2536
2537         * paragraph_pimpl.h:
2538         * paragraph.[Ch]: some Inset -> UpdatableInset changes
2539
2540         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
2541
2542         * undo_funcs.C: make some simple cases of undo work again
2543
2544 2003-06-03  John Levon  <levon@movementarian.org>
2545
2546         * ispell.C: HPUX doesn't have sys/select.h
2547         (from Albert Chin)
2548
2549 2003-06-03  John Levon  <levon@movementarian.org>
2550
2551         * CutAndPaste.C: update tabular and include inset
2552         buffer references
2553
2554         * buffer.h:
2555         * paragraph.h:
2556         * paragraph.C: remove owningBuffer(), don't pass Buffer
2557         to clone()
2558
2559         * factory.C: insetGraphicsParams changed
2560
2561 2003-06-02  John Levon  <levon@movementarian.org>
2562
2563         * LyXAction.C:
2564         * factory.C:
2565         * lfuns.h:
2566         * lyxfunc.C:
2567         * text3.C: remove insetparent
2568
2569 2003-06-02  John Levon  <levon@movementarian.org>
2570
2571         * buffer.h:
2572         * buffer.C: fix inset_iterator.end(), move out of line
2573         (bug 1149)
2574
2575 2003-06-01  John Levon  <levon@movementarian.org>
2576
2577         * text3.C: use a proper cut/paste when doing inset
2578         insert (from Jürgen Spitzmüller)
2579
2580 2003-06-01  John Levon  <levon@movementarian.org>
2581
2582         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
2583
2584 2003-05-30  André Pönitz  <poenitz@gmx.net>
2585
2586         * rowpainter.C: unify second drawing phase
2587
2588 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2589
2590         * trans_mgr.C: remove one case of current_view
2591
2592         * text2.C (cursorBottom): delete NO_STD_LIST stuff
2593
2594         * paragraph_funcs.h: remove paragraph.h include
2595
2596         * paragraph.h: delete NO_STD_LIST stuff
2597
2598         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
2599
2600         * buffer.h: remove paragraph.h include
2601
2602         * ParagraphList.C: delete file
2603
2604         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
2605
2606         * toc.C (getTocList): adjust
2607
2608         * paragraph_pimpl.C (validate): adjust
2609
2610         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
2611
2612         * paragraph.C (Paragraph): adjust
2613         (getPositionOfInset): use const_iterator, adjust
2614         (bibitem): use const_iterator, adjust
2615         (setInsetOwner): adjust
2616
2617         * iterators.C (operator++): adjust
2618
2619         * InsetList.[Ch]: Replace selfmade iterator with standard
2620         vector::iterator also introduce const_iterator. Remove getPos,
2621         getInset and setInset from InsetTable. Adjust accordingly.
2622
2623         * BufferView.C (lockInset): adjust
2624         (ChangeInsets): adjust
2625
2626         * tabular.[Ch]: delete commented same_id functions
2627
2628 2003-05-28  John Levon  <levon@movementarian.org>
2629
2630         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
2631
2632 2003-05-28  André Pönitz  <poenitz@gmx.net>
2633
2634         * metricsinfo.[Ch]: remove 'fullredraw' member
2635
2636 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
2637
2638         * lyxtextclass.C (operator): remove caching.
2639
2640 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2641
2642         * text3.C: adjust
2643
2644         * text2.C (cursorBottom): adjust
2645         (setCounter): use ParagraphList::find, adjust
2646
2647         * text.C (workWidth): use ParagraphList::find, adjust
2648
2649         * lyxcursor.C (LyXCursor): adjust
2650
2651         * buffer.C (inset_iterator): adjust
2652
2653         * ParagraphList.h: make iterator(value_type) private, make
2654         ParagraphList a friend of iterator.
2655
2656         * ParagraphList.C (find): new function
2657
2658         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2659
2660 2003-05-27  André Pönitz  <poenitz@gmx.net>
2661
2662         * dimension.[Ch]: a -> asc, d -> des, w -> wid
2663
2664 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2665
2666         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
2667
2668 2003-05-26  John Levon  <levon@movementarian.org>
2669
2670         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
2671
2672 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2673
2674         * remove same_id from function signatures, adjust.
2675
2676 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2677
2678         * undo_funcs.C (createUndo): use the id functions directly, adjust.
2679
2680         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
2681
2682         * paragraph.C (Paragraph): get rid of same_ids parameter
2683
2684         * ParagraphList.C (insert): adjust
2685         (push_back): adjust
2686
2687 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2688
2689         * paragraph_funcs.C (breakParagraph): adjust
2690         (breakParagraphConservative): adjust
2691
2692         * buffer.C (readParagraph): adjust
2693
2694         * ParagraphList.C (insert): take a reference instead of a pointer
2695         (insert): adjust
2696
2697         * paragraph.[Ch] (id): new function
2698
2699         * bufferlist.C (newFile): adjust
2700
2701         * ParagraphList.C (ParagraphList): adjust
2702         (assign): adjust
2703         (push_back): take a reference instead of a pointer.
2704
2705         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
2706
2707         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
2708         instead.
2709
2710         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
2711         set else use old code.
2712
2713         * ParagraphList.C: remove all NO_NEXT code and only compile this
2714         code of NO_STD_LIST is set.
2715
2716 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
2717
2718         * BufferView_pimpl.C:
2719         * TextCache.C:
2720         * TextCache.h:
2721         * bufferlist.C:
2722         * errorlist.h:
2723         * format.C:
2724         * format.h:
2725         * graph.C:
2726         * lyxfunc.C:
2727         * lyxrc.C:
2728         * graphics/GraphicsConverter.C:
2729         * graphics/PreviewLoader.C: header adjustment
2730
2731 2003-05-23  Angus Leeming  <leeming@lyx.org>
2732
2733         * LaTeXFeatures.[Ch] (useBabel): new method.
2734         * bufferparams.C (writeLaTeX): use it.
2735
2736 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2737
2738         * ParagraphList.h (set): remove unused function.
2739
2740 2003-05-23  André Pönitz  <poenitz@gmx.net>
2741
2742         * BufferView.C:
2743         * BufferView_pimpl.C:
2744         * buffer.C:
2745         * buffer.h:
2746         * lyxfunc.C:
2747         * undo_funcs.C: setUndo reworked
2748
2749         * iterators.[Ch]: add access to topmost ParagraphList
2750
2751         * lyxtext.[Ch] (workWidth): add a const
2752
2753 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
2754
2755         * texrow.[Ch] (increasePos): remove function
2756         * exporter.C (export): removed unused var and outdated comment
2757
2758 2003-05-23  Angus Leeming  <leeming@lyx.org>
2759
2760         * latexrunparams.h: rename fragile as moving_arg.
2761         * paragraph.C (simpleTeXOnePar): ditto.
2762         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
2763
2764 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2765
2766         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
2767         (createUndo): ditto
2768         (textUndoOrRedo): comment out a currently unused var.
2769
2770         * paragraph.h (NO_NEXT): enable NO_NEXT
2771
2772         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
2773
2774         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
2775
2776         * exporter.C (Export): adjust for removeAutoInsets removal.
2777
2778         * buffer.C (runChktex): adjust for removeAutoInsets removal.
2779
2780         * LyXAction.C (init): remove LFUN_REMOVEERRORS
2781
2782         * BufferView.[Ch] (removeAutoInsets): delete function
2783
2784 2003-05-22  Angus Leeming  <leeming@lyx.org>
2785
2786         * latexrunparams.h: add a free_spacing variable.
2787
2788         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
2789         to pass moving_arg, as the data is stored in runparams.fragile.
2790
2791         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
2792         to Inset::latexOptional or to simpleTeXOnePar.
2793
2794         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
2795         free_spacing arg to Inset::latexOptional.
2796
2797         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2798         free_spacing arg.
2799
2800 2003-05-22  Angus Leeming  <leeming@lyx.org>
2801
2802         * latexrunparams.h: add fragile and use_babel variables.
2803
2804         * bufferparams.[Ch] (writeLaTeX): return use_babel.
2805         * buffer.C (makeLaTeXFile): store this returned value in
2806         runparams.use_babel, thus passing it to the inset::latex methods.
2807
2808         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
2809         simpleTeXSpecialChars as it is now stored in runparams.fragile.
2810
2811         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
2812         longer has a fragile arg, as it is stored in runparams.fragile.
2813
2814         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
2815         moving_arg parameter as the data is stored in runparams.fragile.
2816
2817         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2818         a fragile parameter as the data is stored in runparams.fragile.
2819
2820 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2821
2822         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
2823
2824 2003-05-22  Angus Leeming  <leeming@lyx.org>
2825
2826         * latexrunparams.h: add a 'bool nice' which defaults to false.
2827
2828         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
2829         now encapsulated within runparams.
2830
2831         * bufferlist.C (updateIncludedTeXfiles):
2832         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
2833
2834 2003-05-22  Angus Leeming  <leeming@lyx.org>
2835
2836         * latexrunparams.h: new file containing struct LatexRunParams.
2837         * Makefile.am: add new file.
2838
2839         * LaTeX.[Ch] (c-tor, run):
2840         * buffer.[Ch] (makeLaTeXFile):
2841         * bufferlist.[Ch] (updateIncludedTeXfiles):
2842         * converter.C (convert, scanLog):
2843         * converter.[Ch] (runLaTeX):
2844         * exporter.C (Export):
2845         * paragraph.[Ch] (simpleTeXOnePar):
2846         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
2847         * paragraph_funcs.[Ch] (latexParagraphs):
2848         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
2849         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
2850         pass around a LatexRunParams parameter.
2851
2852 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2853
2854         * paragraph.[Ch]: remove unused constructor
2855
2856         * ParagraphList.C (erase): new function, taking two iterators
2857
2858 2003-05-22  André Pönitz  <poenitz@gmx.net>
2859
2860         * undo_funcs.C: remove duplicated code
2861
2862         * iterator.[Ch]: operator=
2863
2864 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2865
2866         * tabular.C (SetMultiColumn): ws changes
2867
2868         * rowpainter.C (paintFirst): get rid of a ->previous
2869
2870         * lyx_cb.C (getPossibleLabel): parlist simplification
2871
2872         * BufferView.C (ChangeInsets): simplify slightly.
2873
2874 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2875
2876         * LyXAction.C: new lfun space-insert, kill protected-space-insert
2877         * lfuns.h: new LFUN_SPACE
2878         * lyxfunc.C: protected space has a new lfun
2879         * paragraph_funcs.C: read new space insets
2880         * text3.C:
2881         * factory.C: handle new space insets
2882
2883 2003-05-22  André Pönitz  <poenitz@gmx.net>
2884
2885         * BufferView.C:
2886         * BufferView_pimpl.C:
2887         * buffer.[Ch]:
2888         * lyxfunc.C:
2889         * undo_funcs.C: return a ParIterator from getParFromID.
2890
2891         * iterators.[Ch]: add two const's
2892
2893 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2894
2895         * toc.C (getTocList): adjust
2896
2897         * iterators.[Ch]: rework for parlist
2898
2899         * buffer.C (par_iterator_begin): adjust
2900         (par_iterator_end): adjust
2901
2902         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
2903
2904         * BufferView.C (removeAutoInsets): adjust
2905         (ChangeInsets): adjust
2906
2907 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
2908
2909         * text.C (top_y): fix bug 1110
2910
2911 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
2912
2913         * errorlist.[Ch]: added
2914         * buffer.C:
2915         * BufferView.[Ch]:
2916         * BufferView_pimpl.C:
2917         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
2918         instead
2919
2920 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2921
2922         * Makefile.am: ensure that lyx is relinked upon changes to the
2923         various "convenience" libs.
2924
2925 2003-05-20  Angus Leeming  <leeming@lyx.org>
2926
2927         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
2928         files are compiled in alphabetical order again.
2929
2930         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
2931
2932 2003-05-19  Angus Leeming  <leeming@lyx.org>
2933
2934         * gettext.[Ch]: remove "char const * _(char const *)".
2935
2936 2003-05-19  André Pönitz  <poenitz@gmx.net>
2937
2938         * dimension.[Ch]: promote from mathed/dimension.[Ch]
2939
2940         * Makefile.am:
2941         * BufferView.C:
2942         * DepTable.h:
2943         * LaTeXFeatures.C:
2944         * buffer.C:
2945         * lyxfont.C:
2946         * lyxlex.h:
2947         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
2948
2949 2003-05-19  André Pönitz  <poenitz@gmx.net>
2950
2951         * buffer.C:
2952         * lyxlayout.[Ch]:
2953         * lyxtextclass.[Ch]:
2954         * paragraph.C:
2955         * paragraph_funcs.[Ch]:
2956         * text2.C:
2957         * text3.C: more insetenv work
2958
2959 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
2960
2961         * ParagraphParameters.C (params2string): small bug fixed
2962
2963 2003-05-16  André Pönitz  <poenitz@gmx.net>
2964
2965         * debug.C:
2966         * bufferview_funcs.C: patch from Kornel Benko to prevent
2967           crash when _(...) is called twice in a statement
2968
2969 2003-05-16  André Pönitz  <poenitz@gmx.net>
2970
2971         * BufferView.C:
2972         * lyxfunc.C:
2973         * text.C:
2974         * text2.C:
2975         * text3.C:
2976         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
2977
2978 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
2979
2980         * lyx_main.C (init): remove spurious static_cast
2981
2982 2003-05-14  André Pönitz  <poenitz@gmx.net>
2983
2984         * BufferView.C: fix format string
2985
2986 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
2987
2988         * BufferView.[Ch] (insertErrors): removed
2989         * BufferView.[Ch] (showErrorList): added
2990         * buffer.C (runChkTeX):
2991         * converter.C (scanLog): call showErrorList instead of inserterrors
2992
2993 2003-05-13  André Pönitz  <poenitz@gmx.net>
2994
2995         * BufferView_pimpl.C:
2996         * buffer.C:
2997         * bufferview_func.C:
2998         * MenuBackend.C:
2999         * lyxfunc.C:
3000         * lyxrc.C:
3001         * tex-accent.C:
3002         * text3.C:
3003         * toc.C:
3004         * tabular_funcs.h: tostr() from its own header
3005
3006         * ParagraphParameters.C:
3007         * ToolbarBackend.C:
3008         * bufferparams.C:
3009         * format.C:
3010         * lyxlex_pimpl.C:
3011         * text3.C: STRCONV()
3012
3013 2003-05-12  André Pönitz  <poenitz@gmx.net>
3014
3015         * BufferView.C:
3016         * BufferView_pimpl.C:
3017         * CutAndPaste.C:
3018         * LaTeX.C:
3019         * LaTeXFeatures.C:
3020         * ParagraphParameters.C:
3021         * buffer.C:
3022         * bufferlist.C:
3023         * bufferparams.C:
3024         * bufferview_funcs.C:
3025         * converter.C:
3026         * counters.C:
3027         * debug.C:
3028         * exporter.C:
3029         * format.C:
3030         * importer.C:
3031         * lyx_cb.C:
3032         * lyx_main.C:
3033         * lyxfont.C:
3034         * lyxfunc.C:
3035         * lyxvc.C:
3036         * paragraph.C:
3037         * paragraph_funcs.C:
3038         * tabular.C:
3039         * tabular_funcs.C:
3040         * text2.C:
3041         * text3.C:  boost::format -> bformat  all over the place
3042
3043
3044 2003-05-09  André Pönitz  <poenitz@gmx.net>
3045
3046         * LColor.[Ch]: Pimpl the #include <map> away
3047
3048 2003-05-09  John Levon  <levon@movementarian.org>
3049
3050         * bufferlist.C: never remove emergency saves
3051
3052 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3053
3054         * Makefile.am: better lib building
3055
3056 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
3057
3058         * texrow.[Ch]: remove dependency on Paragraph and just store a id
3059         instead.
3060         * paragraph_pimpl.C (simpleTeXBlanks): adjust
3061         (simpleTeXSpecialChars): adjust
3062         (simpleTeXSpecialChars): adjust
3063         * paragraph.C (simpleTeXOnePar): adjust
3064         * buffer.C (makeLaTeXFile): adjust
3065
3066         * Makefile.am (BOOST_LIBS): allow boost as system lib.
3067
3068         * text2.C (changeDepth): parlist cleanup
3069         (getColumnNearX): ditto
3070
3071         * rowpainter.C (getLabelFont): parlist cleanup
3072
3073         * bufferlist.C (newFile): parlist cleanup
3074
3075         * CutAndPaste.C (eraseSelection): parlist cleanup
3076
3077         * BufferView_pimpl.C (trackChanges): parlist cleanup
3078         (dispatch): ditto
3079
3080         * BufferView.C (lockInset): parlist cleanup.
3081         (ChangeInsets): ditto
3082
3083 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3084
3085         * CutAndPaste.h: Update file header.
3086
3087         * CutAndPaste.C: Update file header.
3088         Store the parts cut out of the Document in a limited_stack.
3089         (copySelection): adjust
3090         (pasteSelection): new function, takes the index in the limited stack.
3091         (nrOfParagraphs): adjust
3092         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
3093         simplify error inset insertion.
3094         (checkPastePossible): adjust
3095
3096 2003-05-06  John Levon  <levon@movementarian.org>
3097
3098         * text2.C: don't cast wrap inset to float
3099
3100 2003-05-05  André Pönitz  <poenitz@gmx.net>
3101
3102         * iterator.C:
3103         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
3104
3105         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
3106           few naked Paragraph *.
3107
3108 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
3109
3110         * bufferparams.C: Output warning if a document with missing
3111         TeX document class is loaded
3112         * exporter.C: Disable TeX exports if the document class is missing
3113         * lyxtextclass.C:
3114         * lyxtextclass.h:
3115         * lyxtextclasslist.C: Handle new textclass.lst format; new method
3116         isTeXClassAvailable()
3117
3118 2003-05-03  John Levon  <levon@movementarian.org>
3119
3120         * BufferView.h:
3121         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
3122         explicit cursor show/hide
3123
3124         * BufferView_pimpl.h:
3125         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
3126         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
3127
3128         * lyxfunc.C: hide cursor before dispatching.
3129
3130         * lyx_cb.C:
3131         * lyxfind.C:
3132         * text.C:
3133         * text3.C: remove explicit cursor hides
3134
3135 2003-05-02  André Pönitz  <poenitz@gmx.net>
3136
3137         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
3138
3139         * undo_funcs.C:
3140         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
3141           linked lists
3142
3143         * text2.C: tiny whitespace
3144
3145 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3146
3147         * undo_funcs.C: almost only ws changes.
3148
3149         * ParagraphList.C (splice): just return if pl is empty.
3150
3151 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3152
3153         * ParagraphList.C (splice): new function.
3154
3155         * CutAndPaste.C (pasteSelection): use it
3156
3157 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3158
3159         * CutAndPaste.C (pasteSelection): remove the last next and
3160         previous from this file.
3161
3162 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3163
3164         * CutAndPaste.C (pasteSelection): more clean up, user proper
3165         ParagraphList functions for pasteing.
3166
3167         * ParagraphList.C (insert): new function, three arg insert
3168
3169 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3170
3171         * ParagraphList.C (insert): new function, three arg insert
3172
3173         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
3174         not on paragraphs.
3175
3176 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3177
3178         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3179
3180 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3181
3182         * CutAndPaste.C (pasteSelection): remove some unneeded code.
3183
3184 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3185
3186         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3187         (copySelection): clean up a bit.
3188         (pasteSelection): use make_pair
3189
3190         * ParagraphList.C (ParagraphList): implement copy constructor
3191         (operator=): implement, base on copy constructor.
3192         (assign): new func
3193
3194         * paragraph.C (erase): return a bool
3195
3196         * paragraph_pimpl.C (erasePos): remove function, move contents...
3197         (erase): ... here. Return a bool.
3198         (erase): call erase instead of erasePos.
3199
3200 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
3201
3202         * ParagraphList.h: define PitPosPair
3203         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3204         ParagraphList, fix a bug on pasting multiple pars
3205         * text2.C: change interface to C&P
3206
3207 2003-04-30  André Pönitz  <poenitz@gmx.net>
3208
3209         * undo_func.C: revert part of yesterday's patch 2
3210
3211 2003-04-30  John Levon  <levon@movementarian.org>
3212
3213         * LColor.C: s/tabular/table/
3214
3215 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3216
3217         * text3.C (dispatch): do not convert iterator -> pointer
3218         * undo_funcs.C (setCursorParUndo): ditto
3219         * text_funcs.C (transposeChars): ditto
3220
3221         * text2.C (setLayout): ws changes only
3222
3223         * text.C (breakParagraph): do not convert iterator -> pointer
3224         (insertChar): ditto
3225         (acceptChange): ditto
3226         (rejectChange): ditto
3227         (changeCase): ditto
3228         (Delete): ditto
3229         (backspace): ditto
3230
3231         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3232         pointer
3233
3234 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3235
3236         * text3.C (gotoInset): YABG (yet another bad getChar)
3237
3238 2003-04-29  André Pönitz  <poenitz@gmx.net>
3239
3240         * paragraph.h: make operator= private unimplemented as long as
3241           it is unusable
3242
3243         * ParagraphList.C: whitespace
3244
3245         * paragraph.[Ch]:
3246         * paragraph_pimpl.[Ch]:
3247         * paragraph_funcs.C:
3248         * CutAndPaste.C:
3249         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
3250
3251         * text2.C:
3252           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3253
3254 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3255
3256         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3257         * paragraph.[Ch] (erase):
3258         * paragraph_pimpl.[Ch] (erase): change return type and value
3259         * text2.C (cutSelection): some rework
3260
3261 2003-04-28  John Levon  <levon@movementarian.org>
3262
3263         * bufferlist.C: changes for unsaved changes dialog
3264
3265 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3266
3267         * bufferlist.C (newFile): set language (messages_) for new
3268         documents also.
3269
3270         * buffer.C (readFile): ws changes only.
3271
3272 2003-04-28  André Pönitz  <poenitz@gmx.net>
3273
3274         * undo_funcs.C:
3275         * lyxfunc.C:
3276         * buffer.[Ch]:
3277         * BufferView_pimpl.C:
3278         * BufferView.C: getParFromID related ParagraphList::iterator changes
3279
3280 2003-04-28  André Pönitz  <poenitz@gmx.net>
3281
3282         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3283           Changes
3284
3285 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3286
3287         * messages.C: remove one more localedir class variable.
3288
3289 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3290
3291         * messages.C (getLocaleDir): singleton generation function
3292         (Pimpl): use it.
3293         (Messages): add a default constructor.
3294
3295         * main.C (main): do not setup localedir here, do not call
3296         gettext_init.
3297
3298         * gettext.C (_): use it.
3299         (gettext_init): delete funciton
3300
3301 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3302
3303         * gettext.C (getLyXMessages): new singleton generating function.
3304
3305         * buffer.C (updateDocLang): adjust
3306
3307         * Makefile.am (messages.o): add target
3308         (main.o): remove target
3309
3310 2003-04-27  John Levon  <levon@movementarian.org>
3311
3312         * bufferlist.C:
3313         * lyx_cb.C:
3314         * lyxfunc.C:
3315         * lyxvc.C: specify cancel button in Alert::prompt
3316
3317 2003-04-26  John Levon  <levon@movementarian.org>
3318
3319         * text3.C:
3320         * lyxfunc.C:
3321         * lfuns.h:
3322         * LyXAction.C: add LFUN_INSET_SETTINGS
3323
3324         * lyxfunc.C: don't enable tabular-feature when there's
3325         just any locking inset
3326
3327 2003-04-26  John Levon  <levon@movementarian.org>
3328
3329         * bufferlist.C: re-add Cancel to buffer close question
3330
3331         * lyxfunc.C: fix import UI a bit
3332
3333 2003-04-25  John Levon  <levon@movementarian.org>
3334
3335         * gettext.C: remove the broken asserts for now
3336
3337 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3338
3339         * messages.C: make case where setlocale cannot comply work better.
3340
3341         * buffer.C (updateDocLang): new function
3342         (changeLanguage): use it
3343         (readFile): use it
3344
3345         * text2.C (setCounter): use B_ a bit.
3346
3347         * lyxlayout.C (Read): be sure to trim the label strings.
3348
3349         * messages.C (Messages): fix typo in comment
3350
3351         * buffer.C (readFile): set message_ after file is loaded.
3352         (makeDocBookFile): remove double return
3353         (changeLanguage): reset message_ upon language change.
3354         (B_): new func, use this to get translated buffer strings.
3355
3356         * main.C: add myself and Jean Marc as authors.
3357
3358 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3359
3360         * messages.[hC]: pimplify Messages, and three different pimpls to be
3361         used in different circumstances.
3362
3363         * gettext.[Ch]: change for use with new message code.
3364
3365 2003-04-24 André Pönitz <poenitz@gmx.net>
3366
3367         * factory.C: support for eqref
3368
3369 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3370
3371         * messages.[Ch]: add missing char
3372
3373         * Makefile.am (lyx_SOURCES): add messages.[Ch]
3374
3375         * messages.[Ch]: New files
3376
3377 2003-04-18  John Levon  <levon@movementarian.org>
3378
3379         * BufferView.h:
3380         * BufferView.C:
3381         * BufferView_pimpl.C:
3382         * lfuns.h:
3383         * LyXAction.C:
3384         * lyxtext.h:
3385         * text2.C: remove layout-copy/paste (bug 778)
3386
3387 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3388
3389         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
3390
3391 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3392
3393         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
3394         if they succeed. Act accordingly.
3395
3396 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3397
3398         * text2.C (setCharFont): adjust
3399         (setCounter): adjust
3400         (insertStringAsLines): adjust
3401
3402         * text.C (leftMargin): adjust
3403         (setHeightOfRow): adjust
3404
3405         * rowpainter.C (paintFirst): adjust
3406         (paintLast): adjust
3407
3408         * paragraph_funcs.C (depthHook): ParagraphList::iterators
3409         (outerHook): ditto
3410         (isFirstInSequence): ditto
3411         (getEndLabel): ditto
3412         (outerFont): adjust
3413
3414         * paragraph.C (getParLanguage): comment out some hard stuff.
3415
3416         * buffer.C (insertStringAsLines): take a ParagraphList as arg
3417         (sgmlError): ditto
3418         (simpleDocBookOnePar): ditto
3419         (makeDocBookFile): use ParagraphList::iterator
3420
3421         * CutAndPaste.C (pasteSelection): adjust
3422
3423 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3424
3425         * text2.C (getFont): adjust
3426         (getLayoutFont): adjust
3427         (getLabelFont): adjust
3428
3429         * paragraph_funcs.C (TeXOnePar): adjust
3430
3431         * buffer.C (simpleLinuxDocOnePar): adjust
3432         (simpleDocBookOnePar): adjust
3433
3434         * CutAndPaste.C (pasteSelection): adjust
3435
3436         * BufferView.C (getEncoding): adjust
3437
3438         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
3439
3440 2003-04-16  John Levon  <levon@movementarian.org>
3441
3442         * lyxfind.C: use parlist stuff for search/changes
3443
3444 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3445
3446         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
3447
3448         * text2.C (deleteEmptyParagraphMechanism): adjust
3449
3450         * text2.[Ch] (ownerParagraph): delete func (both of them
3451
3452 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3453
3454         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
3455
3456 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3457
3458         * ParagraphList.C: prepare for NO_NEXT
3459
3460 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3461
3462         * text2.C (getFont): adjust
3463         (getLayoutFont): adjust
3464         (getLabelFont): adjust
3465
3466         * paragraph.C (getFont): adjust
3467         (getLabelFont): adjust
3468         (getLayoutFont): adjust
3469
3470         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
3471
3472 2003-04-15  John Levon  <levon@movementarian.org>
3473
3474         From Angus Leeming
3475
3476         * lyx_main.C: handle Include in .ui files
3477
3478 2003-04-15  John Levon  <levon@movementarian.org>
3479
3480         * MenuBackend.C: make the doc files length shorter
3481
3482         * ToolbarBackend.h:
3483         * ToolbarBackend.C: handle toolbar placement flags,
3484         Minibuffer
3485
3486 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3487
3488         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
3489         adjust
3490
3491         * paragraph_funcs.C (TeXOnePar): adjust
3492
3493         * paragraph.C (getLabelFont): add outerfont arg, adjust
3494         (getLayoutFont): ditto
3495         (simpleTeXOnePar): adjust
3496
3497         * paragraph_pimpl.C (realizeFont): delete func
3498
3499 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
3500
3501         * text2.C (beforeFullRowInset): added a bad getchar check, removed
3502         row argument, constify cur argument.
3503
3504 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3505
3506         * text2.C (getFont): adjust
3507         (getLayoutFont): adjust
3508         (getLabelFont): adjust
3509
3510         * paragraph_funcs.C (TeXOnePar): adjust
3511         (outerFont): new func...
3512         (realizeFont): ...moved out from here, changed this to facilitate
3513         transition
3514
3515         * paragraph.C (getFont): take outerfont as arg, adjust
3516         (simpleTeXOnePar): add outerfont arg, adjust
3517
3518         * buffer.C (simpleLinuxDocOnePar): adjust
3519         (simpleDocBookOnePar): adjust
3520
3521         * CutAndPaste.C (pasteSelection): adjust
3522
3523         * BufferView.C (getEncoding): adjust
3524
3525 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3526
3527         * text2.C (setCharFont): adjust
3528         (setCounter): adjust
3529
3530         * text.C (leftMargin): adjust
3531         (setHeightOfRow): adjust
3532
3533         * rowpainter.C (paintFirst): adjust
3534         (paintLast): adjust
3535
3536         * paragraph_pimpl.C (realizeFont): adjust
3537
3538         * paragraph.C (isFirstInSequence): move from here...
3539         * paragraph_funcs.C (isFirstInSequence): ...to here
3540
3541         * paragraph.C (outerHook): move from here...
3542         * paragraph_funcs.C (outerHook): ...to here
3543
3544         * paragraph.C (depthHook): move from here...
3545         * paragraph_funcs.C (depthHook): ...to here
3546
3547         * paragraph.C (getEndLabel): move from here...
3548         * paragraph_funcs.C (getEndLabel): ...to here
3549
3550         * text2.C (realizeFont): move from here...
3551         * paragraph_funcs.C (realizeFont): ...to here
3552
3553 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3554
3555         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
3556
3557 2003-04-14  Angus Leeming  <leeming@lyx.org>
3558
3559         * LColor.[Ch]: scrap LColor mathcursor.
3560
3561 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3562
3563         * lyxlex.[Ch] (text): delete function
3564         * trans.C (Load): adjust
3565         * paragraph_funcs.C (readParToken): adjust
3566
3567 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3568
3569         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
3570         vector<char> instead of a char[].
3571
3572         * lyxlex_pimpl.C (getString): adjust
3573         (next): adjust
3574         (lex): use getString
3575         (eatLine): adjust
3576         (nextToken): adjust
3577
3578         * lyxlex.C (text): use pimpl_->getString()
3579         (getBool): ditto
3580         (findToken): ditto
3581
3582 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3583
3584         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
3585         (makeFontEntriesLayoutSpecific): temp var for par.size()
3586         (setLayout): temp var for ownerParagraphs().end()
3587         (fullRebreak): temp var for rows().end()
3588         (selectionAsString): temp var for boost::next(startpit), realize
3589         that the while really is a regular for loop.
3590         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
3591         setCursor in one place.
3592         (setParagraph): temp vr for ownerParagraphs().end()
3593         (updateCounters): make the while loop a for loop
3594         (cutSelection): temp var for ownerParagraphs().end()
3595         (updateInset): make the do {} while() a regular for loop
3596         (getCursorX): use temp vars
3597         (setCurrentFont): use temp vars
3598         (getColumnNearX): use temp vars
3599
3600 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3601
3602         * text.C (transformChar): use temp var for getChar
3603         (computeBidiTables): use temp var for row->par()
3604         (fill): move temp vars for row->par() and pit->layout() earlier in
3605         the function.
3606         (labelFill): use temp var for row->par()
3607         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
3608         asc and desc, realize that pit never changes and that firstpit is
3609         just a duplicate and not needed. Exchange rit->par() with pit in a
3610         lot of places.
3611         (breakAgain): use a temp var for boost::next(rit)
3612         (breakAgainOneRow): ditto
3613         (breakParagraph): use a temp var for rows().begin()
3614         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
3615         (cursorRightOneWord): use temp var for cursor.par() and
3616         cursor.pos(), remove usage of tmpcursor.
3617         (cursorLeftOneWord): use temp var for cursor.par() and
3618         cursor.pos() only set cur at end of function.
3619
3620 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3621
3622         * text.C, text2.C: exchange all usage of Paragraph::next with
3623         boost::next(ParagraphList::iterator)
3624
3625         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
3626
3627         * text2.C (cursorTop): simplify implementation
3628         (cursorBottom): ditto
3629         (setParagraph): use ParagraphList::iterator
3630         (setCurrentFont): adjust
3631         (getColumnNearX): adjust
3632         (cursorRight): adjust
3633         (cursorLeft): remove usage of Paragraph::previous
3634         (cursorUpParagraph): ditto
3635         (deleteEmptyParagraphMechanism): slight cleanup
3636
3637         * text.C (isBoundary): take a Paragraph const & instead of a
3638         pointer as arg.
3639         (addressBreakPoint): ditto
3640         (leftMargin): remove usage of Paragraph::previous.
3641         (setHeightOfRow): ditto
3642         (cursorLeftOneWord): ditto
3643         (selectNextWordToSpellcheck): ditto
3644         (Delete): ditto
3645         (backspace): ditto
3646         (breakParagraph): remove one usage of Paragraph::next
3647         (redoParagraph): ditto
3648         (acceptChange): ditto
3649         (insertChar): adjust
3650         (rowBreakPoint): adjust
3651
3652         * bufferview_funcs.C (toggleAndShow): adjust
3653
3654 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
3655
3656         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
3657         methods to access it.
3658         * lyxtext.h:
3659         * text.C: Added updateRowPositions to compute all row positions.
3660         Make top_y and getRowNearY() to use the cached y position
3661
3662 2003-04-11  John Levon  <levon@movementarian.org>
3663
3664         * text.C (rowBreakPoint): reintroduce the labelEnd
3665         checks, code copied from the row fill stuff. Deep voodoo.
3666
3667         * text.C (fill): add a comment and debugging for the
3668         next poor soul.
3669
3670 2003-04-11  John Levon  <levon@movementarian.org>
3671
3672         * text.C: make sure fullrow insets get wrapped to the next line,
3673         even when they're in a manual label
3674
3675 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
3676
3677         * text2.C (insertParagraph): make it take ParagraphList::iterator
3678         as arg.
3679         (setLayout): make it return ParagraphList::iterator
3680         (redoParagraphs): ditto
3681         (setCounter): ditto
3682         (checkParagraph): ditto
3683
3684         * text.C (getRow): make getrow take ParagraphList::iterator as arg
3685
3686         * text2.C: adjust several funcs.
3687         (realizeFont): take a ParagraphList::iterator as arg.
3688         (getLayoutFont): ditto
3689         (getLabelFont): ditto
3690         (setCharFont): ditto
3691
3692         * text.C: adjust several funcs.
3693
3694 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
3695
3696         * text.C (selectNextWordToSpellcheck): don't accidentally
3697         skip insets
3698
3699 2003-04-10  John Levon  <levon@movementarian.org>
3700
3701         * ToolbarBackend.C (getIcon): special handling for
3702         LFUN_MATH_DELIM
3703
3704 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
3705
3706         * text2.C (cursorRight): a getChar assert fixed
3707
3708 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3709
3710         * text2.C (getFont): change to take a ParagraphList::iterator
3711         instead of Paragraph*
3712         Adjust several functions.
3713
3714         * text.C (transformChar): change to take a ParagraphList::iterator
3715         instead of Paragraph*
3716         (singleWidth): ditto
3717         Adjust several functions.
3718
3719         * rowpainter.C: adjust several functions
3720         * rowpainter.h:store a ParagraphList::iterator and not a
3721         Paragraph&.
3722
3723
3724 2003-04-09  John Levon  <levon@movementarian.org>
3725
3726         * lyxfunc.C:
3727         * lfuns.h:
3728         * LyXAction.h:
3729         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
3730         and the "help" bits as well
3731
3732 2003-04-09  John Levon  <levon@movementarian.org>
3733
3734         * ToolbarBackend.h:
3735         * ToolbarBackend.C: allow multiple toolbars
3736
3737 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3738
3739         * undo_funcs.C (setCursorParUndo): adjust
3740
3741         * text_funcs.C (transposeChars): adjust
3742
3743         * text3.C (gotoNextInset): adjust
3744         (dispatch): adjust
3745
3746         * text2.C (setLayout): adjust
3747         (changeDepth): adjust
3748         (setFont): adjust
3749         (redoParagraphs): adjust
3750         (selectionAsString): adjust
3751         (setParagraph): adjust
3752         (insertInset): adjust
3753         (cutSelection): adjust
3754         (copySelection): adjust
3755         (pasteSelection): adjust
3756         (insertStringAsLines): adjust
3757         (updateInset): adjust
3758         (setCursor): change to take a ParagraphList::iterator parameter
3759         (setCursorIntern): change to take a ParagraphList::iterator parameter
3760         (setCurrentFont): adjust
3761         (cursorLeft): adjust
3762         (cursorRight): adjust
3763         (deleteEmptyParagraphMechanism): adjust
3764
3765         * text.C (breakParagraph): adjust
3766         (insertChar): adjust
3767         (acceptChange): adjust
3768         (rejectChange): adjust
3769         (selectNextWordToSpellcheck): adjust
3770         (changeCase): adjust
3771         (Delete): adjust
3772         (backspace): adjust
3773
3774         * lyxfind.C (SearchForward): adjust
3775         (SearchBackward): adjust
3776         (nextChange): adjust
3777
3778         * lyxcursor.C (par): adjust
3779
3780         * lyxcursor.h: store a ParagraphList::iterator instead of a
3781         Paragraph*
3782
3783         * lyx_cb.C (getPossibleLabel): adjust
3784
3785         * bufferview_funcs.C (toggleAndShow): adjust
3786
3787         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3788         (dispatch): adjust
3789
3790         * BufferView.C (removeAutoInsets): adjust
3791         (lockedInsetStoreUndo): adjust
3792
3793 2003-04-09  John Levon  <levon@movementarian.org>
3794
3795         * ToolbarBackend.C: try icon without argument
3796         if with argument fails
3797
3798 2003-04-08  John Levon  <levon@movementarian.org>
3799
3800         * ToolbarBackend.h:
3801         * ToolbarBackend.C: add getIcon(), handle tooltip,
3802         and change from "Icon" to "Item".
3803
3804 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
3805
3806         * BufferView.C (lockInset): another bad getchar crunched
3807
3808 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
3809
3810         * text2.C (changeDepth): do not setUndo on test_only (make undo work
3811         again)
3812
3813 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
3814
3815         * lyxfind.C (searchForward, searchBackwards): bug 782
3816
3817 2003-04-07  John Levon  <levon@movementarian.org>
3818
3819         * paragraph.C: remove dead comment
3820
3821         * text.C: remove troublesome depth-fiddling code
3822         in leftMargin() and rightMargin() (bug 1017)
3823
3824         * text.C: fix breaking of rows in nested lists
3825         (bug 1004)
3826
3827         * text2.C (updateCounters): fix up depth values
3828         (bug 1013)
3829
3830 2003-04-07  John Levon  <levon@movementarian.org>
3831
3832         * BufferView_pimpl.C: clear message when doc finishes resizing,
3833         and after a mouse event
3834
3835         * lyxfunc.C: clear message after exiting inset
3836
3837 2003-04-07  John Levon  <levon@movementarian.org>
3838
3839         * bufferview_funcs.C: show math status not outside
3840         status in the statusbar
3841
3842 2003-04-07  John Levon  <levon@movementarian.org>
3843
3844         * lyxfunc.C: note status changed after a depth change
3845
3846 2003-04-04  Angus Leeming  <leeming@lyx.org>
3847
3848         * LaTeX.h: move AuxInfo operator==, != out of line.
3849         Remove LaTeX virtual destructor; nothing derives from it.
3850         Move operator()() out of public area and rename it startscript().
3851         Change protected for private.
3852
3853 2003-04-04  Angus Leeming  <leeming@lyx.org>
3854
3855         * lyxfunc.C:
3856         * text2.C: remove unneeded #includes.
3857
3858 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
3859
3860         * text2.C (dEPM): fix the heigth of the next row
3861
3862 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
3863
3864         * text.C: squashed an invalid getChar requester + some ws changes
3865
3866 2003-04-03  John Levon  <levon@movementarian.org>
3867
3868         * bufferview_funcs.h:
3869         * bufferview_funcs.C:
3870         * lyxfunc.C:
3871         * lyxtext.h:
3872         * text2.C: make getStatus work for the env depth lfuns
3873
3874 2003-04-03  John Levon  <levon@movementarian.org>
3875
3876         * bufferview_funcs.h:
3877         * bufferview_funcs.C:
3878         * lyxfunc.C:
3879         * lyxtext.h:
3880         * text2.C: parlistize decDepth(), by merging it with incDepth()
3881
3882 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3883
3884         * lyxrow.h: store a ParagraphList::iterator instead of a
3885         Paragraph* and adjust other class functions to suit.
3886
3887         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
3888         above.
3889
3890 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
3891
3892         * text2.C (setCursor): do not anchor to cursor row for the time being
3893
3894 2003-04-02  John Levon  <levon@movementarian.org>
3895
3896         * LyXAction.C:
3897         * lfuns.h:
3898         * lyx_main.C:
3899         * lyxtext.h:
3900         * text.C:
3901         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
3902
3903 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3904
3905         * paragraph.h: make ParagraphList and ParagraphList::iterator
3906         friends of Paragraph.
3907
3908         * buffer.C (makeLinuxDocFile): move towards ParagraphList
3909
3910         * ParagraphList.C: Use the private next_ and previous_ from
3911         Paragraph.
3912
3913 2003-04-01  John Levon  <levon@movementarian.org>
3914
3915         * ToolbarBackend.h:
3916         * ToolbarBackend.C:
3917         * Makefile.am: rename, remove defaults gunk
3918
3919         * MenuBackend.h:
3920         * MenuBackend.C: remove defaults gunk
3921
3922         * Languages.h:
3923         * Languages.C: remove defaults gunk
3924
3925         * lyx_main.h:
3926         * lyx_main.C: error out if files couldn't be found.
3927
3928 2003-04-02  John Levon  <levon@movementarian.org>
3929
3930         * text2.C: make incDepth() use parlist
3931
3932 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3933
3934         * undo_funcs.C (firstUndoParagraph): adjust
3935
3936         * text3.C (gotoInset): adjust
3937         (dispatch): adjust, and rewrite loop.
3938
3939         * text2.C (init): adjust, and rewrite loop.
3940         (redoParagraphs): adjust
3941         (updateInset): adjust, and rewrite loop.
3942         (deleteEmptyParagraphMechanism): adjust
3943
3944         * tabular.C (LyXTabular): adjust
3945         (SetMultiColumn): adjust
3946         (TeXRow): adjust
3947
3948         * lyxtext.[Ch] (ownerParagraph): delete function
3949         (ownerParagraphs): new function returns a ParagraphList.
3950
3951         * BufferView.C (removeAutoInsets): adjust
3952         (insertErrors): adjust
3953         (setCursorFromRow): adjust
3954
3955 2003-04-01  Angus Leeming  <leeming@lyx.org>
3956
3957         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
3958         in the frontends.
3959
3960 2003-04-02  John Levon  <levon@movementarian.org>
3961
3962         * lyxtext.h:
3963         * text.C:
3964         * Makefile.am:
3965         * text_funcs.h:
3966         * text_funcs.C: make transposeChars a free function
3967
3968         * lyxrow_funcs.C: remove wrong comment
3969
3970 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3971
3972         * lyxtext.h: adjust
3973         * rowpainter.C: adjust
3974         * text.C: adjust
3975         * text2.C: adjust
3976         * text3.C: adjust
3977
3978         * lyxrow_funcs. [Ch]: new files
3979
3980         * lyxrow.[Ch]: remove next and previous pointers
3981         (next,previous): remove accessor functions
3982         (isParEnd): move to lyxrow_funcs
3983         (lastPos): move to lyxrow_funcs
3984         (nextRowIsAllInset): move to lyxrow_funcs
3985         (lastPrintablePos): move to lyxrow_funcs
3986         (numberOfSeparators): move to lyxrow_funcs
3987         (numberOfHfills): move to lyxrow_funcs
3988         (numberOfLabelHfills): move to lyxrow_funcs
3989         (hfillExpansion): move to lyxrow_funcs
3990
3991         * lyxfunc.C: adjust
3992
3993         * bufferview_funcs.C (toggleAndShow): adjust
3994
3995         * RowList.h: Remove class RowList from file leave just a
3996         std::list<Row>.
3997
3998         * RowList.C: delete file
3999
4000         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4001         and lyxrow_funcs.h
4002
4003 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4004
4005         * text3.C (cursorPrevious): adjust
4006         (cursorNext): adjust
4007         (dispatch): adjust
4008
4009         * text2.C (redoHeightOfParagraph): adjust
4010         (redoDrawingOfParagraph): adjust
4011         (setCursor): adjust
4012
4013         * text.C (breakParagraph): adjust
4014         (insertChar): adjust
4015         (backspace): adjust
4016
4017         * rowpainter.C (RowPainter): adjust
4018         (leftMargin): simplify and adjust
4019         (most rowpainter functions): adjust.
4020
4021         * rowpainter.h: store the row as RowList::iterator not as Row*
4022
4023         * lyxcursor.C (row): taka RowList::iterator as arg
4024         (irow): ditto
4025
4026         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4027         of Row*.
4028
4029 2003-04-01  Angus Leeming  <leeming@lyx.org>
4030
4031         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4032         stuff like bool Bool.
4033
4034 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4035
4036         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4037         rewrite a loop
4038
4039 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4040
4041         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4042         RowList::iterator.
4043
4044         * lyxtext.h (rows): drop one version and leve a const variant that
4045         returns a RowList::iterator.
4046
4047 2003-03-31  Angus Leeming  <leeming@lyx.org>
4048
4049         * text.C (fill): ensure that the signature is the same as that in the
4050         header file.
4051
4052 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
4053
4054         * text2.C (redoParagraphs): adjust
4055         (updateCounters): adjust
4056         (checkParagraph): adjust
4057         (getColumnNearX): adjust and reformat a bit.
4058
4059         * text.C (top_y): adjust
4060         (workWidth): adjust
4061         (leftMargin): adjust
4062         (prepareToPrint): adjust
4063         (getRow): adjust
4064         (getRowNearY): adjust
4065
4066         * lyxtext.h: make rowlist_ mutable.
4067
4068         * RowList.h: add const_iterator
4069         * RowList.C: adjust for RowList::const_iterator.
4070
4071         * text2.C (getCursorX): make it take a RowList::iterator as arg,
4072         adjust.
4073
4074 2003-03-31  John Levon  <levon@movementarian.org>
4075
4076         * lyxrc.h:
4077         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
4078
4079         * lyx_main.C: set default fonts from using lyx_gui funcs
4080
4081         * exporter.C: pdf_mode moved from lyxrc
4082
4083         * lyx_cb.C:
4084         * lyxfunc.C: changes from above
4085
4086 2003-03-31  John Levon  <levon@movementarian.org>
4087
4088         * lyx_main.C: fix to the last fix
4089
4090 2003-03-31  John Levon  <levon@movementarian.org>
4091
4092         * bufferlist.C: "Load original" -> "Load Original"
4093
4094         * converter.C:
4095         * exporter.C:
4096         * importer.C:
4097         * lyx_main.C:
4098         * format.C: more Alert cleanups
4099
4100 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4101
4102         * text2.C (removeParagraph): make it take a RowList::iterator as
4103         arg, adjust.
4104         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
4105         (postRowPaint): make it take a RowList::iterator as arg, adjust.
4106
4107         * text.C (anchor_row): make it take a RowList::iterator as arg,
4108         adjust.
4109         (computeBidiTables): make it take a const reference to Row instead
4110         of Row pointer, adjust.
4111         (leftMargin): make it take a RowList::iterator as arg, adjust.
4112         (rowBreakPoint): adjust
4113         (breakAgainOneRow): make it take a RowList::iterator as arg,
4114         adjust.
4115         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
4116
4117         * bufferview_funcs.C (toggleAndShow): adjust
4118
4119 2003-03-30  John Levon  <levon@movementarian.org>
4120
4121         * Makefile.am:
4122         * BoostFormat.h:
4123         * boost-inst.C: moved to support
4124
4125         * several files: changes as a result
4126
4127 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4128
4129         * text2.C (LyXText): adjust.
4130         (init): adjust
4131         (removeRow): make it take a RowList::iterator as arg, adjust.
4132         (fullRebreak): adjust
4133         (deleteEmptyParagraphMechanism): adjust
4134         (clearPaint): adjust
4135         (postPaint): adjust
4136
4137         * text.C (top_y): adjust
4138         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
4139         (breakAgain): make it take a RowList::iterator as arg, adjust.
4140         (breakParagraph): adjust
4141         (insertChar): adjust
4142         (backspace): adjust
4143
4144         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
4145         need_break_row, and refresh_row.
4146
4147         * text3.C (dispatch): adjust
4148
4149         * text2.C (checkParagraph): adjust
4150         (setCursor): adjust
4151         (setCursorFromCoordinates): adjust
4152
4153         * text.C (top_y): adjust
4154         (workWidth): adjust
4155         (getRow): make it return a RowList::iterator, adjust
4156         (getRowNearY): make it return a RowList::iterator, adjust
4157
4158         * text2.C (init): adjust
4159         (insertRow): remove function
4160         (insertParagraph): adjust
4161         (redoParagraphs): adjust
4162         (fullRebreak): adjust
4163         (updateCounters): adjust
4164
4165         * text.C (top_y): rewrite to use RowList iterators.
4166         (top_y): adjust
4167         (setHeightOfRow): rewrite to sue RowList iterators.
4168         (appendParagraph): adjust
4169         (breakAgain): adjust
4170         (breakAgainOneRow): adjust
4171         (breakParagraph): adjust
4172         (getRow): adjust
4173         (getRowNearY): adjust, and remove commented code.
4174
4175         * lyxtext.h (firstRow): delete function
4176         (lastRow): delete function
4177         (rows): new function (const and non-const versions.)
4178         (insertRow): delete function
4179
4180         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4181
4182 2003-03-29  John Levon  <levon@movementarian.org>
4183
4184         * BufferView_pimpl.C: always update scrollbar top
4185         because pasting text when we're anchored could mean we
4186         miss an update altogether
4187
4188 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4189
4190         * text2.C (init): use rowlist_.end() and not 0.
4191         (insertRow): change to take a RowList::iterator as arg, adjust
4192         for this.
4193         (insertParagraph): change to take a RowList::iterator as arg,
4194         adjust for this.
4195         (redoParagraphs): remove some debug msgs.
4196
4197         * text.C (appendParagraph): change to take a RowList::iterator
4198         arg, adjust for this.
4199         (breakAgain): add an assert
4200         (breakAgainOneRow): ditto
4201
4202 2003-03-29  John Levon  <levon@movementarian.org>
4203
4204         * text2.C: do not clear selection after inc/decDepth
4205         (bug 550)
4206
4207 2003-03-29  John Levon  <levon@movementarian.org>
4208
4209         * BufferView.C:
4210         * buffer.C: fix broken strerrors according to Lars
4211
4212 2003-03-29  John Levon  <levon@movementarian.org>
4213
4214         * converters.C: more Alert cleanups
4215
4216 2003-03-29  John Levon  <levon@movementarian.org>
4217
4218         * bufferview_funcs.C: remove pointless Alert
4219
4220         * buffer.C: fix confusing error message when
4221         a template is chmoded 000
4222
4223 2003-03-29  John Levon  <levon@movementarian.org>
4224
4225         * BufferView.C:
4226         * BufferView.h:
4227         * BufferView_pimpl.C: Alert fixes
4228
4229         * Makefile.am:
4230         * tabular.C:
4231         * tabular-old.C: remove unused table compat reading
4232
4233 2003-03-29  John Levon  <levon@movementarian.org>
4234
4235         * BufferView.C:
4236         * buffer.C:
4237         * lyx_cb.h:
4238         * lyx_cb.C: more Alert cleanups
4239
4240         * lyxfunc.C: don't allow chktex if not latex document
4241
4242 2003-03-29  John Levon  <levon@movementarian.org>
4243
4244         * lyx_cb.C:
4245         * BufferView.C:
4246         * buffer.C: warnings pushed down from support/,
4247         kill err_alert
4248
4249 2003-03-29  John Levon  <levon@movementarian.org>
4250
4251         * lyxfunc.C: safety check for C-r (revert)
4252
4253 2003-03-29  John Levon  <levon@movementarian.org>
4254
4255         * bufferlist.h:
4256         * bufferlist.C: several UI fixes using Alert::prompt.
4257         Fix the pointless looping quit code. Fix stupid revert
4258         behaviour (bug 938)
4259
4260         * lyxvc.h:
4261         * lyxvc.C:
4262         * lyx_cb.C: use Alert::prompt
4263
4264         * lyx_main.C: remove a silly question
4265
4266         * lyxfunc.C: remove a couple of silly questions,
4267         use Alert::prompt
4268
4269 2003-03-28  John Levon  <levon@movementarian.org>
4270
4271         * text2.C: fix bug 974 (End on empty par)
4272
4273 2003-03-28  John Levon  <levon@movementarian.org>
4274
4275         * BufferView_pimpl.C:
4276         * LyXAction.C:
4277         * lfuns.h: remove do-nothing math greek lfuns
4278
4279 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4280
4281         * lyxgluelength.h (isValidGlueLength): add default arg on
4282         parameter 2. Remove default arg from friend in class.
4283
4284         * lyxlength.h (isValidLength): add default arg on parameter 2.
4285         Remove default arg from friend in class.
4286
4287         * text2.C (LyXText): adjust, initialize refresh_row.
4288         (init): adjust
4289         (removeRow): adjust
4290         (insertRow): adjust
4291         (insertParagraph): adjst
4292         (redoParagraphs): adjust
4293         (fullRebreak): adjust
4294         (updateCounters): adjust
4295         (deleteEmptyParagraphMechanism): first attempt at fixing a
4296         crashing bug.
4297
4298         * text.C (top_y): adjust
4299         (setHeightOfRow): adjust
4300         (getRow): adjust
4301         (getRowNearY): adjust
4302
4303         * lyxtext.h: include RowList.h
4304         (~LyXText): not needed anymore, deleted.
4305         (firstRow): modify for RowList
4306         (lastRow): new function
4307         Delete firstrow and lastrow class variables, add a Rowlist
4308         rowlist_ class variable.
4309
4310         * lyxrow.C (lastPos): use empty() and not !size() to check if a
4311         paragraph is empty.
4312
4313         * RowList.C (insert): fix case where it == begin().
4314
4315 2003-03-26  Angus Leeming  <leeming@lyx.org>
4316
4317         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4318         the thesaurus dialog.
4319
4320 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4321
4322         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4323
4324         * RowList.[Ch]: new files
4325
4326         * ParagraphList.C (erase): handle the case where it == begin
4327         correctly.
4328
4329 2003-03-25  John Levon  <levon@movementarian.org>
4330
4331         * Makefile.am:
4332         * aspell_local.h:
4333         * aspell.C: add new aspell support
4334
4335         * lyxrc.h:
4336         * lyxrc.C: Make use_pspell be use_spell_lib. Always
4337         have it accessible.
4338
4339 2003-03-25  Angus Leeming  <leeming@lyx.org>
4340
4341         * lfuns.h:
4342         * LyXAction.C (init): new LFUN_INSET_INSERT.
4343
4344         * BufferView_pimpl.C (dispatch): split out part of the
4345         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
4346
4347         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
4348         LFUN_INSET_APPLY.
4349
4350 2003-03-25  Angus Leeming  <leeming@lyx.org>
4351
4352         * lyxfunc.C (dispatch): changes to the Dialogs interface.
4353
4354 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
4355
4356         * text2.C:
4357         * text3.C: remove useless row->height(0)
4358
4359 2003-03-25  John Levon  <levon@movementarian.org>
4360
4361         * lyxtext.h:
4362         * text2.C:
4363         * text3.C: rename the refreshing stuff to better names
4364
4365 2003-03-24  John Levon  <levon@movementarian.org>
4366
4367         * BufferView_pimpl.h:
4368         * BufferView_pimpl.C: update layout choice on a mouse
4369         press/release
4370
4371 2003-03-23  John Levon  <levon@movementarian.org>
4372
4373         * Makefile.am: fix commandtags.h reference
4374
4375 2003-03-22  John Levon  <levon@movementarian.org>
4376
4377         * BufferView_pimpl.C:
4378         * lyxtext.h:
4379         * rowpainter.C:
4380         * rowpainter.h:
4381         * text.C:
4382         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
4383
4384 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
4385
4386         * lyxtext.h:
4387         * text.C: take the rtl methods out of line
4388
4389 2003-03-21 André Pönitz <poenitz@gmx.net>
4390
4391         * metricsinfo.[Ch]: new files containing structures to be passed around
4392         during the two-phase-drawing...
4393
4394 2003-03-21 André Pönitz <poenitz@gmx.net>
4395
4396         * lyxtextclass.C: read 'environment' tag.
4397
4398 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
4399
4400         * text2.C (removeRow): fix bug 964
4401
4402 2003-03-20  John Levon  <levon@movementarian.org>
4403
4404         * rowpainter.C:
4405         * text.C:
4406         * text2.C: paint cleanups. Inset::update() dropped font
4407         parameter
4408
4409 2003-03-19  John Levon  <levon@movementarian.org>
4410
4411         * lyxfunc.C: only fitcursor/markDirty if available()
4412
4413 2003-03-19  John Levon  <levon@movementarian.org>
4414
4415         * commandtags.h: rename to ...
4416
4417         * lfuns.h: ... this, and renumber / cleanup
4418
4419 2003-03-19  John Levon  <levon@movementarian.org>
4420
4421         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
4422         fit the cursor after an lfun
4423
4424         * BufferView.h:
4425         * BufferView.C:
4426         * BufferView_pimpl.h:
4427         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
4428
4429         * LyXAction.C: layout-character should have ReadOnly
4430
4431         * ParagraphParameters.C:
4432         * buffer.C:
4433         * bufferview_funcs.C:
4434         * lyx_cb.C:
4435         * lyxfind.C:
4436         * lyxtext.h:
4437         * text.C:
4438         * text2.C:
4439         * text3.C:
4440         * undo_funcs.C: changes from above
4441
4442 2003-03-18  John Levon  <levon@movementarian.org>
4443
4444         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
4445         remove it from update()
4446
4447         * lyxfunc.C: update layout choice after an lfun
4448
4449         * text3.C: remove extra updateLayoutChoice()s
4450
4451 2003-03-18  John Levon  <levon@movementarian.org>
4452
4453         * text.C: top_y change means full repaint, fix
4454         a drawing bug with cursor movement
4455
4456 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4457
4458         * lyxtext.h:
4459         * text.C:
4460         * text2.C: anchor row on setCursor
4461
4462 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4463
4464         * lyxtext.h: remove almost all mutable keywords
4465         * text.C:
4466         * text2.C:
4467         * text3.C: remove const keywords accordingly
4468
4469 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4470
4471         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
4472         anon namespace
4473         (TeXEnvironment): ditto
4474         (TeXOnePar): ditto
4475
4476 2003-03-17  John Levon  <levon@movementarian.org>
4477
4478         * text.C (rowBreakPoint): remove attempt to fix displayed
4479         math insets inside a manual label
4480
4481 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4482
4483         * lyxtext.h: remove BufferView* as first arg from almost all class
4484         functions.
4485         * other files: adjust.
4486
4487 2003-03-17  John Levon  <levon@movementarian.org>
4488
4489         * lyxtext.h:
4490         * undo_funcs.C:
4491         * text2.C: more paint cleanups
4492
4493         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
4494
4495         * rowpainter.h:
4496         * rowpainter.C: remove "smart" background painting code
4497
4498 2003-03-16  John Levon  <levon@movementarian.org>
4499
4500         * lyxtext.h:
4501         * text.C:
4502         * text2.C:
4503         * text3.C: add helper functions for setting refresh_row/y
4504
4505 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
4506
4507         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
4508         newline inset which *can* get inserted in the pass_thru layouts.
4509         This is primarily for literate documents.
4510
4511 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
4512
4513         * buffer.C: increment LYX_FORMAT to 223
4514
4515 2003-03-14 André Pönitz <poenitz@gmx.net>
4516
4517         * textclass.h: prepare for environment handling, ws changes
4518         * lyxlayout.C: read latexheader and latexfooter tags
4519
4520 2003-03-14  John Levon  <levon@movementarian.org>
4521
4522         * text2.C: rewrite ::status() a bit
4523
4524 2003-03-13  John Levon  <levon@movementarian.org>
4525
4526         * lyxtext.h: add some docs
4527
4528 2003-03-13  John Levon  <levon@movementarian.org>
4529
4530         * lyxtext.h:
4531         * text.C:
4532         * text2.C:
4533         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
4534
4535 2003-03-13  John Levon  <levon@movementarian.org>
4536
4537         * text3.C: fix appendix redrawing
4538
4539 2003-03-13  John Levon  <levon@movementarian.org>
4540
4541         * text.C (setHeightOfRow):
4542         * rowpainter.h:
4543         * rowpainter.C: make appendix mark have the text
4544           "Appendix" so the user knows what it is
4545
4546         * LColor.h:
4547         * LColor.C: s/appendixline/appendix/ from above
4548
4549 2003-03-13  John Levon  <levon@movementarian.org>
4550
4551         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
4552
4553         * text.C: fix a getChar(pos) bug properly
4554
4555 2003-03-13  Angus Leeming  <leeming@lyx.org>
4556
4557         * commandtags.h:
4558         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
4559         Probably only temporary. Let's see how things pan out.
4560
4561         * BufferView.C (unlockInset):
4562         * BufferView_pimpl.C (fitCursor):
4563         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
4564
4565         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
4566         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
4567
4568         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
4569         new functions that convert ParagraphParameters to and from a string.
4570
4571         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
4572         BufferView::Pimpl's dispatch.
4573         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
4574
4575 2003-03-13 André Pönitz <poenitz@gmx.net>
4576
4577         * lyxfunc.C:
4578         * text3.C:
4579         * factory.C: make it aware of InsetEnv
4580
4581 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4582
4583         * text2.C (setCursor): never ask for one past last
4584         (setCursor): add some debugging messages.
4585
4586         * text.C (singleWidth): never ask for one past last
4587         (singleWidth): ditto
4588         (leftMargin): ditto
4589         (rightMargin): ditto
4590         (rowBreakPoint): ditto
4591         (setHeightOfRow): ditto
4592         (prepareToPrint): ditto
4593
4594         * rowpainter.C (paintBackground): never ask for one past last
4595         (paintText): never ask for one past last
4596
4597         * paragraph_pimpl.C (getChar): make the assert stricter, never
4598         allow the one past last pos to be taken
4599
4600         * paragraph.C (getChar): ws changes only
4601
4602         * lyxrow.C (nextRowIsAllInset): never ask for one past last
4603         (numberOfSeparators): ditto
4604         (numberOfHfills): ditto
4605
4606 2003-03-12  John Levon  <levon@movementarian.org>
4607
4608         * author.h:
4609         * author.C:
4610         * bufferparams.h:
4611         * bufferparams.C:
4612         * paragraph_funcs.C: fix per-buffer authorlists
4613
4614 2003-03-12  John Levon  <levon@movementarian.org>
4615
4616         * text.C: fix newline in right address
4617
4618 2003-03-12  Angus Leeming  <leeming@lyx.org>
4619
4620         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
4621         duplicate those in LyXFunc::dispatch.
4622
4623         * commandtags.h:
4624         * LyXAction.C:
4625         * ToolbarDefaults.C:
4626         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
4627         Add LFUN_FONTFREE_UPDATE.
4628
4629         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
4630         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
4631
4632         * bufferview_func.[Ch]: several new functions to facilliate
4633         transfer of data to and from the character dialog.
4634
4635 2003-03-12  John Levon  <levon@movementarian.org>
4636
4637         * buffer.C:
4638         * paragraph.h:
4639         * paragraph.C:
4640         * paragraph_funcs.C:
4641         * paragraph_pimpl.C:
4642         * sgml.C:
4643         * tabular.C:
4644         * text.C:
4645         * text3.C: remove META_NEWLINE in favour of an inset
4646
4647         * rowpainter.h:
4648         * rowpainter.C: remove paintNewline (done by inset)
4649
4650 2003-03-12  John Levon  <levon@movementarian.org>
4651
4652         * paragraph_pimpl.C: complain about bad getChar()s
4653         for a while at least
4654
4655 2003-03-12  John Levon  <levon@movementarian.org>
4656
4657         * buffer.h:
4658         * buffer.C: move paragraph read into a separate function,
4659         a little renaming to reflect that.
4660
4661         * bufferparams.h:
4662         * bufferparams.C: remove the author_ids map, not necessary now
4663
4664         * factory.h:
4665         * factory.C: moved Buffer::readInset to here
4666
4667         * paragraph_funcs.h:
4668         * paragraph_funcs.C: readParagraph free function moved from
4669         buffer.C
4670
4671         * tabular.C: name change
4672
4673 2003-03-12  John Levon  <levon@movementarian.org>
4674
4675         * buffer.C:
4676         * ParagraphParameters.C: move par params input to
4677         a read() method
4678
4679         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
4680         behave like a normal read from the stream wrt reading
4681         a line vs. a \\token
4682
4683 2003-03-12  John Levon  <levon@movementarian.org>
4684
4685         * paragraph.C:
4686         * ParagraphParameters.h:
4687         * ParagraphParameters.C: move output code to a
4688         ::write() method
4689
4690 2003-03-12  John Levon  <levon@movementarian.org>
4691
4692         * BufferView.C (insertLyXFile):
4693         * buffer.h:
4694         * buffer.C:
4695         * tabular.C: use a parlist iterator for creating the
4696           document.
4697
4698 2003-03-12  John Levon  <levon@movementarian.org>
4699
4700         * buffer.C: make current_change static local not
4701           static file-scope
4702
4703 2003-03-12  John Levon  <levon@movementarian.org>
4704
4705         * buffer.C: fix insertStringAsLines for change tracking
4706
4707 2003-03-12  John Levon  <levon@movementarian.org>
4708
4709         * BufferView.C:
4710         * tabular.C:
4711         * buffer.h:
4712         * buffer.C:
4713         * bufferparams.h:
4714         * bufferparams.C: move author list into params. Rename some
4715           functions. Move the header reading into a separate token
4716           loop. Move the header token reading into BufferParams.
4717
4718 2003-03-12  John Levon  <levon@movementarian.org>
4719
4720         * changes.C: put debug inside lyxerr.debugging() checks
4721
4722 2003-03-11 André Pönitz <poenitz@gmx.net>
4723
4724         * factory.C: make it aware of InsetHFill
4725
4726 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4727
4728         * buffer.C (latexParagraphs): move function from here...
4729         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
4730         args.
4731
4732 2003-03-10  Angus Leeming  <leeming@lyx.org>
4733
4734         * LyXAction.C (init): fix bug in poplating array with multiple entries
4735         with the same LFUN (spotted by JMarc).
4736
4737 2003-03-10  John Levon  <levon@movementarian.org>
4738
4739         * text.C:
4740         * text2.C: move getColumnNearX() near its
4741         only call site
4742
4743 2003-03-10  John Levon  <levon@movementarian.org>
4744
4745         * text.C: fix break before a minipage
4746
4747 2003-03-10  John Levon  <levon@movementarian.org>
4748
4749         * text.C: fix the last commit
4750
4751 2003-03-09  John Levon  <levon@movementarian.org>
4752
4753         * lyxtext.h:
4754         * text.C:
4755         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
4756         bug 365 (don't break before insets unless needed). Don't
4757         return a value > last under any circumstances.
4758
4759 2003-03-09  Angus Leeming  <leeming@lyx.org>
4760
4761         * BufferView_pimpl.C (trackChanges, dispatch): call
4762         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
4763
4764 2003-03-09  Angus Leeming  <leeming@lyx.org>
4765
4766         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
4767         than Dialogs::showAboutlyx().
4768
4769 2003-03-09  Angus Leeming  <leeming@lyx.org>
4770
4771         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
4772         than Dialogs::showTabularCreate().
4773
4774 2003-03-09  John Levon  <levon@movementarian.org>
4775
4776         * lyxtext.h:
4777         * text.C:
4778         * text2.C: 3rd arg to nextBreakPoint was always the same.
4779           Use references.
4780
4781 2003-03-08  John Levon  <levon@movementarian.org>
4782
4783         * lyxrow.C:
4784         * paragraph.C:
4785         * paragraph.h:
4786         * rowpainter.C:
4787         * text.C:
4788         * text2.C: Remove the "main" bit from the "main body"
4789           notion.
4790
4791 2003-03-08  John Levon  <levon@movementarian.org>
4792
4793         * text.C (leftMargin): The left margin of an empty
4794         manual label paragraph should not include the label width
4795         string length.
4796
4797         * text.C (prepareToPrint): don't attempt to measure hfills
4798         for empty manual label paragraphs - the answer should be 0
4799
4800 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4801
4802         * CutAndPaste.C: remove commented code and reindent.
4803
4804 2003-03-08  John Levon  <levon@movementarian.org>
4805
4806         * lyxfunc.h:
4807         * lyxfunc.C: move reloadBuffer()
4808
4809         * BufferView.h:
4810         * BufferView.C: to here
4811
4812         * lyxvc.C: add comment
4813
4814         * vc-backend.h:
4815         * vc-backend.C: call bv->reload() to avoid
4816           getStatus() check on MENURELOAD
4817
4818 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
4819
4820         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
4821         to an old format .dep file.
4822
4823 2003-03-07  Angus Leeming  <leeming@lyx.org>
4824
4825         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
4826         when the LFUN_MOUSE_RELEASE should have been handled by
4827         inset->localDispatch.
4828
4829 2003-03-07  Angus Leeming  <leeming@lyx.org>
4830
4831         * BufferView_pimpl.C (dispatch):
4832         * LyXAction.C (init):
4833         * ToolbarDefaults.C (init):
4834         * commandtags.h:
4835         * lyxfunc.C (getStatus):
4836         remove LFUN_INSET_GRAPHICS.
4837
4838         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
4839
4840 2003-03-07  Angus Leeming  <leeming@lyx.org>
4841
4842         * commandtags.h:
4843         * LyXAction.C (init):
4844         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
4845
4846         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
4847
4848         * commandtags.h:
4849         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
4850
4851         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
4852         localDispatch method LFUN_INSET_DIALOG_UPDATE.
4853
4854 2003-03-07  Angus Leeming  <leeming@lyx.org>
4855
4856         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
4857         remove "ert".
4858
4859 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4860
4861         * ParagraphList.C (front): new function
4862         (back): implement
4863
4864 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
4865
4866         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
4867         and top_row_offset_. removed var first_y.
4868         * text.C (top_y):
4869         * text2.C (LyXText, removeRow):
4870         * text3.C:
4871         * BufferView_pimpl.C:
4872         use these methods instead of using first_y
4873
4874 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4875
4876         * text2.C (pasteSelection): adjust for checkPastePossible
4877
4878         * CutAndPaste.C: remove Paragraph * buf and replace with
4879         ParagraphList paragraphs.
4880         (DeleteBuffer): delete
4881         (cutSelection): change the tc type to textclass_type
4882         (copySelection): change the tc type to textclass_type
4883         (copySelection): adjust for ParagraphList
4884         (pasteSelection): change the tc type to textclass_type
4885         (pasteSelection): adjust for Paragraphlist
4886         (nrOfParagraphs): simplify for ParagraphList
4887         (checkPastePossible): simplify for ParagraphList
4888         (checkPastePossible): remove unused arg
4889
4890         * ParagraphList.C (insert): handle the case where there are no
4891         paragraphs yet.
4892
4893         * CutAndPaste.h: make CutAndPaste a namespace.
4894
4895         * text3.C (dispatch): adjust
4896
4897         * text.C (breakParagraph): add a ParagraphList as arg
4898
4899         * paragraph_funcs.C (breakParagraph): change to take a
4900         BufferParams and a ParagraphList as args.
4901         (breakParagraphConservative): ditto
4902         (mergeParagraph): ditto
4903         (TeXDeeper): add a ParagraphList arg
4904         (TeXEnvironment): ditto
4905         (TeXOnePar): ditto
4906
4907         * buffer.C (readLyXformat2): adjust
4908         (insertStringAsLines): adjust
4909         (latexParagraphs): adjust
4910
4911         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
4912         (cutSelection): adjust
4913         (pasteSelection): adjust
4914
4915         * BufferView_pimpl.C (insertInset): adjust
4916
4917 2003-03-05  Angus Leeming  <leeming@lyx.org>
4918
4919         * commandtags.h:
4920         * LyXAction.C (init):
4921         * BufferView_pimpl.C (dispatch):
4922         * lyxfunc.C (getStatus):
4923         remove LFUN_CHILD_INSERT.
4924
4925         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
4926
4927 2003-03-05  Angus Leeming  <leeming@lyx.org>
4928
4929         * commandtags.h:
4930         * LyXAction.C (init):
4931         * src/factory.C (createInset):
4932         * lyxfunc.C (getStatus):
4933         * text3.C (dispatch):
4934         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
4935
4936         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
4937
4938 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
4939
4940         * ParagraphList.C (insert): handle insert right before end()
4941         (erase): fix cases where it can be first or last paragraph.
4942
4943 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4944
4945         * paragraph_funcs.C (TeXEnvironment): remove all usage of
4946         Paragraph::next and Paragraph::previous
4947         (TeXOnePar): ditto
4948
4949         * text.C (breakParagraph): adjust
4950
4951         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
4952         BufferParams& as arg.
4953         (breakParagraph): use ParagraphList::insert
4954         (breakParagraphConservative): take a Buffer* instead of a
4955         BufferParams& as arg.
4956         (breakParagraphConservative): use ParagraphList::insert.
4957
4958         * buffer.C (insertStringAsLines): un-const it
4959         (insertStringAsLines): adjust
4960
4961         * ParagraphList.C (insert): new function
4962
4963         * CutAndPaste.C (pasteSelection): adjust
4964
4965         * text.C (backspace): adjust
4966
4967         * tabular.C (SetMultiColumn): adjust
4968
4969         * CutAndPaste.C (cutSelection): adjust
4970         (pasteSelection): adjust
4971
4972         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
4973         Buffer const * as arg
4974
4975         * ParagraphList.C (erase): new function
4976         * paragraph_funcs.C (mergeParagraph): use it
4977         (mergeParagraph): make it take a Buffer* instead of a
4978         BufferParams* as arg
4979
4980         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
4981         as arg
4982         (breakParagraphConservative): ditto
4983
4984         * paragraph.h: remove the breakParagraph friend
4985
4986         * paragraph.C (eraseIntern): new function
4987         (setChange): new function
4988
4989         * paragraph_funcs.C (mergeParagraph): make it take a
4990         ParagraphList::iterator instead of a Paragraph *, adjust
4991         accordingly.
4992
4993         * paragraph.h: move an #endif so that the change tracking stuff
4994         also works in the NO_NEXT case.
4995
4996 2003-03-04  Angus Leeming  <leeming@lyx.org>
4997
4998         * commandtags.h:
4999         * LyXAction.C: new LFUN_INSET_MODIFY.
5000
5001         * BufferView_pimpl.C (dispatch): if an inset is found to be open
5002         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5003
5004 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5005
5006         * several files: ws changes only
5007
5008         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5009         (TeXEnvironment): ditto
5010         (TeXDeeper): ditto
5011
5012         * buffer.C (makeLaTeXFile): adjust
5013         (latexParagraphs): make it take ParagraphList::iterator as args
5014
5015 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5016
5017         * buffer.C (latexParagraphs): adjust
5018
5019         * paragraph.C (TeXOnePar): move function...
5020         (optArgInset): move function...
5021         (TeXEnvironment): move function...
5022         * paragraph_pimpl.C (TeXDeeper): move function...
5023         * paragraph_funcs.C: ...here
5024
5025         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5026
5027 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5028
5029         * buffer.C (readInset): remove compability code for old Figure and
5030         InsetInfo insets
5031
5032 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5033
5034         * buffer.C: ws changes
5035         (readInset):
5036
5037         * BufferView_pimpl.C: ditto
5038         * author.C: ditto
5039         * buffer.h: ditto
5040         * bufferlist.h: ditto
5041         * changes.h: ditto
5042         * lyxfunc.C: ditto
5043
5044 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
5045
5046         * converter.[Ch]: split into itself +
5047         * graph.[Ch]
5048         * format.[Ch]
5049         * Makefile.am: += graph.[Ch] + format.[Ch]
5050         * MenuBackend.C
5051         * buffer.C
5052         * exporter.C
5053         * importer.C
5054         * lyx_main.C
5055         * lyxfunc.C
5056         * lyxrc.C: added #include "format.h"
5057
5058 2003-02-27  Angus Leeming  <leeming@lyx.org>
5059
5060         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
5061           a label.
5062
5063         * factory.C (createInset): add "label" to the factory.
5064
5065         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
5066           string and do no more.
5067
5068 2003-02-27  Angus Leeming  <leeming@lyx.org>
5069
5070         * commandtags.h:
5071         * LyXAction.C (init):
5072         * factory.C (createInset):
5073         * BufferView_pimpl.C (dispatch):
5074           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5075
5076         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5077
5078         * lyxfunc.C (dispatch):
5079         * text3.C (dispatch): pass name to params2string.
5080
5081 2003-02-26  Angus Leeming  <leeming@lyx.org>
5082
5083         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
5084           blocks together.
5085           Rearrange the ~includes. Strip out the unnecessary ones.
5086
5087         * factory.C (createInset): reformat.
5088           create new insets for the various LFUN_XYZ_APPLY lfuns.
5089
5090 2003-02-26  John Levon  <levon@movementarian.org>
5091
5092         * lyxrow.h:
5093         * lyxrow.C: add isParStart,isParEnd helpers
5094
5095         * paragraph.h: make isInserted/DeletedText take refs
5096
5097         * paragraph_funcs.h:
5098         * paragraph_funcs.C: remove #if 0'd code
5099
5100         * lyxtext.h:
5101         * text3.C:
5102         * text2.C:
5103         * text.C: use lyxrow helpers above.
5104           Move draw and paint routines to RowPainter.
5105           Make several methods use refs not pointers.
5106           Make backgroundColor() const.
5107           Add markChangeInDraw(), isInInset().
5108           Merge changeRegionCase into changeCase.
5109           Make workWidth() shouldn't-happen code into an Assert.
5110
5111         * rowpainter.h:
5112         * rowpainter.C: new class for painting a row.
5113
5114         * vspace.h:
5115         * vspace.C: make inPixels take a ref
5116
5117 2003-02-26  Angus Leeming  <leeming@lyx.org>
5118
5119         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
5120         LFUN_REF_APPLY.
5121
5122 2003-02-25  John Levon  <levon@movementarian.org>
5123
5124         * ispell.C: give the forked command a more accurate name
5125
5126 2003-02-22  John Levon  <levon@movementarian.org>
5127
5128         * toc.h:
5129         * toc.C: make TocItem store an id not a Paragraph *
5130           (bug #913)
5131
5132 2003-02-21  Angus Leeming  <leeming@lyx.org>
5133
5134         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
5135           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
5136           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
5137           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
5138           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
5139           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
5140
5141         * BufferView_pimpl.C (dispatch):
5142         * LyXAction.C (init):
5143         * factory.C (createInset):
5144         * lyxfunc.C (getStatus, dispatch):
5145         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
5146
5147 2003-02-21  Angus Leeming  <leeming@lyx.org>
5148
5149         * BufferView_pimpl.C (MenuInsertLyXFile):
5150         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
5151         * lyxfunc.C (menuNew, open, doImport):
5152           no longer pass a LyXView & to fileDlg.
5153
5154 2003-02-21  Angus Leeming  <leeming@lyx.org>
5155
5156         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
5157         * LyXAction.C: change, BIBKEY to BIBITEM.
5158         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
5159         Change InsetBibKey to InsetBibitem.
5160         Change BIBKEY_CODE to BIBITEM_CODE.
5161         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5162         * factory.C: replace insetbib.h with insetbibitem.h.
5163         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5164         * paragraph.C: replace insetbib.h with insetbibitem.h.
5165         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5166         Change bibkey() to bibitem().
5167         * text.C: remove insetbib.h.
5168         * text2.C: replace insetbib.h with insetbibitem.h.
5169         change bibkey() to bibitem().
5170         * text3.C: remove insetbib.h.
5171         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5172
5173 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5174
5175         * lyxrc.C (output): enclose user email in quotes (in case there are
5176         several words)
5177
5178 2003-02-18  John Levon  <levon@movementarian.org>
5179
5180         * buffer.h: add std::
5181
5182 2003-02-17  John Levon  <levon@movementarian.org>
5183
5184         * SpellBase.h:
5185         * ispell.h:
5186         * ispell.C:
5187         * pspell.h:
5188         * pspell.C: reworking. Especially in ispell, a large
5189           number of clean ups and bug fixes.
5190
5191         * lyxfunc.C: fix revert to behave sensibly
5192
5193 2003-02-17 André Pönitz <poenitz@gmx.net>
5194
5195         * LyXAction.C:
5196         * commandtags.h: new LFUN_INSERT_BIBKEY
5197
5198         * layout.h:
5199         * lyxlayout.C:
5200         * buffer.C:
5201         * factory.C:
5202         * text.C:
5203         * text2.C:
5204         * text3.C:
5205         * paragraph.[Ch]:
5206         * paragraph_func.C: remove special bibkey handling
5207
5208 2003-02-17  John Levon  <levon@movementarian.org>
5209
5210         * text.C (Delete): fix case where delete at the end of
5211           the very first paragraph would not merge the pars
5212
5213 2003-02-17  John Levon  <levon@movementarian.org>
5214
5215         * lyxrow.C: fix lastPrintablePos()
5216
5217 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5218
5219         * bufferparams.C (writeLaTeX): add a std:here
5220
5221         * buffer.C: and remove a using directive there
5222
5223 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5224
5225         * buffer.C (makeLaTeXFile): move the code that generates the
5226           preamble...
5227
5228         * bufferparams.C (writeLaTeX): ... in this new method
5229
5230         * LaTeXFeatures.C (getEncodingSet): make const
5231           (getLanguages): make const
5232
5233         * MenuBackend.C (binding): returns the binding associated to this
5234           action
5235           (add): sets the status of each item by calling getStatus. Adds
5236           some intelligence.
5237           (read): add support for OptSubMenu
5238           (expand): remove extra separator at the end of expanded menu
5239
5240 2003-02-15  John Levon  <levon@movementarian.org>
5241
5242         * BufferView.C:
5243         * BufferView_pimpl.C:
5244         * bufferlist.h:
5245         * bufferlist.C: remove pointless BufferStorage bloat. Remove
5246           inset code that had no actual effect. Remove unneeded status
5247           code.
5248
5249 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5250
5251         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5252           in preamble
5253
5254 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
5255
5256         * text.C (drawLengthMarker): also draw an arrow marker for
5257           symbolic lengths (medskip...)
5258
5259 2003-02-14  John Levon  <levon@movementarian.org>
5260
5261         * tabular.h:
5262         * tabular.C: better method names
5263
5264 2003-02-14  John Levon  <levon@movementarian.org>
5265
5266         * BufferView_pimpl.C:
5267         * bufferlist.C:
5268         * buffer.C:
5269         * converter.C:
5270         * lyx_cb.C:
5271         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5272           it's a more accurate name. Remove some pointless uses.
5273
5274 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5275
5276         * text2.C (LyXText): change order of initilizers to shut off
5277           warnings
5278
5279 2003-02-14  John Levon  <levon@movementarian.org>
5280
5281         * buffer.C: use ParIterator for getParFromID()
5282
5283         * paragraph.h:
5284         * paragraph.C:
5285         * paragraph_pimpl.h:
5286         * paragraph_pimpl.C: remove unused getParFromID()
5287
5288 2003-02-14  John Levon  <levon@movementarian.org>
5289
5290         * buffer.C: remove some very old #if 0'd parse code
5291
5292 2003-02-13  John Levon  <levon@movementarian.org>
5293
5294         * text.h:
5295         * text.C:
5296         * text2.C: move hfillExpansion(), numberOfSeparators(),
5297           rowLast(), rowLastPrintable(), numberofHfills(),
5298           numberOfLabelHfills() ...
5299
5300         * lyxrow.h:
5301         * lyxrow.C: ... to member functions here.
5302
5303         * paragraph.h:
5304         * paragraph.C:
5305         * lyxtext.h:
5306         * text.C: remove LyXText::beginningOfMainBody(), and call
5307           p->beginningOfMainBody() directly. Move the check for
5308           LABEL_MANUAL into the latter.
5309
5310         * text.h:
5311         * text.C:
5312         * text2.C:
5313         * vspace.C:
5314         * BufferView.h:
5315         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5316
5317         * text.h:
5318         * text.C:
5319         * text2.C:
5320         * text3.C:
5321         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5322           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5323
5324 2003-02-13  John Levon  <levon@movementarian.org>
5325
5326         * CutAndPaste.C: remove debug
5327
5328 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5329
5330         * paragraph.C (asString): remove two unused variables
5331
5332         * lyxtextclass.C (readTitleType):
5333           (Read):
5334           (LyXTextClass): handle new members titletype_ and titlename_
5335
5336         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
5337
5338 2003-02-09  John Levon  <levon@movementarian.org>
5339
5340         * buffer.h:
5341         * buffer.C: replace hand-coded list with a map for the dep clean
5342
5343 2003-02-08  John Levon  <levon@movementarian.org>
5344
5345         * LaTeX.C: consolidate code into showRunMessage() helper
5346
5347 2003-02-08  John Levon  <levon@movementarian.org>
5348
5349         * lyxfind.C:
5350         * lyxtext.h:
5351         * text2.C:
5352         * BufferView.C: change setSelectionOverString() to setSelectionRange()
5353           and pass the size in explicitly
5354
5355         * BufferView_pimpl.h:
5356         * BufferView_pimpl.C:
5357         * BufferView.h:
5358         * BufferView.C: add getCurrentChange()
5359
5360         * BufferView_pimpl.h:
5361         * BufferView_pimpl.C: handle change lfuns
5362
5363         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
5364           for changes. Mark pasted paragraphs as new.
5365
5366         * support/lyxtime.h:
5367         * support/lyxtime.C:
5368         * DepTable.C: abstract time_t as lyx::time_type
5369
5370         * LColor.h:
5371         * LColor.C: add colours for new text, deleted text, changebars
5372
5373         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
5374           package use "usenames" option.
5375
5376         * commandtags.h:
5377         * lyxfunc.C:
5378         * LyXAction.C: add change lfuns
5379
5380         * Makefile.am:
5381         * author.h:
5382         * author.C: author handling
5383
5384         * buffer.h:
5385         * buffer.C: add a per-buffer author list, with first entry as
5386           current author. Handle new .lyx tokens for change tracking. Output
5387           author list to .lyx file. Output dvipost stuff to .tex preamble.
5388           Bump lyx format to 222.
5389
5390         * bufferlist.h:
5391         * bufferlist.C: add setCurrentAuthor() to reset current author details
5392           in all buffers.
5393
5394         * bufferparams.h:
5395         * bufferparams.C: add param for tracking
5396
5397         * bufferview_funcs.C: output change info in minibuffer
5398
5399         * Makefile.am:
5400         * changes.h:
5401         * changes.C: add change-tracking structure
5402
5403         * debug.h:
5404         * debug.C: add CHANGES debug flag
5405
5406         * lyxfind.h:
5407         * lyxfind.C: add code for finding the next change piece
5408
5409         * lyxrc.h:
5410         * lyxrc.C: add user_name and user_email
5411
5412         * lyxrow.h:
5413         * lyxrow.C: add a metric for the top of the text line
5414
5415         * lyxtext.h:
5416         * text.C: implement accept/rejectChange()
5417
5418         * lyxtext.h:
5419         * text.C: paint changebars. Paint new/deleted text in the chosen
5420         colours. Strike through deleted text.
5421
5422         * paragraph.h:
5423         * paragraph.C:
5424         * paragraph_pimpl.h:
5425         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
5426           in the current change to the insert functions. Rework erase to
5427           mark text as deleted, adding an eraseIntern() and a range-based
5428           erase(). Implement per-paragraph change lookup and
5429           accept/reject.
5430
5431         * paragraph_funcs.C: Fixup paste for change tracking.
5432
5433         * tabular.C: mark added row/columns as new.
5434
5435         * text.C: fix rowLast() to never return -1. Don't allow
5436           spellchecking of deleted text. Track transpose changes. Don't
5437           allow paragraph break or merge where appropriate.
5438
5439         * text2.C: leave cursor at end of selection after a cut.
5440
5441 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5442
5443         * text.C (getLengthMarkerHeight):
5444         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
5445         visible on screen too.
5446
5447 2003-02-07  John Levon  <levon@movementarian.org>
5448
5449         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
5450
5451 2003-02-05  Angus Leeming  <leeming@lyx.org>
5452
5453         * lyxserver.C (read_ready): revert my patch of 11 September last year
5454         as it sends PC cpu through the roof. Presumably this means that
5455         the lyxserver will no longer run on an Alpha...
5456
5457 2003-01-30  Angus Leeming  <leeming@lyx.org>
5458
5459         * factory.C (createInset): create an InsetCommandParam of type "index"
5460         and use it to 'do the right thing'.
5461
5462         * text2.C (getStringToIndex): ensure that cursor position is always
5463         reset to the reset_cursor position.
5464
5465 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5466
5467         * lyxfunc.C (getStatus): "buffer-export custom" should never be
5468         disabled.
5469
5470 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
5471
5472         * bufferview.C:
5473         * lyxcb.C:
5474         * lyxfunc.C: Output messages with identical spelling, punctuation,
5475         and spaces
5476
5477 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
5478
5479         * MenuBackend.C (expandFormats): List only viewable export formats
5480         in "View" menu
5481
5482         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
5483         message
5484
5485         * lyxfunc.C (getStatus): Make sure that formats other than
5486         "fax" can also be disabled
5487
5488 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5489
5490         * text3.C (dispatch): put the lfuns that insert insets in 3
5491         groups, and call doInsertInset with appropriate arguments.
5492         (doInsertInset): new function, that creates an inset and inserts
5493         it according to some boolean parameters.
5494
5495 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5496
5497         * buffer.C (readFile): remember to pass on 'par' when calling
5498         readFile recursively.
5499
5500 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5501
5502         * MenuBackend.C (expandFormats): add "..." to import formats.
5503
5504 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
5505
5506         * paragraph.C (asString): Remove XForms RTL hacks.
5507
5508 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
5509         * buffer.C: fix typo
5510
5511 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
5512
5513         * Makefile.am (LIBS): delete var
5514         (lyx_LDADD): add @LIBS@ here instead.
5515
5516 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
5517
5518         * Clarify the meaning of "wheel mouse jump"
5519
5520 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5521
5522         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
5523         tabular in a float
5524
5525 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5526
5527         * importer.C (Loaders): do not preallocate 3 elements in the
5528         vector, since one ends up with 6 elements otherwise
5529
5530 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5531
5532         * DepTable.C (write): write the file name as last element of the
5533         .dep file (because it may contain spaces)
5534         (read): read info in the right order
5535
5536 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5537
5538         * paragraph_pimpl.C (simpleTeXBlanks):
5539         (simpleTeXSpecialChars):
5540         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
5541
5542         * tabular.C (latex): add some missing case statements. Reindent.
5543
5544         * MenuBackend.C (expandToc): remove unused variable.
5545
5546 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
5547
5548         * LColor.C:
5549         * LaTeX.C:
5550         * LyXAction.C:
5551         * MenuBackend.C:
5552         * buffer.C:
5553         * exporter.C:
5554         * lyxfunc.C:
5555         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
5556         and the like.
5557
5558 2003-01-05  John Levon  <levon@movementarian.org>
5559
5560         * BufferView.h:
5561         * BufferView.C: add getEncoding()
5562
5563         * kbsequence.h:
5564         * kbsequence.C: do not store last keypress
5565
5566         * lyxfunc.h:
5567         * lyxfunc.C: store last keypress here instead. Pass encoding
5568           to getISOEncoded()
5569
5570 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5571
5572         * lyx_main.C (init): remove annoying error message when following
5573         symbolic links (bug #780)
5574
5575 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5576
5577         * text.C (insertChar):
5578         * lyxrc.C (getDescription): remove extra spaces
5579
5580 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5581
5582         * lyxrc.C (getDescription): remove extra spaces
5583
5584 2002-12-20  John Levon  <levon@movementarian.org>
5585
5586         * text3.C: hack fix for page up/down across tall rows
5587
5588 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5589
5590         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
5591         not been invoked
5592
5593 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5594
5595         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
5596         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
5597         thesaurus is not compiled in
5598
5599 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
5600
5601         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
5602
5603 2002-12-16  Angus Leeming  <leeming@lyx.org>
5604
5605         * lyxrc.[Ch]:
5606         * lyx_main.C (init): remove override_x_deadkeys stuff.
5607
5608 2002-12-12  John Levon  <levon@movementarian.org>
5609
5610         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
5611           insert. Only remove shift modifier under strict
5612           circumstances.
5613
5614 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5615
5616         * MenuBackend.C (expandToc): fix crash.
5617
5618 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5619
5620         * MenuBackend.C (expandToc): gettext on float names.
5621
5622 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5623
5624         * lyxlength.[Ch]: set default unit to UNIT_NONE,
5625         implement bool empty() [bug 490]
5626
5627 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5628
5629         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
5630
5631 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5632
5633         * several files: ws changes
5634
5635 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5636
5637         * text2.C (setCounter): clean up a bit, use boost.format.
5638         (updateCounters): initialize par upon declaration.
5639
5640         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
5641         if the layout exists. We do not just store the layout any more.
5642         (SwitchLayoutsBetweenClasses): use boost.format
5643
5644 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5645
5646         * converter.C (convert): if from and to files are the same, use a
5647         temporary files as intermediary
5648
5649 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5650
5651         * commandtags.h:
5652         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
5653
5654 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
5655
5656         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
5657
5658 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5659
5660         * tabular.C (asciiPrintCell): use string(size, char) instead of
5661         explicit loop.
5662
5663         * sgml.C (openTag): fix order of arguments to string constructor
5664         (closeTag): ditto
5665
5666         * lyxfunc.C (dispatch): use boost.format
5667
5668         * lots of files: change "c" -> 'c'
5669
5670 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
5671
5672         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
5673
5674 2002-11-25  Angus Leeming  <leeming@lyx.org>
5675
5676         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
5677
5678         * lyx_main.C (init): compile fix.
5679
5680 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5681
5682         * lyx_cb.C (start): boost.formatify
5683         do not include <iostream>
5684
5685         * lengthcommon.C: ws only
5686
5687         * boost-inst.C,BoostFormat.h: add more explict instantations
5688
5689 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5690
5691         * lots of files: handle USE_BOOST_FORMAT
5692
5693 2002-11-21  John Levon  <levon@movementarian.org>
5694
5695         * pspell.C: fix compile
5696
5697 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5698
5699         * lyxfunc.C (dispatch): use boost::format
5700         (open): ditto
5701         (doImport): ditto
5702
5703         * lyxfont.C (stateText): use boost::format
5704
5705         * lyx_main.C (LyX): use boost::format
5706         (init): ditto
5707         (queryUserLyXDir): ditto
5708         (readRcFile): ditto
5709         (parse_dbg): ditto
5710         (typedef boost::function): use the recommened syntax.
5711
5712         * importer.C (Import): use boost::format
5713
5714         * debug.C (showLevel): use boost::format
5715
5716         * converter.C (view): use boost::format
5717         (convert): ditto
5718         (move): ditto
5719         (scanLog): ditto
5720
5721         * bufferview_funcs.C (currentState): use boost::format
5722
5723         * bufferlist.C (emergencyWrite): use boost::format
5724
5725         * buffer.C (readLyXformat2): use boost::format
5726         (parseSingleLyXformat2Token): ditto
5727
5728         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
5729
5730         * LaTeX.C (run): use boost::format
5731
5732         * Chktex.C (scanLogFile): use boost::format
5733
5734         * BufferView_pimpl.C (savePosition): use boost::format
5735         (restorePosition): ditto
5736         (MenuInsertLyXFile): ditto
5737
5738         * BoostFormat.h: help file for explicit instation.
5739
5740 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
5741
5742         * tabular.C (latex): Support for block alignment in fixed width
5743         columns.
5744
5745 2002-11-17  John Levon  <levon@movementarian.org>
5746
5747         * BufferView_pimpl.C:
5748         * lyx_cb.C:
5749         * lyxfunc.C: split filedialog into open/save
5750
5751 2002-11-08  Juergen Vigna  <jug@sad.it>
5752
5753         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
5754         by my last patch (hopefully).
5755
5756 2002-11-08  John Levon  <levon@movementarian.org>
5757
5758         * iterators.h:
5759         * iterators.C:
5760         * buffer.h:
5761         * buffer.C:
5762         * paragraph.h:
5763         * paragraph.C:
5764         * toc.h:
5765         * toc.C: ParConstIterator, and use it (from Lars)
5766
5767 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
5768
5769         * lyxtextclass.[Ch]: revise and add doxygen comments
5770
5771 2002-11-07  John Levon  <levon@movementarian.org>
5772
5773         * text.C: fix progress value for spellchecker
5774
5775         * toc.C: fix navigate menu for insetwrap inside minipage
5776
5777         * paragraph_funcs.C: added FIXME for suspect code
5778
5779 2002-11-07  John Levon  <levon@movementarian.org>
5780
5781         * BufferView_pimpl.C: fix redrawing of insets
5782           on buffer switch
5783
5784 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5785
5786         * text2.C (updateCounters): fix bug 668
5787
5788 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
5789
5790         * text3.C (dispatch): Do not make the buffer dirty when moving the
5791         cursor.
5792
5793 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5794
5795         * vc-backend.C: STRCONV
5796         (scanMaster): ditto
5797
5798         * text2.C (setCounter): STRCONV
5799
5800         * paragraph.C (asString): STRCONV
5801
5802         * lyxlength.C (asString): STRCONV
5803         (asLatexString): ditto
5804
5805         * lyxgluelength.C (asString): STRCONV
5806         (asLatexString): ditto
5807
5808         * lyxfunc.C (dispatch): STRCONV
5809         (open): ditto
5810
5811         * lyxfont.C (stateText): STRCONV
5812
5813         * importer.C (Import): STRCONV
5814
5815         * counters.C (labelItem): STRCONV
5816         (numberLabel): ditto
5817         (numberLabel): remove unused ostringstream o
5818
5819         * chset.C: STRCONV
5820         (loadFile): ditto
5821
5822         * bufferview_funcs.C (currentState): STRCONV
5823
5824         * buffer.C (readFile): STRCONV
5825         (asciiParagraph): ditto
5826         (makeLaTeXFile): ditto
5827
5828         * Spacing.C (writeEnvirBegin): STRCONV
5829
5830         * LaTeXFeatures.C (getLanguages): STRCONV
5831         (getPackages): ditto
5832         (getMacros): ditto
5833         (getBabelOptions): ditto
5834         (getTClassPreamble): ditto
5835         (getLyXSGMLEntities): ditto
5836         (getIncludedFiles): ditto
5837
5838         * LaTeX.C: STRCONV
5839         (run): ditto
5840         (scanAuxFile): ditto
5841         (deplog): ditto
5842
5843         * LString.h: add the STRCONV macros
5844
5845         * BufferView_pimpl.C (savePosition): STRCONV
5846         (restorePosition): ditto
5847         (MenuInsertLyXFile): ditto
5848
5849         * vc-backend.C (scanMaster): change from submatch[...] to
5850         submatch.str(...)
5851
5852         * funcrequest.C: include config.h
5853
5854         * factory.C: include config.h
5855
5856         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
5857
5858         * box.C: include config.h
5859
5860         * LaTeX.C (scanAuxFile): change from submatch[...] to
5861         submatch.str(...)
5862         (deplog): ditto
5863
5864 2002-10-25  Angus Leeming  <leeming@lyx.org>
5865
5866         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
5867
5868         * ispell.[Ch] (setError): new method.
5869         * ispell.C (c-tor): move out child process into new class LaunchIspell.
5870         Use setError() insetead of goto END.
5871
5872         * lyx_cb.C (AutoSave): move out child process into new class
5873         AutoSaveBuffer.
5874
5875 2002-10-30  John Levon  <levon@movementarian.org>
5876
5877         * text3.C: make start appendix undoable
5878
5879 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
5880
5881         * lyxlength.C (inPixels): Fix returned value.
5882
5883         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
5884         environment.
5885
5886 2002-10-24  Angus Leeming  <leeming@lyx.org>
5887
5888         * lyxgluelength.h: no need to forward declare BufferParams
5889         or BufferView, so don't.
5890
5891 2002-10-21  John Levon  <levon@movementarian.org>
5892
5893         * BufferView.C: menuUndo ->undo, redo
5894
5895         * BufferView.h: document, remove dead, make some methods private
5896
5897         * paragraph_funcs.h:
5898         * paragraph_funcs.C:
5899         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
5900
5901         * buffer.h:
5902         * buffer.C:
5903         * sgml.h:
5904         * sgml.C: move sgml open/close tag into sgml.C
5905
5906         * bufferview_funcs.h: unused prototype
5907
5908         * lyxfunc.h:
5909         * lyxfunc.C: remove unused
5910
5911         * lyxtext.h:
5912         * text.C: remove unused
5913
5914 2002-10-21  John Levon  <levon@movementarian.org>
5915
5916         * BufferView.h:
5917         * BufferView.C:
5918         * BufferView_pimpl.h:
5919         * BufferView_pimpl.C: fix mouse wheel handling based on
5920           patch from Darren Freeman
5921
5922 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
5923
5924         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
5925
5926 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
5927
5928         * lyxlength.C (inPixels): Fix hanfling of negative length.
5929         Fix LyXLength::MU case.
5930
5931 2002-10-16  John Levon  <levon@movementarian.org>
5932
5933         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
5934
5935 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5936
5937         * converter.C (view): add support for $$i (file name) and $$p
5938         (file path) for the viewer command. If $$i is not specified, then
5939         it is appended to the command (for compatibility with old syntax)
5940
5941 2002-10-14  Juergen Vigna  <jug@sad.it>
5942
5943         * undo_funcs.C (textHandleUndo): alter the order in which the
5944         new undopar is added to the LyXText, as we have to set first
5945         the right prev/next and then add it as otherwise the rebuild of
5946         LyXText is not correct. Also reset the cursor to the right paragraph,
5947         with this IMO we could remove the hack in "redoParagraphs()".
5948
5949 2002-10-09  Angus Leeming  <leeming@lyx.org>
5950
5951         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
5952         to turn off an optimisation if a new inset is to be inserted.
5953
5954 2002-10-11 André Pönitz <poenitz@gmx.net>
5955
5956         * lyxtext.h: make some functions public to allow access
5957         from inset/lyxtext for handling LFUN_PRIOR/NEXT
5958
5959 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5960
5961         * text3.C (dispatch): when changing layout, avoid an infinite loop
5962         [bug #652]
5963
5964 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5965
5966         * lyxrc.C (read): treat a viewer or converter command of "none" as
5967         if it were empty.
5968
5969         * MenuBackend.C (expandFormats): for an update, also allow the
5970         formats that are not viewable
5971
5972         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
5973         script if it is newer than the lyxrc.defaults in user directory
5974
5975 2002-10-07 André Pönitz <poenitz@gmx.net>
5976
5977         * text.C: Vitaly Lipatov's small i18n fix
5978
5979 2002-09-25  Angus Leeming  <leeming@lyx.org>
5980
5981         * ispell.h: doxygen fix.
5982
5983 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
5984
5985         * buffer.h (readFile): Add a new argument to the method, to allow
5986         reading of old-format templates.
5987
5988 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
5989
5990         * toc.C (getTocList): Get TOC from InsetWrap.
5991
5992 2002-09-16  John Levon  <levon@movementarian.org>
5993
5994         * lyxfunc.C: check tabular for cut/copy too
5995
5996 2002-09-12  John Levon  <levon@movementarian.org>
5997
5998         * LyXAction.C: tidy
5999
6000         * factory.h:
6001         * factory.C: add header
6002
6003         * paragraph_funcs.h:
6004         * paragraph_funcs.C: cleanup
6005
6006 2002-09-11  John Levon  <levon@movementarian.org>
6007
6008         * PrinterParams.h: odd/even default to true
6009
6010 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
6011
6012         * PrinterParams.h: update printer parameters for new xforms dialog
6013
6014 2002-09-11  Angus Leeming  <leeming@lyx.org>
6015
6016         * lyxserver.C (read_ready): re-write to make it more transparent
6017         and to make it work in coherent fashion under Tru64 Unix.
6018
6019 2002-09-11  André Pönitz <poenitz@gmx.net>
6020
6021         * commandtags.h:
6022         * LyXAction.C:
6023         * text3.C: implement LFUN_WORDSEL
6024
6025 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6026
6027         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6028         make floatlist_ a boost::shared_ptr<FloatList>
6029
6030         * lyxtextclass.C: include FloatList.h
6031         (LyXTextClass): initialize floatlist_
6032         (TextClassTags): add TC_NOFLOAT
6033         (Read): match "nofloat" to TC_NOFLOAT and use it.
6034         (readFloat): modify call to floatlist_
6035         (floats): ditto
6036         (floats): ditto
6037
6038         * FloatList.[Ch] (FloatList): remove commented out float
6039         initialization.
6040         (erase): new function
6041
6042 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6043
6044         * MenuBackend.C (expandToc): fix crash when there is no document
6045         open
6046
6047 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
6048
6049         * many files: Add insetwrap.
6050
6051 2002-09-09  John Levon  <levon@movementarian.org>
6052
6053         * text2.C: remove confusing and awkward depth wraparound
6054
6055 2002-09-09  John Levon  <levon@movementarian.org>
6056
6057         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6058
6059         * buffer.h:
6060         * buffer.C: remove getIncludeonlyList()
6061
6062         * paragraph.C:
6063         * lyxfunc.C: remove headers
6064
6065 2002-09-09  Juergen Vigna  <jug@sad.it>
6066
6067         * text.C (getColumnNearX): fix form Michael this is most
6068         probably a cut&paste bug.
6069
6070 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6071
6072         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
6073
6074         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6075         references, ws changes.
6076
6077         * text2.C (init): update counters after init
6078         (insertParagraph): no need to set counter on idividual paragraphs.
6079         (setCounter): access the counters object in the textclass object
6080         on in the buffer object.
6081         (updateCounters): ditto
6082
6083         * lyxtextclass.C: include counters.h, add variable ctrs_ as
6084         shared_ptr<Counters> to avoid loading counters.h in all
6085         compilation units.
6086         (LyXTextClass): initialize ctrs_
6087         (TextClassTags): add TC_COUNTER, and ...
6088         (Read): use it here.
6089         (CounterTags): new tags
6090         (readCounter): new function
6091         (counters): new funtion
6092         (defaultLayoutName): return a const reference
6093
6094         * counters.C (Counters): remove contructor
6095         (newCounter): remove a couple of unneeded statements.
6096         (newCounter): simplify a bit.
6097         (numberLabel): some small formatting changes.
6098
6099         * buffer.[Ch]: remove all traces of counters, move the Counters
6100         object to the LyXTextClass.
6101
6102 2002-09-06  Alain Castera  <castera@in2p3.fr>
6103
6104         * tabular.C: uses \tabularnewline; uses >{...} construct from array
6105         package to set the horizontal alignment on fixed width columns.
6106
6107         * lyx_sty.C:
6108         * lyx_sty.h: added tabularnewline macro def.
6109
6110         * LaTeXFeatures.C: added NeedTabularnewline macro feature
6111
6112 2002-09-06  John Levon  <levon@movementarian.org>
6113
6114         * LyXAction.C: tooltips for sub/superscript
6115
6116         * MenuBackend.C: a bit more verbose
6117
6118         * lyxfunc.C: tiny clean
6119
6120         * undo_funcs.C: document undo_frozen
6121
6122 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6123
6124         * counters.C (Counters): add missing algorithm counter.
6125
6126         * text2.C (setCounter): lookup the counter with layouts latexname
6127         instead of by section number.
6128         (setCounter): use a hackish way to lookup the correct enum
6129         counter.
6130         a float name->type change
6131         reset enum couners with counter name directly instead of depth value.
6132
6133         * counters.C (Counters): remove the push_backs, change to use the
6134         float type not the float name.
6135         (labelItem): remove unused string, float name->type change
6136
6137         * counters.h: don't include vector, loose the enums and sects vectors
6138
6139 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6140
6141         * lyxtextclass.C (TextClassTags): add TC_FLOAT
6142         (Read): add float->TC_FLOAT to textclassTags
6143         (Read): and handle it in the switch
6144         (readFloat): new function
6145
6146         * FloatList.C (FloatList): comment out the hardcoded float
6147         definitions.
6148
6149         * lyxlayout.h: ws change.
6150
6151 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
6152
6153         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
6154
6155 2002-09-03  Angus Leeming  <leeming@lyx.org>
6156
6157         * BufferView_pimpl.h: qualified name is not allowed in member
6158         declaration: WorkArea & Pimpl::workarea() const;
6159
6160         * factory.C: added using std::endl directive.
6161
6162         * text3.C: added using std::find and std::vector directives.
6163
6164 2002-08-29  André Pönitz <poenitz@gmx.net>
6165
6166         * lyxtext.h:
6167         * text2.C: remove unused member number_of_rows
6168
6169         * Makefile.am:
6170         * BufferView2.C: remove file, move contents to...
6171         * BufferView.C: ... here
6172
6173         * BufferView_pimpl.C:
6174         * factory.C: move more inset creation to factory
6175
6176         * vspace.C: avoid direct usage of LyXText, ws changes
6177
6178         * BufferView.[Ch]:
6179                 don't provide direct access to WorkArea, use two simple
6180                 acessors haveSelction() and workHeight() instead
6181
6182
6183 2002-08-29  John Levon  <levon@movementarian.org>
6184
6185         * BufferView_pimpl.C (dispatch): do not continue when
6186           no buffer
6187
6188 2002-08-28  André Pönitz <poenitz@gmx.net>
6189
6190         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6191
6192         * BufferView.h:
6193         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6194
6195 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
6196
6197         * buffer.C: increment LYX_FORMAT to 221
6198
6199         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6200         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6201
6202         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6203
6204         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6205
6206 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6207
6208         * factory.C (createInset): use LyXTextClass::floats
6209
6210         * MenuBackend.C (expandFloatListInsert):
6211         (expandFloatInsert):
6212         (expandToc):
6213
6214         * text2.C (setCounter):
6215
6216         * LaTeXFeatures.C (useFloat):
6217         (getFloatDefinitions):
6218
6219         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6220
6221         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6222         floatlist_, with accessor floats().
6223
6224         * FloatList.h: remove global FloatList
6225
6226 2002-08-26  André Pönitz <poenitz@gmx.net>
6227
6228         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6229
6230         * BufferView.h:
6231         * BufferView2.C:
6232         * BufferView_pimpl.C:
6233         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6234
6235 2002-08-25  John Levon  <levon@movementarian.org>
6236
6237         * LyXAction.C: fix margin note description
6238
6239 2002-08-24  John Levon  <levon@movementarian.org>
6240
6241         * buffer.C:
6242         * bufferlist.C:
6243         * bufferview_funcs.C:
6244         * lyxfont.C:
6245         * undo_funcs.C: cleanups
6246
6247         * lyxfunc.C: disable CUT/COPY when no selection
6248
6249 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
6250
6251         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6252         in "enum UNIT"; e.g. PTW for Percent of TextWidth
6253
6254         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6255         Add backward compatibility to "mono", "gray" and "no".
6256
6257 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
6258
6259         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6260         (and file_format >= 200).
6261
6262 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6263
6264         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6265
6266 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6267
6268         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6269
6270 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
6271
6272         * BufferView_pimpl.C:
6273         * LyXAction.C:
6274         * buffer.C:
6275         * commandtags.h:
6276         * lyxfunc.C:
6277         * paragraph.[Ch]:
6278         * text2.C:
6279         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6280         inset and code to make it  work with the paragraph code. The inset
6281         can be anywhere in the paragraph, but will only do the expected
6282         thing in LaTeX if the layout file contains the parameter line
6283                         OptionalArgs    1
6284         (or more generally, a nonzero value) for that layout.
6285
6286 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6287
6288         * paragraph.h: remove the declaration of undefined counters class
6289         function.
6290
6291 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
6292
6293         * text2.C (setCounter):  fixed enumeration mis-count as reported by
6294         Dr. Richard Hawkins.
6295
6296 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6297
6298         * paragraph_funcs.h: remove some unneeded includes
6299
6300         * text.C (backspace): pasteParagraph now in global scipe
6301
6302         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6303         (pasteSelection): ditto
6304
6305         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6306         * paragraph_funcs.C (pasteParagraph): ... here
6307
6308 2002-08-20  André Pönitz <poenitz@gmx.net>
6309
6310         * commandtags.h: new LFUNs for swapping/copying table row/colums
6311
6312         * LyXAction.C:
6313         * lyxfunc.C: support for new lfuns
6314
6315 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6316
6317         * tabular.C:
6318         * buffer.[Ch]: remove NO_COMPABILITY stuff
6319
6320 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
6321
6322         * boost.C (throw_exception): new file, with helper function for
6323         boost compiled without exceptions.
6324
6325         * paragraph.h:
6326         * lyxlength.C:
6327         * buffer.C:
6328         * ParameterStruct.h:
6329         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6330
6331         * bufferlist.C (emergencyWriteAll): use boost bind
6332
6333         * BufferView_pimpl.C (moveCursorUpdate): remove inline
6334
6335         * text.C: include paragraph_funcs.h
6336         (breakParagraph): breakParagraph is now in global scope
6337
6338         * paragraph_funcs.[Ch]: new files
6339
6340         * paragraph.C (breakParagraph,breakParagraphConservative): move to
6341         global scope
6342
6343         * buffer.C: include paragraph_funcs.h
6344         (insertStringAsLines): breakParagraph is now in global scope
6345
6346         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
6347         paragraph_funcs.C
6348
6349         * CutAndPaste.C: include paragraph_funcs.h
6350         (cutSelection): breakParagraphConservative is now in global scope
6351         (pasteSelection): ditto
6352
6353         * buffer.h: declare oprator== and operator!= for
6354         Buffer::inset_iterator
6355
6356         * bufferlist.C (emergencyWrite): don't use fmt(...)
6357
6358         * text3.C: add using std::endl
6359
6360         * BufferView.C (moveCursorUpdate): remove default arg
6361
6362 2002-08-20  André Pönitz <poenitz@gmx.net>
6363
6364         * buffer.[Ch]: move inline functions to .C
6365
6366         * BufferView2.C:
6367         * BufferView_pimpl.C:
6368         * text.C:
6369         * buffer.[Ch]: use improved inset_iterator
6370
6371         * buffer.C:
6372         * paragraph.[Ch]: write one paragraph at a time
6373
6374 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
6375
6376         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
6377         style if style is not specified.
6378
6379 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6380
6381         * text2.C (setCounter): when searching for right label for a
6382         caption, make sure to recurse to parent insets (so that a caption
6383         in a minipage in a figure float works) (bug #568)
6384
6385 2002-08-20  André Pönitz <poenitz@gmx.net>
6386
6387         * text3.C: new file for LyXText::dispatch() and helpers
6388
6389         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
6390
6391         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
6392
6393 2002-08-19  André Pönitz <poenitz@gmx.net>
6394
6395         * lyxtext.h:
6396         * text.C: new LyXText::dispatch()
6397
6398         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
6399
6400 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
6401
6402         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
6403
6404         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
6405         Hebrew text.
6406
6407 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6408
6409         * Makefile.am: use $(variables) instead of @substitutions@
6410
6411 2002-08-15  André Pönitz <poenitz@gmx.net>
6412
6413         * lyxfunc.C:
6414         * BufferView_pimpl.C: streamlining mathed <-> outer world
6415         interaction
6416
6417         * commandtags.h:
6418         * LyXAction.C: remove unused LFUN_MATH
6419
6420 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6421
6422         * paragraph.[Ch]: add some NO_NEXT ifdefs.
6423
6424 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6425
6426         * paragraph.C (Paragraph): reformat a bit
6427         (cutIntoMinibuffer): use builtin InsetList function instad of
6428         doing it manually.
6429         (getInset): ditto
6430
6431         * buffer.C: include boost/bind.hpp, add using std::for_each
6432         (writeFileAscii): use ParagraphList iterators
6433         (validate): use for_each for validate traversal of paragraphs
6434         (getBibkeyList): use ParagraphList iterators
6435         (resizeInsets): use for_each to resizeInsetsLyXText for all
6436         paragraphs.
6437         (getParFromID): use ParagraphList iterators
6438
6439         * BufferView2.C (lockInset): use paragraph list and iterators
6440
6441 2002-08-14  John Levon  <levon@movementarian.org>
6442
6443         * lyxserver.C: remove spurious xforms include
6444
6445 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6446
6447         * lyxfunc.C (getStatus): disable math-extern outside of math mode
6448
6449 2002-08-13  André Pönitz <poenitz@gmx.net>
6450
6451         * LyXAction.[Ch]:
6452         * lyxfunc.C: further cleaning
6453
6454 2002-08-13  André Pönitz <poenitz@gmx.net>
6455
6456         * funcrequest.h: new constructor
6457
6458         * funcrequest.C: move stuff here from .h
6459
6460         * Makefile.am:
6461         * BufferView_pimpl.C:
6462         * LyXAction.C:
6463         * toc.C:
6464         * lyxfunc.C: subsequent changes
6465
6466         * lyxfunc.h: new view() member function
6467
6468         * lyxfunc.C: subsequent changes
6469
6470 2002-08-13  Angus Leeming  <leeming@lyx.org>
6471
6472         * BufferView2.C:
6473         * BufferView_pimpl.C:
6474         * buffer.C:
6475         * converter.C:
6476         * importer.C:
6477         * lyxfunc.C:
6478         * lyxvc.C:
6479         * toc.C:
6480         * vc-backend.C:
6481         changes due to the changed LyXView interface that now returns references
6482         to member variables not pointers.
6483
6484 2002-08-13  Angus Leeming  <leeming@lyx.org>
6485
6486         * WordLangTuple (word, lang_code): return references to strings,
6487         not strings.
6488
6489         * BufferView.h:
6490         * SpellBase.h:
6491         * lyxtext.h: forward-declare WordLangTuple.
6492
6493         * BufferView2.C:
6494         * ispell.C:
6495         * pspell.C:
6496         * text.C: #include "WordLangTuple.h".
6497
6498         * lyxtext.h:
6499         * text.C: (selectNextWordToSpellcheck): constify return type.
6500
6501 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
6502
6503         * buffer.C:
6504         * buffer.h:
6505         * lyxtext.h:
6506         * paragraph.C:
6507         * paragraph_pimpl.h:
6508         * text.C:
6509         * text2.C:
6510         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
6511         suggested by Angus.
6512         Made updateCounter always count from start of buffer, and removed
6513         second argument (par).
6514         Reverted floats number display to '#'. Perhaps I'll try again when the
6515         code base is sanitized a bit.
6516
6517 2002-08-12  Angus Leeming  <leeming@lyx.org>
6518
6519         * buffer.[Ch] (getLabelList): constify.
6520
6521 2002-08-07  André Pönitz <poenitz@gmx.net>
6522
6523         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
6524
6525         * funcrequest.h: extension to keep mouse (x,y) position
6526
6527 2002-08-12  Juergen Vigna  <jug@sad.it>
6528
6529         * BufferView2.C (insertErrors): forbid undo when inserting error
6530         insets.
6531
6532         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
6533
6534 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6535
6536         * ParagraphList.[Ch]: new files
6537
6538         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
6539
6540         * BufferView2.C (lockInset): ParagraphList changes
6541         * toc.C: ditto
6542         * text2.C: ditto
6543         * bufferlist.C: ditto
6544         * buffer.h: ditto
6545         * buffer.C: ditto
6546
6547 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6548
6549         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
6550         unused class variable counter_,
6551
6552         * paragraph.[Ch] (getFirstCounter): delete unused function
6553
6554         * counters.C: include LAssert.h
6555         (reset): add a new function with no arg, change other version to
6556         not have def. arg and to not allow empty arg.
6557
6558         * text2.C (setCounter): remove empty arg from call to Counters::reset
6559
6560 2002-08-11  John Levon  <levon@movementarian.org>
6561
6562         * Makefile.am: add WordLangTuple.h
6563
6564 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6565
6566         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
6567         lyxfunc.C lyxlex_pimpl.C: ws changes only.
6568
6569         * insets/insettext.C: InsetList changes
6570
6571         * graphics/GraphicsSupport.C (operator()): InsetList changes
6572
6573         * toc.C (getTocList): InsetList changes
6574
6575         * paragraph_pimpl.[Ch]: InsetList changes
6576
6577         * paragraph.[Ch]: InsetList changes
6578
6579         * buffer.C (inset_iterator): InsetList changes
6580         (setParagraph): ditto
6581         * buffer.h (inset_iterator): ditto
6582         * iterators.C (operator++): ditto
6583         * iterators.h: ditto
6584
6585         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
6586
6587         * InsetList.[Ch]: new files, most InsetList handling moved out of
6588         paragraph.C.
6589
6590         * BufferView2.C (removeAutoInsets): InsetList changes
6591         (lockInset): ditto
6592         (ChangeInsets): ditto
6593
6594 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6595
6596         * paragraph_pimpl.h (empty): new function
6597
6598         * paragraph.[Ch] (empty): new function
6599
6600         * other files: use the new Paragraph::empty function
6601
6602 2002-08-09  John Levon  <levon@movementarian.org>
6603
6604         * lyxtext.h: remove unused refresh_height
6605
6606 2002-08-09  John Levon  <levon@movementarian.org>
6607
6608         * Makefile.am:
6609         * sgml.h:
6610         * sgml.C:
6611         * buffer.C:
6612         * paragraph.h:
6613         * paragraph.C: move sgml char escaping out of paragraph
6614
6615         * paragraph.h:
6616         * paragraph.C: remove id setter
6617
6618         * buffer.C:
6619         * paragraph.C:
6620         * paragraph_pimpl.C: remove dead tex_code_break_column
6621
6622         * bufferview_funcs.C: small cleanup
6623
6624         * lyxfunc.C: remove dead proto
6625
6626         * lyxtext.h: make some stuff private. Remove some dead stuff.
6627
6628         * lyxgluelength.C: make as[LyX]String() readable
6629
6630 2002-08-08  John Levon  <levon@movementarian.org>
6631
6632         * LyXAction.h:
6633         * LyXAction.C:
6634         * MenuBackend.C:
6635         * ToolbarDefaults.C:
6636         * lyxfunc.C:
6637         * lyxrc.C:
6638         * toc.C: lyxaction cleanup
6639
6640 2002-08-08  John Levon  <levon@movementarian.org>
6641
6642         * BufferView2.C: small cleanup
6643
6644         * lyxfind.h:
6645         * lyxfind.C: move unnecessary header into the .C
6646
6647 2002-08-08  John Levon  <levon@movementarian.org>
6648
6649         * funcrequest.h: just tedious nonsense
6650
6651         * lyx_main.h:
6652         * lyx_main.C: cleanups
6653
6654         * buffer.C:
6655         * vspace.C: remove dead header lyx_main.h
6656
6657 2002-08-07  Angus Leeming  <leeming@lyx.org>
6658
6659         * Paragraph.[Ch]:
6660         * paragraph_pimpl.h:
6661         Forward declare class Counters in paragraph.h by moving the ctrs member
6662         variable into Paragraph::Pimpl.
6663         (counters): new method, returning a reference to pimpl_->ctrs.
6664
6665         * text2.C: ensuing changes.
6666
6667 2002-08-07  John Levon  <levon@movementarian.org>
6668
6669         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
6670
6671         * BufferView_pimpl.C: announce X selection on double/triple
6672           click
6673
6674         * lyx_main.C: use correct bool in batch dispatch
6675
6676         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
6677
6678 2002-08-07  André Pönitz <poenitz@gmx.net>
6679
6680         * funcrequest.h: new class to wrap a kb_action and its argument
6681
6682         * BufferView.[Ch]:
6683         * BufferView_pimpl[Ch]:
6684         * LaTeX.C:
6685         * LyXAction.[Ch]:
6686         * lyxfunc.[Ch]:
6687         * lyxrc.C: subsequent changes
6688
6689
6690 2002-08-07  John Levon  <levon@movementarian.org>
6691
6692         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
6693           document options change.
6694
6695 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
6696
6697         * counters.[Ch]
6698         * text2.C
6699         * paragraph.[Ch]
6700         * makefile.am: move counters functionality over from
6701         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
6702
6703 2002-08-06  John Levon  <levon@movementarian.org>
6704
6705         * WordLangTuple.h: new file for word + language code tuple
6706
6707         * SpellBase.h:
6708         * pspell.h:
6709         * pspell.C:
6710         * ispell.h:
6711         * ispell.C:
6712         * lyxtext.h:
6713         * text.C:
6714         * text2.C:
6715         * BufferView.h:
6716         * BufferView2.C: use WordLangTuple
6717
6718         * layout.h:
6719         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
6720
6721 2002-08-06  John Levon  <levon@movementarian.org>
6722
6723         * lyx_main.C: fix cmdline batch handling
6724
6725 2002-08-06  André Pönitz <poenitz@gmx.net>
6726
6727         * lyxrc.C: set default for show_banner to true
6728
6729 2002-08-06  John Levon  <levon@movementarian.org>
6730
6731         * pspell.C: fix a crash, and allow new aspell to work
6732
6733 2002-08-06  John Levon  <levon@movementarian.org>
6734
6735         * lyxfunc.C:
6736         * kbmap.C: small cleanup
6737
6738         * vspace.h:
6739         * vspace.C: add const
6740
6741 2002-08-05  John Levon  <levon@movementarian.org>
6742
6743         * LyXAction.C: back to tabular-insert
6744
6745 2002-08-04  John Levon  <levon@movementarian.org>
6746
6747         * BufferView.h:
6748         * BufferView.C: cosmetic change
6749
6750         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
6751
6752         * bufferlist.C:
6753         * buffer.h:
6754         * buffer.C:
6755         * lyxcb.h:
6756         * lyxcb.C:
6757         * lyxserver.C:
6758         * lyxvc.C:
6759         * vc-backend.C:
6760         * BufferView2.C: purge all "Lyx" not "LyX" strings
6761
6762         * lyxcursor.h:
6763         * lyxcursor.C: attempt to add some documentation
6764
6765         * lyxfunc.C:
6766         * commandtags.h:
6767         * LyXAction.C:
6768         * ToolbarDefaults.C:
6769         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
6770           merge with LFUN_TABULAR_INSERT
6771
6772         * Makefile.am:
6773         * SpellBase.h:
6774         * ispell.h:
6775         * ispell.C:
6776         * pspell.h:
6777         * pspell.C: split up i/pspell implementations into separate
6778           files, many cleanups
6779
6780         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
6781
6782         * text2.C: some cleanup
6783
6784         * lyxfunc.C: don't check for isp_command == "none" any more, it
6785           didn't make any sense
6786
6787 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
6788
6789         * counters.[Ch]
6790         * text2.C
6791         * paragraph.[Ch]
6792         * makefile.am: move counters functionality over
6793         from text2.C/paragraph.[Ch] to counters.[Ch], and
6794         make proper C++.
6795 2002-08-02  John Levon  <levon@movementarian.org>
6796
6797         * buffer.C: s/lyxconvert/lyx2lyx/
6798
6799 2002-08-02  Angus Leeming  <leeming@lyx.org>
6800
6801         * lyxlex.C: revert John's change as it breaks reading of the user
6802         preamble.
6803
6804 2002-08-02  Angus Leeming  <leeming@lyx.org>
6805
6806         * importer.C (Import):
6807         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
6808         changes due to LyXView::view() now returning a boost::shared_ptr.
6809
6810 2002-08-02  John Levon  <levon@movementarian.org>
6811
6812         * lyxlex.C: small cleanup
6813
6814 2002-08-02  John Levon  <levon@movementarian.org>
6815
6816         * text2.C (status): small cleanup, no logic change
6817
6818 2002-08-01  John Levon  <levon@movementarian.org>
6819
6820         * buffer.h:
6821         * buffer.C (writeFile): don't output alerts, caller
6822           handles this
6823
6824         * bufferlist.C:
6825         * lyx_cb.C: from above
6826
6827         * lyxfunc.C: allow to open non-existent files
6828
6829 2002-07-31  John Levon  <levon@movementarian.org>
6830
6831         * lyxserver.C: don't let incidental errors get
6832           in the way (errno)
6833
6834 2002-07-30  John Levon  <levon@movementarian.org>
6835
6836         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
6837
6838 2002-07-30  John Levon  <levon@movementarian.org>
6839
6840         * lyxserver.h:
6841         * lyxserver.C: remove I/O callback too
6842
6843 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6844
6845         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
6846         log.
6847
6848 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6849
6850         * many files: strip,frontStrip -> trim,ltrim,rtrim
6851
6852 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6853
6854         * PrinterParams.h: remove extern containsOnly, and include
6855         support/lstrings.h instead.
6856
6857         * LaTeX.C (scanAuxFile): modify because of strip changes
6858         (deplog): ditto
6859         * buffer.C (makeLaTeXFile): ditto
6860         * bufferparams.C (writeFile): ditt
6861         * lyxfont.C (stateText): ditto
6862         * lyxserver.C (read_ready): ditto
6863         * vc-backend.C (scanMaster): ditto
6864
6865         * BufferView_pimpl.h: ws changes
6866
6867         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
6868
6869 2002-07-26  André Pönitz <poenitz@gmx.net>
6870
6871         * kb_sequence.C: remove unnedred usings
6872
6873 2002-07-26  Juergen Vigna  <jug@sad.it>
6874
6875         * lyxfind.C (LyXReplace): we have to check better if the returned
6876         text is not of theLockingInset()->getLockingInset().
6877
6878 2002-07-25  Juergen Vigna  <jug@sad.it>
6879
6880         * lyxfind.C (LyXReplace): don't replace if we don't get the
6881         right LyXText.
6882
6883         * undo_funcs.C (createUndo): remove debugging code.
6884
6885 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
6886
6887         * buffer.C (parseSingleLyXformat2Token): Use default placement
6888         when reading old floats.
6889
6890         * FloatList.C (FloatList): Change the default placement of figure
6891         and tables to "tbp".
6892
6893 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
6894
6895         * MenuBackend.C: using std::max
6896
6897 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6898
6899         * MenuBackend.C (expandToc):
6900         (expandToc2): code moved from xforms menu frontend. It is now
6901         generic and TOCs are transparent to menu frontends.
6902
6903 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6904
6905         * toc.C (getTocList): protect against buf=0
6906
6907         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
6908         Menu as first parameter. Now, this calls itself recursively to
6909         expand a whole tree (this will be useful for TOC handling)
6910         (expandFloatInsert): remove 'wide' version of floats
6911
6912         * MenuBackend.h (submenuname): returns the name of the submenu.
6913         (submenu): returns the submenu itself, provided it has been
6914         created by MenuBackend::expand
6915
6916 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6917
6918         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
6919         insets which have noFontChange == true. (bug #172)
6920
6921 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6922
6923         * BufferView_pimpl.C: add connection objects and use them...
6924         (Pimpl): here.
6925
6926 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6927
6928         * MenuBackend.C (expandLastfiles):
6929         (expandDocuments):
6930         (expandFormats):
6931         (expandFloatListInsert):
6932         (expandFloatInsert):
6933         (expand): split expand in parts
6934
6935 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6936
6937         * lyx_gui.C: use lyx_gui::exit()
6938
6939 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6940
6941         * LyXAction.C: show the failing pseudo action
6942
6943 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
6944
6945         * buffer.C (readFile): Run the lyxconvert script in order to read
6946         old files.
6947
6948 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6949
6950         * LyXAction.C:
6951         * commandtags.h:
6952         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
6953
6954 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6955
6956         * LyXAction.C:
6957         * commandtags.h:
6958         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
6959
6960 2002-07-22  Herbert Voss  <voss@lyx.org>
6961
6962         * lengthcommon.C:
6963         * lyxlength.[Ch]: add support for the vertical lengths
6964
6965 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
6966
6967         * toc.[Ch]: std:: fixes
6968
6969 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6970
6971         * lyxrc.C: do not include lyx_main.h
6972
6973         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
6974         for layouts
6975
6976         * lyxrc.C:
6977         * encoding.C:
6978         * bufferlist.C:
6979         * BufferView2.C: include "lyxlex.h"
6980
6981         * tabular.h:
6982         * bufferparams.h: do not #include "lyxlex.h"
6983
6984         * lyxtextclasslist.C (Add): remove method
6985         (classlist): renamed to classlist_
6986
6987         * paragraph_pimpl.C:
6988         * paragraph.C:
6989         * text2.C:
6990         * CutAndPaste.C:
6991         * bufferview_funcs.C:
6992         * bufferlist.C:
6993         * text.C:
6994         * LaTeXFeatures.C:
6995         * buffer.C:
6996         * toc.C (getTocList): use BufferParams::getLyXTextClass
6997
6998         * toc.C (getTocList): use InsetFloat::addToToc
6999
7000         * toc.[Ch]: new files, containing helper functions to handle table
7001         of contents
7002
7003         * lyxfunc.C (dispatch): no need to remove spaces around command
7004         given as a string
7005         (getStatus): handle LFUN_SEQUENCE by returning the status of the
7006         first command of the sequence; it is not very clever, but I do not
7007         have a better idea, actually
7008
7009         * LyXAction.C (LookupFunc): make sure to remove space at the
7010         beginning and end of the command
7011
7012 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7013
7014         * MenuBackend.C (getMenubar): new method: return the menubar of
7015         this menu set
7016         (read): treat differently reading of menu and menubar (in
7017         particular, the menubar has no name now)
7018         (Menu::menubar): remove
7019
7020         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7021         saving is finished
7022
7023 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7024
7025         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7026         a bibitem inset in a RTL paragraph.
7027
7028 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
7029
7030         * paragraph_pimpl.C: constify
7031
7032         * BufferView_pimpl.C:
7033         * LaTeX.C:
7034         * lyxfunc.C: fix dispatch in a nicer way
7035
7036 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7037
7038         * lyxfunc.C (dispatch):
7039         * BufferView_pimpl.C:
7040         * BufferView_pimpl.h:
7041         * BufferView.C:
7042         * BufferView.h: rename Dispatch() to dispatch()
7043
7044         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7045
7046         * lyxlayout.C (Read): honor DependsOn tag
7047
7048         * lyxlayout.[Ch] (depends_on): new method
7049
7050         * version.C.in: update lyx_docversion
7051
7052         * LaTeXFeatures.C (getMacros): only define \LyX when needed
7053
7054         * paragraph.C (validate): remove from here...
7055         * paragraph_pimpl.C (validate): ... and move here
7056         (isTextAt): make it const
7057
7058         * buffer.C (getLists): ws cleanup
7059
7060 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7061
7062         * language.C (read): Use iso8859-1 encoding in latex_lang
7063         (this prevents LyX from crashing when using iso10646-1 encoding).
7064
7065 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7066
7067         * text2.C (toggleInset): if cursor is inside an inset, close the
7068         inset and leave cursor _after_ it
7069
7070 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7071
7072         * lyxfunc.C: move minibuffer completion handling out of here
7073
7074 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7075
7076         * BufferView_pimpl.C:
7077         * LaTeX.C: fix dispatch calls
7078
7079 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
7080
7081         * text.C (drawChars): Fix Arabic text rendering.
7082
7083 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
7084
7085         * LyXAction.C:
7086         * commandtags.h:
7087         * lyxfunc.C: remove message-push/pop
7088
7089         * lyxserver.C:
7090         * lyxfunc.h:
7091         * lyxfunc.C: rationalise some code by removing verboseDispatch
7092           in favour of a bool argument to dispatch()
7093
7094 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7095
7096         * lyx_main.C (init): make sure to read symlinks as absolute paths
7097
7098 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7099
7100         * lyxfunc.h:
7101         * lyxfunc.C: no need for commandshortcut to be a member
7102
7103 2002-07-15  André Pönitz <poenitz@gmx.net>
7104
7105         * converter.C: add support for $$s (scripts from lib/scripts dir)
7106         * lyx_main.C: white space
7107
7108 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7109
7110         * bufferlist.C:
7111         * lyxrc.h:
7112         * lyxrc.C: remove second exit confirmation
7113
7114 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7115
7116         * BufferView.h:
7117         * BufferView.C:
7118         * BufferView2.C:
7119         * BufferView_pimpl.h:
7120         * BufferView_pimpl.C:
7121         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
7122
7123 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7124
7125         * MenuBackend.C (expand): add numeric shortcuts to document menu
7126
7127         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
7128
7129 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7130
7131         * lyxfont.C (setLyXFamily):
7132         (setLyXSeries):
7133         (setLyXShape):
7134         (setLyXSize):
7135         (setLyXMisc):
7136         (lyxRead):
7137         * debug.C (value):
7138         * buffer.C (asciiParagraph): use ascii_lowercase
7139
7140 2002-07-15  Mike Fabian  <mfabian@suse.de>
7141
7142         * lyxlex_pimpl.C (search_kw):
7143         * lyxlex.C (getLongString):
7144         * converter.h (operator<):
7145         * converter.C (operator<):
7146         * buffer.C (parseSingleLyXformat2Token):
7147         (asciiParagraph):
7148         * ToolbarDefaults.C (read):
7149         * MenuBackend.C (checkShortcuts):
7150         (read):
7151         * LColor.C (getFromGUIName):
7152         (getFromLyXName): use the compare_ascii_no_case instead of
7153         compare_no_case, because in turkish, 'i' is not the lowercase
7154         version of 'I', and thus turkish locale breaks parsing of tags.
7155
7156 2002-07-16  Angus Leeming  <leeming@lyx.org>
7157
7158         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
7159         now takes a Buffer const & argument.
7160
7161 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
7162
7163         * BufferView.C (resize): check there's a buffer to resize
7164
7165 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
7166
7167         * lyxfunc.C: remove dead code
7168
7169         * lyxserver.h:
7170         * lyxserver.C: use lyx_guii::set_read_callback
7171
7172 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
7173
7174         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
7175         an inset in a RTL paragraph.
7176
7177 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7178
7179         * lyxfunc.C: repaint after a font size update
7180
7181 2002-07-15  André Pönitz <poenitz@gmx.net>
7182
7183         * lyxlength.C: inBP should be able to return negative values
7184
7185 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7186
7187         * lyxfunc.C: use lyx_gui::update_fonts()
7188
7189 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7190
7191         * lyxfunc.C: use lyx_gui::update_color()
7192
7193 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7194
7195         * bufferlist.C:
7196         * lyxfunc.h:
7197         * lyxfunc.C:
7198         * lyxrc.h:
7199         * lyxrc.C: remove file->new asks for name option, and let
7200           buffer-new take an argument
7201
7202 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7203
7204         * BufferView_pimpl.C: remove unneeded extra repaint()
7205
7206 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
7207
7208         * LyXAction.C: allow command-sequence with NoBuffer
7209
7210         * lyxfunc.C: don't insist on trailing ';' for command-sequence
7211
7212 2002-07-10  Angus Leeming  <leeming@lyx.org>
7213
7214         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7215
7216 2002-07-09  Angus Leeming  <leeming@lyx.org>
7217
7218         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7219
7220 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7221
7222         * lengthcommon.h: whitespace
7223
7224         * lyxfunc.C: update scrollbar after goto paragraph
7225
7226         * lyxtext.h: factor out page break drawing, and fix it so
7227           page break/added space paints as selected nicely
7228
7229 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7230
7231         * BufferView_pimpl.C: add FIXMEs, clean up a little
7232
7233 2002-07-09  André Pönitz <poenitz@gmx.net>
7234
7235         * lyxfont.[Ch]: support for wasy symbols
7236
7237 2002-07-08  André Pönitz <poenitz@gmx.net>
7238
7239         * BufferView_pimpl.C: apply John's patch for #93.
7240
7241 2002-07-05  Angus Leeming  <leeming@lyx.org>
7242
7243         * BufferView_pimpl.C (buffer): generate previews if desired.
7244
7245         * LColor.h: add "preview" to the color enum.
7246
7247         * LColor.C (LColor): add a corresponding entry to the items array.
7248
7249         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7250         with this buffer.
7251
7252 2002-07-05  Angus Leeming  <leeming@lyx.org>
7253
7254         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7255         The body of the code is now in the method that is passed an ostream &
7256         rather than a file name.
7257         Pass an additional only_preamble parameter, useful for the forthcoming
7258         preview stuff.
7259
7260 2002-07-03  André Pönitz <poenitz@gmx.net>
7261
7262         * lyxfunc.C: simplify getStatus() a bit for math stuff
7263
7264 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7265
7266         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7267
7268 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7269
7270         * text.C (changeRegionCase): do not change case of all the
7271         document when region ends at paragraph end (bug #461)
7272
7273 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7274
7275         * paragraph.C (startTeXParParams):
7276         (endTeXParParams): add \protect when necessary
7277
7278 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7279
7280         * BufferView_pimpl.C (workAreaExpose): remove warning
7281
7282 2002-06-27  Angus Leeming  <leeming@lyx.org>
7283
7284         * Makefile.am: add lyxlayout_ptr_fwd.h.
7285
7286 2002-06-26  André Pönitz <poenitz@gmx.net>
7287
7288         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7289
7290 2002-06-25  Angus Leeming  <leeming@lyx.org>
7291
7292         * lyxfunc.C (dispatch): Comment out the call to
7293         grfx::GCache::changeDisplay. The method no longer exists now that the
7294         pixmap generation part of the graphics loader has been moved into
7295         InsetGraphics.
7296
7297 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7298
7299         * text2.C: layout as layout
7300
7301         * text.C: layout as layout
7302
7303         * tabular.C (OldFormatRead): layout as layout
7304
7305         * paragraph_pimpl.C (TeXDeeper): layout as layout
7306         (realizeFont): layout as layout
7307
7308         * paragraph.C (writeFile): layout as layout
7309         (validate): layout as layout
7310         (getFont): layout as layout
7311         (getLabelFont): layout as layout
7312         (getLayoutFont): layout as layout
7313         (breakParagraph): layout as layout
7314         (stripLeadingSpaces): layout as layout
7315         (getEndLabel): layout as layout
7316         (getMaxDepthAfter): layout as layout
7317         (applyLayout): layout as layout
7318         (TeXOnePar): layout as layout
7319         (simpleTeXOnePar): layout as layout
7320         (TeXEnvironment): layout as layout
7321         (layout): layout as layout
7322         (layout): layout as layout
7323
7324         * lyxtextclass.C (compare_name): new functor to work with
7325         shared_ptr, layout as layout
7326         (Read): layout as layout
7327         (hasLayout): layout as layout
7328         (operator): layout as layout
7329         (delete_layout): layout as layout
7330         (defaultLayout): layout as layout
7331
7332         * lyxlayout_ptr_fwd.h: new file
7333
7334         * lyxlayout.C (Read): layout as layout
7335
7336         * lyx_cb.C (MenuInsertLabel): layout as layout
7337
7338         * bufferlist.C (newFile): layout as layout
7339
7340         * buffer.C (readLyXformat2): layout as layout
7341         (parseSingleLyXformat2Token): layout as layout
7342         (insertStringAsLines): layout as layout
7343         (asciiParagraph): layout as layout
7344         (latexParagraphs): layout as layout
7345         (makeLinuxDocFile): layout as layout
7346         (simpleLinuxDocOnePar): layout as layout
7347         (makeDocBookFile): layout as layout
7348         (simpleDocBookOnePar): layout as layout
7349         (getLists): layout as layout
7350
7351         * LaTeXFeatures.C (getTClassPreamble): layout as layout
7352
7353         * CutAndPaste.C (cutSelection): layout as layout
7354         (pasteSelection): layout as layout
7355         (SwitchLayoutsBetweenClasses): layout as layout
7356
7357         * BufferView_pimpl.C (Dispatch): layout as layout
7358         (smartQuote): layout as layout
7359
7360         * BufferView2.C (unlockInset): layout as layout
7361
7362 2002-06-24  André Pönitz <poenitz@gmx.net>
7363
7364         * lyxfunc.C: fix #487
7365
7366 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7367
7368         * lyxrc.h:
7369         * lyxrc.C:
7370         * lyxfunc.C: remove display_shortcuts, show_banner
7371
7372 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7373
7374         * Buffer_pimpl.C: oops, update on resize
7375
7376 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7377
7378         * buffer.C:
7379         * converter.C:
7380         * exporter.C:
7381         * lyxfunc.C:
7382         * BufferView.h:
7383         * BufferView.C: use repaint()
7384
7385         * BufferView_pimpl.h:
7386         * BufferView_pimpl.C: s/updateScreen()/repaint()/
7387           as it's a clearer description. Remove superfluous
7388           redraws.
7389
7390 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7391
7392         * text.C: fix bug 488. Not ideal, but getting
7393           getWord() to work properly for the insets that
7394           matter is more difficult ...
7395
7396 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7397
7398         * BufferView_pimpl.C:
7399         * LyXAction.C:
7400         * commandtags.h:
7401         * lyxfunc.C: remove the six million index lyxfuncs to just
7402           one, and DTRT (bug 458)
7403
7404 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7405
7406         * BufferView.h:
7407         * BufferView.C:
7408         * BufferView_pimpl.h:
7409         * BufferView_pimpl.C: clean up resize() stuff,
7410           and unnecessary updateScreen()s
7411
7412 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7413
7414         * BufferView.h:
7415         * BufferView.C:
7416         * BufferView_pimpl.h:
7417         * BufferView_pimpl.C:
7418         * lyxfind.h:
7419         * lyxfind.C:
7420         * minibuffer.C: remove focus management of workarea,
7421           not needed. Use screen's greyOut()
7422
7423 2002-06-17  Herbert Voss  <voss@lyx.org>
7424
7425         * converter.C: (convert) do not post a message, when converting
7426         fails, let the calling function decide what to do in this case
7427
7428 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
7429
7430         * lyxfunc.C: tidy up a little
7431
7432 2002-06-16    <alstrup@diku.dk>
7433
7434         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
7435         Got rid of FORMS_H_LOCATION include. Now we are
7436         GUII.
7437
7438 2002-06-15  LyX Development team  <lyx@rilke>
7439
7440         * buffer.[Ch] (sgmlOpenTag):
7441         (sgmlCloseTag): Added support for avoiding pernicious mixed
7442         content. Return number of lines written.
7443
7444         (makeLinuxDocFile):
7445         (makeDocBookFile): Fixed calls to sgml*Tag.
7446         Simple white space clean.
7447
7448         (simpleDocBookOnePar): Simple white space clean.
7449
7450         * tabular.[Ch] (docBook): Renamed to docbook and got another
7451         argument to related with the pernicious mixed content.
7452
7453         (docbookRow): Fixed calls for docbook inset method.
7454
7455 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
7456
7457         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
7458         so it's X11 independent.
7459
7460         * kb*.[Ch]: ditto.
7461
7462         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
7463
7464 2002-06-15  Lyx Development team  <lyx@electronia>
7465
7466         * intl.h: Renamed getTrans to getTransManager.
7467
7468 2002-06-14  Angus Leeming  <leeming@lyx.org>
7469
7470         * Makefile.am: nuke forgotten stl_string_fwd.h.
7471
7472 2002-06-12  Angus Leeming  <leeming@lyx.org>
7473
7474         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
7475
7476 2002-06-13  Angus Leeming  <leeming@lyx.org>
7477
7478         * LaTeX.C:
7479         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
7480
7481 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
7482
7483         * kbmap.C (getiso): add support for cyrillic and greek
7484
7485 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7486
7487         * BufferView.h:
7488         * BufferView.C:
7489         * BufferView_pimpl.h:
7490         * BufferView_pimpl.C: move bogus scrolling logic
7491           to xforms
7492
7493 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7494
7495         * lyxfunc.C:
7496         * BufferView_pimpl.C: view->resize() change
7497
7498 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7499
7500         * BufferView_pimpl.C: topCursorVisible
7501           prototype change
7502
7503 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7504
7505         * Makefile.am:
7506         * lyx_gui.h:
7507         * lyx_gui.C: move to frontends/
7508
7509         * main.C:
7510         * lyx_main.h:
7511         * lyx_main.C: changes from above
7512
7513 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7514
7515         * intl.C:
7516         * intl.h:
7517         * kbmap.C:
7518         * kbsequence.C:
7519         * lyx_cb.C:
7520         * lyx_main.C: minor tidy
7521
7522 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7523
7524         * BufferView_pimpl.h:
7525         * BufferView_pimpl.C:
7526         * BufferView.h:
7527         * BufferView.C: make painter() const,
7528           remove dead code
7529
7530         * BufferView2.C: use screen() accessor
7531
7532         * lyx_main.h:
7533         * lyx_main.C: some minor cleanup
7534
7535 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7536
7537         * BufferView_pimpl.h:
7538         * BufferView_pimpl.C: remove enter/leaveView,
7539           use workHeight()
7540
7541 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7542
7543         * BufferView.h:
7544         * BufferView.C:
7545         * BufferView2.C:
7546         * BufferView_pimpl.h:
7547         * BufferView_pimpl.C: only construct screen once,
7548           rename
7549
7550         * lyxrc.C: remove pointless comment
7551
7552 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
7553
7554         * BufferView.h:
7555         * BufferView.C: remove active() and belowMouse()
7556
7557         * BufferView_pimpl.h:
7558         * BufferView_pimpl.C: use workarea() not workarea_,
7559           and make it use a scoped_ptr instead
7560
7561 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
7562
7563         * lyx_gui.C: add debug message on BadWindow
7564
7565 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7566
7567         * sp_spell.C: fdopen is not part of the C++ standard.
7568
7569         * paragraph.C (InsetIterator): use >= instead of ==
7570
7571 2002-06-07  Angus Leeming  <leeming@lyx.org>
7572
7573         Fixes needed to compile with Compaq cxx 6.5.
7574         * BufferView_pimpl.C:
7575         * DepTable.C:
7576         * buffer.C:
7577         * converter.C:
7578         * encoding.C:
7579         * lyx_gui.C:
7580         * lyx_main.C:
7581         * lyxtextclasslist.C:
7582         * minibuffer.C:
7583         * sp_spell.C:
7584         * tabular_funcs.C:
7585         * vc-backend.C:
7586         all c-library variables have been moved into namespace std. Wrap
7587         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
7588
7589         * lyxlength.C:
7590         * tabular-old.C:
7591         * tabular.C:
7592         Add a using std::abs declaration.
7593
7594         * kbmap.h (modifier_pair):
7595         * paragraph.h (InsetTable, InsetList):
7596         * lyxfont.h (FontBits):
7597         type definition made public.
7598
7599         * bufferlist.C (emergencyWriteAll): the compiler complains that
7600         there is more than one possible lyx::class_fun template to choose from.
7601         I re-named the void specialisation as lyx::void_class_fun.
7602
7603         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
7604
7605         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
7606         the compiler is is unable to find tostr in write_attribute.
7607
7608 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7609
7610         * buffer.C (sgmlError): hide #warning
7611
7612 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7613
7614         * xtl/*: get rid of xtl, which is not in use anyway
7615
7616         * LyXAction.C (init):
7617         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
7618         were unimplemented xtl experimentation
7619
7620 2002-06-04  André Pönitz <poenitz@gmx.net>
7621
7622         * lyxfunc.C: disable array operation on simple formulae
7623
7624 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
7625
7626         * converter.C: constify a bit
7627
7628 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
7629
7630         * lyx_gui.C: check xforms version correctly
7631
7632 2002-04-30  Herbert Voss  <voss@lyx.org>
7633
7634         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
7635         "keep" option
7636
7637 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
7638
7639         * lyxvc.C: fix bug 416 (make sure buffer is saved before
7640           attempt to register it with a VCS)
7641
7642 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7643
7644         * lyx_main.C (init): honor variables LYX_DIR_13x and
7645         LYX_USERDIR_13x
7646
7647 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
7648
7649         * buffer.h:
7650         * buffer.C:
7651         * lyx_main.C: fix a crash on bad command line,
7652           and give a useful exit status on error
7653
7654         * lyxfunc.C (doImport): allow -i lyx to work
7655
7656 2002-03-30  André Pönitz <poenitz@gmx.net>
7657
7658         * lyxfunc.C: mathed font changes
7659
7660 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
7661
7662         * LaTeX.C:
7663         * importer.h:
7664         * importer.C:
7665         * lyx_sty.h:
7666         * lyx_sty.C:
7667         * lyxlex.C:
7668         * lyxrow.h:
7669         * lyxtext.h:
7670         * paragraph.h:
7671         * paragraph.C:
7672         * texrow.h:
7673         * texrow.C:
7674         * text.C:
7675         * trans_mgr.h: srcdocs, and some minor cleanups
7676
7677 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7678
7679         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
7680         call getFont all the time)
7681
7682 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7683
7684         * switch from SigC signals to boost::signals
7685
7686 2002-05-29  André Pönitz <poenitz@gmx.net>
7687
7688         * paragraph_pimpl.C (getChar): don't call size() too often...
7689
7690 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7691
7692         * paragraph_pimpl.C (insertChar): do not try to update tables when
7693         appending (pos == size())
7694
7695         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
7696         in order to reduce drastically the number of comparisons needed to
7697         parse a large document
7698
7699 2002-05-29  André Pönitz <poenitz@gmx.net>
7700
7701         * text.C:
7702         * text2.C:
7703         * lyxtextclass.C:
7704         * sp_pspell.h:
7705         * textclasslist.[Ch]:
7706         * sp_ispell.h: whitespace change
7707
7708 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7709
7710         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
7711         lyxaction directly now.
7712
7713 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
7714
7715         * trans.C:
7716         * lyxfont.C:
7717         * lyxvc.C: remove unused headers
7718
7719 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
7720
7721         * Makefile.am:
7722         * buffer.h:
7723         * undostack.h:
7724         * undostack.C:
7725         * undo_funcs.h:
7726         * undo_funcs.C: some cleanups. Use shared_ptr
7727           and a template for the undo stacks.
7728
7729 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
7730
7731         * BufferView_pimpl.h:
7732         * BufferView_pimpl.C:
7733         * kbmap.h:
7734         * kbmap.C:
7735         * kbsequence.h:
7736         * kbsequence.C:
7737         * lyxfunc.h:
7738         * lyxfunc.C:
7739         * text2.C: use key_state/mouse_state
7740
7741 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7742
7743         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
7744         and LSubstring
7745
7746         * chset.C: change include order
7747         (loadFile): use boost regex and get rid of LRegex and LSubstring
7748
7749         * Makefile.am (BOOST_LIBS): new variable
7750         (lyx_LDADD): use it
7751
7752         * LaTeX.C: change include order.
7753         (scanAuxFile): use boost regex and get rid of LRegex and
7754         LSubstring
7755         (deplog): ditto
7756
7757 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
7758
7759         * ColorHandler.h:
7760         * ColorHandler.C:
7761         * FontInfo.h:
7762         * FontInfo.C: moved to frontends/xforms/
7763
7764         * FontLoader.h:
7765         * FontLoader.C: moved into frontends for GUIIzation
7766
7767         * Makefile.am:
7768         * lyx_gui.C:
7769         * lyxfont.C:
7770         * lyxfunc.C: changes from above
7771
7772 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
7773
7774         * LColor.C: remove spurious X include
7775
7776         * BufferView_pimpl.C:
7777         * Makefile.am:
7778         * font.h:
7779         * font.C:
7780         * text.C:
7781         * text2.C: move font metrics to frontends/
7782
7783 2002-05-24  Juergen Vigna  <jug@sad.it>
7784
7785         * undo_funcs.C (textHandleUndo): fix the cursor selection after
7786         setting the undo_cursor.
7787
7788         * ParagraphParameters.h: include local includes first.
7789
7790 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7791
7792         * BufferView_pimpl.C:
7793         * BufferView_pimpl.h:
7794         * Makefile.am:
7795         * WorkArea.h:
7796         * WorkArea.C:
7797         * screen.C: move WorkArea into frontends/
7798
7799         * lyxscreen.h:
7800         * screen.C:
7801         * text.C:
7802         * BufferView.C:
7803         * BufferView2.C: move LyXScreen into frontends/
7804
7805         * lyxlookup.h:
7806         * lyxlookup.C:
7807         * lyx_gui.C: move lyxlookup into frontends/xforms/
7808
7809 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7810
7811         * BufferView2.C:
7812         * BufferView_pimpl.C:
7813         * FontLoader.C:
7814         * LyXView.h:
7815         * LyXView.C:
7816         * Makefile.am:
7817         * WorkArea.C:
7818         * XFormsView.h:
7819         * XFormsView.C:
7820         * buffer.C:
7821         * bufferlist.C:
7822         * bufferview_funcs.C:
7823         * converter.C:
7824         * importer.C:
7825         * lyx_cb.C:
7826         * lyx_gui.C:
7827         * lyx_main.C:
7828         * lyx_find.C:
7829         * lyxfunc.C:
7830         * lyxvc.C:
7831         * minibuffer.C:
7832         * text.C:
7833         * text2.C:
7834         * trans.C:
7835         * vc-backend.C: move LyX/XFormsView into frontends/
7836
7837 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7838
7839         * Makefile.am:
7840         * PainterBase.C:
7841         * PainterBase.h:
7842         * Painter.C:
7843         * Painter.h:
7844         * WorkArea.C:
7845         * WorkArea.h:
7846         * screen.C:
7847         * tabular.C:
7848         * text.C:
7849         * text2.C: move Painter to frontends/
7850
7851 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7852
7853         * buffer.C: comment out some some code that depend upon lyx_format
7854         < 220
7855
7856         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
7857         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
7858
7859         * buffer.h (NO_COMPABILITY): turn off compability
7860
7861         * ColorHandler.C: include scoped_array.hpp
7862
7863         * font.C: Use more specific smart_ptr header.
7864         * Painter.C: ditto
7865         * gettext.C: ditto
7866         * ShareContainer.h: ditto
7867         * lyx_main.h: ditto
7868         * kbmap.h: ditto
7869         * FontInfo.h: ditto
7870         * BufferView_pimpl.h: ditto
7871         * ColorHandler.h: ditto
7872
7873         * kbmap.C (defkey): change call to shared_ptr::reset
7874
7875 2002-05-21  Juergen Vigna  <jug@sad.it>
7876
7877         * buffer.C (insertErtContents): fix to insert ert asis if it is
7878         non empty. Skip it completely if it contains only whitespaces.
7879
7880 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
7881
7882         * BufferView_pimpl.C:
7883         * BufferView2.C: clear selection on paste (bug 393)
7884
7885 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7886
7887         * DepTable.C: include ctime
7888
7889 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
7890
7891         * buffer.C (latexParagraphs): Add new argument (moving_arg).
7892
7893 2002-05-14  Juergen Vigna  <jug@sad.it>
7894
7895         * text.C (breakParagraph): fixed function to honor the keepempty
7896         layout in the right maner and also to permit the right breaking
7897         algorithm on empty or non empyt keepempty paragraphs.
7898
7899         * paragraph.C (breakParagraph): we have to check also if the par
7900         is really empty (!size()) for isempty otherwise we do the wrong
7901         paragraph break.
7902
7903 2002-05-10  Juergen Vigna  <jug@sad.it>
7904
7905         * buffer.[Ch] : The following are only changes to the ert
7906         compatibility read reading old LaTeX layout and font stuff and
7907         convert it to ERTInsets.
7908
7909         * buffer.h: added isErtInset().
7910
7911         * buffer.C (struct ErtComp): add a fromlayout bool to check
7912         if we're inside a LaTeX layout.
7913         (isErtInset): new helper function.
7914         (insertErtContents): look for other ert insets before this one
7915         and insert the contents there, so that we don't have subsequent
7916         ERT insets with nothing between them. This way we create only one
7917         inset with multiple paragraphs. Also check if we don't insert only
7918         spaces ' ' as they are ignored anyway afterwards in the .tex file
7919         so if we have only spaces we will ignore this latex part in the
7920         new file.
7921         (parseSingleLyXformat2Token \\layout): better compatibility when
7922         reading layout-latex stuff.
7923         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
7924         language tag.
7925         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
7926         stuff after reading the inset only get the information back from
7927         the stack.
7928
7929 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
7930
7931         * buffer.C (makeLaTeXFile): Put language options after loading babel.
7932
7933         * LaTeXFeatures.C (getBabelOptions): New method.
7934
7935 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7936
7937         * BufferView_pimpl.C (Dispatch): work around missing argument for
7938         'layout'
7939
7940 2002-05-08  Juergen Vigna  <jug@sad.it>
7941
7942         * text.C (leftMargin): handle paragraph leftindent.
7943
7944         * paragraph.C (writeFile): write the new \\leftindent tag.
7945         (validate): handle leftindent code.
7946         (TeXEnvironment): handle paragraphleftindent code again.
7947
7948         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
7949
7950         * buffer.C (parseSingleLyXformat2Token): added compatibility code
7951         for paragrap_extra indent code and new token \\leftindent.
7952         (latexParagraphs): handle the leftindent as environment.
7953
7954         * ParameterStruct.h: added leftindent support.
7955
7956         * ParagraphParameters.C (leftIndent): added support functions for
7957         the paragraph left indent.
7958
7959         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
7960         more appropriate.
7961
7962 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
7963
7964         * paragraph.C (isRightToLeftPar): Return false for a paragraph
7965         inside insetERT.
7966
7967         * text.C (computeBidiTables): No bidi in insetERT.
7968
7969         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
7970         in RTL documents.
7971
7972 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7973
7974         * version.C.in: pre 5
7975
7976 2002-05-02  José Matos  <jamatos@fep.up.pt>
7977         * buffer.C (makeDocBookFile): white space changes, add newline to
7978         command styles.
7979         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
7980
7981         * tabular.C (docBook): fix typo.
7982
7983 2002-05-03  Juergen Vigna  <jug@sad.it>
7984
7985         * screen.C (drawFromTo): recalculate the rowpointer if we had a
7986         change in LyXText as we can not be sure it was not freed.
7987         (drawOneRow): remove unused code.
7988
7989         * text.C (drawInset): redo the calculation of the need_break_row as
7990         it could have a row which was already freed.
7991         (draw): look at the return value of drawInset and return false if
7992         it also returned false.
7993         (paintRowText): look at the return value of draw and return false if
7994         it also returned false.
7995
7996         * lyxtext.h: added bool return type to drawInset() and draw() so that
7997         if we have a change in the row so that the rowbreak has to be redone
7998         we abort drawing as it will be called again.
7999
8000 2002-05-02  Juergen Vigna  <jug@sad.it>
8001
8002         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8003         a change in the maintext also if we're inside an inset.
8004         (Dispatch): set the cursor again after a break line and after the
8005         screen has been updated as it could be we're in a different row.
8006
8007         * text2.C (fixCursorAfterDelete): check to make sure we don't request
8008         to set the cursor behind the pargraph with > size().
8009         (setCursor): check also for the same paragraph when checking where
8010         to put the cursor if we have a NFR inset.
8011
8012         * buffer.C (parseSingleLyXformat2Token): move the compatibility
8013         parts of layout read further up as it still was in the wrong
8014         position.
8015
8016 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8017
8018         * screen.C (drawFromTo): change sine fullRebreak always return
8019         true.
8020
8021         * buffer.C (parseSingleLyXformat2Token): reindent some
8022
8023         * BufferView_pimpl.C (update): change since fullRebreak always
8024         return true.
8025         (Dispatch): git rid of the last hardcoded "Standard"s.
8026
8027 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8028
8029         * text2.[Ch] (fullRebreak): make it return void now that we always
8030         returned true.
8031
8032 2002-04-30  Juergen Vigna  <jug@sad.it>
8033
8034         * buffer.C (parseSingleLyXformat2Token): reset the font before the
8035         ert compatibility check for "latex" layout.
8036
8037 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
8038
8039         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8040         minipages: use col% instead of p%, and also use the current font.
8041         (makeLaTeXFile): Fix use babel condition.
8042         (parseSingleLyXformat2Token): Correct font when reading old floats.
8043
8044 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
8045
8046         * BufferView_pimpl.C (Dispatch): Check that float type exists when
8047         inserting list of floats.
8048
8049 2002-04-25  Herbert Voss  <voss@lyx.org>
8050
8051         * MenuBackend.C (expand): don't add the graphics extensions to the
8052         export menu
8053
8054 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8055
8056         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8057         non-existing layout, do not complain if it was the default layout
8058         of the original class (bug #342)
8059
8060 2002-04-24  Juergen Vigna  <jug@sad.it>
8061
8062         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
8063         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
8064
8065 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
8066
8067         * buffer.C (getBibkeyList): If using \bibliography, return the
8068         option field with the reference itself. Enables us to provide natbib
8069         support when using \bibliography.
8070
8071 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
8072
8073         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
8074
8075         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8076         natbib is provided by the LaTeX class.
8077
8078 2002-04-23  Juergen Vigna  <jug@sad.it>
8079
8080         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
8081         Wakeup functions.
8082
8083         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
8084
8085 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8086
8087         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
8088
8089         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
8090         ensuremath around textordmasculine, textordfeminine and
8091         textdegree.
8092
8093 2002-04-19  Juergen Vigna  <jug@sad.it>
8094
8095         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
8096         reinitializing the buffer otherwise row-dimensions may be wrong.
8097         (update): reset also the selection cursors if they do exits otherwise
8098         their x/y positions may be wrong.
8099
8100         * text2.C (cursorDown): don't enter the inset if we came from a row
8101         above and are one row over the inset.
8102
8103         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
8104         really leaving an inset.
8105
8106 2002-04-18  Juergen Vigna  <jug@sad.it>
8107
8108         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
8109         of the selected paragraph does not have the selected layout also if
8110         the last one had!
8111
8112         * text2.C (setLayout): fixed bug which did not change last selected
8113         paragraph.
8114
8115         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
8116         changed the read and substituted \\end_float with \\end_inset!
8117
8118         * BufferView_pimpl.C (cursorPrevious):
8119         (cursorNext): fixed to make it work with rows heigher than the work
8120         area without moving the cursor only the draw of the row.
8121         (workAreaMotionNotify): fix jumping over high rows.
8122
8123 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8124
8125         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
8126         Ressler.
8127
8128 2002-04-16  Juergen Vigna  <jug@sad.it>
8129
8130         * text2.C (setCursor): set also the irow().
8131         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
8132         (cursorUp):
8133         (cursorDown): support for locking an inset if the x_fix value goes
8134         inside it. That way I can transverse insets too with cursor up/down.
8135
8136         * lyxrow.h: added irow helper function same as other (i) functions.
8137
8138         * BufferView_pimpl.C (cursorPrevious):
8139         (cursorNext): fixed for insets!
8140
8141 2002-04-15  Juergen Vigna  <jug@sad.it>
8142
8143         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
8144         position otherwise it is wrong in some cases.
8145
8146         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
8147         inside the inset before the call.
8148
8149 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
8150
8151         * buffer.[Ch] (getBibkeyList): make it const.
8152
8153 2002-04-12  Juergen Vigna  <jug@sad.it>
8154
8155         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
8156
8157         * text2.C (getCursorX): new helper function
8158         (setCursor): compute also ix_
8159         (setCursorFromCoordinates): set also ix.
8160
8161         * lyxcursor.h: added ix_ and helper functions.
8162
8163         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8164
8165         * buffer.C (insertStringAsLines): dont break paragraph if the this
8166         paragraph is inside an inset which does not permit it!
8167
8168         * text.C (breakParagraph): honor keepempty flag and break the paragraph
8169         also with no chars on this paragraph.
8170         (paintRowText): only paint stuff if it's inside the workarea!
8171
8172         * paragraph.C (breakParagraph): honor keepempty flag and break the
8173         paragraph always below not above.
8174
8175         * BufferView2.C (unlockInset): update the paragraph layout on inset
8176         unlock as we changed paragraph in such a case.
8177
8178         * lyxfind.C (LyXFind): clear the former selection if not found!
8179
8180         * text2.C (insertInset): freeze Undo after setUndo so that it is not
8181         again called in insertChar().
8182
8183         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8184         an inset which uses the whole row!
8185         (rightMargin): ditto.
8186         (insertChar): force a rebreak if we inserted an inset!
8187
8188 2002-03-28  Herbert Voss  <voss@lyx.org>
8189
8190         * lyxlength.[Ch]: add inBP() to get the right PS-point
8191         units (BigPoint). With inPixels we have rounding errors
8192
8193 2002-04-11  Juergen Vigna  <jug@sad.it>
8194
8195         * text2.C (setCursorFromCoordinates): set iy to the right value.
8196         (setCursor): add check if row->previous exists!
8197
8198         * buffer.C (parseSingleLyXformat2Token): reset font after read of
8199         an old float_type as this was the case in the old code!
8200
8201         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8202
8203         * BufferView2.C (showLockedInsetCursor): use iy
8204         (fitLockedInsetCursor): ditto
8205
8206         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8207         locked insets as there we have the right value now.
8208
8209         * lyxcursor.C: added iy_ variable and iy functions to set to the
8210         baseline of cursor-y of the locked inset.
8211
8212         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8213         (setCursor): fixed for insets which need a full row.
8214
8215         * text.C (rowLastPrintable): don't ignore the last space when before
8216         an inset which needs a full row.
8217         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8218         as last character of a row when before a inset which needs a full row.
8219
8220 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8221
8222         * version.C.in: update date
8223
8224         * text2.C (fullRebreak): try to always return true and see what
8225         happens...
8226
8227 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8228
8229         * MenuBackend.C (expand): use Floating::listName
8230
8231         * FloatList.C (FloatList): add listName argument to the built-in
8232         floats
8233
8234         * Floating.[Ch]: add listName member, which is the 'List of XXX'
8235         text associated with the float.
8236
8237 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8238
8239         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8240
8241 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8242
8243         * ShareContainer.h: add a couple of missing typenames.
8244
8245 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
8246
8247         * lyxrc.C (getDescription): use _() correctly rather than N_().
8248
8249 2002-03-28  Herbert Voss  <voss@lyx.org>
8250
8251         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8252         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8253
8254 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8255
8256         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8257         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8258
8259 2002-03-29  Juergen Vigna  <jug@sad.it>
8260
8261         * lyxfunc.C (dispatch): add a missing fitCursor call.
8262
8263         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8264         it was scrolled by a cursor move, so return the bool status.
8265
8266         * BufferView.C (fitCursor): return the bool flag also to the outside
8267         world as this is needed.
8268
8269         * screen.C (toggleToggle): don't subtract the offset if it's positive.
8270
8271         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8272         call the edit() as it is not needed (and wrong) IMO.
8273         (workAreaButtonPress): set the screen_first variable before evt.
8274         unlock the inset as this may change screen_first and then we have
8275         a wrong y position for the click!
8276
8277 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8278
8279         * MenuBackend.C (expand): another translation that I missed
8280
8281 2002-03-28  Juergen Vigna  <jug@sad.it>
8282
8283         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8284
8285         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8286
8287 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8288
8289         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8290
8291         * MenuBackend.C (expand): fix export/view/update when there is no
8292         document open.
8293
8294 2002-03-27  Herbert Voss  <voss@lyx.org>
8295
8296         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8297         and text%
8298
8299 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8300
8301         * bufferview_funcs.C (currentState): only show paragraph number
8302         for is DEVEL_VERSION is set.
8303
8304         * lyxfunc.C (dispatch): put warning in INFO channel
8305
8306         * MenuBackend.C (expand): translate the name of floats
8307
8308         * FloatList.C (FloatList): mark the float names for translation
8309
8310         * converter.C (convert): use LibScriptSearch
8311
8312 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8313
8314         * MenuBackend.C (defaults): fix default menu (we might as well get
8315         rid of it...)
8316
8317 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8318
8319         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8320         directory.
8321
8322 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8323
8324         * lyxvc.C: reorder includes.
8325
8326 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
8327
8328         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8329           properly
8330
8331 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
8332
8333         * CutAndPaste.C: change layouts earlier on paste
8334           to avoid crashing when calling getFont()
8335
8336 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
8337
8338         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
8339         irritating #error.
8340
8341 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8342
8343         * WorkArea.C: remove 'Pending' debug message.
8344
8345         * most files: ws cleanup
8346
8347         * buffer.[Ch]: ws changes
8348
8349         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
8350
8351 2002-03-21  Juergen Vigna  <jug@sad.it>
8352
8353         * tabular.C (SetMultiColumn): collapse also the contents of the
8354         cells and set the last border right. Added a Buffer const * param.
8355
8356 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8357
8358         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
8359         linking or not.
8360
8361 2002-03-19  Juergen Vigna  <jug@sad.it>
8362
8363         * text2.C (clearSelection): reset also xsel_cache.
8364
8365         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
8366         where it needs to be called (John tells us to do so too :)
8367         (selectionLost): reset sel_cache.
8368
8369         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
8370
8371 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8372
8373         * text2.C (setCursorIntern): put debuging code in INSETS channel
8374
8375 2002-03-19  André Pönitz <poenitz@gmx.net>
8376
8377         * lyxfunc.C: tiny whitespace change
8378
8379 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8380
8381         * ToolbarDefaults.C (init):
8382         * LyXAction.C (init):
8383         * commandtags.h:
8384         * BufferView_pimpl.C (Dispatch):
8385         * lyxfunc.C (dispatch): remove LFUN_DEPTH
8386
8387 2002-03-19  Allan Rae  <rae@lyx.org>
8388
8389         * exporter.C (Export): removeAutoInsets before doing anything else.
8390         While I've just introduced a dependency on BufferView this really is
8391         the best place to clean the buffer otherwise you need to cleanup in
8392         a dozen places before calling export or cleanup in a dozen functions
8393         that export calls.
8394
8395         * converter.C (runLaTeX):
8396         (scanLog): Better handling of removeAutoInsets and screen updates.
8397
8398         * lyxfunc.C (dispatch): small whitespace changes
8399
8400 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8401
8402         * WorkArea.C (C_WorkAreaEvent): return a value.
8403         (event_cb): return 1 if we handled the event, 0 otherwise.
8404
8405         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
8406
8407 2002-03-18  Juergen Vigna  <jug@sad.it>
8408
8409         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
8410         (GetAdditionalWidth): ditto.
8411         (RightLine): ditto.
8412         (LeftLine): ditto.
8413
8414         * BufferView2.C (copy): use getLyXText() so that we do it inside an
8415         inset if we're there actually (probably not used right now but this
8416         is the direction to go for unifying code).
8417         (paste): disable code to clear the selection.
8418
8419         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
8420         inside an InsetText and move the check further up as it is in the
8421         wrong place.
8422
8423         * text2.C (pasteSelection): set a selection over the pasted text.
8424
8425 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
8426
8427         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
8428         and libgraphics to build on Cygwin.
8429
8430 2002-03-15  Juergen Vigna  <jug@sad.it>
8431
8432         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
8433         inserting an Inset into the paragraph. I know this is not the best
8434         fix but we already use current_view in CutAndPaste so we will remove
8435         all of it's using at the same time.
8436
8437         * buffer.C (sgmlError): deactivated function till it is rewritten in
8438         the right mode, now it can create problems.
8439
8440         * paragraph.C (isLineSeparator): check if getInset returns != 0,
8441         before accessing it.
8442
8443 2002-03-14  Juergen Vigna  <jug@sad.it>
8444
8445         * undo_funcs.C (textHandleUndo): do the right thing when updating
8446         the inset after the undo/redo.
8447
8448         * text2.C (setCursor): just some testcode for #44 not ready yet.
8449
8450         * undo_funcs.C (textHandleUndo): set the next() and previous()
8451         pointers of the paragraph to 0 before deleting otherwise we have
8452         problems with the Paragraph::[destructor].
8453
8454         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
8455         on a paragraph insertion.
8456
8457 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8458
8459         * buffer.C (asciiParagraph): use += operator for char append to
8460         string.
8461
8462         * paragraph.C (getFontSettings): compare >= not just >
8463         (highestFontInRange): ditto
8464         (setFont): ditto
8465
8466 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8467
8468         * paragraph.C: change several algorithm to be more appripriate for
8469         the problem domain. This is lookip in FontList and in the InsetList.
8470
8471 2002-03-13  André Pönitz <poenitz@gmx.net>
8472
8473         * commandtags.h:
8474         * LyXAction.C: remove unused LFUN_MATH_MACROARG
8475
8476 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
8477
8478         * commandtags.h:
8479         * LyXAction.C:
8480         * lyxfunc.C:
8481         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
8482
8483 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8484
8485         * Painter.C (display): anon helper function, adjust code for this
8486         change.
8487         (pixmap): remove function.
8488
8489         * Painter.h: remove private display variable.
8490
8491         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
8492
8493 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
8494
8495         * WorkArea.[Ch]: remove figinset_canvas cruft.
8496
8497 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8498
8499         * lyxtextclass.C (operator): add one item cache optimization.
8500
8501         * bufferlist.h: doxy changes
8502
8503         * bufferlist.C: ws changes
8504
8505         * DepTable.[Ch] (ext_exist): place const in the right spot.
8506
8507         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
8508         call resizeInsets.
8509         (workAreaExpose): call resizeInsets when the with BufferView changes.
8510         (Dispatch): adjust for protectedBlank removal
8511         (specialChar): call updateInset if the insert went ok.
8512
8513         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
8514         specialChar instead.
8515
8516         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
8517
8518         * BufferView.h: doxy change
8519
8520         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
8521
8522         * lyxtextclass.C (operator[]): remove non-const version
8523         (defaultLayout): remove non-const version
8524
8525 2002-03-12  Juergen Vigna  <jug@sad.it>
8526
8527         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
8528         did resize the LyXText too.
8529
8530         * buffer.C (readLyXformat2): set layout information on newly allocated
8531         paragraphs.
8532
8533         * tabular.C (OldFormatRead): set layout information on the paragraph.
8534
8535 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8536
8537         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
8538
8539 2002-03-11  Juergen Vigna  <jug@sad.it>
8540
8541         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
8542         plainly wrong.
8543         (resizeCurrentBuffer): force also the insets to resize themselfes.
8544         (moveCursorUpdate): fixed up for InsetText.
8545
8546 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
8547
8548         * commandtags.h:
8549         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
8550         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
8551         value of Dialogs::tooltipsEnabled().
8552         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
8553
8554 2002-03-08  Juergen Vigna  <jug@sad.it>
8555
8556         * BufferView_pimpl.C (updateInset): update inset inside inset also
8557         if it isn't inside theLockingInset().
8558
8559 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8560
8561         * buffer.C (asciiParagraph): redo some of the word and line length
8562         handling.
8563         (getLists): look for Caption instead of caption.
8564
8565 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8566
8567         * buffer.C (Buffer): initialize niceFile to true
8568         (makeLaTeXFile):
8569         (makeLinuxDocFile):
8570         (makeDocBookFile): make sure niceFile is true on exit
8571
8572 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8573
8574         * buffer.C (makeLaTeXFile): escape ~ in \input@path
8575
8576 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
8577
8578         * LyXSendto.C: remove.
8579         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
8580         * lyx_gui.C: remove now-redundant comment.
8581         * ColorHandler.h: remove forward declaration of class WorkArea.
8582         * lyxfunc.C: remove #include "WorkArea.h".
8583
8584 2002-03-07  Juergen Vigna  <jug@sad.it>
8585
8586         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
8587         got moved away with the DEPM and also set the inset_owner always
8588         right which before could have been omitted.
8589
8590 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8591
8592         * buffer.C (parseSingleLyXformat2Token): use default layout is the
8593         wanted layout is not found.
8594
8595 2002-03-07  Juergen Vigna  <jug@sad.it>
8596
8597         * CutAndPaste.C (cutSelection): another layout settings forgotten.
8598
8599 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8600
8601         * paragraph.C (breakParagraph): use default layout not layout of
8602         prev paragraph.
8603         (Paragraph): clear ParagraphParameters.
8604
8605 2002-03-06  Juergen Vigna  <jug@sad.it>
8606
8607         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
8608         otherwise it would not be a valid lenght. Fixed a special case in
8609         the minipage compatibility read where we end the document with a
8610         minipage.
8611
8612         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
8613         was set as it could be 0 for InsetTexts first entry.
8614
8615 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8616
8617         * paragraph.C (writeFile): if layout is empty write out
8618         defaultLayoutName().
8619
8620         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
8621         file without named layout we set layout to defaultLayoutName().
8622
8623 2002-03-06  Juergen Vigna  <jug@sad.it>
8624
8625         * CutAndPaste.C (copySelection): set layout for new paragraph.
8626
8627         * text.C (prepareToPrint): leave ERT inset left aligned
8628         (leftMargin): don't indent paragraphs inside ERT insets
8629
8630 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8631
8632         * paragraph.C (breakParagraph): dont call clear do the work manually
8633
8634         * paragraph.[Ch] (clear): remove function
8635
8636 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8637
8638         * paragraph.C (Paragraph): dont call clear, the work has already
8639         been done.
8640
8641         * lyxtextclass.C (operator): assert if n is empty
8642
8643         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
8644         work manually instead.
8645
8646 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
8647
8648         * BufferView_pimpl.C: protect selectionLost against text == 0
8649
8650 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8651
8652         * text.C (breakParagraph): fix a setting layout to '0' problem.
8653
8654 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8655
8656         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
8657         final location of file, for the included files, and graphics.
8658
8659 2002-03-05  Juergen Vigna  <jug@sad.it>
8660
8661         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
8662
8663 2002-03-04  Juergen Vigna  <jug@sad.it>
8664
8665         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
8666
8667         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
8668         last column of multicolumn cells.
8669         (SetWidthOfMulticolCell): recalculate NMC and real columns.
8670
8671 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8672
8673         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
8674         file if it doesn't go to a temporary file.
8675
8676         * buffer.C (sgmlOpenTag):
8677         (sgmlCloseTag):  remove extra newline insertion.
8678
8679 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8680
8681         * text.C (getRowNearY): comment out debug msg
8682
8683 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8684
8685         * text2.C: first -> first_y
8686
8687         * text.C (getRowNearY): add some attemts at a possible
8688         optimization, not working.
8689
8690         * tabular.[Ch]: add BufferParams to several function so that newly
8691         created paragraph can be initialized to he default layotu for the
8692         buffers textclass.
8693
8694         * tabular-old.C (ReadOld): add buf->params to call of Init
8695
8696         * screen.C: rename text->first to text->first_y
8697
8698         * paragraph.C (breakParagraph): always set layout in the broken
8699         paragraph
8700
8701         * lyxtextclass.C (Read): remove lowercase
8702         (hasLayout): ditto
8703         (operator): ditto
8704         (delete_layout): ditto
8705
8706         * lyxtext.h: rename first -> first_y
8707
8708         * lyxlayout.C (Read): remove lowercase
8709         (name): ditto
8710         (setName): ditto
8711         (obsoleted_by): ditto
8712
8713         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
8714
8715         * buffer.C (insertErtContents): add params are to InsetERT
8716         (parseSingleLyXformat2Token): add code to check if a paragraphs
8717         layout really exist.
8718         (parseSingleLyXformat2Token): add params to several inset
8719         constructors
8720         (asciiParagraph): remove lowercase, do the layout comparisons with
8721         no_case
8722
8723         * BufferView_pimpl.C (cursorNext): first -> first_y
8724         (resizeCurrentBuffer): first -> first_y
8725         (updateScrollbar): first -> first_y
8726         (scrollCB): first -> first_y
8727         (workAreaMotionNotify): first -> first_y
8728         (workAreaButtonPress): first -> first_y
8729         (checkInsetHit): first -> first_y
8730         (cursorPrevious): first -> first_y
8731         (cursorNext): first -> first_y
8732         (Dispatch): add buffer_->params to severl inset contructors
8733
8734 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8735
8736         * lyxlayout.C (Read): remove some debug info that I forgot.
8737
8738         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
8739         clean up the code slightly.
8740         (makeLinuxDocFile): ditto
8741         (makeDocBookFile): ditto
8742
8743         * text2.C: layout as string
8744
8745         * text.C: layout as string
8746
8747         * paragraph_pimpl.C: layout as string
8748
8749         * paragraph.[Ch]: layout as string
8750
8751         * lyxtextclasslist.[Ch]: layout as string
8752
8753         * lyxtextclass.[Ch]: layout as string
8754
8755         * lyxtext.h: layout as string
8756
8757         * lyxlayout.[Ch]: layout as string
8758
8759         * lyx_cb.C: layout as string
8760
8761         * bufferview_funcs.C: layout as string
8762
8763         * bufferparams.C: layout as string
8764
8765         * buffer.C: layout as string
8766
8767         * LyXView.[Ch]: layout as string
8768
8769         * LaTeXFeatures.[Ch]: layout as string
8770
8771         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
8772
8773         * BufferView_pimpl.C: change current_layout to string, remove
8774         lyx::layout_type.
8775         (Dispatch):
8776         (smartQuote):
8777         (insertInset):
8778         (workAreaButtonRelease): layout as string
8779
8780         * BufferView2.C (unlockInset): adjust
8781
8782         * vspace.C (asLatexCommand): use an explict temp variable.
8783
8784 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
8785
8786         * Makefile.am: use FRONTEND_*
8787
8788 2002-03-01  Juergen Vigna  <jug@sad.it>
8789
8790         * tabular.C (SetWidthOfMulticolCell): changed to something better
8791         I hope but still work in progress.
8792         (recalculateMulticolumnsOfColumn): renamed function from
8793         recalculateMulticolCells as it is more appropriate now.
8794         (SetWidthOfCell): calculate multicols better.
8795
8796 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8797
8798         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
8799
8800         * lyxfunc.C (processKeySym): print sequence also if it is
8801         `deleted' (complete)
8802
8803         * kbsequence.C (print): print sequence even if it is deleted
8804         (complete would be a better word, actually).
8805
8806         * lyxfunc.C (dispatch): print complete options after a prefix key
8807
8808         * vspace.C (asLatexCommand): rewrite in a slightly different form.
8809
8810 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
8811
8812         * text2.C (setCharFont): eliminate setCharFont code duplication.
8813
8814 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8815
8816         * BufferView_pimpl.C (Dispatch): remove bogus handling of
8817         LFUN_TABULAR_FEATURE (bug #177)
8818
8819 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
8820
8821         * Makefile.am: remove figure.h
8822
8823 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
8824
8825         * Bufferview_pimpl.C:
8826         * CutAndPasteC:
8827         * LaTeX.C:
8828         * LyXSendto.C:
8829         * buffer.C:
8830         * bufferlist.C:
8831         * converter.C:
8832         * language.C:
8833         * lyxfunc.C:
8834         * lyxvc.C:
8835         * paragraph.C:
8836         * text.C:
8837         * text2.C: remove #include "lyx_gui_misc.h".
8838
8839         * LaTeX.C: added #include <cstdio>
8840
8841 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8842
8843         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
8844         that the paragraph following this one can have.
8845
8846         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
8847
8848         * vspace.C (asLatexCommand): fix bogus gcc warning
8849
8850         * Makefile.am (lyx_SOURCES): remove vms_defines.h
8851
8852 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
8853
8854         * text2.C (setLayout): get rid of redundant code
8855
8856 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
8857
8858         * text2.C (incDepth): make sure depth cannot be increased beyond
8859         reasonable values.
8860
8861 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
8862
8863         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
8864         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
8865
8866         * PainterBase.h (image):
8867         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
8868         a LyXImage const *.
8869
8870 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
8871
8872         * BufferView.C:
8873         * BufferView.h:
8874         * BufferView_pimpl.C:
8875         * BufferView_pimpl.h:
8876         * LaTeXFeatures.C:
8877         * LyXAction.C:
8878         * LyXView.C:
8879         * Makefile.am:
8880         * UpdateList.h:
8881         * UpdateList.C:
8882         * buffer.C:
8883         * figure.h:
8884         * figureForm.C:
8885         * figureForm.h:
8886         * figure_form.C:
8887         * figure_form.h:
8888         * lyx_cb.C:
8889         * lyx_gui.C:
8890         * lyx_gui_misc.C:
8891         * lyxfunc.C:
8892         * sp_base.h:
8893         * sp_ispell.h:
8894         * sp_pspell.h:
8895         * sp_spell.C: remove fig inset, and the crap house of
8896           cards that follows it
8897
8898 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
8899
8900         * Makefile.am:
8901         * lyxserver.C:
8902         * os2_defines.h:
8903         * os2_errortable.h:
8904         * nt_defines.h: move .h into support/
8905
8906         * vms_defines.h: remove
8907
8908         * WorkArea.C: add space in debug output
8909
8910         * text2.C:
8911         * paragraph.C:
8912         * buffer.C: add WITH_WARNINGS
8913
8914         * vc-backend.h:
8915         * vc-backend.C:
8916         * bufferlist.C: s/retrive/retrieve/, add docs
8917
8918         * vspace.h:
8919         * vspace.C:
8920         * kbmap.h:
8921         * lyxlength.h:
8922         * lyxgluelength.h:
8923         * length_common.h:
8924         * chset.h:
8925         * chset.C: add docs
8926
8927         * lyxgui.C: add ID to X error handler
8928
8929         * lyxtestclass.c: fix typo
8930
8931 2002-02-26  Juergen Vigna  <jug@sad.it>
8932
8933         * tabular_funcs.C (write_attribute): changed so that some default
8934         attributes are not written at all.
8935         (getTokenValue): set default values before trying to read the
8936         value so we have the return value always set as default if we don't
8937         find the token we search for.
8938
8939         * tabular.C (Write): write bools as bools not as strings!
8940
8941 2002-02-22  Juergen Vigna  <jug@sad.it>
8942
8943         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
8944         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
8945
8946         * text.C (leftMargin): don't add an indent for paragraphs inside
8947         tabular cells (fix #208).
8948
8949 2002-02-21  José Matos  <jamatos@fep.up.pt>
8950
8951         * tabular.C (docBook): fixed support for long tables.
8952
8953 2002-02-20  Juergen Vigna  <jug@sad.it>
8954
8955         * text2.C (getFont): get the drawing font of the Inset if this
8956         paragraph is inside an inset (only important for InsetERT for now).
8957
8958         * buffer.C (insertErtContents): use new lanugage params in ERT
8959         constructor.
8960
8961         * CutAndPaste.C: commenting out seemingly uneeded code.
8962
8963 2002-02-19  Allan Rae  <rae@lyx.org>
8964
8965         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
8966         Iterators might be simple to use but they also get invalidated.
8967         (removeAutoInsets): renamed saved cursor tracking variables and added
8968         some comments to clarify what everything does.
8969
8970 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
8971
8972         * Chktex.C:
8973         * LaTeX.C:
8974         * LyXSendto.C:
8975         * converter.C:
8976         * lyx_cb.C:
8977         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
8978         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
8979
8980         * lyxfunc.C:
8981         * vc-backend.h: remove #include "support/syscall.h"
8982
8983         * LaTeX.C:
8984         * LyXSendto.C:
8985         * converter.C: rearrange #includes in Lars' approved fashion.
8986
8987         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
8988         forward declare class Timeout in the header file.
8989
8990         * XFormsView.C: changes due to the above.
8991
8992         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
8993         similar to LyXView.
8994
8995         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
8996         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
8997
8998 2002-02-18  José Matos  <jamatos@fep.up.pt>
8999
9000         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9001         insets contents.
9002
9003 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
9004
9005         * a lot of small ws changes
9006         * add a lot of using std::XXX
9007         * use std construcs some places where approp.
9008         * use some exisint stuff from lyxfunctional where approp.
9009         * Make file changes to use partial linking (lets test this now...)
9010
9011 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9012
9013         * Chktex.C:
9014         * buffer.C:
9015         remove #include "support/syscontr.h" as it's redundant. Always has been.
9016
9017         * Chktex.C:
9018         * LaTeX.C:
9019         * LyXSendto.C:
9020         * converter.C:
9021         * lyx_cb.C:
9022         * vc-backend.C:
9023         change Systemcalls::System to Systemcalls::Wait and
9024         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9025         No change of functionality, just reflects the stripped down Systemcalls
9026         class.
9027
9028 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9029
9030         * debug.[Ch]: add a GRAPHICS type to the enum.
9031
9032 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9033
9034         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9035
9036         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9037         there is an inset.
9038
9039 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9040
9041         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9042         match the changes below.
9043
9044         * text2.C (toggleInset): if there is not editable inset at cursor
9045         position, try to see if cursor is _inside_ a collapsable inset
9046         and close it.
9047
9048 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9049
9050         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9051         document menu has a nice checkbox
9052
9053 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9054
9055         * lyxlength.C (asLatexString): change PW to output as percent of
9056         \textwidth.
9057
9058         * lengthcommon.C: change '%' to 't%'
9059
9060         * lyxfunc.C (dispatch): a few comments from Martin
9061
9062 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
9063
9064         * WorkArea.h:
9065         * WorkArea.C:
9066         * BufferView_pimpl.h:
9067         * BufferView_pimpl.C: clear our selection when X tells us we've lost
9068           the X selection.
9069
9070 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9071
9072         * vspace.C (inPixels): fix compiler warning
9073
9074 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9075
9076         * lyxfunc.C (getStatus): fix status message for disabled commands.
9077
9078 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
9079
9080         * BufferView_pimpl.C: fix crash on close buffer
9081         during selection (#227)
9082
9083 2002-01-27  Herbert Voss  <voss@lyx.org>
9084
9085         * buffer.C: link old Figure to new graphic inset
9086
9087 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
9088
9089         * FontLoader.C (getFontinfo): Change the latex font names in order
9090         to match the names of type1inst.
9091
9092 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9093
9094         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
9095
9096         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
9097         (extchanged): ditto
9098         (ext_exist): ditto
9099         (remove_files_with_extension): ditto
9100         (remove_file): ditto
9101         (write): ditto
9102
9103         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
9104         document is smaller than the work area height. Do not initialize
9105         static variables to 0.
9106
9107 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9108
9109         * lyx_gui.C (init): give the toolbar tooltips a normal font.
9110
9111         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
9112         LFUN_LAYOUT_PARAGRAPHS.
9113
9114         * tabular.C (GetCellFromInset): new method. Finds an inset in a
9115         tabular. It is possible to provide a possible cell, which will
9116         typically be the actcell from the corresponding insettabular
9117
9118         * lyxfunc.C (getStatus): small cleanup; disable
9119         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
9120         true
9121
9122 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9123
9124         * tabular.C (Validate): remove broken optimization (fixes bug #201)
9125
9126         * paragraph.C (startTeXParParams):
9127         (endTeXParParams): new methods. The LaTeX code to
9128         start/end paragraph formatting
9129         (simpleTeXOnePar): call startTeXParParams also when paragraph is
9130         empty (fixes bug #200)
9131
9132         * vspace.C (inPixels): adapt to the change below
9133         (inPixels): [later] more cleanups (remove unused variables)
9134
9135         * lyxlength.C (inPixels): change to use a width and a height as
9136         parameter.
9137
9138 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9139
9140         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
9141         Replaced with \paperwidth
9142
9143         * DepTable.C (insert): add std:: qualifier
9144
9145 2002-01-18  Allan Rae  <rae@lyx.org>
9146
9147         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
9148         updated also?
9149
9150         * text.C (drawInset): Turned out I didn't know enough about how
9151         rebreaking worked.  This fixes most of the redraw problems.  I see
9152         an occasional cursor trail when a line is broken now and the cursor
9153         placement can seem out by a few pixels also after a rebreak.
9154
9155 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9156
9157         * buffer.C (parseSingleLyXformat2Token): update because minipage
9158         width is now a LyXLength
9159
9160         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9161
9162         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9163         math insets
9164
9165 2002-01-17  Juergen Vigna  <jug@sad.it>
9166
9167         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9168
9169         * BufferView2.C (lockInset): call edit() so that theLockingInset()
9170         is set correctly and the inset is updated correctly.
9171
9172 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9173
9174         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
9175         the beginning of the loop.
9176
9177 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
9178
9179         * lyxrc.C: improve help for use_scalable_fonts
9180
9181 2002-01-17  Allan Rae  <rae@lyx.org>
9182
9183         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9184
9185 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9186
9187         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9188         make sure to set their inset_owner to the right value (bug #171)
9189
9190 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
9191
9192         * DepTable.h
9193         * DepTable.C: Implement mtime checking to reduce time spent doing
9194         CRCs.
9195
9196 2002-01-16  Juergen Vigna  <jug@sad.it>
9197
9198         * tabular.C (GetAdditionalHeight): one of error fixed.
9199
9200         * lyxrc.C (output): small fix in writing use_pspell.
9201
9202 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
9203
9204         * sp_base.h: #include LString.h
9205
9206 2002-01-16  Allan Rae  <rae@lyx.org>
9207
9208         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
9209         Can someone check this please?
9210
9211         * text.C (drawInset): It was possible that p.row would be removed by
9212         breakAgainOneRow upsetting a few other settings.  There may be another
9213         small tweak possible by setting need_break_row = 0 when p.row has been
9214         removed but I don't know enough about the logic here.
9215
9216 2002-01-15  Allan Rae  <rae@lyx.org>
9217
9218         * text.C (insertChar): removed conditional truism.
9219
9220         * BufferView2.C (removeAutoInsets): More tweaks.
9221         cur_par_prev could be a stray pointer.  Check for trailing empty line
9222         in case last line was cur_par and only had an error inset on it.
9223
9224 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9225
9226         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9227         absolute
9228
9229         * vc-backend.C (most methods):
9230         * exporter.C (Export):
9231         * converter.C (convert):
9232         (runLaTeX):
9233         * LyXSendto.C (SendtoApplyCB):
9234         * lyxfunc.C (dispatch):
9235         (menuNew):
9236         (open):
9237         (doImport):
9238         * lyx_cb.C (AutoSave):
9239         (InsertAsciiFile):
9240         * BufferView_pimpl.C (MenuInsertLyXFile):
9241         * buffer.C (runChktex): use Buffer::filePath().
9242
9243         * buffer.h: rename filename to filename_; rename filepath to
9244         filepath_ and make it private
9245         (filePath): new method
9246
9247         * buffer.C (writeFile): use fileName()
9248         (getLatexName):
9249
9250         * lyx_main.C (init): fix starting  of LyX when the binary is a
9251         link from so,ewhere else.
9252
9253         * minibuffer.C: include <cctype> for isprint
9254
9255 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9256
9257         * buffer.C (parseSingleLyXformat2Token): changes associated with the
9258         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9259         name clash with InsetCollapsable's width function.
9260
9261 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9262
9263         * lastfiles.C: include <iterator>
9264
9265 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9266
9267         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9268         std::count.
9269
9270         * buffer.C (makeLaTeXFile): ditto.
9271         Also make loop operation more transparent.
9272
9273 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9274
9275         * ToolbarDefaults.C: remove trailing comma closing namespace.
9276
9277         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9278
9279         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9280         as in WorkArea.
9281
9282         * trans.C (Load): comment out unused variable, allowed.
9283
9284 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9285
9286         * minibuffer.[Ch] (append_char): new method to recieve input from the
9287         drop-down completion browser. If a key was pressed, then recieve this
9288         char and append it to the existing string.
9289         (peek_event): modify the positioning data passed to the completion
9290         browser so that it can be placed above the minibuffer rather than below.
9291 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9292
9293         * LyXAction.C (init): alloe error-next for readonly documents.
9294
9295         * BufferView2.C (ChangeRefsIfUnique): use standard version of
9296         count.
9297
9298 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9299
9300         * bufferlist.C (readFile): create the buffer _after_ checking that
9301         the file exists.
9302
9303         * lyxfunc.C (verboseDispatch): fix handling of arguments
9304
9305         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9306
9307         * lyxrc.C: use string::erase() instead of initializing to "".
9308
9309
9310 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9311
9312         * BufferView_pimpl.h:
9313         * BufferView_pimpl.C:
9314         * WorkArea.h:
9315         * WorkArea.C:
9316         * text2.C: tell X when we have made a selection for copying
9317
9318 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9319
9320         * BufferView_pimpl.C (MenuInsertLyXFile):
9321         * lyxfunc.C (menuNew):
9322         (open):
9323         (doImport): add shortcuts to directory buttons
9324
9325         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9326         open a float)
9327
9328         * lyxfunc.C (setStatusMessage):
9329         (getStatusMessage): new methods
9330         (getStatus):use setStatusMessage instead of setErrorMessage
9331         (dispatch): when function is disabled, set error message here
9332         [instead of in getStatus previously]
9333
9334         * BufferView_pimpl.C (workAreaButtonRelease): update
9335         toolbar/menubar here too.
9336
9337 2002-01-13  Allan Rae  <rae@lyx.org>
9338
9339         * BufferView2.C (removeAutoInsets): finished off earlier fix.
9340         Now seems indestructible.  Remaining task is to audit all other
9341         code affected by deleteEmptyParagraphMechanism.  One small quirk
9342         left is that an empty document with an error in the preamble can
9343         be made to report an error but no error box appears.  I don't know
9344         where it goes.
9345         (removeAutoInsets): Improved comments.
9346
9347 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
9348
9349         * Thesaurus.h:
9350         * Thesaurus.C: update for Aiksaurus 0.14
9351
9352 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9353
9354         * text2.C (firstParagraph): removed member function, all uses
9355         replaces with ownerParagraph
9356         (redoParagraphs): here
9357         (updateInset): here
9358         (toggleAppendix): here
9359         * BufferView2.C (insertErrors): here
9360         (setCursorFromRow): here
9361
9362 2002-01-13  Allan Rae  <rae@lyx.org>
9363
9364         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
9365         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
9366         There is still a way to segfault this although you may have to do this
9367         multiple times: Have an InsetERT with an unknown command in it.
9368         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
9369         <down-arrow>, <Enter> again, View->DVI, BANG!
9370
9371         * text2.C (setCursor):
9372         (deleteEmptyParagraphMechanism):
9373         * lyxtext.h (setCursor):
9374         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
9375         Making use of the return value may help fix other bugs.
9376
9377 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9378
9379         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
9380
9381         * LyXView.C (updateMenubar): call MenuBar::update here
9382         (updateToolbar): but not here
9383         (showState): do not update toolbar/menubar
9384
9385         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
9386         should need to care about that.
9387
9388         * lyxfunc.C (verboseDispatch): simplify a bit
9389         (getStatus): have a version which takes a pseudoaction, and
9390         another which requires a (kb_action,string).
9391
9392         * LyXAction.C (retrieveActionArg): make it work also when action
9393         is not a pseudo-action.
9394         (getActionName): simplify a bit
9395         (helpText):
9396
9397 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9398
9399         * lyxfunc.C (verboseDispatch): new families of methods with
9400         several ways to specify a command and a bool to indicate whether
9401         the command name and shortcut should be displayed in minibuffer
9402         (eventually, we could extend that to a finer bitmask like
9403         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
9404         (dispatch): the pristine dispatch command which just, well,
9405         dispatchs! Note it still sets its result to minibuffer; I'm not
9406         sure we want that.
9407
9408         * lyxfunc.h: remove setHintMessage
9409
9410         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
9411
9412 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9413
9414         * BufferView_pimpl.C (specialChar): delete new inset if we have
9415         not been able to insert it.
9416
9417         * kbmap.C: revert to using int instead of kb_action, since all we
9418         are dealing with is pseudo-actions.
9419
9420         * LyXAction.C (searchActionArg): change to return int instead of
9421         kb_action, since the result is a pseudoaction.
9422
9423 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
9424
9425         * buffer.C (insertErtContents): Fix (partially) the font bug.
9426
9427 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9428
9429         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
9430         as the other one is broken on my machine!
9431
9432 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
9433
9434         * commandtags.h:
9435         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
9436
9437 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
9438
9439         * lyxrc.[Ch]: change names and descriptions of popup font variables to
9440         reflect their actual use. Provide compatibility code for older lyxrc
9441         files.
9442
9443         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
9444         FL_NORMAL_STYLE.
9445         change names of popup font variables in line with the changes to lyxrc.C
9446
9447 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9448
9449         * buffer.C (asciiParagraph): avoid outputing a word twice after
9450         an inset.
9451
9452         * lyxrc.C (getDescription): document that document_path and
9453         template_path can be empty.
9454
9455 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9456
9457         * LaTeXFeatures.C (getMacros):
9458         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
9459
9460         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
9461
9462         * LaTeXFeatures.C (useFloat): require "float" here instead of in
9463         getPackages.
9464         (getPackages): rename feature "floats" to "float". Use an array to
9465         iterate over 'simple' features (i.e. just a \usepackage). Add
9466         handling of "amsmath" (renamed from "amsstyle").
9467
9468 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
9469
9470         * LaTeXFeatures.C (require): Prevent duplicate entries in the
9471         features list.
9472
9473 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
9474
9475         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
9476         FuncStaus::FuncStatus & FuncStaus::some_method().
9477
9478 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
9479
9480         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
9481         of the func_satus stuff. Edited and massaged in various ways by
9482         JMarc.
9483
9484         * lyxfunc.C (getStatus): use FuncStatus
9485
9486 2002-01-08  Juergen Vigna  <jug@sad.it>
9487
9488         * text.C (nextBreakPoint): use function Inset::isChar().
9489
9490         * paragraph.C (TeXOnePar): use function
9491         Inset::forceDefaultParagraphs.
9492
9493         * buffer.C (latexParagraphs): use function
9494         Inset::forceDefaultParagraphs.
9495
9496 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9497
9498         * lyx_gui.C (init): set the style of the menu popups to
9499         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
9500
9501 2002-01-07  Juergen Vigna  <jug@sad.it>
9502
9503         * text.C (setHeightOfRow): small fix
9504         (prepareToPrint): don't look at alignment if we don't have the place
9505         for doing it.
9506
9507 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9508
9509         * box.C: New file. Move the Box methods and functions out of box.h,
9510         following Lars' suggestion.
9511
9512 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9513
9514         * box.h: #include "support/LOstream.h", needed for inlined function.
9515
9516         * lyxtextclass.C:
9517         * lyxtextclasslist.C: added some using std declarations.
9518
9519 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
9520
9521         * box.h: make signed dimensions to allow insets wider than
9522           the screen (bug #162)
9523
9524         * BufferView_pimpl.C: add some insetHit debug
9525
9526 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
9527
9528         * vc-backend.C: add FIXME
9529
9530 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9531
9532         * lyxfunc.C (getStatus): enable code for showing math font status
9533         in toolbar/menu.
9534
9535 2002-01-07  Juergen Vigna  <jug@sad.it>
9536
9537         * text.C (nextBreakPoint): removed debug output not needed anymore.
9538
9539 2002-01-06  Juergen Vigna  <jug@sad.it>
9540
9541         * text.C (nextBreakPoint): fixed up this function we had this bug
9542         since ever but now hopefully we break row better.
9543         (insertChar): we have to check if an inset is the next char as it
9544         could now happen that a large inset is causing a break.
9545
9546 2002-01-05  Juergen Vigna  <jug@sad.it>
9547
9548         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
9549         if it doesn't like to be drawed.
9550
9551 2002-01-04  Juergen Vigna  <jug@sad.it>
9552
9553         * BufferView2.C (lockInset): forgot to set a cursor.
9554
9555         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
9556
9557 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
9558
9559         * FormMathsPanel.C:
9560         * FormMathsPanel.h
9561         * MathsSymbols.C:
9562         * form_maths_panel.C:
9563         * form_maths_panel.h:
9564         * form_maths_panel.fd: implemented sub- and super- buttons in math
9565         panel.
9566
9567         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
9568         (or ^ space) to be used as in TeX (req'd by André).
9569
9570         * lyxfunc.C: Allow ^ and _ again to be used both as
9571         super/subscript (mathed) and as themselves (in text).
9572
9573 2002-01-03  Allan Rae  <rae@lyx.org>
9574
9575         * LyXView.C (updateWindowTitle): Setup a short icon title of either
9576         "LyX" or the filename of the current buffer if it has one.  This is a
9577         modified form of John Levon's patch.
9578
9579         * XFormsView.C (setWindowTitle): also set icon title.
9580
9581         * LyXView.h (setWindowTitle): signature changed.
9582         * XFormsView.h (setWindowTitle): ditto.
9583
9584 2002-01-02  Juergen Vigna  <jug@sad.it>
9585
9586         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
9587
9588 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9589
9590         * screen.C (topCursorVisible): introduce a temp var for
9591         text->cursor.row(), handle the case where this row is null. (kindo
9592         hachish)
9593
9594         * text2.C (setCursor): add a couple of asserts.
9595
9596         * paragraph.h (inset_iterator): add -> operator
9597
9598         * paragraph.[Ch] (autoDeleteInsets): remove member function
9599
9600         * BufferView2.C (removeAutoInsets): rewrite to handle the old
9601         cursor pos correctly and handle inset deletion by itself.
9602         (insertErrors): move iterator declaration out of for expression
9603
9604         * lyxtextclass.C: add <algorithm>
9605
9606         * Makefile.am: added the new files to sources, removed layout.C
9607
9608         * layout.C: removed file
9609
9610         * layout.h: remove LYX_DUMMY_LAYOUT
9611
9612         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
9613         layout.
9614
9615         * lyxlayout.[Ch]:
9616         * lyxtextclass.[Ch]:
9617         * lyxtextclasslist.[Ch]: new files
9618
9619         * include order changes to a lot of files, also changes because of
9620         the six new files.
9621
9622 2001-12-27  Juergen Vigna  <jug@sad.it>
9623
9624         * buffer.C (asciiParagraph): more fixes.
9625
9626         * tabular.C (ascii): make ascii export support export of only the
9627         data separated by a column-delimiter.
9628         (ascii): better support for ascii export.
9629
9630         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
9631
9632 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9633
9634         * tabular_funcs.C: use a "using std::getline" instead of the
9635         previous fix from Angus (necessary for cxx + lyxstring)
9636
9637 2001-12-24  Juergen Vigna  <jug@sad.it>
9638
9639         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
9640
9641         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
9642         problems. First check a minipage also if we have some ert-contents
9643         (not only on par->size(), second set the right depth of the paragraph
9644         on the relink to the root-paragraph-list!
9645
9646         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
9647         which then did not anymore update the main paragraphs on undo/redo!
9648
9649 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9650
9651         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
9652         code. Support all font-changing funcs (even those which are not in
9653         menu currently). Support for reporting font settings in
9654         mathed (disabled until Andre provides a function on mathed's side).
9655
9656         * func_status.h (toggle): small helper function to set toggle
9657         state on a flag.
9658
9659 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
9660
9661         * tabular_funcs.C: getline -> std::getline
9662
9663 2001-12-21  Juergen Vigna  <jug@sad.it>
9664
9665         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
9666         accessed and could be 0 (I couldn't generate this but it seems
9667         Michael could!).
9668
9669 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9670
9671         * tabular_funcs.C: add LIstream.h, move write_attribute to..
9672         * tabular_funcs.h: here and include iosfwd
9673
9674 2001-12-20  Juergen Vigna  <jug@sad.it>
9675
9676         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
9677         inside inset but undo_par was.
9678
9679 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9680
9681         * Thesaurus.C: always include <config.h> in sources.
9682
9683         * Painter.h:
9684         * lyxlookup.h:
9685         * box.h: do not include <config.h> in header files
9686
9687         * text.C (paintLastRow): remove unused variable
9688
9689         * text.C (transformChar):
9690         (insertChar):
9691         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
9692
9693         * Painter.C (text):
9694         * font.C (width): rewrite to use uppercase() instead of
9695         islower/toupper.
9696
9697         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
9698
9699 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
9700
9701         * lyxfind.C: clean up of find failure position change
9702
9703 2001-12-20  Juergen Vigna  <jug@sad.it>
9704
9705         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
9706
9707         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
9708         (TeXRow): added to LaTeX a single tabular row.
9709         (TeXLongtableHeaderFooter): added to output LT-h/f data.
9710         (Latex): simplified and finally good LT-h/f support.
9711         (various_functions): just small adaptions for LT-h/f support.
9712
9713         * tabular_funcs.[hC]: added and moved here all not classfunctions
9714         of LyXTabular.
9715
9716 2001-12-19  Juergen Vigna  <jug@sad.it>
9717
9718         * tabular.[Ch]: better support for longtabular options (not finished
9719         yet!)
9720
9721 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9722
9723         * text.C (paintLastRow): use the label font instead of the font of
9724         the last character to compute the size of *_BOX. This makes more
9725         sense and avoids a crash with empty paragraphs.
9726         Use Painter::rectangle to draw EMPTY_BOX.
9727
9728 2001-12-19  Juergen Vigna  <jug@sad.it>
9729
9730         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
9731         the paragraphs if the replaced paragraph is not the first one!
9732         Tried to delete not used paragraphs but does not work yet so for
9733         now it's inside #ifdef's and by default off!
9734
9735 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9736
9737         * MenuBackend.C: include "lyx_main.h" instead of declaring
9738         lastfiles (actually was declared as LastFiles* instead of a
9739         scoped_ptr).
9740
9741 2001-12-17  Juergen Vigna  <jug@sad.it>
9742
9743         * tabular.C (AppendColumn): applied John's fix
9744
9745 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
9746
9747         * BufferView.h:
9748         * BufferView.C:
9749         * BufferView_pimpl.h:
9750         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
9751
9752         * Makefile.am:
9753         * box.h: new start of class for above
9754
9755         * lyxfunc.C: ignore space-only minibuffer dispatches.
9756           Show the command name when it doesn't exist
9757
9758         * minibuffer.C: don't add empty lines to the history
9759
9760         * minibuffer.C: add a space on dropdown completion
9761
9762 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
9763
9764         * text.C: fix line above/below drawing in insets
9765
9766 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9767
9768         * lyxlength.C (LyXLength): Initialize private variables.
9769
9770 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
9771
9772         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
9773         when inserting error insets.
9774
9775 2001-12-13  Juergen Vigna  <jug@sad.it>
9776
9777         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
9778         actually sometimes the before-paragraph.
9779         (setUndo): don't clear the redostack if we're not actually undoing!
9780
9781 2001-12-06  Juergen Vigna  <jug@sad.it>
9782
9783         * undo_funcs.C (textHandleUndo): well after John's hint I got here
9784         and fixed redoing of main paragraph, so we can use it now ;)
9785
9786         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
9787
9788 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9789
9790         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
9791         Juergen's request
9792
9793 2001-12-13  André Pönitz <poenitz@gmx.net>
9794
9795         * undostack.[Ch]:
9796         * undo_func.C: minor cleanup
9797
9798 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9799
9800         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
9801         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
9802         font in urw-fonts package which is marked as -urw-fontspecific and
9803         does not work (incidentally, changing the encoding in the
9804         fonts.dir of this package to -adobe-fontspecific fixes the
9805         problem).
9806
9807         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
9808         is a crash when undoing first paragraph (Juergen, please take a
9809         look). THis does not mean the undo fix is wrong, just that it
9810         uncovers problems.
9811
9812         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
9813         the (Paragraph*) version when needed instead of duplicating the
9814         code.
9815
9816         * text.C (workWidth): use Inset::parOwner to find out where the
9817         inset has been inserted. This is a huge performance gain for large
9818         documents with lots of insets. If Inset::parOwner is not set, fall
9819         back on the brute force method
9820
9821         * paragraph_pimpl.C (insertInset):
9822         * paragraph.C (Paragraph):
9823         (cutIntoMinibuffer): set parOwner of insets when
9824         inserting/removing them
9825
9826         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9827
9828 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
9829
9830         * commandtags.h:
9831         * LyXAction.C:
9832         * lyx_main.C:
9833         * lyxfunc.C:
9834         * mathed/formulabase.C:
9835         * mathed/math_cursor.[Ch]:
9836         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
9837
9838
9839 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9840
9841         * lyxlength.[Ch] (operator!=): new function
9842
9843 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9844
9845         * text.C (workWidth): use Inset::parOwner to find out where the
9846         inset has been inserted. This is a huge performance gain for large
9847         documents with lots of insets. If Inset::parOwner is not set, fall
9848         back on the brute force method
9849
9850         * paragraph_pimpl.C (insertInset):
9851         * paragraph.C (Paragraph):
9852         (cutIntoMinibuffer): set parOwner of insets when
9853         inserting/removing them
9854
9855         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9856
9857 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9858
9859         * tabular-old.C (getTokenValue):
9860         * tabular.C (getTokenValue):
9861         (write_attribute): new versions for LyXLength
9862         (everywhere): adjust the use of widths
9863
9864         * tabular.h: change the type of widths from string to LyXLength
9865
9866 2001-12-11  Ben Stanley <bds02@uow.edu.au>
9867
9868         * paragraph.C: fixed missing line number count when exporting
9869         Environments to LaTeX file
9870
9871         * buffer.C: added informational message for checking line numbers.
9872
9873 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9874
9875         * text2.C (deleteEmptyParagraphMechanism): if there is only one
9876         paragraph, do the 'double space' part, but not the 'empty
9877         paragraph' one.
9878
9879         * text.C (workWidth): small optimization
9880         (getLengthMarkerHeight): use minimal size for negative lengths.
9881
9882 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
9883
9884         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
9885
9886         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
9887
9888 2001-12-11  André Pönitz <poenitz@gmx.net>
9889
9890         * FontLoader.C:
9891         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
9892
9893 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9894
9895         * text2.C: keep selection on a setFont()
9896
9897 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9898
9899         * lyx_cb.C: another bv->text misuse, from insert label
9900
9901 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
9902
9903         * kbsequence.h:
9904         * kbsequence.C: re-instate nmodifier mask
9905
9906 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
9907
9908         * lyx_main.h: make lyxGUI private.
9909
9910 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9911
9912         * lyxfind.C: place the cursor correctly on failed search
9913
9914 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9915
9916         * text.C (getLengthMarkerHeight): for small heights, the arrows
9917         are not always on top/bottom of the text
9918         (drawLengthMarker): smaller arrows; take the left margin in
9919         account; draw also vfills.
9920         (paintFirstRow):
9921         (paintLastRow): remove special code for vfill and standard spaces,
9922         since everything is handled in drawLengthMarker now.
9923
9924 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9925
9926         * buffer.C (insertErtContents): try to handle font and language
9927         interaction a bit better.g
9928
9929         * ColorHandler.C (updateColor): change the hash to cover the whole
9930         LColor enum, ws cleanup
9931         (getGCLinepars): ditto
9932         (getGCLinepars): only lookup in the linecache once.
9933
9934 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
9935
9936         * iterators.C (operator++): Make the iterator more robust
9937
9938         * BufferView2.C (removeAutoInsets): Use paragraph iterators
9939         (John's patch)
9940         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
9941
9942 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9943
9944         * lyxtext.h:
9945         * text.C: better added space drawing
9946
9947 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9948
9949         * LyXView.C:
9950         * BufferView2.C: fix layout combo update on inset unlock
9951
9952 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9953
9954         * Makefile.am: don't compile unused files
9955
9956 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9957
9958         * lyxfunc.C:
9959         * commandtags.h:
9960         * LyXAction.C: remove old LFUN_LAYOUTNO
9961
9962 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9963
9964         * paragraph_pimpl.h:
9965         * paragraph_pimpl.C: isTextAt() doesn't need font param
9966
9967 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9968
9969         * lyxlex.h:
9970         * lyxlex.C: little cleanup
9971
9972 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9973
9974         * BufferView_pimpl.C: fix insertAscii for insets
9975
9976 2001-12-05  Juergen Vigna  <jug@sad.it>
9977
9978         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
9979         set the right font on the "multi" paragraph paste!
9980
9981 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9982
9983         * trans_decl.h:
9984         * trans_mgr.[Ch]:
9985         * trans.[Ch]:
9986         * lyxgluelength.C:
9987         * lyxlength.C: remove out-commented code.
9988
9989         * BufferView_pimpl:
9990         * CutAndPaste.C:
9991         * DepTable.C:
9992         * buffer.C:
9993         * chset.C:
9994         * lastfiles.C:
9995         * lyxlex.C:
9996         * lyxlex_pimpl.C:
9997         * lyxserver.C:
9998         * screen.C:
9999         * tabular-old.C:
10000         * tabular.C:
10001         * text.C:
10002         * trans_mgr.C:
10003         * vc-backend.C: change "while(" to "while ("
10004
10005         * lyxlength.[Ch]: add zero function to check if length is zero or
10006         not
10007         * lyxgluelength.C: use it
10008
10009 2001-12-05  Allan Rae  <rae@lyx.org>
10010
10011         * lyxlength.C: Attempted a fix for the abs(int) header selection.
10012         Works for 2.95.3, from what I understand of Garst's reports this should
10013         work for other g++ versions.  We're screwed if the abs(int) definition
10014         changed between bugfix releases of gcc.
10015
10016 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10017
10018         * text.C: fix chapter label offset !
10019
10020 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10021
10022         * lyxtext.h:
10023         * text.C: fix hfill at end of line, clean up
10024
10025 2001-12-04  Juergen Vigna  <jug@sad.it>
10026
10027         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10028         that we force an update of the inset and it's owners if neccessary.
10029
10030 2001-12-03  Juergen Vigna  <jug@sad.it>
10031
10032         * text.C (rowLast): simplified code
10033
10034 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10035
10036         * lyxfunc.C: fix show options on timeout
10037
10038 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10039
10040         * screen.C (topCursorVisible): scroll half a page when the cursor
10041         reached top of bottom of screen
10042
10043 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
10044
10045         * minibuffer.C: deactivate on loss of focus
10046
10047 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10048
10049         * vspace.[Ch] (operator!=): add operator.
10050
10051 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
10052
10053         * BufferView_pimpl.C: refuse to open an inset when
10054         there's a selection.
10055
10056 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
10057
10058         * BufferView_pimpl.C: allow to click on RHS of full row insets
10059
10060 2001-11-30  Juergen Vigna  <jug@sad.it>
10061
10062         * tabular.C (LyXTabular): add a same_id to set the same id's in the
10063         insets for undo reasons.
10064
10065 2001-11-28  André Pönitz <poenitz@gmx.net>
10066
10067         * vspace.[Ch]: cosmetical changes
10068
10069 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10070
10071         * LyXAction.h:
10072         * LyXAction.C:
10073         * lyxfunc.h:
10074         * lyxfunc.C:
10075         * kbmap.h:
10076         * kbmap.C:
10077         * lyxrc.C:
10078         * kbsequence.h:
10079         * kbsequence.C: part re-write of old kb code
10080
10081         * Painter.C:
10082         * WorkArea.C: remove Lgb_bug_find_hack
10083
10084 2001-11-30  José Matos <jamatos@fep.up.pt>
10085
10086         * buffer.C (makeDocBookFile): add a comment to point a hack.
10087         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
10088         Fixed a double write of labels.
10089
10090 2001-11-29 Ben Stanley <bds02@uow.edu.au>
10091
10092         * LaTeX.C:
10093         * LaTeX.h Fixed bug in LaTeX class where it would not
10094         re-run latex if no depfiles were changed, but the .dvi was removed.
10095
10096 2001-11-28  André Pönitz <poenitz@gmx.net>
10097
10098         * all the files from the change on 2001/11/26:
10099         use lyx::layout_type instead of LyXTextClass::size_type
10100         use lyx::textclass_type instead of LyXTextClassList::size_type
10101
10102 2001-11-29  Juergen Vigna  <jug@sad.it>
10103
10104         * text.C: added support for paragraph::isFreeSpacing()
10105
10106         * buffer.C: same as above
10107
10108         * paragraph.h: inserted isFreeSpacing() function to enable
10109         FreeSpacing inside InsetERT.
10110
10111         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
10112         of the paragraph's in the cut/copy buffer to 0!
10113
10114         * text2.C (removeRow): remove the assert as it can!
10115
10116         * lyxtext.h: added helper function firstRow returning firstrow and
10117         made firstrow private again.
10118
10119         * BufferView2.C (lockInset): don't relock if we're already locked!
10120
10121         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
10122         the only paragraph.
10123         (removeRow): added Assert::(firstrow)
10124
10125         * debug.C: forgot to add INSETTEXT here.
10126
10127 2001-11-28  Juergen Vigna  <jug@sad.it>
10128
10129         * sp_spell.C (initialize): changed error text to more general
10130         spellchecker command use (not only ispell!)
10131
10132         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
10133
10134         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
10135
10136 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10137
10138         * vspace.C: initialise lyxgluelength on failure
10139
10140 2001-11-28  Allan Rae  <rae@lyx.org>
10141
10142         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
10143         declaration & definition that looks like a function declaration.
10144
10145 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10146
10147         * BufferView2.C (copy):
10148         (copyEnvironment): do not clear the selection when doing a copy.
10149
10150         * text.C (paintFirstRow): compilation fix
10151
10152 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
10153
10154         * tabular.C (Latex): correct line count when writing latex.
10155
10156 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
10157
10158         * paragraph_pimpl.h:
10159         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10160           bug a bit
10161
10162 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10163
10164         * text.C:
10165         * LColor.h:
10166         * LColor.C: change vfillline->added_space
10167
10168         * text.C: add markers and text for added space
10169
10170         * vspace.C: fix comment
10171
10172 2001-11-28  André Pönitz <poenitz@gmx.net>
10173
10174         * paragraph.C: whitespace changes
10175         * all the other files from the change on 2001/11/26:
10176         change *::pos_type into lyx::pos_type
10177
10178 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10179
10180         * buffer.C (parseSingleLyXformat2Token): Set the language to the
10181         language of the document when inserting error insets.
10182
10183 2001-11-26  André Pönitz <poenitz@gmx.net>
10184
10185         * BufferView_pimpl.[Ch]:
10186         *       CutAndPaste.C:
10187         * buffer.[Ch]:
10188         * lyxcursor.[Ch]:
10189         * lyxfind.C:
10190         * lyxfunc.C:
10191         * lyxrow.[Ch]:
10192         * paragraph.[Ch]:
10193         * paragraph_pimpl.[Ch]:
10194         * sp_spell.C:
10195         * text.C:
10196         * text2.C: reduce header dependencies, introduce type for positions
10197
10198 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10199
10200         * <various>: change to use Alert.h
10201
10202 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10203
10204         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10205         when encountering an unknown token.
10206         (readLyXformat2): Show an error message if there were unknown tokens.
10207
10208 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
10209
10210         * BufferView2.C:
10211         * BufferView_pimpl.C:
10212         * buffer.C:
10213         * paragraph.h:
10214         * text.C:
10215         * text2.C: use par->isInset()
10216
10217 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10218
10219         * paragraph_pimpl.h:
10220         * paragraph_pimpl.C: cleanup
10221
10222 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10223
10224         * text2.C (removeRow):
10225         * text.C (setHeightOfRow): remove useless (and costly) call to
10226         getRow.
10227
10228 2001-11-20  Allan Rae  <rae@lyx.org>
10229
10230         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10231         Now need Inset*::checkInsertChar() to return true for appropriate
10232         cases so that the characters in the minibuffer will actually be
10233         inserted.
10234
10235 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10236
10237         * text.C: change the order of the includes.
10238         (workWidth): initialize it at once.
10239         (workWidth): make maxw unsigned
10240         (setHeightOfRow): remove unused variable (inset)
10241         (selectSelectedWord): remove unused variable (inset)
10242         (paintRowText): fix drawing of hfill characters, and clean up a bit.
10243
10244 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10245
10246         * lyxserver.C (emergencyCleanup): do not try to close pipes if
10247         server is not running.
10248         (openConnection):
10249         (closeConnection): add debug info when server is disabled.
10250
10251         * ColorHandler.C (getGCForeground): send debug message to GUI
10252         channel.
10253
10254         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10255
10256         * kbmap.C (bind): modify because return conventions of
10257         kb_sequence::parse have changed.
10258
10259         * kbsequence.C (parse): only ignore spaces and not any stupid
10260         control character. This avoids tests like s[i] <= ' ', which are
10261         guaranteed to fail with 8bit characters and signed chars.
10262         Change return code to string::npos when there have been no error
10263         (0 was a bad idea when error is at first character)
10264
10265 2001-11-14  José Matos  <jamatos@fep.up.pt>
10266
10267         * buffer.h:
10268         * buffer.C (simpleDocBookOnePar): removed unused argument.
10269
10270 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10271
10272         * text.C (selectNextWordToSpellcheck): do not test explicitely for
10273         insets which are part of a word. Paragraph::isLetter takes care of
10274         that now. Use Paragraph::isInset to identify insets.
10275         (selectSelectedWord): do not test for hyphenation break.
10276
10277         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10278         that protected spaces are considered as spaces.
10279
10280         * paragraph.C (isLetter): cleanup the code for ispell extras; use
10281         Inset::isLetter.
10282
10283 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
10284
10285         * lyxserver.h:
10286         * lyxserver.C: fix it. and small cleanup.
10287
10288 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10289
10290         * BufferView_pimpl.C: use inline helpers
10291
10292         * LaTeXFeatures.h:
10293         * LaTeXFeatures.C: fix typos
10294
10295         * Spacing.h:
10296         * Spacing.C: move spacing_string into class
10297
10298         * ToolbarDefaults.C: move stuff into namespace anon
10299
10300         * layout.h: update enum
10301
10302         * lyxfunc.C: use better debug
10303
10304         * minibuffer.h: fix typo
10305
10306         * debug.h:
10307         * debug.C:
10308         * WorkArea.C: add and use Debug::WORKAREA
10309
10310         * lyxtext.h:
10311         * text.C:
10312         * text2.C: code re-organisation, inline helpers
10313
10314 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
10315
10316         * Layout.C: replaced a few cases of std::vector.size() == 0 with
10317         std::vector.empty().
10318
10319 2001-11-09  Allan Rae  <rae@lyx.org>
10320
10321         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10322         '\n's after tables.  Tabular and ERT inset work now makes this no
10323         longer necessary.
10324
10325 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10326
10327         * minibuffer.h:
10328         * minibuffer.C: fix crash, improve drop-down completion
10329
10330 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
10331
10332         * lyxserver.h:
10333         * lyxserver.C: invalidate fd's when doing endPipe()
10334
10335 2001-11-08  José Matos  <jamatos@fep.up.pt>
10336
10337         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
10338         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
10339
10340         * paragraph.h:
10341         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
10342
10343 2001-11-07  José Matos  <jamatos@fep.up.pt>
10344
10345         * buffer.h:
10346         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
10347         const qualifier.
10348
10349         * buffer.C (sgmlOpenTag):
10350         * buffer.C (sgmlCloseTag): removed debug info.
10351
10352         * buffer.h (sgmlOpenTag):
10353         * buffer.h (sgmlCloseTag): made public.
10354
10355 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10356
10357         * buffer.C (saveParamsAsDefaults):
10358         * lyx_cb.C (MenuLayoutSave): remove
10359
10360         * LyXAction.C (init):
10361         * commandtags.h:
10362         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
10363
10364 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10365
10366         * buffer.C (setPaperStuff): removed from here...
10367
10368         * bufferparams.C (setPaperStuff): ... and moved there.
10369
10370 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
10371
10372         * minibuffer.h:
10373         * minibuffer.C:
10374         * XFormsView.C: add support for drop-down completion
10375
10376 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
10377
10378         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
10379         commands.
10380
10381 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10382
10383         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
10384         disabled.
10385
10386 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
10387
10388         * lyx_main.C: change ref to known bugs
10389
10390 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
10391
10392         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
10393         to work around older babel problems.
10394
10395 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
10396
10397         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
10398
10399 2001-10-24  Juergen Vigna  <jug@sad.it>
10400
10401         * tabular-old.C (ReadOld): below variable changes reflected.
10402
10403         * tabular.[Ch]: added ltType struct for longtable header/footer
10404         defines and changed all instances where they are used. Added
10405         future support for double top/bottom rows.
10406
10407 2001-10-24  José Matos  <jamatos@fep.up.pt>
10408
10409         * buffer.h (docbookHandleCaption):
10410         * buffer.C (docbookHandleCaption): removed unused function.
10411         (makeDocBookFile): moved docbook supported version to v4.1.
10412
10413 2001-10-24  José Matos  <jamatos@fep.up.pt>
10414
10415         * tabular.h:
10416         * tabular.C (docbookRow): new function to export docbook code of a row.
10417         (DocBook): now honors the longtable flags.
10418
10419 2001-10-23  José Matos  <jamatos@fep.up.pt>
10420
10421         * LaTeXFeatures.h:
10422         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
10423         of the lyx defined sgml entities used in a docbook/linuxdoc document.
10424
10425         * buffer.C (makeLinuxDocFile):
10426         (makeDocBookFile): reworked the preamble, more clean, and with
10427         support for lyx defined entities. Changed the document declaration
10428         to be more XML friendly.
10429
10430         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
10431         if we need to output XML that should be done with a filter.
10432
10433 2001-10-22  Juergen Vigna  <jug@sad.it>
10434
10435         * sp_pspell.h (class PSpell): add alive function needed in the
10436         controller to see if the spellchecker could be started.
10437
10438 2001-10-22  Juergen Vigna  <jug@sad.it>
10439
10440         * buffer.C (insertStringAsLines): modify the font for inserting
10441         chars in certain conditions by calling checkInsertChar(font).
10442
10443 2001-10-19  Juergen Vigna  <jug@sad.it>
10444
10445         * text.C (workWidth): use getRow instead of wrong algorithm.
10446         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
10447
10448 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
10449
10450         * lyxserver.h:
10451         * lyxserver.C:
10452         * lyx_main.h:
10453         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
10454
10455 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10456
10457         * text.C (workWidth): do not search for the exact row when
10458         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
10459         optimization for big documents.
10460
10461 2001-10-18  Juergen Vigna  <jug@sad.it>
10462
10463         * text.C (workWidth): new function with added Inset * parameter.
10464
10465 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10466
10467         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
10468
10469         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
10470         change return type of getColumnNearX.
10471
10472
10473         * text.C (changeRegionCase): use uppercase/lowercase instead of
10474         toupper/tolower.
10475         (leftMargin):
10476         (rightMargin): simplify code by factoring out the uses of
10477         textclasslist.
10478         (labelFill):
10479         (numberOfHfills):
10480         (setHeightOfRow):
10481         (appendParagraph): use Paragraph::size_type
10482
10483 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10484
10485         * vspace.C (asLatexString): add a missing break
10486
10487 2001-10-15  Herbert Voss  <voss@perce.de>
10488
10489         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
10490
10491 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10492
10493         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
10494         is not available.
10495
10496 2001-10-10  André Pönitz <poenitz@gmx.net>
10497
10498         * lyxfunc.C: removed greek_kb_flag.
10499
10500 2001-10-10  Herbert Voss  <voss@perce.de>
10501
10502         * lyx_main.C: delete global string help_lyxdir.
10503
10504 2001-10-09  Herbert Voss  <voss@perce.de>
10505
10506         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
10507
10508         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
10509
10510         * lyx_main.C: added global string help_lyxdir.
10511
10512         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
10513
10514 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10515
10516         * lyxrc.C (set_font_norm_type): support iso8859-4
10517
10518 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
10519
10520         * LaTeX.C (deplog): add another regex for MikTeX
10521
10522 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10523
10524         * lyxrc.C (set_font_norm_type): support iso8859-3
10525
10526 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10527
10528         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
10529
10530         * LaTeXFeatures.C: remove special case of french and index
10531
10532         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
10533         before \begin{document}). This solves several incompatibilities.
10534
10535 2001-10-03  Garst Reese  <reese@isn.net>
10536
10537         * lyx_cb.C: change CheckTex error msg.
10538
10539 2001-10-03  José Matos  <jamatos@fep.up.pt>
10540
10541         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
10542
10543 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10544
10545         * .cvsignore: update
10546
10547         * lyx_main.C (commandLineVersionInfo): use new style version info.
10548
10549         * buffer.C (writeFile):
10550         (makeLaTeXFile):
10551         (makeLinuxDocFile):
10552         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
10553
10554         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
10555
10556         * version.h: update to use stuff in version.C
10557
10558         * version.C.in: new file. Contains version information determined
10559         at compile time. This is a merging of version.h and
10560         version_info.h.in.
10561
10562 2001-10-03  Juergen Vigna  <jug@sad.it>
10563
10564         * BufferView_pimpl.C (update): don't change "dirty" status in
10565         updateInset call.
10566
10567 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
10568
10569         * WorkArea.C (c-tor): re-position version string slightly.
10570
10571 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
10572
10573         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
10574         revert to previous code.
10575
10576         WorkArea.[Ch]: (show, destroySplash): methods removed.
10577
10578         WorkArea.C: rework code so that it's an amalgam of the codes before and
10579         after the splash screen was moved to WorkArea.
10580
10581 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10582
10583         * lyxrc.C (read):
10584         * vspace.C (inPixels):
10585         (lyx_advance):
10586         * kbmap.C (bind):
10587         * buffer.C (insertStringAsLines):
10588         (asciiParagraph): fix types to be large enough
10589
10590         * lyxlex_pimpl.h: change member status from short to int
10591
10592         * layout.h: fix type of endlabeltype
10593
10594         * kbmap.C (bind):
10595         * kbsequence.C (parse): change return type to string::size_type
10596
10597         * LaTeX.C (updateBibtexDependencies): comment out unneeded
10598         variable
10599
10600         * Bullet.C (bulletSize):
10601         (bulletEntry): do not use short ints as parameters
10602
10603         * BufferView2.C (insertLyXFile): change a char to an int.
10604
10605         * WorkArea.C (WorkArea): remove unneeded floats in computation
10606
10607 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
10608
10609         * buffer.C (asciiParagraph): Treat '\\' as other chars.
10610
10611         * paragraph.C (asString): Do not ignore newline/hfill chars when
10612         copying to the clipboard.
10613
10614 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
10615
10616         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
10617         after a multi-line inset.
10618
10619 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
10620
10621         * paragraph.C (validate): Set NeedLyXFootnoteCode
10622
10623 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
10624
10625         * lyxfont.C (LyXSizeNames): changed increase-error to increase
10626         and decrease-error to decrease.
10627
10628 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10629
10630         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
10631         it more readable (should be equivalent)
10632
10633 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10634
10635         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
10636
10637 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10638
10639         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
10640         of a cursor (row, etc.) after a character has been deleted
10641         (deleteEmptyParagraphMechanism): call the method above on _all_
10642         cursors held by the LyXText when a double space has been
10643         detected/deleted.
10644
10645 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
10646
10647         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
10648         pixmap.
10649         (resizeCurrentBuff): remove code to destroy the old splash dialog.
10650
10651         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
10652         background. Use greyOut() and the new show() methods to toggle between
10653         the foreground and background. Add code to remove the splash after
10654         its initial showing.
10655
10656         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
10657         (create_forms): no longer call Dialogs::showSplash.
10658
10659 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10660
10661         * .cvsignore: add version_info.h
10662
10663 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10664
10665         * version_info.h.in: new file
10666
10667         * Makefile.am: add version_info.h.in
10668
10669         * lyx_main.C (commandLineVersionInfo): use version_info defined in
10670         version_info.h instead of VERSION_INFO
10671
10672 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
10673
10674         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
10675         The ERT inset now returns string().
10676
10677 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
10678
10679         * lyxtext.h, text.C (selectNextWord): renamed as
10680         selectNextWordToSpellcheck.
10681
10682         * text.C (selectNextWordToSpellcheck): Modified to not select
10683         words inside an ERT inset.
10684
10685 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10686
10687         * lyx_cb.C (MenuLayoutSave): change a bit the question
10688
10689         * sp_base.h: include <sys/types.h>
10690
10691 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
10692
10693         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
10694
10695 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
10696
10697         * several files: fix typos in user-visible strings
10698
10699 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10700
10701         * text2.C (pasteSelection): do not set the selection, since it
10702         will be cleared later. Actually, the intent was to fix the way the
10703         selection was set, but I figured rmoving the code was just as good.
10704
10705 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
10706
10707         * FontLoader.C (available): Check if font is available without
10708         loading the font.
10709
10710 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
10711
10712         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
10713
10714 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
10715
10716         * lyxrc.[Ch]: added display_graphics variable and associated code.
10717
10718 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10719
10720         * bufferparams.C (hasClassDefaults): new method. Returns true if
10721         the buffer parameters correspond to known class defaults
10722
10723 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
10724
10725         * XFormsView.C (show): set minimum size to the main window.
10726
10727 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10728
10729         * text2.C (copySelection):
10730         (cutSelection):
10731         * lyxfind.C (LyXReplace):
10732         * BufferView_pimpl.C (Dispatch): pass the correct flag to
10733         LyXText::selectionAsString.
10734
10735         * paragraph.C (asString): add "label" argument to the second form
10736
10737         * text2.C (selectionAsString): add "label" argument and pass it to
10738         Paragraph::asString.
10739
10740 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10741
10742         * lyx_main.C (commandLineHelp): remove version information
10743
10744 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
10745
10746         * lyx_main.C: add -version commandline option
10747
10748 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10749
10750         * paragraph.h: make the optional constructor arg required instead.
10751         some modifications to other files because of this.
10752
10753         * minibuffer.C (C_MiniBuffer_peek_event): make it static
10754
10755         * lyxserver.C (C_LyXComm_callback): make it static
10756
10757         * lyx_main.C (error_handler): make it static
10758
10759         * lyx_gui.C (LyX_XErrHandler): make it static
10760
10761         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
10762
10763         * WorkArea.C: make the extern "C" methods static.
10764
10765         * Makefile.am (lyx_LDADD): simplify
10766
10767 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10768
10769         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
10770         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
10771
10772         * LyXAction.C (init):
10773         * lyxfunc.C (dispatch): associated code removal.
10774
10775 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10776
10777         * lyxfont.h (isSymbolFont): shut off warning
10778
10779         * text.C (setHeightOfRow):
10780         (getVisibleRow): fix crash with empty paragraphs which have a
10781         bottom line
10782
10783 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
10784
10785         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
10786         code.
10787
10788 2001-09-04  José Matos  <jamatos@fep.up.pt>
10789         * buffer.C
10790         * buffer.h
10791         * tabular.C (docbook): rename docBook method to docbook.
10792
10793 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10794
10795         * Makefile.am: add dependencies to main.o.
10796
10797 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
10798
10799         * FontLoader.C (available): Return false if !lyxrc.use_gui
10800
10801 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
10802
10803         * FontInfo.C (query):
10804         * converter.C (view):
10805         * importer.C (Import):
10806         * exporter.C (Export): Can not -> cannot.
10807
10808 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
10809
10810         * BufferView_pimpl.C: allow to create index inset even if
10811           string is empty
10812
10813 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10814
10815         * buffer.C (getLists): replace boost::tie code with an explicit pair
10816         as boost::tie can break some compilers.
10817
10818         * iterators.h: Added a std:: declaration to the return type of
10819         ParIterator::size.
10820
10821 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
10822
10823         * lyxrc.C: add help for view_dvi_paper_option, default to safe
10824           case.
10825
10826 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
10827
10828         * iterators.[Ch]: New files. Provide paragraph iterators.
10829
10830         * buffer.C (changeLanguage): Use paragraph iterators.
10831         (isMultiLingual): ditto
10832
10833         * BufferView2.C (ChangeInsets): Use paragraph iterators.
10834
10835 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
10836
10837         * FontLoader.C: Support for cmr font.
10838
10839 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
10840
10841         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
10842         (available): New method.
10843
10844         * FontInfo.C (getFontname): Use scalable fonts even when
10845         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
10846         found.
10847
10848 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
10849
10850         * converter.C (Formats::view): reverted! Incorrect fix.
10851
10852 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
10853
10854         * converter.C (Formats::view): only output the -paper option
10855         if the dvi viewer is xdvi, thereby fixing bug #233429.
10856
10857 2001-08-23  Herbert Voss  <voss@perce>
10858
10859         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
10860
10861 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
10862
10863         * Spacing.h (Spacing): Set space to Default on in the default
10864         constructor.
10865
10866 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10867
10868         * vc-backend.h (RCS::versionString): add RCS to version
10869         (CVS::versionString): add CVS to version
10870
10871         * vc-backend.C (scanMaster): do not add CVS to version.
10872         (scanMaster): do not add RCS to version
10873
10874         * lyxvc.C (versionString): new method
10875
10876         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
10877
10878 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10879
10880         * Spacing.C (set): initialize fval
10881
10882 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
10883
10884         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
10885         " or \.
10886
10887 2001-08-16  Juergen Vigna  <jug@sad.it>
10888
10889         * lyxfunc.C (dispatch): implemented the new FINISHED states.
10890
10891 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
10892
10893         * BufferView_pimpl.C:
10894         * figureForm.C:
10895         * lyxtext.h:
10896         * text2.C: setParagraph takes linespacing now
10897
10898 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
10899
10900         * LyxAction.C: add internal LFUN_CITATION_INSERT
10901
10902         * LyXView.C: actually apply fix
10903
10904         * bufferlist.C: fix open non-existent file
10905
10906         * lyxfind.C: fix indentation
10907
10908         * lyxfunc.C: remove unneeded assert, fix typo
10909
10910 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
10911
10912         * MenuBackend.C: use "Floatname List"
10913
10914 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
10915
10916         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
10917         when converting LaTeX layout to insetERT.
10918         Generate a non-collapsed float when reading old float
10919
10920 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
10921
10922         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
10923         ERT insets.
10924
10925 2001-08-13  Juergen Vigna  <jug@sad.it>
10926
10927         * text.C (fill): return 0 instead of 20 as this seems to be the more
10928         correct value.
10929
10930 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
10931
10932         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
10933         lyxrc.font_norm.
10934
10935 2001-08-13  Juergen Vigna  <jug@sad.it>
10936
10937         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
10938         casesensitive off.
10939         (SearchBackward): comment out the unlocking of the inset_owner this
10940         should not be needed!
10941
10942 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
10943
10944         * Many files: Remove inherit_language, and add latex_language
10945
10946         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
10947         collapsible insets.
10948
10949 2001-08-10  Juergen Vigna  <jug@sad.it>
10950
10951         * text.C (prepareToPrint): fixed hfill-width in draw!
10952
10953         * BufferView2.C (selectLastWord): save the selection cursor as this
10954         now is cleared in the function LyXText::clearSelection!
10955
10956 2001-08-08  Juergen Vigna  <jug@sad.it>
10957
10958         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
10959         BACKSPACE type functions.
10960
10961         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
10962         is only cutted from the document but not put in the cut-buffer, where
10963         still the old stuff should be.
10964
10965         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
10966
10967         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
10968
10969         * tabular.C (SetWidthOfCell): fixed special case where the width
10970         was not updated!
10971         (LeftLine): handle '|' in align_special.
10972         (RightLine): ditto
10973         (LeftAlreadyDrawed): ditto
10974         (SetWidthOfCell): ditto
10975
10976 2001-08-07  Juergen Vigna  <jug@sad.it>
10977
10978         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
10979
10980 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10981
10982         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
10983         * lyxlex.[hC]: ditto
10984
10985 2001-08-06  Juergen Vigna  <jug@sad.it>
10986
10987         * text.C (getVisibleRow): fix up row clearing a bit.
10988
10989 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10990
10991         * minibuffer.C: make sure the X server sees the changes in the input.
10992
10993 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10994
10995         * paragraph.C (getFont): split into...
10996         (getLabelFont): this
10997         (getLayoutFont): and this
10998         * paragraph_pimpl.C (realizeFont): calling this
10999
11000         * text2.C (getFont): split into...
11001         (getLayoutFont): this
11002         (getLabelFont): and this
11003         (realizeFont): all three calling this
11004
11005         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11006         files where used.
11007
11008 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11009
11010         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11011
11012 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
11013
11014         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11015         layouts from the Quote inset insertion.
11016
11017 2001-08-03  Juergen Vigna  <jug@sad.it>
11018
11019         * BufferView_pimpl.C (update): do the fitCursor only at the end!
11020
11021         * screen.C (drawFromTo): don't call fitcursor here and do the loop
11022         only if status not is already CHANGED_IN_DRAW (second level).
11023
11024         * text.C (draw): don't set the need_break_row when inside an
11025         InsetText LyXText.
11026
11027 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11028
11029         * buffer.C (parseSingleLyXformat2Token): handle more latex
11030         conversion cases.
11031
11032         * bufferview_funcs.[hC]: change function names to
11033         begin with small char, adjust other files.
11034
11035 2001-08-02  André Pönitz <poenitz@gmx.net>
11036
11037         * lyxfunc.C:
11038         BufferView_pimpl.C: remove broken special code for math-greek
11039
11040 2001-08-02  Juergen Vigna  <jug@sad.it>
11041
11042         * BufferView_pimpl.C (update): redone this function so that we
11043         update the text again if there was a CHANGE_IN_DRAW.
11044
11045         * screen.C (cursorToggle): removed LyXText parameter and recoded.
11046         (drawFromTo): added a new internal bool which is used by draw() and
11047         redraw() function.
11048         (general): some cursor drawing problems fixed.
11049
11050 2001-08-01  Juergen Vigna  <jug@sad.it>
11051
11052         * lyxfind.C (LyXFind): fixed
11053         (SearchForward): ditto
11054         (SearchBackward): ditto
11055
11056         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11057         spurius drawing of the cursor in the main area.
11058
11059         * text2.C (status): small fix which could lead to a segfault!
11060         (clearSelection): remove unneeded BufferView param.
11061
11062 2001-08-01  André Pönitz <poenitz@gmx.net>
11063
11064         * lyxfunc.C: small change due to changed mathed interface
11065
11066 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11067
11068         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
11069
11070 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
11071
11072         * lyxfunc.c: fail gracefully if file doesn't exist
11073
11074         * LyXSendto.C:
11075         * buffer.C:
11076         * lyxfunc.C:
11077         * BufferView_pimpl.C: IsDirWriteable() proto changed
11078
11079         * LyXView.C: fix updateWindowTitle() to store the last title
11080
11081 2001-07-31  Juergen Vigna  <jug@sad.it>
11082
11083         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
11084         the font (wrong since using of Paragraph::highestFontInRange).
11085
11086         * paragraph.C (highestFontInRange): added a default_size parameter.
11087
11088         * text.C (getVisibleRow): minor clear row changes (still not perfect).
11089         (setHeightOfRow): reformat
11090
11091 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11092
11093         * converter.[hC] + affected files: move to (inital-char)lowercase
11094         function names.
11095
11096         * ParagraphParameters.C (ParagraphParameters): remove commented code
11097
11098         * PainterBase.[Ch]: remove commented code
11099
11100         * LaTeXFeatures.h: add "bool floats" for float.sty
11101
11102         * LaTeXFeatures.C (LaTeXFeatures): init floats
11103         (require): handle float
11104         (getPackages): do it with floats
11105
11106 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11107
11108         * BufferView_pimpl.C (Dispatch): improve handling of
11109         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
11110
11111         * commandtags.h: #include lyxfont.h here temporarily to avoid
11112         keybinding bug.
11113
11114         * bufferlist.h: include LString.h here.
11115
11116 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11117
11118         * text2.C (getStringToIndex): new method.
11119
11120 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
11121
11122         * *: Reduced header file dependencies all over.
11123
11124 2001-07-30  Baruch Even  <baruch@lyx.org>
11125
11126         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
11127
11128 2001-07-29  Baruch Even  <baruch@lyx.org>
11129
11130         * buffer.C (readInset): Changed GRAPHICS to Graphics.
11131
11132 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11133
11134         * ParameterStruct.h (endif): add a default constructor to make
11135         sure that all variables is initialized.
11136
11137         * ParagraphParameters.C (ParagraphParameters): adjust
11138
11139 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11140
11141         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11142         index; also, check that there is something to index, and that it
11143         does not span over several paragraphs.
11144         (doubleClick): use WHOLE_WORD_STRICT for double click.
11145
11146         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
11147
11148         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11149         scheme.
11150
11151 2001-07-26  Baruch Even  <baruch@lyx.org>
11152
11153         * buffer.C (readInset): Changed to call up InsetGraphics when reading
11154         an InsetFig figure, backwards compatible reading of old figure code.
11155
11156 2001-07-27  Juergen Vigna  <jug@sad.it>
11157
11158         * text2.C: font.realize function adaption.
11159
11160         * text.C (draw): add a warnings lyxerr text if needed.
11161
11162         * layout.C: font.realize function adaption.
11163
11164         * language.C: add inherit_language and implement it's handlings
11165
11166         * bufferview_funcs.C (StyleReset): remove language parameter from
11167         font creation (should be language_inherit now).
11168
11169         * bufferparams.C (writeFile): handle ignore_language.
11170
11171         * paragraph.C (getFontSettings): the language has to be resolved
11172         otherwise we have problems in LyXFont!
11173
11174         * lyxfont.C (lyxWriteChanges): added document_language parameter
11175         (update): removed unneeded language parameter
11176
11177         * paragraph.C (validate): fixed wrong output of color-package when
11178         using interface colors for certain fonts in certain environments,
11179         which should not seen as that on the final output.
11180
11181 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
11182
11183         * BufferView_pimpl.C:
11184         * Thesaurus.h:
11185         * Thesaurus.C:
11186         * Makefile.am:
11187         * commandtags.h:
11188         * LyXAction.C: add thesaurus support
11189
11190         * lyxfind.h:
11191         * lyxfind.C: add "once" parameter, for thesaurus, to not
11192           move to the next match
11193
11194 2001-07-26  Juergen Vigna  <jug@sad.it>
11195
11196         * lyxfont.C (realize): honor ignore_language too!
11197         (resolved): ditto.
11198
11199         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11200
11201         * text.C (draw): one place more for ignore_language to not draw
11202         itself!
11203
11204 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
11205
11206         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11207
11208 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11209
11210         * buffer.C (parseSingleLyXformat2Token): a more general fix for
11211         the minipage conversion problem.
11212
11213 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11214
11215         * buffer.C (parseSingleLyXformat2Token): check minipage if we
11216         insert an inset.
11217
11218 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11219
11220         * BufferView.h: don't forward declare WorkArea
11221
11222         * BufferView.C: don't include WorkArea.h
11223
11224 2001-07-25  André Pönitz <poenitz@gmx.net>
11225
11226         * commandtags.h:
11227         * LyXAction.C:
11228         * lyxfunc.C:  new LFUN 'math-space'
11229
11230         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11231
11232 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11233
11234         * text2.C (toggleInset): call open/close
11235
11236 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11237
11238         * lyxfunc.C (dispatch): add debug for the disabled case
11239
11240         * font.C (buttonText): make similar to rectText
11241
11242         * buffer.C (readInset): comment out parsing of insetlist and
11243         insttheorem
11244
11245         * PainterBase.C (rectText): small correction
11246
11247         * BufferView_pimpl.C: comment out insettheorem and insetlist
11248         * LyXAction.C: ditto
11249         * commandtags.h: ditto
11250
11251 2001-07-24  Juergen Vigna  <jug@sad.it>
11252
11253         * text.C (draw): honor the ignore_language.
11254
11255         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11256
11257 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11258
11259         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11260         char inset.
11261
11262 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11263
11264         * lyxtext.h: remove unused (and unimplemented) methods
11265
11266 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11267
11268         * text.C (getVisibleRow): honor background color
11269
11270         * PainterBase.h:
11271         * Painter.h: remove default color argument for fillRectangle
11272
11273         * text.C (backgroundColor): new method
11274
11275 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11276
11277         * text.C (getVisibleRow): adjust
11278
11279         * font.[Ch] (rectText): new method, metrics
11280         (buttonText): new method, metrics
11281
11282         * PainterBase.[hC]: make rectText and buttonText always draw and take
11283         fewer paramteres.
11284
11285 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11286
11287         * ToolbarDefaults.C (read):
11288         * MenuBackend.C (read): allow escaping in all strings
11289
11290         * BufferView_pimpl.C (insertAndEditInset): new method.
11291         (Dispatch): use insertAndEditInset whenever appropriate.
11292
11293         * BufferView_pimpl.C (insertNote): removed
11294
11295         * BufferView_pimpl.C (smartQuote): new method, moved from
11296         BufferView; if an insetquote cannot be inserted, insert a '"'
11297         character instead.
11298
11299         * BufferView2.C: remove insertCorrectQuote();
11300
11301         * lyxfunc.C (getStatus): Add support for all remaingin
11302         inset-insert lfuns.
11303
11304         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11305
11306         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11307         command (necessary to pass " as parameter of self-insert.
11308
11309         * text.C (selectWordWhenUnderCursor):
11310         (selectWord): add word_location parameter
11311         (selectWordWhenUnderCursor): same + remove special code for word
11312         boundary.
11313         (selectNextWord): use kind() to guess type of insetspecialchar,
11314         not latex().
11315
11316         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11317         (insertErtContents): create ert insets as collapsed.
11318         (readInset): better compatibility code for Info inset.
11319
11320 2001-07-20  Juergen Vigna  <jug@sad.it>
11321
11322         * lyxfunc.C (dispatch): use always LyXFind now!
11323
11324         * text2.C (init): add a reinit flag so that the LyXText can be
11325         reinited instead of deleted and reallocated (used in InsetText).
11326
11327         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11328
11329         * text.C: ditto
11330
11331         * text2.C: ditto
11332
11333 2001-07-18  Juergen Vigna  <jug@sad.it>
11334
11335         * text.C (selectNextWord): handle insets inside inset by calling
11336         always the bv->text functions so that we can go up the_locking_inset!
11337
11338         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
11339         in strange locations when inside an inset!
11340
11341         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
11342         handling to include insets.
11343
11344         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
11345
11346 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11347
11348         * LyXAction.C (init):
11349         * commandtags.h:
11350         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
11351         LIGATURE_BREAK, since the name is so stupid.
11352
11353 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11354
11355         * buffer.C (readInset): enable reading of new InsetNotes as well as old
11356         InsetInfos.
11357
11358         * FontLoader.C: remove FORMS_H_LOCATION cruft.
11359
11360         * sp_form.[Ch]: remove.
11361
11362         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
11363
11364         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
11365         InsetInfo.
11366
11367         * src/buffer.C (readInset): ditto.
11368
11369 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11370
11371         * BufferView_pimpl.C (specialChar): new method. Obsoletes
11372         menuSeparator(), endOfSentenceDot(), ldots() and
11373         hyphenationPoint(), which are therefore removed.
11374         (Dispatch): handle LFUN_HYPHENATION_BREAK.
11375
11376         * LyXAction.C (init):
11377         * commandtags.h: add LFUN_HYPHENATION_BREAK.
11378
11379         * paragraph.C (getWord): removed.
11380
11381         * BufferView_pimpl.C (Dispatch): use last word or selection for
11382         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
11383
11384         * lyx_main.C (queryUserLyXDir): do not ask before creating
11385         user_dir, except if it has been named explicitely.
11386
11387 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11388
11389         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
11390         a document of zero size.
11391
11392 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
11393
11394         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
11395         approriately in the c-tor and in require().
11396         (getPackages): output the appropriate LaTeX for natbib support.
11397
11398         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
11399         variables "use_natbib" and "use_numerical_citations" when reading the
11400         LyX file.
11401         (readInset): read the various natbib cite commands.
11402         (validate): white-space change.
11403
11404         * bufferparams.[Ch]: new variables "bool use_natbib" and
11405         "bool use_numerical_citations".
11406         (writeFile): output them in the LyX file.
11407
11408 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11409
11410         * lyxfunc.C (getStatus): add support for all the inset insertion
11411         commands.
11412
11413         * text2.C (insertInset):
11414         * paragraph.C (insetAllowed):
11415         * BufferView_pimpl.C (insertInset): update to take in account the
11416         renaming of insertInsetAllowed
11417
11418         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
11419
11420         * text2.C (getInset): new method. returns inset at cursor position.
11421
11422         * BufferView_pimpl.C (Dispatch): changes because of this.
11423
11424         * LyXAction.C (init): rename open-stuff to inset-toggle.
11425
11426         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
11427
11428         * text2.C (toggleInset): renamed from openStuff; use
11429         Inset::open().
11430
11431 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
11432
11433         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
11434
11435         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
11436
11437 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
11438
11439         * buffer.C (readLyXformat2): Add filename to the error dialog
11440
11441 2001-07-18  Juergen Vigna  <jug@sad.it>
11442
11443         * tabular.C (GetCellNumber): put an assert here instead of the check!
11444
11445 2001-07-17  Juergen Vigna  <jug@sad.it>
11446
11447         * BufferView_pimpl.C (toggleSelection): adapted too.
11448
11449         * text.C (selectNextWord): adapted for use with insets.
11450         (selectSelectedWord): ditto
11451
11452 2001-07-17  Juergen Vigna  <jug@sad.it>
11453
11454         * sp_spell.C (PSpell): fix initialitation order.
11455
11456 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11457
11458         * paragraph.C: spacing
11459
11460 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
11461
11462         * sp_spell.C: repair language selection for pspell
11463
11464 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11465
11466         * lyxfunc.h: change more methods to begin with lower char.
11467
11468 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
11469
11470         * buffer.C (parseSingleLyXformat2Token): Generate error insets
11471         for unknown layouts.
11472
11473 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11474
11475         * buffer.C (readLyXformat2): Generate an error dialog if there are
11476         unknown layouts.
11477
11478 2001-07-16  Juergen Vigna  <jug@sad.it>
11479
11480         * sp_spell.C: always compile ISpell part.
11481
11482         * lyxrc.C: added use_pspell entry and it's handling.
11483
11484 2001-07-13  Juergen Vigna  <jug@sad.it>
11485
11486         * sp_spell.C: removed double includes.
11487
11488 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
11489
11490         Consistent use of Lsstream.h:
11491         * Lsstream.h: added using std::stringstream for consistencies sake.
11492
11493         * buffer.C: removed using std::stringstream
11494
11495         * lyxfont.C (stateText):
11496         * paragraph.C (asString):
11497         * text.C (selectNextWord, selectSelectedWord):
11498         * text2.C (setCounter):
11499         * vspace.C (asString, asLatexString):
11500         std::ostringstream -> ostringstream.
11501
11502 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
11503
11504         * LyXAction.C: add LFUN_HELP_ABOUTLYX
11505         * commandtags.h: add LFUN_HELP_ABOUTLYX
11506         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
11507
11508 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
11509
11510         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
11511         cursorToggle()
11512         * lyx_gui_misc.C: remove spellchecker
11513         * lyxfunc.C: showSpellchecker
11514         * sp_base.h: added
11515         * sp_ispell.h: added
11516         * sp_pspell.h: added
11517         * sp_spell.C: added
11518         * sp_form.[Ch]: removed
11519         * spellchecker.[Ch]: removed
11520
11521 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
11522
11523         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
11524         is set.
11525         (simpleTeXSpecialChars): Simply print the input character without
11526         any special translation if pass_thru is set.
11527
11528         * layout.h: Added bool pass_thru to layout class for being able to
11529         implement pass through of a paragraph for Literate Programming.
11530
11531         * layout.C: add LT_PASS_THRU to LayoutTags enum.
11532         * layout.C (LyXLayout): set pass_thru to flase in constructor.
11533         * layout.C (Read): add "passthru" to list of layout tags and add
11534         code to set the pass_thru boolean when it is read.
11535
11536 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11537
11538         * trans_decl.h: remove allowed from KmodInfo
11539
11540         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
11541         remove allowed code
11542         (Load): adjust
11543
11544         * paragraph_pimpl.C (erase): use boost::prior
11545
11546         * Painter.C (text): use data() instead of c_str() when length is
11547         also provided.
11548         * WorkArea.C (putClipboard): ditto
11549         * font.h (width): ditto
11550
11551         * BufferView2.C: use it-> instead of (*it). for iterators
11552         * texrow.C: ditto
11553         * paragraph_pimpl.C: ditto
11554         * paragraph.C: ditto
11555         * minibuffer.C: ditto
11556         * language.C: ditto
11557         * kbmap.C: ditto
11558         * encoding.C: ditto
11559         * counters.C: ditto
11560         * converter.C: ditto
11561         * chset.C: ditto
11562         * Variables.C: ditto
11563         * TextCache.C: ditto
11564         * MenuBackend.C: ditto
11565         * LyXAction.C: ditto
11566         * LColor.C: ditto
11567         * FloatList.C: ditto
11568         * DepTable.C: ditto
11569         * ColorHandler.C (LyXColorHandler): ditto
11570
11571 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11572
11573         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
11574
11575         * text2.C (openStuff): reintroduce this method (which had been
11576         nuked in NEW_INSETS frenzy).
11577
11578         * lyxfunc.C (Dispatch): when an action has not been handled, use
11579         its name in the error message, not its number.
11580
11581         * paragraph.C (inInset): change method name to begin with lowercase.
11582
11583         * undo_funcs.C:
11584         * text2.C: updates because of this.
11585
11586 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11587
11588         * ToolbarDefaults.C (add): add spaces in error message
11589
11590 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11591
11592         * buffer.C (readLyXformat2): initialize the ert comp. variables.
11593         (readLyXformat2): rename return_par to first_par, use lyxlex's
11594         pushToken and remove the manual push handling.
11595         (parseSingleLyXformat2Token): add another ert comp. variable:
11596         in_tabular, rename return_par to first_par. handle newlines better
11597
11598 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11599
11600         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
11601
11602 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11603
11604         * text2.C (getParFromID): removed
11605
11606         * buffer.C (getParFromID): new method moved form lyxtext.
11607         * BufferView2.C (insertErrors): adjust
11608         (setCursorFromRow): adjust
11609         * BufferView_pimpl.C (restorePosition): adjust
11610         * lyxfunc.C (Dispatch): adjust
11611         * undo_funcs.C (textUndo): adjust
11612         (textRedo): adjust
11613         (textHandleUndo): adjust
11614         (textHandleUndo): adjust
11615
11616 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11617
11618         * buffer.C: up' the LYX_FORMAT
11619
11620         * lyxfont.h: turn NO_LATEX on as default
11621
11622         * buffer.C (insertErtContents): new methods of tex style compability.
11623         (parseSingleLyXformat2Token): use it several places.
11624         * tabular.C (OldFormatRead): and here
11625
11626 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11627
11628         * text2.C: remove some commented code.
11629         reindent file.
11630
11631         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
11632         * trans.C: changes because of the above.
11633
11634 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
11635
11636         * text2.C (setCounter): Fix counters bug with bibliography layout.
11637
11638 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11639
11640         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
11641         own member functions
11642         (simpleTeXSpecialChars): ditto
11643
11644 2001-07-06  Juergen Vigna  <jug@sad.it>
11645
11646         * a lot of files: changed the access to LyXText::status and the
11647         call of undo-functions.
11648
11649         * undo.[Ch]: added a inset_id to the undo informations.
11650
11651         * undo_funcs.[Ch]: added and moved here all undo functions.
11652
11653         * lyxtext.h: give the status enum a weight, made status_ a private
11654         variable and made accessor functions for it, removed the whole bunch
11655         of undo-functions as they are now in their own file, make some
11656         functions publically available. Added function ownerParagraph with
11657         int parameter.
11658
11659         * paragraph.[Ch]: added "bool same_ids" to the constructor,
11660         made InInset() a const function, added getParFromID() function.
11661
11662         * buffer.[Ch]: added const version for inset_iterator functions,
11663         added getInsetFromID() function.
11664
11665         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
11666         changed undo functions for new version.
11667
11668 2001-07-05  Juergen Vigna  <jug@sad.it>
11669
11670         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
11671         unknow mechanism does not call the proper constructor but only this
11672         one also if I request the other!?
11673
11674 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11675
11676         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
11677
11678         * text2.C (LyXText): use initialization lists.
11679
11680         * lyxtext.h (Selection): initialize set_ and mark_
11681         (init): remove method
11682
11683 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
11684
11685         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
11686
11687 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11688
11689         * screen.[Ch]: change method names to begin with lowercase
11690
11691         * BufferView_pimpl.C (updateScrollbar): simplify further and
11692         hopefully make it a bit faster.
11693
11694 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11695
11696         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
11697         calling directly xforms functions.
11698
11699         * Painter.C (Painter):
11700         * lyx_cb.C (MenuWrite):
11701         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
11702         fl_display.
11703
11704         * lyx_gui.C: remove bogus guiruntime extern declaration.
11705
11706 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11707
11708         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
11709         in NEW_INSETS
11710         (redoDrawingOfParagraph): ditto
11711         (redoParagraphs): ditto
11712         (cutSelection): don't create a object for CutAndPaste use the
11713         static method directly
11714         (pasteSelection): ditto
11715
11716         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
11717         LyXview (+ rename)
11718
11719 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11720
11721         * modifications to some other files because of this.
11722
11723         * Makefile.am (lyx_SOURCES): add XFormsView
11724
11725         * XFormsView.[Ch]: new files
11726
11727         * LyXView.[Ch]: make LyXView a base class for the gui handling for
11728         the main window. Move the gui dependent stuff to XFormsView
11729
11730 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11731
11732         * tabular.C (GetCellInset): update cur_cell also in the row/col
11733         version of this function.
11734
11735         * lyxfunc.C: no need to include figure_form.h here.
11736
11737         * FontLoader.h:
11738         * lyxfunc.h:
11739         * lyxscreen.h:
11740         * text2.C:
11741         * lyxvc.C: no need to include forms.h here.
11742
11743 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11744
11745         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
11746
11747         * lyxfunc.C (Dispatch):
11748         * Spacing.C (set):
11749         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
11750         constructor argument.
11751
11752 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11753
11754         * paragraph.C (Paragraph): dont't clear, and just set layout.
11755         (makeSameLayout): use params's copy contructor.
11756
11757         * ParagraphParameters.[Ch] (makeSame): delete method
11758
11759 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
11760
11761         * Variables.[Ch]: fix indentation, rename set to isSet
11762
11763 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11764
11765         * lyxfunc.C (Dispatch): fix typo
11766
11767 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11768
11769         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
11770         upper_bound.
11771
11772         * bufferlist.C: include assert.h for emergencyWrite().
11773
11774 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11775
11776         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
11777           give up at last (bug #425202) !
11778
11779 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
11780
11781         * lyx_gui_misc.C:
11782         * sp_form.h:
11783         * sp_form.C:
11784         * spellchecker.h:
11785         * spellchecker.C: strip spellchecker options and bring up
11786           preferences tab instead
11787
11788 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11789
11790         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
11791         the istringstream constructor
11792
11793 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11794
11795         * paragraph.C (getLayout): fix return value
11796
11797         * paragraph.h: do not declare getLayout as inline.
11798
11799         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
11800
11801 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11802
11803         * lyxcursor.h (operator<): new func
11804         (operator>): new func
11805         (operator>=): new func
11806         (operator<=): new func
11807
11808         * text.C (changeCase): use selection.start and selection.end
11809         (changeRegionCase): require from to be <= to. Require par to be a
11810         valid paragraph.
11811
11812         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
11813
11814 2001-06-27  Juergen Vigna  <jug@sad.it>
11815
11816         * text.C (cursorLeftOneWord): changed to return the cursor and added
11817         overlay with BufferView * parameter which calls this one.
11818         (getWord): added
11819         (selectWord): use new getWord function.
11820         (changeCase): renamed from changeWordCase as and extended to work
11821         also on selections.
11822
11823         * lyxtext.h: added enum word_location
11824
11825         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
11826         changeCase as this operates now also on selections.
11827
11828 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
11829
11830         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
11831
11832         * many files: send debug output to Debug::INFO instead of
11833         Debug::ANY.
11834
11835         * converter.C (View):
11836         (Convert):
11837         (Move): send debug output to Debug::FILES instead of console.
11838
11839 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
11840
11841         * lyxfunc.C (getStatus): use func_status
11842
11843         * func_status.h: new header, describing the results of
11844         LyXFunc::getStatus;
11845
11846         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
11847         LFUN_MATH_HALIGN.
11848
11849 2001-06-25  The LyX Project  <jug@sad.it>
11850
11851         * buffer.C (sgmlOpenTag):
11852         (sgmlCloseTag):
11853         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
11854
11855 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11856
11857         * text2.C: remove some dead code
11858
11859         * tabular.C (GetCellInset): store the last cell checked (gotten)
11860
11861         * tabular.h: add the helper for the speedup
11862
11863         * lyxtext.h: remove some dead code
11864
11865 2001-06-26  The LyX Project  <Asger>
11866
11867         * paragraph.C: Change export to LaTeX of alignment to
11868         \begin{center} and family for better roundtrip work with reLyX.
11869
11870         * Tune the math drawing a bit.
11871
11872 2001-06-25  The LyX Project  <Asger>
11873
11874         * LColor.C (LColor): New color for math background. New color
11875         for buttons.
11876
11877 2001-06-25  The LyX Project  <jug@sad.it>
11878
11879         * lyxfunc.C (MenuNew): remove extra check for .lyx file
11880
11881         * lyxfunc.C (Open):
11882         * bufferlist.C (newFile): do not restrict to files ending with
11883         .lyx
11884
11885         * BufferView_pimpl.C (MenuInsertLyXFile):
11886
11887 2001-06-24  The LyX Project  <jug@sad.it>
11888
11889         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
11890         of compare_no_case
11891
11892 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11893
11894         * lyxtext.h: rename most methods to begin with a small char.
11895         Lots of changes because of this.
11896
11897         * paragraph.C (Paragraph): do not call fitToSize
11898         (erase): call Pimpl::erase
11899         (insertChar): call Pimpl::insertChar
11900         (insertInset): call Pipl::insertInset
11901         (breakParagraph): do not call fitToSize
11902         (breakParagraphConservative): do not call fitToSize
11903         (fitToSize): remove method
11904
11905         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
11906
11907 2001-06-24  The LyX Project  <Asger>
11908
11909         * Fix Qt compilation^2
11910
11911 2001-06-24  The LyX Project  <jug@sad.it>
11912
11913         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
11914         depthHook(getDepth()-1).
11915
11916         * paragraph.h:
11917         * ParagraphParameters.h:
11918         * ParameterStruct.h: change type of depth to unsigned int ==
11919         depth_type. Many adaptations to other files before of that.
11920
11921 2001-06-24  The LyX Project  <Asger>
11922
11923         * Fix Qt compilation.
11924
11925 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11926
11927         * paragraph.h: renamed several methods to begin with small letter.
11928         several changes to many parts of the code because of this.
11929
11930 2001-06-23  The LyX Project  <jug@sad.it>
11931
11932         * text2.C (InsertStringAsLines): renamed from InsertStringA;
11933         rewritten to discard all double spaces when KeepEmpty is off
11934         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
11935         to only handle newlines but not fiddle with spaces and friends.
11936
11937         * lyxfunc.C (MenuNew): when doing 'new from template', use
11938         template_path as default directory
11939
11940 2001-06-23  The LyX Project  <Asger>
11941
11942         * Clean-up of header file includes all over
11943         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
11944
11945 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11946
11947         * paragraph.h: renamed from lyxparagraph.h
11948
11949 2001-06-23  Asger  <lyx@violet.home.sad.it>
11950
11951         * Buffer.h: Removed Buffer::resize
11952         * BufferList.h: Removed BufferList::resize
11953         * LyXView.h: Added LyXView::resize. This way, we will only reflow
11954         the document lazily when we change the width, or the font settings.
11955
11956 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11957
11958         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
11959
11960 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11961
11962         * buffer.h: remove out of date comment
11963
11964 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11965
11966         * lyxscreen.h:
11967         * screen.C: fix "theoretical" GC leak
11968
11969 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11970
11971         * LaTeX.C (scanAuxFile):
11972         (deplog): remove trailing \r when reading stream (useful under
11973         win32)
11974
11975 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
11976
11977         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
11978         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
11979         and BufferView::theLockingInset(Inset*), so should use them and not
11980         access bv_->text->the_locking_inset directly.
11981
11982         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
11983
11984 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
11985
11986         * Makefile.am:
11987         * tex-defs.h: remove old unused file
11988
11989 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
11990
11991         * BufferView_pimpl.C: fix typo, remove minibuffer message
11992           when buffer has loaded
11993
11994 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11995
11996         * lyxfunc.C (Dispatch): use stringstream
11997         (MenuNew): use stringstream
11998         (Open): use stringstream
11999
12000         * importer.C (Import): use stringstream
12001
12002         * bufferview_funcs.C (CurrentState): use stringstream
12003
12004         * LaTeX.C (run): use stringstream
12005
12006         * BufferView_pimpl.C (savePosition): use stringstream
12007         (restorePosition): use stringstream
12008         (MenuInsertLyXFile): use stringstream
12009
12010 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
12011
12012         * BufferView.C:
12013         * Bullet.C:
12014         * ColorHandler.C:
12015         * FontInfo.C:
12016         * FontLoader.C:
12017         * LColor.C:
12018         * LaTeXFeatures.C:
12019         * Painter.C:
12020         * gettext.C:
12021         * lyx_gui_misc.C:
12022         * lyxserver.C:
12023         * vspace.C: removed // -*- C++ -*- as first line.
12024
12025         * lyxfind.h:
12026         * version.h: added // -*- C++ -*- as first line.
12027
12028 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12029
12030         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12031
12032         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12033         of string
12034
12035 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12036
12037         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12038         of floats.
12039
12040 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12041
12042         * gettext.C: include LString.h even when --disable-nls is on.
12043
12044 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
12045
12046         * converter.h (Get): changed argument type from int to
12047         FormatList::size_type to avoid unnecessary conversion.
12048
12049         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12050         before using it.
12051
12052 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12053
12054         * gettext.h: include LString.h even when --disable-nls is on.
12055
12056 2001-06-07  Juergen Vigna  <jug@sad.it>
12057
12058         * text.C (BreakAgain): subst spaces with tabs.
12059
12060         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
12061         (resizeInsetsLyXText): set force on resizeLyXText.
12062
12063 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12064
12065         * gettext.h (gettext_init):
12066         (locale_init): use a real definition instead of a macro
12067
12068 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12069
12070         * Bufferview_pimpl.C:
12071         * LColor.h:
12072         * LColor.C: further lcolor tidies
12073
12074 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12075
12076         * BufferView_pimpl.C (updateScrollbar): simplify.
12077
12078         * BufferView2.C: don't include insets/insetinfo.h, change
12079         prototype for insertInset and call the Pimpl version. let
12080         updateInset call Pimpl version.
12081
12082         * BufferView.h: move inset_slept to BufferView::Pimpl, move
12083         gotoInset to BufferView::Pimpl
12084
12085 2001-06-01  Juergen Vigna  <jug@sad.it>
12086
12087         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
12088         inside a LockingInset (is the update needed at all?).
12089
12090 2001-05-31  Juergen Vigna  <jug@sad.it>
12091
12092         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
12093         here not the old one otherwise how should we compare it afterwards
12094         if it's the same!
12095
12096 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12097
12098         * lyxfont.C:
12099         * tabular.C:
12100         * tabular-old.C:
12101         * FontInfo.C: bring C functions into global namespace when
12102         necessary
12103
12104 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12105
12106         * LString.h: make sure config.h has been loaded before LString.h.
12107
12108         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
12109         (one for each char read by EatLine!).
12110
12111         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
12112         variables.
12113
12114 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12115
12116         * paragraph.C (BreakParagraph): set the inset_owner in the new par
12117         to the same as the par we break from
12118
12119 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12120
12121         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
12122
12123         * MenuBackend.C (expand): also create menu entries for wide
12124         versions of the floats.
12125
12126         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
12127
12128         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
12129
12130         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
12131         frontends/Makefile.am
12132
12133         * text2.C: adjust
12134         * text.C: adjust
12135
12136
12137         * tabular.C (getTokenValue): add std::
12138
12139         * tabular-old.C (getTokenValue): add std::
12140         (getTokenValue): ditto
12141         (getTokenValue): ditto
12142
12143         * screen.C (ToggleSelection): adjust
12144
12145         * lyxtext.h: put selection cursors inside a Selection struct.
12146
12147         * lyxfunc.C (moveCursorUpdate): adjust
12148
12149         * lyxfont.C (latexWriteStartChanges): add std::
12150
12151         * lyxfind.C: adjust
12152
12153         * font.h: delete with(char const *, LyXFont const &)
12154
12155         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
12156
12157         * FontInfo.C (getFontname): add std::
12158
12159         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12160         (workAreaButtonPress): adjust
12161         (tripleClick): adjust
12162         (update): adjust
12163         (moveCursorUpdate): adjust
12164         (Dispatch): adjust
12165
12166         * BufferView2.C (gotoInset): adjust
12167
12168 2001-05-30  Juergen Vigna  <jug@sad.it>
12169
12170         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
12171         to check pspell I add this as default as I now have new pspell
12172         libraries and they seem to use this.
12173
12174 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12175
12176         * text2.C (CutSelection): make the cursor valid before the call to
12177         ClearSelection.
12178
12179 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12180
12181         * kbsequence.C (parse): de-uglify a bit the parsing code, which
12182         relied on 0 terminated strings and other horrors. Bug found due to
12183         the new assert in lyxstring!
12184
12185         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12186         KP_ keys.
12187
12188 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12189
12190         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12191         to latinkeys.bind.
12192
12193         * lyxfunc.C (processKeySym): change method of getting to the
12194         self-insert char.
12195
12196         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12197         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12198         * BufferView_pimpl.[Ch]: here as private methods.
12199
12200 2001-05-28  Juergen Vigna  <jug@sad.it>
12201
12202         * text.C (SetHeightOfRow): added the update() call again as it is
12203         needed to initialize inset dimensions!
12204
12205 2001-05-16  Juergen Vigna  <jug@sad.it>
12206
12207         * text2.C (SetCharFont): Add new function with BufferView * and
12208         bool toggleall parameters for setting insets internal fonts.
12209         (SetFont): Freeze the undo as we may change fonts in Insets and
12210         all this change should be inside only one Undo!
12211
12212         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12213         setting font's in insets as for them we have the SetFont function!
12214
12215 2001-05-15  Juergen Vigna  <jug@sad.it>
12216
12217         * text2.C (ClearSelection): to be sure we REALLY don't have any
12218         selection anymore!
12219
12220         * tabular.C (TeXCellPreamble): fixed the left border problem for
12221         multicolumn cells.
12222
12223 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
12224
12225         * LaTeX.C (deplog): Make sure that the main .tex file is in the
12226         dependancy file
12227
12228 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12229
12230         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12231         LFUN_BREAKPARAGRAPH.
12232
12233         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12234         help test to "internal only", similar for LFUN_INSERT_URL
12235
12236         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12237         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12238         auto_region_delete and deadkeys.
12239
12240 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
12241
12242         * LColor.h:
12243         * LColor.C: remove some dead entries, tidy a little
12244
12245 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12246
12247         * lyxfunc.C (processKeySym): comment the Escape handling, remove
12248         commented code.
12249         (Dispatch): implement LFUN_ESCAPE
12250
12251         * commandtags.h: add LFUN_ESCAPE
12252
12253         * LyXAction.C (init): add entry for LFUN_ESCAPE
12254
12255         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12256         Remove commented code.
12257         (insertNote): moved here
12258         (open_new_inset): moved here
12259
12260         * BufferView[2].[Ch]: move insertNote and open_new_inset to
12261         BufferView_pimpl
12262
12263 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12264
12265         * kbmap.C (findbinding): clean it up and make it work correctly.
12266
12267         * lyx_main.C (init): do not pass argc and argv as parameters
12268
12269 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
12270
12271         * buffer.C: fix path for OS/2 & Win32
12272
12273         * lyx_gui.C:
12274         * lyx_main:
12275         * lyx_main.C: Added os:: class.
12276
12277         * os2_defines.h: update
12278
12279 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12280
12281         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12282         better by trying again with reduced state.
12283
12284 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12285
12286         * lyxrc.C (read): print error about invalid key sequence only when
12287         debugging (because not all latinX keysyms are known to some X
12288         servers)
12289
12290         * kbsequence.C (getiso): add a few std:: qualifiers
12291         (getiso): comment out extra return statement.
12292
12293 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12294
12295         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12296         handling.
12297         (Dispatch): enhance the accent inset a bit. (not perfect)
12298
12299 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12300
12301         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12302
12303 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12304
12305         * bufferlist.C (emergencyWrite): fix assert() call
12306
12307 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
12308
12309         * text.C (InsertChar): Added trivial patch to only send the "you
12310         can not do multiple spaces this way" message once during a
12311         session.
12312
12313 2001-05-08  Baruch Even  <baruch@lyx.org>
12314
12315         * Makefile.am: Changed order of libraries to get LyX to link properly
12316         with the gnome frontend.
12317
12318 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12319
12320         * LaTeXFeatures.h: add a std:: qualifier
12321
12322 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12323
12324         * paragraph.C (String): use stringstream
12325
12326 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12327
12328         * paragraph.C (writeFile): remove footflag arg
12329
12330         * buffer.C (makeLaTeXFile): use stringstream
12331         (latexParagraphs): remove footnot gurba
12332
12333         * LaTeXFeatures.C (getPackages): use stringstream
12334         (getMacros): likewise
12335         (getTClassPreamble): likewise
12336         (getFloatDefinitions): new method
12337
12338         * paragraph.C (writeFile): reindent
12339         (Erase): reindent
12340
12341         * WorkArea.h: revert the xpos + etc changes.
12342
12343         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
12344
12345         * lyxparagraph.[Ch]: add copy constructor, remove Clone
12346
12347         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
12348         (pasteSelection): likewise
12349         * text2.C (CreateUndo): likewise
12350
12351 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12352
12353         * minibuffer.C (peek_event): temporarily reduce the functionality
12354         of the minibuffer (to allow args on lfuns)
12355
12356         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
12357         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
12358
12359         * buffer.C (readInset): add compability reading of old float
12360         lists, add reading of new style float list.
12361         (readInset): avoid reevaluation of inscmd.getCmdName()
12362         (getLists): reindent
12363
12364         * MenuBackend.C (MenuItem): implement parsing of
12365         md_floatlistinsert and md_floatinsert.
12366         (expand::LastFiles): move initalizaton of iterators out of loop,
12367         avoid reevaluation.
12368         (expand::Documents): introduce typdedef vector<string> Strings,
12369         and use it.
12370         (expand::ExportFormats): introduce typedef vector<Format const *>
12371         Formats, and use it.
12372         (expand): implement FloatListInsert and FloatInsert.
12373
12374         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
12375         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
12376         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
12377
12378         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
12379         handling.
12380         (Dispatch::LFUN_FLOAT_LIST): implement
12381
12382 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12383
12384         * LaTeX.C (run): Fix problem with --export code.
12385
12386 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12387
12388         * BufferView.[Ch] (workarea): removed.
12389         (getClipboard) new method; wrapper for workarea()->getClipboard()
12390
12391         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
12392         bug.
12393
12394         * WorkArea.h (width, height, xpos, ypos): These methods all
12395         returned the dimensions of the work_area sub-area of WorkArea,
12396         resulting in a position error if the WorkArea were resized. Now
12397         return the dimensions of the entire WorkArea.
12398
12399         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
12400
12401 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12402
12403         * LaTeX.C (deplog): correct the syntax of regex reg1
12404
12405 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12406
12407         * undo.C: remove !NEW_INSETS cruft
12408
12409 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12410
12411         * text2.C: remove !NEW_INSETS cruft
12412
12413         * text.C: remove !NEW_INSETS cruft
12414
12415         * tabular.C: remove !NEW_INSETS cruft
12416
12417         * spellchecker.C: remove !NEW_INSETS cruft
12418
12419         * lyxtext.h: remove !NEW_INSETS cruft
12420
12421         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
12422
12423         * lyxfunc.C: remove !NEW_INSETS cruft
12424
12425         * lyxfind.C: remove !NEW_INSETS cruft
12426
12427         * lyx_cb.C: remove !NEW_INSETS cruft
12428
12429         * figureForm.C: remove  !NEW_INSETS cruft
12430
12431         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
12432
12433         * buffer.[Ch]: remove !NEW_INSETS cruft
12434
12435         * ToolbarDefaults.C: remove !NEW_INSETS cruft
12436
12437         * CutAndPaste.C: remove !NEW_INSETS cruft
12438
12439         * BufferView_pimpl.C: remove !NEW_INSETS cruft
12440
12441         * BufferView2.C: remove !NEW_INSETS cruft
12442
12443         * BufferView.h: remove !NEW_INSETS cruft
12444
12445 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12446
12447         * Lsstream.h: include LString.h before the sstream headers to
12448         fix problem with gcc 2.95.3 and lyxstring
12449
12450 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12451
12452         * lyx_main.C: add using directives when needed for C functions
12453         declared in std:: namespace.
12454
12455 2001-04-27  Juergen Vigna  <jug@sad.it>
12456
12457         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
12458         (SetHeightOfRow): comment out the update call should not be needed!
12459
12460 2001-04-13  Juergen Vigna  <jug@sad.it>
12461
12462         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
12463         (LyXTabular): tried to minimize operator= operations (and realized
12464         hopfully Lars wish).
12465
12466 2001-04-27  Juergen Vigna  <jug@sad.it>
12467
12468         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
12469
12470 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12471
12472         * lyxfunc.C (Dispatch): hack to make listof algorithm work
12473
12474         * buffer.C (readInset): hack to make listof algorithm work
12475
12476         * BufferView_pimpl.C: hack to make listof algorithm work
12477
12478 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12479
12480         * LyXAction.C: removed all !NEW_INSETS cruft
12481         (init): moved lfun_item in method
12482
12483         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
12484
12485 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12486
12487         * BufferView2.C (theLockingInset): white space.
12488
12489 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12490
12491         * minibuffer.C: include <iostream>
12492
12493         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
12494
12495         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
12496
12497         * commandtags.h: add LFUN_TRANSPOSE_CHARS
12498
12499         * text.[Ch] (TransposeChars): new method
12500
12501 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12502
12503         * call message directly through LyXView instead of through LyXFunc
12504         * BufferView2.C: adjust
12505         * BufferView_pimpl.C: adjust
12506         * FontLoader.C: adjust
12507         * buffer.C: adjust
12508         * bufferview_funcs.C: adjust
12509         * converter.C: adjust
12510         * figureForm.C: adjust
12511         * importer.C: adjust
12512         * lyx_cb.C: adjust
12513         * lyx_gui_misc.C: adjust
12514         * lyxfunc.C: adjust
12515         * lyxvc.C: adjust
12516         * text2.C: adjust
12517         + more files in subdirs
12518
12519         * lyxparagraph.h (size): move up int file
12520         (GetLayout): ditto
12521
12522         * adjust all uses of Assert to lyx::Assert.
12523
12524         * BufferView2.C (ChangeCitationsIfUnique): adjust for
12525         lyxfunctional in namespace lyx
12526         * layout.C (hasLayout): ditto
12527         (GetLayout): ditto
12528         (GetLayout): ditto
12529         (delete_layout): ditto
12530         (NumberOfClass): ditto
12531         * converter.C (GetFormat): ditto
12532         (GetNumber): ditto
12533         (Add): ditto
12534         (Delete): ditto
12535         (SetViewer): ditto
12536         * bufferlist.C (getFileNames): ditto
12537         (emergencyWriteAll): ditto
12538         (exists): ditto
12539         (getBuffer): ditto
12540         * MenuBackend.C (hasSubmenu): ditto
12541         (hasMenu): ditto
12542         (getMenu): ditto
12543         * BufferView_pimpl.C (getInsetByCode): ditto
12544
12545 2001-04-18  Juergen Vigna  <jug@sad.it>
12546
12547         * vspace.C (asLatexString): fixed the 100% problem.
12548
12549 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12550
12551         * lyxfunc.C (Dispatch):
12552         * minibuffer.C:
12553         * minibuffer.h: add a few std:: qualifiers
12554
12555 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12556
12557         * minibuffer.[Ch]: reimplement so that commands is initiated and
12558         run from lyxfunc, simplified som handling, and made the completion
12559         and history code for complete. wip.
12560
12561         * lyxfunc.C (processKeySym): call message
12562         (miniDispatch): new temporary method
12563         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
12564         (LFUN_MESSAGE): implement
12565         (LFUN_MESSAGE_PUSH): implement
12566         (LFUN_MESSAGE_POP): implement
12567         (initMiniBuffer): the initial/defualt minibuffer message.
12568
12569         * lyxfont.[Ch]: inline some more getters
12570
12571         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
12572
12573         * lyx_gui_misc.[Ch] (WriteStatus): remove method
12574
12575         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
12576         (AutoSave): use LFUN_MESSAGE
12577         (Reconfigure): ditto
12578
12579         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
12580
12581         * figureForm.C: use LFUN_MESSAGE
12582
12583         * converter.C (runLaTeX): use LFUN_MESSAGE
12584
12585         * bufferview_funcs.C: use LFUN_MESSAGE
12586         (Melt): ditto
12587         (changeDepth): ditto
12588
12589         * bufferparams.h: use boost::
12590
12591         * bufferlist.h: inherit privately from noncopyable
12592
12593         * bufferlist.C (loadLyXFile): remove some commented code.
12594
12595         * buffer.C (runChktex): use LFUN_MESSAGE
12596
12597         * ShareContainer.h: inherit privately from noncopyable
12598
12599         * ParagraphParameters.[hC] (depth): inline it.
12600
12601         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
12602         methods.
12603         (message): new method
12604         (messagePush): ditto
12605         (messagePop): ditto
12606         (show): init minibuffer
12607         (showState): direct call
12608
12609         * LaTeX.[Ch]: inherit privately from noncopyable
12610         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
12611         instead of WriteStatus.
12612
12613         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
12614
12615         * BufferView_pimpl.C (buffer): don't init minibuffer
12616         (workAreaButtonPress): use LFUN_MESSAGE
12617         (workAreaButtonRelease): ditto
12618         (savePosition): ditto
12619         (restorePosition): ditto
12620         (MenuInsertLyXFile): ditto
12621         (workAreaExpose): don't init minibuffer
12622         (update): remove commented code, simplify
12623
12624         * BufferView2.C (openStuff): use LFUN_MESSAGE
12625         (toggleFloat): ditto
12626         (menuUndo): ditto
12627         (menuRedo): ditto
12628         (copyEnvironment): ditto
12629         (pasteEnvironment): ditto
12630         (copy): ditto
12631         (cut): ditto
12632         (paste): ditto
12633         (gotoInset): ditto
12634         (updateInset): remove some commented code
12635
12636         * lastfiles.h: inherit privately from noncopyable
12637         * layout.h: ditto
12638         * lyx_gui.h: ditto
12639         * lyx_main.h: ditto
12640         * lyxlex.h: ditto
12641         * lyxlex_pimpl.h: ditto
12642
12643         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
12644         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
12645         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12646
12647         * LyXAction.h: inherit privately from noncopyable, add methods
12648         func_begin, func_end, returning iterators to the func map.
12649
12650         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
12651         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12652         (func_begin): new method
12653         (func_end): new method
12654
12655         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
12656         and not)
12657         (copySelection): ditto
12658         (pasteSelection): ditto
12659
12660         * BufferView.C: whitespace change
12661         * BufferView.h: inherit privately from noncopyable
12662
12663 2001-04-16  Allan Rae  <rae@lyx.org>
12664
12665         * tabular-old.C (l_getline):
12666         * spellchecker.C (sc_check_word):
12667         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
12668         an unrecognised preprocessor directive.  So ensure they're wrapped.
12669
12670 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
12671
12672         * src/exporter.C (Export): Give an error message when path to file
12673         contains spaces.
12674
12675 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
12676
12677         * LaTeX.C (deplog): Always check that foundfile exists.
12678
12679 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12680
12681         * lyx_main.h:
12682         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
12683
12684 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12685
12686         * tabular.[Ch] (getLabelList): implement new method
12687
12688         * minibuffer.h: comment ouf setTiimer
12689
12690         * minibuffer.C (ExecutingCB): constify res
12691         (peek_event): constify s
12692         (Set): constify ntext
12693         (Init): constify nicename
12694
12695         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
12696
12697         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
12698         (savePosition): use two params to Minibuffer::Set
12699         (restorePosition): ditto
12700
12701 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12702
12703         * lyx_main.C: include language.h
12704
12705         * Makefile.am (lyx_main.o): add language.h
12706
12707 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12708
12709         * exporter.C:
12710         * paragraph.C:
12711         * screen.C:
12712         * tabular.C:
12713         * CutAndPaste.C: include gettext.h
12714
12715         * lyxfont.h: remove old hack with ON and OFF.
12716
12717         * lyxparagraph.h:
12718         * lyxfont.h: do not include language.h...
12719
12720         * BufferView2.C:
12721         * LaTeXFeatures.C:
12722         * Painter.C:
12723         * bufferview_funcs.C:
12724         * font.C:
12725         * lyxfont.C:
12726         * text.C:
12727         * text2.C:
12728         * trans_mgr.C:
12729         * paragraph.C: ... but do it here instead
12730
12731 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12732
12733         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
12734
12735         * tabular.C: small reformat
12736
12737         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
12738         NEW_INSETS version
12739         (GetChar): ditto
12740         (BreakParagraph): ditto
12741         (SetOnlyLayout): ditto
12742         (SetLayout): ditto
12743
12744         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
12745         with one arg less.
12746
12747         * lastfiles.C: removed most using decl, add std:: where needed
12748
12749         * buffer.C: ws changes
12750
12751         * MenuBackend.C (class compare_format): put into anon namespace
12752         (expand): constify label, names, action, action2
12753         (expand):
12754
12755         * text.C (SingleWidth): constify font
12756         (IsBoundary): constify rtl2
12757         (GetVisibleRow): constify ww
12758
12759         * LaTeX.C (deplog): constify logfile
12760
12761         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
12762         start_x, end_x
12763         (workAreaExpose): constify widthChange, heightChange
12764
12765         * lyxrow.C (par): moved
12766         (height): moved
12767         (next): moved
12768         * lyxrow.h: as inlines here
12769
12770         * lyxfont.h (shape): moved from lyxfont.C
12771         (emph): moved from lyxfont.C
12772
12773         * lyxfont.C (LyXFont): use initialization list for all
12774         constructors
12775         (shape): move to lyxfont.h as inline
12776         (emph): move to lyxfont.h as inline
12777
12778
12779 2001-04-04  Juergen Vigna  <jug@sad.it>
12780
12781         * vspace.C: had to include stdio.h for use of sscanf
12782
12783 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
12784
12785         * BufferView.h:
12786         * BufferView_pimpl.h: remove xforms cruft. Both classes are
12787         independent of xforms.
12788
12789 2001-04-02  Juergen Vigna  <jug@sad.it>
12790
12791         * spellchecker.C: fixed namespace placing!
12792
12793 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
12794
12795         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
12796         the LyXParagraph * is 0.
12797
12798 2001-03-29  Juergen Vigna  <jug@sad.it>
12799
12800         * vspace.C: added support for %, c%, p%, l%.
12801         (stringFromUnit): added helper function.
12802         (asLatexString): changed to give right results for the %-values.
12803
12804         * buffer.C: convert the widthp in a width%.
12805
12806 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
12807
12808         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
12809         figureForm.[Ch].
12810
12811         * figureForm.[Ch]: stripped the FD_from_figure manipulation
12812         code out of lux_cb.[Ch], ready for its (imminent?) removal.
12813
12814         * lyx_cb.[Ch]: see above.
12815
12816         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
12817         form1.[Ch].
12818
12819         * form1.[Ch]:
12820         * lyx.[Ch]: replaced by figure_form.[Ch].
12821
12822         * lyx_gui.C:
12823         * lyx_gui_misc.C:
12824         * lyxfunc.C: changed headers associated with above changes.
12825
12826 2001-03-27  Juergen Vigna  <jug@sad.it>
12827
12828         * BufferView_pimpl.C: set the temporary cursor right!
12829
12830 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
12831
12832         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
12833
12834 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
12835
12836         * LString.h: removed "using std::getline"!
12837
12838         * BufferView_pimpl.C (Dispatch): changes due to changes in
12839         InsetInclude::Params.
12840
12841         * buffer.C (tag_name): removed redundant break statements as they were
12842         producing lots of warnings with my compiler.
12843
12844 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12845
12846         * LString.h: add "using std::getline" when using the real <string>.
12847
12848 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
12849
12850         * buffer.C: removed bitset usage.
12851         PAR_TAG moved to an anonymous name space.
12852         (tag_name): new funtion, also in the anonymous namespace.
12853         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
12854         (makeDocBookFile): clean code. Completed transition from string arrays
12855         to string vectors.
12856         (SimpleDocBookOnePar): code clean.
12857
12858 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12859
12860         * tabular.C: add some comments.
12861
12862 2001-03-22  Juergen Vigna  <jug@sad.it>
12863
12864         * buffer.C (parseSingleLyXformat2Token): redone the minipage
12865         compatibility read a bit and fixed bug with minipage in different
12866         depth.
12867
12868 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
12869
12870         * buffer.C (pop_tag): removed.
12871         (push_tag): removed.
12872         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
12873         array replaced with vector. Added support for CDATA sections.
12874         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
12875         at any nest level.
12876         (makeDocBookFile): XML conformant declaration of CDATA section,
12877         fixed bug related to <emphasis> in the first paragraph char.
12878         (sgmlOpenTag): exclude empty tags.
12879         (sgmlCloseTag): ditto.
12880
12881         * buffer.h (pop_tag): removed.
12882         (push_tag): removed.
12883
12884 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
12885
12886         * language.h (Languages): added size_type and size().
12887
12888 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12889
12890         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
12891         response on compability reading of minipages. One probliem is that
12892         the old usage of minipages was «flertydig»
12893
12894         * several files here and in subdirs: don't use static at file
12895         scope use anon namespaces instead.
12896
12897 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
12898
12899         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
12900         LaTeX output. This is necessary for Literate document
12901         processing.
12902
12903 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12904
12905         * buffer.C: insert hfill when needed.
12906
12907         * tabular.C (l_getline): use string::erase, small whitespace change.
12908
12909         * BufferView_pimpl.C: try the anon namespace.
12910         * WorkArea.C: ditto
12911
12912 2001-03-16  Juergen Vigna  <jug@sad.it>
12913
12914         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
12915         otherwise it won't open options-dialogs.
12916
12917         * buffer.C: honor pextraWidth(p) on converting minipages.
12918
12919         * tabular.C (l_getline): changed the functions to strip trailing \r.
12920
12921 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
12922
12923         * BufferView_pimpl.C:
12924         * minibuffer..C: added "using SigC::slot" declaration.
12925
12926 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12927
12928         * lyxlex_pimpl.h: noncopyable is in namespace boost.
12929
12930         * text2.C: ditto
12931
12932         * text.C: ditto
12933
12934         * paragraph.C: ditto
12935
12936         * lyxtext.h: NO_PEXTRA
12937
12938         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
12939
12940         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
12941         * ParameterStruct.h: ditto
12942         * ParagraphParameters.h: ditto
12943         * lyxparagraph.h: ditto
12944
12945 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12946
12947         * buffer.C: add compability for minipage alignment.
12948         (latexParagraphs): remove unwanted pextra check.
12949
12950         * several files: remove CXX_WORKING_NAMESPACES
12951
12952         * buffer.C (pop_tag): tie is in namespace boost
12953
12954         * BufferView.h: noncopyable is in namespace boost
12955         * lyxlex.h: ditto
12956         * lyx_main.h: ditto
12957         * lyx_gui.h: ditto
12958         * layout.h: ditto
12959         * lastfiles.h: ditto
12960         * bufferlist.h: ditto
12961         * ShareContainer.h: ditto
12962         * LyXView.h: ditto
12963         * LyXAction.h: ditto
12964         * LaTeX.h: ditto
12965
12966 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
12967
12968         * Merging changes from BRANCH_MVC back into HEAD.
12969
12970         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
12971
12972 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
12973
12974         * BufferView_pimpl.C: change from intl.C
12975
12976         * combox.h:
12977         * combox.C:
12978         * Makefile.am: move combox.*
12979
12980         * form1.h:
12981         * form1.C:
12982         * lyx_gui.C:
12983         * intl.h:
12984         * intl.C: remove dialog (covered by prefs)
12985
12986 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
12987
12988         * lyxfunc.C (Dispatch): removed redundant break statement.
12989
12990 2001-03-14  Juergen Vigna  <jug@sad.it>
12991
12992         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
12993
12994 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12995
12996         * buffer.C: add hack to fix compability reading of minipages.
12997
12998 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
12999
13000         * buffer.C (getLists): Cleanup.
13001
13002 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13003
13004         * lyxfont.C (update): don't honor toggleall on font size.
13005
13006 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
13007
13008         * bmtable.c:
13009         * bmtable.h:
13010         * Makefile.am: moved to frontends/xforms/
13011
13012         * lyx_gui_misc.C:
13013         * lyxfunc.C:
13014         * BufferView_pimpl.C: changes for moved mathpanel
13015
13016 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13017
13018         * gettext.h: fix gettext_init() in --disable-nls
13019
13020 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13021
13022         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13023
13024 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
13025
13026         * lyx.C:
13027         * lyx.h: strip external form
13028
13029 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13030
13031         * BufferView_pimpl.C: add comment, destroySplash()
13032
13033 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13034
13035         * BufferView_pimpl.C:
13036         * LyXAction.C:
13037         * buffer.C:
13038         * commandtags.h:
13039         * lyxfunc.C: use re-worked insetinclude
13040
13041 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13042
13043         * buffer.C: add using std::stringstream.
13044
13045         * lyx_cb.C: readd using std::ios.
13046
13047         * buffer.C: add using std::map.
13048
13049         * BufferView_pimpl.C: add using std::vector.
13050
13051         * ShareContainer.h: add std:: to swap.
13052
13053         * buffer.h: add some typedefs
13054         * buffer.C (getLists): use them
13055         (getLists): renamed from getTocList.
13056         add a counter for the different float types and use it in the
13057         generated string.
13058         (getLists): use the same counter for the NEW_INSETS and the "non"
13059         NEW_INSETS
13060
13061         * lyx_cb.h: remove unused items, includes, using etc.
13062
13063         * ShareContainer.h: remove some commented code, add more comments
13064         and "documentation".
13065
13066 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13067
13068         * buffer.C (getTocList): make the list also when NEW_INSETS is
13069         defined.
13070
13071         * buffer.h: remove TocType
13072
13073         * buffer.C (getTocList): change to return a map<string,
13074         vector<TocItem> >, implement for dynamic number of list.
13075
13076         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13077         * text2.C (PasteSelection): adjust
13078         * CutAndPaste.C (pasteSelection): adjust
13079
13080         * FloatList.C (FloatList): update from the new_insets branch.
13081         * Floating.[Ch]: ditto
13082         * LaTeXFeatures.C: ditto
13083         * buffer.C: ditto
13084         * lyxlex_pimpl.C: ditto
13085
13086         * paragraph.C (Last): remove when NEW_INSETS is defined.
13087
13088         * other file: changes because of the above.
13089
13090 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13091
13092         * lyxparagraph.h: rename next to next_, previous to previous_,
13093         make them private for NEW_INSETS. Rename Next() to next(),
13094         Previous() to previous().
13095
13096         * other files: changes because of the above.
13097
13098 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
13099
13100         * BufferView.h:
13101         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
13102         problem.
13103
13104 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13105
13106         * main.C (main): pass lyx_localedir to gettext_init().
13107
13108         * gettext.h: remove locale_init and gettext_init macros
13109
13110         * gettext.C (locale_init): new function
13111         (gettext_init): new function
13112
13113         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
13114         setlocale().
13115
13116 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
13117
13118         * Moved credits to frontends:
13119         * credits.[Ch]: removed
13120         * credits_form.[Ch]: removed
13121         * lyx_gui_misc.C: remove credits stuff
13122         * Makefile.am:
13123
13124 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13125
13126         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
13127
13128         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
13129         unneeded destructor.
13130
13131         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
13132         a standalone pointer again.
13133
13134         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
13135
13136 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
13137
13138         * Makefile.am:
13139         * filedlg.h:
13140         * filedlg.C:
13141         * LyXAction.C:
13142         * ToolbarDefaults.C:
13143         * bufferlist.C:
13144         * commandtags.h:
13145         * form1.C:
13146         * form1.h:
13147         * lyx_cb.C:
13148         * lyx_cb.h:
13149         * lyxfunc.h:
13150         * lyxfunc.C:
13151         * BufferView_pimpl.C: use new file dialog in GUII
13152
13153         * lyx_cb.h:
13154         * lyx_cb.C: remove LayoutsCB to Toolbar
13155
13156 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13157
13158         * ShareContainer.h (get): add std:: qualifier
13159
13160 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13161
13162         * ShareContainer.h: define a proper ShareContainer::value_type
13163         type (and use typename to please compaq cxx)
13164
13165 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13166
13167         * lyxparagraph.h: move serveral local vars to
13168         ParameterStruct/ParagraphParameters., use ShareContainer in
13169         FontTable., make vars in FontTable private and add getter and
13170         setter.
13171
13172         * paragraph.C: changes because of the above.
13173
13174         * lyxfont.h: remove copy constructor and copy assignment. (the
13175         default ones is ok), move number inside FontBits. move inlines to
13176         lyxfont.C
13177
13178         * lyxfont.C: add number to initializaton of statics, move several
13179         inlines here. constify several local vars. some whitespace
13180         cleanup. Dont hide outerscope variables.
13181
13182         * Spacing.h: add two new constructors to match the set methods.
13183
13184         * ShareContainer.h: new file, will perhaps be moved to support
13185
13186         * ParameterStruct.h: new file
13187
13188         * ParagraphParameters.h: new file
13189
13190         * ParagraphParameters.C: new file
13191
13192         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13193         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13194
13195         * BufferView_pimpl.C: ParagraphParameter changes.
13196         * buffer.C: Likewise.
13197         * bufferview_funcs.C: Likewise.
13198         * text.C: Likewise.
13199         * text2.C: Likewise.
13200
13201 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13202
13203         * lyxfind.C (LyXReplace): do not redefine default argument in
13204         implementation.
13205         (IsStringInText): ditto
13206         (SearchForward): ditto
13207         (SearchBackward): ditto
13208
13209 2001-03-06  Juergen Vigna  <jug@sad.it>
13210
13211         * lyxfind.C (IsStringInText): put parentes around expressions.
13212
13213 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
13214
13215         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13216
13217 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
13218
13219         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13220
13221         * stl_string_fwd.h: add comment
13222
13223         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13224
13225         * tabular.h:
13226         * tabular.C: remove unused DocBook methods
13227
13228         * intl.C:
13229         * language.C:
13230         * paragraph.C:
13231         * buffer.C:
13232         killed DO_USE_DEFAULT_LANGUAGE
13233
13234 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13235
13236         * lyx_gui.C: do not include language.h.
13237
13238         * bufferview_funcs.C (ToggleAndShow): do not provide optional
13239         arguments in function implementation.
13240
13241 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13242
13243         * BufferView_pimpl.C: add <ctime>
13244
13245 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13246
13247         * BufferView_pimpl.C: add using std::find_if
13248
13249 2001-02-27  José Matos  <jamatos@fep.up.pt>
13250
13251         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13252         by OnlyPath.
13253
13254 2001-02-11  José Matos  <jamatos@fep.up.pt>
13255
13256         * buffer.C (makeDocBookFile): command styles now have a parameter as
13257         "title" by default.
13258
13259 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
13260
13261         * layout_forms.[Ch]: removed
13262         * lyx_cb.[Ch]: out character
13263         * lyx_gui.C: out character
13264         * lyx_gui_misc.C: out character
13265         * bufferview_funcs.C: : out character,
13266         added toggleall as parameter in ToggleAndShow
13267
13268 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
13269
13270         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13271
13272         * text2.C (SetCurrentFont): Disable number property at boundary.
13273
13274 2001-02-26  Juergen Vigna  <jug@sad.it>
13275
13276         * lyxfunc.C (getStatus): added a string argument override function so
13277         that this is correctly called from LyXFunc::Dispatch if it contains a
13278         do_not_use_argument which is used!
13279         (Dispatch): added check for "custom" export and call appropriate func.
13280
13281 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
13282
13283         * lyxrc.C: Add language_command_local, language_use_babel and
13284         language_global_options.
13285
13286         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13287
13288         * buffer.C (makeLaTeXFile): Use language_use_babel and
13289         language_global_options.
13290
13291 2001-02-23  Juergen Vigna  <jug@sad.it>
13292
13293         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13294         which works with LyXText and putted it inside BufferView. Here now we
13295         only call for that part the BufferView::Dispatch() function.
13296
13297         * BufferView.C (Dispatch): added.
13298
13299         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13300         functions which needs to use a LyXText over from LyXFunc.
13301         (MenuInsertLyXFile): added
13302         (getInsetByCode): added
13303         (moveCursorUpdate): added
13304         (static TEXT): added
13305
13306 2001-02-22  Juergen Vigna  <jug@sad.it>
13307
13308         * BufferView_pimpl.C (update): call a status update to see if LyXText
13309         needs it.
13310
13311 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13312
13313         * vc-backend.C (revert): implement for CVS
13314         (getLog): implement for CVS
13315
13316 2001-02-20  Juergen Vigna  <jug@sad.it>
13317
13318         * text2.C (ClearSelection): added BufferView param for inset_owner call
13319
13320         * lyxfunc.C (TEXT): added this function and use it instead of
13321         directly owner->view()-text of getLyXText().
13322
13323 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
13324
13325         * src/layout_forms.C: out preamble
13326         * src/layout_forms.h: out preamble
13327         * src/lyx_cb.C: out preamble
13328         * src/lyx_cb.h: out preamble
13329         * src/lyx_gui.C: out preamble
13330         * src/lyx_gui_misc.C: out preamble
13331         * src/lyxfunc.C: connect with guii preamble
13332
13333 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
13334
13335         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
13336
13337 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
13338
13339         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
13340         whether to run bibtex.
13341
13342 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
13343
13344         * Makefile.am (lyx_SOURCES): Remove BackStack.h
13345
13346 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13347
13348         * Makefile.am (lyx_SOURCES): removed bibforms.h
13349
13350         * vspace.h: doxygen
13351
13352         * text.C (GetVisibleRow): make several local vars const
13353
13354         * tabular.C: small cleanup.
13355
13356         * lyxserver.C (callback): use compare instead of strncmp
13357
13358         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
13359         inlines to after class or to paragraph.C
13360
13361         * lyxfont.h: remove friend operator!=
13362
13363         * converter.h: move friend bool operator< to non friend and after
13364         class def.
13365
13366         * combox.h: small cleanup
13367
13368         * buffer.h: doxygen, remove unused constructor, move inclas inlies
13369         to inlines after class def.
13370
13371         * buffer.C (pop_tag): use string operations instead of strcmp
13372
13373         * bmtable.c: doxygen, small cleanup
13374
13375         * LaTeX.h: remove friend operator==
13376
13377 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
13378
13379         * screen.C:
13380         * lyxrc.[Ch]:
13381         * lyxfunc.C:
13382         * lyxfont.[Ch]:
13383         * lyx_cb.C:
13384         * intl.[Ch]:
13385         * commandtags.h:
13386         * buffer.C:
13387         * WorkArea.[Ch]:
13388         * LyXAction.C:
13389         * BufferView_pimpl.C:
13390         * BufferView.[Ch]: remove cruft
13391
13392 2001-02-14  Juergen Vigna  <jug@sad.it>
13393
13394         * lyxfunc.C: removed #if 0 unused code
13395
13396         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
13397
13398         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
13399
13400         * text2.C (SetSelection): added a BufferView * parameter
13401
13402 2001-02-13  Juergen Vigna  <jug@sad.it>
13403
13404         * lyxfunc.C (Dispatch): fixed protected blank problem.
13405         * BufferView2.C (protectedBlank): added LyxText * parameter.
13406
13407         * tabular.C (AppendRow): forgot to set row_info of newly added row.
13408         (AppendColumn): same as above for column_info.
13409
13410         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
13411         (moveCursorUpdate): use a LyXText param for support of InsetText.
13412
13413         * BufferView_pimpl.C (doubleClick): added support for InsetText.
13414         (tripleClick): ditto
13415
13416         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
13417
13418         * BufferView_pimpl.C (update): added LyXText param to honor insets.
13419
13420         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
13421
13422         * text2.C (SetSelection): set correct update status if inset_owner
13423         (ToggleFree): ditto
13424
13425 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
13426
13427         * tabular.C: remove some commented code.
13428
13429 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
13430
13431         * BufferView_pimpl.C: call hideSplash()
13432
13433         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
13434
13435         * include_form.h:
13436         * bibforms.h: remove
13437
13438         * lyxfunc.C:
13439         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
13440           add LFUN_CHILD_CREATE
13441
13442         * counters.h: fix tiny typo
13443
13444         * lyx_cb.C:
13445         * lyx.h:
13446         * lyx_gui.C:
13447         * lyx.C: move splash to frontends/xforms/
13448
13449         * lyx_gui_misc.C: move Include and Bibform to frontends
13450
13451         * lyxvc.h: clarify comment
13452
13453         * vspace.C: tiny housekeeping
13454
13455 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
13456
13457         * text.C (PrepareToPrint): RTL Fix.
13458
13459         * paragraph.C (GetUChar): New method.
13460         (String):  Use GetUChar.
13461
13462         * buffer.C (asciiParagraph): Use GetUChar.
13463
13464 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
13465
13466         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
13467
13468 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
13469
13470         * buffer.h:
13471         * buffer.C: rename to getLogName(), handle
13472           build log / latex log nicely
13473
13474 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13475
13476         * MenuBackend.C:
13477         * MenuBackend.h: remove support for reference menuitem type.
13478
13479 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
13480
13481         * BufferView_pimpl.C: housekeeping
13482         * BufferView_pimpl.h:
13483         * LyXView.h:
13484         * Makefile.am:
13485         * Timeout.C:
13486         * Timeout.h:
13487         * minibuffer.h: move Timeout GUI-I
13488
13489 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
13490
13491         * lyxrc.C (read): Update converters data-structures.
13492
13493 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
13494
13495         * LaTeX.h (operator!=): add operator != for Aux_Info
13496
13497 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
13498
13499         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
13500
13501         * LaTeXLog.C: deleted, useful code moved to Buffer
13502
13503         * buffer.h:
13504         * buffer.C: new function getLatexLogName()
13505
13506         * lyx_gui_misc.C:
13507         * lyx_gui.C:
13508         * lyxvc.C:
13509         * lyxvc.h:
13510         * lyxfunc.C: use frontends for LaTeX and VC logs
13511
13512 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13513
13514         * LaTeX.h: yet another std:: that Allan forgot.
13515
13516         * Variables.C (set): renamed from isset(), because this clashes
13517         with some HP-UX macros (grr).
13518
13519 2001-02-06  Allan Rae  <rae@lyx.org>
13520
13521         * LaTeX.h: Another bug fix.  Missing std:: this time.
13522
13523 2001-02-04  Allan Rae  <rae@lyx.org>
13524
13525         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
13526         floats problem. I've left it commented out because it's not quite
13527         correct.  It should also test that the current object is a table or
13528         figure inset.  But I haven't gotten around to figuring out how to do
13529         that.  I *think* it'll be something like: "table" == inset.type()
13530
13531         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
13532         bool.
13533
13534 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
13535
13536         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
13537         all the citation/databases/styles in the auxilary file.
13538         (run): Rerun latex if there was a babel language error.
13539
13540 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
13541
13542         * text.C (Backspace): Preserve the font when changing newline char
13543         with a space.
13544         (BreakParagraph): If the cursor is before a space, delete the space.
13545
13546         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
13547
13548 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
13549
13550         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
13551         new argument (code).
13552         (ChangeCitationsIfUnique): New method.
13553
13554         * paragraph.C (GetPositionOfInset): Handle bibkey.
13555
13556 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13557
13558         * BufferView_pimpl.h: change type of Position::par_pos to
13559         LyXParagraph::size_type.
13560
13561 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
13562
13563         * BufferView_pimpl.C (savePosition, restorePosition): Write
13564         messages to minibuffer.
13565
13566 2001-01-28  José Matos  <jamatos@fep.up.pt>
13567
13568         * buffer.C (makeDocBookFile): adds support for document language.
13569         A silly restriction on the name of LatexCommand types where removed.
13570         Added support for CDATA sections, allows to chars unescaped, used
13571         among others in code, to avoid escape < and >.
13572
13573 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
13574
13575         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
13576         saved positions instrad of a stack. Furthermore, a position is
13577         stored using paragraph id/paragraph position.
13578
13579         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
13580         Remove LFUN_REF_BACK.
13581
13582 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
13583
13584         * converter.C (dvipdfm_options): New method.
13585
13586 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13587
13588         * vspace.C (isValidLength): Fix for empty input string.
13589
13590 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13591
13592         * LyXAction.C (init): change description of LFUN_FIGURE to
13593         "Insert Graphics"
13594
13595 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13596
13597         * LaTeX.C: add using directive
13598
13599 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
13600
13601         * MenuBackend.C (expand): Fix the sorting of the formats.
13602
13603 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
13604
13605         * lyx_main.C: tiny error message fix
13606
13607 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13608
13609         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
13610         calling fl_initialize(). This fixes the problem with ',' as
13611         decimal separator in text files.
13612
13613 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
13614
13615         * trans.C (process): Fix the keymap bug.
13616
13617 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
13618
13619         * LaTeX.C (scanAuxFiles): New method. Provides support for
13620         multiple bibliographies (when using the bibtopic/bibunits pacakges).
13621         (scanLogFile) Scan for "run BibTeX" messages.
13622
13623         * buffer.C (makeLaTeXFile): Do not load the ae package when using
13624         OT1 font encoding. Also, load the aecompl package if the ae
13625         package is loaded.
13626
13627         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
13628
13629 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13630
13631         * texrow.C (increasePos): turn two error messages into debug
13632         messages.
13633
13634 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
13635
13636         * LaTeX.C (scanAux): Handle the \@input macro.
13637         (runBibTeX): Use scanAux().
13638
13639         * language.C (latex_options_): New field.
13640
13641         * LaTeXFeatures.C (getMacros): Add language macros.
13642
13643         * buffer.C (makeLaTeXFile): Small fix.
13644
13645 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13646
13647         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
13648
13649         * text2.C: add a using directive.
13650
13651 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
13652
13653         * BufferView2.C:
13654         * lyx_gui_misc.h:
13655         * lyxfr1.C:
13656         * lyxfunc.C: kill LyXBell.
13657
13658 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
13659
13660         * text.C (IsBoundary): Remove the error message
13661
13662         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
13663
13664         * lyxrc.C (setDefaults): Correct initialization value for
13665         font_norm_type.
13666
13667 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
13668
13669         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
13670         gotoError().
13671
13672         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
13673         and GotoNextNote().
13674
13675         * src/LyXAction.C: Added reference-next.
13676
13677         * text.C (InsertChar): Use contains instead of strchr.
13678
13679         * lyx_cb.C (MenuInsertLabel): Enable default value code.
13680
13681 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
13682
13683         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
13684         alignment commands (when needed).
13685
13686         * text.C (InsertChar): Add ':' to number separator chars.