]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
compile fix
[lyx.git] / src / ChangeLog
1 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2
3         * PosIterator.[Ch]: compile fix 
4
5 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
6
7         * text.C (cursorPar): deactivate the cursor cache
8
9 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
10
11         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
12
13 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
14
15         * text3.C (dispatch): adjust for new DisptchResult semantics.
16
17         * lyxfunc.C (dispatch): handle update when return from
18         Cursor::dispatch, adjust for new DispatchResult semantics.
19
20         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
21         DispatchResult(true) mean to not update. Add class functions for
22         setting dispatched and update, as well as reading.
23
24         * cursor.C (dispatch): don't handle update here
25
26 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
27
28         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
29         * trans_mgr.C: adjust
30
31         * paragraph_funcs.C (readParToken): exception safety
32
33         * lyxvc.h: store the vcs pointer in a scoped_ptr
34         * lyxvc.C: adjust
35
36         * lyxsocket.C (serverCallback): exception safety
37
38         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
39
40         * ispell.C (clone): make it return a auto_ptr
41
42         * factory.C (createInset): exception safety
43         (readInset): exception safety
44
45         * bufferlist.C (newBuffer): exception safety
46
47         * Thesaurus.C (Thesaurus): use initialization for aik_
48
49         * MenuBackend.C (expandToc): exception safety.
50
51 2003-11-03  André Pönitz  <poenitz@gmx.net>
52
53         * buffer.C:
54         * buffer.h:
55         * bufferview_funcs.C: remove getInsetFromId()
56
57         * lyxcursor.[Ch]:
58         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
59
60         * lyxfunc.C:
61         * text2.C:
62         * text3.C: adjust
63
64 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
65
66         * PosIterator.C (distance, advance): new
67         * bufferview_funcs.[Ch] (put_selection_at): new
68         * iterators.[Ch] (lockPath): new
69
70 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
71
72         * iterators.[Ch] (asPosIterator): added
73         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
74         * PosIterator.[Ch]: added
75
76 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
77
78         * text3.C:
79         * lyxfunc.C:
80         * cursor.C (dispatch):
81         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
82
83         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
84         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
85         contructor, add a class function dispatched. Remove operator>=
86
87 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
88
89         * debug.C: only use the default constructor for debugstream
90         (lyxerr) here.
91
92         * main.C (main): include debug.h and setup the lyxerr streambuf
93         here.
94
95 2003-10-31  José Matos  <jamatos@lyx.org>
96
97         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
98
99         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
100         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
101         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
102         * paragraph_pimpl.C (simpleTeXSpecialC):
103         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
104         add LatexRunParams argument.
105
106         * exporter.C (Export): change call accordingly.
107
108         * latexrunparams.h: add new member to take care of the other backends.
109 2003-10-30  José Matos  <jamatos@lyx.org>
110
111         * buffer.C (makeLinuxDocFile, makeDocBookFile):
112         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
113         factorise code for paragraph output.
114         * buffer.[Ch]:
115         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
116         move functions.
117
118 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
119
120         * text3.C (dispatch):
121         * lyxfunc.C (dispatch):
122         * cursor.C (dispatch):
123         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
124
125         * dispatchresult.h: make the dispatch_result_t ctor explicit
126
127 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
128
129         * sgml.[Ch]:
130         * buffer.C: small refactoring of docbook stuff
131
132 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
133
134         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
135         meaning.
136
137 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
138
139         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
140         operator dispatch_result_t, and operators for == != and >=
141
142         * cursor.C (dispatch): adjust for operator dispatch_result_t
143         removal. comment out call to update
144
145         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
146
147 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
148
149         * text3.C:
150         * text2.C:
151         * text.C:
152         * lyxtext.h:
153         * lyxfunc.C:
154         * cursor.C:
155         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
156         (dispatch):
157
158         * dispatchresult.h: new file, DispatchResult broken out of
159         insets/insetbase.h
160
161         * Makefile.am (lyx_SOURCES): add dispatchresult.h
162
163 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
164
165         * text.C (rowBreakPoint): put a hack inside #if 0
166
167 2003-10-28  André Pönitz  <poenitz@gmx.net>
168
169         * lyxtext.h:
170         * metricsinfo.C:
171         * paragraph_funcs.C:
172         * rowpainter.C:
173         * text.C:
174         * text2.C: general cleanup (lots of small stuff)
175
176 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
177
178         * text2.C (cursorEnd): simple fix to the "end key goes to one
179         before the end on last row" bug
180
181 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
182
183         * text.C (backspace): fix the "zombie characters"
184
185 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
186
187         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
188
189 2003-10-27  André Pönitz  <poenitz@gmx.net>
190
191         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
192
193         * factory.C: handle new InsetPagebreak, InsetLine
194
195         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
196         and move handling into new InsetPagebreak, InsetLine
197
198         * BufferView_pimpl.C:
199         * LyXAction.C:
200         * ParagraphParameters.C:
201         * ParameterStruct.h:
202         * lyxfunc.C:
203         * lyxtext.h:
204         * paragraph.C:
205         * paragraph.h:
206         * paragraph_funcs.C:
207         * paragraph_pimpl.C:
208         * rowpainter.C:
209         * text.C:
210         * text2.C:
211         * text3.C: adjust
212
213 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
214
215         * text.C:
216         * lyxrow_funcs.[Ch]:
217         * Bidi.C:
218         * paragraph.C:
219         * lyxtext.h:
220         * rowpainter.C:
221         * text2.C:
222         * text3.C: remove lastPos uses in favour of Row::endpos
223
224 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
225
226         * undo.C (performUndoOrRedo): fix two crashes by setting a
227         cursor by hand and reordering some calls. Use bv->lockInset instead
228         of inset->edit because the latter loses cursor information
229
230 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
231
232         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
233         by Martin
234         (rowBreakPoint): fix width. change point to point + 1.
235         Add a missing check.
236
237 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
238
239         * MenuBackend.C:
240         * lyxfunc.C: fix (at least partly) the problems
241         with the Nav menu and headers inside branch insets
242         reported by Kayvan
243
244 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
245
246         * paragraph.C (getChar): add strong asserts
247
248         * lyxrow_funcs.C (lastPos): remove hideous hack
249
250         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
251         (fill): adjust to that (avoid an infinite loop)
252
253 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
254
255         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
256
257 2003-10-23  André Pönitz  <poenitz@gmx.net>
258
259         * RowList_fwd.h: change list<> to vector<> to gain speed
260         after suggestion from Alfredo
261
262 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
263
264         * lyxtext.h: move the bidi stuff from here...
265         * text.C: and here
266         * text2.C: and here
267         * Bidi.[Ch]: ... to here
268
269 2003-10-23  André Pönitz  <poenitz@gmx.net>
270
271         * lyxtext.h:
272         * text.C (isLastRow, isFirstRow): new functions
273
274         * paragraph.h: new width cache member
275
276         * rowpainter.C: replace RowList::iterator with Row & where possible
277
278         * lyxfunc.C: replace several view()->text with a single call
279
280         * toc.C: fix 'unused' warning
281
282 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
283
284         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
285         when woring with stream::pos_type
286         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
287
288 2003-10-22  André Pönitz  <poenitz@gmx.net>
289
290         * lyxtext.h:
291         * text.C: use Row & instead of RowList::iterator
292
293         * lyxrow.h: rename end() to endpos()
294
295         * rowpainter.C:
296         * text.C:
297         * text2.C: adjust
298
299 2003-10-22  Angus Leeming  <leeming@lyx.org>
300
301         * buffer.[Ch] (fully_loaded): new member function, returning true
302         only when the file has been loaded fully.
303         Used to prevent the premature generation of previews and by the
304         citation inset to prevent computation of the natbib-style label.
305
306         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
307         templates are all set up.
308
309         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
310
311 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
312
313         * text.C: fixed an "oops" in the "is a bit silly"
314         bug fix
315
316 2003-10-21  André Pönitz  <poenitz@gmx.net>
317
318         * FuncStatus.[Ch]: small stuff, whitespace
319
320         * lyxfont.[Ch]: operator<<() for debug reasons
321
322         * lyxfunc.C:
323         * lyxrow_funcs.C:
324         * lyxtext.h: whitespace, spelling
325
326         * paragraph.C: naming of variables
327
328         * text.C:
329         * text2.C: small stuff
330
331
332 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
333
334         * text.C: (1) finish off the inset display() work;
335         (2) fix the "is a bit silly" bug (accessing char
336         past end of par).
337
338 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
339
340         * text.C: re-introduce display() for insets, fixing the
341         various bugs (stretch of line above, math inset
342         positioning, ...)
343
344 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
345
346         * text.C (rightMargin): remove spurious semicolon
347
348         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
349         1415)
350
351 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
352
353         * text3.C: fix one crash due to wrong cursor def
354
355 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
356
357         * vc-backend.C (scanMaster): make the regex static
358
359         * LaTeX.C (scanAuxFile): make the regexs static
360
361         * text3.C (doInsertInset, dispatch, dispatch):
362         * text2.C (cursorUp, cursorDown):
363         * text.C (selectNextWordToSpellcheck):
364         * BufferView_pimpl.C (dispatch):
365         * lyxfunc.C (dispatch):  localDispatch -> dispatch
366
367 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
368
369         * lyxsocket.C: include <cerrno>
370
371 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
372
373         * lyxfunc.C (dispatch): remove textcache stuff
374
375         * bufferlist.C (release): remove textcache stuff
376         (closeAll): ditto
377
378         * TextCache.C: delete file
379         * TextCache.h: delete file
380
381         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
382
383         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
384         delete of the bv_->text.
385         (resizeCurrentBuffer): remove texcache stuff
386         (workAreaResize): ditto
387
388 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
389
390         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
391         action.
392
393 2003-10-16  André Pönitz  <poenitz@gmx.net>
394
395         * lyxrow.[Ch]:
396         * paragraph.h:
397         * rowpainter.C:
398         * text.C:
399         * text2.C:
400         * text3.C: speed up by storing y positions per paragraph plus per-row
401         offset instead of having a 'full' y position in the row.
402
403 2003-10-15  André Pönitz  <poenitz@gmx.net>
404
405         * iterators.[Ch]:
406         * iterators.[Ch]:
407         * undo.[Ch]: make undo aware of inner insets
408
409 2003-10-14  Angus Leeming  <leeming@lyx.org>
410
411         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
412         static member functions LyX::ref() and LyX::cref.
413         (lastfiles): new accessor functions for the new lastfiles_ member var.
414         (addLyXView, views_): add a new LyXView to the list of views_.
415         (updateInset): loop over all LyXViews to call their own updateInset
416         member function, returning a pointer to the Buffer owning the inset.
417
418         * BufferView_pimpl.C (loadLyXFile):
419         * MenuBackend.C (expandLastfiles):
420         * bufferlist.C (MenuWrite, QuitLyX):
421         lastfiles is no longer a global variable.
422         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
423
424         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
425         static function. Access through LyX::cref().emergencyCleanup().
426
427 2003-10-14  André Pönitz  <poenitz@gmx.net>
428
429         * iterators.[Ch]: new direct access to innermost LyXText and Inset
430
431         * undo.[Ch]: restoring part of 'undo in insets'
432
433         * Makefile.am:
434         * undo_funcs.[Ch]: merge with undo.[Ch]
435
436         * tabular.C: small cleansing stuff
437
438 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
439
440         * paragraph_funcs.C (readParToken): report unknown insets as error
441         boxes. Use the outer paragraph as location (also for unknown
442         tokens).
443
444         * factory.C (readInset): do not abort on reading an unknown inset.
445         Eat it and return 0.
446
447 2003-10-13  Angus Leeming  <leeming@lyx.org>
448
449         * lyx_main.C (LyX): remove call to setDisplayTranslator().
450
451         * lyxrc.C: displayTranslator is now a function,
452         declared in GraphicsTypes.h.
453
454 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
455
456         * format.C: new placeholder $$a to pass the socket address.
457
458         * bufferlist.[Ch]: new function getBufferFromTmp.
459
460         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
461           files in the temporary dir.
462
463 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
464
465         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
466
467         * Makefile.am: add lyxsocket.[Ch].
468
469         * lyx_main.C (error_handler): handle SIGPIPE.
470
471 2003-10-13  André Pönitz  <poenitz@gmx.net>
472
473         * BufferView_pimpl.C:
474         * lyxtext.h:
475         * text.C:
476         * text2.C:
477         * text3.C:
478         * undo_funcs.[Ch]: use paroffset_type instead of
479           ParagraphList::iterators to prevent multiple conversion
480           (and get a more robust interface)
481
482 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
483
484         * lyxfunc.C (dispatch): RESULT -> dispatch_result
485         * lyxtext.h: ditto
486         * text3.C (dispatch): ditto
487
488 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
489
490         * LaTeX.C (handleFoundFile): move the static to smaller scope,
491         move the onlyfile, use onlyfile instead of foundfile in a couple
492         of places.
493
494         * DepTable.C (update): flush the error stream a bit more
495
496 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
497
498         * lyxserver.C (callback): adjust
499
500         * lyxfunc.C (getStatus): add a missing brace in commented code
501         (ensureBufferClean): reindent
502         (dispatch): delete version taking a string
503
504 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
505
506         * LaTeX.C (deplog): move found file handlig from here...
507         (handleFoundFile): .. to new function here.
508         (deplog): make sure to discover several files mentioned on the
509         same log line.
510
511 2003-10-10  André Pönitz  <poenitz@gmx.net>
512
513         * lyxfunc.C:
514         * lyxtext.h:
515         * tabular.C:
516         * text.C:
517         * text2.C:
518         * text3.C: fix some of the tabular crashes
519
520 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
521
522         * MenuBackend.C (binding): put debug message into Debug::KBMAP
523
524         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
525
526 2003-10-09  André Pönitz  <poenitz@gmx.net>
527
528         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
529
530         * BufferView.C:
531         * BufferView_pimpl.C:
532         * bufferview_funcs.C:
533         * lyx_cb.C:
534         * lyxcursor.C:
535         * lyxfind.C:
536         * lyxfunc.C:
537         * lyxtext.h:
538         * text.C:
539         * text2.C:
540         * text3.C:
541         * text_funcs.[Ch]:
542         * textcursor.[Ch]:
543         * undo_funcs.C: adjust
544
545 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
546
547         * text2.C (incrementItemDepth): new function, use a backtracking
548         algorithm to discover the correct item depth.
549         (resetEnumCounterIfNeeded): new function, use a backtracking
550         algorithm to discover if counter reset is needed.
551         (setCounter): use them. Simplify a bit. Add different labels for
552         different item depths for itemize.
553
554         * paragraph.C (Paragraph): remove initialization of enumdepth
555         (operator=): ditto
556
557         * paragraph.h: get rid of enumdepth, and use itemdepth both for
558         enumerate and itemize. Change the type of itemdepth to signed char.
559
560 2003-10-08  André Pönitz  <poenitz@gmx.net>
561
562         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
563           thing assignable.
564         * text.C:
565         * text2.C: adjust
566
567         * tabular.[Ch]: fix crash after 'row-insert'
568
569 2003-10-08  Angus Leeming  <leeming@lyx.org>
570
571         Fix doxygen warnings.
572
573         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
574         Remove CutAndPaste:: prefix from header file declaration.
575
576         * LColor.h (fill): remove LColor:: prefix from declaration.
577
578         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
579         use lyx::depth_type rather than Paragraph::depth_type so that
580         header file and .C file match.
581
582         * converter.h (intToFormat): remove Converters:: prefix from declaration.
583
584         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
585         * aspell.C: \file aspell_local.C -> \file aspell.C
586         * gettext.C: \file gettext.C -> \file src/gettext.C
587         * gettext.h: \file gettext.h -> \file src/gettext.h
588         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
589         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
590         * text.C: \file text.C -> \file src/text.C
591
592         * toc.C: move comment so that doxygen is not confused.
593
594 2003-10-07  Angus Leeming  <leeming@lyx.org>
595
596         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
597
598 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
599
600         * aspell.C:
601         * aspell_local.h: add forgotten std::string's.
602
603 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
604
605         * LaTeXFeatures.C:
606         * LyXAction.C:
607         * factory.C:
608         * lfuns.h:
609         * lyxfunc.C:
610         * text3.C: The Box patch. Fancybox support, minipage, parbox
611
612 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
613
614         * CutAndPaste.h:
615         * DepTable.h:
616         * FloatList.h:
617         * LaTeXFeatures.h:
618         * ParagraphParameters.h:
619         * TextCache.h:
620         * Thesaurus.h:
621         * bufferlist.h:
622         * exporter.h:
623         * importer.h:
624         * lastfiles.h:
625         * lyxfind.h:
626         * lyxfont.h:
627         * lyxlex.h:
628         * lyxtextclasslist.h:
629         * messages.h:
630         * paragraph.h:
631         * paragraph_pimpl.C:
632         * textcursor.h: add <string> and other small fixes to make Lars'
633         std::string patch compile with STLport.
634
635 2003-10-06  Angus Leeming  <leeming@lyx.org>
636
637         * LColor.h: Add missing #include <string>.
638
639 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
640
641         * All most all file in all subdirs: Make <string> be the prefered
642         way of getting to std::string, add using declarations.
643
644 2003-10-06  André Pönitz  <poenitz@gmx.net>
645
646         * metricsinfo.C: initialize LyXFont before changing attribute.
647         (fixes the 'math in \emph is upright' bug)
648
649 2003-10-06  André Pönitz  <poenitz@gmx.net>
650
651         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
652
653 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
654
655         * graph.C:
656         * paragraph_pimpl.C: Small fixes to build using STLport
657
658 2003-10-02  André Pönitz  <poenitz@gmx.net>
659
660         * lyxfunc.C:
661         * text3.C: move handling of LFUN_DEPTH *; fix #1360
662
663 2003-10-01  André Pönitz  <poenitz@gmx.net>
664
665         * factory.C: assert early
666
667 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
668
669         * lyx_main.C: remove the global debug object
670
671         * debug.h: adjust for new debugstream
672
673         * debug.C: adjust for new debugstream and keep the global debug
674         object here.
675
676 2003-09-22  Angus Leeming  <leeming@lyx.org>
677
678         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
679         of g++ which otherwise complain that the scoped_ptr destructor can't delete
680         an incomplete class LyXFont.
681
682 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
683
684         * factory.C: bug fix in branches
685
686 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
687
688         * lyxfunc.C (processKeySym): adjust
689         (dispatch): adjust
690         (dispatch): change arg name from ev to func, adjust
691         (sendDispatchMessage): ditto
692
693         * lyx_main.C (defaultKeyBindings): adjust keybindings
694         (deadKeyBindings): ditto
695
696         * kbsequence.C (addkey): return a FuncRequest
697
698         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
699
700         * kbmap.C (bind): take a FuncRequest as arg, adjust
701         (read): adjust
702         (lookup): adjust
703         (defkey): change to take a FuncRequest as arg, adjust
704         (findbinding): take a FuncRequest as arg, adjust.
705
706         * funcrequest.h (operator=): added
707
708         * funcrequest.C (FuncRequest): default kb_action changed from
709         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
710
711         * buffer.C (dispatch): simplify
712         (dispatch): adjust to take a FuncRequest as arg, adjust
713
714         * boost.C (assertion_failed): change assertion message slightly
715
716         * ToolbarBackend.C (read): simplify
717
718         * MenuBackend.C (binding): adjust call to findbinding, add a
719         message if no binding is found.
720         (read): simplify
721         (expandToc): correct by adding a empty FuncRequest
722
723         * LyXAction.C: include <boost/assert.hpp>
724         (isPseudoAction): delete function
725         (LookupFunc): change name to...
726         (lookupFunc): this. change return type to FuncRequest.
727         (getActionName): take kb_action as arg, simplify
728         (funcHasFlag): add an assert, simplify.
729
730 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
731
732         * toc.C (action): return a FuncRequest, simplify
733
734         * lyxfunc.C (processKeySym): adjust
735         (getStatus): delete version that takes an int.
736         (getStatus): adjust
737         (dispatch): delete version that takes action as int
738         (dispatch): adjust
739         (sendDispatchMessage): simplify and adjust
740
741         * funcrequest.C (getArg): take unsigned int as arg
742
743         * ToolbarBackend.C (read): adjust
744         (add): delete version that takes func as a string.
745         (getIton): take a FuncRequest as arg
746
747         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
748         action.
749
750         * MenuBackend.C (MenuItem): add a new construct that only takes a
751         Kind, simplify the constructor use for submenus.
752         (add): adjust
753         (expandLastfiles): adjust
754         (expandDocuments): adjust
755         (expandFormats): adjust
756         (expandFloatListInsert): adjust
757         (expandFloatInsert): adjust
758         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
759
760         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
761         Remove class variables lyx_pseudo_map and lyx_arg_map
762
763         * LyXAction.C (searchActionArg): delete function
764         (getPseudoAction): delete function
765         (retrieveActionArg): delete function
766         (LookupFunc): make it return kb_action, simplify.
767         (getActionName): simplify
768
769         * factory.C (createInset): fix new bug
770
771 2003-09-19  Angus Leeming  <leeming@lyx.org>
772
773         * CutAndPaste.C (pasteSelection): remove fudge used to set the
774         masterFilename_ parameter in the include inset.
775
776         * factory.C (createInset): changes due to the changes to InsetInclude.
777
778 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
779
780         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
781
782 2003-09-18  Angus Leeming  <leeming@lyx.org>
783
784         * buffer.C:
785         * BufferView.C: pass the buffer when calling Inset::getLabelList,
786         Inset::fillWithBibKeys.
787         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
788
789 2003-09-18  Angus Leeming  <leeming@lyx.org>
790
791         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
792         variables.
793         (ctor): pass and store a 'Buffer const &'
794         (buffer): new member function.
795
796         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
797         '*this' to the LaTeXFeatures ctor.
798
799 2003-09-18  Angus Leeming  <leeming@lyx.org>
800
801         * LColor.h:
802         * lyxfont.C:
803         * lyxfont.h:
804         * lyxtext.h:
805         * text.C: rename EnumLColor as LColor_color.
806
807 2003-09-18  Angus Leeming  <leeming@lyx.org>
808
809         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
810         remove #include "insets/insetbase.h" from cursor.h.
811
812 2003-09-18  Angus Leeming  <leeming@lyx.org>
813
814         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
815         InsetOld_code to remove #include "inset.h".
816
817         * iterators.C: add #include "insets/inset.h"
818
819 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
820
821         * BufferView.C: remove more locking stuff that apparently doesn't
822         do anything sensible.
823
824 2003-09-16  André Pönitz  <poenitz@gmx.net>
825
826         * paragraph.[Ch]:
827         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
828           performance boost.
829
830 2003-09-16  Angus Leeming  <leeming@lyx.org>
831
832         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
833
834         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
835         arg/return type.
836
837         * paragraph.h: remove #include "lyxfont.h". Forward declare
838         LyXFont_size.
839
840 2003-09-16  Angus Leeming  <leeming@lyx.org>
841
842         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
843         of support/textutils.h.
844         (isWord): move the contents of support/textutils.h's IsWordChar here.
845
846         * buffer.C:
847         * lyxfind.C:
848         * rowpainter.C:
849         * text.C:
850         * text2.C: add #include "paragraph.h".
851
852         * rowpainter.C:
853         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
854
855 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
856
857         * main.C:
858         * lyx_main.C:
859         * lyx_cb.C:
860         * buffer.C:
861         * LaTeX.C: use namespace alias for lyx::support::os
862
863 2003-09-16  Angus Leeming  <leeming@lyx.org>
864
865         * bufferparams.C:
866         * bufferview_funcs.C:
867         * factory.C:
868         * lyxfunc.C:
869         * paragraph_pimpl.C:
870         * rowpainter.C:
871         * text.C: add #include "LColor.h".
872
873 2003-09-16  Angus Leeming  <leeming@lyx.org>
874
875         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
876         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
877         return LyXFont &.
878         Store the FontBits::color variable as an int rather than as an
879         LColor::colorso that we can move LColor.h out of the lyxfont.h header
880         file.
881
882         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
883         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
884         string calls together.
885
886         * lyxrc.C: add #include "LColor.h".
887
888 2003-09-15  Angus Leeming  <leeming@lyx.org>
889
890         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
891         a cow_ptr.
892
893 2003-09-15  Angus Leeming  <leeming@lyx.org>
894
895         * LColor.h: add an EnumLColor wrapper for LColor::color.
896
897         * lyxfont.[Ch] (color, setColor, realColor):
898         * lyxtext.h, text.C (backgroundColor):
899         pass EnumLColor args to/from the functions, rather than LColor::color
900         ones.
901
902         * lyxfont.h:
903         * lyxtext.h: forward declare EnumLColor.
904
905         * lyx_main.C: add #include "LColor.h".
906
907 2003-09-15  Angus Leeming  <leeming@lyx.org>
908
909         * .cvsignore: add lyx-gtk.
910
911 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
912
913         * Chktex.C
914         * LaTeX.C
915         * LaTeXFeatures.C
916         * ParagraphParameters.C
917         * Spacing.C
918         * buffer.C
919         * bufferparams.C
920         * bufferview_funcs.C
921         * chset.C
922         * counters.C
923         * funcrequest.C
924         * lyxfont.C
925         * lyxgluelength.C
926         * lyxlength.C
927         * paragraph.C
928         * paragraph_funcs.C
929         * text3.C
930         * vc-backend.C: remove usage of STRCONV
931
932 2003-09-15  Angus Leeming  <leeming@lyx.org>
933
934         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
935         explicitly define the color passed to the painter.
936
937 2003-09-15  Angus Leeming  <leeming@lyx.org>
938
939         * bufferparams.C (BufferParams): reorder member initializers to avoid
940         compiler warning.
941
942 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
943
944         * CutAndPaste.C (pasteSelection): remove an outdated #warning
945         * text.C (updateRowPositions): remove an unusual nop
946
947 2003-09-12  André Pönitz  <poenitz@gmx.net>
948
949         * BufferView_pimpl.C:
950         * Bullet.C:
951         * layout.h:
952         * lyxfunc.C:
953         * lyxlayout.[Ch]:
954         * lyxtextclass.C:
955         * rowpainter.C:
956         * text.C:
957         * text2.C:
958         * Counters.[Ch]: finish the 'automatic counters' job
959
960 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
961
962         * aspell.C: include <boost/assert.cpp> (compile fix)
963
964 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
965
966         * boost.C (assertion_failed): use lyx::support::abort instead of
967         assert.
968
969 2003-09-10  Angus Leeming  <leeming@lyx.org>
970
971         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
972         with their _fwd progeny.
973
974 2003-09-09  Angus Leeming  <leeming@lyx.org>
975
976         134 files throughtout the source tree: replace 'using namespace abc;'
977         directives with the appropriate 'using abc::xyz;' declarations.
978
979 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
980
981         * boost.C (emergencyCleanup): moved here from LAssert.c
982         (assertion_failed): new function, called by BOOST_ASSERT
983
984         * several files: change Assert to BOOST_ASSERT
985
986 2003-09-09  Angus Leeming  <leeming@lyx.org>
987
988         * buffer.[Ch]: Add an Impl class and move Buffer's member
989         variables into it. As a result move several header files out of
990         buffer.h.
991
992         Add header files to lots of .C files all over the tree as a result.
993
994 2003-09-09  Angus Leeming  <leeming@lyx.org>
995
996         * buffer.[Ch]: make Buffer's member variables private. Add
997         accessor functions.
998
999         Lots of changes all over the tree as a result.
1000
1001 2003-09-08  Angus Leeming  <leeming@lyx.org>
1002
1003         * graph.C: #include <config.h>.
1004
1005 2003-09-08  Angus Leeming  <leeming@lyx.org>
1006
1007         * BranchList.C:
1008         * BufferView.C:
1009         * BufferView_pimpl.C:
1010         * CutAndPaste.C:
1011         * DepTable.C:
1012         * LaTeX.C:
1013         * LaTeXFeatures.C:
1014         * LyXAction.C:
1015         * MenuBackend.C:
1016         * TextCache.C:
1017         * aspell.C:
1018         * buffer.C:
1019         * bufferlist.C:
1020         * changes.C:
1021         * chset.C:
1022         * converter.C:
1023         * counters.C:
1024         * debug.C:
1025         * graph.C:
1026         * ispell.C:
1027         * lyx_cb.C:
1028         * lyxfind.C:
1029         * lyxfunc.C:
1030         * lyxlex_pimpl.C:
1031         * lyxrc.C:
1032         * lyxrow.C:
1033         * paragraph.C:
1034         * rowpainter.C:
1035         * texrow.C:
1036         * text.C:
1037         * text2.C:
1038         * toc.C: remove redundant using directives.
1039
1040 2003-09-07  Angus Leeming  <leeming@lyx.org>
1041
1042         * LaTeXFeatures.h: remove #include "support/types.h".
1043         * ToolbarBackend.h: remove #include <algorithm>.
1044         * changes.h: remove #include <ctime>.
1045         * debug.h: remove #include <iosfwd>.
1046         * graph.h: remove #include "support/std_string.h".
1047         * lyx_main.h: remove #include <csignal>.
1048         * lyxlex_pimpl.h: remove #include <fstream>.
1049         * sgml.h: remove #include <algorithm>, <utility>.
1050         * toc.h: remove #include "support/std_ostream.h".
1051         Add #include <iosfwd>.
1052
1053 2003-09-07  Angus Leeming  <leeming@lyx.org>
1054
1055         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
1056
1057         * converter.h: forward declare LatexRunParams.
1058         * encoding.h: remove #include "lyxrc.h".
1059         * lyxtext.h: remove #include "LColor.h".
1060         * lyxtextclass.h: remove #include "support/types.h".
1061         * trans.h: remove #include "tex-accent.h".
1062         * trans_mgr.h: remove #include "tex-accent.h".
1063         * insets/inset.h: remove #include "support/types.h", <vector>.
1064         * insets/insetcollapsable.h: remove #include "LColor.h".
1065         * insets/insetinclude.h: remove #include "dimension.h".
1066         * insets/insetlatexaccent.h: remove #include "dimension.h".
1067         * insets/insetoptarg.h:: remove #include "insettext.h".
1068         * insets/insettext.h: remove #include "dimension.h",
1069         <boost/shared_ptr.hpp>
1070
1071         * insets/renderers.h: add #include "dimension.h".
1072         * insets/updatableinset.h: add #include "support/types.h".
1073
1074         * many .C files: Associated changes.
1075
1076 2003-09-06  Angus Leeming  <leeming@lyx.org>
1077
1078         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
1079         one, inside testInvariant.
1080
1081         * PrinterParams.C: new file.
1082         * PrinterParams.[Ch]: move the function bodies out of line.
1083
1084 2003-09-06  Angus Leeming  <leeming@lyx.org>
1085
1086         * ParagraphParameters.h: forward declare ParameterStruct rather than
1087         including its header file.
1088         (depth): moved out-of-line.
1089
1090 2003-09-06  Angus Leeming  <leeming@lyx.org>
1091
1092         * BufferView_pimpl.h:
1093         * kbmap.h:
1094         * kbsequence.h:
1095         * lyxfunc.h: forward declare LyXKeySym rather than
1096         #include "frontends/LyXKeySym.h".
1097
1098         * BufferView_pimpl.C:
1099         * kbmap.C:
1100         * kbsequence.C:
1101         * lyxfunc.C: associated changes.
1102
1103 2003-09-06  Angus Leeming  <leeming@lyx.org>
1104
1105         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1106         As a result, can remove the #include "insets/inset.h" from BufferView.h
1107
1108 2003-09-06  Angus Leeming  <leeming@lyx.org>
1109
1110         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1111         As a result, can remove the #include "insets/inset.h" from BufferView.h
1112
1113 2003-09-06  Angus Leeming  <leeming@lyx.org>
1114
1115         * buffer_funcs.C:
1116         * buffer.h:
1117         * bufferlist.C:
1118         * BufferView.C:
1119         * bufferview_funcs.C:
1120         * BufferView_pimpl.C:
1121         * CutAndPaste.C:
1122         * lyx_cb.C:
1123         * lyxfunc.C:
1124         * paragraph.h:
1125         * ParagraphParameters.C:
1126         * tabular.C:
1127         * text3.C:
1128         * toc.C:
1129         * undo_funcs.C:
1130         * frontends/controllers/ControlDocument.C:
1131         * insets/insetcaption.C: rearrange the #includes into some sort of
1132         coherent order.
1133
1134         * buffer.h: remove #includes ErrorList.h, undo.h
1135
1136 2003-09-06  Angus Leeming  <leeming@lyx.org>
1137
1138         * support/types.h: add a 'depth_type' typedef, used to store the
1139         nesting depth of a paragraph.
1140
1141         * paragraph.h:
1142         * ParameterStruct.h: use this lyx::depth_type typedef rather than
1143         defining explicitly.
1144
1145         * buffer.h:
1146         * paragraph_funcs.h:
1147         * ParagraphParameters.h:
1148         * sgml.h: use lyx::depth_type rather than Paragraph or
1149         ParameterStruct's depth_type.
1150
1151         * buffer.h
1152         * paragraph_funcs.h: no need to #include paragraph.h anymore.
1153
1154         * BufferView.C:
1155         * BufferView_pimpl.C:
1156         * CutAndPaste.C:
1157         * ParagraphParameters.C:
1158         * buffer_funcs.C:
1159         * bufferlist.C:
1160         * bufferview_funcs.C:
1161         * lyx_cb.C:
1162         * lyxfunc.C:
1163         * tabular.C:
1164         * text3.C:
1165         * toc.C:
1166         * undo_funcs.C:
1167         * frontends/LyXView.C:
1168         * frontends/controllers/ControlDocument.C:
1169         * frontends/controllers/ControlErrorList.C:
1170         * insets/insetbibitem.C:
1171         * insets/insetbranch.C:
1172         * insets/insetcaption.C:
1173         * insets/insetcollapsable.C:
1174         * insets/insetenv.C:
1175         * insets/insetert.C:
1176         * insets/insetfloat.C:
1177         * insets/insetfoot.C:
1178         * insets/insetfootlike.C:
1179         * insets/insetnewline.C:
1180         * insets/insetquotes.C:
1181         * insets/insettabular.C:
1182         * insets/insettext.C:
1183         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1184
1185         * frontends/controllers/ControlChanges.C: #include "changes.h".
1186
1187 2003-09-06  Angus Leeming  <leeming@lyx.org>
1188
1189         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1190         than #including paragraph.h.
1191
1192         * ParagraphList.h:
1193         * RowList.h: deleted. Superfluous.
1194
1195         * CutAndPaste.h:
1196         * iterators.h:
1197         * lyxcursor.h:
1198         * lyxtext.h:
1199         * text_funcs.h:
1200         * undo.h:
1201         * undo_funcs.h:
1202         * insets/inset.h:
1203         * insets/insettext.h: use ParagraphList_fwd.h rather than
1204         ParagraphList.h.
1205
1206         * paragraph.h: don't forward declare ParagraphList.
1207
1208         * buffer.h:
1209         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1210         rather than ParagraphList.h. paragraph.h is still needed for the
1211         Paragraph::depth_type parameters.
1212
1213         * textcursor.h: enable it to compile stand-alone in light of the
1214         above changes.
1215
1216         * bufferview_funcs.C:
1217         * iterators.C:
1218         * lyxfunc.C:
1219         * lyxrow_funcs.C:
1220         * paragraph.C:
1221         * rowpainter.C:
1222         * text.C:
1223         * text2.C:
1224         * text3.C:
1225         * text_funcs.C:
1226         * textcursor.C:
1227         * undo.C:
1228         * frontends/controllers/ControlParagraph.C:
1229         * frontends/controllers/ControlTabular.C:
1230         * insets/insetmarginal.C:
1231         * insets/insetminipage.C:
1232         * insets/insetnote.C:
1233         * insets/insetoptarg.C: add header files needed to compile again.
1234
1235 2003-09-06  Angus Leeming  <leeming@lyx.org>
1236
1237         * RowList_fwd.h: new file, forward-declaring Row rather than
1238         #including lyxrow.h.
1239
1240         * lyxrow_funcs.h:
1241         * lyxtext.h:
1242         * paragraph.h:
1243         * insets/insettext.h: use it instead of RowList.h
1244
1245         * bufferview_funcs.C:
1246         * lyxfunc.C:
1247         * lyxrow_funcs.C:
1248         * paragraph.C:
1249         * rowpainter.C:
1250         * text.C:
1251         * text2.C:
1252         * text3.C: #include "RowList.h".
1253
1254 2003-09-05  Angus Leeming  <leeming@lyx.org>
1255
1256         * factory.C (createInset):
1257         * vspace.C (c-tor): replace sscanf call with an istringstream.
1258         * ispell.C: re-add missing HP/UX headers.
1259         * lyxserver.C: re-add missing  os2 headers.
1260
1261 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
1262
1263         * BranchList.C:
1264         * graph.C:
1265         * ispell.C:
1266         * lastfiles.C:
1267         * lyx_cb.C:
1268         * lyxserver.C:
1269         * texrow.C:
1270         * text3.C: re-add missing system headers, needed for 2.95.2.
1271
1272 2003-09-05  Angus Leeming  <leeming@lyx.org>
1273
1274         Changes most place everywhere due to the removal of using directives
1275         from support/std_sstream.h.
1276
1277 2003-09-05  Angus Leeming  <leeming@lyx.org>
1278
1279         Replace LString.h with support/std_string.h,
1280         Lsstream.h with support/std_sstream.h,
1281         support/LIstream.h with support/std_istream.h,
1282         support/LOstream.h with support/std_ostream.h.
1283
1284         Changes resulting throughout the tree.
1285
1286 2003-09-05  Angus Leeming  <leeming@lyx.org>
1287
1288         * sgml.h: ensure that the header file can be compiled stand-alone.
1289         * *.C: strip out redundant #includes. (320 in total.)
1290
1291 2003-09-04  Angus Leeming  <leeming@lyx.org>
1292
1293         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1294         here (from getPackages).
1295
1296         * debug.[Ch]: add a new EXTERNAL tag.
1297
1298 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1299
1300         * text2.C (cursorEnd): simplify
1301         (setCursor): adjust
1302         (getColumnNearX): adjust
1303
1304         * text.C (computeBidiTables): adjust
1305         (fill): adjust
1306
1307         * rowpainter.C (paintChars): adjust
1308         (paintSelection): adjust
1309         (paintChangeBar): adjust
1310         (paintText): adjust
1311
1312         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1313         lastPos instead.
1314         (numberOfSeparators): adjust
1315
1316 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1317
1318         * LyXAction.C:
1319         * box.[Ch]:
1320         * lfuns.h:
1321         * lyxfunc.C:
1322         * text3.C: Restricts the mouse click functionality
1323         of insets like bibtex, include, toc and floatlist to the visible
1324         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1325         up the dialogs. Cursor has to be in front of the inset (i.e.
1326         start of row) for this to function.
1327
1328 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1329
1330         * bufferview_funcs.C (currentState): output row information
1331
1332 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1333
1334         * bufferview_funcs.C (currentState): output paragraph position
1335
1336 2003-09-04  Angus Leeming  <leeming@lyx.org>
1337
1338         * FloatList.h: move out #include "Floating.h".
1339         * LaTeX.h: move out #include "DepTable.h".
1340         * LyXAction.h: move out #include "funcrequest.h".
1341         * buffer.h: move out #include "author.h", "iterators.h".
1342         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
1343         * lyx_main.h: move out #include "errorlist.h".
1344         * lyxfunc.h: move out #include "FuncStatus.h".
1345         * lyxtext: move out #include "lyxcursor.h".
1346         * paragraph_pimpl.h: move out #include "counters.h".
1347
1348 2003-09-03  Angus Leeming  <leeming@lyx.org>
1349
1350         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
1351         preamble_snippets list, enabling us to add snippets to the preamble
1352         only if the snippet was not there already.
1353
1354 2003-09-04  Angus Leeming  <leeming@lyx.org>
1355
1356         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
1357
1358 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1359
1360         * lyxfunc.C (dispatch): if fitCursor did something be sure to
1361         update
1362
1363 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1364
1365         * BranchList.C: point fix, earlier forgotten
1366
1367 2003-09-02  Angus Leeming  <leeming@lyx.org>
1368
1369         * box.C (contains): renamed from 'contained' after a fantastic
1370         amount of hot air.
1371
1372 2003-09-02  John Levon  <levon@movementarian.org>
1373
1374         * BufferView.C:
1375         * lyxcursor.h:
1376         * lyxcursor.C:
1377         * lyxfunc.C:
1378         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
1379
1380 2003-09-02  John Levon  <levon@movementarian.org>
1381
1382         * text2.C: simplification of cursorEnd(), including partial
1383         fix for bug 1376
1384
1385 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1386
1387         * buffer.C (readFile): add a space
1388
1389 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
1390
1391         * BufferView_pimpl.C (update): remove bogus fitCursor() call
1392
1393 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1394
1395         * buffer.C (readFile): new function, take a filename and a
1396         ParagraphList::iterator
1397         (readFile): adjust
1398         (readFile): adjust, make it private. don't use setStream, make
1399         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
1400         always contain the filename.
1401
1402         * BufferView.C (insertLyXFile): simplify and make it work for
1403         gzipped files.
1404
1405 2003-08-30  John Levon  <levon@movementarian.org>
1406
1407         * Makefile.am: fix dist (from Kayvan)
1408
1409 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1410
1411         * most files: change to use const Buffer refs
1412
1413 2003-08-27  André Pönitz  <poenitz@gmx.net>
1414
1415         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
1416         on top of ownerPar().
1417
1418 2003-08-27  John Levon  <levon@movementarian.org>
1419
1420         * funcrequest.C: properly initialise POD members
1421
1422 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1423
1424         * lyxtext.h (top_y): move top_y from here
1425         * text.C:
1426         * text2.C:
1427         * text3.C:
1428         * BufferView.[Ch]:
1429         * BufferView_pimpl.[Ch]: to here
1430         * frontends/screen.C:
1431         * insets/insettabular.C:
1432         * insets/insettext.C: adjust
1433         * rowpainter.[Ch] (paintRows): remove LyXText & argument
1434
1435 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1436
1437         * BufferView.[Ch]:
1438         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
1439
1440 2003-08-26  André Pönitz  <poenitz@gmx.net>
1441
1442         * paragraph_func.[Ch] (outerPar): new function
1443
1444         * paragraph.C:
1445         * paragraph_funcs.C:
1446         * paragraph_funcs.h:
1447         * paragraph_pimpl.C:
1448         * text2.C: remove Inset::par_owner
1449
1450 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
1451
1452         * lyxrow_funcs.C:
1453         * lyxtext.h:
1454         * text.C:
1455         * text2.C: eliminates the needFullRow/display() stuff
1456         altogether, putting the logic in metrics/draw in the insets.
1457
1458 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
1459
1460         * text2.C (redoParagraphInternal, redoParagraphs):
1461         * text.C (redoParagraph): add a call to updateRowPositions at the
1462         end of each 'metrics-like' call. Remove all others.
1463         (getRow): remove the 'y-computing' version.
1464         (getRowNearY): do not compute nor return the real y. Solve the
1465         'y < 0' problem and simplify.
1466
1467 2003-08-22  Angus Leeming  <leeming@lyx.org>
1468
1469         * *.[Ch]: clean-up of licence and author blurbs.
1470         Also move config.h out of a few .h files and into a few .C files.
1471
1472 2003-08-22  André Pönitz  <poenitz@gmx.net>
1473
1474         * lyxrow.[Ch]: add x_ and *fill_ members
1475
1476         * lyxtext.h:
1477         * text.C:
1478         * rowpainter.C:
1479         * text2.C: adjust/remove prepareToPrint() calls
1480
1481 2003-08-22  André Pönitz  <poenitz@gmx.net>
1482
1483         * lyxrow.[Ch]: add  end_ member
1484
1485         * lyxrow_funcs.C: use LyXRow::end_
1486
1487         * lyxtext.h (singleWidth): add LyXFont parameter
1488
1489         * rowpainter.C:
1490         * text2.C: adjust LyXText::singleWidth() calls
1491
1492         * text.C (redoParagraph): simplify row breaking logic
1493
1494
1495 2003-08-19  André Pönitz  <poenitz@gmx.net>
1496
1497         * funcrequest.C: initialize button_ member
1498
1499         * text3.C:
1500         * rowpainter.[Ch]: interface consolidation
1501
1502 2003-08-18  André Pönitz  <poenitz@gmx.net>
1503
1504         * BufferView.C:
1505         * BufferView_pimpl.C:
1506         * lyxfind.C:
1507         * paragraph_funcs.C:
1508         * rowpainter.C:
1509         * text3.C: remove LyXScreen::draw() and fitCursor calls
1510
1511         * BranchList.h: remove spurious semicolons
1512
1513         * MenuBackend.C: fix branchlist related crash
1514
1515 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
1516
1517         * BranchList.[Ch]:
1518         * InsetList.[Ch]:
1519         * LColor.[Ch]:
1520         * LyXAction.C:
1521         * Makefile.am:
1522         * MenuBackend.[Ch]:
1523         * bufferparams.[Ch]:
1524         * factory.C:
1525         * lfuns.h:
1526         * lyxfunc.C:
1527         * text3.C: implements the 'branch inset'
1528         idea. This allows the output of various versions of a document
1529         from a single source version, selectively outputing or suppressing
1530         output of parts of the text.
1531         This implementation contains a 'branch list editor' in a separate
1532         tab of the document settings dialog. Branches are user definable
1533         and have a "display colour" to distinguish them on-screen.
1534
1535         ColorHandler was somewhat cleaned up.
1536         (1) make possible a dynamically growing LColor list by allowing
1537         the graphic context cache to grow along (vector);
1538         (2) eliminate an IMHO unnecessary step in colour allocation.
1539
1540 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
1541
1542         * BufferView_pimpl.C: compile fix
1543
1544 2003-08-15  André Pönitz  <poenitz@gmx.net>
1545
1546         * rowpainter.C: remove extra metrics calls
1547
1548         * lyxtext.h: merge the two constructors into a single one,
1549           pass reference to owner's par list
1550
1551         * BufferView_pimpl.C:
1552         * text.C:
1553         * text2.C: adjust
1554
1555 2003-08-15  André Pönitz  <poenitz@gmx.net>
1556
1557         * lyxrow_funcs.[Ch]:
1558         * lyxtext.h:
1559         * paragraph.h:
1560         * paragraph_funcs.C:
1561         * rowpainter.C:
1562         * text.C:
1563         * text2.C:
1564         * text3.C:
1565         * text_funcs.C: split LyXText::rowlist_ into individual
1566         Paragraph::rows_ chunks
1567
1568         * BufferView.[Ch]:
1569         * BufferView_pimpl.[Ch]:
1570         * lyxfind.C:
1571         * lyxtext.h:
1572         * text3.C: remove toggleSelection()
1573
1574 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
1575
1576         * bufferlist.C: beautify two alerts (shorter text of buttons)
1577         * buffer.C: Remove redundant ' ' from message
1578         * tabular.h:
1579         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
1580         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
1581         rename VALIGN_CENTER to VALIGN_MIDDLE
1582
1583 2003-08-11  André Pönitz  <poenitz@gmx.net>
1584
1585         * lyxtext.h (getPar):
1586         * text.C: new function
1587
1588 2003-08-11  André Pönitz  <poenitz@gmx.net>
1589
1590         * Makefile.am:
1591         * tracer.[Ch]: remove unneeded files
1592
1593         * InsetList.[Ch]: remove resizeInsetsLyXText()
1594
1595         * lyxtext.h:
1596         * text.C:
1597         * text2.C:
1598         * text3.C: merge insertParagraphs() and appendParagraph()
1599         remove breakAgain(), update()
1600
1601         * BufferView_pimpl.[Ch]:
1602         * bufferview_funcs.[Ch]:
1603         * lyxfunc.C:
1604         * paragraph.[Ch]:
1605         * rowpainter.C:
1606         * tabular.C: adjust after text & InsetList changes.
1607
1608 2003-08-08  André Pönitz  <poenitz@gmx.net>
1609
1610         * text.C (insertChar, backspace): replace rowlist fiddling
1611         with rebreak of full par
1612
1613         * lyxtext.h:
1614         * text.C (breakAgainOneRow, redoHeightOfParagraph,
1615         checkParagraph, updateInset): removed
1616
1617 2003-08-07  André Pönitz  <poenitz@gmx.net>
1618
1619         * paragraph.C:
1620         * text3.C: merge some LFUN handlers, remove dead code
1621
1622 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1623
1624         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
1625
1626 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
1627
1628         * text2.C (DEPM): fix part of bug 1255 and 1256
1629
1630 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1631
1632         * BufferView_pimpl.C (workAreaDispatch): change to use
1633         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
1634         that are no mouse related.
1635
1636 2003-08-05  André Pönitz  <poenitz@gmx.net>
1637
1638         * BufferView.[Ch]:
1639         * BufferView_pimpl.[Ch]:
1640         * bufferview_funcs.C:
1641         * text2.C:
1642         * text3.C: rip out "deep update"
1643
1644         * textcursor.[Ch] (last_sel_cursor): remove unused member
1645
1646 2003-08-04  André Pönitz  <poenitz@gmx.net>
1647
1648         * BufferView.[Ch]:
1649         * BufferView_pimpl.[Ch]:
1650         * ParagraphParameters.C:
1651         * bufferview_funcs.C:
1652         * lyx_cb.C:
1653         * lyxfind.C:
1654         * lyxfunc.C:
1655         * text.C:
1656         * text2.C:
1657         * text3.C: replace "complicated" BufferView::update(...) calls with
1658         simpler ones.
1659
1660         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
1661
1662 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
1663
1664         * Makefile.am (lyx_SOURCES): add paper.h
1665
1666 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1667
1668         * Makefile.am: move things around so that both lyx-qt and
1669         lyx-xforms can be built (according to --with-frontend). Then lyx
1670         is a symbolic link to lyx-[firstfrontend]
1671
1672 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
1673
1674         * Always use std::endl with lyxerr
1675
1676 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
1677
1678         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
1679
1680 2003-08-01  André Pönitz  <poenitz@gmx.net>
1681
1682         * BufferView.[Ch]:
1683         * BufferView_pimpl.[Ch]:
1684         * lyxfunc.C:
1685         * text3.C: merge BufferView::repaint() and BufferView::update()
1686
1687 2003-08-01  José Matos  <jamatos@lyx.org>
1688
1689         * buffer.[Ch]: file_format is no longer a buffer data element.
1690
1691 2003-08-01  André Pönitz  <poenitz@gmx.net>
1692
1693         * BufferView.C:
1694         * lyxtext.h:
1695         * text.C:
1696         * text2.C: make redoParagraph more independent of current cursor
1697
1698         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
1699         * text.C:
1700         * text2.C: remove unneeded members
1701
1702 2003-07-30  André Pönitz  <poenitz@gmx.net>
1703
1704         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
1705
1706         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
1707           create a single function...
1708
1709         * paragraph_funcs.C (moveItem): ... here.
1710
1711         * text.C:
1712           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
1713
1714 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
1715
1716         * LColor.[Ch]: Add comment and greyedout logical colors.
1717
1718 2003-07-30  André Pönitz  <poenitz@gmx.net>
1719
1720         * tabular.C: don't use Assert too heavily. This crashes where it
1721           shouldn't
1722
1723 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
1724
1725         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
1726         is disabled (bug 1232)
1727
1728 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1729
1730         * factory.C: limited 'arg' scope
1731
1732 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1733
1734         * factory.C: fixed Note submenu issues
1735
1736 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1737
1738         * factory.C: submenu for Note/Comment/Greyedout
1739
1740 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
1741
1742         * lyx_main.C (LyX):
1743         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
1744
1745 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
1746
1747         * LaTeXFeatures.C:
1748         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
1749         greyedout. Patch provided by Jürgen Spitzmüller.
1750
1751 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1752
1753         * kbmap.C (read): fix error message when reading bind files
1754
1755 2003-07-29  Angus Leeming  <leeming@lyx.org>
1756
1757         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
1758         certainly does not do what it purports to do. I am doing it, and
1759         us, a favour by killing it.
1760
1761 2003-07-28  José Matos  <jamatos@lyx.org>
1762
1763         * buffer.C (readBody, do_writeFile):
1764         * paragraph.C(readParagraph): \end_document replaces \the_end.
1765
1766 2003-07-29  André Pönitz  <poenitz@gmx.net>
1767
1768         * BufferView.[Ch]:
1769         * BufferView_pimpl.[Ch]:
1770         * lyxfunc.C:
1771         * text2.C:
1772         * text3.C:
1773         * textcursor.[Ch]: remove toggleToggle & Co
1774
1775 2003-07-28  José Matos  <jamatos@fep.up.pt>
1776
1777         * buffer.C (readParagraph):
1778         * params_func (readParToken, readParagraph):
1779         * paragraph.C (write): \layout -> \begin_layout.
1780
1781 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1782
1783         * lyxlex_pimpl.C (setFile): clean up slightly.
1784
1785         * bufferparams.h: add compressed var
1786
1787         * buffer_funcs.C (readFile): adjust for LyXLex change
1788         (newFile): ditto + simplify
1789
1790         * buffer.C (writeFile): handle writing of compressed files
1791
1792         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
1793         Check if the file is compressed and set a bufferparm if so.
1794
1795         * Makefile.am (lyx_LDADD): remove explicit -lz
1796
1797 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1798
1799         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
1800         makeDocBookFile): put the real LyX version in the first line of
1801         the file
1802
1803         * version.h:
1804         * version.C.in: remove lyx_docversion
1805
1806         * tabular.C (write_attribute): add a template-based version to
1807         write enums properly
1808
1809 2003-07-28  André Pönitz  <poenitz@gmx.net>
1810
1811         * lyxtext.h:
1812         * text.C:
1813         * text2.C:
1814         * text3.C: use doubles again for x-coordinates. They are needed.
1815
1816 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1817
1818         * messages.C (getLocaleDir): use lyx_localedir()
1819
1820         * lyxlex_pimpl.C (setFile): compress stuff
1821
1822         * buffer.C (writeFile): add some compression stuff
1823         (do_writeFile): new func, dont call expliti close... will this
1824         breake anything?
1825
1826         * Makefile.am (lyx_LDADD): add -lz
1827
1828 2003-07-28  José Matos  <jamatos@fep.up.pt>
1829
1830         * buffer.C: increment file format.
1831         * paragraph_funcs (readParagraph, readParToken):
1832         * paragraph.C (readParagraph): add \end_layout.
1833
1834 2003-07-27  Angus Leeming  <leeming@lyx.org>
1835
1836         * Makefile.am: remove special casing for configure-time setting of
1837         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
1838
1839         * lyx_main.C (init): remove all Jean-Marc's magic setting of
1840         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
1841
1842 2003-07-26  André Pönitz  <poenitz@gmx.net>
1843
1844         * paragraph_func.[Ch]:
1845         * paragraph.C (realizeFont): inline it whereever it is used
1846
1847         * rowpainter.C:
1848         * text.C:
1849         * text2.C:
1850         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
1851
1852
1853 2003-07-26  André Pönitz  <poenitz@gmx.net>
1854
1855         *       lyxtext.h:
1856         * text.C:
1857         * text2.C: get rid of LyXText::need_break_row
1858
1859 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1860
1861         * toc.[Ch]: put namespace toc inside namespace lyx
1862
1863         * MenuBackend.C (expandToc2): adjust for lyx::toc
1864         (expandToc): ditto
1865
1866         * lyxfunc.C (dispatch): adjust for lyx::find
1867
1868         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
1869         lyx::find instead. Reorganize a bit.
1870         (LyXReplace): rename to replace
1871         (LyXFind): rename to find
1872
1873         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
1874         (dispatch): ditto
1875
1876 2003-07-26  André Pönitz  <poenitz@gmx.net>
1877
1878         * text.C (setHeightOfRow): restrict scope of temporary variable
1879
1880         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
1881           code (never has been used?)
1882
1883 2003-07-27  Asger Alstrup  <alstrup@local>
1884
1885         * text.C (fill): Optimise algorithm to exploit that we can reuse
1886         the LyXFont for many characters.
1887         (setHeightOfRow): Same thing.
1888         (rowBreakPoint): Same thing.
1889
1890 2003-07-26  Asger Alstrup  <alstrup@local>
1891
1892         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
1893
1894         * text.C (singleWidth): Spurious font copying in hot-spot
1895         singleWidth avoided. Reorder tests for arabic for efficiency.
1896
1897         * text.C (fill): handle empty paragraphs better.
1898
1899 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1900
1901         * ispell.C:
1902         * encoding.h: add includes
1903
1904         * lyxrc.C: remove reading of bind files
1905
1906         * lyx_main.C (init): setup bindings and menus only if we have a
1907         gui.
1908
1909         * kbmap.C (read): new method. Do the actual reading of bind
1910         files.
1911
1912         * converter.C (dvipdfm_options):
1913         * bufferparams.C:
1914         * lyxrc.C (read):
1915         (output): adapt PAPER_* enums.
1916
1917         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
1918
1919         * bufferparams.h: remove paper-related enums from there
1920
1921         * paper.h: New file. A trivial header file to hold paper-related
1922         enums. It should later expand to contain many paper-related
1923         horrors access.
1924
1925         * lyxrc.C: declare extern displayTranslator
1926
1927 2003-07-27  José Matos  <jamatos@fep.up.pt>
1928
1929         * tabular.[Ch] (linuxdoc): add support for tables and figures
1930         (linuxdoc).
1931
1932 2003-07-27  José Matos  <jamatos@fep.up.pt>
1933
1934         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
1935         consistency in both functions.
1936         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
1937
1938 2003-07-26  Asger Alstrup  <alstrup@local>
1939
1940         * rowpainter.C (paintRows): Change algorithm to work directly on
1941         the insets rather than asking every character in the document
1942         whether its an inset.
1943
1944 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
1945
1946         * buffer.C (openFileWrite): factorize some code
1947
1948 2003-07-26  Angus Leeming  <leeming@lyx.org>
1949
1950         * lyx_cb.C:
1951         * lyx_main.[Ch]: replace occurances of system_tempdir with
1952         os::getTmpDir().
1953
1954 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1955
1956         * rename Inset to InsetOld
1957
1958 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
1959
1960         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
1961         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
1962         which I think is a bit clearer. EDIT is gone, since it was
1963         premature optimisation, and broken for mathed anyway.
1964         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
1965         with cursor positioning in insets as well (math insets still do not
1966         work, but that's a different story anyway.) It mysteriously
1967         crashes sometimes with undo in the first paragraph, but I'm fairly
1968         confident that this is a compiler bug.
1969
1970 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1971
1972         * paragraph.C (Paragraph): adjust for new clone return type
1973         (operator==): ditto
1974         (copyIntoMinibuffer): ditto
1975
1976 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
1977
1978         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
1979         by not having a special case, and always doing a full rebreak of
1980         the document after undo.
1981
1982 2003-07-23  Angus Leeming  <leeming@lyx.org>
1983
1984         * factory.C (createInset): InsetExternal::setParams now takes a
1985         Buffer const * arg.
1986
1987 2003-07-23  Angus Leeming  <leeming@lyx.org>
1988
1989         * factory.C (createInset): changed interface to the external and
1990         graphics mailers' string2params functions.
1991
1992 2003-07-23  Angus Leeming  <leeming@lyx.org>
1993
1994         * factory.C (createInset): pass a
1995         Buffer const * parameter to InsetExternalMailer's string2params.
1996
1997 2003-07-22  John Levon  <levon@movementarian.org>
1998
1999         * Thesaurus.h: include the right aiksaurus header
2000
2001 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2002
2003         * MenuBackend.C (expand): check menu shortcuts unconditionally
2004
2005 2003-07-21  Angus Leeming  <leeming@lyx.org>
2006
2007         * factory.C (createInset): pass a
2008         buffer_path parameter to InsetGraphicsMailer's string2params.
2009
2010 2003-07-21  Angus Leeming  <leeming@lyx.org>
2011
2012         * BufferView_pimpl.C (buffer):
2013         * buffer.C (d-tor):
2014         * lyx_main.C (LyX):
2015         * lyxfunc.C (dispatch):
2016         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2017         rather than the grfx shortcut.
2018
2019 2003-07-21  André Pönitz  <poenitz@gmx.net>
2020
2021         * rowpainter.C: remove unused variables
2022
2023         * tabular_funcs.C:
2024         * tabular_funcs.h: move to tabular.C
2025         * Makefile.am: adjust
2026
2027         * tabular.[Ch]: basic optical cleaning
2028
2029         * author.h: pass references, not values
2030
2031 2003-07-18  André Pönitz  <poenitz@gmx.net>
2032
2033         * lyxtext.h:
2034         * metricsinfo.C:
2035         * metricsinfo.h:
2036         * rowpainter.C:
2037         * text.C:
2038         * text2.C:
2039         * text3.C: two-phase drawing for InsetText and InsetTabular
2040         some float -> int changes.
2041
2042 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2043
2044         * lyx_main.C: fix the fix
2045
2046 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2047
2048         * lyx_main.C: fix a crash in batch mode if no files specified
2049         * converter.C: ws
2050
2051 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
2052
2053         * format.[Ch] (papersize): moved to BufferParams
2054         * converter.[Ch] (dvips_options): moved to BufferParams
2055         (dvipdfm_options): moved to anon namespace
2056         * bufferparams.[Ch]: added above functions.
2057
2058 2003-07-17  André Pönitz  <poenitz@gmx.net>
2059
2060         * lyxtext.h:
2061         * rowpainter.C:
2062         * text2.C: don't call inset->update() anymore
2063
2064         * metricsinfo.[Ch]: add convenience constructor
2065
2066 2003-07-16  André Pönitz  <poenitz@gmx.net>
2067
2068         * lyxcursor.[Ch]:
2069         * lyxfunc.[Ch]:
2070         * text.C:
2071         * text2.C: replace the LyXCursor::irow_ member with
2072          on-demand computation of the value
2073
2074 2003-07-16  John Levon  <levon@movementarian.org>
2075
2076         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
2077
2078 2003-07-15  André Pönitz  <poenitz@gmx.net>
2079
2080         * text.C:
2081         * text2.C: remove no more needed refresh_row
2082
2083 2003-07-15  André Pönitz  <poenitz@gmx.net>
2084
2085         * lyxtext.h:
2086         * rowpainter.C:
2087         * text2.C:
2088         * text3.C: refresh_status tristate -> need_update bool
2089
2090 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
2091
2092         * lyxtext.h (init): remove reinit argument (act as if always true)
2093         * text2.C: adjust to that
2094
2095 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2096
2097         * bufferview_funcs.[Ch]: introduce function replaceSelection()
2098         * text3.C: use it to delete selections in some cases
2099         (bugs 441, 673, 702, 954).
2100
2101 2003-07-14  André Pönitz  <poenitz@gmx.net>
2102
2103         * rowpainter.[Ch]: reduce interface
2104
2105 2003-07-14  André Pönitz  <poenitz@gmx.net>
2106
2107         * BufferView_pimpl.C:
2108         * text2.C: adjust after removing unused BufferView * argument
2109
2110 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
2111
2112         * text2.C (init): fix a crash fired on resize
2113
2114 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
2115
2116         * buffer.[Ch]: added new closing signal
2117         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
2118         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
2119         BufferView::Pimpl via the closing the signal
2120
2121 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
2122
2123         * buffer.[Ch]: take out all bv-related from buffer
2124         * BufferView.C:
2125         * BufferView_pimpl.[Ch]: connect to new signals
2126         * CutAndPaste.C: removed useless asserts
2127         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
2128         * lyxvc.[Ch]:
2129         * vc-backend.[Ch]:
2130         * lyxfunc.C: moved view-related funciontality from vc here
2131         * paragraph.C: removed outdated comments
2132         * text.C: ws
2133
2134 2003-07-10  André Pönitz  <poenitz@gmx.net>
2135
2136         * BufferView_pimpl.C:
2137         * tabular.h:
2138         * tabular_funcs.C:
2139         * text.C:
2140         * text2.C: remove InsetText::InnerCache, clean up consequences
2141
2142 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
2143
2144         * ispell.C: fix two typos in error messages
2145
2146 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
2147
2148         * Extend Note inset to other forms of annotation like Comment
2149         and Greyedout. Right button click gives dialog.
2150
2151         Files modified or added (+):
2152
2153         * insetnote.[Ch]
2154         * FormNote.[Ch]      +
2155         * ControlNote.[Ch]   +
2156         * form_note.fd       +
2157         * Makefile.am in frontends/xforms, frontends/xforms/forms,
2158         frontends/controllers
2159         * xforms/Dialogs.C
2160         * factory.C
2161
2162 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2163
2164         * aspell.C: add missing namespace lyx::support
2165
2166 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
2167
2168         * BufferView.[Ch] (newFile): Add
2169         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2170         * LaTeX.[Ch] (message): added this signal and use it
2171         * buffer.[Ch] (busy, message): added these signals and use them
2172         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2173         * converter.C:
2174         * exporter.C:
2175         * format.C:
2176         * importer.C: use buffer signals instead of direct bv calling
2177         * lyx_cb.[Ch] (ShowMessage): removed
2178         * lyx_main.C:
2179         * lyxfunc.C:
2180         * paragraph_funcs.C:
2181         * text2.C: use buffer signals
2182
2183 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2184
2185         * introduce namespace lyx::graphics
2186
2187 2003-07-02  André Pönitz  <poenitz@gmx.net>
2188
2189         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2190
2191 2003-07-01  André Pönitz  <poenitz@gmx.net>
2192
2193         * text.C:
2194         * text2.C:
2195         * text3.C:
2196         * text_funcs.[Ch]:
2197         * textcursor.h:
2198         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2199           text*.C to text_func.C
2200
2201 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2202
2203         * introduce namespace lyx::support
2204
2205 2003-06-30  André Pönitz  <poenitz@gmx.net>
2206
2207         * Chktex.C:
2208         * funcrequest.C:
2209         * lyxtext.h:
2210         * text.C: re-enable --with-included-string
2211
2212 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2213
2214         * textcursor.C: add <config.h>
2215
2216         * text.C (getWord): remove const from word_location arg
2217
2218         * lyxvc.C (getLogFile): fix const type order
2219
2220         * lyxtext.h: remove const from word_location arg, add arg name
2221
2222         * lyxlayout.h: currect type on labeltype.
2223
2224         * importer.C: correct \file
2225
2226         * converter.C (intToFormat): use std:: on ret val, ws changes
2227
2228         * bufferlist.h: correct \file
2229
2230         * buffer.C (makeLinuxDocFile): fix const type order
2231         (makeDocBookFile): ditto
2232         (fillWithBibKeys): use std:: on stdlib args.
2233
2234         * CutAndPaste.C: fix authors.
2235         (availableSelections): use std:: on return vector
2236
2237 2003-06-27  André Pönitz  <poenitz@gmx.net>
2238
2239         * BufferView_pimpl.C:
2240         * bufferview_funcs.C:
2241         * lyxcursor.C:
2242         * lyxcursor.h:
2243         * lyxfunc.C:
2244         * lyxtext.h:
2245         * rowpainter.C:
2246         * text.C:
2247         * text2.C:
2248         * text3.C: remove LyXCursor::row_ member
2249
2250         * lyxtext.h:
2251         * text.C: rename fullRebreak() to partialRebreak() and implement
2252           a fullRebreak() that really bereks fully
2253
2254         * textcursor.h: new struct for cursor-related data
2255
2256 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
2257
2258         * lyx_main.C (LyX): get full path of document loaded on the
2259         command line
2260
2261 2003-06-26  André Pönitz  <poenitz@gmx.net>
2262
2263         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2264           remove unused/broken operator>,<,>=.
2265
2266         *       text.C: remove only use of broken operator<= in an Assert().
2267
2268 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2269
2270         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2271         moved errorlist_.clear to showErrorList
2272
2273 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2274
2275         * converter.C (scanLog, runLaTeX):
2276         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2277         move the bv->showErrorList call to the callers
2278         * lyxfunc.C: i.e. here...
2279         * text2.C: and here
2280         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2281         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2282         namespace, the second to...
2283         * buffer_funcs (BufferFormat, parseErrors): added
2284         * errorlist.C (ErrorList(TeXErrors const &)): removed
2285
2286 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2287
2288         * ToolbarBackend.C (getIcon): complain when icon cannot be found
2289
2290 2003-06-24  "Garst R. Reese" <reese@isn.net>
2291
2292         * debug.C: fix typo
2293
2294 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2295
2296         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2297
2298         * version.C.in: change docversion to 1.4
2299
2300 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
2301
2302         * buffer.C: fix a bug just introduced
2303
2304 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
2305
2306         * buffer.[Ch]: added the parseError signal and use it, removed
2307         sgmlError
2308         * BufferView.[Ch] (addError): moved to ...
2309         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2310         to the Buffer::parseError signal to catch (guess what) parse errors
2311         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2312
2313 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
2314
2315         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2316         ability to create a buffer and to return an existing one from
2317         the list. Moved these functions to...
2318         * buffer_funcs.[Ch]: added
2319         * BufferView.[Ch] (loadLyXFile): added
2320         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
2321         job removed from bufferlist::loadLyXFile.
2322         * buffer.C (setReadOnly): make it work without view
2323         (i.e added an if (users))
2324
2325 2003-06-19  Angus Leeming  <leeming@lyx.org>
2326
2327         * lfuns.h:
2328         * LyXAction.C (init):
2329         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
2330         with LFUN_DIALOG_SHOW <name> <data>.
2331
2332 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2333
2334         * CutAndPaste.C (availableSelections): small compilation fix for
2335         ancient (gcc 2.9x) compilers
2336
2337 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
2338
2339         * text3.C (cursorNext): add tmp var
2340
2341         * text2.C (updateCounters): for function calling out of for clause
2342         (replaceSelectionWithString): ditto
2343         (insertStringAsParagraphs): ditto
2344         (getColumnNearX): add tmp var
2345         (setCursorFromCoordinates): add tmp var
2346         (cursorDownParagraph): add tmp var
2347         (deleteEmptyParagraphMechanism): add tmp var
2348
2349         * text.C (insertChar): add tmp var
2350
2351         * rowpainter.C (paintDepthBar): add tmp var
2352
2353         * CutAndPaste.C (availableSelections): potentially check all
2354         paragraphs in a cut to fill the shown strings.
2355
2356 2003-06-18  André Pönitz  <poenitz@gmx.net>
2357
2358         * kbmap.[Ch]: use vector<> instead of list<>
2359
2360 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
2361
2362         * text3.C (dispatch): handle arg to LFUN_PASTE, call
2363         pasteSelection with index
2364
2365         * text2.C (pasteSelection): modify, call pasteSelection with index
2366
2367         * paragraph.C (asString): reimplement version with no interval to
2368         call the one with interval.
2369
2370         * lyxtext.h: add index arg to pasteSelection
2371
2372         * MenuBackend.C (MenuItem): handle PasteRecent
2373         (Menu::read::Menutags): add md_pasterecent
2374         (read): handle it
2375         (expandPasteRecent): new function
2376         (expand): use it
2377
2378         * MenuBackend.h: add PasteRecent to MenuItem::Kind
2379
2380         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
2381         the limited stack
2382         (availableSelections): new function
2383
2384 2003-06-17  Angus Leeming  <leeming@lyx.org>
2385
2386         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
2387
2388 2003-06-17  Angus Leeming  <leeming@lyx.org>
2389
2390         * lfuns.h:
2391         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
2392
2393         * lyxfunc.C (dispatch): invoke it.
2394
2395 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2396
2397         * iterators.C (operator++, ParPosition): reintroduce some
2398         const_cast for the benefit of older compilers.
2399
2400 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2401
2402         * text3.C (dispatch): do not modify clipboard when doing
2403         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
2404         LFUN_DELETE_SKIP on a selection selection
2405
2406 2003-06-16  André Pönitz  <poenitz@gmx.net>
2407
2408         * BufferView.C:
2409         * buffer.C:
2410         * buffer.h:
2411         * paragraph.C:
2412         * tabular.[Ch]: IU of clone() and getLabelList();
2413
2414 2003-06-13  André Pönitz  <poenitz@gmx.net>
2415
2416         * tabular.h: compactification
2417
2418 2003-06-12  André Pönitz  <poenitz@gmx.net>
2419
2420         * tabular.C:
2421         * tabular.h:
2422         * tabular_funcs.h: some renaming plus whitespace
2423
2424 2003-06-12  André Pönitz  <poenitz@gmx.net>
2425
2426         * BufferView.C:
2427         * BufferView_pimpl.C:
2428         * CutAndPaste.C:
2429         * buffer.C:
2430         * iterators.[Ch]:
2431         * lyxfunc.C:
2432         * text.C:
2433         * toc.C: Return a Paragraph & for ParIterator::operator*()
2434
2435 2003-06-11  John Levon  <levon@movementarian.org>
2436
2437         * lyx_main.C:
2438         * ToolbarBackend.h:
2439         * ToolbarBackend.C: add "Toolbars" section and
2440         put the flags there
2441
2442 2003-06-10  Angus Leeming  <leeming@lyx.org>
2443
2444         * lfuns.h:
2445         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
2446
2447         * lyxfunc.C (dispatch): invoke it.
2448
2449 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2450
2451         * main.C: protect <ios> with HAVE_IOS
2452         (main): protect sync_with_stdio with HAVE_IOS
2453
2454 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
2455
2456         * text2.C (cutSelection): adjust
2457         (pasteSelection): adjust
2458
2459         * messages.C: handle get of empty string
2460
2461         * main.C (main): use sync_with_stdio(false)
2462
2463         * lyxfunc.C (dispatch): adjust
2464
2465         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
2466         (WriteAs): remove unneeded BufferView arg.
2467
2468         * bufferparams.h: use correct types on papersize, papersize2 and
2469         paperpackage.
2470
2471         * bufferparams.C (readToken): adjust for type
2472         (writeLaTeX): add missing cases to switch.
2473
2474         * bufferlist.C (quitWriteBuffer): adjust
2475         (close): adjust
2476
2477         * buffer.C (asciiParagraph): remove some commented code.
2478
2479         * CutAndPaste.C: remove current_view extern variable.
2480         (cutSelection): add BufferParams arg.
2481         (eraseSelection): add BufferParams arg.
2482         (pasteSelection): add Buffer const & arg
2483
2484 2003-06-07  John Levon  <levon@movementarian.org>
2485
2486         * buffer.C:
2487         * paragraph_funcs.C:
2488         * paragraph_pimpl.C:
2489         * text.C:
2490         * text2.C:
2491         * paragraph.h:
2492         * paragraph.C: allow InsetERT to freely space lines,
2493         and some consolidation of code
2494
2495 2003-06-06  José Matos  <jamatos@fep.up.pt>
2496
2497         * buffer.C (makeDocBookFile): fix bug #821
2498
2499 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
2500
2501         * BufferView_pimpl.C (dispatch): use Dialogs::visible
2502
2503 2003-06-04  Angus Leeming  <leeming@lyx.org>
2504
2505         * buffer.C: bump format to 224.
2506
2507 2003-06-05  André Pönitz  <poenitz@gmx.net>
2508
2509         * text2.C (redoParagraphs): remove two const_cast<>
2510
2511 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2512
2513         * ParagraphList.h: remove last remnants of NO_STD_LIST
2514
2515 2003-06-03  Angus Leeming  <leeming@lyx.org>
2516
2517         * factory.C (createInset): small change to the way InsetExternal's params
2518         are set.
2519
2520 2003-06-04  André Pönitz  <poenitz@gmx.net>
2521
2522         * buffer.h: use Undo directly instead of shared_ptr<Undo>
2523
2524         * paragraph_pimpl.h:
2525         * paragraph.[Ch]: some Inset -> UpdatableInset changes
2526
2527         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
2528
2529         * undo_funcs.C: make some simple cases of undo work again
2530
2531 2003-06-03  John Levon  <levon@movementarian.org>
2532
2533         * ispell.C: HPUX doesn't have sys/select.h
2534         (from Albert Chin)
2535
2536 2003-06-03  John Levon  <levon@movementarian.org>
2537
2538         * CutAndPaste.C: update tabular and include inset
2539         buffer references
2540
2541         * buffer.h:
2542         * paragraph.h:
2543         * paragraph.C: remove owningBuffer(), don't pass Buffer
2544         to clone()
2545
2546         * factory.C: insetGraphicsParams changed
2547
2548 2003-06-02  John Levon  <levon@movementarian.org>
2549
2550         * LyXAction.C:
2551         * factory.C:
2552         * lfuns.h:
2553         * lyxfunc.C:
2554         * text3.C: remove insetparent
2555
2556 2003-06-02  John Levon  <levon@movementarian.org>
2557
2558         * buffer.h:
2559         * buffer.C: fix inset_iterator.end(), move out of line
2560         (bug 1149)
2561
2562 2003-06-01  John Levon  <levon@movementarian.org>
2563
2564         * text3.C: use a proper cut/paste when doing inset
2565         insert (from Jürgen Spitzmüller)
2566
2567 2003-06-01  John Levon  <levon@movementarian.org>
2568
2569         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
2570
2571 2003-05-30  André Pönitz  <poenitz@gmx.net>
2572
2573         * rowpainter.C: unify second drawing phase
2574
2575 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2576
2577         * trans_mgr.C: remove one case of current_view
2578
2579         * text2.C (cursorBottom): delete NO_STD_LIST stuff
2580
2581         * paragraph_funcs.h: remove paragraph.h include
2582
2583         * paragraph.h: delete NO_STD_LIST stuff
2584
2585         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
2586
2587         * buffer.h: remove paragraph.h include
2588
2589         * ParagraphList.C: delete file
2590
2591         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
2592
2593         * toc.C (getTocList): adjust
2594
2595         * paragraph_pimpl.C (validate): adjust
2596
2597         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
2598
2599         * paragraph.C (Paragraph): adjust
2600         (getPositionOfInset): use const_iterator, adjust
2601         (bibitem): use const_iterator, adjust
2602         (setInsetOwner): adjust
2603
2604         * iterators.C (operator++): adjust
2605
2606         * InsetList.[Ch]: Replace selfmade iterator with standard
2607         vector::iterator also introduce const_iterator. Remove getPos,
2608         getInset and setInset from InsetTable. Adjust accordingly.
2609
2610         * BufferView.C (lockInset): adjust
2611         (ChangeInsets): adjust
2612
2613         * tabular.[Ch]: delete commented same_id functions
2614
2615 2003-05-28  John Levon  <levon@movementarian.org>
2616
2617         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
2618
2619 2003-05-28  André Pönitz  <poenitz@gmx.net>
2620
2621         * metricsinfo.[Ch]: remove 'fullredraw' member
2622
2623 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
2624
2625         * lyxtextclass.C (operator): remove caching.
2626
2627 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2628
2629         * text3.C: adjust
2630
2631         * text2.C (cursorBottom): adjust
2632         (setCounter): use ParagraphList::find, adjust
2633
2634         * text.C (workWidth): use ParagraphList::find, adjust
2635
2636         * lyxcursor.C (LyXCursor): adjust
2637
2638         * buffer.C (inset_iterator): adjust
2639
2640         * ParagraphList.h: make iterator(value_type) private, make
2641         ParagraphList a friend of iterator.
2642
2643         * ParagraphList.C (find): new function
2644
2645         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2646
2647 2003-05-27  André Pönitz  <poenitz@gmx.net>
2648
2649         * dimension.[Ch]: a -> asc, d -> des, w -> wid
2650
2651 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2652
2653         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
2654
2655 2003-05-26  John Levon  <levon@movementarian.org>
2656
2657         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
2658
2659 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2660
2661         * remove same_id from function signatures, adjust.
2662
2663 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2664
2665         * undo_funcs.C (createUndo): use the id functions directly, adjust.
2666
2667         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
2668
2669         * paragraph.C (Paragraph): get rid of same_ids parameter
2670
2671         * ParagraphList.C (insert): adjust
2672         (push_back): adjust
2673
2674 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2675
2676         * paragraph_funcs.C (breakParagraph): adjust
2677         (breakParagraphConservative): adjust
2678
2679         * buffer.C (readParagraph): adjust
2680
2681         * ParagraphList.C (insert): take a reference instead of a pointer
2682         (insert): adjust
2683
2684         * paragraph.[Ch] (id): new function
2685
2686         * bufferlist.C (newFile): adjust
2687
2688         * ParagraphList.C (ParagraphList): adjust
2689         (assign): adjust
2690         (push_back): take a reference instead of a pointer.
2691
2692         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
2693
2694         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
2695         instead.
2696
2697         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
2698         set else use old code.
2699
2700         * ParagraphList.C: remove all NO_NEXT code and only compile this
2701         code of NO_STD_LIST is set.
2702
2703 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
2704
2705         * BufferView_pimpl.C:
2706         * TextCache.C:
2707         * TextCache.h:
2708         * bufferlist.C:
2709         * errorlist.h:
2710         * format.C:
2711         * format.h:
2712         * graph.C:
2713         * lyxfunc.C:
2714         * lyxrc.C:
2715         * graphics/GraphicsConverter.C:
2716         * graphics/PreviewLoader.C: header adjustment
2717
2718 2003-05-23  Angus Leeming  <leeming@lyx.org>
2719
2720         * LaTeXFeatures.[Ch] (useBabel): new method.
2721         * bufferparams.C (writeLaTeX): use it.
2722
2723 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2724
2725         * ParagraphList.h (set): remove unused function.
2726
2727 2003-05-23  André Pönitz  <poenitz@gmx.net>
2728
2729         * BufferView.C:
2730         * BufferView_pimpl.C:
2731         * buffer.C:
2732         * buffer.h:
2733         * lyxfunc.C:
2734         * undo_funcs.C: setUndo reworked
2735
2736         * iterators.[Ch]: add access to topmost ParagraphList
2737
2738         * lyxtext.[Ch] (workWidth): add a const
2739
2740 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
2741
2742         * texrow.[Ch] (increasePos): remove function
2743         * exporter.C (export): removed unused var and outdated comment
2744
2745 2003-05-23  Angus Leeming  <leeming@lyx.org>
2746
2747         * latexrunparams.h: rename fragile as moving_arg.
2748         * paragraph.C (simpleTeXOnePar): ditto.
2749         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
2750
2751 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2752
2753         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
2754         (createUndo): ditto
2755         (textUndoOrRedo): comment out a currently unused var.
2756
2757         * paragraph.h (NO_NEXT): enable NO_NEXT
2758
2759         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
2760
2761         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
2762
2763         * exporter.C (Export): adjust for removeAutoInsets removal.
2764
2765         * buffer.C (runChktex): adjust for removeAutoInsets removal.
2766
2767         * LyXAction.C (init): remove LFUN_REMOVEERRORS
2768
2769         * BufferView.[Ch] (removeAutoInsets): delete function
2770
2771 2003-05-22  Angus Leeming  <leeming@lyx.org>
2772
2773         * latexrunparams.h: add a free_spacing variable.
2774
2775         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
2776         to pass moving_arg, as the data is stored in runparams.fragile.
2777
2778         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
2779         to Inset::latexOptional or to simpleTeXOnePar.
2780
2781         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
2782         free_spacing arg to Inset::latexOptional.
2783
2784         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2785         free_spacing arg.
2786
2787 2003-05-22  Angus Leeming  <leeming@lyx.org>
2788
2789         * latexrunparams.h: add fragile and use_babel variables.
2790
2791         * bufferparams.[Ch] (writeLaTeX): return use_babel.
2792         * buffer.C (makeLaTeXFile): store this returned value in
2793         runparams.use_babel, thus passing it to the inset::latex methods.
2794
2795         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
2796         simpleTeXSpecialChars as it is now stored in runparams.fragile.
2797
2798         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
2799         longer has a fragile arg, as it is stored in runparams.fragile.
2800
2801         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
2802         moving_arg parameter as the data is stored in runparams.fragile.
2803
2804         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2805         a fragile parameter as the data is stored in runparams.fragile.
2806
2807 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2808
2809         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
2810
2811 2003-05-22  Angus Leeming  <leeming@lyx.org>
2812
2813         * latexrunparams.h: add a 'bool nice' which defaults to false.
2814
2815         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
2816         now encapsulated within runparams.
2817
2818         * bufferlist.C (updateIncludedTeXfiles):
2819         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
2820
2821 2003-05-22  Angus Leeming  <leeming@lyx.org>
2822
2823         * latexrunparams.h: new file containing struct LatexRunParams.
2824         * Makefile.am: add new file.
2825
2826         * LaTeX.[Ch] (c-tor, run):
2827         * buffer.[Ch] (makeLaTeXFile):
2828         * bufferlist.[Ch] (updateIncludedTeXfiles):
2829         * converter.C (convert, scanLog):
2830         * converter.[Ch] (runLaTeX):
2831         * exporter.C (Export):
2832         * paragraph.[Ch] (simpleTeXOnePar):
2833         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
2834         * paragraph_funcs.[Ch] (latexParagraphs):
2835         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
2836         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
2837         pass around a LatexRunParams parameter.
2838
2839 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2840
2841         * paragraph.[Ch]: remove unused constructor
2842
2843         * ParagraphList.C (erase): new function, taking two iterators
2844
2845 2003-05-22  André Pönitz  <poenitz@gmx.net>
2846
2847         * undo_funcs.C: remove duplicated code
2848
2849         * iterator.[Ch]: operator=
2850
2851 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2852
2853         * tabular.C (SetMultiColumn): ws changes
2854
2855         * rowpainter.C (paintFirst): get rid of a ->previous
2856
2857         * lyx_cb.C (getPossibleLabel): parlist simplification
2858
2859         * BufferView.C (ChangeInsets): simplify slightly.
2860
2861 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2862
2863         * LyXAction.C: new lfun space-insert, kill protected-space-insert
2864         * lfuns.h: new LFUN_SPACE
2865         * lyxfunc.C: protected space has a new lfun
2866         * paragraph_funcs.C: read new space insets
2867         * text3.C:
2868         * factory.C: handle new space insets
2869
2870 2003-05-22  André Pönitz  <poenitz@gmx.net>
2871
2872         * BufferView.C:
2873         * BufferView_pimpl.C:
2874         * buffer.[Ch]:
2875         * lyxfunc.C:
2876         * undo_funcs.C: return a ParIterator from getParFromID.
2877
2878         * iterators.[Ch]: add two const's
2879
2880 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2881
2882         * toc.C (getTocList): adjust
2883
2884         * iterators.[Ch]: rework for parlist
2885
2886         * buffer.C (par_iterator_begin): adjust
2887         (par_iterator_end): adjust
2888
2889         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
2890
2891         * BufferView.C (removeAutoInsets): adjust
2892         (ChangeInsets): adjust
2893
2894 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
2895
2896         * text.C (top_y): fix bug 1110
2897
2898 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
2899
2900         * errorlist.[Ch]: added
2901         * buffer.C:
2902         * BufferView.[Ch]:
2903         * BufferView_pimpl.C:
2904         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
2905         instead
2906
2907 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2908
2909         * Makefile.am: ensure that lyx is relinked upon changes to the
2910         various "convenience" libs.
2911
2912 2003-05-20  Angus Leeming  <leeming@lyx.org>
2913
2914         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
2915         files are compiled in alphabetical order again.
2916
2917         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
2918
2919 2003-05-19  Angus Leeming  <leeming@lyx.org>
2920
2921         * gettext.[Ch]: remove "char const * _(char const *)".
2922
2923 2003-05-19  André Pönitz  <poenitz@gmx.net>
2924
2925         * dimension.[Ch]: promote from mathed/dimension.[Ch]
2926
2927         * Makefile.am:
2928         * BufferView.C:
2929         * DepTable.h:
2930         * LaTeXFeatures.C:
2931         * buffer.C:
2932         * lyxfont.C:
2933         * lyxlex.h:
2934         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
2935
2936 2003-05-19  André Pönitz  <poenitz@gmx.net>
2937
2938         * buffer.C:
2939         * lyxlayout.[Ch]:
2940         * lyxtextclass.[Ch]:
2941         * paragraph.C:
2942         * paragraph_funcs.[Ch]:
2943         * text2.C:
2944         * text3.C: more insetenv work
2945
2946 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
2947
2948         * ParagraphParameters.C (params2string): small bug fixed
2949
2950 2003-05-16  André Pönitz  <poenitz@gmx.net>
2951
2952         * debug.C:
2953         * bufferview_funcs.C: patch from Kornel Benko to prevent
2954           crash when _(...) is called twice in a statement
2955
2956 2003-05-16  André Pönitz  <poenitz@gmx.net>
2957
2958         * BufferView.C:
2959         * lyxfunc.C:
2960         * text.C:
2961         * text2.C:
2962         * text3.C:
2963         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
2964
2965 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
2966
2967         * lyx_main.C (init): remove spurious static_cast
2968
2969 2003-05-14  André Pönitz  <poenitz@gmx.net>
2970
2971         * BufferView.C: fix format string
2972
2973 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
2974
2975         * BufferView.[Ch] (insertErrors): removed
2976         * BufferView.[Ch] (showErrorList): added
2977         * buffer.C (runChkTeX):
2978         * converter.C (scanLog): call showErrorList instead of inserterrors
2979
2980 2003-05-13  André Pönitz  <poenitz@gmx.net>
2981
2982         * BufferView_pimpl.C:
2983         * buffer.C:
2984         * bufferview_func.C:
2985         * MenuBackend.C:
2986         * lyxfunc.C:
2987         * lyxrc.C:
2988         * tex-accent.C:
2989         * text3.C:
2990         * toc.C:
2991         * tabular_funcs.h: tostr() from its own header
2992
2993         * ParagraphParameters.C:
2994         * ToolbarBackend.C:
2995         * bufferparams.C:
2996         * format.C:
2997         * lyxlex_pimpl.C:
2998         * text3.C: STRCONV()
2999
3000 2003-05-12  André Pönitz  <poenitz@gmx.net>
3001
3002         * BufferView.C:
3003         * BufferView_pimpl.C:
3004         * CutAndPaste.C:
3005         * LaTeX.C:
3006         * LaTeXFeatures.C:
3007         * ParagraphParameters.C:
3008         * buffer.C:
3009         * bufferlist.C:
3010         * bufferparams.C:
3011         * bufferview_funcs.C:
3012         * converter.C:
3013         * counters.C:
3014         * debug.C:
3015         * exporter.C:
3016         * format.C:
3017         * importer.C:
3018         * lyx_cb.C:
3019         * lyx_main.C:
3020         * lyxfont.C:
3021         * lyxfunc.C:
3022         * lyxvc.C:
3023         * paragraph.C:
3024         * paragraph_funcs.C:
3025         * tabular.C:
3026         * tabular_funcs.C:
3027         * text2.C:
3028         * text3.C:  boost::format -> bformat  all over the place
3029
3030
3031 2003-05-09  André Pönitz  <poenitz@gmx.net>
3032
3033         * LColor.[Ch]: Pimpl the #include <map> away
3034
3035 2003-05-09  John Levon  <levon@movementarian.org>
3036
3037         * bufferlist.C: never remove emergency saves
3038
3039 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3040
3041         * Makefile.am: better lib building
3042
3043 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
3044
3045         * texrow.[Ch]: remove dependency on Paragraph and just store a id
3046         instead.
3047         * paragraph_pimpl.C (simpleTeXBlanks): adjust
3048         (simpleTeXSpecialChars): adjust
3049         (simpleTeXSpecialChars): adjust
3050         * paragraph.C (simpleTeXOnePar): adjust
3051         * buffer.C (makeLaTeXFile): adjust
3052
3053         * Makefile.am (BOOST_LIBS): allow boost as system lib.
3054
3055         * text2.C (changeDepth): parlist cleanup
3056         (getColumnNearX): ditto
3057
3058         * rowpainter.C (getLabelFont): parlist cleanup
3059
3060         * bufferlist.C (newFile): parlist cleanup
3061
3062         * CutAndPaste.C (eraseSelection): parlist cleanup
3063
3064         * BufferView_pimpl.C (trackChanges): parlist cleanup
3065         (dispatch): ditto
3066
3067         * BufferView.C (lockInset): parlist cleanup.
3068         (ChangeInsets): ditto
3069
3070 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3071
3072         * CutAndPaste.h: Update file header.
3073
3074         * CutAndPaste.C: Update file header.
3075         Store the parts cut out of the Document in a limited_stack.
3076         (copySelection): adjust
3077         (pasteSelection): new function, takes the index in the limited stack.
3078         (nrOfParagraphs): adjust
3079         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
3080         simplify error inset insertion.
3081         (checkPastePossible): adjust
3082
3083 2003-05-06  John Levon  <levon@movementarian.org>
3084
3085         * text2.C: don't cast wrap inset to float
3086
3087 2003-05-05  André Pönitz  <poenitz@gmx.net>
3088
3089         * iterator.C:
3090         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
3091
3092         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
3093           few naked Paragraph *.
3094
3095 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
3096
3097         * bufferparams.C: Output warning if a document with missing
3098         TeX document class is loaded
3099         * exporter.C: Disable TeX exports if the document class is missing
3100         * lyxtextclass.C:
3101         * lyxtextclass.h:
3102         * lyxtextclasslist.C: Handle new textclass.lst format; new method
3103         isTeXClassAvailable()
3104
3105 2003-05-03  John Levon  <levon@movementarian.org>
3106
3107         * BufferView.h:
3108         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
3109         explicit cursor show/hide
3110
3111         * BufferView_pimpl.h:
3112         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
3113         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
3114
3115         * lyxfunc.C: hide cursor before dispatching.
3116
3117         * lyx_cb.C:
3118         * lyxfind.C:
3119         * text.C:
3120         * text3.C: remove explicit cursor hides
3121
3122 2003-05-02  André Pönitz  <poenitz@gmx.net>
3123
3124         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
3125
3126         * undo_funcs.C:
3127         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
3128           linked lists
3129
3130         * text2.C: tiny whitespace
3131
3132 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3133
3134         * undo_funcs.C: almost only ws changes.
3135
3136         * ParagraphList.C (splice): just return if pl is empty.
3137
3138 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3139
3140         * ParagraphList.C (splice): new function.
3141
3142         * CutAndPaste.C (pasteSelection): use it
3143
3144 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3145
3146         * CutAndPaste.C (pasteSelection): remove the last next and
3147         previous from this file.
3148
3149 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3150
3151         * CutAndPaste.C (pasteSelection): more clean up, user proper
3152         ParagraphList functions for pasteing.
3153
3154         * ParagraphList.C (insert): new function, three arg insert
3155
3156 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3157
3158         * ParagraphList.C (insert): new function, three arg insert
3159
3160         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
3161         not on paragraphs.
3162
3163 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3164
3165         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3166
3167 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3168
3169         * CutAndPaste.C (pasteSelection): remove some unneeded code.
3170
3171 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3172
3173         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3174         (copySelection): clean up a bit.
3175         (pasteSelection): use make_pair
3176
3177         * ParagraphList.C (ParagraphList): implement copy constructor
3178         (operator=): implement, base on copy constructor.
3179         (assign): new func
3180
3181         * paragraph.C (erase): return a bool
3182
3183         * paragraph_pimpl.C (erasePos): remove function, move contents...
3184         (erase): ... here. Return a bool.
3185         (erase): call erase instead of erasePos.
3186
3187 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
3188
3189         * ParagraphList.h: define PitPosPair
3190         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3191         ParagraphList, fix a bug on pasting multiple pars
3192         * text2.C: change interface to C&P
3193
3194 2003-04-30  André Pönitz  <poenitz@gmx.net>
3195
3196         * undo_func.C: revert part of yesterday's patch 2
3197
3198 2003-04-30  John Levon  <levon@movementarian.org>
3199
3200         * LColor.C: s/tabular/table/
3201
3202 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3203
3204         * text3.C (dispatch): do not convert iterator -> pointer
3205         * undo_funcs.C (setCursorParUndo): ditto
3206         * text_funcs.C (transposeChars): ditto
3207
3208         * text2.C (setLayout): ws changes only
3209
3210         * text.C (breakParagraph): do not convert iterator -> pointer
3211         (insertChar): ditto
3212         (acceptChange): ditto
3213         (rejectChange): ditto
3214         (changeCase): ditto
3215         (Delete): ditto
3216         (backspace): ditto
3217
3218         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3219         pointer
3220
3221 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3222
3223         * text3.C (gotoInset): YABG (yet another bad getChar)
3224
3225 2003-04-29  André Pönitz  <poenitz@gmx.net>
3226
3227         * paragraph.h: make operator= private unimplemented as long as
3228           it is unusable
3229
3230         * ParagraphList.C: whitespace
3231
3232         * paragraph.[Ch]:
3233         * paragraph_pimpl.[Ch]:
3234         * paragraph_funcs.C:
3235         * CutAndPaste.C:
3236         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
3237
3238         * text2.C:
3239           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3240
3241 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3242
3243         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3244         * paragraph.[Ch] (erase):
3245         * paragraph_pimpl.[Ch] (erase): change return type and value
3246         * text2.C (cutSelection): some rework
3247
3248 2003-04-28  John Levon  <levon@movementarian.org>
3249
3250         * bufferlist.C: changes for unsaved changes dialog
3251
3252 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3253
3254         * bufferlist.C (newFile): set language (messages_) for new
3255         documents also.
3256
3257         * buffer.C (readFile): ws changes only.
3258
3259 2003-04-28  André Pönitz  <poenitz@gmx.net>
3260
3261         * undo_funcs.C:
3262         * lyxfunc.C:
3263         * buffer.[Ch]:
3264         * BufferView_pimpl.C:
3265         * BufferView.C: getParFromID related ParagraphList::iterator changes
3266
3267 2003-04-28  André Pönitz  <poenitz@gmx.net>
3268
3269         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3270           Changes
3271
3272 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3273
3274         * messages.C: remove one more localedir class variable.
3275
3276 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3277
3278         * messages.C (getLocaleDir): singleton generation function
3279         (Pimpl): use it.
3280         (Messages): add a default constructor.
3281
3282         * main.C (main): do not setup localedir here, do not call
3283         gettext_init.
3284
3285         * gettext.C (_): use it.
3286         (gettext_init): delete funciton
3287
3288 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3289
3290         * gettext.C (getLyXMessages): new singleton generating function.
3291
3292         * buffer.C (updateDocLang): adjust
3293
3294         * Makefile.am (messages.o): add target
3295         (main.o): remove target
3296
3297 2003-04-27  John Levon  <levon@movementarian.org>
3298
3299         * bufferlist.C:
3300         * lyx_cb.C:
3301         * lyxfunc.C:
3302         * lyxvc.C: specify cancel button in Alert::prompt
3303
3304 2003-04-26  John Levon  <levon@movementarian.org>
3305
3306         * text3.C:
3307         * lyxfunc.C:
3308         * lfuns.h:
3309         * LyXAction.C: add LFUN_INSET_SETTINGS
3310
3311         * lyxfunc.C: don't enable tabular-feature when there's
3312         just any locking inset
3313
3314 2003-04-26  John Levon  <levon@movementarian.org>
3315
3316         * bufferlist.C: re-add Cancel to buffer close question
3317
3318         * lyxfunc.C: fix import UI a bit
3319
3320 2003-04-25  John Levon  <levon@movementarian.org>
3321
3322         * gettext.C: remove the broken asserts for now
3323
3324 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3325
3326         * messages.C: make case where setlocale cannot comply work better.
3327
3328         * buffer.C (updateDocLang): new function
3329         (changeLanguage): use it
3330         (readFile): use it
3331
3332         * text2.C (setCounter): use B_ a bit.
3333
3334         * lyxlayout.C (Read): be sure to trim the label strings.
3335
3336         * messages.C (Messages): fix typo in comment
3337
3338         * buffer.C (readFile): set message_ after file is loaded.
3339         (makeDocBookFile): remove double return
3340         (changeLanguage): reset message_ upon language change.
3341         (B_): new func, use this to get translated buffer strings.
3342
3343         * main.C: add myself and Jean Marc as authors.
3344
3345 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3346
3347         * messages.[hC]: pimplify Messages, and three different pimpls to be
3348         used in different circumstances.
3349
3350         * gettext.[Ch]: change for use with new message code.
3351
3352 2003-04-24 André Pönitz <poenitz@gmx.net>
3353
3354         * factory.C: support for eqref
3355
3356 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3357
3358         * messages.[Ch]: add missing char
3359
3360         * Makefile.am (lyx_SOURCES): add messages.[Ch]
3361
3362         * messages.[Ch]: New files
3363
3364 2003-04-18  John Levon  <levon@movementarian.org>
3365
3366         * BufferView.h:
3367         * BufferView.C:
3368         * BufferView_pimpl.C:
3369         * lfuns.h:
3370         * LyXAction.C:
3371         * lyxtext.h:
3372         * text2.C: remove layout-copy/paste (bug 778)
3373
3374 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3375
3376         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
3377
3378 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3379
3380         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
3381         if they succeed. Act accordingly.
3382
3383 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3384
3385         * text2.C (setCharFont): adjust
3386         (setCounter): adjust
3387         (insertStringAsLines): adjust
3388
3389         * text.C (leftMargin): adjust
3390         (setHeightOfRow): adjust
3391
3392         * rowpainter.C (paintFirst): adjust
3393         (paintLast): adjust
3394
3395         * paragraph_funcs.C (depthHook): ParagraphList::iterators
3396         (outerHook): ditto
3397         (isFirstInSequence): ditto
3398         (getEndLabel): ditto
3399         (outerFont): adjust
3400
3401         * paragraph.C (getParLanguage): comment out some hard stuff.
3402
3403         * buffer.C (insertStringAsLines): take a ParagraphList as arg
3404         (sgmlError): ditto
3405         (simpleDocBookOnePar): ditto
3406         (makeDocBookFile): use ParagraphList::iterator
3407
3408         * CutAndPaste.C (pasteSelection): adjust
3409
3410 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3411
3412         * text2.C (getFont): adjust
3413         (getLayoutFont): adjust
3414         (getLabelFont): adjust
3415
3416         * paragraph_funcs.C (TeXOnePar): adjust
3417
3418         * buffer.C (simpleLinuxDocOnePar): adjust
3419         (simpleDocBookOnePar): adjust
3420
3421         * CutAndPaste.C (pasteSelection): adjust
3422
3423         * BufferView.C (getEncoding): adjust
3424
3425         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
3426
3427 2003-04-16  John Levon  <levon@movementarian.org>
3428
3429         * lyxfind.C: use parlist stuff for search/changes
3430
3431 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3432
3433         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
3434
3435         * text2.C (deleteEmptyParagraphMechanism): adjust
3436
3437         * text2.[Ch] (ownerParagraph): delete func (both of them
3438
3439 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3440
3441         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
3442
3443 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3444
3445         * ParagraphList.C: prepare for NO_NEXT
3446
3447 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3448
3449         * text2.C (getFont): adjust
3450         (getLayoutFont): adjust
3451         (getLabelFont): adjust
3452
3453         * paragraph.C (getFont): adjust
3454         (getLabelFont): adjust
3455         (getLayoutFont): adjust
3456
3457         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
3458
3459 2003-04-15  John Levon  <levon@movementarian.org>
3460
3461         From Angus Leeming
3462
3463         * lyx_main.C: handle Include in .ui files
3464
3465 2003-04-15  John Levon  <levon@movementarian.org>
3466
3467         * MenuBackend.C: make the doc files length shorter
3468
3469         * ToolbarBackend.h:
3470         * ToolbarBackend.C: handle toolbar placement flags,
3471         Minibuffer
3472
3473 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3474
3475         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
3476         adjust
3477
3478         * paragraph_funcs.C (TeXOnePar): adjust
3479
3480         * paragraph.C (getLabelFont): add outerfont arg, adjust
3481         (getLayoutFont): ditto
3482         (simpleTeXOnePar): adjust
3483
3484         * paragraph_pimpl.C (realizeFont): delete func
3485
3486 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
3487
3488         * text2.C (beforeFullRowInset): added a bad getchar check, removed
3489         row argument, constify cur argument.
3490
3491 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3492
3493         * text2.C (getFont): adjust
3494         (getLayoutFont): adjust
3495         (getLabelFont): adjust
3496
3497         * paragraph_funcs.C (TeXOnePar): adjust
3498         (outerFont): new func...
3499         (realizeFont): ...moved out from here, changed this to facilitate
3500         transition
3501
3502         * paragraph.C (getFont): take outerfont as arg, adjust
3503         (simpleTeXOnePar): add outerfont arg, adjust
3504
3505         * buffer.C (simpleLinuxDocOnePar): adjust
3506         (simpleDocBookOnePar): adjust
3507
3508         * CutAndPaste.C (pasteSelection): adjust
3509
3510         * BufferView.C (getEncoding): adjust
3511
3512 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3513
3514         * text2.C (setCharFont): adjust
3515         (setCounter): adjust
3516
3517         * text.C (leftMargin): adjust
3518         (setHeightOfRow): adjust
3519
3520         * rowpainter.C (paintFirst): adjust
3521         (paintLast): adjust
3522
3523         * paragraph_pimpl.C (realizeFont): adjust
3524
3525         * paragraph.C (isFirstInSequence): move from here...
3526         * paragraph_funcs.C (isFirstInSequence): ...to here
3527
3528         * paragraph.C (outerHook): move from here...
3529         * paragraph_funcs.C (outerHook): ...to here
3530
3531         * paragraph.C (depthHook): move from here...
3532         * paragraph_funcs.C (depthHook): ...to here
3533
3534         * paragraph.C (getEndLabel): move from here...
3535         * paragraph_funcs.C (getEndLabel): ...to here
3536
3537         * text2.C (realizeFont): move from here...
3538         * paragraph_funcs.C (realizeFont): ...to here
3539
3540 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3541
3542         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
3543
3544 2003-04-14  Angus Leeming  <leeming@lyx.org>
3545
3546         * LColor.[Ch]: scrap LColor mathcursor.
3547
3548 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3549
3550         * lyxlex.[Ch] (text): delete function
3551         * trans.C (Load): adjust
3552         * paragraph_funcs.C (readParToken): adjust
3553
3554 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3555
3556         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
3557         vector<char> instead of a char[].
3558
3559         * lyxlex_pimpl.C (getString): adjust
3560         (next): adjust
3561         (lex): use getString
3562         (eatLine): adjust
3563         (nextToken): adjust
3564
3565         * lyxlex.C (text): use pimpl_->getString()
3566         (getBool): ditto
3567         (findToken): ditto
3568
3569 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3570
3571         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
3572         (makeFontEntriesLayoutSpecific): temp var for par.size()
3573         (setLayout): temp var for ownerParagraphs().end()
3574         (fullRebreak): temp var for rows().end()
3575         (selectionAsString): temp var for boost::next(startpit), realize
3576         that the while really is a regular for loop.
3577         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
3578         setCursor in one place.
3579         (setParagraph): temp vr for ownerParagraphs().end()
3580         (updateCounters): make the while loop a for loop
3581         (cutSelection): temp var for ownerParagraphs().end()
3582         (updateInset): make the do {} while() a regular for loop
3583         (getCursorX): use temp vars
3584         (setCurrentFont): use temp vars
3585         (getColumnNearX): use temp vars
3586
3587 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3588
3589         * text.C (transformChar): use temp var for getChar
3590         (computeBidiTables): use temp var for row->par()
3591         (fill): move temp vars for row->par() and pit->layout() earlier in
3592         the function.
3593         (labelFill): use temp var for row->par()
3594         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
3595         asc and desc, realize that pit never changes and that firstpit is
3596         just a duplicate and not needed. Exchange rit->par() with pit in a
3597         lot of places.
3598         (breakAgain): use a temp var for boost::next(rit)
3599         (breakAgainOneRow): ditto
3600         (breakParagraph): use a temp var for rows().begin()
3601         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
3602         (cursorRightOneWord): use temp var for cursor.par() and
3603         cursor.pos(), remove usage of tmpcursor.
3604         (cursorLeftOneWord): use temp var for cursor.par() and
3605         cursor.pos() only set cur at end of function.
3606
3607 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3608
3609         * text.C, text2.C: exchange all usage of Paragraph::next with
3610         boost::next(ParagraphList::iterator)
3611
3612         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
3613
3614         * text2.C (cursorTop): simplify implementation
3615         (cursorBottom): ditto
3616         (setParagraph): use ParagraphList::iterator
3617         (setCurrentFont): adjust
3618         (getColumnNearX): adjust
3619         (cursorRight): adjust
3620         (cursorLeft): remove usage of Paragraph::previous
3621         (cursorUpParagraph): ditto
3622         (deleteEmptyParagraphMechanism): slight cleanup
3623
3624         * text.C (isBoundary): take a Paragraph const & instead of a
3625         pointer as arg.
3626         (addressBreakPoint): ditto
3627         (leftMargin): remove usage of Paragraph::previous.
3628         (setHeightOfRow): ditto
3629         (cursorLeftOneWord): ditto
3630         (selectNextWordToSpellcheck): ditto
3631         (Delete): ditto
3632         (backspace): ditto
3633         (breakParagraph): remove one usage of Paragraph::next
3634         (redoParagraph): ditto
3635         (acceptChange): ditto
3636         (insertChar): adjust
3637         (rowBreakPoint): adjust
3638
3639         * bufferview_funcs.C (toggleAndShow): adjust
3640
3641 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
3642
3643         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
3644         methods to access it.
3645         * lyxtext.h:
3646         * text.C: Added updateRowPositions to compute all row positions.
3647         Make top_y and getRowNearY() to use the cached y position
3648
3649 2003-04-11  John Levon  <levon@movementarian.org>
3650
3651         * text.C (rowBreakPoint): reintroduce the labelEnd
3652         checks, code copied from the row fill stuff. Deep voodoo.
3653
3654         * text.C (fill): add a comment and debugging for the
3655         next poor soul.
3656
3657 2003-04-11  John Levon  <levon@movementarian.org>
3658
3659         * text.C: make sure fullrow insets get wrapped to the next line,
3660         even when they're in a manual label
3661
3662 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
3663
3664         * text2.C (insertParagraph): make it take ParagraphList::iterator
3665         as arg.
3666         (setLayout): make it return ParagraphList::iterator
3667         (redoParagraphs): ditto
3668         (setCounter): ditto
3669         (checkParagraph): ditto
3670
3671         * text.C (getRow): make getrow take ParagraphList::iterator as arg
3672
3673         * text2.C: adjust several funcs.
3674         (realizeFont): take a ParagraphList::iterator as arg.
3675         (getLayoutFont): ditto
3676         (getLabelFont): ditto
3677         (setCharFont): ditto
3678
3679         * text.C: adjust several funcs.
3680
3681 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
3682
3683         * text.C (selectNextWordToSpellcheck): don't accidentally
3684         skip insets
3685
3686 2003-04-10  John Levon  <levon@movementarian.org>
3687
3688         * ToolbarBackend.C (getIcon): special handling for
3689         LFUN_MATH_DELIM
3690
3691 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
3692
3693         * text2.C (cursorRight): a getChar assert fixed
3694
3695 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3696
3697         * text2.C (getFont): change to take a ParagraphList::iterator
3698         instead of Paragraph*
3699         Adjust several functions.
3700
3701         * text.C (transformChar): change to take a ParagraphList::iterator
3702         instead of Paragraph*
3703         (singleWidth): ditto
3704         Adjust several functions.
3705
3706         * rowpainter.C: adjust several functions
3707         * rowpainter.h:store a ParagraphList::iterator and not a
3708         Paragraph&.
3709
3710
3711 2003-04-09  John Levon  <levon@movementarian.org>
3712
3713         * lyxfunc.C:
3714         * lfuns.h:
3715         * LyXAction.h:
3716         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
3717         and the "help" bits as well
3718
3719 2003-04-09  John Levon  <levon@movementarian.org>
3720
3721         * ToolbarBackend.h:
3722         * ToolbarBackend.C: allow multiple toolbars
3723
3724 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3725
3726         * undo_funcs.C (setCursorParUndo): adjust
3727
3728         * text_funcs.C (transposeChars): adjust
3729
3730         * text3.C (gotoNextInset): adjust
3731         (dispatch): adjust
3732
3733         * text2.C (setLayout): adjust
3734         (changeDepth): adjust
3735         (setFont): adjust
3736         (redoParagraphs): adjust
3737         (selectionAsString): adjust
3738         (setParagraph): adjust
3739         (insertInset): adjust
3740         (cutSelection): adjust
3741         (copySelection): adjust
3742         (pasteSelection): adjust
3743         (insertStringAsLines): adjust
3744         (updateInset): adjust
3745         (setCursor): change to take a ParagraphList::iterator parameter
3746         (setCursorIntern): change to take a ParagraphList::iterator parameter
3747         (setCurrentFont): adjust
3748         (cursorLeft): adjust
3749         (cursorRight): adjust
3750         (deleteEmptyParagraphMechanism): adjust
3751
3752         * text.C (breakParagraph): adjust
3753         (insertChar): adjust
3754         (acceptChange): adjust
3755         (rejectChange): adjust
3756         (selectNextWordToSpellcheck): adjust
3757         (changeCase): adjust
3758         (Delete): adjust
3759         (backspace): adjust
3760
3761         * lyxfind.C (SearchForward): adjust
3762         (SearchBackward): adjust
3763         (nextChange): adjust
3764
3765         * lyxcursor.C (par): adjust
3766
3767         * lyxcursor.h: store a ParagraphList::iterator instead of a
3768         Paragraph*
3769
3770         * lyx_cb.C (getPossibleLabel): adjust
3771
3772         * bufferview_funcs.C (toggleAndShow): adjust
3773
3774         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3775         (dispatch): adjust
3776
3777         * BufferView.C (removeAutoInsets): adjust
3778         (lockedInsetStoreUndo): adjust
3779
3780 2003-04-09  John Levon  <levon@movementarian.org>
3781
3782         * ToolbarBackend.C: try icon without argument
3783         if with argument fails
3784
3785 2003-04-08  John Levon  <levon@movementarian.org>
3786
3787         * ToolbarBackend.h:
3788         * ToolbarBackend.C: add getIcon(), handle tooltip,
3789         and change from "Icon" to "Item".
3790
3791 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
3792
3793         * BufferView.C (lockInset): another bad getchar crunched
3794
3795 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
3796
3797         * text2.C (changeDepth): do not setUndo on test_only (make undo work
3798         again)
3799
3800 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
3801
3802         * lyxfind.C (searchForward, searchBackwards): bug 782
3803
3804 2003-04-07  John Levon  <levon@movementarian.org>
3805
3806         * paragraph.C: remove dead comment
3807
3808         * text.C: remove troublesome depth-fiddling code
3809         in leftMargin() and rightMargin() (bug 1017)
3810
3811         * text.C: fix breaking of rows in nested lists
3812         (bug 1004)
3813
3814         * text2.C (updateCounters): fix up depth values
3815         (bug 1013)
3816
3817 2003-04-07  John Levon  <levon@movementarian.org>
3818
3819         * BufferView_pimpl.C: clear message when doc finishes resizing,
3820         and after a mouse event
3821
3822         * lyxfunc.C: clear message after exiting inset
3823
3824 2003-04-07  John Levon  <levon@movementarian.org>
3825
3826         * bufferview_funcs.C: show math status not outside
3827         status in the statusbar
3828
3829 2003-04-07  John Levon  <levon@movementarian.org>
3830
3831         * lyxfunc.C: note status changed after a depth change
3832
3833 2003-04-04  Angus Leeming  <leeming@lyx.org>
3834
3835         * LaTeX.h: move AuxInfo operator==, != out of line.
3836         Remove LaTeX virtual destructor; nothing derives from it.
3837         Move operator()() out of public area and rename it startscript().
3838         Change protected for private.
3839
3840 2003-04-04  Angus Leeming  <leeming@lyx.org>
3841
3842         * lyxfunc.C:
3843         * text2.C: remove unneeded #includes.
3844
3845 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
3846
3847         * text2.C (dEPM): fix the heigth of the next row
3848
3849 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
3850
3851         * text.C: squashed an invalid getChar requester + some ws changes
3852
3853 2003-04-03  John Levon  <levon@movementarian.org>
3854
3855         * bufferview_funcs.h:
3856         * bufferview_funcs.C:
3857         * lyxfunc.C:
3858         * lyxtext.h:
3859         * text2.C: make getStatus work for the env depth lfuns
3860
3861 2003-04-03  John Levon  <levon@movementarian.org>
3862
3863         * bufferview_funcs.h:
3864         * bufferview_funcs.C:
3865         * lyxfunc.C:
3866         * lyxtext.h:
3867         * text2.C: parlistize decDepth(), by merging it with incDepth()
3868
3869 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3870
3871         * lyxrow.h: store a ParagraphList::iterator instead of a
3872         Paragraph* and adjust other class functions to suit.
3873
3874         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
3875         above.
3876
3877 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
3878
3879         * text2.C (setCursor): do not anchor to cursor row for the time being
3880
3881 2003-04-02  John Levon  <levon@movementarian.org>
3882
3883         * LyXAction.C:
3884         * lfuns.h:
3885         * lyx_main.C:
3886         * lyxtext.h:
3887         * text.C:
3888         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
3889
3890 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3891
3892         * paragraph.h: make ParagraphList and ParagraphList::iterator
3893         friends of Paragraph.
3894
3895         * buffer.C (makeLinuxDocFile): move towards ParagraphList
3896
3897         * ParagraphList.C: Use the private next_ and previous_ from
3898         Paragraph.
3899
3900 2003-04-01  John Levon  <levon@movementarian.org>
3901
3902         * ToolbarBackend.h:
3903         * ToolbarBackend.C:
3904         * Makefile.am: rename, remove defaults gunk
3905
3906         * MenuBackend.h:
3907         * MenuBackend.C: remove defaults gunk
3908
3909         * Languages.h:
3910         * Languages.C: remove defaults gunk
3911
3912         * lyx_main.h:
3913         * lyx_main.C: error out if files couldn't be found.
3914
3915 2003-04-02  John Levon  <levon@movementarian.org>
3916
3917         * text2.C: make incDepth() use parlist
3918
3919 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3920
3921         * undo_funcs.C (firstUndoParagraph): adjust
3922
3923         * text3.C (gotoInset): adjust
3924         (dispatch): adjust, and rewrite loop.
3925
3926         * text2.C (init): adjust, and rewrite loop.
3927         (redoParagraphs): adjust
3928         (updateInset): adjust, and rewrite loop.
3929         (deleteEmptyParagraphMechanism): adjust
3930
3931         * tabular.C (LyXTabular): adjust
3932         (SetMultiColumn): adjust
3933         (TeXRow): adjust
3934
3935         * lyxtext.[Ch] (ownerParagraph): delete function
3936         (ownerParagraphs): new function returns a ParagraphList.
3937
3938         * BufferView.C (removeAutoInsets): adjust
3939         (insertErrors): adjust
3940         (setCursorFromRow): adjust
3941
3942 2003-04-01  Angus Leeming  <leeming@lyx.org>
3943
3944         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
3945         in the frontends.
3946
3947 2003-04-02  John Levon  <levon@movementarian.org>
3948
3949         * lyxtext.h:
3950         * text.C:
3951         * Makefile.am:
3952         * text_funcs.h:
3953         * text_funcs.C: make transposeChars a free function
3954
3955         * lyxrow_funcs.C: remove wrong comment
3956
3957 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3958
3959         * lyxtext.h: adjust
3960         * rowpainter.C: adjust
3961         * text.C: adjust
3962         * text2.C: adjust
3963         * text3.C: adjust
3964
3965         * lyxrow_funcs. [Ch]: new files
3966
3967         * lyxrow.[Ch]: remove next and previous pointers
3968         (next,previous): remove accessor functions
3969         (isParEnd): move to lyxrow_funcs
3970         (lastPos): move to lyxrow_funcs
3971         (nextRowIsAllInset): move to lyxrow_funcs
3972         (lastPrintablePos): move to lyxrow_funcs
3973         (numberOfSeparators): move to lyxrow_funcs
3974         (numberOfHfills): move to lyxrow_funcs
3975         (numberOfLabelHfills): move to lyxrow_funcs
3976         (hfillExpansion): move to lyxrow_funcs
3977
3978         * lyxfunc.C: adjust
3979
3980         * bufferview_funcs.C (toggleAndShow): adjust
3981
3982         * RowList.h: Remove class RowList from file leave just a
3983         std::list<Row>.
3984
3985         * RowList.C: delete file
3986
3987         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
3988         and lyxrow_funcs.h
3989
3990 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3991
3992         * text3.C (cursorPrevious): adjust
3993         (cursorNext): adjust
3994         (dispatch): adjust
3995
3996         * text2.C (redoHeightOfParagraph): adjust
3997         (redoDrawingOfParagraph): adjust
3998         (setCursor): adjust
3999
4000         * text.C (breakParagraph): adjust
4001         (insertChar): adjust
4002         (backspace): adjust
4003
4004         * rowpainter.C (RowPainter): adjust
4005         (leftMargin): simplify and adjust
4006         (most rowpainter functions): adjust.
4007
4008         * rowpainter.h: store the row as RowList::iterator not as Row*
4009
4010         * lyxcursor.C (row): taka RowList::iterator as arg
4011         (irow): ditto
4012
4013         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4014         of Row*.
4015
4016 2003-04-01  Angus Leeming  <leeming@lyx.org>
4017
4018         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4019         stuff like bool Bool.
4020
4021 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4022
4023         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4024         rewrite a loop
4025
4026 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4027
4028         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4029         RowList::iterator.
4030
4031         * lyxtext.h (rows): drop one version and leve a const variant that
4032         returns a RowList::iterator.
4033
4034 2003-03-31  Angus Leeming  <leeming@lyx.org>
4035
4036         * text.C (fill): ensure that the signature is the same as that in the
4037         header file.
4038
4039 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
4040
4041         * text2.C (redoParagraphs): adjust
4042         (updateCounters): adjust
4043         (checkParagraph): adjust
4044         (getColumnNearX): adjust and reformat a bit.
4045
4046         * text.C (top_y): adjust
4047         (workWidth): adjust
4048         (leftMargin): adjust
4049         (prepareToPrint): adjust
4050         (getRow): adjust
4051         (getRowNearY): adjust
4052
4053         * lyxtext.h: make rowlist_ mutable.
4054
4055         * RowList.h: add const_iterator
4056         * RowList.C: adjust for RowList::const_iterator.
4057
4058         * text2.C (getCursorX): make it take a RowList::iterator as arg,
4059         adjust.
4060
4061 2003-03-31  John Levon  <levon@movementarian.org>
4062
4063         * lyxrc.h:
4064         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
4065
4066         * lyx_main.C: set default fonts from using lyx_gui funcs
4067
4068         * exporter.C: pdf_mode moved from lyxrc
4069
4070         * lyx_cb.C:
4071         * lyxfunc.C: changes from above
4072
4073 2003-03-31  John Levon  <levon@movementarian.org>
4074
4075         * lyx_main.C: fix to the last fix
4076
4077 2003-03-31  John Levon  <levon@movementarian.org>
4078
4079         * bufferlist.C: "Load original" -> "Load Original"
4080
4081         * converter.C:
4082         * exporter.C:
4083         * importer.C:
4084         * lyx_main.C:
4085         * format.C: more Alert cleanups
4086
4087 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4088
4089         * text2.C (removeParagraph): make it take a RowList::iterator as
4090         arg, adjust.
4091         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
4092         (postRowPaint): make it take a RowList::iterator as arg, adjust.
4093
4094         * text.C (anchor_row): make it take a RowList::iterator as arg,
4095         adjust.
4096         (computeBidiTables): make it take a const reference to Row instead
4097         of Row pointer, adjust.
4098         (leftMargin): make it take a RowList::iterator as arg, adjust.
4099         (rowBreakPoint): adjust
4100         (breakAgainOneRow): make it take a RowList::iterator as arg,
4101         adjust.
4102         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
4103
4104         * bufferview_funcs.C (toggleAndShow): adjust
4105
4106 2003-03-30  John Levon  <levon@movementarian.org>
4107
4108         * Makefile.am:
4109         * BoostFormat.h:
4110         * boost-inst.C: moved to support
4111
4112         * several files: changes as a result
4113
4114 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4115
4116         * text2.C (LyXText): adjust.
4117         (init): adjust
4118         (removeRow): make it take a RowList::iterator as arg, adjust.
4119         (fullRebreak): adjust
4120         (deleteEmptyParagraphMechanism): adjust
4121         (clearPaint): adjust
4122         (postPaint): adjust
4123
4124         * text.C (top_y): adjust
4125         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
4126         (breakAgain): make it take a RowList::iterator as arg, adjust.
4127         (breakParagraph): adjust
4128         (insertChar): adjust
4129         (backspace): adjust
4130
4131         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
4132         need_break_row, and refresh_row.
4133
4134         * text3.C (dispatch): adjust
4135
4136         * text2.C (checkParagraph): adjust
4137         (setCursor): adjust
4138         (setCursorFromCoordinates): adjust
4139
4140         * text.C (top_y): adjust
4141         (workWidth): adjust
4142         (getRow): make it return a RowList::iterator, adjust
4143         (getRowNearY): make it return a RowList::iterator, adjust
4144
4145         * text2.C (init): adjust
4146         (insertRow): remove function
4147         (insertParagraph): adjust
4148         (redoParagraphs): adjust
4149         (fullRebreak): adjust
4150         (updateCounters): adjust
4151
4152         * text.C (top_y): rewrite to use RowList iterators.
4153         (top_y): adjust
4154         (setHeightOfRow): rewrite to sue RowList iterators.
4155         (appendParagraph): adjust
4156         (breakAgain): adjust
4157         (breakAgainOneRow): adjust
4158         (breakParagraph): adjust
4159         (getRow): adjust
4160         (getRowNearY): adjust, and remove commented code.
4161
4162         * lyxtext.h (firstRow): delete function
4163         (lastRow): delete function
4164         (rows): new function (const and non-const versions.)
4165         (insertRow): delete function
4166
4167         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4168
4169 2003-03-29  John Levon  <levon@movementarian.org>
4170
4171         * BufferView_pimpl.C: always update scrollbar top
4172         because pasting text when we're anchored could mean we
4173         miss an update altogether
4174
4175 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4176
4177         * text2.C (init): use rowlist_.end() and not 0.
4178         (insertRow): change to take a RowList::iterator as arg, adjust
4179         for this.
4180         (insertParagraph): change to take a RowList::iterator as arg,
4181         adjust for this.
4182         (redoParagraphs): remove some debug msgs.
4183
4184         * text.C (appendParagraph): change to take a RowList::iterator
4185         arg, adjust for this.
4186         (breakAgain): add an assert
4187         (breakAgainOneRow): ditto
4188
4189 2003-03-29  John Levon  <levon@movementarian.org>
4190
4191         * text2.C: do not clear selection after inc/decDepth
4192         (bug 550)
4193
4194 2003-03-29  John Levon  <levon@movementarian.org>
4195
4196         * BufferView.C:
4197         * buffer.C: fix broken strerrors according to Lars
4198
4199 2003-03-29  John Levon  <levon@movementarian.org>
4200
4201         * converters.C: more Alert cleanups
4202
4203 2003-03-29  John Levon  <levon@movementarian.org>
4204
4205         * bufferview_funcs.C: remove pointless Alert
4206
4207         * buffer.C: fix confusing error message when
4208         a template is chmoded 000
4209
4210 2003-03-29  John Levon  <levon@movementarian.org>
4211
4212         * BufferView.C:
4213         * BufferView.h:
4214         * BufferView_pimpl.C: Alert fixes
4215
4216         * Makefile.am:
4217         * tabular.C:
4218         * tabular-old.C: remove unused table compat reading
4219
4220 2003-03-29  John Levon  <levon@movementarian.org>
4221
4222         * BufferView.C:
4223         * buffer.C:
4224         * lyx_cb.h:
4225         * lyx_cb.C: more Alert cleanups
4226
4227         * lyxfunc.C: don't allow chktex if not latex document
4228
4229 2003-03-29  John Levon  <levon@movementarian.org>
4230
4231         * lyx_cb.C:
4232         * BufferView.C:
4233         * buffer.C: warnings pushed down from support/,
4234         kill err_alert
4235
4236 2003-03-29  John Levon  <levon@movementarian.org>
4237
4238         * lyxfunc.C: safety check for C-r (revert)
4239
4240 2003-03-29  John Levon  <levon@movementarian.org>
4241
4242         * bufferlist.h:
4243         * bufferlist.C: several UI fixes using Alert::prompt.
4244         Fix the pointless looping quit code. Fix stupid revert
4245         behaviour (bug 938)
4246
4247         * lyxvc.h:
4248         * lyxvc.C:
4249         * lyx_cb.C: use Alert::prompt
4250
4251         * lyx_main.C: remove a silly question
4252
4253         * lyxfunc.C: remove a couple of silly questions,
4254         use Alert::prompt
4255
4256 2003-03-28  John Levon  <levon@movementarian.org>
4257
4258         * text2.C: fix bug 974 (End on empty par)
4259
4260 2003-03-28  John Levon  <levon@movementarian.org>
4261
4262         * BufferView_pimpl.C:
4263         * LyXAction.C:
4264         * lfuns.h: remove do-nothing math greek lfuns
4265
4266 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4267
4268         * lyxgluelength.h (isValidGlueLength): add default arg on
4269         parameter 2. Remove default arg from friend in class.
4270
4271         * lyxlength.h (isValidLength): add default arg on parameter 2.
4272         Remove default arg from friend in class.
4273
4274         * text2.C (LyXText): adjust, initialize refresh_row.
4275         (init): adjust
4276         (removeRow): adjust
4277         (insertRow): adjust
4278         (insertParagraph): adjst
4279         (redoParagraphs): adjust
4280         (fullRebreak): adjust
4281         (updateCounters): adjust
4282         (deleteEmptyParagraphMechanism): first attempt at fixing a
4283         crashing bug.
4284
4285         * text.C (top_y): adjust
4286         (setHeightOfRow): adjust
4287         (getRow): adjust
4288         (getRowNearY): adjust
4289
4290         * lyxtext.h: include RowList.h
4291         (~LyXText): not needed anymore, deleted.
4292         (firstRow): modify for RowList
4293         (lastRow): new function
4294         Delete firstrow and lastrow class variables, add a Rowlist
4295         rowlist_ class variable.
4296
4297         * lyxrow.C (lastPos): use empty() and not !size() to check if a
4298         paragraph is empty.
4299
4300         * RowList.C (insert): fix case where it == begin().
4301
4302 2003-03-26  Angus Leeming  <leeming@lyx.org>
4303
4304         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4305         the thesaurus dialog.
4306
4307 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4308
4309         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4310
4311         * RowList.[Ch]: new files
4312
4313         * ParagraphList.C (erase): handle the case where it == begin
4314         correctly.
4315
4316 2003-03-25  John Levon  <levon@movementarian.org>
4317
4318         * Makefile.am:
4319         * aspell_local.h:
4320         * aspell.C: add new aspell support
4321
4322         * lyxrc.h:
4323         * lyxrc.C: Make use_pspell be use_spell_lib. Always
4324         have it accessible.
4325
4326 2003-03-25  Angus Leeming  <leeming@lyx.org>
4327
4328         * lfuns.h:
4329         * LyXAction.C (init): new LFUN_INSET_INSERT.
4330
4331         * BufferView_pimpl.C (dispatch): split out part of the
4332         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
4333
4334         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
4335         LFUN_INSET_APPLY.
4336
4337 2003-03-25  Angus Leeming  <leeming@lyx.org>
4338
4339         * lyxfunc.C (dispatch): changes to the Dialogs interface.
4340
4341 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
4342
4343         * text2.C:
4344         * text3.C: remove useless row->height(0)
4345
4346 2003-03-25  John Levon  <levon@movementarian.org>
4347
4348         * lyxtext.h:
4349         * text2.C:
4350         * text3.C: rename the refreshing stuff to better names
4351
4352 2003-03-24  John Levon  <levon@movementarian.org>
4353
4354         * BufferView_pimpl.h:
4355         * BufferView_pimpl.C: update layout choice on a mouse
4356         press/release
4357
4358 2003-03-23  John Levon  <levon@movementarian.org>
4359
4360         * Makefile.am: fix commandtags.h reference
4361
4362 2003-03-22  John Levon  <levon@movementarian.org>
4363
4364         * BufferView_pimpl.C:
4365         * lyxtext.h:
4366         * rowpainter.C:
4367         * rowpainter.h:
4368         * text.C:
4369         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
4370
4371 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
4372
4373         * lyxtext.h:
4374         * text.C: take the rtl methods out of line
4375
4376 2003-03-21 André Pönitz <poenitz@gmx.net>
4377
4378         * metricsinfo.[Ch]: new files containing structures to be passed around
4379         during the two-phase-drawing...
4380
4381 2003-03-21 André Pönitz <poenitz@gmx.net>
4382
4383         * lyxtextclass.C: read 'environment' tag.
4384
4385 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
4386
4387         * text2.C (removeRow): fix bug 964
4388
4389 2003-03-20  John Levon  <levon@movementarian.org>
4390
4391         * rowpainter.C:
4392         * text.C:
4393         * text2.C: paint cleanups. Inset::update() dropped font
4394         parameter
4395
4396 2003-03-19  John Levon  <levon@movementarian.org>
4397
4398         * lyxfunc.C: only fitcursor/markDirty if available()
4399
4400 2003-03-19  John Levon  <levon@movementarian.org>
4401
4402         * commandtags.h: rename to ...
4403
4404         * lfuns.h: ... this, and renumber / cleanup
4405
4406 2003-03-19  John Levon  <levon@movementarian.org>
4407
4408         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
4409         fit the cursor after an lfun
4410
4411         * BufferView.h:
4412         * BufferView.C:
4413         * BufferView_pimpl.h:
4414         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
4415
4416         * LyXAction.C: layout-character should have ReadOnly
4417
4418         * ParagraphParameters.C:
4419         * buffer.C:
4420         * bufferview_funcs.C:
4421         * lyx_cb.C:
4422         * lyxfind.C:
4423         * lyxtext.h:
4424         * text.C:
4425         * text2.C:
4426         * text3.C:
4427         * undo_funcs.C: changes from above
4428
4429 2003-03-18  John Levon  <levon@movementarian.org>
4430
4431         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
4432         remove it from update()
4433
4434         * lyxfunc.C: update layout choice after an lfun
4435
4436         * text3.C: remove extra updateLayoutChoice()s
4437
4438 2003-03-18  John Levon  <levon@movementarian.org>
4439
4440         * text.C: top_y change means full repaint, fix
4441         a drawing bug with cursor movement
4442
4443 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4444
4445         * lyxtext.h:
4446         * text.C:
4447         * text2.C: anchor row on setCursor
4448
4449 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4450
4451         * lyxtext.h: remove almost all mutable keywords
4452         * text.C:
4453         * text2.C:
4454         * text3.C: remove const keywords accordingly
4455
4456 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4457
4458         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
4459         anon namespace
4460         (TeXEnvironment): ditto
4461         (TeXOnePar): ditto
4462
4463 2003-03-17  John Levon  <levon@movementarian.org>
4464
4465         * text.C (rowBreakPoint): remove attempt to fix displayed
4466         math insets inside a manual label
4467
4468 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4469
4470         * lyxtext.h: remove BufferView* as first arg from almost all class
4471         functions.
4472         * other files: adjust.
4473
4474 2003-03-17  John Levon  <levon@movementarian.org>
4475
4476         * lyxtext.h:
4477         * undo_funcs.C:
4478         * text2.C: more paint cleanups
4479
4480         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
4481
4482         * rowpainter.h:
4483         * rowpainter.C: remove "smart" background painting code
4484
4485 2003-03-16  John Levon  <levon@movementarian.org>
4486
4487         * lyxtext.h:
4488         * text.C:
4489         * text2.C:
4490         * text3.C: add helper functions for setting refresh_row/y
4491
4492 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
4493
4494         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
4495         newline inset which *can* get inserted in the pass_thru layouts.
4496         This is primarily for literate documents.
4497
4498 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
4499
4500         * buffer.C: increment LYX_FORMAT to 223
4501
4502 2003-03-14 André Pönitz <poenitz@gmx.net>
4503
4504         * textclass.h: prepare for environment handling, ws changes
4505         * lyxlayout.C: read latexheader and latexfooter tags
4506
4507 2003-03-14  John Levon  <levon@movementarian.org>
4508
4509         * text2.C: rewrite ::status() a bit
4510
4511 2003-03-13  John Levon  <levon@movementarian.org>
4512
4513         * lyxtext.h: add some docs
4514
4515 2003-03-13  John Levon  <levon@movementarian.org>
4516
4517         * lyxtext.h:
4518         * text.C:
4519         * text2.C:
4520         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
4521
4522 2003-03-13  John Levon  <levon@movementarian.org>
4523
4524         * text3.C: fix appendix redrawing
4525
4526 2003-03-13  John Levon  <levon@movementarian.org>
4527
4528         * text.C (setHeightOfRow):
4529         * rowpainter.h:
4530         * rowpainter.C: make appendix mark have the text
4531           "Appendix" so the user knows what it is
4532
4533         * LColor.h:
4534         * LColor.C: s/appendixline/appendix/ from above
4535
4536 2003-03-13  John Levon  <levon@movementarian.org>
4537
4538         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
4539
4540         * text.C: fix a getChar(pos) bug properly
4541
4542 2003-03-13  Angus Leeming  <leeming@lyx.org>
4543
4544         * commandtags.h:
4545         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
4546         Probably only temporary. Let's see how things pan out.
4547
4548         * BufferView.C (unlockInset):
4549         * BufferView_pimpl.C (fitCursor):
4550         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
4551
4552         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
4553         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
4554
4555         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
4556         new functions that convert ParagraphParameters to and from a string.
4557
4558         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
4559         BufferView::Pimpl's dispatch.
4560         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
4561
4562 2003-03-13 André Pönitz <poenitz@gmx.net>
4563
4564         * lyxfunc.C:
4565         * text3.C:
4566         * factory.C: make it aware of InsetEnv
4567
4568 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4569
4570         * text2.C (setCursor): never ask for one past last
4571         (setCursor): add some debugging messages.
4572
4573         * text.C (singleWidth): never ask for one past last
4574         (singleWidth): ditto
4575         (leftMargin): ditto
4576         (rightMargin): ditto
4577         (rowBreakPoint): ditto
4578         (setHeightOfRow): ditto
4579         (prepareToPrint): ditto
4580
4581         * rowpainter.C (paintBackground): never ask for one past last
4582         (paintText): never ask for one past last
4583
4584         * paragraph_pimpl.C (getChar): make the assert stricter, never
4585         allow the one past last pos to be taken
4586
4587         * paragraph.C (getChar): ws changes only
4588
4589         * lyxrow.C (nextRowIsAllInset): never ask for one past last
4590         (numberOfSeparators): ditto
4591         (numberOfHfills): ditto
4592
4593 2003-03-12  John Levon  <levon@movementarian.org>
4594
4595         * author.h:
4596         * author.C:
4597         * bufferparams.h:
4598         * bufferparams.C:
4599         * paragraph_funcs.C: fix per-buffer authorlists
4600
4601 2003-03-12  John Levon  <levon@movementarian.org>
4602
4603         * text.C: fix newline in right address
4604
4605 2003-03-12  Angus Leeming  <leeming@lyx.org>
4606
4607         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
4608         duplicate those in LyXFunc::dispatch.
4609
4610         * commandtags.h:
4611         * LyXAction.C:
4612         * ToolbarDefaults.C:
4613         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
4614         Add LFUN_FONTFREE_UPDATE.
4615
4616         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
4617         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
4618
4619         * bufferview_func.[Ch]: several new functions to facilliate
4620         transfer of data to and from the character dialog.
4621
4622 2003-03-12  John Levon  <levon@movementarian.org>
4623
4624         * buffer.C:
4625         * paragraph.h:
4626         * paragraph.C:
4627         * paragraph_funcs.C:
4628         * paragraph_pimpl.C:
4629         * sgml.C:
4630         * tabular.C:
4631         * text.C:
4632         * text3.C: remove META_NEWLINE in favour of an inset
4633
4634         * rowpainter.h:
4635         * rowpainter.C: remove paintNewline (done by inset)
4636
4637 2003-03-12  John Levon  <levon@movementarian.org>
4638
4639         * paragraph_pimpl.C: complain about bad getChar()s
4640         for a while at least
4641
4642 2003-03-12  John Levon  <levon@movementarian.org>
4643
4644         * buffer.h:
4645         * buffer.C: move paragraph read into a separate function,
4646         a little renaming to reflect that.
4647
4648         * bufferparams.h:
4649         * bufferparams.C: remove the author_ids map, not necessary now
4650
4651         * factory.h:
4652         * factory.C: moved Buffer::readInset to here
4653
4654         * paragraph_funcs.h:
4655         * paragraph_funcs.C: readParagraph free function moved from
4656         buffer.C
4657
4658         * tabular.C: name change
4659
4660 2003-03-12  John Levon  <levon@movementarian.org>
4661
4662         * buffer.C:
4663         * ParagraphParameters.C: move par params input to
4664         a read() method
4665
4666         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
4667         behave like a normal read from the stream wrt reading
4668         a line vs. a \\token
4669
4670 2003-03-12  John Levon  <levon@movementarian.org>
4671
4672         * paragraph.C:
4673         * ParagraphParameters.h:
4674         * ParagraphParameters.C: move output code to a
4675         ::write() method
4676
4677 2003-03-12  John Levon  <levon@movementarian.org>
4678
4679         * BufferView.C (insertLyXFile):
4680         * buffer.h:
4681         * buffer.C:
4682         * tabular.C: use a parlist iterator for creating the
4683           document.
4684
4685 2003-03-12  John Levon  <levon@movementarian.org>
4686
4687         * buffer.C: make current_change static local not
4688           static file-scope
4689
4690 2003-03-12  John Levon  <levon@movementarian.org>
4691
4692         * buffer.C: fix insertStringAsLines for change tracking
4693
4694 2003-03-12  John Levon  <levon@movementarian.org>
4695
4696         * BufferView.C:
4697         * tabular.C:
4698         * buffer.h:
4699         * buffer.C:
4700         * bufferparams.h:
4701         * bufferparams.C: move author list into params. Rename some
4702           functions. Move the header reading into a separate token
4703           loop. Move the header token reading into BufferParams.
4704
4705 2003-03-12  John Levon  <levon@movementarian.org>
4706
4707         * changes.C: put debug inside lyxerr.debugging() checks
4708
4709 2003-03-11 André Pönitz <poenitz@gmx.net>
4710
4711         * factory.C: make it aware of InsetHFill
4712
4713 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4714
4715         * buffer.C (latexParagraphs): move function from here...
4716         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
4717         args.
4718
4719 2003-03-10  Angus Leeming  <leeming@lyx.org>
4720
4721         * LyXAction.C (init): fix bug in poplating array with multiple entries
4722         with the same LFUN (spotted by JMarc).
4723
4724 2003-03-10  John Levon  <levon@movementarian.org>
4725
4726         * text.C:
4727         * text2.C: move getColumnNearX() near its
4728         only call site
4729
4730 2003-03-10  John Levon  <levon@movementarian.org>
4731
4732         * text.C: fix break before a minipage
4733
4734 2003-03-10  John Levon  <levon@movementarian.org>
4735
4736         * text.C: fix the last commit
4737
4738 2003-03-09  John Levon  <levon@movementarian.org>
4739
4740         * lyxtext.h:
4741         * text.C:
4742         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
4743         bug 365 (don't break before insets unless needed). Don't
4744         return a value > last under any circumstances.
4745
4746 2003-03-09  Angus Leeming  <leeming@lyx.org>
4747
4748         * BufferView_pimpl.C (trackChanges, dispatch): call
4749         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
4750
4751 2003-03-09  Angus Leeming  <leeming@lyx.org>
4752
4753         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
4754         than Dialogs::showAboutlyx().
4755
4756 2003-03-09  Angus Leeming  <leeming@lyx.org>
4757
4758         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
4759         than Dialogs::showTabularCreate().
4760
4761 2003-03-09  John Levon  <levon@movementarian.org>
4762
4763         * lyxtext.h:
4764         * text.C:
4765         * text2.C: 3rd arg to nextBreakPoint was always the same.
4766           Use references.
4767
4768 2003-03-08  John Levon  <levon@movementarian.org>
4769
4770         * lyxrow.C:
4771         * paragraph.C:
4772         * paragraph.h:
4773         * rowpainter.C:
4774         * text.C:
4775         * text2.C: Remove the "main" bit from the "main body"
4776           notion.
4777
4778 2003-03-08  John Levon  <levon@movementarian.org>
4779
4780         * text.C (leftMargin): The left margin of an empty
4781         manual label paragraph should not include the label width
4782         string length.
4783
4784         * text.C (prepareToPrint): don't attempt to measure hfills
4785         for empty manual label paragraphs - the answer should be 0
4786
4787 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4788
4789         * CutAndPaste.C: remove commented code and reindent.
4790
4791 2003-03-08  John Levon  <levon@movementarian.org>
4792
4793         * lyxfunc.h:
4794         * lyxfunc.C: move reloadBuffer()
4795
4796         * BufferView.h:
4797         * BufferView.C: to here
4798
4799         * lyxvc.C: add comment
4800
4801         * vc-backend.h:
4802         * vc-backend.C: call bv->reload() to avoid
4803           getStatus() check on MENURELOAD
4804
4805 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
4806
4807         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
4808         to an old format .dep file.
4809
4810 2003-03-07  Angus Leeming  <leeming@lyx.org>
4811
4812         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
4813         when the LFUN_MOUSE_RELEASE should have been handled by
4814         inset->localDispatch.
4815
4816 2003-03-07  Angus Leeming  <leeming@lyx.org>
4817
4818         * BufferView_pimpl.C (dispatch):
4819         * LyXAction.C (init):
4820         * ToolbarDefaults.C (init):
4821         * commandtags.h:
4822         * lyxfunc.C (getStatus):
4823         remove LFUN_INSET_GRAPHICS.
4824
4825         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
4826
4827 2003-03-07  Angus Leeming  <leeming@lyx.org>
4828
4829         * commandtags.h:
4830         * LyXAction.C (init):
4831         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
4832
4833         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
4834
4835         * commandtags.h:
4836         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
4837
4838         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
4839         localDispatch method LFUN_INSET_DIALOG_UPDATE.
4840
4841 2003-03-07  Angus Leeming  <leeming@lyx.org>
4842
4843         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
4844         remove "ert".
4845
4846 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4847
4848         * ParagraphList.C (front): new function
4849         (back): implement
4850
4851 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
4852
4853         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
4854         and top_row_offset_. removed var first_y.
4855         * text.C (top_y):
4856         * text2.C (LyXText, removeRow):
4857         * text3.C:
4858         * BufferView_pimpl.C:
4859         use these methods instead of using first_y
4860
4861 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4862
4863         * text2.C (pasteSelection): adjust for checkPastePossible
4864
4865         * CutAndPaste.C: remove Paragraph * buf and replace with
4866         ParagraphList paragraphs.
4867         (DeleteBuffer): delete
4868         (cutSelection): change the tc type to textclass_type
4869         (copySelection): change the tc type to textclass_type
4870         (copySelection): adjust for ParagraphList
4871         (pasteSelection): change the tc type to textclass_type
4872         (pasteSelection): adjust for Paragraphlist
4873         (nrOfParagraphs): simplify for ParagraphList
4874         (checkPastePossible): simplify for ParagraphList
4875         (checkPastePossible): remove unused arg
4876
4877         * ParagraphList.C (insert): handle the case where there are no
4878         paragraphs yet.
4879
4880         * CutAndPaste.h: make CutAndPaste a namespace.
4881
4882         * text3.C (dispatch): adjust
4883
4884         * text.C (breakParagraph): add a ParagraphList as arg
4885
4886         * paragraph_funcs.C (breakParagraph): change to take a
4887         BufferParams and a ParagraphList as args.
4888         (breakParagraphConservative): ditto
4889         (mergeParagraph): ditto
4890         (TeXDeeper): add a ParagraphList arg
4891         (TeXEnvironment): ditto
4892         (TeXOnePar): ditto
4893
4894         * buffer.C (readLyXformat2): adjust
4895         (insertStringAsLines): adjust
4896         (latexParagraphs): adjust
4897
4898         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
4899         (cutSelection): adjust
4900         (pasteSelection): adjust
4901
4902         * BufferView_pimpl.C (insertInset): adjust
4903
4904 2003-03-05  Angus Leeming  <leeming@lyx.org>
4905
4906         * commandtags.h:
4907         * LyXAction.C (init):
4908         * BufferView_pimpl.C (dispatch):
4909         * lyxfunc.C (getStatus):
4910         remove LFUN_CHILD_INSERT.
4911
4912         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
4913
4914 2003-03-05  Angus Leeming  <leeming@lyx.org>
4915
4916         * commandtags.h:
4917         * LyXAction.C (init):
4918         * src/factory.C (createInset):
4919         * lyxfunc.C (getStatus):
4920         * text3.C (dispatch):
4921         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
4922
4923         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
4924
4925 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
4926
4927         * ParagraphList.C (insert): handle insert right before end()
4928         (erase): fix cases where it can be first or last paragraph.
4929
4930 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4931
4932         * paragraph_funcs.C (TeXEnvironment): remove all usage of
4933         Paragraph::next and Paragraph::previous
4934         (TeXOnePar): ditto
4935
4936         * text.C (breakParagraph): adjust
4937
4938         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
4939         BufferParams& as arg.
4940         (breakParagraph): use ParagraphList::insert
4941         (breakParagraphConservative): take a Buffer* instead of a
4942         BufferParams& as arg.
4943         (breakParagraphConservative): use ParagraphList::insert.
4944
4945         * buffer.C (insertStringAsLines): un-const it
4946         (insertStringAsLines): adjust
4947
4948         * ParagraphList.C (insert): new function
4949
4950         * CutAndPaste.C (pasteSelection): adjust
4951
4952         * text.C (backspace): adjust
4953
4954         * tabular.C (SetMultiColumn): adjust
4955
4956         * CutAndPaste.C (cutSelection): adjust
4957         (pasteSelection): adjust
4958
4959         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
4960         Buffer const * as arg
4961
4962         * ParagraphList.C (erase): new function
4963         * paragraph_funcs.C (mergeParagraph): use it
4964         (mergeParagraph): make it take a Buffer* instead of a
4965         BufferParams* as arg
4966
4967         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
4968         as arg
4969         (breakParagraphConservative): ditto
4970
4971         * paragraph.h: remove the breakParagraph friend
4972
4973         * paragraph.C (eraseIntern): new function
4974         (setChange): new function
4975
4976         * paragraph_funcs.C (mergeParagraph): make it take a
4977         ParagraphList::iterator instead of a Paragraph *, adjust
4978         accordingly.
4979
4980         * paragraph.h: move an #endif so that the change tracking stuff
4981         also works in the NO_NEXT case.
4982
4983 2003-03-04  Angus Leeming  <leeming@lyx.org>
4984
4985         * commandtags.h:
4986         * LyXAction.C: new LFUN_INSET_MODIFY.
4987
4988         * BufferView_pimpl.C (dispatch): if an inset is found to be open
4989         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
4990
4991 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4992
4993         * several files: ws changes only
4994
4995         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
4996         (TeXEnvironment): ditto
4997         (TeXDeeper): ditto
4998
4999         * buffer.C (makeLaTeXFile): adjust
5000         (latexParagraphs): make it take ParagraphList::iterator as args
5001
5002 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5003
5004         * buffer.C (latexParagraphs): adjust
5005
5006         * paragraph.C (TeXOnePar): move function...
5007         (optArgInset): move function...
5008         (TeXEnvironment): move function...
5009         * paragraph_pimpl.C (TeXDeeper): move function...
5010         * paragraph_funcs.C: ...here
5011
5012         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5013
5014 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5015
5016         * buffer.C (readInset): remove compability code for old Figure and
5017         InsetInfo insets
5018
5019 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5020
5021         * buffer.C: ws changes
5022         (readInset):
5023
5024         * BufferView_pimpl.C: ditto
5025         * author.C: ditto
5026         * buffer.h: ditto
5027         * bufferlist.h: ditto
5028         * changes.h: ditto
5029         * lyxfunc.C: ditto
5030
5031 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
5032
5033         * converter.[Ch]: split into itself +
5034         * graph.[Ch]
5035         * format.[Ch]
5036         * Makefile.am: += graph.[Ch] + format.[Ch]
5037         * MenuBackend.C
5038         * buffer.C
5039         * exporter.C
5040         * importer.C
5041         * lyx_main.C
5042         * lyxfunc.C
5043         * lyxrc.C: added #include "format.h"
5044
5045 2003-02-27  Angus Leeming  <leeming@lyx.org>
5046
5047         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
5048           a label.
5049
5050         * factory.C (createInset): add "label" to the factory.
5051
5052         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
5053           string and do no more.
5054
5055 2003-02-27  Angus Leeming  <leeming@lyx.org>
5056
5057         * commandtags.h:
5058         * LyXAction.C (init):
5059         * factory.C (createInset):
5060         * BufferView_pimpl.C (dispatch):
5061           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5062
5063         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5064
5065         * lyxfunc.C (dispatch):
5066         * text3.C (dispatch): pass name to params2string.
5067
5068 2003-02-26  Angus Leeming  <leeming@lyx.org>
5069
5070         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
5071           blocks together.
5072           Rearrange the ~includes. Strip out the unnecessary ones.
5073
5074         * factory.C (createInset): reformat.
5075           create new insets for the various LFUN_XYZ_APPLY lfuns.
5076
5077 2003-02-26  John Levon  <levon@movementarian.org>
5078
5079         * lyxrow.h:
5080         * lyxrow.C: add isParStart,isParEnd helpers
5081
5082         * paragraph.h: make isInserted/DeletedText take refs
5083
5084         * paragraph_funcs.h:
5085         * paragraph_funcs.C: remove #if 0'd code
5086
5087         * lyxtext.h:
5088         * text3.C:
5089         * text2.C:
5090         * text.C: use lyxrow helpers above.
5091           Move draw and paint routines to RowPainter.
5092           Make several methods use refs not pointers.
5093           Make backgroundColor() const.
5094           Add markChangeInDraw(), isInInset().
5095           Merge changeRegionCase into changeCase.
5096           Make workWidth() shouldn't-happen code into an Assert.
5097
5098         * rowpainter.h:
5099         * rowpainter.C: new class for painting a row.
5100
5101         * vspace.h:
5102         * vspace.C: make inPixels take a ref
5103
5104 2003-02-26  Angus Leeming  <leeming@lyx.org>
5105
5106         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
5107         LFUN_REF_APPLY.
5108
5109 2003-02-25  John Levon  <levon@movementarian.org>
5110
5111         * ispell.C: give the forked command a more accurate name
5112
5113 2003-02-22  John Levon  <levon@movementarian.org>
5114
5115         * toc.h:
5116         * toc.C: make TocItem store an id not a Paragraph *
5117           (bug #913)
5118
5119 2003-02-21  Angus Leeming  <leeming@lyx.org>
5120
5121         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
5122           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
5123           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
5124           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
5125           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
5126           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
5127
5128         * BufferView_pimpl.C (dispatch):
5129         * LyXAction.C (init):
5130         * factory.C (createInset):
5131         * lyxfunc.C (getStatus, dispatch):
5132         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
5133
5134 2003-02-21  Angus Leeming  <leeming@lyx.org>
5135
5136         * BufferView_pimpl.C (MenuInsertLyXFile):
5137         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
5138         * lyxfunc.C (menuNew, open, doImport):
5139           no longer pass a LyXView & to fileDlg.
5140
5141 2003-02-21  Angus Leeming  <leeming@lyx.org>
5142
5143         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
5144         * LyXAction.C: change, BIBKEY to BIBITEM.
5145         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
5146         Change InsetBibKey to InsetBibitem.
5147         Change BIBKEY_CODE to BIBITEM_CODE.
5148         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5149         * factory.C: replace insetbib.h with insetbibitem.h.
5150         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5151         * paragraph.C: replace insetbib.h with insetbibitem.h.
5152         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5153         Change bibkey() to bibitem().
5154         * text.C: remove insetbib.h.
5155         * text2.C: replace insetbib.h with insetbibitem.h.
5156         change bibkey() to bibitem().
5157         * text3.C: remove insetbib.h.
5158         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5159
5160 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5161
5162         * lyxrc.C (output): enclose user email in quotes (in case there are
5163         several words)
5164
5165 2003-02-18  John Levon  <levon@movementarian.org>
5166
5167         * buffer.h: add std::
5168
5169 2003-02-17  John Levon  <levon@movementarian.org>
5170
5171         * SpellBase.h:
5172         * ispell.h:
5173         * ispell.C:
5174         * pspell.h:
5175         * pspell.C: reworking. Especially in ispell, a large
5176           number of clean ups and bug fixes.
5177
5178         * lyxfunc.C: fix revert to behave sensibly
5179
5180 2003-02-17 André Pönitz <poenitz@gmx.net>
5181
5182         * LyXAction.C:
5183         * commandtags.h: new LFUN_INSERT_BIBKEY
5184
5185         * layout.h:
5186         * lyxlayout.C:
5187         * buffer.C:
5188         * factory.C:
5189         * text.C:
5190         * text2.C:
5191         * text3.C:
5192         * paragraph.[Ch]:
5193         * paragraph_func.C: remove special bibkey handling
5194
5195 2003-02-17  John Levon  <levon@movementarian.org>
5196
5197         * text.C (Delete): fix case where delete at the end of
5198           the very first paragraph would not merge the pars
5199
5200 2003-02-17  John Levon  <levon@movementarian.org>
5201
5202         * lyxrow.C: fix lastPrintablePos()
5203
5204 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5205
5206         * bufferparams.C (writeLaTeX): add a std:here
5207
5208         * buffer.C: and remove a using directive there
5209
5210 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5211
5212         * buffer.C (makeLaTeXFile): move the code that generates the
5213           preamble...
5214
5215         * bufferparams.C (writeLaTeX): ... in this new method
5216
5217         * LaTeXFeatures.C (getEncodingSet): make const
5218           (getLanguages): make const
5219
5220         * MenuBackend.C (binding): returns the binding associated to this
5221           action
5222           (add): sets the status of each item by calling getStatus. Adds
5223           some intelligence.
5224           (read): add support for OptSubMenu
5225           (expand): remove extra separator at the end of expanded menu
5226
5227 2003-02-15  John Levon  <levon@movementarian.org>
5228
5229         * BufferView.C:
5230         * BufferView_pimpl.C:
5231         * bufferlist.h:
5232         * bufferlist.C: remove pointless BufferStorage bloat. Remove
5233           inset code that had no actual effect. Remove unneeded status
5234           code.
5235
5236 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5237
5238         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5239           in preamble
5240
5241 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
5242
5243         * text.C (drawLengthMarker): also draw an arrow marker for
5244           symbolic lengths (medskip...)
5245
5246 2003-02-14  John Levon  <levon@movementarian.org>
5247
5248         * tabular.h:
5249         * tabular.C: better method names
5250
5251 2003-02-14  John Levon  <levon@movementarian.org>
5252
5253         * BufferView_pimpl.C:
5254         * bufferlist.C:
5255         * buffer.C:
5256         * converter.C:
5257         * lyx_cb.C:
5258         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5259           it's a more accurate name. Remove some pointless uses.
5260
5261 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5262
5263         * text2.C (LyXText): change order of initilizers to shut off
5264           warnings
5265
5266 2003-02-14  John Levon  <levon@movementarian.org>
5267
5268         * buffer.C: use ParIterator for getParFromID()
5269
5270         * paragraph.h:
5271         * paragraph.C:
5272         * paragraph_pimpl.h:
5273         * paragraph_pimpl.C: remove unused getParFromID()
5274
5275 2003-02-14  John Levon  <levon@movementarian.org>
5276
5277         * buffer.C: remove some very old #if 0'd parse code
5278
5279 2003-02-13  John Levon  <levon@movementarian.org>
5280
5281         * text.h:
5282         * text.C:
5283         * text2.C: move hfillExpansion(), numberOfSeparators(),
5284           rowLast(), rowLastPrintable(), numberofHfills(),
5285           numberOfLabelHfills() ...
5286
5287         * lyxrow.h:
5288         * lyxrow.C: ... to member functions here.
5289
5290         * paragraph.h:
5291         * paragraph.C:
5292         * lyxtext.h:
5293         * text.C: remove LyXText::beginningOfMainBody(), and call
5294           p->beginningOfMainBody() directly. Move the check for
5295           LABEL_MANUAL into the latter.
5296
5297         * text.h:
5298         * text.C:
5299         * text2.C:
5300         * vspace.C:
5301         * BufferView.h:
5302         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5303
5304         * text.h:
5305         * text.C:
5306         * text2.C:
5307         * text3.C:
5308         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5309           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5310
5311 2003-02-13  John Levon  <levon@movementarian.org>
5312
5313         * CutAndPaste.C: remove debug
5314
5315 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5316
5317         * paragraph.C (asString): remove two unused variables
5318
5319         * lyxtextclass.C (readTitleType):
5320           (Read):
5321           (LyXTextClass): handle new members titletype_ and titlename_
5322
5323         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
5324
5325 2003-02-09  John Levon  <levon@movementarian.org>
5326
5327         * buffer.h:
5328         * buffer.C: replace hand-coded list with a map for the dep clean
5329
5330 2003-02-08  John Levon  <levon@movementarian.org>
5331
5332         * LaTeX.C: consolidate code into showRunMessage() helper
5333
5334 2003-02-08  John Levon  <levon@movementarian.org>
5335
5336         * lyxfind.C:
5337         * lyxtext.h:
5338         * text2.C:
5339         * BufferView.C: change setSelectionOverString() to setSelectionRange()
5340           and pass the size in explicitly
5341
5342         * BufferView_pimpl.h:
5343         * BufferView_pimpl.C:
5344         * BufferView.h:
5345         * BufferView.C: add getCurrentChange()
5346
5347         * BufferView_pimpl.h:
5348         * BufferView_pimpl.C: handle change lfuns
5349
5350         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
5351           for changes. Mark pasted paragraphs as new.
5352
5353         * support/lyxtime.h:
5354         * support/lyxtime.C:
5355         * DepTable.C: abstract time_t as lyx::time_type
5356
5357         * LColor.h:
5358         * LColor.C: add colours for new text, deleted text, changebars
5359
5360         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
5361           package use "usenames" option.
5362
5363         * commandtags.h:
5364         * lyxfunc.C:
5365         * LyXAction.C: add change lfuns
5366
5367         * Makefile.am:
5368         * author.h:
5369         * author.C: author handling
5370
5371         * buffer.h:
5372         * buffer.C: add a per-buffer author list, with first entry as
5373           current author. Handle new .lyx tokens for change tracking. Output
5374           author list to .lyx file. Output dvipost stuff to .tex preamble.
5375           Bump lyx format to 222.
5376
5377         * bufferlist.h:
5378         * bufferlist.C: add setCurrentAuthor() to reset current author details
5379           in all buffers.
5380
5381         * bufferparams.h:
5382         * bufferparams.C: add param for tracking
5383
5384         * bufferview_funcs.C: output change info in minibuffer
5385
5386         * Makefile.am:
5387         * changes.h:
5388         * changes.C: add change-tracking structure
5389
5390         * debug.h:
5391         * debug.C: add CHANGES debug flag
5392
5393         * lyxfind.h:
5394         * lyxfind.C: add code for finding the next change piece
5395
5396         * lyxrc.h:
5397         * lyxrc.C: add user_name and user_email
5398
5399         * lyxrow.h:
5400         * lyxrow.C: add a metric for the top of the text line
5401
5402         * lyxtext.h:
5403         * text.C: implement accept/rejectChange()
5404
5405         * lyxtext.h:
5406         * text.C: paint changebars. Paint new/deleted text in the chosen
5407         colours. Strike through deleted text.
5408
5409         * paragraph.h:
5410         * paragraph.C:
5411         * paragraph_pimpl.h:
5412         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
5413           in the current change to the insert functions. Rework erase to
5414           mark text as deleted, adding an eraseIntern() and a range-based
5415           erase(). Implement per-paragraph change lookup and
5416           accept/reject.
5417
5418         * paragraph_funcs.C: Fixup paste for change tracking.
5419
5420         * tabular.C: mark added row/columns as new.
5421
5422         * text.C: fix rowLast() to never return -1. Don't allow
5423           spellchecking of deleted text. Track transpose changes. Don't
5424           allow paragraph break or merge where appropriate.
5425
5426         * text2.C: leave cursor at end of selection after a cut.
5427
5428 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5429
5430         * text.C (getLengthMarkerHeight):
5431         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
5432         visible on screen too.
5433
5434 2003-02-07  John Levon  <levon@movementarian.org>
5435
5436         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
5437
5438 2003-02-05  Angus Leeming  <leeming@lyx.org>
5439
5440         * lyxserver.C (read_ready): revert my patch of 11 September last year
5441         as it sends PC cpu through the roof. Presumably this means that
5442         the lyxserver will no longer run on an Alpha...
5443
5444 2003-01-30  Angus Leeming  <leeming@lyx.org>
5445
5446         * factory.C (createInset): create an InsetCommandParam of type "index"
5447         and use it to 'do the right thing'.
5448
5449         * text2.C (getStringToIndex): ensure that cursor position is always
5450         reset to the reset_cursor position.
5451
5452 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5453
5454         * lyxfunc.C (getStatus): "buffer-export custom" should never be
5455         disabled.
5456
5457 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
5458
5459         * bufferview.C:
5460         * lyxcb.C:
5461         * lyxfunc.C: Output messages with identical spelling, punctuation,
5462         and spaces
5463
5464 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
5465
5466         * MenuBackend.C (expandFormats): List only viewable export formats
5467         in "View" menu
5468
5469         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
5470         message
5471
5472         * lyxfunc.C (getStatus): Make sure that formats other than
5473         "fax" can also be disabled
5474
5475 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5476
5477         * text3.C (dispatch): put the lfuns that insert insets in 3
5478         groups, and call doInsertInset with appropriate arguments.
5479         (doInsertInset): new function, that creates an inset and inserts
5480         it according to some boolean parameters.
5481
5482 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5483
5484         * buffer.C (readFile): remember to pass on 'par' when calling
5485         readFile recursively.
5486
5487 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5488
5489         * MenuBackend.C (expandFormats): add "..." to import formats.
5490
5491 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
5492
5493         * paragraph.C (asString): Remove XForms RTL hacks.
5494
5495 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
5496         * buffer.C: fix typo
5497
5498 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
5499
5500         * Makefile.am (LIBS): delete var
5501         (lyx_LDADD): add @LIBS@ here instead.
5502
5503 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
5504
5505         * Clarify the meaning of "wheel mouse jump"
5506
5507 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5508
5509         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
5510         tabular in a float
5511
5512 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5513
5514         * importer.C (Loaders): do not preallocate 3 elements in the
5515         vector, since one ends up with 6 elements otherwise
5516
5517 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5518
5519         * DepTable.C (write): write the file name as last element of the
5520         .dep file (because it may contain spaces)
5521         (read): read info in the right order
5522
5523 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5524
5525         * paragraph_pimpl.C (simpleTeXBlanks):
5526         (simpleTeXSpecialChars):
5527         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
5528
5529         * tabular.C (latex): add some missing case statements. Reindent.
5530
5531         * MenuBackend.C (expandToc): remove unused variable.
5532
5533 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
5534
5535         * LColor.C:
5536         * LaTeX.C:
5537         * LyXAction.C:
5538         * MenuBackend.C:
5539         * buffer.C:
5540         * exporter.C:
5541         * lyxfunc.C:
5542         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
5543         and the like.
5544
5545 2003-01-05  John Levon  <levon@movementarian.org>
5546
5547         * BufferView.h:
5548         * BufferView.C: add getEncoding()
5549
5550         * kbsequence.h:
5551         * kbsequence.C: do not store last keypress
5552
5553         * lyxfunc.h:
5554         * lyxfunc.C: store last keypress here instead. Pass encoding
5555           to getISOEncoded()
5556
5557 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5558
5559         * lyx_main.C (init): remove annoying error message when following
5560         symbolic links (bug #780)
5561
5562 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5563
5564         * text.C (insertChar):
5565         * lyxrc.C (getDescription): remove extra spaces
5566
5567 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5568
5569         * lyxrc.C (getDescription): remove extra spaces
5570
5571 2002-12-20  John Levon  <levon@movementarian.org>
5572
5573         * text3.C: hack fix for page up/down across tall rows
5574
5575 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5576
5577         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
5578         not been invoked
5579
5580 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5581
5582         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
5583         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
5584         thesaurus is not compiled in
5585
5586 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
5587
5588         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
5589
5590 2002-12-16  Angus Leeming  <leeming@lyx.org>
5591
5592         * lyxrc.[Ch]:
5593         * lyx_main.C (init): remove override_x_deadkeys stuff.
5594
5595 2002-12-12  John Levon  <levon@movementarian.org>
5596
5597         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
5598           insert. Only remove shift modifier under strict
5599           circumstances.
5600
5601 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5602
5603         * MenuBackend.C (expandToc): fix crash.
5604
5605 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5606
5607         * MenuBackend.C (expandToc): gettext on float names.
5608
5609 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5610
5611         * lyxlength.[Ch]: set default unit to UNIT_NONE,
5612         implement bool empty() [bug 490]
5613
5614 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5615
5616         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
5617
5618 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5619
5620         * several files: ws changes
5621
5622 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5623
5624         * text2.C (setCounter): clean up a bit, use boost.format.
5625         (updateCounters): initialize par upon declaration.
5626
5627         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
5628         if the layout exists. We do not just store the layout any more.
5629         (SwitchLayoutsBetweenClasses): use boost.format
5630
5631 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5632
5633         * converter.C (convert): if from and to files are the same, use a
5634         temporary files as intermediary
5635
5636 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5637
5638         * commandtags.h:
5639         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
5640
5641 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
5642
5643         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
5644
5645 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5646
5647         * tabular.C (asciiPrintCell): use string(size, char) instead of
5648         explicit loop.
5649
5650         * sgml.C (openTag): fix order of arguments to string constructor
5651         (closeTag): ditto
5652
5653         * lyxfunc.C (dispatch): use boost.format
5654
5655         * lots of files: change "c" -> 'c'
5656
5657 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
5658
5659         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
5660
5661 2002-11-25  Angus Leeming  <leeming@lyx.org>
5662
5663         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
5664
5665         * lyx_main.C (init): compile fix.
5666
5667 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5668
5669         * lyx_cb.C (start): boost.formatify
5670         do not include <iostream>
5671
5672         * lengthcommon.C: ws only
5673
5674         * boost-inst.C,BoostFormat.h: add more explict instantations
5675
5676 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5677
5678         * lots of files: handle USE_BOOST_FORMAT
5679
5680 2002-11-21  John Levon  <levon@movementarian.org>
5681
5682         * pspell.C: fix compile
5683
5684 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5685
5686         * lyxfunc.C (dispatch): use boost::format
5687         (open): ditto
5688         (doImport): ditto
5689
5690         * lyxfont.C (stateText): use boost::format
5691
5692         * lyx_main.C (LyX): use boost::format
5693         (init): ditto
5694         (queryUserLyXDir): ditto
5695         (readRcFile): ditto
5696         (parse_dbg): ditto
5697         (typedef boost::function): use the recommened syntax.
5698
5699         * importer.C (Import): use boost::format
5700
5701         * debug.C (showLevel): use boost::format
5702
5703         * converter.C (view): use boost::format
5704         (convert): ditto
5705         (move): ditto
5706         (scanLog): ditto
5707
5708         * bufferview_funcs.C (currentState): use boost::format
5709
5710         * bufferlist.C (emergencyWrite): use boost::format
5711
5712         * buffer.C (readLyXformat2): use boost::format
5713         (parseSingleLyXformat2Token): ditto
5714
5715         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
5716
5717         * LaTeX.C (run): use boost::format
5718
5719         * Chktex.C (scanLogFile): use boost::format
5720
5721         * BufferView_pimpl.C (savePosition): use boost::format
5722         (restorePosition): ditto
5723         (MenuInsertLyXFile): ditto
5724
5725         * BoostFormat.h: help file for explicit instation.
5726
5727 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
5728
5729         * tabular.C (latex): Support for block alignment in fixed width
5730         columns.
5731
5732 2002-11-17  John Levon  <levon@movementarian.org>
5733
5734         * BufferView_pimpl.C:
5735         * lyx_cb.C:
5736         * lyxfunc.C: split filedialog into open/save
5737
5738 2002-11-08  Juergen Vigna  <jug@sad.it>
5739
5740         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
5741         by my last patch (hopefully).
5742
5743 2002-11-08  John Levon  <levon@movementarian.org>
5744
5745         * iterators.h:
5746         * iterators.C:
5747         * buffer.h:
5748         * buffer.C:
5749         * paragraph.h:
5750         * paragraph.C:
5751         * toc.h:
5752         * toc.C: ParConstIterator, and use it (from Lars)
5753
5754 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
5755
5756         * lyxtextclass.[Ch]: revise and add doxygen comments
5757
5758 2002-11-07  John Levon  <levon@movementarian.org>
5759
5760         * text.C: fix progress value for spellchecker
5761
5762         * toc.C: fix navigate menu for insetwrap inside minipage
5763
5764         * paragraph_funcs.C: added FIXME for suspect code
5765
5766 2002-11-07  John Levon  <levon@movementarian.org>
5767
5768         * BufferView_pimpl.C: fix redrawing of insets
5769           on buffer switch
5770
5771 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5772
5773         * text2.C (updateCounters): fix bug 668
5774
5775 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
5776
5777         * text3.C (dispatch): Do not make the buffer dirty when moving the
5778         cursor.
5779
5780 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5781
5782         * vc-backend.C: STRCONV
5783         (scanMaster): ditto
5784
5785         * text2.C (setCounter): STRCONV
5786
5787         * paragraph.C (asString): STRCONV
5788
5789         * lyxlength.C (asString): STRCONV
5790         (asLatexString): ditto
5791
5792         * lyxgluelength.C (asString): STRCONV
5793         (asLatexString): ditto
5794
5795         * lyxfunc.C (dispatch): STRCONV
5796         (open): ditto
5797
5798         * lyxfont.C (stateText): STRCONV
5799
5800         * importer.C (Import): STRCONV
5801
5802         * counters.C (labelItem): STRCONV
5803         (numberLabel): ditto
5804         (numberLabel): remove unused ostringstream o
5805
5806         * chset.C: STRCONV
5807         (loadFile): ditto
5808
5809         * bufferview_funcs.C (currentState): STRCONV
5810
5811         * buffer.C (readFile): STRCONV
5812         (asciiParagraph): ditto
5813         (makeLaTeXFile): ditto
5814
5815         * Spacing.C (writeEnvirBegin): STRCONV
5816
5817         * LaTeXFeatures.C (getLanguages): STRCONV
5818         (getPackages): ditto
5819         (getMacros): ditto
5820         (getBabelOptions): ditto
5821         (getTClassPreamble): ditto
5822         (getLyXSGMLEntities): ditto
5823         (getIncludedFiles): ditto
5824
5825         * LaTeX.C: STRCONV
5826         (run): ditto
5827         (scanAuxFile): ditto
5828         (deplog): ditto
5829
5830         * LString.h: add the STRCONV macros
5831
5832         * BufferView_pimpl.C (savePosition): STRCONV
5833         (restorePosition): ditto
5834         (MenuInsertLyXFile): ditto
5835
5836         * vc-backend.C (scanMaster): change from submatch[...] to
5837         submatch.str(...)
5838
5839         * funcrequest.C: include config.h
5840
5841         * factory.C: include config.h
5842
5843         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
5844
5845         * box.C: include config.h
5846
5847         * LaTeX.C (scanAuxFile): change from submatch[...] to
5848         submatch.str(...)
5849         (deplog): ditto
5850
5851 2002-10-25  Angus Leeming  <leeming@lyx.org>
5852
5853         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
5854
5855         * ispell.[Ch] (setError): new method.
5856         * ispell.C (c-tor): move out child process into new class LaunchIspell.
5857         Use setError() insetead of goto END.
5858
5859         * lyx_cb.C (AutoSave): move out child process into new class
5860         AutoSaveBuffer.
5861
5862 2002-10-30  John Levon  <levon@movementarian.org>
5863
5864         * text3.C: make start appendix undoable
5865
5866 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
5867
5868         * lyxlength.C (inPixels): Fix returned value.
5869
5870         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
5871         environment.
5872
5873 2002-10-24  Angus Leeming  <leeming@lyx.org>
5874
5875         * lyxgluelength.h: no need to forward declare BufferParams
5876         or BufferView, so don't.
5877
5878 2002-10-21  John Levon  <levon@movementarian.org>
5879
5880         * BufferView.C: menuUndo ->undo, redo
5881
5882         * BufferView.h: document, remove dead, make some methods private
5883
5884         * paragraph_funcs.h:
5885         * paragraph_funcs.C:
5886         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
5887
5888         * buffer.h:
5889         * buffer.C:
5890         * sgml.h:
5891         * sgml.C: move sgml open/close tag into sgml.C
5892
5893         * bufferview_funcs.h: unused prototype
5894
5895         * lyxfunc.h:
5896         * lyxfunc.C: remove unused
5897
5898         * lyxtext.h:
5899         * text.C: remove unused
5900
5901 2002-10-21  John Levon  <levon@movementarian.org>
5902
5903         * BufferView.h:
5904         * BufferView.C:
5905         * BufferView_pimpl.h:
5906         * BufferView_pimpl.C: fix mouse wheel handling based on
5907           patch from Darren Freeman
5908
5909 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
5910
5911         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
5912
5913 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
5914
5915         * lyxlength.C (inPixels): Fix hanfling of negative length.
5916         Fix LyXLength::MU case.
5917
5918 2002-10-16  John Levon  <levon@movementarian.org>
5919
5920         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
5921
5922 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5923
5924         * converter.C (view): add support for $$i (file name) and $$p
5925         (file path) for the viewer command. If $$i is not specified, then
5926         it is appended to the command (for compatibility with old syntax)
5927
5928 2002-10-14  Juergen Vigna  <jug@sad.it>
5929
5930         * undo_funcs.C (textHandleUndo): alter the order in which the
5931         new undopar is added to the LyXText, as we have to set first
5932         the right prev/next and then add it as otherwise the rebuild of
5933         LyXText is not correct. Also reset the cursor to the right paragraph,
5934         with this IMO we could remove the hack in "redoParagraphs()".
5935
5936 2002-10-09  Angus Leeming  <leeming@lyx.org>
5937
5938         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
5939         to turn off an optimisation if a new inset is to be inserted.
5940
5941 2002-10-11 André Pönitz <poenitz@gmx.net>
5942
5943         * lyxtext.h: make some functions public to allow access
5944         from inset/lyxtext for handling LFUN_PRIOR/NEXT
5945
5946 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5947
5948         * text3.C (dispatch): when changing layout, avoid an infinite loop
5949         [bug #652]
5950
5951 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5952
5953         * lyxrc.C (read): treat a viewer or converter command of "none" as
5954         if it were empty.
5955
5956         * MenuBackend.C (expandFormats): for an update, also allow the
5957         formats that are not viewable
5958
5959         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
5960         script if it is newer than the lyxrc.defaults in user directory
5961
5962 2002-10-07 André Pönitz <poenitz@gmx.net>
5963
5964         * text.C: Vitaly Lipatov's small i18n fix
5965
5966 2002-09-25  Angus Leeming  <leeming@lyx.org>
5967
5968         * ispell.h: doxygen fix.
5969
5970 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
5971
5972         * buffer.h (readFile): Add a new argument to the method, to allow
5973         reading of old-format templates.
5974
5975 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
5976
5977         * toc.C (getTocList): Get TOC from InsetWrap.
5978
5979 2002-09-16  John Levon  <levon@movementarian.org>
5980
5981         * lyxfunc.C: check tabular for cut/copy too
5982
5983 2002-09-12  John Levon  <levon@movementarian.org>
5984
5985         * LyXAction.C: tidy
5986
5987         * factory.h:
5988         * factory.C: add header
5989
5990         * paragraph_funcs.h:
5991         * paragraph_funcs.C: cleanup
5992
5993 2002-09-11  John Levon  <levon@movementarian.org>
5994
5995         * PrinterParams.h: odd/even default to true
5996
5997 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
5998
5999         * PrinterParams.h: update printer parameters for new xforms dialog
6000
6001 2002-09-11  Angus Leeming  <leeming@lyx.org>
6002
6003         * lyxserver.C (read_ready): re-write to make it more transparent
6004         and to make it work in coherent fashion under Tru64 Unix.
6005
6006 2002-09-11  André Pönitz <poenitz@gmx.net>
6007
6008         * commandtags.h:
6009         * LyXAction.C:
6010         * text3.C: implement LFUN_WORDSEL
6011
6012 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6013
6014         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6015         make floatlist_ a boost::shared_ptr<FloatList>
6016
6017         * lyxtextclass.C: include FloatList.h
6018         (LyXTextClass): initialize floatlist_
6019         (TextClassTags): add TC_NOFLOAT
6020         (Read): match "nofloat" to TC_NOFLOAT and use it.
6021         (readFloat): modify call to floatlist_
6022         (floats): ditto
6023         (floats): ditto
6024
6025         * FloatList.[Ch] (FloatList): remove commented out float
6026         initialization.
6027         (erase): new function
6028
6029 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6030
6031         * MenuBackend.C (expandToc): fix crash when there is no document
6032         open
6033
6034 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
6035
6036         * many files: Add insetwrap.
6037
6038 2002-09-09  John Levon  <levon@movementarian.org>
6039
6040         * text2.C: remove confusing and awkward depth wraparound
6041
6042 2002-09-09  John Levon  <levon@movementarian.org>
6043
6044         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6045
6046         * buffer.h:
6047         * buffer.C: remove getIncludeonlyList()
6048
6049         * paragraph.C:
6050         * lyxfunc.C: remove headers
6051
6052 2002-09-09  Juergen Vigna  <jug@sad.it>
6053
6054         * text.C (getColumnNearX): fix form Michael this is most
6055         probably a cut&paste bug.
6056
6057 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6058
6059         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
6060
6061         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6062         references, ws changes.
6063
6064         * text2.C (init): update counters after init
6065         (insertParagraph): no need to set counter on idividual paragraphs.
6066         (setCounter): access the counters object in the textclass object
6067         on in the buffer object.
6068         (updateCounters): ditto
6069
6070         * lyxtextclass.C: include counters.h, add variable ctrs_ as
6071         shared_ptr<Counters> to avoid loading counters.h in all
6072         compilation units.
6073         (LyXTextClass): initialize ctrs_
6074         (TextClassTags): add TC_COUNTER, and ...
6075         (Read): use it here.
6076         (CounterTags): new tags
6077         (readCounter): new function
6078         (counters): new funtion
6079         (defaultLayoutName): return a const reference
6080
6081         * counters.C (Counters): remove contructor
6082         (newCounter): remove a couple of unneeded statements.
6083         (newCounter): simplify a bit.
6084         (numberLabel): some small formatting changes.
6085
6086         * buffer.[Ch]: remove all traces of counters, move the Counters
6087         object to the LyXTextClass.
6088
6089 2002-09-06  Alain Castera  <castera@in2p3.fr>
6090
6091         * tabular.C: uses \tabularnewline; uses >{...} construct from array
6092         package to set the horizontal alignment on fixed width columns.
6093
6094         * lyx_sty.C:
6095         * lyx_sty.h: added tabularnewline macro def.
6096
6097         * LaTeXFeatures.C: added NeedTabularnewline macro feature
6098
6099 2002-09-06  John Levon  <levon@movementarian.org>
6100
6101         * LyXAction.C: tooltips for sub/superscript
6102
6103         * MenuBackend.C: a bit more verbose
6104
6105         * lyxfunc.C: tiny clean
6106
6107         * undo_funcs.C: document undo_frozen
6108
6109 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6110
6111         * counters.C (Counters): add missing algorithm counter.
6112
6113         * text2.C (setCounter): lookup the counter with layouts latexname
6114         instead of by section number.
6115         (setCounter): use a hackish way to lookup the correct enum
6116         counter.
6117         a float name->type change
6118         reset enum couners with counter name directly instead of depth value.
6119
6120         * counters.C (Counters): remove the push_backs, change to use the
6121         float type not the float name.
6122         (labelItem): remove unused string, float name->type change
6123
6124         * counters.h: don't include vector, loose the enums and sects vectors
6125
6126 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6127
6128         * lyxtextclass.C (TextClassTags): add TC_FLOAT
6129         (Read): add float->TC_FLOAT to textclassTags
6130         (Read): and handle it in the switch
6131         (readFloat): new function
6132
6133         * FloatList.C (FloatList): comment out the hardcoded float
6134         definitions.
6135
6136         * lyxlayout.h: ws change.
6137
6138 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
6139
6140         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
6141
6142 2002-09-03  Angus Leeming  <leeming@lyx.org>
6143
6144         * BufferView_pimpl.h: qualified name is not allowed in member
6145         declaration: WorkArea & Pimpl::workarea() const;
6146
6147         * factory.C: added using std::endl directive.
6148
6149         * text3.C: added using std::find and std::vector directives.
6150
6151 2002-08-29  André Pönitz <poenitz@gmx.net>
6152
6153         * lyxtext.h:
6154         * text2.C: remove unused member number_of_rows
6155
6156         * Makefile.am:
6157         * BufferView2.C: remove file, move contents to...
6158         * BufferView.C: ... here
6159
6160         * BufferView_pimpl.C:
6161         * factory.C: move more inset creation to factory
6162
6163         * vspace.C: avoid direct usage of LyXText, ws changes
6164
6165         * BufferView.[Ch]:
6166                 don't provide direct access to WorkArea, use two simple
6167                 acessors haveSelction() and workHeight() instead
6168
6169
6170 2002-08-29  John Levon  <levon@movementarian.org>
6171
6172         * BufferView_pimpl.C (dispatch): do not continue when
6173           no buffer
6174
6175 2002-08-28  André Pönitz <poenitz@gmx.net>
6176
6177         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6178
6179         * BufferView.h:
6180         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6181
6182 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
6183
6184         * buffer.C: increment LYX_FORMAT to 221
6185
6186         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6187         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6188
6189         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6190
6191         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6192
6193 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6194
6195         * factory.C (createInset): use LyXTextClass::floats
6196
6197         * MenuBackend.C (expandFloatListInsert):
6198         (expandFloatInsert):
6199         (expandToc):
6200
6201         * text2.C (setCounter):
6202
6203         * LaTeXFeatures.C (useFloat):
6204         (getFloatDefinitions):
6205
6206         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6207
6208         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6209         floatlist_, with accessor floats().
6210
6211         * FloatList.h: remove global FloatList
6212
6213 2002-08-26  André Pönitz <poenitz@gmx.net>
6214
6215         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6216
6217         * BufferView.h:
6218         * BufferView2.C:
6219         * BufferView_pimpl.C:
6220         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6221
6222 2002-08-25  John Levon  <levon@movementarian.org>
6223
6224         * LyXAction.C: fix margin note description
6225
6226 2002-08-24  John Levon  <levon@movementarian.org>
6227
6228         * buffer.C:
6229         * bufferlist.C:
6230         * bufferview_funcs.C:
6231         * lyxfont.C:
6232         * undo_funcs.C: cleanups
6233
6234         * lyxfunc.C: disable CUT/COPY when no selection
6235
6236 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
6237
6238         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6239         in "enum UNIT"; e.g. PTW for Percent of TextWidth
6240
6241         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6242         Add backward compatibility to "mono", "gray" and "no".
6243
6244 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
6245
6246         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6247         (and file_format >= 200).
6248
6249 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6250
6251         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6252
6253 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6254
6255         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6256
6257 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
6258
6259         * BufferView_pimpl.C:
6260         * LyXAction.C:
6261         * buffer.C:
6262         * commandtags.h:
6263         * lyxfunc.C:
6264         * paragraph.[Ch]:
6265         * text2.C:
6266         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6267         inset and code to make it  work with the paragraph code. The inset
6268         can be anywhere in the paragraph, but will only do the expected
6269         thing in LaTeX if the layout file contains the parameter line
6270                         OptionalArgs    1
6271         (or more generally, a nonzero value) for that layout.
6272
6273 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6274
6275         * paragraph.h: remove the declaration of undefined counters class
6276         function.
6277
6278 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
6279
6280         * text2.C (setCounter):  fixed enumeration mis-count as reported by
6281         Dr. Richard Hawkins.
6282
6283 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6284
6285         * paragraph_funcs.h: remove some unneeded includes
6286
6287         * text.C (backspace): pasteParagraph now in global scipe
6288
6289         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6290         (pasteSelection): ditto
6291
6292         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6293         * paragraph_funcs.C (pasteParagraph): ... here
6294
6295 2002-08-20  André Pönitz <poenitz@gmx.net>
6296
6297         * commandtags.h: new LFUNs for swapping/copying table row/colums
6298
6299         * LyXAction.C:
6300         * lyxfunc.C: support for new lfuns
6301
6302 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6303
6304         * tabular.C:
6305         * buffer.[Ch]: remove NO_COMPABILITY stuff
6306
6307 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
6308
6309         * boost.C (throw_exception): new file, with helper function for
6310         boost compiled without exceptions.
6311
6312         * paragraph.h:
6313         * lyxlength.C:
6314         * buffer.C:
6315         * ParameterStruct.h:
6316         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6317
6318         * bufferlist.C (emergencyWriteAll): use boost bind
6319
6320         * BufferView_pimpl.C (moveCursorUpdate): remove inline
6321
6322         * text.C: include paragraph_funcs.h
6323         (breakParagraph): breakParagraph is now in global scope
6324
6325         * paragraph_funcs.[Ch]: new files
6326
6327         * paragraph.C (breakParagraph,breakParagraphConservative): move to
6328         global scope
6329
6330         * buffer.C: include paragraph_funcs.h
6331         (insertStringAsLines): breakParagraph is now in global scope
6332
6333         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
6334         paragraph_funcs.C
6335
6336         * CutAndPaste.C: include paragraph_funcs.h
6337         (cutSelection): breakParagraphConservative is now in global scope
6338         (pasteSelection): ditto
6339
6340         * buffer.h: declare oprator== and operator!= for
6341         Buffer::inset_iterator
6342
6343         * bufferlist.C (emergencyWrite): don't use fmt(...)
6344
6345         * text3.C: add using std::endl
6346
6347         * BufferView.C (moveCursorUpdate): remove default arg
6348
6349 2002-08-20  André Pönitz <poenitz@gmx.net>
6350
6351         * buffer.[Ch]: move inline functions to .C
6352
6353         * BufferView2.C:
6354         * BufferView_pimpl.C:
6355         * text.C:
6356         * buffer.[Ch]: use improved inset_iterator
6357
6358         * buffer.C:
6359         * paragraph.[Ch]: write one paragraph at a time
6360
6361 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
6362
6363         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
6364         style if style is not specified.
6365
6366 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6367
6368         * text2.C (setCounter): when searching for right label for a
6369         caption, make sure to recurse to parent insets (so that a caption
6370         in a minipage in a figure float works) (bug #568)
6371
6372 2002-08-20  André Pönitz <poenitz@gmx.net>
6373
6374         * text3.C: new file for LyXText::dispatch() and helpers
6375
6376         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
6377
6378         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
6379
6380 2002-08-19  André Pönitz <poenitz@gmx.net>
6381
6382         * lyxtext.h:
6383         * text.C: new LyXText::dispatch()
6384
6385         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
6386
6387 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
6388
6389         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
6390
6391         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
6392         Hebrew text.
6393
6394 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6395
6396         * Makefile.am: use $(variables) instead of @substitutions@
6397
6398 2002-08-15  André Pönitz <poenitz@gmx.net>
6399
6400         * lyxfunc.C:
6401         * BufferView_pimpl.C: streamlining mathed <-> outer world
6402         interaction
6403
6404         * commandtags.h:
6405         * LyXAction.C: remove unused LFUN_MATH
6406
6407 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6408
6409         * paragraph.[Ch]: add some NO_NEXT ifdefs.
6410
6411 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6412
6413         * paragraph.C (Paragraph): reformat a bit
6414         (cutIntoMinibuffer): use builtin InsetList function instad of
6415         doing it manually.
6416         (getInset): ditto
6417
6418         * buffer.C: include boost/bind.hpp, add using std::for_each
6419         (writeFileAscii): use ParagraphList iterators
6420         (validate): use for_each for validate traversal of paragraphs
6421         (getBibkeyList): use ParagraphList iterators
6422         (resizeInsets): use for_each to resizeInsetsLyXText for all
6423         paragraphs.
6424         (getParFromID): use ParagraphList iterators
6425
6426         * BufferView2.C (lockInset): use paragraph list and iterators
6427
6428 2002-08-14  John Levon  <levon@movementarian.org>
6429
6430         * lyxserver.C: remove spurious xforms include
6431
6432 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6433
6434         * lyxfunc.C (getStatus): disable math-extern outside of math mode
6435
6436 2002-08-13  André Pönitz <poenitz@gmx.net>
6437
6438         * LyXAction.[Ch]:
6439         * lyxfunc.C: further cleaning
6440
6441 2002-08-13  André Pönitz <poenitz@gmx.net>
6442
6443         * funcrequest.h: new constructor
6444
6445         * funcrequest.C: move stuff here from .h
6446
6447         * Makefile.am:
6448         * BufferView_pimpl.C:
6449         * LyXAction.C:
6450         * toc.C:
6451         * lyxfunc.C: subsequent changes
6452
6453         * lyxfunc.h: new view() member function
6454
6455         * lyxfunc.C: subsequent changes
6456
6457 2002-08-13  Angus Leeming  <leeming@lyx.org>
6458
6459         * BufferView2.C:
6460         * BufferView_pimpl.C:
6461         * buffer.C:
6462         * converter.C:
6463         * importer.C:
6464         * lyxfunc.C:
6465         * lyxvc.C:
6466         * toc.C:
6467         * vc-backend.C:
6468         changes due to the changed LyXView interface that now returns references
6469         to member variables not pointers.
6470
6471 2002-08-13  Angus Leeming  <leeming@lyx.org>
6472
6473         * WordLangTuple (word, lang_code): return references to strings,
6474         not strings.
6475
6476         * BufferView.h:
6477         * SpellBase.h:
6478         * lyxtext.h: forward-declare WordLangTuple.
6479
6480         * BufferView2.C:
6481         * ispell.C:
6482         * pspell.C:
6483         * text.C: #include "WordLangTuple.h".
6484
6485         * lyxtext.h:
6486         * text.C: (selectNextWordToSpellcheck): constify return type.
6487
6488 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
6489
6490         * buffer.C:
6491         * buffer.h:
6492         * lyxtext.h:
6493         * paragraph.C:
6494         * paragraph_pimpl.h:
6495         * text.C:
6496         * text2.C:
6497         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
6498         suggested by Angus.
6499         Made updateCounter always count from start of buffer, and removed
6500         second argument (par).
6501         Reverted floats number display to '#'. Perhaps I'll try again when the
6502         code base is sanitized a bit.
6503
6504 2002-08-12  Angus Leeming  <leeming@lyx.org>
6505
6506         * buffer.[Ch] (getLabelList): constify.
6507
6508 2002-08-07  André Pönitz <poenitz@gmx.net>
6509
6510         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
6511
6512         * funcrequest.h: extension to keep mouse (x,y) position
6513
6514 2002-08-12  Juergen Vigna  <jug@sad.it>
6515
6516         * BufferView2.C (insertErrors): forbid undo when inserting error
6517         insets.
6518
6519         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
6520
6521 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6522
6523         * ParagraphList.[Ch]: new files
6524
6525         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
6526
6527         * BufferView2.C (lockInset): ParagraphList changes
6528         * toc.C: ditto
6529         * text2.C: ditto
6530         * bufferlist.C: ditto
6531         * buffer.h: ditto
6532         * buffer.C: ditto
6533
6534 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6535
6536         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
6537         unused class variable counter_,
6538
6539         * paragraph.[Ch] (getFirstCounter): delete unused function
6540
6541         * counters.C: include LAssert.h
6542         (reset): add a new function with no arg, change other version to
6543         not have def. arg and to not allow empty arg.
6544
6545         * text2.C (setCounter): remove empty arg from call to Counters::reset
6546
6547 2002-08-11  John Levon  <levon@movementarian.org>
6548
6549         * Makefile.am: add WordLangTuple.h
6550
6551 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6552
6553         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
6554         lyxfunc.C lyxlex_pimpl.C: ws changes only.
6555
6556         * insets/insettext.C: InsetList changes
6557
6558         * graphics/GraphicsSupport.C (operator()): InsetList changes
6559
6560         * toc.C (getTocList): InsetList changes
6561
6562         * paragraph_pimpl.[Ch]: InsetList changes
6563
6564         * paragraph.[Ch]: InsetList changes
6565
6566         * buffer.C (inset_iterator): InsetList changes
6567         (setParagraph): ditto
6568         * buffer.h (inset_iterator): ditto
6569         * iterators.C (operator++): ditto
6570         * iterators.h: ditto
6571
6572         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
6573
6574         * InsetList.[Ch]: new files, most InsetList handling moved out of
6575         paragraph.C.
6576
6577         * BufferView2.C (removeAutoInsets): InsetList changes
6578         (lockInset): ditto
6579         (ChangeInsets): ditto
6580
6581 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6582
6583         * paragraph_pimpl.h (empty): new function
6584
6585         * paragraph.[Ch] (empty): new function
6586
6587         * other files: use the new Paragraph::empty function
6588
6589 2002-08-09  John Levon  <levon@movementarian.org>
6590
6591         * lyxtext.h: remove unused refresh_height
6592
6593 2002-08-09  John Levon  <levon@movementarian.org>
6594
6595         * Makefile.am:
6596         * sgml.h:
6597         * sgml.C:
6598         * buffer.C:
6599         * paragraph.h:
6600         * paragraph.C: move sgml char escaping out of paragraph
6601
6602         * paragraph.h:
6603         * paragraph.C: remove id setter
6604
6605         * buffer.C:
6606         * paragraph.C:
6607         * paragraph_pimpl.C: remove dead tex_code_break_column
6608
6609         * bufferview_funcs.C: small cleanup
6610
6611         * lyxfunc.C: remove dead proto
6612
6613         * lyxtext.h: make some stuff private. Remove some dead stuff.
6614
6615         * lyxgluelength.C: make as[LyX]String() readable
6616
6617 2002-08-08  John Levon  <levon@movementarian.org>
6618
6619         * LyXAction.h:
6620         * LyXAction.C:
6621         * MenuBackend.C:
6622         * ToolbarDefaults.C:
6623         * lyxfunc.C:
6624         * lyxrc.C:
6625         * toc.C: lyxaction cleanup
6626
6627 2002-08-08  John Levon  <levon@movementarian.org>
6628
6629         * BufferView2.C: small cleanup
6630
6631         * lyxfind.h:
6632         * lyxfind.C: move unnecessary header into the .C
6633
6634 2002-08-08  John Levon  <levon@movementarian.org>
6635
6636         * funcrequest.h: just tedious nonsense
6637
6638         * lyx_main.h:
6639         * lyx_main.C: cleanups
6640
6641         * buffer.C:
6642         * vspace.C: remove dead header lyx_main.h
6643
6644 2002-08-07  Angus Leeming  <leeming@lyx.org>
6645
6646         * Paragraph.[Ch]:
6647         * paragraph_pimpl.h:
6648         Forward declare class Counters in paragraph.h by moving the ctrs member
6649         variable into Paragraph::Pimpl.
6650         (counters): new method, returning a reference to pimpl_->ctrs.
6651
6652         * text2.C: ensuing changes.
6653
6654 2002-08-07  John Levon  <levon@movementarian.org>
6655
6656         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
6657
6658         * BufferView_pimpl.C: announce X selection on double/triple
6659           click
6660
6661         * lyx_main.C: use correct bool in batch dispatch
6662
6663         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
6664
6665 2002-08-07  André Pönitz <poenitz@gmx.net>
6666
6667         * funcrequest.h: new class to wrap a kb_action and its argument
6668
6669         * BufferView.[Ch]:
6670         * BufferView_pimpl[Ch]:
6671         * LaTeX.C:
6672         * LyXAction.[Ch]:
6673         * lyxfunc.[Ch]:
6674         * lyxrc.C: subsequent changes
6675
6676
6677 2002-08-07  John Levon  <levon@movementarian.org>
6678
6679         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
6680           document options change.
6681
6682 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
6683
6684         * counters.[Ch]
6685         * text2.C
6686         * paragraph.[Ch]
6687         * makefile.am: move counters functionality over from
6688         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
6689
6690 2002-08-06  John Levon  <levon@movementarian.org>
6691
6692         * WordLangTuple.h: new file for word + language code tuple
6693
6694         * SpellBase.h:
6695         * pspell.h:
6696         * pspell.C:
6697         * ispell.h:
6698         * ispell.C:
6699         * lyxtext.h:
6700         * text.C:
6701         * text2.C:
6702         * BufferView.h:
6703         * BufferView2.C: use WordLangTuple
6704
6705         * layout.h:
6706         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
6707
6708 2002-08-06  John Levon  <levon@movementarian.org>
6709
6710         * lyx_main.C: fix cmdline batch handling
6711
6712 2002-08-06  André Pönitz <poenitz@gmx.net>
6713
6714         * lyxrc.C: set default for show_banner to true
6715
6716 2002-08-06  John Levon  <levon@movementarian.org>
6717
6718         * pspell.C: fix a crash, and allow new aspell to work
6719
6720 2002-08-06  John Levon  <levon@movementarian.org>
6721
6722         * lyxfunc.C:
6723         * kbmap.C: small cleanup
6724
6725         * vspace.h:
6726         * vspace.C: add const
6727
6728 2002-08-05  John Levon  <levon@movementarian.org>
6729
6730         * LyXAction.C: back to tabular-insert
6731
6732 2002-08-04  John Levon  <levon@movementarian.org>
6733
6734         * BufferView.h:
6735         * BufferView.C: cosmetic change
6736
6737         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
6738
6739         * bufferlist.C:
6740         * buffer.h:
6741         * buffer.C:
6742         * lyxcb.h:
6743         * lyxcb.C:
6744         * lyxserver.C:
6745         * lyxvc.C:
6746         * vc-backend.C:
6747         * BufferView2.C: purge all "Lyx" not "LyX" strings
6748
6749         * lyxcursor.h:
6750         * lyxcursor.C: attempt to add some documentation
6751
6752         * lyxfunc.C:
6753         * commandtags.h:
6754         * LyXAction.C:
6755         * ToolbarDefaults.C:
6756         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
6757           merge with LFUN_TABULAR_INSERT
6758
6759         * Makefile.am:
6760         * SpellBase.h:
6761         * ispell.h:
6762         * ispell.C:
6763         * pspell.h:
6764         * pspell.C: split up i/pspell implementations into separate
6765           files, many cleanups
6766
6767         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
6768
6769         * text2.C: some cleanup
6770
6771         * lyxfunc.C: don't check for isp_command == "none" any more, it
6772           didn't make any sense
6773
6774 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
6775
6776         * counters.[Ch]
6777         * text2.C
6778         * paragraph.[Ch]
6779         * makefile.am: move counters functionality over
6780         from text2.C/paragraph.[Ch] to counters.[Ch], and
6781         make proper C++.
6782 2002-08-02  John Levon  <levon@movementarian.org>
6783
6784         * buffer.C: s/lyxconvert/lyx2lyx/
6785
6786 2002-08-02  Angus Leeming  <leeming@lyx.org>
6787
6788         * lyxlex.C: revert John's change as it breaks reading of the user
6789         preamble.
6790
6791 2002-08-02  Angus Leeming  <leeming@lyx.org>
6792
6793         * importer.C (Import):
6794         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
6795         changes due to LyXView::view() now returning a boost::shared_ptr.
6796
6797 2002-08-02  John Levon  <levon@movementarian.org>
6798
6799         * lyxlex.C: small cleanup
6800
6801 2002-08-02  John Levon  <levon@movementarian.org>
6802
6803         * text2.C (status): small cleanup, no logic change
6804
6805 2002-08-01  John Levon  <levon@movementarian.org>
6806
6807         * buffer.h:
6808         * buffer.C (writeFile): don't output alerts, caller
6809           handles this
6810
6811         * bufferlist.C:
6812         * lyx_cb.C: from above
6813
6814         * lyxfunc.C: allow to open non-existent files
6815
6816 2002-07-31  John Levon  <levon@movementarian.org>
6817
6818         * lyxserver.C: don't let incidental errors get
6819           in the way (errno)
6820
6821 2002-07-30  John Levon  <levon@movementarian.org>
6822
6823         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
6824
6825 2002-07-30  John Levon  <levon@movementarian.org>
6826
6827         * lyxserver.h:
6828         * lyxserver.C: remove I/O callback too
6829
6830 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6831
6832         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
6833         log.
6834
6835 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6836
6837         * many files: strip,frontStrip -> trim,ltrim,rtrim
6838
6839 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6840
6841         * PrinterParams.h: remove extern containsOnly, and include
6842         support/lstrings.h instead.
6843
6844         * LaTeX.C (scanAuxFile): modify because of strip changes
6845         (deplog): ditto
6846         * buffer.C (makeLaTeXFile): ditto
6847         * bufferparams.C (writeFile): ditt
6848         * lyxfont.C (stateText): ditto
6849         * lyxserver.C (read_ready): ditto
6850         * vc-backend.C (scanMaster): ditto
6851
6852         * BufferView_pimpl.h: ws changes
6853
6854         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
6855
6856 2002-07-26  André Pönitz <poenitz@gmx.net>
6857
6858         * kb_sequence.C: remove unnedred usings
6859
6860 2002-07-26  Juergen Vigna  <jug@sad.it>
6861
6862         * lyxfind.C (LyXReplace): we have to check better if the returned
6863         text is not of theLockingInset()->getLockingInset().
6864
6865 2002-07-25  Juergen Vigna  <jug@sad.it>
6866
6867         * lyxfind.C (LyXReplace): don't replace if we don't get the
6868         right LyXText.
6869
6870         * undo_funcs.C (createUndo): remove debugging code.
6871
6872 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
6873
6874         * buffer.C (parseSingleLyXformat2Token): Use default placement
6875         when reading old floats.
6876
6877         * FloatList.C (FloatList): Change the default placement of figure
6878         and tables to "tbp".
6879
6880 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
6881
6882         * MenuBackend.C: using std::max
6883
6884 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6885
6886         * MenuBackend.C (expandToc):
6887         (expandToc2): code moved from xforms menu frontend. It is now
6888         generic and TOCs are transparent to menu frontends.
6889
6890 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6891
6892         * toc.C (getTocList): protect against buf=0
6893
6894         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
6895         Menu as first parameter. Now, this calls itself recursively to
6896         expand a whole tree (this will be useful for TOC handling)
6897         (expandFloatInsert): remove 'wide' version of floats
6898
6899         * MenuBackend.h (submenuname): returns the name of the submenu.
6900         (submenu): returns the submenu itself, provided it has been
6901         created by MenuBackend::expand
6902
6903 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6904
6905         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
6906         insets which have noFontChange == true. (bug #172)
6907
6908 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6909
6910         * BufferView_pimpl.C: add connection objects and use them...
6911         (Pimpl): here.
6912
6913 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6914
6915         * MenuBackend.C (expandLastfiles):
6916         (expandDocuments):
6917         (expandFormats):
6918         (expandFloatListInsert):
6919         (expandFloatInsert):
6920         (expand): split expand in parts
6921
6922 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6923
6924         * lyx_gui.C: use lyx_gui::exit()
6925
6926 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6927
6928         * LyXAction.C: show the failing pseudo action
6929
6930 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
6931
6932         * buffer.C (readFile): Run the lyxconvert script in order to read
6933         old files.
6934
6935 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6936
6937         * LyXAction.C:
6938         * commandtags.h:
6939         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
6940
6941 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6942
6943         * LyXAction.C:
6944         * commandtags.h:
6945         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
6946
6947 2002-07-22  Herbert Voss  <voss@lyx.org>
6948
6949         * lengthcommon.C:
6950         * lyxlength.[Ch]: add support for the vertical lengths
6951
6952 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
6953
6954         * toc.[Ch]: std:: fixes
6955
6956 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6957
6958         * lyxrc.C: do not include lyx_main.h
6959
6960         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
6961         for layouts
6962
6963         * lyxrc.C:
6964         * encoding.C:
6965         * bufferlist.C:
6966         * BufferView2.C: include "lyxlex.h"
6967
6968         * tabular.h:
6969         * bufferparams.h: do not #include "lyxlex.h"
6970
6971         * lyxtextclasslist.C (Add): remove method
6972         (classlist): renamed to classlist_
6973
6974         * paragraph_pimpl.C:
6975         * paragraph.C:
6976         * text2.C:
6977         * CutAndPaste.C:
6978         * bufferview_funcs.C:
6979         * bufferlist.C:
6980         * text.C:
6981         * LaTeXFeatures.C:
6982         * buffer.C:
6983         * toc.C (getTocList): use BufferParams::getLyXTextClass
6984
6985         * toc.C (getTocList): use InsetFloat::addToToc
6986
6987         * toc.[Ch]: new files, containing helper functions to handle table
6988         of contents
6989
6990         * lyxfunc.C (dispatch): no need to remove spaces around command
6991         given as a string
6992         (getStatus): handle LFUN_SEQUENCE by returning the status of the
6993         first command of the sequence; it is not very clever, but I do not
6994         have a better idea, actually
6995
6996         * LyXAction.C (LookupFunc): make sure to remove space at the
6997         beginning and end of the command
6998
6999 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7000
7001         * MenuBackend.C (getMenubar): new method: return the menubar of
7002         this menu set
7003         (read): treat differently reading of menu and menubar (in
7004         particular, the menubar has no name now)
7005         (Menu::menubar): remove
7006
7007         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7008         saving is finished
7009
7010 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7011
7012         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7013         a bibitem inset in a RTL paragraph.
7014
7015 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
7016
7017         * paragraph_pimpl.C: constify
7018
7019         * BufferView_pimpl.C:
7020         * LaTeX.C:
7021         * lyxfunc.C: fix dispatch in a nicer way
7022
7023 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7024
7025         * lyxfunc.C (dispatch):
7026         * BufferView_pimpl.C:
7027         * BufferView_pimpl.h:
7028         * BufferView.C:
7029         * BufferView.h: rename Dispatch() to dispatch()
7030
7031         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7032
7033         * lyxlayout.C (Read): honor DependsOn tag
7034
7035         * lyxlayout.[Ch] (depends_on): new method
7036
7037         * version.C.in: update lyx_docversion
7038
7039         * LaTeXFeatures.C (getMacros): only define \LyX when needed
7040
7041         * paragraph.C (validate): remove from here...
7042         * paragraph_pimpl.C (validate): ... and move here
7043         (isTextAt): make it const
7044
7045         * buffer.C (getLists): ws cleanup
7046
7047 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7048
7049         * language.C (read): Use iso8859-1 encoding in latex_lang
7050         (this prevents LyX from crashing when using iso10646-1 encoding).
7051
7052 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7053
7054         * text2.C (toggleInset): if cursor is inside an inset, close the
7055         inset and leave cursor _after_ it
7056
7057 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7058
7059         * lyxfunc.C: move minibuffer completion handling out of here
7060
7061 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7062
7063         * BufferView_pimpl.C:
7064         * LaTeX.C: fix dispatch calls
7065
7066 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
7067
7068         * text.C (drawChars): Fix Arabic text rendering.
7069
7070 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
7071
7072         * LyXAction.C:
7073         * commandtags.h:
7074         * lyxfunc.C: remove message-push/pop
7075
7076         * lyxserver.C:
7077         * lyxfunc.h:
7078         * lyxfunc.C: rationalise some code by removing verboseDispatch
7079           in favour of a bool argument to dispatch()
7080
7081 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7082
7083         * lyx_main.C (init): make sure to read symlinks as absolute paths
7084
7085 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7086
7087         * lyxfunc.h:
7088         * lyxfunc.C: no need for commandshortcut to be a member
7089
7090 2002-07-15  André Pönitz <poenitz@gmx.net>
7091
7092         * converter.C: add support for $$s (scripts from lib/scripts dir)
7093         * lyx_main.C: white space
7094
7095 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7096
7097         * bufferlist.C:
7098         * lyxrc.h:
7099         * lyxrc.C: remove second exit confirmation
7100
7101 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7102
7103         * BufferView.h:
7104         * BufferView.C:
7105         * BufferView2.C:
7106         * BufferView_pimpl.h:
7107         * BufferView_pimpl.C:
7108         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
7109
7110 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7111
7112         * MenuBackend.C (expand): add numeric shortcuts to document menu
7113
7114         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
7115
7116 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7117
7118         * lyxfont.C (setLyXFamily):
7119         (setLyXSeries):
7120         (setLyXShape):
7121         (setLyXSize):
7122         (setLyXMisc):
7123         (lyxRead):
7124         * debug.C (value):
7125         * buffer.C (asciiParagraph): use ascii_lowercase
7126
7127 2002-07-15  Mike Fabian  <mfabian@suse.de>
7128
7129         * lyxlex_pimpl.C (search_kw):
7130         * lyxlex.C (getLongString):
7131         * converter.h (operator<):
7132         * converter.C (operator<):
7133         * buffer.C (parseSingleLyXformat2Token):
7134         (asciiParagraph):
7135         * ToolbarDefaults.C (read):
7136         * MenuBackend.C (checkShortcuts):
7137         (read):
7138         * LColor.C (getFromGUIName):
7139         (getFromLyXName): use the compare_ascii_no_case instead of
7140         compare_no_case, because in turkish, 'i' is not the lowercase
7141         version of 'I', and thus turkish locale breaks parsing of tags.
7142
7143 2002-07-16  Angus Leeming  <leeming@lyx.org>
7144
7145         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
7146         now takes a Buffer const & argument.
7147
7148 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
7149
7150         * BufferView.C (resize): check there's a buffer to resize
7151
7152 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
7153
7154         * lyxfunc.C: remove dead code
7155
7156         * lyxserver.h:
7157         * lyxserver.C: use lyx_guii::set_read_callback
7158
7159 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
7160
7161         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
7162         an inset in a RTL paragraph.
7163
7164 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7165
7166         * lyxfunc.C: repaint after a font size update
7167
7168 2002-07-15  André Pönitz <poenitz@gmx.net>
7169
7170         * lyxlength.C: inBP should be able to return negative values
7171
7172 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7173
7174         * lyxfunc.C: use lyx_gui::update_fonts()
7175
7176 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7177
7178         * lyxfunc.C: use lyx_gui::update_color()
7179
7180 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7181
7182         * bufferlist.C:
7183         * lyxfunc.h:
7184         * lyxfunc.C:
7185         * lyxrc.h:
7186         * lyxrc.C: remove file->new asks for name option, and let
7187           buffer-new take an argument
7188
7189 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7190
7191         * BufferView_pimpl.C: remove unneeded extra repaint()
7192
7193 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
7194
7195         * LyXAction.C: allow command-sequence with NoBuffer
7196
7197         * lyxfunc.C: don't insist on trailing ';' for command-sequence
7198
7199 2002-07-10  Angus Leeming  <leeming@lyx.org>
7200
7201         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7202
7203 2002-07-09  Angus Leeming  <leeming@lyx.org>
7204
7205         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7206
7207 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7208
7209         * lengthcommon.h: whitespace
7210
7211         * lyxfunc.C: update scrollbar after goto paragraph
7212
7213         * lyxtext.h: factor out page break drawing, and fix it so
7214           page break/added space paints as selected nicely
7215
7216 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7217
7218         * BufferView_pimpl.C: add FIXMEs, clean up a little
7219
7220 2002-07-09  André Pönitz <poenitz@gmx.net>
7221
7222         * lyxfont.[Ch]: support for wasy symbols
7223
7224 2002-07-08  André Pönitz <poenitz@gmx.net>
7225
7226         * BufferView_pimpl.C: apply John's patch for #93.
7227
7228 2002-07-05  Angus Leeming  <leeming@lyx.org>
7229
7230         * BufferView_pimpl.C (buffer): generate previews if desired.
7231
7232         * LColor.h: add "preview" to the color enum.
7233
7234         * LColor.C (LColor): add a corresponding entry to the items array.
7235
7236         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7237         with this buffer.
7238
7239 2002-07-05  Angus Leeming  <leeming@lyx.org>
7240
7241         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7242         The body of the code is now in the method that is passed an ostream &
7243         rather than a file name.
7244         Pass an additional only_preamble parameter, useful for the forthcoming
7245         preview stuff.
7246
7247 2002-07-03  André Pönitz <poenitz@gmx.net>
7248
7249         * lyxfunc.C: simplify getStatus() a bit for math stuff
7250
7251 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7252
7253         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7254
7255 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7256
7257         * text.C (changeRegionCase): do not change case of all the
7258         document when region ends at paragraph end (bug #461)
7259
7260 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7261
7262         * paragraph.C (startTeXParParams):
7263         (endTeXParParams): add \protect when necessary
7264
7265 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7266
7267         * BufferView_pimpl.C (workAreaExpose): remove warning
7268
7269 2002-06-27  Angus Leeming  <leeming@lyx.org>
7270
7271         * Makefile.am: add lyxlayout_ptr_fwd.h.
7272
7273 2002-06-26  André Pönitz <poenitz@gmx.net>
7274
7275         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7276
7277 2002-06-25  Angus Leeming  <leeming@lyx.org>
7278
7279         * lyxfunc.C (dispatch): Comment out the call to
7280         grfx::GCache::changeDisplay. The method no longer exists now that the
7281         pixmap generation part of the graphics loader has been moved into
7282         InsetGraphics.
7283
7284 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7285
7286         * text2.C: layout as layout
7287
7288         * text.C: layout as layout
7289
7290         * tabular.C (OldFormatRead): layout as layout
7291
7292         * paragraph_pimpl.C (TeXDeeper): layout as layout
7293         (realizeFont): layout as layout
7294
7295         * paragraph.C (writeFile): layout as layout
7296         (validate): layout as layout
7297         (getFont): layout as layout
7298         (getLabelFont): layout as layout
7299         (getLayoutFont): layout as layout
7300         (breakParagraph): layout as layout
7301         (stripLeadingSpaces): layout as layout
7302         (getEndLabel): layout as layout
7303         (getMaxDepthAfter): layout as layout
7304         (applyLayout): layout as layout
7305         (TeXOnePar): layout as layout
7306         (simpleTeXOnePar): layout as layout
7307         (TeXEnvironment): layout as layout
7308         (layout): layout as layout
7309         (layout): layout as layout
7310
7311         * lyxtextclass.C (compare_name): new functor to work with
7312         shared_ptr, layout as layout
7313         (Read): layout as layout
7314         (hasLayout): layout as layout
7315         (operator): layout as layout
7316         (delete_layout): layout as layout
7317         (defaultLayout): layout as layout
7318
7319         * lyxlayout_ptr_fwd.h: new file
7320
7321         * lyxlayout.C (Read): layout as layout
7322
7323         * lyx_cb.C (MenuInsertLabel): layout as layout
7324
7325         * bufferlist.C (newFile): layout as layout
7326
7327         * buffer.C (readLyXformat2): layout as layout
7328         (parseSingleLyXformat2Token): layout as layout
7329         (insertStringAsLines): layout as layout
7330         (asciiParagraph): layout as layout
7331         (latexParagraphs): layout as layout
7332         (makeLinuxDocFile): layout as layout
7333         (simpleLinuxDocOnePar): layout as layout
7334         (makeDocBookFile): layout as layout
7335         (simpleDocBookOnePar): layout as layout
7336         (getLists): layout as layout
7337
7338         * LaTeXFeatures.C (getTClassPreamble): layout as layout
7339
7340         * CutAndPaste.C (cutSelection): layout as layout
7341         (pasteSelection): layout as layout
7342         (SwitchLayoutsBetweenClasses): layout as layout
7343
7344         * BufferView_pimpl.C (Dispatch): layout as layout
7345         (smartQuote): layout as layout
7346
7347         * BufferView2.C (unlockInset): layout as layout
7348
7349 2002-06-24  André Pönitz <poenitz@gmx.net>
7350
7351         * lyxfunc.C: fix #487
7352
7353 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7354
7355         * lyxrc.h:
7356         * lyxrc.C:
7357         * lyxfunc.C: remove display_shortcuts, show_banner
7358
7359 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7360
7361         * Buffer_pimpl.C: oops, update on resize
7362
7363 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7364
7365         * buffer.C:
7366         * converter.C:
7367         * exporter.C:
7368         * lyxfunc.C:
7369         * BufferView.h:
7370         * BufferView.C: use repaint()
7371
7372         * BufferView_pimpl.h:
7373         * BufferView_pimpl.C: s/updateScreen()/repaint()/
7374           as it's a clearer description. Remove superfluous
7375           redraws.
7376
7377 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7378
7379         * text.C: fix bug 488. Not ideal, but getting
7380           getWord() to work properly for the insets that
7381           matter is more difficult ...
7382
7383 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7384
7385         * BufferView_pimpl.C:
7386         * LyXAction.C:
7387         * commandtags.h:
7388         * lyxfunc.C: remove the six million index lyxfuncs to just
7389           one, and DTRT (bug 458)
7390
7391 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7392
7393         * BufferView.h:
7394         * BufferView.C:
7395         * BufferView_pimpl.h:
7396         * BufferView_pimpl.C: clean up resize() stuff,
7397           and unnecessary updateScreen()s
7398
7399 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7400
7401         * BufferView.h:
7402         * BufferView.C:
7403         * BufferView_pimpl.h:
7404         * BufferView_pimpl.C:
7405         * lyxfind.h:
7406         * lyxfind.C:
7407         * minibuffer.C: remove focus management of workarea,
7408           not needed. Use screen's greyOut()
7409
7410 2002-06-17  Herbert Voss  <voss@lyx.org>
7411
7412         * converter.C: (convert) do not post a message, when converting
7413         fails, let the calling function decide what to do in this case
7414
7415 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
7416
7417         * lyxfunc.C: tidy up a little
7418
7419 2002-06-16    <alstrup@diku.dk>
7420
7421         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
7422         Got rid of FORMS_H_LOCATION include. Now we are
7423         GUII.
7424
7425 2002-06-15  LyX Development team  <lyx@rilke>
7426
7427         * buffer.[Ch] (sgmlOpenTag):
7428         (sgmlCloseTag): Added support for avoiding pernicious mixed
7429         content. Return number of lines written.
7430
7431         (makeLinuxDocFile):
7432         (makeDocBookFile): Fixed calls to sgml*Tag.
7433         Simple white space clean.
7434
7435         (simpleDocBookOnePar): Simple white space clean.
7436
7437         * tabular.[Ch] (docBook): Renamed to docbook and got another
7438         argument to related with the pernicious mixed content.
7439
7440         (docbookRow): Fixed calls for docbook inset method.
7441
7442 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
7443
7444         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
7445         so it's X11 independent.
7446
7447         * kb*.[Ch]: ditto.
7448
7449         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
7450
7451 2002-06-15  Lyx Development team  <lyx@electronia>
7452
7453         * intl.h: Renamed getTrans to getTransManager.
7454
7455 2002-06-14  Angus Leeming  <leeming@lyx.org>
7456
7457         * Makefile.am: nuke forgotten stl_string_fwd.h.
7458
7459 2002-06-12  Angus Leeming  <leeming@lyx.org>
7460
7461         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
7462
7463 2002-06-13  Angus Leeming  <leeming@lyx.org>
7464
7465         * LaTeX.C:
7466         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
7467
7468 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
7469
7470         * kbmap.C (getiso): add support for cyrillic and greek
7471
7472 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7473
7474         * BufferView.h:
7475         * BufferView.C:
7476         * BufferView_pimpl.h:
7477         * BufferView_pimpl.C: move bogus scrolling logic
7478           to xforms
7479
7480 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7481
7482         * lyxfunc.C:
7483         * BufferView_pimpl.C: view->resize() change
7484
7485 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7486
7487         * BufferView_pimpl.C: topCursorVisible
7488           prototype change
7489
7490 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7491
7492         * Makefile.am:
7493         * lyx_gui.h:
7494         * lyx_gui.C: move to frontends/
7495
7496         * main.C:
7497         * lyx_main.h:
7498         * lyx_main.C: changes from above
7499
7500 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7501
7502         * intl.C:
7503         * intl.h:
7504         * kbmap.C:
7505         * kbsequence.C:
7506         * lyx_cb.C:
7507         * lyx_main.C: minor tidy
7508
7509 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7510
7511         * BufferView_pimpl.h:
7512         * BufferView_pimpl.C:
7513         * BufferView.h:
7514         * BufferView.C: make painter() const,
7515           remove dead code
7516
7517         * BufferView2.C: use screen() accessor
7518
7519         * lyx_main.h:
7520         * lyx_main.C: some minor cleanup
7521
7522 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7523
7524         * BufferView_pimpl.h:
7525         * BufferView_pimpl.C: remove enter/leaveView,
7526           use workHeight()
7527
7528 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7529
7530         * BufferView.h:
7531         * BufferView.C:
7532         * BufferView2.C:
7533         * BufferView_pimpl.h:
7534         * BufferView_pimpl.C: only construct screen once,
7535           rename
7536
7537         * lyxrc.C: remove pointless comment
7538
7539 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
7540
7541         * BufferView.h:
7542         * BufferView.C: remove active() and belowMouse()
7543
7544         * BufferView_pimpl.h:
7545         * BufferView_pimpl.C: use workarea() not workarea_,
7546           and make it use a scoped_ptr instead
7547
7548 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
7549
7550         * lyx_gui.C: add debug message on BadWindow
7551
7552 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7553
7554         * sp_spell.C: fdopen is not part of the C++ standard.
7555
7556         * paragraph.C (InsetIterator): use >= instead of ==
7557
7558 2002-06-07  Angus Leeming  <leeming@lyx.org>
7559
7560         Fixes needed to compile with Compaq cxx 6.5.
7561         * BufferView_pimpl.C:
7562         * DepTable.C:
7563         * buffer.C:
7564         * converter.C:
7565         * encoding.C:
7566         * lyx_gui.C:
7567         * lyx_main.C:
7568         * lyxtextclasslist.C:
7569         * minibuffer.C:
7570         * sp_spell.C:
7571         * tabular_funcs.C:
7572         * vc-backend.C:
7573         all c-library variables have been moved into namespace std. Wrap
7574         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
7575
7576         * lyxlength.C:
7577         * tabular-old.C:
7578         * tabular.C:
7579         Add a using std::abs declaration.
7580
7581         * kbmap.h (modifier_pair):
7582         * paragraph.h (InsetTable, InsetList):
7583         * lyxfont.h (FontBits):
7584         type definition made public.
7585
7586         * bufferlist.C (emergencyWriteAll): the compiler complains that
7587         there is more than one possible lyx::class_fun template to choose from.
7588         I re-named the void specialisation as lyx::void_class_fun.
7589
7590         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
7591
7592         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
7593         the compiler is is unable to find tostr in write_attribute.
7594
7595 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7596
7597         * buffer.C (sgmlError): hide #warning
7598
7599 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7600
7601         * xtl/*: get rid of xtl, which is not in use anyway
7602
7603         * LyXAction.C (init):
7604         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
7605         were unimplemented xtl experimentation
7606
7607 2002-06-04  André Pönitz <poenitz@gmx.net>
7608
7609         * lyxfunc.C: disable array operation on simple formulae
7610
7611 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
7612
7613         * converter.C: constify a bit
7614
7615 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
7616
7617         * lyx_gui.C: check xforms version correctly
7618
7619 2002-04-30  Herbert Voss  <voss@lyx.org>
7620
7621         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
7622         "keep" option
7623
7624 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
7625
7626         * lyxvc.C: fix bug 416 (make sure buffer is saved before
7627           attempt to register it with a VCS)
7628
7629 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7630
7631         * lyx_main.C (init): honor variables LYX_DIR_13x and
7632         LYX_USERDIR_13x
7633
7634 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
7635
7636         * buffer.h:
7637         * buffer.C:
7638         * lyx_main.C: fix a crash on bad command line,
7639           and give a useful exit status on error
7640
7641         * lyxfunc.C (doImport): allow -i lyx to work
7642
7643 2002-03-30  André Pönitz <poenitz@gmx.net>
7644
7645         * lyxfunc.C: mathed font changes
7646
7647 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
7648
7649         * LaTeX.C:
7650         * importer.h:
7651         * importer.C:
7652         * lyx_sty.h:
7653         * lyx_sty.C:
7654         * lyxlex.C:
7655         * lyxrow.h:
7656         * lyxtext.h:
7657         * paragraph.h:
7658         * paragraph.C:
7659         * texrow.h:
7660         * texrow.C:
7661         * text.C:
7662         * trans_mgr.h: srcdocs, and some minor cleanups
7663
7664 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7665
7666         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
7667         call getFont all the time)
7668
7669 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7670
7671         * switch from SigC signals to boost::signals
7672
7673 2002-05-29  André Pönitz <poenitz@gmx.net>
7674
7675         * paragraph_pimpl.C (getChar): don't call size() too often...
7676
7677 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7678
7679         * paragraph_pimpl.C (insertChar): do not try to update tables when
7680         appending (pos == size())
7681
7682         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
7683         in order to reduce drastically the number of comparisons needed to
7684         parse a large document
7685
7686 2002-05-29  André Pönitz <poenitz@gmx.net>
7687
7688         * text.C:
7689         * text2.C:
7690         * lyxtextclass.C:
7691         * sp_pspell.h:
7692         * textclasslist.[Ch]:
7693         * sp_ispell.h: whitespace change
7694
7695 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7696
7697         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
7698         lyxaction directly now.
7699
7700 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
7701
7702         * trans.C:
7703         * lyxfont.C:
7704         * lyxvc.C: remove unused headers
7705
7706 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
7707
7708         * Makefile.am:
7709         * buffer.h:
7710         * undostack.h:
7711         * undostack.C:
7712         * undo_funcs.h:
7713         * undo_funcs.C: some cleanups. Use shared_ptr
7714           and a template for the undo stacks.
7715
7716 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
7717
7718         * BufferView_pimpl.h:
7719         * BufferView_pimpl.C:
7720         * kbmap.h:
7721         * kbmap.C:
7722         * kbsequence.h:
7723         * kbsequence.C:
7724         * lyxfunc.h:
7725         * lyxfunc.C:
7726         * text2.C: use key_state/mouse_state
7727
7728 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7729
7730         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
7731         and LSubstring
7732
7733         * chset.C: change include order
7734         (loadFile): use boost regex and get rid of LRegex and LSubstring
7735
7736         * Makefile.am (BOOST_LIBS): new variable
7737         (lyx_LDADD): use it
7738
7739         * LaTeX.C: change include order.
7740         (scanAuxFile): use boost regex and get rid of LRegex and
7741         LSubstring
7742         (deplog): ditto
7743
7744 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
7745
7746         * ColorHandler.h:
7747         * ColorHandler.C:
7748         * FontInfo.h:
7749         * FontInfo.C: moved to frontends/xforms/
7750
7751         * FontLoader.h:
7752         * FontLoader.C: moved into frontends for GUIIzation
7753
7754         * Makefile.am:
7755         * lyx_gui.C:
7756         * lyxfont.C:
7757         * lyxfunc.C: changes from above
7758
7759 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
7760
7761         * LColor.C: remove spurious X include
7762
7763         * BufferView_pimpl.C:
7764         * Makefile.am:
7765         * font.h:
7766         * font.C:
7767         * text.C:
7768         * text2.C: move font metrics to frontends/
7769
7770 2002-05-24  Juergen Vigna  <jug@sad.it>
7771
7772         * undo_funcs.C (textHandleUndo): fix the cursor selection after
7773         setting the undo_cursor.
7774
7775         * ParagraphParameters.h: include local includes first.
7776
7777 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7778
7779         * BufferView_pimpl.C:
7780         * BufferView_pimpl.h:
7781         * Makefile.am:
7782         * WorkArea.h:
7783         * WorkArea.C:
7784         * screen.C: move WorkArea into frontends/
7785
7786         * lyxscreen.h:
7787         * screen.C:
7788         * text.C:
7789         * BufferView.C:
7790         * BufferView2.C: move LyXScreen into frontends/
7791
7792         * lyxlookup.h:
7793         * lyxlookup.C:
7794         * lyx_gui.C: move lyxlookup into frontends/xforms/
7795
7796 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7797
7798         * BufferView2.C:
7799         * BufferView_pimpl.C:
7800         * FontLoader.C:
7801         * LyXView.h:
7802         * LyXView.C:
7803         * Makefile.am:
7804         * WorkArea.C:
7805         * XFormsView.h:
7806         * XFormsView.C:
7807         * buffer.C:
7808         * bufferlist.C:
7809         * bufferview_funcs.C:
7810         * converter.C:
7811         * importer.C:
7812         * lyx_cb.C:
7813         * lyx_gui.C:
7814         * lyx_main.C:
7815         * lyx_find.C:
7816         * lyxfunc.C:
7817         * lyxvc.C:
7818         * minibuffer.C:
7819         * text.C:
7820         * text2.C:
7821         * trans.C:
7822         * vc-backend.C: move LyX/XFormsView into frontends/
7823
7824 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7825
7826         * Makefile.am:
7827         * PainterBase.C:
7828         * PainterBase.h:
7829         * Painter.C:
7830         * Painter.h:
7831         * WorkArea.C:
7832         * WorkArea.h:
7833         * screen.C:
7834         * tabular.C:
7835         * text.C:
7836         * text2.C: move Painter to frontends/
7837
7838 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7839
7840         * buffer.C: comment out some some code that depend upon lyx_format
7841         < 220
7842
7843         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
7844         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
7845
7846         * buffer.h (NO_COMPABILITY): turn off compability
7847
7848         * ColorHandler.C: include scoped_array.hpp
7849
7850         * font.C: Use more specific smart_ptr header.
7851         * Painter.C: ditto
7852         * gettext.C: ditto
7853         * ShareContainer.h: ditto
7854         * lyx_main.h: ditto
7855         * kbmap.h: ditto
7856         * FontInfo.h: ditto
7857         * BufferView_pimpl.h: ditto
7858         * ColorHandler.h: ditto
7859
7860         * kbmap.C (defkey): change call to shared_ptr::reset
7861
7862 2002-05-21  Juergen Vigna  <jug@sad.it>
7863
7864         * buffer.C (insertErtContents): fix to insert ert asis if it is
7865         non empty. Skip it completely if it contains only whitespaces.
7866
7867 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
7868
7869         * BufferView_pimpl.C:
7870         * BufferView2.C: clear selection on paste (bug 393)
7871
7872 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7873
7874         * DepTable.C: include ctime
7875
7876 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
7877
7878         * buffer.C (latexParagraphs): Add new argument (moving_arg).
7879
7880 2002-05-14  Juergen Vigna  <jug@sad.it>
7881
7882         * text.C (breakParagraph): fixed function to honor the keepempty
7883         layout in the right maner and also to permit the right breaking
7884         algorithm on empty or non empyt keepempty paragraphs.
7885
7886         * paragraph.C (breakParagraph): we have to check also if the par
7887         is really empty (!size()) for isempty otherwise we do the wrong
7888         paragraph break.
7889
7890 2002-05-10  Juergen Vigna  <jug@sad.it>
7891
7892         * buffer.[Ch] : The following are only changes to the ert
7893         compatibility read reading old LaTeX layout and font stuff and
7894         convert it to ERTInsets.
7895
7896         * buffer.h: added isErtInset().
7897
7898         * buffer.C (struct ErtComp): add a fromlayout bool to check
7899         if we're inside a LaTeX layout.
7900         (isErtInset): new helper function.
7901         (insertErtContents): look for other ert insets before this one
7902         and insert the contents there, so that we don't have subsequent
7903         ERT insets with nothing between them. This way we create only one
7904         inset with multiple paragraphs. Also check if we don't insert only
7905         spaces ' ' as they are ignored anyway afterwards in the .tex file
7906         so if we have only spaces we will ignore this latex part in the
7907         new file.
7908         (parseSingleLyXformat2Token \\layout): better compatibility when
7909         reading layout-latex stuff.
7910         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
7911         language tag.
7912         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
7913         stuff after reading the inset only get the information back from
7914         the stack.
7915
7916 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
7917
7918         * buffer.C (makeLaTeXFile): Put language options after loading babel.
7919
7920         * LaTeXFeatures.C (getBabelOptions): New method.
7921
7922 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7923
7924         * BufferView_pimpl.C (Dispatch): work around missing argument for
7925         'layout'
7926
7927 2002-05-08  Juergen Vigna  <jug@sad.it>
7928
7929         * text.C (leftMargin): handle paragraph leftindent.
7930
7931         * paragraph.C (writeFile): write the new \\leftindent tag.
7932         (validate): handle leftindent code.
7933         (TeXEnvironment): handle paragraphleftindent code again.
7934
7935         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
7936
7937         * buffer.C (parseSingleLyXformat2Token): added compatibility code
7938         for paragrap_extra indent code and new token \\leftindent.
7939         (latexParagraphs): handle the leftindent as environment.
7940
7941         * ParameterStruct.h: added leftindent support.
7942
7943         * ParagraphParameters.C (leftIndent): added support functions for
7944         the paragraph left indent.
7945
7946         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
7947         more appropriate.
7948
7949 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
7950
7951         * paragraph.C (isRightToLeftPar): Return false for a paragraph
7952         inside insetERT.
7953
7954         * text.C (computeBidiTables): No bidi in insetERT.
7955
7956         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
7957         in RTL documents.
7958
7959 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7960
7961         * version.C.in: pre 5
7962
7963 2002-05-02  José Matos  <jamatos@fep.up.pt>
7964         * buffer.C (makeDocBookFile): white space changes, add newline to
7965         command styles.
7966         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
7967
7968         * tabular.C (docBook): fix typo.
7969
7970 2002-05-03  Juergen Vigna  <jug@sad.it>
7971
7972         * screen.C (drawFromTo): recalculate the rowpointer if we had a
7973         change in LyXText as we can not be sure it was not freed.
7974         (drawOneRow): remove unused code.
7975
7976         * text.C (drawInset): redo the calculation of the need_break_row as
7977         it could have a row which was already freed.
7978         (draw): look at the return value of drawInset and return false if
7979         it also returned false.
7980         (paintRowText): look at the return value of draw and return false if
7981         it also returned false.
7982
7983         * lyxtext.h: added bool return type to drawInset() and draw() so that
7984         if we have a change in the row so that the rowbreak has to be redone
7985         we abort drawing as it will be called again.
7986
7987 2002-05-02  Juergen Vigna  <jug@sad.it>
7988
7989         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
7990         a change in the maintext also if we're inside an inset.
7991         (Dispatch): set the cursor again after a break line and after the
7992         screen has been updated as it could be we're in a different row.
7993
7994         * text2.C (fixCursorAfterDelete): check to make sure we don't request
7995         to set the cursor behind the pargraph with > size().
7996         (setCursor): check also for the same paragraph when checking where
7997         to put the cursor if we have a NFR inset.
7998
7999         * buffer.C (parseSingleLyXformat2Token): move the compatibility
8000         parts of layout read further up as it still was in the wrong
8001         position.
8002
8003 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8004
8005         * screen.C (drawFromTo): change sine fullRebreak always return
8006         true.
8007
8008         * buffer.C (parseSingleLyXformat2Token): reindent some
8009
8010         * BufferView_pimpl.C (update): change since fullRebreak always
8011         return true.
8012         (Dispatch): git rid of the last hardcoded "Standard"s.
8013
8014 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8015
8016         * text2.[Ch] (fullRebreak): make it return void now that we always
8017         returned true.
8018
8019 2002-04-30  Juergen Vigna  <jug@sad.it>
8020
8021         * buffer.C (parseSingleLyXformat2Token): reset the font before the
8022         ert compatibility check for "latex" layout.
8023
8024 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
8025
8026         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8027         minipages: use col% instead of p%, and also use the current font.
8028         (makeLaTeXFile): Fix use babel condition.
8029         (parseSingleLyXformat2Token): Correct font when reading old floats.
8030
8031 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
8032
8033         * BufferView_pimpl.C (Dispatch): Check that float type exists when
8034         inserting list of floats.
8035
8036 2002-04-25  Herbert Voss  <voss@lyx.org>
8037
8038         * MenuBackend.C (expand): don't add the graphics extensions to the
8039         export menu
8040
8041 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8042
8043         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8044         non-existing layout, do not complain if it was the default layout
8045         of the original class (bug #342)
8046
8047 2002-04-24  Juergen Vigna  <jug@sad.it>
8048
8049         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
8050         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
8051
8052 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
8053
8054         * buffer.C (getBibkeyList): If using \bibliography, return the
8055         option field with the reference itself. Enables us to provide natbib
8056         support when using \bibliography.
8057
8058 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
8059
8060         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
8061
8062         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8063         natbib is provided by the LaTeX class.
8064
8065 2002-04-23  Juergen Vigna  <jug@sad.it>
8066
8067         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
8068         Wakeup functions.
8069
8070         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
8071
8072 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8073
8074         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
8075
8076         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
8077         ensuremath around textordmasculine, textordfeminine and
8078         textdegree.
8079
8080 2002-04-19  Juergen Vigna  <jug@sad.it>
8081
8082         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
8083         reinitializing the buffer otherwise row-dimensions may be wrong.
8084         (update): reset also the selection cursors if they do exits otherwise
8085         their x/y positions may be wrong.
8086
8087         * text2.C (cursorDown): don't enter the inset if we came from a row
8088         above and are one row over the inset.
8089
8090         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
8091         really leaving an inset.
8092
8093 2002-04-18  Juergen Vigna  <jug@sad.it>
8094
8095         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
8096         of the selected paragraph does not have the selected layout also if
8097         the last one had!
8098
8099         * text2.C (setLayout): fixed bug which did not change last selected
8100         paragraph.
8101
8102         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
8103         changed the read and substituted \\end_float with \\end_inset!
8104
8105         * BufferView_pimpl.C (cursorPrevious):
8106         (cursorNext): fixed to make it work with rows heigher than the work
8107         area without moving the cursor only the draw of the row.
8108         (workAreaMotionNotify): fix jumping over high rows.
8109
8110 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8111
8112         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
8113         Ressler.
8114
8115 2002-04-16  Juergen Vigna  <jug@sad.it>
8116
8117         * text2.C (setCursor): set also the irow().
8118         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
8119         (cursorUp):
8120         (cursorDown): support for locking an inset if the x_fix value goes
8121         inside it. That way I can transverse insets too with cursor up/down.
8122
8123         * lyxrow.h: added irow helper function same as other (i) functions.
8124
8125         * BufferView_pimpl.C (cursorPrevious):
8126         (cursorNext): fixed for insets!
8127
8128 2002-04-15  Juergen Vigna  <jug@sad.it>
8129
8130         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
8131         position otherwise it is wrong in some cases.
8132
8133         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
8134         inside the inset before the call.
8135
8136 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
8137
8138         * buffer.[Ch] (getBibkeyList): make it const.
8139
8140 2002-04-12  Juergen Vigna  <jug@sad.it>
8141
8142         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
8143
8144         * text2.C (getCursorX): new helper function
8145         (setCursor): compute also ix_
8146         (setCursorFromCoordinates): set also ix.
8147
8148         * lyxcursor.h: added ix_ and helper functions.
8149
8150         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8151
8152         * buffer.C (insertStringAsLines): dont break paragraph if the this
8153         paragraph is inside an inset which does not permit it!
8154
8155         * text.C (breakParagraph): honor keepempty flag and break the paragraph
8156         also with no chars on this paragraph.
8157         (paintRowText): only paint stuff if it's inside the workarea!
8158
8159         * paragraph.C (breakParagraph): honor keepempty flag and break the
8160         paragraph always below not above.
8161
8162         * BufferView2.C (unlockInset): update the paragraph layout on inset
8163         unlock as we changed paragraph in such a case.
8164
8165         * lyxfind.C (LyXFind): clear the former selection if not found!
8166
8167         * text2.C (insertInset): freeze Undo after setUndo so that it is not
8168         again called in insertChar().
8169
8170         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8171         an inset which uses the whole row!
8172         (rightMargin): ditto.
8173         (insertChar): force a rebreak if we inserted an inset!
8174
8175 2002-03-28  Herbert Voss  <voss@lyx.org>
8176
8177         * lyxlength.[Ch]: add inBP() to get the right PS-point
8178         units (BigPoint). With inPixels we have rounding errors
8179
8180 2002-04-11  Juergen Vigna  <jug@sad.it>
8181
8182         * text2.C (setCursorFromCoordinates): set iy to the right value.
8183         (setCursor): add check if row->previous exists!
8184
8185         * buffer.C (parseSingleLyXformat2Token): reset font after read of
8186         an old float_type as this was the case in the old code!
8187
8188         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8189
8190         * BufferView2.C (showLockedInsetCursor): use iy
8191         (fitLockedInsetCursor): ditto
8192
8193         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8194         locked insets as there we have the right value now.
8195
8196         * lyxcursor.C: added iy_ variable and iy functions to set to the
8197         baseline of cursor-y of the locked inset.
8198
8199         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8200         (setCursor): fixed for insets which need a full row.
8201
8202         * text.C (rowLastPrintable): don't ignore the last space when before
8203         an inset which needs a full row.
8204         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8205         as last character of a row when before a inset which needs a full row.
8206
8207 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8208
8209         * version.C.in: update date
8210
8211         * text2.C (fullRebreak): try to always return true and see what
8212         happens...
8213
8214 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8215
8216         * MenuBackend.C (expand): use Floating::listName
8217
8218         * FloatList.C (FloatList): add listName argument to the built-in
8219         floats
8220
8221         * Floating.[Ch]: add listName member, which is the 'List of XXX'
8222         text associated with the float.
8223
8224 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8225
8226         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8227
8228 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8229
8230         * ShareContainer.h: add a couple of missing typenames.
8231
8232 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
8233
8234         * lyxrc.C (getDescription): use _() correctly rather than N_().
8235
8236 2002-03-28  Herbert Voss  <voss@lyx.org>
8237
8238         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8239         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8240
8241 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8242
8243         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8244         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8245
8246 2002-03-29  Juergen Vigna  <jug@sad.it>
8247
8248         * lyxfunc.C (dispatch): add a missing fitCursor call.
8249
8250         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8251         it was scrolled by a cursor move, so return the bool status.
8252
8253         * BufferView.C (fitCursor): return the bool flag also to the outside
8254         world as this is needed.
8255
8256         * screen.C (toggleToggle): don't subtract the offset if it's positive.
8257
8258         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8259         call the edit() as it is not needed (and wrong) IMO.
8260         (workAreaButtonPress): set the screen_first variable before evt.
8261         unlock the inset as this may change screen_first and then we have
8262         a wrong y position for the click!
8263
8264 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8265
8266         * MenuBackend.C (expand): another translation that I missed
8267
8268 2002-03-28  Juergen Vigna  <jug@sad.it>
8269
8270         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8271
8272         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8273
8274 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8275
8276         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8277
8278         * MenuBackend.C (expand): fix export/view/update when there is no
8279         document open.
8280
8281 2002-03-27  Herbert Voss  <voss@lyx.org>
8282
8283         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8284         and text%
8285
8286 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8287
8288         * bufferview_funcs.C (currentState): only show paragraph number
8289         for is DEVEL_VERSION is set.
8290
8291         * lyxfunc.C (dispatch): put warning in INFO channel
8292
8293         * MenuBackend.C (expand): translate the name of floats
8294
8295         * FloatList.C (FloatList): mark the float names for translation
8296
8297         * converter.C (convert): use LibScriptSearch
8298
8299 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8300
8301         * MenuBackend.C (defaults): fix default menu (we might as well get
8302         rid of it...)
8303
8304 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8305
8306         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8307         directory.
8308
8309 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8310
8311         * lyxvc.C: reorder includes.
8312
8313 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
8314
8315         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8316           properly
8317
8318 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
8319
8320         * CutAndPaste.C: change layouts earlier on paste
8321           to avoid crashing when calling getFont()
8322
8323 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
8324
8325         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
8326         irritating #error.
8327
8328 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8329
8330         * WorkArea.C: remove 'Pending' debug message.
8331
8332         * most files: ws cleanup
8333
8334         * buffer.[Ch]: ws changes
8335
8336         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
8337
8338 2002-03-21  Juergen Vigna  <jug@sad.it>
8339
8340         * tabular.C (SetMultiColumn): collapse also the contents of the
8341         cells and set the last border right. Added a Buffer const * param.
8342
8343 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8344
8345         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
8346         linking or not.
8347
8348 2002-03-19  Juergen Vigna  <jug@sad.it>
8349
8350         * text2.C (clearSelection): reset also xsel_cache.
8351
8352         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
8353         where it needs to be called (John tells us to do so too :)
8354         (selectionLost): reset sel_cache.
8355
8356         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
8357
8358 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8359
8360         * text2.C (setCursorIntern): put debuging code in INSETS channel
8361
8362 2002-03-19  André Pönitz <poenitz@gmx.net>
8363
8364         * lyxfunc.C: tiny whitespace change
8365
8366 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8367
8368         * ToolbarDefaults.C (init):
8369         * LyXAction.C (init):
8370         * commandtags.h:
8371         * BufferView_pimpl.C (Dispatch):
8372         * lyxfunc.C (dispatch): remove LFUN_DEPTH
8373
8374 2002-03-19  Allan Rae  <rae@lyx.org>
8375
8376         * exporter.C (Export): removeAutoInsets before doing anything else.
8377         While I've just introduced a dependency on BufferView this really is
8378         the best place to clean the buffer otherwise you need to cleanup in
8379         a dozen places before calling export or cleanup in a dozen functions
8380         that export calls.
8381
8382         * converter.C (runLaTeX):
8383         (scanLog): Better handling of removeAutoInsets and screen updates.
8384
8385         * lyxfunc.C (dispatch): small whitespace changes
8386
8387 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8388
8389         * WorkArea.C (C_WorkAreaEvent): return a value.
8390         (event_cb): return 1 if we handled the event, 0 otherwise.
8391
8392         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
8393
8394 2002-03-18  Juergen Vigna  <jug@sad.it>
8395
8396         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
8397         (GetAdditionalWidth): ditto.
8398         (RightLine): ditto.
8399         (LeftLine): ditto.
8400
8401         * BufferView2.C (copy): use getLyXText() so that we do it inside an
8402         inset if we're there actually (probably not used right now but this
8403         is the direction to go for unifying code).
8404         (paste): disable code to clear the selection.
8405
8406         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
8407         inside an InsetText and move the check further up as it is in the
8408         wrong place.
8409
8410         * text2.C (pasteSelection): set a selection over the pasted text.
8411
8412 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
8413
8414         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
8415         and libgraphics to build on Cygwin.
8416
8417 2002-03-15  Juergen Vigna  <jug@sad.it>
8418
8419         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
8420         inserting an Inset into the paragraph. I know this is not the best
8421         fix but we already use current_view in CutAndPaste so we will remove
8422         all of it's using at the same time.
8423
8424         * buffer.C (sgmlError): deactivated function till it is rewritten in
8425         the right mode, now it can create problems.
8426
8427         * paragraph.C (isLineSeparator): check if getInset returns != 0,
8428         before accessing it.
8429
8430 2002-03-14  Juergen Vigna  <jug@sad.it>
8431
8432         * undo_funcs.C (textHandleUndo): do the right thing when updating
8433         the inset after the undo/redo.
8434
8435         * text2.C (setCursor): just some testcode for #44 not ready yet.
8436
8437         * undo_funcs.C (textHandleUndo): set the next() and previous()
8438         pointers of the paragraph to 0 before deleting otherwise we have
8439         problems with the Paragraph::[destructor].
8440
8441         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
8442         on a paragraph insertion.
8443
8444 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8445
8446         * buffer.C (asciiParagraph): use += operator for char append to
8447         string.
8448
8449         * paragraph.C (getFontSettings): compare >= not just >
8450         (highestFontInRange): ditto
8451         (setFont): ditto
8452
8453 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8454
8455         * paragraph.C: change several algorithm to be more appripriate for
8456         the problem domain. This is lookip in FontList and in the InsetList.
8457
8458 2002-03-13  André Pönitz <poenitz@gmx.net>
8459
8460         * commandtags.h:
8461         * LyXAction.C: remove unused LFUN_MATH_MACROARG
8462
8463 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
8464
8465         * commandtags.h:
8466         * LyXAction.C:
8467         * lyxfunc.C:
8468         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
8469
8470 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8471
8472         * Painter.C (display): anon helper function, adjust code for this
8473         change.
8474         (pixmap): remove function.
8475
8476         * Painter.h: remove private display variable.
8477
8478         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
8479
8480 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
8481
8482         * WorkArea.[Ch]: remove figinset_canvas cruft.
8483
8484 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8485
8486         * lyxtextclass.C (operator): add one item cache optimization.
8487
8488         * bufferlist.h: doxy changes
8489
8490         * bufferlist.C: ws changes
8491
8492         * DepTable.[Ch] (ext_exist): place const in the right spot.
8493
8494         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
8495         call resizeInsets.
8496         (workAreaExpose): call resizeInsets when the with BufferView changes.
8497         (Dispatch): adjust for protectedBlank removal
8498         (specialChar): call updateInset if the insert went ok.
8499
8500         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
8501         specialChar instead.
8502
8503         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
8504
8505         * BufferView.h: doxy change
8506
8507         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
8508
8509         * lyxtextclass.C (operator[]): remove non-const version
8510         (defaultLayout): remove non-const version
8511
8512 2002-03-12  Juergen Vigna  <jug@sad.it>
8513
8514         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
8515         did resize the LyXText too.
8516
8517         * buffer.C (readLyXformat2): set layout information on newly allocated
8518         paragraphs.
8519
8520         * tabular.C (OldFormatRead): set layout information on the paragraph.
8521
8522 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8523
8524         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
8525
8526 2002-03-11  Juergen Vigna  <jug@sad.it>
8527
8528         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
8529         plainly wrong.
8530         (resizeCurrentBuffer): force also the insets to resize themselfes.
8531         (moveCursorUpdate): fixed up for InsetText.
8532
8533 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
8534
8535         * commandtags.h:
8536         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
8537         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
8538         value of Dialogs::tooltipsEnabled().
8539         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
8540
8541 2002-03-08  Juergen Vigna  <jug@sad.it>
8542
8543         * BufferView_pimpl.C (updateInset): update inset inside inset also
8544         if it isn't inside theLockingInset().
8545
8546 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8547
8548         * buffer.C (asciiParagraph): redo some of the word and line length
8549         handling.
8550         (getLists): look for Caption instead of caption.
8551
8552 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8553
8554         * buffer.C (Buffer): initialize niceFile to true
8555         (makeLaTeXFile):
8556         (makeLinuxDocFile):
8557         (makeDocBookFile): make sure niceFile is true on exit
8558
8559 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8560
8561         * buffer.C (makeLaTeXFile): escape ~ in \input@path
8562
8563 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
8564
8565         * LyXSendto.C: remove.
8566         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
8567         * lyx_gui.C: remove now-redundant comment.
8568         * ColorHandler.h: remove forward declaration of class WorkArea.
8569         * lyxfunc.C: remove #include "WorkArea.h".
8570
8571 2002-03-07  Juergen Vigna  <jug@sad.it>
8572
8573         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
8574         got moved away with the DEPM and also set the inset_owner always
8575         right which before could have been omitted.
8576
8577 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8578
8579         * buffer.C (parseSingleLyXformat2Token): use default layout is the
8580         wanted layout is not found.
8581
8582 2002-03-07  Juergen Vigna  <jug@sad.it>
8583
8584         * CutAndPaste.C (cutSelection): another layout settings forgotten.
8585
8586 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8587
8588         * paragraph.C (breakParagraph): use default layout not layout of
8589         prev paragraph.
8590         (Paragraph): clear ParagraphParameters.
8591
8592 2002-03-06  Juergen Vigna  <jug@sad.it>
8593
8594         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
8595         otherwise it would not be a valid lenght. Fixed a special case in
8596         the minipage compatibility read where we end the document with a
8597         minipage.
8598
8599         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
8600         was set as it could be 0 for InsetTexts first entry.
8601
8602 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8603
8604         * paragraph.C (writeFile): if layout is empty write out
8605         defaultLayoutName().
8606
8607         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
8608         file without named layout we set layout to defaultLayoutName().
8609
8610 2002-03-06  Juergen Vigna  <jug@sad.it>
8611
8612         * CutAndPaste.C (copySelection): set layout for new paragraph.
8613
8614         * text.C (prepareToPrint): leave ERT inset left aligned
8615         (leftMargin): don't indent paragraphs inside ERT insets
8616
8617 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8618
8619         * paragraph.C (breakParagraph): dont call clear do the work manually
8620
8621         * paragraph.[Ch] (clear): remove function
8622
8623 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8624
8625         * paragraph.C (Paragraph): dont call clear, the work has already
8626         been done.
8627
8628         * lyxtextclass.C (operator): assert if n is empty
8629
8630         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
8631         work manually instead.
8632
8633 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
8634
8635         * BufferView_pimpl.C: protect selectionLost against text == 0
8636
8637 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8638
8639         * text.C (breakParagraph): fix a setting layout to '0' problem.
8640
8641 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8642
8643         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
8644         final location of file, for the included files, and graphics.
8645
8646 2002-03-05  Juergen Vigna  <jug@sad.it>
8647
8648         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
8649
8650 2002-03-04  Juergen Vigna  <jug@sad.it>
8651
8652         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
8653
8654         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
8655         last column of multicolumn cells.
8656         (SetWidthOfMulticolCell): recalculate NMC and real columns.
8657
8658 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8659
8660         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
8661         file if it doesn't go to a temporary file.
8662
8663         * buffer.C (sgmlOpenTag):
8664         (sgmlCloseTag):  remove extra newline insertion.
8665
8666 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8667
8668         * text.C (getRowNearY): comment out debug msg
8669
8670 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8671
8672         * text2.C: first -> first_y
8673
8674         * text.C (getRowNearY): add some attemts at a possible
8675         optimization, not working.
8676
8677         * tabular.[Ch]: add BufferParams to several function so that newly
8678         created paragraph can be initialized to he default layotu for the
8679         buffers textclass.
8680
8681         * tabular-old.C (ReadOld): add buf->params to call of Init
8682
8683         * screen.C: rename text->first to text->first_y
8684
8685         * paragraph.C (breakParagraph): always set layout in the broken
8686         paragraph
8687
8688         * lyxtextclass.C (Read): remove lowercase
8689         (hasLayout): ditto
8690         (operator): ditto
8691         (delete_layout): ditto
8692
8693         * lyxtext.h: rename first -> first_y
8694
8695         * lyxlayout.C (Read): remove lowercase
8696         (name): ditto
8697         (setName): ditto
8698         (obsoleted_by): ditto
8699
8700         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
8701
8702         * buffer.C (insertErtContents): add params are to InsetERT
8703         (parseSingleLyXformat2Token): add code to check if a paragraphs
8704         layout really exist.
8705         (parseSingleLyXformat2Token): add params to several inset
8706         constructors
8707         (asciiParagraph): remove lowercase, do the layout comparisons with
8708         no_case
8709
8710         * BufferView_pimpl.C (cursorNext): first -> first_y
8711         (resizeCurrentBuffer): first -> first_y
8712         (updateScrollbar): first -> first_y
8713         (scrollCB): first -> first_y
8714         (workAreaMotionNotify): first -> first_y
8715         (workAreaButtonPress): first -> first_y
8716         (checkInsetHit): first -> first_y
8717         (cursorPrevious): first -> first_y
8718         (cursorNext): first -> first_y
8719         (Dispatch): add buffer_->params to severl inset contructors
8720
8721 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8722
8723         * lyxlayout.C (Read): remove some debug info that I forgot.
8724
8725         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
8726         clean up the code slightly.
8727         (makeLinuxDocFile): ditto
8728         (makeDocBookFile): ditto
8729
8730         * text2.C: layout as string
8731
8732         * text.C: layout as string
8733
8734         * paragraph_pimpl.C: layout as string
8735
8736         * paragraph.[Ch]: layout as string
8737
8738         * lyxtextclasslist.[Ch]: layout as string
8739
8740         * lyxtextclass.[Ch]: layout as string
8741
8742         * lyxtext.h: layout as string
8743
8744         * lyxlayout.[Ch]: layout as string
8745
8746         * lyx_cb.C: layout as string
8747
8748         * bufferview_funcs.C: layout as string
8749
8750         * bufferparams.C: layout as string
8751
8752         * buffer.C: layout as string
8753
8754         * LyXView.[Ch]: layout as string
8755
8756         * LaTeXFeatures.[Ch]: layout as string
8757
8758         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
8759
8760         * BufferView_pimpl.C: change current_layout to string, remove
8761         lyx::layout_type.
8762         (Dispatch):
8763         (smartQuote):
8764         (insertInset):
8765         (workAreaButtonRelease): layout as string
8766
8767         * BufferView2.C (unlockInset): adjust
8768
8769         * vspace.C (asLatexCommand): use an explict temp variable.
8770
8771 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
8772
8773         * Makefile.am: use FRONTEND_*
8774
8775 2002-03-01  Juergen Vigna  <jug@sad.it>
8776
8777         * tabular.C (SetWidthOfMulticolCell): changed to something better
8778         I hope but still work in progress.
8779         (recalculateMulticolumnsOfColumn): renamed function from
8780         recalculateMulticolCells as it is more appropriate now.
8781         (SetWidthOfCell): calculate multicols better.
8782
8783 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8784
8785         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
8786
8787         * lyxfunc.C (processKeySym): print sequence also if it is
8788         `deleted' (complete)
8789
8790         * kbsequence.C (print): print sequence even if it is deleted
8791         (complete would be a better word, actually).
8792
8793         * lyxfunc.C (dispatch): print complete options after a prefix key
8794
8795         * vspace.C (asLatexCommand): rewrite in a slightly different form.
8796
8797 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
8798
8799         * text2.C (setCharFont): eliminate setCharFont code duplication.
8800
8801 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8802
8803         * BufferView_pimpl.C (Dispatch): remove bogus handling of
8804         LFUN_TABULAR_FEATURE (bug #177)
8805
8806 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
8807
8808         * Makefile.am: remove figure.h
8809
8810 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
8811
8812         * Bufferview_pimpl.C:
8813         * CutAndPasteC:
8814         * LaTeX.C:
8815         * LyXSendto.C:
8816         * buffer.C:
8817         * bufferlist.C:
8818         * converter.C:
8819         * language.C:
8820         * lyxfunc.C:
8821         * lyxvc.C:
8822         * paragraph.C:
8823         * text.C:
8824         * text2.C: remove #include "lyx_gui_misc.h".
8825
8826         * LaTeX.C: added #include <cstdio>
8827
8828 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8829
8830         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
8831         that the paragraph following this one can have.
8832
8833         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
8834
8835         * vspace.C (asLatexCommand): fix bogus gcc warning
8836
8837         * Makefile.am (lyx_SOURCES): remove vms_defines.h
8838
8839 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
8840
8841         * text2.C (setLayout): get rid of redundant code
8842
8843 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
8844
8845         * text2.C (incDepth): make sure depth cannot be increased beyond
8846         reasonable values.
8847
8848 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
8849
8850         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
8851         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
8852
8853         * PainterBase.h (image):
8854         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
8855         a LyXImage const *.
8856
8857 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
8858
8859         * BufferView.C:
8860         * BufferView.h:
8861         * BufferView_pimpl.C:
8862         * BufferView_pimpl.h:
8863         * LaTeXFeatures.C:
8864         * LyXAction.C:
8865         * LyXView.C:
8866         * Makefile.am:
8867         * UpdateList.h:
8868         * UpdateList.C:
8869         * buffer.C:
8870         * figure.h:
8871         * figureForm.C:
8872         * figureForm.h:
8873         * figure_form.C:
8874         * figure_form.h:
8875         * lyx_cb.C:
8876         * lyx_gui.C:
8877         * lyx_gui_misc.C:
8878         * lyxfunc.C:
8879         * sp_base.h:
8880         * sp_ispell.h:
8881         * sp_pspell.h:
8882         * sp_spell.C: remove fig inset, and the crap house of
8883           cards that follows it
8884
8885 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
8886
8887         * Makefile.am:
8888         * lyxserver.C:
8889         * os2_defines.h:
8890         * os2_errortable.h:
8891         * nt_defines.h: move .h into support/
8892
8893         * vms_defines.h: remove
8894
8895         * WorkArea.C: add space in debug output
8896
8897         * text2.C:
8898         * paragraph.C:
8899         * buffer.C: add WITH_WARNINGS
8900
8901         * vc-backend.h:
8902         * vc-backend.C:
8903         * bufferlist.C: s/retrive/retrieve/, add docs
8904
8905         * vspace.h:
8906         * vspace.C:
8907         * kbmap.h:
8908         * lyxlength.h:
8909         * lyxgluelength.h:
8910         * length_common.h:
8911         * chset.h:
8912         * chset.C: add docs
8913
8914         * lyxgui.C: add ID to X error handler
8915
8916         * lyxtestclass.c: fix typo
8917
8918 2002-02-26  Juergen Vigna  <jug@sad.it>
8919
8920         * tabular_funcs.C (write_attribute): changed so that some default
8921         attributes are not written at all.
8922         (getTokenValue): set default values before trying to read the
8923         value so we have the return value always set as default if we don't
8924         find the token we search for.
8925
8926         * tabular.C (Write): write bools as bools not as strings!
8927
8928 2002-02-22  Juergen Vigna  <jug@sad.it>
8929
8930         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
8931         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
8932
8933         * text.C (leftMargin): don't add an indent for paragraphs inside
8934         tabular cells (fix #208).
8935
8936 2002-02-21  José Matos  <jamatos@fep.up.pt>
8937
8938         * tabular.C (docBook): fixed support for long tables.
8939
8940 2002-02-20  Juergen Vigna  <jug@sad.it>
8941
8942         * text2.C (getFont): get the drawing font of the Inset if this
8943         paragraph is inside an inset (only important for InsetERT for now).
8944
8945         * buffer.C (insertErtContents): use new lanugage params in ERT
8946         constructor.
8947
8948         * CutAndPaste.C: commenting out seemingly uneeded code.
8949
8950 2002-02-19  Allan Rae  <rae@lyx.org>
8951
8952         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
8953         Iterators might be simple to use but they also get invalidated.
8954         (removeAutoInsets): renamed saved cursor tracking variables and added
8955         some comments to clarify what everything does.
8956
8957 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
8958
8959         * Chktex.C:
8960         * LaTeX.C:
8961         * LyXSendto.C:
8962         * converter.C:
8963         * lyx_cb.C:
8964         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
8965         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
8966
8967         * lyxfunc.C:
8968         * vc-backend.h: remove #include "support/syscall.h"
8969
8970         * LaTeX.C:
8971         * LyXSendto.C:
8972         * converter.C: rearrange #includes in Lars' approved fashion.
8973
8974         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
8975         forward declare class Timeout in the header file.
8976
8977         * XFormsView.C: changes due to the above.
8978
8979         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
8980         similar to LyXView.
8981
8982         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
8983         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
8984
8985 2002-02-18  José Matos  <jamatos@fep.up.pt>
8986
8987         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
8988         insets contents.
8989
8990 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
8991
8992         * a lot of small ws changes
8993         * add a lot of using std::XXX
8994         * use std construcs some places where approp.
8995         * use some exisint stuff from lyxfunctional where approp.
8996         * Make file changes to use partial linking (lets test this now...)
8997
8998 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
8999
9000         * Chktex.C:
9001         * buffer.C:
9002         remove #include "support/syscontr.h" as it's redundant. Always has been.
9003
9004         * Chktex.C:
9005         * LaTeX.C:
9006         * LyXSendto.C:
9007         * converter.C:
9008         * lyx_cb.C:
9009         * vc-backend.C:
9010         change Systemcalls::System to Systemcalls::Wait and
9011         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9012         No change of functionality, just reflects the stripped down Systemcalls
9013         class.
9014
9015 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9016
9017         * debug.[Ch]: add a GRAPHICS type to the enum.
9018
9019 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9020
9021         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9022
9023         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9024         there is an inset.
9025
9026 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9027
9028         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9029         match the changes below.
9030
9031         * text2.C (toggleInset): if there is not editable inset at cursor
9032         position, try to see if cursor is _inside_ a collapsable inset
9033         and close it.
9034
9035 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9036
9037         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9038         document menu has a nice checkbox
9039
9040 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9041
9042         * lyxlength.C (asLatexString): change PW to output as percent of
9043         \textwidth.
9044
9045         * lengthcommon.C: change '%' to 't%'
9046
9047         * lyxfunc.C (dispatch): a few comments from Martin
9048
9049 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
9050
9051         * WorkArea.h:
9052         * WorkArea.C:
9053         * BufferView_pimpl.h:
9054         * BufferView_pimpl.C: clear our selection when X tells us we've lost
9055           the X selection.
9056
9057 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9058
9059         * vspace.C (inPixels): fix compiler warning
9060
9061 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9062
9063         * lyxfunc.C (getStatus): fix status message for disabled commands.
9064
9065 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
9066
9067         * BufferView_pimpl.C: fix crash on close buffer
9068         during selection (#227)
9069
9070 2002-01-27  Herbert Voss  <voss@lyx.org>
9071
9072         * buffer.C: link old Figure to new graphic inset
9073
9074 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
9075
9076         * FontLoader.C (getFontinfo): Change the latex font names in order
9077         to match the names of type1inst.
9078
9079 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9080
9081         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
9082
9083         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
9084         (extchanged): ditto
9085         (ext_exist): ditto
9086         (remove_files_with_extension): ditto
9087         (remove_file): ditto
9088         (write): ditto
9089
9090         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
9091         document is smaller than the work area height. Do not initialize
9092         static variables to 0.
9093
9094 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9095
9096         * lyx_gui.C (init): give the toolbar tooltips a normal font.
9097
9098         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
9099         LFUN_LAYOUT_PARAGRAPHS.
9100
9101         * tabular.C (GetCellFromInset): new method. Finds an inset in a
9102         tabular. It is possible to provide a possible cell, which will
9103         typically be the actcell from the corresponding insettabular
9104
9105         * lyxfunc.C (getStatus): small cleanup; disable
9106         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
9107         true
9108
9109 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9110
9111         * tabular.C (Validate): remove broken optimization (fixes bug #201)
9112
9113         * paragraph.C (startTeXParParams):
9114         (endTeXParParams): new methods. The LaTeX code to
9115         start/end paragraph formatting
9116         (simpleTeXOnePar): call startTeXParParams also when paragraph is
9117         empty (fixes bug #200)
9118
9119         * vspace.C (inPixels): adapt to the change below
9120         (inPixels): [later] more cleanups (remove unused variables)
9121
9122         * lyxlength.C (inPixels): change to use a width and a height as
9123         parameter.
9124
9125 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9126
9127         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
9128         Replaced with \paperwidth
9129
9130         * DepTable.C (insert): add std:: qualifier
9131
9132 2002-01-18  Allan Rae  <rae@lyx.org>
9133
9134         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
9135         updated also?
9136
9137         * text.C (drawInset): Turned out I didn't know enough about how
9138         rebreaking worked.  This fixes most of the redraw problems.  I see
9139         an occasional cursor trail when a line is broken now and the cursor
9140         placement can seem out by a few pixels also after a rebreak.
9141
9142 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9143
9144         * buffer.C (parseSingleLyXformat2Token): update because minipage
9145         width is now a LyXLength
9146
9147         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9148
9149         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9150         math insets
9151
9152 2002-01-17  Juergen Vigna  <jug@sad.it>
9153
9154         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9155
9156         * BufferView2.C (lockInset): call edit() so that theLockingInset()
9157         is set correctly and the inset is updated correctly.
9158
9159 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9160
9161         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
9162         the beginning of the loop.
9163
9164 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
9165
9166         * lyxrc.C: improve help for use_scalable_fonts
9167
9168 2002-01-17  Allan Rae  <rae@lyx.org>
9169
9170         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9171
9172 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9173
9174         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9175         make sure to set their inset_owner to the right value (bug #171)
9176
9177 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
9178
9179         * DepTable.h
9180         * DepTable.C: Implement mtime checking to reduce time spent doing
9181         CRCs.
9182
9183 2002-01-16  Juergen Vigna  <jug@sad.it>
9184
9185         * tabular.C (GetAdditionalHeight): one of error fixed.
9186
9187         * lyxrc.C (output): small fix in writing use_pspell.
9188
9189 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
9190
9191         * sp_base.h: #include LString.h
9192
9193 2002-01-16  Allan Rae  <rae@lyx.org>
9194
9195         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
9196         Can someone check this please?
9197
9198         * text.C (drawInset): It was possible that p.row would be removed by
9199         breakAgainOneRow upsetting a few other settings.  There may be another
9200         small tweak possible by setting need_break_row = 0 when p.row has been
9201         removed but I don't know enough about the logic here.
9202
9203 2002-01-15  Allan Rae  <rae@lyx.org>
9204
9205         * text.C (insertChar): removed conditional truism.
9206
9207         * BufferView2.C (removeAutoInsets): More tweaks.
9208         cur_par_prev could be a stray pointer.  Check for trailing empty line
9209         in case last line was cur_par and only had an error inset on it.
9210
9211 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9212
9213         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9214         absolute
9215
9216         * vc-backend.C (most methods):
9217         * exporter.C (Export):
9218         * converter.C (convert):
9219         (runLaTeX):
9220         * LyXSendto.C (SendtoApplyCB):
9221         * lyxfunc.C (dispatch):
9222         (menuNew):
9223         (open):
9224         (doImport):
9225         * lyx_cb.C (AutoSave):
9226         (InsertAsciiFile):
9227         * BufferView_pimpl.C (MenuInsertLyXFile):
9228         * buffer.C (runChktex): use Buffer::filePath().
9229
9230         * buffer.h: rename filename to filename_; rename filepath to
9231         filepath_ and make it private
9232         (filePath): new method
9233
9234         * buffer.C (writeFile): use fileName()
9235         (getLatexName):
9236
9237         * lyx_main.C (init): fix starting  of LyX when the binary is a
9238         link from so,ewhere else.
9239
9240         * minibuffer.C: include <cctype> for isprint
9241
9242 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9243
9244         * buffer.C (parseSingleLyXformat2Token): changes associated with the
9245         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9246         name clash with InsetCollapsable's width function.
9247
9248 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9249
9250         * lastfiles.C: include <iterator>
9251
9252 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9253
9254         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9255         std::count.
9256
9257         * buffer.C (makeLaTeXFile): ditto.
9258         Also make loop operation more transparent.
9259
9260 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9261
9262         * ToolbarDefaults.C: remove trailing comma closing namespace.
9263
9264         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9265
9266         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9267         as in WorkArea.
9268
9269         * trans.C (Load): comment out unused variable, allowed.
9270
9271 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9272
9273         * minibuffer.[Ch] (append_char): new method to recieve input from the
9274         drop-down completion browser. If a key was pressed, then recieve this
9275         char and append it to the existing string.
9276         (peek_event): modify the positioning data passed to the completion
9277         browser so that it can be placed above the minibuffer rather than below.
9278 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9279
9280         * LyXAction.C (init): alloe error-next for readonly documents.
9281
9282         * BufferView2.C (ChangeRefsIfUnique): use standard version of
9283         count.
9284
9285 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9286
9287         * bufferlist.C (readFile): create the buffer _after_ checking that
9288         the file exists.
9289
9290         * lyxfunc.C (verboseDispatch): fix handling of arguments
9291
9292         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9293
9294         * lyxrc.C: use string::erase() instead of initializing to "".
9295
9296
9297 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9298
9299         * BufferView_pimpl.h:
9300         * BufferView_pimpl.C:
9301         * WorkArea.h:
9302         * WorkArea.C:
9303         * text2.C: tell X when we have made a selection for copying
9304
9305 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9306
9307         * BufferView_pimpl.C (MenuInsertLyXFile):
9308         * lyxfunc.C (menuNew):
9309         (open):
9310         (doImport): add shortcuts to directory buttons
9311
9312         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9313         open a float)
9314
9315         * lyxfunc.C (setStatusMessage):
9316         (getStatusMessage): new methods
9317         (getStatus):use setStatusMessage instead of setErrorMessage
9318         (dispatch): when function is disabled, set error message here
9319         [instead of in getStatus previously]
9320
9321         * BufferView_pimpl.C (workAreaButtonRelease): update
9322         toolbar/menubar here too.
9323
9324 2002-01-13  Allan Rae  <rae@lyx.org>
9325
9326         * BufferView2.C (removeAutoInsets): finished off earlier fix.
9327         Now seems indestructible.  Remaining task is to audit all other
9328         code affected by deleteEmptyParagraphMechanism.  One small quirk
9329         left is that an empty document with an error in the preamble can
9330         be made to report an error but no error box appears.  I don't know
9331         where it goes.
9332         (removeAutoInsets): Improved comments.
9333
9334 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
9335
9336         * Thesaurus.h:
9337         * Thesaurus.C: update for Aiksaurus 0.14
9338
9339 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9340
9341         * text2.C (firstParagraph): removed member function, all uses
9342         replaces with ownerParagraph
9343         (redoParagraphs): here
9344         (updateInset): here
9345         (toggleAppendix): here
9346         * BufferView2.C (insertErrors): here
9347         (setCursorFromRow): here
9348
9349 2002-01-13  Allan Rae  <rae@lyx.org>
9350
9351         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
9352         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
9353         There is still a way to segfault this although you may have to do this
9354         multiple times: Have an InsetERT with an unknown command in it.
9355         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
9356         <down-arrow>, <Enter> again, View->DVI, BANG!
9357
9358         * text2.C (setCursor):
9359         (deleteEmptyParagraphMechanism):
9360         * lyxtext.h (setCursor):
9361         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
9362         Making use of the return value may help fix other bugs.
9363
9364 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9365
9366         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
9367
9368         * LyXView.C (updateMenubar): call MenuBar::update here
9369         (updateToolbar): but not here
9370         (showState): do not update toolbar/menubar
9371
9372         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
9373         should need to care about that.
9374
9375         * lyxfunc.C (verboseDispatch): simplify a bit
9376         (getStatus): have a version which takes a pseudoaction, and
9377         another which requires a (kb_action,string).
9378
9379         * LyXAction.C (retrieveActionArg): make it work also when action
9380         is not a pseudo-action.
9381         (getActionName): simplify a bit
9382         (helpText):
9383
9384 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9385
9386         * lyxfunc.C (verboseDispatch): new families of methods with
9387         several ways to specify a command and a bool to indicate whether
9388         the command name and shortcut should be displayed in minibuffer
9389         (eventually, we could extend that to a finer bitmask like
9390         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
9391         (dispatch): the pristine dispatch command which just, well,
9392         dispatchs! Note it still sets its result to minibuffer; I'm not
9393         sure we want that.
9394
9395         * lyxfunc.h: remove setHintMessage
9396
9397         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
9398
9399 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9400
9401         * BufferView_pimpl.C (specialChar): delete new inset if we have
9402         not been able to insert it.
9403
9404         * kbmap.C: revert to using int instead of kb_action, since all we
9405         are dealing with is pseudo-actions.
9406
9407         * LyXAction.C (searchActionArg): change to return int instead of
9408         kb_action, since the result is a pseudoaction.
9409
9410 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
9411
9412         * buffer.C (insertErtContents): Fix (partially) the font bug.
9413
9414 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9415
9416         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
9417         as the other one is broken on my machine!
9418
9419 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
9420
9421         * commandtags.h:
9422         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
9423
9424 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
9425
9426         * lyxrc.[Ch]: change names and descriptions of popup font variables to
9427         reflect their actual use. Provide compatibility code for older lyxrc
9428         files.
9429
9430         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
9431         FL_NORMAL_STYLE.
9432         change names of popup font variables in line with the changes to lyxrc.C
9433
9434 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9435
9436         * buffer.C (asciiParagraph): avoid outputing a word twice after
9437         an inset.
9438
9439         * lyxrc.C (getDescription): document that document_path and
9440         template_path can be empty.
9441
9442 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9443
9444         * LaTeXFeatures.C (getMacros):
9445         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
9446
9447         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
9448
9449         * LaTeXFeatures.C (useFloat): require "float" here instead of in
9450         getPackages.
9451         (getPackages): rename feature "floats" to "float". Use an array to
9452         iterate over 'simple' features (i.e. just a \usepackage). Add
9453         handling of "amsmath" (renamed from "amsstyle").
9454
9455 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
9456
9457         * LaTeXFeatures.C (require): Prevent duplicate entries in the
9458         features list.
9459
9460 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
9461
9462         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
9463         FuncStaus::FuncStatus & FuncStaus::some_method().
9464
9465 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
9466
9467         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
9468         of the func_satus stuff. Edited and massaged in various ways by
9469         JMarc.
9470
9471         * lyxfunc.C (getStatus): use FuncStatus
9472
9473 2002-01-08  Juergen Vigna  <jug@sad.it>
9474
9475         * text.C (nextBreakPoint): use function Inset::isChar().
9476
9477         * paragraph.C (TeXOnePar): use function
9478         Inset::forceDefaultParagraphs.
9479
9480         * buffer.C (latexParagraphs): use function
9481         Inset::forceDefaultParagraphs.
9482
9483 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9484
9485         * lyx_gui.C (init): set the style of the menu popups to
9486         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
9487
9488 2002-01-07  Juergen Vigna  <jug@sad.it>
9489
9490         * text.C (setHeightOfRow): small fix
9491         (prepareToPrint): don't look at alignment if we don't have the place
9492         for doing it.
9493
9494 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9495
9496         * box.C: New file. Move the Box methods and functions out of box.h,
9497         following Lars' suggestion.
9498
9499 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9500
9501         * box.h: #include "support/LOstream.h", needed for inlined function.
9502
9503         * lyxtextclass.C:
9504         * lyxtextclasslist.C: added some using std declarations.
9505
9506 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
9507
9508         * box.h: make signed dimensions to allow insets wider than
9509           the screen (bug #162)
9510
9511         * BufferView_pimpl.C: add some insetHit debug
9512
9513 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
9514
9515         * vc-backend.C: add FIXME
9516
9517 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9518
9519         * lyxfunc.C (getStatus): enable code for showing math font status
9520         in toolbar/menu.
9521
9522 2002-01-07  Juergen Vigna  <jug@sad.it>
9523
9524         * text.C (nextBreakPoint): removed debug output not needed anymore.
9525
9526 2002-01-06  Juergen Vigna  <jug@sad.it>
9527
9528         * text.C (nextBreakPoint): fixed up this function we had this bug
9529         since ever but now hopefully we break row better.
9530         (insertChar): we have to check if an inset is the next char as it
9531         could now happen that a large inset is causing a break.
9532
9533 2002-01-05  Juergen Vigna  <jug@sad.it>
9534
9535         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
9536         if it doesn't like to be drawed.
9537
9538 2002-01-04  Juergen Vigna  <jug@sad.it>
9539
9540         * BufferView2.C (lockInset): forgot to set a cursor.
9541
9542         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
9543
9544 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
9545
9546         * FormMathsPanel.C:
9547         * FormMathsPanel.h
9548         * MathsSymbols.C:
9549         * form_maths_panel.C:
9550         * form_maths_panel.h:
9551         * form_maths_panel.fd: implemented sub- and super- buttons in math
9552         panel.
9553
9554         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
9555         (or ^ space) to be used as in TeX (req'd by André).
9556
9557         * lyxfunc.C: Allow ^ and _ again to be used both as
9558         super/subscript (mathed) and as themselves (in text).
9559
9560 2002-01-03  Allan Rae  <rae@lyx.org>
9561
9562         * LyXView.C (updateWindowTitle): Setup a short icon title of either
9563         "LyX" or the filename of the current buffer if it has one.  This is a
9564         modified form of John Levon's patch.
9565
9566         * XFormsView.C (setWindowTitle): also set icon title.
9567
9568         * LyXView.h (setWindowTitle): signature changed.
9569         * XFormsView.h (setWindowTitle): ditto.
9570
9571 2002-01-02  Juergen Vigna  <jug@sad.it>
9572
9573         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
9574
9575 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9576
9577         * screen.C (topCursorVisible): introduce a temp var for
9578         text->cursor.row(), handle the case where this row is null. (kindo
9579         hachish)
9580
9581         * text2.C (setCursor): add a couple of asserts.
9582
9583         * paragraph.h (inset_iterator): add -> operator
9584
9585         * paragraph.[Ch] (autoDeleteInsets): remove member function
9586
9587         * BufferView2.C (removeAutoInsets): rewrite to handle the old
9588         cursor pos correctly and handle inset deletion by itself.
9589         (insertErrors): move iterator declaration out of for expression
9590
9591         * lyxtextclass.C: add <algorithm>
9592
9593         * Makefile.am: added the new files to sources, removed layout.C
9594
9595         * layout.C: removed file
9596
9597         * layout.h: remove LYX_DUMMY_LAYOUT
9598
9599         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
9600         layout.
9601
9602         * lyxlayout.[Ch]:
9603         * lyxtextclass.[Ch]:
9604         * lyxtextclasslist.[Ch]: new files
9605
9606         * include order changes to a lot of files, also changes because of
9607         the six new files.
9608
9609 2001-12-27  Juergen Vigna  <jug@sad.it>
9610
9611         * buffer.C (asciiParagraph): more fixes.
9612
9613         * tabular.C (ascii): make ascii export support export of only the
9614         data separated by a column-delimiter.
9615         (ascii): better support for ascii export.
9616
9617         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
9618
9619 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9620
9621         * tabular_funcs.C: use a "using std::getline" instead of the
9622         previous fix from Angus (necessary for cxx + lyxstring)
9623
9624 2001-12-24  Juergen Vigna  <jug@sad.it>
9625
9626         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
9627
9628         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
9629         problems. First check a minipage also if we have some ert-contents
9630         (not only on par->size(), second set the right depth of the paragraph
9631         on the relink to the root-paragraph-list!
9632
9633         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
9634         which then did not anymore update the main paragraphs on undo/redo!
9635
9636 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9637
9638         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
9639         code. Support all font-changing funcs (even those which are not in
9640         menu currently). Support for reporting font settings in
9641         mathed (disabled until Andre provides a function on mathed's side).
9642
9643         * func_status.h (toggle): small helper function to set toggle
9644         state on a flag.
9645
9646 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
9647
9648         * tabular_funcs.C: getline -> std::getline
9649
9650 2001-12-21  Juergen Vigna  <jug@sad.it>
9651
9652         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
9653         accessed and could be 0 (I couldn't generate this but it seems
9654         Michael could!).
9655
9656 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9657
9658         * tabular_funcs.C: add LIstream.h, move write_attribute to..
9659         * tabular_funcs.h: here and include iosfwd
9660
9661 2001-12-20  Juergen Vigna  <jug@sad.it>
9662
9663         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
9664         inside inset but undo_par was.
9665
9666 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9667
9668         * Thesaurus.C: always include <config.h> in sources.
9669
9670         * Painter.h:
9671         * lyxlookup.h:
9672         * box.h: do not include <config.h> in header files
9673
9674         * text.C (paintLastRow): remove unused variable
9675
9676         * text.C (transformChar):
9677         (insertChar):
9678         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
9679
9680         * Painter.C (text):
9681         * font.C (width): rewrite to use uppercase() instead of
9682         islower/toupper.
9683
9684         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
9685
9686 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
9687
9688         * lyxfind.C: clean up of find failure position change
9689
9690 2001-12-20  Juergen Vigna  <jug@sad.it>
9691
9692         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
9693
9694         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
9695         (TeXRow): added to LaTeX a single tabular row.
9696         (TeXLongtableHeaderFooter): added to output LT-h/f data.
9697         (Latex): simplified and finally good LT-h/f support.
9698         (various_functions): just small adaptions for LT-h/f support.
9699
9700         * tabular_funcs.[hC]: added and moved here all not classfunctions
9701         of LyXTabular.
9702
9703 2001-12-19  Juergen Vigna  <jug@sad.it>
9704
9705         * tabular.[Ch]: better support for longtabular options (not finished
9706         yet!)
9707
9708 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9709
9710         * text.C (paintLastRow): use the label font instead of the font of
9711         the last character to compute the size of *_BOX. This makes more
9712         sense and avoids a crash with empty paragraphs.
9713         Use Painter::rectangle to draw EMPTY_BOX.
9714
9715 2001-12-19  Juergen Vigna  <jug@sad.it>
9716
9717         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
9718         the paragraphs if the replaced paragraph is not the first one!
9719         Tried to delete not used paragraphs but does not work yet so for
9720         now it's inside #ifdef's and by default off!
9721
9722 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9723
9724         * MenuBackend.C: include "lyx_main.h" instead of declaring
9725         lastfiles (actually was declared as LastFiles* instead of a
9726         scoped_ptr).
9727
9728 2001-12-17  Juergen Vigna  <jug@sad.it>
9729
9730         * tabular.C (AppendColumn): applied John's fix
9731
9732 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
9733
9734         * BufferView.h:
9735         * BufferView.C:
9736         * BufferView_pimpl.h:
9737         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
9738
9739         * Makefile.am:
9740         * box.h: new start of class for above
9741
9742         * lyxfunc.C: ignore space-only minibuffer dispatches.
9743           Show the command name when it doesn't exist
9744
9745         * minibuffer.C: don't add empty lines to the history
9746
9747         * minibuffer.C: add a space on dropdown completion
9748
9749 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
9750
9751         * text.C: fix line above/below drawing in insets
9752
9753 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9754
9755         * lyxlength.C (LyXLength): Initialize private variables.
9756
9757 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
9758
9759         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
9760         when inserting error insets.
9761
9762 2001-12-13  Juergen Vigna  <jug@sad.it>
9763
9764         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
9765         actually sometimes the before-paragraph.
9766         (setUndo): don't clear the redostack if we're not actually undoing!
9767
9768 2001-12-06  Juergen Vigna  <jug@sad.it>
9769
9770         * undo_funcs.C (textHandleUndo): well after John's hint I got here
9771         and fixed redoing of main paragraph, so we can use it now ;)
9772
9773         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
9774
9775 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9776
9777         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
9778         Juergen's request
9779
9780 2001-12-13  André Pönitz <poenitz@gmx.net>
9781
9782         * undostack.[Ch]:
9783         * undo_func.C: minor cleanup
9784
9785 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9786
9787         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
9788         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
9789         font in urw-fonts package which is marked as -urw-fontspecific and
9790         does not work (incidentally, changing the encoding in the
9791         fonts.dir of this package to -adobe-fontspecific fixes the
9792         problem).
9793
9794         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
9795         is a crash when undoing first paragraph (Juergen, please take a
9796         look). THis does not mean the undo fix is wrong, just that it
9797         uncovers problems.
9798
9799         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
9800         the (Paragraph*) version when needed instead of duplicating the
9801         code.
9802
9803         * text.C (workWidth): use Inset::parOwner to find out where the
9804         inset has been inserted. This is a huge performance gain for large
9805         documents with lots of insets. If Inset::parOwner is not set, fall
9806         back on the brute force method
9807
9808         * paragraph_pimpl.C (insertInset):
9809         * paragraph.C (Paragraph):
9810         (cutIntoMinibuffer): set parOwner of insets when
9811         inserting/removing them
9812
9813         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9814
9815 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
9816
9817         * commandtags.h:
9818         * LyXAction.C:
9819         * lyx_main.C:
9820         * lyxfunc.C:
9821         * mathed/formulabase.C:
9822         * mathed/math_cursor.[Ch]:
9823         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
9824
9825
9826 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9827
9828         * lyxlength.[Ch] (operator!=): new function
9829
9830 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9831
9832         * text.C (workWidth): use Inset::parOwner to find out where the
9833         inset has been inserted. This is a huge performance gain for large
9834         documents with lots of insets. If Inset::parOwner is not set, fall
9835         back on the brute force method
9836
9837         * paragraph_pimpl.C (insertInset):
9838         * paragraph.C (Paragraph):
9839         (cutIntoMinibuffer): set parOwner of insets when
9840         inserting/removing them
9841
9842         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9843
9844 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9845
9846         * tabular-old.C (getTokenValue):
9847         * tabular.C (getTokenValue):
9848         (write_attribute): new versions for LyXLength
9849         (everywhere): adjust the use of widths
9850
9851         * tabular.h: change the type of widths from string to LyXLength
9852
9853 2001-12-11  Ben Stanley <bds02@uow.edu.au>
9854
9855         * paragraph.C: fixed missing line number count when exporting
9856         Environments to LaTeX file
9857
9858         * buffer.C: added informational message for checking line numbers.
9859
9860 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9861
9862         * text2.C (deleteEmptyParagraphMechanism): if there is only one
9863         paragraph, do the 'double space' part, but not the 'empty
9864         paragraph' one.
9865
9866         * text.C (workWidth): small optimization
9867         (getLengthMarkerHeight): use minimal size for negative lengths.
9868
9869 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
9870
9871         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
9872
9873         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
9874
9875 2001-12-11  André Pönitz <poenitz@gmx.net>
9876
9877         * FontLoader.C:
9878         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
9879
9880 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9881
9882         * text2.C: keep selection on a setFont()
9883
9884 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9885
9886         * lyx_cb.C: another bv->text misuse, from insert label
9887
9888 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
9889
9890         * kbsequence.h:
9891         * kbsequence.C: re-instate nmodifier mask
9892
9893 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
9894
9895         * lyx_main.h: make lyxGUI private.
9896
9897 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9898
9899         * lyxfind.C: place the cursor correctly on failed search
9900
9901 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9902
9903         * text.C (getLengthMarkerHeight): for small heights, the arrows
9904         are not always on top/bottom of the text
9905         (drawLengthMarker): smaller arrows; take the left margin in
9906         account; draw also vfills.
9907         (paintFirstRow):
9908         (paintLastRow): remove special code for vfill and standard spaces,
9909         since everything is handled in drawLengthMarker now.
9910
9911 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9912
9913         * buffer.C (insertErtContents): try to handle font and language
9914         interaction a bit better.g
9915
9916         * ColorHandler.C (updateColor): change the hash to cover the whole
9917         LColor enum, ws cleanup
9918         (getGCLinepars): ditto
9919         (getGCLinepars): only lookup in the linecache once.
9920
9921 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
9922
9923         * iterators.C (operator++): Make the iterator more robust
9924
9925         * BufferView2.C (removeAutoInsets): Use paragraph iterators
9926         (John's patch)
9927         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
9928
9929 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9930
9931         * lyxtext.h:
9932         * text.C: better added space drawing
9933
9934 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9935
9936         * LyXView.C:
9937         * BufferView2.C: fix layout combo update on inset unlock
9938
9939 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9940
9941         * Makefile.am: don't compile unused files
9942
9943 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9944
9945         * lyxfunc.C:
9946         * commandtags.h:
9947         * LyXAction.C: remove old LFUN_LAYOUTNO
9948
9949 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9950
9951         * paragraph_pimpl.h:
9952         * paragraph_pimpl.C: isTextAt() doesn't need font param
9953
9954 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9955
9956         * lyxlex.h:
9957         * lyxlex.C: little cleanup
9958
9959 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9960
9961         * BufferView_pimpl.C: fix insertAscii for insets
9962
9963 2001-12-05  Juergen Vigna  <jug@sad.it>
9964
9965         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
9966         set the right font on the "multi" paragraph paste!
9967
9968 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9969
9970         * trans_decl.h:
9971         * trans_mgr.[Ch]:
9972         * trans.[Ch]:
9973         * lyxgluelength.C:
9974         * lyxlength.C: remove out-commented code.
9975
9976         * BufferView_pimpl:
9977         * CutAndPaste.C:
9978         * DepTable.C:
9979         * buffer.C:
9980         * chset.C:
9981         * lastfiles.C:
9982         * lyxlex.C:
9983         * lyxlex_pimpl.C:
9984         * lyxserver.C:
9985         * screen.C:
9986         * tabular-old.C:
9987         * tabular.C:
9988         * text.C:
9989         * trans_mgr.C:
9990         * vc-backend.C: change "while(" to "while ("
9991
9992         * lyxlength.[Ch]: add zero function to check if length is zero or
9993         not
9994         * lyxgluelength.C: use it
9995
9996 2001-12-05  Allan Rae  <rae@lyx.org>
9997
9998         * lyxlength.C: Attempted a fix for the abs(int) header selection.
9999         Works for 2.95.3, from what I understand of Garst's reports this should
10000         work for other g++ versions.  We're screwed if the abs(int) definition
10001         changed between bugfix releases of gcc.
10002
10003 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10004
10005         * text.C: fix chapter label offset !
10006
10007 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10008
10009         * lyxtext.h:
10010         * text.C: fix hfill at end of line, clean up
10011
10012 2001-12-04  Juergen Vigna  <jug@sad.it>
10013
10014         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10015         that we force an update of the inset and it's owners if neccessary.
10016
10017 2001-12-03  Juergen Vigna  <jug@sad.it>
10018
10019         * text.C (rowLast): simplified code
10020
10021 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10022
10023         * lyxfunc.C: fix show options on timeout
10024
10025 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10026
10027         * screen.C (topCursorVisible): scroll half a page when the cursor
10028         reached top of bottom of screen
10029
10030 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
10031
10032         * minibuffer.C: deactivate on loss of focus
10033
10034 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10035
10036         * vspace.[Ch] (operator!=): add operator.
10037
10038 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
10039
10040         * BufferView_pimpl.C: refuse to open an inset when
10041         there's a selection.
10042
10043 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
10044
10045         * BufferView_pimpl.C: allow to click on RHS of full row insets
10046
10047 2001-11-30  Juergen Vigna  <jug@sad.it>
10048
10049         * tabular.C (LyXTabular): add a same_id to set the same id's in the
10050         insets for undo reasons.
10051
10052 2001-11-28  André Pönitz <poenitz@gmx.net>
10053
10054         * vspace.[Ch]: cosmetical changes
10055
10056 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10057
10058         * LyXAction.h:
10059         * LyXAction.C:
10060         * lyxfunc.h:
10061         * lyxfunc.C:
10062         * kbmap.h:
10063         * kbmap.C:
10064         * lyxrc.C:
10065         * kbsequence.h:
10066         * kbsequence.C: part re-write of old kb code
10067
10068         * Painter.C:
10069         * WorkArea.C: remove Lgb_bug_find_hack
10070
10071 2001-11-30  José Matos <jamatos@fep.up.pt>
10072
10073         * buffer.C (makeDocBookFile): add a comment to point a hack.
10074         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
10075         Fixed a double write of labels.
10076
10077 2001-11-29 Ben Stanley <bds02@uow.edu.au>
10078
10079         * LaTeX.C:
10080         * LaTeX.h Fixed bug in LaTeX class where it would not
10081         re-run latex if no depfiles were changed, but the .dvi was removed.
10082
10083 2001-11-28  André Pönitz <poenitz@gmx.net>
10084
10085         * all the files from the change on 2001/11/26:
10086         use lyx::layout_type instead of LyXTextClass::size_type
10087         use lyx::textclass_type instead of LyXTextClassList::size_type
10088
10089 2001-11-29  Juergen Vigna  <jug@sad.it>
10090
10091         * text.C: added support for paragraph::isFreeSpacing()
10092
10093         * buffer.C: same as above
10094
10095         * paragraph.h: inserted isFreeSpacing() function to enable
10096         FreeSpacing inside InsetERT.
10097
10098         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
10099         of the paragraph's in the cut/copy buffer to 0!
10100
10101         * text2.C (removeRow): remove the assert as it can!
10102
10103         * lyxtext.h: added helper function firstRow returning firstrow and
10104         made firstrow private again.
10105
10106         * BufferView2.C (lockInset): don't relock if we're already locked!
10107
10108         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
10109         the only paragraph.
10110         (removeRow): added Assert::(firstrow)
10111
10112         * debug.C: forgot to add INSETTEXT here.
10113
10114 2001-11-28  Juergen Vigna  <jug@sad.it>
10115
10116         * sp_spell.C (initialize): changed error text to more general
10117         spellchecker command use (not only ispell!)
10118
10119         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
10120
10121         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
10122
10123 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10124
10125         * vspace.C: initialise lyxgluelength on failure
10126
10127 2001-11-28  Allan Rae  <rae@lyx.org>
10128
10129         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
10130         declaration & definition that looks like a function declaration.
10131
10132 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10133
10134         * BufferView2.C (copy):
10135         (copyEnvironment): do not clear the selection when doing a copy.
10136
10137         * text.C (paintFirstRow): compilation fix
10138
10139 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
10140
10141         * tabular.C (Latex): correct line count when writing latex.
10142
10143 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
10144
10145         * paragraph_pimpl.h:
10146         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10147           bug a bit
10148
10149 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10150
10151         * text.C:
10152         * LColor.h:
10153         * LColor.C: change vfillline->added_space
10154
10155         * text.C: add markers and text for added space
10156
10157         * vspace.C: fix comment
10158
10159 2001-11-28  André Pönitz <poenitz@gmx.net>
10160
10161         * paragraph.C: whitespace changes
10162         * all the other files from the change on 2001/11/26:
10163         change *::pos_type into lyx::pos_type
10164
10165 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10166
10167         * buffer.C (parseSingleLyXformat2Token): Set the language to the
10168         language of the document when inserting error insets.
10169
10170 2001-11-26  André Pönitz <poenitz@gmx.net>
10171
10172         * BufferView_pimpl.[Ch]:
10173         *       CutAndPaste.C:
10174         * buffer.[Ch]:
10175         * lyxcursor.[Ch]:
10176         * lyxfind.C:
10177         * lyxfunc.C:
10178         * lyxrow.[Ch]:
10179         * paragraph.[Ch]:
10180         * paragraph_pimpl.[Ch]:
10181         * sp_spell.C:
10182         * text.C:
10183         * text2.C: reduce header dependencies, introduce type for positions
10184
10185 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10186
10187         * <various>: change to use Alert.h
10188
10189 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10190
10191         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10192         when encountering an unknown token.
10193         (readLyXformat2): Show an error message if there were unknown tokens.
10194
10195 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
10196
10197         * BufferView2.C:
10198         * BufferView_pimpl.C:
10199         * buffer.C:
10200         * paragraph.h:
10201         * text.C:
10202         * text2.C: use par->isInset()
10203
10204 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10205
10206         * paragraph_pimpl.h:
10207         * paragraph_pimpl.C: cleanup
10208
10209 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10210
10211         * text2.C (removeRow):
10212         * text.C (setHeightOfRow): remove useless (and costly) call to
10213         getRow.
10214
10215 2001-11-20  Allan Rae  <rae@lyx.org>
10216
10217         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10218         Now need Inset*::checkInsertChar() to return true for appropriate
10219         cases so that the characters in the minibuffer will actually be
10220         inserted.
10221
10222 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10223
10224         * text.C: change the order of the includes.
10225         (workWidth): initialize it at once.
10226         (workWidth): make maxw unsigned
10227         (setHeightOfRow): remove unused variable (inset)
10228         (selectSelectedWord): remove unused variable (inset)
10229         (paintRowText): fix drawing of hfill characters, and clean up a bit.
10230
10231 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10232
10233         * lyxserver.C (emergencyCleanup): do not try to close pipes if
10234         server is not running.
10235         (openConnection):
10236         (closeConnection): add debug info when server is disabled.
10237
10238         * ColorHandler.C (getGCForeground): send debug message to GUI
10239         channel.
10240
10241         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10242
10243         * kbmap.C (bind): modify because return conventions of
10244         kb_sequence::parse have changed.
10245
10246         * kbsequence.C (parse): only ignore spaces and not any stupid
10247         control character. This avoids tests like s[i] <= ' ', which are
10248         guaranteed to fail with 8bit characters and signed chars.
10249         Change return code to string::npos when there have been no error
10250         (0 was a bad idea when error is at first character)
10251
10252 2001-11-14  José Matos  <jamatos@fep.up.pt>
10253
10254         * buffer.h:
10255         * buffer.C (simpleDocBookOnePar): removed unused argument.
10256
10257 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10258
10259         * text.C (selectNextWordToSpellcheck): do not test explicitely for
10260         insets which are part of a word. Paragraph::isLetter takes care of
10261         that now. Use Paragraph::isInset to identify insets.
10262         (selectSelectedWord): do not test for hyphenation break.
10263
10264         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10265         that protected spaces are considered as spaces.
10266
10267         * paragraph.C (isLetter): cleanup the code for ispell extras; use
10268         Inset::isLetter.
10269
10270 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
10271
10272         * lyxserver.h:
10273         * lyxserver.C: fix it. and small cleanup.
10274
10275 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10276
10277         * BufferView_pimpl.C: use inline helpers
10278
10279         * LaTeXFeatures.h:
10280         * LaTeXFeatures.C: fix typos
10281
10282         * Spacing.h:
10283         * Spacing.C: move spacing_string into class
10284
10285         * ToolbarDefaults.C: move stuff into namespace anon
10286
10287         * layout.h: update enum
10288
10289         * lyxfunc.C: use better debug
10290
10291         * minibuffer.h: fix typo
10292
10293         * debug.h:
10294         * debug.C:
10295         * WorkArea.C: add and use Debug::WORKAREA
10296
10297         * lyxtext.h:
10298         * text.C:
10299         * text2.C: code re-organisation, inline helpers
10300
10301 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
10302
10303         * Layout.C: replaced a few cases of std::vector.size() == 0 with
10304         std::vector.empty().
10305
10306 2001-11-09  Allan Rae  <rae@lyx.org>
10307
10308         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10309         '\n's after tables.  Tabular and ERT inset work now makes this no
10310         longer necessary.
10311
10312 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10313
10314         * minibuffer.h:
10315         * minibuffer.C: fix crash, improve drop-down completion
10316
10317 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
10318
10319         * lyxserver.h:
10320         * lyxserver.C: invalidate fd's when doing endPipe()
10321
10322 2001-11-08  José Matos  <jamatos@fep.up.pt>
10323
10324         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
10325         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
10326
10327         * paragraph.h:
10328         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
10329
10330 2001-11-07  José Matos  <jamatos@fep.up.pt>
10331
10332         * buffer.h:
10333         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
10334         const qualifier.
10335
10336         * buffer.C (sgmlOpenTag):
10337         * buffer.C (sgmlCloseTag): removed debug info.
10338
10339         * buffer.h (sgmlOpenTag):
10340         * buffer.h (sgmlCloseTag): made public.
10341
10342 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10343
10344         * buffer.C (saveParamsAsDefaults):
10345         * lyx_cb.C (MenuLayoutSave): remove
10346
10347         * LyXAction.C (init):
10348         * commandtags.h:
10349         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
10350
10351 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10352
10353         * buffer.C (setPaperStuff): removed from here...
10354
10355         * bufferparams.C (setPaperStuff): ... and moved there.
10356
10357 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
10358
10359         * minibuffer.h:
10360         * minibuffer.C:
10361         * XFormsView.C: add support for drop-down completion
10362
10363 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
10364
10365         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
10366         commands.
10367
10368 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10369
10370         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
10371         disabled.
10372
10373 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
10374
10375         * lyx_main.C: change ref to known bugs
10376
10377 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
10378
10379         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
10380         to work around older babel problems.
10381
10382 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
10383
10384         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
10385
10386 2001-10-24  Juergen Vigna  <jug@sad.it>
10387
10388         * tabular-old.C (ReadOld): below variable changes reflected.
10389
10390         * tabular.[Ch]: added ltType struct for longtable header/footer
10391         defines and changed all instances where they are used. Added
10392         future support for double top/bottom rows.
10393
10394 2001-10-24  José Matos  <jamatos@fep.up.pt>
10395
10396         * buffer.h (docbookHandleCaption):
10397         * buffer.C (docbookHandleCaption): removed unused function.
10398         (makeDocBookFile): moved docbook supported version to v4.1.
10399
10400 2001-10-24  José Matos  <jamatos@fep.up.pt>
10401
10402         * tabular.h:
10403         * tabular.C (docbookRow): new function to export docbook code of a row.
10404         (DocBook): now honors the longtable flags.
10405
10406 2001-10-23  José Matos  <jamatos@fep.up.pt>
10407
10408         * LaTeXFeatures.h:
10409         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
10410         of the lyx defined sgml entities used in a docbook/linuxdoc document.
10411
10412         * buffer.C (makeLinuxDocFile):
10413         (makeDocBookFile): reworked the preamble, more clean, and with
10414         support for lyx defined entities. Changed the document declaration
10415         to be more XML friendly.
10416
10417         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
10418         if we need to output XML that should be done with a filter.
10419
10420 2001-10-22  Juergen Vigna  <jug@sad.it>
10421
10422         * sp_pspell.h (class PSpell): add alive function needed in the
10423         controller to see if the spellchecker could be started.
10424
10425 2001-10-22  Juergen Vigna  <jug@sad.it>
10426
10427         * buffer.C (insertStringAsLines): modify the font for inserting
10428         chars in certain conditions by calling checkInsertChar(font).
10429
10430 2001-10-19  Juergen Vigna  <jug@sad.it>
10431
10432         * text.C (workWidth): use getRow instead of wrong algorithm.
10433         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
10434
10435 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
10436
10437         * lyxserver.h:
10438         * lyxserver.C:
10439         * lyx_main.h:
10440         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
10441
10442 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10443
10444         * text.C (workWidth): do not search for the exact row when
10445         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
10446         optimization for big documents.
10447
10448 2001-10-18  Juergen Vigna  <jug@sad.it>
10449
10450         * text.C (workWidth): new function with added Inset * parameter.
10451
10452 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10453
10454         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
10455
10456         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
10457         change return type of getColumnNearX.
10458
10459
10460         * text.C (changeRegionCase): use uppercase/lowercase instead of
10461         toupper/tolower.
10462         (leftMargin):
10463         (rightMargin): simplify code by factoring out the uses of
10464         textclasslist.
10465         (labelFill):
10466         (numberOfHfills):
10467         (setHeightOfRow):
10468         (appendParagraph): use Paragraph::size_type
10469
10470 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10471
10472         * vspace.C (asLatexString): add a missing break
10473
10474 2001-10-15  Herbert Voss  <voss@perce.de>
10475
10476         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
10477
10478 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10479
10480         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
10481         is not available.
10482
10483 2001-10-10  André Pönitz <poenitz@gmx.net>
10484
10485         * lyxfunc.C: removed greek_kb_flag.
10486
10487 2001-10-10  Herbert Voss  <voss@perce.de>
10488
10489         * lyx_main.C: delete global string help_lyxdir.
10490
10491 2001-10-09  Herbert Voss  <voss@perce.de>
10492
10493         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
10494
10495         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
10496
10497         * lyx_main.C: added global string help_lyxdir.
10498
10499         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
10500
10501 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10502
10503         * lyxrc.C (set_font_norm_type): support iso8859-4
10504
10505 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
10506
10507         * LaTeX.C (deplog): add another regex for MikTeX
10508
10509 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10510
10511         * lyxrc.C (set_font_norm_type): support iso8859-3
10512
10513 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10514
10515         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
10516
10517         * LaTeXFeatures.C: remove special case of french and index
10518
10519         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
10520         before \begin{document}). This solves several incompatibilities.
10521
10522 2001-10-03  Garst Reese  <reese@isn.net>
10523
10524         * lyx_cb.C: change CheckTex error msg.
10525
10526 2001-10-03  José Matos  <jamatos@fep.up.pt>
10527
10528         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
10529
10530 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10531
10532         * .cvsignore: update
10533
10534         * lyx_main.C (commandLineVersionInfo): use new style version info.
10535
10536         * buffer.C (writeFile):
10537         (makeLaTeXFile):
10538         (makeLinuxDocFile):
10539         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
10540
10541         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
10542
10543         * version.h: update to use stuff in version.C
10544
10545         * version.C.in: new file. Contains version information determined
10546         at compile time. This is a merging of version.h and
10547         version_info.h.in.
10548
10549 2001-10-03  Juergen Vigna  <jug@sad.it>
10550
10551         * BufferView_pimpl.C (update): don't change "dirty" status in
10552         updateInset call.
10553
10554 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
10555
10556         * WorkArea.C (c-tor): re-position version string slightly.
10557
10558 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
10559
10560         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
10561         revert to previous code.
10562
10563         WorkArea.[Ch]: (show, destroySplash): methods removed.
10564
10565         WorkArea.C: rework code so that it's an amalgam of the codes before and
10566         after the splash screen was moved to WorkArea.
10567
10568 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10569
10570         * lyxrc.C (read):
10571         * vspace.C (inPixels):
10572         (lyx_advance):
10573         * kbmap.C (bind):
10574         * buffer.C (insertStringAsLines):
10575         (asciiParagraph): fix types to be large enough
10576
10577         * lyxlex_pimpl.h: change member status from short to int
10578
10579         * layout.h: fix type of endlabeltype
10580
10581         * kbmap.C (bind):
10582         * kbsequence.C (parse): change return type to string::size_type
10583
10584         * LaTeX.C (updateBibtexDependencies): comment out unneeded
10585         variable
10586
10587         * Bullet.C (bulletSize):
10588         (bulletEntry): do not use short ints as parameters
10589
10590         * BufferView2.C (insertLyXFile): change a char to an int.
10591
10592         * WorkArea.C (WorkArea): remove unneeded floats in computation
10593
10594 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
10595
10596         * buffer.C (asciiParagraph): Treat '\\' as other chars.
10597
10598         * paragraph.C (asString): Do not ignore newline/hfill chars when
10599         copying to the clipboard.
10600
10601 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
10602
10603         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
10604         after a multi-line inset.
10605
10606 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
10607
10608         * paragraph.C (validate): Set NeedLyXFootnoteCode
10609
10610 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
10611
10612         * lyxfont.C (LyXSizeNames): changed increase-error to increase
10613         and decrease-error to decrease.
10614
10615 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10616
10617         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
10618         it more readable (should be equivalent)
10619
10620 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10621
10622         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
10623
10624 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10625
10626         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
10627         of a cursor (row, etc.) after a character has been deleted
10628         (deleteEmptyParagraphMechanism): call the method above on _all_
10629         cursors held by the LyXText when a double space has been
10630         detected/deleted.
10631
10632 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
10633
10634         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
10635         pixmap.
10636         (resizeCurrentBuff): remove code to destroy the old splash dialog.
10637
10638         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
10639         background. Use greyOut() and the new show() methods to toggle between
10640         the foreground and background. Add code to remove the splash after
10641         its initial showing.
10642
10643         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
10644         (create_forms): no longer call Dialogs::showSplash.
10645
10646 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10647
10648         * .cvsignore: add version_info.h
10649
10650 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10651
10652         * version_info.h.in: new file
10653
10654         * Makefile.am: add version_info.h.in
10655
10656         * lyx_main.C (commandLineVersionInfo): use version_info defined in
10657         version_info.h instead of VERSION_INFO
10658
10659 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
10660
10661         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
10662         The ERT inset now returns string().
10663
10664 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
10665
10666         * lyxtext.h, text.C (selectNextWord): renamed as
10667         selectNextWordToSpellcheck.
10668
10669         * text.C (selectNextWordToSpellcheck): Modified to not select
10670         words inside an ERT inset.
10671
10672 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10673
10674         * lyx_cb.C (MenuLayoutSave): change a bit the question
10675
10676         * sp_base.h: include <sys/types.h>
10677
10678 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
10679
10680         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
10681
10682 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
10683
10684         * several files: fix typos in user-visible strings
10685
10686 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10687
10688         * text2.C (pasteSelection): do not set the selection, since it
10689         will be cleared later. Actually, the intent was to fix the way the
10690         selection was set, but I figured rmoving the code was just as good.
10691
10692 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
10693
10694         * FontLoader.C (available): Check if font is available without
10695         loading the font.
10696
10697 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
10698
10699         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
10700
10701 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
10702
10703         * lyxrc.[Ch]: added display_graphics variable and associated code.
10704
10705 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10706
10707         * bufferparams.C (hasClassDefaults): new method. Returns true if
10708         the buffer parameters correspond to known class defaults
10709
10710 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
10711
10712         * XFormsView.C (show): set minimum size to the main window.
10713
10714 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10715
10716         * text2.C (copySelection):
10717         (cutSelection):
10718         * lyxfind.C (LyXReplace):
10719         * BufferView_pimpl.C (Dispatch): pass the correct flag to
10720         LyXText::selectionAsString.
10721
10722         * paragraph.C (asString): add "label" argument to the second form
10723
10724         * text2.C (selectionAsString): add "label" argument and pass it to
10725         Paragraph::asString.
10726
10727 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10728
10729         * lyx_main.C (commandLineHelp): remove version information
10730
10731 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
10732
10733         * lyx_main.C: add -version commandline option
10734
10735 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10736
10737         * paragraph.h: make the optional constructor arg required instead.
10738         some modifications to other files because of this.
10739
10740         * minibuffer.C (C_MiniBuffer_peek_event): make it static
10741
10742         * lyxserver.C (C_LyXComm_callback): make it static
10743
10744         * lyx_main.C (error_handler): make it static
10745
10746         * lyx_gui.C (LyX_XErrHandler): make it static
10747
10748         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
10749
10750         * WorkArea.C: make the extern "C" methods static.
10751
10752         * Makefile.am (lyx_LDADD): simplify
10753
10754 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10755
10756         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
10757         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
10758
10759         * LyXAction.C (init):
10760         * lyxfunc.C (dispatch): associated code removal.
10761
10762 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10763
10764         * lyxfont.h (isSymbolFont): shut off warning
10765
10766         * text.C (setHeightOfRow):
10767         (getVisibleRow): fix crash with empty paragraphs which have a
10768         bottom line
10769
10770 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
10771
10772         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
10773         code.
10774
10775 2001-09-04  José Matos  <jamatos@fep.up.pt>
10776         * buffer.C
10777         * buffer.h
10778         * tabular.C (docbook): rename docBook method to docbook.
10779
10780 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10781
10782         * Makefile.am: add dependencies to main.o.
10783
10784 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
10785
10786         * FontLoader.C (available): Return false if !lyxrc.use_gui
10787
10788 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
10789
10790         * FontInfo.C (query):
10791         * converter.C (view):
10792         * importer.C (Import):
10793         * exporter.C (Export): Can not -> cannot.
10794
10795 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
10796
10797         * BufferView_pimpl.C: allow to create index inset even if
10798           string is empty
10799
10800 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10801
10802         * buffer.C (getLists): replace boost::tie code with an explicit pair
10803         as boost::tie can break some compilers.
10804
10805         * iterators.h: Added a std:: declaration to the return type of
10806         ParIterator::size.
10807
10808 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
10809
10810         * lyxrc.C: add help for view_dvi_paper_option, default to safe
10811           case.
10812
10813 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
10814
10815         * iterators.[Ch]: New files. Provide paragraph iterators.
10816
10817         * buffer.C (changeLanguage): Use paragraph iterators.
10818         (isMultiLingual): ditto
10819
10820         * BufferView2.C (ChangeInsets): Use paragraph iterators.
10821
10822 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
10823
10824         * FontLoader.C: Support for cmr font.
10825
10826 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
10827
10828         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
10829         (available): New method.
10830
10831         * FontInfo.C (getFontname): Use scalable fonts even when
10832         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
10833         found.
10834
10835 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
10836
10837         * converter.C (Formats::view): reverted! Incorrect fix.
10838
10839 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
10840
10841         * converter.C (Formats::view): only output the -paper option
10842         if the dvi viewer is xdvi, thereby fixing bug #233429.
10843
10844 2001-08-23  Herbert Voss  <voss@perce>
10845
10846         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
10847
10848 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
10849
10850         * Spacing.h (Spacing): Set space to Default on in the default
10851         constructor.
10852
10853 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10854
10855         * vc-backend.h (RCS::versionString): add RCS to version
10856         (CVS::versionString): add CVS to version
10857
10858         * vc-backend.C (scanMaster): do not add CVS to version.
10859         (scanMaster): do not add RCS to version
10860
10861         * lyxvc.C (versionString): new method
10862
10863         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
10864
10865 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10866
10867         * Spacing.C (set): initialize fval
10868
10869 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
10870
10871         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
10872         " or \.
10873
10874 2001-08-16  Juergen Vigna  <jug@sad.it>
10875
10876         * lyxfunc.C (dispatch): implemented the new FINISHED states.
10877
10878 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
10879
10880         * BufferView_pimpl.C:
10881         * figureForm.C:
10882         * lyxtext.h:
10883         * text2.C: setParagraph takes linespacing now
10884
10885 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
10886
10887         * LyxAction.C: add internal LFUN_CITATION_INSERT
10888
10889         * LyXView.C: actually apply fix
10890
10891         * bufferlist.C: fix open non-existent file
10892
10893         * lyxfind.C: fix indentation
10894
10895         * lyxfunc.C: remove unneeded assert, fix typo
10896
10897 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
10898
10899         * MenuBackend.C: use "Floatname List"
10900
10901 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
10902
10903         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
10904         when converting LaTeX layout to insetERT.
10905         Generate a non-collapsed float when reading old float
10906
10907 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
10908
10909         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
10910         ERT insets.
10911
10912 2001-08-13  Juergen Vigna  <jug@sad.it>
10913
10914         * text.C (fill): return 0 instead of 20 as this seems to be the more
10915         correct value.
10916
10917 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
10918
10919         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
10920         lyxrc.font_norm.
10921
10922 2001-08-13  Juergen Vigna  <jug@sad.it>
10923
10924         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
10925         casesensitive off.
10926         (SearchBackward): comment out the unlocking of the inset_owner this
10927         should not be needed!
10928
10929 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
10930
10931         * Many files: Remove inherit_language, and add latex_language
10932
10933         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
10934         collapsible insets.
10935
10936 2001-08-10  Juergen Vigna  <jug@sad.it>
10937
10938         * text.C (prepareToPrint): fixed hfill-width in draw!
10939
10940         * BufferView2.C (selectLastWord): save the selection cursor as this
10941         now is cleared in the function LyXText::clearSelection!
10942
10943 2001-08-08  Juergen Vigna  <jug@sad.it>
10944
10945         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
10946         BACKSPACE type functions.
10947
10948         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
10949         is only cutted from the document but not put in the cut-buffer, where
10950         still the old stuff should be.
10951
10952         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
10953
10954         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
10955
10956         * tabular.C (SetWidthOfCell): fixed special case where the width
10957         was not updated!
10958         (LeftLine): handle '|' in align_special.
10959         (RightLine): ditto
10960         (LeftAlreadyDrawed): ditto
10961         (SetWidthOfCell): ditto
10962
10963 2001-08-07  Juergen Vigna  <jug@sad.it>
10964
10965         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
10966
10967 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10968
10969         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
10970         * lyxlex.[hC]: ditto
10971
10972 2001-08-06  Juergen Vigna  <jug@sad.it>
10973
10974         * text.C (getVisibleRow): fix up row clearing a bit.
10975
10976 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10977
10978         * minibuffer.C: make sure the X server sees the changes in the input.
10979
10980 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10981
10982         * paragraph.C (getFont): split into...
10983         (getLabelFont): this
10984         (getLayoutFont): and this
10985         * paragraph_pimpl.C (realizeFont): calling this
10986
10987         * text2.C (getFont): split into...
10988         (getLayoutFont): this
10989         (getLabelFont): and this
10990         (realizeFont): all three calling this
10991
10992         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
10993         files where used.
10994
10995 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10996
10997         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
10998
10999 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
11000
11001         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11002         layouts from the Quote inset insertion.
11003
11004 2001-08-03  Juergen Vigna  <jug@sad.it>
11005
11006         * BufferView_pimpl.C (update): do the fitCursor only at the end!
11007
11008         * screen.C (drawFromTo): don't call fitcursor here and do the loop
11009         only if status not is already CHANGED_IN_DRAW (second level).
11010
11011         * text.C (draw): don't set the need_break_row when inside an
11012         InsetText LyXText.
11013
11014 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11015
11016         * buffer.C (parseSingleLyXformat2Token): handle more latex
11017         conversion cases.
11018
11019         * bufferview_funcs.[hC]: change function names to
11020         begin with small char, adjust other files.
11021
11022 2001-08-02  André Pönitz <poenitz@gmx.net>
11023
11024         * lyxfunc.C:
11025         BufferView_pimpl.C: remove broken special code for math-greek
11026
11027 2001-08-02  Juergen Vigna  <jug@sad.it>
11028
11029         * BufferView_pimpl.C (update): redone this function so that we
11030         update the text again if there was a CHANGE_IN_DRAW.
11031
11032         * screen.C (cursorToggle): removed LyXText parameter and recoded.
11033         (drawFromTo): added a new internal bool which is used by draw() and
11034         redraw() function.
11035         (general): some cursor drawing problems fixed.
11036
11037 2001-08-01  Juergen Vigna  <jug@sad.it>
11038
11039         * lyxfind.C (LyXFind): fixed
11040         (SearchForward): ditto
11041         (SearchBackward): ditto
11042
11043         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11044         spurius drawing of the cursor in the main area.
11045
11046         * text2.C (status): small fix which could lead to a segfault!
11047         (clearSelection): remove unneeded BufferView param.
11048
11049 2001-08-01  André Pönitz <poenitz@gmx.net>
11050
11051         * lyxfunc.C: small change due to changed mathed interface
11052
11053 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11054
11055         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
11056
11057 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
11058
11059         * lyxfunc.c: fail gracefully if file doesn't exist
11060
11061         * LyXSendto.C:
11062         * buffer.C:
11063         * lyxfunc.C:
11064         * BufferView_pimpl.C: IsDirWriteable() proto changed
11065
11066         * LyXView.C: fix updateWindowTitle() to store the last title
11067
11068 2001-07-31  Juergen Vigna  <jug@sad.it>
11069
11070         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
11071         the font (wrong since using of Paragraph::highestFontInRange).
11072
11073         * paragraph.C (highestFontInRange): added a default_size parameter.
11074
11075         * text.C (getVisibleRow): minor clear row changes (still not perfect).
11076         (setHeightOfRow): reformat
11077
11078 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11079
11080         * converter.[hC] + affected files: move to (inital-char)lowercase
11081         function names.
11082
11083         * ParagraphParameters.C (ParagraphParameters): remove commented code
11084
11085         * PainterBase.[Ch]: remove commented code
11086
11087         * LaTeXFeatures.h: add "bool floats" for float.sty
11088
11089         * LaTeXFeatures.C (LaTeXFeatures): init floats
11090         (require): handle float
11091         (getPackages): do it with floats
11092
11093 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11094
11095         * BufferView_pimpl.C (Dispatch): improve handling of
11096         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
11097
11098         * commandtags.h: #include lyxfont.h here temporarily to avoid
11099         keybinding bug.
11100
11101         * bufferlist.h: include LString.h here.
11102
11103 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11104
11105         * text2.C (getStringToIndex): new method.
11106
11107 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
11108
11109         * *: Reduced header file dependencies all over.
11110
11111 2001-07-30  Baruch Even  <baruch@lyx.org>
11112
11113         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
11114
11115 2001-07-29  Baruch Even  <baruch@lyx.org>
11116
11117         * buffer.C (readInset): Changed GRAPHICS to Graphics.
11118
11119 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11120
11121         * ParameterStruct.h (endif): add a default constructor to make
11122         sure that all variables is initialized.
11123
11124         * ParagraphParameters.C (ParagraphParameters): adjust
11125
11126 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11127
11128         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11129         index; also, check that there is something to index, and that it
11130         does not span over several paragraphs.
11131         (doubleClick): use WHOLE_WORD_STRICT for double click.
11132
11133         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
11134
11135         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11136         scheme.
11137
11138 2001-07-26  Baruch Even  <baruch@lyx.org>
11139
11140         * buffer.C (readInset): Changed to call up InsetGraphics when reading
11141         an InsetFig figure, backwards compatible reading of old figure code.
11142
11143 2001-07-27  Juergen Vigna  <jug@sad.it>
11144
11145         * text2.C: font.realize function adaption.
11146
11147         * text.C (draw): add a warnings lyxerr text if needed.
11148
11149         * layout.C: font.realize function adaption.
11150
11151         * language.C: add inherit_language and implement it's handlings
11152
11153         * bufferview_funcs.C (StyleReset): remove language parameter from
11154         font creation (should be language_inherit now).
11155
11156         * bufferparams.C (writeFile): handle ignore_language.
11157
11158         * paragraph.C (getFontSettings): the language has to be resolved
11159         otherwise we have problems in LyXFont!
11160
11161         * lyxfont.C (lyxWriteChanges): added document_language parameter
11162         (update): removed unneeded language parameter
11163
11164         * paragraph.C (validate): fixed wrong output of color-package when
11165         using interface colors for certain fonts in certain environments,
11166         which should not seen as that on the final output.
11167
11168 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
11169
11170         * BufferView_pimpl.C:
11171         * Thesaurus.h:
11172         * Thesaurus.C:
11173         * Makefile.am:
11174         * commandtags.h:
11175         * LyXAction.C: add thesaurus support
11176
11177         * lyxfind.h:
11178         * lyxfind.C: add "once" parameter, for thesaurus, to not
11179           move to the next match
11180
11181 2001-07-26  Juergen Vigna  <jug@sad.it>
11182
11183         * lyxfont.C (realize): honor ignore_language too!
11184         (resolved): ditto.
11185
11186         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11187
11188         * text.C (draw): one place more for ignore_language to not draw
11189         itself!
11190
11191 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
11192
11193         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11194
11195 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11196
11197         * buffer.C (parseSingleLyXformat2Token): a more general fix for
11198         the minipage conversion problem.
11199
11200 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11201
11202         * buffer.C (parseSingleLyXformat2Token): check minipage if we
11203         insert an inset.
11204
11205 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11206
11207         * BufferView.h: don't forward declare WorkArea
11208
11209         * BufferView.C: don't include WorkArea.h
11210
11211 2001-07-25  André Pönitz <poenitz@gmx.net>
11212
11213         * commandtags.h:
11214         * LyXAction.C:
11215         * lyxfunc.C:  new LFUN 'math-space'
11216
11217         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11218
11219 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11220
11221         * text2.C (toggleInset): call open/close
11222
11223 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11224
11225         * lyxfunc.C (dispatch): add debug for the disabled case
11226
11227         * font.C (buttonText): make similar to rectText
11228
11229         * buffer.C (readInset): comment out parsing of insetlist and
11230         insttheorem
11231
11232         * PainterBase.C (rectText): small correction
11233
11234         * BufferView_pimpl.C: comment out insettheorem and insetlist
11235         * LyXAction.C: ditto
11236         * commandtags.h: ditto
11237
11238 2001-07-24  Juergen Vigna  <jug@sad.it>
11239
11240         * text.C (draw): honor the ignore_language.
11241
11242         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11243
11244 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11245
11246         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11247         char inset.
11248
11249 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11250
11251         * lyxtext.h: remove unused (and unimplemented) methods
11252
11253 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11254
11255         * text.C (getVisibleRow): honor background color
11256
11257         * PainterBase.h:
11258         * Painter.h: remove default color argument for fillRectangle
11259
11260         * text.C (backgroundColor): new method
11261
11262 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11263
11264         * text.C (getVisibleRow): adjust
11265
11266         * font.[Ch] (rectText): new method, metrics
11267         (buttonText): new method, metrics
11268
11269         * PainterBase.[hC]: make rectText and buttonText always draw and take
11270         fewer paramteres.
11271
11272 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11273
11274         * ToolbarDefaults.C (read):
11275         * MenuBackend.C (read): allow escaping in all strings
11276
11277         * BufferView_pimpl.C (insertAndEditInset): new method.
11278         (Dispatch): use insertAndEditInset whenever appropriate.
11279
11280         * BufferView_pimpl.C (insertNote): removed
11281
11282         * BufferView_pimpl.C (smartQuote): new method, moved from
11283         BufferView; if an insetquote cannot be inserted, insert a '"'
11284         character instead.
11285
11286         * BufferView2.C: remove insertCorrectQuote();
11287
11288         * lyxfunc.C (getStatus): Add support for all remaingin
11289         inset-insert lfuns.
11290
11291         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11292
11293         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11294         command (necessary to pass " as parameter of self-insert.
11295
11296         * text.C (selectWordWhenUnderCursor):
11297         (selectWord): add word_location parameter
11298         (selectWordWhenUnderCursor): same + remove special code for word
11299         boundary.
11300         (selectNextWord): use kind() to guess type of insetspecialchar,
11301         not latex().
11302
11303         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11304         (insertErtContents): create ert insets as collapsed.
11305         (readInset): better compatibility code for Info inset.
11306
11307 2001-07-20  Juergen Vigna  <jug@sad.it>
11308
11309         * lyxfunc.C (dispatch): use always LyXFind now!
11310
11311         * text2.C (init): add a reinit flag so that the LyXText can be
11312         reinited instead of deleted and reallocated (used in InsetText).
11313
11314         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11315
11316         * text.C: ditto
11317
11318         * text2.C: ditto
11319
11320 2001-07-18  Juergen Vigna  <jug@sad.it>
11321
11322         * text.C (selectNextWord): handle insets inside inset by calling
11323         always the bv->text functions so that we can go up the_locking_inset!
11324
11325         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
11326         in strange locations when inside an inset!
11327
11328         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
11329         handling to include insets.
11330
11331         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
11332
11333 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11334
11335         * LyXAction.C (init):
11336         * commandtags.h:
11337         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
11338         LIGATURE_BREAK, since the name is so stupid.
11339
11340 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11341
11342         * buffer.C (readInset): enable reading of new InsetNotes as well as old
11343         InsetInfos.
11344
11345         * FontLoader.C: remove FORMS_H_LOCATION cruft.
11346
11347         * sp_form.[Ch]: remove.
11348
11349         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
11350
11351         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
11352         InsetInfo.
11353
11354         * src/buffer.C (readInset): ditto.
11355
11356 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11357
11358         * BufferView_pimpl.C (specialChar): new method. Obsoletes
11359         menuSeparator(), endOfSentenceDot(), ldots() and
11360         hyphenationPoint(), which are therefore removed.
11361         (Dispatch): handle LFUN_HYPHENATION_BREAK.
11362
11363         * LyXAction.C (init):
11364         * commandtags.h: add LFUN_HYPHENATION_BREAK.
11365
11366         * paragraph.C (getWord): removed.
11367
11368         * BufferView_pimpl.C (Dispatch): use last word or selection for
11369         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
11370
11371         * lyx_main.C (queryUserLyXDir): do not ask before creating
11372         user_dir, except if it has been named explicitely.
11373
11374 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11375
11376         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
11377         a document of zero size.
11378
11379 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
11380
11381         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
11382         approriately in the c-tor and in require().
11383         (getPackages): output the appropriate LaTeX for natbib support.
11384
11385         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
11386         variables "use_natbib" and "use_numerical_citations" when reading the
11387         LyX file.
11388         (readInset): read the various natbib cite commands.
11389         (validate): white-space change.
11390
11391         * bufferparams.[Ch]: new variables "bool use_natbib" and
11392         "bool use_numerical_citations".
11393         (writeFile): output them in the LyX file.
11394
11395 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11396
11397         * lyxfunc.C (getStatus): add support for all the inset insertion
11398         commands.
11399
11400         * text2.C (insertInset):
11401         * paragraph.C (insetAllowed):
11402         * BufferView_pimpl.C (insertInset): update to take in account the
11403         renaming of insertInsetAllowed
11404
11405         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
11406
11407         * text2.C (getInset): new method. returns inset at cursor position.
11408
11409         * BufferView_pimpl.C (Dispatch): changes because of this.
11410
11411         * LyXAction.C (init): rename open-stuff to inset-toggle.
11412
11413         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
11414
11415         * text2.C (toggleInset): renamed from openStuff; use
11416         Inset::open().
11417
11418 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
11419
11420         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
11421
11422         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
11423
11424 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
11425
11426         * buffer.C (readLyXformat2): Add filename to the error dialog
11427
11428 2001-07-18  Juergen Vigna  <jug@sad.it>
11429
11430         * tabular.C (GetCellNumber): put an assert here instead of the check!
11431
11432 2001-07-17  Juergen Vigna  <jug@sad.it>
11433
11434         * BufferView_pimpl.C (toggleSelection): adapted too.
11435
11436         * text.C (selectNextWord): adapted for use with insets.
11437         (selectSelectedWord): ditto
11438
11439 2001-07-17  Juergen Vigna  <jug@sad.it>
11440
11441         * sp_spell.C (PSpell): fix initialitation order.
11442
11443 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11444
11445         * paragraph.C: spacing
11446
11447 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
11448
11449         * sp_spell.C: repair language selection for pspell
11450
11451 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11452
11453         * lyxfunc.h: change more methods to begin with lower char.
11454
11455 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
11456
11457         * buffer.C (parseSingleLyXformat2Token): Generate error insets
11458         for unknown layouts.
11459
11460 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11461
11462         * buffer.C (readLyXformat2): Generate an error dialog if there are
11463         unknown layouts.
11464
11465 2001-07-16  Juergen Vigna  <jug@sad.it>
11466
11467         * sp_spell.C: always compile ISpell part.
11468
11469         * lyxrc.C: added use_pspell entry and it's handling.
11470
11471 2001-07-13  Juergen Vigna  <jug@sad.it>
11472
11473         * sp_spell.C: removed double includes.
11474
11475 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
11476
11477         Consistent use of Lsstream.h:
11478         * Lsstream.h: added using std::stringstream for consistencies sake.
11479
11480         * buffer.C: removed using std::stringstream
11481
11482         * lyxfont.C (stateText):
11483         * paragraph.C (asString):
11484         * text.C (selectNextWord, selectSelectedWord):
11485         * text2.C (setCounter):
11486         * vspace.C (asString, asLatexString):
11487         std::ostringstream -> ostringstream.
11488
11489 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
11490
11491         * LyXAction.C: add LFUN_HELP_ABOUTLYX
11492         * commandtags.h: add LFUN_HELP_ABOUTLYX
11493         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
11494
11495 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
11496
11497         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
11498         cursorToggle()
11499         * lyx_gui_misc.C: remove spellchecker
11500         * lyxfunc.C: showSpellchecker
11501         * sp_base.h: added
11502         * sp_ispell.h: added
11503         * sp_pspell.h: added
11504         * sp_spell.C: added
11505         * sp_form.[Ch]: removed
11506         * spellchecker.[Ch]: removed
11507
11508 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
11509
11510         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
11511         is set.
11512         (simpleTeXSpecialChars): Simply print the input character without
11513         any special translation if pass_thru is set.
11514
11515         * layout.h: Added bool pass_thru to layout class for being able to
11516         implement pass through of a paragraph for Literate Programming.
11517
11518         * layout.C: add LT_PASS_THRU to LayoutTags enum.
11519         * layout.C (LyXLayout): set pass_thru to flase in constructor.
11520         * layout.C (Read): add "passthru" to list of layout tags and add
11521         code to set the pass_thru boolean when it is read.
11522
11523 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11524
11525         * trans_decl.h: remove allowed from KmodInfo
11526
11527         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
11528         remove allowed code
11529         (Load): adjust
11530
11531         * paragraph_pimpl.C (erase): use boost::prior
11532
11533         * Painter.C (text): use data() instead of c_str() when length is
11534         also provided.
11535         * WorkArea.C (putClipboard): ditto
11536         * font.h (width): ditto
11537
11538         * BufferView2.C: use it-> instead of (*it). for iterators
11539         * texrow.C: ditto
11540         * paragraph_pimpl.C: ditto
11541         * paragraph.C: ditto
11542         * minibuffer.C: ditto
11543         * language.C: ditto
11544         * kbmap.C: ditto
11545         * encoding.C: ditto
11546         * counters.C: ditto
11547         * converter.C: ditto
11548         * chset.C: ditto
11549         * Variables.C: ditto
11550         * TextCache.C: ditto
11551         * MenuBackend.C: ditto
11552         * LyXAction.C: ditto
11553         * LColor.C: ditto
11554         * FloatList.C: ditto
11555         * DepTable.C: ditto
11556         * ColorHandler.C (LyXColorHandler): ditto
11557
11558 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11559
11560         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
11561
11562         * text2.C (openStuff): reintroduce this method (which had been
11563         nuked in NEW_INSETS frenzy).
11564
11565         * lyxfunc.C (Dispatch): when an action has not been handled, use
11566         its name in the error message, not its number.
11567
11568         * paragraph.C (inInset): change method name to begin with lowercase.
11569
11570         * undo_funcs.C:
11571         * text2.C: updates because of this.
11572
11573 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11574
11575         * ToolbarDefaults.C (add): add spaces in error message
11576
11577 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11578
11579         * buffer.C (readLyXformat2): initialize the ert comp. variables.
11580         (readLyXformat2): rename return_par to first_par, use lyxlex's
11581         pushToken and remove the manual push handling.
11582         (parseSingleLyXformat2Token): add another ert comp. variable:
11583         in_tabular, rename return_par to first_par. handle newlines better
11584
11585 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11586
11587         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
11588
11589 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11590
11591         * text2.C (getParFromID): removed
11592
11593         * buffer.C (getParFromID): new method moved form lyxtext.
11594         * BufferView2.C (insertErrors): adjust
11595         (setCursorFromRow): adjust
11596         * BufferView_pimpl.C (restorePosition): adjust
11597         * lyxfunc.C (Dispatch): adjust
11598         * undo_funcs.C (textUndo): adjust
11599         (textRedo): adjust
11600         (textHandleUndo): adjust
11601         (textHandleUndo): adjust
11602
11603 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11604
11605         * buffer.C: up' the LYX_FORMAT
11606
11607         * lyxfont.h: turn NO_LATEX on as default
11608
11609         * buffer.C (insertErtContents): new methods of tex style compability.
11610         (parseSingleLyXformat2Token): use it several places.
11611         * tabular.C (OldFormatRead): and here
11612
11613 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11614
11615         * text2.C: remove some commented code.
11616         reindent file.
11617
11618         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
11619         * trans.C: changes because of the above.
11620
11621 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
11622
11623         * text2.C (setCounter): Fix counters bug with bibliography layout.
11624
11625 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11626
11627         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
11628         own member functions
11629         (simpleTeXSpecialChars): ditto
11630
11631 2001-07-06  Juergen Vigna  <jug@sad.it>
11632
11633         * a lot of files: changed the access to LyXText::status and the
11634         call of undo-functions.
11635
11636         * undo.[Ch]: added a inset_id to the undo informations.
11637
11638         * undo_funcs.[Ch]: added and moved here all undo functions.
11639
11640         * lyxtext.h: give the status enum a weight, made status_ a private
11641         variable and made accessor functions for it, removed the whole bunch
11642         of undo-functions as they are now in their own file, make some
11643         functions publically available. Added function ownerParagraph with
11644         int parameter.
11645
11646         * paragraph.[Ch]: added "bool same_ids" to the constructor,
11647         made InInset() a const function, added getParFromID() function.
11648
11649         * buffer.[Ch]: added const version for inset_iterator functions,
11650         added getInsetFromID() function.
11651
11652         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
11653         changed undo functions for new version.
11654
11655 2001-07-05  Juergen Vigna  <jug@sad.it>
11656
11657         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
11658         unknow mechanism does not call the proper constructor but only this
11659         one also if I request the other!?
11660
11661 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11662
11663         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
11664
11665         * text2.C (LyXText): use initialization lists.
11666
11667         * lyxtext.h (Selection): initialize set_ and mark_
11668         (init): remove method
11669
11670 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
11671
11672         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
11673
11674 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11675
11676         * screen.[Ch]: change method names to begin with lowercase
11677
11678         * BufferView_pimpl.C (updateScrollbar): simplify further and
11679         hopefully make it a bit faster.
11680
11681 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11682
11683         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
11684         calling directly xforms functions.
11685
11686         * Painter.C (Painter):
11687         * lyx_cb.C (MenuWrite):
11688         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
11689         fl_display.
11690
11691         * lyx_gui.C: remove bogus guiruntime extern declaration.
11692
11693 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11694
11695         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
11696         in NEW_INSETS
11697         (redoDrawingOfParagraph): ditto
11698         (redoParagraphs): ditto
11699         (cutSelection): don't create a object for CutAndPaste use the
11700         static method directly
11701         (pasteSelection): ditto
11702
11703         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
11704         LyXview (+ rename)
11705
11706 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11707
11708         * modifications to some other files because of this.
11709
11710         * Makefile.am (lyx_SOURCES): add XFormsView
11711
11712         * XFormsView.[Ch]: new files
11713
11714         * LyXView.[Ch]: make LyXView a base class for the gui handling for
11715         the main window. Move the gui dependent stuff to XFormsView
11716
11717 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11718
11719         * tabular.C (GetCellInset): update cur_cell also in the row/col
11720         version of this function.
11721
11722         * lyxfunc.C: no need to include figure_form.h here.
11723
11724         * FontLoader.h:
11725         * lyxfunc.h:
11726         * lyxscreen.h:
11727         * text2.C:
11728         * lyxvc.C: no need to include forms.h here.
11729
11730 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11731
11732         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
11733
11734         * lyxfunc.C (Dispatch):
11735         * Spacing.C (set):
11736         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
11737         constructor argument.
11738
11739 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11740
11741         * paragraph.C (Paragraph): dont't clear, and just set layout.
11742         (makeSameLayout): use params's copy contructor.
11743
11744         * ParagraphParameters.[Ch] (makeSame): delete method
11745
11746 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
11747
11748         * Variables.[Ch]: fix indentation, rename set to isSet
11749
11750 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11751
11752         * lyxfunc.C (Dispatch): fix typo
11753
11754 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11755
11756         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
11757         upper_bound.
11758
11759         * bufferlist.C: include assert.h for emergencyWrite().
11760
11761 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11762
11763         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
11764           give up at last (bug #425202) !
11765
11766 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
11767
11768         * lyx_gui_misc.C:
11769         * sp_form.h:
11770         * sp_form.C:
11771         * spellchecker.h:
11772         * spellchecker.C: strip spellchecker options and bring up
11773           preferences tab instead
11774
11775 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11776
11777         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
11778         the istringstream constructor
11779
11780 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11781
11782         * paragraph.C (getLayout): fix return value
11783
11784         * paragraph.h: do not declare getLayout as inline.
11785
11786         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
11787
11788 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11789
11790         * lyxcursor.h (operator<): new func
11791         (operator>): new func
11792         (operator>=): new func
11793         (operator<=): new func
11794
11795         * text.C (changeCase): use selection.start and selection.end
11796         (changeRegionCase): require from to be <= to. Require par to be a
11797         valid paragraph.
11798
11799         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
11800
11801 2001-06-27  Juergen Vigna  <jug@sad.it>
11802
11803         * text.C (cursorLeftOneWord): changed to return the cursor and added
11804         overlay with BufferView * parameter which calls this one.
11805         (getWord): added
11806         (selectWord): use new getWord function.
11807         (changeCase): renamed from changeWordCase as and extended to work
11808         also on selections.
11809
11810         * lyxtext.h: added enum word_location
11811
11812         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
11813         changeCase as this operates now also on selections.
11814
11815 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
11816
11817         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
11818
11819         * many files: send debug output to Debug::INFO instead of
11820         Debug::ANY.
11821
11822         * converter.C (View):
11823         (Convert):
11824         (Move): send debug output to Debug::FILES instead of console.
11825
11826 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
11827
11828         * lyxfunc.C (getStatus): use func_status
11829
11830         * func_status.h: new header, describing the results of
11831         LyXFunc::getStatus;
11832
11833         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
11834         LFUN_MATH_HALIGN.
11835
11836 2001-06-25  The LyX Project  <jug@sad.it>
11837
11838         * buffer.C (sgmlOpenTag):
11839         (sgmlCloseTag):
11840         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
11841
11842 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11843
11844         * text2.C: remove some dead code
11845
11846         * tabular.C (GetCellInset): store the last cell checked (gotten)
11847
11848         * tabular.h: add the helper for the speedup
11849
11850         * lyxtext.h: remove some dead code
11851
11852 2001-06-26  The LyX Project  <Asger>
11853
11854         * paragraph.C: Change export to LaTeX of alignment to
11855         \begin{center} and family for better roundtrip work with reLyX.
11856
11857         * Tune the math drawing a bit.
11858
11859 2001-06-25  The LyX Project  <Asger>
11860
11861         * LColor.C (LColor): New color for math background. New color
11862         for buttons.
11863
11864 2001-06-25  The LyX Project  <jug@sad.it>
11865
11866         * lyxfunc.C (MenuNew): remove extra check for .lyx file
11867
11868         * lyxfunc.C (Open):
11869         * bufferlist.C (newFile): do not restrict to files ending with
11870         .lyx
11871
11872         * BufferView_pimpl.C (MenuInsertLyXFile):
11873
11874 2001-06-24  The LyX Project  <jug@sad.it>
11875
11876         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
11877         of compare_no_case
11878
11879 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11880
11881         * lyxtext.h: rename most methods to begin with a small char.
11882         Lots of changes because of this.
11883
11884         * paragraph.C (Paragraph): do not call fitToSize
11885         (erase): call Pimpl::erase
11886         (insertChar): call Pimpl::insertChar
11887         (insertInset): call Pipl::insertInset
11888         (breakParagraph): do not call fitToSize
11889         (breakParagraphConservative): do not call fitToSize
11890         (fitToSize): remove method
11891
11892         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
11893
11894 2001-06-24  The LyX Project  <Asger>
11895
11896         * Fix Qt compilation^2
11897
11898 2001-06-24  The LyX Project  <jug@sad.it>
11899
11900         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
11901         depthHook(getDepth()-1).
11902
11903         * paragraph.h:
11904         * ParagraphParameters.h:
11905         * ParameterStruct.h: change type of depth to unsigned int ==
11906         depth_type. Many adaptations to other files before of that.
11907
11908 2001-06-24  The LyX Project  <Asger>
11909
11910         * Fix Qt compilation.
11911
11912 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11913
11914         * paragraph.h: renamed several methods to begin with small letter.
11915         several changes to many parts of the code because of this.
11916
11917 2001-06-23  The LyX Project  <jug@sad.it>
11918
11919         * text2.C (InsertStringAsLines): renamed from InsertStringA;
11920         rewritten to discard all double spaces when KeepEmpty is off
11921         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
11922         to only handle newlines but not fiddle with spaces and friends.
11923
11924         * lyxfunc.C (MenuNew): when doing 'new from template', use
11925         template_path as default directory
11926
11927 2001-06-23  The LyX Project  <Asger>
11928
11929         * Clean-up of header file includes all over
11930         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
11931
11932 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11933
11934         * paragraph.h: renamed from lyxparagraph.h
11935
11936 2001-06-23  Asger  <lyx@violet.home.sad.it>
11937
11938         * Buffer.h: Removed Buffer::resize
11939         * BufferList.h: Removed BufferList::resize
11940         * LyXView.h: Added LyXView::resize. This way, we will only reflow
11941         the document lazily when we change the width, or the font settings.
11942
11943 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11944
11945         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
11946
11947 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11948
11949         * buffer.h: remove out of date comment
11950
11951 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11952
11953         * lyxscreen.h:
11954         * screen.C: fix "theoretical" GC leak
11955
11956 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11957
11958         * LaTeX.C (scanAuxFile):
11959         (deplog): remove trailing \r when reading stream (useful under
11960         win32)
11961
11962 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
11963
11964         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
11965         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
11966         and BufferView::theLockingInset(Inset*), so should use them and not
11967         access bv_->text->the_locking_inset directly.
11968
11969         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
11970
11971 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
11972
11973         * Makefile.am:
11974         * tex-defs.h: remove old unused file
11975
11976 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
11977
11978         * BufferView_pimpl.C: fix typo, remove minibuffer message
11979           when buffer has loaded
11980
11981 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11982
11983         * lyxfunc.C (Dispatch): use stringstream
11984         (MenuNew): use stringstream
11985         (Open): use stringstream
11986
11987         * importer.C (Import): use stringstream
11988
11989         * bufferview_funcs.C (CurrentState): use stringstream
11990
11991         * LaTeX.C (run): use stringstream
11992
11993         * BufferView_pimpl.C (savePosition): use stringstream
11994         (restorePosition): use stringstream
11995         (MenuInsertLyXFile): use stringstream
11996
11997 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
11998
11999         * BufferView.C:
12000         * Bullet.C:
12001         * ColorHandler.C:
12002         * FontInfo.C:
12003         * FontLoader.C:
12004         * LColor.C:
12005         * LaTeXFeatures.C:
12006         * Painter.C:
12007         * gettext.C:
12008         * lyx_gui_misc.C:
12009         * lyxserver.C:
12010         * vspace.C: removed // -*- C++ -*- as first line.
12011
12012         * lyxfind.h:
12013         * version.h: added // -*- C++ -*- as first line.
12014
12015 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12016
12017         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12018
12019         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12020         of string
12021
12022 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12023
12024         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12025         of floats.
12026
12027 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12028
12029         * gettext.C: include LString.h even when --disable-nls is on.
12030
12031 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
12032
12033         * converter.h (Get): changed argument type from int to
12034         FormatList::size_type to avoid unnecessary conversion.
12035
12036         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12037         before using it.
12038
12039 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12040
12041         * gettext.h: include LString.h even when --disable-nls is on.
12042
12043 2001-06-07  Juergen Vigna  <jug@sad.it>
12044
12045         * text.C (BreakAgain): subst spaces with tabs.
12046
12047         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
12048         (resizeInsetsLyXText): set force on resizeLyXText.
12049
12050 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12051
12052         * gettext.h (gettext_init):
12053         (locale_init): use a real definition instead of a macro
12054
12055 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12056
12057         * Bufferview_pimpl.C:
12058         * LColor.h:
12059         * LColor.C: further lcolor tidies
12060
12061 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12062
12063         * BufferView_pimpl.C (updateScrollbar): simplify.
12064
12065         * BufferView2.C: don't include insets/insetinfo.h, change
12066         prototype for insertInset and call the Pimpl version. let
12067         updateInset call Pimpl version.
12068
12069         * BufferView.h: move inset_slept to BufferView::Pimpl, move
12070         gotoInset to BufferView::Pimpl
12071
12072 2001-06-01  Juergen Vigna  <jug@sad.it>
12073
12074         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
12075         inside a LockingInset (is the update needed at all?).
12076
12077 2001-05-31  Juergen Vigna  <jug@sad.it>
12078
12079         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
12080         here not the old one otherwise how should we compare it afterwards
12081         if it's the same!
12082
12083 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12084
12085         * lyxfont.C:
12086         * tabular.C:
12087         * tabular-old.C:
12088         * FontInfo.C: bring C functions into global namespace when
12089         necessary
12090
12091 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12092
12093         * LString.h: make sure config.h has been loaded before LString.h.
12094
12095         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
12096         (one for each char read by EatLine!).
12097
12098         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
12099         variables.
12100
12101 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12102
12103         * paragraph.C (BreakParagraph): set the inset_owner in the new par
12104         to the same as the par we break from
12105
12106 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12107
12108         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
12109
12110         * MenuBackend.C (expand): also create menu entries for wide
12111         versions of the floats.
12112
12113         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
12114
12115         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
12116
12117         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
12118         frontends/Makefile.am
12119
12120         * text2.C: adjust
12121         * text.C: adjust
12122
12123
12124         * tabular.C (getTokenValue): add std::
12125
12126         * tabular-old.C (getTokenValue): add std::
12127         (getTokenValue): ditto
12128         (getTokenValue): ditto
12129
12130         * screen.C (ToggleSelection): adjust
12131
12132         * lyxtext.h: put selection cursors inside a Selection struct.
12133
12134         * lyxfunc.C (moveCursorUpdate): adjust
12135
12136         * lyxfont.C (latexWriteStartChanges): add std::
12137
12138         * lyxfind.C: adjust
12139
12140         * font.h: delete with(char const *, LyXFont const &)
12141
12142         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
12143
12144         * FontInfo.C (getFontname): add std::
12145
12146         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12147         (workAreaButtonPress): adjust
12148         (tripleClick): adjust
12149         (update): adjust
12150         (moveCursorUpdate): adjust
12151         (Dispatch): adjust
12152
12153         * BufferView2.C (gotoInset): adjust
12154
12155 2001-05-30  Juergen Vigna  <jug@sad.it>
12156
12157         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
12158         to check pspell I add this as default as I now have new pspell
12159         libraries and they seem to use this.
12160
12161 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12162
12163         * text2.C (CutSelection): make the cursor valid before the call to
12164         ClearSelection.
12165
12166 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12167
12168         * kbsequence.C (parse): de-uglify a bit the parsing code, which
12169         relied on 0 terminated strings and other horrors. Bug found due to
12170         the new assert in lyxstring!
12171
12172         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12173         KP_ keys.
12174
12175 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12176
12177         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12178         to latinkeys.bind.
12179
12180         * lyxfunc.C (processKeySym): change method of getting to the
12181         self-insert char.
12182
12183         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12184         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12185         * BufferView_pimpl.[Ch]: here as private methods.
12186
12187 2001-05-28  Juergen Vigna  <jug@sad.it>
12188
12189         * text.C (SetHeightOfRow): added the update() call again as it is
12190         needed to initialize inset dimensions!
12191
12192 2001-05-16  Juergen Vigna  <jug@sad.it>
12193
12194         * text2.C (SetCharFont): Add new function with BufferView * and
12195         bool toggleall parameters for setting insets internal fonts.
12196         (SetFont): Freeze the undo as we may change fonts in Insets and
12197         all this change should be inside only one Undo!
12198
12199         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12200         setting font's in insets as for them we have the SetFont function!
12201
12202 2001-05-15  Juergen Vigna  <jug@sad.it>
12203
12204         * text2.C (ClearSelection): to be sure we REALLY don't have any
12205         selection anymore!
12206
12207         * tabular.C (TeXCellPreamble): fixed the left border problem for
12208         multicolumn cells.
12209
12210 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
12211
12212         * LaTeX.C (deplog): Make sure that the main .tex file is in the
12213         dependancy file
12214
12215 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12216
12217         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12218         LFUN_BREAKPARAGRAPH.
12219
12220         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12221         help test to "internal only", similar for LFUN_INSERT_URL
12222
12223         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12224         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12225         auto_region_delete and deadkeys.
12226
12227 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
12228
12229         * LColor.h:
12230         * LColor.C: remove some dead entries, tidy a little
12231
12232 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12233
12234         * lyxfunc.C (processKeySym): comment the Escape handling, remove
12235         commented code.
12236         (Dispatch): implement LFUN_ESCAPE
12237
12238         * commandtags.h: add LFUN_ESCAPE
12239
12240         * LyXAction.C (init): add entry for LFUN_ESCAPE
12241
12242         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12243         Remove commented code.
12244         (insertNote): moved here
12245         (open_new_inset): moved here
12246
12247         * BufferView[2].[Ch]: move insertNote and open_new_inset to
12248         BufferView_pimpl
12249
12250 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12251
12252         * kbmap.C (findbinding): clean it up and make it work correctly.
12253
12254         * lyx_main.C (init): do not pass argc and argv as parameters
12255
12256 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
12257
12258         * buffer.C: fix path for OS/2 & Win32
12259
12260         * lyx_gui.C:
12261         * lyx_main:
12262         * lyx_main.C: Added os:: class.
12263
12264         * os2_defines.h: update
12265
12266 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12267
12268         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12269         better by trying again with reduced state.
12270
12271 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12272
12273         * lyxrc.C (read): print error about invalid key sequence only when
12274         debugging (because not all latinX keysyms are known to some X
12275         servers)
12276
12277         * kbsequence.C (getiso): add a few std:: qualifiers
12278         (getiso): comment out extra return statement.
12279
12280 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12281
12282         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12283         handling.
12284         (Dispatch): enhance the accent inset a bit. (not perfect)
12285
12286 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12287
12288         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12289
12290 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12291
12292         * bufferlist.C (emergencyWrite): fix assert() call
12293
12294 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
12295
12296         * text.C (InsertChar): Added trivial patch to only send the "you
12297         can not do multiple spaces this way" message once during a
12298         session.
12299
12300 2001-05-08  Baruch Even  <baruch@lyx.org>
12301
12302         * Makefile.am: Changed order of libraries to get LyX to link properly
12303         with the gnome frontend.
12304
12305 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12306
12307         * LaTeXFeatures.h: add a std:: qualifier
12308
12309 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12310
12311         * paragraph.C (String): use stringstream
12312
12313 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12314
12315         * paragraph.C (writeFile): remove footflag arg
12316
12317         * buffer.C (makeLaTeXFile): use stringstream
12318         (latexParagraphs): remove footnot gurba
12319
12320         * LaTeXFeatures.C (getPackages): use stringstream
12321         (getMacros): likewise
12322         (getTClassPreamble): likewise
12323         (getFloatDefinitions): new method
12324
12325         * paragraph.C (writeFile): reindent
12326         (Erase): reindent
12327
12328         * WorkArea.h: revert the xpos + etc changes.
12329
12330         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
12331
12332         * lyxparagraph.[Ch]: add copy constructor, remove Clone
12333
12334         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
12335         (pasteSelection): likewise
12336         * text2.C (CreateUndo): likewise
12337
12338 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12339
12340         * minibuffer.C (peek_event): temporarily reduce the functionality
12341         of the minibuffer (to allow args on lfuns)
12342
12343         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
12344         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
12345
12346         * buffer.C (readInset): add compability reading of old float
12347         lists, add reading of new style float list.
12348         (readInset): avoid reevaluation of inscmd.getCmdName()
12349         (getLists): reindent
12350
12351         * MenuBackend.C (MenuItem): implement parsing of
12352         md_floatlistinsert and md_floatinsert.
12353         (expand::LastFiles): move initalizaton of iterators out of loop,
12354         avoid reevaluation.
12355         (expand::Documents): introduce typdedef vector<string> Strings,
12356         and use it.
12357         (expand::ExportFormats): introduce typedef vector<Format const *>
12358         Formats, and use it.
12359         (expand): implement FloatListInsert and FloatInsert.
12360
12361         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
12362         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
12363         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
12364
12365         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
12366         handling.
12367         (Dispatch::LFUN_FLOAT_LIST): implement
12368
12369 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12370
12371         * LaTeX.C (run): Fix problem with --export code.
12372
12373 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12374
12375         * BufferView.[Ch] (workarea): removed.
12376         (getClipboard) new method; wrapper for workarea()->getClipboard()
12377
12378         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
12379         bug.
12380
12381         * WorkArea.h (width, height, xpos, ypos): These methods all
12382         returned the dimensions of the work_area sub-area of WorkArea,
12383         resulting in a position error if the WorkArea were resized. Now
12384         return the dimensions of the entire WorkArea.
12385
12386         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
12387
12388 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12389
12390         * LaTeX.C (deplog): correct the syntax of regex reg1
12391
12392 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12393
12394         * undo.C: remove !NEW_INSETS cruft
12395
12396 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12397
12398         * text2.C: remove !NEW_INSETS cruft
12399
12400         * text.C: remove !NEW_INSETS cruft
12401
12402         * tabular.C: remove !NEW_INSETS cruft
12403
12404         * spellchecker.C: remove !NEW_INSETS cruft
12405
12406         * lyxtext.h: remove !NEW_INSETS cruft
12407
12408         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
12409
12410         * lyxfunc.C: remove !NEW_INSETS cruft
12411
12412         * lyxfind.C: remove !NEW_INSETS cruft
12413
12414         * lyx_cb.C: remove !NEW_INSETS cruft
12415
12416         * figureForm.C: remove  !NEW_INSETS cruft
12417
12418         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
12419
12420         * buffer.[Ch]: remove !NEW_INSETS cruft
12421
12422         * ToolbarDefaults.C: remove !NEW_INSETS cruft
12423
12424         * CutAndPaste.C: remove !NEW_INSETS cruft
12425
12426         * BufferView_pimpl.C: remove !NEW_INSETS cruft
12427
12428         * BufferView2.C: remove !NEW_INSETS cruft
12429
12430         * BufferView.h: remove !NEW_INSETS cruft
12431
12432 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12433
12434         * Lsstream.h: include LString.h before the sstream headers to
12435         fix problem with gcc 2.95.3 and lyxstring
12436
12437 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12438
12439         * lyx_main.C: add using directives when needed for C functions
12440         declared in std:: namespace.
12441
12442 2001-04-27  Juergen Vigna  <jug@sad.it>
12443
12444         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
12445         (SetHeightOfRow): comment out the update call should not be needed!
12446
12447 2001-04-13  Juergen Vigna  <jug@sad.it>
12448
12449         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
12450         (LyXTabular): tried to minimize operator= operations (and realized
12451         hopfully Lars wish).
12452
12453 2001-04-27  Juergen Vigna  <jug@sad.it>
12454
12455         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
12456
12457 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12458
12459         * lyxfunc.C (Dispatch): hack to make listof algorithm work
12460
12461         * buffer.C (readInset): hack to make listof algorithm work
12462
12463         * BufferView_pimpl.C: hack to make listof algorithm work
12464
12465 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12466
12467         * LyXAction.C: removed all !NEW_INSETS cruft
12468         (init): moved lfun_item in method
12469
12470         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
12471
12472 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12473
12474         * BufferView2.C (theLockingInset): white space.
12475
12476 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12477
12478         * minibuffer.C: include <iostream>
12479
12480         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
12481
12482         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
12483
12484         * commandtags.h: add LFUN_TRANSPOSE_CHARS
12485
12486         * text.[Ch] (TransposeChars): new method
12487
12488 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12489
12490         * call message directly through LyXView instead of through LyXFunc
12491         * BufferView2.C: adjust
12492         * BufferView_pimpl.C: adjust
12493         * FontLoader.C: adjust
12494         * buffer.C: adjust
12495         * bufferview_funcs.C: adjust
12496         * converter.C: adjust
12497         * figureForm.C: adjust
12498         * importer.C: adjust
12499         * lyx_cb.C: adjust
12500         * lyx_gui_misc.C: adjust
12501         * lyxfunc.C: adjust
12502         * lyxvc.C: adjust
12503         * text2.C: adjust
12504         + more files in subdirs
12505
12506         * lyxparagraph.h (size): move up int file
12507         (GetLayout): ditto
12508
12509         * adjust all uses of Assert to lyx::Assert.
12510
12511         * BufferView2.C (ChangeCitationsIfUnique): adjust for
12512         lyxfunctional in namespace lyx
12513         * layout.C (hasLayout): ditto
12514         (GetLayout): ditto
12515         (GetLayout): ditto
12516         (delete_layout): ditto
12517         (NumberOfClass): ditto
12518         * converter.C (GetFormat): ditto
12519         (GetNumber): ditto
12520         (Add): ditto
12521         (Delete): ditto
12522         (SetViewer): ditto
12523         * bufferlist.C (getFileNames): ditto
12524         (emergencyWriteAll): ditto
12525         (exists): ditto
12526         (getBuffer): ditto
12527         * MenuBackend.C (hasSubmenu): ditto
12528         (hasMenu): ditto
12529         (getMenu): ditto
12530         * BufferView_pimpl.C (getInsetByCode): ditto
12531
12532 2001-04-18  Juergen Vigna  <jug@sad.it>
12533
12534         * vspace.C (asLatexString): fixed the 100% problem.
12535
12536 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12537
12538         * lyxfunc.C (Dispatch):
12539         * minibuffer.C:
12540         * minibuffer.h: add a few std:: qualifiers
12541
12542 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12543
12544         * minibuffer.[Ch]: reimplement so that commands is initiated and
12545         run from lyxfunc, simplified som handling, and made the completion
12546         and history code for complete. wip.
12547
12548         * lyxfunc.C (processKeySym): call message
12549         (miniDispatch): new temporary method
12550         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
12551         (LFUN_MESSAGE): implement
12552         (LFUN_MESSAGE_PUSH): implement
12553         (LFUN_MESSAGE_POP): implement
12554         (initMiniBuffer): the initial/defualt minibuffer message.
12555
12556         * lyxfont.[Ch]: inline some more getters
12557
12558         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
12559
12560         * lyx_gui_misc.[Ch] (WriteStatus): remove method
12561
12562         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
12563         (AutoSave): use LFUN_MESSAGE
12564         (Reconfigure): ditto
12565
12566         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
12567
12568         * figureForm.C: use LFUN_MESSAGE
12569
12570         * converter.C (runLaTeX): use LFUN_MESSAGE
12571
12572         * bufferview_funcs.C: use LFUN_MESSAGE
12573         (Melt): ditto
12574         (changeDepth): ditto
12575
12576         * bufferparams.h: use boost::
12577
12578         * bufferlist.h: inherit privately from noncopyable
12579
12580         * bufferlist.C (loadLyXFile): remove some commented code.
12581
12582         * buffer.C (runChktex): use LFUN_MESSAGE
12583
12584         * ShareContainer.h: inherit privately from noncopyable
12585
12586         * ParagraphParameters.[hC] (depth): inline it.
12587
12588         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
12589         methods.
12590         (message): new method
12591         (messagePush): ditto
12592         (messagePop): ditto
12593         (show): init minibuffer
12594         (showState): direct call
12595
12596         * LaTeX.[Ch]: inherit privately from noncopyable
12597         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
12598         instead of WriteStatus.
12599
12600         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
12601
12602         * BufferView_pimpl.C (buffer): don't init minibuffer
12603         (workAreaButtonPress): use LFUN_MESSAGE
12604         (workAreaButtonRelease): ditto
12605         (savePosition): ditto
12606         (restorePosition): ditto
12607         (MenuInsertLyXFile): ditto
12608         (workAreaExpose): don't init minibuffer
12609         (update): remove commented code, simplify
12610
12611         * BufferView2.C (openStuff): use LFUN_MESSAGE
12612         (toggleFloat): ditto
12613         (menuUndo): ditto
12614         (menuRedo): ditto
12615         (copyEnvironment): ditto
12616         (pasteEnvironment): ditto
12617         (copy): ditto
12618         (cut): ditto
12619         (paste): ditto
12620         (gotoInset): ditto
12621         (updateInset): remove some commented code
12622
12623         * lastfiles.h: inherit privately from noncopyable
12624         * layout.h: ditto
12625         * lyx_gui.h: ditto
12626         * lyx_main.h: ditto
12627         * lyxlex.h: ditto
12628         * lyxlex_pimpl.h: ditto
12629
12630         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
12631         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
12632         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12633
12634         * LyXAction.h: inherit privately from noncopyable, add methods
12635         func_begin, func_end, returning iterators to the func map.
12636
12637         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
12638         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12639         (func_begin): new method
12640         (func_end): new method
12641
12642         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
12643         and not)
12644         (copySelection): ditto
12645         (pasteSelection): ditto
12646
12647         * BufferView.C: whitespace change
12648         * BufferView.h: inherit privately from noncopyable
12649
12650 2001-04-16  Allan Rae  <rae@lyx.org>
12651
12652         * tabular-old.C (l_getline):
12653         * spellchecker.C (sc_check_word):
12654         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
12655         an unrecognised preprocessor directive.  So ensure they're wrapped.
12656
12657 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
12658
12659         * src/exporter.C (Export): Give an error message when path to file
12660         contains spaces.
12661
12662 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
12663
12664         * LaTeX.C (deplog): Always check that foundfile exists.
12665
12666 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12667
12668         * lyx_main.h:
12669         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
12670
12671 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12672
12673         * tabular.[Ch] (getLabelList): implement new method
12674
12675         * minibuffer.h: comment ouf setTiimer
12676
12677         * minibuffer.C (ExecutingCB): constify res
12678         (peek_event): constify s
12679         (Set): constify ntext
12680         (Init): constify nicename
12681
12682         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
12683
12684         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
12685         (savePosition): use two params to Minibuffer::Set
12686         (restorePosition): ditto
12687
12688 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12689
12690         * lyx_main.C: include language.h
12691
12692         * Makefile.am (lyx_main.o): add language.h
12693
12694 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12695
12696         * exporter.C:
12697         * paragraph.C:
12698         * screen.C:
12699         * tabular.C:
12700         * CutAndPaste.C: include gettext.h
12701
12702         * lyxfont.h: remove old hack with ON and OFF.
12703
12704         * lyxparagraph.h:
12705         * lyxfont.h: do not include language.h...
12706
12707         * BufferView2.C:
12708         * LaTeXFeatures.C:
12709         * Painter.C:
12710         * bufferview_funcs.C:
12711         * font.C:
12712         * lyxfont.C:
12713         * text.C:
12714         * text2.C:
12715         * trans_mgr.C:
12716         * paragraph.C: ... but do it here instead
12717
12718 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12719
12720         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
12721
12722         * tabular.C: small reformat
12723
12724         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
12725         NEW_INSETS version
12726         (GetChar): ditto
12727         (BreakParagraph): ditto
12728         (SetOnlyLayout): ditto
12729         (SetLayout): ditto
12730
12731         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
12732         with one arg less.
12733
12734         * lastfiles.C: removed most using decl, add std:: where needed
12735
12736         * buffer.C: ws changes
12737
12738         * MenuBackend.C (class compare_format): put into anon namespace
12739         (expand): constify label, names, action, action2
12740         (expand):
12741
12742         * text.C (SingleWidth): constify font
12743         (IsBoundary): constify rtl2
12744         (GetVisibleRow): constify ww
12745
12746         * LaTeX.C (deplog): constify logfile
12747
12748         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
12749         start_x, end_x
12750         (workAreaExpose): constify widthChange, heightChange
12751
12752         * lyxrow.C (par): moved
12753         (height): moved
12754         (next): moved
12755         * lyxrow.h: as inlines here
12756
12757         * lyxfont.h (shape): moved from lyxfont.C
12758         (emph): moved from lyxfont.C
12759
12760         * lyxfont.C (LyXFont): use initialization list for all
12761         constructors
12762         (shape): move to lyxfont.h as inline
12763         (emph): move to lyxfont.h as inline
12764
12765
12766 2001-04-04  Juergen Vigna  <jug@sad.it>
12767
12768         * vspace.C: had to include stdio.h for use of sscanf
12769
12770 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
12771
12772         * BufferView.h:
12773         * BufferView_pimpl.h: remove xforms cruft. Both classes are
12774         independent of xforms.
12775
12776 2001-04-02  Juergen Vigna  <jug@sad.it>
12777
12778         * spellchecker.C: fixed namespace placing!
12779
12780 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
12781
12782         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
12783         the LyXParagraph * is 0.
12784
12785 2001-03-29  Juergen Vigna  <jug@sad.it>
12786
12787         * vspace.C: added support for %, c%, p%, l%.
12788         (stringFromUnit): added helper function.
12789         (asLatexString): changed to give right results for the %-values.
12790
12791         * buffer.C: convert the widthp in a width%.
12792
12793 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
12794
12795         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
12796         figureForm.[Ch].
12797
12798         * figureForm.[Ch]: stripped the FD_from_figure manipulation
12799         code out of lux_cb.[Ch], ready for its (imminent?) removal.
12800
12801         * lyx_cb.[Ch]: see above.
12802
12803         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
12804         form1.[Ch].
12805
12806         * form1.[Ch]:
12807         * lyx.[Ch]: replaced by figure_form.[Ch].
12808
12809         * lyx_gui.C:
12810         * lyx_gui_misc.C:
12811         * lyxfunc.C: changed headers associated with above changes.
12812
12813 2001-03-27  Juergen Vigna  <jug@sad.it>
12814
12815         * BufferView_pimpl.C: set the temporary cursor right!
12816
12817 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
12818
12819         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
12820
12821 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
12822
12823         * LString.h: removed "using std::getline"!
12824
12825         * BufferView_pimpl.C (Dispatch): changes due to changes in
12826         InsetInclude::Params.
12827
12828         * buffer.C (tag_name): removed redundant break statements as they were
12829         producing lots of warnings with my compiler.
12830
12831 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12832
12833         * LString.h: add "using std::getline" when using the real <string>.
12834
12835 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
12836
12837         * buffer.C: removed bitset usage.
12838         PAR_TAG moved to an anonymous name space.
12839         (tag_name): new funtion, also in the anonymous namespace.
12840         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
12841         (makeDocBookFile): clean code. Completed transition from string arrays
12842         to string vectors.
12843         (SimpleDocBookOnePar): code clean.
12844
12845 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12846
12847         * tabular.C: add some comments.
12848
12849 2001-03-22  Juergen Vigna  <jug@sad.it>
12850
12851         * buffer.C (parseSingleLyXformat2Token): redone the minipage
12852         compatibility read a bit and fixed bug with minipage in different
12853         depth.
12854
12855 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
12856
12857         * buffer.C (pop_tag): removed.
12858         (push_tag): removed.
12859         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
12860         array replaced with vector. Added support for CDATA sections.
12861         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
12862         at any nest level.
12863         (makeDocBookFile): XML conformant declaration of CDATA section,
12864         fixed bug related to <emphasis> in the first paragraph char.
12865         (sgmlOpenTag): exclude empty tags.
12866         (sgmlCloseTag): ditto.
12867
12868         * buffer.h (pop_tag): removed.
12869         (push_tag): removed.
12870
12871 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
12872
12873         * language.h (Languages): added size_type and size().
12874
12875 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12876
12877         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
12878         response on compability reading of minipages. One probliem is that
12879         the old usage of minipages was «flertydig»
12880
12881         * several files here and in subdirs: don't use static at file
12882         scope use anon namespaces instead.
12883
12884 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
12885
12886         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
12887         LaTeX output. This is necessary for Literate document
12888         processing.
12889
12890 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12891
12892         * buffer.C: insert hfill when needed.
12893
12894         * tabular.C (l_getline): use string::erase, small whitespace change.
12895
12896         * BufferView_pimpl.C: try the anon namespace.
12897         * WorkArea.C: ditto
12898
12899 2001-03-16  Juergen Vigna  <jug@sad.it>
12900
12901         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
12902         otherwise it won't open options-dialogs.
12903
12904         * buffer.C: honor pextraWidth(p) on converting minipages.
12905
12906         * tabular.C (l_getline): changed the functions to strip trailing \r.
12907
12908 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
12909
12910         * BufferView_pimpl.C:
12911         * minibuffer..C: added "using SigC::slot" declaration.
12912
12913 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12914
12915         * lyxlex_pimpl.h: noncopyable is in namespace boost.
12916
12917         * text2.C: ditto
12918
12919         * text.C: ditto
12920
12921         * paragraph.C: ditto
12922
12923         * lyxtext.h: NO_PEXTRA
12924
12925         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
12926
12927         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
12928         * ParameterStruct.h: ditto
12929         * ParagraphParameters.h: ditto
12930         * lyxparagraph.h: ditto
12931
12932 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12933
12934         * buffer.C: add compability for minipage alignment.
12935         (latexParagraphs): remove unwanted pextra check.
12936
12937         * several files: remove CXX_WORKING_NAMESPACES
12938
12939         * buffer.C (pop_tag): tie is in namespace boost
12940
12941         * BufferView.h: noncopyable is in namespace boost
12942         * lyxlex.h: ditto
12943         * lyx_main.h: ditto
12944         * lyx_gui.h: ditto
12945         * layout.h: ditto
12946         * lastfiles.h: ditto
12947         * bufferlist.h: ditto
12948         * ShareContainer.h: ditto
12949         * LyXView.h: ditto
12950         * LyXAction.h: ditto
12951         * LaTeX.h: ditto
12952
12953 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
12954
12955         * Merging changes from BRANCH_MVC back into HEAD.
12956
12957         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
12958
12959 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
12960
12961         * BufferView_pimpl.C: change from intl.C
12962
12963         * combox.h:
12964         * combox.C:
12965         * Makefile.am: move combox.*
12966
12967         * form1.h:
12968         * form1.C:
12969         * lyx_gui.C:
12970         * intl.h:
12971         * intl.C: remove dialog (covered by prefs)
12972
12973 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
12974
12975         * lyxfunc.C (Dispatch): removed redundant break statement.
12976
12977 2001-03-14  Juergen Vigna  <jug@sad.it>
12978
12979         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
12980
12981 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12982
12983         * buffer.C: add hack to fix compability reading of minipages.
12984
12985 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
12986
12987         * buffer.C (getLists): Cleanup.
12988
12989 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12990
12991         * lyxfont.C (update): don't honor toggleall on font size.
12992
12993 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
12994
12995         * bmtable.c:
12996         * bmtable.h:
12997         * Makefile.am: moved to frontends/xforms/
12998
12999         * lyx_gui_misc.C:
13000         * lyxfunc.C:
13001         * BufferView_pimpl.C: changes for moved mathpanel
13002
13003 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13004
13005         * gettext.h: fix gettext_init() in --disable-nls
13006
13007 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13008
13009         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13010
13011 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
13012
13013         * lyx.C:
13014         * lyx.h: strip external form
13015
13016 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13017
13018         * BufferView_pimpl.C: add comment, destroySplash()
13019
13020 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13021
13022         * BufferView_pimpl.C:
13023         * LyXAction.C:
13024         * buffer.C:
13025         * commandtags.h:
13026         * lyxfunc.C: use re-worked insetinclude
13027
13028 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13029
13030         * buffer.C: add using std::stringstream.
13031
13032         * lyx_cb.C: readd using std::ios.
13033
13034         * buffer.C: add using std::map.
13035
13036         * BufferView_pimpl.C: add using std::vector.
13037
13038         * ShareContainer.h: add std:: to swap.
13039
13040         * buffer.h: add some typedefs
13041         * buffer.C (getLists): use them
13042         (getLists): renamed from getTocList.
13043         add a counter for the different float types and use it in the
13044         generated string.
13045         (getLists): use the same counter for the NEW_INSETS and the "non"
13046         NEW_INSETS
13047
13048         * lyx_cb.h: remove unused items, includes, using etc.
13049
13050         * ShareContainer.h: remove some commented code, add more comments
13051         and "documentation".
13052
13053 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13054
13055         * buffer.C (getTocList): make the list also when NEW_INSETS is
13056         defined.
13057
13058         * buffer.h: remove TocType
13059
13060         * buffer.C (getTocList): change to return a map<string,
13061         vector<TocItem> >, implement for dynamic number of list.
13062
13063         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13064         * text2.C (PasteSelection): adjust
13065         * CutAndPaste.C (pasteSelection): adjust
13066
13067         * FloatList.C (FloatList): update from the new_insets branch.
13068         * Floating.[Ch]: ditto
13069         * LaTeXFeatures.C: ditto
13070         * buffer.C: ditto
13071         * lyxlex_pimpl.C: ditto
13072
13073         * paragraph.C (Last): remove when NEW_INSETS is defined.
13074
13075         * other file: changes because of the above.
13076
13077 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13078
13079         * lyxparagraph.h: rename next to next_, previous to previous_,
13080         make them private for NEW_INSETS. Rename Next() to next(),
13081         Previous() to previous().
13082
13083         * other files: changes because of the above.
13084
13085 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
13086
13087         * BufferView.h:
13088         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
13089         problem.
13090
13091 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13092
13093         * main.C (main): pass lyx_localedir to gettext_init().
13094
13095         * gettext.h: remove locale_init and gettext_init macros
13096
13097         * gettext.C (locale_init): new function
13098         (gettext_init): new function
13099
13100         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
13101         setlocale().
13102
13103 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
13104
13105         * Moved credits to frontends:
13106         * credits.[Ch]: removed
13107         * credits_form.[Ch]: removed
13108         * lyx_gui_misc.C: remove credits stuff
13109         * Makefile.am:
13110
13111 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13112
13113         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
13114
13115         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
13116         unneeded destructor.
13117
13118         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
13119         a standalone pointer again.
13120
13121         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
13122
13123 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
13124
13125         * Makefile.am:
13126         * filedlg.h:
13127         * filedlg.C:
13128         * LyXAction.C:
13129         * ToolbarDefaults.C:
13130         * bufferlist.C:
13131         * commandtags.h:
13132         * form1.C:
13133         * form1.h:
13134         * lyx_cb.C:
13135         * lyx_cb.h:
13136         * lyxfunc.h:
13137         * lyxfunc.C:
13138         * BufferView_pimpl.C: use new file dialog in GUII
13139
13140         * lyx_cb.h:
13141         * lyx_cb.C: remove LayoutsCB to Toolbar
13142
13143 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13144
13145         * ShareContainer.h (get): add std:: qualifier
13146
13147 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13148
13149         * ShareContainer.h: define a proper ShareContainer::value_type
13150         type (and use typename to please compaq cxx)
13151
13152 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13153
13154         * lyxparagraph.h: move serveral local vars to
13155         ParameterStruct/ParagraphParameters., use ShareContainer in
13156         FontTable., make vars in FontTable private and add getter and
13157         setter.
13158
13159         * paragraph.C: changes because of the above.
13160
13161         * lyxfont.h: remove copy constructor and copy assignment. (the
13162         default ones is ok), move number inside FontBits. move inlines to
13163         lyxfont.C
13164
13165         * lyxfont.C: add number to initializaton of statics, move several
13166         inlines here. constify several local vars. some whitespace
13167         cleanup. Dont hide outerscope variables.
13168
13169         * Spacing.h: add two new constructors to match the set methods.
13170
13171         * ShareContainer.h: new file, will perhaps be moved to support
13172
13173         * ParameterStruct.h: new file
13174
13175         * ParagraphParameters.h: new file
13176
13177         * ParagraphParameters.C: new file
13178
13179         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13180         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13181
13182         * BufferView_pimpl.C: ParagraphParameter changes.
13183         * buffer.C: Likewise.
13184         * bufferview_funcs.C: Likewise.
13185         * text.C: Likewise.
13186         * text2.C: Likewise.
13187
13188 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13189
13190         * lyxfind.C (LyXReplace): do not redefine default argument in
13191         implementation.
13192         (IsStringInText): ditto
13193         (SearchForward): ditto
13194         (SearchBackward): ditto
13195
13196 2001-03-06  Juergen Vigna  <jug@sad.it>
13197
13198         * lyxfind.C (IsStringInText): put parentes around expressions.
13199
13200 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
13201
13202         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13203
13204 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
13205
13206         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13207
13208         * stl_string_fwd.h: add comment
13209
13210         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13211
13212         * tabular.h:
13213         * tabular.C: remove unused DocBook methods
13214
13215         * intl.C:
13216         * language.C:
13217         * paragraph.C:
13218         * buffer.C:
13219         killed DO_USE_DEFAULT_LANGUAGE
13220
13221 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13222
13223         * lyx_gui.C: do not include language.h.
13224
13225         * bufferview_funcs.C (ToggleAndShow): do not provide optional
13226         arguments in function implementation.
13227
13228 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13229
13230         * BufferView_pimpl.C: add <ctime>
13231
13232 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13233
13234         * BufferView_pimpl.C: add using std::find_if
13235
13236 2001-02-27  José Matos  <jamatos@fep.up.pt>
13237
13238         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13239         by OnlyPath.
13240
13241 2001-02-11  José Matos  <jamatos@fep.up.pt>
13242
13243         * buffer.C (makeDocBookFile): command styles now have a parameter as
13244         "title" by default.
13245
13246 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
13247
13248         * layout_forms.[Ch]: removed
13249         * lyx_cb.[Ch]: out character
13250         * lyx_gui.C: out character
13251         * lyx_gui_misc.C: out character
13252         * bufferview_funcs.C: : out character,
13253         added toggleall as parameter in ToggleAndShow
13254
13255 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
13256
13257         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13258
13259         * text2.C (SetCurrentFont): Disable number property at boundary.
13260
13261 2001-02-26  Juergen Vigna  <jug@sad.it>
13262
13263         * lyxfunc.C (getStatus): added a string argument override function so
13264         that this is correctly called from LyXFunc::Dispatch if it contains a
13265         do_not_use_argument which is used!
13266         (Dispatch): added check for "custom" export and call appropriate func.
13267
13268 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
13269
13270         * lyxrc.C: Add language_command_local, language_use_babel and
13271         language_global_options.
13272
13273         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13274
13275         * buffer.C (makeLaTeXFile): Use language_use_babel and
13276         language_global_options.
13277
13278 2001-02-23  Juergen Vigna  <jug@sad.it>
13279
13280         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13281         which works with LyXText and putted it inside BufferView. Here now we
13282         only call for that part the BufferView::Dispatch() function.
13283
13284         * BufferView.C (Dispatch): added.
13285
13286         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13287         functions which needs to use a LyXText over from LyXFunc.
13288         (MenuInsertLyXFile): added
13289         (getInsetByCode): added
13290         (moveCursorUpdate): added
13291         (static TEXT): added
13292
13293 2001-02-22  Juergen Vigna  <jug@sad.it>
13294
13295         * BufferView_pimpl.C (update): call a status update to see if LyXText
13296         needs it.
13297
13298 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13299
13300         * vc-backend.C (revert): implement for CVS
13301         (getLog): implement for CVS
13302
13303 2001-02-20  Juergen Vigna  <jug@sad.it>
13304
13305         * text2.C (ClearSelection): added BufferView param for inset_owner call
13306
13307         * lyxfunc.C (TEXT): added this function and use it instead of
13308         directly owner->view()-text of getLyXText().
13309
13310 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
13311
13312         * src/layout_forms.C: out preamble
13313         * src/layout_forms.h: out preamble
13314         * src/lyx_cb.C: out preamble
13315         * src/lyx_cb.h: out preamble
13316         * src/lyx_gui.C: out preamble
13317         * src/lyx_gui_misc.C: out preamble
13318         * src/lyxfunc.C: connect with guii preamble
13319
13320 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
13321
13322         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
13323
13324 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
13325
13326         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
13327         whether to run bibtex.
13328
13329 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
13330
13331         * Makefile.am (lyx_SOURCES): Remove BackStack.h
13332
13333 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13334
13335         * Makefile.am (lyx_SOURCES): removed bibforms.h
13336
13337         * vspace.h: doxygen
13338
13339         * text.C (GetVisibleRow): make several local vars const
13340
13341         * tabular.C: small cleanup.
13342
13343         * lyxserver.C (callback): use compare instead of strncmp
13344
13345         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
13346         inlines to after class or to paragraph.C
13347
13348         * lyxfont.h: remove friend operator!=
13349
13350         * converter.h: move friend bool operator< to non friend and after
13351         class def.
13352
13353         * combox.h: small cleanup
13354
13355         * buffer.h: doxygen, remove unused constructor, move inclas inlies
13356         to inlines after class def.
13357
13358         * buffer.C (pop_tag): use string operations instead of strcmp
13359
13360         * bmtable.c: doxygen, small cleanup
13361
13362         * LaTeX.h: remove friend operator==
13363
13364 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
13365
13366         * screen.C:
13367         * lyxrc.[Ch]:
13368         * lyxfunc.C:
13369         * lyxfont.[Ch]:
13370         * lyx_cb.C:
13371         * intl.[Ch]:
13372         * commandtags.h:
13373         * buffer.C:
13374         * WorkArea.[Ch]:
13375         * LyXAction.C:
13376         * BufferView_pimpl.C:
13377         * BufferView.[Ch]: remove cruft
13378
13379 2001-02-14  Juergen Vigna  <jug@sad.it>
13380
13381         * lyxfunc.C: removed #if 0 unused code
13382
13383         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
13384
13385         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
13386
13387         * text2.C (SetSelection): added a BufferView * parameter
13388
13389 2001-02-13  Juergen Vigna  <jug@sad.it>
13390
13391         * lyxfunc.C (Dispatch): fixed protected blank problem.
13392         * BufferView2.C (protectedBlank): added LyxText * parameter.
13393
13394         * tabular.C (AppendRow): forgot to set row_info of newly added row.
13395         (AppendColumn): same as above for column_info.
13396
13397         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
13398         (moveCursorUpdate): use a LyXText param for support of InsetText.
13399
13400         * BufferView_pimpl.C (doubleClick): added support for InsetText.
13401         (tripleClick): ditto
13402
13403         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
13404
13405         * BufferView_pimpl.C (update): added LyXText param to honor insets.
13406
13407         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
13408
13409         * text2.C (SetSelection): set correct update status if inset_owner
13410         (ToggleFree): ditto
13411
13412 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
13413
13414         * tabular.C: remove some commented code.
13415
13416 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
13417
13418         * BufferView_pimpl.C: call hideSplash()
13419
13420         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
13421
13422         * include_form.h:
13423         * bibforms.h: remove
13424
13425         * lyxfunc.C:
13426         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
13427           add LFUN_CHILD_CREATE
13428
13429         * counters.h: fix tiny typo
13430
13431         * lyx_cb.C:
13432         * lyx.h:
13433         * lyx_gui.C:
13434         * lyx.C: move splash to frontends/xforms/
13435
13436         * lyx_gui_misc.C: move Include and Bibform to frontends
13437
13438         * lyxvc.h: clarify comment
13439
13440         * vspace.C: tiny housekeeping
13441
13442 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
13443
13444         * text.C (PrepareToPrint): RTL Fix.
13445
13446         * paragraph.C (GetUChar): New method.
13447         (String):  Use GetUChar.
13448
13449         * buffer.C (asciiParagraph): Use GetUChar.
13450
13451 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
13452
13453         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
13454
13455 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
13456
13457         * buffer.h:
13458         * buffer.C: rename to getLogName(), handle
13459           build log / latex log nicely
13460
13461 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13462
13463         * MenuBackend.C:
13464         * MenuBackend.h: remove support for reference menuitem type.
13465
13466 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
13467
13468         * BufferView_pimpl.C: housekeeping
13469         * BufferView_pimpl.h:
13470         * LyXView.h:
13471         * Makefile.am:
13472         * Timeout.C:
13473         * Timeout.h:
13474         * minibuffer.h: move Timeout GUI-I
13475
13476 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
13477
13478         * lyxrc.C (read): Update converters data-structures.
13479
13480 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
13481
13482         * LaTeX.h (operator!=): add operator != for Aux_Info
13483
13484 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
13485
13486         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
13487
13488         * LaTeXLog.C: deleted, useful code moved to Buffer
13489
13490         * buffer.h:
13491         * buffer.C: new function getLatexLogName()
13492
13493         * lyx_gui_misc.C:
13494         * lyx_gui.C:
13495         * lyxvc.C:
13496         * lyxvc.h:
13497         * lyxfunc.C: use frontends for LaTeX and VC logs
13498
13499 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13500
13501         * LaTeX.h: yet another std:: that Allan forgot.
13502
13503         * Variables.C (set): renamed from isset(), because this clashes
13504         with some HP-UX macros (grr).
13505
13506 2001-02-06  Allan Rae  <rae@lyx.org>
13507
13508         * LaTeX.h: Another bug fix.  Missing std:: this time.
13509
13510 2001-02-04  Allan Rae  <rae@lyx.org>
13511
13512         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
13513         floats problem. I've left it commented out because it's not quite
13514         correct.  It should also test that the current object is a table or
13515         figure inset.  But I haven't gotten around to figuring out how to do
13516         that.  I *think* it'll be something like: "table" == inset.type()
13517
13518         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
13519         bool.
13520
13521 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
13522
13523         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
13524         all the citation/databases/styles in the auxilary file.
13525         (run): Rerun latex if there was a babel language error.
13526
13527 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
13528
13529         * text.C (Backspace): Preserve the font when changing newline char
13530         with a space.
13531         (BreakParagraph): If the cursor is before a space, delete the space.
13532
13533         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
13534
13535 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
13536
13537         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
13538         new argument (code).
13539         (ChangeCitationsIfUnique): New method.
13540
13541         * paragraph.C (GetPositionOfInset): Handle bibkey.
13542
13543 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13544
13545         * BufferView_pimpl.h: change type of Position::par_pos to
13546         LyXParagraph::size_type.
13547
13548 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
13549
13550         * BufferView_pimpl.C (savePosition, restorePosition): Write
13551         messages to minibuffer.
13552
13553 2001-01-28  José Matos  <jamatos@fep.up.pt>
13554
13555         * buffer.C (makeDocBookFile): adds support for document language.
13556         A silly restriction on the name of LatexCommand types where removed.
13557         Added support for CDATA sections, allows to chars unescaped, used
13558         among others in code, to avoid escape < and >.
13559
13560 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
13561
13562         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
13563         saved positions instrad of a stack. Furthermore, a position is
13564         stored using paragraph id/paragraph position.
13565
13566         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
13567         Remove LFUN_REF_BACK.
13568
13569 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
13570
13571         * converter.C (dvipdfm_options): New method.
13572
13573 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13574
13575         * vspace.C (isValidLength): Fix for empty input string.
13576
13577 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13578
13579         * LyXAction.C (init): change description of LFUN_FIGURE to
13580         "Insert Graphics"
13581
13582 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13583
13584         * LaTeX.C: add using directive
13585
13586 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
13587
13588         * MenuBackend.C (expand): Fix the sorting of the formats.
13589
13590 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
13591
13592         * lyx_main.C: tiny error message fix
13593
13594 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13595
13596         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
13597         calling fl_initialize(). This fixes the problem with ',' as
13598         decimal separator in text files.
13599
13600 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
13601
13602         * trans.C (process): Fix the keymap bug.
13603
13604 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
13605
13606         * LaTeX.C (scanAuxFiles): New method. Provides support for
13607         multiple bibliographies (when using the bibtopic/bibunits pacakges).
13608         (scanLogFile) Scan for "run BibTeX" messages.
13609
13610         * buffer.C (makeLaTeXFile): Do not load the ae package when using
13611         OT1 font encoding. Also, load the aecompl package if the ae
13612         package is loaded.
13613
13614         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
13615
13616 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13617
13618         * texrow.C (increasePos): turn two error messages into debug
13619         messages.
13620
13621 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
13622
13623         * LaTeX.C (scanAux): Handle the \@input macro.
13624         (runBibTeX): Use scanAux().
13625
13626         * language.C (latex_options_): New field.
13627
13628         * LaTeXFeatures.C (getMacros): Add language macros.
13629
13630         * buffer.C (makeLaTeXFile): Small fix.
13631
13632 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13633
13634         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
13635
13636         * text2.C: add a using directive.
13637
13638 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
13639
13640         * BufferView2.C:
13641         * lyx_gui_misc.h:
13642         * lyxfr1.C:
13643         * lyxfunc.C: kill LyXBell.
13644
13645 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
13646
13647         * text.C (IsBoundary): Remove the error message
13648
13649         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
13650
13651         * lyxrc.C (setDefaults): Correct initialization value for
13652         font_norm_type.
13653
13654 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
13655
13656         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
13657         gotoError().
13658
13659         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
13660         and GotoNextNote().
13661
13662         * src/LyXAction.C: Added reference-next.
13663
13664         * text.C (InsertChar): Use contains instead of strchr.
13665
13666         * lyx_cb.C (MenuInsertLabel): Enable default value code.
13667
13668 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
13669
13670         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
13671         alignment commands (when needed).
13672
13673         * text.C (InsertChar): Add ':' to number separator chars.