]> git.lyx.org Git - features.git/blob - src/ChangeLog
LyXCursor::x_fix -> BufferView::x_target
[features.git] / src / ChangeLog
1 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2
3         * text.C (cursorPar): deactivate the cursor cache
4
5 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
6
7         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
8
9 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
10
11         * text3.C (dispatch): adjust for new DisptchResult semantics.
12
13         * lyxfunc.C (dispatch): handle update when return from
14         Cursor::dispatch, adjust for new DispatchResult semantics.
15
16         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
17         DispatchResult(true) mean to not update. Add class functions for
18         setting dispatched and update, as well as reading.
19
20         * cursor.C (dispatch): don't handle update here
21
22 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
23
24         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
25         * trans_mgr.C: adjust
26
27         * paragraph_funcs.C (readParToken): exception safety
28
29         * lyxvc.h: store the vcs pointer in a scoped_ptr
30         * lyxvc.C: adjust
31
32         * lyxsocket.C (serverCallback): exception safety
33
34         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
35
36         * ispell.C (clone): make it return a auto_ptr
37
38         * factory.C (createInset): exception safety
39         (readInset): exception safety
40
41         * bufferlist.C (newBuffer): exception safety
42
43         * Thesaurus.C (Thesaurus): use initialization for aik_
44
45         * MenuBackend.C (expandToc): exception safety.
46
47 2003-11-03  André Pönitz  <poenitz@gmx.net>
48
49         * buffer.C:
50         * buffer.h:
51         * bufferview_funcs.C: remove getInsetFromId()
52
53         * lyxcursor.[Ch]:
54         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
55
56         * lyxfunc.C:
57         * text2.C:
58         * text3.C: adjust
59
60 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
61
62         * PosIterator.C (distance, advance): new
63         * bufferview_funcs.[Ch] (put_selection_at): new
64         * iterators.[Ch] (lockPath): new
65
66 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
67
68         * iterators.[Ch] (asPosIterator): added
69         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
70         * PosIterator.[Ch]: added
71
72 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
73
74         * text3.C:
75         * lyxfunc.C:
76         * cursor.C (dispatch):
77         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
78
79         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
80         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
81         contructor, add a class function dispatched. Remove operator>=
82
83 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
84
85         * debug.C: only use the default constructor for debugstream
86         (lyxerr) here.
87
88         * main.C (main): include debug.h and setup the lyxerr streambuf
89         here.
90
91 2003-10-31  José Matos  <jamatos@lyx.org>
92
93         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
94
95         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
96         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
97         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
98         * paragraph_pimpl.C (simpleTeXSpecialC):
99         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
100         add LatexRunParams argument.
101
102         * exporter.C (Export): change call accordingly.
103
104         * latexrunparams.h: add new member to take care of the other backends.
105 2003-10-30  José Matos  <jamatos@lyx.org>
106
107         * buffer.C (makeLinuxDocFile, makeDocBookFile):
108         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
109         factorise code for paragraph output.
110         * buffer.[Ch]:
111         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
112         move functions.
113
114 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
115
116         * text3.C (dispatch):
117         * lyxfunc.C (dispatch):
118         * cursor.C (dispatch):
119         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
120
121         * dispatchresult.h: make the dispatch_result_t ctor explicit
122
123 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
124
125         * sgml.[Ch]:
126         * buffer.C: small refactoring of docbook stuff
127
128 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
129
130         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
131         meaning.
132
133 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
134
135         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
136         operator dispatch_result_t, and operators for == != and >=
137
138         * cursor.C (dispatch): adjust for operator dispatch_result_t
139         removal. comment out call to update
140
141         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
142
143 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
144
145         * text3.C:
146         * text2.C:
147         * text.C:
148         * lyxtext.h:
149         * lyxfunc.C:
150         * cursor.C:
151         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
152         (dispatch):
153
154         * dispatchresult.h: new file, DispatchResult broken out of
155         insets/insetbase.h
156
157         * Makefile.am (lyx_SOURCES): add dispatchresult.h
158
159 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
160
161         * text.C (rowBreakPoint): put a hack inside #if 0
162
163 2003-10-28  André Pönitz  <poenitz@gmx.net>
164
165         * lyxtext.h:
166         * metricsinfo.C:
167         * paragraph_funcs.C:
168         * rowpainter.C:
169         * text.C:
170         * text2.C: general cleanup (lots of small stuff)
171
172 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
173
174         * text2.C (cursorEnd): simple fix to the "end key goes to one
175         before the end on last row" bug
176
177 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
178
179         * text.C (backspace): fix the "zombie characters"
180
181 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
182
183         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
184
185 2003-10-27  André Pönitz  <poenitz@gmx.net>
186
187         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
188
189         * factory.C: handle new InsetPagebreak, InsetLine
190
191         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
192         and move handling into new InsetPagebreak, InsetLine
193
194         * BufferView_pimpl.C:
195         * LyXAction.C:
196         * ParagraphParameters.C:
197         * ParameterStruct.h:
198         * lyxfunc.C:
199         * lyxtext.h:
200         * paragraph.C:
201         * paragraph.h:
202         * paragraph_funcs.C:
203         * paragraph_pimpl.C:
204         * rowpainter.C:
205         * text.C:
206         * text2.C:
207         * text3.C: adjust
208
209 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
210
211         * text.C:
212         * lyxrow_funcs.[Ch]:
213         * Bidi.C:
214         * paragraph.C:
215         * lyxtext.h:
216         * rowpainter.C:
217         * text2.C:
218         * text3.C: remove lastPos uses in favour of Row::endpos
219
220 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
221
222         * undo.C (performUndoOrRedo): fix two crashes by setting a
223         cursor by hand and reordering some calls. Use bv->lockInset instead
224         of inset->edit because the latter loses cursor information
225
226 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
227
228         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
229         by Martin
230         (rowBreakPoint): fix width. change point to point + 1.
231         Add a missing check.
232
233 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
234
235         * MenuBackend.C:
236         * lyxfunc.C: fix (at least partly) the problems
237         with the Nav menu and headers inside branch insets
238         reported by Kayvan
239
240 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
241
242         * paragraph.C (getChar): add strong asserts
243
244         * lyxrow_funcs.C (lastPos): remove hideous hack
245
246         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
247         (fill): adjust to that (avoid an infinite loop)
248
249 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
250
251         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
252
253 2003-10-23  André Pönitz  <poenitz@gmx.net>
254
255         * RowList_fwd.h: change list<> to vector<> to gain speed
256         after suggestion from Alfredo
257
258 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
259
260         * lyxtext.h: move the bidi stuff from here...
261         * text.C: and here
262         * text2.C: and here
263         * Bidi.[Ch]: ... to here
264
265 2003-10-23  André Pönitz  <poenitz@gmx.net>
266
267         * lyxtext.h:
268         * text.C (isLastRow, isFirstRow): new functions
269
270         * paragraph.h: new width cache member
271
272         * rowpainter.C: replace RowList::iterator with Row & where possible
273
274         * lyxfunc.C: replace several view()->text with a single call
275
276         * toc.C: fix 'unused' warning
277
278 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
279
280         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
281         when woring with stream::pos_type
282         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
283
284 2003-10-22  André Pönitz  <poenitz@gmx.net>
285
286         * lyxtext.h:
287         * text.C: use Row & instead of RowList::iterator
288
289         * lyxrow.h: rename end() to endpos()
290
291         * rowpainter.C:
292         * text.C:
293         * text2.C: adjust
294
295 2003-10-22  Angus Leeming  <leeming@lyx.org>
296
297         * buffer.[Ch] (fully_loaded): new member function, returning true
298         only when the file has been loaded fully.
299         Used to prevent the premature generation of previews and by the
300         citation inset to prevent computation of the natbib-style label.
301
302         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
303         templates are all set up.
304
305         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
306
307 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
308
309         * text.C: fixed an "oops" in the "is a bit silly"
310         bug fix
311
312 2003-10-21  André Pönitz  <poenitz@gmx.net>
313
314         * FuncStatus.[Ch]: small stuff, whitespace
315
316         * lyxfont.[Ch]: operator<<() for debug reasons
317
318         * lyxfunc.C:
319         * lyxrow_funcs.C:
320         * lyxtext.h: whitespace, spelling
321
322         * paragraph.C: naming of variables
323
324         * text.C:
325         * text2.C: small stuff
326
327
328 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
329
330         * text.C: (1) finish off the inset display() work;
331         (2) fix the "is a bit silly" bug (accessing char
332         past end of par).
333
334 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
335
336         * text.C: re-introduce display() for insets, fixing the
337         various bugs (stretch of line above, math inset
338         positioning, ...)
339
340 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
341
342         * text.C (rightMargin): remove spurious semicolon
343
344         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
345         1415)
346
347 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
348
349         * text3.C: fix one crash due to wrong cursor def
350
351 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
352
353         * vc-backend.C (scanMaster): make the regex static
354
355         * LaTeX.C (scanAuxFile): make the regexs static
356
357         * text3.C (doInsertInset, dispatch, dispatch):
358         * text2.C (cursorUp, cursorDown):
359         * text.C (selectNextWordToSpellcheck):
360         * BufferView_pimpl.C (dispatch):
361         * lyxfunc.C (dispatch):  localDispatch -> dispatch
362
363 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
364
365         * lyxsocket.C: include <cerrno>
366
367 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
368
369         * lyxfunc.C (dispatch): remove textcache stuff
370
371         * bufferlist.C (release): remove textcache stuff
372         (closeAll): ditto
373
374         * TextCache.C: delete file
375         * TextCache.h: delete file
376
377         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
378
379         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
380         delete of the bv_->text.
381         (resizeCurrentBuffer): remove texcache stuff
382         (workAreaResize): ditto
383
384 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
385
386         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
387         action.
388
389 2003-10-16  André Pönitz  <poenitz@gmx.net>
390
391         * lyxrow.[Ch]:
392         * paragraph.h:
393         * rowpainter.C:
394         * text.C:
395         * text2.C:
396         * text3.C: speed up by storing y positions per paragraph plus per-row
397         offset instead of having a 'full' y position in the row.
398
399 2003-10-15  André Pönitz  <poenitz@gmx.net>
400
401         * iterators.[Ch]:
402         * iterators.[Ch]:
403         * undo.[Ch]: make undo aware of inner insets
404
405 2003-10-14  Angus Leeming  <leeming@lyx.org>
406
407         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
408         static member functions LyX::ref() and LyX::cref.
409         (lastfiles): new accessor functions for the new lastfiles_ member var.
410         (addLyXView, views_): add a new LyXView to the list of views_.
411         (updateInset): loop over all LyXViews to call their own updateInset
412         member function, returning a pointer to the Buffer owning the inset.
413
414         * BufferView_pimpl.C (loadLyXFile):
415         * MenuBackend.C (expandLastfiles):
416         * bufferlist.C (MenuWrite, QuitLyX):
417         lastfiles is no longer a global variable.
418         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
419
420         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
421         static function. Access through LyX::cref().emergencyCleanup().
422
423 2003-10-14  André Pönitz  <poenitz@gmx.net>
424
425         * iterators.[Ch]: new direct access to innermost LyXText and Inset
426
427         * undo.[Ch]: restoring part of 'undo in insets'
428
429         * Makefile.am:
430         * undo_funcs.[Ch]: merge with undo.[Ch]
431
432         * tabular.C: small cleansing stuff
433
434 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
435
436         * paragraph_funcs.C (readParToken): report unknown insets as error
437         boxes. Use the outer paragraph as location (also for unknown
438         tokens).
439
440         * factory.C (readInset): do not abort on reading an unknown inset.
441         Eat it and return 0.
442
443 2003-10-13  Angus Leeming  <leeming@lyx.org>
444
445         * lyx_main.C (LyX): remove call to setDisplayTranslator().
446
447         * lyxrc.C: displayTranslator is now a function,
448         declared in GraphicsTypes.h.
449
450 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
451
452         * format.C: new placeholder $$a to pass the socket address.
453
454         * bufferlist.[Ch]: new function getBufferFromTmp.
455
456         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
457           files in the temporary dir.
458
459 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
460
461         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
462
463         * Makefile.am: add lyxsocket.[Ch].
464
465         * lyx_main.C (error_handler): handle SIGPIPE.
466
467 2003-10-13  André Pönitz  <poenitz@gmx.net>
468
469         * BufferView_pimpl.C:
470         * lyxtext.h:
471         * text.C:
472         * text2.C:
473         * text3.C:
474         * undo_funcs.[Ch]: use paroffset_type instead of
475           ParagraphList::iterators to prevent multiple conversion
476           (and get a more robust interface)
477
478 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
479
480         * lyxfunc.C (dispatch): RESULT -> dispatch_result
481         * lyxtext.h: ditto
482         * text3.C (dispatch): ditto
483
484 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
485
486         * LaTeX.C (handleFoundFile): move the static to smaller scope,
487         move the onlyfile, use onlyfile instead of foundfile in a couple
488         of places.
489
490         * DepTable.C (update): flush the error stream a bit more
491
492 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
493
494         * lyxserver.C (callback): adjust
495
496         * lyxfunc.C (getStatus): add a missing brace in commented code
497         (ensureBufferClean): reindent
498         (dispatch): delete version taking a string
499
500 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
501
502         * LaTeX.C (deplog): move found file handlig from here...
503         (handleFoundFile): .. to new function here.
504         (deplog): make sure to discover several files mentioned on the
505         same log line.
506
507 2003-10-10  André Pönitz  <poenitz@gmx.net>
508
509         * lyxfunc.C:
510         * lyxtext.h:
511         * tabular.C:
512         * text.C:
513         * text2.C:
514         * text3.C: fix some of the tabular crashes
515
516 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
517
518         * MenuBackend.C (binding): put debug message into Debug::KBMAP
519
520         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
521
522 2003-10-09  André Pönitz  <poenitz@gmx.net>
523
524         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
525
526         * BufferView.C:
527         * BufferView_pimpl.C:
528         * bufferview_funcs.C:
529         * lyx_cb.C:
530         * lyxcursor.C:
531         * lyxfind.C:
532         * lyxfunc.C:
533         * lyxtext.h:
534         * text.C:
535         * text2.C:
536         * text3.C:
537         * text_funcs.[Ch]:
538         * textcursor.[Ch]:
539         * undo_funcs.C: adjust
540
541 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
542
543         * text2.C (incrementItemDepth): new function, use a backtracking
544         algorithm to discover the correct item depth.
545         (resetEnumCounterIfNeeded): new function, use a backtracking
546         algorithm to discover if counter reset is needed.
547         (setCounter): use them. Simplify a bit. Add different labels for
548         different item depths for itemize.
549
550         * paragraph.C (Paragraph): remove initialization of enumdepth
551         (operator=): ditto
552
553         * paragraph.h: get rid of enumdepth, and use itemdepth both for
554         enumerate and itemize. Change the type of itemdepth to signed char.
555
556 2003-10-08  André Pönitz  <poenitz@gmx.net>
557
558         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
559           thing assignable.
560         * text.C:
561         * text2.C: adjust
562
563         * tabular.[Ch]: fix crash after 'row-insert'
564
565 2003-10-08  Angus Leeming  <leeming@lyx.org>
566
567         Fix doxygen warnings.
568
569         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
570         Remove CutAndPaste:: prefix from header file declaration.
571
572         * LColor.h (fill): remove LColor:: prefix from declaration.
573
574         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
575         use lyx::depth_type rather than Paragraph::depth_type so that
576         header file and .C file match.
577
578         * converter.h (intToFormat): remove Converters:: prefix from declaration.
579
580         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
581         * aspell.C: \file aspell_local.C -> \file aspell.C
582         * gettext.C: \file gettext.C -> \file src/gettext.C
583         * gettext.h: \file gettext.h -> \file src/gettext.h
584         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
585         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
586         * text.C: \file text.C -> \file src/text.C
587
588         * toc.C: move comment so that doxygen is not confused.
589
590 2003-10-07  Angus Leeming  <leeming@lyx.org>
591
592         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
593
594 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
595
596         * aspell.C:
597         * aspell_local.h: add forgotten std::string's.
598
599 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
600
601         * LaTeXFeatures.C:
602         * LyXAction.C:
603         * factory.C:
604         * lfuns.h:
605         * lyxfunc.C:
606         * text3.C: The Box patch. Fancybox support, minipage, parbox
607
608 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
609
610         * CutAndPaste.h:
611         * DepTable.h:
612         * FloatList.h:
613         * LaTeXFeatures.h:
614         * ParagraphParameters.h:
615         * TextCache.h:
616         * Thesaurus.h:
617         * bufferlist.h:
618         * exporter.h:
619         * importer.h:
620         * lastfiles.h:
621         * lyxfind.h:
622         * lyxfont.h:
623         * lyxlex.h:
624         * lyxtextclasslist.h:
625         * messages.h:
626         * paragraph.h:
627         * paragraph_pimpl.C:
628         * textcursor.h: add <string> and other small fixes to make Lars'
629         std::string patch compile with STLport.
630
631 2003-10-06  Angus Leeming  <leeming@lyx.org>
632
633         * LColor.h: Add missing #include <string>.
634
635 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
636
637         * All most all file in all subdirs: Make <string> be the prefered
638         way of getting to std::string, add using declarations.
639
640 2003-10-06  André Pönitz  <poenitz@gmx.net>
641
642         * metricsinfo.C: initialize LyXFont before changing attribute.
643         (fixes the 'math in \emph is upright' bug)
644
645 2003-10-06  André Pönitz  <poenitz@gmx.net>
646
647         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
648
649 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
650
651         * graph.C:
652         * paragraph_pimpl.C: Small fixes to build using STLport
653
654 2003-10-02  André Pönitz  <poenitz@gmx.net>
655
656         * lyxfunc.C:
657         * text3.C: move handling of LFUN_DEPTH *; fix #1360
658
659 2003-10-01  André Pönitz  <poenitz@gmx.net>
660
661         * factory.C: assert early
662
663 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
664
665         * lyx_main.C: remove the global debug object
666
667         * debug.h: adjust for new debugstream
668
669         * debug.C: adjust for new debugstream and keep the global debug
670         object here.
671
672 2003-09-22  Angus Leeming  <leeming@lyx.org>
673
674         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
675         of g++ which otherwise complain that the scoped_ptr destructor can't delete
676         an incomplete class LyXFont.
677
678 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
679
680         * factory.C: bug fix in branches
681
682 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
683
684         * lyxfunc.C (processKeySym): adjust
685         (dispatch): adjust
686         (dispatch): change arg name from ev to func, adjust
687         (sendDispatchMessage): ditto
688
689         * lyx_main.C (defaultKeyBindings): adjust keybindings
690         (deadKeyBindings): ditto
691
692         * kbsequence.C (addkey): return a FuncRequest
693
694         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
695
696         * kbmap.C (bind): take a FuncRequest as arg, adjust
697         (read): adjust
698         (lookup): adjust
699         (defkey): change to take a FuncRequest as arg, adjust
700         (findbinding): take a FuncRequest as arg, adjust.
701
702         * funcrequest.h (operator=): added
703
704         * funcrequest.C (FuncRequest): default kb_action changed from
705         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
706
707         * buffer.C (dispatch): simplify
708         (dispatch): adjust to take a FuncRequest as arg, adjust
709
710         * boost.C (assertion_failed): change assertion message slightly
711
712         * ToolbarBackend.C (read): simplify
713
714         * MenuBackend.C (binding): adjust call to findbinding, add a
715         message if no binding is found.
716         (read): simplify
717         (expandToc): correct by adding a empty FuncRequest
718
719         * LyXAction.C: include <boost/assert.hpp>
720         (isPseudoAction): delete function
721         (LookupFunc): change name to...
722         (lookupFunc): this. change return type to FuncRequest.
723         (getActionName): take kb_action as arg, simplify
724         (funcHasFlag): add an assert, simplify.
725
726 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
727
728         * toc.C (action): return a FuncRequest, simplify
729
730         * lyxfunc.C (processKeySym): adjust
731         (getStatus): delete version that takes an int.
732         (getStatus): adjust
733         (dispatch): delete version that takes action as int
734         (dispatch): adjust
735         (sendDispatchMessage): simplify and adjust
736
737         * funcrequest.C (getArg): take unsigned int as arg
738
739         * ToolbarBackend.C (read): adjust
740         (add): delete version that takes func as a string.
741         (getIton): take a FuncRequest as arg
742
743         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
744         action.
745
746         * MenuBackend.C (MenuItem): add a new construct that only takes a
747         Kind, simplify the constructor use for submenus.
748         (add): adjust
749         (expandLastfiles): adjust
750         (expandDocuments): adjust
751         (expandFormats): adjust
752         (expandFloatListInsert): adjust
753         (expandFloatInsert): adjust
754         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
755
756         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
757         Remove class variables lyx_pseudo_map and lyx_arg_map
758
759         * LyXAction.C (searchActionArg): delete function
760         (getPseudoAction): delete function
761         (retrieveActionArg): delete function
762         (LookupFunc): make it return kb_action, simplify.
763         (getActionName): simplify
764
765         * factory.C (createInset): fix new bug
766
767 2003-09-19  Angus Leeming  <leeming@lyx.org>
768
769         * CutAndPaste.C (pasteSelection): remove fudge used to set the
770         masterFilename_ parameter in the include inset.
771
772         * factory.C (createInset): changes due to the changes to InsetInclude.
773
774 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
775
776         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
777
778 2003-09-18  Angus Leeming  <leeming@lyx.org>
779
780         * buffer.C:
781         * BufferView.C: pass the buffer when calling Inset::getLabelList,
782         Inset::fillWithBibKeys.
783         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
784
785 2003-09-18  Angus Leeming  <leeming@lyx.org>
786
787         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
788         variables.
789         (ctor): pass and store a 'Buffer const &'
790         (buffer): new member function.
791
792         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
793         '*this' to the LaTeXFeatures ctor.
794
795 2003-09-18  Angus Leeming  <leeming@lyx.org>
796
797         * LColor.h:
798         * lyxfont.C:
799         * lyxfont.h:
800         * lyxtext.h:
801         * text.C: rename EnumLColor as LColor_color.
802
803 2003-09-18  Angus Leeming  <leeming@lyx.org>
804
805         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
806         remove #include "insets/insetbase.h" from cursor.h.
807
808 2003-09-18  Angus Leeming  <leeming@lyx.org>
809
810         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
811         InsetOld_code to remove #include "inset.h".
812
813         * iterators.C: add #include "insets/inset.h"
814
815 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
816
817         * BufferView.C: remove more locking stuff that apparently doesn't
818         do anything sensible.
819
820 2003-09-16  André Pönitz  <poenitz@gmx.net>
821
822         * paragraph.[Ch]:
823         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
824           performance boost.
825
826 2003-09-16  Angus Leeming  <leeming@lyx.org>
827
828         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
829
830         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
831         arg/return type.
832
833         * paragraph.h: remove #include "lyxfont.h". Forward declare
834         LyXFont_size.
835
836 2003-09-16  Angus Leeming  <leeming@lyx.org>
837
838         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
839         of support/textutils.h.
840         (isWord): move the contents of support/textutils.h's IsWordChar here.
841
842         * buffer.C:
843         * lyxfind.C:
844         * rowpainter.C:
845         * text.C:
846         * text2.C: add #include "paragraph.h".
847
848         * rowpainter.C:
849         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
850
851 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
852
853         * main.C:
854         * lyx_main.C:
855         * lyx_cb.C:
856         * buffer.C:
857         * LaTeX.C: use namespace alias for lyx::support::os
858
859 2003-09-16  Angus Leeming  <leeming@lyx.org>
860
861         * bufferparams.C:
862         * bufferview_funcs.C:
863         * factory.C:
864         * lyxfunc.C:
865         * paragraph_pimpl.C:
866         * rowpainter.C:
867         * text.C: add #include "LColor.h".
868
869 2003-09-16  Angus Leeming  <leeming@lyx.org>
870
871         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
872         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
873         return LyXFont &.
874         Store the FontBits::color variable as an int rather than as an
875         LColor::colorso that we can move LColor.h out of the lyxfont.h header
876         file.
877
878         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
879         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
880         string calls together.
881
882         * lyxrc.C: add #include "LColor.h".
883
884 2003-09-15  Angus Leeming  <leeming@lyx.org>
885
886         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
887         a cow_ptr.
888
889 2003-09-15  Angus Leeming  <leeming@lyx.org>
890
891         * LColor.h: add an EnumLColor wrapper for LColor::color.
892
893         * lyxfont.[Ch] (color, setColor, realColor):
894         * lyxtext.h, text.C (backgroundColor):
895         pass EnumLColor args to/from the functions, rather than LColor::color
896         ones.
897
898         * lyxfont.h:
899         * lyxtext.h: forward declare EnumLColor.
900
901         * lyx_main.C: add #include "LColor.h".
902
903 2003-09-15  Angus Leeming  <leeming@lyx.org>
904
905         * .cvsignore: add lyx-gtk.
906
907 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
908
909         * Chktex.C
910         * LaTeX.C
911         * LaTeXFeatures.C
912         * ParagraphParameters.C
913         * Spacing.C
914         * buffer.C
915         * bufferparams.C
916         * bufferview_funcs.C
917         * chset.C
918         * counters.C
919         * funcrequest.C
920         * lyxfont.C
921         * lyxgluelength.C
922         * lyxlength.C
923         * paragraph.C
924         * paragraph_funcs.C
925         * text3.C
926         * vc-backend.C: remove usage of STRCONV
927
928 2003-09-15  Angus Leeming  <leeming@lyx.org>
929
930         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
931         explicitly define the color passed to the painter.
932
933 2003-09-15  Angus Leeming  <leeming@lyx.org>
934
935         * bufferparams.C (BufferParams): reorder member initializers to avoid
936         compiler warning.
937
938 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
939
940         * CutAndPaste.C (pasteSelection): remove an outdated #warning
941         * text.C (updateRowPositions): remove an unusual nop
942
943 2003-09-12  André Pönitz  <poenitz@gmx.net>
944
945         * BufferView_pimpl.C:
946         * Bullet.C:
947         * layout.h:
948         * lyxfunc.C:
949         * lyxlayout.[Ch]:
950         * lyxtextclass.C:
951         * rowpainter.C:
952         * text.C:
953         * text2.C:
954         * Counters.[Ch]: finish the 'automatic counters' job
955
956 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
957
958         * aspell.C: include <boost/assert.cpp> (compile fix)
959
960 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
961
962         * boost.C (assertion_failed): use lyx::support::abort instead of
963         assert.
964
965 2003-09-10  Angus Leeming  <leeming@lyx.org>
966
967         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
968         with their _fwd progeny.
969
970 2003-09-09  Angus Leeming  <leeming@lyx.org>
971
972         134 files throughtout the source tree: replace 'using namespace abc;'
973         directives with the appropriate 'using abc::xyz;' declarations.
974
975 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
976
977         * boost.C (emergencyCleanup): moved here from LAssert.c
978         (assertion_failed): new function, called by BOOST_ASSERT
979
980         * several files: change Assert to BOOST_ASSERT
981
982 2003-09-09  Angus Leeming  <leeming@lyx.org>
983
984         * buffer.[Ch]: Add an Impl class and move Buffer's member
985         variables into it. As a result move several header files out of
986         buffer.h.
987
988         Add header files to lots of .C files all over the tree as a result.
989
990 2003-09-09  Angus Leeming  <leeming@lyx.org>
991
992         * buffer.[Ch]: make Buffer's member variables private. Add
993         accessor functions.
994
995         Lots of changes all over the tree as a result.
996
997 2003-09-08  Angus Leeming  <leeming@lyx.org>
998
999         * graph.C: #include <config.h>.
1000
1001 2003-09-08  Angus Leeming  <leeming@lyx.org>
1002
1003         * BranchList.C:
1004         * BufferView.C:
1005         * BufferView_pimpl.C:
1006         * CutAndPaste.C:
1007         * DepTable.C:
1008         * LaTeX.C:
1009         * LaTeXFeatures.C:
1010         * LyXAction.C:
1011         * MenuBackend.C:
1012         * TextCache.C:
1013         * aspell.C:
1014         * buffer.C:
1015         * bufferlist.C:
1016         * changes.C:
1017         * chset.C:
1018         * converter.C:
1019         * counters.C:
1020         * debug.C:
1021         * graph.C:
1022         * ispell.C:
1023         * lyx_cb.C:
1024         * lyxfind.C:
1025         * lyxfunc.C:
1026         * lyxlex_pimpl.C:
1027         * lyxrc.C:
1028         * lyxrow.C:
1029         * paragraph.C:
1030         * rowpainter.C:
1031         * texrow.C:
1032         * text.C:
1033         * text2.C:
1034         * toc.C: remove redundant using directives.
1035
1036 2003-09-07  Angus Leeming  <leeming@lyx.org>
1037
1038         * LaTeXFeatures.h: remove #include "support/types.h".
1039         * ToolbarBackend.h: remove #include <algorithm>.
1040         * changes.h: remove #include <ctime>.
1041         * debug.h: remove #include <iosfwd>.
1042         * graph.h: remove #include "support/std_string.h".
1043         * lyx_main.h: remove #include <csignal>.
1044         * lyxlex_pimpl.h: remove #include <fstream>.
1045         * sgml.h: remove #include <algorithm>, <utility>.
1046         * toc.h: remove #include "support/std_ostream.h".
1047         Add #include <iosfwd>.
1048
1049 2003-09-07  Angus Leeming  <leeming@lyx.org>
1050
1051         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
1052
1053         * converter.h: forward declare LatexRunParams.
1054         * encoding.h: remove #include "lyxrc.h".
1055         * lyxtext.h: remove #include "LColor.h".
1056         * lyxtextclass.h: remove #include "support/types.h".
1057         * trans.h: remove #include "tex-accent.h".
1058         * trans_mgr.h: remove #include "tex-accent.h".
1059         * insets/inset.h: remove #include "support/types.h", <vector>.
1060         * insets/insetcollapsable.h: remove #include "LColor.h".
1061         * insets/insetinclude.h: remove #include "dimension.h".
1062         * insets/insetlatexaccent.h: remove #include "dimension.h".
1063         * insets/insetoptarg.h:: remove #include "insettext.h".
1064         * insets/insettext.h: remove #include "dimension.h",
1065         <boost/shared_ptr.hpp>
1066
1067         * insets/renderers.h: add #include "dimension.h".
1068         * insets/updatableinset.h: add #include "support/types.h".
1069
1070         * many .C files: Associated changes.
1071
1072 2003-09-06  Angus Leeming  <leeming@lyx.org>
1073
1074         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
1075         one, inside testInvariant.
1076
1077         * PrinterParams.C: new file.
1078         * PrinterParams.[Ch]: move the function bodies out of line.
1079
1080 2003-09-06  Angus Leeming  <leeming@lyx.org>
1081
1082         * ParagraphParameters.h: forward declare ParameterStruct rather than
1083         including its header file.
1084         (depth): moved out-of-line.
1085
1086 2003-09-06  Angus Leeming  <leeming@lyx.org>
1087
1088         * BufferView_pimpl.h:
1089         * kbmap.h:
1090         * kbsequence.h:
1091         * lyxfunc.h: forward declare LyXKeySym rather than
1092         #include "frontends/LyXKeySym.h".
1093
1094         * BufferView_pimpl.C:
1095         * kbmap.C:
1096         * kbsequence.C:
1097         * lyxfunc.C: associated changes.
1098
1099 2003-09-06  Angus Leeming  <leeming@lyx.org>
1100
1101         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1102         As a result, can remove the #include "insets/inset.h" from BufferView.h
1103
1104 2003-09-06  Angus Leeming  <leeming@lyx.org>
1105
1106         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1107         As a result, can remove the #include "insets/inset.h" from BufferView.h
1108
1109 2003-09-06  Angus Leeming  <leeming@lyx.org>
1110
1111         * buffer_funcs.C:
1112         * buffer.h:
1113         * bufferlist.C:
1114         * BufferView.C:
1115         * bufferview_funcs.C:
1116         * BufferView_pimpl.C:
1117         * CutAndPaste.C:
1118         * lyx_cb.C:
1119         * lyxfunc.C:
1120         * paragraph.h:
1121         * ParagraphParameters.C:
1122         * tabular.C:
1123         * text3.C:
1124         * toc.C:
1125         * undo_funcs.C:
1126         * frontends/controllers/ControlDocument.C:
1127         * insets/insetcaption.C: rearrange the #includes into some sort of
1128         coherent order.
1129
1130         * buffer.h: remove #includes ErrorList.h, undo.h
1131
1132 2003-09-06  Angus Leeming  <leeming@lyx.org>
1133
1134         * support/types.h: add a 'depth_type' typedef, used to store the
1135         nesting depth of a paragraph.
1136
1137         * paragraph.h:
1138         * ParameterStruct.h: use this lyx::depth_type typedef rather than
1139         defining explicitly.
1140
1141         * buffer.h:
1142         * paragraph_funcs.h:
1143         * ParagraphParameters.h:
1144         * sgml.h: use lyx::depth_type rather than Paragraph or
1145         ParameterStruct's depth_type.
1146
1147         * buffer.h
1148         * paragraph_funcs.h: no need to #include paragraph.h anymore.
1149
1150         * BufferView.C:
1151         * BufferView_pimpl.C:
1152         * CutAndPaste.C:
1153         * ParagraphParameters.C:
1154         * buffer_funcs.C:
1155         * bufferlist.C:
1156         * bufferview_funcs.C:
1157         * lyx_cb.C:
1158         * lyxfunc.C:
1159         * tabular.C:
1160         * text3.C:
1161         * toc.C:
1162         * undo_funcs.C:
1163         * frontends/LyXView.C:
1164         * frontends/controllers/ControlDocument.C:
1165         * frontends/controllers/ControlErrorList.C:
1166         * insets/insetbibitem.C:
1167         * insets/insetbranch.C:
1168         * insets/insetcaption.C:
1169         * insets/insetcollapsable.C:
1170         * insets/insetenv.C:
1171         * insets/insetert.C:
1172         * insets/insetfloat.C:
1173         * insets/insetfoot.C:
1174         * insets/insetfootlike.C:
1175         * insets/insetnewline.C:
1176         * insets/insetquotes.C:
1177         * insets/insettabular.C:
1178         * insets/insettext.C:
1179         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1180
1181         * frontends/controllers/ControlChanges.C: #include "changes.h".
1182
1183 2003-09-06  Angus Leeming  <leeming@lyx.org>
1184
1185         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1186         than #including paragraph.h.
1187
1188         * ParagraphList.h:
1189         * RowList.h: deleted. Superfluous.
1190
1191         * CutAndPaste.h:
1192         * iterators.h:
1193         * lyxcursor.h:
1194         * lyxtext.h:
1195         * text_funcs.h:
1196         * undo.h:
1197         * undo_funcs.h:
1198         * insets/inset.h:
1199         * insets/insettext.h: use ParagraphList_fwd.h rather than
1200         ParagraphList.h.
1201
1202         * paragraph.h: don't forward declare ParagraphList.
1203
1204         * buffer.h:
1205         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1206         rather than ParagraphList.h. paragraph.h is still needed for the
1207         Paragraph::depth_type parameters.
1208
1209         * textcursor.h: enable it to compile stand-alone in light of the
1210         above changes.
1211
1212         * bufferview_funcs.C:
1213         * iterators.C:
1214         * lyxfunc.C:
1215         * lyxrow_funcs.C:
1216         * paragraph.C:
1217         * rowpainter.C:
1218         * text.C:
1219         * text2.C:
1220         * text3.C:
1221         * text_funcs.C:
1222         * textcursor.C:
1223         * undo.C:
1224         * frontends/controllers/ControlParagraph.C:
1225         * frontends/controllers/ControlTabular.C:
1226         * insets/insetmarginal.C:
1227         * insets/insetminipage.C:
1228         * insets/insetnote.C:
1229         * insets/insetoptarg.C: add header files needed to compile again.
1230
1231 2003-09-06  Angus Leeming  <leeming@lyx.org>
1232
1233         * RowList_fwd.h: new file, forward-declaring Row rather than
1234         #including lyxrow.h.
1235
1236         * lyxrow_funcs.h:
1237         * lyxtext.h:
1238         * paragraph.h:
1239         * insets/insettext.h: use it instead of RowList.h
1240
1241         * bufferview_funcs.C:
1242         * lyxfunc.C:
1243         * lyxrow_funcs.C:
1244         * paragraph.C:
1245         * rowpainter.C:
1246         * text.C:
1247         * text2.C:
1248         * text3.C: #include "RowList.h".
1249
1250 2003-09-05  Angus Leeming  <leeming@lyx.org>
1251
1252         * factory.C (createInset):
1253         * vspace.C (c-tor): replace sscanf call with an istringstream.
1254         * ispell.C: re-add missing HP/UX headers.
1255         * lyxserver.C: re-add missing  os2 headers.
1256
1257 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
1258
1259         * BranchList.C:
1260         * graph.C:
1261         * ispell.C:
1262         * lastfiles.C:
1263         * lyx_cb.C:
1264         * lyxserver.C:
1265         * texrow.C:
1266         * text3.C: re-add missing system headers, needed for 2.95.2.
1267
1268 2003-09-05  Angus Leeming  <leeming@lyx.org>
1269
1270         Changes most place everywhere due to the removal of using directives
1271         from support/std_sstream.h.
1272
1273 2003-09-05  Angus Leeming  <leeming@lyx.org>
1274
1275         Replace LString.h with support/std_string.h,
1276         Lsstream.h with support/std_sstream.h,
1277         support/LIstream.h with support/std_istream.h,
1278         support/LOstream.h with support/std_ostream.h.
1279
1280         Changes resulting throughout the tree.
1281
1282 2003-09-05  Angus Leeming  <leeming@lyx.org>
1283
1284         * sgml.h: ensure that the header file can be compiled stand-alone.
1285         * *.C: strip out redundant #includes. (320 in total.)
1286
1287 2003-09-04  Angus Leeming  <leeming@lyx.org>
1288
1289         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1290         here (from getPackages).
1291
1292         * debug.[Ch]: add a new EXTERNAL tag.
1293
1294 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1295
1296         * text2.C (cursorEnd): simplify
1297         (setCursor): adjust
1298         (getColumnNearX): adjust
1299
1300         * text.C (computeBidiTables): adjust
1301         (fill): adjust
1302
1303         * rowpainter.C (paintChars): adjust
1304         (paintSelection): adjust
1305         (paintChangeBar): adjust
1306         (paintText): adjust
1307
1308         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1309         lastPos instead.
1310         (numberOfSeparators): adjust
1311
1312 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1313
1314         * LyXAction.C:
1315         * box.[Ch]:
1316         * lfuns.h:
1317         * lyxfunc.C:
1318         * text3.C: Restricts the mouse click functionality
1319         of insets like bibtex, include, toc and floatlist to the visible
1320         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1321         up the dialogs. Cursor has to be in front of the inset (i.e.
1322         start of row) for this to function.
1323
1324 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1325
1326         * bufferview_funcs.C (currentState): output row information
1327
1328 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1329
1330         * bufferview_funcs.C (currentState): output paragraph position
1331
1332 2003-09-04  Angus Leeming  <leeming@lyx.org>
1333
1334         * FloatList.h: move out #include "Floating.h".
1335         * LaTeX.h: move out #include "DepTable.h".
1336         * LyXAction.h: move out #include "funcrequest.h".
1337         * buffer.h: move out #include "author.h", "iterators.h".
1338         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
1339         * lyx_main.h: move out #include "errorlist.h".
1340         * lyxfunc.h: move out #include "FuncStatus.h".
1341         * lyxtext: move out #include "lyxcursor.h".
1342         * paragraph_pimpl.h: move out #include "counters.h".
1343
1344 2003-09-03  Angus Leeming  <leeming@lyx.org>
1345
1346         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
1347         preamble_snippets list, enabling us to add snippets to the preamble
1348         only if the snippet was not there already.
1349
1350 2003-09-04  Angus Leeming  <leeming@lyx.org>
1351
1352         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
1353
1354 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1355
1356         * lyxfunc.C (dispatch): if fitCursor did something be sure to
1357         update
1358
1359 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1360
1361         * BranchList.C: point fix, earlier forgotten
1362
1363 2003-09-02  Angus Leeming  <leeming@lyx.org>
1364
1365         * box.C (contains): renamed from 'contained' after a fantastic
1366         amount of hot air.
1367
1368 2003-09-02  John Levon  <levon@movementarian.org>
1369
1370         * BufferView.C:
1371         * lyxcursor.h:
1372         * lyxcursor.C:
1373         * lyxfunc.C:
1374         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
1375
1376 2003-09-02  John Levon  <levon@movementarian.org>
1377
1378         * text2.C: simplification of cursorEnd(), including partial
1379         fix for bug 1376
1380
1381 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1382
1383         * buffer.C (readFile): add a space
1384
1385 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
1386
1387         * BufferView_pimpl.C (update): remove bogus fitCursor() call
1388
1389 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1390
1391         * buffer.C (readFile): new function, take a filename and a
1392         ParagraphList::iterator
1393         (readFile): adjust
1394         (readFile): adjust, make it private. don't use setStream, make
1395         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
1396         always contain the filename.
1397
1398         * BufferView.C (insertLyXFile): simplify and make it work for
1399         gzipped files.
1400
1401 2003-08-30  John Levon  <levon@movementarian.org>
1402
1403         * Makefile.am: fix dist (from Kayvan)
1404
1405 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1406
1407         * most files: change to use const Buffer refs
1408
1409 2003-08-27  André Pönitz  <poenitz@gmx.net>
1410
1411         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
1412         on top of ownerPar().
1413
1414 2003-08-27  John Levon  <levon@movementarian.org>
1415
1416         * funcrequest.C: properly initialise POD members
1417
1418 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1419
1420         * lyxtext.h (top_y): move top_y from here
1421         * text.C:
1422         * text2.C:
1423         * text3.C:
1424         * BufferView.[Ch]:
1425         * BufferView_pimpl.[Ch]: to here
1426         * frontends/screen.C:
1427         * insets/insettabular.C:
1428         * insets/insettext.C: adjust
1429         * rowpainter.[Ch] (paintRows): remove LyXText & argument
1430
1431 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1432
1433         * BufferView.[Ch]:
1434         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
1435
1436 2003-08-26  André Pönitz  <poenitz@gmx.net>
1437
1438         * paragraph_func.[Ch] (outerPar): new function
1439
1440         * paragraph.C:
1441         * paragraph_funcs.C:
1442         * paragraph_funcs.h:
1443         * paragraph_pimpl.C:
1444         * text2.C: remove Inset::par_owner
1445
1446 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
1447
1448         * lyxrow_funcs.C:
1449         * lyxtext.h:
1450         * text.C:
1451         * text2.C: eliminates the needFullRow/display() stuff
1452         altogether, putting the logic in metrics/draw in the insets.
1453
1454 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
1455
1456         * text2.C (redoParagraphInternal, redoParagraphs):
1457         * text.C (redoParagraph): add a call to updateRowPositions at the
1458         end of each 'metrics-like' call. Remove all others.
1459         (getRow): remove the 'y-computing' version.
1460         (getRowNearY): do not compute nor return the real y. Solve the
1461         'y < 0' problem and simplify.
1462
1463 2003-08-22  Angus Leeming  <leeming@lyx.org>
1464
1465         * *.[Ch]: clean-up of licence and author blurbs.
1466         Also move config.h out of a few .h files and into a few .C files.
1467
1468 2003-08-22  André Pönitz  <poenitz@gmx.net>
1469
1470         * lyxrow.[Ch]: add x_ and *fill_ members
1471
1472         * lyxtext.h:
1473         * text.C:
1474         * rowpainter.C:
1475         * text2.C: adjust/remove prepareToPrint() calls
1476
1477 2003-08-22  André Pönitz  <poenitz@gmx.net>
1478
1479         * lyxrow.[Ch]: add  end_ member
1480
1481         * lyxrow_funcs.C: use LyXRow::end_
1482
1483         * lyxtext.h (singleWidth): add LyXFont parameter
1484
1485         * rowpainter.C:
1486         * text2.C: adjust LyXText::singleWidth() calls
1487
1488         * text.C (redoParagraph): simplify row breaking logic
1489
1490
1491 2003-08-19  André Pönitz  <poenitz@gmx.net>
1492
1493         * funcrequest.C: initialize button_ member
1494
1495         * text3.C:
1496         * rowpainter.[Ch]: interface consolidation
1497
1498 2003-08-18  André Pönitz  <poenitz@gmx.net>
1499
1500         * BufferView.C:
1501         * BufferView_pimpl.C:
1502         * lyxfind.C:
1503         * paragraph_funcs.C:
1504         * rowpainter.C:
1505         * text3.C: remove LyXScreen::draw() and fitCursor calls
1506
1507         * BranchList.h: remove spurious semicolons
1508
1509         * MenuBackend.C: fix branchlist related crash
1510
1511 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
1512
1513         * BranchList.[Ch]:
1514         * InsetList.[Ch]:
1515         * LColor.[Ch]:
1516         * LyXAction.C:
1517         * Makefile.am:
1518         * MenuBackend.[Ch]:
1519         * bufferparams.[Ch]:
1520         * factory.C:
1521         * lfuns.h:
1522         * lyxfunc.C:
1523         * text3.C: implements the 'branch inset'
1524         idea. This allows the output of various versions of a document
1525         from a single source version, selectively outputing or suppressing
1526         output of parts of the text.
1527         This implementation contains a 'branch list editor' in a separate
1528         tab of the document settings dialog. Branches are user definable
1529         and have a "display colour" to distinguish them on-screen.
1530
1531         ColorHandler was somewhat cleaned up.
1532         (1) make possible a dynamically growing LColor list by allowing
1533         the graphic context cache to grow along (vector);
1534         (2) eliminate an IMHO unnecessary step in colour allocation.
1535
1536 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
1537
1538         * BufferView_pimpl.C: compile fix
1539
1540 2003-08-15  André Pönitz  <poenitz@gmx.net>
1541
1542         * rowpainter.C: remove extra metrics calls
1543
1544         * lyxtext.h: merge the two constructors into a single one,
1545           pass reference to owner's par list
1546
1547         * BufferView_pimpl.C:
1548         * text.C:
1549         * text2.C: adjust
1550
1551 2003-08-15  André Pönitz  <poenitz@gmx.net>
1552
1553         * lyxrow_funcs.[Ch]:
1554         * lyxtext.h:
1555         * paragraph.h:
1556         * paragraph_funcs.C:
1557         * rowpainter.C:
1558         * text.C:
1559         * text2.C:
1560         * text3.C:
1561         * text_funcs.C: split LyXText::rowlist_ into individual
1562         Paragraph::rows_ chunks
1563
1564         * BufferView.[Ch]:
1565         * BufferView_pimpl.[Ch]:
1566         * lyxfind.C:
1567         * lyxtext.h:
1568         * text3.C: remove toggleSelection()
1569
1570 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
1571
1572         * bufferlist.C: beautify two alerts (shorter text of buttons)
1573         * buffer.C: Remove redundant ' ' from message
1574         * tabular.h:
1575         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
1576         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
1577         rename VALIGN_CENTER to VALIGN_MIDDLE
1578
1579 2003-08-11  André Pönitz  <poenitz@gmx.net>
1580
1581         * lyxtext.h (getPar):
1582         * text.C: new function
1583
1584 2003-08-11  André Pönitz  <poenitz@gmx.net>
1585
1586         * Makefile.am:
1587         * tracer.[Ch]: remove unneeded files
1588
1589         * InsetList.[Ch]: remove resizeInsetsLyXText()
1590
1591         * lyxtext.h:
1592         * text.C:
1593         * text2.C:
1594         * text3.C: merge insertParagraphs() and appendParagraph()
1595         remove breakAgain(), update()
1596
1597         * BufferView_pimpl.[Ch]:
1598         * bufferview_funcs.[Ch]:
1599         * lyxfunc.C:
1600         * paragraph.[Ch]:
1601         * rowpainter.C:
1602         * tabular.C: adjust after text & InsetList changes.
1603
1604 2003-08-08  André Pönitz  <poenitz@gmx.net>
1605
1606         * text.C (insertChar, backspace): replace rowlist fiddling
1607         with rebreak of full par
1608
1609         * lyxtext.h:
1610         * text.C (breakAgainOneRow, redoHeightOfParagraph,
1611         checkParagraph, updateInset): removed
1612
1613 2003-08-07  André Pönitz  <poenitz@gmx.net>
1614
1615         * paragraph.C:
1616         * text3.C: merge some LFUN handlers, remove dead code
1617
1618 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1619
1620         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
1621
1622 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
1623
1624         * text2.C (DEPM): fix part of bug 1255 and 1256
1625
1626 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1627
1628         * BufferView_pimpl.C (workAreaDispatch): change to use
1629         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
1630         that are no mouse related.
1631
1632 2003-08-05  André Pönitz  <poenitz@gmx.net>
1633
1634         * BufferView.[Ch]:
1635         * BufferView_pimpl.[Ch]:
1636         * bufferview_funcs.C:
1637         * text2.C:
1638         * text3.C: rip out "deep update"
1639
1640         * textcursor.[Ch] (last_sel_cursor): remove unused member
1641
1642 2003-08-04  André Pönitz  <poenitz@gmx.net>
1643
1644         * BufferView.[Ch]:
1645         * BufferView_pimpl.[Ch]:
1646         * ParagraphParameters.C:
1647         * bufferview_funcs.C:
1648         * lyx_cb.C:
1649         * lyxfind.C:
1650         * lyxfunc.C:
1651         * text.C:
1652         * text2.C:
1653         * text3.C: replace "complicated" BufferView::update(...) calls with
1654         simpler ones.
1655
1656         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
1657
1658 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
1659
1660         * Makefile.am (lyx_SOURCES): add paper.h
1661
1662 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1663
1664         * Makefile.am: move things around so that both lyx-qt and
1665         lyx-xforms can be built (according to --with-frontend). Then lyx
1666         is a symbolic link to lyx-[firstfrontend]
1667
1668 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
1669
1670         * Always use std::endl with lyxerr
1671
1672 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
1673
1674         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
1675
1676 2003-08-01  André Pönitz  <poenitz@gmx.net>
1677
1678         * BufferView.[Ch]:
1679         * BufferView_pimpl.[Ch]:
1680         * lyxfunc.C:
1681         * text3.C: merge BufferView::repaint() and BufferView::update()
1682
1683 2003-08-01  José Matos  <jamatos@lyx.org>
1684
1685         * buffer.[Ch]: file_format is no longer a buffer data element.
1686
1687 2003-08-01  André Pönitz  <poenitz@gmx.net>
1688
1689         * BufferView.C:
1690         * lyxtext.h:
1691         * text.C:
1692         * text2.C: make redoParagraph more independent of current cursor
1693
1694         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
1695         * text.C:
1696         * text2.C: remove unneeded members
1697
1698 2003-07-30  André Pönitz  <poenitz@gmx.net>
1699
1700         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
1701
1702         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
1703           create a single function...
1704
1705         * paragraph_funcs.C (moveItem): ... here.
1706
1707         * text.C:
1708           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
1709
1710 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
1711
1712         * LColor.[Ch]: Add comment and greyedout logical colors.
1713
1714 2003-07-30  André Pönitz  <poenitz@gmx.net>
1715
1716         * tabular.C: don't use Assert too heavily. This crashes where it
1717           shouldn't
1718
1719 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
1720
1721         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
1722         is disabled (bug 1232)
1723
1724 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1725
1726         * factory.C: limited 'arg' scope
1727
1728 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1729
1730         * factory.C: fixed Note submenu issues
1731
1732 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1733
1734         * factory.C: submenu for Note/Comment/Greyedout
1735
1736 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
1737
1738         * lyx_main.C (LyX):
1739         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
1740
1741 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
1742
1743         * LaTeXFeatures.C:
1744         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
1745         greyedout. Patch provided by Jürgen Spitzmüller.
1746
1747 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1748
1749         * kbmap.C (read): fix error message when reading bind files
1750
1751 2003-07-29  Angus Leeming  <leeming@lyx.org>
1752
1753         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
1754         certainly does not do what it purports to do. I am doing it, and
1755         us, a favour by killing it.
1756
1757 2003-07-28  José Matos  <jamatos@lyx.org>
1758
1759         * buffer.C (readBody, do_writeFile):
1760         * paragraph.C(readParagraph): \end_document replaces \the_end.
1761
1762 2003-07-29  André Pönitz  <poenitz@gmx.net>
1763
1764         * BufferView.[Ch]:
1765         * BufferView_pimpl.[Ch]:
1766         * lyxfunc.C:
1767         * text2.C:
1768         * text3.C:
1769         * textcursor.[Ch]: remove toggleToggle & Co
1770
1771 2003-07-28  José Matos  <jamatos@fep.up.pt>
1772
1773         * buffer.C (readParagraph):
1774         * params_func (readParToken, readParagraph):
1775         * paragraph.C (write): \layout -> \begin_layout.
1776
1777 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1778
1779         * lyxlex_pimpl.C (setFile): clean up slightly.
1780
1781         * bufferparams.h: add compressed var
1782
1783         * buffer_funcs.C (readFile): adjust for LyXLex change
1784         (newFile): ditto + simplify
1785
1786         * buffer.C (writeFile): handle writing of compressed files
1787
1788         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
1789         Check if the file is compressed and set a bufferparm if so.
1790
1791         * Makefile.am (lyx_LDADD): remove explicit -lz
1792
1793 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1794
1795         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
1796         makeDocBookFile): put the real LyX version in the first line of
1797         the file
1798
1799         * version.h:
1800         * version.C.in: remove lyx_docversion
1801
1802         * tabular.C (write_attribute): add a template-based version to
1803         write enums properly
1804
1805 2003-07-28  André Pönitz  <poenitz@gmx.net>
1806
1807         * lyxtext.h:
1808         * text.C:
1809         * text2.C:
1810         * text3.C: use doubles again for x-coordinates. They are needed.
1811
1812 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1813
1814         * messages.C (getLocaleDir): use lyx_localedir()
1815
1816         * lyxlex_pimpl.C (setFile): compress stuff
1817
1818         * buffer.C (writeFile): add some compression stuff
1819         (do_writeFile): new func, dont call expliti close... will this
1820         breake anything?
1821
1822         * Makefile.am (lyx_LDADD): add -lz
1823
1824 2003-07-28  José Matos  <jamatos@fep.up.pt>
1825
1826         * buffer.C: increment file format.
1827         * paragraph_funcs (readParagraph, readParToken):
1828         * paragraph.C (readParagraph): add \end_layout.
1829
1830 2003-07-27  Angus Leeming  <leeming@lyx.org>
1831
1832         * Makefile.am: remove special casing for configure-time setting of
1833         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
1834
1835         * lyx_main.C (init): remove all Jean-Marc's magic setting of
1836         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
1837
1838 2003-07-26  André Pönitz  <poenitz@gmx.net>
1839
1840         * paragraph_func.[Ch]:
1841         * paragraph.C (realizeFont): inline it whereever it is used
1842
1843         * rowpainter.C:
1844         * text.C:
1845         * text2.C:
1846         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
1847
1848
1849 2003-07-26  André Pönitz  <poenitz@gmx.net>
1850
1851         *       lyxtext.h:
1852         * text.C:
1853         * text2.C: get rid of LyXText::need_break_row
1854
1855 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1856
1857         * toc.[Ch]: put namespace toc inside namespace lyx
1858
1859         * MenuBackend.C (expandToc2): adjust for lyx::toc
1860         (expandToc): ditto
1861
1862         * lyxfunc.C (dispatch): adjust for lyx::find
1863
1864         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
1865         lyx::find instead. Reorganize a bit.
1866         (LyXReplace): rename to replace
1867         (LyXFind): rename to find
1868
1869         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
1870         (dispatch): ditto
1871
1872 2003-07-26  André Pönitz  <poenitz@gmx.net>
1873
1874         * text.C (setHeightOfRow): restrict scope of temporary variable
1875
1876         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
1877           code (never has been used?)
1878
1879 2003-07-27  Asger Alstrup  <alstrup@local>
1880
1881         * text.C (fill): Optimise algorithm to exploit that we can reuse
1882         the LyXFont for many characters.
1883         (setHeightOfRow): Same thing.
1884         (rowBreakPoint): Same thing.
1885
1886 2003-07-26  Asger Alstrup  <alstrup@local>
1887
1888         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
1889
1890         * text.C (singleWidth): Spurious font copying in hot-spot
1891         singleWidth avoided. Reorder tests for arabic for efficiency.
1892
1893         * text.C (fill): handle empty paragraphs better.
1894
1895 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1896
1897         * ispell.C:
1898         * encoding.h: add includes
1899
1900         * lyxrc.C: remove reading of bind files
1901
1902         * lyx_main.C (init): setup bindings and menus only if we have a
1903         gui.
1904
1905         * kbmap.C (read): new method. Do the actual reading of bind
1906         files.
1907
1908         * converter.C (dvipdfm_options):
1909         * bufferparams.C:
1910         * lyxrc.C (read):
1911         (output): adapt PAPER_* enums.
1912
1913         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
1914
1915         * bufferparams.h: remove paper-related enums from there
1916
1917         * paper.h: New file. A trivial header file to hold paper-related
1918         enums. It should later expand to contain many paper-related
1919         horrors access.
1920
1921         * lyxrc.C: declare extern displayTranslator
1922
1923 2003-07-27  José Matos  <jamatos@fep.up.pt>
1924
1925         * tabular.[Ch] (linuxdoc): add support for tables and figures
1926         (linuxdoc).
1927
1928 2003-07-27  José Matos  <jamatos@fep.up.pt>
1929
1930         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
1931         consistency in both functions.
1932         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
1933
1934 2003-07-26  Asger Alstrup  <alstrup@local>
1935
1936         * rowpainter.C (paintRows): Change algorithm to work directly on
1937         the insets rather than asking every character in the document
1938         whether its an inset.
1939
1940 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
1941
1942         * buffer.C (openFileWrite): factorize some code
1943
1944 2003-07-26  Angus Leeming  <leeming@lyx.org>
1945
1946         * lyx_cb.C:
1947         * lyx_main.[Ch]: replace occurances of system_tempdir with
1948         os::getTmpDir().
1949
1950 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1951
1952         * rename Inset to InsetOld
1953
1954 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
1955
1956         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
1957         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
1958         which I think is a bit clearer. EDIT is gone, since it was
1959         premature optimisation, and broken for mathed anyway.
1960         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
1961         with cursor positioning in insets as well (math insets still do not
1962         work, but that's a different story anyway.) It mysteriously
1963         crashes sometimes with undo in the first paragraph, but I'm fairly
1964         confident that this is a compiler bug.
1965
1966 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1967
1968         * paragraph.C (Paragraph): adjust for new clone return type
1969         (operator==): ditto
1970         (copyIntoMinibuffer): ditto
1971
1972 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
1973
1974         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
1975         by not having a special case, and always doing a full rebreak of
1976         the document after undo.
1977
1978 2003-07-23  Angus Leeming  <leeming@lyx.org>
1979
1980         * factory.C (createInset): InsetExternal::setParams now takes a
1981         Buffer const * arg.
1982
1983 2003-07-23  Angus Leeming  <leeming@lyx.org>
1984
1985         * factory.C (createInset): changed interface to the external and
1986         graphics mailers' string2params functions.
1987
1988 2003-07-23  Angus Leeming  <leeming@lyx.org>
1989
1990         * factory.C (createInset): pass a
1991         Buffer const * parameter to InsetExternalMailer's string2params.
1992
1993 2003-07-22  John Levon  <levon@movementarian.org>
1994
1995         * Thesaurus.h: include the right aiksaurus header
1996
1997 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1998
1999         * MenuBackend.C (expand): check menu shortcuts unconditionally
2000
2001 2003-07-21  Angus Leeming  <leeming@lyx.org>
2002
2003         * factory.C (createInset): pass a
2004         buffer_path parameter to InsetGraphicsMailer's string2params.
2005
2006 2003-07-21  Angus Leeming  <leeming@lyx.org>
2007
2008         * BufferView_pimpl.C (buffer):
2009         * buffer.C (d-tor):
2010         * lyx_main.C (LyX):
2011         * lyxfunc.C (dispatch):
2012         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2013         rather than the grfx shortcut.
2014
2015 2003-07-21  André Pönitz  <poenitz@gmx.net>
2016
2017         * rowpainter.C: remove unused variables
2018
2019         * tabular_funcs.C:
2020         * tabular_funcs.h: move to tabular.C
2021         * Makefile.am: adjust
2022
2023         * tabular.[Ch]: basic optical cleaning
2024
2025         * author.h: pass references, not values
2026
2027 2003-07-18  André Pönitz  <poenitz@gmx.net>
2028
2029         * lyxtext.h:
2030         * metricsinfo.C:
2031         * metricsinfo.h:
2032         * rowpainter.C:
2033         * text.C:
2034         * text2.C:
2035         * text3.C: two-phase drawing for InsetText and InsetTabular
2036         some float -> int changes.
2037
2038 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2039
2040         * lyx_main.C: fix the fix
2041
2042 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2043
2044         * lyx_main.C: fix a crash in batch mode if no files specified
2045         * converter.C: ws
2046
2047 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
2048
2049         * format.[Ch] (papersize): moved to BufferParams
2050         * converter.[Ch] (dvips_options): moved to BufferParams
2051         (dvipdfm_options): moved to anon namespace
2052         * bufferparams.[Ch]: added above functions.
2053
2054 2003-07-17  André Pönitz  <poenitz@gmx.net>
2055
2056         * lyxtext.h:
2057         * rowpainter.C:
2058         * text2.C: don't call inset->update() anymore
2059
2060         * metricsinfo.[Ch]: add convenience constructor
2061
2062 2003-07-16  André Pönitz  <poenitz@gmx.net>
2063
2064         * lyxcursor.[Ch]:
2065         * lyxfunc.[Ch]:
2066         * text.C:
2067         * text2.C: replace the LyXCursor::irow_ member with
2068          on-demand computation of the value
2069
2070 2003-07-16  John Levon  <levon@movementarian.org>
2071
2072         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
2073
2074 2003-07-15  André Pönitz  <poenitz@gmx.net>
2075
2076         * text.C:
2077         * text2.C: remove no more needed refresh_row
2078
2079 2003-07-15  André Pönitz  <poenitz@gmx.net>
2080
2081         * lyxtext.h:
2082         * rowpainter.C:
2083         * text2.C:
2084         * text3.C: refresh_status tristate -> need_update bool
2085
2086 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
2087
2088         * lyxtext.h (init): remove reinit argument (act as if always true)
2089         * text2.C: adjust to that
2090
2091 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2092
2093         * bufferview_funcs.[Ch]: introduce function replaceSelection()
2094         * text3.C: use it to delete selections in some cases
2095         (bugs 441, 673, 702, 954).
2096
2097 2003-07-14  André Pönitz  <poenitz@gmx.net>
2098
2099         * rowpainter.[Ch]: reduce interface
2100
2101 2003-07-14  André Pönitz  <poenitz@gmx.net>
2102
2103         * BufferView_pimpl.C:
2104         * text2.C: adjust after removing unused BufferView * argument
2105
2106 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
2107
2108         * text2.C (init): fix a crash fired on resize
2109
2110 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
2111
2112         * buffer.[Ch]: added new closing signal
2113         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
2114         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
2115         BufferView::Pimpl via the closing the signal
2116
2117 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
2118
2119         * buffer.[Ch]: take out all bv-related from buffer
2120         * BufferView.C:
2121         * BufferView_pimpl.[Ch]: connect to new signals
2122         * CutAndPaste.C: removed useless asserts
2123         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
2124         * lyxvc.[Ch]:
2125         * vc-backend.[Ch]:
2126         * lyxfunc.C: moved view-related funciontality from vc here
2127         * paragraph.C: removed outdated comments
2128         * text.C: ws
2129
2130 2003-07-10  André Pönitz  <poenitz@gmx.net>
2131
2132         * BufferView_pimpl.C:
2133         * tabular.h:
2134         * tabular_funcs.C:
2135         * text.C:
2136         * text2.C: remove InsetText::InnerCache, clean up consequences
2137
2138 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
2139
2140         * ispell.C: fix two typos in error messages
2141
2142 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
2143
2144         * Extend Note inset to other forms of annotation like Comment
2145         and Greyedout. Right button click gives dialog.
2146
2147         Files modified or added (+):
2148
2149         * insetnote.[Ch]
2150         * FormNote.[Ch]      +
2151         * ControlNote.[Ch]   +
2152         * form_note.fd       +
2153         * Makefile.am in frontends/xforms, frontends/xforms/forms,
2154         frontends/controllers
2155         * xforms/Dialogs.C
2156         * factory.C
2157
2158 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2159
2160         * aspell.C: add missing namespace lyx::support
2161
2162 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
2163
2164         * BufferView.[Ch] (newFile): Add
2165         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2166         * LaTeX.[Ch] (message): added this signal and use it
2167         * buffer.[Ch] (busy, message): added these signals and use them
2168         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2169         * converter.C:
2170         * exporter.C:
2171         * format.C:
2172         * importer.C: use buffer signals instead of direct bv calling
2173         * lyx_cb.[Ch] (ShowMessage): removed
2174         * lyx_main.C:
2175         * lyxfunc.C:
2176         * paragraph_funcs.C:
2177         * text2.C: use buffer signals
2178
2179 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2180
2181         * introduce namespace lyx::graphics
2182
2183 2003-07-02  André Pönitz  <poenitz@gmx.net>
2184
2185         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2186
2187 2003-07-01  André Pönitz  <poenitz@gmx.net>
2188
2189         * text.C:
2190         * text2.C:
2191         * text3.C:
2192         * text_funcs.[Ch]:
2193         * textcursor.h:
2194         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2195           text*.C to text_func.C
2196
2197 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2198
2199         * introduce namespace lyx::support
2200
2201 2003-06-30  André Pönitz  <poenitz@gmx.net>
2202
2203         * Chktex.C:
2204         * funcrequest.C:
2205         * lyxtext.h:
2206         * text.C: re-enable --with-included-string
2207
2208 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2209
2210         * textcursor.C: add <config.h>
2211
2212         * text.C (getWord): remove const from word_location arg
2213
2214         * lyxvc.C (getLogFile): fix const type order
2215
2216         * lyxtext.h: remove const from word_location arg, add arg name
2217
2218         * lyxlayout.h: currect type on labeltype.
2219
2220         * importer.C: correct \file
2221
2222         * converter.C (intToFormat): use std:: on ret val, ws changes
2223
2224         * bufferlist.h: correct \file
2225
2226         * buffer.C (makeLinuxDocFile): fix const type order
2227         (makeDocBookFile): ditto
2228         (fillWithBibKeys): use std:: on stdlib args.
2229
2230         * CutAndPaste.C: fix authors.
2231         (availableSelections): use std:: on return vector
2232
2233 2003-06-27  André Pönitz  <poenitz@gmx.net>
2234
2235         * BufferView_pimpl.C:
2236         * bufferview_funcs.C:
2237         * lyxcursor.C:
2238         * lyxcursor.h:
2239         * lyxfunc.C:
2240         * lyxtext.h:
2241         * rowpainter.C:
2242         * text.C:
2243         * text2.C:
2244         * text3.C: remove LyXCursor::row_ member
2245
2246         * lyxtext.h:
2247         * text.C: rename fullRebreak() to partialRebreak() and implement
2248           a fullRebreak() that really bereks fully
2249
2250         * textcursor.h: new struct for cursor-related data
2251
2252 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
2253
2254         * lyx_main.C (LyX): get full path of document loaded on the
2255         command line
2256
2257 2003-06-26  André Pönitz  <poenitz@gmx.net>
2258
2259         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2260           remove unused/broken operator>,<,>=.
2261
2262         *       text.C: remove only use of broken operator<= in an Assert().
2263
2264 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2265
2266         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2267         moved errorlist_.clear to showErrorList
2268
2269 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2270
2271         * converter.C (scanLog, runLaTeX):
2272         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2273         move the bv->showErrorList call to the callers
2274         * lyxfunc.C: i.e. here...
2275         * text2.C: and here
2276         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2277         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2278         namespace, the second to...
2279         * buffer_funcs (BufferFormat, parseErrors): added
2280         * errorlist.C (ErrorList(TeXErrors const &)): removed
2281
2282 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2283
2284         * ToolbarBackend.C (getIcon): complain when icon cannot be found
2285
2286 2003-06-24  "Garst R. Reese" <reese@isn.net>
2287
2288         * debug.C: fix typo
2289
2290 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2291
2292         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2293
2294         * version.C.in: change docversion to 1.4
2295
2296 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
2297
2298         * buffer.C: fix a bug just introduced
2299
2300 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
2301
2302         * buffer.[Ch]: added the parseError signal and use it, removed
2303         sgmlError
2304         * BufferView.[Ch] (addError): moved to ...
2305         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2306         to the Buffer::parseError signal to catch (guess what) parse errors
2307         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2308
2309 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
2310
2311         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2312         ability to create a buffer and to return an existing one from
2313         the list. Moved these functions to...
2314         * buffer_funcs.[Ch]: added
2315         * BufferView.[Ch] (loadLyXFile): added
2316         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
2317         job removed from bufferlist::loadLyXFile.
2318         * buffer.C (setReadOnly): make it work without view
2319         (i.e added an if (users))
2320
2321 2003-06-19  Angus Leeming  <leeming@lyx.org>
2322
2323         * lfuns.h:
2324         * LyXAction.C (init):
2325         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
2326         with LFUN_DIALOG_SHOW <name> <data>.
2327
2328 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2329
2330         * CutAndPaste.C (availableSelections): small compilation fix for
2331         ancient (gcc 2.9x) compilers
2332
2333 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
2334
2335         * text3.C (cursorNext): add tmp var
2336
2337         * text2.C (updateCounters): for function calling out of for clause
2338         (replaceSelectionWithString): ditto
2339         (insertStringAsParagraphs): ditto
2340         (getColumnNearX): add tmp var
2341         (setCursorFromCoordinates): add tmp var
2342         (cursorDownParagraph): add tmp var
2343         (deleteEmptyParagraphMechanism): add tmp var
2344
2345         * text.C (insertChar): add tmp var
2346
2347         * rowpainter.C (paintDepthBar): add tmp var
2348
2349         * CutAndPaste.C (availableSelections): potentially check all
2350         paragraphs in a cut to fill the shown strings.
2351
2352 2003-06-18  André Pönitz  <poenitz@gmx.net>
2353
2354         * kbmap.[Ch]: use vector<> instead of list<>
2355
2356 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
2357
2358         * text3.C (dispatch): handle arg to LFUN_PASTE, call
2359         pasteSelection with index
2360
2361         * text2.C (pasteSelection): modify, call pasteSelection with index
2362
2363         * paragraph.C (asString): reimplement version with no interval to
2364         call the one with interval.
2365
2366         * lyxtext.h: add index arg to pasteSelection
2367
2368         * MenuBackend.C (MenuItem): handle PasteRecent
2369         (Menu::read::Menutags): add md_pasterecent
2370         (read): handle it
2371         (expandPasteRecent): new function
2372         (expand): use it
2373
2374         * MenuBackend.h: add PasteRecent to MenuItem::Kind
2375
2376         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
2377         the limited stack
2378         (availableSelections): new function
2379
2380 2003-06-17  Angus Leeming  <leeming@lyx.org>
2381
2382         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
2383
2384 2003-06-17  Angus Leeming  <leeming@lyx.org>
2385
2386         * lfuns.h:
2387         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
2388
2389         * lyxfunc.C (dispatch): invoke it.
2390
2391 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2392
2393         * iterators.C (operator++, ParPosition): reintroduce some
2394         const_cast for the benefit of older compilers.
2395
2396 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2397
2398         * text3.C (dispatch): do not modify clipboard when doing
2399         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
2400         LFUN_DELETE_SKIP on a selection selection
2401
2402 2003-06-16  André Pönitz  <poenitz@gmx.net>
2403
2404         * BufferView.C:
2405         * buffer.C:
2406         * buffer.h:
2407         * paragraph.C:
2408         * tabular.[Ch]: IU of clone() and getLabelList();
2409
2410 2003-06-13  André Pönitz  <poenitz@gmx.net>
2411
2412         * tabular.h: compactification
2413
2414 2003-06-12  André Pönitz  <poenitz@gmx.net>
2415
2416         * tabular.C:
2417         * tabular.h:
2418         * tabular_funcs.h: some renaming plus whitespace
2419
2420 2003-06-12  André Pönitz  <poenitz@gmx.net>
2421
2422         * BufferView.C:
2423         * BufferView_pimpl.C:
2424         * CutAndPaste.C:
2425         * buffer.C:
2426         * iterators.[Ch]:
2427         * lyxfunc.C:
2428         * text.C:
2429         * toc.C: Return a Paragraph & for ParIterator::operator*()
2430
2431 2003-06-11  John Levon  <levon@movementarian.org>
2432
2433         * lyx_main.C:
2434         * ToolbarBackend.h:
2435         * ToolbarBackend.C: add "Toolbars" section and
2436         put the flags there
2437
2438 2003-06-10  Angus Leeming  <leeming@lyx.org>
2439
2440         * lfuns.h:
2441         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
2442
2443         * lyxfunc.C (dispatch): invoke it.
2444
2445 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2446
2447         * main.C: protect <ios> with HAVE_IOS
2448         (main): protect sync_with_stdio with HAVE_IOS
2449
2450 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
2451
2452         * text2.C (cutSelection): adjust
2453         (pasteSelection): adjust
2454
2455         * messages.C: handle get of empty string
2456
2457         * main.C (main): use sync_with_stdio(false)
2458
2459         * lyxfunc.C (dispatch): adjust
2460
2461         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
2462         (WriteAs): remove unneeded BufferView arg.
2463
2464         * bufferparams.h: use correct types on papersize, papersize2 and
2465         paperpackage.
2466
2467         * bufferparams.C (readToken): adjust for type
2468         (writeLaTeX): add missing cases to switch.
2469
2470         * bufferlist.C (quitWriteBuffer): adjust
2471         (close): adjust
2472
2473         * buffer.C (asciiParagraph): remove some commented code.
2474
2475         * CutAndPaste.C: remove current_view extern variable.
2476         (cutSelection): add BufferParams arg.
2477         (eraseSelection): add BufferParams arg.
2478         (pasteSelection): add Buffer const & arg
2479
2480 2003-06-07  John Levon  <levon@movementarian.org>
2481
2482         * buffer.C:
2483         * paragraph_funcs.C:
2484         * paragraph_pimpl.C:
2485         * text.C:
2486         * text2.C:
2487         * paragraph.h:
2488         * paragraph.C: allow InsetERT to freely space lines,
2489         and some consolidation of code
2490
2491 2003-06-06  José Matos  <jamatos@fep.up.pt>
2492
2493         * buffer.C (makeDocBookFile): fix bug #821
2494
2495 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
2496
2497         * BufferView_pimpl.C (dispatch): use Dialogs::visible
2498
2499 2003-06-04  Angus Leeming  <leeming@lyx.org>
2500
2501         * buffer.C: bump format to 224.
2502
2503 2003-06-05  André Pönitz  <poenitz@gmx.net>
2504
2505         * text2.C (redoParagraphs): remove two const_cast<>
2506
2507 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2508
2509         * ParagraphList.h: remove last remnants of NO_STD_LIST
2510
2511 2003-06-03  Angus Leeming  <leeming@lyx.org>
2512
2513         * factory.C (createInset): small change to the way InsetExternal's params
2514         are set.
2515
2516 2003-06-04  André Pönitz  <poenitz@gmx.net>
2517
2518         * buffer.h: use Undo directly instead of shared_ptr<Undo>
2519
2520         * paragraph_pimpl.h:
2521         * paragraph.[Ch]: some Inset -> UpdatableInset changes
2522
2523         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
2524
2525         * undo_funcs.C: make some simple cases of undo work again
2526
2527 2003-06-03  John Levon  <levon@movementarian.org>
2528
2529         * ispell.C: HPUX doesn't have sys/select.h
2530         (from Albert Chin)
2531
2532 2003-06-03  John Levon  <levon@movementarian.org>
2533
2534         * CutAndPaste.C: update tabular and include inset
2535         buffer references
2536
2537         * buffer.h:
2538         * paragraph.h:
2539         * paragraph.C: remove owningBuffer(), don't pass Buffer
2540         to clone()
2541
2542         * factory.C: insetGraphicsParams changed
2543
2544 2003-06-02  John Levon  <levon@movementarian.org>
2545
2546         * LyXAction.C:
2547         * factory.C:
2548         * lfuns.h:
2549         * lyxfunc.C:
2550         * text3.C: remove insetparent
2551
2552 2003-06-02  John Levon  <levon@movementarian.org>
2553
2554         * buffer.h:
2555         * buffer.C: fix inset_iterator.end(), move out of line
2556         (bug 1149)
2557
2558 2003-06-01  John Levon  <levon@movementarian.org>
2559
2560         * text3.C: use a proper cut/paste when doing inset
2561         insert (from Jürgen Spitzmüller)
2562
2563 2003-06-01  John Levon  <levon@movementarian.org>
2564
2565         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
2566
2567 2003-05-30  André Pönitz  <poenitz@gmx.net>
2568
2569         * rowpainter.C: unify second drawing phase
2570
2571 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2572
2573         * trans_mgr.C: remove one case of current_view
2574
2575         * text2.C (cursorBottom): delete NO_STD_LIST stuff
2576
2577         * paragraph_funcs.h: remove paragraph.h include
2578
2579         * paragraph.h: delete NO_STD_LIST stuff
2580
2581         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
2582
2583         * buffer.h: remove paragraph.h include
2584
2585         * ParagraphList.C: delete file
2586
2587         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
2588
2589         * toc.C (getTocList): adjust
2590
2591         * paragraph_pimpl.C (validate): adjust
2592
2593         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
2594
2595         * paragraph.C (Paragraph): adjust
2596         (getPositionOfInset): use const_iterator, adjust
2597         (bibitem): use const_iterator, adjust
2598         (setInsetOwner): adjust
2599
2600         * iterators.C (operator++): adjust
2601
2602         * InsetList.[Ch]: Replace selfmade iterator with standard
2603         vector::iterator also introduce const_iterator. Remove getPos,
2604         getInset and setInset from InsetTable. Adjust accordingly.
2605
2606         * BufferView.C (lockInset): adjust
2607         (ChangeInsets): adjust
2608
2609         * tabular.[Ch]: delete commented same_id functions
2610
2611 2003-05-28  John Levon  <levon@movementarian.org>
2612
2613         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
2614
2615 2003-05-28  André Pönitz  <poenitz@gmx.net>
2616
2617         * metricsinfo.[Ch]: remove 'fullredraw' member
2618
2619 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
2620
2621         * lyxtextclass.C (operator): remove caching.
2622
2623 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2624
2625         * text3.C: adjust
2626
2627         * text2.C (cursorBottom): adjust
2628         (setCounter): use ParagraphList::find, adjust
2629
2630         * text.C (workWidth): use ParagraphList::find, adjust
2631
2632         * lyxcursor.C (LyXCursor): adjust
2633
2634         * buffer.C (inset_iterator): adjust
2635
2636         * ParagraphList.h: make iterator(value_type) private, make
2637         ParagraphList a friend of iterator.
2638
2639         * ParagraphList.C (find): new function
2640
2641         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2642
2643 2003-05-27  André Pönitz  <poenitz@gmx.net>
2644
2645         * dimension.[Ch]: a -> asc, d -> des, w -> wid
2646
2647 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2648
2649         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
2650
2651 2003-05-26  John Levon  <levon@movementarian.org>
2652
2653         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
2654
2655 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2656
2657         * remove same_id from function signatures, adjust.
2658
2659 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2660
2661         * undo_funcs.C (createUndo): use the id functions directly, adjust.
2662
2663         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
2664
2665         * paragraph.C (Paragraph): get rid of same_ids parameter
2666
2667         * ParagraphList.C (insert): adjust
2668         (push_back): adjust
2669
2670 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2671
2672         * paragraph_funcs.C (breakParagraph): adjust
2673         (breakParagraphConservative): adjust
2674
2675         * buffer.C (readParagraph): adjust
2676
2677         * ParagraphList.C (insert): take a reference instead of a pointer
2678         (insert): adjust
2679
2680         * paragraph.[Ch] (id): new function
2681
2682         * bufferlist.C (newFile): adjust
2683
2684         * ParagraphList.C (ParagraphList): adjust
2685         (assign): adjust
2686         (push_back): take a reference instead of a pointer.
2687
2688         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
2689
2690         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
2691         instead.
2692
2693         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
2694         set else use old code.
2695
2696         * ParagraphList.C: remove all NO_NEXT code and only compile this
2697         code of NO_STD_LIST is set.
2698
2699 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
2700
2701         * BufferView_pimpl.C:
2702         * TextCache.C:
2703         * TextCache.h:
2704         * bufferlist.C:
2705         * errorlist.h:
2706         * format.C:
2707         * format.h:
2708         * graph.C:
2709         * lyxfunc.C:
2710         * lyxrc.C:
2711         * graphics/GraphicsConverter.C:
2712         * graphics/PreviewLoader.C: header adjustment
2713
2714 2003-05-23  Angus Leeming  <leeming@lyx.org>
2715
2716         * LaTeXFeatures.[Ch] (useBabel): new method.
2717         * bufferparams.C (writeLaTeX): use it.
2718
2719 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2720
2721         * ParagraphList.h (set): remove unused function.
2722
2723 2003-05-23  André Pönitz  <poenitz@gmx.net>
2724
2725         * BufferView.C:
2726         * BufferView_pimpl.C:
2727         * buffer.C:
2728         * buffer.h:
2729         * lyxfunc.C:
2730         * undo_funcs.C: setUndo reworked
2731
2732         * iterators.[Ch]: add access to topmost ParagraphList
2733
2734         * lyxtext.[Ch] (workWidth): add a const
2735
2736 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
2737
2738         * texrow.[Ch] (increasePos): remove function
2739         * exporter.C (export): removed unused var and outdated comment
2740
2741 2003-05-23  Angus Leeming  <leeming@lyx.org>
2742
2743         * latexrunparams.h: rename fragile as moving_arg.
2744         * paragraph.C (simpleTeXOnePar): ditto.
2745         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
2746
2747 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2748
2749         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
2750         (createUndo): ditto
2751         (textUndoOrRedo): comment out a currently unused var.
2752
2753         * paragraph.h (NO_NEXT): enable NO_NEXT
2754
2755         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
2756
2757         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
2758
2759         * exporter.C (Export): adjust for removeAutoInsets removal.
2760
2761         * buffer.C (runChktex): adjust for removeAutoInsets removal.
2762
2763         * LyXAction.C (init): remove LFUN_REMOVEERRORS
2764
2765         * BufferView.[Ch] (removeAutoInsets): delete function
2766
2767 2003-05-22  Angus Leeming  <leeming@lyx.org>
2768
2769         * latexrunparams.h: add a free_spacing variable.
2770
2771         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
2772         to pass moving_arg, as the data is stored in runparams.fragile.
2773
2774         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
2775         to Inset::latexOptional or to simpleTeXOnePar.
2776
2777         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
2778         free_spacing arg to Inset::latexOptional.
2779
2780         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2781         free_spacing arg.
2782
2783 2003-05-22  Angus Leeming  <leeming@lyx.org>
2784
2785         * latexrunparams.h: add fragile and use_babel variables.
2786
2787         * bufferparams.[Ch] (writeLaTeX): return use_babel.
2788         * buffer.C (makeLaTeXFile): store this returned value in
2789         runparams.use_babel, thus passing it to the inset::latex methods.
2790
2791         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
2792         simpleTeXSpecialChars as it is now stored in runparams.fragile.
2793
2794         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
2795         longer has a fragile arg, as it is stored in runparams.fragile.
2796
2797         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
2798         moving_arg parameter as the data is stored in runparams.fragile.
2799
2800         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2801         a fragile parameter as the data is stored in runparams.fragile.
2802
2803 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2804
2805         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
2806
2807 2003-05-22  Angus Leeming  <leeming@lyx.org>
2808
2809         * latexrunparams.h: add a 'bool nice' which defaults to false.
2810
2811         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
2812         now encapsulated within runparams.
2813
2814         * bufferlist.C (updateIncludedTeXfiles):
2815         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
2816
2817 2003-05-22  Angus Leeming  <leeming@lyx.org>
2818
2819         * latexrunparams.h: new file containing struct LatexRunParams.
2820         * Makefile.am: add new file.
2821
2822         * LaTeX.[Ch] (c-tor, run):
2823         * buffer.[Ch] (makeLaTeXFile):
2824         * bufferlist.[Ch] (updateIncludedTeXfiles):
2825         * converter.C (convert, scanLog):
2826         * converter.[Ch] (runLaTeX):
2827         * exporter.C (Export):
2828         * paragraph.[Ch] (simpleTeXOnePar):
2829         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
2830         * paragraph_funcs.[Ch] (latexParagraphs):
2831         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
2832         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
2833         pass around a LatexRunParams parameter.
2834
2835 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2836
2837         * paragraph.[Ch]: remove unused constructor
2838
2839         * ParagraphList.C (erase): new function, taking two iterators
2840
2841 2003-05-22  André Pönitz  <poenitz@gmx.net>
2842
2843         * undo_funcs.C: remove duplicated code
2844
2845         * iterator.[Ch]: operator=
2846
2847 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2848
2849         * tabular.C (SetMultiColumn): ws changes
2850
2851         * rowpainter.C (paintFirst): get rid of a ->previous
2852
2853         * lyx_cb.C (getPossibleLabel): parlist simplification
2854
2855         * BufferView.C (ChangeInsets): simplify slightly.
2856
2857 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2858
2859         * LyXAction.C: new lfun space-insert, kill protected-space-insert
2860         * lfuns.h: new LFUN_SPACE
2861         * lyxfunc.C: protected space has a new lfun
2862         * paragraph_funcs.C: read new space insets
2863         * text3.C:
2864         * factory.C: handle new space insets
2865
2866 2003-05-22  André Pönitz  <poenitz@gmx.net>
2867
2868         * BufferView.C:
2869         * BufferView_pimpl.C:
2870         * buffer.[Ch]:
2871         * lyxfunc.C:
2872         * undo_funcs.C: return a ParIterator from getParFromID.
2873
2874         * iterators.[Ch]: add two const's
2875
2876 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2877
2878         * toc.C (getTocList): adjust
2879
2880         * iterators.[Ch]: rework for parlist
2881
2882         * buffer.C (par_iterator_begin): adjust
2883         (par_iterator_end): adjust
2884
2885         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
2886
2887         * BufferView.C (removeAutoInsets): adjust
2888         (ChangeInsets): adjust
2889
2890 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
2891
2892         * text.C (top_y): fix bug 1110
2893
2894 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
2895
2896         * errorlist.[Ch]: added
2897         * buffer.C:
2898         * BufferView.[Ch]:
2899         * BufferView_pimpl.C:
2900         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
2901         instead
2902
2903 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2904
2905         * Makefile.am: ensure that lyx is relinked upon changes to the
2906         various "convenience" libs.
2907
2908 2003-05-20  Angus Leeming  <leeming@lyx.org>
2909
2910         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
2911         files are compiled in alphabetical order again.
2912
2913         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
2914
2915 2003-05-19  Angus Leeming  <leeming@lyx.org>
2916
2917         * gettext.[Ch]: remove "char const * _(char const *)".
2918
2919 2003-05-19  André Pönitz  <poenitz@gmx.net>
2920
2921         * dimension.[Ch]: promote from mathed/dimension.[Ch]
2922
2923         * Makefile.am:
2924         * BufferView.C:
2925         * DepTable.h:
2926         * LaTeXFeatures.C:
2927         * buffer.C:
2928         * lyxfont.C:
2929         * lyxlex.h:
2930         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
2931
2932 2003-05-19  André Pönitz  <poenitz@gmx.net>
2933
2934         * buffer.C:
2935         * lyxlayout.[Ch]:
2936         * lyxtextclass.[Ch]:
2937         * paragraph.C:
2938         * paragraph_funcs.[Ch]:
2939         * text2.C:
2940         * text3.C: more insetenv work
2941
2942 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
2943
2944         * ParagraphParameters.C (params2string): small bug fixed
2945
2946 2003-05-16  André Pönitz  <poenitz@gmx.net>
2947
2948         * debug.C:
2949         * bufferview_funcs.C: patch from Kornel Benko to prevent
2950           crash when _(...) is called twice in a statement
2951
2952 2003-05-16  André Pönitz  <poenitz@gmx.net>
2953
2954         * BufferView.C:
2955         * lyxfunc.C:
2956         * text.C:
2957         * text2.C:
2958         * text3.C:
2959         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
2960
2961 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
2962
2963         * lyx_main.C (init): remove spurious static_cast
2964
2965 2003-05-14  André Pönitz  <poenitz@gmx.net>
2966
2967         * BufferView.C: fix format string
2968
2969 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
2970
2971         * BufferView.[Ch] (insertErrors): removed
2972         * BufferView.[Ch] (showErrorList): added
2973         * buffer.C (runChkTeX):
2974         * converter.C (scanLog): call showErrorList instead of inserterrors
2975
2976 2003-05-13  André Pönitz  <poenitz@gmx.net>
2977
2978         * BufferView_pimpl.C:
2979         * buffer.C:
2980         * bufferview_func.C:
2981         * MenuBackend.C:
2982         * lyxfunc.C:
2983         * lyxrc.C:
2984         * tex-accent.C:
2985         * text3.C:
2986         * toc.C:
2987         * tabular_funcs.h: tostr() from its own header
2988
2989         * ParagraphParameters.C:
2990         * ToolbarBackend.C:
2991         * bufferparams.C:
2992         * format.C:
2993         * lyxlex_pimpl.C:
2994         * text3.C: STRCONV()
2995
2996 2003-05-12  André Pönitz  <poenitz@gmx.net>
2997
2998         * BufferView.C:
2999         * BufferView_pimpl.C:
3000         * CutAndPaste.C:
3001         * LaTeX.C:
3002         * LaTeXFeatures.C:
3003         * ParagraphParameters.C:
3004         * buffer.C:
3005         * bufferlist.C:
3006         * bufferparams.C:
3007         * bufferview_funcs.C:
3008         * converter.C:
3009         * counters.C:
3010         * debug.C:
3011         * exporter.C:
3012         * format.C:
3013         * importer.C:
3014         * lyx_cb.C:
3015         * lyx_main.C:
3016         * lyxfont.C:
3017         * lyxfunc.C:
3018         * lyxvc.C:
3019         * paragraph.C:
3020         * paragraph_funcs.C:
3021         * tabular.C:
3022         * tabular_funcs.C:
3023         * text2.C:
3024         * text3.C:  boost::format -> bformat  all over the place
3025
3026
3027 2003-05-09  André Pönitz  <poenitz@gmx.net>
3028
3029         * LColor.[Ch]: Pimpl the #include <map> away
3030
3031 2003-05-09  John Levon  <levon@movementarian.org>
3032
3033         * bufferlist.C: never remove emergency saves
3034
3035 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3036
3037         * Makefile.am: better lib building
3038
3039 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
3040
3041         * texrow.[Ch]: remove dependency on Paragraph and just store a id
3042         instead.
3043         * paragraph_pimpl.C (simpleTeXBlanks): adjust
3044         (simpleTeXSpecialChars): adjust
3045         (simpleTeXSpecialChars): adjust
3046         * paragraph.C (simpleTeXOnePar): adjust
3047         * buffer.C (makeLaTeXFile): adjust
3048
3049         * Makefile.am (BOOST_LIBS): allow boost as system lib.
3050
3051         * text2.C (changeDepth): parlist cleanup
3052         (getColumnNearX): ditto
3053
3054         * rowpainter.C (getLabelFont): parlist cleanup
3055
3056         * bufferlist.C (newFile): parlist cleanup
3057
3058         * CutAndPaste.C (eraseSelection): parlist cleanup
3059
3060         * BufferView_pimpl.C (trackChanges): parlist cleanup
3061         (dispatch): ditto
3062
3063         * BufferView.C (lockInset): parlist cleanup.
3064         (ChangeInsets): ditto
3065
3066 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3067
3068         * CutAndPaste.h: Update file header.
3069
3070         * CutAndPaste.C: Update file header.
3071         Store the parts cut out of the Document in a limited_stack.
3072         (copySelection): adjust
3073         (pasteSelection): new function, takes the index in the limited stack.
3074         (nrOfParagraphs): adjust
3075         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
3076         simplify error inset insertion.
3077         (checkPastePossible): adjust
3078
3079 2003-05-06  John Levon  <levon@movementarian.org>
3080
3081         * text2.C: don't cast wrap inset to float
3082
3083 2003-05-05  André Pönitz  <poenitz@gmx.net>
3084
3085         * iterator.C:
3086         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
3087
3088         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
3089           few naked Paragraph *.
3090
3091 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
3092
3093         * bufferparams.C: Output warning if a document with missing
3094         TeX document class is loaded
3095         * exporter.C: Disable TeX exports if the document class is missing
3096         * lyxtextclass.C:
3097         * lyxtextclass.h:
3098         * lyxtextclasslist.C: Handle new textclass.lst format; new method
3099         isTeXClassAvailable()
3100
3101 2003-05-03  John Levon  <levon@movementarian.org>
3102
3103         * BufferView.h:
3104         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
3105         explicit cursor show/hide
3106
3107         * BufferView_pimpl.h:
3108         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
3109         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
3110
3111         * lyxfunc.C: hide cursor before dispatching.
3112
3113         * lyx_cb.C:
3114         * lyxfind.C:
3115         * text.C:
3116         * text3.C: remove explicit cursor hides
3117
3118 2003-05-02  André Pönitz  <poenitz@gmx.net>
3119
3120         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
3121
3122         * undo_funcs.C:
3123         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
3124           linked lists
3125
3126         * text2.C: tiny whitespace
3127
3128 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3129
3130         * undo_funcs.C: almost only ws changes.
3131
3132         * ParagraphList.C (splice): just return if pl is empty.
3133
3134 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3135
3136         * ParagraphList.C (splice): new function.
3137
3138         * CutAndPaste.C (pasteSelection): use it
3139
3140 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3141
3142         * CutAndPaste.C (pasteSelection): remove the last next and
3143         previous from this file.
3144
3145 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3146
3147         * CutAndPaste.C (pasteSelection): more clean up, user proper
3148         ParagraphList functions for pasteing.
3149
3150         * ParagraphList.C (insert): new function, three arg insert
3151
3152 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3153
3154         * ParagraphList.C (insert): new function, three arg insert
3155
3156         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
3157         not on paragraphs.
3158
3159 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3160
3161         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3162
3163 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3164
3165         * CutAndPaste.C (pasteSelection): remove some unneeded code.
3166
3167 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3168
3169         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3170         (copySelection): clean up a bit.
3171         (pasteSelection): use make_pair
3172
3173         * ParagraphList.C (ParagraphList): implement copy constructor
3174         (operator=): implement, base on copy constructor.
3175         (assign): new func
3176
3177         * paragraph.C (erase): return a bool
3178
3179         * paragraph_pimpl.C (erasePos): remove function, move contents...
3180         (erase): ... here. Return a bool.
3181         (erase): call erase instead of erasePos.
3182
3183 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
3184
3185         * ParagraphList.h: define PitPosPair
3186         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3187         ParagraphList, fix a bug on pasting multiple pars
3188         * text2.C: change interface to C&P
3189
3190 2003-04-30  André Pönitz  <poenitz@gmx.net>
3191
3192         * undo_func.C: revert part of yesterday's patch 2
3193
3194 2003-04-30  John Levon  <levon@movementarian.org>
3195
3196         * LColor.C: s/tabular/table/
3197
3198 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3199
3200         * text3.C (dispatch): do not convert iterator -> pointer
3201         * undo_funcs.C (setCursorParUndo): ditto
3202         * text_funcs.C (transposeChars): ditto
3203
3204         * text2.C (setLayout): ws changes only
3205
3206         * text.C (breakParagraph): do not convert iterator -> pointer
3207         (insertChar): ditto
3208         (acceptChange): ditto
3209         (rejectChange): ditto
3210         (changeCase): ditto
3211         (Delete): ditto
3212         (backspace): ditto
3213
3214         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3215         pointer
3216
3217 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3218
3219         * text3.C (gotoInset): YABG (yet another bad getChar)
3220
3221 2003-04-29  André Pönitz  <poenitz@gmx.net>
3222
3223         * paragraph.h: make operator= private unimplemented as long as
3224           it is unusable
3225
3226         * ParagraphList.C: whitespace
3227
3228         * paragraph.[Ch]:
3229         * paragraph_pimpl.[Ch]:
3230         * paragraph_funcs.C:
3231         * CutAndPaste.C:
3232         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
3233
3234         * text2.C:
3235           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3236
3237 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3238
3239         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3240         * paragraph.[Ch] (erase):
3241         * paragraph_pimpl.[Ch] (erase): change return type and value
3242         * text2.C (cutSelection): some rework
3243
3244 2003-04-28  John Levon  <levon@movementarian.org>
3245
3246         * bufferlist.C: changes for unsaved changes dialog
3247
3248 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3249
3250         * bufferlist.C (newFile): set language (messages_) for new
3251         documents also.
3252
3253         * buffer.C (readFile): ws changes only.
3254
3255 2003-04-28  André Pönitz  <poenitz@gmx.net>
3256
3257         * undo_funcs.C:
3258         * lyxfunc.C:
3259         * buffer.[Ch]:
3260         * BufferView_pimpl.C:
3261         * BufferView.C: getParFromID related ParagraphList::iterator changes
3262
3263 2003-04-28  André Pönitz  <poenitz@gmx.net>
3264
3265         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3266           Changes
3267
3268 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3269
3270         * messages.C: remove one more localedir class variable.
3271
3272 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3273
3274         * messages.C (getLocaleDir): singleton generation function
3275         (Pimpl): use it.
3276         (Messages): add a default constructor.
3277
3278         * main.C (main): do not setup localedir here, do not call
3279         gettext_init.
3280
3281         * gettext.C (_): use it.
3282         (gettext_init): delete funciton
3283
3284 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3285
3286         * gettext.C (getLyXMessages): new singleton generating function.
3287
3288         * buffer.C (updateDocLang): adjust
3289
3290         * Makefile.am (messages.o): add target
3291         (main.o): remove target
3292
3293 2003-04-27  John Levon  <levon@movementarian.org>
3294
3295         * bufferlist.C:
3296         * lyx_cb.C:
3297         * lyxfunc.C:
3298         * lyxvc.C: specify cancel button in Alert::prompt
3299
3300 2003-04-26  John Levon  <levon@movementarian.org>
3301
3302         * text3.C:
3303         * lyxfunc.C:
3304         * lfuns.h:
3305         * LyXAction.C: add LFUN_INSET_SETTINGS
3306
3307         * lyxfunc.C: don't enable tabular-feature when there's
3308         just any locking inset
3309
3310 2003-04-26  John Levon  <levon@movementarian.org>
3311
3312         * bufferlist.C: re-add Cancel to buffer close question
3313
3314         * lyxfunc.C: fix import UI a bit
3315
3316 2003-04-25  John Levon  <levon@movementarian.org>
3317
3318         * gettext.C: remove the broken asserts for now
3319
3320 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3321
3322         * messages.C: make case where setlocale cannot comply work better.
3323
3324         * buffer.C (updateDocLang): new function
3325         (changeLanguage): use it
3326         (readFile): use it
3327
3328         * text2.C (setCounter): use B_ a bit.
3329
3330         * lyxlayout.C (Read): be sure to trim the label strings.
3331
3332         * messages.C (Messages): fix typo in comment
3333
3334         * buffer.C (readFile): set message_ after file is loaded.
3335         (makeDocBookFile): remove double return
3336         (changeLanguage): reset message_ upon language change.
3337         (B_): new func, use this to get translated buffer strings.
3338
3339         * main.C: add myself and Jean Marc as authors.
3340
3341 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3342
3343         * messages.[hC]: pimplify Messages, and three different pimpls to be
3344         used in different circumstances.
3345
3346         * gettext.[Ch]: change for use with new message code.
3347
3348 2003-04-24 André Pönitz <poenitz@gmx.net>
3349
3350         * factory.C: support for eqref
3351
3352 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3353
3354         * messages.[Ch]: add missing char
3355
3356         * Makefile.am (lyx_SOURCES): add messages.[Ch]
3357
3358         * messages.[Ch]: New files
3359
3360 2003-04-18  John Levon  <levon@movementarian.org>
3361
3362         * BufferView.h:
3363         * BufferView.C:
3364         * BufferView_pimpl.C:
3365         * lfuns.h:
3366         * LyXAction.C:
3367         * lyxtext.h:
3368         * text2.C: remove layout-copy/paste (bug 778)
3369
3370 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3371
3372         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
3373
3374 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3375
3376         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
3377         if they succeed. Act accordingly.
3378
3379 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3380
3381         * text2.C (setCharFont): adjust
3382         (setCounter): adjust
3383         (insertStringAsLines): adjust
3384
3385         * text.C (leftMargin): adjust
3386         (setHeightOfRow): adjust
3387
3388         * rowpainter.C (paintFirst): adjust
3389         (paintLast): adjust
3390
3391         * paragraph_funcs.C (depthHook): ParagraphList::iterators
3392         (outerHook): ditto
3393         (isFirstInSequence): ditto
3394         (getEndLabel): ditto
3395         (outerFont): adjust
3396
3397         * paragraph.C (getParLanguage): comment out some hard stuff.
3398
3399         * buffer.C (insertStringAsLines): take a ParagraphList as arg
3400         (sgmlError): ditto
3401         (simpleDocBookOnePar): ditto
3402         (makeDocBookFile): use ParagraphList::iterator
3403
3404         * CutAndPaste.C (pasteSelection): adjust
3405
3406 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3407
3408         * text2.C (getFont): adjust
3409         (getLayoutFont): adjust
3410         (getLabelFont): adjust
3411
3412         * paragraph_funcs.C (TeXOnePar): adjust
3413
3414         * buffer.C (simpleLinuxDocOnePar): adjust
3415         (simpleDocBookOnePar): adjust
3416
3417         * CutAndPaste.C (pasteSelection): adjust
3418
3419         * BufferView.C (getEncoding): adjust
3420
3421         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
3422
3423 2003-04-16  John Levon  <levon@movementarian.org>
3424
3425         * lyxfind.C: use parlist stuff for search/changes
3426
3427 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3428
3429         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
3430
3431         * text2.C (deleteEmptyParagraphMechanism): adjust
3432
3433         * text2.[Ch] (ownerParagraph): delete func (both of them
3434
3435 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3436
3437         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
3438
3439 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3440
3441         * ParagraphList.C: prepare for NO_NEXT
3442
3443 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3444
3445         * text2.C (getFont): adjust
3446         (getLayoutFont): adjust
3447         (getLabelFont): adjust
3448
3449         * paragraph.C (getFont): adjust
3450         (getLabelFont): adjust
3451         (getLayoutFont): adjust
3452
3453         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
3454
3455 2003-04-15  John Levon  <levon@movementarian.org>
3456
3457         From Angus Leeming
3458
3459         * lyx_main.C: handle Include in .ui files
3460
3461 2003-04-15  John Levon  <levon@movementarian.org>
3462
3463         * MenuBackend.C: make the doc files length shorter
3464
3465         * ToolbarBackend.h:
3466         * ToolbarBackend.C: handle toolbar placement flags,
3467         Minibuffer
3468
3469 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3470
3471         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
3472         adjust
3473
3474         * paragraph_funcs.C (TeXOnePar): adjust
3475
3476         * paragraph.C (getLabelFont): add outerfont arg, adjust
3477         (getLayoutFont): ditto
3478         (simpleTeXOnePar): adjust
3479
3480         * paragraph_pimpl.C (realizeFont): delete func
3481
3482 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
3483
3484         * text2.C (beforeFullRowInset): added a bad getchar check, removed
3485         row argument, constify cur argument.
3486
3487 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3488
3489         * text2.C (getFont): adjust
3490         (getLayoutFont): adjust
3491         (getLabelFont): adjust
3492
3493         * paragraph_funcs.C (TeXOnePar): adjust
3494         (outerFont): new func...
3495         (realizeFont): ...moved out from here, changed this to facilitate
3496         transition
3497
3498         * paragraph.C (getFont): take outerfont as arg, adjust
3499         (simpleTeXOnePar): add outerfont arg, adjust
3500
3501         * buffer.C (simpleLinuxDocOnePar): adjust
3502         (simpleDocBookOnePar): adjust
3503
3504         * CutAndPaste.C (pasteSelection): adjust
3505
3506         * BufferView.C (getEncoding): adjust
3507
3508 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3509
3510         * text2.C (setCharFont): adjust
3511         (setCounter): adjust
3512
3513         * text.C (leftMargin): adjust
3514         (setHeightOfRow): adjust
3515
3516         * rowpainter.C (paintFirst): adjust
3517         (paintLast): adjust
3518
3519         * paragraph_pimpl.C (realizeFont): adjust
3520
3521         * paragraph.C (isFirstInSequence): move from here...
3522         * paragraph_funcs.C (isFirstInSequence): ...to here
3523
3524         * paragraph.C (outerHook): move from here...
3525         * paragraph_funcs.C (outerHook): ...to here
3526
3527         * paragraph.C (depthHook): move from here...
3528         * paragraph_funcs.C (depthHook): ...to here
3529
3530         * paragraph.C (getEndLabel): move from here...
3531         * paragraph_funcs.C (getEndLabel): ...to here
3532
3533         * text2.C (realizeFont): move from here...
3534         * paragraph_funcs.C (realizeFont): ...to here
3535
3536 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3537
3538         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
3539
3540 2003-04-14  Angus Leeming  <leeming@lyx.org>
3541
3542         * LColor.[Ch]: scrap LColor mathcursor.
3543
3544 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3545
3546         * lyxlex.[Ch] (text): delete function
3547         * trans.C (Load): adjust
3548         * paragraph_funcs.C (readParToken): adjust
3549
3550 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3551
3552         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
3553         vector<char> instead of a char[].
3554
3555         * lyxlex_pimpl.C (getString): adjust
3556         (next): adjust
3557         (lex): use getString
3558         (eatLine): adjust
3559         (nextToken): adjust
3560
3561         * lyxlex.C (text): use pimpl_->getString()
3562         (getBool): ditto
3563         (findToken): ditto
3564
3565 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3566
3567         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
3568         (makeFontEntriesLayoutSpecific): temp var for par.size()
3569         (setLayout): temp var for ownerParagraphs().end()
3570         (fullRebreak): temp var for rows().end()
3571         (selectionAsString): temp var for boost::next(startpit), realize
3572         that the while really is a regular for loop.
3573         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
3574         setCursor in one place.
3575         (setParagraph): temp vr for ownerParagraphs().end()
3576         (updateCounters): make the while loop a for loop
3577         (cutSelection): temp var for ownerParagraphs().end()
3578         (updateInset): make the do {} while() a regular for loop
3579         (getCursorX): use temp vars
3580         (setCurrentFont): use temp vars
3581         (getColumnNearX): use temp vars
3582
3583 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3584
3585         * text.C (transformChar): use temp var for getChar
3586         (computeBidiTables): use temp var for row->par()
3587         (fill): move temp vars for row->par() and pit->layout() earlier in
3588         the function.
3589         (labelFill): use temp var for row->par()
3590         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
3591         asc and desc, realize that pit never changes and that firstpit is
3592         just a duplicate and not needed. Exchange rit->par() with pit in a
3593         lot of places.
3594         (breakAgain): use a temp var for boost::next(rit)
3595         (breakAgainOneRow): ditto
3596         (breakParagraph): use a temp var for rows().begin()
3597         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
3598         (cursorRightOneWord): use temp var for cursor.par() and
3599         cursor.pos(), remove usage of tmpcursor.
3600         (cursorLeftOneWord): use temp var for cursor.par() and
3601         cursor.pos() only set cur at end of function.
3602
3603 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3604
3605         * text.C, text2.C: exchange all usage of Paragraph::next with
3606         boost::next(ParagraphList::iterator)
3607
3608         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
3609
3610         * text2.C (cursorTop): simplify implementation
3611         (cursorBottom): ditto
3612         (setParagraph): use ParagraphList::iterator
3613         (setCurrentFont): adjust
3614         (getColumnNearX): adjust
3615         (cursorRight): adjust
3616         (cursorLeft): remove usage of Paragraph::previous
3617         (cursorUpParagraph): ditto
3618         (deleteEmptyParagraphMechanism): slight cleanup
3619
3620         * text.C (isBoundary): take a Paragraph const & instead of a
3621         pointer as arg.
3622         (addressBreakPoint): ditto
3623         (leftMargin): remove usage of Paragraph::previous.
3624         (setHeightOfRow): ditto
3625         (cursorLeftOneWord): ditto
3626         (selectNextWordToSpellcheck): ditto
3627         (Delete): ditto
3628         (backspace): ditto
3629         (breakParagraph): remove one usage of Paragraph::next
3630         (redoParagraph): ditto
3631         (acceptChange): ditto
3632         (insertChar): adjust
3633         (rowBreakPoint): adjust
3634
3635         * bufferview_funcs.C (toggleAndShow): adjust
3636
3637 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
3638
3639         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
3640         methods to access it.
3641         * lyxtext.h:
3642         * text.C: Added updateRowPositions to compute all row positions.
3643         Make top_y and getRowNearY() to use the cached y position
3644
3645 2003-04-11  John Levon  <levon@movementarian.org>
3646
3647         * text.C (rowBreakPoint): reintroduce the labelEnd
3648         checks, code copied from the row fill stuff. Deep voodoo.
3649
3650         * text.C (fill): add a comment and debugging for the
3651         next poor soul.
3652
3653 2003-04-11  John Levon  <levon@movementarian.org>
3654
3655         * text.C: make sure fullrow insets get wrapped to the next line,
3656         even when they're in a manual label
3657
3658 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
3659
3660         * text2.C (insertParagraph): make it take ParagraphList::iterator
3661         as arg.
3662         (setLayout): make it return ParagraphList::iterator
3663         (redoParagraphs): ditto
3664         (setCounter): ditto
3665         (checkParagraph): ditto
3666
3667         * text.C (getRow): make getrow take ParagraphList::iterator as arg
3668
3669         * text2.C: adjust several funcs.
3670         (realizeFont): take a ParagraphList::iterator as arg.
3671         (getLayoutFont): ditto
3672         (getLabelFont): ditto
3673         (setCharFont): ditto
3674
3675         * text.C: adjust several funcs.
3676
3677 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
3678
3679         * text.C (selectNextWordToSpellcheck): don't accidentally
3680         skip insets
3681
3682 2003-04-10  John Levon  <levon@movementarian.org>
3683
3684         * ToolbarBackend.C (getIcon): special handling for
3685         LFUN_MATH_DELIM
3686
3687 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
3688
3689         * text2.C (cursorRight): a getChar assert fixed
3690
3691 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3692
3693         * text2.C (getFont): change to take a ParagraphList::iterator
3694         instead of Paragraph*
3695         Adjust several functions.
3696
3697         * text.C (transformChar): change to take a ParagraphList::iterator
3698         instead of Paragraph*
3699         (singleWidth): ditto
3700         Adjust several functions.
3701
3702         * rowpainter.C: adjust several functions
3703         * rowpainter.h:store a ParagraphList::iterator and not a
3704         Paragraph&.
3705
3706
3707 2003-04-09  John Levon  <levon@movementarian.org>
3708
3709         * lyxfunc.C:
3710         * lfuns.h:
3711         * LyXAction.h:
3712         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
3713         and the "help" bits as well
3714
3715 2003-04-09  John Levon  <levon@movementarian.org>
3716
3717         * ToolbarBackend.h:
3718         * ToolbarBackend.C: allow multiple toolbars
3719
3720 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3721
3722         * undo_funcs.C (setCursorParUndo): adjust
3723
3724         * text_funcs.C (transposeChars): adjust
3725
3726         * text3.C (gotoNextInset): adjust
3727         (dispatch): adjust
3728
3729         * text2.C (setLayout): adjust
3730         (changeDepth): adjust
3731         (setFont): adjust
3732         (redoParagraphs): adjust
3733         (selectionAsString): adjust
3734         (setParagraph): adjust
3735         (insertInset): adjust
3736         (cutSelection): adjust
3737         (copySelection): adjust
3738         (pasteSelection): adjust
3739         (insertStringAsLines): adjust
3740         (updateInset): adjust
3741         (setCursor): change to take a ParagraphList::iterator parameter
3742         (setCursorIntern): change to take a ParagraphList::iterator parameter
3743         (setCurrentFont): adjust
3744         (cursorLeft): adjust
3745         (cursorRight): adjust
3746         (deleteEmptyParagraphMechanism): adjust
3747
3748         * text.C (breakParagraph): adjust
3749         (insertChar): adjust
3750         (acceptChange): adjust
3751         (rejectChange): adjust
3752         (selectNextWordToSpellcheck): adjust
3753         (changeCase): adjust
3754         (Delete): adjust
3755         (backspace): adjust
3756
3757         * lyxfind.C (SearchForward): adjust
3758         (SearchBackward): adjust
3759         (nextChange): adjust
3760
3761         * lyxcursor.C (par): adjust
3762
3763         * lyxcursor.h: store a ParagraphList::iterator instead of a
3764         Paragraph*
3765
3766         * lyx_cb.C (getPossibleLabel): adjust
3767
3768         * bufferview_funcs.C (toggleAndShow): adjust
3769
3770         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3771         (dispatch): adjust
3772
3773         * BufferView.C (removeAutoInsets): adjust
3774         (lockedInsetStoreUndo): adjust
3775
3776 2003-04-09  John Levon  <levon@movementarian.org>
3777
3778         * ToolbarBackend.C: try icon without argument
3779         if with argument fails
3780
3781 2003-04-08  John Levon  <levon@movementarian.org>
3782
3783         * ToolbarBackend.h:
3784         * ToolbarBackend.C: add getIcon(), handle tooltip,
3785         and change from "Icon" to "Item".
3786
3787 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
3788
3789         * BufferView.C (lockInset): another bad getchar crunched
3790
3791 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
3792
3793         * text2.C (changeDepth): do not setUndo on test_only (make undo work
3794         again)
3795
3796 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
3797
3798         * lyxfind.C (searchForward, searchBackwards): bug 782
3799
3800 2003-04-07  John Levon  <levon@movementarian.org>
3801
3802         * paragraph.C: remove dead comment
3803
3804         * text.C: remove troublesome depth-fiddling code
3805         in leftMargin() and rightMargin() (bug 1017)
3806
3807         * text.C: fix breaking of rows in nested lists
3808         (bug 1004)
3809
3810         * text2.C (updateCounters): fix up depth values
3811         (bug 1013)
3812
3813 2003-04-07  John Levon  <levon@movementarian.org>
3814
3815         * BufferView_pimpl.C: clear message when doc finishes resizing,
3816         and after a mouse event
3817
3818         * lyxfunc.C: clear message after exiting inset
3819
3820 2003-04-07  John Levon  <levon@movementarian.org>
3821
3822         * bufferview_funcs.C: show math status not outside
3823         status in the statusbar
3824
3825 2003-04-07  John Levon  <levon@movementarian.org>
3826
3827         * lyxfunc.C: note status changed after a depth change
3828
3829 2003-04-04  Angus Leeming  <leeming@lyx.org>
3830
3831         * LaTeX.h: move AuxInfo operator==, != out of line.
3832         Remove LaTeX virtual destructor; nothing derives from it.
3833         Move operator()() out of public area and rename it startscript().
3834         Change protected for private.
3835
3836 2003-04-04  Angus Leeming  <leeming@lyx.org>
3837
3838         * lyxfunc.C:
3839         * text2.C: remove unneeded #includes.
3840
3841 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
3842
3843         * text2.C (dEPM): fix the heigth of the next row
3844
3845 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
3846
3847         * text.C: squashed an invalid getChar requester + some ws changes
3848
3849 2003-04-03  John Levon  <levon@movementarian.org>
3850
3851         * bufferview_funcs.h:
3852         * bufferview_funcs.C:
3853         * lyxfunc.C:
3854         * lyxtext.h:
3855         * text2.C: make getStatus work for the env depth lfuns
3856
3857 2003-04-03  John Levon  <levon@movementarian.org>
3858
3859         * bufferview_funcs.h:
3860         * bufferview_funcs.C:
3861         * lyxfunc.C:
3862         * lyxtext.h:
3863         * text2.C: parlistize decDepth(), by merging it with incDepth()
3864
3865 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3866
3867         * lyxrow.h: store a ParagraphList::iterator instead of a
3868         Paragraph* and adjust other class functions to suit.
3869
3870         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
3871         above.
3872
3873 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
3874
3875         * text2.C (setCursor): do not anchor to cursor row for the time being
3876
3877 2003-04-02  John Levon  <levon@movementarian.org>
3878
3879         * LyXAction.C:
3880         * lfuns.h:
3881         * lyx_main.C:
3882         * lyxtext.h:
3883         * text.C:
3884         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
3885
3886 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3887
3888         * paragraph.h: make ParagraphList and ParagraphList::iterator
3889         friends of Paragraph.
3890
3891         * buffer.C (makeLinuxDocFile): move towards ParagraphList
3892
3893         * ParagraphList.C: Use the private next_ and previous_ from
3894         Paragraph.
3895
3896 2003-04-01  John Levon  <levon@movementarian.org>
3897
3898         * ToolbarBackend.h:
3899         * ToolbarBackend.C:
3900         * Makefile.am: rename, remove defaults gunk
3901
3902         * MenuBackend.h:
3903         * MenuBackend.C: remove defaults gunk
3904
3905         * Languages.h:
3906         * Languages.C: remove defaults gunk
3907
3908         * lyx_main.h:
3909         * lyx_main.C: error out if files couldn't be found.
3910
3911 2003-04-02  John Levon  <levon@movementarian.org>
3912
3913         * text2.C: make incDepth() use parlist
3914
3915 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3916
3917         * undo_funcs.C (firstUndoParagraph): adjust
3918
3919         * text3.C (gotoInset): adjust
3920         (dispatch): adjust, and rewrite loop.
3921
3922         * text2.C (init): adjust, and rewrite loop.
3923         (redoParagraphs): adjust
3924         (updateInset): adjust, and rewrite loop.
3925         (deleteEmptyParagraphMechanism): adjust
3926
3927         * tabular.C (LyXTabular): adjust
3928         (SetMultiColumn): adjust
3929         (TeXRow): adjust
3930
3931         * lyxtext.[Ch] (ownerParagraph): delete function
3932         (ownerParagraphs): new function returns a ParagraphList.
3933
3934         * BufferView.C (removeAutoInsets): adjust
3935         (insertErrors): adjust
3936         (setCursorFromRow): adjust
3937
3938 2003-04-01  Angus Leeming  <leeming@lyx.org>
3939
3940         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
3941         in the frontends.
3942
3943 2003-04-02  John Levon  <levon@movementarian.org>
3944
3945         * lyxtext.h:
3946         * text.C:
3947         * Makefile.am:
3948         * text_funcs.h:
3949         * text_funcs.C: make transposeChars a free function
3950
3951         * lyxrow_funcs.C: remove wrong comment
3952
3953 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3954
3955         * lyxtext.h: adjust
3956         * rowpainter.C: adjust
3957         * text.C: adjust
3958         * text2.C: adjust
3959         * text3.C: adjust
3960
3961         * lyxrow_funcs. [Ch]: new files
3962
3963         * lyxrow.[Ch]: remove next and previous pointers
3964         (next,previous): remove accessor functions
3965         (isParEnd): move to lyxrow_funcs
3966         (lastPos): move to lyxrow_funcs
3967         (nextRowIsAllInset): move to lyxrow_funcs
3968         (lastPrintablePos): move to lyxrow_funcs
3969         (numberOfSeparators): move to lyxrow_funcs
3970         (numberOfHfills): move to lyxrow_funcs
3971         (numberOfLabelHfills): move to lyxrow_funcs
3972         (hfillExpansion): move to lyxrow_funcs
3973
3974         * lyxfunc.C: adjust
3975
3976         * bufferview_funcs.C (toggleAndShow): adjust
3977
3978         * RowList.h: Remove class RowList from file leave just a
3979         std::list<Row>.
3980
3981         * RowList.C: delete file
3982
3983         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
3984         and lyxrow_funcs.h
3985
3986 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3987
3988         * text3.C (cursorPrevious): adjust
3989         (cursorNext): adjust
3990         (dispatch): adjust
3991
3992         * text2.C (redoHeightOfParagraph): adjust
3993         (redoDrawingOfParagraph): adjust
3994         (setCursor): adjust
3995
3996         * text.C (breakParagraph): adjust
3997         (insertChar): adjust
3998         (backspace): adjust
3999
4000         * rowpainter.C (RowPainter): adjust
4001         (leftMargin): simplify and adjust
4002         (most rowpainter functions): adjust.
4003
4004         * rowpainter.h: store the row as RowList::iterator not as Row*
4005
4006         * lyxcursor.C (row): taka RowList::iterator as arg
4007         (irow): ditto
4008
4009         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4010         of Row*.
4011
4012 2003-04-01  Angus Leeming  <leeming@lyx.org>
4013
4014         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4015         stuff like bool Bool.
4016
4017 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4018
4019         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4020         rewrite a loop
4021
4022 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4023
4024         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4025         RowList::iterator.
4026
4027         * lyxtext.h (rows): drop one version and leve a const variant that
4028         returns a RowList::iterator.
4029
4030 2003-03-31  Angus Leeming  <leeming@lyx.org>
4031
4032         * text.C (fill): ensure that the signature is the same as that in the
4033         header file.
4034
4035 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
4036
4037         * text2.C (redoParagraphs): adjust
4038         (updateCounters): adjust
4039         (checkParagraph): adjust
4040         (getColumnNearX): adjust and reformat a bit.
4041
4042         * text.C (top_y): adjust
4043         (workWidth): adjust
4044         (leftMargin): adjust
4045         (prepareToPrint): adjust
4046         (getRow): adjust
4047         (getRowNearY): adjust
4048
4049         * lyxtext.h: make rowlist_ mutable.
4050
4051         * RowList.h: add const_iterator
4052         * RowList.C: adjust for RowList::const_iterator.
4053
4054         * text2.C (getCursorX): make it take a RowList::iterator as arg,
4055         adjust.
4056
4057 2003-03-31  John Levon  <levon@movementarian.org>
4058
4059         * lyxrc.h:
4060         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
4061
4062         * lyx_main.C: set default fonts from using lyx_gui funcs
4063
4064         * exporter.C: pdf_mode moved from lyxrc
4065
4066         * lyx_cb.C:
4067         * lyxfunc.C: changes from above
4068
4069 2003-03-31  John Levon  <levon@movementarian.org>
4070
4071         * lyx_main.C: fix to the last fix
4072
4073 2003-03-31  John Levon  <levon@movementarian.org>
4074
4075         * bufferlist.C: "Load original" -> "Load Original"
4076
4077         * converter.C:
4078         * exporter.C:
4079         * importer.C:
4080         * lyx_main.C:
4081         * format.C: more Alert cleanups
4082
4083 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4084
4085         * text2.C (removeParagraph): make it take a RowList::iterator as
4086         arg, adjust.
4087         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
4088         (postRowPaint): make it take a RowList::iterator as arg, adjust.
4089
4090         * text.C (anchor_row): make it take a RowList::iterator as arg,
4091         adjust.
4092         (computeBidiTables): make it take a const reference to Row instead
4093         of Row pointer, adjust.
4094         (leftMargin): make it take a RowList::iterator as arg, adjust.
4095         (rowBreakPoint): adjust
4096         (breakAgainOneRow): make it take a RowList::iterator as arg,
4097         adjust.
4098         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
4099
4100         * bufferview_funcs.C (toggleAndShow): adjust
4101
4102 2003-03-30  John Levon  <levon@movementarian.org>
4103
4104         * Makefile.am:
4105         * BoostFormat.h:
4106         * boost-inst.C: moved to support
4107
4108         * several files: changes as a result
4109
4110 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4111
4112         * text2.C (LyXText): adjust.
4113         (init): adjust
4114         (removeRow): make it take a RowList::iterator as arg, adjust.
4115         (fullRebreak): adjust
4116         (deleteEmptyParagraphMechanism): adjust
4117         (clearPaint): adjust
4118         (postPaint): adjust
4119
4120         * text.C (top_y): adjust
4121         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
4122         (breakAgain): make it take a RowList::iterator as arg, adjust.
4123         (breakParagraph): adjust
4124         (insertChar): adjust
4125         (backspace): adjust
4126
4127         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
4128         need_break_row, and refresh_row.
4129
4130         * text3.C (dispatch): adjust
4131
4132         * text2.C (checkParagraph): adjust
4133         (setCursor): adjust
4134         (setCursorFromCoordinates): adjust
4135
4136         * text.C (top_y): adjust
4137         (workWidth): adjust
4138         (getRow): make it return a RowList::iterator, adjust
4139         (getRowNearY): make it return a RowList::iterator, adjust
4140
4141         * text2.C (init): adjust
4142         (insertRow): remove function
4143         (insertParagraph): adjust
4144         (redoParagraphs): adjust
4145         (fullRebreak): adjust
4146         (updateCounters): adjust
4147
4148         * text.C (top_y): rewrite to use RowList iterators.
4149         (top_y): adjust
4150         (setHeightOfRow): rewrite to sue RowList iterators.
4151         (appendParagraph): adjust
4152         (breakAgain): adjust
4153         (breakAgainOneRow): adjust
4154         (breakParagraph): adjust
4155         (getRow): adjust
4156         (getRowNearY): adjust, and remove commented code.
4157
4158         * lyxtext.h (firstRow): delete function
4159         (lastRow): delete function
4160         (rows): new function (const and non-const versions.)
4161         (insertRow): delete function
4162
4163         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4164
4165 2003-03-29  John Levon  <levon@movementarian.org>
4166
4167         * BufferView_pimpl.C: always update scrollbar top
4168         because pasting text when we're anchored could mean we
4169         miss an update altogether
4170
4171 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4172
4173         * text2.C (init): use rowlist_.end() and not 0.
4174         (insertRow): change to take a RowList::iterator as arg, adjust
4175         for this.
4176         (insertParagraph): change to take a RowList::iterator as arg,
4177         adjust for this.
4178         (redoParagraphs): remove some debug msgs.
4179
4180         * text.C (appendParagraph): change to take a RowList::iterator
4181         arg, adjust for this.
4182         (breakAgain): add an assert
4183         (breakAgainOneRow): ditto
4184
4185 2003-03-29  John Levon  <levon@movementarian.org>
4186
4187         * text2.C: do not clear selection after inc/decDepth
4188         (bug 550)
4189
4190 2003-03-29  John Levon  <levon@movementarian.org>
4191
4192         * BufferView.C:
4193         * buffer.C: fix broken strerrors according to Lars
4194
4195 2003-03-29  John Levon  <levon@movementarian.org>
4196
4197         * converters.C: more Alert cleanups
4198
4199 2003-03-29  John Levon  <levon@movementarian.org>
4200
4201         * bufferview_funcs.C: remove pointless Alert
4202
4203         * buffer.C: fix confusing error message when
4204         a template is chmoded 000
4205
4206 2003-03-29  John Levon  <levon@movementarian.org>
4207
4208         * BufferView.C:
4209         * BufferView.h:
4210         * BufferView_pimpl.C: Alert fixes
4211
4212         * Makefile.am:
4213         * tabular.C:
4214         * tabular-old.C: remove unused table compat reading
4215
4216 2003-03-29  John Levon  <levon@movementarian.org>
4217
4218         * BufferView.C:
4219         * buffer.C:
4220         * lyx_cb.h:
4221         * lyx_cb.C: more Alert cleanups
4222
4223         * lyxfunc.C: don't allow chktex if not latex document
4224
4225 2003-03-29  John Levon  <levon@movementarian.org>
4226
4227         * lyx_cb.C:
4228         * BufferView.C:
4229         * buffer.C: warnings pushed down from support/,
4230         kill err_alert
4231
4232 2003-03-29  John Levon  <levon@movementarian.org>
4233
4234         * lyxfunc.C: safety check for C-r (revert)
4235
4236 2003-03-29  John Levon  <levon@movementarian.org>
4237
4238         * bufferlist.h:
4239         * bufferlist.C: several UI fixes using Alert::prompt.
4240         Fix the pointless looping quit code. Fix stupid revert
4241         behaviour (bug 938)
4242
4243         * lyxvc.h:
4244         * lyxvc.C:
4245         * lyx_cb.C: use Alert::prompt
4246
4247         * lyx_main.C: remove a silly question
4248
4249         * lyxfunc.C: remove a couple of silly questions,
4250         use Alert::prompt
4251
4252 2003-03-28  John Levon  <levon@movementarian.org>
4253
4254         * text2.C: fix bug 974 (End on empty par)
4255
4256 2003-03-28  John Levon  <levon@movementarian.org>
4257
4258         * BufferView_pimpl.C:
4259         * LyXAction.C:
4260         * lfuns.h: remove do-nothing math greek lfuns
4261
4262 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4263
4264         * lyxgluelength.h (isValidGlueLength): add default arg on
4265         parameter 2. Remove default arg from friend in class.
4266
4267         * lyxlength.h (isValidLength): add default arg on parameter 2.
4268         Remove default arg from friend in class.
4269
4270         * text2.C (LyXText): adjust, initialize refresh_row.
4271         (init): adjust
4272         (removeRow): adjust
4273         (insertRow): adjust
4274         (insertParagraph): adjst
4275         (redoParagraphs): adjust
4276         (fullRebreak): adjust
4277         (updateCounters): adjust
4278         (deleteEmptyParagraphMechanism): first attempt at fixing a
4279         crashing bug.
4280
4281         * text.C (top_y): adjust
4282         (setHeightOfRow): adjust
4283         (getRow): adjust
4284         (getRowNearY): adjust
4285
4286         * lyxtext.h: include RowList.h
4287         (~LyXText): not needed anymore, deleted.
4288         (firstRow): modify for RowList
4289         (lastRow): new function
4290         Delete firstrow and lastrow class variables, add a Rowlist
4291         rowlist_ class variable.
4292
4293         * lyxrow.C (lastPos): use empty() and not !size() to check if a
4294         paragraph is empty.
4295
4296         * RowList.C (insert): fix case where it == begin().
4297
4298 2003-03-26  Angus Leeming  <leeming@lyx.org>
4299
4300         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4301         the thesaurus dialog.
4302
4303 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4304
4305         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4306
4307         * RowList.[Ch]: new files
4308
4309         * ParagraphList.C (erase): handle the case where it == begin
4310         correctly.
4311
4312 2003-03-25  John Levon  <levon@movementarian.org>
4313
4314         * Makefile.am:
4315         * aspell_local.h:
4316         * aspell.C: add new aspell support
4317
4318         * lyxrc.h:
4319         * lyxrc.C: Make use_pspell be use_spell_lib. Always
4320         have it accessible.
4321
4322 2003-03-25  Angus Leeming  <leeming@lyx.org>
4323
4324         * lfuns.h:
4325         * LyXAction.C (init): new LFUN_INSET_INSERT.
4326
4327         * BufferView_pimpl.C (dispatch): split out part of the
4328         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
4329
4330         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
4331         LFUN_INSET_APPLY.
4332
4333 2003-03-25  Angus Leeming  <leeming@lyx.org>
4334
4335         * lyxfunc.C (dispatch): changes to the Dialogs interface.
4336
4337 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
4338
4339         * text2.C:
4340         * text3.C: remove useless row->height(0)
4341
4342 2003-03-25  John Levon  <levon@movementarian.org>
4343
4344         * lyxtext.h:
4345         * text2.C:
4346         * text3.C: rename the refreshing stuff to better names
4347
4348 2003-03-24  John Levon  <levon@movementarian.org>
4349
4350         * BufferView_pimpl.h:
4351         * BufferView_pimpl.C: update layout choice on a mouse
4352         press/release
4353
4354 2003-03-23  John Levon  <levon@movementarian.org>
4355
4356         * Makefile.am: fix commandtags.h reference
4357
4358 2003-03-22  John Levon  <levon@movementarian.org>
4359
4360         * BufferView_pimpl.C:
4361         * lyxtext.h:
4362         * rowpainter.C:
4363         * rowpainter.h:
4364         * text.C:
4365         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
4366
4367 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
4368
4369         * lyxtext.h:
4370         * text.C: take the rtl methods out of line
4371
4372 2003-03-21 André Pönitz <poenitz@gmx.net>
4373
4374         * metricsinfo.[Ch]: new files containing structures to be passed around
4375         during the two-phase-drawing...
4376
4377 2003-03-21 André Pönitz <poenitz@gmx.net>
4378
4379         * lyxtextclass.C: read 'environment' tag.
4380
4381 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
4382
4383         * text2.C (removeRow): fix bug 964
4384
4385 2003-03-20  John Levon  <levon@movementarian.org>
4386
4387         * rowpainter.C:
4388         * text.C:
4389         * text2.C: paint cleanups. Inset::update() dropped font
4390         parameter
4391
4392 2003-03-19  John Levon  <levon@movementarian.org>
4393
4394         * lyxfunc.C: only fitcursor/markDirty if available()
4395
4396 2003-03-19  John Levon  <levon@movementarian.org>
4397
4398         * commandtags.h: rename to ...
4399
4400         * lfuns.h: ... this, and renumber / cleanup
4401
4402 2003-03-19  John Levon  <levon@movementarian.org>
4403
4404         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
4405         fit the cursor after an lfun
4406
4407         * BufferView.h:
4408         * BufferView.C:
4409         * BufferView_pimpl.h:
4410         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
4411
4412         * LyXAction.C: layout-character should have ReadOnly
4413
4414         * ParagraphParameters.C:
4415         * buffer.C:
4416         * bufferview_funcs.C:
4417         * lyx_cb.C:
4418         * lyxfind.C:
4419         * lyxtext.h:
4420         * text.C:
4421         * text2.C:
4422         * text3.C:
4423         * undo_funcs.C: changes from above
4424
4425 2003-03-18  John Levon  <levon@movementarian.org>
4426
4427         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
4428         remove it from update()
4429
4430         * lyxfunc.C: update layout choice after an lfun
4431
4432         * text3.C: remove extra updateLayoutChoice()s
4433
4434 2003-03-18  John Levon  <levon@movementarian.org>
4435
4436         * text.C: top_y change means full repaint, fix
4437         a drawing bug with cursor movement
4438
4439 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4440
4441         * lyxtext.h:
4442         * text.C:
4443         * text2.C: anchor row on setCursor
4444
4445 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4446
4447         * lyxtext.h: remove almost all mutable keywords
4448         * text.C:
4449         * text2.C:
4450         * text3.C: remove const keywords accordingly
4451
4452 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4453
4454         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
4455         anon namespace
4456         (TeXEnvironment): ditto
4457         (TeXOnePar): ditto
4458
4459 2003-03-17  John Levon  <levon@movementarian.org>
4460
4461         * text.C (rowBreakPoint): remove attempt to fix displayed
4462         math insets inside a manual label
4463
4464 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4465
4466         * lyxtext.h: remove BufferView* as first arg from almost all class
4467         functions.
4468         * other files: adjust.
4469
4470 2003-03-17  John Levon  <levon@movementarian.org>
4471
4472         * lyxtext.h:
4473         * undo_funcs.C:
4474         * text2.C: more paint cleanups
4475
4476         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
4477
4478         * rowpainter.h:
4479         * rowpainter.C: remove "smart" background painting code
4480
4481 2003-03-16  John Levon  <levon@movementarian.org>
4482
4483         * lyxtext.h:
4484         * text.C:
4485         * text2.C:
4486         * text3.C: add helper functions for setting refresh_row/y
4487
4488 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
4489
4490         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
4491         newline inset which *can* get inserted in the pass_thru layouts.
4492         This is primarily for literate documents.
4493
4494 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
4495
4496         * buffer.C: increment LYX_FORMAT to 223
4497
4498 2003-03-14 André Pönitz <poenitz@gmx.net>
4499
4500         * textclass.h: prepare for environment handling, ws changes
4501         * lyxlayout.C: read latexheader and latexfooter tags
4502
4503 2003-03-14  John Levon  <levon@movementarian.org>
4504
4505         * text2.C: rewrite ::status() a bit
4506
4507 2003-03-13  John Levon  <levon@movementarian.org>
4508
4509         * lyxtext.h: add some docs
4510
4511 2003-03-13  John Levon  <levon@movementarian.org>
4512
4513         * lyxtext.h:
4514         * text.C:
4515         * text2.C:
4516         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
4517
4518 2003-03-13  John Levon  <levon@movementarian.org>
4519
4520         * text3.C: fix appendix redrawing
4521
4522 2003-03-13  John Levon  <levon@movementarian.org>
4523
4524         * text.C (setHeightOfRow):
4525         * rowpainter.h:
4526         * rowpainter.C: make appendix mark have the text
4527           "Appendix" so the user knows what it is
4528
4529         * LColor.h:
4530         * LColor.C: s/appendixline/appendix/ from above
4531
4532 2003-03-13  John Levon  <levon@movementarian.org>
4533
4534         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
4535
4536         * text.C: fix a getChar(pos) bug properly
4537
4538 2003-03-13  Angus Leeming  <leeming@lyx.org>
4539
4540         * commandtags.h:
4541         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
4542         Probably only temporary. Let's see how things pan out.
4543
4544         * BufferView.C (unlockInset):
4545         * BufferView_pimpl.C (fitCursor):
4546         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
4547
4548         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
4549         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
4550
4551         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
4552         new functions that convert ParagraphParameters to and from a string.
4553
4554         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
4555         BufferView::Pimpl's dispatch.
4556         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
4557
4558 2003-03-13 André Pönitz <poenitz@gmx.net>
4559
4560         * lyxfunc.C:
4561         * text3.C:
4562         * factory.C: make it aware of InsetEnv
4563
4564 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4565
4566         * text2.C (setCursor): never ask for one past last
4567         (setCursor): add some debugging messages.
4568
4569         * text.C (singleWidth): never ask for one past last
4570         (singleWidth): ditto
4571         (leftMargin): ditto
4572         (rightMargin): ditto
4573         (rowBreakPoint): ditto
4574         (setHeightOfRow): ditto
4575         (prepareToPrint): ditto
4576
4577         * rowpainter.C (paintBackground): never ask for one past last
4578         (paintText): never ask for one past last
4579
4580         * paragraph_pimpl.C (getChar): make the assert stricter, never
4581         allow the one past last pos to be taken
4582
4583         * paragraph.C (getChar): ws changes only
4584
4585         * lyxrow.C (nextRowIsAllInset): never ask for one past last
4586         (numberOfSeparators): ditto
4587         (numberOfHfills): ditto
4588
4589 2003-03-12  John Levon  <levon@movementarian.org>
4590
4591         * author.h:
4592         * author.C:
4593         * bufferparams.h:
4594         * bufferparams.C:
4595         * paragraph_funcs.C: fix per-buffer authorlists
4596
4597 2003-03-12  John Levon  <levon@movementarian.org>
4598
4599         * text.C: fix newline in right address
4600
4601 2003-03-12  Angus Leeming  <leeming@lyx.org>
4602
4603         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
4604         duplicate those in LyXFunc::dispatch.
4605
4606         * commandtags.h:
4607         * LyXAction.C:
4608         * ToolbarDefaults.C:
4609         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
4610         Add LFUN_FONTFREE_UPDATE.
4611
4612         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
4613         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
4614
4615         * bufferview_func.[Ch]: several new functions to facilliate
4616         transfer of data to and from the character dialog.
4617
4618 2003-03-12  John Levon  <levon@movementarian.org>
4619
4620         * buffer.C:
4621         * paragraph.h:
4622         * paragraph.C:
4623         * paragraph_funcs.C:
4624         * paragraph_pimpl.C:
4625         * sgml.C:
4626         * tabular.C:
4627         * text.C:
4628         * text3.C: remove META_NEWLINE in favour of an inset
4629
4630         * rowpainter.h:
4631         * rowpainter.C: remove paintNewline (done by inset)
4632
4633 2003-03-12  John Levon  <levon@movementarian.org>
4634
4635         * paragraph_pimpl.C: complain about bad getChar()s
4636         for a while at least
4637
4638 2003-03-12  John Levon  <levon@movementarian.org>
4639
4640         * buffer.h:
4641         * buffer.C: move paragraph read into a separate function,
4642         a little renaming to reflect that.
4643
4644         * bufferparams.h:
4645         * bufferparams.C: remove the author_ids map, not necessary now
4646
4647         * factory.h:
4648         * factory.C: moved Buffer::readInset to here
4649
4650         * paragraph_funcs.h:
4651         * paragraph_funcs.C: readParagraph free function moved from
4652         buffer.C
4653
4654         * tabular.C: name change
4655
4656 2003-03-12  John Levon  <levon@movementarian.org>
4657
4658         * buffer.C:
4659         * ParagraphParameters.C: move par params input to
4660         a read() method
4661
4662         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
4663         behave like a normal read from the stream wrt reading
4664         a line vs. a \\token
4665
4666 2003-03-12  John Levon  <levon@movementarian.org>
4667
4668         * paragraph.C:
4669         * ParagraphParameters.h:
4670         * ParagraphParameters.C: move output code to a
4671         ::write() method
4672
4673 2003-03-12  John Levon  <levon@movementarian.org>
4674
4675         * BufferView.C (insertLyXFile):
4676         * buffer.h:
4677         * buffer.C:
4678         * tabular.C: use a parlist iterator for creating the
4679           document.
4680
4681 2003-03-12  John Levon  <levon@movementarian.org>
4682
4683         * buffer.C: make current_change static local not
4684           static file-scope
4685
4686 2003-03-12  John Levon  <levon@movementarian.org>
4687
4688         * buffer.C: fix insertStringAsLines for change tracking
4689
4690 2003-03-12  John Levon  <levon@movementarian.org>
4691
4692         * BufferView.C:
4693         * tabular.C:
4694         * buffer.h:
4695         * buffer.C:
4696         * bufferparams.h:
4697         * bufferparams.C: move author list into params. Rename some
4698           functions. Move the header reading into a separate token
4699           loop. Move the header token reading into BufferParams.
4700
4701 2003-03-12  John Levon  <levon@movementarian.org>
4702
4703         * changes.C: put debug inside lyxerr.debugging() checks
4704
4705 2003-03-11 André Pönitz <poenitz@gmx.net>
4706
4707         * factory.C: make it aware of InsetHFill
4708
4709 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4710
4711         * buffer.C (latexParagraphs): move function from here...
4712         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
4713         args.
4714
4715 2003-03-10  Angus Leeming  <leeming@lyx.org>
4716
4717         * LyXAction.C (init): fix bug in poplating array with multiple entries
4718         with the same LFUN (spotted by JMarc).
4719
4720 2003-03-10  John Levon  <levon@movementarian.org>
4721
4722         * text.C:
4723         * text2.C: move getColumnNearX() near its
4724         only call site
4725
4726 2003-03-10  John Levon  <levon@movementarian.org>
4727
4728         * text.C: fix break before a minipage
4729
4730 2003-03-10  John Levon  <levon@movementarian.org>
4731
4732         * text.C: fix the last commit
4733
4734 2003-03-09  John Levon  <levon@movementarian.org>
4735
4736         * lyxtext.h:
4737         * text.C:
4738         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
4739         bug 365 (don't break before insets unless needed). Don't
4740         return a value > last under any circumstances.
4741
4742 2003-03-09  Angus Leeming  <leeming@lyx.org>
4743
4744         * BufferView_pimpl.C (trackChanges, dispatch): call
4745         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
4746
4747 2003-03-09  Angus Leeming  <leeming@lyx.org>
4748
4749         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
4750         than Dialogs::showAboutlyx().
4751
4752 2003-03-09  Angus Leeming  <leeming@lyx.org>
4753
4754         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
4755         than Dialogs::showTabularCreate().
4756
4757 2003-03-09  John Levon  <levon@movementarian.org>
4758
4759         * lyxtext.h:
4760         * text.C:
4761         * text2.C: 3rd arg to nextBreakPoint was always the same.
4762           Use references.
4763
4764 2003-03-08  John Levon  <levon@movementarian.org>
4765
4766         * lyxrow.C:
4767         * paragraph.C:
4768         * paragraph.h:
4769         * rowpainter.C:
4770         * text.C:
4771         * text2.C: Remove the "main" bit from the "main body"
4772           notion.
4773
4774 2003-03-08  John Levon  <levon@movementarian.org>
4775
4776         * text.C (leftMargin): The left margin of an empty
4777         manual label paragraph should not include the label width
4778         string length.
4779
4780         * text.C (prepareToPrint): don't attempt to measure hfills
4781         for empty manual label paragraphs - the answer should be 0
4782
4783 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4784
4785         * CutAndPaste.C: remove commented code and reindent.
4786
4787 2003-03-08  John Levon  <levon@movementarian.org>
4788
4789         * lyxfunc.h:
4790         * lyxfunc.C: move reloadBuffer()
4791
4792         * BufferView.h:
4793         * BufferView.C: to here
4794
4795         * lyxvc.C: add comment
4796
4797         * vc-backend.h:
4798         * vc-backend.C: call bv->reload() to avoid
4799           getStatus() check on MENURELOAD
4800
4801 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
4802
4803         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
4804         to an old format .dep file.
4805
4806 2003-03-07  Angus Leeming  <leeming@lyx.org>
4807
4808         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
4809         when the LFUN_MOUSE_RELEASE should have been handled by
4810         inset->localDispatch.
4811
4812 2003-03-07  Angus Leeming  <leeming@lyx.org>
4813
4814         * BufferView_pimpl.C (dispatch):
4815         * LyXAction.C (init):
4816         * ToolbarDefaults.C (init):
4817         * commandtags.h:
4818         * lyxfunc.C (getStatus):
4819         remove LFUN_INSET_GRAPHICS.
4820
4821         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
4822
4823 2003-03-07  Angus Leeming  <leeming@lyx.org>
4824
4825         * commandtags.h:
4826         * LyXAction.C (init):
4827         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
4828
4829         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
4830
4831         * commandtags.h:
4832         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
4833
4834         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
4835         localDispatch method LFUN_INSET_DIALOG_UPDATE.
4836
4837 2003-03-07  Angus Leeming  <leeming@lyx.org>
4838
4839         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
4840         remove "ert".
4841
4842 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4843
4844         * ParagraphList.C (front): new function
4845         (back): implement
4846
4847 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
4848
4849         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
4850         and top_row_offset_. removed var first_y.
4851         * text.C (top_y):
4852         * text2.C (LyXText, removeRow):
4853         * text3.C:
4854         * BufferView_pimpl.C:
4855         use these methods instead of using first_y
4856
4857 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4858
4859         * text2.C (pasteSelection): adjust for checkPastePossible
4860
4861         * CutAndPaste.C: remove Paragraph * buf and replace with
4862         ParagraphList paragraphs.
4863         (DeleteBuffer): delete
4864         (cutSelection): change the tc type to textclass_type
4865         (copySelection): change the tc type to textclass_type
4866         (copySelection): adjust for ParagraphList
4867         (pasteSelection): change the tc type to textclass_type
4868         (pasteSelection): adjust for Paragraphlist
4869         (nrOfParagraphs): simplify for ParagraphList
4870         (checkPastePossible): simplify for ParagraphList
4871         (checkPastePossible): remove unused arg
4872
4873         * ParagraphList.C (insert): handle the case where there are no
4874         paragraphs yet.
4875
4876         * CutAndPaste.h: make CutAndPaste a namespace.
4877
4878         * text3.C (dispatch): adjust
4879
4880         * text.C (breakParagraph): add a ParagraphList as arg
4881
4882         * paragraph_funcs.C (breakParagraph): change to take a
4883         BufferParams and a ParagraphList as args.
4884         (breakParagraphConservative): ditto
4885         (mergeParagraph): ditto
4886         (TeXDeeper): add a ParagraphList arg
4887         (TeXEnvironment): ditto
4888         (TeXOnePar): ditto
4889
4890         * buffer.C (readLyXformat2): adjust
4891         (insertStringAsLines): adjust
4892         (latexParagraphs): adjust
4893
4894         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
4895         (cutSelection): adjust
4896         (pasteSelection): adjust
4897
4898         * BufferView_pimpl.C (insertInset): adjust
4899
4900 2003-03-05  Angus Leeming  <leeming@lyx.org>
4901
4902         * commandtags.h:
4903         * LyXAction.C (init):
4904         * BufferView_pimpl.C (dispatch):
4905         * lyxfunc.C (getStatus):
4906         remove LFUN_CHILD_INSERT.
4907
4908         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
4909
4910 2003-03-05  Angus Leeming  <leeming@lyx.org>
4911
4912         * commandtags.h:
4913         * LyXAction.C (init):
4914         * src/factory.C (createInset):
4915         * lyxfunc.C (getStatus):
4916         * text3.C (dispatch):
4917         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
4918
4919         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
4920
4921 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
4922
4923         * ParagraphList.C (insert): handle insert right before end()
4924         (erase): fix cases where it can be first or last paragraph.
4925
4926 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4927
4928         * paragraph_funcs.C (TeXEnvironment): remove all usage of
4929         Paragraph::next and Paragraph::previous
4930         (TeXOnePar): ditto
4931
4932         * text.C (breakParagraph): adjust
4933
4934         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
4935         BufferParams& as arg.
4936         (breakParagraph): use ParagraphList::insert
4937         (breakParagraphConservative): take a Buffer* instead of a
4938         BufferParams& as arg.
4939         (breakParagraphConservative): use ParagraphList::insert.
4940
4941         * buffer.C (insertStringAsLines): un-const it
4942         (insertStringAsLines): adjust
4943
4944         * ParagraphList.C (insert): new function
4945
4946         * CutAndPaste.C (pasteSelection): adjust
4947
4948         * text.C (backspace): adjust
4949
4950         * tabular.C (SetMultiColumn): adjust
4951
4952         * CutAndPaste.C (cutSelection): adjust
4953         (pasteSelection): adjust
4954
4955         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
4956         Buffer const * as arg
4957
4958         * ParagraphList.C (erase): new function
4959         * paragraph_funcs.C (mergeParagraph): use it
4960         (mergeParagraph): make it take a Buffer* instead of a
4961         BufferParams* as arg
4962
4963         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
4964         as arg
4965         (breakParagraphConservative): ditto
4966
4967         * paragraph.h: remove the breakParagraph friend
4968
4969         * paragraph.C (eraseIntern): new function
4970         (setChange): new function
4971
4972         * paragraph_funcs.C (mergeParagraph): make it take a
4973         ParagraphList::iterator instead of a Paragraph *, adjust
4974         accordingly.
4975
4976         * paragraph.h: move an #endif so that the change tracking stuff
4977         also works in the NO_NEXT case.
4978
4979 2003-03-04  Angus Leeming  <leeming@lyx.org>
4980
4981         * commandtags.h:
4982         * LyXAction.C: new LFUN_INSET_MODIFY.
4983
4984         * BufferView_pimpl.C (dispatch): if an inset is found to be open
4985         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
4986
4987 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4988
4989         * several files: ws changes only
4990
4991         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
4992         (TeXEnvironment): ditto
4993         (TeXDeeper): ditto
4994
4995         * buffer.C (makeLaTeXFile): adjust
4996         (latexParagraphs): make it take ParagraphList::iterator as args
4997
4998 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4999
5000         * buffer.C (latexParagraphs): adjust
5001
5002         * paragraph.C (TeXOnePar): move function...
5003         (optArgInset): move function...
5004         (TeXEnvironment): move function...
5005         * paragraph_pimpl.C (TeXDeeper): move function...
5006         * paragraph_funcs.C: ...here
5007
5008         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5009
5010 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5011
5012         * buffer.C (readInset): remove compability code for old Figure and
5013         InsetInfo insets
5014
5015 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5016
5017         * buffer.C: ws changes
5018         (readInset):
5019
5020         * BufferView_pimpl.C: ditto
5021         * author.C: ditto
5022         * buffer.h: ditto
5023         * bufferlist.h: ditto
5024         * changes.h: ditto
5025         * lyxfunc.C: ditto
5026
5027 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
5028
5029         * converter.[Ch]: split into itself +
5030         * graph.[Ch]
5031         * format.[Ch]
5032         * Makefile.am: += graph.[Ch] + format.[Ch]
5033         * MenuBackend.C
5034         * buffer.C
5035         * exporter.C
5036         * importer.C
5037         * lyx_main.C
5038         * lyxfunc.C
5039         * lyxrc.C: added #include "format.h"
5040
5041 2003-02-27  Angus Leeming  <leeming@lyx.org>
5042
5043         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
5044           a label.
5045
5046         * factory.C (createInset): add "label" to the factory.
5047
5048         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
5049           string and do no more.
5050
5051 2003-02-27  Angus Leeming  <leeming@lyx.org>
5052
5053         * commandtags.h:
5054         * LyXAction.C (init):
5055         * factory.C (createInset):
5056         * BufferView_pimpl.C (dispatch):
5057           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5058
5059         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5060
5061         * lyxfunc.C (dispatch):
5062         * text3.C (dispatch): pass name to params2string.
5063
5064 2003-02-26  Angus Leeming  <leeming@lyx.org>
5065
5066         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
5067           blocks together.
5068           Rearrange the ~includes. Strip out the unnecessary ones.
5069
5070         * factory.C (createInset): reformat.
5071           create new insets for the various LFUN_XYZ_APPLY lfuns.
5072
5073 2003-02-26  John Levon  <levon@movementarian.org>
5074
5075         * lyxrow.h:
5076         * lyxrow.C: add isParStart,isParEnd helpers
5077
5078         * paragraph.h: make isInserted/DeletedText take refs
5079
5080         * paragraph_funcs.h:
5081         * paragraph_funcs.C: remove #if 0'd code
5082
5083         * lyxtext.h:
5084         * text3.C:
5085         * text2.C:
5086         * text.C: use lyxrow helpers above.
5087           Move draw and paint routines to RowPainter.
5088           Make several methods use refs not pointers.
5089           Make backgroundColor() const.
5090           Add markChangeInDraw(), isInInset().
5091           Merge changeRegionCase into changeCase.
5092           Make workWidth() shouldn't-happen code into an Assert.
5093
5094         * rowpainter.h:
5095         * rowpainter.C: new class for painting a row.
5096
5097         * vspace.h:
5098         * vspace.C: make inPixels take a ref
5099
5100 2003-02-26  Angus Leeming  <leeming@lyx.org>
5101
5102         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
5103         LFUN_REF_APPLY.
5104
5105 2003-02-25  John Levon  <levon@movementarian.org>
5106
5107         * ispell.C: give the forked command a more accurate name
5108
5109 2003-02-22  John Levon  <levon@movementarian.org>
5110
5111         * toc.h:
5112         * toc.C: make TocItem store an id not a Paragraph *
5113           (bug #913)
5114
5115 2003-02-21  Angus Leeming  <leeming@lyx.org>
5116
5117         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
5118           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
5119           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
5120           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
5121           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
5122           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
5123
5124         * BufferView_pimpl.C (dispatch):
5125         * LyXAction.C (init):
5126         * factory.C (createInset):
5127         * lyxfunc.C (getStatus, dispatch):
5128         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
5129
5130 2003-02-21  Angus Leeming  <leeming@lyx.org>
5131
5132         * BufferView_pimpl.C (MenuInsertLyXFile):
5133         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
5134         * lyxfunc.C (menuNew, open, doImport):
5135           no longer pass a LyXView & to fileDlg.
5136
5137 2003-02-21  Angus Leeming  <leeming@lyx.org>
5138
5139         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
5140         * LyXAction.C: change, BIBKEY to BIBITEM.
5141         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
5142         Change InsetBibKey to InsetBibitem.
5143         Change BIBKEY_CODE to BIBITEM_CODE.
5144         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5145         * factory.C: replace insetbib.h with insetbibitem.h.
5146         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5147         * paragraph.C: replace insetbib.h with insetbibitem.h.
5148         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5149         Change bibkey() to bibitem().
5150         * text.C: remove insetbib.h.
5151         * text2.C: replace insetbib.h with insetbibitem.h.
5152         change bibkey() to bibitem().
5153         * text3.C: remove insetbib.h.
5154         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5155
5156 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5157
5158         * lyxrc.C (output): enclose user email in quotes (in case there are
5159         several words)
5160
5161 2003-02-18  John Levon  <levon@movementarian.org>
5162
5163         * buffer.h: add std::
5164
5165 2003-02-17  John Levon  <levon@movementarian.org>
5166
5167         * SpellBase.h:
5168         * ispell.h:
5169         * ispell.C:
5170         * pspell.h:
5171         * pspell.C: reworking. Especially in ispell, a large
5172           number of clean ups and bug fixes.
5173
5174         * lyxfunc.C: fix revert to behave sensibly
5175
5176 2003-02-17 André Pönitz <poenitz@gmx.net>
5177
5178         * LyXAction.C:
5179         * commandtags.h: new LFUN_INSERT_BIBKEY
5180
5181         * layout.h:
5182         * lyxlayout.C:
5183         * buffer.C:
5184         * factory.C:
5185         * text.C:
5186         * text2.C:
5187         * text3.C:
5188         * paragraph.[Ch]:
5189         * paragraph_func.C: remove special bibkey handling
5190
5191 2003-02-17  John Levon  <levon@movementarian.org>
5192
5193         * text.C (Delete): fix case where delete at the end of
5194           the very first paragraph would not merge the pars
5195
5196 2003-02-17  John Levon  <levon@movementarian.org>
5197
5198         * lyxrow.C: fix lastPrintablePos()
5199
5200 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5201
5202         * bufferparams.C (writeLaTeX): add a std:here
5203
5204         * buffer.C: and remove a using directive there
5205
5206 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5207
5208         * buffer.C (makeLaTeXFile): move the code that generates the
5209           preamble...
5210
5211         * bufferparams.C (writeLaTeX): ... in this new method
5212
5213         * LaTeXFeatures.C (getEncodingSet): make const
5214           (getLanguages): make const
5215
5216         * MenuBackend.C (binding): returns the binding associated to this
5217           action
5218           (add): sets the status of each item by calling getStatus. Adds
5219           some intelligence.
5220           (read): add support for OptSubMenu
5221           (expand): remove extra separator at the end of expanded menu
5222
5223 2003-02-15  John Levon  <levon@movementarian.org>
5224
5225         * BufferView.C:
5226         * BufferView_pimpl.C:
5227         * bufferlist.h:
5228         * bufferlist.C: remove pointless BufferStorage bloat. Remove
5229           inset code that had no actual effect. Remove unneeded status
5230           code.
5231
5232 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5233
5234         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5235           in preamble
5236
5237 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
5238
5239         * text.C (drawLengthMarker): also draw an arrow marker for
5240           symbolic lengths (medskip...)
5241
5242 2003-02-14  John Levon  <levon@movementarian.org>
5243
5244         * tabular.h:
5245         * tabular.C: better method names
5246
5247 2003-02-14  John Levon  <levon@movementarian.org>
5248
5249         * BufferView_pimpl.C:
5250         * bufferlist.C:
5251         * buffer.C:
5252         * converter.C:
5253         * lyx_cb.C:
5254         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5255           it's a more accurate name. Remove some pointless uses.
5256
5257 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5258
5259         * text2.C (LyXText): change order of initilizers to shut off
5260           warnings
5261
5262 2003-02-14  John Levon  <levon@movementarian.org>
5263
5264         * buffer.C: use ParIterator for getParFromID()
5265
5266         * paragraph.h:
5267         * paragraph.C:
5268         * paragraph_pimpl.h:
5269         * paragraph_pimpl.C: remove unused getParFromID()
5270
5271 2003-02-14  John Levon  <levon@movementarian.org>
5272
5273         * buffer.C: remove some very old #if 0'd parse code
5274
5275 2003-02-13  John Levon  <levon@movementarian.org>
5276
5277         * text.h:
5278         * text.C:
5279         * text2.C: move hfillExpansion(), numberOfSeparators(),
5280           rowLast(), rowLastPrintable(), numberofHfills(),
5281           numberOfLabelHfills() ...
5282
5283         * lyxrow.h:
5284         * lyxrow.C: ... to member functions here.
5285
5286         * paragraph.h:
5287         * paragraph.C:
5288         * lyxtext.h:
5289         * text.C: remove LyXText::beginningOfMainBody(), and call
5290           p->beginningOfMainBody() directly. Move the check for
5291           LABEL_MANUAL into the latter.
5292
5293         * text.h:
5294         * text.C:
5295         * text2.C:
5296         * vspace.C:
5297         * BufferView.h:
5298         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5299
5300         * text.h:
5301         * text.C:
5302         * text2.C:
5303         * text3.C:
5304         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5305           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5306
5307 2003-02-13  John Levon  <levon@movementarian.org>
5308
5309         * CutAndPaste.C: remove debug
5310
5311 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5312
5313         * paragraph.C (asString): remove two unused variables
5314
5315         * lyxtextclass.C (readTitleType):
5316           (Read):
5317           (LyXTextClass): handle new members titletype_ and titlename_
5318
5319         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
5320
5321 2003-02-09  John Levon  <levon@movementarian.org>
5322
5323         * buffer.h:
5324         * buffer.C: replace hand-coded list with a map for the dep clean
5325
5326 2003-02-08  John Levon  <levon@movementarian.org>
5327
5328         * LaTeX.C: consolidate code into showRunMessage() helper
5329
5330 2003-02-08  John Levon  <levon@movementarian.org>
5331
5332         * lyxfind.C:
5333         * lyxtext.h:
5334         * text2.C:
5335         * BufferView.C: change setSelectionOverString() to setSelectionRange()
5336           and pass the size in explicitly
5337
5338         * BufferView_pimpl.h:
5339         * BufferView_pimpl.C:
5340         * BufferView.h:
5341         * BufferView.C: add getCurrentChange()
5342
5343         * BufferView_pimpl.h:
5344         * BufferView_pimpl.C: handle change lfuns
5345
5346         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
5347           for changes. Mark pasted paragraphs as new.
5348
5349         * support/lyxtime.h:
5350         * support/lyxtime.C:
5351         * DepTable.C: abstract time_t as lyx::time_type
5352
5353         * LColor.h:
5354         * LColor.C: add colours for new text, deleted text, changebars
5355
5356         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
5357           package use "usenames" option.
5358
5359         * commandtags.h:
5360         * lyxfunc.C:
5361         * LyXAction.C: add change lfuns
5362
5363         * Makefile.am:
5364         * author.h:
5365         * author.C: author handling
5366
5367         * buffer.h:
5368         * buffer.C: add a per-buffer author list, with first entry as
5369           current author. Handle new .lyx tokens for change tracking. Output
5370           author list to .lyx file. Output dvipost stuff to .tex preamble.
5371           Bump lyx format to 222.
5372
5373         * bufferlist.h:
5374         * bufferlist.C: add setCurrentAuthor() to reset current author details
5375           in all buffers.
5376
5377         * bufferparams.h:
5378         * bufferparams.C: add param for tracking
5379
5380         * bufferview_funcs.C: output change info in minibuffer
5381
5382         * Makefile.am:
5383         * changes.h:
5384         * changes.C: add change-tracking structure
5385
5386         * debug.h:
5387         * debug.C: add CHANGES debug flag
5388
5389         * lyxfind.h:
5390         * lyxfind.C: add code for finding the next change piece
5391
5392         * lyxrc.h:
5393         * lyxrc.C: add user_name and user_email
5394
5395         * lyxrow.h:
5396         * lyxrow.C: add a metric for the top of the text line
5397
5398         * lyxtext.h:
5399         * text.C: implement accept/rejectChange()
5400
5401         * lyxtext.h:
5402         * text.C: paint changebars. Paint new/deleted text in the chosen
5403         colours. Strike through deleted text.
5404
5405         * paragraph.h:
5406         * paragraph.C:
5407         * paragraph_pimpl.h:
5408         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
5409           in the current change to the insert functions. Rework erase to
5410           mark text as deleted, adding an eraseIntern() and a range-based
5411           erase(). Implement per-paragraph change lookup and
5412           accept/reject.
5413
5414         * paragraph_funcs.C: Fixup paste for change tracking.
5415
5416         * tabular.C: mark added row/columns as new.
5417
5418         * text.C: fix rowLast() to never return -1. Don't allow
5419           spellchecking of deleted text. Track transpose changes. Don't
5420           allow paragraph break or merge where appropriate.
5421
5422         * text2.C: leave cursor at end of selection after a cut.
5423
5424 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5425
5426         * text.C (getLengthMarkerHeight):
5427         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
5428         visible on screen too.
5429
5430 2003-02-07  John Levon  <levon@movementarian.org>
5431
5432         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
5433
5434 2003-02-05  Angus Leeming  <leeming@lyx.org>
5435
5436         * lyxserver.C (read_ready): revert my patch of 11 September last year
5437         as it sends PC cpu through the roof. Presumably this means that
5438         the lyxserver will no longer run on an Alpha...
5439
5440 2003-01-30  Angus Leeming  <leeming@lyx.org>
5441
5442         * factory.C (createInset): create an InsetCommandParam of type "index"
5443         and use it to 'do the right thing'.
5444
5445         * text2.C (getStringToIndex): ensure that cursor position is always
5446         reset to the reset_cursor position.
5447
5448 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5449
5450         * lyxfunc.C (getStatus): "buffer-export custom" should never be
5451         disabled.
5452
5453 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
5454
5455         * bufferview.C:
5456         * lyxcb.C:
5457         * lyxfunc.C: Output messages with identical spelling, punctuation,
5458         and spaces
5459
5460 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
5461
5462         * MenuBackend.C (expandFormats): List only viewable export formats
5463         in "View" menu
5464
5465         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
5466         message
5467
5468         * lyxfunc.C (getStatus): Make sure that formats other than
5469         "fax" can also be disabled
5470
5471 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5472
5473         * text3.C (dispatch): put the lfuns that insert insets in 3
5474         groups, and call doInsertInset with appropriate arguments.
5475         (doInsertInset): new function, that creates an inset and inserts
5476         it according to some boolean parameters.
5477
5478 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5479
5480         * buffer.C (readFile): remember to pass on 'par' when calling
5481         readFile recursively.
5482
5483 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5484
5485         * MenuBackend.C (expandFormats): add "..." to import formats.
5486
5487 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
5488
5489         * paragraph.C (asString): Remove XForms RTL hacks.
5490
5491 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
5492         * buffer.C: fix typo
5493
5494 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
5495
5496         * Makefile.am (LIBS): delete var
5497         (lyx_LDADD): add @LIBS@ here instead.
5498
5499 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
5500
5501         * Clarify the meaning of "wheel mouse jump"
5502
5503 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5504
5505         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
5506         tabular in a float
5507
5508 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5509
5510         * importer.C (Loaders): do not preallocate 3 elements in the
5511         vector, since one ends up with 6 elements otherwise
5512
5513 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5514
5515         * DepTable.C (write): write the file name as last element of the
5516         .dep file (because it may contain spaces)
5517         (read): read info in the right order
5518
5519 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5520
5521         * paragraph_pimpl.C (simpleTeXBlanks):
5522         (simpleTeXSpecialChars):
5523         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
5524
5525         * tabular.C (latex): add some missing case statements. Reindent.
5526
5527         * MenuBackend.C (expandToc): remove unused variable.
5528
5529 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
5530
5531         * LColor.C:
5532         * LaTeX.C:
5533         * LyXAction.C:
5534         * MenuBackend.C:
5535         * buffer.C:
5536         * exporter.C:
5537         * lyxfunc.C:
5538         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
5539         and the like.
5540
5541 2003-01-05  John Levon  <levon@movementarian.org>
5542
5543         * BufferView.h:
5544         * BufferView.C: add getEncoding()
5545
5546         * kbsequence.h:
5547         * kbsequence.C: do not store last keypress
5548
5549         * lyxfunc.h:
5550         * lyxfunc.C: store last keypress here instead. Pass encoding
5551           to getISOEncoded()
5552
5553 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5554
5555         * lyx_main.C (init): remove annoying error message when following
5556         symbolic links (bug #780)
5557
5558 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5559
5560         * text.C (insertChar):
5561         * lyxrc.C (getDescription): remove extra spaces
5562
5563 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5564
5565         * lyxrc.C (getDescription): remove extra spaces
5566
5567 2002-12-20  John Levon  <levon@movementarian.org>
5568
5569         * text3.C: hack fix for page up/down across tall rows
5570
5571 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5572
5573         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
5574         not been invoked
5575
5576 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5577
5578         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
5579         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
5580         thesaurus is not compiled in
5581
5582 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
5583
5584         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
5585
5586 2002-12-16  Angus Leeming  <leeming@lyx.org>
5587
5588         * lyxrc.[Ch]:
5589         * lyx_main.C (init): remove override_x_deadkeys stuff.
5590
5591 2002-12-12  John Levon  <levon@movementarian.org>
5592
5593         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
5594           insert. Only remove shift modifier under strict
5595           circumstances.
5596
5597 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5598
5599         * MenuBackend.C (expandToc): fix crash.
5600
5601 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5602
5603         * MenuBackend.C (expandToc): gettext on float names.
5604
5605 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5606
5607         * lyxlength.[Ch]: set default unit to UNIT_NONE,
5608         implement bool empty() [bug 490]
5609
5610 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5611
5612         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
5613
5614 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5615
5616         * several files: ws changes
5617
5618 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5619
5620         * text2.C (setCounter): clean up a bit, use boost.format.
5621         (updateCounters): initialize par upon declaration.
5622
5623         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
5624         if the layout exists. We do not just store the layout any more.
5625         (SwitchLayoutsBetweenClasses): use boost.format
5626
5627 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5628
5629         * converter.C (convert): if from and to files are the same, use a
5630         temporary files as intermediary
5631
5632 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5633
5634         * commandtags.h:
5635         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
5636
5637 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
5638
5639         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
5640
5641 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5642
5643         * tabular.C (asciiPrintCell): use string(size, char) instead of
5644         explicit loop.
5645
5646         * sgml.C (openTag): fix order of arguments to string constructor
5647         (closeTag): ditto
5648
5649         * lyxfunc.C (dispatch): use boost.format
5650
5651         * lots of files: change "c" -> 'c'
5652
5653 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
5654
5655         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
5656
5657 2002-11-25  Angus Leeming  <leeming@lyx.org>
5658
5659         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
5660
5661         * lyx_main.C (init): compile fix.
5662
5663 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5664
5665         * lyx_cb.C (start): boost.formatify
5666         do not include <iostream>
5667
5668         * lengthcommon.C: ws only
5669
5670         * boost-inst.C,BoostFormat.h: add more explict instantations
5671
5672 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5673
5674         * lots of files: handle USE_BOOST_FORMAT
5675
5676 2002-11-21  John Levon  <levon@movementarian.org>
5677
5678         * pspell.C: fix compile
5679
5680 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5681
5682         * lyxfunc.C (dispatch): use boost::format
5683         (open): ditto
5684         (doImport): ditto
5685
5686         * lyxfont.C (stateText): use boost::format
5687
5688         * lyx_main.C (LyX): use boost::format
5689         (init): ditto
5690         (queryUserLyXDir): ditto
5691         (readRcFile): ditto
5692         (parse_dbg): ditto
5693         (typedef boost::function): use the recommened syntax.
5694
5695         * importer.C (Import): use boost::format
5696
5697         * debug.C (showLevel): use boost::format
5698
5699         * converter.C (view): use boost::format
5700         (convert): ditto
5701         (move): ditto
5702         (scanLog): ditto
5703
5704         * bufferview_funcs.C (currentState): use boost::format
5705
5706         * bufferlist.C (emergencyWrite): use boost::format
5707
5708         * buffer.C (readLyXformat2): use boost::format
5709         (parseSingleLyXformat2Token): ditto
5710
5711         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
5712
5713         * LaTeX.C (run): use boost::format
5714
5715         * Chktex.C (scanLogFile): use boost::format
5716
5717         * BufferView_pimpl.C (savePosition): use boost::format
5718         (restorePosition): ditto
5719         (MenuInsertLyXFile): ditto
5720
5721         * BoostFormat.h: help file for explicit instation.
5722
5723 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
5724
5725         * tabular.C (latex): Support for block alignment in fixed width
5726         columns.
5727
5728 2002-11-17  John Levon  <levon@movementarian.org>
5729
5730         * BufferView_pimpl.C:
5731         * lyx_cb.C:
5732         * lyxfunc.C: split filedialog into open/save
5733
5734 2002-11-08  Juergen Vigna  <jug@sad.it>
5735
5736         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
5737         by my last patch (hopefully).
5738
5739 2002-11-08  John Levon  <levon@movementarian.org>
5740
5741         * iterators.h:
5742         * iterators.C:
5743         * buffer.h:
5744         * buffer.C:
5745         * paragraph.h:
5746         * paragraph.C:
5747         * toc.h:
5748         * toc.C: ParConstIterator, and use it (from Lars)
5749
5750 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
5751
5752         * lyxtextclass.[Ch]: revise and add doxygen comments
5753
5754 2002-11-07  John Levon  <levon@movementarian.org>
5755
5756         * text.C: fix progress value for spellchecker
5757
5758         * toc.C: fix navigate menu for insetwrap inside minipage
5759
5760         * paragraph_funcs.C: added FIXME for suspect code
5761
5762 2002-11-07  John Levon  <levon@movementarian.org>
5763
5764         * BufferView_pimpl.C: fix redrawing of insets
5765           on buffer switch
5766
5767 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5768
5769         * text2.C (updateCounters): fix bug 668
5770
5771 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
5772
5773         * text3.C (dispatch): Do not make the buffer dirty when moving the
5774         cursor.
5775
5776 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5777
5778         * vc-backend.C: STRCONV
5779         (scanMaster): ditto
5780
5781         * text2.C (setCounter): STRCONV
5782
5783         * paragraph.C (asString): STRCONV
5784
5785         * lyxlength.C (asString): STRCONV
5786         (asLatexString): ditto
5787
5788         * lyxgluelength.C (asString): STRCONV
5789         (asLatexString): ditto
5790
5791         * lyxfunc.C (dispatch): STRCONV
5792         (open): ditto
5793
5794         * lyxfont.C (stateText): STRCONV
5795
5796         * importer.C (Import): STRCONV
5797
5798         * counters.C (labelItem): STRCONV
5799         (numberLabel): ditto
5800         (numberLabel): remove unused ostringstream o
5801
5802         * chset.C: STRCONV
5803         (loadFile): ditto
5804
5805         * bufferview_funcs.C (currentState): STRCONV
5806
5807         * buffer.C (readFile): STRCONV
5808         (asciiParagraph): ditto
5809         (makeLaTeXFile): ditto
5810
5811         * Spacing.C (writeEnvirBegin): STRCONV
5812
5813         * LaTeXFeatures.C (getLanguages): STRCONV
5814         (getPackages): ditto
5815         (getMacros): ditto
5816         (getBabelOptions): ditto
5817         (getTClassPreamble): ditto
5818         (getLyXSGMLEntities): ditto
5819         (getIncludedFiles): ditto
5820
5821         * LaTeX.C: STRCONV
5822         (run): ditto
5823         (scanAuxFile): ditto
5824         (deplog): ditto
5825
5826         * LString.h: add the STRCONV macros
5827
5828         * BufferView_pimpl.C (savePosition): STRCONV
5829         (restorePosition): ditto
5830         (MenuInsertLyXFile): ditto
5831
5832         * vc-backend.C (scanMaster): change from submatch[...] to
5833         submatch.str(...)
5834
5835         * funcrequest.C: include config.h
5836
5837         * factory.C: include config.h
5838
5839         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
5840
5841         * box.C: include config.h
5842
5843         * LaTeX.C (scanAuxFile): change from submatch[...] to
5844         submatch.str(...)
5845         (deplog): ditto
5846
5847 2002-10-25  Angus Leeming  <leeming@lyx.org>
5848
5849         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
5850
5851         * ispell.[Ch] (setError): new method.
5852         * ispell.C (c-tor): move out child process into new class LaunchIspell.
5853         Use setError() insetead of goto END.
5854
5855         * lyx_cb.C (AutoSave): move out child process into new class
5856         AutoSaveBuffer.
5857
5858 2002-10-30  John Levon  <levon@movementarian.org>
5859
5860         * text3.C: make start appendix undoable
5861
5862 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
5863
5864         * lyxlength.C (inPixels): Fix returned value.
5865
5866         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
5867         environment.
5868
5869 2002-10-24  Angus Leeming  <leeming@lyx.org>
5870
5871         * lyxgluelength.h: no need to forward declare BufferParams
5872         or BufferView, so don't.
5873
5874 2002-10-21  John Levon  <levon@movementarian.org>
5875
5876         * BufferView.C: menuUndo ->undo, redo
5877
5878         * BufferView.h: document, remove dead, make some methods private
5879
5880         * paragraph_funcs.h:
5881         * paragraph_funcs.C:
5882         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
5883
5884         * buffer.h:
5885         * buffer.C:
5886         * sgml.h:
5887         * sgml.C: move sgml open/close tag into sgml.C
5888
5889         * bufferview_funcs.h: unused prototype
5890
5891         * lyxfunc.h:
5892         * lyxfunc.C: remove unused
5893
5894         * lyxtext.h:
5895         * text.C: remove unused
5896
5897 2002-10-21  John Levon  <levon@movementarian.org>
5898
5899         * BufferView.h:
5900         * BufferView.C:
5901         * BufferView_pimpl.h:
5902         * BufferView_pimpl.C: fix mouse wheel handling based on
5903           patch from Darren Freeman
5904
5905 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
5906
5907         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
5908
5909 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
5910
5911         * lyxlength.C (inPixels): Fix hanfling of negative length.
5912         Fix LyXLength::MU case.
5913
5914 2002-10-16  John Levon  <levon@movementarian.org>
5915
5916         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
5917
5918 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5919
5920         * converter.C (view): add support for $$i (file name) and $$p
5921         (file path) for the viewer command. If $$i is not specified, then
5922         it is appended to the command (for compatibility with old syntax)
5923
5924 2002-10-14  Juergen Vigna  <jug@sad.it>
5925
5926         * undo_funcs.C (textHandleUndo): alter the order in which the
5927         new undopar is added to the LyXText, as we have to set first
5928         the right prev/next and then add it as otherwise the rebuild of
5929         LyXText is not correct. Also reset the cursor to the right paragraph,
5930         with this IMO we could remove the hack in "redoParagraphs()".
5931
5932 2002-10-09  Angus Leeming  <leeming@lyx.org>
5933
5934         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
5935         to turn off an optimisation if a new inset is to be inserted.
5936
5937 2002-10-11 André Pönitz <poenitz@gmx.net>
5938
5939         * lyxtext.h: make some functions public to allow access
5940         from inset/lyxtext for handling LFUN_PRIOR/NEXT
5941
5942 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5943
5944         * text3.C (dispatch): when changing layout, avoid an infinite loop
5945         [bug #652]
5946
5947 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5948
5949         * lyxrc.C (read): treat a viewer or converter command of "none" as
5950         if it were empty.
5951
5952         * MenuBackend.C (expandFormats): for an update, also allow the
5953         formats that are not viewable
5954
5955         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
5956         script if it is newer than the lyxrc.defaults in user directory
5957
5958 2002-10-07 André Pönitz <poenitz@gmx.net>
5959
5960         * text.C: Vitaly Lipatov's small i18n fix
5961
5962 2002-09-25  Angus Leeming  <leeming@lyx.org>
5963
5964         * ispell.h: doxygen fix.
5965
5966 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
5967
5968         * buffer.h (readFile): Add a new argument to the method, to allow
5969         reading of old-format templates.
5970
5971 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
5972
5973         * toc.C (getTocList): Get TOC from InsetWrap.
5974
5975 2002-09-16  John Levon  <levon@movementarian.org>
5976
5977         * lyxfunc.C: check tabular for cut/copy too
5978
5979 2002-09-12  John Levon  <levon@movementarian.org>
5980
5981         * LyXAction.C: tidy
5982
5983         * factory.h:
5984         * factory.C: add header
5985
5986         * paragraph_funcs.h:
5987         * paragraph_funcs.C: cleanup
5988
5989 2002-09-11  John Levon  <levon@movementarian.org>
5990
5991         * PrinterParams.h: odd/even default to true
5992
5993 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
5994
5995         * PrinterParams.h: update printer parameters for new xforms dialog
5996
5997 2002-09-11  Angus Leeming  <leeming@lyx.org>
5998
5999         * lyxserver.C (read_ready): re-write to make it more transparent
6000         and to make it work in coherent fashion under Tru64 Unix.
6001
6002 2002-09-11  André Pönitz <poenitz@gmx.net>
6003
6004         * commandtags.h:
6005         * LyXAction.C:
6006         * text3.C: implement LFUN_WORDSEL
6007
6008 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6009
6010         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6011         make floatlist_ a boost::shared_ptr<FloatList>
6012
6013         * lyxtextclass.C: include FloatList.h
6014         (LyXTextClass): initialize floatlist_
6015         (TextClassTags): add TC_NOFLOAT
6016         (Read): match "nofloat" to TC_NOFLOAT and use it.
6017         (readFloat): modify call to floatlist_
6018         (floats): ditto
6019         (floats): ditto
6020
6021         * FloatList.[Ch] (FloatList): remove commented out float
6022         initialization.
6023         (erase): new function
6024
6025 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6026
6027         * MenuBackend.C (expandToc): fix crash when there is no document
6028         open
6029
6030 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
6031
6032         * many files: Add insetwrap.
6033
6034 2002-09-09  John Levon  <levon@movementarian.org>
6035
6036         * text2.C: remove confusing and awkward depth wraparound
6037
6038 2002-09-09  John Levon  <levon@movementarian.org>
6039
6040         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6041
6042         * buffer.h:
6043         * buffer.C: remove getIncludeonlyList()
6044
6045         * paragraph.C:
6046         * lyxfunc.C: remove headers
6047
6048 2002-09-09  Juergen Vigna  <jug@sad.it>
6049
6050         * text.C (getColumnNearX): fix form Michael this is most
6051         probably a cut&paste bug.
6052
6053 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6054
6055         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
6056
6057         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6058         references, ws changes.
6059
6060         * text2.C (init): update counters after init
6061         (insertParagraph): no need to set counter on idividual paragraphs.
6062         (setCounter): access the counters object in the textclass object
6063         on in the buffer object.
6064         (updateCounters): ditto
6065
6066         * lyxtextclass.C: include counters.h, add variable ctrs_ as
6067         shared_ptr<Counters> to avoid loading counters.h in all
6068         compilation units.
6069         (LyXTextClass): initialize ctrs_
6070         (TextClassTags): add TC_COUNTER, and ...
6071         (Read): use it here.
6072         (CounterTags): new tags
6073         (readCounter): new function
6074         (counters): new funtion
6075         (defaultLayoutName): return a const reference
6076
6077         * counters.C (Counters): remove contructor
6078         (newCounter): remove a couple of unneeded statements.
6079         (newCounter): simplify a bit.
6080         (numberLabel): some small formatting changes.
6081
6082         * buffer.[Ch]: remove all traces of counters, move the Counters
6083         object to the LyXTextClass.
6084
6085 2002-09-06  Alain Castera  <castera@in2p3.fr>
6086
6087         * tabular.C: uses \tabularnewline; uses >{...} construct from array
6088         package to set the horizontal alignment on fixed width columns.
6089
6090         * lyx_sty.C:
6091         * lyx_sty.h: added tabularnewline macro def.
6092
6093         * LaTeXFeatures.C: added NeedTabularnewline macro feature
6094
6095 2002-09-06  John Levon  <levon@movementarian.org>
6096
6097         * LyXAction.C: tooltips for sub/superscript
6098
6099         * MenuBackend.C: a bit more verbose
6100
6101         * lyxfunc.C: tiny clean
6102
6103         * undo_funcs.C: document undo_frozen
6104
6105 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6106
6107         * counters.C (Counters): add missing algorithm counter.
6108
6109         * text2.C (setCounter): lookup the counter with layouts latexname
6110         instead of by section number.
6111         (setCounter): use a hackish way to lookup the correct enum
6112         counter.
6113         a float name->type change
6114         reset enum couners with counter name directly instead of depth value.
6115
6116         * counters.C (Counters): remove the push_backs, change to use the
6117         float type not the float name.
6118         (labelItem): remove unused string, float name->type change
6119
6120         * counters.h: don't include vector, loose the enums and sects vectors
6121
6122 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6123
6124         * lyxtextclass.C (TextClassTags): add TC_FLOAT
6125         (Read): add float->TC_FLOAT to textclassTags
6126         (Read): and handle it in the switch
6127         (readFloat): new function
6128
6129         * FloatList.C (FloatList): comment out the hardcoded float
6130         definitions.
6131
6132         * lyxlayout.h: ws change.
6133
6134 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
6135
6136         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
6137
6138 2002-09-03  Angus Leeming  <leeming@lyx.org>
6139
6140         * BufferView_pimpl.h: qualified name is not allowed in member
6141         declaration: WorkArea & Pimpl::workarea() const;
6142
6143         * factory.C: added using std::endl directive.
6144
6145         * text3.C: added using std::find and std::vector directives.
6146
6147 2002-08-29  André Pönitz <poenitz@gmx.net>
6148
6149         * lyxtext.h:
6150         * text2.C: remove unused member number_of_rows
6151
6152         * Makefile.am:
6153         * BufferView2.C: remove file, move contents to...
6154         * BufferView.C: ... here
6155
6156         * BufferView_pimpl.C:
6157         * factory.C: move more inset creation to factory
6158
6159         * vspace.C: avoid direct usage of LyXText, ws changes
6160
6161         * BufferView.[Ch]:
6162                 don't provide direct access to WorkArea, use two simple
6163                 acessors haveSelction() and workHeight() instead
6164
6165
6166 2002-08-29  John Levon  <levon@movementarian.org>
6167
6168         * BufferView_pimpl.C (dispatch): do not continue when
6169           no buffer
6170
6171 2002-08-28  André Pönitz <poenitz@gmx.net>
6172
6173         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6174
6175         * BufferView.h:
6176         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6177
6178 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
6179
6180         * buffer.C: increment LYX_FORMAT to 221
6181
6182         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6183         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6184
6185         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6186
6187         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6188
6189 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6190
6191         * factory.C (createInset): use LyXTextClass::floats
6192
6193         * MenuBackend.C (expandFloatListInsert):
6194         (expandFloatInsert):
6195         (expandToc):
6196
6197         * text2.C (setCounter):
6198
6199         * LaTeXFeatures.C (useFloat):
6200         (getFloatDefinitions):
6201
6202         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6203
6204         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6205         floatlist_, with accessor floats().
6206
6207         * FloatList.h: remove global FloatList
6208
6209 2002-08-26  André Pönitz <poenitz@gmx.net>
6210
6211         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6212
6213         * BufferView.h:
6214         * BufferView2.C:
6215         * BufferView_pimpl.C:
6216         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6217
6218 2002-08-25  John Levon  <levon@movementarian.org>
6219
6220         * LyXAction.C: fix margin note description
6221
6222 2002-08-24  John Levon  <levon@movementarian.org>
6223
6224         * buffer.C:
6225         * bufferlist.C:
6226         * bufferview_funcs.C:
6227         * lyxfont.C:
6228         * undo_funcs.C: cleanups
6229
6230         * lyxfunc.C: disable CUT/COPY when no selection
6231
6232 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
6233
6234         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6235         in "enum UNIT"; e.g. PTW for Percent of TextWidth
6236
6237         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6238         Add backward compatibility to "mono", "gray" and "no".
6239
6240 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
6241
6242         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6243         (and file_format >= 200).
6244
6245 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6246
6247         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6248
6249 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6250
6251         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6252
6253 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
6254
6255         * BufferView_pimpl.C:
6256         * LyXAction.C:
6257         * buffer.C:
6258         * commandtags.h:
6259         * lyxfunc.C:
6260         * paragraph.[Ch]:
6261         * text2.C:
6262         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6263         inset and code to make it  work with the paragraph code. The inset
6264         can be anywhere in the paragraph, but will only do the expected
6265         thing in LaTeX if the layout file contains the parameter line
6266                         OptionalArgs    1
6267         (or more generally, a nonzero value) for that layout.
6268
6269 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6270
6271         * paragraph.h: remove the declaration of undefined counters class
6272         function.
6273
6274 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
6275
6276         * text2.C (setCounter):  fixed enumeration mis-count as reported by
6277         Dr. Richard Hawkins.
6278
6279 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6280
6281         * paragraph_funcs.h: remove some unneeded includes
6282
6283         * text.C (backspace): pasteParagraph now in global scipe
6284
6285         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6286         (pasteSelection): ditto
6287
6288         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6289         * paragraph_funcs.C (pasteParagraph): ... here
6290
6291 2002-08-20  André Pönitz <poenitz@gmx.net>
6292
6293         * commandtags.h: new LFUNs for swapping/copying table row/colums
6294
6295         * LyXAction.C:
6296         * lyxfunc.C: support for new lfuns
6297
6298 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6299
6300         * tabular.C:
6301         * buffer.[Ch]: remove NO_COMPABILITY stuff
6302
6303 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
6304
6305         * boost.C (throw_exception): new file, with helper function for
6306         boost compiled without exceptions.
6307
6308         * paragraph.h:
6309         * lyxlength.C:
6310         * buffer.C:
6311         * ParameterStruct.h:
6312         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6313
6314         * bufferlist.C (emergencyWriteAll): use boost bind
6315
6316         * BufferView_pimpl.C (moveCursorUpdate): remove inline
6317
6318         * text.C: include paragraph_funcs.h
6319         (breakParagraph): breakParagraph is now in global scope
6320
6321         * paragraph_funcs.[Ch]: new files
6322
6323         * paragraph.C (breakParagraph,breakParagraphConservative): move to
6324         global scope
6325
6326         * buffer.C: include paragraph_funcs.h
6327         (insertStringAsLines): breakParagraph is now in global scope
6328
6329         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
6330         paragraph_funcs.C
6331
6332         * CutAndPaste.C: include paragraph_funcs.h
6333         (cutSelection): breakParagraphConservative is now in global scope
6334         (pasteSelection): ditto
6335
6336         * buffer.h: declare oprator== and operator!= for
6337         Buffer::inset_iterator
6338
6339         * bufferlist.C (emergencyWrite): don't use fmt(...)
6340
6341         * text3.C: add using std::endl
6342
6343         * BufferView.C (moveCursorUpdate): remove default arg
6344
6345 2002-08-20  André Pönitz <poenitz@gmx.net>
6346
6347         * buffer.[Ch]: move inline functions to .C
6348
6349         * BufferView2.C:
6350         * BufferView_pimpl.C:
6351         * text.C:
6352         * buffer.[Ch]: use improved inset_iterator
6353
6354         * buffer.C:
6355         * paragraph.[Ch]: write one paragraph at a time
6356
6357 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
6358
6359         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
6360         style if style is not specified.
6361
6362 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6363
6364         * text2.C (setCounter): when searching for right label for a
6365         caption, make sure to recurse to parent insets (so that a caption
6366         in a minipage in a figure float works) (bug #568)
6367
6368 2002-08-20  André Pönitz <poenitz@gmx.net>
6369
6370         * text3.C: new file for LyXText::dispatch() and helpers
6371
6372         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
6373
6374         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
6375
6376 2002-08-19  André Pönitz <poenitz@gmx.net>
6377
6378         * lyxtext.h:
6379         * text.C: new LyXText::dispatch()
6380
6381         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
6382
6383 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
6384
6385         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
6386
6387         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
6388         Hebrew text.
6389
6390 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6391
6392         * Makefile.am: use $(variables) instead of @substitutions@
6393
6394 2002-08-15  André Pönitz <poenitz@gmx.net>
6395
6396         * lyxfunc.C:
6397         * BufferView_pimpl.C: streamlining mathed <-> outer world
6398         interaction
6399
6400         * commandtags.h:
6401         * LyXAction.C: remove unused LFUN_MATH
6402
6403 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6404
6405         * paragraph.[Ch]: add some NO_NEXT ifdefs.
6406
6407 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6408
6409         * paragraph.C (Paragraph): reformat a bit
6410         (cutIntoMinibuffer): use builtin InsetList function instad of
6411         doing it manually.
6412         (getInset): ditto
6413
6414         * buffer.C: include boost/bind.hpp, add using std::for_each
6415         (writeFileAscii): use ParagraphList iterators
6416         (validate): use for_each for validate traversal of paragraphs
6417         (getBibkeyList): use ParagraphList iterators
6418         (resizeInsets): use for_each to resizeInsetsLyXText for all
6419         paragraphs.
6420         (getParFromID): use ParagraphList iterators
6421
6422         * BufferView2.C (lockInset): use paragraph list and iterators
6423
6424 2002-08-14  John Levon  <levon@movementarian.org>
6425
6426         * lyxserver.C: remove spurious xforms include
6427
6428 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6429
6430         * lyxfunc.C (getStatus): disable math-extern outside of math mode
6431
6432 2002-08-13  André Pönitz <poenitz@gmx.net>
6433
6434         * LyXAction.[Ch]:
6435         * lyxfunc.C: further cleaning
6436
6437 2002-08-13  André Pönitz <poenitz@gmx.net>
6438
6439         * funcrequest.h: new constructor
6440
6441         * funcrequest.C: move stuff here from .h
6442
6443         * Makefile.am:
6444         * BufferView_pimpl.C:
6445         * LyXAction.C:
6446         * toc.C:
6447         * lyxfunc.C: subsequent changes
6448
6449         * lyxfunc.h: new view() member function
6450
6451         * lyxfunc.C: subsequent changes
6452
6453 2002-08-13  Angus Leeming  <leeming@lyx.org>
6454
6455         * BufferView2.C:
6456         * BufferView_pimpl.C:
6457         * buffer.C:
6458         * converter.C:
6459         * importer.C:
6460         * lyxfunc.C:
6461         * lyxvc.C:
6462         * toc.C:
6463         * vc-backend.C:
6464         changes due to the changed LyXView interface that now returns references
6465         to member variables not pointers.
6466
6467 2002-08-13  Angus Leeming  <leeming@lyx.org>
6468
6469         * WordLangTuple (word, lang_code): return references to strings,
6470         not strings.
6471
6472         * BufferView.h:
6473         * SpellBase.h:
6474         * lyxtext.h: forward-declare WordLangTuple.
6475
6476         * BufferView2.C:
6477         * ispell.C:
6478         * pspell.C:
6479         * text.C: #include "WordLangTuple.h".
6480
6481         * lyxtext.h:
6482         * text.C: (selectNextWordToSpellcheck): constify return type.
6483
6484 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
6485
6486         * buffer.C:
6487         * buffer.h:
6488         * lyxtext.h:
6489         * paragraph.C:
6490         * paragraph_pimpl.h:
6491         * text.C:
6492         * text2.C:
6493         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
6494         suggested by Angus.
6495         Made updateCounter always count from start of buffer, and removed
6496         second argument (par).
6497         Reverted floats number display to '#'. Perhaps I'll try again when the
6498         code base is sanitized a bit.
6499
6500 2002-08-12  Angus Leeming  <leeming@lyx.org>
6501
6502         * buffer.[Ch] (getLabelList): constify.
6503
6504 2002-08-07  André Pönitz <poenitz@gmx.net>
6505
6506         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
6507
6508         * funcrequest.h: extension to keep mouse (x,y) position
6509
6510 2002-08-12  Juergen Vigna  <jug@sad.it>
6511
6512         * BufferView2.C (insertErrors): forbid undo when inserting error
6513         insets.
6514
6515         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
6516
6517 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6518
6519         * ParagraphList.[Ch]: new files
6520
6521         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
6522
6523         * BufferView2.C (lockInset): ParagraphList changes
6524         * toc.C: ditto
6525         * text2.C: ditto
6526         * bufferlist.C: ditto
6527         * buffer.h: ditto
6528         * buffer.C: ditto
6529
6530 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6531
6532         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
6533         unused class variable counter_,
6534
6535         * paragraph.[Ch] (getFirstCounter): delete unused function
6536
6537         * counters.C: include LAssert.h
6538         (reset): add a new function with no arg, change other version to
6539         not have def. arg and to not allow empty arg.
6540
6541         * text2.C (setCounter): remove empty arg from call to Counters::reset
6542
6543 2002-08-11  John Levon  <levon@movementarian.org>
6544
6545         * Makefile.am: add WordLangTuple.h
6546
6547 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6548
6549         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
6550         lyxfunc.C lyxlex_pimpl.C: ws changes only.
6551
6552         * insets/insettext.C: InsetList changes
6553
6554         * graphics/GraphicsSupport.C (operator()): InsetList changes
6555
6556         * toc.C (getTocList): InsetList changes
6557
6558         * paragraph_pimpl.[Ch]: InsetList changes
6559
6560         * paragraph.[Ch]: InsetList changes
6561
6562         * buffer.C (inset_iterator): InsetList changes
6563         (setParagraph): ditto
6564         * buffer.h (inset_iterator): ditto
6565         * iterators.C (operator++): ditto
6566         * iterators.h: ditto
6567
6568         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
6569
6570         * InsetList.[Ch]: new files, most InsetList handling moved out of
6571         paragraph.C.
6572
6573         * BufferView2.C (removeAutoInsets): InsetList changes
6574         (lockInset): ditto
6575         (ChangeInsets): ditto
6576
6577 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6578
6579         * paragraph_pimpl.h (empty): new function
6580
6581         * paragraph.[Ch] (empty): new function
6582
6583         * other files: use the new Paragraph::empty function
6584
6585 2002-08-09  John Levon  <levon@movementarian.org>
6586
6587         * lyxtext.h: remove unused refresh_height
6588
6589 2002-08-09  John Levon  <levon@movementarian.org>
6590
6591         * Makefile.am:
6592         * sgml.h:
6593         * sgml.C:
6594         * buffer.C:
6595         * paragraph.h:
6596         * paragraph.C: move sgml char escaping out of paragraph
6597
6598         * paragraph.h:
6599         * paragraph.C: remove id setter
6600
6601         * buffer.C:
6602         * paragraph.C:
6603         * paragraph_pimpl.C: remove dead tex_code_break_column
6604
6605         * bufferview_funcs.C: small cleanup
6606
6607         * lyxfunc.C: remove dead proto
6608
6609         * lyxtext.h: make some stuff private. Remove some dead stuff.
6610
6611         * lyxgluelength.C: make as[LyX]String() readable
6612
6613 2002-08-08  John Levon  <levon@movementarian.org>
6614
6615         * LyXAction.h:
6616         * LyXAction.C:
6617         * MenuBackend.C:
6618         * ToolbarDefaults.C:
6619         * lyxfunc.C:
6620         * lyxrc.C:
6621         * toc.C: lyxaction cleanup
6622
6623 2002-08-08  John Levon  <levon@movementarian.org>
6624
6625         * BufferView2.C: small cleanup
6626
6627         * lyxfind.h:
6628         * lyxfind.C: move unnecessary header into the .C
6629
6630 2002-08-08  John Levon  <levon@movementarian.org>
6631
6632         * funcrequest.h: just tedious nonsense
6633
6634         * lyx_main.h:
6635         * lyx_main.C: cleanups
6636
6637         * buffer.C:
6638         * vspace.C: remove dead header lyx_main.h
6639
6640 2002-08-07  Angus Leeming  <leeming@lyx.org>
6641
6642         * Paragraph.[Ch]:
6643         * paragraph_pimpl.h:
6644         Forward declare class Counters in paragraph.h by moving the ctrs member
6645         variable into Paragraph::Pimpl.
6646         (counters): new method, returning a reference to pimpl_->ctrs.
6647
6648         * text2.C: ensuing changes.
6649
6650 2002-08-07  John Levon  <levon@movementarian.org>
6651
6652         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
6653
6654         * BufferView_pimpl.C: announce X selection on double/triple
6655           click
6656
6657         * lyx_main.C: use correct bool in batch dispatch
6658
6659         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
6660
6661 2002-08-07  André Pönitz <poenitz@gmx.net>
6662
6663         * funcrequest.h: new class to wrap a kb_action and its argument
6664
6665         * BufferView.[Ch]:
6666         * BufferView_pimpl[Ch]:
6667         * LaTeX.C:
6668         * LyXAction.[Ch]:
6669         * lyxfunc.[Ch]:
6670         * lyxrc.C: subsequent changes
6671
6672
6673 2002-08-07  John Levon  <levon@movementarian.org>
6674
6675         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
6676           document options change.
6677
6678 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
6679
6680         * counters.[Ch]
6681         * text2.C
6682         * paragraph.[Ch]
6683         * makefile.am: move counters functionality over from
6684         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
6685
6686 2002-08-06  John Levon  <levon@movementarian.org>
6687
6688         * WordLangTuple.h: new file for word + language code tuple
6689
6690         * SpellBase.h:
6691         * pspell.h:
6692         * pspell.C:
6693         * ispell.h:
6694         * ispell.C:
6695         * lyxtext.h:
6696         * text.C:
6697         * text2.C:
6698         * BufferView.h:
6699         * BufferView2.C: use WordLangTuple
6700
6701         * layout.h:
6702         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
6703
6704 2002-08-06  John Levon  <levon@movementarian.org>
6705
6706         * lyx_main.C: fix cmdline batch handling
6707
6708 2002-08-06  André Pönitz <poenitz@gmx.net>
6709
6710         * lyxrc.C: set default for show_banner to true
6711
6712 2002-08-06  John Levon  <levon@movementarian.org>
6713
6714         * pspell.C: fix a crash, and allow new aspell to work
6715
6716 2002-08-06  John Levon  <levon@movementarian.org>
6717
6718         * lyxfunc.C:
6719         * kbmap.C: small cleanup
6720
6721         * vspace.h:
6722         * vspace.C: add const
6723
6724 2002-08-05  John Levon  <levon@movementarian.org>
6725
6726         * LyXAction.C: back to tabular-insert
6727
6728 2002-08-04  John Levon  <levon@movementarian.org>
6729
6730         * BufferView.h:
6731         * BufferView.C: cosmetic change
6732
6733         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
6734
6735         * bufferlist.C:
6736         * buffer.h:
6737         * buffer.C:
6738         * lyxcb.h:
6739         * lyxcb.C:
6740         * lyxserver.C:
6741         * lyxvc.C:
6742         * vc-backend.C:
6743         * BufferView2.C: purge all "Lyx" not "LyX" strings
6744
6745         * lyxcursor.h:
6746         * lyxcursor.C: attempt to add some documentation
6747
6748         * lyxfunc.C:
6749         * commandtags.h:
6750         * LyXAction.C:
6751         * ToolbarDefaults.C:
6752         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
6753           merge with LFUN_TABULAR_INSERT
6754
6755         * Makefile.am:
6756         * SpellBase.h:
6757         * ispell.h:
6758         * ispell.C:
6759         * pspell.h:
6760         * pspell.C: split up i/pspell implementations into separate
6761           files, many cleanups
6762
6763         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
6764
6765         * text2.C: some cleanup
6766
6767         * lyxfunc.C: don't check for isp_command == "none" any more, it
6768           didn't make any sense
6769
6770 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
6771
6772         * counters.[Ch]
6773         * text2.C
6774         * paragraph.[Ch]
6775         * makefile.am: move counters functionality over
6776         from text2.C/paragraph.[Ch] to counters.[Ch], and
6777         make proper C++.
6778 2002-08-02  John Levon  <levon@movementarian.org>
6779
6780         * buffer.C: s/lyxconvert/lyx2lyx/
6781
6782 2002-08-02  Angus Leeming  <leeming@lyx.org>
6783
6784         * lyxlex.C: revert John's change as it breaks reading of the user
6785         preamble.
6786
6787 2002-08-02  Angus Leeming  <leeming@lyx.org>
6788
6789         * importer.C (Import):
6790         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
6791         changes due to LyXView::view() now returning a boost::shared_ptr.
6792
6793 2002-08-02  John Levon  <levon@movementarian.org>
6794
6795         * lyxlex.C: small cleanup
6796
6797 2002-08-02  John Levon  <levon@movementarian.org>
6798
6799         * text2.C (status): small cleanup, no logic change
6800
6801 2002-08-01  John Levon  <levon@movementarian.org>
6802
6803         * buffer.h:
6804         * buffer.C (writeFile): don't output alerts, caller
6805           handles this
6806
6807         * bufferlist.C:
6808         * lyx_cb.C: from above
6809
6810         * lyxfunc.C: allow to open non-existent files
6811
6812 2002-07-31  John Levon  <levon@movementarian.org>
6813
6814         * lyxserver.C: don't let incidental errors get
6815           in the way (errno)
6816
6817 2002-07-30  John Levon  <levon@movementarian.org>
6818
6819         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
6820
6821 2002-07-30  John Levon  <levon@movementarian.org>
6822
6823         * lyxserver.h:
6824         * lyxserver.C: remove I/O callback too
6825
6826 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6827
6828         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
6829         log.
6830
6831 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6832
6833         * many files: strip,frontStrip -> trim,ltrim,rtrim
6834
6835 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6836
6837         * PrinterParams.h: remove extern containsOnly, and include
6838         support/lstrings.h instead.
6839
6840         * LaTeX.C (scanAuxFile): modify because of strip changes
6841         (deplog): ditto
6842         * buffer.C (makeLaTeXFile): ditto
6843         * bufferparams.C (writeFile): ditt
6844         * lyxfont.C (stateText): ditto
6845         * lyxserver.C (read_ready): ditto
6846         * vc-backend.C (scanMaster): ditto
6847
6848         * BufferView_pimpl.h: ws changes
6849
6850         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
6851
6852 2002-07-26  André Pönitz <poenitz@gmx.net>
6853
6854         * kb_sequence.C: remove unnedred usings
6855
6856 2002-07-26  Juergen Vigna  <jug@sad.it>
6857
6858         * lyxfind.C (LyXReplace): we have to check better if the returned
6859         text is not of theLockingInset()->getLockingInset().
6860
6861 2002-07-25  Juergen Vigna  <jug@sad.it>
6862
6863         * lyxfind.C (LyXReplace): don't replace if we don't get the
6864         right LyXText.
6865
6866         * undo_funcs.C (createUndo): remove debugging code.
6867
6868 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
6869
6870         * buffer.C (parseSingleLyXformat2Token): Use default placement
6871         when reading old floats.
6872
6873         * FloatList.C (FloatList): Change the default placement of figure
6874         and tables to "tbp".
6875
6876 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
6877
6878         * MenuBackend.C: using std::max
6879
6880 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6881
6882         * MenuBackend.C (expandToc):
6883         (expandToc2): code moved from xforms menu frontend. It is now
6884         generic and TOCs are transparent to menu frontends.
6885
6886 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6887
6888         * toc.C (getTocList): protect against buf=0
6889
6890         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
6891         Menu as first parameter. Now, this calls itself recursively to
6892         expand a whole tree (this will be useful for TOC handling)
6893         (expandFloatInsert): remove 'wide' version of floats
6894
6895         * MenuBackend.h (submenuname): returns the name of the submenu.
6896         (submenu): returns the submenu itself, provided it has been
6897         created by MenuBackend::expand
6898
6899 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6900
6901         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
6902         insets which have noFontChange == true. (bug #172)
6903
6904 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6905
6906         * BufferView_pimpl.C: add connection objects and use them...
6907         (Pimpl): here.
6908
6909 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6910
6911         * MenuBackend.C (expandLastfiles):
6912         (expandDocuments):
6913         (expandFormats):
6914         (expandFloatListInsert):
6915         (expandFloatInsert):
6916         (expand): split expand in parts
6917
6918 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6919
6920         * lyx_gui.C: use lyx_gui::exit()
6921
6922 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6923
6924         * LyXAction.C: show the failing pseudo action
6925
6926 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
6927
6928         * buffer.C (readFile): Run the lyxconvert script in order to read
6929         old files.
6930
6931 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6932
6933         * LyXAction.C:
6934         * commandtags.h:
6935         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
6936
6937 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6938
6939         * LyXAction.C:
6940         * commandtags.h:
6941         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
6942
6943 2002-07-22  Herbert Voss  <voss@lyx.org>
6944
6945         * lengthcommon.C:
6946         * lyxlength.[Ch]: add support for the vertical lengths
6947
6948 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
6949
6950         * toc.[Ch]: std:: fixes
6951
6952 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6953
6954         * lyxrc.C: do not include lyx_main.h
6955
6956         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
6957         for layouts
6958
6959         * lyxrc.C:
6960         * encoding.C:
6961         * bufferlist.C:
6962         * BufferView2.C: include "lyxlex.h"
6963
6964         * tabular.h:
6965         * bufferparams.h: do not #include "lyxlex.h"
6966
6967         * lyxtextclasslist.C (Add): remove method
6968         (classlist): renamed to classlist_
6969
6970         * paragraph_pimpl.C:
6971         * paragraph.C:
6972         * text2.C:
6973         * CutAndPaste.C:
6974         * bufferview_funcs.C:
6975         * bufferlist.C:
6976         * text.C:
6977         * LaTeXFeatures.C:
6978         * buffer.C:
6979         * toc.C (getTocList): use BufferParams::getLyXTextClass
6980
6981         * toc.C (getTocList): use InsetFloat::addToToc
6982
6983         * toc.[Ch]: new files, containing helper functions to handle table
6984         of contents
6985
6986         * lyxfunc.C (dispatch): no need to remove spaces around command
6987         given as a string
6988         (getStatus): handle LFUN_SEQUENCE by returning the status of the
6989         first command of the sequence; it is not very clever, but I do not
6990         have a better idea, actually
6991
6992         * LyXAction.C (LookupFunc): make sure to remove space at the
6993         beginning and end of the command
6994
6995 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6996
6997         * MenuBackend.C (getMenubar): new method: return the menubar of
6998         this menu set
6999         (read): treat differently reading of menu and menubar (in
7000         particular, the menubar has no name now)
7001         (Menu::menubar): remove
7002
7003         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7004         saving is finished
7005
7006 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7007
7008         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7009         a bibitem inset in a RTL paragraph.
7010
7011 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
7012
7013         * paragraph_pimpl.C: constify
7014
7015         * BufferView_pimpl.C:
7016         * LaTeX.C:
7017         * lyxfunc.C: fix dispatch in a nicer way
7018
7019 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7020
7021         * lyxfunc.C (dispatch):
7022         * BufferView_pimpl.C:
7023         * BufferView_pimpl.h:
7024         * BufferView.C:
7025         * BufferView.h: rename Dispatch() to dispatch()
7026
7027         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7028
7029         * lyxlayout.C (Read): honor DependsOn tag
7030
7031         * lyxlayout.[Ch] (depends_on): new method
7032
7033         * version.C.in: update lyx_docversion
7034
7035         * LaTeXFeatures.C (getMacros): only define \LyX when needed
7036
7037         * paragraph.C (validate): remove from here...
7038         * paragraph_pimpl.C (validate): ... and move here
7039         (isTextAt): make it const
7040
7041         * buffer.C (getLists): ws cleanup
7042
7043 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7044
7045         * language.C (read): Use iso8859-1 encoding in latex_lang
7046         (this prevents LyX from crashing when using iso10646-1 encoding).
7047
7048 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7049
7050         * text2.C (toggleInset): if cursor is inside an inset, close the
7051         inset and leave cursor _after_ it
7052
7053 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7054
7055         * lyxfunc.C: move minibuffer completion handling out of here
7056
7057 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7058
7059         * BufferView_pimpl.C:
7060         * LaTeX.C: fix dispatch calls
7061
7062 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
7063
7064         * text.C (drawChars): Fix Arabic text rendering.
7065
7066 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
7067
7068         * LyXAction.C:
7069         * commandtags.h:
7070         * lyxfunc.C: remove message-push/pop
7071
7072         * lyxserver.C:
7073         * lyxfunc.h:
7074         * lyxfunc.C: rationalise some code by removing verboseDispatch
7075           in favour of a bool argument to dispatch()
7076
7077 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7078
7079         * lyx_main.C (init): make sure to read symlinks as absolute paths
7080
7081 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7082
7083         * lyxfunc.h:
7084         * lyxfunc.C: no need for commandshortcut to be a member
7085
7086 2002-07-15  André Pönitz <poenitz@gmx.net>
7087
7088         * converter.C: add support for $$s (scripts from lib/scripts dir)
7089         * lyx_main.C: white space
7090
7091 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7092
7093         * bufferlist.C:
7094         * lyxrc.h:
7095         * lyxrc.C: remove second exit confirmation
7096
7097 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7098
7099         * BufferView.h:
7100         * BufferView.C:
7101         * BufferView2.C:
7102         * BufferView_pimpl.h:
7103         * BufferView_pimpl.C:
7104         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
7105
7106 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7107
7108         * MenuBackend.C (expand): add numeric shortcuts to document menu
7109
7110         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
7111
7112 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7113
7114         * lyxfont.C (setLyXFamily):
7115         (setLyXSeries):
7116         (setLyXShape):
7117         (setLyXSize):
7118         (setLyXMisc):
7119         (lyxRead):
7120         * debug.C (value):
7121         * buffer.C (asciiParagraph): use ascii_lowercase
7122
7123 2002-07-15  Mike Fabian  <mfabian@suse.de>
7124
7125         * lyxlex_pimpl.C (search_kw):
7126         * lyxlex.C (getLongString):
7127         * converter.h (operator<):
7128         * converter.C (operator<):
7129         * buffer.C (parseSingleLyXformat2Token):
7130         (asciiParagraph):
7131         * ToolbarDefaults.C (read):
7132         * MenuBackend.C (checkShortcuts):
7133         (read):
7134         * LColor.C (getFromGUIName):
7135         (getFromLyXName): use the compare_ascii_no_case instead of
7136         compare_no_case, because in turkish, 'i' is not the lowercase
7137         version of 'I', and thus turkish locale breaks parsing of tags.
7138
7139 2002-07-16  Angus Leeming  <leeming@lyx.org>
7140
7141         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
7142         now takes a Buffer const & argument.
7143
7144 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
7145
7146         * BufferView.C (resize): check there's a buffer to resize
7147
7148 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
7149
7150         * lyxfunc.C: remove dead code
7151
7152         * lyxserver.h:
7153         * lyxserver.C: use lyx_guii::set_read_callback
7154
7155 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
7156
7157         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
7158         an inset in a RTL paragraph.
7159
7160 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7161
7162         * lyxfunc.C: repaint after a font size update
7163
7164 2002-07-15  André Pönitz <poenitz@gmx.net>
7165
7166         * lyxlength.C: inBP should be able to return negative values
7167
7168 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7169
7170         * lyxfunc.C: use lyx_gui::update_fonts()
7171
7172 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7173
7174         * lyxfunc.C: use lyx_gui::update_color()
7175
7176 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7177
7178         * bufferlist.C:
7179         * lyxfunc.h:
7180         * lyxfunc.C:
7181         * lyxrc.h:
7182         * lyxrc.C: remove file->new asks for name option, and let
7183           buffer-new take an argument
7184
7185 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7186
7187         * BufferView_pimpl.C: remove unneeded extra repaint()
7188
7189 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
7190
7191         * LyXAction.C: allow command-sequence with NoBuffer
7192
7193         * lyxfunc.C: don't insist on trailing ';' for command-sequence
7194
7195 2002-07-10  Angus Leeming  <leeming@lyx.org>
7196
7197         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7198
7199 2002-07-09  Angus Leeming  <leeming@lyx.org>
7200
7201         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7202
7203 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7204
7205         * lengthcommon.h: whitespace
7206
7207         * lyxfunc.C: update scrollbar after goto paragraph
7208
7209         * lyxtext.h: factor out page break drawing, and fix it so
7210           page break/added space paints as selected nicely
7211
7212 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7213
7214         * BufferView_pimpl.C: add FIXMEs, clean up a little
7215
7216 2002-07-09  André Pönitz <poenitz@gmx.net>
7217
7218         * lyxfont.[Ch]: support for wasy symbols
7219
7220 2002-07-08  André Pönitz <poenitz@gmx.net>
7221
7222         * BufferView_pimpl.C: apply John's patch for #93.
7223
7224 2002-07-05  Angus Leeming  <leeming@lyx.org>
7225
7226         * BufferView_pimpl.C (buffer): generate previews if desired.
7227
7228         * LColor.h: add "preview" to the color enum.
7229
7230         * LColor.C (LColor): add a corresponding entry to the items array.
7231
7232         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7233         with this buffer.
7234
7235 2002-07-05  Angus Leeming  <leeming@lyx.org>
7236
7237         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7238         The body of the code is now in the method that is passed an ostream &
7239         rather than a file name.
7240         Pass an additional only_preamble parameter, useful for the forthcoming
7241         preview stuff.
7242
7243 2002-07-03  André Pönitz <poenitz@gmx.net>
7244
7245         * lyxfunc.C: simplify getStatus() a bit for math stuff
7246
7247 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7248
7249         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7250
7251 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7252
7253         * text.C (changeRegionCase): do not change case of all the
7254         document when region ends at paragraph end (bug #461)
7255
7256 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7257
7258         * paragraph.C (startTeXParParams):
7259         (endTeXParParams): add \protect when necessary
7260
7261 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7262
7263         * BufferView_pimpl.C (workAreaExpose): remove warning
7264
7265 2002-06-27  Angus Leeming  <leeming@lyx.org>
7266
7267         * Makefile.am: add lyxlayout_ptr_fwd.h.
7268
7269 2002-06-26  André Pönitz <poenitz@gmx.net>
7270
7271         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7272
7273 2002-06-25  Angus Leeming  <leeming@lyx.org>
7274
7275         * lyxfunc.C (dispatch): Comment out the call to
7276         grfx::GCache::changeDisplay. The method no longer exists now that the
7277         pixmap generation part of the graphics loader has been moved into
7278         InsetGraphics.
7279
7280 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7281
7282         * text2.C: layout as layout
7283
7284         * text.C: layout as layout
7285
7286         * tabular.C (OldFormatRead): layout as layout
7287
7288         * paragraph_pimpl.C (TeXDeeper): layout as layout
7289         (realizeFont): layout as layout
7290
7291         * paragraph.C (writeFile): layout as layout
7292         (validate): layout as layout
7293         (getFont): layout as layout
7294         (getLabelFont): layout as layout
7295         (getLayoutFont): layout as layout
7296         (breakParagraph): layout as layout
7297         (stripLeadingSpaces): layout as layout
7298         (getEndLabel): layout as layout
7299         (getMaxDepthAfter): layout as layout
7300         (applyLayout): layout as layout
7301         (TeXOnePar): layout as layout
7302         (simpleTeXOnePar): layout as layout
7303         (TeXEnvironment): layout as layout
7304         (layout): layout as layout
7305         (layout): layout as layout
7306
7307         * lyxtextclass.C (compare_name): new functor to work with
7308         shared_ptr, layout as layout
7309         (Read): layout as layout
7310         (hasLayout): layout as layout
7311         (operator): layout as layout
7312         (delete_layout): layout as layout
7313         (defaultLayout): layout as layout
7314
7315         * lyxlayout_ptr_fwd.h: new file
7316
7317         * lyxlayout.C (Read): layout as layout
7318
7319         * lyx_cb.C (MenuInsertLabel): layout as layout
7320
7321         * bufferlist.C (newFile): layout as layout
7322
7323         * buffer.C (readLyXformat2): layout as layout
7324         (parseSingleLyXformat2Token): layout as layout
7325         (insertStringAsLines): layout as layout
7326         (asciiParagraph): layout as layout
7327         (latexParagraphs): layout as layout
7328         (makeLinuxDocFile): layout as layout
7329         (simpleLinuxDocOnePar): layout as layout
7330         (makeDocBookFile): layout as layout
7331         (simpleDocBookOnePar): layout as layout
7332         (getLists): layout as layout
7333
7334         * LaTeXFeatures.C (getTClassPreamble): layout as layout
7335
7336         * CutAndPaste.C (cutSelection): layout as layout
7337         (pasteSelection): layout as layout
7338         (SwitchLayoutsBetweenClasses): layout as layout
7339
7340         * BufferView_pimpl.C (Dispatch): layout as layout
7341         (smartQuote): layout as layout
7342
7343         * BufferView2.C (unlockInset): layout as layout
7344
7345 2002-06-24  André Pönitz <poenitz@gmx.net>
7346
7347         * lyxfunc.C: fix #487
7348
7349 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7350
7351         * lyxrc.h:
7352         * lyxrc.C:
7353         * lyxfunc.C: remove display_shortcuts, show_banner
7354
7355 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7356
7357         * Buffer_pimpl.C: oops, update on resize
7358
7359 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7360
7361         * buffer.C:
7362         * converter.C:
7363         * exporter.C:
7364         * lyxfunc.C:
7365         * BufferView.h:
7366         * BufferView.C: use repaint()
7367
7368         * BufferView_pimpl.h:
7369         * BufferView_pimpl.C: s/updateScreen()/repaint()/
7370           as it's a clearer description. Remove superfluous
7371           redraws.
7372
7373 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7374
7375         * text.C: fix bug 488. Not ideal, but getting
7376           getWord() to work properly for the insets that
7377           matter is more difficult ...
7378
7379 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7380
7381         * BufferView_pimpl.C:
7382         * LyXAction.C:
7383         * commandtags.h:
7384         * lyxfunc.C: remove the six million index lyxfuncs to just
7385           one, and DTRT (bug 458)
7386
7387 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7388
7389         * BufferView.h:
7390         * BufferView.C:
7391         * BufferView_pimpl.h:
7392         * BufferView_pimpl.C: clean up resize() stuff,
7393           and unnecessary updateScreen()s
7394
7395 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7396
7397         * BufferView.h:
7398         * BufferView.C:
7399         * BufferView_pimpl.h:
7400         * BufferView_pimpl.C:
7401         * lyxfind.h:
7402         * lyxfind.C:
7403         * minibuffer.C: remove focus management of workarea,
7404           not needed. Use screen's greyOut()
7405
7406 2002-06-17  Herbert Voss  <voss@lyx.org>
7407
7408         * converter.C: (convert) do not post a message, when converting
7409         fails, let the calling function decide what to do in this case
7410
7411 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
7412
7413         * lyxfunc.C: tidy up a little
7414
7415 2002-06-16    <alstrup@diku.dk>
7416
7417         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
7418         Got rid of FORMS_H_LOCATION include. Now we are
7419         GUII.
7420
7421 2002-06-15  LyX Development team  <lyx@rilke>
7422
7423         * buffer.[Ch] (sgmlOpenTag):
7424         (sgmlCloseTag): Added support for avoiding pernicious mixed
7425         content. Return number of lines written.
7426
7427         (makeLinuxDocFile):
7428         (makeDocBookFile): Fixed calls to sgml*Tag.
7429         Simple white space clean.
7430
7431         (simpleDocBookOnePar): Simple white space clean.
7432
7433         * tabular.[Ch] (docBook): Renamed to docbook and got another
7434         argument to related with the pernicious mixed content.
7435
7436         (docbookRow): Fixed calls for docbook inset method.
7437
7438 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
7439
7440         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
7441         so it's X11 independent.
7442
7443         * kb*.[Ch]: ditto.
7444
7445         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
7446
7447 2002-06-15  Lyx Development team  <lyx@electronia>
7448
7449         * intl.h: Renamed getTrans to getTransManager.
7450
7451 2002-06-14  Angus Leeming  <leeming@lyx.org>
7452
7453         * Makefile.am: nuke forgotten stl_string_fwd.h.
7454
7455 2002-06-12  Angus Leeming  <leeming@lyx.org>
7456
7457         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
7458
7459 2002-06-13  Angus Leeming  <leeming@lyx.org>
7460
7461         * LaTeX.C:
7462         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
7463
7464 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
7465
7466         * kbmap.C (getiso): add support for cyrillic and greek
7467
7468 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7469
7470         * BufferView.h:
7471         * BufferView.C:
7472         * BufferView_pimpl.h:
7473         * BufferView_pimpl.C: move bogus scrolling logic
7474           to xforms
7475
7476 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7477
7478         * lyxfunc.C:
7479         * BufferView_pimpl.C: view->resize() change
7480
7481 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7482
7483         * BufferView_pimpl.C: topCursorVisible
7484           prototype change
7485
7486 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7487
7488         * Makefile.am:
7489         * lyx_gui.h:
7490         * lyx_gui.C: move to frontends/
7491
7492         * main.C:
7493         * lyx_main.h:
7494         * lyx_main.C: changes from above
7495
7496 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7497
7498         * intl.C:
7499         * intl.h:
7500         * kbmap.C:
7501         * kbsequence.C:
7502         * lyx_cb.C:
7503         * lyx_main.C: minor tidy
7504
7505 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7506
7507         * BufferView_pimpl.h:
7508         * BufferView_pimpl.C:
7509         * BufferView.h:
7510         * BufferView.C: make painter() const,
7511           remove dead code
7512
7513         * BufferView2.C: use screen() accessor
7514
7515         * lyx_main.h:
7516         * lyx_main.C: some minor cleanup
7517
7518 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7519
7520         * BufferView_pimpl.h:
7521         * BufferView_pimpl.C: remove enter/leaveView,
7522           use workHeight()
7523
7524 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7525
7526         * BufferView.h:
7527         * BufferView.C:
7528         * BufferView2.C:
7529         * BufferView_pimpl.h:
7530         * BufferView_pimpl.C: only construct screen once,
7531           rename
7532
7533         * lyxrc.C: remove pointless comment
7534
7535 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
7536
7537         * BufferView.h:
7538         * BufferView.C: remove active() and belowMouse()
7539
7540         * BufferView_pimpl.h:
7541         * BufferView_pimpl.C: use workarea() not workarea_,
7542           and make it use a scoped_ptr instead
7543
7544 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
7545
7546         * lyx_gui.C: add debug message on BadWindow
7547
7548 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7549
7550         * sp_spell.C: fdopen is not part of the C++ standard.
7551
7552         * paragraph.C (InsetIterator): use >= instead of ==
7553
7554 2002-06-07  Angus Leeming  <leeming@lyx.org>
7555
7556         Fixes needed to compile with Compaq cxx 6.5.
7557         * BufferView_pimpl.C:
7558         * DepTable.C:
7559         * buffer.C:
7560         * converter.C:
7561         * encoding.C:
7562         * lyx_gui.C:
7563         * lyx_main.C:
7564         * lyxtextclasslist.C:
7565         * minibuffer.C:
7566         * sp_spell.C:
7567         * tabular_funcs.C:
7568         * vc-backend.C:
7569         all c-library variables have been moved into namespace std. Wrap
7570         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
7571
7572         * lyxlength.C:
7573         * tabular-old.C:
7574         * tabular.C:
7575         Add a using std::abs declaration.
7576
7577         * kbmap.h (modifier_pair):
7578         * paragraph.h (InsetTable, InsetList):
7579         * lyxfont.h (FontBits):
7580         type definition made public.
7581
7582         * bufferlist.C (emergencyWriteAll): the compiler complains that
7583         there is more than one possible lyx::class_fun template to choose from.
7584         I re-named the void specialisation as lyx::void_class_fun.
7585
7586         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
7587
7588         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
7589         the compiler is is unable to find tostr in write_attribute.
7590
7591 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7592
7593         * buffer.C (sgmlError): hide #warning
7594
7595 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7596
7597         * xtl/*: get rid of xtl, which is not in use anyway
7598
7599         * LyXAction.C (init):
7600         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
7601         were unimplemented xtl experimentation
7602
7603 2002-06-04  André Pönitz <poenitz@gmx.net>
7604
7605         * lyxfunc.C: disable array operation on simple formulae
7606
7607 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
7608
7609         * converter.C: constify a bit
7610
7611 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
7612
7613         * lyx_gui.C: check xforms version correctly
7614
7615 2002-04-30  Herbert Voss  <voss@lyx.org>
7616
7617         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
7618         "keep" option
7619
7620 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
7621
7622         * lyxvc.C: fix bug 416 (make sure buffer is saved before
7623           attempt to register it with a VCS)
7624
7625 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7626
7627         * lyx_main.C (init): honor variables LYX_DIR_13x and
7628         LYX_USERDIR_13x
7629
7630 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
7631
7632         * buffer.h:
7633         * buffer.C:
7634         * lyx_main.C: fix a crash on bad command line,
7635           and give a useful exit status on error
7636
7637         * lyxfunc.C (doImport): allow -i lyx to work
7638
7639 2002-03-30  André Pönitz <poenitz@gmx.net>
7640
7641         * lyxfunc.C: mathed font changes
7642
7643 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
7644
7645         * LaTeX.C:
7646         * importer.h:
7647         * importer.C:
7648         * lyx_sty.h:
7649         * lyx_sty.C:
7650         * lyxlex.C:
7651         * lyxrow.h:
7652         * lyxtext.h:
7653         * paragraph.h:
7654         * paragraph.C:
7655         * texrow.h:
7656         * texrow.C:
7657         * text.C:
7658         * trans_mgr.h: srcdocs, and some minor cleanups
7659
7660 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7661
7662         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
7663         call getFont all the time)
7664
7665 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7666
7667         * switch from SigC signals to boost::signals
7668
7669 2002-05-29  André Pönitz <poenitz@gmx.net>
7670
7671         * paragraph_pimpl.C (getChar): don't call size() too often...
7672
7673 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7674
7675         * paragraph_pimpl.C (insertChar): do not try to update tables when
7676         appending (pos == size())
7677
7678         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
7679         in order to reduce drastically the number of comparisons needed to
7680         parse a large document
7681
7682 2002-05-29  André Pönitz <poenitz@gmx.net>
7683
7684         * text.C:
7685         * text2.C:
7686         * lyxtextclass.C:
7687         * sp_pspell.h:
7688         * textclasslist.[Ch]:
7689         * sp_ispell.h: whitespace change
7690
7691 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7692
7693         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
7694         lyxaction directly now.
7695
7696 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
7697
7698         * trans.C:
7699         * lyxfont.C:
7700         * lyxvc.C: remove unused headers
7701
7702 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
7703
7704         * Makefile.am:
7705         * buffer.h:
7706         * undostack.h:
7707         * undostack.C:
7708         * undo_funcs.h:
7709         * undo_funcs.C: some cleanups. Use shared_ptr
7710           and a template for the undo stacks.
7711
7712 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
7713
7714         * BufferView_pimpl.h:
7715         * BufferView_pimpl.C:
7716         * kbmap.h:
7717         * kbmap.C:
7718         * kbsequence.h:
7719         * kbsequence.C:
7720         * lyxfunc.h:
7721         * lyxfunc.C:
7722         * text2.C: use key_state/mouse_state
7723
7724 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7725
7726         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
7727         and LSubstring
7728
7729         * chset.C: change include order
7730         (loadFile): use boost regex and get rid of LRegex and LSubstring
7731
7732         * Makefile.am (BOOST_LIBS): new variable
7733         (lyx_LDADD): use it
7734
7735         * LaTeX.C: change include order.
7736         (scanAuxFile): use boost regex and get rid of LRegex and
7737         LSubstring
7738         (deplog): ditto
7739
7740 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
7741
7742         * ColorHandler.h:
7743         * ColorHandler.C:
7744         * FontInfo.h:
7745         * FontInfo.C: moved to frontends/xforms/
7746
7747         * FontLoader.h:
7748         * FontLoader.C: moved into frontends for GUIIzation
7749
7750         * Makefile.am:
7751         * lyx_gui.C:
7752         * lyxfont.C:
7753         * lyxfunc.C: changes from above
7754
7755 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
7756
7757         * LColor.C: remove spurious X include
7758
7759         * BufferView_pimpl.C:
7760         * Makefile.am:
7761         * font.h:
7762         * font.C:
7763         * text.C:
7764         * text2.C: move font metrics to frontends/
7765
7766 2002-05-24  Juergen Vigna  <jug@sad.it>
7767
7768         * undo_funcs.C (textHandleUndo): fix the cursor selection after
7769         setting the undo_cursor.
7770
7771         * ParagraphParameters.h: include local includes first.
7772
7773 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7774
7775         * BufferView_pimpl.C:
7776         * BufferView_pimpl.h:
7777         * Makefile.am:
7778         * WorkArea.h:
7779         * WorkArea.C:
7780         * screen.C: move WorkArea into frontends/
7781
7782         * lyxscreen.h:
7783         * screen.C:
7784         * text.C:
7785         * BufferView.C:
7786         * BufferView2.C: move LyXScreen into frontends/
7787
7788         * lyxlookup.h:
7789         * lyxlookup.C:
7790         * lyx_gui.C: move lyxlookup into frontends/xforms/
7791
7792 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7793
7794         * BufferView2.C:
7795         * BufferView_pimpl.C:
7796         * FontLoader.C:
7797         * LyXView.h:
7798         * LyXView.C:
7799         * Makefile.am:
7800         * WorkArea.C:
7801         * XFormsView.h:
7802         * XFormsView.C:
7803         * buffer.C:
7804         * bufferlist.C:
7805         * bufferview_funcs.C:
7806         * converter.C:
7807         * importer.C:
7808         * lyx_cb.C:
7809         * lyx_gui.C:
7810         * lyx_main.C:
7811         * lyx_find.C:
7812         * lyxfunc.C:
7813         * lyxvc.C:
7814         * minibuffer.C:
7815         * text.C:
7816         * text2.C:
7817         * trans.C:
7818         * vc-backend.C: move LyX/XFormsView into frontends/
7819
7820 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7821
7822         * Makefile.am:
7823         * PainterBase.C:
7824         * PainterBase.h:
7825         * Painter.C:
7826         * Painter.h:
7827         * WorkArea.C:
7828         * WorkArea.h:
7829         * screen.C:
7830         * tabular.C:
7831         * text.C:
7832         * text2.C: move Painter to frontends/
7833
7834 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7835
7836         * buffer.C: comment out some some code that depend upon lyx_format
7837         < 220
7838
7839         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
7840         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
7841
7842         * buffer.h (NO_COMPABILITY): turn off compability
7843
7844         * ColorHandler.C: include scoped_array.hpp
7845
7846         * font.C: Use more specific smart_ptr header.
7847         * Painter.C: ditto
7848         * gettext.C: ditto
7849         * ShareContainer.h: ditto
7850         * lyx_main.h: ditto
7851         * kbmap.h: ditto
7852         * FontInfo.h: ditto
7853         * BufferView_pimpl.h: ditto
7854         * ColorHandler.h: ditto
7855
7856         * kbmap.C (defkey): change call to shared_ptr::reset
7857
7858 2002-05-21  Juergen Vigna  <jug@sad.it>
7859
7860         * buffer.C (insertErtContents): fix to insert ert asis if it is
7861         non empty. Skip it completely if it contains only whitespaces.
7862
7863 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
7864
7865         * BufferView_pimpl.C:
7866         * BufferView2.C: clear selection on paste (bug 393)
7867
7868 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7869
7870         * DepTable.C: include ctime
7871
7872 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
7873
7874         * buffer.C (latexParagraphs): Add new argument (moving_arg).
7875
7876 2002-05-14  Juergen Vigna  <jug@sad.it>
7877
7878         * text.C (breakParagraph): fixed function to honor the keepempty
7879         layout in the right maner and also to permit the right breaking
7880         algorithm on empty or non empyt keepempty paragraphs.
7881
7882         * paragraph.C (breakParagraph): we have to check also if the par
7883         is really empty (!size()) for isempty otherwise we do the wrong
7884         paragraph break.
7885
7886 2002-05-10  Juergen Vigna  <jug@sad.it>
7887
7888         * buffer.[Ch] : The following are only changes to the ert
7889         compatibility read reading old LaTeX layout and font stuff and
7890         convert it to ERTInsets.
7891
7892         * buffer.h: added isErtInset().
7893
7894         * buffer.C (struct ErtComp): add a fromlayout bool to check
7895         if we're inside a LaTeX layout.
7896         (isErtInset): new helper function.
7897         (insertErtContents): look for other ert insets before this one
7898         and insert the contents there, so that we don't have subsequent
7899         ERT insets with nothing between them. This way we create only one
7900         inset with multiple paragraphs. Also check if we don't insert only
7901         spaces ' ' as they are ignored anyway afterwards in the .tex file
7902         so if we have only spaces we will ignore this latex part in the
7903         new file.
7904         (parseSingleLyXformat2Token \\layout): better compatibility when
7905         reading layout-latex stuff.
7906         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
7907         language tag.
7908         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
7909         stuff after reading the inset only get the information back from
7910         the stack.
7911
7912 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
7913
7914         * buffer.C (makeLaTeXFile): Put language options after loading babel.
7915
7916         * LaTeXFeatures.C (getBabelOptions): New method.
7917
7918 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7919
7920         * BufferView_pimpl.C (Dispatch): work around missing argument for
7921         'layout'
7922
7923 2002-05-08  Juergen Vigna  <jug@sad.it>
7924
7925         * text.C (leftMargin): handle paragraph leftindent.
7926
7927         * paragraph.C (writeFile): write the new \\leftindent tag.
7928         (validate): handle leftindent code.
7929         (TeXEnvironment): handle paragraphleftindent code again.
7930
7931         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
7932
7933         * buffer.C (parseSingleLyXformat2Token): added compatibility code
7934         for paragrap_extra indent code and new token \\leftindent.
7935         (latexParagraphs): handle the leftindent as environment.
7936
7937         * ParameterStruct.h: added leftindent support.
7938
7939         * ParagraphParameters.C (leftIndent): added support functions for
7940         the paragraph left indent.
7941
7942         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
7943         more appropriate.
7944
7945 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
7946
7947         * paragraph.C (isRightToLeftPar): Return false for a paragraph
7948         inside insetERT.
7949
7950         * text.C (computeBidiTables): No bidi in insetERT.
7951
7952         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
7953         in RTL documents.
7954
7955 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7956
7957         * version.C.in: pre 5
7958
7959 2002-05-02  José Matos  <jamatos@fep.up.pt>
7960         * buffer.C (makeDocBookFile): white space changes, add newline to
7961         command styles.
7962         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
7963
7964         * tabular.C (docBook): fix typo.
7965
7966 2002-05-03  Juergen Vigna  <jug@sad.it>
7967
7968         * screen.C (drawFromTo): recalculate the rowpointer if we had a
7969         change in LyXText as we can not be sure it was not freed.
7970         (drawOneRow): remove unused code.
7971
7972         * text.C (drawInset): redo the calculation of the need_break_row as
7973         it could have a row which was already freed.
7974         (draw): look at the return value of drawInset and return false if
7975         it also returned false.
7976         (paintRowText): look at the return value of draw and return false if
7977         it also returned false.
7978
7979         * lyxtext.h: added bool return type to drawInset() and draw() so that
7980         if we have a change in the row so that the rowbreak has to be redone
7981         we abort drawing as it will be called again.
7982
7983 2002-05-02  Juergen Vigna  <jug@sad.it>
7984
7985         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
7986         a change in the maintext also if we're inside an inset.
7987         (Dispatch): set the cursor again after a break line and after the
7988         screen has been updated as it could be we're in a different row.
7989
7990         * text2.C (fixCursorAfterDelete): check to make sure we don't request
7991         to set the cursor behind the pargraph with > size().
7992         (setCursor): check also for the same paragraph when checking where
7993         to put the cursor if we have a NFR inset.
7994
7995         * buffer.C (parseSingleLyXformat2Token): move the compatibility
7996         parts of layout read further up as it still was in the wrong
7997         position.
7998
7999 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8000
8001         * screen.C (drawFromTo): change sine fullRebreak always return
8002         true.
8003
8004         * buffer.C (parseSingleLyXformat2Token): reindent some
8005
8006         * BufferView_pimpl.C (update): change since fullRebreak always
8007         return true.
8008         (Dispatch): git rid of the last hardcoded "Standard"s.
8009
8010 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8011
8012         * text2.[Ch] (fullRebreak): make it return void now that we always
8013         returned true.
8014
8015 2002-04-30  Juergen Vigna  <jug@sad.it>
8016
8017         * buffer.C (parseSingleLyXformat2Token): reset the font before the
8018         ert compatibility check for "latex" layout.
8019
8020 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
8021
8022         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8023         minipages: use col% instead of p%, and also use the current font.
8024         (makeLaTeXFile): Fix use babel condition.
8025         (parseSingleLyXformat2Token): Correct font when reading old floats.
8026
8027 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
8028
8029         * BufferView_pimpl.C (Dispatch): Check that float type exists when
8030         inserting list of floats.
8031
8032 2002-04-25  Herbert Voss  <voss@lyx.org>
8033
8034         * MenuBackend.C (expand): don't add the graphics extensions to the
8035         export menu
8036
8037 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8038
8039         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8040         non-existing layout, do not complain if it was the default layout
8041         of the original class (bug #342)
8042
8043 2002-04-24  Juergen Vigna  <jug@sad.it>
8044
8045         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
8046         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
8047
8048 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
8049
8050         * buffer.C (getBibkeyList): If using \bibliography, return the
8051         option field with the reference itself. Enables us to provide natbib
8052         support when using \bibliography.
8053
8054 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
8055
8056         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
8057
8058         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8059         natbib is provided by the LaTeX class.
8060
8061 2002-04-23  Juergen Vigna  <jug@sad.it>
8062
8063         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
8064         Wakeup functions.
8065
8066         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
8067
8068 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8069
8070         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
8071
8072         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
8073         ensuremath around textordmasculine, textordfeminine and
8074         textdegree.
8075
8076 2002-04-19  Juergen Vigna  <jug@sad.it>
8077
8078         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
8079         reinitializing the buffer otherwise row-dimensions may be wrong.
8080         (update): reset also the selection cursors if they do exits otherwise
8081         their x/y positions may be wrong.
8082
8083         * text2.C (cursorDown): don't enter the inset if we came from a row
8084         above and are one row over the inset.
8085
8086         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
8087         really leaving an inset.
8088
8089 2002-04-18  Juergen Vigna  <jug@sad.it>
8090
8091         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
8092         of the selected paragraph does not have the selected layout also if
8093         the last one had!
8094
8095         * text2.C (setLayout): fixed bug which did not change last selected
8096         paragraph.
8097
8098         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
8099         changed the read and substituted \\end_float with \\end_inset!
8100
8101         * BufferView_pimpl.C (cursorPrevious):
8102         (cursorNext): fixed to make it work with rows heigher than the work
8103         area without moving the cursor only the draw of the row.
8104         (workAreaMotionNotify): fix jumping over high rows.
8105
8106 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8107
8108         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
8109         Ressler.
8110
8111 2002-04-16  Juergen Vigna  <jug@sad.it>
8112
8113         * text2.C (setCursor): set also the irow().
8114         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
8115         (cursorUp):
8116         (cursorDown): support for locking an inset if the x_fix value goes
8117         inside it. That way I can transverse insets too with cursor up/down.
8118
8119         * lyxrow.h: added irow helper function same as other (i) functions.
8120
8121         * BufferView_pimpl.C (cursorPrevious):
8122         (cursorNext): fixed for insets!
8123
8124 2002-04-15  Juergen Vigna  <jug@sad.it>
8125
8126         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
8127         position otherwise it is wrong in some cases.
8128
8129         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
8130         inside the inset before the call.
8131
8132 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
8133
8134         * buffer.[Ch] (getBibkeyList): make it const.
8135
8136 2002-04-12  Juergen Vigna  <jug@sad.it>
8137
8138         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
8139
8140         * text2.C (getCursorX): new helper function
8141         (setCursor): compute also ix_
8142         (setCursorFromCoordinates): set also ix.
8143
8144         * lyxcursor.h: added ix_ and helper functions.
8145
8146         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8147
8148         * buffer.C (insertStringAsLines): dont break paragraph if the this
8149         paragraph is inside an inset which does not permit it!
8150
8151         * text.C (breakParagraph): honor keepempty flag and break the paragraph
8152         also with no chars on this paragraph.
8153         (paintRowText): only paint stuff if it's inside the workarea!
8154
8155         * paragraph.C (breakParagraph): honor keepempty flag and break the
8156         paragraph always below not above.
8157
8158         * BufferView2.C (unlockInset): update the paragraph layout on inset
8159         unlock as we changed paragraph in such a case.
8160
8161         * lyxfind.C (LyXFind): clear the former selection if not found!
8162
8163         * text2.C (insertInset): freeze Undo after setUndo so that it is not
8164         again called in insertChar().
8165
8166         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8167         an inset which uses the whole row!
8168         (rightMargin): ditto.
8169         (insertChar): force a rebreak if we inserted an inset!
8170
8171 2002-03-28  Herbert Voss  <voss@lyx.org>
8172
8173         * lyxlength.[Ch]: add inBP() to get the right PS-point
8174         units (BigPoint). With inPixels we have rounding errors
8175
8176 2002-04-11  Juergen Vigna  <jug@sad.it>
8177
8178         * text2.C (setCursorFromCoordinates): set iy to the right value.
8179         (setCursor): add check if row->previous exists!
8180
8181         * buffer.C (parseSingleLyXformat2Token): reset font after read of
8182         an old float_type as this was the case in the old code!
8183
8184         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8185
8186         * BufferView2.C (showLockedInsetCursor): use iy
8187         (fitLockedInsetCursor): ditto
8188
8189         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8190         locked insets as there we have the right value now.
8191
8192         * lyxcursor.C: added iy_ variable and iy functions to set to the
8193         baseline of cursor-y of the locked inset.
8194
8195         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8196         (setCursor): fixed for insets which need a full row.
8197
8198         * text.C (rowLastPrintable): don't ignore the last space when before
8199         an inset which needs a full row.
8200         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8201         as last character of a row when before a inset which needs a full row.
8202
8203 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8204
8205         * version.C.in: update date
8206
8207         * text2.C (fullRebreak): try to always return true and see what
8208         happens...
8209
8210 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8211
8212         * MenuBackend.C (expand): use Floating::listName
8213
8214         * FloatList.C (FloatList): add listName argument to the built-in
8215         floats
8216
8217         * Floating.[Ch]: add listName member, which is the 'List of XXX'
8218         text associated with the float.
8219
8220 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8221
8222         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8223
8224 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8225
8226         * ShareContainer.h: add a couple of missing typenames.
8227
8228 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
8229
8230         * lyxrc.C (getDescription): use _() correctly rather than N_().
8231
8232 2002-03-28  Herbert Voss  <voss@lyx.org>
8233
8234         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8235         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8236
8237 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8238
8239         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8240         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8241
8242 2002-03-29  Juergen Vigna  <jug@sad.it>
8243
8244         * lyxfunc.C (dispatch): add a missing fitCursor call.
8245
8246         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8247         it was scrolled by a cursor move, so return the bool status.
8248
8249         * BufferView.C (fitCursor): return the bool flag also to the outside
8250         world as this is needed.
8251
8252         * screen.C (toggleToggle): don't subtract the offset if it's positive.
8253
8254         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8255         call the edit() as it is not needed (and wrong) IMO.
8256         (workAreaButtonPress): set the screen_first variable before evt.
8257         unlock the inset as this may change screen_first and then we have
8258         a wrong y position for the click!
8259
8260 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8261
8262         * MenuBackend.C (expand): another translation that I missed
8263
8264 2002-03-28  Juergen Vigna  <jug@sad.it>
8265
8266         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8267
8268         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8269
8270 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8271
8272         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8273
8274         * MenuBackend.C (expand): fix export/view/update when there is no
8275         document open.
8276
8277 2002-03-27  Herbert Voss  <voss@lyx.org>
8278
8279         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8280         and text%
8281
8282 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8283
8284         * bufferview_funcs.C (currentState): only show paragraph number
8285         for is DEVEL_VERSION is set.
8286
8287         * lyxfunc.C (dispatch): put warning in INFO channel
8288
8289         * MenuBackend.C (expand): translate the name of floats
8290
8291         * FloatList.C (FloatList): mark the float names for translation
8292
8293         * converter.C (convert): use LibScriptSearch
8294
8295 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8296
8297         * MenuBackend.C (defaults): fix default menu (we might as well get
8298         rid of it...)
8299
8300 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8301
8302         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8303         directory.
8304
8305 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8306
8307         * lyxvc.C: reorder includes.
8308
8309 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
8310
8311         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8312           properly
8313
8314 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
8315
8316         * CutAndPaste.C: change layouts earlier on paste
8317           to avoid crashing when calling getFont()
8318
8319 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
8320
8321         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
8322         irritating #error.
8323
8324 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8325
8326         * WorkArea.C: remove 'Pending' debug message.
8327
8328         * most files: ws cleanup
8329
8330         * buffer.[Ch]: ws changes
8331
8332         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
8333
8334 2002-03-21  Juergen Vigna  <jug@sad.it>
8335
8336         * tabular.C (SetMultiColumn): collapse also the contents of the
8337         cells and set the last border right. Added a Buffer const * param.
8338
8339 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8340
8341         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
8342         linking or not.
8343
8344 2002-03-19  Juergen Vigna  <jug@sad.it>
8345
8346         * text2.C (clearSelection): reset also xsel_cache.
8347
8348         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
8349         where it needs to be called (John tells us to do so too :)
8350         (selectionLost): reset sel_cache.
8351
8352         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
8353
8354 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8355
8356         * text2.C (setCursorIntern): put debuging code in INSETS channel
8357
8358 2002-03-19  André Pönitz <poenitz@gmx.net>
8359
8360         * lyxfunc.C: tiny whitespace change
8361
8362 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8363
8364         * ToolbarDefaults.C (init):
8365         * LyXAction.C (init):
8366         * commandtags.h:
8367         * BufferView_pimpl.C (Dispatch):
8368         * lyxfunc.C (dispatch): remove LFUN_DEPTH
8369
8370 2002-03-19  Allan Rae  <rae@lyx.org>
8371
8372         * exporter.C (Export): removeAutoInsets before doing anything else.
8373         While I've just introduced a dependency on BufferView this really is
8374         the best place to clean the buffer otherwise you need to cleanup in
8375         a dozen places before calling export or cleanup in a dozen functions
8376         that export calls.
8377
8378         * converter.C (runLaTeX):
8379         (scanLog): Better handling of removeAutoInsets and screen updates.
8380
8381         * lyxfunc.C (dispatch): small whitespace changes
8382
8383 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8384
8385         * WorkArea.C (C_WorkAreaEvent): return a value.
8386         (event_cb): return 1 if we handled the event, 0 otherwise.
8387
8388         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
8389
8390 2002-03-18  Juergen Vigna  <jug@sad.it>
8391
8392         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
8393         (GetAdditionalWidth): ditto.
8394         (RightLine): ditto.
8395         (LeftLine): ditto.
8396
8397         * BufferView2.C (copy): use getLyXText() so that we do it inside an
8398         inset if we're there actually (probably not used right now but this
8399         is the direction to go for unifying code).
8400         (paste): disable code to clear the selection.
8401
8402         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
8403         inside an InsetText and move the check further up as it is in the
8404         wrong place.
8405
8406         * text2.C (pasteSelection): set a selection over the pasted text.
8407
8408 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
8409
8410         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
8411         and libgraphics to build on Cygwin.
8412
8413 2002-03-15  Juergen Vigna  <jug@sad.it>
8414
8415         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
8416         inserting an Inset into the paragraph. I know this is not the best
8417         fix but we already use current_view in CutAndPaste so we will remove
8418         all of it's using at the same time.
8419
8420         * buffer.C (sgmlError): deactivated function till it is rewritten in
8421         the right mode, now it can create problems.
8422
8423         * paragraph.C (isLineSeparator): check if getInset returns != 0,
8424         before accessing it.
8425
8426 2002-03-14  Juergen Vigna  <jug@sad.it>
8427
8428         * undo_funcs.C (textHandleUndo): do the right thing when updating
8429         the inset after the undo/redo.
8430
8431         * text2.C (setCursor): just some testcode for #44 not ready yet.
8432
8433         * undo_funcs.C (textHandleUndo): set the next() and previous()
8434         pointers of the paragraph to 0 before deleting otherwise we have
8435         problems with the Paragraph::[destructor].
8436
8437         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
8438         on a paragraph insertion.
8439
8440 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8441
8442         * buffer.C (asciiParagraph): use += operator for char append to
8443         string.
8444
8445         * paragraph.C (getFontSettings): compare >= not just >
8446         (highestFontInRange): ditto
8447         (setFont): ditto
8448
8449 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8450
8451         * paragraph.C: change several algorithm to be more appripriate for
8452         the problem domain. This is lookip in FontList and in the InsetList.
8453
8454 2002-03-13  André Pönitz <poenitz@gmx.net>
8455
8456         * commandtags.h:
8457         * LyXAction.C: remove unused LFUN_MATH_MACROARG
8458
8459 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
8460
8461         * commandtags.h:
8462         * LyXAction.C:
8463         * lyxfunc.C:
8464         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
8465
8466 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8467
8468         * Painter.C (display): anon helper function, adjust code for this
8469         change.
8470         (pixmap): remove function.
8471
8472         * Painter.h: remove private display variable.
8473
8474         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
8475
8476 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
8477
8478         * WorkArea.[Ch]: remove figinset_canvas cruft.
8479
8480 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8481
8482         * lyxtextclass.C (operator): add one item cache optimization.
8483
8484         * bufferlist.h: doxy changes
8485
8486         * bufferlist.C: ws changes
8487
8488         * DepTable.[Ch] (ext_exist): place const in the right spot.
8489
8490         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
8491         call resizeInsets.
8492         (workAreaExpose): call resizeInsets when the with BufferView changes.
8493         (Dispatch): adjust for protectedBlank removal
8494         (specialChar): call updateInset if the insert went ok.
8495
8496         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
8497         specialChar instead.
8498
8499         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
8500
8501         * BufferView.h: doxy change
8502
8503         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
8504
8505         * lyxtextclass.C (operator[]): remove non-const version
8506         (defaultLayout): remove non-const version
8507
8508 2002-03-12  Juergen Vigna  <jug@sad.it>
8509
8510         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
8511         did resize the LyXText too.
8512
8513         * buffer.C (readLyXformat2): set layout information on newly allocated
8514         paragraphs.
8515
8516         * tabular.C (OldFormatRead): set layout information on the paragraph.
8517
8518 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8519
8520         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
8521
8522 2002-03-11  Juergen Vigna  <jug@sad.it>
8523
8524         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
8525         plainly wrong.
8526         (resizeCurrentBuffer): force also the insets to resize themselfes.
8527         (moveCursorUpdate): fixed up for InsetText.
8528
8529 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
8530
8531         * commandtags.h:
8532         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
8533         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
8534         value of Dialogs::tooltipsEnabled().
8535         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
8536
8537 2002-03-08  Juergen Vigna  <jug@sad.it>
8538
8539         * BufferView_pimpl.C (updateInset): update inset inside inset also
8540         if it isn't inside theLockingInset().
8541
8542 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8543
8544         * buffer.C (asciiParagraph): redo some of the word and line length
8545         handling.
8546         (getLists): look for Caption instead of caption.
8547
8548 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8549
8550         * buffer.C (Buffer): initialize niceFile to true
8551         (makeLaTeXFile):
8552         (makeLinuxDocFile):
8553         (makeDocBookFile): make sure niceFile is true on exit
8554
8555 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8556
8557         * buffer.C (makeLaTeXFile): escape ~ in \input@path
8558
8559 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
8560
8561         * LyXSendto.C: remove.
8562         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
8563         * lyx_gui.C: remove now-redundant comment.
8564         * ColorHandler.h: remove forward declaration of class WorkArea.
8565         * lyxfunc.C: remove #include "WorkArea.h".
8566
8567 2002-03-07  Juergen Vigna  <jug@sad.it>
8568
8569         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
8570         got moved away with the DEPM and also set the inset_owner always
8571         right which before could have been omitted.
8572
8573 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8574
8575         * buffer.C (parseSingleLyXformat2Token): use default layout is the
8576         wanted layout is not found.
8577
8578 2002-03-07  Juergen Vigna  <jug@sad.it>
8579
8580         * CutAndPaste.C (cutSelection): another layout settings forgotten.
8581
8582 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8583
8584         * paragraph.C (breakParagraph): use default layout not layout of
8585         prev paragraph.
8586         (Paragraph): clear ParagraphParameters.
8587
8588 2002-03-06  Juergen Vigna  <jug@sad.it>
8589
8590         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
8591         otherwise it would not be a valid lenght. Fixed a special case in
8592         the minipage compatibility read where we end the document with a
8593         minipage.
8594
8595         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
8596         was set as it could be 0 for InsetTexts first entry.
8597
8598 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8599
8600         * paragraph.C (writeFile): if layout is empty write out
8601         defaultLayoutName().
8602
8603         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
8604         file without named layout we set layout to defaultLayoutName().
8605
8606 2002-03-06  Juergen Vigna  <jug@sad.it>
8607
8608         * CutAndPaste.C (copySelection): set layout for new paragraph.
8609
8610         * text.C (prepareToPrint): leave ERT inset left aligned
8611         (leftMargin): don't indent paragraphs inside ERT insets
8612
8613 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8614
8615         * paragraph.C (breakParagraph): dont call clear do the work manually
8616
8617         * paragraph.[Ch] (clear): remove function
8618
8619 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8620
8621         * paragraph.C (Paragraph): dont call clear, the work has already
8622         been done.
8623
8624         * lyxtextclass.C (operator): assert if n is empty
8625
8626         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
8627         work manually instead.
8628
8629 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
8630
8631         * BufferView_pimpl.C: protect selectionLost against text == 0
8632
8633 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8634
8635         * text.C (breakParagraph): fix a setting layout to '0' problem.
8636
8637 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8638
8639         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
8640         final location of file, for the included files, and graphics.
8641
8642 2002-03-05  Juergen Vigna  <jug@sad.it>
8643
8644         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
8645
8646 2002-03-04  Juergen Vigna  <jug@sad.it>
8647
8648         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
8649
8650         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
8651         last column of multicolumn cells.
8652         (SetWidthOfMulticolCell): recalculate NMC and real columns.
8653
8654 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8655
8656         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
8657         file if it doesn't go to a temporary file.
8658
8659         * buffer.C (sgmlOpenTag):
8660         (sgmlCloseTag):  remove extra newline insertion.
8661
8662 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8663
8664         * text.C (getRowNearY): comment out debug msg
8665
8666 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8667
8668         * text2.C: first -> first_y
8669
8670         * text.C (getRowNearY): add some attemts at a possible
8671         optimization, not working.
8672
8673         * tabular.[Ch]: add BufferParams to several function so that newly
8674         created paragraph can be initialized to he default layotu for the
8675         buffers textclass.
8676
8677         * tabular-old.C (ReadOld): add buf->params to call of Init
8678
8679         * screen.C: rename text->first to text->first_y
8680
8681         * paragraph.C (breakParagraph): always set layout in the broken
8682         paragraph
8683
8684         * lyxtextclass.C (Read): remove lowercase
8685         (hasLayout): ditto
8686         (operator): ditto
8687         (delete_layout): ditto
8688
8689         * lyxtext.h: rename first -> first_y
8690
8691         * lyxlayout.C (Read): remove lowercase
8692         (name): ditto
8693         (setName): ditto
8694         (obsoleted_by): ditto
8695
8696         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
8697
8698         * buffer.C (insertErtContents): add params are to InsetERT
8699         (parseSingleLyXformat2Token): add code to check if a paragraphs
8700         layout really exist.
8701         (parseSingleLyXformat2Token): add params to several inset
8702         constructors
8703         (asciiParagraph): remove lowercase, do the layout comparisons with
8704         no_case
8705
8706         * BufferView_pimpl.C (cursorNext): first -> first_y
8707         (resizeCurrentBuffer): first -> first_y
8708         (updateScrollbar): first -> first_y
8709         (scrollCB): first -> first_y
8710         (workAreaMotionNotify): first -> first_y
8711         (workAreaButtonPress): first -> first_y
8712         (checkInsetHit): first -> first_y
8713         (cursorPrevious): first -> first_y
8714         (cursorNext): first -> first_y
8715         (Dispatch): add buffer_->params to severl inset contructors
8716
8717 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8718
8719         * lyxlayout.C (Read): remove some debug info that I forgot.
8720
8721         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
8722         clean up the code slightly.
8723         (makeLinuxDocFile): ditto
8724         (makeDocBookFile): ditto
8725
8726         * text2.C: layout as string
8727
8728         * text.C: layout as string
8729
8730         * paragraph_pimpl.C: layout as string
8731
8732         * paragraph.[Ch]: layout as string
8733
8734         * lyxtextclasslist.[Ch]: layout as string
8735
8736         * lyxtextclass.[Ch]: layout as string
8737
8738         * lyxtext.h: layout as string
8739
8740         * lyxlayout.[Ch]: layout as string
8741
8742         * lyx_cb.C: layout as string
8743
8744         * bufferview_funcs.C: layout as string
8745
8746         * bufferparams.C: layout as string
8747
8748         * buffer.C: layout as string
8749
8750         * LyXView.[Ch]: layout as string
8751
8752         * LaTeXFeatures.[Ch]: layout as string
8753
8754         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
8755
8756         * BufferView_pimpl.C: change current_layout to string, remove
8757         lyx::layout_type.
8758         (Dispatch):
8759         (smartQuote):
8760         (insertInset):
8761         (workAreaButtonRelease): layout as string
8762
8763         * BufferView2.C (unlockInset): adjust
8764
8765         * vspace.C (asLatexCommand): use an explict temp variable.
8766
8767 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
8768
8769         * Makefile.am: use FRONTEND_*
8770
8771 2002-03-01  Juergen Vigna  <jug@sad.it>
8772
8773         * tabular.C (SetWidthOfMulticolCell): changed to something better
8774         I hope but still work in progress.
8775         (recalculateMulticolumnsOfColumn): renamed function from
8776         recalculateMulticolCells as it is more appropriate now.
8777         (SetWidthOfCell): calculate multicols better.
8778
8779 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8780
8781         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
8782
8783         * lyxfunc.C (processKeySym): print sequence also if it is
8784         `deleted' (complete)
8785
8786         * kbsequence.C (print): print sequence even if it is deleted
8787         (complete would be a better word, actually).
8788
8789         * lyxfunc.C (dispatch): print complete options after a prefix key
8790
8791         * vspace.C (asLatexCommand): rewrite in a slightly different form.
8792
8793 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
8794
8795         * text2.C (setCharFont): eliminate setCharFont code duplication.
8796
8797 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8798
8799         * BufferView_pimpl.C (Dispatch): remove bogus handling of
8800         LFUN_TABULAR_FEATURE (bug #177)
8801
8802 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
8803
8804         * Makefile.am: remove figure.h
8805
8806 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
8807
8808         * Bufferview_pimpl.C:
8809         * CutAndPasteC:
8810         * LaTeX.C:
8811         * LyXSendto.C:
8812         * buffer.C:
8813         * bufferlist.C:
8814         * converter.C:
8815         * language.C:
8816         * lyxfunc.C:
8817         * lyxvc.C:
8818         * paragraph.C:
8819         * text.C:
8820         * text2.C: remove #include "lyx_gui_misc.h".
8821
8822         * LaTeX.C: added #include <cstdio>
8823
8824 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8825
8826         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
8827         that the paragraph following this one can have.
8828
8829         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
8830
8831         * vspace.C (asLatexCommand): fix bogus gcc warning
8832
8833         * Makefile.am (lyx_SOURCES): remove vms_defines.h
8834
8835 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
8836
8837         * text2.C (setLayout): get rid of redundant code
8838
8839 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
8840
8841         * text2.C (incDepth): make sure depth cannot be increased beyond
8842         reasonable values.
8843
8844 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
8845
8846         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
8847         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
8848
8849         * PainterBase.h (image):
8850         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
8851         a LyXImage const *.
8852
8853 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
8854
8855         * BufferView.C:
8856         * BufferView.h:
8857         * BufferView_pimpl.C:
8858         * BufferView_pimpl.h:
8859         * LaTeXFeatures.C:
8860         * LyXAction.C:
8861         * LyXView.C:
8862         * Makefile.am:
8863         * UpdateList.h:
8864         * UpdateList.C:
8865         * buffer.C:
8866         * figure.h:
8867         * figureForm.C:
8868         * figureForm.h:
8869         * figure_form.C:
8870         * figure_form.h:
8871         * lyx_cb.C:
8872         * lyx_gui.C:
8873         * lyx_gui_misc.C:
8874         * lyxfunc.C:
8875         * sp_base.h:
8876         * sp_ispell.h:
8877         * sp_pspell.h:
8878         * sp_spell.C: remove fig inset, and the crap house of
8879           cards that follows it
8880
8881 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
8882
8883         * Makefile.am:
8884         * lyxserver.C:
8885         * os2_defines.h:
8886         * os2_errortable.h:
8887         * nt_defines.h: move .h into support/
8888
8889         * vms_defines.h: remove
8890
8891         * WorkArea.C: add space in debug output
8892
8893         * text2.C:
8894         * paragraph.C:
8895         * buffer.C: add WITH_WARNINGS
8896
8897         * vc-backend.h:
8898         * vc-backend.C:
8899         * bufferlist.C: s/retrive/retrieve/, add docs
8900
8901         * vspace.h:
8902         * vspace.C:
8903         * kbmap.h:
8904         * lyxlength.h:
8905         * lyxgluelength.h:
8906         * length_common.h:
8907         * chset.h:
8908         * chset.C: add docs
8909
8910         * lyxgui.C: add ID to X error handler
8911
8912         * lyxtestclass.c: fix typo
8913
8914 2002-02-26  Juergen Vigna  <jug@sad.it>
8915
8916         * tabular_funcs.C (write_attribute): changed so that some default
8917         attributes are not written at all.
8918         (getTokenValue): set default values before trying to read the
8919         value so we have the return value always set as default if we don't
8920         find the token we search for.
8921
8922         * tabular.C (Write): write bools as bools not as strings!
8923
8924 2002-02-22  Juergen Vigna  <jug@sad.it>
8925
8926         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
8927         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
8928
8929         * text.C (leftMargin): don't add an indent for paragraphs inside
8930         tabular cells (fix #208).
8931
8932 2002-02-21  José Matos  <jamatos@fep.up.pt>
8933
8934         * tabular.C (docBook): fixed support for long tables.
8935
8936 2002-02-20  Juergen Vigna  <jug@sad.it>
8937
8938         * text2.C (getFont): get the drawing font of the Inset if this
8939         paragraph is inside an inset (only important for InsetERT for now).
8940
8941         * buffer.C (insertErtContents): use new lanugage params in ERT
8942         constructor.
8943
8944         * CutAndPaste.C: commenting out seemingly uneeded code.
8945
8946 2002-02-19  Allan Rae  <rae@lyx.org>
8947
8948         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
8949         Iterators might be simple to use but they also get invalidated.
8950         (removeAutoInsets): renamed saved cursor tracking variables and added
8951         some comments to clarify what everything does.
8952
8953 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
8954
8955         * Chktex.C:
8956         * LaTeX.C:
8957         * LyXSendto.C:
8958         * converter.C:
8959         * lyx_cb.C:
8960         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
8961         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
8962
8963         * lyxfunc.C:
8964         * vc-backend.h: remove #include "support/syscall.h"
8965
8966         * LaTeX.C:
8967         * LyXSendto.C:
8968         * converter.C: rearrange #includes in Lars' approved fashion.
8969
8970         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
8971         forward declare class Timeout in the header file.
8972
8973         * XFormsView.C: changes due to the above.
8974
8975         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
8976         similar to LyXView.
8977
8978         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
8979         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
8980
8981 2002-02-18  José Matos  <jamatos@fep.up.pt>
8982
8983         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
8984         insets contents.
8985
8986 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
8987
8988         * a lot of small ws changes
8989         * add a lot of using std::XXX
8990         * use std construcs some places where approp.
8991         * use some exisint stuff from lyxfunctional where approp.
8992         * Make file changes to use partial linking (lets test this now...)
8993
8994 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
8995
8996         * Chktex.C:
8997         * buffer.C:
8998         remove #include "support/syscontr.h" as it's redundant. Always has been.
8999
9000         * Chktex.C:
9001         * LaTeX.C:
9002         * LyXSendto.C:
9003         * converter.C:
9004         * lyx_cb.C:
9005         * vc-backend.C:
9006         change Systemcalls::System to Systemcalls::Wait and
9007         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9008         No change of functionality, just reflects the stripped down Systemcalls
9009         class.
9010
9011 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9012
9013         * debug.[Ch]: add a GRAPHICS type to the enum.
9014
9015 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9016
9017         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9018
9019         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9020         there is an inset.
9021
9022 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9023
9024         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9025         match the changes below.
9026
9027         * text2.C (toggleInset): if there is not editable inset at cursor
9028         position, try to see if cursor is _inside_ a collapsable inset
9029         and close it.
9030
9031 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9032
9033         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9034         document menu has a nice checkbox
9035
9036 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9037
9038         * lyxlength.C (asLatexString): change PW to output as percent of
9039         \textwidth.
9040
9041         * lengthcommon.C: change '%' to 't%'
9042
9043         * lyxfunc.C (dispatch): a few comments from Martin
9044
9045 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
9046
9047         * WorkArea.h:
9048         * WorkArea.C:
9049         * BufferView_pimpl.h:
9050         * BufferView_pimpl.C: clear our selection when X tells us we've lost
9051           the X selection.
9052
9053 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9054
9055         * vspace.C (inPixels): fix compiler warning
9056
9057 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9058
9059         * lyxfunc.C (getStatus): fix status message for disabled commands.
9060
9061 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
9062
9063         * BufferView_pimpl.C: fix crash on close buffer
9064         during selection (#227)
9065
9066 2002-01-27  Herbert Voss  <voss@lyx.org>
9067
9068         * buffer.C: link old Figure to new graphic inset
9069
9070 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
9071
9072         * FontLoader.C (getFontinfo): Change the latex font names in order
9073         to match the names of type1inst.
9074
9075 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9076
9077         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
9078
9079         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
9080         (extchanged): ditto
9081         (ext_exist): ditto
9082         (remove_files_with_extension): ditto
9083         (remove_file): ditto
9084         (write): ditto
9085
9086         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
9087         document is smaller than the work area height. Do not initialize
9088         static variables to 0.
9089
9090 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9091
9092         * lyx_gui.C (init): give the toolbar tooltips a normal font.
9093
9094         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
9095         LFUN_LAYOUT_PARAGRAPHS.
9096
9097         * tabular.C (GetCellFromInset): new method. Finds an inset in a
9098         tabular. It is possible to provide a possible cell, which will
9099         typically be the actcell from the corresponding insettabular
9100
9101         * lyxfunc.C (getStatus): small cleanup; disable
9102         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
9103         true
9104
9105 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9106
9107         * tabular.C (Validate): remove broken optimization (fixes bug #201)
9108
9109         * paragraph.C (startTeXParParams):
9110         (endTeXParParams): new methods. The LaTeX code to
9111         start/end paragraph formatting
9112         (simpleTeXOnePar): call startTeXParParams also when paragraph is
9113         empty (fixes bug #200)
9114
9115         * vspace.C (inPixels): adapt to the change below
9116         (inPixels): [later] more cleanups (remove unused variables)
9117
9118         * lyxlength.C (inPixels): change to use a width and a height as
9119         parameter.
9120
9121 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9122
9123         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
9124         Replaced with \paperwidth
9125
9126         * DepTable.C (insert): add std:: qualifier
9127
9128 2002-01-18  Allan Rae  <rae@lyx.org>
9129
9130         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
9131         updated also?
9132
9133         * text.C (drawInset): Turned out I didn't know enough about how
9134         rebreaking worked.  This fixes most of the redraw problems.  I see
9135         an occasional cursor trail when a line is broken now and the cursor
9136         placement can seem out by a few pixels also after a rebreak.
9137
9138 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9139
9140         * buffer.C (parseSingleLyXformat2Token): update because minipage
9141         width is now a LyXLength
9142
9143         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9144
9145         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9146         math insets
9147
9148 2002-01-17  Juergen Vigna  <jug@sad.it>
9149
9150         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9151
9152         * BufferView2.C (lockInset): call edit() so that theLockingInset()
9153         is set correctly and the inset is updated correctly.
9154
9155 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9156
9157         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
9158         the beginning of the loop.
9159
9160 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
9161
9162         * lyxrc.C: improve help for use_scalable_fonts
9163
9164 2002-01-17  Allan Rae  <rae@lyx.org>
9165
9166         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9167
9168 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9169
9170         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9171         make sure to set their inset_owner to the right value (bug #171)
9172
9173 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
9174
9175         * DepTable.h
9176         * DepTable.C: Implement mtime checking to reduce time spent doing
9177         CRCs.
9178
9179 2002-01-16  Juergen Vigna  <jug@sad.it>
9180
9181         * tabular.C (GetAdditionalHeight): one of error fixed.
9182
9183         * lyxrc.C (output): small fix in writing use_pspell.
9184
9185 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
9186
9187         * sp_base.h: #include LString.h
9188
9189 2002-01-16  Allan Rae  <rae@lyx.org>
9190
9191         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
9192         Can someone check this please?
9193
9194         * text.C (drawInset): It was possible that p.row would be removed by
9195         breakAgainOneRow upsetting a few other settings.  There may be another
9196         small tweak possible by setting need_break_row = 0 when p.row has been
9197         removed but I don't know enough about the logic here.
9198
9199 2002-01-15  Allan Rae  <rae@lyx.org>
9200
9201         * text.C (insertChar): removed conditional truism.
9202
9203         * BufferView2.C (removeAutoInsets): More tweaks.
9204         cur_par_prev could be a stray pointer.  Check for trailing empty line
9205         in case last line was cur_par and only had an error inset on it.
9206
9207 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9208
9209         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9210         absolute
9211
9212         * vc-backend.C (most methods):
9213         * exporter.C (Export):
9214         * converter.C (convert):
9215         (runLaTeX):
9216         * LyXSendto.C (SendtoApplyCB):
9217         * lyxfunc.C (dispatch):
9218         (menuNew):
9219         (open):
9220         (doImport):
9221         * lyx_cb.C (AutoSave):
9222         (InsertAsciiFile):
9223         * BufferView_pimpl.C (MenuInsertLyXFile):
9224         * buffer.C (runChktex): use Buffer::filePath().
9225
9226         * buffer.h: rename filename to filename_; rename filepath to
9227         filepath_ and make it private
9228         (filePath): new method
9229
9230         * buffer.C (writeFile): use fileName()
9231         (getLatexName):
9232
9233         * lyx_main.C (init): fix starting  of LyX when the binary is a
9234         link from so,ewhere else.
9235
9236         * minibuffer.C: include <cctype> for isprint
9237
9238 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9239
9240         * buffer.C (parseSingleLyXformat2Token): changes associated with the
9241         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9242         name clash with InsetCollapsable's width function.
9243
9244 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9245
9246         * lastfiles.C: include <iterator>
9247
9248 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9249
9250         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9251         std::count.
9252
9253         * buffer.C (makeLaTeXFile): ditto.
9254         Also make loop operation more transparent.
9255
9256 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9257
9258         * ToolbarDefaults.C: remove trailing comma closing namespace.
9259
9260         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9261
9262         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9263         as in WorkArea.
9264
9265         * trans.C (Load): comment out unused variable, allowed.
9266
9267 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9268
9269         * minibuffer.[Ch] (append_char): new method to recieve input from the
9270         drop-down completion browser. If a key was pressed, then recieve this
9271         char and append it to the existing string.
9272         (peek_event): modify the positioning data passed to the completion
9273         browser so that it can be placed above the minibuffer rather than below.
9274 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9275
9276         * LyXAction.C (init): alloe error-next for readonly documents.
9277
9278         * BufferView2.C (ChangeRefsIfUnique): use standard version of
9279         count.
9280
9281 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9282
9283         * bufferlist.C (readFile): create the buffer _after_ checking that
9284         the file exists.
9285
9286         * lyxfunc.C (verboseDispatch): fix handling of arguments
9287
9288         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9289
9290         * lyxrc.C: use string::erase() instead of initializing to "".
9291
9292
9293 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9294
9295         * BufferView_pimpl.h:
9296         * BufferView_pimpl.C:
9297         * WorkArea.h:
9298         * WorkArea.C:
9299         * text2.C: tell X when we have made a selection for copying
9300
9301 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9302
9303         * BufferView_pimpl.C (MenuInsertLyXFile):
9304         * lyxfunc.C (menuNew):
9305         (open):
9306         (doImport): add shortcuts to directory buttons
9307
9308         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9309         open a float)
9310
9311         * lyxfunc.C (setStatusMessage):
9312         (getStatusMessage): new methods
9313         (getStatus):use setStatusMessage instead of setErrorMessage
9314         (dispatch): when function is disabled, set error message here
9315         [instead of in getStatus previously]
9316
9317         * BufferView_pimpl.C (workAreaButtonRelease): update
9318         toolbar/menubar here too.
9319
9320 2002-01-13  Allan Rae  <rae@lyx.org>
9321
9322         * BufferView2.C (removeAutoInsets): finished off earlier fix.
9323         Now seems indestructible.  Remaining task is to audit all other
9324         code affected by deleteEmptyParagraphMechanism.  One small quirk
9325         left is that an empty document with an error in the preamble can
9326         be made to report an error but no error box appears.  I don't know
9327         where it goes.
9328         (removeAutoInsets): Improved comments.
9329
9330 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
9331
9332         * Thesaurus.h:
9333         * Thesaurus.C: update for Aiksaurus 0.14
9334
9335 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9336
9337         * text2.C (firstParagraph): removed member function, all uses
9338         replaces with ownerParagraph
9339         (redoParagraphs): here
9340         (updateInset): here
9341         (toggleAppendix): here
9342         * BufferView2.C (insertErrors): here
9343         (setCursorFromRow): here
9344
9345 2002-01-13  Allan Rae  <rae@lyx.org>
9346
9347         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
9348         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
9349         There is still a way to segfault this although you may have to do this
9350         multiple times: Have an InsetERT with an unknown command in it.
9351         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
9352         <down-arrow>, <Enter> again, View->DVI, BANG!
9353
9354         * text2.C (setCursor):
9355         (deleteEmptyParagraphMechanism):
9356         * lyxtext.h (setCursor):
9357         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
9358         Making use of the return value may help fix other bugs.
9359
9360 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9361
9362         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
9363
9364         * LyXView.C (updateMenubar): call MenuBar::update here
9365         (updateToolbar): but not here
9366         (showState): do not update toolbar/menubar
9367
9368         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
9369         should need to care about that.
9370
9371         * lyxfunc.C (verboseDispatch): simplify a bit
9372         (getStatus): have a version which takes a pseudoaction, and
9373         another which requires a (kb_action,string).
9374
9375         * LyXAction.C (retrieveActionArg): make it work also when action
9376         is not a pseudo-action.
9377         (getActionName): simplify a bit
9378         (helpText):
9379
9380 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9381
9382         * lyxfunc.C (verboseDispatch): new families of methods with
9383         several ways to specify a command and a bool to indicate whether
9384         the command name and shortcut should be displayed in minibuffer
9385         (eventually, we could extend that to a finer bitmask like
9386         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
9387         (dispatch): the pristine dispatch command which just, well,
9388         dispatchs! Note it still sets its result to minibuffer; I'm not
9389         sure we want that.
9390
9391         * lyxfunc.h: remove setHintMessage
9392
9393         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
9394
9395 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9396
9397         * BufferView_pimpl.C (specialChar): delete new inset if we have
9398         not been able to insert it.
9399
9400         * kbmap.C: revert to using int instead of kb_action, since all we
9401         are dealing with is pseudo-actions.
9402
9403         * LyXAction.C (searchActionArg): change to return int instead of
9404         kb_action, since the result is a pseudoaction.
9405
9406 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
9407
9408         * buffer.C (insertErtContents): Fix (partially) the font bug.
9409
9410 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9411
9412         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
9413         as the other one is broken on my machine!
9414
9415 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
9416
9417         * commandtags.h:
9418         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
9419
9420 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
9421
9422         * lyxrc.[Ch]: change names and descriptions of popup font variables to
9423         reflect their actual use. Provide compatibility code for older lyxrc
9424         files.
9425
9426         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
9427         FL_NORMAL_STYLE.
9428         change names of popup font variables in line with the changes to lyxrc.C
9429
9430 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9431
9432         * buffer.C (asciiParagraph): avoid outputing a word twice after
9433         an inset.
9434
9435         * lyxrc.C (getDescription): document that document_path and
9436         template_path can be empty.
9437
9438 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9439
9440         * LaTeXFeatures.C (getMacros):
9441         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
9442
9443         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
9444
9445         * LaTeXFeatures.C (useFloat): require "float" here instead of in
9446         getPackages.
9447         (getPackages): rename feature "floats" to "float". Use an array to
9448         iterate over 'simple' features (i.e. just a \usepackage). Add
9449         handling of "amsmath" (renamed from "amsstyle").
9450
9451 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
9452
9453         * LaTeXFeatures.C (require): Prevent duplicate entries in the
9454         features list.
9455
9456 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
9457
9458         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
9459         FuncStaus::FuncStatus & FuncStaus::some_method().
9460
9461 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
9462
9463         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
9464         of the func_satus stuff. Edited and massaged in various ways by
9465         JMarc.
9466
9467         * lyxfunc.C (getStatus): use FuncStatus
9468
9469 2002-01-08  Juergen Vigna  <jug@sad.it>
9470
9471         * text.C (nextBreakPoint): use function Inset::isChar().
9472
9473         * paragraph.C (TeXOnePar): use function
9474         Inset::forceDefaultParagraphs.
9475
9476         * buffer.C (latexParagraphs): use function
9477         Inset::forceDefaultParagraphs.
9478
9479 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9480
9481         * lyx_gui.C (init): set the style of the menu popups to
9482         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
9483
9484 2002-01-07  Juergen Vigna  <jug@sad.it>
9485
9486         * text.C (setHeightOfRow): small fix
9487         (prepareToPrint): don't look at alignment if we don't have the place
9488         for doing it.
9489
9490 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9491
9492         * box.C: New file. Move the Box methods and functions out of box.h,
9493         following Lars' suggestion.
9494
9495 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9496
9497         * box.h: #include "support/LOstream.h", needed for inlined function.
9498
9499         * lyxtextclass.C:
9500         * lyxtextclasslist.C: added some using std declarations.
9501
9502 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
9503
9504         * box.h: make signed dimensions to allow insets wider than
9505           the screen (bug #162)
9506
9507         * BufferView_pimpl.C: add some insetHit debug
9508
9509 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
9510
9511         * vc-backend.C: add FIXME
9512
9513 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9514
9515         * lyxfunc.C (getStatus): enable code for showing math font status
9516         in toolbar/menu.
9517
9518 2002-01-07  Juergen Vigna  <jug@sad.it>
9519
9520         * text.C (nextBreakPoint): removed debug output not needed anymore.
9521
9522 2002-01-06  Juergen Vigna  <jug@sad.it>
9523
9524         * text.C (nextBreakPoint): fixed up this function we had this bug
9525         since ever but now hopefully we break row better.
9526         (insertChar): we have to check if an inset is the next char as it
9527         could now happen that a large inset is causing a break.
9528
9529 2002-01-05  Juergen Vigna  <jug@sad.it>
9530
9531         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
9532         if it doesn't like to be drawed.
9533
9534 2002-01-04  Juergen Vigna  <jug@sad.it>
9535
9536         * BufferView2.C (lockInset): forgot to set a cursor.
9537
9538         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
9539
9540 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
9541
9542         * FormMathsPanel.C:
9543         * FormMathsPanel.h
9544         * MathsSymbols.C:
9545         * form_maths_panel.C:
9546         * form_maths_panel.h:
9547         * form_maths_panel.fd: implemented sub- and super- buttons in math
9548         panel.
9549
9550         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
9551         (or ^ space) to be used as in TeX (req'd by André).
9552
9553         * lyxfunc.C: Allow ^ and _ again to be used both as
9554         super/subscript (mathed) and as themselves (in text).
9555
9556 2002-01-03  Allan Rae  <rae@lyx.org>
9557
9558         * LyXView.C (updateWindowTitle): Setup a short icon title of either
9559         "LyX" or the filename of the current buffer if it has one.  This is a
9560         modified form of John Levon's patch.
9561
9562         * XFormsView.C (setWindowTitle): also set icon title.
9563
9564         * LyXView.h (setWindowTitle): signature changed.
9565         * XFormsView.h (setWindowTitle): ditto.
9566
9567 2002-01-02  Juergen Vigna  <jug@sad.it>
9568
9569         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
9570
9571 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9572
9573         * screen.C (topCursorVisible): introduce a temp var for
9574         text->cursor.row(), handle the case where this row is null. (kindo
9575         hachish)
9576
9577         * text2.C (setCursor): add a couple of asserts.
9578
9579         * paragraph.h (inset_iterator): add -> operator
9580
9581         * paragraph.[Ch] (autoDeleteInsets): remove member function
9582
9583         * BufferView2.C (removeAutoInsets): rewrite to handle the old
9584         cursor pos correctly and handle inset deletion by itself.
9585         (insertErrors): move iterator declaration out of for expression
9586
9587         * lyxtextclass.C: add <algorithm>
9588
9589         * Makefile.am: added the new files to sources, removed layout.C
9590
9591         * layout.C: removed file
9592
9593         * layout.h: remove LYX_DUMMY_LAYOUT
9594
9595         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
9596         layout.
9597
9598         * lyxlayout.[Ch]:
9599         * lyxtextclass.[Ch]:
9600         * lyxtextclasslist.[Ch]: new files
9601
9602         * include order changes to a lot of files, also changes because of
9603         the six new files.
9604
9605 2001-12-27  Juergen Vigna  <jug@sad.it>
9606
9607         * buffer.C (asciiParagraph): more fixes.
9608
9609         * tabular.C (ascii): make ascii export support export of only the
9610         data separated by a column-delimiter.
9611         (ascii): better support for ascii export.
9612
9613         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
9614
9615 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9616
9617         * tabular_funcs.C: use a "using std::getline" instead of the
9618         previous fix from Angus (necessary for cxx + lyxstring)
9619
9620 2001-12-24  Juergen Vigna  <jug@sad.it>
9621
9622         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
9623
9624         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
9625         problems. First check a minipage also if we have some ert-contents
9626         (not only on par->size(), second set the right depth of the paragraph
9627         on the relink to the root-paragraph-list!
9628
9629         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
9630         which then did not anymore update the main paragraphs on undo/redo!
9631
9632 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9633
9634         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
9635         code. Support all font-changing funcs (even those which are not in
9636         menu currently). Support for reporting font settings in
9637         mathed (disabled until Andre provides a function on mathed's side).
9638
9639         * func_status.h (toggle): small helper function to set toggle
9640         state on a flag.
9641
9642 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
9643
9644         * tabular_funcs.C: getline -> std::getline
9645
9646 2001-12-21  Juergen Vigna  <jug@sad.it>
9647
9648         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
9649         accessed and could be 0 (I couldn't generate this but it seems
9650         Michael could!).
9651
9652 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9653
9654         * tabular_funcs.C: add LIstream.h, move write_attribute to..
9655         * tabular_funcs.h: here and include iosfwd
9656
9657 2001-12-20  Juergen Vigna  <jug@sad.it>
9658
9659         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
9660         inside inset but undo_par was.
9661
9662 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9663
9664         * Thesaurus.C: always include <config.h> in sources.
9665
9666         * Painter.h:
9667         * lyxlookup.h:
9668         * box.h: do not include <config.h> in header files
9669
9670         * text.C (paintLastRow): remove unused variable
9671
9672         * text.C (transformChar):
9673         (insertChar):
9674         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
9675
9676         * Painter.C (text):
9677         * font.C (width): rewrite to use uppercase() instead of
9678         islower/toupper.
9679
9680         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
9681
9682 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
9683
9684         * lyxfind.C: clean up of find failure position change
9685
9686 2001-12-20  Juergen Vigna  <jug@sad.it>
9687
9688         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
9689
9690         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
9691         (TeXRow): added to LaTeX a single tabular row.
9692         (TeXLongtableHeaderFooter): added to output LT-h/f data.
9693         (Latex): simplified and finally good LT-h/f support.
9694         (various_functions): just small adaptions for LT-h/f support.
9695
9696         * tabular_funcs.[hC]: added and moved here all not classfunctions
9697         of LyXTabular.
9698
9699 2001-12-19  Juergen Vigna  <jug@sad.it>
9700
9701         * tabular.[Ch]: better support for longtabular options (not finished
9702         yet!)
9703
9704 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9705
9706         * text.C (paintLastRow): use the label font instead of the font of
9707         the last character to compute the size of *_BOX. This makes more
9708         sense and avoids a crash with empty paragraphs.
9709         Use Painter::rectangle to draw EMPTY_BOX.
9710
9711 2001-12-19  Juergen Vigna  <jug@sad.it>
9712
9713         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
9714         the paragraphs if the replaced paragraph is not the first one!
9715         Tried to delete not used paragraphs but does not work yet so for
9716         now it's inside #ifdef's and by default off!
9717
9718 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9719
9720         * MenuBackend.C: include "lyx_main.h" instead of declaring
9721         lastfiles (actually was declared as LastFiles* instead of a
9722         scoped_ptr).
9723
9724 2001-12-17  Juergen Vigna  <jug@sad.it>
9725
9726         * tabular.C (AppendColumn): applied John's fix
9727
9728 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
9729
9730         * BufferView.h:
9731         * BufferView.C:
9732         * BufferView_pimpl.h:
9733         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
9734
9735         * Makefile.am:
9736         * box.h: new start of class for above
9737
9738         * lyxfunc.C: ignore space-only minibuffer dispatches.
9739           Show the command name when it doesn't exist
9740
9741         * minibuffer.C: don't add empty lines to the history
9742
9743         * minibuffer.C: add a space on dropdown completion
9744
9745 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
9746
9747         * text.C: fix line above/below drawing in insets
9748
9749 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9750
9751         * lyxlength.C (LyXLength): Initialize private variables.
9752
9753 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
9754
9755         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
9756         when inserting error insets.
9757
9758 2001-12-13  Juergen Vigna  <jug@sad.it>
9759
9760         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
9761         actually sometimes the before-paragraph.
9762         (setUndo): don't clear the redostack if we're not actually undoing!
9763
9764 2001-12-06  Juergen Vigna  <jug@sad.it>
9765
9766         * undo_funcs.C (textHandleUndo): well after John's hint I got here
9767         and fixed redoing of main paragraph, so we can use it now ;)
9768
9769         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
9770
9771 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9772
9773         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
9774         Juergen's request
9775
9776 2001-12-13  André Pönitz <poenitz@gmx.net>
9777
9778         * undostack.[Ch]:
9779         * undo_func.C: minor cleanup
9780
9781 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9782
9783         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
9784         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
9785         font in urw-fonts package which is marked as -urw-fontspecific and
9786         does not work (incidentally, changing the encoding in the
9787         fonts.dir of this package to -adobe-fontspecific fixes the
9788         problem).
9789
9790         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
9791         is a crash when undoing first paragraph (Juergen, please take a
9792         look). THis does not mean the undo fix is wrong, just that it
9793         uncovers problems.
9794
9795         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
9796         the (Paragraph*) version when needed instead of duplicating the
9797         code.
9798
9799         * text.C (workWidth): use Inset::parOwner to find out where the
9800         inset has been inserted. This is a huge performance gain for large
9801         documents with lots of insets. If Inset::parOwner is not set, fall
9802         back on the brute force method
9803
9804         * paragraph_pimpl.C (insertInset):
9805         * paragraph.C (Paragraph):
9806         (cutIntoMinibuffer): set parOwner of insets when
9807         inserting/removing them
9808
9809         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9810
9811 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
9812
9813         * commandtags.h:
9814         * LyXAction.C:
9815         * lyx_main.C:
9816         * lyxfunc.C:
9817         * mathed/formulabase.C:
9818         * mathed/math_cursor.[Ch]:
9819         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
9820
9821
9822 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9823
9824         * lyxlength.[Ch] (operator!=): new function
9825
9826 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9827
9828         * text.C (workWidth): use Inset::parOwner to find out where the
9829         inset has been inserted. This is a huge performance gain for large
9830         documents with lots of insets. If Inset::parOwner is not set, fall
9831         back on the brute force method
9832
9833         * paragraph_pimpl.C (insertInset):
9834         * paragraph.C (Paragraph):
9835         (cutIntoMinibuffer): set parOwner of insets when
9836         inserting/removing them
9837
9838         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9839
9840 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9841
9842         * tabular-old.C (getTokenValue):
9843         * tabular.C (getTokenValue):
9844         (write_attribute): new versions for LyXLength
9845         (everywhere): adjust the use of widths
9846
9847         * tabular.h: change the type of widths from string to LyXLength
9848
9849 2001-12-11  Ben Stanley <bds02@uow.edu.au>
9850
9851         * paragraph.C: fixed missing line number count when exporting
9852         Environments to LaTeX file
9853
9854         * buffer.C: added informational message for checking line numbers.
9855
9856 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9857
9858         * text2.C (deleteEmptyParagraphMechanism): if there is only one
9859         paragraph, do the 'double space' part, but not the 'empty
9860         paragraph' one.
9861
9862         * text.C (workWidth): small optimization
9863         (getLengthMarkerHeight): use minimal size for negative lengths.
9864
9865 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
9866
9867         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
9868
9869         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
9870
9871 2001-12-11  André Pönitz <poenitz@gmx.net>
9872
9873         * FontLoader.C:
9874         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
9875
9876 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9877
9878         * text2.C: keep selection on a setFont()
9879
9880 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9881
9882         * lyx_cb.C: another bv->text misuse, from insert label
9883
9884 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
9885
9886         * kbsequence.h:
9887         * kbsequence.C: re-instate nmodifier mask
9888
9889 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
9890
9891         * lyx_main.h: make lyxGUI private.
9892
9893 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9894
9895         * lyxfind.C: place the cursor correctly on failed search
9896
9897 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9898
9899         * text.C (getLengthMarkerHeight): for small heights, the arrows
9900         are not always on top/bottom of the text
9901         (drawLengthMarker): smaller arrows; take the left margin in
9902         account; draw also vfills.
9903         (paintFirstRow):
9904         (paintLastRow): remove special code for vfill and standard spaces,
9905         since everything is handled in drawLengthMarker now.
9906
9907 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9908
9909         * buffer.C (insertErtContents): try to handle font and language
9910         interaction a bit better.g
9911
9912         * ColorHandler.C (updateColor): change the hash to cover the whole
9913         LColor enum, ws cleanup
9914         (getGCLinepars): ditto
9915         (getGCLinepars): only lookup in the linecache once.
9916
9917 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
9918
9919         * iterators.C (operator++): Make the iterator more robust
9920
9921         * BufferView2.C (removeAutoInsets): Use paragraph iterators
9922         (John's patch)
9923         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
9924
9925 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9926
9927         * lyxtext.h:
9928         * text.C: better added space drawing
9929
9930 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9931
9932         * LyXView.C:
9933         * BufferView2.C: fix layout combo update on inset unlock
9934
9935 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9936
9937         * Makefile.am: don't compile unused files
9938
9939 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9940
9941         * lyxfunc.C:
9942         * commandtags.h:
9943         * LyXAction.C: remove old LFUN_LAYOUTNO
9944
9945 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9946
9947         * paragraph_pimpl.h:
9948         * paragraph_pimpl.C: isTextAt() doesn't need font param
9949
9950 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9951
9952         * lyxlex.h:
9953         * lyxlex.C: little cleanup
9954
9955 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9956
9957         * BufferView_pimpl.C: fix insertAscii for insets
9958
9959 2001-12-05  Juergen Vigna  <jug@sad.it>
9960
9961         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
9962         set the right font on the "multi" paragraph paste!
9963
9964 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9965
9966         * trans_decl.h:
9967         * trans_mgr.[Ch]:
9968         * trans.[Ch]:
9969         * lyxgluelength.C:
9970         * lyxlength.C: remove out-commented code.
9971
9972         * BufferView_pimpl:
9973         * CutAndPaste.C:
9974         * DepTable.C:
9975         * buffer.C:
9976         * chset.C:
9977         * lastfiles.C:
9978         * lyxlex.C:
9979         * lyxlex_pimpl.C:
9980         * lyxserver.C:
9981         * screen.C:
9982         * tabular-old.C:
9983         * tabular.C:
9984         * text.C:
9985         * trans_mgr.C:
9986         * vc-backend.C: change "while(" to "while ("
9987
9988         * lyxlength.[Ch]: add zero function to check if length is zero or
9989         not
9990         * lyxgluelength.C: use it
9991
9992 2001-12-05  Allan Rae  <rae@lyx.org>
9993
9994         * lyxlength.C: Attempted a fix for the abs(int) header selection.
9995         Works for 2.95.3, from what I understand of Garst's reports this should
9996         work for other g++ versions.  We're screwed if the abs(int) definition
9997         changed between bugfix releases of gcc.
9998
9999 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10000
10001         * text.C: fix chapter label offset !
10002
10003 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10004
10005         * lyxtext.h:
10006         * text.C: fix hfill at end of line, clean up
10007
10008 2001-12-04  Juergen Vigna  <jug@sad.it>
10009
10010         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10011         that we force an update of the inset and it's owners if neccessary.
10012
10013 2001-12-03  Juergen Vigna  <jug@sad.it>
10014
10015         * text.C (rowLast): simplified code
10016
10017 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10018
10019         * lyxfunc.C: fix show options on timeout
10020
10021 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10022
10023         * screen.C (topCursorVisible): scroll half a page when the cursor
10024         reached top of bottom of screen
10025
10026 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
10027
10028         * minibuffer.C: deactivate on loss of focus
10029
10030 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10031
10032         * vspace.[Ch] (operator!=): add operator.
10033
10034 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
10035
10036         * BufferView_pimpl.C: refuse to open an inset when
10037         there's a selection.
10038
10039 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
10040
10041         * BufferView_pimpl.C: allow to click on RHS of full row insets
10042
10043 2001-11-30  Juergen Vigna  <jug@sad.it>
10044
10045         * tabular.C (LyXTabular): add a same_id to set the same id's in the
10046         insets for undo reasons.
10047
10048 2001-11-28  André Pönitz <poenitz@gmx.net>
10049
10050         * vspace.[Ch]: cosmetical changes
10051
10052 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10053
10054         * LyXAction.h:
10055         * LyXAction.C:
10056         * lyxfunc.h:
10057         * lyxfunc.C:
10058         * kbmap.h:
10059         * kbmap.C:
10060         * lyxrc.C:
10061         * kbsequence.h:
10062         * kbsequence.C: part re-write of old kb code
10063
10064         * Painter.C:
10065         * WorkArea.C: remove Lgb_bug_find_hack
10066
10067 2001-11-30  José Matos <jamatos@fep.up.pt>
10068
10069         * buffer.C (makeDocBookFile): add a comment to point a hack.
10070         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
10071         Fixed a double write of labels.
10072
10073 2001-11-29 Ben Stanley <bds02@uow.edu.au>
10074
10075         * LaTeX.C:
10076         * LaTeX.h Fixed bug in LaTeX class where it would not
10077         re-run latex if no depfiles were changed, but the .dvi was removed.
10078
10079 2001-11-28  André Pönitz <poenitz@gmx.net>
10080
10081         * all the files from the change on 2001/11/26:
10082         use lyx::layout_type instead of LyXTextClass::size_type
10083         use lyx::textclass_type instead of LyXTextClassList::size_type
10084
10085 2001-11-29  Juergen Vigna  <jug@sad.it>
10086
10087         * text.C: added support for paragraph::isFreeSpacing()
10088
10089         * buffer.C: same as above
10090
10091         * paragraph.h: inserted isFreeSpacing() function to enable
10092         FreeSpacing inside InsetERT.
10093
10094         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
10095         of the paragraph's in the cut/copy buffer to 0!
10096
10097         * text2.C (removeRow): remove the assert as it can!
10098
10099         * lyxtext.h: added helper function firstRow returning firstrow and
10100         made firstrow private again.
10101
10102         * BufferView2.C (lockInset): don't relock if we're already locked!
10103
10104         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
10105         the only paragraph.
10106         (removeRow): added Assert::(firstrow)
10107
10108         * debug.C: forgot to add INSETTEXT here.
10109
10110 2001-11-28  Juergen Vigna  <jug@sad.it>
10111
10112         * sp_spell.C (initialize): changed error text to more general
10113         spellchecker command use (not only ispell!)
10114
10115         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
10116
10117         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
10118
10119 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10120
10121         * vspace.C: initialise lyxgluelength on failure
10122
10123 2001-11-28  Allan Rae  <rae@lyx.org>
10124
10125         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
10126         declaration & definition that looks like a function declaration.
10127
10128 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10129
10130         * BufferView2.C (copy):
10131         (copyEnvironment): do not clear the selection when doing a copy.
10132
10133         * text.C (paintFirstRow): compilation fix
10134
10135 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
10136
10137         * tabular.C (Latex): correct line count when writing latex.
10138
10139 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
10140
10141         * paragraph_pimpl.h:
10142         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10143           bug a bit
10144
10145 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10146
10147         * text.C:
10148         * LColor.h:
10149         * LColor.C: change vfillline->added_space
10150
10151         * text.C: add markers and text for added space
10152
10153         * vspace.C: fix comment
10154
10155 2001-11-28  André Pönitz <poenitz@gmx.net>
10156
10157         * paragraph.C: whitespace changes
10158         * all the other files from the change on 2001/11/26:
10159         change *::pos_type into lyx::pos_type
10160
10161 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10162
10163         * buffer.C (parseSingleLyXformat2Token): Set the language to the
10164         language of the document when inserting error insets.
10165
10166 2001-11-26  André Pönitz <poenitz@gmx.net>
10167
10168         * BufferView_pimpl.[Ch]:
10169         *       CutAndPaste.C:
10170         * buffer.[Ch]:
10171         * lyxcursor.[Ch]:
10172         * lyxfind.C:
10173         * lyxfunc.C:
10174         * lyxrow.[Ch]:
10175         * paragraph.[Ch]:
10176         * paragraph_pimpl.[Ch]:
10177         * sp_spell.C:
10178         * text.C:
10179         * text2.C: reduce header dependencies, introduce type for positions
10180
10181 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10182
10183         * <various>: change to use Alert.h
10184
10185 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10186
10187         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10188         when encountering an unknown token.
10189         (readLyXformat2): Show an error message if there were unknown tokens.
10190
10191 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
10192
10193         * BufferView2.C:
10194         * BufferView_pimpl.C:
10195         * buffer.C:
10196         * paragraph.h:
10197         * text.C:
10198         * text2.C: use par->isInset()
10199
10200 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10201
10202         * paragraph_pimpl.h:
10203         * paragraph_pimpl.C: cleanup
10204
10205 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10206
10207         * text2.C (removeRow):
10208         * text.C (setHeightOfRow): remove useless (and costly) call to
10209         getRow.
10210
10211 2001-11-20  Allan Rae  <rae@lyx.org>
10212
10213         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10214         Now need Inset*::checkInsertChar() to return true for appropriate
10215         cases so that the characters in the minibuffer will actually be
10216         inserted.
10217
10218 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10219
10220         * text.C: change the order of the includes.
10221         (workWidth): initialize it at once.
10222         (workWidth): make maxw unsigned
10223         (setHeightOfRow): remove unused variable (inset)
10224         (selectSelectedWord): remove unused variable (inset)
10225         (paintRowText): fix drawing of hfill characters, and clean up a bit.
10226
10227 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10228
10229         * lyxserver.C (emergencyCleanup): do not try to close pipes if
10230         server is not running.
10231         (openConnection):
10232         (closeConnection): add debug info when server is disabled.
10233
10234         * ColorHandler.C (getGCForeground): send debug message to GUI
10235         channel.
10236
10237         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10238
10239         * kbmap.C (bind): modify because return conventions of
10240         kb_sequence::parse have changed.
10241
10242         * kbsequence.C (parse): only ignore spaces and not any stupid
10243         control character. This avoids tests like s[i] <= ' ', which are
10244         guaranteed to fail with 8bit characters and signed chars.
10245         Change return code to string::npos when there have been no error
10246         (0 was a bad idea when error is at first character)
10247
10248 2001-11-14  José Matos  <jamatos@fep.up.pt>
10249
10250         * buffer.h:
10251         * buffer.C (simpleDocBookOnePar): removed unused argument.
10252
10253 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10254
10255         * text.C (selectNextWordToSpellcheck): do not test explicitely for
10256         insets which are part of a word. Paragraph::isLetter takes care of
10257         that now. Use Paragraph::isInset to identify insets.
10258         (selectSelectedWord): do not test for hyphenation break.
10259
10260         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10261         that protected spaces are considered as spaces.
10262
10263         * paragraph.C (isLetter): cleanup the code for ispell extras; use
10264         Inset::isLetter.
10265
10266 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
10267
10268         * lyxserver.h:
10269         * lyxserver.C: fix it. and small cleanup.
10270
10271 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10272
10273         * BufferView_pimpl.C: use inline helpers
10274
10275         * LaTeXFeatures.h:
10276         * LaTeXFeatures.C: fix typos
10277
10278         * Spacing.h:
10279         * Spacing.C: move spacing_string into class
10280
10281         * ToolbarDefaults.C: move stuff into namespace anon
10282
10283         * layout.h: update enum
10284
10285         * lyxfunc.C: use better debug
10286
10287         * minibuffer.h: fix typo
10288
10289         * debug.h:
10290         * debug.C:
10291         * WorkArea.C: add and use Debug::WORKAREA
10292
10293         * lyxtext.h:
10294         * text.C:
10295         * text2.C: code re-organisation, inline helpers
10296
10297 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
10298
10299         * Layout.C: replaced a few cases of std::vector.size() == 0 with
10300         std::vector.empty().
10301
10302 2001-11-09  Allan Rae  <rae@lyx.org>
10303
10304         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10305         '\n's after tables.  Tabular and ERT inset work now makes this no
10306         longer necessary.
10307
10308 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10309
10310         * minibuffer.h:
10311         * minibuffer.C: fix crash, improve drop-down completion
10312
10313 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
10314
10315         * lyxserver.h:
10316         * lyxserver.C: invalidate fd's when doing endPipe()
10317
10318 2001-11-08  José Matos  <jamatos@fep.up.pt>
10319
10320         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
10321         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
10322
10323         * paragraph.h:
10324         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
10325
10326 2001-11-07  José Matos  <jamatos@fep.up.pt>
10327
10328         * buffer.h:
10329         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
10330         const qualifier.
10331
10332         * buffer.C (sgmlOpenTag):
10333         * buffer.C (sgmlCloseTag): removed debug info.
10334
10335         * buffer.h (sgmlOpenTag):
10336         * buffer.h (sgmlCloseTag): made public.
10337
10338 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10339
10340         * buffer.C (saveParamsAsDefaults):
10341         * lyx_cb.C (MenuLayoutSave): remove
10342
10343         * LyXAction.C (init):
10344         * commandtags.h:
10345         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
10346
10347 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10348
10349         * buffer.C (setPaperStuff): removed from here...
10350
10351         * bufferparams.C (setPaperStuff): ... and moved there.
10352
10353 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
10354
10355         * minibuffer.h:
10356         * minibuffer.C:
10357         * XFormsView.C: add support for drop-down completion
10358
10359 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
10360
10361         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
10362         commands.
10363
10364 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10365
10366         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
10367         disabled.
10368
10369 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
10370
10371         * lyx_main.C: change ref to known bugs
10372
10373 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
10374
10375         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
10376         to work around older babel problems.
10377
10378 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
10379
10380         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
10381
10382 2001-10-24  Juergen Vigna  <jug@sad.it>
10383
10384         * tabular-old.C (ReadOld): below variable changes reflected.
10385
10386         * tabular.[Ch]: added ltType struct for longtable header/footer
10387         defines and changed all instances where they are used. Added
10388         future support for double top/bottom rows.
10389
10390 2001-10-24  José Matos  <jamatos@fep.up.pt>
10391
10392         * buffer.h (docbookHandleCaption):
10393         * buffer.C (docbookHandleCaption): removed unused function.
10394         (makeDocBookFile): moved docbook supported version to v4.1.
10395
10396 2001-10-24  José Matos  <jamatos@fep.up.pt>
10397
10398         * tabular.h:
10399         * tabular.C (docbookRow): new function to export docbook code of a row.
10400         (DocBook): now honors the longtable flags.
10401
10402 2001-10-23  José Matos  <jamatos@fep.up.pt>
10403
10404         * LaTeXFeatures.h:
10405         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
10406         of the lyx defined sgml entities used in a docbook/linuxdoc document.
10407
10408         * buffer.C (makeLinuxDocFile):
10409         (makeDocBookFile): reworked the preamble, more clean, and with
10410         support for lyx defined entities. Changed the document declaration
10411         to be more XML friendly.
10412
10413         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
10414         if we need to output XML that should be done with a filter.
10415
10416 2001-10-22  Juergen Vigna  <jug@sad.it>
10417
10418         * sp_pspell.h (class PSpell): add alive function needed in the
10419         controller to see if the spellchecker could be started.
10420
10421 2001-10-22  Juergen Vigna  <jug@sad.it>
10422
10423         * buffer.C (insertStringAsLines): modify the font for inserting
10424         chars in certain conditions by calling checkInsertChar(font).
10425
10426 2001-10-19  Juergen Vigna  <jug@sad.it>
10427
10428         * text.C (workWidth): use getRow instead of wrong algorithm.
10429         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
10430
10431 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
10432
10433         * lyxserver.h:
10434         * lyxserver.C:
10435         * lyx_main.h:
10436         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
10437
10438 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10439
10440         * text.C (workWidth): do not search for the exact row when
10441         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
10442         optimization for big documents.
10443
10444 2001-10-18  Juergen Vigna  <jug@sad.it>
10445
10446         * text.C (workWidth): new function with added Inset * parameter.
10447
10448 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10449
10450         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
10451
10452         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
10453         change return type of getColumnNearX.
10454
10455
10456         * text.C (changeRegionCase): use uppercase/lowercase instead of
10457         toupper/tolower.
10458         (leftMargin):
10459         (rightMargin): simplify code by factoring out the uses of
10460         textclasslist.
10461         (labelFill):
10462         (numberOfHfills):
10463         (setHeightOfRow):
10464         (appendParagraph): use Paragraph::size_type
10465
10466 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10467
10468         * vspace.C (asLatexString): add a missing break
10469
10470 2001-10-15  Herbert Voss  <voss@perce.de>
10471
10472         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
10473
10474 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10475
10476         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
10477         is not available.
10478
10479 2001-10-10  André Pönitz <poenitz@gmx.net>
10480
10481         * lyxfunc.C: removed greek_kb_flag.
10482
10483 2001-10-10  Herbert Voss  <voss@perce.de>
10484
10485         * lyx_main.C: delete global string help_lyxdir.
10486
10487 2001-10-09  Herbert Voss  <voss@perce.de>
10488
10489         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
10490
10491         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
10492
10493         * lyx_main.C: added global string help_lyxdir.
10494
10495         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
10496
10497 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10498
10499         * lyxrc.C (set_font_norm_type): support iso8859-4
10500
10501 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
10502
10503         * LaTeX.C (deplog): add another regex for MikTeX
10504
10505 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10506
10507         * lyxrc.C (set_font_norm_type): support iso8859-3
10508
10509 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10510
10511         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
10512
10513         * LaTeXFeatures.C: remove special case of french and index
10514
10515         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
10516         before \begin{document}). This solves several incompatibilities.
10517
10518 2001-10-03  Garst Reese  <reese@isn.net>
10519
10520         * lyx_cb.C: change CheckTex error msg.
10521
10522 2001-10-03  José Matos  <jamatos@fep.up.pt>
10523
10524         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
10525
10526 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10527
10528         * .cvsignore: update
10529
10530         * lyx_main.C (commandLineVersionInfo): use new style version info.
10531
10532         * buffer.C (writeFile):
10533         (makeLaTeXFile):
10534         (makeLinuxDocFile):
10535         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
10536
10537         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
10538
10539         * version.h: update to use stuff in version.C
10540
10541         * version.C.in: new file. Contains version information determined
10542         at compile time. This is a merging of version.h and
10543         version_info.h.in.
10544
10545 2001-10-03  Juergen Vigna  <jug@sad.it>
10546
10547         * BufferView_pimpl.C (update): don't change "dirty" status in
10548         updateInset call.
10549
10550 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
10551
10552         * WorkArea.C (c-tor): re-position version string slightly.
10553
10554 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
10555
10556         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
10557         revert to previous code.
10558
10559         WorkArea.[Ch]: (show, destroySplash): methods removed.
10560
10561         WorkArea.C: rework code so that it's an amalgam of the codes before and
10562         after the splash screen was moved to WorkArea.
10563
10564 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10565
10566         * lyxrc.C (read):
10567         * vspace.C (inPixels):
10568         (lyx_advance):
10569         * kbmap.C (bind):
10570         * buffer.C (insertStringAsLines):
10571         (asciiParagraph): fix types to be large enough
10572
10573         * lyxlex_pimpl.h: change member status from short to int
10574
10575         * layout.h: fix type of endlabeltype
10576
10577         * kbmap.C (bind):
10578         * kbsequence.C (parse): change return type to string::size_type
10579
10580         * LaTeX.C (updateBibtexDependencies): comment out unneeded
10581         variable
10582
10583         * Bullet.C (bulletSize):
10584         (bulletEntry): do not use short ints as parameters
10585
10586         * BufferView2.C (insertLyXFile): change a char to an int.
10587
10588         * WorkArea.C (WorkArea): remove unneeded floats in computation
10589
10590 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
10591
10592         * buffer.C (asciiParagraph): Treat '\\' as other chars.
10593
10594         * paragraph.C (asString): Do not ignore newline/hfill chars when
10595         copying to the clipboard.
10596
10597 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
10598
10599         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
10600         after a multi-line inset.
10601
10602 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
10603
10604         * paragraph.C (validate): Set NeedLyXFootnoteCode
10605
10606 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
10607
10608         * lyxfont.C (LyXSizeNames): changed increase-error to increase
10609         and decrease-error to decrease.
10610
10611 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10612
10613         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
10614         it more readable (should be equivalent)
10615
10616 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10617
10618         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
10619
10620 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10621
10622         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
10623         of a cursor (row, etc.) after a character has been deleted
10624         (deleteEmptyParagraphMechanism): call the method above on _all_
10625         cursors held by the LyXText when a double space has been
10626         detected/deleted.
10627
10628 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
10629
10630         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
10631         pixmap.
10632         (resizeCurrentBuff): remove code to destroy the old splash dialog.
10633
10634         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
10635         background. Use greyOut() and the new show() methods to toggle between
10636         the foreground and background. Add code to remove the splash after
10637         its initial showing.
10638
10639         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
10640         (create_forms): no longer call Dialogs::showSplash.
10641
10642 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10643
10644         * .cvsignore: add version_info.h
10645
10646 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10647
10648         * version_info.h.in: new file
10649
10650         * Makefile.am: add version_info.h.in
10651
10652         * lyx_main.C (commandLineVersionInfo): use version_info defined in
10653         version_info.h instead of VERSION_INFO
10654
10655 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
10656
10657         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
10658         The ERT inset now returns string().
10659
10660 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
10661
10662         * lyxtext.h, text.C (selectNextWord): renamed as
10663         selectNextWordToSpellcheck.
10664
10665         * text.C (selectNextWordToSpellcheck): Modified to not select
10666         words inside an ERT inset.
10667
10668 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10669
10670         * lyx_cb.C (MenuLayoutSave): change a bit the question
10671
10672         * sp_base.h: include <sys/types.h>
10673
10674 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
10675
10676         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
10677
10678 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
10679
10680         * several files: fix typos in user-visible strings
10681
10682 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10683
10684         * text2.C (pasteSelection): do not set the selection, since it
10685         will be cleared later. Actually, the intent was to fix the way the
10686         selection was set, but I figured rmoving the code was just as good.
10687
10688 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
10689
10690         * FontLoader.C (available): Check if font is available without
10691         loading the font.
10692
10693 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
10694
10695         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
10696
10697 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
10698
10699         * lyxrc.[Ch]: added display_graphics variable and associated code.
10700
10701 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10702
10703         * bufferparams.C (hasClassDefaults): new method. Returns true if
10704         the buffer parameters correspond to known class defaults
10705
10706 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
10707
10708         * XFormsView.C (show): set minimum size to the main window.
10709
10710 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10711
10712         * text2.C (copySelection):
10713         (cutSelection):
10714         * lyxfind.C (LyXReplace):
10715         * BufferView_pimpl.C (Dispatch): pass the correct flag to
10716         LyXText::selectionAsString.
10717
10718         * paragraph.C (asString): add "label" argument to the second form
10719
10720         * text2.C (selectionAsString): add "label" argument and pass it to
10721         Paragraph::asString.
10722
10723 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10724
10725         * lyx_main.C (commandLineHelp): remove version information
10726
10727 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
10728
10729         * lyx_main.C: add -version commandline option
10730
10731 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10732
10733         * paragraph.h: make the optional constructor arg required instead.
10734         some modifications to other files because of this.
10735
10736         * minibuffer.C (C_MiniBuffer_peek_event): make it static
10737
10738         * lyxserver.C (C_LyXComm_callback): make it static
10739
10740         * lyx_main.C (error_handler): make it static
10741
10742         * lyx_gui.C (LyX_XErrHandler): make it static
10743
10744         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
10745
10746         * WorkArea.C: make the extern "C" methods static.
10747
10748         * Makefile.am (lyx_LDADD): simplify
10749
10750 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10751
10752         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
10753         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
10754
10755         * LyXAction.C (init):
10756         * lyxfunc.C (dispatch): associated code removal.
10757
10758 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10759
10760         * lyxfont.h (isSymbolFont): shut off warning
10761
10762         * text.C (setHeightOfRow):
10763         (getVisibleRow): fix crash with empty paragraphs which have a
10764         bottom line
10765
10766 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
10767
10768         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
10769         code.
10770
10771 2001-09-04  José Matos  <jamatos@fep.up.pt>
10772         * buffer.C
10773         * buffer.h
10774         * tabular.C (docbook): rename docBook method to docbook.
10775
10776 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10777
10778         * Makefile.am: add dependencies to main.o.
10779
10780 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
10781
10782         * FontLoader.C (available): Return false if !lyxrc.use_gui
10783
10784 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
10785
10786         * FontInfo.C (query):
10787         * converter.C (view):
10788         * importer.C (Import):
10789         * exporter.C (Export): Can not -> cannot.
10790
10791 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
10792
10793         * BufferView_pimpl.C: allow to create index inset even if
10794           string is empty
10795
10796 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10797
10798         * buffer.C (getLists): replace boost::tie code with an explicit pair
10799         as boost::tie can break some compilers.
10800
10801         * iterators.h: Added a std:: declaration to the return type of
10802         ParIterator::size.
10803
10804 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
10805
10806         * lyxrc.C: add help for view_dvi_paper_option, default to safe
10807           case.
10808
10809 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
10810
10811         * iterators.[Ch]: New files. Provide paragraph iterators.
10812
10813         * buffer.C (changeLanguage): Use paragraph iterators.
10814         (isMultiLingual): ditto
10815
10816         * BufferView2.C (ChangeInsets): Use paragraph iterators.
10817
10818 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
10819
10820         * FontLoader.C: Support for cmr font.
10821
10822 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
10823
10824         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
10825         (available): New method.
10826
10827         * FontInfo.C (getFontname): Use scalable fonts even when
10828         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
10829         found.
10830
10831 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
10832
10833         * converter.C (Formats::view): reverted! Incorrect fix.
10834
10835 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
10836
10837         * converter.C (Formats::view): only output the -paper option
10838         if the dvi viewer is xdvi, thereby fixing bug #233429.
10839
10840 2001-08-23  Herbert Voss  <voss@perce>
10841
10842         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
10843
10844 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
10845
10846         * Spacing.h (Spacing): Set space to Default on in the default
10847         constructor.
10848
10849 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10850
10851         * vc-backend.h (RCS::versionString): add RCS to version
10852         (CVS::versionString): add CVS to version
10853
10854         * vc-backend.C (scanMaster): do not add CVS to version.
10855         (scanMaster): do not add RCS to version
10856
10857         * lyxvc.C (versionString): new method
10858
10859         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
10860
10861 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10862
10863         * Spacing.C (set): initialize fval
10864
10865 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
10866
10867         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
10868         " or \.
10869
10870 2001-08-16  Juergen Vigna  <jug@sad.it>
10871
10872         * lyxfunc.C (dispatch): implemented the new FINISHED states.
10873
10874 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
10875
10876         * BufferView_pimpl.C:
10877         * figureForm.C:
10878         * lyxtext.h:
10879         * text2.C: setParagraph takes linespacing now
10880
10881 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
10882
10883         * LyxAction.C: add internal LFUN_CITATION_INSERT
10884
10885         * LyXView.C: actually apply fix
10886
10887         * bufferlist.C: fix open non-existent file
10888
10889         * lyxfind.C: fix indentation
10890
10891         * lyxfunc.C: remove unneeded assert, fix typo
10892
10893 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
10894
10895         * MenuBackend.C: use "Floatname List"
10896
10897 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
10898
10899         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
10900         when converting LaTeX layout to insetERT.
10901         Generate a non-collapsed float when reading old float
10902
10903 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
10904
10905         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
10906         ERT insets.
10907
10908 2001-08-13  Juergen Vigna  <jug@sad.it>
10909
10910         * text.C (fill): return 0 instead of 20 as this seems to be the more
10911         correct value.
10912
10913 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
10914
10915         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
10916         lyxrc.font_norm.
10917
10918 2001-08-13  Juergen Vigna  <jug@sad.it>
10919
10920         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
10921         casesensitive off.
10922         (SearchBackward): comment out the unlocking of the inset_owner this
10923         should not be needed!
10924
10925 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
10926
10927         * Many files: Remove inherit_language, and add latex_language
10928
10929         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
10930         collapsible insets.
10931
10932 2001-08-10  Juergen Vigna  <jug@sad.it>
10933
10934         * text.C (prepareToPrint): fixed hfill-width in draw!
10935
10936         * BufferView2.C (selectLastWord): save the selection cursor as this
10937         now is cleared in the function LyXText::clearSelection!
10938
10939 2001-08-08  Juergen Vigna  <jug@sad.it>
10940
10941         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
10942         BACKSPACE type functions.
10943
10944         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
10945         is only cutted from the document but not put in the cut-buffer, where
10946         still the old stuff should be.
10947
10948         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
10949
10950         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
10951
10952         * tabular.C (SetWidthOfCell): fixed special case where the width
10953         was not updated!
10954         (LeftLine): handle '|' in align_special.
10955         (RightLine): ditto
10956         (LeftAlreadyDrawed): ditto
10957         (SetWidthOfCell): ditto
10958
10959 2001-08-07  Juergen Vigna  <jug@sad.it>
10960
10961         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
10962
10963 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10964
10965         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
10966         * lyxlex.[hC]: ditto
10967
10968 2001-08-06  Juergen Vigna  <jug@sad.it>
10969
10970         * text.C (getVisibleRow): fix up row clearing a bit.
10971
10972 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10973
10974         * minibuffer.C: make sure the X server sees the changes in the input.
10975
10976 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10977
10978         * paragraph.C (getFont): split into...
10979         (getLabelFont): this
10980         (getLayoutFont): and this
10981         * paragraph_pimpl.C (realizeFont): calling this
10982
10983         * text2.C (getFont): split into...
10984         (getLayoutFont): this
10985         (getLabelFont): and this
10986         (realizeFont): all three calling this
10987
10988         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
10989         files where used.
10990
10991 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10992
10993         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
10994
10995 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
10996
10997         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
10998         layouts from the Quote inset insertion.
10999
11000 2001-08-03  Juergen Vigna  <jug@sad.it>
11001
11002         * BufferView_pimpl.C (update): do the fitCursor only at the end!
11003
11004         * screen.C (drawFromTo): don't call fitcursor here and do the loop
11005         only if status not is already CHANGED_IN_DRAW (second level).
11006
11007         * text.C (draw): don't set the need_break_row when inside an
11008         InsetText LyXText.
11009
11010 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11011
11012         * buffer.C (parseSingleLyXformat2Token): handle more latex
11013         conversion cases.
11014
11015         * bufferview_funcs.[hC]: change function names to
11016         begin with small char, adjust other files.
11017
11018 2001-08-02  André Pönitz <poenitz@gmx.net>
11019
11020         * lyxfunc.C:
11021         BufferView_pimpl.C: remove broken special code for math-greek
11022
11023 2001-08-02  Juergen Vigna  <jug@sad.it>
11024
11025         * BufferView_pimpl.C (update): redone this function so that we
11026         update the text again if there was a CHANGE_IN_DRAW.
11027
11028         * screen.C (cursorToggle): removed LyXText parameter and recoded.
11029         (drawFromTo): added a new internal bool which is used by draw() and
11030         redraw() function.
11031         (general): some cursor drawing problems fixed.
11032
11033 2001-08-01  Juergen Vigna  <jug@sad.it>
11034
11035         * lyxfind.C (LyXFind): fixed
11036         (SearchForward): ditto
11037         (SearchBackward): ditto
11038
11039         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11040         spurius drawing of the cursor in the main area.
11041
11042         * text2.C (status): small fix which could lead to a segfault!
11043         (clearSelection): remove unneeded BufferView param.
11044
11045 2001-08-01  André Pönitz <poenitz@gmx.net>
11046
11047         * lyxfunc.C: small change due to changed mathed interface
11048
11049 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11050
11051         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
11052
11053 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
11054
11055         * lyxfunc.c: fail gracefully if file doesn't exist
11056
11057         * LyXSendto.C:
11058         * buffer.C:
11059         * lyxfunc.C:
11060         * BufferView_pimpl.C: IsDirWriteable() proto changed
11061
11062         * LyXView.C: fix updateWindowTitle() to store the last title
11063
11064 2001-07-31  Juergen Vigna  <jug@sad.it>
11065
11066         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
11067         the font (wrong since using of Paragraph::highestFontInRange).
11068
11069         * paragraph.C (highestFontInRange): added a default_size parameter.
11070
11071         * text.C (getVisibleRow): minor clear row changes (still not perfect).
11072         (setHeightOfRow): reformat
11073
11074 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11075
11076         * converter.[hC] + affected files: move to (inital-char)lowercase
11077         function names.
11078
11079         * ParagraphParameters.C (ParagraphParameters): remove commented code
11080
11081         * PainterBase.[Ch]: remove commented code
11082
11083         * LaTeXFeatures.h: add "bool floats" for float.sty
11084
11085         * LaTeXFeatures.C (LaTeXFeatures): init floats
11086         (require): handle float
11087         (getPackages): do it with floats
11088
11089 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11090
11091         * BufferView_pimpl.C (Dispatch): improve handling of
11092         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
11093
11094         * commandtags.h: #include lyxfont.h here temporarily to avoid
11095         keybinding bug.
11096
11097         * bufferlist.h: include LString.h here.
11098
11099 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11100
11101         * text2.C (getStringToIndex): new method.
11102
11103 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
11104
11105         * *: Reduced header file dependencies all over.
11106
11107 2001-07-30  Baruch Even  <baruch@lyx.org>
11108
11109         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
11110
11111 2001-07-29  Baruch Even  <baruch@lyx.org>
11112
11113         * buffer.C (readInset): Changed GRAPHICS to Graphics.
11114
11115 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11116
11117         * ParameterStruct.h (endif): add a default constructor to make
11118         sure that all variables is initialized.
11119
11120         * ParagraphParameters.C (ParagraphParameters): adjust
11121
11122 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11123
11124         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11125         index; also, check that there is something to index, and that it
11126         does not span over several paragraphs.
11127         (doubleClick): use WHOLE_WORD_STRICT for double click.
11128
11129         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
11130
11131         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11132         scheme.
11133
11134 2001-07-26  Baruch Even  <baruch@lyx.org>
11135
11136         * buffer.C (readInset): Changed to call up InsetGraphics when reading
11137         an InsetFig figure, backwards compatible reading of old figure code.
11138
11139 2001-07-27  Juergen Vigna  <jug@sad.it>
11140
11141         * text2.C: font.realize function adaption.
11142
11143         * text.C (draw): add a warnings lyxerr text if needed.
11144
11145         * layout.C: font.realize function adaption.
11146
11147         * language.C: add inherit_language and implement it's handlings
11148
11149         * bufferview_funcs.C (StyleReset): remove language parameter from
11150         font creation (should be language_inherit now).
11151
11152         * bufferparams.C (writeFile): handle ignore_language.
11153
11154         * paragraph.C (getFontSettings): the language has to be resolved
11155         otherwise we have problems in LyXFont!
11156
11157         * lyxfont.C (lyxWriteChanges): added document_language parameter
11158         (update): removed unneeded language parameter
11159
11160         * paragraph.C (validate): fixed wrong output of color-package when
11161         using interface colors for certain fonts in certain environments,
11162         which should not seen as that on the final output.
11163
11164 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
11165
11166         * BufferView_pimpl.C:
11167         * Thesaurus.h:
11168         * Thesaurus.C:
11169         * Makefile.am:
11170         * commandtags.h:
11171         * LyXAction.C: add thesaurus support
11172
11173         * lyxfind.h:
11174         * lyxfind.C: add "once" parameter, for thesaurus, to not
11175           move to the next match
11176
11177 2001-07-26  Juergen Vigna  <jug@sad.it>
11178
11179         * lyxfont.C (realize): honor ignore_language too!
11180         (resolved): ditto.
11181
11182         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11183
11184         * text.C (draw): one place more for ignore_language to not draw
11185         itself!
11186
11187 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
11188
11189         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11190
11191 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11192
11193         * buffer.C (parseSingleLyXformat2Token): a more general fix for
11194         the minipage conversion problem.
11195
11196 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11197
11198         * buffer.C (parseSingleLyXformat2Token): check minipage if we
11199         insert an inset.
11200
11201 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11202
11203         * BufferView.h: don't forward declare WorkArea
11204
11205         * BufferView.C: don't include WorkArea.h
11206
11207 2001-07-25  André Pönitz <poenitz@gmx.net>
11208
11209         * commandtags.h:
11210         * LyXAction.C:
11211         * lyxfunc.C:  new LFUN 'math-space'
11212
11213         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11214
11215 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11216
11217         * text2.C (toggleInset): call open/close
11218
11219 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11220
11221         * lyxfunc.C (dispatch): add debug for the disabled case
11222
11223         * font.C (buttonText): make similar to rectText
11224
11225         * buffer.C (readInset): comment out parsing of insetlist and
11226         insttheorem
11227
11228         * PainterBase.C (rectText): small correction
11229
11230         * BufferView_pimpl.C: comment out insettheorem and insetlist
11231         * LyXAction.C: ditto
11232         * commandtags.h: ditto
11233
11234 2001-07-24  Juergen Vigna  <jug@sad.it>
11235
11236         * text.C (draw): honor the ignore_language.
11237
11238         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11239
11240 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11241
11242         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11243         char inset.
11244
11245 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11246
11247         * lyxtext.h: remove unused (and unimplemented) methods
11248
11249 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11250
11251         * text.C (getVisibleRow): honor background color
11252
11253         * PainterBase.h:
11254         * Painter.h: remove default color argument for fillRectangle
11255
11256         * text.C (backgroundColor): new method
11257
11258 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11259
11260         * text.C (getVisibleRow): adjust
11261
11262         * font.[Ch] (rectText): new method, metrics
11263         (buttonText): new method, metrics
11264
11265         * PainterBase.[hC]: make rectText and buttonText always draw and take
11266         fewer paramteres.
11267
11268 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11269
11270         * ToolbarDefaults.C (read):
11271         * MenuBackend.C (read): allow escaping in all strings
11272
11273         * BufferView_pimpl.C (insertAndEditInset): new method.
11274         (Dispatch): use insertAndEditInset whenever appropriate.
11275
11276         * BufferView_pimpl.C (insertNote): removed
11277
11278         * BufferView_pimpl.C (smartQuote): new method, moved from
11279         BufferView; if an insetquote cannot be inserted, insert a '"'
11280         character instead.
11281
11282         * BufferView2.C: remove insertCorrectQuote();
11283
11284         * lyxfunc.C (getStatus): Add support for all remaingin
11285         inset-insert lfuns.
11286
11287         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11288
11289         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11290         command (necessary to pass " as parameter of self-insert.
11291
11292         * text.C (selectWordWhenUnderCursor):
11293         (selectWord): add word_location parameter
11294         (selectWordWhenUnderCursor): same + remove special code for word
11295         boundary.
11296         (selectNextWord): use kind() to guess type of insetspecialchar,
11297         not latex().
11298
11299         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11300         (insertErtContents): create ert insets as collapsed.
11301         (readInset): better compatibility code for Info inset.
11302
11303 2001-07-20  Juergen Vigna  <jug@sad.it>
11304
11305         * lyxfunc.C (dispatch): use always LyXFind now!
11306
11307         * text2.C (init): add a reinit flag so that the LyXText can be
11308         reinited instead of deleted and reallocated (used in InsetText).
11309
11310         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11311
11312         * text.C: ditto
11313
11314         * text2.C: ditto
11315
11316 2001-07-18  Juergen Vigna  <jug@sad.it>
11317
11318         * text.C (selectNextWord): handle insets inside inset by calling
11319         always the bv->text functions so that we can go up the_locking_inset!
11320
11321         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
11322         in strange locations when inside an inset!
11323
11324         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
11325         handling to include insets.
11326
11327         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
11328
11329 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11330
11331         * LyXAction.C (init):
11332         * commandtags.h:
11333         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
11334         LIGATURE_BREAK, since the name is so stupid.
11335
11336 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11337
11338         * buffer.C (readInset): enable reading of new InsetNotes as well as old
11339         InsetInfos.
11340
11341         * FontLoader.C: remove FORMS_H_LOCATION cruft.
11342
11343         * sp_form.[Ch]: remove.
11344
11345         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
11346
11347         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
11348         InsetInfo.
11349
11350         * src/buffer.C (readInset): ditto.
11351
11352 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11353
11354         * BufferView_pimpl.C (specialChar): new method. Obsoletes
11355         menuSeparator(), endOfSentenceDot(), ldots() and
11356         hyphenationPoint(), which are therefore removed.
11357         (Dispatch): handle LFUN_HYPHENATION_BREAK.
11358
11359         * LyXAction.C (init):
11360         * commandtags.h: add LFUN_HYPHENATION_BREAK.
11361
11362         * paragraph.C (getWord): removed.
11363
11364         * BufferView_pimpl.C (Dispatch): use last word or selection for
11365         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
11366
11367         * lyx_main.C (queryUserLyXDir): do not ask before creating
11368         user_dir, except if it has been named explicitely.
11369
11370 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11371
11372         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
11373         a document of zero size.
11374
11375 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
11376
11377         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
11378         approriately in the c-tor and in require().
11379         (getPackages): output the appropriate LaTeX for natbib support.
11380
11381         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
11382         variables "use_natbib" and "use_numerical_citations" when reading the
11383         LyX file.
11384         (readInset): read the various natbib cite commands.
11385         (validate): white-space change.
11386
11387         * bufferparams.[Ch]: new variables "bool use_natbib" and
11388         "bool use_numerical_citations".
11389         (writeFile): output them in the LyX file.
11390
11391 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11392
11393         * lyxfunc.C (getStatus): add support for all the inset insertion
11394         commands.
11395
11396         * text2.C (insertInset):
11397         * paragraph.C (insetAllowed):
11398         * BufferView_pimpl.C (insertInset): update to take in account the
11399         renaming of insertInsetAllowed
11400
11401         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
11402
11403         * text2.C (getInset): new method. returns inset at cursor position.
11404
11405         * BufferView_pimpl.C (Dispatch): changes because of this.
11406
11407         * LyXAction.C (init): rename open-stuff to inset-toggle.
11408
11409         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
11410
11411         * text2.C (toggleInset): renamed from openStuff; use
11412         Inset::open().
11413
11414 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
11415
11416         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
11417
11418         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
11419
11420 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
11421
11422         * buffer.C (readLyXformat2): Add filename to the error dialog
11423
11424 2001-07-18  Juergen Vigna  <jug@sad.it>
11425
11426         * tabular.C (GetCellNumber): put an assert here instead of the check!
11427
11428 2001-07-17  Juergen Vigna  <jug@sad.it>
11429
11430         * BufferView_pimpl.C (toggleSelection): adapted too.
11431
11432         * text.C (selectNextWord): adapted for use with insets.
11433         (selectSelectedWord): ditto
11434
11435 2001-07-17  Juergen Vigna  <jug@sad.it>
11436
11437         * sp_spell.C (PSpell): fix initialitation order.
11438
11439 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11440
11441         * paragraph.C: spacing
11442
11443 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
11444
11445         * sp_spell.C: repair language selection for pspell
11446
11447 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11448
11449         * lyxfunc.h: change more methods to begin with lower char.
11450
11451 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
11452
11453         * buffer.C (parseSingleLyXformat2Token): Generate error insets
11454         for unknown layouts.
11455
11456 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11457
11458         * buffer.C (readLyXformat2): Generate an error dialog if there are
11459         unknown layouts.
11460
11461 2001-07-16  Juergen Vigna  <jug@sad.it>
11462
11463         * sp_spell.C: always compile ISpell part.
11464
11465         * lyxrc.C: added use_pspell entry and it's handling.
11466
11467 2001-07-13  Juergen Vigna  <jug@sad.it>
11468
11469         * sp_spell.C: removed double includes.
11470
11471 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
11472
11473         Consistent use of Lsstream.h:
11474         * Lsstream.h: added using std::stringstream for consistencies sake.
11475
11476         * buffer.C: removed using std::stringstream
11477
11478         * lyxfont.C (stateText):
11479         * paragraph.C (asString):
11480         * text.C (selectNextWord, selectSelectedWord):
11481         * text2.C (setCounter):
11482         * vspace.C (asString, asLatexString):
11483         std::ostringstream -> ostringstream.
11484
11485 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
11486
11487         * LyXAction.C: add LFUN_HELP_ABOUTLYX
11488         * commandtags.h: add LFUN_HELP_ABOUTLYX
11489         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
11490
11491 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
11492
11493         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
11494         cursorToggle()
11495         * lyx_gui_misc.C: remove spellchecker
11496         * lyxfunc.C: showSpellchecker
11497         * sp_base.h: added
11498         * sp_ispell.h: added
11499         * sp_pspell.h: added
11500         * sp_spell.C: added
11501         * sp_form.[Ch]: removed
11502         * spellchecker.[Ch]: removed
11503
11504 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
11505
11506         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
11507         is set.
11508         (simpleTeXSpecialChars): Simply print the input character without
11509         any special translation if pass_thru is set.
11510
11511         * layout.h: Added bool pass_thru to layout class for being able to
11512         implement pass through of a paragraph for Literate Programming.
11513
11514         * layout.C: add LT_PASS_THRU to LayoutTags enum.
11515         * layout.C (LyXLayout): set pass_thru to flase in constructor.
11516         * layout.C (Read): add "passthru" to list of layout tags and add
11517         code to set the pass_thru boolean when it is read.
11518
11519 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11520
11521         * trans_decl.h: remove allowed from KmodInfo
11522
11523         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
11524         remove allowed code
11525         (Load): adjust
11526
11527         * paragraph_pimpl.C (erase): use boost::prior
11528
11529         * Painter.C (text): use data() instead of c_str() when length is
11530         also provided.
11531         * WorkArea.C (putClipboard): ditto
11532         * font.h (width): ditto
11533
11534         * BufferView2.C: use it-> instead of (*it). for iterators
11535         * texrow.C: ditto
11536         * paragraph_pimpl.C: ditto
11537         * paragraph.C: ditto
11538         * minibuffer.C: ditto
11539         * language.C: ditto
11540         * kbmap.C: ditto
11541         * encoding.C: ditto
11542         * counters.C: ditto
11543         * converter.C: ditto
11544         * chset.C: ditto
11545         * Variables.C: ditto
11546         * TextCache.C: ditto
11547         * MenuBackend.C: ditto
11548         * LyXAction.C: ditto
11549         * LColor.C: ditto
11550         * FloatList.C: ditto
11551         * DepTable.C: ditto
11552         * ColorHandler.C (LyXColorHandler): ditto
11553
11554 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11555
11556         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
11557
11558         * text2.C (openStuff): reintroduce this method (which had been
11559         nuked in NEW_INSETS frenzy).
11560
11561         * lyxfunc.C (Dispatch): when an action has not been handled, use
11562         its name in the error message, not its number.
11563
11564         * paragraph.C (inInset): change method name to begin with lowercase.
11565
11566         * undo_funcs.C:
11567         * text2.C: updates because of this.
11568
11569 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11570
11571         * ToolbarDefaults.C (add): add spaces in error message
11572
11573 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11574
11575         * buffer.C (readLyXformat2): initialize the ert comp. variables.
11576         (readLyXformat2): rename return_par to first_par, use lyxlex's
11577         pushToken and remove the manual push handling.
11578         (parseSingleLyXformat2Token): add another ert comp. variable:
11579         in_tabular, rename return_par to first_par. handle newlines better
11580
11581 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11582
11583         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
11584
11585 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11586
11587         * text2.C (getParFromID): removed
11588
11589         * buffer.C (getParFromID): new method moved form lyxtext.
11590         * BufferView2.C (insertErrors): adjust
11591         (setCursorFromRow): adjust
11592         * BufferView_pimpl.C (restorePosition): adjust
11593         * lyxfunc.C (Dispatch): adjust
11594         * undo_funcs.C (textUndo): adjust
11595         (textRedo): adjust
11596         (textHandleUndo): adjust
11597         (textHandleUndo): adjust
11598
11599 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11600
11601         * buffer.C: up' the LYX_FORMAT
11602
11603         * lyxfont.h: turn NO_LATEX on as default
11604
11605         * buffer.C (insertErtContents): new methods of tex style compability.
11606         (parseSingleLyXformat2Token): use it several places.
11607         * tabular.C (OldFormatRead): and here
11608
11609 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11610
11611         * text2.C: remove some commented code.
11612         reindent file.
11613
11614         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
11615         * trans.C: changes because of the above.
11616
11617 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
11618
11619         * text2.C (setCounter): Fix counters bug with bibliography layout.
11620
11621 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11622
11623         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
11624         own member functions
11625         (simpleTeXSpecialChars): ditto
11626
11627 2001-07-06  Juergen Vigna  <jug@sad.it>
11628
11629         * a lot of files: changed the access to LyXText::status and the
11630         call of undo-functions.
11631
11632         * undo.[Ch]: added a inset_id to the undo informations.
11633
11634         * undo_funcs.[Ch]: added and moved here all undo functions.
11635
11636         * lyxtext.h: give the status enum a weight, made status_ a private
11637         variable and made accessor functions for it, removed the whole bunch
11638         of undo-functions as they are now in their own file, make some
11639         functions publically available. Added function ownerParagraph with
11640         int parameter.
11641
11642         * paragraph.[Ch]: added "bool same_ids" to the constructor,
11643         made InInset() a const function, added getParFromID() function.
11644
11645         * buffer.[Ch]: added const version for inset_iterator functions,
11646         added getInsetFromID() function.
11647
11648         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
11649         changed undo functions for new version.
11650
11651 2001-07-05  Juergen Vigna  <jug@sad.it>
11652
11653         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
11654         unknow mechanism does not call the proper constructor but only this
11655         one also if I request the other!?
11656
11657 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11658
11659         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
11660
11661         * text2.C (LyXText): use initialization lists.
11662
11663         * lyxtext.h (Selection): initialize set_ and mark_
11664         (init): remove method
11665
11666 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
11667
11668         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
11669
11670 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11671
11672         * screen.[Ch]: change method names to begin with lowercase
11673
11674         * BufferView_pimpl.C (updateScrollbar): simplify further and
11675         hopefully make it a bit faster.
11676
11677 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11678
11679         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
11680         calling directly xforms functions.
11681
11682         * Painter.C (Painter):
11683         * lyx_cb.C (MenuWrite):
11684         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
11685         fl_display.
11686
11687         * lyx_gui.C: remove bogus guiruntime extern declaration.
11688
11689 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11690
11691         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
11692         in NEW_INSETS
11693         (redoDrawingOfParagraph): ditto
11694         (redoParagraphs): ditto
11695         (cutSelection): don't create a object for CutAndPaste use the
11696         static method directly
11697         (pasteSelection): ditto
11698
11699         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
11700         LyXview (+ rename)
11701
11702 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11703
11704         * modifications to some other files because of this.
11705
11706         * Makefile.am (lyx_SOURCES): add XFormsView
11707
11708         * XFormsView.[Ch]: new files
11709
11710         * LyXView.[Ch]: make LyXView a base class for the gui handling for
11711         the main window. Move the gui dependent stuff to XFormsView
11712
11713 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11714
11715         * tabular.C (GetCellInset): update cur_cell also in the row/col
11716         version of this function.
11717
11718         * lyxfunc.C: no need to include figure_form.h here.
11719
11720         * FontLoader.h:
11721         * lyxfunc.h:
11722         * lyxscreen.h:
11723         * text2.C:
11724         * lyxvc.C: no need to include forms.h here.
11725
11726 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11727
11728         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
11729
11730         * lyxfunc.C (Dispatch):
11731         * Spacing.C (set):
11732         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
11733         constructor argument.
11734
11735 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11736
11737         * paragraph.C (Paragraph): dont't clear, and just set layout.
11738         (makeSameLayout): use params's copy contructor.
11739
11740         * ParagraphParameters.[Ch] (makeSame): delete method
11741
11742 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
11743
11744         * Variables.[Ch]: fix indentation, rename set to isSet
11745
11746 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11747
11748         * lyxfunc.C (Dispatch): fix typo
11749
11750 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11751
11752         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
11753         upper_bound.
11754
11755         * bufferlist.C: include assert.h for emergencyWrite().
11756
11757 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11758
11759         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
11760           give up at last (bug #425202) !
11761
11762 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
11763
11764         * lyx_gui_misc.C:
11765         * sp_form.h:
11766         * sp_form.C:
11767         * spellchecker.h:
11768         * spellchecker.C: strip spellchecker options and bring up
11769           preferences tab instead
11770
11771 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11772
11773         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
11774         the istringstream constructor
11775
11776 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11777
11778         * paragraph.C (getLayout): fix return value
11779
11780         * paragraph.h: do not declare getLayout as inline.
11781
11782         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
11783
11784 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11785
11786         * lyxcursor.h (operator<): new func
11787         (operator>): new func
11788         (operator>=): new func
11789         (operator<=): new func
11790
11791         * text.C (changeCase): use selection.start and selection.end
11792         (changeRegionCase): require from to be <= to. Require par to be a
11793         valid paragraph.
11794
11795         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
11796
11797 2001-06-27  Juergen Vigna  <jug@sad.it>
11798
11799         * text.C (cursorLeftOneWord): changed to return the cursor and added
11800         overlay with BufferView * parameter which calls this one.
11801         (getWord): added
11802         (selectWord): use new getWord function.
11803         (changeCase): renamed from changeWordCase as and extended to work
11804         also on selections.
11805
11806         * lyxtext.h: added enum word_location
11807
11808         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
11809         changeCase as this operates now also on selections.
11810
11811 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
11812
11813         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
11814
11815         * many files: send debug output to Debug::INFO instead of
11816         Debug::ANY.
11817
11818         * converter.C (View):
11819         (Convert):
11820         (Move): send debug output to Debug::FILES instead of console.
11821
11822 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
11823
11824         * lyxfunc.C (getStatus): use func_status
11825
11826         * func_status.h: new header, describing the results of
11827         LyXFunc::getStatus;
11828
11829         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
11830         LFUN_MATH_HALIGN.
11831
11832 2001-06-25  The LyX Project  <jug@sad.it>
11833
11834         * buffer.C (sgmlOpenTag):
11835         (sgmlCloseTag):
11836         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
11837
11838 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11839
11840         * text2.C: remove some dead code
11841
11842         * tabular.C (GetCellInset): store the last cell checked (gotten)
11843
11844         * tabular.h: add the helper for the speedup
11845
11846         * lyxtext.h: remove some dead code
11847
11848 2001-06-26  The LyX Project  <Asger>
11849
11850         * paragraph.C: Change export to LaTeX of alignment to
11851         \begin{center} and family for better roundtrip work with reLyX.
11852
11853         * Tune the math drawing a bit.
11854
11855 2001-06-25  The LyX Project  <Asger>
11856
11857         * LColor.C (LColor): New color for math background. New color
11858         for buttons.
11859
11860 2001-06-25  The LyX Project  <jug@sad.it>
11861
11862         * lyxfunc.C (MenuNew): remove extra check for .lyx file
11863
11864         * lyxfunc.C (Open):
11865         * bufferlist.C (newFile): do not restrict to files ending with
11866         .lyx
11867
11868         * BufferView_pimpl.C (MenuInsertLyXFile):
11869
11870 2001-06-24  The LyX Project  <jug@sad.it>
11871
11872         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
11873         of compare_no_case
11874
11875 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11876
11877         * lyxtext.h: rename most methods to begin with a small char.
11878         Lots of changes because of this.
11879
11880         * paragraph.C (Paragraph): do not call fitToSize
11881         (erase): call Pimpl::erase
11882         (insertChar): call Pimpl::insertChar
11883         (insertInset): call Pipl::insertInset
11884         (breakParagraph): do not call fitToSize
11885         (breakParagraphConservative): do not call fitToSize
11886         (fitToSize): remove method
11887
11888         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
11889
11890 2001-06-24  The LyX Project  <Asger>
11891
11892         * Fix Qt compilation^2
11893
11894 2001-06-24  The LyX Project  <jug@sad.it>
11895
11896         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
11897         depthHook(getDepth()-1).
11898
11899         * paragraph.h:
11900         * ParagraphParameters.h:
11901         * ParameterStruct.h: change type of depth to unsigned int ==
11902         depth_type. Many adaptations to other files before of that.
11903
11904 2001-06-24  The LyX Project  <Asger>
11905
11906         * Fix Qt compilation.
11907
11908 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11909
11910         * paragraph.h: renamed several methods to begin with small letter.
11911         several changes to many parts of the code because of this.
11912
11913 2001-06-23  The LyX Project  <jug@sad.it>
11914
11915         * text2.C (InsertStringAsLines): renamed from InsertStringA;
11916         rewritten to discard all double spaces when KeepEmpty is off
11917         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
11918         to only handle newlines but not fiddle with spaces and friends.
11919
11920         * lyxfunc.C (MenuNew): when doing 'new from template', use
11921         template_path as default directory
11922
11923 2001-06-23  The LyX Project  <Asger>
11924
11925         * Clean-up of header file includes all over
11926         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
11927
11928 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11929
11930         * paragraph.h: renamed from lyxparagraph.h
11931
11932 2001-06-23  Asger  <lyx@violet.home.sad.it>
11933
11934         * Buffer.h: Removed Buffer::resize
11935         * BufferList.h: Removed BufferList::resize
11936         * LyXView.h: Added LyXView::resize. This way, we will only reflow
11937         the document lazily when we change the width, or the font settings.
11938
11939 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11940
11941         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
11942
11943 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11944
11945         * buffer.h: remove out of date comment
11946
11947 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11948
11949         * lyxscreen.h:
11950         * screen.C: fix "theoretical" GC leak
11951
11952 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11953
11954         * LaTeX.C (scanAuxFile):
11955         (deplog): remove trailing \r when reading stream (useful under
11956         win32)
11957
11958 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
11959
11960         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
11961         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
11962         and BufferView::theLockingInset(Inset*), so should use them and not
11963         access bv_->text->the_locking_inset directly.
11964
11965         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
11966
11967 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
11968
11969         * Makefile.am:
11970         * tex-defs.h: remove old unused file
11971
11972 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
11973
11974         * BufferView_pimpl.C: fix typo, remove minibuffer message
11975           when buffer has loaded
11976
11977 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11978
11979         * lyxfunc.C (Dispatch): use stringstream
11980         (MenuNew): use stringstream
11981         (Open): use stringstream
11982
11983         * importer.C (Import): use stringstream
11984
11985         * bufferview_funcs.C (CurrentState): use stringstream
11986
11987         * LaTeX.C (run): use stringstream
11988
11989         * BufferView_pimpl.C (savePosition): use stringstream
11990         (restorePosition): use stringstream
11991         (MenuInsertLyXFile): use stringstream
11992
11993 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
11994
11995         * BufferView.C:
11996         * Bullet.C:
11997         * ColorHandler.C:
11998         * FontInfo.C:
11999         * FontLoader.C:
12000         * LColor.C:
12001         * LaTeXFeatures.C:
12002         * Painter.C:
12003         * gettext.C:
12004         * lyx_gui_misc.C:
12005         * lyxserver.C:
12006         * vspace.C: removed // -*- C++ -*- as first line.
12007
12008         * lyxfind.h:
12009         * version.h: added // -*- C++ -*- as first line.
12010
12011 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12012
12013         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12014
12015         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12016         of string
12017
12018 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12019
12020         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12021         of floats.
12022
12023 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12024
12025         * gettext.C: include LString.h even when --disable-nls is on.
12026
12027 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
12028
12029         * converter.h (Get): changed argument type from int to
12030         FormatList::size_type to avoid unnecessary conversion.
12031
12032         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12033         before using it.
12034
12035 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12036
12037         * gettext.h: include LString.h even when --disable-nls is on.
12038
12039 2001-06-07  Juergen Vigna  <jug@sad.it>
12040
12041         * text.C (BreakAgain): subst spaces with tabs.
12042
12043         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
12044         (resizeInsetsLyXText): set force on resizeLyXText.
12045
12046 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12047
12048         * gettext.h (gettext_init):
12049         (locale_init): use a real definition instead of a macro
12050
12051 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12052
12053         * Bufferview_pimpl.C:
12054         * LColor.h:
12055         * LColor.C: further lcolor tidies
12056
12057 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12058
12059         * BufferView_pimpl.C (updateScrollbar): simplify.
12060
12061         * BufferView2.C: don't include insets/insetinfo.h, change
12062         prototype for insertInset and call the Pimpl version. let
12063         updateInset call Pimpl version.
12064
12065         * BufferView.h: move inset_slept to BufferView::Pimpl, move
12066         gotoInset to BufferView::Pimpl
12067
12068 2001-06-01  Juergen Vigna  <jug@sad.it>
12069
12070         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
12071         inside a LockingInset (is the update needed at all?).
12072
12073 2001-05-31  Juergen Vigna  <jug@sad.it>
12074
12075         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
12076         here not the old one otherwise how should we compare it afterwards
12077         if it's the same!
12078
12079 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12080
12081         * lyxfont.C:
12082         * tabular.C:
12083         * tabular-old.C:
12084         * FontInfo.C: bring C functions into global namespace when
12085         necessary
12086
12087 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12088
12089         * LString.h: make sure config.h has been loaded before LString.h.
12090
12091         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
12092         (one for each char read by EatLine!).
12093
12094         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
12095         variables.
12096
12097 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12098
12099         * paragraph.C (BreakParagraph): set the inset_owner in the new par
12100         to the same as the par we break from
12101
12102 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12103
12104         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
12105
12106         * MenuBackend.C (expand): also create menu entries for wide
12107         versions of the floats.
12108
12109         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
12110
12111         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
12112
12113         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
12114         frontends/Makefile.am
12115
12116         * text2.C: adjust
12117         * text.C: adjust
12118
12119
12120         * tabular.C (getTokenValue): add std::
12121
12122         * tabular-old.C (getTokenValue): add std::
12123         (getTokenValue): ditto
12124         (getTokenValue): ditto
12125
12126         * screen.C (ToggleSelection): adjust
12127
12128         * lyxtext.h: put selection cursors inside a Selection struct.
12129
12130         * lyxfunc.C (moveCursorUpdate): adjust
12131
12132         * lyxfont.C (latexWriteStartChanges): add std::
12133
12134         * lyxfind.C: adjust
12135
12136         * font.h: delete with(char const *, LyXFont const &)
12137
12138         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
12139
12140         * FontInfo.C (getFontname): add std::
12141
12142         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12143         (workAreaButtonPress): adjust
12144         (tripleClick): adjust
12145         (update): adjust
12146         (moveCursorUpdate): adjust
12147         (Dispatch): adjust
12148
12149         * BufferView2.C (gotoInset): adjust
12150
12151 2001-05-30  Juergen Vigna  <jug@sad.it>
12152
12153         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
12154         to check pspell I add this as default as I now have new pspell
12155         libraries and they seem to use this.
12156
12157 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12158
12159         * text2.C (CutSelection): make the cursor valid before the call to
12160         ClearSelection.
12161
12162 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12163
12164         * kbsequence.C (parse): de-uglify a bit the parsing code, which
12165         relied on 0 terminated strings and other horrors. Bug found due to
12166         the new assert in lyxstring!
12167
12168         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12169         KP_ keys.
12170
12171 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12172
12173         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12174         to latinkeys.bind.
12175
12176         * lyxfunc.C (processKeySym): change method of getting to the
12177         self-insert char.
12178
12179         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12180         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12181         * BufferView_pimpl.[Ch]: here as private methods.
12182
12183 2001-05-28  Juergen Vigna  <jug@sad.it>
12184
12185         * text.C (SetHeightOfRow): added the update() call again as it is
12186         needed to initialize inset dimensions!
12187
12188 2001-05-16  Juergen Vigna  <jug@sad.it>
12189
12190         * text2.C (SetCharFont): Add new function with BufferView * and
12191         bool toggleall parameters for setting insets internal fonts.
12192         (SetFont): Freeze the undo as we may change fonts in Insets and
12193         all this change should be inside only one Undo!
12194
12195         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12196         setting font's in insets as for them we have the SetFont function!
12197
12198 2001-05-15  Juergen Vigna  <jug@sad.it>
12199
12200         * text2.C (ClearSelection): to be sure we REALLY don't have any
12201         selection anymore!
12202
12203         * tabular.C (TeXCellPreamble): fixed the left border problem for
12204         multicolumn cells.
12205
12206 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
12207
12208         * LaTeX.C (deplog): Make sure that the main .tex file is in the
12209         dependancy file
12210
12211 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12212
12213         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12214         LFUN_BREAKPARAGRAPH.
12215
12216         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12217         help test to "internal only", similar for LFUN_INSERT_URL
12218
12219         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12220         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12221         auto_region_delete and deadkeys.
12222
12223 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
12224
12225         * LColor.h:
12226         * LColor.C: remove some dead entries, tidy a little
12227
12228 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12229
12230         * lyxfunc.C (processKeySym): comment the Escape handling, remove
12231         commented code.
12232         (Dispatch): implement LFUN_ESCAPE
12233
12234         * commandtags.h: add LFUN_ESCAPE
12235
12236         * LyXAction.C (init): add entry for LFUN_ESCAPE
12237
12238         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12239         Remove commented code.
12240         (insertNote): moved here
12241         (open_new_inset): moved here
12242
12243         * BufferView[2].[Ch]: move insertNote and open_new_inset to
12244         BufferView_pimpl
12245
12246 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12247
12248         * kbmap.C (findbinding): clean it up and make it work correctly.
12249
12250         * lyx_main.C (init): do not pass argc and argv as parameters
12251
12252 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
12253
12254         * buffer.C: fix path for OS/2 & Win32
12255
12256         * lyx_gui.C:
12257         * lyx_main:
12258         * lyx_main.C: Added os:: class.
12259
12260         * os2_defines.h: update
12261
12262 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12263
12264         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12265         better by trying again with reduced state.
12266
12267 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12268
12269         * lyxrc.C (read): print error about invalid key sequence only when
12270         debugging (because not all latinX keysyms are known to some X
12271         servers)
12272
12273         * kbsequence.C (getiso): add a few std:: qualifiers
12274         (getiso): comment out extra return statement.
12275
12276 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12277
12278         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12279         handling.
12280         (Dispatch): enhance the accent inset a bit. (not perfect)
12281
12282 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12283
12284         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12285
12286 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12287
12288         * bufferlist.C (emergencyWrite): fix assert() call
12289
12290 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
12291
12292         * text.C (InsertChar): Added trivial patch to only send the "you
12293         can not do multiple spaces this way" message once during a
12294         session.
12295
12296 2001-05-08  Baruch Even  <baruch@lyx.org>
12297
12298         * Makefile.am: Changed order of libraries to get LyX to link properly
12299         with the gnome frontend.
12300
12301 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12302
12303         * LaTeXFeatures.h: add a std:: qualifier
12304
12305 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12306
12307         * paragraph.C (String): use stringstream
12308
12309 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12310
12311         * paragraph.C (writeFile): remove footflag arg
12312
12313         * buffer.C (makeLaTeXFile): use stringstream
12314         (latexParagraphs): remove footnot gurba
12315
12316         * LaTeXFeatures.C (getPackages): use stringstream
12317         (getMacros): likewise
12318         (getTClassPreamble): likewise
12319         (getFloatDefinitions): new method
12320
12321         * paragraph.C (writeFile): reindent
12322         (Erase): reindent
12323
12324         * WorkArea.h: revert the xpos + etc changes.
12325
12326         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
12327
12328         * lyxparagraph.[Ch]: add copy constructor, remove Clone
12329
12330         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
12331         (pasteSelection): likewise
12332         * text2.C (CreateUndo): likewise
12333
12334 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12335
12336         * minibuffer.C (peek_event): temporarily reduce the functionality
12337         of the minibuffer (to allow args on lfuns)
12338
12339         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
12340         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
12341
12342         * buffer.C (readInset): add compability reading of old float
12343         lists, add reading of new style float list.
12344         (readInset): avoid reevaluation of inscmd.getCmdName()
12345         (getLists): reindent
12346
12347         * MenuBackend.C (MenuItem): implement parsing of
12348         md_floatlistinsert and md_floatinsert.
12349         (expand::LastFiles): move initalizaton of iterators out of loop,
12350         avoid reevaluation.
12351         (expand::Documents): introduce typdedef vector<string> Strings,
12352         and use it.
12353         (expand::ExportFormats): introduce typedef vector<Format const *>
12354         Formats, and use it.
12355         (expand): implement FloatListInsert and FloatInsert.
12356
12357         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
12358         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
12359         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
12360
12361         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
12362         handling.
12363         (Dispatch::LFUN_FLOAT_LIST): implement
12364
12365 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12366
12367         * LaTeX.C (run): Fix problem with --export code.
12368
12369 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12370
12371         * BufferView.[Ch] (workarea): removed.
12372         (getClipboard) new method; wrapper for workarea()->getClipboard()
12373
12374         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
12375         bug.
12376
12377         * WorkArea.h (width, height, xpos, ypos): These methods all
12378         returned the dimensions of the work_area sub-area of WorkArea,
12379         resulting in a position error if the WorkArea were resized. Now
12380         return the dimensions of the entire WorkArea.
12381
12382         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
12383
12384 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12385
12386         * LaTeX.C (deplog): correct the syntax of regex reg1
12387
12388 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12389
12390         * undo.C: remove !NEW_INSETS cruft
12391
12392 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12393
12394         * text2.C: remove !NEW_INSETS cruft
12395
12396         * text.C: remove !NEW_INSETS cruft
12397
12398         * tabular.C: remove !NEW_INSETS cruft
12399
12400         * spellchecker.C: remove !NEW_INSETS cruft
12401
12402         * lyxtext.h: remove !NEW_INSETS cruft
12403
12404         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
12405
12406         * lyxfunc.C: remove !NEW_INSETS cruft
12407
12408         * lyxfind.C: remove !NEW_INSETS cruft
12409
12410         * lyx_cb.C: remove !NEW_INSETS cruft
12411
12412         * figureForm.C: remove  !NEW_INSETS cruft
12413
12414         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
12415
12416         * buffer.[Ch]: remove !NEW_INSETS cruft
12417
12418         * ToolbarDefaults.C: remove !NEW_INSETS cruft
12419
12420         * CutAndPaste.C: remove !NEW_INSETS cruft
12421
12422         * BufferView_pimpl.C: remove !NEW_INSETS cruft
12423
12424         * BufferView2.C: remove !NEW_INSETS cruft
12425
12426         * BufferView.h: remove !NEW_INSETS cruft
12427
12428 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12429
12430         * Lsstream.h: include LString.h before the sstream headers to
12431         fix problem with gcc 2.95.3 and lyxstring
12432
12433 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12434
12435         * lyx_main.C: add using directives when needed for C functions
12436         declared in std:: namespace.
12437
12438 2001-04-27  Juergen Vigna  <jug@sad.it>
12439
12440         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
12441         (SetHeightOfRow): comment out the update call should not be needed!
12442
12443 2001-04-13  Juergen Vigna  <jug@sad.it>
12444
12445         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
12446         (LyXTabular): tried to minimize operator= operations (and realized
12447         hopfully Lars wish).
12448
12449 2001-04-27  Juergen Vigna  <jug@sad.it>
12450
12451         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
12452
12453 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12454
12455         * lyxfunc.C (Dispatch): hack to make listof algorithm work
12456
12457         * buffer.C (readInset): hack to make listof algorithm work
12458
12459         * BufferView_pimpl.C: hack to make listof algorithm work
12460
12461 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12462
12463         * LyXAction.C: removed all !NEW_INSETS cruft
12464         (init): moved lfun_item in method
12465
12466         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
12467
12468 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12469
12470         * BufferView2.C (theLockingInset): white space.
12471
12472 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12473
12474         * minibuffer.C: include <iostream>
12475
12476         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
12477
12478         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
12479
12480         * commandtags.h: add LFUN_TRANSPOSE_CHARS
12481
12482         * text.[Ch] (TransposeChars): new method
12483
12484 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12485
12486         * call message directly through LyXView instead of through LyXFunc
12487         * BufferView2.C: adjust
12488         * BufferView_pimpl.C: adjust
12489         * FontLoader.C: adjust
12490         * buffer.C: adjust
12491         * bufferview_funcs.C: adjust
12492         * converter.C: adjust
12493         * figureForm.C: adjust
12494         * importer.C: adjust
12495         * lyx_cb.C: adjust
12496         * lyx_gui_misc.C: adjust
12497         * lyxfunc.C: adjust
12498         * lyxvc.C: adjust
12499         * text2.C: adjust
12500         + more files in subdirs
12501
12502         * lyxparagraph.h (size): move up int file
12503         (GetLayout): ditto
12504
12505         * adjust all uses of Assert to lyx::Assert.
12506
12507         * BufferView2.C (ChangeCitationsIfUnique): adjust for
12508         lyxfunctional in namespace lyx
12509         * layout.C (hasLayout): ditto
12510         (GetLayout): ditto
12511         (GetLayout): ditto
12512         (delete_layout): ditto
12513         (NumberOfClass): ditto
12514         * converter.C (GetFormat): ditto
12515         (GetNumber): ditto
12516         (Add): ditto
12517         (Delete): ditto
12518         (SetViewer): ditto
12519         * bufferlist.C (getFileNames): ditto
12520         (emergencyWriteAll): ditto
12521         (exists): ditto
12522         (getBuffer): ditto
12523         * MenuBackend.C (hasSubmenu): ditto
12524         (hasMenu): ditto
12525         (getMenu): ditto
12526         * BufferView_pimpl.C (getInsetByCode): ditto
12527
12528 2001-04-18  Juergen Vigna  <jug@sad.it>
12529
12530         * vspace.C (asLatexString): fixed the 100% problem.
12531
12532 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12533
12534         * lyxfunc.C (Dispatch):
12535         * minibuffer.C:
12536         * minibuffer.h: add a few std:: qualifiers
12537
12538 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12539
12540         * minibuffer.[Ch]: reimplement so that commands is initiated and
12541         run from lyxfunc, simplified som handling, and made the completion
12542         and history code for complete. wip.
12543
12544         * lyxfunc.C (processKeySym): call message
12545         (miniDispatch): new temporary method
12546         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
12547         (LFUN_MESSAGE): implement
12548         (LFUN_MESSAGE_PUSH): implement
12549         (LFUN_MESSAGE_POP): implement
12550         (initMiniBuffer): the initial/defualt minibuffer message.
12551
12552         * lyxfont.[Ch]: inline some more getters
12553
12554         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
12555
12556         * lyx_gui_misc.[Ch] (WriteStatus): remove method
12557
12558         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
12559         (AutoSave): use LFUN_MESSAGE
12560         (Reconfigure): ditto
12561
12562         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
12563
12564         * figureForm.C: use LFUN_MESSAGE
12565
12566         * converter.C (runLaTeX): use LFUN_MESSAGE
12567
12568         * bufferview_funcs.C: use LFUN_MESSAGE
12569         (Melt): ditto
12570         (changeDepth): ditto
12571
12572         * bufferparams.h: use boost::
12573
12574         * bufferlist.h: inherit privately from noncopyable
12575
12576         * bufferlist.C (loadLyXFile): remove some commented code.
12577
12578         * buffer.C (runChktex): use LFUN_MESSAGE
12579
12580         * ShareContainer.h: inherit privately from noncopyable
12581
12582         * ParagraphParameters.[hC] (depth): inline it.
12583
12584         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
12585         methods.
12586         (message): new method
12587         (messagePush): ditto
12588         (messagePop): ditto
12589         (show): init minibuffer
12590         (showState): direct call
12591
12592         * LaTeX.[Ch]: inherit privately from noncopyable
12593         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
12594         instead of WriteStatus.
12595
12596         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
12597
12598         * BufferView_pimpl.C (buffer): don't init minibuffer
12599         (workAreaButtonPress): use LFUN_MESSAGE
12600         (workAreaButtonRelease): ditto
12601         (savePosition): ditto
12602         (restorePosition): ditto
12603         (MenuInsertLyXFile): ditto
12604         (workAreaExpose): don't init minibuffer
12605         (update): remove commented code, simplify
12606
12607         * BufferView2.C (openStuff): use LFUN_MESSAGE
12608         (toggleFloat): ditto
12609         (menuUndo): ditto
12610         (menuRedo): ditto
12611         (copyEnvironment): ditto
12612         (pasteEnvironment): ditto
12613         (copy): ditto
12614         (cut): ditto
12615         (paste): ditto
12616         (gotoInset): ditto
12617         (updateInset): remove some commented code
12618
12619         * lastfiles.h: inherit privately from noncopyable
12620         * layout.h: ditto
12621         * lyx_gui.h: ditto
12622         * lyx_main.h: ditto
12623         * lyxlex.h: ditto
12624         * lyxlex_pimpl.h: ditto
12625
12626         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
12627         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
12628         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12629
12630         * LyXAction.h: inherit privately from noncopyable, add methods
12631         func_begin, func_end, returning iterators to the func map.
12632
12633         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
12634         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12635         (func_begin): new method
12636         (func_end): new method
12637
12638         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
12639         and not)
12640         (copySelection): ditto
12641         (pasteSelection): ditto
12642
12643         * BufferView.C: whitespace change
12644         * BufferView.h: inherit privately from noncopyable
12645
12646 2001-04-16  Allan Rae  <rae@lyx.org>
12647
12648         * tabular-old.C (l_getline):
12649         * spellchecker.C (sc_check_word):
12650         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
12651         an unrecognised preprocessor directive.  So ensure they're wrapped.
12652
12653 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
12654
12655         * src/exporter.C (Export): Give an error message when path to file
12656         contains spaces.
12657
12658 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
12659
12660         * LaTeX.C (deplog): Always check that foundfile exists.
12661
12662 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12663
12664         * lyx_main.h:
12665         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
12666
12667 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12668
12669         * tabular.[Ch] (getLabelList): implement new method
12670
12671         * minibuffer.h: comment ouf setTiimer
12672
12673         * minibuffer.C (ExecutingCB): constify res
12674         (peek_event): constify s
12675         (Set): constify ntext
12676         (Init): constify nicename
12677
12678         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
12679
12680         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
12681         (savePosition): use two params to Minibuffer::Set
12682         (restorePosition): ditto
12683
12684 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12685
12686         * lyx_main.C: include language.h
12687
12688         * Makefile.am (lyx_main.o): add language.h
12689
12690 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12691
12692         * exporter.C:
12693         * paragraph.C:
12694         * screen.C:
12695         * tabular.C:
12696         * CutAndPaste.C: include gettext.h
12697
12698         * lyxfont.h: remove old hack with ON and OFF.
12699
12700         * lyxparagraph.h:
12701         * lyxfont.h: do not include language.h...
12702
12703         * BufferView2.C:
12704         * LaTeXFeatures.C:
12705         * Painter.C:
12706         * bufferview_funcs.C:
12707         * font.C:
12708         * lyxfont.C:
12709         * text.C:
12710         * text2.C:
12711         * trans_mgr.C:
12712         * paragraph.C: ... but do it here instead
12713
12714 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12715
12716         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
12717
12718         * tabular.C: small reformat
12719
12720         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
12721         NEW_INSETS version
12722         (GetChar): ditto
12723         (BreakParagraph): ditto
12724         (SetOnlyLayout): ditto
12725         (SetLayout): ditto
12726
12727         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
12728         with one arg less.
12729
12730         * lastfiles.C: removed most using decl, add std:: where needed
12731
12732         * buffer.C: ws changes
12733
12734         * MenuBackend.C (class compare_format): put into anon namespace
12735         (expand): constify label, names, action, action2
12736         (expand):
12737
12738         * text.C (SingleWidth): constify font
12739         (IsBoundary): constify rtl2
12740         (GetVisibleRow): constify ww
12741
12742         * LaTeX.C (deplog): constify logfile
12743
12744         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
12745         start_x, end_x
12746         (workAreaExpose): constify widthChange, heightChange
12747
12748         * lyxrow.C (par): moved
12749         (height): moved
12750         (next): moved
12751         * lyxrow.h: as inlines here
12752
12753         * lyxfont.h (shape): moved from lyxfont.C
12754         (emph): moved from lyxfont.C
12755
12756         * lyxfont.C (LyXFont): use initialization list for all
12757         constructors
12758         (shape): move to lyxfont.h as inline
12759         (emph): move to lyxfont.h as inline
12760
12761
12762 2001-04-04  Juergen Vigna  <jug@sad.it>
12763
12764         * vspace.C: had to include stdio.h for use of sscanf
12765
12766 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
12767
12768         * BufferView.h:
12769         * BufferView_pimpl.h: remove xforms cruft. Both classes are
12770         independent of xforms.
12771
12772 2001-04-02  Juergen Vigna  <jug@sad.it>
12773
12774         * spellchecker.C: fixed namespace placing!
12775
12776 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
12777
12778         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
12779         the LyXParagraph * is 0.
12780
12781 2001-03-29  Juergen Vigna  <jug@sad.it>
12782
12783         * vspace.C: added support for %, c%, p%, l%.
12784         (stringFromUnit): added helper function.
12785         (asLatexString): changed to give right results for the %-values.
12786
12787         * buffer.C: convert the widthp in a width%.
12788
12789 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
12790
12791         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
12792         figureForm.[Ch].
12793
12794         * figureForm.[Ch]: stripped the FD_from_figure manipulation
12795         code out of lux_cb.[Ch], ready for its (imminent?) removal.
12796
12797         * lyx_cb.[Ch]: see above.
12798
12799         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
12800         form1.[Ch].
12801
12802         * form1.[Ch]:
12803         * lyx.[Ch]: replaced by figure_form.[Ch].
12804
12805         * lyx_gui.C:
12806         * lyx_gui_misc.C:
12807         * lyxfunc.C: changed headers associated with above changes.
12808
12809 2001-03-27  Juergen Vigna  <jug@sad.it>
12810
12811         * BufferView_pimpl.C: set the temporary cursor right!
12812
12813 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
12814
12815         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
12816
12817 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
12818
12819         * LString.h: removed "using std::getline"!
12820
12821         * BufferView_pimpl.C (Dispatch): changes due to changes in
12822         InsetInclude::Params.
12823
12824         * buffer.C (tag_name): removed redundant break statements as they were
12825         producing lots of warnings with my compiler.
12826
12827 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12828
12829         * LString.h: add "using std::getline" when using the real <string>.
12830
12831 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
12832
12833         * buffer.C: removed bitset usage.
12834         PAR_TAG moved to an anonymous name space.
12835         (tag_name): new funtion, also in the anonymous namespace.
12836         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
12837         (makeDocBookFile): clean code. Completed transition from string arrays
12838         to string vectors.
12839         (SimpleDocBookOnePar): code clean.
12840
12841 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12842
12843         * tabular.C: add some comments.
12844
12845 2001-03-22  Juergen Vigna  <jug@sad.it>
12846
12847         * buffer.C (parseSingleLyXformat2Token): redone the minipage
12848         compatibility read a bit and fixed bug with minipage in different
12849         depth.
12850
12851 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
12852
12853         * buffer.C (pop_tag): removed.
12854         (push_tag): removed.
12855         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
12856         array replaced with vector. Added support for CDATA sections.
12857         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
12858         at any nest level.
12859         (makeDocBookFile): XML conformant declaration of CDATA section,
12860         fixed bug related to <emphasis> in the first paragraph char.
12861         (sgmlOpenTag): exclude empty tags.
12862         (sgmlCloseTag): ditto.
12863
12864         * buffer.h (pop_tag): removed.
12865         (push_tag): removed.
12866
12867 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
12868
12869         * language.h (Languages): added size_type and size().
12870
12871 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12872
12873         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
12874         response on compability reading of minipages. One probliem is that
12875         the old usage of minipages was «flertydig»
12876
12877         * several files here and in subdirs: don't use static at file
12878         scope use anon namespaces instead.
12879
12880 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
12881
12882         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
12883         LaTeX output. This is necessary for Literate document
12884         processing.
12885
12886 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12887
12888         * buffer.C: insert hfill when needed.
12889
12890         * tabular.C (l_getline): use string::erase, small whitespace change.
12891
12892         * BufferView_pimpl.C: try the anon namespace.
12893         * WorkArea.C: ditto
12894
12895 2001-03-16  Juergen Vigna  <jug@sad.it>
12896
12897         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
12898         otherwise it won't open options-dialogs.
12899
12900         * buffer.C: honor pextraWidth(p) on converting minipages.
12901
12902         * tabular.C (l_getline): changed the functions to strip trailing \r.
12903
12904 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
12905
12906         * BufferView_pimpl.C:
12907         * minibuffer..C: added "using SigC::slot" declaration.
12908
12909 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12910
12911         * lyxlex_pimpl.h: noncopyable is in namespace boost.
12912
12913         * text2.C: ditto
12914
12915         * text.C: ditto
12916
12917         * paragraph.C: ditto
12918
12919         * lyxtext.h: NO_PEXTRA
12920
12921         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
12922
12923         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
12924         * ParameterStruct.h: ditto
12925         * ParagraphParameters.h: ditto
12926         * lyxparagraph.h: ditto
12927
12928 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12929
12930         * buffer.C: add compability for minipage alignment.
12931         (latexParagraphs): remove unwanted pextra check.
12932
12933         * several files: remove CXX_WORKING_NAMESPACES
12934
12935         * buffer.C (pop_tag): tie is in namespace boost
12936
12937         * BufferView.h: noncopyable is in namespace boost
12938         * lyxlex.h: ditto
12939         * lyx_main.h: ditto
12940         * lyx_gui.h: ditto
12941         * layout.h: ditto
12942         * lastfiles.h: ditto
12943         * bufferlist.h: ditto
12944         * ShareContainer.h: ditto
12945         * LyXView.h: ditto
12946         * LyXAction.h: ditto
12947         * LaTeX.h: ditto
12948
12949 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
12950
12951         * Merging changes from BRANCH_MVC back into HEAD.
12952
12953         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
12954
12955 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
12956
12957         * BufferView_pimpl.C: change from intl.C
12958
12959         * combox.h:
12960         * combox.C:
12961         * Makefile.am: move combox.*
12962
12963         * form1.h:
12964         * form1.C:
12965         * lyx_gui.C:
12966         * intl.h:
12967         * intl.C: remove dialog (covered by prefs)
12968
12969 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
12970
12971         * lyxfunc.C (Dispatch): removed redundant break statement.
12972
12973 2001-03-14  Juergen Vigna  <jug@sad.it>
12974
12975         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
12976
12977 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12978
12979         * buffer.C: add hack to fix compability reading of minipages.
12980
12981 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
12982
12983         * buffer.C (getLists): Cleanup.
12984
12985 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12986
12987         * lyxfont.C (update): don't honor toggleall on font size.
12988
12989 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
12990
12991         * bmtable.c:
12992         * bmtable.h:
12993         * Makefile.am: moved to frontends/xforms/
12994
12995         * lyx_gui_misc.C:
12996         * lyxfunc.C:
12997         * BufferView_pimpl.C: changes for moved mathpanel
12998
12999 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13000
13001         * gettext.h: fix gettext_init() in --disable-nls
13002
13003 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13004
13005         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13006
13007 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
13008
13009         * lyx.C:
13010         * lyx.h: strip external form
13011
13012 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13013
13014         * BufferView_pimpl.C: add comment, destroySplash()
13015
13016 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13017
13018         * BufferView_pimpl.C:
13019         * LyXAction.C:
13020         * buffer.C:
13021         * commandtags.h:
13022         * lyxfunc.C: use re-worked insetinclude
13023
13024 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13025
13026         * buffer.C: add using std::stringstream.
13027
13028         * lyx_cb.C: readd using std::ios.
13029
13030         * buffer.C: add using std::map.
13031
13032         * BufferView_pimpl.C: add using std::vector.
13033
13034         * ShareContainer.h: add std:: to swap.
13035
13036         * buffer.h: add some typedefs
13037         * buffer.C (getLists): use them
13038         (getLists): renamed from getTocList.
13039         add a counter for the different float types and use it in the
13040         generated string.
13041         (getLists): use the same counter for the NEW_INSETS and the "non"
13042         NEW_INSETS
13043
13044         * lyx_cb.h: remove unused items, includes, using etc.
13045
13046         * ShareContainer.h: remove some commented code, add more comments
13047         and "documentation".
13048
13049 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13050
13051         * buffer.C (getTocList): make the list also when NEW_INSETS is
13052         defined.
13053
13054         * buffer.h: remove TocType
13055
13056         * buffer.C (getTocList): change to return a map<string,
13057         vector<TocItem> >, implement for dynamic number of list.
13058
13059         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13060         * text2.C (PasteSelection): adjust
13061         * CutAndPaste.C (pasteSelection): adjust
13062
13063         * FloatList.C (FloatList): update from the new_insets branch.
13064         * Floating.[Ch]: ditto
13065         * LaTeXFeatures.C: ditto
13066         * buffer.C: ditto
13067         * lyxlex_pimpl.C: ditto
13068
13069         * paragraph.C (Last): remove when NEW_INSETS is defined.
13070
13071         * other file: changes because of the above.
13072
13073 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13074
13075         * lyxparagraph.h: rename next to next_, previous to previous_,
13076         make them private for NEW_INSETS. Rename Next() to next(),
13077         Previous() to previous().
13078
13079         * other files: changes because of the above.
13080
13081 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
13082
13083         * BufferView.h:
13084         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
13085         problem.
13086
13087 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13088
13089         * main.C (main): pass lyx_localedir to gettext_init().
13090
13091         * gettext.h: remove locale_init and gettext_init macros
13092
13093         * gettext.C (locale_init): new function
13094         (gettext_init): new function
13095
13096         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
13097         setlocale().
13098
13099 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
13100
13101         * Moved credits to frontends:
13102         * credits.[Ch]: removed
13103         * credits_form.[Ch]: removed
13104         * lyx_gui_misc.C: remove credits stuff
13105         * Makefile.am:
13106
13107 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13108
13109         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
13110
13111         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
13112         unneeded destructor.
13113
13114         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
13115         a standalone pointer again.
13116
13117         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
13118
13119 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
13120
13121         * Makefile.am:
13122         * filedlg.h:
13123         * filedlg.C:
13124         * LyXAction.C:
13125         * ToolbarDefaults.C:
13126         * bufferlist.C:
13127         * commandtags.h:
13128         * form1.C:
13129         * form1.h:
13130         * lyx_cb.C:
13131         * lyx_cb.h:
13132         * lyxfunc.h:
13133         * lyxfunc.C:
13134         * BufferView_pimpl.C: use new file dialog in GUII
13135
13136         * lyx_cb.h:
13137         * lyx_cb.C: remove LayoutsCB to Toolbar
13138
13139 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13140
13141         * ShareContainer.h (get): add std:: qualifier
13142
13143 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13144
13145         * ShareContainer.h: define a proper ShareContainer::value_type
13146         type (and use typename to please compaq cxx)
13147
13148 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13149
13150         * lyxparagraph.h: move serveral local vars to
13151         ParameterStruct/ParagraphParameters., use ShareContainer in
13152         FontTable., make vars in FontTable private and add getter and
13153         setter.
13154
13155         * paragraph.C: changes because of the above.
13156
13157         * lyxfont.h: remove copy constructor and copy assignment. (the
13158         default ones is ok), move number inside FontBits. move inlines to
13159         lyxfont.C
13160
13161         * lyxfont.C: add number to initializaton of statics, move several
13162         inlines here. constify several local vars. some whitespace
13163         cleanup. Dont hide outerscope variables.
13164
13165         * Spacing.h: add two new constructors to match the set methods.
13166
13167         * ShareContainer.h: new file, will perhaps be moved to support
13168
13169         * ParameterStruct.h: new file
13170
13171         * ParagraphParameters.h: new file
13172
13173         * ParagraphParameters.C: new file
13174
13175         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13176         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13177
13178         * BufferView_pimpl.C: ParagraphParameter changes.
13179         * buffer.C: Likewise.
13180         * bufferview_funcs.C: Likewise.
13181         * text.C: Likewise.
13182         * text2.C: Likewise.
13183
13184 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13185
13186         * lyxfind.C (LyXReplace): do not redefine default argument in
13187         implementation.
13188         (IsStringInText): ditto
13189         (SearchForward): ditto
13190         (SearchBackward): ditto
13191
13192 2001-03-06  Juergen Vigna  <jug@sad.it>
13193
13194         * lyxfind.C (IsStringInText): put parentes around expressions.
13195
13196 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
13197
13198         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13199
13200 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
13201
13202         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13203
13204         * stl_string_fwd.h: add comment
13205
13206         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13207
13208         * tabular.h:
13209         * tabular.C: remove unused DocBook methods
13210
13211         * intl.C:
13212         * language.C:
13213         * paragraph.C:
13214         * buffer.C:
13215         killed DO_USE_DEFAULT_LANGUAGE
13216
13217 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13218
13219         * lyx_gui.C: do not include language.h.
13220
13221         * bufferview_funcs.C (ToggleAndShow): do not provide optional
13222         arguments in function implementation.
13223
13224 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13225
13226         * BufferView_pimpl.C: add <ctime>
13227
13228 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13229
13230         * BufferView_pimpl.C: add using std::find_if
13231
13232 2001-02-27  José Matos  <jamatos@fep.up.pt>
13233
13234         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13235         by OnlyPath.
13236
13237 2001-02-11  José Matos  <jamatos@fep.up.pt>
13238
13239         * buffer.C (makeDocBookFile): command styles now have a parameter as
13240         "title" by default.
13241
13242 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
13243
13244         * layout_forms.[Ch]: removed
13245         * lyx_cb.[Ch]: out character
13246         * lyx_gui.C: out character
13247         * lyx_gui_misc.C: out character
13248         * bufferview_funcs.C: : out character,
13249         added toggleall as parameter in ToggleAndShow
13250
13251 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
13252
13253         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13254
13255         * text2.C (SetCurrentFont): Disable number property at boundary.
13256
13257 2001-02-26  Juergen Vigna  <jug@sad.it>
13258
13259         * lyxfunc.C (getStatus): added a string argument override function so
13260         that this is correctly called from LyXFunc::Dispatch if it contains a
13261         do_not_use_argument which is used!
13262         (Dispatch): added check for "custom" export and call appropriate func.
13263
13264 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
13265
13266         * lyxrc.C: Add language_command_local, language_use_babel and
13267         language_global_options.
13268
13269         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13270
13271         * buffer.C (makeLaTeXFile): Use language_use_babel and
13272         language_global_options.
13273
13274 2001-02-23  Juergen Vigna  <jug@sad.it>
13275
13276         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13277         which works with LyXText and putted it inside BufferView. Here now we
13278         only call for that part the BufferView::Dispatch() function.
13279
13280         * BufferView.C (Dispatch): added.
13281
13282         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13283         functions which needs to use a LyXText over from LyXFunc.
13284         (MenuInsertLyXFile): added
13285         (getInsetByCode): added
13286         (moveCursorUpdate): added
13287         (static TEXT): added
13288
13289 2001-02-22  Juergen Vigna  <jug@sad.it>
13290
13291         * BufferView_pimpl.C (update): call a status update to see if LyXText
13292         needs it.
13293
13294 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13295
13296         * vc-backend.C (revert): implement for CVS
13297         (getLog): implement for CVS
13298
13299 2001-02-20  Juergen Vigna  <jug@sad.it>
13300
13301         * text2.C (ClearSelection): added BufferView param for inset_owner call
13302
13303         * lyxfunc.C (TEXT): added this function and use it instead of
13304         directly owner->view()-text of getLyXText().
13305
13306 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
13307
13308         * src/layout_forms.C: out preamble
13309         * src/layout_forms.h: out preamble
13310         * src/lyx_cb.C: out preamble
13311         * src/lyx_cb.h: out preamble
13312         * src/lyx_gui.C: out preamble
13313         * src/lyx_gui_misc.C: out preamble
13314         * src/lyxfunc.C: connect with guii preamble
13315
13316 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
13317
13318         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
13319
13320 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
13321
13322         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
13323         whether to run bibtex.
13324
13325 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
13326
13327         * Makefile.am (lyx_SOURCES): Remove BackStack.h
13328
13329 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13330
13331         * Makefile.am (lyx_SOURCES): removed bibforms.h
13332
13333         * vspace.h: doxygen
13334
13335         * text.C (GetVisibleRow): make several local vars const
13336
13337         * tabular.C: small cleanup.
13338
13339         * lyxserver.C (callback): use compare instead of strncmp
13340
13341         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
13342         inlines to after class or to paragraph.C
13343
13344         * lyxfont.h: remove friend operator!=
13345
13346         * converter.h: move friend bool operator< to non friend and after
13347         class def.
13348
13349         * combox.h: small cleanup
13350
13351         * buffer.h: doxygen, remove unused constructor, move inclas inlies
13352         to inlines after class def.
13353
13354         * buffer.C (pop_tag): use string operations instead of strcmp
13355
13356         * bmtable.c: doxygen, small cleanup
13357
13358         * LaTeX.h: remove friend operator==
13359
13360 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
13361
13362         * screen.C:
13363         * lyxrc.[Ch]:
13364         * lyxfunc.C:
13365         * lyxfont.[Ch]:
13366         * lyx_cb.C:
13367         * intl.[Ch]:
13368         * commandtags.h:
13369         * buffer.C:
13370         * WorkArea.[Ch]:
13371         * LyXAction.C:
13372         * BufferView_pimpl.C:
13373         * BufferView.[Ch]: remove cruft
13374
13375 2001-02-14  Juergen Vigna  <jug@sad.it>
13376
13377         * lyxfunc.C: removed #if 0 unused code
13378
13379         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
13380
13381         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
13382
13383         * text2.C (SetSelection): added a BufferView * parameter
13384
13385 2001-02-13  Juergen Vigna  <jug@sad.it>
13386
13387         * lyxfunc.C (Dispatch): fixed protected blank problem.
13388         * BufferView2.C (protectedBlank): added LyxText * parameter.
13389
13390         * tabular.C (AppendRow): forgot to set row_info of newly added row.
13391         (AppendColumn): same as above for column_info.
13392
13393         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
13394         (moveCursorUpdate): use a LyXText param for support of InsetText.
13395
13396         * BufferView_pimpl.C (doubleClick): added support for InsetText.
13397         (tripleClick): ditto
13398
13399         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
13400
13401         * BufferView_pimpl.C (update): added LyXText param to honor insets.
13402
13403         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
13404
13405         * text2.C (SetSelection): set correct update status if inset_owner
13406         (ToggleFree): ditto
13407
13408 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
13409
13410         * tabular.C: remove some commented code.
13411
13412 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
13413
13414         * BufferView_pimpl.C: call hideSplash()
13415
13416         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
13417
13418         * include_form.h:
13419         * bibforms.h: remove
13420
13421         * lyxfunc.C:
13422         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
13423           add LFUN_CHILD_CREATE
13424
13425         * counters.h: fix tiny typo
13426
13427         * lyx_cb.C:
13428         * lyx.h:
13429         * lyx_gui.C:
13430         * lyx.C: move splash to frontends/xforms/
13431
13432         * lyx_gui_misc.C: move Include and Bibform to frontends
13433
13434         * lyxvc.h: clarify comment
13435
13436         * vspace.C: tiny housekeeping
13437
13438 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
13439
13440         * text.C (PrepareToPrint): RTL Fix.
13441
13442         * paragraph.C (GetUChar): New method.
13443         (String):  Use GetUChar.
13444
13445         * buffer.C (asciiParagraph): Use GetUChar.
13446
13447 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
13448
13449         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
13450
13451 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
13452
13453         * buffer.h:
13454         * buffer.C: rename to getLogName(), handle
13455           build log / latex log nicely
13456
13457 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13458
13459         * MenuBackend.C:
13460         * MenuBackend.h: remove support for reference menuitem type.
13461
13462 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
13463
13464         * BufferView_pimpl.C: housekeeping
13465         * BufferView_pimpl.h:
13466         * LyXView.h:
13467         * Makefile.am:
13468         * Timeout.C:
13469         * Timeout.h:
13470         * minibuffer.h: move Timeout GUI-I
13471
13472 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
13473
13474         * lyxrc.C (read): Update converters data-structures.
13475
13476 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
13477
13478         * LaTeX.h (operator!=): add operator != for Aux_Info
13479
13480 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
13481
13482         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
13483
13484         * LaTeXLog.C: deleted, useful code moved to Buffer
13485
13486         * buffer.h:
13487         * buffer.C: new function getLatexLogName()
13488
13489         * lyx_gui_misc.C:
13490         * lyx_gui.C:
13491         * lyxvc.C:
13492         * lyxvc.h:
13493         * lyxfunc.C: use frontends for LaTeX and VC logs
13494
13495 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13496
13497         * LaTeX.h: yet another std:: that Allan forgot.
13498
13499         * Variables.C (set): renamed from isset(), because this clashes
13500         with some HP-UX macros (grr).
13501
13502 2001-02-06  Allan Rae  <rae@lyx.org>
13503
13504         * LaTeX.h: Another bug fix.  Missing std:: this time.
13505
13506 2001-02-04  Allan Rae  <rae@lyx.org>
13507
13508         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
13509         floats problem. I've left it commented out because it's not quite
13510         correct.  It should also test that the current object is a table or
13511         figure inset.  But I haven't gotten around to figuring out how to do
13512         that.  I *think* it'll be something like: "table" == inset.type()
13513
13514         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
13515         bool.
13516
13517 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
13518
13519         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
13520         all the citation/databases/styles in the auxilary file.
13521         (run): Rerun latex if there was a babel language error.
13522
13523 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
13524
13525         * text.C (Backspace): Preserve the font when changing newline char
13526         with a space.
13527         (BreakParagraph): If the cursor is before a space, delete the space.
13528
13529         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
13530
13531 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
13532
13533         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
13534         new argument (code).
13535         (ChangeCitationsIfUnique): New method.
13536
13537         * paragraph.C (GetPositionOfInset): Handle bibkey.
13538
13539 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13540
13541         * BufferView_pimpl.h: change type of Position::par_pos to
13542         LyXParagraph::size_type.
13543
13544 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
13545
13546         * BufferView_pimpl.C (savePosition, restorePosition): Write
13547         messages to minibuffer.
13548
13549 2001-01-28  José Matos  <jamatos@fep.up.pt>
13550
13551         * buffer.C (makeDocBookFile): adds support for document language.
13552         A silly restriction on the name of LatexCommand types where removed.
13553         Added support for CDATA sections, allows to chars unescaped, used
13554         among others in code, to avoid escape < and >.
13555
13556 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
13557
13558         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
13559         saved positions instrad of a stack. Furthermore, a position is
13560         stored using paragraph id/paragraph position.
13561
13562         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
13563         Remove LFUN_REF_BACK.
13564
13565 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
13566
13567         * converter.C (dvipdfm_options): New method.
13568
13569 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13570
13571         * vspace.C (isValidLength): Fix for empty input string.
13572
13573 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13574
13575         * LyXAction.C (init): change description of LFUN_FIGURE to
13576         "Insert Graphics"
13577
13578 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13579
13580         * LaTeX.C: add using directive
13581
13582 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
13583
13584         * MenuBackend.C (expand): Fix the sorting of the formats.
13585
13586 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
13587
13588         * lyx_main.C: tiny error message fix
13589
13590 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13591
13592         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
13593         calling fl_initialize(). This fixes the problem with ',' as
13594         decimal separator in text files.
13595
13596 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
13597
13598         * trans.C (process): Fix the keymap bug.
13599
13600 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
13601
13602         * LaTeX.C (scanAuxFiles): New method. Provides support for
13603         multiple bibliographies (when using the bibtopic/bibunits pacakges).
13604         (scanLogFile) Scan for "run BibTeX" messages.
13605
13606         * buffer.C (makeLaTeXFile): Do not load the ae package when using
13607         OT1 font encoding. Also, load the aecompl package if the ae
13608         package is loaded.
13609
13610         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
13611
13612 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13613
13614         * texrow.C (increasePos): turn two error messages into debug
13615         messages.
13616
13617 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
13618
13619         * LaTeX.C (scanAux): Handle the \@input macro.
13620         (runBibTeX): Use scanAux().
13621
13622         * language.C (latex_options_): New field.
13623
13624         * LaTeXFeatures.C (getMacros): Add language macros.
13625
13626         * buffer.C (makeLaTeXFile): Small fix.
13627
13628 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13629
13630         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
13631
13632         * text2.C: add a using directive.
13633
13634 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
13635
13636         * BufferView2.C:
13637         * lyx_gui_misc.h:
13638         * lyxfr1.C:
13639         * lyxfunc.C: kill LyXBell.
13640
13641 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
13642
13643         * text.C (IsBoundary): Remove the error message
13644
13645         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
13646
13647         * lyxrc.C (setDefaults): Correct initialization value for
13648         font_norm_type.
13649
13650 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
13651
13652         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
13653         gotoError().
13654
13655         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
13656         and GotoNextNote().
13657
13658         * src/LyXAction.C: Added reference-next.
13659
13660         * text.C (InsertChar): Use contains instead of strchr.
13661
13662         * lyx_cb.C (MenuInsertLabel): Enable default value code.
13663
13664 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
13665
13666         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
13667         alignment commands (when needed).
13668
13669         * text.C (InsertChar): Add ':' to number separator chars.