]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
b7c72090982ef914a2ac01e592eb0c52b301e79a
[lyx.git] / src / ChangeLog
1 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2
3         * lyxfind.C (findChange): do not search for end of pars, because
4         the change tracker cannot handle this (fixes bug 1719).
5
6 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
7
8         * paragraph.[Ch] (autoBreakRows): remove
9
10         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
11
12         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
13         avoid using the paragraph one
14
15         * text2.C (LyXText, insertStringAsLines): adjust
16         
17 2004-12-16  Angus Leeming  <leeming@lyx.org>
18
19         * bufferlist.C:
20         * lyx_main.C: 
21         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
22
23 2004-12-14  Angus Leeming  <leeming@lyx.org>
24
25         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
26
27         * bufferlist.C (emergencyWrite):
28         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
29         GetEnvPath("HOME").
30
31 2004-12-14  Angus Leeming  <leeming@lyx.org>
32
33         * main.C: (main): no longer pass pointers to os::init.
34
35 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
36
37         * undo.C (textUndoOrRedo): simplify logic, fix a crash
38         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
39
40 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
41
42         * lyxfunc.C: 
43         * text3.C: remove selection_possible global flag
44
45 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
46
47         * text2.C (getSelectionSpan): remove
48         (changeDepth, changeDepthAllowed): adjust
49
50 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
51
52         * Makefile.am (BOOST_LIBS): use boost variables
53
54 2004-12-03  José Matos <jamatos@lyx.org>
55
56         * buffer.C: format up to 238.
57
58 2004-12-03  José Matos  <jamatos@lyx.org>
59
60         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
61
62 2004-12-03  Lars Gullik Bjonnes  <larsbj@gullik.net>
63
64         * cursor.C (goUpDown): remove call to idxUpDown2
65
66 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
67
68         * tabular.[Ch]: use size_t-like types for cell, row and column
69         indices
70
71 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
72
73         * lyxfunc.C (getStatus): do not lose previous information when
74         calling BufferView::getStatus; do not set a default "Command
75         disabled" message at the beginning, but just before returning.
76
77 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
78
79         * cursor.h (getStatus): add better comment from src/cursor.C
80
81 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
82
83         * text3.C (getStatus): return false when the lfun is not handled
84
85 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
86
87         * broken_headers.h: remove
88
89         * Makefile.am (lyx_SOURCES): remove broken_headers.h
90
91 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
92
93         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
94         offset_ref accessors
95
96         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
97         top_y_, merge fitcursor with update
98         (updateScrollbar, scrollDocView, fitCursor, center, update): new
99         coord scheme
100         (metrics): introduce
101         (workAreaDispatch): adapt to new coord scheme
102         (redoCurrentBuffer): remove
103
104         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
105
106         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
107         CurStatus enum.
108
109         * coordcache.[Ch]: add paragraph cache and helpers
110
111         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
112         adjust everywhere
113
114         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
115         (targetX, setTargetX): introduce
116
117         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
118         baseline -> ascent, as the rest of lyx
119
120         * lyxtext.h: remove redoParagraphs, updateParPositions,
121         fullRebreak, redoParagraphInternal. move dist to anon namespace in
122         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
123         have ascent/descent (ascent is ascent of first par)
124
125         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
126         step of BufferView
127
128         * paragraph.[Ch]: unify dimension handling with the rest of lyx
129
130         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
131
132         * pariterator.C: fix infinite loop introduced in par->pit renaming
133
134         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
135         in insets and LyXText, draw two off-screen paragraphs using
136         NullPainter, and adapt to new coord scheme
137
138         * text.C:
139         * text2.C:
140         * text3.C: adapt lfun handlers to the new coord scheme, which
141         means: there's only guaranteed coord information for onscreen pars
142         plus one above and one below. This implies that one can do search
143         from y coordinates in the range [-1,workHeight]
144
145 2004-11-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
146
147         * rename a lot of InsetOld to InsetBase
148
149 2004-11-25  Angus Leeming  <leeming@lyx.org>
150
151         * BufferView_pimpl.C:
152         * lyx_cb.C:
153         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
154
155 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
156
157         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
158         call BufferView::getStatus if LCursor::getStatus did nothing
159         (setStatusMessage, getStatusMessage): removed.
160
161         * FuncStatus.C (message): new methods. Used to provide an error
162         message indicating why a command is disabled.
163         (clear, |=, FuncStatus): update for message.
164
165 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
166
167         * lyxfunc.C (dispatch): always call sendDispatchMessage
168
169 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
170
171         * BufferView.C:
172         * BufferView_pimpl.C:
173         * CutAndPaste.C:
174         * FontIterator.C:
175         * buffer.C:
176         * cursor.C:
177         * cursor_slice.[Ch]:
178         * dociterator.[Ch]:
179         * lyxfind.C:
180         * paragraph_funcs.C:
181         * pariterator.C:
182         * rowpainter.C:
183         * text.C:
184         * text2.C:
185         * text3.C:
186         * undo.C: par->pit renaming
187
188 2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
189
190         * tabular.C (cellstruct): use initialization, store a shared_ptr
191         to insettext instead of the insettext directly, adjust to fit.
192         (operator=):  new function
193         (swap): new function
194         (rowstruct): use initialization
195         (columnstruct): use initialization
196         (ltType): use initialization
197
198
199         * lyxlength.h (swap): new function
200
201         * LColor.[Ch] (operator=): use the common semantics
202
203 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
204
205         * lyxfind.C (findNextChange): update the bufferview after setting
206         the selection.
207
208 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
209
210         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
211         number of InsetOptArgs has already been inserted.
212
213         * output_latex.C (latexOptArgInsets): new method. This outputs all
214         the optarg insets, up to the limit defined in the layout file.
215         (optArgInset): removed
216         (TeXOnePar): call latexOptArgInsets; correctly update texrow
217
218 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
219
220         * paragraph.C (isLetter): remove special spellchecker-related
221         code; return true also for digits
222         (isWord, isKomma): remove
223
224         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
225         * lyxfind.C (MatchString()): use isLetter instead of isWord
226
227 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
228
229         * pariterator.h (operatir=): comment out un-implemented member
230         function.
231
232         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
233         static cast.
234
235 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
236
237         * lyxfont.h: include LColor.h to satisfy concept checks.
238
239 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
240
241         * pariterator.h: add typdefs for value_type, difference_type,
242         pointer and reference to satisfy concept checks. Also add default
243         constructor for same reason.
244
245         * pariterator.C (operator++): add post-increment operator to
246         satisfy concept checks.
247
248         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
249         checks.
250
251         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
252
253         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
254         checks. Also rename base_type to BaseType to follow naming
255         standard better.
256
257         * FloatList.h: include Floating.h to satisfy concept checks.
258
259 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
260
261         * lyxfunc.C (getStatus): when the origin of the request is menu or
262         toolbar, and the LyXView does not have focus, do as if there was
263         no buffer (bug 1720)
264
265         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
266         FuncRequest to individual entries of LFUN_SEQUENCE
267
268 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
269
270         * output_latex.C (TeXOnePar): override runparams.moving_arg
271         according to the needprotect value of the current paragraph (bug
272         1739)
273
274         * paragraph.C (simpleTeXOnePar): no need to override
275         runparams.moving_args here
276
277 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
278
279         * vspace.C: fix off-by-one-error, related to fix #1682
280
281 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
282
283         * lengthcommon.C: a more general fix for bug 1682
284
285 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
286
287         * text.C (backspace): fix crash
288
289 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
290
291         * format.[Ch] (getFormatFromFile): new method
292         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
293
294 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
295
296         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
297
298 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
299
300         * lyxfunc.C (dispatch): remove the verbose argument
301         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
302         instead
303
304         * kbmap.C (defkey): set the origin of func to KEYBOARD
305
306         * MenuBackend.C (MenuItem):
307         * ToolbarBackend.C (add): set the origin of func to UI
308
309         * funcrequest.[Ch]: add origin member, which indicates which part
310         of LyX requests an action
311
312 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
313
314         * converter.C (move): don't lie in the error message
315         * converter.h (isReachable, move): document
316
317 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
318
319         * buffer.C: remove unused using lyx::support::atoi
320         * paragraph_funcs.C: ditto
321
322 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
323
324         * bufferlist.C (exists): use bind and equal_to instead of
325         compare_memfun
326         (getBuffer): ditto
327         * lyxtextclasslist.C (NumberOfClass): ditto
328
329         * cursor.C (insert): use for_each instead of explicit for loop
330
331         * bufferlist.C (getFileNames): use std::transform and
332         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
333
334         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
335         for loop
336
337         * buffer.C (changeLanguage): use for_each instead of explicit for
338         loop
339         (hasParWithID): implement using getParFromID
340
341         * LaTeXFeatures.C: ws change only
342
343         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
344         to cleanup a bit.
345
346         * BufferView_pimpl.C (trackChanges): use for_each instead of
347         expilicit for loop
348
349 2004-11-04  André Pönitz  <poenitz@gmx.net>
350
351         * undo.h:
352         * undo.C (textUndoOrRedo): fix crash when creating undo information.
353
354         * dociterator.C (asDocIterator): use hard assert again.
355
356 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
357
358         * lyxlength.C (asLatexString): rewrite so that it does not use
359         snprintf anymore
360
361 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
362
363         * text3.C (specialChar, dispatch): make sure cursor moves to the
364         right after inserting an inset
365
366 2004-11-02  José Matos  <jamatos@lyx.org>
367
368         * output_docbook.C (docbook):
369         * paragraph.C (getID):
370         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
371         garantee that the output is always legal.
372
373         * tabular.C (docbook):
374         * outputprams.[Ch]: remove mixed contents.
375
376 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
377
378         * text2.C (setCounter): prevent endless loop
379
380 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
381
382         * exporter.C (copyFile): use the mover instead of support::copy()
383         * exporter.C (Export): pass format and latex name to copyFile()
384         * exporter.h (addExternalFile): document
385         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
386
387 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
388
389         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
390
391 2004-10-30  José Matos  <jamatos@lyx.org>
392
393         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
394         text and no inset or font change. This allows to use CDATA
395         sections just for the whole paragraph.
396
397 2004-10-30  José Matos  <jamatos@lyx.org>
398
399         * paragraph.C (getFirstWord): remove unused variable.
400
401 2004-10-30  José Matos  <jamatos@lyx.org>
402
403         * paragraph.C (getFirstWord): the content should always be escaped
404         there.
405         (simpleDocBookOnePar):
406         * output_docbook.C (makeEnvironment): replace reference to CDATA
407         to style pass_thru.
408
409 2004-10-30  José Matos  <jamatos@lyx.org>
410
411         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
412
413 2004-10-30  José Matos  <jamatos@lyx.org>
414
415         * output_docbook.C (makeParagraphs):
416         * paragraph.[Ch] (emptyTag): for docbook and company, if the
417         standard paragraph has only a given type of content drop the wrapper.
418
419 2004-10-29  José Matos  <jamatos@lyx.org>
420
421         * output_docbook.C (makeEnvironment):
422         * sgml.C (openTag):
423         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
424
425 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
426
427         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
428         (cleanID): sanitize any id.
429
430 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
431
432         * buffer.C, lyxlex_pimpl.C:
433         * lyxlex_pimpl.C (setFile):
434         s/getExtFromContents/getFormatFromContents/
435
436 2004-10-28  José Matos  <jamatos@lyx.org>
437
438         * output_docbook.C (makeEnvironment): move id to broadest possible
439         scope.
440
441         * sgml.C (openTag): apply substitution of <> for all attributes.
442
443 2004-10-28  José Matos  <jamatos@lyx.org>
444
445         * buffer.C (makeLinuxDocFile, makeDocBookFile):
446         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
447         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
448
449         * sgml.[Ch]: new version for open and closeTag for paragraph and
450         for strings. Now they handle the ids of paragraphs.
451
452 2004-10-26  Angus Leeming  <leeming@lyx.org>
453
454         * Makefile.am: add mover.[Ch].
455
456         * converter.C (convert, move): use the new Movers to move external
457         files to the temp directory.
458
459         * lyx_main.C (init): ensure that the global system_movers data
460         is initialised.
461
462         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
463         preferences file.
464
465         * mover.[Ch]: new files, defining a Mover as a utility to move an
466         external file between directories and, if necessary, manipulate this
467         file using a helper script.
468
469 2004-10-25  José Matos  <jamatos@lyx.org>
470
471         * output_docbook.C (makeCommand): merge two if's that tested the
472         same condition.
473
474 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
475
476         * sgml.C (escapeString): fix warning in a better way
477
478 2004-10-25  José Matos  <jamatos@lyx.org>
479
480         * sgml.C (escapeString): import the require boosts header file for
481         tie, and avoid a signed unsigned comparison.
482
483 2004-10-25  José Matos  <jamatos@lyx.org>
484
485         * sgml.h: add #include <string>
486
487 2004-10-25  José Matos  <jamatos@lyx.org>
488
489         * sgml.[Ch] (escapeString): new function to escape all the string.
490
491 2004-10-24  José Matos  <jamatos@lyx.org>
492
493         * paragraph.[Ch] (getFirstWord): new function to get the first
494         word. Useful for description.
495         (simpleDocBookOnePar): remove depth argument, add another that
496         says where to start the paragraph.
497
498         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
499         use the new functions to fix cleanly the support for descriptions.
500
501 2004-10-24  José Matos  <jamatos@lyx.org>
502
503         * buffer.C (makeLinuxDocFile, makeDocBookFile):
504         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
505         * output_linuxdoc.C (linuxdocParagraphs):
506         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
507         add buffer as argument.
508
509 2004-10-24  José Matos  <jamatos@lyx.org>
510
511         * output_docbook.C (makeEnvironment, searchEnvironment): place
512         CDATA inside paragraphs and fix scope for listitems.
513
514 2004-10-24  José Matos  <jamatos@lyx.org>
515
516         * output_docbook.C: remove using statement for stack.
517
518 2004-10-23  José Matos  <jamatos@lyx.org>
519
520         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
521         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
522         docbook. The new scheme is recursive and makes use of iterators, the
523         same as latex export works.
524         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
525         directly with the paragraph contents. This code was moved up to
526         output_docbook.C (docbookParagraphs).
527         * sgml.C (openTag, closeTag): removed unneeded newlines.
528         (closeEnvTags) removed.
529
530 2004-10-23  André Pönitz  <poenitz@gmx.net>
531
532         * undo.C (textUndoOrRedo):
533         * dociterator.C (asDocIterator): work around crash
534
535         * cursor.C (getStatus): replace ASSERT by more verbose error message
536           and manual correction of the problem. Should increase stability
537           while providing more sensible information.
538
539 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
540
541         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
542
543         * bufferlist.C (previous, next): new methods
544
545         * lfuns.h:
546         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
547
548 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
549
550         * buffer.C (makeDocBookFile): add dsssl stylesheet control
551         entities to preamble.
552
553 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
554
555         * messages.C (Pimpl): strip off translation context information
556
557 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
558
559         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
560         the cursor is correct (bug 1694)
561
562 2004-10-13  José Matos  <jamatos@lyx.org>
563
564         * output_docbook.C (docbookParagraphs): fix closing tags in the
565         end of the document.
566
567 2004-10-09  José Matos  <jamatos@lyx.org>
568
569         * buffer.C: format up to 237.
570         * bufferparams.C (write): use tostr to convert booleans to strings.
571
572 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
573
574         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
575
576 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
577
578         * LaTeX.C: implement use of babel language in xindy.
579
580 2004-10-05  José Matos  <jamatos@lyx.org>
581
582         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
583         Add new translators to help reading and writing the lyx file.
584
585 2004-10-05  José Matos  <jamatos@lyx.org>
586
587         * ParagraphParameters.C (read):
588         * text.C (readParToken): replace nexToken by more appropriate lex
589         methods.
590
591 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
592
593         * LaTeX.C (runMakeIndex):
594         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
595         (usually 'makeindex') configurable.
596
597         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
598         with a variable rather than with a number.
599
600 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
601
602         * output_latex.C (TeXOnePar): make sure font setting is the first
603         thing that gets output (and the last at the end). Should fix bug
604         1404.
605
606 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
607
608         * pch.h: use proper signal include
609
610         * LaTeX.h: Use preferred calling of Boost.Signal
611         * buffer.h: ditto
612
613 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
614
615         * pch.h: dont include <boost/function/function0.hpp>
616
617         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
618
619         * paragraph_pimpl.h: remove usage of ShareContainer
620
621         * paragraph_pimpl.C: remove initialization of ShareContainer.
622
623 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
624
625         Fix bug #1666
626
627         * BufferView.C (putSelectionAt): change the semantics when
628         backwards == true: now, this just swaps cursor and anchor wrt the
629         forward case
630
631         * BufferView.h (putSelectionAt): add some documentation
632
633         * lyxfind.C (findBackwards): rewrite using while(). In particular,
634         make sure backwardChar is done at least once (to avoid getting
635         stuck)
636         (findNextChange): use putSelectionAt in the forward direction
637         (operator()): use Paragraph::isWord
638
639 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
640
641         * Spacing.C (set): c_str fix
642
643 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
644
645         * lyx_cb.C (Reconfigure): quote the name of configure script in
646         case it contains spaces
647
648 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
649
650         * client: new dir
651
652         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
653         (BOOST_LIBS): use top_buildir when looking for the file
654
655 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
656
657         * pch.h: do not use include boost/format.hpp, multiple symbols
658                 will result (gcc bug)
659
660
661 2004-08-23  José Matos  <jamatos@lyx.org>
662
663         * bufferparams.C (readToken): fix reading of the author field.
664
665 2004-08-20  José Matos  <jamatos@lyx.org>
666
667         * lyxrc.C: remove support/translator.h inclusion since it is not used.
668
669 2004-08-20  José Matos  <jamatos@lyx.org>
670
671         * lyxlex.[Ch] (findToken): remove function.
672
673         * ParagraphParameters.C (findToken):
674         * bufferparams.C (findToken): replace call for previous function
675         with local copy. This local function has one more argument, the
676         read string argument.
677
678 2004-08-16  José Matos  <jamatos@lyx.org>
679
680         * ParagraphParameters.C (write):
681         * Spacing.C (writeFile):
682         * bufferparams.C (writeLaTeX):
683         * lyx_cb.C (Reconfigure):
684         * paragraph.C (write):
685         * tabular.C (write): remove unnecessary space at end of line.
686
687
688 2004-08-16  José Matos  <jamatos@lyx.org>
689
690         * text.C (readParagraph): remove debug message.
691
692 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
693
694         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
695         crash
696
697         * output_plaintext.C (asciiParagraph): set depth correctly
698
699         * outputparams.h: add member depth
700
701         * paragraph_funcs.C (ownerPar): remove.
702
703         * text2.C (setCounter): remove first_pit; comment out some
704         non-working code that uses ownerPar
705
706         * BufferView.C (getParentLanguage): remove. Not used anymore, and
707         uses ownerPar
708
709 2004-08-16  José Matos  <jamatos@lyx.org>
710
711         * text.C (readParToken, readParagraph, read): report all unknown tokens.
712         For the same level of importance use the same chanel to report problems.
713         (read): add code to deal with \begin_body and \end_body.
714
715
716 2004-08-15  José Matos  <jamatos@lyx.org>
717
718         * lyxlex.C (getString): fix comment, buffer::readBody is now
719         buffer:readDocument.
720
721         * tex-strings.C (string_papersize): Default -> default,
722         Custom -> custom, for consistency with other options.
723
724 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
725
726         * pch.h: new file
727
728         * Makefile.am: support pch
729
730 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
731
732         * text.C (readParToken): remove the static LyXFont variable and
733         pass it as a parameter instead. This fixes a nasty bug where an
734         inset will be inserted with a bad font in some situations
735         (readParagraph): adapt
736
737         * text2.C (setCounter): reduce number of calls to pars_[pit]
738
739         * text.C (singleWidth): add an assert, fix a test
740
741         * rowpainter.C (paintText): reduce number of calls to singleWidth
742
743         * paragraph.C (isHfill):
744         (isNewline): ws only
745
746 2004-08-14  André Pönitz  <poenitz@gmx.net>
747
748         * text.C:
749         * text2.C:
750         * rowpainter.C:
751         * lyxtext.h (several functions): use a Paragraph & argument
752         instead of par_type
753
754 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
755
756         * metricsinfo.h: add a new field ltr_pos to PainterInfo
757
758         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
759
760         * text.C (singleWidth): remove useless test
761
762 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
763
764         * tabular.h: remove bogus comments
765
766         * tabular.C (getDescentOfRow):
767         (isPartOfMultiColumn): add assertions
768
769         * lyxlength.C (inPixels): remove #warning
770
771 2004-08-14  André Pönitz  <poenitz@gmx.net>
772
773         * paragraph.h: inline getChar()
774
775         * BufferView.h: remove unused declarations
776
777 2004-08-14  José Matos  <jamatos@lyx.org>
778
779         * Buffer.[Ch] (readDocument): new name for old readBody.
780         * Buffer.C: new file format, new keywords: \begin_document,
781         \begin_header, \begin_body, \end_body.
782
783         * bufferparams.C (readToken): replace all calls to lex.nextToken
784         by lex.next(). Do the same to eatLine except where really needed.
785
786         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
787         line when writing to the lyx file.
788
789         * output_plaintext.C (asciiParagraph): fix Bibliography style
790         handling.
791
792         * text.C (read): fix end of file handling.
793
794 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
795
796         * MenuBackend.C (Menu::operator[]): new method to access
797         individual menu items
798         (Menu::hasFunc): new method. search for an item that corresponds
799         to a given func
800         (MenuBackend::specialMenu): new method
801         (MenuBackend::expand): if a special menu has been set, skip
802         entries whose func() appears in this menu
803
804 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
805
806         * text3.C: use Debug::DEBUG a bit more
807
808         * text.C (leftMargin): try to simplify a tiny bit change var x to
809         l_margin. Dont output the wide margins always.
810         (rightMargin): no margin in inner texts
811
812         * rowpainter.h (nestMargin): new func
813         (changebarMargin): new func
814         (rightMargin): new func
815
816         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
817         now functions.
818         (paintLast): ditto
819
820         * factory.C (createInset): modify setDrawFrame
821
822         * cursor.C: use Debug::DEBUG a bit more
823
824 2004-08-14  André Pönitz  <poenitz@gmx.net>
825
826         * coordcache.[Ch]:
827         * Makefile.am: new files to accomodate an 'external' (x,y)-position
828         cache for all insets in (at least partially) visible (top-level)
829         paragraphs.
830
831         * BufferView_pimpl.C: reset external coord cache before every update.
832         This means the coord cache only contains valid entries.
833
834 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
835
836         bug 1096
837         * BufferView_pimpl.C (getInsetByCode): move function out of class
838         and change in to a template in anon namespace. Also fix to do what
839         suits us better.
840
841 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
842
843         bug 1305
844         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
845         of char
846         (breakParagraph): rename par to par_offset and use a local
847         reference. Add code to keep the language over a rebreak.
848         (breakParagraphConservative): rename par to par_offset, use a
849         local reference
850         (mergeParagraph): ditto
851         (outerHook): ditto
852         (isFirstInSequence): ditto
853         (outerFont): rename pit to par_offset
854
855         * paragraph.C: ws change
856         * paragraph.h: ditto
857         * text3.C: ditto
858         * text.C: ditto
859
860 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
861
862         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
863         treatment for ']'
864
865         * paragraph.C (simpleTeXOnePar): when we have a \item with
866         optional argument, enclose the argument with curly brackets (in
867         case it contains a closing square bracket)
868
869         * text2.C (editXY):
870         * text2.C (editXY):
871         * text3.C (checkInsetHit): constify
872
873 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
874
875         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
876         documents (bug 1629)
877
878 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
879
880         Fix toggling of collapsable insets with the mouse (bug 1558)
881
882         * lyxfunc.C (dispatch): adapt to LCursor changes
883
884         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
885         make sure that dispatch is not invoked twice
886
887         * cursor.C (needsUpdate): new method
888         (dispatch): return void
889         (result): new method, to access the DispatchResult of the cursor.
890
891 2004-08-13  José Matos  <jamatos@lyx.org>
892
893         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
894
895 2004-08-13  André Pönitz  <poenitz@gmx.net>
896
897         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
898
899         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
900           multiple cells
901
902 2004-08-12  André Pönitz  <poenitz@gmx.net>
903
904         * text3.C: take out the 'cursor right' form insertInset and only
905         do it in those places when it is really needed. Fixes crash on
906         C-m...
907
908 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
909
910         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
911
912         * BufferView_pimpl.C (setBuffer): initialize the current font of
913         the underlying LyXText
914
915 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
916
917         * kbsequence.C (print): use UI native formatting for menu
918         shortcuts
919
920         * text.C (insertChar): call Paragraph::insertChar with a font
921         argument (cosmetic)
922
923         * paragraph.C (insertInset, insertChar): the version that takes a
924         LyXFont argument is now a wrapper around the other one (the
925         opposite used to be true).
926
927         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
928         argument. Font setting is done in Paragraph now.
929
930 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
931
932         * outputparams.h: add new members intitle and lang.
933
934         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
935         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
936
937 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
938
939         * text3.C (dispatch): remove special handling of button 4 and 5,
940         it is now taken care of in the frontend code.
941
942 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
943
944         * Spacing.h: add <string> (STLPort compile fix)
945
946 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
947
948         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
949
950 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
951
952         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
953         to bool.
954
955         * converter.C (showMessage): inherit from unary_function, make
956         operator() const.
957
958         * buffer.C (writeFile): initialize retval
959
960         * InsetList.h: rename private variable list to list_
961         * InsetList.[Ch]: adjust accordingly.
962
963 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
964
965         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
966         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
967         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
968         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
969         * ParagraphParameters.C, LaTeXFeatures.C: replace
970         "support/std_sstream.h" with <sstream>
971
972 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
973
974         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
975         * lyxsocket.C (LyXServerSocket): ditto
976         (serverCallback): ditto
977
978 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
979
980         * LaTeXFeatures.C: check release date when loading jurabib.
981
982 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
983
984         * lyxserver.C (startPipe): call register_socket_callback
985         (endPipe): call unregister_socket_callback
986
987 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
988
989         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
990         (LyXServerSocket): register the callback
991         (LyXServerSocket): unregister the callback
992         (fd): delete function
993         (serverCallback): improve error checking and setup the callbacks.
994         (dataCallback): change arg to fd.
995         (writeln): new func (copied fro the client socket) used for server
996         write to client.
997         (LyXDataSocket): simplify
998         (~LyXDataSocket): close ann unregiser callback
999         (server): delete function
1000         (fd): delete function
1001         (readln): small changes, improve some std::string usage
1002         (writeln): constify a bit
1003
1004 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1005
1006         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1007         Qt frontend
1008
1009 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1010
1011         * BufferView_pimpl.C (setBuffer): set the layout combox value only
1012         after it has been populated
1013
1014 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1015
1016         * text2.C (insertInset): move cursor when inserting inset.
1017
1018 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1019
1020         * kbmap.C (findbindings): a couple of new methods. returns a
1021         container of kb_sequence objects. The real work is done by the
1022         private recursive version
1023         (printbindings): uses findbindings to print out a bracketed list
1024         of bindings (renamed from findbinding).
1025
1026         * MenuBackend.C (binding): use kb_keymap::findbindings
1027
1028         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1029
1030 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1031
1032         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1033
1034 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1035
1036         * paragraph.C (isWord): return true on insets that report
1037         isLetter().
1038
1039         * text.C (getWord): use Paragraph::isWord to decide what is in a
1040         word and what is not; fix bug 1609.
1041
1042 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1043
1044         * tex-strings.C: add "none" to string_paperpackages[], fixes
1045         off-by-one-error in the paperpackage selection.
1046
1047         * lyxlex.[Ch]:
1048         * tex-strings.[Ch]: char const * string[n]
1049         -> char const * const string[]
1050
1051 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1052
1053         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1054         command, return early.
1055
1056 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
1057
1058         * debug.h: add DEBUG to enum and fix size of ANY.
1059
1060         * debug.C: add support for Debug::DEBUG
1061         (showTags): cast errorTags.level to unsigned int
1062
1063         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1064         (redoCurrentBuffer): ditto
1065         (updateScrollbar): ditto
1066         * cursor.C (dispatch): ditto
1067         * text2.C (setLayout): ditto
1068         (setFont): ditto
1069         (updateCounters): ditto
1070         (editXY): ditto
1071         (deleteEmptyParagraphMechanism): ditto
1072
1073 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
1074
1075         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1076         annotations to cleanup the Makefile slightly.
1077
1078 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1079
1080         * lyxrc.C: do not set user_email to a default value but use empty
1081         instead. The entry used to be translated, which does not work
1082         since at the point where lyxrc is constructed there is no
1083         translation service available
1084
1085         * messages.C (getLocaleDir): remove and use directly
1086         lyx_localedir() instead
1087
1088 2004-06-02  Angus Leeming  <leeming@lyx.org>
1089
1090         Fix crash caused by dereferencing null pointer 'exportdata' in
1091         OutputParams by creating a new ExportData variable on the heap,
1092         storing it in a boost::shared_ptr.
1093         The crash was triggered when generating an Instant Preview
1094         of an external inset.
1095
1096         * Makefile.am: add outputparams.C
1097
1098         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1099         (c-tor): allocate memory to it.
1100
1101         * exporter.C (c-tor): associated changes.
1102
1103 2004-06-01  Angus Leeming  <leeming@lyx.org>
1104
1105         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1106         contains data before calling isInset(0). (Bug 1513.)
1107
1108 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1109
1110         * exporter.C (checkOverwrite): new method
1111         * exporter.C (copyFile): new method
1112         * exporter.C (Export): copy referenced files to the document dir
1113         * exporter.[Ch]: new class ExportedFile
1114         * exporter.[Ch]: new class ExportData. Contains currently the
1115         names of referenced external files
1116         * outputparams.h: add exportdata member.
1117
1118 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1119
1120         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1121         version.C-tmp
1122
1123 2004-05-19  Angus Leeming  <leeming@lyx.org>
1124
1125         * LaTeXFeatures.C:
1126         * ToolbarBackend.C:
1127         * bufferparams.C:
1128         * lyxfunc.C: small changes due to the introduction of namespace
1129         lyx::frontend and the moving of namespace biblio to lyx::biblio.
1130
1131 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
1132
1133         * text3.C (dispatch): supress update when only moving the cursor
1134         * cursor.C (selHandle): remove commented code
1135
1136 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1137
1138         * paragraph.C (startTeXParParams): correct column count
1139         * CutAndPaste.C (pasteSelection): remove const_cast
1140         * output_docbook.C (docbookParagraphs): remove const_cast
1141         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1142         const_cast and return ParagraphList::const_iterator
1143         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1144         * output_plaintext.C (writeFileAscii): remove const_cast
1145         * paragraph.[Ch] (simpleTeXOnePar): make const
1146         * paragraph_funcs.C (outerPar): use const iterators
1147         * paragraph_pimpl.C (validate): use const iterators
1148         * text.C (setHeightOfRow): use const iterators
1149
1150 2004-05-17  Angus Leeming  <leeming@lyx.org>
1151
1152         * lfuns.h:
1153         * LyXAction.C (init): new LFUN_INSET_REFRESH.
1154
1155         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1156         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1157         if the citation engine has changed.
1158
1159 2004-05-14  José Matos  <jamatos@lyx.org>
1160
1161         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1162         if the textclass does not provide it. Have it different for sgml and
1163         xml.
1164         support the language of document.
1165         * output_docbook.C (docbookParagraphs):
1166         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1167         first anchor as the id of the paragraph, remove special case code.
1168         * sgml.C (escapeChar): escape only < & >.
1169
1170 2004-05-14  Angus Leeming  <leeming@lyx.org>
1171
1172         * bufferparams.h: move biblio::CiteEngine enum here to minimize
1173         dependencies on src/frontends/controllers/biblio.h. Define a
1174         CiteEngine_enum wrapper class to enable the enum to be forward
1175         declared.
1176
1177 2004-05-12  Angus Leeming  <leeming@lyx.org>
1178
1179         * buffer.C: up LYX_FORMAT to 234.
1180         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1181         use_numerical_citations with a single biblio::CiteEngine cite_engine
1182         variable.
1183         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1184
1185 2004-05-13  José Matos  <jamatos@lyx.org>
1186
1187         * converter.h:
1188         * converter.C (Converter, readFlags): add xml member.
1189         * outputparams.h: add XML flavor.
1190         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1191
1192 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1193
1194         * lyxfunc.C (dispatch):
1195         (getStatus): fix handling of LFUN_SEQUENCE
1196
1197 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1198
1199         * debug.C (showLevel): do not forget the end-of-line marker
1200
1201 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1202
1203         * kbmap.C (read): do not stop parsing a bind file when an error
1204         occurs (bug 1575)
1205
1206 2004-04-29  Angus Leeming  <leeming@lyx.org>
1207
1208         * cursor.C:
1209         * factory.C:
1210         * pariterator.C:
1211         * text2.C: wrap a bunch of #warning statements
1212         inside #ifdef WITH_WARNINGS blocks.
1213
1214 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1215
1216         * buffer.C: increment format to 233.
1217
1218 2004-04-28  Angus Leeming  <leeming@lyx.org>
1219
1220         * BufferView_pimpl.C:
1221         * lyxfunc.C:
1222         * text3.C:
1223         s/updateToolbar()/updateToolbars()/
1224         s/Toolbar.h/Toolbars.h/
1225
1226 2004-04-28  Angus Leeming  <leeming@lyx.org>
1227
1228         * BufferView.[Ch] (c-tor):
1229         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1230         No longer passes these data to the WorkArea generator.
1231
1232 2004-04-28  Angus Leeming  <leeming@lyx.org>
1233
1234         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1235
1236 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1237
1238         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1239
1240 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1241
1242         * output_latex.C (TeXEnvironment): make sure that there is a line
1243         break before \end{foo} for the last paragraph of a document
1244         (TeXOnePar): if the paragraph is at the end of the document (or
1245         inset) and the language has to be reset, then make sure that the
1246         line break is _before_ the language command, not after (fixes bug
1247         1225); also make sure that the language reset command is the first
1248         thing after the paragraph (to ensure proper nesting of
1249         environments and thus fix bug 1404)
1250
1251 2004-04-21  John Levon  <levon@movementarian.org>
1252
1253         * ToolbarBackend.h:
1254         * ToolbarBackend.C: make "name" be a programmatic name
1255         and a gui_name field.
1256
1257         * lyxfunc.C: display the minibuffer on M-x
1258
1259 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1260
1261         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1262         (bug 1526)
1263
1264 2004-04-19  Angus Leeming  <leeming@lyx.org>
1265
1266         * BufferView_pimpl.C (setBuffer): changed preview interface.
1267
1268         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1269         possible values.
1270
1271 2004-04-19  John Levon  <levon@movementarian.org>
1272
1273         * BufferView_pimpl.C:
1274         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1275
1276 2004-04-05  Angus Leeming  <leeming@lyx.org>
1277
1278         * text.C (redoParagraphs): add call to updateCounters(), thereby
1279         fixing the missing "Figure #:" label from the caption of a
1280         figure float.
1281
1282 2004-04-13  Angus Leeming  <leeming@lyx.org>
1283
1284         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1285         cursor is clicked out of an inset.
1286
1287 2004-04-13  Angus Leeming  <leeming@lyx.org>
1288
1289         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1290         than an InsetOld one.
1291
1292 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1293
1294         * format.[Ch]: add editor to Format
1295         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1296         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1297
1298 2004-04-08  André Pönitz  <poenitz@gmx.net>
1299
1300         * metricsinfo.h: remove PainterInfo::width member
1301
1302 2004-04-08  Angus Leeming  <leeming@lyx.org>
1303
1304         * lyx_sty.C (boldsymbol_def): modify so that it outputs
1305         "\providecommand" rather than "\newcommand", thereby preventing
1306         clashes with packages that define "\boldsymbol" themselves.
1307         Eg, beamer.
1308
1309 2004-04-08  Angus Leeming  <leeming@lyx.org>
1310
1311         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1312         thereby squashing an unnecessary warning.
1313
1314 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1315
1316         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1317         setBuffer()
1318
1319 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
1320
1321         * BufferView.C (setCursor): call redoParagraph (some insets could
1322         have been opened)
1323         (putSelectionAt): remove the 'double update' trick
1324
1325         * BufferView_pimpl.C (fitCursor): call refreshPar
1326         (workAreaDispatch): remove an uneeded update call
1327         (dispatch): remove some manual update calls
1328
1329         * cursor.[Ch]: remove cached_y_, updatePos
1330         (selHandle): set noUpdate when appropriate
1331
1332         * lyxfunc.C (dispatch): track if we need an update
1333
1334         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1335
1336         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1337         (paintSelection): cheap optimization, do not call cursorX when not
1338         needed
1339         (paintPars): change signature
1340         (refreshPar): add
1341         (paintText): adjust
1342         (paintTextInset): adjust
1343
1344         * text.C: adjust
1345
1346 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1347
1348         * lengthcommon.C: compilation fix: remove explicit array size from
1349         unit_name[] and friends
1350
1351 2004-04-05  Angus Leeming  <leeming@lyx.org>
1352
1353         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1354
1355         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1356         present only for the preferences dialog.
1357         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1358
1359 2004-04-05  Angus Leeming  <leeming@lyx.org>
1360
1361         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1362         to enable the frontends to export changes to lyxrc correctly.
1363
1364         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1365
1366 2004-04-07  André Pönitz  <poenitz@gmx.net>
1367
1368         * cursor.[Ch] (selClear, adjust): remove math
1369
1370         * cursor_slice.C: more agressive assert
1371
1372         * lyxfunc.C:
1373         * BufferView_pimpl.C: rework mouse event dispatch
1374
1375         * dociterator.C:
1376         * paragraph.C:
1377         * text2.C:
1378         * text3.C: adjust
1379
1380 2004-04-05  André Pönitz  <poenitz@gmx.net>
1381
1382         * cursor.[Ch] (valign, halign...): remove unneeded functions
1383
1384 2004-04-05  Angus Leeming  <leeming@lyx.org>
1385
1386         * lyxlength.[Ch] (unit_name et al.): const-correct.
1387
1388 2004-04-05  Angus Leeming  <leeming@lyx.org>
1389
1390         * BufferView_pimpl.C:
1391         * buffer.C:
1392         * counters.C:
1393         * cursor.C:
1394         * lyxfunc.C
1395         * paragraph.C:
1396         * pariterator.C:
1397         * text.C:
1398         * text2.C:
1399         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1400
1401 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1402
1403         * text3.C (getStatus): add LFUN_BEGINNINGBUF
1404
1405 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1406
1407         * lyxfind.C: add a couple of inTexted() tests + other small fixes
1408         * BufferView_pimpl.[Ch] (getStatus)
1409         * BufferView.[Ch] (getStatus): add
1410         * lyxfunc.C (getStatus): move lfuns handled in
1411         BufferView::dispatch to te function above
1412         * Cursor.C (setSelection): set selection() = true
1413
1414 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1415
1416         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1417
1418 2004-03-31  Angus Leeming  <leeming@lyx.org>
1419
1420         * lyxfunc.C (dispatch): Fall through to the generic
1421         Dialogs::show("preamble").
1422
1423 2004-03-31  Angus Leeming  <leeming@lyx.org>
1424
1425         * lyxfunc.C (dispatch): Fall through to the generic
1426         Dialogs::show("spellchecker").
1427
1428 2004-03-31  Angus Leeming  <leeming@lyx.org>
1429
1430         * lyxfunc.C (getStatus, dispatch): changed invocation of the
1431         preferences dialog.
1432
1433 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1434
1435         * BufferView.C
1436         * cursor.[Ch]
1437         * dociterator.[Ch]:
1438         * insetiterator.[Ch]:
1439         * lyxfind.C:
1440         * lyxfunc.C:
1441         * pariterator.[Ch]:
1442         * text2.C:
1443         * undo.[Ch]: s/DocumentIterator/DocIterator/g
1444
1445 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1446
1447         * BufferView.C (setCursor, putSelectionAt): call edit to open the
1448         insets where we are putting the cursor.
1449
1450 2004-03-31  Angus Leeming  <leeming@lyx.org>
1451
1452         * lfuns.h:
1453         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1454
1455         * lyxrc.[Ch] (read, write): overloaded member functions taking
1456         a std::[io]stream arguments.
1457
1458         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1459
1460 2004-03-31  Angus Leeming  <leeming@lyx.org>
1461
1462         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1463         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1464
1465         * lyxtextclass.C (load): if the text class couldn't be loaded, then
1466         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1467
1468 2004-03-31  Angus Leeming  <leeming@lyx.org>
1469
1470         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1471         the LFUN_ALL_INSETS_TOGGLE code.
1472
1473 2004-03-30  Angus Leeming  <leeming@lyx.org>
1474
1475         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1476         has died. Fall through to the generic Dialogs::show("document").
1477
1478 2004-03-30  Angus Leeming  <leeming@lyx.org>
1479
1480         * lfuns.h:
1481         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1482         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1483
1484         * lyxfunc.C (getStatus, dispatch): define the actions for these
1485         lfuns. Little more than a cut and pste job from ControlDocument.C
1486
1487         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1488
1489 2004-03-30  Angus Leeming  <leeming@lyx.org>
1490
1491         * lfuns.h:
1492         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1493         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1494
1495         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1496         open/closed state of ollapsable insets. Usage:
1497
1498         all-inset-toggle <state> <name>, where
1499         <state> == "open" || "closed" || "toggle" and
1500         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1501
1502         * lyxtext.h, text2.C (toggleInset): removed.
1503
1504         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1505         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1506         now passes LFUN_INSET_TOGGLE to the found inset.
1507
1508         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1509         is now invoked as "all-insets-toggle toggle branch".
1510
1511 2004-03-30  Angus Leeming  <leeming@lyx.org>
1512
1513         * dociterator.C:
1514         * insetiterator.C:
1515         * pariterator.[Ch]: added/corrected header blurb.
1516
1517 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
1518
1519         * dociterator.[Ch]: add an inset_ member
1520         (backwardPos): implemented
1521         (backwardPos, forwardPos): use inset_ when the stack is empty.
1522         (doc_iterator_begin, doc_iterator_end): implemented
1523         * pariterator.[Ch]: adjust, add begin, end
1524         * insetiterator.[Ch]: adjust, add begin, end
1525         * cursor.C:
1526         * document.C:
1527         * BufferView.C:
1528         * BufferView_pimpl.C:
1529         * CutAndPaste.C: adjust
1530
1531 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1532
1533         * buffer.C: increment file format to 232.
1534         * LaTeXFeatures.C: add bibtopic package.
1535         * bufferparams.[Ch]: param \use_bibtopic.
1536
1537         * lyxrc.[Ch]: add lyxrc bibtex_command
1538         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1539
1540         * buffer.C: increment file format to 231.
1541
1542 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1543
1544         * dociterator.C: implement forwardPar
1545         * iterators.[Ch]: remove, replaced by
1546         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1547         * BufferView.C:
1548         * BufferView_pimpl.C:
1549         * CutAndPaste.C:
1550         * buffer.C:
1551         * bufferview_funcs.C:
1552         * cursor.C:
1553         * lyxfind.C
1554         * lyxfunc.C
1555         * paragraph_funcs.C
1556         * toc.C:
1557         * Makefile.am: adjust
1558
1559 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1560
1561         * CutAndPaste.C (pasteSelection): fix 2 crashes
1562         (eraseSelection): fix a crash
1563         * paragraph_funcs.C: remove a warning
1564
1565 2004-03-28  Angus Leeming  <leeming@lyx.org>
1566
1567         * lfuns.h:
1568         * LyXAction.C (init): new LFUN_PRINT.
1569
1570         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1571
1572 2004-03-27  Angus Leeming  <leeming@lyx.org>
1573
1574         * lfuns.h:
1575         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1576
1577         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1578
1579 2004-03-27  Angus Leeming  <leeming@lyx.org>
1580
1581         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1582         insetlist always contains non-null pointers to insets.
1583
1584 2004-03-26  Angus Leeming  <leeming@lyx.org>
1585
1586         * src/BufferView_pimpl.C:
1587         * src/CutAndPaste.C:
1588         * src/buffer.C:
1589         * src/iterators.C:
1590         * src/output_plaintext.C:
1591         * src/outputparams.h:
1592         * src/paragraph_funcs.C:
1593         * src/rowpainter.C:
1594         * src/text.C:
1595         * src/text2.C:
1596         * src/frontends/controllers/ControlErrorList.C:
1597         * src/frontends/gtk/FileDialogPrivate.C:
1598         * src/frontends/gtk/GPainter.C:
1599         * src/frontends/gtk/GToolbar.C:
1600         * src/frontends/qt2/QRef.C:
1601         * src/mathed/math_scriptinset.C: squash compiler warnings.
1602
1603 2004-03-26  Angus Leeming  <leeming@lyx.org>
1604
1605         * ispell.C (LaunchIspell::start):
1606         * lyx_cb.C (AutoSaveBuffer::start):
1607         invoke run(DontWait) rather than runNonBlocking().
1608
1609 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
1610
1611         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1612
1613 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1614
1615         * kbsequence.C (print): adjust
1616
1617         * kbmap.C (printKeySym): rename and change signature
1618         (printKey): use LyXKeySym::print()
1619
1620 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
1621
1622         * undo.C: add using std::advance to compile for stlport
1623
1624 2004-03-24  Angus Leeming  <leeming@lyx.org>
1625
1626         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1627         it leads to a crash when no buffer is present.
1628
1629 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1630             Martin Vermeer  <martin.vermeer@hut.fi>
1631
1632         * lyxfunc.C (dispatch):
1633         * bufferparams.C (readToken): use the new LColor::setColor
1634
1635         * LColor.[Ch] (setColor): new version that takes two strings as
1636         argument and creates a new color entry if necessary
1637
1638 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1639
1640         * buffer.C (makeLaTeXFile): if the main latex file that is
1641         processed is usually a subdocument of some master, then pretend
1642         for a while that it is actually the master
1643
1644 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1645
1646         * buffer.C (getLabelList):
1647         (getBibkeyList): use getMasterBuffer()
1648         (getMasterBuffer): new method. Returns the main document in the
1649         case where one is using included documents.
1650
1651 2004-03-25  André Pönitz  <poenitz@gmx.net>
1652
1653         * Makefile.am:
1654         * iterators.[Ch]:
1655         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1656
1657         * ParagraphList_fwd.h: change ParagraphList to a std::vector
1658
1659         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1660         text*.C over here. Rename namespace CutAndPaste to lyx::cap
1661
1662         * ParameterStruct.h: merge with ParagraphParameters
1663
1664         * lyxtext.h: remove LyXText::parOffset() and getPar()
1665
1666         * text3.C: Remove all 'manual' update calls. We do now one per user
1667         interaction which is completely sufficient.
1668
1669         * Bidi.C:
1670         * BufferView.[Ch]:
1671         * BufferView_pimpl.C:
1672         * FontIterator.[Ch]:
1673         * MenuBackend.C:
1674         * ParagraphParameters.[Ch]:
1675         * buffer.C:
1676         * buffer.h:
1677         * bufferlist.C:
1678         * cursor.[Ch]:
1679         * cursor_slice.[Ch]:
1680         * dociterator.[Ch]:
1681         * errorlist.[Ch]:
1682         * factory.C:
1683         * lfuns.h:
1684         * lyxfind.C:
1685         * lyxfunc.C:
1686         * output_docbook.[Ch]:
1687         * output_latex.[Ch]:
1688         * output_linuxdoc.[Ch]:
1689         * output_plaintext.[Ch]:
1690         * paragraph.[Ch]:
1691         * paragraph_funcs.[Ch]:
1692         * paragraph_pimpl.[Ch]:
1693         * rowpainter.C:
1694         * tabular.[Ch]:
1695         * text.C:
1696         * text2.C:
1697         * toc.C:
1698         * undo.[Ch]: adjust
1699
1700         * frontends/controllers/ControlDocument.C:
1701         * frontends/controllers/ControlErrorList.C:
1702         * frontends/controllers/ControlSpellchecker.C:
1703         * insets/inset.C:
1704         * insets/inset.h:
1705         * insets/insetbase.h:
1706         * insets/insetbibitem.C:
1707         * insets/insetbox.C:
1708         * insets/insetbranch.C:
1709         * insets/insetcaption.C:
1710         * insets/insetcharstyle.C:
1711         * insets/insetcharstyle.h:
1712         * insets/insetcollapsable.C:
1713         * insets/insetcollapsable.h:
1714         * insets/insetert.C:
1715         * insets/insetfloat.C:
1716         * insets/insetfoot.C:
1717         * insets/insetmarginal.C:
1718         * insets/insetnote.C:
1719         * insets/insetoptarg.C:
1720         * insets/insettabular.C:
1721         * insets/insettext.C:
1722         * insets/insettext.h:
1723         * insets/insetwrap.C:
1724         * mathed/math_mboxinset.C:
1725         * mathed/math_nestinset.C:
1726         * mathed/math_scriptinset.C:
1727         * mathed/math_scriptinset.h:
1728         * support/types.h:
1729
1730 2004-03-24  Angus Leeming  <leeming@lyx.org>
1731
1732         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1733         deal with any child processes that have finished but are waiting to
1734         communicate this fact to the rest of LyX.
1735
1736 2004-03-24  Angus Leeming  <leeming@lyx.org>
1737
1738         64-bit compile fixes.
1739
1740         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1741         (c-tor): pass lyx::pos_types rather than ints.
1742
1743         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1744         lyx::pos_type.
1745
1746         * text.C (Delete): compile fix.
1747         (getPar): ensure that function declaration is the same as that in
1748         the header file.
1749
1750 2004-03-23  Angus Leeming  <leeming@lyx.org>
1751
1752         * ispell.C (LaunchIspell):
1753         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1754         a boost::shred_ptr rather than a std::auto_ptr.
1755
1756 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1757
1758         * lyxfunc.C (getStatus): handle read-only buffers correctly;
1759         handle LFUN_FILE_INSERT_*
1760
1761         * lyxrc.C (setDefaults, getDescription, output, read):
1762         * lyxrc.h: remove ps_command
1763
1764 2004-03-22  Angus Leeming  <leeming@lyx.org>
1765
1766         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1767         Ensure that error_handler is processed once only and that all data
1768         is saved before attempting to output any warning messages.
1769
1770         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1771
1772 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
1773
1774         * tabular.C (TeXRow): crash fix (from Kayvan and André)
1775
1776 2004-03-19  André Pönitz  <poenitz@gmx.net>
1777
1778         * cursor.[Ch] (reset): take main text inset as argument
1779
1780         * BufferView: adjust
1781         * BufferView_pimpl.C: adjust
1782
1783         * paragraph.[Ch]: fix completely broken operator=()
1784
1785 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1786
1787         * LColor.C (getFromLyXName): make sure that the color name is used
1788         as lowercase.
1789
1790 2004-03-17  Angus Leeming  <leeming@lyx.org>
1791
1792         * lfuns.h:
1793         * LyXAction.C (init): remove LFUN_FORKS_KILL.
1794
1795         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1796         dialog and to kill a forked process.
1797
1798 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1799
1800         * text2.C (setCursorFromCoordinates): fix font problem
1801
1802 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1803
1804         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1805         bogus "rebuild cursor" code
1806
1807 2004-03-11  André Pönitz  <poenitz@gmx.net>
1808
1809         * buffer.[Ch]: use InsetText instead of LyXText as container for
1810         the main lyx text.
1811
1812         * dociterator.[Ch]: drop the BufferView * member which is not needed
1813         anymore after the change to buffer.C
1814
1815         * paragraph_funcs.C:
1816         * text.C:
1817         * text2.C:
1818         * BufferView.[Ch]:
1819         * BufferView_pimpl.[Ch]:
1820         * cursor.[Ch]:
1821         * cursor_slice.[Ch]: adjust
1822
1823         * text3.C: fix bug in mathDispatch
1824
1825 2004-03-08  André Pönitz  <poenitz@gmx.net>
1826
1827         * undo.[Ch]: use 'StableDocumentIterator' as base for
1828         the Undo struct.
1829
1830 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1831
1832         * LaTeXFeatures.C:
1833         * bufferparams.[Ch]: add jurabib support and param.
1834
1835         * LaTeX.C: add FIXME/comment.
1836
1837 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1838
1839         * buffer.C: increment file format to 230.
1840
1841 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
1842
1843         * cursor.C (dispatch): avoid infinite loops
1844
1845 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1846
1847         * rowpainter.C (paintSelection): fix x coordinates
1848
1849 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1850
1851         * text.C (rowBreakPoint): fix breaking before displayed insets
1852
1853 2004-03-01  André Pönitz  <poenitz@gmx.net>
1854
1855         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1856
1857         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1858
1859         * Makefile.am:
1860         * BufferView.C:
1861         * BufferView_pimpl.C:
1862         * buffer.C:
1863         * lyxfind.C:
1864         * lyxfunc.C:
1865         * text.C:
1866         * text2.C:
1867         * text3.C: adjust
1868
1869 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1870
1871         * lyxtext.h:
1872         * text.C:
1873         * text2.C:
1874         * rowpainter.C:
1875         * BufferView_pimpl.C: rename textwidth -> maxwidth,
1876         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1877
1878 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1879
1880         * Bidi.[Ch] (computeTables): const correctness
1881         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1882         fill_hfill, fill_label_hfill and x from Row
1883         * lyxtext.h: prepareToPrint returns a RowMetrics
1884         * rowPainter.C: adjust
1885         * text.C (prepareToPrint): use width, not textWidth. adjust
1886         (redoParagraphInternal, cursorX): adjust
1887         * text2.C (getColumnNearX): adjust
1888         (init): put a default value to the top LyXText::width
1889
1890 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1891
1892         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1893
1894 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1895
1896         * lyxtext.h: add FontIterator class
1897
1898         * text.C (FontIterator, operator*, operator->, operator++): add
1899         (rowBreakPoint, setRowWidth): adjust (fixing a
1900         rebreaking bug)
1901
1902 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1903
1904         * BufferView_pimpl.C (workAreaDispatch): allow also
1905         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1906
1907 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
1908
1909         * text.C (rowBreakPoint): fix a bug showing with very large insets
1910
1911 2004-02-25  André Pönitz  <poenitz@gmx.net>
1912
1913         * text3.C:
1914         * cursor.[Ch]: move some mathed specific code to mathed
1915
1916 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1917
1918         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1919         use_tempdir in preferences
1920         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1921         tempfile creation
1922         * lyx_main.C: ensure that tempdir is valid
1923         * lyxlex.h: correct typo
1924         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1925         * paragraph.[Ch] (isMultiLingual): make const
1926         * cursor.[Ch] (openable): make const
1927
1928 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1929
1930         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1931
1932 2004-02-20  André Pönitz  <poenitz@gmx.net>
1933
1934         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1935
1936         * cursor.[Ch]: prepare for localized getStatus()
1937
1938         * lyxtext.h:
1939         * tabular.C:
1940         * text.C:
1941         * text2.C:
1942         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
1943
1944 2004-02-20  André Pönitz  <poenitz@gmx.net>
1945
1946         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1947
1948 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1949
1950         * text2.C (setCursorFromCoordinates): switch to absolute coords
1951         (cursorUp): adjust
1952         (cursorDown): adjust
1953         * text3.C (dispatch): adjust
1954
1955 2004-02-16  André Pönitz  <poenitz@gmx.net>
1956
1957         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1958           insets/ChangeLog)
1959
1960         * cursor_slice.[Ch]: remove unneeded acessor function
1961
1962         * lyxtext.h: rename rtl() to isRTL()
1963
1964         * rowpainter.C:
1965         * tabular.C:
1966         * text.C:
1967         * text2.C:
1968         * text3.C: adjust
1969
1970 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1971
1972         * rowpainter.C (paintSelection): coord fix
1973
1974 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
1975
1976         * Spacing.C: compile fix
1977
1978 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1979
1980         * cursor.C (dispatch): restore current_ before returning
1981
1982 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1983
1984         * text2.C (cursorUp, cursorDown): fix coords
1985         (moveUp): fix crash
1986
1987 2004-02-12  André Pönitz  <poenitz@gmx.net>
1988
1989         * lyxtext.h:
1990         * text.C:
1991         * text2.C:
1992         * text3.C: add LCursor & parameter to most cursor movement functions
1993           remove usage of LyXText::cursorRow() and cursorPar()
1994
1995         * cursor.[Ch]: add textRow() needed members
1996
1997         * BufferView.C:
1998         * BufferView_pimpl.C:
1999         * paragraph.[Ch]:
2000         * BufferView.C:
2001         * BufferView_pimpl.C: adjust
2002
2003 2004-02-11  André Pönitz  <poenitz@gmx.net>
2004
2005         * lyxfunc.C:
2006         * BufferView.[Ch]:
2007         * BufferView_pimpl.C: shift undo/redo handling
2008
2009         * cursor.[Ch]: fix mathed crash
2010
2011         * lyxfind.C:
2012         * lyxtext.h: move selectionAsText to LCursor
2013
2014         * output_latex.C:
2015         * paragraph.C:
2016         * text.C:
2017         * text2.C:
2018         * text3.C: adjust
2019
2020         * rowpainter.C: fix excessive drawing
2021
2022 2004-02-06  André Pönitz  <poenitz@gmx.net>
2023
2024         * BufferView.[Ch]:
2025         * BufferView_pimpl.[Ch]:
2026         * text3.C: move some text specific LFUN handling
2027
2028 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
2029
2030         * text3.C (checkInsetHit): adjust coords
2031         * text2.C (getColumnNearX): adjust coords
2032         (edit): adjust coords
2033         * text.C (getRowNearY): add two asserts
2034
2035 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
2036
2037         * converter.C:
2038         * format.C: add using std::distance to compile on gcc 2.95/stlport
2039
2040 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
2041
2042         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2043
2044 2004-02-04  André Pönitz  <poenitz@gmx.net>
2045
2046         * BufferView.[Ch] (insertInset):
2047         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2048
2049         * text2.C:
2050         * text3.C: adjust
2051
2052 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2053
2054         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2055         on the default clause of the switch
2056         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2057         wasn't catched by LCursor::dispatch
2058
2059 2004-02-03  André Pönitz  <poenitz@gmx.net>
2060
2061         * BufferView.C:
2062         * cursor.[Ch]: some additional asserts
2063
2064         * undo.[Ch]: remove LyXText dependency in interface
2065
2066         * lyxfunc.C: adjust
2067
2068         * lyxtext.h (firstPar, lastPar): remove dead functions
2069
2070         * text.C:
2071         * text2.C:
2072         * text3.C:
2073         * paragraph.[Ch]: adjust
2074
2075 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2076
2077         * lyxfind.C (find): fix argument order in call to ::find
2078
2079 2004-02-02  André Pönitz  <poenitz@gmx.net>
2080
2081         * cursor.[Ch]: remove direct access to anchor
2082
2083         * text.C: remove findText() hack
2084
2085 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2086
2087         * iterators.[Ch] (lockPath): remove in favour of...
2088         * BufferView.[Ch] (setCursor): this addition
2089         * BufferView.C (putSelectionAt): adjust
2090         * undo.C (performUndoOrRedo): adjust
2091         * lyxfunc.C (dispatch): adjust
2092
2093 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2094
2095         * iterators.C (lockPath): add a missing slice
2096         * undo.C (performUndoOrRedo): remove redundant positioning code
2097
2098 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
2099
2100         * vc-backend.C (scanMaster): ";" -> ';'
2101
2102 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
2103
2104         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2105         std::binary_function
2106
2107         * lyxtextclass.C (compare_name): rename to...
2108         (LayoutNamesEqual): ...this
2109
2110         * lyxlex_pimpl.C (compare_tags): inherit from
2111         std::binary_function, put back into anon namespace
2112
2113         * lyxfind.C (MatchString): inherig from std::binary_function
2114         (findChange): use empty() istead of !size()
2115
2116         * format.C (FormatNamesEqual): new functor
2117         (getFormat): use it
2118         (getNumber): use it
2119         (add): use it
2120         (erase): use it
2121         (setViewer): use it
2122
2123         * converter.C (compare_Converter): rename to...
2124         (ConverterEqual): ...this, and fixup a bit.
2125         (getConverter): use it, and make function const
2126         (getNumber): use it, and make function const
2127         (add): use it
2128         (erase): use it:
2129
2130         * bufferlist.C: add using boost::bind
2131
2132         * MenuBackend.C (MenuNamesEqual): new functor
2133         (hasMenu): use it, and make function const
2134         (hasSubmenu): use nested bind to get rid of compare_memfun.
2135
2136 2004-01-30  André Pönitz  <poenitz@gmx.net>
2137
2138         * BufferView_pimpl.C:
2139         * cursor.C:
2140         * cursor.h:
2141         * cursor_slice.[Ch]:
2142         * lyxfunc.C:
2143         * lyxtext.h:
2144         * paragraph_funcs.C:
2145         * paragraph_funcs.h:
2146         * rowpainter.C:
2147         * text.C:
2148         * text2.C:
2149         * text3.C: move some of the edit(x,y) handling to the insets
2150         some coordinate changes.
2151
2152 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
2153
2154         * text.C: add using statements for std::advance and std::distance
2155
2156         * paragraph.C: add using statement for std::distance
2157
2158         * lyxfind.C: add using statement for std::advance
2159
2160         * cursor.C (region): remove std:: from swap
2161         (openable): use nucleus in stead of operator->
2162
2163         * BufferView.C: add using statements for std::distance and std::swap
2164
2165 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
2166
2167         * iterators.C: Remove the pimple, move the needed structures to
2168         the header file. Create accessor for the positions stack.
2169         (asPosIterator): remove function
2170
2171         * PosIterator.C (PosIterator): move constructors to top of file
2172         (PosIterator): reimplement the constructor taking a ParIterator in
2173         terms of setFrom.
2174         (setFrom): new function
2175         (operator!=): inline it
2176
2177 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
2178
2179         * lyxfind.C (replaceAll): use std::advance
2180
2181         * iterators.h: inherit from std::iterator.
2182
2183         * PosIterator.C (advance, distance): remove
2184         * PosIterator.h: interit from std::iterator.
2185
2186 2004-01-26  André Pönitz  <poenitz@gmx.net>
2187
2188         * BufferView.[Ch]:
2189         * BufferView_pimpl.[Ch]:
2190         * InsetList.[Ch]:
2191         * PosIterator.[Ch]:
2192         * buffer.h:
2193         * bufferview_funcs.C:
2194         * cursor.[Ch]:
2195         * cursor_slice.h:
2196         * factory.[Ch]:
2197         * iterators.[Ch]:
2198         * lyxfind.C:
2199         * lyxfunc.C:
2200         * lyxtext.h:
2201         * output_docbook.C:
2202         * output_latex.C:
2203         * output_linuxdoc.C:
2204         * output_plaintext.C:
2205         * paragraph.[Ch]:
2206         * paragraph_funcs.[Ch]:
2207         * paragraph_pimpl.[Ch]:
2208         * rowpainter.C:
2209         * tabular.C:
2210         * tabular.h:
2211         * text.C:
2212         * text2.C:
2213         * text3.C: more IU:  dumps most of the rest of the mathcursor
2214     implementation into cursor.[Ch]; "globalize" a bit of it.
2215
2216 2004-01-25  Angus Leeming  <leeming@lyx.org>
2217
2218         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2219
2220 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2221
2222         * LaTeXFeatures.h: add nice_ and nice() const
2223         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2224
2225 2004-01-20  André Pönitz  <poenitz@gmx.net>
2226
2227         * BufferView.[Ch]:
2228         * BufferView_pimpl.C:
2229         * PosIterator.C:
2230         * bufferview_funcs.C:
2231         * cursor.[Ch]:
2232         * cursor_slice.[Ch]:
2233         * factory.C:
2234         * iterators.C:
2235         * lyx_cb.C:
2236         * lyxfind.C:
2237         * lyxfunc.C:
2238         * lyxtext.h:
2239         * rowpainter.C:
2240         * text.C:
2241         * text2.C:
2242         * text3.C:
2243         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2244           LCursor and mathcursor parts to LCursor and InsetBase.
2245
2246 2004-01-15  André Pönitz  <poenitz@gmx.net>
2247
2248         * cursor_slice.[Ch]: add a few covienience functions
2249
2250         * funcrequest.[Ch]: remove BufferView * member
2251
2252         * BufferView_pimpl.C:
2253         * cursor.C:
2254         * factory.[Ch]:
2255         * lyxfind.[Ch]:
2256         * lyxfunc.C:
2257         * lyxtext.h:
2258         * text3.C:
2259         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2260
2261 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
2262
2263         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2264         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2265
2266 2004-01-13  André Pönitz  <poenitz@gmx.net>
2267
2268         * textcursor.[Ch]:
2269         * lyxtext.h: hide cursor and selection anchor behind accessor function
2270
2271         * BufferView.C:
2272         * BufferView_pimpl.[Ch]:
2273         * PosIterator.C:
2274         * bufferview_funcs.C:
2275         * cursor.h:
2276         * lyxfind.C:
2277         * lyxfunc.C:
2278         * text.C:
2279         * text2.C:
2280         * text3.C:
2281         * undo.C: adjust
2282
2283         * cursor.h:
2284         * cursor_slice.[Ch]: some integer type changes for inset unification
2285
2286         * lyxcursor.[hC]: remove, it's CursorSlice now.
2287
2288         * Makefile.am:
2289         * BufferView_pimpl.[Ch]:
2290         * bufferview_funcs.C:
2291         * cursor_slice.C:
2292         * lyxtext.h:
2293         * text.C:
2294         * text2.C:
2295         * text3.C:
2296         * textcursor.[Ch]: adjust
2297
2298 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
2299
2300         * text2.C (undoSpan): add and use
2301         * text.C (breakParagraph): use undoSpan (fix bug 578)
2302         * lyxtext.h: adjust
2303
2304 2004-01-08  Angus Leeming  <leeming@lyx.org>
2305
2306         * BufferView_pimpl.C (MenuInsertLyXFile):
2307         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2308         * lyxfunc.C (menuNew, open, doImport):
2309         FileFilterList change to the FileDialog open and save functions.
2310
2311 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
2312
2313         * ShareContainer.h: make isEqual and isUnique adaptable
2314
2315         * CutAndPaste.C: make resetOwnerAndChanges adaptable
2316
2317 2004-01-07  Angus Leeming  <leeming@lyx.org>
2318
2319         * LyXAction.C:
2320         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2321
2322         * BufferView_pimpl.C (dispatch): act on these LFUNs.
2323
2324         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2325         functions replacing find, replace and replaceAll.
2326
2327         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2328         LFUN_WORDFIND(FORWARD|BACKWARD).
2329
2330 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2331
2332         * text.C (breakParagraph): remove an outdated #warning
2333
2334 2004-01-07  André Pönitz  <poenitz@gmx.net>
2335
2336         * lyxfind.C: somewhat clearer logic
2337
2338         * text.C: prevent crash in cursorX on unitialized row cache
2339
2340 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2341
2342         * lyxcursor.[Ch] (operator>): add
2343         * textcursor.C (selStart, selEnd): use std::min and std::max
2344
2345 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
2346
2347         * Chktex.C: include boost/format.hpp
2348
2349 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
2350
2351         * InsetList.C: replace functor MathcIt with adaptable functor
2352         InsetTablePosLess
2353         (insetIterator): modify accordingly
2354
2355         * BranchList.h: move the BranchNamesEqual functor here from...
2356         * BranchList.C: ... to here
2357
2358         * BranchList.C: new BranchListEqual fuctor, use it. Remove
2359         SameName and match.
2360         (add): replace a finding loop with std::find_if.
2361
2362 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
2363
2364         * output_docbook.C: moving LatexParam functionality into
2365         .layout files
2366
2367 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2368
2369         * buffer.C: increment format to 229.
2370
2371 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
2372
2373         * LaTeXFeatures.C:
2374         * lyx_sty.[Ch]: remove minipageindent_def
2375
2376         * LyXAction.C:
2377         * factory.C:
2378         * lfuns.h:
2379         * lyxfunc.C:
2380         * text3.C: remove LFUN_INSET_MINIPAGE
2381
2382 2003-12-28  Angus Leeming  <leeming@lyx.org>
2383
2384         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2385
2386 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
2387
2388         * text2.C (setParagraph): fix off-by-one crash
2389
2390 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
2391
2392         * output_docbook.C: header stuff for AGU
2393
2394 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
2395
2396         * text2.C (redoCursor): remove
2397         * text.C:
2398         * text3.C:
2399         * BufferView_pimpl.C: remove calls to redoCursor and
2400         setCursor(cursor.par(), cursor.pos()) all around
2401
2402 2003-12-15  Angus Leeming  <leeming@lyx.org>
2403
2404         * buffer.C: up the format to 228.
2405
2406 2003-12-15  André Pönitz  <poenitz@gmx.net>
2407
2408         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2409         slices
2410
2411         * Makefile.am:
2412
2413         * BufferView_pimpl.C:
2414         * cursor.[Ch]:
2415         * lyxcursor.[Ch]:
2416         * rowpainter.[Ch]:
2417         * lyxtext.h:
2418         * text.C:
2419         * text2.C:
2420         * text3.C: adjust
2421
2422 2003-12-15  Angus Leeming  <leeming@lyx.org>
2423
2424         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2425         than getFromGUIName to manipulate the color.
2426
2427 2003-12-14  Angus Leeming  <leeming@lyx.org>
2428
2429         * BranchList.[Ch]: minimize the API.
2430         (Branch::getBranch, getColor): now return a 'const &'.
2431         (Branch::setSelected) now returns a bool set to true if the
2432         selection status changes.
2433         (BranchList::clear, size, getColor, setColor, setSelected,
2434         allBranches, allSelected, separator): removed.
2435         (BranchList::find): new functions, returning the Branch with
2436         the given name.
2437         (BranchList::add, remove): return a bool indicating that
2438         the operation was successful.
2439
2440         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2441         new InsetBranch::isBranchSlected member function.
2442
2443         * LColor.[Ch]: mimimize the API.
2444         (fill): renamed as addColor and made private.
2445         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2446         versions of these functions taking a string arg have been removed.
2447
2448         * bufferparams.C (readToken):
2449         * lyxfunc.C (dispatch):
2450         * lyxrc.C (read): changes due to the altered BranchList and
2451         LColor APIs.
2452
2453         * factory.C (createInset, readInset): changes due to altered
2454         InsetBranch c-tor.
2455
2456 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2457
2458         * factory.C:
2459         * lyxfunc.C: remove insetminipage. "minipage-insert"
2460         now produces a frameless minipage box inset.
2461
2462 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2463
2464         * textcursor.[Ch] (selStart,selEnd): add new methods
2465         remove selection::start, end, use LyXCursor::operator<
2466         * lyxcursor.[Ch] (operator<): add
2467         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2468         * BufferView.[Ch] (unsetXSel): add
2469         * text2.C (clearSelection): use unsetXSel,adjust
2470         * text.C: adjust
2471         * text3.C: adjust
2472         * rowpainter.C: adjust
2473         * bufferview_funcs.C (put_selection_at): adjust
2474
2475 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2476
2477         * BufferView_pimpl.C: small coord. correction
2478
2479 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2480
2481         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2482         dragging over the splash screen.
2483
2484 2003-12-11  Angus Leeming  <leeming@lyx.org>
2485
2486         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2487         as it is now handled in LyXText::dispatch.
2488
2489         * text3.C (doInsertInset): remove a level of nesting.
2490
2491 2003-12-11  Angus Leeming  <leeming@lyx.org>
2492
2493         * factory.C (createInset): changes due to the changed interface to
2494         InsetCommandMailer::string2params.
2495
2496 2003-12-10  Angus Leeming  <leeming@lyx.org>
2497
2498         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2499         'dialog-show-new-inset <inset name>'
2500
2501 2003-12-10  Angus Leeming  <leeming@lyx.org>
2502
2503         * buffer.C: up the format to 227.
2504
2505         * factory.C: the box inset is now identified simply by 'Box'.
2506
2507 2003-12-10  Angus Leeming  <leeming@lyx.org>
2508
2509         * buffer.C: up the format to 226.
2510
2511         * factory.C: the note inset is now identified simply by 'Note'.
2512
2513 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
2514
2515         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2516         when a pit is enough. Standarize a couple of loops.
2517
2518 2003-12-05  Angus Leeming  <leeming@lyx.org>
2519
2520         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2521         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2522         data to the re-worked "log" dialog.
2523
2524 2003-12-03  André Pönitz  <poenitz@gmx.net>
2525
2526         * PosIterator.C:
2527         * iterators.C:
2528         * lyxtext.h:
2529         * output_latex.C:
2530         * paragraph_funcs.C:
2531         * text.C:
2532         * text2.C: use Inset::getText instead of Inset::getParagraph
2533
2534 2003-12-03  André Pönitz  <poenitz@gmx.net>
2535
2536         * buffer.[Ch]:
2537         * lyxtext.h:
2538         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2539         InsetText::read() as LyXText::read()
2540
2541 2003-12-02  Angus Leeming  <leeming@lyx.org>
2542
2543         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2544         type. Add a comment in the implementation that the function uses
2545         the stream's bad() function rather than fail() as the std::streams
2546         would do.
2547
2548 2003-12-02  André Pönitz  <poenitz@gmx.net>
2549
2550         * lyxlex.[Ch]: make interface more similar to std::stream
2551
2552         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2553
2554 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
2555
2556         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2557
2558 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
2559
2560         * vspace.[Ch]: remove VSpace::NONE
2561
2562 2003-12-01  André Pönitz  <poenitz@gmx.net>
2563
2564         * buffer.[Ch]:
2565         * lyxtext.h: move ParagraphList member to LyXText
2566         rename LyXText::ownerParagraphs to LyXText::paragraph
2567
2568         * CutAndPaste.C:
2569         * bufferview_funcs.C:
2570         * iterators.[Ch]:
2571         * lyx_cb.C:
2572         * paragraph.C:
2573         * rowpainter.C:
2574         * tabular.C:
2575         * text.C:
2576         * text2.C:
2577         * text3.C: adjust
2578
2579         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2580
2581         * undo.C: fix cursor positioning
2582
2583 2003-12-01  John Levon  <levon@movementarian.org>
2584
2585         * BufferView_pimpl.C: fix a crash on exit with
2586         a buffer open
2587
2588 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
2589
2590         * BranchList.C: fix setSelected() method.
2591
2592 2003-11-28  André Pönitz  <poenitz@gmx.net>
2593
2594         * ParagraphParameters.[Ch]:
2595         * ParameterStruct.h: remove space above/below from Paragraph to
2596          InsetVSpace
2597
2598         * BufferView_pimpl.C:
2599         * factory.C:
2600         * lyxfunc.C:
2601         * lyxtext.h:
2602         * output_latex.C:
2603         * paragraph.C:
2604         * paragraph_funcs.C:
2605         * rowpainter.[Ch]:
2606         * text.C:
2607         * text2.C:
2608         * text3.C: adjust
2609
2610 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
2611
2612         * factory.C: Syntax change for CharStyles
2613
2614 2003-11-28  André Pönitz  <poenitz@gmx.net>
2615
2616         * BufferView.[Ch]:
2617         * BufferView.[Ch]:
2618         * buffer.[Ch]:
2619         * buffer.[Ch]: move LyXText member
2620
2621 2003-11-28  André Pönitz  <poenitz@gmx.net>
2622
2623         * BufferView.[Ch]: make LyXText * text a private member
2624
2625         * BufferView_pimpl.C:
2626         * cursor.C:
2627         * iterators.C:
2628         * lyx_cb.C:
2629         * lyxfind.C:
2630         * lyxtext.h:
2631         * rowpainter.[Ch]:
2632         * text.C:
2633         * text2.C:
2634         * undo.C: adjust
2635
2636         * output_plaintext.C: cleanup
2637
2638 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2639
2640         * buffer.C:
2641         * lyxtextclass.[Ch]: parametrize SGML document header
2642
2643 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2644
2645         * converter.[Ch]:
2646         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2647         getFlavor().
2648
2649 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
2650
2651         * text2.C (setFont): rework using PosIterator (no more recursive)
2652         (setCharFont): no more needed
2653         (setLayout): no more selection cursors fiddling (done by redoCursor)
2654         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2655         destroy remaining ones)
2656
2657 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
2658
2659         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2660         * lyxtext.h: ditto
2661         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2662         selection cursors
2663         * lyxfunc.C: adjust
2664         * text3.C: adjust + re-allow multi par depth changes
2665         * textcursor.C: simplify a bit
2666
2667 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
2668
2669         * src/buffer.C:
2670         * src/lyxlayout.C:
2671         * src/lyxlayout.h:
2672         * src/lyxtext.h:
2673         * src/output_docbook.C:
2674         * src/output_latex.C:
2675         * src/paragraph.C:
2676         * src/paragraph.h:
2677         * src/sgml.C:
2678         * src/sgml.h:
2679         * src/text2.C: Introducing a number of tags parametrizing various
2680         XML formats that we may want to support
2681
2682 2003-11-25  André Pönitz  <poenitz@gmx.net>
2683
2684         * InsetList.[Ch] (begein, end): inline as suggested by profiler
2685
2686         * lyxtext.h (leftMargin/rightMargin): simplify interface
2687
2688         * rowpainter.C:
2689         * text.C:
2690         * text2.C:
2691         * text3.C: adjust
2692
2693 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2694
2695         * lyxfunc.C (dispatch): propogate the bibtex databases from the
2696         master file to any child files. Fixes bug 546.
2697
2698 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2699
2700         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2701
2702 2003-11-24  André Pönitz  <poenitz@gmx.net>
2703
2704         * rowpainter.C: simplification
2705
2706         * text2.C (updateCounters): remove call to redoParagraph on
2707         changed labels as this is far too expensive.
2708
2709 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2710
2711         * converter.C (convert): fix a crash: this function gets
2712         called with buffer == 0 from importer code.
2713
2714 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
2715
2716         * text3.C (cursorPrevious): make sure that we do not compare
2717         iterators form different containers.
2718         (cursorNext): ditto
2719
2720         * rowpainter.C (paintSelection): make sure that we do not compare
2721         iterators from different containers.
2722
2723         * text3.C (dispatch): [PRIOR] make sure that we do not compare
2724         iterators from different ParagraphList containers.
2725         [NEXT] ditto
2726
2727         * text2.C (LyXText): change order of initialization slightly
2728         (operator=): new function. copy all variables except cache_par_
2729         (moveUp): make sure that we do not compare iterators from
2730         different ParagraphList constainers.
2731         (moveDown): ditto
2732
2733         * text.C (firstPar): new function
2734         (lastPar): new function
2735         (endPar): new function
2736
2737         * lyxtext.h: move things around and group public functions, public
2738         variables, private functions, private variables
2739
2740 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
2741
2742         * factory.C: change call to InsetERT constructor to avoid
2743         additional invocation of method status
2744         * text2.C (toggleInset): remove redundant update() call
2745         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2746         instead of a Bufferview pointer
2747
2748 2003-11-21  André Pönitz  <poenitz@gmx.net>
2749
2750         * rowpainter.C: simplification
2751
2752 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2753
2754         * text3.C (dispatch): make possible to extend a word/row selection
2755         with the mouse
2756
2757 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2758
2759         * lyxtext.h: x0_,y0_ -> xo_,yo_
2760         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2761         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2762         * rowpainter.C (paintRows): paint full paragraphs
2763
2764 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2765
2766         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2767         screen coordinates)
2768
2769 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2770
2771         * lyxtext.h: add x0_, y0_
2772         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2773         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2774
2775 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
2776
2777         * text2.C (setCursorIntern): move the x_target update here *
2778         * text3.C: change some bv() to true/false in calls to
2779         cursorUp/Down/Right/Left
2780         * cursor.C: use helper function.
2781
2782 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2783
2784         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2785         * paragraph_funcs.[Ch]: correct comment
2786         * rowpainter.C: do not paint selections away from bv->cursor()
2787         Fix a long standing selection painting bug.
2788         * text3.C: generalize mouse-selection code to LyXTexts other that
2789         top one
2790         * textcursor.C: do not use y coords if we can use par offsets
2791
2792 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2793
2794         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2795         cursor position after e.g. inset insert)
2796
2797 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
2798
2799         * lyxfind.C (replace): adjust to locking removal + some
2800         code simplification
2801
2802 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
2803
2804         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2805         of the path
2806
2807 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
2808
2809         * lyxlayout.[Ch]:
2810         * output_docbook.C: XML sanitation: new layout
2811         parameters InnerTag and CommandDepth
2812
2813 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
2814
2815         * BufferView_pimpl.C:
2816         * factory.C:
2817         * text3.C: Fix the insertion and modification of button-style
2818         insets
2819
2820 2003-11-13  André Pönitz  <poenitz@gmx.net>
2821
2822         * InsetList.[Ch]: remove deleteLyXText
2823
2824         * paragraph.[Ch]: cache beginOfBody position
2825
2826         * Bidi.C:
2827         * text.C:
2828         * text2.C:
2829         * text3.C: remove superfluous update() calls
2830
2831         * vspace.C: cleanup
2832
2833 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
2834
2835         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2836         * BufferView.C (fitLockedInsetCursor): remove
2837         * cursor.[Ch] (getDim): add
2838         * text.C (getRowNearY): add faster version
2839         * text3.C: remove some update calls
2840
2841 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
2842
2843         * LaTeXFeatures.C:
2844         * LyXAction.C:
2845         * MenuBackend.C:
2846         * MenuBackend.h:
2847         * dispatchresult.h:
2848         * factory.C:
2849         * lfuns.h:
2850         * lyxfunc.C:
2851         * lyxtextclass.C:
2852         * lyxtextclass.h:
2853         * text3.C: The Character Style /XML short element patch.
2854
2855 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
2856
2857         * text3.C:
2858         * factory.C: Small step to solving 'unable to insert some insets'
2859         problem
2860
2861 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2862
2863         * cursor.[Ch] (updatePos): new function for updating the y
2864         position of the tip inset
2865         * bufferview_funcs.C (put_selection_at):
2866         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2867
2868 2003-11-11  André Pönitz  <poenitz@gmx.net>
2869
2870         * text.C: remove big comment on invalid Paragraph pointers as it is
2871         not valid anymore
2872
2873 2003-11-11  André Pönitz  <poenitz@gmx.net>
2874
2875         * text_funcs.[Ch]: merge with ...
2876
2877         * text.C: ... this
2878
2879         * lyxtext.h:
2880         * text2.C:
2881         * text3.C: adjust
2882
2883         * Makefile.am: remove text_funcs.[Ch]
2884
2885 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
2886
2887         * cursor.C (getPos): return absolute cached y coord
2888
2889         * BufferView_pimpl.C (fitCursor): new simplistic code
2890         (workAreaDispatch): add a fitCursor call
2891
2892 2003-11-10  André Pönitz  <poenitz@gmx.net>
2893
2894         * BufferView.[Ch]:
2895         * BufferView_pimpl.[Ch]: merge update() and updateInset()
2896
2897 2003-11-10  André Pönitz  <poenitz@gmx.net>
2898
2899         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2900         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2901         indicate that the cursor needs to leave an inset
2902
2903         * lyxtext.h: remove inset locking
2904
2905         * cursor.[Ch]: re-implement functionality provided by inset locking
2906
2907         * BufferView.[Ch]:
2908         * BufferView_pimpl.[Ch]:
2909         * LyXAction.C:
2910         * bufferview_funcs.[Ch]:
2911         * factory.C:
2912         * funcrequest.[Ch]:
2913         * iterators.C:
2914         * lyx_cb.C:
2915         * lyxfind.C:
2916         * lyxfunc.C:
2917         * text.C:
2918         * text2.C:
2919         * text3.C:
2920         * undo.C: adjust
2921
2922 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
2923
2924         * PosIterator.[Ch]: replace the stack with a vector, add inset
2925         accesor
2926         * iterators.[C]: adjust
2927
2928 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2929
2930         * lyxfind.C (replaceAll): mark the buffer dirty if something was
2931         replaced
2932         * paragraph_funcs.C (readParToken): put the correct id in the
2933         error item, not the id of the top paragraph
2934
2935 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2936
2937         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2938         * bufferview_funcs.C (put_selection_at): use the above
2939
2940 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2941
2942         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2943
2944 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2945
2946         * output_linuxdoc.h:
2947         * output_plaintext.h:
2948         * output.h:
2949         * output_docbook.h: add #include statements
2950
2951 2003-11-05  José Matos  <jamatos@lyx.org>
2952
2953         * output_docbook.[Ch]:
2954         * output_latex.[Ch]:
2955         * output_linuxdoc.[Ch]:
2956         * output_plaintext.[Ch]: New files for output formats.
2957         * output.[Ch]: New file for helper functions.
2958
2959         * buffer.[Ch]:
2960         * paragraph_funcs.[Ch]: output functions moved to new files.
2961
2962         * outputparams.h: rename of latexrunparams.h
2963
2964         * LaTeX.[Ch]:
2965         * buffer.[Ch]:
2966         * bufferlist.[Ch]:
2967         * converter.[Ch]:
2968         * exporter.C:
2969         * paragraph.[Ch]:
2970         * paragraph_funcs.[Ch]:
2971         * paragraph_pimpl.[Ch]:
2972         * tabular.[Ch]: rename ascii to plaintext
2973         and LatexRunParams to OutputParams.
2974
2975 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2976
2977         * iterators.[Ch] (text): require bv argument
2978         * undo.C (recordUndo):
2979         * lyxfunc.C (dispatch):
2980         * bufferview_funcs.C (put_selection_at): adjust
2981
2982 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
2983
2984         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2985
2986 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2987
2988         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2989         nestings
2990
2991 2003-11-04  André Pönitz  <poenitz@gmx.net>
2992
2993         * cursor.[Ch]: restructure
2994
2995         * BufferView.[Ch]:
2996         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2997
2998         * iterators.[Ch] (asCursor): remove
2999
3000         * lfuns.h: remove LFUN_INSET_EDIT
3001
3002         * lyxfunc.C:
3003         * tabular.C:
3004         * text.C:
3005         * text2.C:
3006         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3007
3008 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3009
3010         * lyxfind.[Ch]: complete overhaul
3011         * BufferView_pimpl.C:
3012         * lyxfunc.C: adjust
3013         * paragraph.[Ch] (insert): add
3014
3015 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3016
3017         * BufferView.[Ch]:
3018         * lyxtext.h:
3019         * text.C: remove dead spellcheck code
3020
3021 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3022
3023         * dispatchresult.h: add a val setter
3024
3025         * cursor.C (dispatch): use a tempvar for data_[i]
3026
3027 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3028
3029         * PosIterator.[Ch]: compile fix
3030
3031 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3032
3033         * text.C (cursorPar): deactivate the cursor cache
3034
3035 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3036
3037         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3038
3039 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3040
3041         * text3.C (dispatch): adjust for new DisptchResult semantics.
3042
3043         * lyxfunc.C (dispatch): handle update when return from
3044         Cursor::dispatch, adjust for new DispatchResult semantics.
3045
3046         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3047         DispatchResult(true) mean to not update. Add class functions for
3048         setting dispatched and update, as well as reading.
3049
3050         * cursor.C (dispatch): don't handle update here
3051
3052 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3053
3054         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3055         * trans_mgr.C: adjust
3056
3057         * paragraph_funcs.C (readParToken): exception safety
3058
3059         * lyxvc.h: store the vcs pointer in a scoped_ptr
3060         * lyxvc.C: adjust
3061
3062         * lyxsocket.C (serverCallback): exception safety
3063
3064         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3065
3066         * ispell.C (clone): make it return a auto_ptr
3067
3068         * factory.C (createInset): exception safety
3069         (readInset): exception safety
3070
3071         * bufferlist.C (newBuffer): exception safety
3072
3073         * Thesaurus.C (Thesaurus): use initialization for aik_
3074
3075         * MenuBackend.C (expandToc): exception safety.
3076
3077 2003-11-03  André Pönitz  <poenitz@gmx.net>
3078
3079         * buffer.C:
3080         * buffer.h:
3081         * bufferview_funcs.C: remove getInsetFromId()
3082
3083         * lyxcursor.[Ch]:
3084         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3085
3086         * lyxfunc.C:
3087         * text2.C:
3088         * text3.C: adjust
3089
3090 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3091
3092         * PosIterator.C (distance, advance): new
3093         * bufferview_funcs.[Ch] (put_selection_at): new
3094         * iterators.[Ch] (lockPath): new
3095
3096 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
3097
3098         * iterators.[Ch] (asPosIterator): added
3099         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3100         * PosIterator.[Ch]: added
3101
3102 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3103
3104         * text3.C:
3105         * lyxfunc.C:
3106         * cursor.C (dispatch):
3107         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3108
3109         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3110         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3111         contructor, add a class function dispatched. Remove operator>=
3112
3113 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3114
3115         * debug.C: only use the default constructor for debugstream
3116         (lyxerr) here.
3117
3118         * main.C (main): include debug.h and setup the lyxerr streambuf
3119         here.
3120
3121 2003-10-31  José Matos  <jamatos@lyx.org>
3122
3123         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3124
3125         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3126         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3127         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3128         * paragraph_pimpl.C (simpleTeXSpecialC):
3129         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3130         add LatexRunParams argument.
3131
3132         * exporter.C (Export): change call accordingly.
3133
3134         * latexrunparams.h: add new member to take care of the other backends.
3135 2003-10-30  José Matos  <jamatos@lyx.org>
3136
3137         * buffer.C (makeLinuxDocFile, makeDocBookFile):
3138         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3139         factorise code for paragraph output.
3140         * buffer.[Ch]:
3141         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3142         move functions.
3143
3144 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3145
3146         * text3.C (dispatch):
3147         * lyxfunc.C (dispatch):
3148         * cursor.C (dispatch):
3149         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3150
3151         * dispatchresult.h: make the dispatch_result_t ctor explicit
3152
3153 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
3154
3155         * sgml.[Ch]:
3156         * buffer.C: small refactoring of docbook stuff
3157
3158 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3159
3160         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3161         meaning.
3162
3163 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3164
3165         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3166         operator dispatch_result_t, and operators for == != and >=
3167
3168         * cursor.C (dispatch): adjust for operator dispatch_result_t
3169         removal. comment out call to update
3170
3171         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3172
3173 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3174
3175         * text3.C:
3176         * text2.C:
3177         * text.C:
3178         * lyxtext.h:
3179         * lyxfunc.C:
3180         * cursor.C:
3181         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3182         (dispatch):
3183
3184         * dispatchresult.h: new file, DispatchResult broken out of
3185         insets/insetbase.h
3186
3187         * Makefile.am (lyx_SOURCES): add dispatchresult.h
3188
3189 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3190
3191         * text.C (rowBreakPoint): put a hack inside #if 0
3192
3193 2003-10-28  André Pönitz  <poenitz@gmx.net>
3194
3195         * lyxtext.h:
3196         * metricsinfo.C:
3197         * paragraph_funcs.C:
3198         * rowpainter.C:
3199         * text.C:
3200         * text2.C: general cleanup (lots of small stuff)
3201
3202 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3203
3204         * text2.C (cursorEnd): simple fix to the "end key goes to one
3205         before the end on last row" bug
3206
3207 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3208
3209         * text.C (backspace): fix the "zombie characters"
3210
3211 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3212
3213         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3214
3215 2003-10-27  André Pönitz  <poenitz@gmx.net>
3216
3217         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3218
3219         * factory.C: handle new InsetPagebreak, InsetLine
3220
3221         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3222         and move handling into new InsetPagebreak, InsetLine
3223
3224         * BufferView_pimpl.C:
3225         * LyXAction.C:
3226         * ParagraphParameters.C:
3227         * ParameterStruct.h:
3228         * lyxfunc.C:
3229         * lyxtext.h:
3230         * paragraph.C:
3231         * paragraph.h:
3232         * paragraph_funcs.C:
3233         * paragraph_pimpl.C:
3234         * rowpainter.C:
3235         * text.C:
3236         * text2.C:
3237         * text3.C: adjust
3238
3239 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3240
3241         * text.C:
3242         * lyxrow_funcs.[Ch]:
3243         * Bidi.C:
3244         * paragraph.C:
3245         * lyxtext.h:
3246         * rowpainter.C:
3247         * text2.C:
3248         * text3.C: remove lastPos uses in favour of Row::endpos
3249
3250 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3251
3252         * undo.C (performUndoOrRedo): fix two crashes by setting a
3253         cursor by hand and reordering some calls. Use bv->lockInset instead
3254         of inset->edit because the latter loses cursor information
3255
3256 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
3257
3258         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3259         by Martin
3260         (rowBreakPoint): fix width. change point to point + 1.
3261         Add a missing check.
3262
3263 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
3264
3265         * MenuBackend.C:
3266         * lyxfunc.C: fix (at least partly) the problems
3267         with the Nav menu and headers inside branch insets
3268         reported by Kayvan
3269
3270 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
3271
3272         * paragraph.C (getChar): add strong asserts
3273
3274         * lyxrow_funcs.C (lastPos): remove hideous hack
3275
3276         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3277         (fill): adjust to that (avoid an infinite loop)
3278
3279 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3280
3281         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3282
3283 2003-10-23  André Pönitz  <poenitz@gmx.net>
3284
3285         * RowList_fwd.h: change list<> to vector<> to gain speed
3286         after suggestion from Alfredo
3287
3288 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3289
3290         * lyxtext.h: move the bidi stuff from here...
3291         * text.C: and here
3292         * text2.C: and here
3293         * Bidi.[Ch]: ... to here
3294
3295 2003-10-23  André Pönitz  <poenitz@gmx.net>
3296
3297         * lyxtext.h:
3298         * text.C (isLastRow, isFirstRow): new functions
3299
3300         * paragraph.h: new width cache member
3301
3302         * rowpainter.C: replace RowList::iterator with Row & where possible
3303
3304         * lyxfunc.C: replace several view()->text with a single call
3305
3306         * toc.C: fix 'unused' warning
3307
3308 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3309
3310         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3311         when woring with stream::pos_type
3312         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3313
3314 2003-10-22  André Pönitz  <poenitz@gmx.net>
3315
3316         * lyxtext.h:
3317         * text.C: use Row & instead of RowList::iterator
3318
3319         * lyxrow.h: rename end() to endpos()
3320
3321         * rowpainter.C:
3322         * text.C:
3323         * text2.C: adjust
3324
3325 2003-10-22  Angus Leeming  <leeming@lyx.org>
3326
3327         * buffer.[Ch] (fully_loaded): new member function, returning true
3328         only when the file has been loaded fully.
3329         Used to prevent the premature generation of previews and by the
3330         citation inset to prevent computation of the natbib-style label.
3331
3332         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3333         templates are all set up.
3334
3335         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3336
3337 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
3338
3339         * text.C: fixed an "oops" in the "is a bit silly"
3340         bug fix
3341
3342 2003-10-21  André Pönitz  <poenitz@gmx.net>
3343
3344         * FuncStatus.[Ch]: small stuff, whitespace
3345
3346         * lyxfont.[Ch]: operator<<() for debug reasons
3347
3348         * lyxfunc.C:
3349         * lyxrow_funcs.C:
3350         * lyxtext.h: whitespace, spelling
3351
3352         * paragraph.C: naming of variables
3353
3354         * text.C:
3355         * text2.C: small stuff
3356
3357
3358 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
3359
3360         * text.C: (1) finish off the inset display() work;
3361         (2) fix the "is a bit silly" bug (accessing char
3362         past end of par).
3363
3364 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
3365
3366         * text.C: re-introduce display() for insets, fixing the
3367         various bugs (stretch of line above, math inset
3368         positioning, ...)
3369
3370 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3371
3372         * text.C (rightMargin): remove spurious semicolon
3373
3374         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3375         1415)
3376
3377 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
3378
3379         * text3.C: fix one crash due to wrong cursor def
3380
3381 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3382
3383         * vc-backend.C (scanMaster): make the regex static
3384
3385         * LaTeX.C (scanAuxFile): make the regexs static
3386
3387         * text3.C (doInsertInset, dispatch, dispatch):
3388         * text2.C (cursorUp, cursorDown):
3389         * text.C (selectNextWordToSpellcheck):
3390         * BufferView_pimpl.C (dispatch):
3391         * lyxfunc.C (dispatch):  localDispatch -> dispatch
3392
3393 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3394
3395         * lyxsocket.C: include <cerrno>
3396
3397 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3398
3399         * lyxfunc.C (dispatch): remove textcache stuff
3400
3401         * bufferlist.C (release): remove textcache stuff
3402         (closeAll): ditto
3403
3404         * TextCache.C: delete file
3405         * TextCache.h: delete file
3406
3407         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3408
3409         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3410         delete of the bv_->text.
3411         (resizeCurrentBuffer): remove texcache stuff
3412         (workAreaResize): ditto
3413
3414 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3415
3416         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3417         action.
3418
3419 2003-10-16  André Pönitz  <poenitz@gmx.net>
3420
3421         * lyxrow.[Ch]:
3422         * paragraph.h:
3423         * rowpainter.C:
3424         * text.C:
3425         * text2.C:
3426         * text3.C: speed up by storing y positions per paragraph plus per-row
3427         offset instead of having a 'full' y position in the row.
3428
3429 2003-10-15  André Pönitz  <poenitz@gmx.net>
3430
3431         * iterators.[Ch]:
3432         * iterators.[Ch]:
3433         * undo.[Ch]: make undo aware of inner insets
3434
3435 2003-10-14  Angus Leeming  <leeming@lyx.org>
3436
3437         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3438         static member functions LyX::ref() and LyX::cref.
3439         (lastfiles): new accessor functions for the new lastfiles_ member var.
3440         (addLyXView, views_): add a new LyXView to the list of views_.
3441         (updateInset): loop over all LyXViews to call their own updateInset
3442         member function, returning a pointer to the Buffer owning the inset.
3443
3444         * BufferView_pimpl.C (loadLyXFile):
3445         * MenuBackend.C (expandLastfiles):
3446         * bufferlist.C (MenuWrite, QuitLyX):
3447         lastfiles is no longer a global variable.
3448         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3449
3450         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3451         static function. Access through LyX::cref().emergencyCleanup().
3452
3453 2003-10-14  André Pönitz  <poenitz@gmx.net>
3454
3455         * iterators.[Ch]: new direct access to innermost LyXText and Inset
3456
3457         * undo.[Ch]: restoring part of 'undo in insets'
3458
3459         * Makefile.am:
3460         * undo_funcs.[Ch]: merge with undo.[Ch]
3461
3462         * tabular.C: small cleansing stuff
3463
3464 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
3465
3466         * paragraph_funcs.C (readParToken): report unknown insets as error
3467         boxes. Use the outer paragraph as location (also for unknown
3468         tokens).
3469
3470         * factory.C (readInset): do not abort on reading an unknown inset.
3471         Eat it and return 0.
3472
3473 2003-10-13  Angus Leeming  <leeming@lyx.org>
3474
3475         * lyx_main.C (LyX): remove call to setDisplayTranslator().
3476
3477         * lyxrc.C: displayTranslator is now a function,
3478         declared in GraphicsTypes.h.
3479
3480 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3481
3482         * format.C: new placeholder $$a to pass the socket address.
3483
3484         * bufferlist.[Ch]: new function getBufferFromTmp.
3485
3486         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3487           files in the temporary dir.
3488
3489 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3490
3491         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3492
3493         * Makefile.am: add lyxsocket.[Ch].
3494
3495         * lyx_main.C (error_handler): handle SIGPIPE.
3496
3497 2003-10-13  André Pönitz  <poenitz@gmx.net>
3498
3499         * BufferView_pimpl.C:
3500         * lyxtext.h:
3501         * text.C:
3502         * text2.C:
3503         * text3.C:
3504         * undo_funcs.[Ch]: use paroffset_type instead of
3505           ParagraphList::iterators to prevent multiple conversion
3506           (and get a more robust interface)
3507
3508 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3509
3510         * lyxfunc.C (dispatch): RESULT -> dispatch_result
3511         * lyxtext.h: ditto
3512         * text3.C (dispatch): ditto
3513
3514 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3515
3516         * LaTeX.C (handleFoundFile): move the static to smaller scope,
3517         move the onlyfile, use onlyfile instead of foundfile in a couple
3518         of places.
3519
3520         * DepTable.C (update): flush the error stream a bit more
3521
3522 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3523
3524         * lyxserver.C (callback): adjust
3525
3526         * lyxfunc.C (getStatus): add a missing brace in commented code
3527         (ensureBufferClean): reindent
3528         (dispatch): delete version taking a string
3529
3530 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3531
3532         * LaTeX.C (deplog): move found file handlig from here...
3533         (handleFoundFile): .. to new function here.
3534         (deplog): make sure to discover several files mentioned on the
3535         same log line.
3536
3537 2003-10-10  André Pönitz  <poenitz@gmx.net>
3538
3539         * lyxfunc.C:
3540         * lyxtext.h:
3541         * tabular.C:
3542         * text.C:
3543         * text2.C:
3544         * text3.C: fix some of the tabular crashes
3545
3546 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3547
3548         * MenuBackend.C (binding): put debug message into Debug::KBMAP
3549
3550         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3551
3552 2003-10-09  André Pönitz  <poenitz@gmx.net>
3553
3554         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3555
3556         * BufferView.C:
3557         * BufferView_pimpl.C:
3558         * bufferview_funcs.C:
3559         * lyx_cb.C:
3560         * lyxcursor.C:
3561         * lyxfind.C:
3562         * lyxfunc.C:
3563         * lyxtext.h:
3564         * text.C:
3565         * text2.C:
3566         * text3.C:
3567         * text_funcs.[Ch]:
3568         * textcursor.[Ch]:
3569         * undo_funcs.C: adjust
3570
3571 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3572
3573         * text2.C (incrementItemDepth): new function, use a backtracking
3574         algorithm to discover the correct item depth.
3575         (resetEnumCounterIfNeeded): new function, use a backtracking
3576         algorithm to discover if counter reset is needed.
3577         (setCounter): use them. Simplify a bit. Add different labels for
3578         different item depths for itemize.
3579
3580         * paragraph.C (Paragraph): remove initialization of enumdepth
3581         (operator=): ditto
3582
3583         * paragraph.h: get rid of enumdepth, and use itemdepth both for
3584         enumerate and itemize. Change the type of itemdepth to signed char.
3585
3586 2003-10-08  André Pönitz  <poenitz@gmx.net>
3587
3588         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3589           thing assignable.
3590         * text.C:
3591         * text2.C: adjust
3592
3593         * tabular.[Ch]: fix crash after 'row-insert'
3594
3595 2003-10-08  Angus Leeming  <leeming@lyx.org>
3596
3597         Fix doxygen warnings.
3598
3599         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3600         Remove CutAndPaste:: prefix from header file declaration.
3601
3602         * LColor.h (fill): remove LColor:: prefix from declaration.
3603
3604         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3605         use lyx::depth_type rather than Paragraph::depth_type so that
3606         header file and .C file match.
3607
3608         * converter.h (intToFormat): remove Converters:: prefix from declaration.
3609
3610         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3611         * aspell.C: \file aspell_local.C -> \file aspell.C
3612         * gettext.C: \file gettext.C -> \file src/gettext.C
3613         * gettext.h: \file gettext.h -> \file src/gettext.h
3614         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3615         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3616         * text.C: \file text.C -> \file src/text.C
3617
3618         * toc.C: move comment so that doxygen is not confused.
3619
3620 2003-10-07  Angus Leeming  <leeming@lyx.org>
3621
3622         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3623
3624 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3625
3626         * aspell.C:
3627         * aspell_local.h: add forgotten std::string's.
3628
3629 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3630
3631         * LaTeXFeatures.C:
3632         * LyXAction.C:
3633         * factory.C:
3634         * lfuns.h:
3635         * lyxfunc.C:
3636         * text3.C: The Box patch. Fancybox support, minipage, parbox
3637
3638 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3639
3640         * CutAndPaste.h:
3641         * DepTable.h:
3642         * FloatList.h:
3643         * LaTeXFeatures.h:
3644         * ParagraphParameters.h:
3645         * TextCache.h:
3646         * Thesaurus.h:
3647         * bufferlist.h:
3648         * exporter.h:
3649         * importer.h:
3650         * lastfiles.h:
3651         * lyxfind.h:
3652         * lyxfont.h:
3653         * lyxlex.h:
3654         * lyxtextclasslist.h:
3655         * messages.h:
3656         * paragraph.h:
3657         * paragraph_pimpl.C:
3658         * textcursor.h: add <string> and other small fixes to make Lars'
3659         std::string patch compile with STLport.
3660
3661 2003-10-06  Angus Leeming  <leeming@lyx.org>
3662
3663         * LColor.h: Add missing #include <string>.
3664
3665 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3666
3667         * All most all file in all subdirs: Make <string> be the prefered
3668         way of getting to std::string, add using declarations.
3669
3670 2003-10-06  André Pönitz  <poenitz@gmx.net>
3671
3672         * metricsinfo.C: initialize LyXFont before changing attribute.
3673         (fixes the 'math in \emph is upright' bug)
3674
3675 2003-10-06  André Pönitz  <poenitz@gmx.net>
3676
3677         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3678
3679 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
3680
3681         * graph.C:
3682         * paragraph_pimpl.C: Small fixes to build using STLport
3683
3684 2003-10-02  André Pönitz  <poenitz@gmx.net>
3685
3686         * lyxfunc.C:
3687         * text3.C: move handling of LFUN_DEPTH *; fix #1360
3688
3689 2003-10-01  André Pönitz  <poenitz@gmx.net>
3690
3691         * factory.C: assert early
3692
3693 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3694
3695         * lyx_main.C: remove the global debug object
3696
3697         * debug.h: adjust for new debugstream
3698
3699         * debug.C: adjust for new debugstream and keep the global debug
3700         object here.
3701
3702 2003-09-22  Angus Leeming  <leeming@lyx.org>
3703
3704         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3705         of g++ which otherwise complain that the scoped_ptr destructor can't delete
3706         an incomplete class LyXFont.
3707
3708 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
3709
3710         * factory.C: bug fix in branches
3711
3712 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3713
3714         * lyxfunc.C (processKeySym): adjust
3715         (dispatch): adjust
3716         (dispatch): change arg name from ev to func, adjust
3717         (sendDispatchMessage): ditto
3718
3719         * lyx_main.C (defaultKeyBindings): adjust keybindings
3720         (deadKeyBindings): ditto
3721
3722         * kbsequence.C (addkey): return a FuncRequest
3723
3724         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3725
3726         * kbmap.C (bind): take a FuncRequest as arg, adjust
3727         (read): adjust
3728         (lookup): adjust
3729         (defkey): change to take a FuncRequest as arg, adjust
3730         (findbinding): take a FuncRequest as arg, adjust.
3731
3732         * funcrequest.h (operator=): added
3733
3734         * funcrequest.C (FuncRequest): default kb_action changed from
3735         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3736
3737         * buffer.C (dispatch): simplify
3738         (dispatch): adjust to take a FuncRequest as arg, adjust
3739
3740         * boost.C (assertion_failed): change assertion message slightly
3741
3742         * ToolbarBackend.C (read): simplify
3743
3744         * MenuBackend.C (binding): adjust call to findbinding, add a
3745         message if no binding is found.
3746         (read): simplify
3747         (expandToc): correct by adding a empty FuncRequest
3748
3749         * LyXAction.C: include <boost/assert.hpp>
3750         (isPseudoAction): delete function
3751         (LookupFunc): change name to...
3752         (lookupFunc): this. change return type to FuncRequest.
3753         (getActionName): take kb_action as arg, simplify
3754         (funcHasFlag): add an assert, simplify.
3755
3756 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3757
3758         * toc.C (action): return a FuncRequest, simplify
3759
3760         * lyxfunc.C (processKeySym): adjust
3761         (getStatus): delete version that takes an int.
3762         (getStatus): adjust
3763         (dispatch): delete version that takes action as int
3764         (dispatch): adjust
3765         (sendDispatchMessage): simplify and adjust
3766
3767         * funcrequest.C (getArg): take unsigned int as arg
3768
3769         * ToolbarBackend.C (read): adjust
3770         (add): delete version that takes func as a string.
3771         (getIton): take a FuncRequest as arg
3772
3773         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3774         action.
3775
3776         * MenuBackend.C (MenuItem): add a new construct that only takes a
3777         Kind, simplify the constructor use for submenus.
3778         (add): adjust
3779         (expandLastfiles): adjust
3780         (expandDocuments): adjust
3781         (expandFormats): adjust
3782         (expandFloatListInsert): adjust
3783         (expandFloatInsert): adjust
3784         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3785
3786         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3787         Remove class variables lyx_pseudo_map and lyx_arg_map
3788
3789         * LyXAction.C (searchActionArg): delete function
3790         (getPseudoAction): delete function
3791         (retrieveActionArg): delete function
3792         (LookupFunc): make it return kb_action, simplify.
3793         (getActionName): simplify
3794
3795         * factory.C (createInset): fix new bug
3796
3797 2003-09-19  Angus Leeming  <leeming@lyx.org>
3798
3799         * CutAndPaste.C (pasteSelection): remove fudge used to set the
3800         masterFilename_ parameter in the include inset.
3801
3802         * factory.C (createInset): changes due to the changes to InsetInclude.
3803
3804 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3805
3806         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3807
3808 2003-09-18  Angus Leeming  <leeming@lyx.org>
3809
3810         * buffer.C:
3811         * BufferView.C: pass the buffer when calling Inset::getLabelList,
3812         Inset::fillWithBibKeys.
3813         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3814
3815 2003-09-18  Angus Leeming  <leeming@lyx.org>
3816
3817         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3818         variables.
3819         (ctor): pass and store a 'Buffer const &'
3820         (buffer): new member function.
3821
3822         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3823         '*this' to the LaTeXFeatures ctor.
3824
3825 2003-09-18  Angus Leeming  <leeming@lyx.org>
3826
3827         * LColor.h:
3828         * lyxfont.C:
3829         * lyxfont.h:
3830         * lyxtext.h:
3831         * text.C: rename EnumLColor as LColor_color.
3832
3833 2003-09-18  Angus Leeming  <leeming@lyx.org>
3834
3835         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3836         remove #include "insets/insetbase.h" from cursor.h.
3837
3838 2003-09-18  Angus Leeming  <leeming@lyx.org>
3839
3840         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3841         InsetOld_code to remove #include "inset.h".
3842
3843         * iterators.C: add #include "insets/inset.h"
3844
3845 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
3846
3847         * BufferView.C: remove more locking stuff that apparently doesn't
3848         do anything sensible.
3849
3850 2003-09-16  André Pönitz  <poenitz@gmx.net>
3851
3852         * paragraph.[Ch]:
3853         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3854           performance boost.
3855
3856 2003-09-16  Angus Leeming  <leeming@lyx.org>
3857
3858         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3859
3860         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3861         arg/return type.
3862
3863         * paragraph.h: remove #include "lyxfont.h". Forward declare
3864         LyXFont_size.
3865
3866 2003-09-16  Angus Leeming  <leeming@lyx.org>
3867
3868         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3869         of support/textutils.h.
3870         (isWord): move the contents of support/textutils.h's IsWordChar here.
3871
3872         * buffer.C:
3873         * lyxfind.C:
3874         * rowpainter.C:
3875         * text.C:
3876         * text2.C: add #include "paragraph.h".
3877
3878         * rowpainter.C:
3879         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3880
3881 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3882
3883         * main.C:
3884         * lyx_main.C:
3885         * lyx_cb.C:
3886         * buffer.C:
3887         * LaTeX.C: use namespace alias for lyx::support::os
3888
3889 2003-09-16  Angus Leeming  <leeming@lyx.org>
3890
3891         * bufferparams.C:
3892         * bufferview_funcs.C:
3893         * factory.C:
3894         * lyxfunc.C:
3895         * paragraph_pimpl.C:
3896         * rowpainter.C:
3897         * text.C: add #include "LColor.h".
3898
3899 2003-09-16  Angus Leeming  <leeming@lyx.org>
3900
3901         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3902         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3903         return LyXFont &.
3904         Store the FontBits::color variable as an int rather than as an
3905         LColor::colorso that we can move LColor.h out of the lyxfont.h header
3906         file.
3907
3908         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3909         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3910         string calls together.
3911
3912         * lyxrc.C: add #include "LColor.h".
3913
3914 2003-09-15  Angus Leeming  <leeming@lyx.org>
3915
3916         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3917         a cow_ptr.
3918
3919 2003-09-15  Angus Leeming  <leeming@lyx.org>
3920
3921         * LColor.h: add an EnumLColor wrapper for LColor::color.
3922
3923         * lyxfont.[Ch] (color, setColor, realColor):
3924         * lyxtext.h, text.C (backgroundColor):
3925         pass EnumLColor args to/from the functions, rather than LColor::color
3926         ones.
3927
3928         * lyxfont.h:
3929         * lyxtext.h: forward declare EnumLColor.
3930
3931         * lyx_main.C: add #include "LColor.h".
3932
3933 2003-09-15  Angus Leeming  <leeming@lyx.org>
3934
3935         * .cvsignore: add lyx-gtk.
3936
3937 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3938
3939         * Chktex.C
3940         * LaTeX.C
3941         * LaTeXFeatures.C
3942         * ParagraphParameters.C
3943         * Spacing.C
3944         * buffer.C
3945         * bufferparams.C
3946         * bufferview_funcs.C
3947         * chset.C
3948         * counters.C
3949         * funcrequest.C
3950         * lyxfont.C
3951         * lyxgluelength.C
3952         * lyxlength.C
3953         * paragraph.C
3954         * paragraph_funcs.C
3955         * text3.C
3956         * vc-backend.C: remove usage of STRCONV
3957
3958 2003-09-15  Angus Leeming  <leeming@lyx.org>
3959
3960         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3961         explicitly define the color passed to the painter.
3962
3963 2003-09-15  Angus Leeming  <leeming@lyx.org>
3964
3965         * bufferparams.C (BufferParams): reorder member initializers to avoid
3966         compiler warning.
3967
3968 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
3969
3970         * CutAndPaste.C (pasteSelection): remove an outdated #warning
3971         * text.C (updateRowPositions): remove an unusual nop
3972
3973 2003-09-12  André Pönitz  <poenitz@gmx.net>
3974
3975         * BufferView_pimpl.C:
3976         * Bullet.C:
3977         * layout.h:
3978         * lyxfunc.C:
3979         * lyxlayout.[Ch]:
3980         * lyxtextclass.C:
3981         * rowpainter.C:
3982         * text.C:
3983         * text2.C:
3984         * Counters.[Ch]: finish the 'automatic counters' job
3985
3986 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3987
3988         * aspell.C: include <boost/assert.cpp> (compile fix)
3989
3990 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
3991
3992         * boost.C (assertion_failed): use lyx::support::abort instead of
3993         assert.
3994
3995 2003-09-10  Angus Leeming  <leeming@lyx.org>
3996
3997         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3998         with their _fwd progeny.
3999
4000 2003-09-09  Angus Leeming  <leeming@lyx.org>
4001
4002         134 files throughtout the source tree: replace 'using namespace abc;'
4003         directives with the appropriate 'using abc::xyz;' declarations.
4004
4005 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4006
4007         * boost.C (emergencyCleanup): moved here from LAssert.c
4008         (assertion_failed): new function, called by BOOST_ASSERT
4009
4010         * several files: change Assert to BOOST_ASSERT
4011
4012 2003-09-09  Angus Leeming  <leeming@lyx.org>
4013
4014         * buffer.[Ch]: Add an Impl class and move Buffer's member
4015         variables into it. As a result move several header files out of
4016         buffer.h.
4017
4018         Add header files to lots of .C files all over the tree as a result.
4019
4020 2003-09-09  Angus Leeming  <leeming@lyx.org>
4021
4022         * buffer.[Ch]: make Buffer's member variables private. Add
4023         accessor functions.
4024
4025         Lots of changes all over the tree as a result.
4026
4027 2003-09-08  Angus Leeming  <leeming@lyx.org>
4028
4029         * graph.C: #include <config.h>.
4030
4031 2003-09-08  Angus Leeming  <leeming@lyx.org>
4032
4033         * BranchList.C:
4034         * BufferView.C:
4035         * BufferView_pimpl.C:
4036         * CutAndPaste.C:
4037         * DepTable.C:
4038         * LaTeX.C:
4039         * LaTeXFeatures.C:
4040         * LyXAction.C:
4041         * MenuBackend.C:
4042         * TextCache.C:
4043         * aspell.C:
4044         * buffer.C:
4045         * bufferlist.C:
4046         * changes.C:
4047         * chset.C:
4048         * converter.C:
4049         * counters.C:
4050         * debug.C:
4051         * graph.C:
4052         * ispell.C:
4053         * lyx_cb.C:
4054         * lyxfind.C:
4055         * lyxfunc.C:
4056         * lyxlex_pimpl.C:
4057         * lyxrc.C:
4058         * lyxrow.C:
4059         * paragraph.C:
4060         * rowpainter.C:
4061         * texrow.C:
4062         * text.C:
4063         * text2.C:
4064         * toc.C: remove redundant using directives.
4065
4066 2003-09-07  Angus Leeming  <leeming@lyx.org>
4067
4068         * LaTeXFeatures.h: remove #include "support/types.h".
4069         * ToolbarBackend.h: remove #include <algorithm>.
4070         * changes.h: remove #include <ctime>.
4071         * debug.h: remove #include <iosfwd>.
4072         * graph.h: remove #include "support/std_string.h".
4073         * lyx_main.h: remove #include <csignal>.
4074         * lyxlex_pimpl.h: remove #include <fstream>.
4075         * sgml.h: remove #include <algorithm>, <utility>.
4076         * toc.h: remove #include "support/std_ostream.h".
4077         Add #include <iosfwd>.
4078
4079 2003-09-07  Angus Leeming  <leeming@lyx.org>
4080
4081         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4082
4083         * converter.h: forward declare LatexRunParams.
4084         * encoding.h: remove #include "lyxrc.h".
4085         * lyxtext.h: remove #include "LColor.h".
4086         * lyxtextclass.h: remove #include "support/types.h".
4087         * trans.h: remove #include "tex-accent.h".
4088         * trans_mgr.h: remove #include "tex-accent.h".
4089         * insets/inset.h: remove #include "support/types.h", <vector>.
4090         * insets/insetcollapsable.h: remove #include "LColor.h".
4091         * insets/insetinclude.h: remove #include "dimension.h".
4092         * insets/insetlatexaccent.h: remove #include "dimension.h".
4093         * insets/insetoptarg.h:: remove #include "insettext.h".
4094         * insets/insettext.h: remove #include "dimension.h",
4095         <boost/shared_ptr.hpp>
4096
4097         * insets/renderers.h: add #include "dimension.h".
4098         * insets/updatableinset.h: add #include "support/types.h".
4099
4100         * many .C files: Associated changes.
4101
4102 2003-09-06  Angus Leeming  <leeming@lyx.org>
4103
4104         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4105         one, inside testInvariant.
4106
4107         * PrinterParams.C: new file.
4108         * PrinterParams.[Ch]: move the function bodies out of line.
4109
4110 2003-09-06  Angus Leeming  <leeming@lyx.org>
4111
4112         * ParagraphParameters.h: forward declare ParameterStruct rather than
4113         including its header file.
4114         (depth): moved out-of-line.
4115
4116 2003-09-06  Angus Leeming  <leeming@lyx.org>
4117
4118         * BufferView_pimpl.h:
4119         * kbmap.h:
4120         * kbsequence.h:
4121         * lyxfunc.h: forward declare LyXKeySym rather than
4122         #include "frontends/LyXKeySym.h".
4123
4124         * BufferView_pimpl.C:
4125         * kbmap.C:
4126         * kbsequence.C:
4127         * lyxfunc.C: associated changes.
4128
4129 2003-09-06  Angus Leeming  <leeming@lyx.org>
4130
4131         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4132         As a result, can remove the #include "insets/inset.h" from BufferView.h
4133
4134 2003-09-06  Angus Leeming  <leeming@lyx.org>
4135
4136         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4137         As a result, can remove the #include "insets/inset.h" from BufferView.h
4138
4139 2003-09-06  Angus Leeming  <leeming@lyx.org>
4140
4141         * buffer_funcs.C:
4142         * buffer.h:
4143         * bufferlist.C:
4144         * BufferView.C:
4145         * bufferview_funcs.C:
4146         * BufferView_pimpl.C:
4147         * CutAndPaste.C:
4148         * lyx_cb.C:
4149         * lyxfunc.C:
4150         * paragraph.h:
4151         * ParagraphParameters.C:
4152         * tabular.C:
4153         * text3.C:
4154         * toc.C:
4155         * undo_funcs.C:
4156         * frontends/controllers/ControlDocument.C:
4157         * insets/insetcaption.C: rearrange the #includes into some sort of
4158         coherent order.
4159
4160         * buffer.h: remove #includes ErrorList.h, undo.h
4161
4162 2003-09-06  Angus Leeming  <leeming@lyx.org>
4163
4164         * support/types.h: add a 'depth_type' typedef, used to store the
4165         nesting depth of a paragraph.
4166
4167         * paragraph.h:
4168         * ParameterStruct.h: use this lyx::depth_type typedef rather than
4169         defining explicitly.
4170
4171         * buffer.h:
4172         * paragraph_funcs.h:
4173         * ParagraphParameters.h:
4174         * sgml.h: use lyx::depth_type rather than Paragraph or
4175         ParameterStruct's depth_type.
4176
4177         * buffer.h
4178         * paragraph_funcs.h: no need to #include paragraph.h anymore.
4179
4180         * BufferView.C:
4181         * BufferView_pimpl.C:
4182         * CutAndPaste.C:
4183         * ParagraphParameters.C:
4184         * buffer_funcs.C:
4185         * bufferlist.C:
4186         * bufferview_funcs.C:
4187         * lyx_cb.C:
4188         * lyxfunc.C:
4189         * tabular.C:
4190         * text3.C:
4191         * toc.C:
4192         * undo_funcs.C:
4193         * frontends/LyXView.C:
4194         * frontends/controllers/ControlDocument.C:
4195         * frontends/controllers/ControlErrorList.C:
4196         * insets/insetbibitem.C:
4197         * insets/insetbranch.C:
4198         * insets/insetcaption.C:
4199         * insets/insetcollapsable.C:
4200         * insets/insetenv.C:
4201         * insets/insetert.C:
4202         * insets/insetfloat.C:
4203         * insets/insetfoot.C:
4204         * insets/insetfootlike.C:
4205         * insets/insetnewline.C:
4206         * insets/insetquotes.C:
4207         * insets/insettabular.C:
4208         * insets/insettext.C:
4209         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4210
4211         * frontends/controllers/ControlChanges.C: #include "changes.h".
4212
4213 2003-09-06  Angus Leeming  <leeming@lyx.org>
4214
4215         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4216         than #including paragraph.h.
4217
4218         * ParagraphList.h:
4219         * RowList.h: deleted. Superfluous.
4220
4221         * CutAndPaste.h:
4222         * iterators.h:
4223         * lyxcursor.h:
4224         * lyxtext.h:
4225         * text_funcs.h:
4226         * undo.h:
4227         * undo_funcs.h:
4228         * insets/inset.h:
4229         * insets/insettext.h: use ParagraphList_fwd.h rather than
4230         ParagraphList.h.
4231
4232         * paragraph.h: don't forward declare ParagraphList.
4233
4234         * buffer.h:
4235         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4236         rather than ParagraphList.h. paragraph.h is still needed for the
4237         Paragraph::depth_type parameters.
4238
4239         * textcursor.h: enable it to compile stand-alone in light of the
4240         above changes.
4241
4242         * bufferview_funcs.C:
4243         * iterators.C:
4244         * lyxfunc.C:
4245         * lyxrow_funcs.C:
4246         * paragraph.C:
4247         * rowpainter.C:
4248         * text.C:
4249         * text2.C:
4250         * text3.C:
4251         * text_funcs.C:
4252         * textcursor.C:
4253         * undo.C:
4254         * frontends/controllers/ControlParagraph.C:
4255         * frontends/controllers/ControlTabular.C:
4256         * insets/insetmarginal.C:
4257         * insets/insetminipage.C:
4258         * insets/insetnote.C:
4259         * insets/insetoptarg.C: add header files needed to compile again.
4260
4261 2003-09-06  Angus Leeming  <leeming@lyx.org>
4262
4263         * RowList_fwd.h: new file, forward-declaring Row rather than
4264         #including lyxrow.h.
4265
4266         * lyxrow_funcs.h:
4267         * lyxtext.h:
4268         * paragraph.h:
4269         * insets/insettext.h: use it instead of RowList.h
4270
4271         * bufferview_funcs.C:
4272         * lyxfunc.C:
4273         * lyxrow_funcs.C:
4274         * paragraph.C:
4275         * rowpainter.C:
4276         * text.C:
4277         * text2.C:
4278         * text3.C: #include "RowList.h".
4279
4280 2003-09-05  Angus Leeming  <leeming@lyx.org>
4281
4282         * factory.C (createInset):
4283         * vspace.C (c-tor): replace sscanf call with an istringstream.
4284         * ispell.C: re-add missing HP/UX headers.
4285         * lyxserver.C: re-add missing  os2 headers.
4286
4287 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
4288
4289         * BranchList.C:
4290         * graph.C:
4291         * ispell.C:
4292         * lastfiles.C:
4293         * lyx_cb.C:
4294         * lyxserver.C:
4295         * texrow.C:
4296         * text3.C: re-add missing system headers, needed for 2.95.2.
4297
4298 2003-09-05  Angus Leeming  <leeming@lyx.org>
4299
4300         Changes most place everywhere due to the removal of using directives
4301         from support/std_sstream.h.
4302
4303 2003-09-05  Angus Leeming  <leeming@lyx.org>
4304
4305         Replace LString.h with support/std_string.h,
4306         Lsstream.h with support/std_sstream.h,
4307         support/LIstream.h with support/std_istream.h,
4308         support/LOstream.h with support/std_ostream.h.
4309
4310         Changes resulting throughout the tree.
4311
4312 2003-09-05  Angus Leeming  <leeming@lyx.org>
4313
4314         * sgml.h: ensure that the header file can be compiled stand-alone.
4315         * *.C: strip out redundant #includes. (320 in total.)
4316
4317 2003-09-04  Angus Leeming  <leeming@lyx.org>
4318
4319         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4320         here (from getPackages).
4321
4322         * debug.[Ch]: add a new EXTERNAL tag.
4323
4324 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4325
4326         * text2.C (cursorEnd): simplify
4327         (setCursor): adjust
4328         (getColumnNearX): adjust
4329
4330         * text.C (computeBidiTables): adjust
4331         (fill): adjust
4332
4333         * rowpainter.C (paintChars): adjust
4334         (paintSelection): adjust
4335         (paintChangeBar): adjust
4336         (paintText): adjust
4337
4338         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4339         lastPos instead.
4340         (numberOfSeparators): adjust
4341
4342 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4343
4344         * LyXAction.C:
4345         * box.[Ch]:
4346         * lfuns.h:
4347         * lyxfunc.C:
4348         * text3.C: Restricts the mouse click functionality
4349         of insets like bibtex, include, toc and floatlist to the visible
4350         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4351         up the dialogs. Cursor has to be in front of the inset (i.e.
4352         start of row) for this to function.
4353
4354 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4355
4356         * bufferview_funcs.C (currentState): output row information
4357
4358 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4359
4360         * bufferview_funcs.C (currentState): output paragraph position
4361
4362 2003-09-04  Angus Leeming  <leeming@lyx.org>
4363
4364         * FloatList.h: move out #include "Floating.h".
4365         * LaTeX.h: move out #include "DepTable.h".
4366         * LyXAction.h: move out #include "funcrequest.h".
4367         * buffer.h: move out #include "author.h", "iterators.h".
4368         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4369         * lyx_main.h: move out #include "errorlist.h".
4370         * lyxfunc.h: move out #include "FuncStatus.h".
4371         * lyxtext: move out #include "lyxcursor.h".
4372         * paragraph_pimpl.h: move out #include "counters.h".
4373
4374 2003-09-03  Angus Leeming  <leeming@lyx.org>
4375
4376         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4377         preamble_snippets list, enabling us to add snippets to the preamble
4378         only if the snippet was not there already.
4379
4380 2003-09-04  Angus Leeming  <leeming@lyx.org>
4381
4382         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4383
4384 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4385
4386         * lyxfunc.C (dispatch): if fitCursor did something be sure to
4387         update
4388
4389 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4390
4391         * BranchList.C: point fix, earlier forgotten
4392
4393 2003-09-02  Angus Leeming  <leeming@lyx.org>
4394
4395         * box.C (contains): renamed from 'contained' after a fantastic
4396         amount of hot air.
4397
4398 2003-09-02  John Levon  <levon@movementarian.org>
4399
4400         * BufferView.C:
4401         * lyxcursor.h:
4402         * lyxcursor.C:
4403         * lyxfunc.C:
4404         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4405
4406 2003-09-02  John Levon  <levon@movementarian.org>
4407
4408         * text2.C: simplification of cursorEnd(), including partial
4409         fix for bug 1376
4410
4411 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4412
4413         * buffer.C (readFile): add a space
4414
4415 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
4416
4417         * BufferView_pimpl.C (update): remove bogus fitCursor() call
4418
4419 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4420
4421         * buffer.C (readFile): new function, take a filename and a
4422         ParagraphList::iterator
4423         (readFile): adjust
4424         (readFile): adjust, make it private. don't use setStream, make
4425         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4426         always contain the filename.
4427
4428         * BufferView.C (insertLyXFile): simplify and make it work for
4429         gzipped files.
4430
4431 2003-08-30  John Levon  <levon@movementarian.org>
4432
4433         * Makefile.am: fix dist (from Kayvan)
4434
4435 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4436
4437         * most files: change to use const Buffer refs
4438
4439 2003-08-27  André Pönitz  <poenitz@gmx.net>
4440
4441         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4442         on top of ownerPar().
4443
4444 2003-08-27  John Levon  <levon@movementarian.org>
4445
4446         * funcrequest.C: properly initialise POD members
4447
4448 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4449
4450         * lyxtext.h (top_y): move top_y from here
4451         * text.C:
4452         * text2.C:
4453         * text3.C:
4454         * BufferView.[Ch]:
4455         * BufferView_pimpl.[Ch]: to here
4456         * frontends/screen.C:
4457         * insets/insettabular.C:
4458         * insets/insettext.C: adjust
4459         * rowpainter.[Ch] (paintRows): remove LyXText & argument
4460
4461 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4462
4463         * BufferView.[Ch]:
4464         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4465
4466 2003-08-26  André Pönitz  <poenitz@gmx.net>
4467
4468         * paragraph_func.[Ch] (outerPar): new function
4469
4470         * paragraph.C:
4471         * paragraph_funcs.C:
4472         * paragraph_funcs.h:
4473         * paragraph_pimpl.C:
4474         * text2.C: remove Inset::par_owner
4475
4476 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
4477
4478         * lyxrow_funcs.C:
4479         * lyxtext.h:
4480         * text.C:
4481         * text2.C: eliminates the needFullRow/display() stuff
4482         altogether, putting the logic in metrics/draw in the insets.
4483
4484 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
4485
4486         * text2.C (redoParagraphInternal, redoParagraphs):
4487         * text.C (redoParagraph): add a call to updateRowPositions at the
4488         end of each 'metrics-like' call. Remove all others.
4489         (getRow): remove the 'y-computing' version.
4490         (getRowNearY): do not compute nor return the real y. Solve the
4491         'y < 0' problem and simplify.
4492
4493 2003-08-22  Angus Leeming  <leeming@lyx.org>
4494
4495         * *.[Ch]: clean-up of licence and author blurbs.
4496         Also move config.h out of a few .h files and into a few .C files.
4497
4498 2003-08-22  André Pönitz  <poenitz@gmx.net>
4499
4500         * lyxrow.[Ch]: add x_ and *fill_ members
4501
4502         * lyxtext.h:
4503         * text.C:
4504         * rowpainter.C:
4505         * text2.C: adjust/remove prepareToPrint() calls
4506
4507 2003-08-22  André Pönitz  <poenitz@gmx.net>
4508
4509         * lyxrow.[Ch]: add  end_ member
4510
4511         * lyxrow_funcs.C: use LyXRow::end_
4512
4513         * lyxtext.h (singleWidth): add LyXFont parameter
4514
4515         * rowpainter.C:
4516         * text2.C: adjust LyXText::singleWidth() calls
4517
4518         * text.C (redoParagraph): simplify row breaking logic
4519
4520
4521 2003-08-19  André Pönitz  <poenitz@gmx.net>
4522
4523         * funcrequest.C: initialize button_ member
4524
4525         * text3.C:
4526         * rowpainter.[Ch]: interface consolidation
4527
4528 2003-08-18  André Pönitz  <poenitz@gmx.net>
4529
4530         * BufferView.C:
4531         * BufferView_pimpl.C:
4532         * lyxfind.C:
4533         * paragraph_funcs.C:
4534         * rowpainter.C:
4535         * text3.C: remove LyXScreen::draw() and fitCursor calls
4536
4537         * BranchList.h: remove spurious semicolons
4538
4539         * MenuBackend.C: fix branchlist related crash
4540
4541 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
4542
4543         * BranchList.[Ch]:
4544         * InsetList.[Ch]:
4545         * LColor.[Ch]:
4546         * LyXAction.C:
4547         * Makefile.am:
4548         * MenuBackend.[Ch]:
4549         * bufferparams.[Ch]:
4550         * factory.C:
4551         * lfuns.h:
4552         * lyxfunc.C:
4553         * text3.C: implements the 'branch inset'
4554         idea. This allows the output of various versions of a document
4555         from a single source version, selectively outputing or suppressing
4556         output of parts of the text.
4557         This implementation contains a 'branch list editor' in a separate
4558         tab of the document settings dialog. Branches are user definable
4559         and have a "display colour" to distinguish them on-screen.
4560
4561         ColorHandler was somewhat cleaned up.
4562         (1) make possible a dynamically growing LColor list by allowing
4563         the graphic context cache to grow along (vector);
4564         (2) eliminate an IMHO unnecessary step in colour allocation.
4565
4566 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
4567
4568         * BufferView_pimpl.C: compile fix
4569
4570 2003-08-15  André Pönitz  <poenitz@gmx.net>
4571
4572         * rowpainter.C: remove extra metrics calls
4573
4574         * lyxtext.h: merge the two constructors into a single one,
4575           pass reference to owner's par list
4576
4577         * BufferView_pimpl.C:
4578         * text.C:
4579         * text2.C: adjust
4580
4581 2003-08-15  André Pönitz  <poenitz@gmx.net>
4582
4583         * lyxrow_funcs.[Ch]:
4584         * lyxtext.h:
4585         * paragraph.h:
4586         * paragraph_funcs.C:
4587         * rowpainter.C:
4588         * text.C:
4589         * text2.C:
4590         * text3.C:
4591         * text_funcs.C: split LyXText::rowlist_ into individual
4592         Paragraph::rows_ chunks
4593
4594         * BufferView.[Ch]:
4595         * BufferView_pimpl.[Ch]:
4596         * lyxfind.C:
4597         * lyxtext.h:
4598         * text3.C: remove toggleSelection()
4599
4600 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
4601
4602         * bufferlist.C: beautify two alerts (shorter text of buttons)
4603         * buffer.C: Remove redundant ' ' from message
4604         * tabular.h:
4605         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4606         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4607         rename VALIGN_CENTER to VALIGN_MIDDLE
4608
4609 2003-08-11  André Pönitz  <poenitz@gmx.net>
4610
4611         * lyxtext.h (getPar):
4612         * text.C: new function
4613
4614 2003-08-11  André Pönitz  <poenitz@gmx.net>
4615
4616         * Makefile.am:
4617         * tracer.[Ch]: remove unneeded files
4618
4619         * InsetList.[Ch]: remove resizeInsetsLyXText()
4620
4621         * lyxtext.h:
4622         * text.C:
4623         * text2.C:
4624         * text3.C: merge insertParagraphs() and appendParagraph()
4625         remove breakAgain(), update()
4626
4627         * BufferView_pimpl.[Ch]:
4628         * bufferview_funcs.[Ch]:
4629         * lyxfunc.C:
4630         * paragraph.[Ch]:
4631         * rowpainter.C:
4632         * tabular.C: adjust after text & InsetList changes.
4633
4634 2003-08-08  André Pönitz  <poenitz@gmx.net>
4635
4636         * text.C (insertChar, backspace): replace rowlist fiddling
4637         with rebreak of full par
4638
4639         * lyxtext.h:
4640         * text.C (breakAgainOneRow, redoHeightOfParagraph,
4641         checkParagraph, updateInset): removed
4642
4643 2003-08-07  André Pönitz  <poenitz@gmx.net>
4644
4645         * paragraph.C:
4646         * text3.C: merge some LFUN handlers, remove dead code
4647
4648 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4649
4650         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4651
4652 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
4653
4654         * text2.C (DEPM): fix part of bug 1255 and 1256
4655
4656 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4657
4658         * BufferView_pimpl.C (workAreaDispatch): change to use
4659         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4660         that are no mouse related.
4661
4662 2003-08-05  André Pönitz  <poenitz@gmx.net>
4663
4664         * BufferView.[Ch]:
4665         * BufferView_pimpl.[Ch]:
4666         * bufferview_funcs.C:
4667         * text2.C:
4668         * text3.C: rip out "deep update"
4669
4670         * textcursor.[Ch] (last_sel_cursor): remove unused member
4671
4672 2003-08-04  André Pönitz  <poenitz@gmx.net>
4673
4674         * BufferView.[Ch]:
4675         * BufferView_pimpl.[Ch]:
4676         * ParagraphParameters.C:
4677         * bufferview_funcs.C:
4678         * lyx_cb.C:
4679         * lyxfind.C:
4680         * lyxfunc.C:
4681         * text.C:
4682         * text2.C:
4683         * text3.C: replace "complicated" BufferView::update(...) calls with
4684         simpler ones.
4685
4686         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4687
4688 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
4689
4690         * Makefile.am (lyx_SOURCES): add paper.h
4691
4692 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4693
4694         * Makefile.am: move things around so that both lyx-qt and
4695         lyx-xforms can be built (according to --with-frontend). Then lyx
4696         is a symbolic link to lyx-[firstfrontend]
4697
4698 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
4699
4700         * Always use std::endl with lyxerr
4701
4702 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
4703
4704         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4705
4706 2003-08-01  André Pönitz  <poenitz@gmx.net>
4707
4708         * BufferView.[Ch]:
4709         * BufferView_pimpl.[Ch]:
4710         * lyxfunc.C:
4711         * text3.C: merge BufferView::repaint() and BufferView::update()
4712
4713 2003-08-01  José Matos  <jamatos@lyx.org>
4714
4715         * buffer.[Ch]: file_format is no longer a buffer data element.
4716
4717 2003-08-01  André Pönitz  <poenitz@gmx.net>
4718
4719         * BufferView.C:
4720         * lyxtext.h:
4721         * text.C:
4722         * text2.C: make redoParagraph more independent of current cursor
4723
4724         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4725         * text.C:
4726         * text2.C: remove unneeded members
4727
4728 2003-07-30  André Pönitz  <poenitz@gmx.net>
4729
4730         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4731
4732         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4733           create a single function...
4734
4735         * paragraph_funcs.C (moveItem): ... here.
4736
4737         * text.C:
4738           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4739
4740 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
4741
4742         * LColor.[Ch]: Add comment and greyedout logical colors.
4743
4744 2003-07-30  André Pönitz  <poenitz@gmx.net>
4745
4746         * tabular.C: don't use Assert too heavily. This crashes where it
4747           shouldn't
4748
4749 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
4750
4751         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4752         is disabled (bug 1232)
4753
4754 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4755
4756         * factory.C: limited 'arg' scope
4757
4758 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4759
4760         * factory.C: fixed Note submenu issues
4761
4762 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4763
4764         * factory.C: submenu for Note/Comment/Greyedout
4765
4766 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
4767
4768         * lyx_main.C (LyX):
4769         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4770
4771 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
4772
4773         * LaTeXFeatures.C:
4774         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4775         greyedout. Patch provided by Jürgen Spitzmüller.
4776
4777 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4778
4779         * kbmap.C (read): fix error message when reading bind files
4780
4781 2003-07-29  Angus Leeming  <leeming@lyx.org>
4782
4783         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4784         certainly does not do what it purports to do. I am doing it, and
4785         us, a favour by killing it.
4786
4787 2003-07-28  José Matos  <jamatos@lyx.org>
4788
4789         * buffer.C (readBody, do_writeFile):
4790         * paragraph.C(readParagraph): \end_document replaces \the_end.
4791
4792 2003-07-29  André Pönitz  <poenitz@gmx.net>
4793
4794         * BufferView.[Ch]:
4795         * BufferView_pimpl.[Ch]:
4796         * lyxfunc.C:
4797         * text2.C:
4798         * text3.C:
4799         * textcursor.[Ch]: remove toggleToggle & Co
4800
4801 2003-07-28  José Matos  <jamatos@fep.up.pt>
4802
4803         * buffer.C (readParagraph):
4804         * params_func (readParToken, readParagraph):
4805         * paragraph.C (write): \layout -> \begin_layout.
4806
4807 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4808
4809         * lyxlex_pimpl.C (setFile): clean up slightly.
4810
4811         * bufferparams.h: add compressed var
4812
4813         * buffer_funcs.C (readFile): adjust for LyXLex change
4814         (newFile): ditto + simplify
4815
4816         * buffer.C (writeFile): handle writing of compressed files
4817
4818         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4819         Check if the file is compressed and set a bufferparm if so.
4820
4821         * Makefile.am (lyx_LDADD): remove explicit -lz
4822
4823 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4824
4825         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4826         makeDocBookFile): put the real LyX version in the first line of
4827         the file
4828
4829         * version.h:
4830         * version.C.in: remove lyx_docversion
4831
4832         * tabular.C (write_attribute): add a template-based version to
4833         write enums properly
4834
4835 2003-07-28  André Pönitz  <poenitz@gmx.net>
4836
4837         * lyxtext.h:
4838         * text.C:
4839         * text2.C:
4840         * text3.C: use doubles again for x-coordinates. They are needed.
4841
4842 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4843
4844         * messages.C (getLocaleDir): use lyx_localedir()
4845
4846         * lyxlex_pimpl.C (setFile): compress stuff
4847
4848         * buffer.C (writeFile): add some compression stuff
4849         (do_writeFile): new func, dont call expliti close... will this
4850         breake anything?
4851
4852         * Makefile.am (lyx_LDADD): add -lz
4853
4854 2003-07-28  José Matos  <jamatos@fep.up.pt>
4855
4856         * buffer.C: increment file format.
4857         * paragraph_funcs (readParagraph, readParToken):
4858         * paragraph.C (readParagraph): add \end_layout.
4859
4860 2003-07-27  Angus Leeming  <leeming@lyx.org>
4861
4862         * Makefile.am: remove special casing for configure-time setting of
4863         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4864
4865         * lyx_main.C (init): remove all Jean-Marc's magic setting of
4866         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4867
4868 2003-07-26  André Pönitz  <poenitz@gmx.net>
4869
4870         * paragraph_func.[Ch]:
4871         * paragraph.C (realizeFont): inline it whereever it is used
4872
4873         * rowpainter.C:
4874         * text.C:
4875         * text2.C:
4876         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4877
4878
4879 2003-07-26  André Pönitz  <poenitz@gmx.net>
4880
4881         *       lyxtext.h:
4882         * text.C:
4883         * text2.C: get rid of LyXText::need_break_row
4884
4885 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4886
4887         * toc.[Ch]: put namespace toc inside namespace lyx
4888
4889         * MenuBackend.C (expandToc2): adjust for lyx::toc
4890         (expandToc): ditto
4891
4892         * lyxfunc.C (dispatch): adjust for lyx::find
4893
4894         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4895         lyx::find instead. Reorganize a bit.
4896         (LyXReplace): rename to replace
4897         (LyXFind): rename to find
4898
4899         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4900         (dispatch): ditto
4901
4902 2003-07-26  André Pönitz  <poenitz@gmx.net>
4903
4904         * text.C (setHeightOfRow): restrict scope of temporary variable
4905
4906         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
4907           code (never has been used?)
4908
4909 2003-07-27  Asger Alstrup  <alstrup@local>
4910
4911         * text.C (fill): Optimise algorithm to exploit that we can reuse
4912         the LyXFont for many characters.
4913         (setHeightOfRow): Same thing.
4914         (rowBreakPoint): Same thing.
4915
4916 2003-07-26  Asger Alstrup  <alstrup@local>
4917
4918         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4919
4920         * text.C (singleWidth): Spurious font copying in hot-spot
4921         singleWidth avoided. Reorder tests for arabic for efficiency.
4922
4923         * text.C (fill): handle empty paragraphs better.
4924
4925 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4926
4927         * ispell.C:
4928         * encoding.h: add includes
4929
4930         * lyxrc.C: remove reading of bind files
4931
4932         * lyx_main.C (init): setup bindings and menus only if we have a
4933         gui.
4934
4935         * kbmap.C (read): new method. Do the actual reading of bind
4936         files.
4937
4938         * converter.C (dvipdfm_options):
4939         * bufferparams.C:
4940         * lyxrc.C (read):
4941         (output): adapt PAPER_* enums.
4942
4943         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4944
4945         * bufferparams.h: remove paper-related enums from there
4946
4947         * paper.h: New file. A trivial header file to hold paper-related
4948         enums. It should later expand to contain many paper-related
4949         horrors access.
4950
4951         * lyxrc.C: declare extern displayTranslator
4952
4953 2003-07-27  José Matos  <jamatos@fep.up.pt>
4954
4955         * tabular.[Ch] (linuxdoc): add support for tables and figures
4956         (linuxdoc).
4957
4958 2003-07-27  José Matos  <jamatos@fep.up.pt>
4959
4960         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4961         consistency in both functions.
4962         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4963
4964 2003-07-26  Asger Alstrup  <alstrup@local>
4965
4966         * rowpainter.C (paintRows): Change algorithm to work directly on
4967         the insets rather than asking every character in the document
4968         whether its an inset.
4969
4970 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
4971
4972         * buffer.C (openFileWrite): factorize some code
4973
4974 2003-07-26  Angus Leeming  <leeming@lyx.org>
4975
4976         * lyx_cb.C:
4977         * lyx_main.[Ch]: replace occurances of system_tempdir with
4978         os::getTmpDir().
4979
4980 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4981
4982         * rename Inset to InsetOld
4983
4984 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
4985
4986         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4987         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4988         which I think is a bit clearer. EDIT is gone, since it was
4989         premature optimisation, and broken for mathed anyway.
4990         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4991         with cursor positioning in insets as well (math insets still do not
4992         work, but that's a different story anyway.) It mysteriously
4993         crashes sometimes with undo in the first paragraph, but I'm fairly
4994         confident that this is a compiler bug.
4995
4996 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4997
4998         * paragraph.C (Paragraph): adjust for new clone return type
4999         (operator==): ditto
5000         (copyIntoMinibuffer): ditto
5001
5002 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
5003
5004         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5005         by not having a special case, and always doing a full rebreak of
5006         the document after undo.
5007
5008 2003-07-23  Angus Leeming  <leeming@lyx.org>
5009
5010         * factory.C (createInset): InsetExternal::setParams now takes a
5011         Buffer const * arg.
5012
5013 2003-07-23  Angus Leeming  <leeming@lyx.org>
5014
5015         * factory.C (createInset): changed interface to the external and
5016         graphics mailers' string2params functions.
5017
5018 2003-07-23  Angus Leeming  <leeming@lyx.org>
5019
5020         * factory.C (createInset): pass a
5021         Buffer const * parameter to InsetExternalMailer's string2params.
5022
5023 2003-07-22  John Levon  <levon@movementarian.org>
5024
5025         * Thesaurus.h: include the right aiksaurus header
5026
5027 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5028
5029         * MenuBackend.C (expand): check menu shortcuts unconditionally
5030
5031 2003-07-21  Angus Leeming  <leeming@lyx.org>
5032
5033         * factory.C (createInset): pass a
5034         buffer_path parameter to InsetGraphicsMailer's string2params.
5035
5036 2003-07-21  Angus Leeming  <leeming@lyx.org>
5037
5038         * BufferView_pimpl.C (buffer):
5039         * buffer.C (d-tor):
5040         * lyx_main.C (LyX):
5041         * lyxfunc.C (dispatch):
5042         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5043         rather than the grfx shortcut.
5044
5045 2003-07-21  André Pönitz  <poenitz@gmx.net>
5046
5047         * rowpainter.C: remove unused variables
5048
5049         * tabular_funcs.C:
5050         * tabular_funcs.h: move to tabular.C
5051         * Makefile.am: adjust
5052
5053         * tabular.[Ch]: basic optical cleaning
5054
5055         * author.h: pass references, not values
5056
5057 2003-07-18  André Pönitz  <poenitz@gmx.net>
5058
5059         * lyxtext.h:
5060         * metricsinfo.C:
5061         * metricsinfo.h:
5062         * rowpainter.C:
5063         * text.C:
5064         * text2.C:
5065         * text3.C: two-phase drawing for InsetText and InsetTabular
5066         some float -> int changes.
5067
5068 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5069
5070         * lyx_main.C: fix the fix
5071
5072 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5073
5074         * lyx_main.C: fix a crash in batch mode if no files specified
5075         * converter.C: ws
5076
5077 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
5078
5079         * format.[Ch] (papersize): moved to BufferParams
5080         * converter.[Ch] (dvips_options): moved to BufferParams
5081         (dvipdfm_options): moved to anon namespace
5082         * bufferparams.[Ch]: added above functions.
5083
5084 2003-07-17  André Pönitz  <poenitz@gmx.net>
5085
5086         * lyxtext.h:
5087         * rowpainter.C:
5088         * text2.C: don't call inset->update() anymore
5089
5090         * metricsinfo.[Ch]: add convenience constructor
5091
5092 2003-07-16  André Pönitz  <poenitz@gmx.net>
5093
5094         * lyxcursor.[Ch]:
5095         * lyxfunc.[Ch]:
5096         * text.C:
5097         * text2.C: replace the LyXCursor::irow_ member with
5098          on-demand computation of the value
5099
5100 2003-07-16  John Levon  <levon@movementarian.org>
5101
5102         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5103
5104 2003-07-15  André Pönitz  <poenitz@gmx.net>
5105
5106         * text.C:
5107         * text2.C: remove no more needed refresh_row
5108
5109 2003-07-15  André Pönitz  <poenitz@gmx.net>
5110
5111         * lyxtext.h:
5112         * rowpainter.C:
5113         * text2.C:
5114         * text3.C: refresh_status tristate -> need_update bool
5115
5116 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
5117
5118         * lyxtext.h (init): remove reinit argument (act as if always true)
5119         * text2.C: adjust to that
5120
5121 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5122
5123         * bufferview_funcs.[Ch]: introduce function replaceSelection()
5124         * text3.C: use it to delete selections in some cases
5125         (bugs 441, 673, 702, 954).
5126
5127 2003-07-14  André Pönitz  <poenitz@gmx.net>
5128
5129         * rowpainter.[Ch]: reduce interface
5130
5131 2003-07-14  André Pönitz  <poenitz@gmx.net>
5132
5133         * BufferView_pimpl.C:
5134         * text2.C: adjust after removing unused BufferView * argument
5135
5136 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
5137
5138         * text2.C (init): fix a crash fired on resize
5139
5140 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
5141
5142         * buffer.[Ch]: added new closing signal
5143         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5144         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5145         BufferView::Pimpl via the closing the signal
5146
5147 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
5148
5149         * buffer.[Ch]: take out all bv-related from buffer
5150         * BufferView.C:
5151         * BufferView_pimpl.[Ch]: connect to new signals
5152         * CutAndPaste.C: removed useless asserts
5153         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5154         * lyxvc.[Ch]:
5155         * vc-backend.[Ch]:
5156         * lyxfunc.C: moved view-related funciontality from vc here
5157         * paragraph.C: removed outdated comments
5158         * text.C: ws
5159
5160 2003-07-10  André Pönitz  <poenitz@gmx.net>
5161
5162         * BufferView_pimpl.C:
5163         * tabular.h:
5164         * tabular_funcs.C:
5165         * text.C:
5166         * text2.C: remove InsetText::InnerCache, clean up consequences
5167
5168 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
5169
5170         * ispell.C: fix two typos in error messages
5171
5172 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
5173
5174         * Extend Note inset to other forms of annotation like Comment
5175         and Greyedout. Right button click gives dialog.
5176
5177         Files modified or added (+):
5178
5179         * insetnote.[Ch]
5180         * FormNote.[Ch]      +
5181         * ControlNote.[Ch]   +
5182         * form_note.fd       +
5183         * Makefile.am in frontends/xforms, frontends/xforms/forms,
5184         frontends/controllers
5185         * xforms/Dialogs.C
5186         * factory.C
5187
5188 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5189
5190         * aspell.C: add missing namespace lyx::support
5191
5192 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
5193
5194         * BufferView.[Ch] (newFile): Add
5195         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5196         * LaTeX.[Ch] (message): added this signal and use it
5197         * buffer.[Ch] (busy, message): added these signals and use them
5198         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5199         * converter.C:
5200         * exporter.C:
5201         * format.C:
5202         * importer.C: use buffer signals instead of direct bv calling
5203         * lyx_cb.[Ch] (ShowMessage): removed
5204         * lyx_main.C:
5205         * lyxfunc.C:
5206         * paragraph_funcs.C:
5207         * text2.C: use buffer signals
5208
5209 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5210
5211         * introduce namespace lyx::graphics
5212
5213 2003-07-02  André Pönitz  <poenitz@gmx.net>
5214
5215         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5216
5217 2003-07-01  André Pönitz  <poenitz@gmx.net>
5218
5219         * text.C:
5220         * text2.C:
5221         * text3.C:
5222         * text_funcs.[Ch]:
5223         * textcursor.h:
5224         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5225           text*.C to text_func.C
5226
5227 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5228
5229         * introduce namespace lyx::support
5230
5231 2003-06-30  André Pönitz  <poenitz@gmx.net>
5232
5233         * Chktex.C:
5234         * funcrequest.C:
5235         * lyxtext.h:
5236         * text.C: re-enable --with-included-string
5237
5238 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5239
5240         * textcursor.C: add <config.h>
5241
5242         * text.C (getWord): remove const from word_location arg
5243
5244         * lyxvc.C (getLogFile): fix const type order
5245
5246         * lyxtext.h: remove const from word_location arg, add arg name
5247
5248         * lyxlayout.h: currect type on labeltype.
5249
5250         * importer.C: correct \file
5251
5252         * converter.C (intToFormat): use std:: on ret val, ws changes
5253
5254         * bufferlist.h: correct \file
5255
5256         * buffer.C (makeLinuxDocFile): fix const type order
5257         (makeDocBookFile): ditto
5258         (fillWithBibKeys): use std:: on stdlib args.
5259
5260         * CutAndPaste.C: fix authors.
5261         (availableSelections): use std:: on return vector
5262
5263 2003-06-27  André Pönitz  <poenitz@gmx.net>
5264
5265         * BufferView_pimpl.C:
5266         * bufferview_funcs.C:
5267         * lyxcursor.C:
5268         * lyxcursor.h:
5269         * lyxfunc.C:
5270         * lyxtext.h:
5271         * rowpainter.C:
5272         * text.C:
5273         * text2.C:
5274         * text3.C: remove LyXCursor::row_ member
5275
5276         * lyxtext.h:
5277         * text.C: rename fullRebreak() to partialRebreak() and implement
5278           a fullRebreak() that really bereks fully
5279
5280         * textcursor.h: new struct for cursor-related data
5281
5282 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
5283
5284         * lyx_main.C (LyX): get full path of document loaded on the
5285         command line
5286
5287 2003-06-26  André Pönitz  <poenitz@gmx.net>
5288
5289         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5290           remove unused/broken operator>,<,>=.
5291
5292         *       text.C: remove only use of broken operator<= in an Assert().
5293
5294 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5295
5296         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5297         moved errorlist_.clear to showErrorList
5298
5299 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5300
5301         * converter.C (scanLog, runLaTeX):
5302         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5303         move the bv->showErrorList call to the callers
5304         * lyxfunc.C: i.e. here...
5305         * text2.C: and here
5306         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5307         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5308         namespace, the second to...
5309         * buffer_funcs (BufferFormat, parseErrors): added
5310         * errorlist.C (ErrorList(TeXErrors const &)): removed
5311
5312 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5313
5314         * ToolbarBackend.C (getIcon): complain when icon cannot be found
5315
5316 2003-06-24  "Garst R. Reese" <reese@isn.net>
5317
5318         * debug.C: fix typo
5319
5320 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5321
5322         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5323
5324         * version.C.in: change docversion to 1.4
5325
5326 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
5327
5328         * buffer.C: fix a bug just introduced
5329
5330 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
5331
5332         * buffer.[Ch]: added the parseError signal and use it, removed
5333         sgmlError
5334         * BufferView.[Ch] (addError): moved to ...
5335         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5336         to the Buffer::parseError signal to catch (guess what) parse errors
5337         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5338
5339 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
5340
5341         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5342         ability to create a buffer and to return an existing one from
5343         the list. Moved these functions to...
5344         * buffer_funcs.[Ch]: added
5345         * BufferView.[Ch] (loadLyXFile): added
5346         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5347         job removed from bufferlist::loadLyXFile.
5348         * buffer.C (setReadOnly): make it work without view
5349         (i.e added an if (users))
5350
5351 2003-06-19  Angus Leeming  <leeming@lyx.org>
5352
5353         * lfuns.h:
5354         * LyXAction.C (init):
5355         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5356         with LFUN_DIALOG_SHOW <name> <data>.
5357
5358 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5359
5360         * CutAndPaste.C (availableSelections): small compilation fix for
5361         ancient (gcc 2.9x) compilers
5362
5363 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
5364
5365         * text3.C (cursorNext): add tmp var
5366
5367         * text2.C (updateCounters): for function calling out of for clause
5368         (replaceSelectionWithString): ditto
5369         (insertStringAsParagraphs): ditto
5370         (getColumnNearX): add tmp var
5371         (setCursorFromCoordinates): add tmp var
5372         (cursorDownParagraph): add tmp var
5373         (deleteEmptyParagraphMechanism): add tmp var
5374
5375         * text.C (insertChar): add tmp var
5376
5377         * rowpainter.C (paintDepthBar): add tmp var
5378
5379         * CutAndPaste.C (availableSelections): potentially check all
5380         paragraphs in a cut to fill the shown strings.
5381
5382 2003-06-18  André Pönitz  <poenitz@gmx.net>
5383
5384         * kbmap.[Ch]: use vector<> instead of list<>
5385
5386 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
5387
5388         * text3.C (dispatch): handle arg to LFUN_PASTE, call
5389         pasteSelection with index
5390
5391         * text2.C (pasteSelection): modify, call pasteSelection with index
5392
5393         * paragraph.C (asString): reimplement version with no interval to
5394         call the one with interval.
5395
5396         * lyxtext.h: add index arg to pasteSelection
5397
5398         * MenuBackend.C (MenuItem): handle PasteRecent
5399         (Menu::read::Menutags): add md_pasterecent
5400         (read): handle it
5401         (expandPasteRecent): new function
5402         (expand): use it
5403
5404         * MenuBackend.h: add PasteRecent to MenuItem::Kind
5405
5406         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5407         the limited stack
5408         (availableSelections): new function
5409
5410 2003-06-17  Angus Leeming  <leeming@lyx.org>
5411
5412         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5413
5414 2003-06-17  Angus Leeming  <leeming@lyx.org>
5415
5416         * lfuns.h:
5417         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5418
5419         * lyxfunc.C (dispatch): invoke it.
5420
5421 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5422
5423         * iterators.C (operator++, ParPosition): reintroduce some
5424         const_cast for the benefit of older compilers.
5425
5426 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5427
5428         * text3.C (dispatch): do not modify clipboard when doing
5429         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5430         LFUN_DELETE_SKIP on a selection selection
5431
5432 2003-06-16  André Pönitz  <poenitz@gmx.net>
5433
5434         * BufferView.C:
5435         * buffer.C:
5436         * buffer.h:
5437         * paragraph.C:
5438         * tabular.[Ch]: IU of clone() and getLabelList();
5439
5440 2003-06-13  André Pönitz  <poenitz@gmx.net>
5441
5442         * tabular.h: compactification
5443
5444 2003-06-12  André Pönitz  <poenitz@gmx.net>
5445
5446         * tabular.C:
5447         * tabular.h:
5448         * tabular_funcs.h: some renaming plus whitespace
5449
5450 2003-06-12  André Pönitz  <poenitz@gmx.net>
5451
5452         * BufferView.C:
5453         * BufferView_pimpl.C:
5454         * CutAndPaste.C:
5455         * buffer.C:
5456         * iterators.[Ch]:
5457         * lyxfunc.C:
5458         * text.C:
5459         * toc.C: Return a Paragraph & for ParIterator::operator*()
5460
5461 2003-06-11  John Levon  <levon@movementarian.org>
5462
5463         * lyx_main.C:
5464         * ToolbarBackend.h:
5465         * ToolbarBackend.C: add "Toolbars" section and
5466         put the flags there
5467
5468 2003-06-10  Angus Leeming  <leeming@lyx.org>
5469
5470         * lfuns.h:
5471         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5472
5473         * lyxfunc.C (dispatch): invoke it.
5474
5475 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5476
5477         * main.C: protect <ios> with HAVE_IOS
5478         (main): protect sync_with_stdio with HAVE_IOS
5479
5480 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
5481
5482         * text2.C (cutSelection): adjust
5483         (pasteSelection): adjust
5484
5485         * messages.C: handle get of empty string
5486
5487         * main.C (main): use sync_with_stdio(false)
5488
5489         * lyxfunc.C (dispatch): adjust
5490
5491         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5492         (WriteAs): remove unneeded BufferView arg.
5493
5494         * bufferparams.h: use correct types on papersize, papersize2 and
5495         paperpackage.
5496
5497         * bufferparams.C (readToken): adjust for type
5498         (writeLaTeX): add missing cases to switch.
5499
5500         * bufferlist.C (quitWriteBuffer): adjust
5501         (close): adjust
5502
5503         * buffer.C (asciiParagraph): remove some commented code.
5504
5505         * CutAndPaste.C: remove current_view extern variable.
5506         (cutSelection): add BufferParams arg.
5507         (eraseSelection): add BufferParams arg.
5508         (pasteSelection): add Buffer const & arg
5509
5510 2003-06-07  John Levon  <levon@movementarian.org>
5511
5512         * buffer.C:
5513         * paragraph_funcs.C:
5514         * paragraph_pimpl.C:
5515         * text.C:
5516         * text2.C:
5517         * paragraph.h:
5518         * paragraph.C: allow InsetERT to freely space lines,
5519         and some consolidation of code
5520
5521 2003-06-06  José Matos  <jamatos@fep.up.pt>
5522
5523         * buffer.C (makeDocBookFile): fix bug #821
5524
5525 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
5526
5527         * BufferView_pimpl.C (dispatch): use Dialogs::visible
5528
5529 2003-06-04  Angus Leeming  <leeming@lyx.org>
5530
5531         * buffer.C: bump format to 224.
5532
5533 2003-06-05  André Pönitz  <poenitz@gmx.net>
5534
5535         * text2.C (redoParagraphs): remove two const_cast<>
5536
5537 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5538
5539         * ParagraphList.h: remove last remnants of NO_STD_LIST
5540
5541 2003-06-03  Angus Leeming  <leeming@lyx.org>
5542
5543         * factory.C (createInset): small change to the way InsetExternal's params
5544         are set.
5545
5546 2003-06-04  André Pönitz  <poenitz@gmx.net>
5547
5548         * buffer.h: use Undo directly instead of shared_ptr<Undo>
5549
5550         * paragraph_pimpl.h:
5551         * paragraph.[Ch]: some Inset -> UpdatableInset changes
5552
5553         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5554
5555         * undo_funcs.C: make some simple cases of undo work again
5556
5557 2003-06-03  John Levon  <levon@movementarian.org>
5558
5559         * ispell.C: HPUX doesn't have sys/select.h
5560         (from Albert Chin)
5561
5562 2003-06-03  John Levon  <levon@movementarian.org>
5563
5564         * CutAndPaste.C: update tabular and include inset
5565         buffer references
5566
5567         * buffer.h:
5568         * paragraph.h:
5569         * paragraph.C: remove owningBuffer(), don't pass Buffer
5570         to clone()
5571
5572         * factory.C: insetGraphicsParams changed
5573
5574 2003-06-02  John Levon  <levon@movementarian.org>
5575
5576         * LyXAction.C:
5577         * factory.C:
5578         * lfuns.h:
5579         * lyxfunc.C:
5580         * text3.C: remove insetparent
5581
5582 2003-06-02  John Levon  <levon@movementarian.org>
5583
5584         * buffer.h:
5585         * buffer.C: fix inset_iterator.end(), move out of line
5586         (bug 1149)
5587
5588 2003-06-01  John Levon  <levon@movementarian.org>
5589
5590         * text3.C: use a proper cut/paste when doing inset
5591         insert (from Jürgen Spitzmüller)
5592
5593 2003-06-01  John Levon  <levon@movementarian.org>
5594
5595         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5596
5597 2003-05-30  André Pönitz  <poenitz@gmx.net>
5598
5599         * rowpainter.C: unify second drawing phase
5600
5601 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5602
5603         * trans_mgr.C: remove one case of current_view
5604
5605         * text2.C (cursorBottom): delete NO_STD_LIST stuff
5606
5607         * paragraph_funcs.h: remove paragraph.h include
5608
5609         * paragraph.h: delete NO_STD_LIST stuff
5610
5611         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5612
5613         * buffer.h: remove paragraph.h include
5614
5615         * ParagraphList.C: delete file
5616
5617         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5618
5619         * toc.C (getTocList): adjust
5620
5621         * paragraph_pimpl.C (validate): adjust
5622
5623         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5624
5625         * paragraph.C (Paragraph): adjust
5626         (getPositionOfInset): use const_iterator, adjust
5627         (bibitem): use const_iterator, adjust
5628         (setInsetOwner): adjust
5629
5630         * iterators.C (operator++): adjust
5631
5632         * InsetList.[Ch]: Replace selfmade iterator with standard
5633         vector::iterator also introduce const_iterator. Remove getPos,
5634         getInset and setInset from InsetTable. Adjust accordingly.
5635
5636         * BufferView.C (lockInset): adjust
5637         (ChangeInsets): adjust
5638
5639         * tabular.[Ch]: delete commented same_id functions
5640
5641 2003-05-28  John Levon  <levon@movementarian.org>
5642
5643         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5644
5645 2003-05-28  André Pönitz  <poenitz@gmx.net>
5646
5647         * metricsinfo.[Ch]: remove 'fullredraw' member
5648
5649 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
5650
5651         * lyxtextclass.C (operator): remove caching.
5652
5653 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5654
5655         * text3.C: adjust
5656
5657         * text2.C (cursorBottom): adjust
5658         (setCounter): use ParagraphList::find, adjust
5659
5660         * text.C (workWidth): use ParagraphList::find, adjust
5661
5662         * lyxcursor.C (LyXCursor): adjust
5663
5664         * buffer.C (inset_iterator): adjust
5665
5666         * ParagraphList.h: make iterator(value_type) private, make
5667         ParagraphList a friend of iterator.
5668
5669         * ParagraphList.C (find): new function
5670
5671         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5672
5673 2003-05-27  André Pönitz  <poenitz@gmx.net>
5674
5675         * dimension.[Ch]: a -> asc, d -> des, w -> wid
5676
5677 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5678
5679         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5680
5681 2003-05-26  John Levon  <levon@movementarian.org>
5682
5683         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5684
5685 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5686
5687         * remove same_id from function signatures, adjust.
5688
5689 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5690
5691         * undo_funcs.C (createUndo): use the id functions directly, adjust.
5692
5693         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5694
5695         * paragraph.C (Paragraph): get rid of same_ids parameter
5696
5697         * ParagraphList.C (insert): adjust
5698         (push_back): adjust
5699
5700 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5701
5702         * paragraph_funcs.C (breakParagraph): adjust
5703         (breakParagraphConservative): adjust
5704
5705         * buffer.C (readParagraph): adjust
5706
5707         * ParagraphList.C (insert): take a reference instead of a pointer
5708         (insert): adjust
5709
5710         * paragraph.[Ch] (id): new function
5711
5712         * bufferlist.C (newFile): adjust
5713
5714         * ParagraphList.C (ParagraphList): adjust
5715         (assign): adjust
5716         (push_back): take a reference instead of a pointer.
5717
5718         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5719
5720         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5721         instead.
5722
5723         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5724         set else use old code.
5725
5726         * ParagraphList.C: remove all NO_NEXT code and only compile this
5727         code of NO_STD_LIST is set.
5728
5729 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5730
5731         * BufferView_pimpl.C:
5732         * TextCache.C:
5733         * TextCache.h:
5734         * bufferlist.C:
5735         * errorlist.h:
5736         * format.C:
5737         * format.h:
5738         * graph.C:
5739         * lyxfunc.C:
5740         * lyxrc.C:
5741         * graphics/GraphicsConverter.C:
5742         * graphics/PreviewLoader.C: header adjustment
5743
5744 2003-05-23  Angus Leeming  <leeming@lyx.org>
5745
5746         * LaTeXFeatures.[Ch] (useBabel): new method.
5747         * bufferparams.C (writeLaTeX): use it.
5748
5749 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5750
5751         * ParagraphList.h (set): remove unused function.
5752
5753 2003-05-23  André Pönitz  <poenitz@gmx.net>
5754
5755         * BufferView.C:
5756         * BufferView_pimpl.C:
5757         * buffer.C:
5758         * buffer.h:
5759         * lyxfunc.C:
5760         * undo_funcs.C: setUndo reworked
5761
5762         * iterators.[Ch]: add access to topmost ParagraphList
5763
5764         * lyxtext.[Ch] (workWidth): add a const
5765
5766 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5767
5768         * texrow.[Ch] (increasePos): remove function
5769         * exporter.C (export): removed unused var and outdated comment
5770
5771 2003-05-23  Angus Leeming  <leeming@lyx.org>
5772
5773         * latexrunparams.h: rename fragile as moving_arg.
5774         * paragraph.C (simpleTeXOnePar): ditto.
5775         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5776
5777 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5778
5779         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5780         (createUndo): ditto
5781         (textUndoOrRedo): comment out a currently unused var.
5782
5783         * paragraph.h (NO_NEXT): enable NO_NEXT
5784
5785         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5786
5787         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5788
5789         * exporter.C (Export): adjust for removeAutoInsets removal.
5790
5791         * buffer.C (runChktex): adjust for removeAutoInsets removal.
5792
5793         * LyXAction.C (init): remove LFUN_REMOVEERRORS
5794
5795         * BufferView.[Ch] (removeAutoInsets): delete function
5796
5797 2003-05-22  Angus Leeming  <leeming@lyx.org>
5798
5799         * latexrunparams.h: add a free_spacing variable.
5800
5801         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5802         to pass moving_arg, as the data is stored in runparams.fragile.
5803
5804         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5805         to Inset::latexOptional or to simpleTeXOnePar.
5806
5807         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5808         free_spacing arg to Inset::latexOptional.
5809
5810         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5811         free_spacing arg.
5812
5813 2003-05-22  Angus Leeming  <leeming@lyx.org>
5814
5815         * latexrunparams.h: add fragile and use_babel variables.
5816
5817         * bufferparams.[Ch] (writeLaTeX): return use_babel.
5818         * buffer.C (makeLaTeXFile): store this returned value in
5819         runparams.use_babel, thus passing it to the inset::latex methods.
5820
5821         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5822         simpleTeXSpecialChars as it is now stored in runparams.fragile.
5823
5824         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5825         longer has a fragile arg, as it is stored in runparams.fragile.
5826
5827         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5828         moving_arg parameter as the data is stored in runparams.fragile.
5829
5830         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5831         a fragile parameter as the data is stored in runparams.fragile.
5832
5833 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5834
5835         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5836
5837 2003-05-22  Angus Leeming  <leeming@lyx.org>
5838
5839         * latexrunparams.h: add a 'bool nice' which defaults to false.
5840
5841         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5842         now encapsulated within runparams.
5843
5844         * bufferlist.C (updateIncludedTeXfiles):
5845         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5846
5847 2003-05-22  Angus Leeming  <leeming@lyx.org>
5848
5849         * latexrunparams.h: new file containing struct LatexRunParams.
5850         * Makefile.am: add new file.
5851
5852         * LaTeX.[Ch] (c-tor, run):
5853         * buffer.[Ch] (makeLaTeXFile):
5854         * bufferlist.[Ch] (updateIncludedTeXfiles):
5855         * converter.C (convert, scanLog):
5856         * converter.[Ch] (runLaTeX):
5857         * exporter.C (Export):
5858         * paragraph.[Ch] (simpleTeXOnePar):
5859         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5860         * paragraph_funcs.[Ch] (latexParagraphs):
5861         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5862         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5863         pass around a LatexRunParams parameter.
5864
5865 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5866
5867         * paragraph.[Ch]: remove unused constructor
5868
5869         * ParagraphList.C (erase): new function, taking two iterators
5870
5871 2003-05-22  André Pönitz  <poenitz@gmx.net>
5872
5873         * undo_funcs.C: remove duplicated code
5874
5875         * iterator.[Ch]: operator=
5876
5877 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5878
5879         * tabular.C (SetMultiColumn): ws changes
5880
5881         * rowpainter.C (paintFirst): get rid of a ->previous
5882
5883         * lyx_cb.C (getPossibleLabel): parlist simplification
5884
5885         * BufferView.C (ChangeInsets): simplify slightly.
5886
5887 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
5888
5889         * LyXAction.C: new lfun space-insert, kill protected-space-insert
5890         * lfuns.h: new LFUN_SPACE
5891         * lyxfunc.C: protected space has a new lfun
5892         * paragraph_funcs.C: read new space insets
5893         * text3.C:
5894         * factory.C: handle new space insets
5895
5896 2003-05-22  André Pönitz  <poenitz@gmx.net>
5897
5898         * BufferView.C:
5899         * BufferView_pimpl.C:
5900         * buffer.[Ch]:
5901         * lyxfunc.C:
5902         * undo_funcs.C: return a ParIterator from getParFromID.
5903
5904         * iterators.[Ch]: add two const's
5905
5906 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5907
5908         * toc.C (getTocList): adjust
5909
5910         * iterators.[Ch]: rework for parlist
5911
5912         * buffer.C (par_iterator_begin): adjust
5913         (par_iterator_end): adjust
5914
5915         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5916
5917         * BufferView.C (removeAutoInsets): adjust
5918         (ChangeInsets): adjust
5919
5920 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
5921
5922         * text.C (top_y): fix bug 1110
5923
5924 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
5925
5926         * errorlist.[Ch]: added
5927         * buffer.C:
5928         * BufferView.[Ch]:
5929         * BufferView_pimpl.C:
5930         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5931         instead
5932
5933 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5934
5935         * Makefile.am: ensure that lyx is relinked upon changes to the
5936         various "convenience" libs.
5937
5938 2003-05-20  Angus Leeming  <leeming@lyx.org>
5939
5940         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5941         files are compiled in alphabetical order again.
5942
5943         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5944
5945 2003-05-19  Angus Leeming  <leeming@lyx.org>
5946
5947         * gettext.[Ch]: remove "char const * _(char const *)".
5948
5949 2003-05-19  André Pönitz  <poenitz@gmx.net>
5950
5951         * dimension.[Ch]: promote from mathed/dimension.[Ch]
5952
5953         * Makefile.am:
5954         * BufferView.C:
5955         * DepTable.h:
5956         * LaTeXFeatures.C:
5957         * buffer.C:
5958         * lyxfont.C:
5959         * lyxlex.h:
5960         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5961
5962 2003-05-19  André Pönitz  <poenitz@gmx.net>
5963
5964         * buffer.C:
5965         * lyxlayout.[Ch]:
5966         * lyxtextclass.[Ch]:
5967         * paragraph.C:
5968         * paragraph_funcs.[Ch]:
5969         * text2.C:
5970         * text3.C: more insetenv work
5971
5972 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
5973
5974         * ParagraphParameters.C (params2string): small bug fixed
5975
5976 2003-05-16  André Pönitz  <poenitz@gmx.net>
5977
5978         * debug.C:
5979         * bufferview_funcs.C: patch from Kornel Benko to prevent
5980           crash when _(...) is called twice in a statement
5981
5982 2003-05-16  André Pönitz  <poenitz@gmx.net>
5983
5984         * BufferView.C:
5985         * lyxfunc.C:
5986         * text.C:
5987         * text2.C:
5988         * text3.C:
5989         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5990
5991 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
5992
5993         * lyx_main.C (init): remove spurious static_cast
5994
5995 2003-05-14  André Pönitz  <poenitz@gmx.net>
5996
5997         * BufferView.C: fix format string
5998
5999 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
6000
6001         * BufferView.[Ch] (insertErrors): removed
6002         * BufferView.[Ch] (showErrorList): added
6003         * buffer.C (runChkTeX):
6004         * converter.C (scanLog): call showErrorList instead of inserterrors
6005
6006 2003-05-13  André Pönitz  <poenitz@gmx.net>
6007
6008         * BufferView_pimpl.C:
6009         * buffer.C:
6010         * bufferview_func.C:
6011         * MenuBackend.C:
6012         * lyxfunc.C:
6013         * lyxrc.C:
6014         * tex-accent.C:
6015         * text3.C:
6016         * toc.C:
6017         * tabular_funcs.h: tostr() from its own header
6018
6019         * ParagraphParameters.C:
6020         * ToolbarBackend.C:
6021         * bufferparams.C:
6022         * format.C:
6023         * lyxlex_pimpl.C:
6024         * text3.C: STRCONV()
6025
6026 2003-05-12  André Pönitz  <poenitz@gmx.net>
6027
6028         * BufferView.C:
6029         * BufferView_pimpl.C:
6030         * CutAndPaste.C:
6031         * LaTeX.C:
6032         * LaTeXFeatures.C:
6033         * ParagraphParameters.C:
6034         * buffer.C:
6035         * bufferlist.C:
6036         * bufferparams.C:
6037         * bufferview_funcs.C:
6038         * converter.C:
6039         * counters.C:
6040         * debug.C:
6041         * exporter.C:
6042         * format.C:
6043         * importer.C:
6044         * lyx_cb.C:
6045         * lyx_main.C:
6046         * lyxfont.C:
6047         * lyxfunc.C:
6048         * lyxvc.C:
6049         * paragraph.C:
6050         * paragraph_funcs.C:
6051         * tabular.C:
6052         * tabular_funcs.C:
6053         * text2.C:
6054         * text3.C:  boost::format -> bformat  all over the place
6055
6056
6057 2003-05-09  André Pönitz  <poenitz@gmx.net>
6058
6059         * LColor.[Ch]: Pimpl the #include <map> away
6060
6061 2003-05-09  John Levon  <levon@movementarian.org>
6062
6063         * bufferlist.C: never remove emergency saves
6064
6065 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6066
6067         * Makefile.am: better lib building
6068
6069 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
6070
6071         * texrow.[Ch]: remove dependency on Paragraph and just store a id
6072         instead.
6073         * paragraph_pimpl.C (simpleTeXBlanks): adjust
6074         (simpleTeXSpecialChars): adjust
6075         (simpleTeXSpecialChars): adjust
6076         * paragraph.C (simpleTeXOnePar): adjust
6077         * buffer.C (makeLaTeXFile): adjust
6078
6079         * Makefile.am (BOOST_LIBS): allow boost as system lib.
6080
6081         * text2.C (changeDepth): parlist cleanup
6082         (getColumnNearX): ditto
6083
6084         * rowpainter.C (getLabelFont): parlist cleanup
6085
6086         * bufferlist.C (newFile): parlist cleanup
6087
6088         * CutAndPaste.C (eraseSelection): parlist cleanup
6089
6090         * BufferView_pimpl.C (trackChanges): parlist cleanup
6091         (dispatch): ditto
6092
6093         * BufferView.C (lockInset): parlist cleanup.
6094         (ChangeInsets): ditto
6095
6096 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6097
6098         * CutAndPaste.h: Update file header.
6099
6100         * CutAndPaste.C: Update file header.
6101         Store the parts cut out of the Document in a limited_stack.
6102         (copySelection): adjust
6103         (pasteSelection): new function, takes the index in the limited stack.
6104         (nrOfParagraphs): adjust
6105         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6106         simplify error inset insertion.
6107         (checkPastePossible): adjust
6108
6109 2003-05-06  John Levon  <levon@movementarian.org>
6110
6111         * text2.C: don't cast wrap inset to float
6112
6113 2003-05-05  André Pönitz  <poenitz@gmx.net>
6114
6115         * iterator.C:
6116         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6117
6118         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6119           few naked Paragraph *.
6120
6121 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
6122
6123         * bufferparams.C: Output warning if a document with missing
6124         TeX document class is loaded
6125         * exporter.C: Disable TeX exports if the document class is missing
6126         * lyxtextclass.C:
6127         * lyxtextclass.h:
6128         * lyxtextclasslist.C: Handle new textclass.lst format; new method
6129         isTeXClassAvailable()
6130
6131 2003-05-03  John Levon  <levon@movementarian.org>
6132
6133         * BufferView.h:
6134         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6135         explicit cursor show/hide
6136
6137         * BufferView_pimpl.h:
6138         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6139         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6140
6141         * lyxfunc.C: hide cursor before dispatching.
6142
6143         * lyx_cb.C:
6144         * lyxfind.C:
6145         * text.C:
6146         * text3.C: remove explicit cursor hides
6147
6148 2003-05-02  André Pönitz  <poenitz@gmx.net>
6149
6150         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6151
6152         * undo_funcs.C:
6153         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6154           linked lists
6155
6156         * text2.C: tiny whitespace
6157
6158 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6159
6160         * undo_funcs.C: almost only ws changes.
6161
6162         * ParagraphList.C (splice): just return if pl is empty.
6163
6164 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6165
6166         * ParagraphList.C (splice): new function.
6167
6168         * CutAndPaste.C (pasteSelection): use it
6169
6170 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6171
6172         * CutAndPaste.C (pasteSelection): remove the last next and
6173         previous from this file.
6174
6175 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6176
6177         * CutAndPaste.C (pasteSelection): more clean up, user proper
6178         ParagraphList functions for pasteing.
6179
6180         * ParagraphList.C (insert): new function, three arg insert
6181
6182 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6183
6184         * ParagraphList.C (insert): new function, three arg insert
6185
6186         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6187         not on paragraphs.
6188
6189 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6190
6191         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6192
6193 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6194
6195         * CutAndPaste.C (pasteSelection): remove some unneeded code.
6196
6197 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6198
6199         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6200         (copySelection): clean up a bit.
6201         (pasteSelection): use make_pair
6202
6203         * ParagraphList.C (ParagraphList): implement copy constructor
6204         (operator=): implement, base on copy constructor.
6205         (assign): new func
6206
6207         * paragraph.C (erase): return a bool
6208
6209         * paragraph_pimpl.C (erasePos): remove function, move contents...
6210         (erase): ... here. Return a bool.
6211         (erase): call erase instead of erasePos.
6212
6213 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
6214
6215         * ParagraphList.h: define PitPosPair
6216         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6217         ParagraphList, fix a bug on pasting multiple pars
6218         * text2.C: change interface to C&P
6219
6220 2003-04-30  André Pönitz  <poenitz@gmx.net>
6221
6222         * undo_func.C: revert part of yesterday's patch 2
6223
6224 2003-04-30  John Levon  <levon@movementarian.org>
6225
6226         * LColor.C: s/tabular/table/
6227
6228 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6229
6230         * text3.C (dispatch): do not convert iterator -> pointer
6231         * undo_funcs.C (setCursorParUndo): ditto
6232         * text_funcs.C (transposeChars): ditto
6233
6234         * text2.C (setLayout): ws changes only
6235
6236         * text.C (breakParagraph): do not convert iterator -> pointer
6237         (insertChar): ditto
6238         (acceptChange): ditto
6239         (rejectChange): ditto
6240         (changeCase): ditto
6241         (Delete): ditto
6242         (backspace): ditto
6243
6244         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6245         pointer
6246
6247 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6248
6249         * text3.C (gotoInset): YABG (yet another bad getChar)
6250
6251 2003-04-29  André Pönitz  <poenitz@gmx.net>
6252
6253         * paragraph.h: make operator= private unimplemented as long as
6254           it is unusable
6255
6256         * ParagraphList.C: whitespace
6257
6258         * paragraph.[Ch]:
6259         * paragraph_pimpl.[Ch]:
6260         * paragraph_funcs.C:
6261         * CutAndPaste.C:
6262         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
6263
6264         * text2.C:
6265           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6266
6267 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6268
6269         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6270         * paragraph.[Ch] (erase):
6271         * paragraph_pimpl.[Ch] (erase): change return type and value
6272         * text2.C (cutSelection): some rework
6273
6274 2003-04-28  John Levon  <levon@movementarian.org>
6275
6276         * bufferlist.C: changes for unsaved changes dialog
6277
6278 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6279
6280         * bufferlist.C (newFile): set language (messages_) for new
6281         documents also.
6282
6283         * buffer.C (readFile): ws changes only.
6284
6285 2003-04-28  André Pönitz  <poenitz@gmx.net>
6286
6287         * undo_funcs.C:
6288         * lyxfunc.C:
6289         * buffer.[Ch]:
6290         * BufferView_pimpl.C:
6291         * BufferView.C: getParFromID related ParagraphList::iterator changes
6292
6293 2003-04-28  André Pönitz  <poenitz@gmx.net>
6294
6295         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6296           Changes
6297
6298 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6299
6300         * messages.C: remove one more localedir class variable.
6301
6302 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6303
6304         * messages.C (getLocaleDir): singleton generation function
6305         (Pimpl): use it.
6306         (Messages): add a default constructor.
6307
6308         * main.C (main): do not setup localedir here, do not call
6309         gettext_init.
6310
6311         * gettext.C (_): use it.
6312         (gettext_init): delete funciton
6313
6314 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6315
6316         * gettext.C (getLyXMessages): new singleton generating function.
6317
6318         * buffer.C (updateDocLang): adjust
6319
6320         * Makefile.am (messages.o): add target
6321         (main.o): remove target
6322
6323 2003-04-27  John Levon  <levon@movementarian.org>
6324
6325         * bufferlist.C:
6326         * lyx_cb.C:
6327         * lyxfunc.C:
6328         * lyxvc.C: specify cancel button in Alert::prompt
6329
6330 2003-04-26  John Levon  <levon@movementarian.org>
6331
6332         * text3.C:
6333         * lyxfunc.C:
6334         * lfuns.h:
6335         * LyXAction.C: add LFUN_INSET_SETTINGS
6336
6337         * lyxfunc.C: don't enable tabular-feature when there's
6338         just any locking inset
6339
6340 2003-04-26  John Levon  <levon@movementarian.org>
6341
6342         * bufferlist.C: re-add Cancel to buffer close question
6343
6344         * lyxfunc.C: fix import UI a bit
6345
6346 2003-04-25  John Levon  <levon@movementarian.org>
6347
6348         * gettext.C: remove the broken asserts for now
6349
6350 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6351
6352         * messages.C: make case where setlocale cannot comply work better.
6353
6354         * buffer.C (updateDocLang): new function
6355         (changeLanguage): use it
6356         (readFile): use it
6357
6358         * text2.C (setCounter): use B_ a bit.
6359
6360         * lyxlayout.C (Read): be sure to trim the label strings.
6361
6362         * messages.C (Messages): fix typo in comment
6363
6364         * buffer.C (readFile): set message_ after file is loaded.
6365         (makeDocBookFile): remove double return
6366         (changeLanguage): reset message_ upon language change.
6367         (B_): new func, use this to get translated buffer strings.
6368
6369         * main.C: add myself and Jean Marc as authors.
6370
6371 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6372
6373         * messages.[hC]: pimplify Messages, and three different pimpls to be
6374         used in different circumstances.
6375
6376         * gettext.[Ch]: change for use with new message code.
6377
6378 2003-04-24 André Pönitz <poenitz@gmx.net>
6379
6380         * factory.C: support for eqref
6381
6382 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6383
6384         * messages.[Ch]: add missing char
6385
6386         * Makefile.am (lyx_SOURCES): add messages.[Ch]
6387
6388         * messages.[Ch]: New files
6389
6390 2003-04-18  John Levon  <levon@movementarian.org>
6391
6392         * BufferView.h:
6393         * BufferView.C:
6394         * BufferView_pimpl.C:
6395         * lfuns.h:
6396         * LyXAction.C:
6397         * lyxtext.h:
6398         * text2.C: remove layout-copy/paste (bug 778)
6399
6400 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6401
6402         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6403
6404 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6405
6406         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6407         if they succeed. Act accordingly.
6408
6409 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6410
6411         * text2.C (setCharFont): adjust
6412         (setCounter): adjust
6413         (insertStringAsLines): adjust
6414
6415         * text.C (leftMargin): adjust
6416         (setHeightOfRow): adjust
6417
6418         * rowpainter.C (paintFirst): adjust
6419         (paintLast): adjust
6420
6421         * paragraph_funcs.C (depthHook): ParagraphList::iterators
6422         (outerHook): ditto
6423         (isFirstInSequence): ditto
6424         (getEndLabel): ditto
6425         (outerFont): adjust
6426
6427         * paragraph.C (getParLanguage): comment out some hard stuff.
6428
6429         * buffer.C (insertStringAsLines): take a ParagraphList as arg
6430         (sgmlError): ditto
6431         (simpleDocBookOnePar): ditto
6432         (makeDocBookFile): use ParagraphList::iterator
6433
6434         * CutAndPaste.C (pasteSelection): adjust
6435
6436 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6437
6438         * text2.C (getFont): adjust
6439         (getLayoutFont): adjust
6440         (getLabelFont): adjust
6441
6442         * paragraph_funcs.C (TeXOnePar): adjust
6443
6444         * buffer.C (simpleLinuxDocOnePar): adjust
6445         (simpleDocBookOnePar): adjust
6446
6447         * CutAndPaste.C (pasteSelection): adjust
6448
6449         * BufferView.C (getEncoding): adjust
6450
6451         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6452
6453 2003-04-16  John Levon  <levon@movementarian.org>
6454
6455         * lyxfind.C: use parlist stuff for search/changes
6456
6457 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6458
6459         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6460
6461         * text2.C (deleteEmptyParagraphMechanism): adjust
6462
6463         * text2.[Ch] (ownerParagraph): delete func (both of them
6464
6465 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6466
6467         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6468
6469 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6470
6471         * ParagraphList.C: prepare for NO_NEXT
6472
6473 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6474
6475         * text2.C (getFont): adjust
6476         (getLayoutFont): adjust
6477         (getLabelFont): adjust
6478
6479         * paragraph.C (getFont): adjust
6480         (getLabelFont): adjust
6481         (getLayoutFont): adjust
6482
6483         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6484
6485 2003-04-15  John Levon  <levon@movementarian.org>
6486
6487         From Angus Leeming
6488
6489         * lyx_main.C: handle Include in .ui files
6490
6491 2003-04-15  John Levon  <levon@movementarian.org>
6492
6493         * MenuBackend.C: make the doc files length shorter
6494
6495         * ToolbarBackend.h:
6496         * ToolbarBackend.C: handle toolbar placement flags,
6497         Minibuffer
6498
6499 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6500
6501         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6502         adjust
6503
6504         * paragraph_funcs.C (TeXOnePar): adjust
6505
6506         * paragraph.C (getLabelFont): add outerfont arg, adjust
6507         (getLayoutFont): ditto
6508         (simpleTeXOnePar): adjust
6509
6510         * paragraph_pimpl.C (realizeFont): delete func
6511
6512 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
6513
6514         * text2.C (beforeFullRowInset): added a bad getchar check, removed
6515         row argument, constify cur argument.
6516
6517 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6518
6519         * text2.C (getFont): adjust
6520         (getLayoutFont): adjust
6521         (getLabelFont): adjust
6522
6523         * paragraph_funcs.C (TeXOnePar): adjust
6524         (outerFont): new func...
6525         (realizeFont): ...moved out from here, changed this to facilitate
6526         transition
6527
6528         * paragraph.C (getFont): take outerfont as arg, adjust
6529         (simpleTeXOnePar): add outerfont arg, adjust
6530
6531         * buffer.C (simpleLinuxDocOnePar): adjust
6532         (simpleDocBookOnePar): adjust
6533
6534         * CutAndPaste.C (pasteSelection): adjust
6535
6536         * BufferView.C (getEncoding): adjust
6537
6538 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6539
6540         * text2.C (setCharFont): adjust
6541         (setCounter): adjust
6542
6543         * text.C (leftMargin): adjust
6544         (setHeightOfRow): adjust
6545
6546         * rowpainter.C (paintFirst): adjust
6547         (paintLast): adjust
6548
6549         * paragraph_pimpl.C (realizeFont): adjust
6550
6551         * paragraph.C (isFirstInSequence): move from here...
6552         * paragraph_funcs.C (isFirstInSequence): ...to here
6553
6554         * paragraph.C (outerHook): move from here...
6555         * paragraph_funcs.C (outerHook): ...to here
6556
6557         * paragraph.C (depthHook): move from here...
6558         * paragraph_funcs.C (depthHook): ...to here
6559
6560         * paragraph.C (getEndLabel): move from here...
6561         * paragraph_funcs.C (getEndLabel): ...to here
6562
6563         * text2.C (realizeFont): move from here...
6564         * paragraph_funcs.C (realizeFont): ...to here
6565
6566 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6567
6568         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6569
6570 2003-04-14  Angus Leeming  <leeming@lyx.org>
6571
6572         * LColor.[Ch]: scrap LColor mathcursor.
6573
6574 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6575
6576         * lyxlex.[Ch] (text): delete function
6577         * trans.C (Load): adjust
6578         * paragraph_funcs.C (readParToken): adjust
6579
6580 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6581
6582         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6583         vector<char> instead of a char[].
6584
6585         * lyxlex_pimpl.C (getString): adjust
6586         (next): adjust
6587         (lex): use getString
6588         (eatLine): adjust
6589         (nextToken): adjust
6590
6591         * lyxlex.C (text): use pimpl_->getString()
6592         (getBool): ditto
6593         (findToken): ditto
6594
6595 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6596
6597         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6598         (makeFontEntriesLayoutSpecific): temp var for par.size()
6599         (setLayout): temp var for ownerParagraphs().end()
6600         (fullRebreak): temp var for rows().end()
6601         (selectionAsString): temp var for boost::next(startpit), realize
6602         that the while really is a regular for loop.
6603         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6604         setCursor in one place.
6605         (setParagraph): temp vr for ownerParagraphs().end()
6606         (updateCounters): make the while loop a for loop
6607         (cutSelection): temp var for ownerParagraphs().end()
6608         (updateInset): make the do {} while() a regular for loop
6609         (getCursorX): use temp vars
6610         (setCurrentFont): use temp vars
6611         (getColumnNearX): use temp vars
6612
6613 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6614
6615         * text.C (transformChar): use temp var for getChar
6616         (computeBidiTables): use temp var for row->par()
6617         (fill): move temp vars for row->par() and pit->layout() earlier in
6618         the function.
6619         (labelFill): use temp var for row->par()
6620         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6621         asc and desc, realize that pit never changes and that firstpit is
6622         just a duplicate and not needed. Exchange rit->par() with pit in a
6623         lot of places.
6624         (breakAgain): use a temp var for boost::next(rit)
6625         (breakAgainOneRow): ditto
6626         (breakParagraph): use a temp var for rows().begin()
6627         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6628         (cursorRightOneWord): use temp var for cursor.par() and
6629         cursor.pos(), remove usage of tmpcursor.
6630         (cursorLeftOneWord): use temp var for cursor.par() and
6631         cursor.pos() only set cur at end of function.
6632
6633 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6634
6635         * text.C, text2.C: exchange all usage of Paragraph::next with
6636         boost::next(ParagraphList::iterator)
6637
6638         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6639
6640         * text2.C (cursorTop): simplify implementation
6641         (cursorBottom): ditto
6642         (setParagraph): use ParagraphList::iterator
6643         (setCurrentFont): adjust
6644         (getColumnNearX): adjust
6645         (cursorRight): adjust
6646         (cursorLeft): remove usage of Paragraph::previous
6647         (cursorUpParagraph): ditto
6648         (deleteEmptyParagraphMechanism): slight cleanup
6649
6650         * text.C (isBoundary): take a Paragraph const & instead of a
6651         pointer as arg.
6652         (addressBreakPoint): ditto
6653         (leftMargin): remove usage of Paragraph::previous.
6654         (setHeightOfRow): ditto
6655         (cursorLeftOneWord): ditto
6656         (selectNextWordToSpellcheck): ditto
6657         (Delete): ditto
6658         (backspace): ditto
6659         (breakParagraph): remove one usage of Paragraph::next
6660         (redoParagraph): ditto
6661         (acceptChange): ditto
6662         (insertChar): adjust
6663         (rowBreakPoint): adjust
6664
6665         * bufferview_funcs.C (toggleAndShow): adjust
6666
6667 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
6668
6669         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6670         methods to access it.
6671         * lyxtext.h:
6672         * text.C: Added updateRowPositions to compute all row positions.
6673         Make top_y and getRowNearY() to use the cached y position
6674
6675 2003-04-11  John Levon  <levon@movementarian.org>
6676
6677         * text.C (rowBreakPoint): reintroduce the labelEnd
6678         checks, code copied from the row fill stuff. Deep voodoo.
6679
6680         * text.C (fill): add a comment and debugging for the
6681         next poor soul.
6682
6683 2003-04-11  John Levon  <levon@movementarian.org>
6684
6685         * text.C: make sure fullrow insets get wrapped to the next line,
6686         even when they're in a manual label
6687
6688 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6689
6690         * text2.C (insertParagraph): make it take ParagraphList::iterator
6691         as arg.
6692         (setLayout): make it return ParagraphList::iterator
6693         (redoParagraphs): ditto
6694         (setCounter): ditto
6695         (checkParagraph): ditto
6696
6697         * text.C (getRow): make getrow take ParagraphList::iterator as arg
6698
6699         * text2.C: adjust several funcs.
6700         (realizeFont): take a ParagraphList::iterator as arg.
6701         (getLayoutFont): ditto
6702         (getLabelFont): ditto
6703         (setCharFont): ditto
6704
6705         * text.C: adjust several funcs.
6706
6707 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6708
6709         * text.C (selectNextWordToSpellcheck): don't accidentally
6710         skip insets
6711
6712 2003-04-10  John Levon  <levon@movementarian.org>
6713
6714         * ToolbarBackend.C (getIcon): special handling for
6715         LFUN_MATH_DELIM
6716
6717 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6718
6719         * text2.C (cursorRight): a getChar assert fixed
6720
6721 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6722
6723         * text2.C (getFont): change to take a ParagraphList::iterator
6724         instead of Paragraph*
6725         Adjust several functions.
6726
6727         * text.C (transformChar): change to take a ParagraphList::iterator
6728         instead of Paragraph*
6729         (singleWidth): ditto
6730         Adjust several functions.
6731
6732         * rowpainter.C: adjust several functions
6733         * rowpainter.h:store a ParagraphList::iterator and not a
6734         Paragraph&.
6735
6736
6737 2003-04-09  John Levon  <levon@movementarian.org>
6738
6739         * lyxfunc.C:
6740         * lfuns.h:
6741         * LyXAction.h:
6742         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6743         and the "help" bits as well
6744
6745 2003-04-09  John Levon  <levon@movementarian.org>
6746
6747         * ToolbarBackend.h:
6748         * ToolbarBackend.C: allow multiple toolbars
6749
6750 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6751
6752         * undo_funcs.C (setCursorParUndo): adjust
6753
6754         * text_funcs.C (transposeChars): adjust
6755
6756         * text3.C (gotoNextInset): adjust
6757         (dispatch): adjust
6758
6759         * text2.C (setLayout): adjust
6760         (changeDepth): adjust
6761         (setFont): adjust
6762         (redoParagraphs): adjust
6763         (selectionAsString): adjust
6764         (setParagraph): adjust
6765         (insertInset): adjust
6766         (cutSelection): adjust
6767         (copySelection): adjust
6768         (pasteSelection): adjust
6769         (insertStringAsLines): adjust
6770         (updateInset): adjust
6771         (setCursor): change to take a ParagraphList::iterator parameter
6772         (setCursorIntern): change to take a ParagraphList::iterator parameter
6773         (setCurrentFont): adjust
6774         (cursorLeft): adjust
6775         (cursorRight): adjust
6776         (deleteEmptyParagraphMechanism): adjust
6777
6778         * text.C (breakParagraph): adjust
6779         (insertChar): adjust
6780         (acceptChange): adjust
6781         (rejectChange): adjust
6782         (selectNextWordToSpellcheck): adjust
6783         (changeCase): adjust
6784         (Delete): adjust
6785         (backspace): adjust
6786
6787         * lyxfind.C (SearchForward): adjust
6788         (SearchBackward): adjust
6789         (nextChange): adjust
6790
6791         * lyxcursor.C (par): adjust
6792
6793         * lyxcursor.h: store a ParagraphList::iterator instead of a
6794         Paragraph*
6795
6796         * lyx_cb.C (getPossibleLabel): adjust
6797
6798         * bufferview_funcs.C (toggleAndShow): adjust
6799
6800         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6801         (dispatch): adjust
6802
6803         * BufferView.C (removeAutoInsets): adjust
6804         (lockedInsetStoreUndo): adjust
6805
6806 2003-04-09  John Levon  <levon@movementarian.org>
6807
6808         * ToolbarBackend.C: try icon without argument
6809         if with argument fails
6810
6811 2003-04-08  John Levon  <levon@movementarian.org>
6812
6813         * ToolbarBackend.h:
6814         * ToolbarBackend.C: add getIcon(), handle tooltip,
6815         and change from "Icon" to "Item".
6816
6817 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6818
6819         * BufferView.C (lockInset): another bad getchar crunched
6820
6821 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6822
6823         * text2.C (changeDepth): do not setUndo on test_only (make undo work
6824         again)
6825
6826 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
6827
6828         * lyxfind.C (searchForward, searchBackwards): bug 782
6829
6830 2003-04-07  John Levon  <levon@movementarian.org>
6831
6832         * paragraph.C: remove dead comment
6833
6834         * text.C: remove troublesome depth-fiddling code
6835         in leftMargin() and rightMargin() (bug 1017)
6836
6837         * text.C: fix breaking of rows in nested lists
6838         (bug 1004)
6839
6840         * text2.C (updateCounters): fix up depth values
6841         (bug 1013)
6842
6843 2003-04-07  John Levon  <levon@movementarian.org>
6844
6845         * BufferView_pimpl.C: clear message when doc finishes resizing,
6846         and after a mouse event
6847
6848         * lyxfunc.C: clear message after exiting inset
6849
6850 2003-04-07  John Levon  <levon@movementarian.org>
6851
6852         * bufferview_funcs.C: show math status not outside
6853         status in the statusbar
6854
6855 2003-04-07  John Levon  <levon@movementarian.org>
6856
6857         * lyxfunc.C: note status changed after a depth change
6858
6859 2003-04-04  Angus Leeming  <leeming@lyx.org>
6860
6861         * LaTeX.h: move AuxInfo operator==, != out of line.
6862         Remove LaTeX virtual destructor; nothing derives from it.
6863         Move operator()() out of public area and rename it startscript().
6864         Change protected for private.
6865
6866 2003-04-04  Angus Leeming  <leeming@lyx.org>
6867
6868         * lyxfunc.C:
6869         * text2.C: remove unneeded #includes.
6870
6871 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6872
6873         * text2.C (dEPM): fix the heigth of the next row
6874
6875 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6876
6877         * text.C: squashed an invalid getChar requester + some ws changes
6878
6879 2003-04-03  John Levon  <levon@movementarian.org>
6880
6881         * bufferview_funcs.h:
6882         * bufferview_funcs.C:
6883         * lyxfunc.C:
6884         * lyxtext.h:
6885         * text2.C: make getStatus work for the env depth lfuns
6886
6887 2003-04-03  John Levon  <levon@movementarian.org>
6888
6889         * bufferview_funcs.h:
6890         * bufferview_funcs.C:
6891         * lyxfunc.C:
6892         * lyxtext.h:
6893         * text2.C: parlistize decDepth(), by merging it with incDepth()
6894
6895 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6896
6897         * lyxrow.h: store a ParagraphList::iterator instead of a
6898         Paragraph* and adjust other class functions to suit.
6899
6900         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6901         above.
6902
6903 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6904
6905         * text2.C (setCursor): do not anchor to cursor row for the time being
6906
6907 2003-04-02  John Levon  <levon@movementarian.org>
6908
6909         * LyXAction.C:
6910         * lfuns.h:
6911         * lyx_main.C:
6912         * lyxtext.h:
6913         * text.C:
6914         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6915
6916 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6917
6918         * paragraph.h: make ParagraphList and ParagraphList::iterator
6919         friends of Paragraph.
6920
6921         * buffer.C (makeLinuxDocFile): move towards ParagraphList
6922
6923         * ParagraphList.C: Use the private next_ and previous_ from
6924         Paragraph.
6925
6926 2003-04-01  John Levon  <levon@movementarian.org>
6927
6928         * ToolbarBackend.h:
6929         * ToolbarBackend.C:
6930         * Makefile.am: rename, remove defaults gunk
6931
6932         * MenuBackend.h:
6933         * MenuBackend.C: remove defaults gunk
6934
6935         * Languages.h:
6936         * Languages.C: remove defaults gunk
6937
6938         * lyx_main.h:
6939         * lyx_main.C: error out if files couldn't be found.
6940
6941 2003-04-02  John Levon  <levon@movementarian.org>
6942
6943         * text2.C: make incDepth() use parlist
6944
6945 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6946
6947         * undo_funcs.C (firstUndoParagraph): adjust
6948
6949         * text3.C (gotoInset): adjust
6950         (dispatch): adjust, and rewrite loop.
6951
6952         * text2.C (init): adjust, and rewrite loop.
6953         (redoParagraphs): adjust
6954         (updateInset): adjust, and rewrite loop.
6955         (deleteEmptyParagraphMechanism): adjust
6956
6957         * tabular.C (LyXTabular): adjust
6958         (SetMultiColumn): adjust
6959         (TeXRow): adjust
6960
6961         * lyxtext.[Ch] (ownerParagraph): delete function
6962         (ownerParagraphs): new function returns a ParagraphList.
6963
6964         * BufferView.C (removeAutoInsets): adjust
6965         (insertErrors): adjust
6966         (setCursorFromRow): adjust
6967
6968 2003-04-01  Angus Leeming  <leeming@lyx.org>
6969
6970         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6971         in the frontends.
6972
6973 2003-04-02  John Levon  <levon@movementarian.org>
6974
6975         * lyxtext.h:
6976         * text.C:
6977         * Makefile.am:
6978         * text_funcs.h:
6979         * text_funcs.C: make transposeChars a free function
6980
6981         * lyxrow_funcs.C: remove wrong comment
6982
6983 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6984
6985         * lyxtext.h: adjust
6986         * rowpainter.C: adjust
6987         * text.C: adjust
6988         * text2.C: adjust
6989         * text3.C: adjust
6990
6991         * lyxrow_funcs. [Ch]: new files
6992
6993         * lyxrow.[Ch]: remove next and previous pointers
6994         (next,previous): remove accessor functions
6995         (isParEnd): move to lyxrow_funcs
6996         (lastPos): move to lyxrow_funcs
6997         (nextRowIsAllInset): move to lyxrow_funcs
6998         (lastPrintablePos): move to lyxrow_funcs
6999         (numberOfSeparators): move to lyxrow_funcs
7000         (numberOfHfills): move to lyxrow_funcs
7001         (numberOfLabelHfills): move to lyxrow_funcs
7002         (hfillExpansion): move to lyxrow_funcs
7003
7004         * lyxfunc.C: adjust
7005
7006         * bufferview_funcs.C (toggleAndShow): adjust
7007
7008         * RowList.h: Remove class RowList from file leave just a
7009         std::list<Row>.
7010
7011         * RowList.C: delete file
7012
7013         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7014         and lyxrow_funcs.h
7015
7016 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7017
7018         * text3.C (cursorPrevious): adjust
7019         (cursorNext): adjust
7020         (dispatch): adjust
7021
7022         * text2.C (redoHeightOfParagraph): adjust
7023         (redoDrawingOfParagraph): adjust
7024         (setCursor): adjust
7025
7026         * text.C (breakParagraph): adjust
7027         (insertChar): adjust
7028         (backspace): adjust
7029
7030         * rowpainter.C (RowPainter): adjust
7031         (leftMargin): simplify and adjust
7032         (most rowpainter functions): adjust.
7033
7034         * rowpainter.h: store the row as RowList::iterator not as Row*
7035
7036         * lyxcursor.C (row): taka RowList::iterator as arg
7037         (irow): ditto
7038
7039         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7040         of Row*.
7041
7042 2003-04-01  Angus Leeming  <leeming@lyx.org>
7043
7044         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7045         stuff like bool Bool.
7046
7047 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7048
7049         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7050         rewrite a loop
7051
7052 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7053
7054         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7055         RowList::iterator.
7056
7057         * lyxtext.h (rows): drop one version and leve a const variant that
7058         returns a RowList::iterator.
7059
7060 2003-03-31  Angus Leeming  <leeming@lyx.org>
7061
7062         * text.C (fill): ensure that the signature is the same as that in the
7063         header file.
7064
7065 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
7066
7067         * text2.C (redoParagraphs): adjust
7068         (updateCounters): adjust
7069         (checkParagraph): adjust
7070         (getColumnNearX): adjust and reformat a bit.
7071
7072         * text.C (top_y): adjust
7073         (workWidth): adjust
7074         (leftMargin): adjust
7075         (prepareToPrint): adjust
7076         (getRow): adjust
7077         (getRowNearY): adjust
7078
7079         * lyxtext.h: make rowlist_ mutable.
7080
7081         * RowList.h: add const_iterator
7082         * RowList.C: adjust for RowList::const_iterator.
7083
7084         * text2.C (getCursorX): make it take a RowList::iterator as arg,
7085         adjust.
7086
7087 2003-03-31  John Levon  <levon@movementarian.org>
7088
7089         * lyxrc.h:
7090         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7091
7092         * lyx_main.C: set default fonts from using lyx_gui funcs
7093
7094         * exporter.C: pdf_mode moved from lyxrc
7095
7096         * lyx_cb.C:
7097         * lyxfunc.C: changes from above
7098
7099 2003-03-31  John Levon  <levon@movementarian.org>
7100
7101         * lyx_main.C: fix to the last fix
7102
7103 2003-03-31  John Levon  <levon@movementarian.org>
7104
7105         * bufferlist.C: "Load original" -> "Load Original"
7106
7107         * converter.C:
7108         * exporter.C:
7109         * importer.C:
7110         * lyx_main.C:
7111         * format.C: more Alert cleanups
7112
7113 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7114
7115         * text2.C (removeParagraph): make it take a RowList::iterator as
7116         arg, adjust.
7117         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7118         (postRowPaint): make it take a RowList::iterator as arg, adjust.
7119
7120         * text.C (anchor_row): make it take a RowList::iterator as arg,
7121         adjust.
7122         (computeBidiTables): make it take a const reference to Row instead
7123         of Row pointer, adjust.
7124         (leftMargin): make it take a RowList::iterator as arg, adjust.
7125         (rowBreakPoint): adjust
7126         (breakAgainOneRow): make it take a RowList::iterator as arg,
7127         adjust.
7128         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7129
7130         * bufferview_funcs.C (toggleAndShow): adjust
7131
7132 2003-03-30  John Levon  <levon@movementarian.org>
7133
7134         * Makefile.am:
7135         * BoostFormat.h:
7136         * boost-inst.C: moved to support
7137
7138         * several files: changes as a result
7139
7140 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7141
7142         * text2.C (LyXText): adjust.
7143         (init): adjust
7144         (removeRow): make it take a RowList::iterator as arg, adjust.
7145         (fullRebreak): adjust
7146         (deleteEmptyParagraphMechanism): adjust
7147         (clearPaint): adjust
7148         (postPaint): adjust
7149
7150         * text.C (top_y): adjust
7151         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7152         (breakAgain): make it take a RowList::iterator as arg, adjust.
7153         (breakParagraph): adjust
7154         (insertChar): adjust
7155         (backspace): adjust
7156
7157         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7158         need_break_row, and refresh_row.
7159
7160         * text3.C (dispatch): adjust
7161
7162         * text2.C (checkParagraph): adjust
7163         (setCursor): adjust
7164         (setCursorFromCoordinates): adjust
7165
7166         * text.C (top_y): adjust
7167         (workWidth): adjust
7168         (getRow): make it return a RowList::iterator, adjust
7169         (getRowNearY): make it return a RowList::iterator, adjust
7170
7171         * text2.C (init): adjust
7172         (insertRow): remove function
7173         (insertParagraph): adjust
7174         (redoParagraphs): adjust
7175         (fullRebreak): adjust
7176         (updateCounters): adjust
7177
7178         * text.C (top_y): rewrite to use RowList iterators.
7179         (top_y): adjust
7180         (setHeightOfRow): rewrite to sue RowList iterators.
7181         (appendParagraph): adjust
7182         (breakAgain): adjust
7183         (breakAgainOneRow): adjust
7184         (breakParagraph): adjust
7185         (getRow): adjust
7186         (getRowNearY): adjust, and remove commented code.
7187
7188         * lyxtext.h (firstRow): delete function
7189         (lastRow): delete function
7190         (rows): new function (const and non-const versions.)
7191         (insertRow): delete function
7192
7193         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7194
7195 2003-03-29  John Levon  <levon@movementarian.org>
7196
7197         * BufferView_pimpl.C: always update scrollbar top
7198         because pasting text when we're anchored could mean we
7199         miss an update altogether
7200
7201 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7202
7203         * text2.C (init): use rowlist_.end() and not 0.
7204         (insertRow): change to take a RowList::iterator as arg, adjust
7205         for this.
7206         (insertParagraph): change to take a RowList::iterator as arg,
7207         adjust for this.
7208         (redoParagraphs): remove some debug msgs.
7209
7210         * text.C (appendParagraph): change to take a RowList::iterator
7211         arg, adjust for this.
7212         (breakAgain): add an assert
7213         (breakAgainOneRow): ditto
7214
7215 2003-03-29  John Levon  <levon@movementarian.org>
7216
7217         * text2.C: do not clear selection after inc/decDepth
7218         (bug 550)
7219
7220 2003-03-29  John Levon  <levon@movementarian.org>
7221
7222         * BufferView.C:
7223         * buffer.C: fix broken strerrors according to Lars
7224
7225 2003-03-29  John Levon  <levon@movementarian.org>
7226
7227         * converters.C: more Alert cleanups
7228
7229 2003-03-29  John Levon  <levon@movementarian.org>
7230
7231         * bufferview_funcs.C: remove pointless Alert
7232
7233         * buffer.C: fix confusing error message when
7234         a template is chmoded 000
7235
7236 2003-03-29  John Levon  <levon@movementarian.org>
7237
7238         * BufferView.C:
7239         * BufferView.h:
7240         * BufferView_pimpl.C: Alert fixes
7241
7242         * Makefile.am:
7243         * tabular.C:
7244         * tabular-old.C: remove unused table compat reading
7245
7246 2003-03-29  John Levon  <levon@movementarian.org>
7247
7248         * BufferView.C:
7249         * buffer.C:
7250         * lyx_cb.h:
7251         * lyx_cb.C: more Alert cleanups
7252
7253         * lyxfunc.C: don't allow chktex if not latex document
7254
7255 2003-03-29  John Levon  <levon@movementarian.org>
7256
7257         * lyx_cb.C:
7258         * BufferView.C:
7259         * buffer.C: warnings pushed down from support/,
7260         kill err_alert
7261
7262 2003-03-29  John Levon  <levon@movementarian.org>
7263
7264         * lyxfunc.C: safety check for C-r (revert)
7265
7266 2003-03-29  John Levon  <levon@movementarian.org>
7267
7268         * bufferlist.h:
7269         * bufferlist.C: several UI fixes using Alert::prompt.
7270         Fix the pointless looping quit code. Fix stupid revert
7271         behaviour (bug 938)
7272
7273         * lyxvc.h:
7274         * lyxvc.C:
7275         * lyx_cb.C: use Alert::prompt
7276
7277         * lyx_main.C: remove a silly question
7278
7279         * lyxfunc.C: remove a couple of silly questions,
7280         use Alert::prompt
7281
7282 2003-03-28  John Levon  <levon@movementarian.org>
7283
7284         * text2.C: fix bug 974 (End on empty par)
7285
7286 2003-03-28  John Levon  <levon@movementarian.org>
7287
7288         * BufferView_pimpl.C:
7289         * LyXAction.C:
7290         * lfuns.h: remove do-nothing math greek lfuns
7291
7292 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7293
7294         * lyxgluelength.h (isValidGlueLength): add default arg on
7295         parameter 2. Remove default arg from friend in class.
7296
7297         * lyxlength.h (isValidLength): add default arg on parameter 2.
7298         Remove default arg from friend in class.
7299
7300         * text2.C (LyXText): adjust, initialize refresh_row.
7301         (init): adjust
7302         (removeRow): adjust
7303         (insertRow): adjust
7304         (insertParagraph): adjst
7305         (redoParagraphs): adjust
7306         (fullRebreak): adjust
7307         (updateCounters): adjust
7308         (deleteEmptyParagraphMechanism): first attempt at fixing a
7309         crashing bug.
7310
7311         * text.C (top_y): adjust
7312         (setHeightOfRow): adjust
7313         (getRow): adjust
7314         (getRowNearY): adjust
7315
7316         * lyxtext.h: include RowList.h
7317         (~LyXText): not needed anymore, deleted.
7318         (firstRow): modify for RowList
7319         (lastRow): new function
7320         Delete firstrow and lastrow class variables, add a Rowlist
7321         rowlist_ class variable.
7322
7323         * lyxrow.C (lastPos): use empty() and not !size() to check if a
7324         paragraph is empty.
7325
7326         * RowList.C (insert): fix case where it == begin().
7327
7328 2003-03-26  Angus Leeming  <leeming@lyx.org>
7329
7330         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7331         the thesaurus dialog.
7332
7333 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7334
7335         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7336
7337         * RowList.[Ch]: new files
7338
7339         * ParagraphList.C (erase): handle the case where it == begin
7340         correctly.
7341
7342 2003-03-25  John Levon  <levon@movementarian.org>
7343
7344         * Makefile.am:
7345         * aspell_local.h:
7346         * aspell.C: add new aspell support
7347
7348         * lyxrc.h:
7349         * lyxrc.C: Make use_pspell be use_spell_lib. Always
7350         have it accessible.
7351
7352 2003-03-25  Angus Leeming  <leeming@lyx.org>
7353
7354         * lfuns.h:
7355         * LyXAction.C (init): new LFUN_INSET_INSERT.
7356
7357         * BufferView_pimpl.C (dispatch): split out part of the
7358         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7359
7360         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7361         LFUN_INSET_APPLY.
7362
7363 2003-03-25  Angus Leeming  <leeming@lyx.org>
7364
7365         * lyxfunc.C (dispatch): changes to the Dialogs interface.
7366
7367 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
7368
7369         * text2.C:
7370         * text3.C: remove useless row->height(0)
7371
7372 2003-03-25  John Levon  <levon@movementarian.org>
7373
7374         * lyxtext.h:
7375         * text2.C:
7376         * text3.C: rename the refreshing stuff to better names
7377
7378 2003-03-24  John Levon  <levon@movementarian.org>
7379
7380         * BufferView_pimpl.h:
7381         * BufferView_pimpl.C: update layout choice on a mouse
7382         press/release
7383
7384 2003-03-23  John Levon  <levon@movementarian.org>
7385
7386         * Makefile.am: fix commandtags.h reference
7387
7388 2003-03-22  John Levon  <levon@movementarian.org>
7389
7390         * BufferView_pimpl.C:
7391         * lyxtext.h:
7392         * rowpainter.C:
7393         * rowpainter.h:
7394         * text.C:
7395         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7396
7397 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
7398
7399         * lyxtext.h:
7400         * text.C: take the rtl methods out of line
7401
7402 2003-03-21 André Pönitz <poenitz@gmx.net>
7403
7404         * metricsinfo.[Ch]: new files containing structures to be passed around
7405         during the two-phase-drawing...
7406
7407 2003-03-21 André Pönitz <poenitz@gmx.net>
7408
7409         * lyxtextclass.C: read 'environment' tag.
7410
7411 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
7412
7413         * text2.C (removeRow): fix bug 964
7414
7415 2003-03-20  John Levon  <levon@movementarian.org>
7416
7417         * rowpainter.C:
7418         * text.C:
7419         * text2.C: paint cleanups. Inset::update() dropped font
7420         parameter
7421
7422 2003-03-19  John Levon  <levon@movementarian.org>
7423
7424         * lyxfunc.C: only fitcursor/markDirty if available()
7425
7426 2003-03-19  John Levon  <levon@movementarian.org>
7427
7428         * commandtags.h: rename to ...
7429
7430         * lfuns.h: ... this, and renumber / cleanup
7431
7432 2003-03-19  John Levon  <levon@movementarian.org>
7433
7434         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7435         fit the cursor after an lfun
7436
7437         * BufferView.h:
7438         * BufferView.C:
7439         * BufferView_pimpl.h:
7440         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7441
7442         * LyXAction.C: layout-character should have ReadOnly
7443
7444         * ParagraphParameters.C:
7445         * buffer.C:
7446         * bufferview_funcs.C:
7447         * lyx_cb.C:
7448         * lyxfind.C:
7449         * lyxtext.h:
7450         * text.C:
7451         * text2.C:
7452         * text3.C:
7453         * undo_funcs.C: changes from above
7454
7455 2003-03-18  John Levon  <levon@movementarian.org>
7456
7457         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7458         remove it from update()
7459
7460         * lyxfunc.C: update layout choice after an lfun
7461
7462         * text3.C: remove extra updateLayoutChoice()s
7463
7464 2003-03-18  John Levon  <levon@movementarian.org>
7465
7466         * text.C: top_y change means full repaint, fix
7467         a drawing bug with cursor movement
7468
7469 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7470
7471         * lyxtext.h:
7472         * text.C:
7473         * text2.C: anchor row on setCursor
7474
7475 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7476
7477         * lyxtext.h: remove almost all mutable keywords
7478         * text.C:
7479         * text2.C:
7480         * text3.C: remove const keywords accordingly
7481
7482 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7483
7484         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7485         anon namespace
7486         (TeXEnvironment): ditto
7487         (TeXOnePar): ditto
7488
7489 2003-03-17  John Levon  <levon@movementarian.org>
7490
7491         * text.C (rowBreakPoint): remove attempt to fix displayed
7492         math insets inside a manual label
7493
7494 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7495
7496         * lyxtext.h: remove BufferView* as first arg from almost all class
7497         functions.
7498         * other files: adjust.
7499
7500 2003-03-17  John Levon  <levon@movementarian.org>
7501
7502         * lyxtext.h:
7503         * undo_funcs.C:
7504         * text2.C: more paint cleanups
7505
7506         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7507
7508         * rowpainter.h:
7509         * rowpainter.C: remove "smart" background painting code
7510
7511 2003-03-16  John Levon  <levon@movementarian.org>
7512
7513         * lyxtext.h:
7514         * text.C:
7515         * text2.C:
7516         * text3.C: add helper functions for setting refresh_row/y
7517
7518 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
7519
7520         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7521         newline inset which *can* get inserted in the pass_thru layouts.
7522         This is primarily for literate documents.
7523
7524 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
7525
7526         * buffer.C: increment LYX_FORMAT to 223
7527
7528 2003-03-14 André Pönitz <poenitz@gmx.net>
7529
7530         * textclass.h: prepare for environment handling, ws changes
7531         * lyxlayout.C: read latexheader and latexfooter tags
7532
7533 2003-03-14  John Levon  <levon@movementarian.org>
7534
7535         * text2.C: rewrite ::status() a bit
7536
7537 2003-03-13  John Levon  <levon@movementarian.org>
7538
7539         * lyxtext.h: add some docs
7540
7541 2003-03-13  John Levon  <levon@movementarian.org>
7542
7543         * lyxtext.h:
7544         * text.C:
7545         * text2.C:
7546         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7547
7548 2003-03-13  John Levon  <levon@movementarian.org>
7549
7550         * text3.C: fix appendix redrawing
7551
7552 2003-03-13  John Levon  <levon@movementarian.org>
7553
7554         * text.C (setHeightOfRow):
7555         * rowpainter.h:
7556         * rowpainter.C: make appendix mark have the text
7557           "Appendix" so the user knows what it is
7558
7559         * LColor.h:
7560         * LColor.C: s/appendixline/appendix/ from above
7561
7562 2003-03-13  John Levon  <levon@movementarian.org>
7563
7564         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7565
7566         * text.C: fix a getChar(pos) bug properly
7567
7568 2003-03-13  Angus Leeming  <leeming@lyx.org>
7569
7570         * commandtags.h:
7571         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7572         Probably only temporary. Let's see how things pan out.
7573
7574         * BufferView.C (unlockInset):
7575         * BufferView_pimpl.C (fitCursor):
7576         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7577
7578         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7579         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7580
7581         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7582         new functions that convert ParagraphParameters to and from a string.
7583
7584         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7585         BufferView::Pimpl's dispatch.
7586         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7587
7588 2003-03-13 André Pönitz <poenitz@gmx.net>
7589
7590         * lyxfunc.C:
7591         * text3.C:
7592         * factory.C: make it aware of InsetEnv
7593
7594 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7595
7596         * text2.C (setCursor): never ask for one past last
7597         (setCursor): add some debugging messages.
7598
7599         * text.C (singleWidth): never ask for one past last
7600         (singleWidth): ditto
7601         (leftMargin): ditto
7602         (rightMargin): ditto
7603         (rowBreakPoint): ditto
7604         (setHeightOfRow): ditto
7605         (prepareToPrint): ditto
7606
7607         * rowpainter.C (paintBackground): never ask for one past last
7608         (paintText): never ask for one past last
7609
7610         * paragraph_pimpl.C (getChar): make the assert stricter, never
7611         allow the one past last pos to be taken
7612
7613         * paragraph.C (getChar): ws changes only
7614
7615         * lyxrow.C (nextRowIsAllInset): never ask for one past last
7616         (numberOfSeparators): ditto
7617         (numberOfHfills): ditto
7618
7619 2003-03-12  John Levon  <levon@movementarian.org>
7620
7621         * author.h:
7622         * author.C:
7623         * bufferparams.h:
7624         * bufferparams.C:
7625         * paragraph_funcs.C: fix per-buffer authorlists
7626
7627 2003-03-12  John Levon  <levon@movementarian.org>
7628
7629         * text.C: fix newline in right address
7630
7631 2003-03-12  Angus Leeming  <leeming@lyx.org>
7632
7633         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7634         duplicate those in LyXFunc::dispatch.
7635
7636         * commandtags.h:
7637         * LyXAction.C:
7638         * ToolbarDefaults.C:
7639         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7640         Add LFUN_FONTFREE_UPDATE.
7641
7642         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7643         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7644
7645         * bufferview_func.[Ch]: several new functions to facilliate
7646         transfer of data to and from the character dialog.
7647
7648 2003-03-12  John Levon  <levon@movementarian.org>
7649
7650         * buffer.C:
7651         * paragraph.h:
7652         * paragraph.C:
7653         * paragraph_funcs.C:
7654         * paragraph_pimpl.C:
7655         * sgml.C:
7656         * tabular.C:
7657         * text.C:
7658         * text3.C: remove META_NEWLINE in favour of an inset
7659
7660         * rowpainter.h:
7661         * rowpainter.C: remove paintNewline (done by inset)
7662
7663 2003-03-12  John Levon  <levon@movementarian.org>
7664
7665         * paragraph_pimpl.C: complain about bad getChar()s
7666         for a while at least
7667
7668 2003-03-12  John Levon  <levon@movementarian.org>
7669
7670         * buffer.h:
7671         * buffer.C: move paragraph read into a separate function,
7672         a little renaming to reflect that.
7673
7674         * bufferparams.h:
7675         * bufferparams.C: remove the author_ids map, not necessary now
7676
7677         * factory.h:
7678         * factory.C: moved Buffer::readInset to here
7679
7680         * paragraph_funcs.h:
7681         * paragraph_funcs.C: readParagraph free function moved from
7682         buffer.C
7683
7684         * tabular.C: name change
7685
7686 2003-03-12  John Levon  <levon@movementarian.org>
7687
7688         * buffer.C:
7689         * ParagraphParameters.C: move par params input to
7690         a read() method
7691
7692         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7693         behave like a normal read from the stream wrt reading
7694         a line vs. a \\token
7695
7696 2003-03-12  John Levon  <levon@movementarian.org>
7697
7698         * paragraph.C:
7699         * ParagraphParameters.h:
7700         * ParagraphParameters.C: move output code to a
7701         ::write() method
7702
7703 2003-03-12  John Levon  <levon@movementarian.org>
7704
7705         * BufferView.C (insertLyXFile):
7706         * buffer.h:
7707         * buffer.C:
7708         * tabular.C: use a parlist iterator for creating the
7709           document.
7710
7711 2003-03-12  John Levon  <levon@movementarian.org>
7712
7713         * buffer.C: make current_change static local not
7714           static file-scope
7715
7716 2003-03-12  John Levon  <levon@movementarian.org>
7717
7718         * buffer.C: fix insertStringAsLines for change tracking
7719
7720 2003-03-12  John Levon  <levon@movementarian.org>
7721
7722         * BufferView.C:
7723         * tabular.C:
7724         * buffer.h:
7725         * buffer.C:
7726         * bufferparams.h:
7727         * bufferparams.C: move author list into params. Rename some
7728           functions. Move the header reading into a separate token
7729           loop. Move the header token reading into BufferParams.
7730
7731 2003-03-12  John Levon  <levon@movementarian.org>
7732
7733         * changes.C: put debug inside lyxerr.debugging() checks
7734
7735 2003-03-11 André Pönitz <poenitz@gmx.net>
7736
7737         * factory.C: make it aware of InsetHFill
7738
7739 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7740
7741         * buffer.C (latexParagraphs): move function from here...
7742         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7743         args.
7744
7745 2003-03-10  Angus Leeming  <leeming@lyx.org>
7746
7747         * LyXAction.C (init): fix bug in poplating array with multiple entries
7748         with the same LFUN (spotted by JMarc).
7749
7750 2003-03-10  John Levon  <levon@movementarian.org>
7751
7752         * text.C:
7753         * text2.C: move getColumnNearX() near its
7754         only call site
7755
7756 2003-03-10  John Levon  <levon@movementarian.org>
7757
7758         * text.C: fix break before a minipage
7759
7760 2003-03-10  John Levon  <levon@movementarian.org>
7761
7762         * text.C: fix the last commit
7763
7764 2003-03-09  John Levon  <levon@movementarian.org>
7765
7766         * lyxtext.h:
7767         * text.C:
7768         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7769         bug 365 (don't break before insets unless needed). Don't
7770         return a value > last under any circumstances.
7771
7772 2003-03-09  Angus Leeming  <leeming@lyx.org>
7773
7774         * BufferView_pimpl.C (trackChanges, dispatch): call
7775         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7776
7777 2003-03-09  Angus Leeming  <leeming@lyx.org>
7778
7779         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7780         than Dialogs::showAboutlyx().
7781
7782 2003-03-09  Angus Leeming  <leeming@lyx.org>
7783
7784         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7785         than Dialogs::showTabularCreate().
7786
7787 2003-03-09  John Levon  <levon@movementarian.org>
7788
7789         * lyxtext.h:
7790         * text.C:
7791         * text2.C: 3rd arg to nextBreakPoint was always the same.
7792           Use references.
7793
7794 2003-03-08  John Levon  <levon@movementarian.org>
7795
7796         * lyxrow.C:
7797         * paragraph.C:
7798         * paragraph.h:
7799         * rowpainter.C:
7800         * text.C:
7801         * text2.C: Remove the "main" bit from the "main body"
7802           notion.
7803
7804 2003-03-08  John Levon  <levon@movementarian.org>
7805
7806         * text.C (leftMargin): The left margin of an empty
7807         manual label paragraph should not include the label width
7808         string length.
7809
7810         * text.C (prepareToPrint): don't attempt to measure hfills
7811         for empty manual label paragraphs - the answer should be 0
7812
7813 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7814
7815         * CutAndPaste.C: remove commented code and reindent.
7816
7817 2003-03-08  John Levon  <levon@movementarian.org>
7818
7819         * lyxfunc.h:
7820         * lyxfunc.C: move reloadBuffer()
7821
7822         * BufferView.h:
7823         * BufferView.C: to here
7824
7825         * lyxvc.C: add comment
7826
7827         * vc-backend.h:
7828         * vc-backend.C: call bv->reload() to avoid
7829           getStatus() check on MENURELOAD
7830
7831 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
7832
7833         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7834         to an old format .dep file.
7835
7836 2003-03-07  Angus Leeming  <leeming@lyx.org>
7837
7838         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7839         when the LFUN_MOUSE_RELEASE should have been handled by
7840         inset->localDispatch.
7841
7842 2003-03-07  Angus Leeming  <leeming@lyx.org>
7843
7844         * BufferView_pimpl.C (dispatch):
7845         * LyXAction.C (init):
7846         * ToolbarDefaults.C (init):
7847         * commandtags.h:
7848         * lyxfunc.C (getStatus):
7849         remove LFUN_INSET_GRAPHICS.
7850
7851         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7852
7853 2003-03-07  Angus Leeming  <leeming@lyx.org>
7854
7855         * commandtags.h:
7856         * LyXAction.C (init):
7857         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7858
7859         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7860
7861         * commandtags.h:
7862         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7863
7864         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7865         localDispatch method LFUN_INSET_DIALOG_UPDATE.
7866
7867 2003-03-07  Angus Leeming  <leeming@lyx.org>
7868
7869         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7870         remove "ert".
7871
7872 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7873
7874         * ParagraphList.C (front): new function
7875         (back): implement
7876
7877 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
7878
7879         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7880         and top_row_offset_. removed var first_y.
7881         * text.C (top_y):
7882         * text2.C (LyXText, removeRow):
7883         * text3.C:
7884         * BufferView_pimpl.C:
7885         use these methods instead of using first_y
7886
7887 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7888
7889         * text2.C (pasteSelection): adjust for checkPastePossible
7890
7891         * CutAndPaste.C: remove Paragraph * buf and replace with
7892         ParagraphList paragraphs.
7893         (DeleteBuffer): delete
7894         (cutSelection): change the tc type to textclass_type
7895         (copySelection): change the tc type to textclass_type
7896         (copySelection): adjust for ParagraphList
7897         (pasteSelection): change the tc type to textclass_type
7898         (pasteSelection): adjust for Paragraphlist
7899         (nrOfParagraphs): simplify for ParagraphList
7900         (checkPastePossible): simplify for ParagraphList
7901         (checkPastePossible): remove unused arg
7902
7903         * ParagraphList.C (insert): handle the case where there are no
7904         paragraphs yet.
7905
7906         * CutAndPaste.h: make CutAndPaste a namespace.
7907
7908         * text3.C (dispatch): adjust
7909
7910         * text.C (breakParagraph): add a ParagraphList as arg
7911
7912         * paragraph_funcs.C (breakParagraph): change to take a
7913         BufferParams and a ParagraphList as args.
7914         (breakParagraphConservative): ditto
7915         (mergeParagraph): ditto
7916         (TeXDeeper): add a ParagraphList arg
7917         (TeXEnvironment): ditto
7918         (TeXOnePar): ditto
7919
7920         * buffer.C (readLyXformat2): adjust
7921         (insertStringAsLines): adjust
7922         (latexParagraphs): adjust
7923
7924         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7925         (cutSelection): adjust
7926         (pasteSelection): adjust
7927
7928         * BufferView_pimpl.C (insertInset): adjust
7929
7930 2003-03-05  Angus Leeming  <leeming@lyx.org>
7931
7932         * commandtags.h:
7933         * LyXAction.C (init):
7934         * BufferView_pimpl.C (dispatch):
7935         * lyxfunc.C (getStatus):
7936         remove LFUN_CHILD_INSERT.
7937
7938         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7939
7940 2003-03-05  Angus Leeming  <leeming@lyx.org>
7941
7942         * commandtags.h:
7943         * LyXAction.C (init):
7944         * src/factory.C (createInset):
7945         * lyxfunc.C (getStatus):
7946         * text3.C (dispatch):
7947         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7948
7949         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7950
7951 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7952
7953         * ParagraphList.C (insert): handle insert right before end()
7954         (erase): fix cases where it can be first or last paragraph.
7955
7956 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7957
7958         * paragraph_funcs.C (TeXEnvironment): remove all usage of
7959         Paragraph::next and Paragraph::previous
7960         (TeXOnePar): ditto
7961
7962         * text.C (breakParagraph): adjust
7963
7964         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7965         BufferParams& as arg.
7966         (breakParagraph): use ParagraphList::insert
7967         (breakParagraphConservative): take a Buffer* instead of a
7968         BufferParams& as arg.
7969         (breakParagraphConservative): use ParagraphList::insert.
7970
7971         * buffer.C (insertStringAsLines): un-const it
7972         (insertStringAsLines): adjust
7973
7974         * ParagraphList.C (insert): new function
7975
7976         * CutAndPaste.C (pasteSelection): adjust
7977
7978         * text.C (backspace): adjust
7979
7980         * tabular.C (SetMultiColumn): adjust
7981
7982         * CutAndPaste.C (cutSelection): adjust
7983         (pasteSelection): adjust
7984
7985         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7986         Buffer const * as arg
7987
7988         * ParagraphList.C (erase): new function
7989         * paragraph_funcs.C (mergeParagraph): use it
7990         (mergeParagraph): make it take a Buffer* instead of a
7991         BufferParams* as arg
7992
7993         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7994         as arg
7995         (breakParagraphConservative): ditto
7996
7997         * paragraph.h: remove the breakParagraph friend
7998
7999         * paragraph.C (eraseIntern): new function
8000         (setChange): new function
8001
8002         * paragraph_funcs.C (mergeParagraph): make it take a
8003         ParagraphList::iterator instead of a Paragraph *, adjust
8004         accordingly.
8005
8006         * paragraph.h: move an #endif so that the change tracking stuff
8007         also works in the NO_NEXT case.
8008
8009 2003-03-04  Angus Leeming  <leeming@lyx.org>
8010
8011         * commandtags.h:
8012         * LyXAction.C: new LFUN_INSET_MODIFY.
8013
8014         * BufferView_pimpl.C (dispatch): if an inset is found to be open
8015         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8016
8017 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8018
8019         * several files: ws changes only
8020
8021         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8022         (TeXEnvironment): ditto
8023         (TeXDeeper): ditto
8024
8025         * buffer.C (makeLaTeXFile): adjust
8026         (latexParagraphs): make it take ParagraphList::iterator as args
8027
8028 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8029
8030         * buffer.C (latexParagraphs): adjust
8031
8032         * paragraph.C (TeXOnePar): move function...
8033         (optArgInset): move function...
8034         (TeXEnvironment): move function...
8035         * paragraph_pimpl.C (TeXDeeper): move function...
8036         * paragraph_funcs.C: ...here
8037
8038         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8039
8040 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8041
8042         * buffer.C (readInset): remove compability code for old Figure and
8043         InsetInfo insets
8044
8045 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8046
8047         * buffer.C: ws changes
8048         (readInset):
8049
8050         * BufferView_pimpl.C: ditto
8051         * author.C: ditto
8052         * buffer.h: ditto
8053         * bufferlist.h: ditto
8054         * changes.h: ditto
8055         * lyxfunc.C: ditto
8056
8057 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
8058
8059         * converter.[Ch]: split into itself +
8060         * graph.[Ch]
8061         * format.[Ch]
8062         * Makefile.am: += graph.[Ch] + format.[Ch]
8063         * MenuBackend.C
8064         * buffer.C
8065         * exporter.C
8066         * importer.C
8067         * lyx_main.C
8068         * lyxfunc.C
8069         * lyxrc.C: added #include "format.h"
8070
8071 2003-02-27  Angus Leeming  <leeming@lyx.org>
8072
8073         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8074           a label.
8075
8076         * factory.C (createInset): add "label" to the factory.
8077
8078         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8079           string and do no more.
8080
8081 2003-02-27  Angus Leeming  <leeming@lyx.org>
8082
8083         * commandtags.h:
8084         * LyXAction.C (init):
8085         * factory.C (createInset):
8086         * BufferView_pimpl.C (dispatch):
8087           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8088
8089         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8090
8091         * lyxfunc.C (dispatch):
8092         * text3.C (dispatch): pass name to params2string.
8093
8094 2003-02-26  Angus Leeming  <leeming@lyx.org>
8095
8096         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8097           blocks together.
8098           Rearrange the ~includes. Strip out the unnecessary ones.
8099
8100         * factory.C (createInset): reformat.
8101           create new insets for the various LFUN_XYZ_APPLY lfuns.
8102
8103 2003-02-26  John Levon  <levon@movementarian.org>
8104
8105         * lyxrow.h:
8106         * lyxrow.C: add isParStart,isParEnd helpers
8107
8108         * paragraph.h: make isInserted/DeletedText take refs
8109
8110         * paragraph_funcs.h:
8111         * paragraph_funcs.C: remove #if 0'd code
8112
8113         * lyxtext.h:
8114         * text3.C:
8115         * text2.C:
8116         * text.C: use lyxrow helpers above.
8117           Move draw and paint routines to RowPainter.
8118           Make several methods use refs not pointers.
8119           Make backgroundColor() const.
8120           Add markChangeInDraw(), isInInset().
8121           Merge changeRegionCase into changeCase.
8122           Make workWidth() shouldn't-happen code into an Assert.
8123
8124         * rowpainter.h:
8125         * rowpainter.C: new class for painting a row.
8126
8127         * vspace.h:
8128         * vspace.C: make inPixels take a ref
8129
8130 2003-02-26  Angus Leeming  <leeming@lyx.org>
8131
8132         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8133         LFUN_REF_APPLY.
8134
8135 2003-02-25  John Levon  <levon@movementarian.org>
8136
8137         * ispell.C: give the forked command a more accurate name
8138
8139 2003-02-22  John Levon  <levon@movementarian.org>
8140
8141         * toc.h:
8142         * toc.C: make TocItem store an id not a Paragraph *
8143           (bug #913)
8144
8145 2003-02-21  Angus Leeming  <leeming@lyx.org>
8146
8147         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8148           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8149           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8150           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8151           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8152           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8153
8154         * BufferView_pimpl.C (dispatch):
8155         * LyXAction.C (init):
8156         * factory.C (createInset):
8157         * lyxfunc.C (getStatus, dispatch):
8158         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8159
8160 2003-02-21  Angus Leeming  <leeming@lyx.org>
8161
8162         * BufferView_pimpl.C (MenuInsertLyXFile):
8163         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8164         * lyxfunc.C (menuNew, open, doImport):
8165           no longer pass a LyXView & to fileDlg.
8166
8167 2003-02-21  Angus Leeming  <leeming@lyx.org>
8168
8169         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8170         * LyXAction.C: change, BIBKEY to BIBITEM.
8171         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8172         Change InsetBibKey to InsetBibitem.
8173         Change BIBKEY_CODE to BIBITEM_CODE.
8174         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8175         * factory.C: replace insetbib.h with insetbibitem.h.
8176         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8177         * paragraph.C: replace insetbib.h with insetbibitem.h.
8178         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8179         Change bibkey() to bibitem().
8180         * text.C: remove insetbib.h.
8181         * text2.C: replace insetbib.h with insetbibitem.h.
8182         change bibkey() to bibitem().
8183         * text3.C: remove insetbib.h.
8184         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8185
8186 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8187
8188         * lyxrc.C (output): enclose user email in quotes (in case there are
8189         several words)
8190
8191 2003-02-18  John Levon  <levon@movementarian.org>
8192
8193         * buffer.h: add std::
8194
8195 2003-02-17  John Levon  <levon@movementarian.org>
8196
8197         * SpellBase.h:
8198         * ispell.h:
8199         * ispell.C:
8200         * pspell.h:
8201         * pspell.C: reworking. Especially in ispell, a large
8202           number of clean ups and bug fixes.
8203
8204         * lyxfunc.C: fix revert to behave sensibly
8205
8206 2003-02-17 André Pönitz <poenitz@gmx.net>
8207
8208         * LyXAction.C:
8209         * commandtags.h: new LFUN_INSERT_BIBKEY
8210
8211         * layout.h:
8212         * lyxlayout.C:
8213         * buffer.C:
8214         * factory.C:
8215         * text.C:
8216         * text2.C:
8217         * text3.C:
8218         * paragraph.[Ch]:
8219         * paragraph_func.C: remove special bibkey handling
8220
8221 2003-02-17  John Levon  <levon@movementarian.org>
8222
8223         * text.C (Delete): fix case where delete at the end of
8224           the very first paragraph would not merge the pars
8225
8226 2003-02-17  John Levon  <levon@movementarian.org>
8227
8228         * lyxrow.C: fix lastPrintablePos()
8229
8230 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8231
8232         * bufferparams.C (writeLaTeX): add a std:here
8233
8234         * buffer.C: and remove a using directive there
8235
8236 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8237
8238         * buffer.C (makeLaTeXFile): move the code that generates the
8239           preamble...
8240
8241         * bufferparams.C (writeLaTeX): ... in this new method
8242
8243         * LaTeXFeatures.C (getEncodingSet): make const
8244           (getLanguages): make const
8245
8246         * MenuBackend.C (binding): returns the binding associated to this
8247           action
8248           (add): sets the status of each item by calling getStatus. Adds
8249           some intelligence.
8250           (read): add support for OptSubMenu
8251           (expand): remove extra separator at the end of expanded menu
8252
8253 2003-02-15  John Levon  <levon@movementarian.org>
8254
8255         * BufferView.C:
8256         * BufferView_pimpl.C:
8257         * bufferlist.h:
8258         * bufferlist.C: remove pointless BufferStorage bloat. Remove
8259           inset code that had no actual effect. Remove unneeded status
8260           code.
8261
8262 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8263
8264         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8265           in preamble
8266
8267 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
8268
8269         * text.C (drawLengthMarker): also draw an arrow marker for
8270           symbolic lengths (medskip...)
8271
8272 2003-02-14  John Levon  <levon@movementarian.org>
8273
8274         * tabular.h:
8275         * tabular.C: better method names
8276
8277 2003-02-14  John Levon  <levon@movementarian.org>
8278
8279         * BufferView_pimpl.C:
8280         * bufferlist.C:
8281         * buffer.C:
8282         * converter.C:
8283         * lyx_cb.C:
8284         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8285           it's a more accurate name. Remove some pointless uses.
8286
8287 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8288
8289         * text2.C (LyXText): change order of initilizers to shut off
8290           warnings
8291
8292 2003-02-14  John Levon  <levon@movementarian.org>
8293
8294         * buffer.C: use ParIterator for getParFromID()
8295
8296         * paragraph.h:
8297         * paragraph.C:
8298         * paragraph_pimpl.h:
8299         * paragraph_pimpl.C: remove unused getParFromID()
8300
8301 2003-02-14  John Levon  <levon@movementarian.org>
8302
8303         * buffer.C: remove some very old #if 0'd parse code
8304
8305 2003-02-13  John Levon  <levon@movementarian.org>
8306
8307         * text.h:
8308         * text.C:
8309         * text2.C: move hfillExpansion(), numberOfSeparators(),
8310           rowLast(), rowLastPrintable(), numberofHfills(),
8311           numberOfLabelHfills() ...
8312
8313         * lyxrow.h:
8314         * lyxrow.C: ... to member functions here.
8315
8316         * paragraph.h:
8317         * paragraph.C:
8318         * lyxtext.h:
8319         * text.C: remove LyXText::beginningOfMainBody(), and call
8320           p->beginningOfMainBody() directly. Move the check for
8321           LABEL_MANUAL into the latter.
8322
8323         * text.h:
8324         * text.C:
8325         * text2.C:
8326         * vspace.C:
8327         * BufferView.h:
8328         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8329
8330         * text.h:
8331         * text.C:
8332         * text2.C:
8333         * text3.C:
8334         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8335           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8336
8337 2003-02-13  John Levon  <levon@movementarian.org>
8338
8339         * CutAndPaste.C: remove debug
8340
8341 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8342
8343         * paragraph.C (asString): remove two unused variables
8344
8345         * lyxtextclass.C (readTitleType):
8346           (Read):
8347           (LyXTextClass): handle new members titletype_ and titlename_
8348
8349         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8350
8351 2003-02-09  John Levon  <levon@movementarian.org>
8352
8353         * buffer.h:
8354         * buffer.C: replace hand-coded list with a map for the dep clean
8355
8356 2003-02-08  John Levon  <levon@movementarian.org>
8357
8358         * LaTeX.C: consolidate code into showRunMessage() helper
8359
8360 2003-02-08  John Levon  <levon@movementarian.org>
8361
8362         * lyxfind.C:
8363         * lyxtext.h:
8364         * text2.C:
8365         * BufferView.C: change setSelectionOverString() to setSelectionRange()
8366           and pass the size in explicitly
8367
8368         * BufferView_pimpl.h:
8369         * BufferView_pimpl.C:
8370         * BufferView.h:
8371         * BufferView.C: add getCurrentChange()
8372
8373         * BufferView_pimpl.h:
8374         * BufferView_pimpl.C: handle change lfuns
8375
8376         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8377           for changes. Mark pasted paragraphs as new.
8378
8379         * support/lyxtime.h:
8380         * support/lyxtime.C:
8381         * DepTable.C: abstract time_t as lyx::time_type
8382
8383         * LColor.h:
8384         * LColor.C: add colours for new text, deleted text, changebars
8385
8386         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8387           package use "usenames" option.
8388
8389         * commandtags.h:
8390         * lyxfunc.C:
8391         * LyXAction.C: add change lfuns
8392
8393         * Makefile.am:
8394         * author.h:
8395         * author.C: author handling
8396
8397         * buffer.h:
8398         * buffer.C: add a per-buffer author list, with first entry as
8399           current author. Handle new .lyx tokens for change tracking. Output
8400           author list to .lyx file. Output dvipost stuff to .tex preamble.
8401           Bump lyx format to 222.
8402
8403         * bufferlist.h:
8404         * bufferlist.C: add setCurrentAuthor() to reset current author details
8405           in all buffers.
8406
8407         * bufferparams.h:
8408         * bufferparams.C: add param for tracking
8409
8410         * bufferview_funcs.C: output change info in minibuffer
8411
8412         * Makefile.am:
8413         * changes.h:
8414         * changes.C: add change-tracking structure
8415
8416         * debug.h:
8417         * debug.C: add CHANGES debug flag
8418
8419         * lyxfind.h:
8420         * lyxfind.C: add code for finding the next change piece
8421
8422         * lyxrc.h:
8423         * lyxrc.C: add user_name and user_email
8424
8425         * lyxrow.h:
8426         * lyxrow.C: add a metric for the top of the text line
8427
8428         * lyxtext.h:
8429         * text.C: implement accept/rejectChange()
8430
8431         * lyxtext.h:
8432         * text.C: paint changebars. Paint new/deleted text in the chosen
8433         colours. Strike through deleted text.
8434
8435         * paragraph.h:
8436         * paragraph.C:
8437         * paragraph_pimpl.h:
8438         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8439           in the current change to the insert functions. Rework erase to
8440           mark text as deleted, adding an eraseIntern() and a range-based
8441           erase(). Implement per-paragraph change lookup and
8442           accept/reject.
8443
8444         * paragraph_funcs.C: Fixup paste for change tracking.
8445
8446         * tabular.C: mark added row/columns as new.
8447
8448         * text.C: fix rowLast() to never return -1. Don't allow
8449           spellchecking of deleted text. Track transpose changes. Don't
8450           allow paragraph break or merge where appropriate.
8451
8452         * text2.C: leave cursor at end of selection after a cut.
8453
8454 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8455
8456         * text.C (getLengthMarkerHeight):
8457         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8458         visible on screen too.
8459
8460 2003-02-07  John Levon  <levon@movementarian.org>
8461
8462         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8463
8464 2003-02-05  Angus Leeming  <leeming@lyx.org>
8465
8466         * lyxserver.C (read_ready): revert my patch of 11 September last year
8467         as it sends PC cpu through the roof. Presumably this means that
8468         the lyxserver will no longer run on an Alpha...
8469
8470 2003-01-30  Angus Leeming  <leeming@lyx.org>
8471
8472         * factory.C (createInset): create an InsetCommandParam of type "index"
8473         and use it to 'do the right thing'.
8474
8475         * text2.C (getStringToIndex): ensure that cursor position is always
8476         reset to the reset_cursor position.
8477
8478 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8479
8480         * lyxfunc.C (getStatus): "buffer-export custom" should never be
8481         disabled.
8482
8483 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
8484
8485         * bufferview.C:
8486         * lyxcb.C:
8487         * lyxfunc.C: Output messages with identical spelling, punctuation,
8488         and spaces
8489
8490 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
8491
8492         * MenuBackend.C (expandFormats): List only viewable export formats
8493         in "View" menu
8494
8495         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8496         message
8497
8498         * lyxfunc.C (getStatus): Make sure that formats other than
8499         "fax" can also be disabled
8500
8501 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8502
8503         * text3.C (dispatch): put the lfuns that insert insets in 3
8504         groups, and call doInsertInset with appropriate arguments.
8505         (doInsertInset): new function, that creates an inset and inserts
8506         it according to some boolean parameters.
8507
8508 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8509
8510         * buffer.C (readFile): remember to pass on 'par' when calling
8511         readFile recursively.
8512
8513 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8514
8515         * MenuBackend.C (expandFormats): add "..." to import formats.
8516
8517 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
8518
8519         * paragraph.C (asString): Remove XForms RTL hacks.
8520
8521 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
8522         * buffer.C: fix typo
8523
8524 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8525
8526         * Makefile.am (LIBS): delete var
8527         (lyx_LDADD): add @LIBS@ here instead.
8528
8529 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
8530
8531         * Clarify the meaning of "wheel mouse jump"
8532
8533 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8534
8535         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8536         tabular in a float
8537
8538 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8539
8540         * importer.C (Loaders): do not preallocate 3 elements in the
8541         vector, since one ends up with 6 elements otherwise
8542
8543 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8544
8545         * DepTable.C (write): write the file name as last element of the
8546         .dep file (because it may contain spaces)
8547         (read): read info in the right order
8548
8549 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8550
8551         * paragraph_pimpl.C (simpleTeXBlanks):
8552         (simpleTeXSpecialChars):
8553         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8554
8555         * tabular.C (latex): add some missing case statements. Reindent.
8556
8557         * MenuBackend.C (expandToc): remove unused variable.
8558
8559 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
8560
8561         * LColor.C:
8562         * LaTeX.C:
8563         * LyXAction.C:
8564         * MenuBackend.C:
8565         * buffer.C:
8566         * exporter.C:
8567         * lyxfunc.C:
8568         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8569         and the like.
8570
8571 2003-01-05  John Levon  <levon@movementarian.org>
8572
8573         * BufferView.h:
8574         * BufferView.C: add getEncoding()
8575
8576         * kbsequence.h:
8577         * kbsequence.C: do not store last keypress
8578
8579         * lyxfunc.h:
8580         * lyxfunc.C: store last keypress here instead. Pass encoding
8581           to getISOEncoded()
8582
8583 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8584
8585         * lyx_main.C (init): remove annoying error message when following
8586         symbolic links (bug #780)
8587
8588 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8589
8590         * text.C (insertChar):
8591         * lyxrc.C (getDescription): remove extra spaces
8592
8593 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8594
8595         * lyxrc.C (getDescription): remove extra spaces
8596
8597 2002-12-20  John Levon  <levon@movementarian.org>
8598
8599         * text3.C: hack fix for page up/down across tall rows
8600
8601 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8602
8603         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8604         not been invoked
8605
8606 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8607
8608         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8609         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8610         thesaurus is not compiled in
8611
8612 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
8613
8614         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
8615
8616 2002-12-16  Angus Leeming  <leeming@lyx.org>
8617
8618         * lyxrc.[Ch]:
8619         * lyx_main.C (init): remove override_x_deadkeys stuff.
8620
8621 2002-12-12  John Levon  <levon@movementarian.org>
8622
8623         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8624           insert. Only remove shift modifier under strict
8625           circumstances.
8626
8627 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8628
8629         * MenuBackend.C (expandToc): fix crash.
8630
8631 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8632
8633         * MenuBackend.C (expandToc): gettext on float names.
8634
8635 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
8636
8637         * lyxlength.[Ch]: set default unit to UNIT_NONE,
8638         implement bool empty() [bug 490]
8639
8640 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8641
8642         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8643
8644 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8645
8646         * several files: ws changes
8647
8648 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8649
8650         * text2.C (setCounter): clean up a bit, use boost.format.
8651         (updateCounters): initialize par upon declaration.
8652
8653         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8654         if the layout exists. We do not just store the layout any more.
8655         (SwitchLayoutsBetweenClasses): use boost.format
8656
8657 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8658
8659         * converter.C (convert): if from and to files are the same, use a
8660         temporary files as intermediary
8661
8662 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8663
8664         * commandtags.h:
8665         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8666
8667 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
8668
8669         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8670
8671 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8672
8673         * tabular.C (asciiPrintCell): use string(size, char) instead of
8674         explicit loop.
8675
8676         * sgml.C (openTag): fix order of arguments to string constructor
8677         (closeTag): ditto
8678
8679         * lyxfunc.C (dispatch): use boost.format
8680
8681         * lots of files: change "c" -> 'c'
8682
8683 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
8684
8685         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8686
8687 2002-11-25  Angus Leeming  <leeming@lyx.org>
8688
8689         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8690
8691         * lyx_main.C (init): compile fix.
8692
8693 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8694
8695         * lyx_cb.C (start): boost.formatify
8696         do not include <iostream>
8697
8698         * lengthcommon.C: ws only
8699
8700         * boost-inst.C,BoostFormat.h: add more explict instantations
8701
8702 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8703
8704         * lots of files: handle USE_BOOST_FORMAT
8705
8706 2002-11-21  John Levon  <levon@movementarian.org>
8707
8708         * pspell.C: fix compile
8709
8710 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8711
8712         * lyxfunc.C (dispatch): use boost::format
8713         (open): ditto
8714         (doImport): ditto
8715
8716         * lyxfont.C (stateText): use boost::format
8717
8718         * lyx_main.C (LyX): use boost::format
8719         (init): ditto
8720         (queryUserLyXDir): ditto
8721         (readRcFile): ditto
8722         (parse_dbg): ditto
8723         (typedef boost::function): use the recommened syntax.
8724
8725         * importer.C (Import): use boost::format
8726
8727         * debug.C (showLevel): use boost::format
8728
8729         * converter.C (view): use boost::format
8730         (convert): ditto
8731         (move): ditto
8732         (scanLog): ditto
8733
8734         * bufferview_funcs.C (currentState): use boost::format
8735
8736         * bufferlist.C (emergencyWrite): use boost::format
8737
8738         * buffer.C (readLyXformat2): use boost::format
8739         (parseSingleLyXformat2Token): ditto
8740
8741         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8742
8743         * LaTeX.C (run): use boost::format
8744
8745         * Chktex.C (scanLogFile): use boost::format
8746
8747         * BufferView_pimpl.C (savePosition): use boost::format
8748         (restorePosition): ditto
8749         (MenuInsertLyXFile): ditto
8750
8751         * BoostFormat.h: help file for explicit instation.
8752
8753 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
8754
8755         * tabular.C (latex): Support for block alignment in fixed width
8756         columns.
8757
8758 2002-11-17  John Levon  <levon@movementarian.org>
8759
8760         * BufferView_pimpl.C:
8761         * lyx_cb.C:
8762         * lyxfunc.C: split filedialog into open/save
8763
8764 2002-11-08  Juergen Vigna  <jug@sad.it>
8765
8766         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8767         by my last patch (hopefully).
8768
8769 2002-11-08  John Levon  <levon@movementarian.org>
8770
8771         * iterators.h:
8772         * iterators.C:
8773         * buffer.h:
8774         * buffer.C:
8775         * paragraph.h:
8776         * paragraph.C:
8777         * toc.h:
8778         * toc.C: ParConstIterator, and use it (from Lars)
8779
8780 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
8781
8782         * lyxtextclass.[Ch]: revise and add doxygen comments
8783
8784 2002-11-07  John Levon  <levon@movementarian.org>
8785
8786         * text.C: fix progress value for spellchecker
8787
8788         * toc.C: fix navigate menu for insetwrap inside minipage
8789
8790         * paragraph_funcs.C: added FIXME for suspect code
8791
8792 2002-11-07  John Levon  <levon@movementarian.org>
8793
8794         * BufferView_pimpl.C: fix redrawing of insets
8795           on buffer switch
8796
8797 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8798
8799         * text2.C (updateCounters): fix bug 668
8800
8801 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
8802
8803         * text3.C (dispatch): Do not make the buffer dirty when moving the
8804         cursor.
8805
8806 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8807
8808         * vc-backend.C: STRCONV
8809         (scanMaster): ditto
8810
8811         * text2.C (setCounter): STRCONV
8812
8813         * paragraph.C (asString): STRCONV
8814
8815         * lyxlength.C (asString): STRCONV
8816         (asLatexString): ditto
8817
8818         * lyxgluelength.C (asString): STRCONV
8819         (asLatexString): ditto
8820
8821         * lyxfunc.C (dispatch): STRCONV
8822         (open): ditto
8823
8824         * lyxfont.C (stateText): STRCONV
8825
8826         * importer.C (Import): STRCONV
8827
8828         * counters.C (labelItem): STRCONV
8829         (numberLabel): ditto
8830         (numberLabel): remove unused ostringstream o
8831
8832         * chset.C: STRCONV
8833         (loadFile): ditto
8834
8835         * bufferview_funcs.C (currentState): STRCONV
8836
8837         * buffer.C (readFile): STRCONV
8838         (asciiParagraph): ditto
8839         (makeLaTeXFile): ditto
8840
8841         * Spacing.C (writeEnvirBegin): STRCONV
8842
8843         * LaTeXFeatures.C (getLanguages): STRCONV
8844         (getPackages): ditto
8845         (getMacros): ditto
8846         (getBabelOptions): ditto
8847         (getTClassPreamble): ditto
8848         (getLyXSGMLEntities): ditto
8849         (getIncludedFiles): ditto
8850
8851         * LaTeX.C: STRCONV
8852         (run): ditto
8853         (scanAuxFile): ditto
8854         (deplog): ditto
8855
8856         * LString.h: add the STRCONV macros
8857
8858         * BufferView_pimpl.C (savePosition): STRCONV
8859         (restorePosition): ditto
8860         (MenuInsertLyXFile): ditto
8861
8862         * vc-backend.C (scanMaster): change from submatch[...] to
8863         submatch.str(...)
8864
8865         * funcrequest.C: include config.h
8866
8867         * factory.C: include config.h
8868
8869         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8870
8871         * box.C: include config.h
8872
8873         * LaTeX.C (scanAuxFile): change from submatch[...] to
8874         submatch.str(...)
8875         (deplog): ditto
8876
8877 2002-10-25  Angus Leeming  <leeming@lyx.org>
8878
8879         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8880
8881         * ispell.[Ch] (setError): new method.
8882         * ispell.C (c-tor): move out child process into new class LaunchIspell.
8883         Use setError() insetead of goto END.
8884
8885         * lyx_cb.C (AutoSave): move out child process into new class
8886         AutoSaveBuffer.
8887
8888 2002-10-30  John Levon  <levon@movementarian.org>
8889
8890         * text3.C: make start appendix undoable
8891
8892 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
8893
8894         * lyxlength.C (inPixels): Fix returned value.
8895
8896         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8897         environment.
8898
8899 2002-10-24  Angus Leeming  <leeming@lyx.org>
8900
8901         * lyxgluelength.h: no need to forward declare BufferParams
8902         or BufferView, so don't.
8903
8904 2002-10-21  John Levon  <levon@movementarian.org>
8905
8906         * BufferView.C: menuUndo ->undo, redo
8907
8908         * BufferView.h: document, remove dead, make some methods private
8909
8910         * paragraph_funcs.h:
8911         * paragraph_funcs.C:
8912         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8913
8914         * buffer.h:
8915         * buffer.C:
8916         * sgml.h:
8917         * sgml.C: move sgml open/close tag into sgml.C
8918
8919         * bufferview_funcs.h: unused prototype
8920
8921         * lyxfunc.h:
8922         * lyxfunc.C: remove unused
8923
8924         * lyxtext.h:
8925         * text.C: remove unused
8926
8927 2002-10-21  John Levon  <levon@movementarian.org>
8928
8929         * BufferView.h:
8930         * BufferView.C:
8931         * BufferView_pimpl.h:
8932         * BufferView_pimpl.C: fix mouse wheel handling based on
8933           patch from Darren Freeman
8934
8935 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
8936
8937         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8938
8939 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
8940
8941         * lyxlength.C (inPixels): Fix hanfling of negative length.
8942         Fix LyXLength::MU case.
8943
8944 2002-10-16  John Levon  <levon@movementarian.org>
8945
8946         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8947
8948 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8949
8950         * converter.C (view): add support for $$i (file name) and $$p
8951         (file path) for the viewer command. If $$i is not specified, then
8952         it is appended to the command (for compatibility with old syntax)
8953
8954 2002-10-14  Juergen Vigna  <jug@sad.it>
8955
8956         * undo_funcs.C (textHandleUndo): alter the order in which the
8957         new undopar is added to the LyXText, as we have to set first
8958         the right prev/next and then add it as otherwise the rebuild of
8959         LyXText is not correct. Also reset the cursor to the right paragraph,
8960         with this IMO we could remove the hack in "redoParagraphs()".
8961
8962 2002-10-09  Angus Leeming  <leeming@lyx.org>
8963
8964         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8965         to turn off an optimisation if a new inset is to be inserted.
8966
8967 2002-10-11 André Pönitz <poenitz@gmx.net>
8968
8969         * lyxtext.h: make some functions public to allow access
8970         from inset/lyxtext for handling LFUN_PRIOR/NEXT
8971
8972 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8973
8974         * text3.C (dispatch): when changing layout, avoid an infinite loop
8975         [bug #652]
8976
8977 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8978
8979         * lyxrc.C (read): treat a viewer or converter command of "none" as
8980         if it were empty.
8981
8982         * MenuBackend.C (expandFormats): for an update, also allow the
8983         formats that are not viewable
8984
8985         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8986         script if it is newer than the lyxrc.defaults in user directory
8987
8988 2002-10-07 André Pönitz <poenitz@gmx.net>
8989
8990         * text.C: Vitaly Lipatov's small i18n fix
8991
8992 2002-09-25  Angus Leeming  <leeming@lyx.org>
8993
8994         * ispell.h: doxygen fix.
8995
8996 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
8997
8998         * buffer.h (readFile): Add a new argument to the method, to allow
8999         reading of old-format templates.
9000
9001 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
9002
9003         * toc.C (getTocList): Get TOC from InsetWrap.
9004
9005 2002-09-16  John Levon  <levon@movementarian.org>
9006
9007         * lyxfunc.C: check tabular for cut/copy too
9008
9009 2002-09-12  John Levon  <levon@movementarian.org>
9010
9011         * LyXAction.C: tidy
9012
9013         * factory.h:
9014         * factory.C: add header
9015
9016         * paragraph_funcs.h:
9017         * paragraph_funcs.C: cleanup
9018
9019 2002-09-11  John Levon  <levon@movementarian.org>
9020
9021         * PrinterParams.h: odd/even default to true
9022
9023 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
9024
9025         * PrinterParams.h: update printer parameters for new xforms dialog
9026
9027 2002-09-11  Angus Leeming  <leeming@lyx.org>
9028
9029         * lyxserver.C (read_ready): re-write to make it more transparent
9030         and to make it work in coherent fashion under Tru64 Unix.
9031
9032 2002-09-11  André Pönitz <poenitz@gmx.net>
9033
9034         * commandtags.h:
9035         * LyXAction.C:
9036         * text3.C: implement LFUN_WORDSEL
9037
9038 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9039
9040         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9041         make floatlist_ a boost::shared_ptr<FloatList>
9042
9043         * lyxtextclass.C: include FloatList.h
9044         (LyXTextClass): initialize floatlist_
9045         (TextClassTags): add TC_NOFLOAT
9046         (Read): match "nofloat" to TC_NOFLOAT and use it.
9047         (readFloat): modify call to floatlist_
9048         (floats): ditto
9049         (floats): ditto
9050
9051         * FloatList.[Ch] (FloatList): remove commented out float
9052         initialization.
9053         (erase): new function
9054
9055 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9056
9057         * MenuBackend.C (expandToc): fix crash when there is no document
9058         open
9059
9060 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
9061
9062         * many files: Add insetwrap.
9063
9064 2002-09-09  John Levon  <levon@movementarian.org>
9065
9066         * text2.C: remove confusing and awkward depth wraparound
9067
9068 2002-09-09  John Levon  <levon@movementarian.org>
9069
9070         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9071
9072         * buffer.h:
9073         * buffer.C: remove getIncludeonlyList()
9074
9075         * paragraph.C:
9076         * lyxfunc.C: remove headers
9077
9078 2002-09-09  Juergen Vigna  <jug@sad.it>
9079
9080         * text.C (getColumnNearX): fix form Michael this is most
9081         probably a cut&paste bug.
9082
9083 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9084
9085         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9086
9087         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9088         references, ws changes.
9089
9090         * text2.C (init): update counters after init
9091         (insertParagraph): no need to set counter on idividual paragraphs.
9092         (setCounter): access the counters object in the textclass object
9093         on in the buffer object.
9094         (updateCounters): ditto
9095
9096         * lyxtextclass.C: include counters.h, add variable ctrs_ as
9097         shared_ptr<Counters> to avoid loading counters.h in all
9098         compilation units.
9099         (LyXTextClass): initialize ctrs_
9100         (TextClassTags): add TC_COUNTER, and ...
9101         (Read): use it here.
9102         (CounterTags): new tags
9103         (readCounter): new function
9104         (counters): new funtion
9105         (defaultLayoutName): return a const reference
9106
9107         * counters.C (Counters): remove contructor
9108         (newCounter): remove a couple of unneeded statements.
9109         (newCounter): simplify a bit.
9110         (numberLabel): some small formatting changes.
9111
9112         * buffer.[Ch]: remove all traces of counters, move the Counters
9113         object to the LyXTextClass.
9114
9115 2002-09-06  Alain Castera  <castera@in2p3.fr>
9116
9117         * tabular.C: uses \tabularnewline; uses >{...} construct from array
9118         package to set the horizontal alignment on fixed width columns.
9119
9120         * lyx_sty.C:
9121         * lyx_sty.h: added tabularnewline macro def.
9122
9123         * LaTeXFeatures.C: added NeedTabularnewline macro feature
9124
9125 2002-09-06  John Levon  <levon@movementarian.org>
9126
9127         * LyXAction.C: tooltips for sub/superscript
9128
9129         * MenuBackend.C: a bit more verbose
9130
9131         * lyxfunc.C: tiny clean
9132
9133         * undo_funcs.C: document undo_frozen
9134
9135 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9136
9137         * counters.C (Counters): add missing algorithm counter.
9138
9139         * text2.C (setCounter): lookup the counter with layouts latexname
9140         instead of by section number.
9141         (setCounter): use a hackish way to lookup the correct enum
9142         counter.
9143         a float name->type change
9144         reset enum couners with counter name directly instead of depth value.
9145
9146         * counters.C (Counters): remove the push_backs, change to use the
9147         float type not the float name.
9148         (labelItem): remove unused string, float name->type change
9149
9150         * counters.h: don't include vector, loose the enums and sects vectors
9151
9152 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9153
9154         * lyxtextclass.C (TextClassTags): add TC_FLOAT
9155         (Read): add float->TC_FLOAT to textclassTags
9156         (Read): and handle it in the switch
9157         (readFloat): new function
9158
9159         * FloatList.C (FloatList): comment out the hardcoded float
9160         definitions.
9161
9162         * lyxlayout.h: ws change.
9163
9164 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
9165
9166         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9167
9168 2002-09-03  Angus Leeming  <leeming@lyx.org>
9169
9170         * BufferView_pimpl.h: qualified name is not allowed in member
9171         declaration: WorkArea & Pimpl::workarea() const;
9172
9173         * factory.C: added using std::endl directive.
9174
9175         * text3.C: added using std::find and std::vector directives.
9176
9177 2002-08-29  André Pönitz <poenitz@gmx.net>
9178
9179         * lyxtext.h:
9180         * text2.C: remove unused member number_of_rows
9181
9182         * Makefile.am:
9183         * BufferView2.C: remove file, move contents to...
9184         * BufferView.C: ... here
9185
9186         * BufferView_pimpl.C:
9187         * factory.C: move more inset creation to factory
9188
9189         * vspace.C: avoid direct usage of LyXText, ws changes
9190
9191         * BufferView.[Ch]:
9192                 don't provide direct access to WorkArea, use two simple
9193                 acessors haveSelction() and workHeight() instead
9194
9195
9196 2002-08-29  John Levon  <levon@movementarian.org>
9197
9198         * BufferView_pimpl.C (dispatch): do not continue when
9199           no buffer
9200
9201 2002-08-28  André Pönitz <poenitz@gmx.net>
9202
9203         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9204
9205         * BufferView.h:
9206         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9207
9208 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
9209
9210         * buffer.C: increment LYX_FORMAT to 221
9211
9212         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9213         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9214
9215         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9216
9217         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9218
9219 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9220
9221         * factory.C (createInset): use LyXTextClass::floats
9222
9223         * MenuBackend.C (expandFloatListInsert):
9224         (expandFloatInsert):
9225         (expandToc):
9226
9227         * text2.C (setCounter):
9228
9229         * LaTeXFeatures.C (useFloat):
9230         (getFloatDefinitions):
9231
9232         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9233
9234         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9235         floatlist_, with accessor floats().
9236
9237         * FloatList.h: remove global FloatList
9238
9239 2002-08-26  André Pönitz <poenitz@gmx.net>
9240
9241         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9242
9243         * BufferView.h:
9244         * BufferView2.C:
9245         * BufferView_pimpl.C:
9246         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9247
9248 2002-08-25  John Levon  <levon@movementarian.org>
9249
9250         * LyXAction.C: fix margin note description
9251
9252 2002-08-24  John Levon  <levon@movementarian.org>
9253
9254         * buffer.C:
9255         * bufferlist.C:
9256         * bufferview_funcs.C:
9257         * lyxfont.C:
9258         * undo_funcs.C: cleanups
9259
9260         * lyxfunc.C: disable CUT/COPY when no selection
9261
9262 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
9263
9264         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9265         in "enum UNIT"; e.g. PTW for Percent of TextWidth
9266
9267         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9268         Add backward compatibility to "mono", "gray" and "no".
9269
9270 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
9271
9272         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9273         (and file_format >= 200).
9274
9275 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9276
9277         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9278
9279 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9280
9281         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9282
9283 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
9284
9285         * BufferView_pimpl.C:
9286         * LyXAction.C:
9287         * buffer.C:
9288         * commandtags.h:
9289         * lyxfunc.C:
9290         * paragraph.[Ch]:
9291         * text2.C:
9292         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9293         inset and code to make it  work with the paragraph code. The inset
9294         can be anywhere in the paragraph, but will only do the expected
9295         thing in LaTeX if the layout file contains the parameter line
9296                         OptionalArgs    1
9297         (or more generally, a nonzero value) for that layout.
9298
9299 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
9300
9301         * paragraph.h: remove the declaration of undefined counters class
9302         function.
9303
9304 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
9305
9306         * text2.C (setCounter):  fixed enumeration mis-count as reported by
9307         Dr. Richard Hawkins.
9308
9309 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9310
9311         * paragraph_funcs.h: remove some unneeded includes
9312
9313         * text.C (backspace): pasteParagraph now in global scipe
9314
9315         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9316         (pasteSelection): ditto
9317
9318         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9319         * paragraph_funcs.C (pasteParagraph): ... here
9320
9321 2002-08-20  André Pönitz <poenitz@gmx.net>
9322
9323         * commandtags.h: new LFUNs for swapping/copying table row/colums
9324
9325         * LyXAction.C:
9326         * lyxfunc.C: support for new lfuns
9327
9328 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
9329
9330         * tabular.C:
9331         * buffer.[Ch]: remove NO_COMPABILITY stuff
9332
9333 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
9334
9335         * boost.C (throw_exception): new file, with helper function for
9336         boost compiled without exceptions.
9337
9338         * paragraph.h:
9339         * lyxlength.C:
9340         * buffer.C:
9341         * ParameterStruct.h:
9342         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9343
9344         * bufferlist.C (emergencyWriteAll): use boost bind
9345
9346         * BufferView_pimpl.C (moveCursorUpdate): remove inline
9347
9348         * text.C: include paragraph_funcs.h
9349         (breakParagraph): breakParagraph is now in global scope
9350
9351         * paragraph_funcs.[Ch]: new files
9352
9353         * paragraph.C (breakParagraph,breakParagraphConservative): move to
9354         global scope
9355
9356         * buffer.C: include paragraph_funcs.h
9357         (insertStringAsLines): breakParagraph is now in global scope
9358
9359         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9360         paragraph_funcs.C
9361
9362         * CutAndPaste.C: include paragraph_funcs.h
9363         (cutSelection): breakParagraphConservative is now in global scope
9364         (pasteSelection): ditto
9365
9366         * buffer.h: declare oprator== and operator!= for
9367         Buffer::inset_iterator
9368
9369         * bufferlist.C (emergencyWrite): don't use fmt(...)
9370
9371         * text3.C: add using std::endl
9372
9373         * BufferView.C (moveCursorUpdate): remove default arg
9374
9375 2002-08-20  André Pönitz <poenitz@gmx.net>
9376
9377         * buffer.[Ch]: move inline functions to .C
9378
9379         * BufferView2.C:
9380         * BufferView_pimpl.C:
9381         * text.C:
9382         * buffer.[Ch]: use improved inset_iterator
9383
9384         * buffer.C:
9385         * paragraph.[Ch]: write one paragraph at a time
9386
9387 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
9388
9389         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9390         style if style is not specified.
9391
9392 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9393
9394         * text2.C (setCounter): when searching for right label for a
9395         caption, make sure to recurse to parent insets (so that a caption
9396         in a minipage in a figure float works) (bug #568)
9397
9398 2002-08-20  André Pönitz <poenitz@gmx.net>
9399
9400         * text3.C: new file for LyXText::dispatch() and helpers
9401
9402         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9403
9404         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9405
9406 2002-08-19  André Pönitz <poenitz@gmx.net>
9407
9408         * lyxtext.h:
9409         * text.C: new LyXText::dispatch()
9410
9411         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9412
9413 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
9414
9415         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9416
9417         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9418         Hebrew text.
9419
9420 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9421
9422         * Makefile.am: use $(variables) instead of @substitutions@
9423
9424 2002-08-15  André Pönitz <poenitz@gmx.net>
9425
9426         * lyxfunc.C:
9427         * BufferView_pimpl.C: streamlining mathed <-> outer world
9428         interaction
9429
9430         * commandtags.h:
9431         * LyXAction.C: remove unused LFUN_MATH
9432
9433 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9434
9435         * paragraph.[Ch]: add some NO_NEXT ifdefs.
9436
9437 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9438
9439         * paragraph.C (Paragraph): reformat a bit
9440         (cutIntoMinibuffer): use builtin InsetList function instad of
9441         doing it manually.
9442         (getInset): ditto
9443
9444         * buffer.C: include boost/bind.hpp, add using std::for_each
9445         (writeFileAscii): use ParagraphList iterators
9446         (validate): use for_each for validate traversal of paragraphs
9447         (getBibkeyList): use ParagraphList iterators
9448         (resizeInsets): use for_each to resizeInsetsLyXText for all
9449         paragraphs.
9450         (getParFromID): use ParagraphList iterators
9451
9452         * BufferView2.C (lockInset): use paragraph list and iterators
9453
9454 2002-08-14  John Levon  <levon@movementarian.org>
9455
9456         * lyxserver.C: remove spurious xforms include
9457
9458 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9459
9460         * lyxfunc.C (getStatus): disable math-extern outside of math mode
9461
9462 2002-08-13  André Pönitz <poenitz@gmx.net>
9463
9464         * LyXAction.[Ch]:
9465         * lyxfunc.C: further cleaning
9466
9467 2002-08-13  André Pönitz <poenitz@gmx.net>
9468
9469         * funcrequest.h: new constructor
9470
9471         * funcrequest.C: move stuff here from .h
9472
9473         * Makefile.am:
9474         * BufferView_pimpl.C:
9475         * LyXAction.C:
9476         * toc.C:
9477         * lyxfunc.C: subsequent changes
9478
9479         * lyxfunc.h: new view() member function
9480
9481         * lyxfunc.C: subsequent changes
9482
9483 2002-08-13  Angus Leeming  <leeming@lyx.org>
9484
9485         * BufferView2.C:
9486         * BufferView_pimpl.C:
9487         * buffer.C:
9488         * converter.C:
9489         * importer.C:
9490         * lyxfunc.C:
9491         * lyxvc.C:
9492         * toc.C:
9493         * vc-backend.C:
9494         changes due to the changed LyXView interface that now returns references
9495         to member variables not pointers.
9496
9497 2002-08-13  Angus Leeming  <leeming@lyx.org>
9498
9499         * WordLangTuple (word, lang_code): return references to strings,
9500         not strings.
9501
9502         * BufferView.h:
9503         * SpellBase.h:
9504         * lyxtext.h: forward-declare WordLangTuple.
9505
9506         * BufferView2.C:
9507         * ispell.C:
9508         * pspell.C:
9509         * text.C: #include "WordLangTuple.h".
9510
9511         * lyxtext.h:
9512         * text.C: (selectNextWordToSpellcheck): constify return type.
9513
9514 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
9515
9516         * buffer.C:
9517         * buffer.h:
9518         * lyxtext.h:
9519         * paragraph.C:
9520         * paragraph_pimpl.h:
9521         * text.C:
9522         * text2.C:
9523         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9524         suggested by Angus.
9525         Made updateCounter always count from start of buffer, and removed
9526         second argument (par).
9527         Reverted floats number display to '#'. Perhaps I'll try again when the
9528         code base is sanitized a bit.
9529
9530 2002-08-12  Angus Leeming  <leeming@lyx.org>
9531
9532         * buffer.[Ch] (getLabelList): constify.
9533
9534 2002-08-07  André Pönitz <poenitz@gmx.net>
9535
9536         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9537
9538         * funcrequest.h: extension to keep mouse (x,y) position
9539
9540 2002-08-12  Juergen Vigna  <jug@sad.it>
9541
9542         * BufferView2.C (insertErrors): forbid undo when inserting error
9543         insets.
9544
9545         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9546
9547 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9548
9549         * ParagraphList.[Ch]: new files
9550
9551         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9552
9553         * BufferView2.C (lockInset): ParagraphList changes
9554         * toc.C: ditto
9555         * text2.C: ditto
9556         * bufferlist.C: ditto
9557         * buffer.h: ditto
9558         * buffer.C: ditto
9559
9560 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9561
9562         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9563         unused class variable counter_,
9564
9565         * paragraph.[Ch] (getFirstCounter): delete unused function
9566
9567         * counters.C: include LAssert.h
9568         (reset): add a new function with no arg, change other version to
9569         not have def. arg and to not allow empty arg.
9570
9571         * text2.C (setCounter): remove empty arg from call to Counters::reset
9572
9573 2002-08-11  John Levon  <levon@movementarian.org>
9574
9575         * Makefile.am: add WordLangTuple.h
9576
9577 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9578
9579         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9580         lyxfunc.C lyxlex_pimpl.C: ws changes only.
9581
9582         * insets/insettext.C: InsetList changes
9583
9584         * graphics/GraphicsSupport.C (operator()): InsetList changes
9585
9586         * toc.C (getTocList): InsetList changes
9587
9588         * paragraph_pimpl.[Ch]: InsetList changes
9589
9590         * paragraph.[Ch]: InsetList changes
9591
9592         * buffer.C (inset_iterator): InsetList changes
9593         (setParagraph): ditto
9594         * buffer.h (inset_iterator): ditto
9595         * iterators.C (operator++): ditto
9596         * iterators.h: ditto
9597
9598         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9599
9600         * InsetList.[Ch]: new files, most InsetList handling moved out of
9601         paragraph.C.
9602
9603         * BufferView2.C (removeAutoInsets): InsetList changes
9604         (lockInset): ditto
9605         (ChangeInsets): ditto
9606
9607 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
9608
9609         * paragraph_pimpl.h (empty): new function
9610
9611         * paragraph.[Ch] (empty): new function
9612
9613         * other files: use the new Paragraph::empty function
9614
9615 2002-08-09  John Levon  <levon@movementarian.org>
9616
9617         * lyxtext.h: remove unused refresh_height
9618
9619 2002-08-09  John Levon  <levon@movementarian.org>
9620
9621         * Makefile.am:
9622         * sgml.h:
9623         * sgml.C:
9624         * buffer.C:
9625         * paragraph.h:
9626         * paragraph.C: move sgml char escaping out of paragraph
9627
9628         * paragraph.h:
9629         * paragraph.C: remove id setter
9630
9631         * buffer.C:
9632         * paragraph.C:
9633         * paragraph_pimpl.C: remove dead tex_code_break_column
9634
9635         * bufferview_funcs.C: small cleanup
9636
9637         * lyxfunc.C: remove dead proto
9638
9639         * lyxtext.h: make some stuff private. Remove some dead stuff.
9640
9641         * lyxgluelength.C: make as[LyX]String() readable
9642
9643 2002-08-08  John Levon  <levon@movementarian.org>
9644
9645         * LyXAction.h:
9646         * LyXAction.C:
9647         * MenuBackend.C:
9648         * ToolbarDefaults.C:
9649         * lyxfunc.C:
9650         * lyxrc.C:
9651         * toc.C: lyxaction cleanup
9652
9653 2002-08-08  John Levon  <levon@movementarian.org>
9654
9655         * BufferView2.C: small cleanup
9656
9657         * lyxfind.h:
9658         * lyxfind.C: move unnecessary header into the .C
9659
9660 2002-08-08  John Levon  <levon@movementarian.org>
9661
9662         * funcrequest.h: just tedious nonsense
9663
9664         * lyx_main.h:
9665         * lyx_main.C: cleanups
9666
9667         * buffer.C:
9668         * vspace.C: remove dead header lyx_main.h
9669
9670 2002-08-07  Angus Leeming  <leeming@lyx.org>
9671
9672         * Paragraph.[Ch]:
9673         * paragraph_pimpl.h:
9674         Forward declare class Counters in paragraph.h by moving the ctrs member
9675         variable into Paragraph::Pimpl.
9676         (counters): new method, returning a reference to pimpl_->ctrs.
9677
9678         * text2.C: ensuing changes.
9679
9680 2002-08-07  John Levon  <levon@movementarian.org>
9681
9682         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9683
9684         * BufferView_pimpl.C: announce X selection on double/triple
9685           click
9686
9687         * lyx_main.C: use correct bool in batch dispatch
9688
9689         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9690
9691 2002-08-07  André Pönitz <poenitz@gmx.net>
9692
9693         * funcrequest.h: new class to wrap a kb_action and its argument
9694
9695         * BufferView.[Ch]:
9696         * BufferView_pimpl[Ch]:
9697         * LaTeX.C:
9698         * LyXAction.[Ch]:
9699         * lyxfunc.[Ch]:
9700         * lyxrc.C: subsequent changes
9701
9702
9703 2002-08-07  John Levon  <levon@movementarian.org>
9704
9705         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9706           document options change.
9707
9708 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
9709
9710         * counters.[Ch]
9711         * text2.C
9712         * paragraph.[Ch]
9713         * makefile.am: move counters functionality over from
9714         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9715
9716 2002-08-06  John Levon  <levon@movementarian.org>
9717
9718         * WordLangTuple.h: new file for word + language code tuple
9719
9720         * SpellBase.h:
9721         * pspell.h:
9722         * pspell.C:
9723         * ispell.h:
9724         * ispell.C:
9725         * lyxtext.h:
9726         * text.C:
9727         * text2.C:
9728         * BufferView.h:
9729         * BufferView2.C: use WordLangTuple
9730
9731         * layout.h:
9732         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9733
9734 2002-08-06  John Levon  <levon@movementarian.org>
9735
9736         * lyx_main.C: fix cmdline batch handling
9737
9738 2002-08-06  André Pönitz <poenitz@gmx.net>
9739
9740         * lyxrc.C: set default for show_banner to true
9741
9742 2002-08-06  John Levon  <levon@movementarian.org>
9743
9744         * pspell.C: fix a crash, and allow new aspell to work
9745
9746 2002-08-06  John Levon  <levon@movementarian.org>
9747
9748         * lyxfunc.C:
9749         * kbmap.C: small cleanup
9750
9751         * vspace.h:
9752         * vspace.C: add const
9753
9754 2002-08-05  John Levon  <levon@movementarian.org>
9755
9756         * LyXAction.C: back to tabular-insert
9757
9758 2002-08-04  John Levon  <levon@movementarian.org>
9759
9760         * BufferView.h:
9761         * BufferView.C: cosmetic change
9762
9763         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9764
9765         * bufferlist.C:
9766         * buffer.h:
9767         * buffer.C:
9768         * lyxcb.h:
9769         * lyxcb.C:
9770         * lyxserver.C:
9771         * lyxvc.C:
9772         * vc-backend.C:
9773         * BufferView2.C: purge all "Lyx" not "LyX" strings
9774
9775         * lyxcursor.h:
9776         * lyxcursor.C: attempt to add some documentation
9777
9778         * lyxfunc.C:
9779         * commandtags.h:
9780         * LyXAction.C:
9781         * ToolbarDefaults.C:
9782         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9783           merge with LFUN_TABULAR_INSERT
9784
9785         * Makefile.am:
9786         * SpellBase.h:
9787         * ispell.h:
9788         * ispell.C:
9789         * pspell.h:
9790         * pspell.C: split up i/pspell implementations into separate
9791           files, many cleanups
9792
9793         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9794
9795         * text2.C: some cleanup
9796
9797         * lyxfunc.C: don't check for isp_command == "none" any more, it
9798           didn't make any sense
9799
9800 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
9801
9802         * counters.[Ch]
9803         * text2.C
9804         * paragraph.[Ch]
9805         * makefile.am: move counters functionality over
9806         from text2.C/paragraph.[Ch] to counters.[Ch], and
9807         make proper C++.
9808 2002-08-02  John Levon  <levon@movementarian.org>
9809
9810         * buffer.C: s/lyxconvert/lyx2lyx/
9811
9812 2002-08-02  Angus Leeming  <leeming@lyx.org>
9813
9814         * lyxlex.C: revert John's change as it breaks reading of the user
9815         preamble.
9816
9817 2002-08-02  Angus Leeming  <leeming@lyx.org>
9818
9819         * importer.C (Import):
9820         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9821         changes due to LyXView::view() now returning a boost::shared_ptr.
9822
9823 2002-08-02  John Levon  <levon@movementarian.org>
9824
9825         * lyxlex.C: small cleanup
9826
9827 2002-08-02  John Levon  <levon@movementarian.org>
9828
9829         * text2.C (status): small cleanup, no logic change
9830
9831 2002-08-01  John Levon  <levon@movementarian.org>
9832
9833         * buffer.h:
9834         * buffer.C (writeFile): don't output alerts, caller
9835           handles this
9836
9837         * bufferlist.C:
9838         * lyx_cb.C: from above
9839
9840         * lyxfunc.C: allow to open non-existent files
9841
9842 2002-07-31  John Levon  <levon@movementarian.org>
9843
9844         * lyxserver.C: don't let incidental errors get
9845           in the way (errno)
9846
9847 2002-07-30  John Levon  <levon@movementarian.org>
9848
9849         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9850
9851 2002-07-30  John Levon  <levon@movementarian.org>
9852
9853         * lyxserver.h:
9854         * lyxserver.C: remove I/O callback too
9855
9856 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9857
9858         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9859         log.
9860
9861 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9862
9863         * many files: strip,frontStrip -> trim,ltrim,rtrim
9864
9865 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
9866
9867         * PrinterParams.h: remove extern containsOnly, and include
9868         support/lstrings.h instead.
9869
9870         * LaTeX.C (scanAuxFile): modify because of strip changes
9871         (deplog): ditto
9872         * buffer.C (makeLaTeXFile): ditto
9873         * bufferparams.C (writeFile): ditt
9874         * lyxfont.C (stateText): ditto
9875         * lyxserver.C (read_ready): ditto
9876         * vc-backend.C (scanMaster): ditto
9877
9878         * BufferView_pimpl.h: ws changes
9879
9880         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9881
9882 2002-07-26  André Pönitz <poenitz@gmx.net>
9883
9884         * kb_sequence.C: remove unnedred usings
9885
9886 2002-07-26  Juergen Vigna  <jug@sad.it>
9887
9888         * lyxfind.C (LyXReplace): we have to check better if the returned
9889         text is not of theLockingInset()->getLockingInset().
9890
9891 2002-07-25  Juergen Vigna  <jug@sad.it>
9892
9893         * lyxfind.C (LyXReplace): don't replace if we don't get the
9894         right LyXText.
9895
9896         * undo_funcs.C (createUndo): remove debugging code.
9897
9898 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
9899
9900         * buffer.C (parseSingleLyXformat2Token): Use default placement
9901         when reading old floats.
9902
9903         * FloatList.C (FloatList): Change the default placement of figure
9904         and tables to "tbp".
9905
9906 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
9907
9908         * MenuBackend.C: using std::max
9909
9910 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9911
9912         * MenuBackend.C (expandToc):
9913         (expandToc2): code moved from xforms menu frontend. It is now
9914         generic and TOCs are transparent to menu frontends.
9915
9916 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9917
9918         * toc.C (getTocList): protect against buf=0
9919
9920         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9921         Menu as first parameter. Now, this calls itself recursively to
9922         expand a whole tree (this will be useful for TOC handling)
9923         (expandFloatInsert): remove 'wide' version of floats
9924
9925         * MenuBackend.h (submenuname): returns the name of the submenu.
9926         (submenu): returns the submenu itself, provided it has been
9927         created by MenuBackend::expand
9928
9929 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9930
9931         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9932         insets which have noFontChange == true. (bug #172)
9933
9934 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9935
9936         * BufferView_pimpl.C: add connection objects and use them...
9937         (Pimpl): here.
9938
9939 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9940
9941         * MenuBackend.C (expandLastfiles):
9942         (expandDocuments):
9943         (expandFormats):
9944         (expandFloatListInsert):
9945         (expandFloatInsert):
9946         (expand): split expand in parts
9947
9948 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9949
9950         * lyx_gui.C: use lyx_gui::exit()
9951
9952 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9953
9954         * LyXAction.C: show the failing pseudo action
9955
9956 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
9957
9958         * buffer.C (readFile): Run the lyxconvert script in order to read
9959         old files.
9960
9961 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9962
9963         * LyXAction.C:
9964         * commandtags.h:
9965         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9966
9967 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9968
9969         * LyXAction.C:
9970         * commandtags.h:
9971         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9972
9973 2002-07-22  Herbert Voss  <voss@lyx.org>
9974
9975         * lengthcommon.C:
9976         * lyxlength.[Ch]: add support for the vertical lengths
9977
9978 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
9979
9980         * toc.[Ch]: std:: fixes
9981
9982 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9983
9984         * lyxrc.C: do not include lyx_main.h
9985
9986         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9987         for layouts
9988
9989         * lyxrc.C:
9990         * encoding.C:
9991         * bufferlist.C:
9992         * BufferView2.C: include "lyxlex.h"
9993
9994         * tabular.h:
9995         * bufferparams.h: do not #include "lyxlex.h"
9996
9997         * lyxtextclasslist.C (Add): remove method
9998         (classlist): renamed to classlist_
9999
10000         * paragraph_pimpl.C:
10001         * paragraph.C:
10002         * text2.C:
10003         * CutAndPaste.C:
10004         * bufferview_funcs.C:
10005         * bufferlist.C:
10006         * text.C:
10007         * LaTeXFeatures.C:
10008         * buffer.C:
10009         * toc.C (getTocList): use BufferParams::getLyXTextClass
10010
10011         * toc.C (getTocList): use InsetFloat::addToToc
10012
10013         * toc.[Ch]: new files, containing helper functions to handle table
10014         of contents
10015
10016         * lyxfunc.C (dispatch): no need to remove spaces around command
10017         given as a string
10018         (getStatus): handle LFUN_SEQUENCE by returning the status of the
10019         first command of the sequence; it is not very clever, but I do not
10020         have a better idea, actually
10021
10022         * LyXAction.C (LookupFunc): make sure to remove space at the
10023         beginning and end of the command
10024
10025 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10026
10027         * MenuBackend.C (getMenubar): new method: return the menubar of
10028         this menu set
10029         (read): treat differently reading of menu and menubar (in
10030         particular, the menubar has no name now)
10031         (Menu::menubar): remove
10032
10033         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10034         saving is finished
10035
10036 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10037
10038         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10039         a bibitem inset in a RTL paragraph.
10040
10041 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
10042
10043         * paragraph_pimpl.C: constify
10044
10045         * BufferView_pimpl.C:
10046         * LaTeX.C:
10047         * lyxfunc.C: fix dispatch in a nicer way
10048
10049 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10050
10051         * lyxfunc.C (dispatch):
10052         * BufferView_pimpl.C:
10053         * BufferView_pimpl.h:
10054         * BufferView.C:
10055         * BufferView.h: rename Dispatch() to dispatch()
10056
10057         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10058
10059         * lyxlayout.C (Read): honor DependsOn tag
10060
10061         * lyxlayout.[Ch] (depends_on): new method
10062
10063         * version.C.in: update lyx_docversion
10064
10065         * LaTeXFeatures.C (getMacros): only define \LyX when needed
10066
10067         * paragraph.C (validate): remove from here...
10068         * paragraph_pimpl.C (validate): ... and move here
10069         (isTextAt): make it const
10070
10071         * buffer.C (getLists): ws cleanup
10072
10073 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10074
10075         * language.C (read): Use iso8859-1 encoding in latex_lang
10076         (this prevents LyX from crashing when using iso10646-1 encoding).
10077
10078 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10079
10080         * text2.C (toggleInset): if cursor is inside an inset, close the
10081         inset and leave cursor _after_ it
10082
10083 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10084
10085         * lyxfunc.C: move minibuffer completion handling out of here
10086
10087 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10088
10089         * BufferView_pimpl.C:
10090         * LaTeX.C: fix dispatch calls
10091
10092 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
10093
10094         * text.C (drawChars): Fix Arabic text rendering.
10095
10096 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
10097
10098         * LyXAction.C:
10099         * commandtags.h:
10100         * lyxfunc.C: remove message-push/pop
10101
10102         * lyxserver.C:
10103         * lyxfunc.h:
10104         * lyxfunc.C: rationalise some code by removing verboseDispatch
10105           in favour of a bool argument to dispatch()
10106
10107 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10108
10109         * lyx_main.C (init): make sure to read symlinks as absolute paths
10110
10111 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10112
10113         * lyxfunc.h:
10114         * lyxfunc.C: no need for commandshortcut to be a member
10115
10116 2002-07-15  André Pönitz <poenitz@gmx.net>
10117
10118         * converter.C: add support for $$s (scripts from lib/scripts dir)
10119         * lyx_main.C: white space
10120
10121 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10122
10123         * bufferlist.C:
10124         * lyxrc.h:
10125         * lyxrc.C: remove second exit confirmation
10126
10127 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10128
10129         * BufferView.h:
10130         * BufferView.C:
10131         * BufferView2.C:
10132         * BufferView_pimpl.h:
10133         * BufferView_pimpl.C:
10134         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10135
10136 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10137
10138         * MenuBackend.C (expand): add numeric shortcuts to document menu
10139
10140         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10141
10142 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10143
10144         * lyxfont.C (setLyXFamily):
10145         (setLyXSeries):
10146         (setLyXShape):
10147         (setLyXSize):
10148         (setLyXMisc):
10149         (lyxRead):
10150         * debug.C (value):
10151         * buffer.C (asciiParagraph): use ascii_lowercase
10152
10153 2002-07-15  Mike Fabian  <mfabian@suse.de>
10154
10155         * lyxlex_pimpl.C (search_kw):
10156         * lyxlex.C (getLongString):
10157         * converter.h (operator<):
10158         * converter.C (operator<):
10159         * buffer.C (parseSingleLyXformat2Token):
10160         (asciiParagraph):
10161         * ToolbarDefaults.C (read):
10162         * MenuBackend.C (checkShortcuts):
10163         (read):
10164         * LColor.C (getFromGUIName):
10165         (getFromLyXName): use the compare_ascii_no_case instead of
10166         compare_no_case, because in turkish, 'i' is not the lowercase
10167         version of 'I', and thus turkish locale breaks parsing of tags.
10168
10169 2002-07-16  Angus Leeming  <leeming@lyx.org>
10170
10171         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10172         now takes a Buffer const & argument.
10173
10174 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
10175
10176         * BufferView.C (resize): check there's a buffer to resize
10177
10178 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
10179
10180         * lyxfunc.C: remove dead code
10181
10182         * lyxserver.h:
10183         * lyxserver.C: use lyx_guii::set_read_callback
10184
10185 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
10186
10187         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10188         an inset in a RTL paragraph.
10189
10190 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10191
10192         * lyxfunc.C: repaint after a font size update
10193
10194 2002-07-15  André Pönitz <poenitz@gmx.net>
10195
10196         * lyxlength.C: inBP should be able to return negative values
10197
10198 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10199
10200         * lyxfunc.C: use lyx_gui::update_fonts()
10201
10202 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10203
10204         * lyxfunc.C: use lyx_gui::update_color()
10205
10206 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10207
10208         * bufferlist.C:
10209         * lyxfunc.h:
10210         * lyxfunc.C:
10211         * lyxrc.h:
10212         * lyxrc.C: remove file->new asks for name option, and let
10213           buffer-new take an argument
10214
10215 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10216
10217         * BufferView_pimpl.C: remove unneeded extra repaint()
10218
10219 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
10220
10221         * LyXAction.C: allow command-sequence with NoBuffer
10222
10223         * lyxfunc.C: don't insist on trailing ';' for command-sequence
10224
10225 2002-07-10  Angus Leeming  <leeming@lyx.org>
10226
10227         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10228
10229 2002-07-09  Angus Leeming  <leeming@lyx.org>
10230
10231         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10232
10233 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10234
10235         * lengthcommon.h: whitespace
10236
10237         * lyxfunc.C: update scrollbar after goto paragraph
10238
10239         * lyxtext.h: factor out page break drawing, and fix it so
10240           page break/added space paints as selected nicely
10241
10242 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10243
10244         * BufferView_pimpl.C: add FIXMEs, clean up a little
10245
10246 2002-07-09  André Pönitz <poenitz@gmx.net>
10247
10248         * lyxfont.[Ch]: support for wasy symbols
10249
10250 2002-07-08  André Pönitz <poenitz@gmx.net>
10251
10252         * BufferView_pimpl.C: apply John's patch for #93.
10253
10254 2002-07-05  Angus Leeming  <leeming@lyx.org>
10255
10256         * BufferView_pimpl.C (buffer): generate previews if desired.
10257
10258         * LColor.h: add "preview" to the color enum.
10259
10260         * LColor.C (LColor): add a corresponding entry to the items array.
10261
10262         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10263         with this buffer.
10264
10265 2002-07-05  Angus Leeming  <leeming@lyx.org>
10266
10267         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10268         The body of the code is now in the method that is passed an ostream &
10269         rather than a file name.
10270         Pass an additional only_preamble parameter, useful for the forthcoming
10271         preview stuff.
10272
10273 2002-07-03  André Pönitz <poenitz@gmx.net>
10274
10275         * lyxfunc.C: simplify getStatus() a bit for math stuff
10276
10277 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10278
10279         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10280
10281 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10282
10283         * text.C (changeRegionCase): do not change case of all the
10284         document when region ends at paragraph end (bug #461)
10285
10286 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10287
10288         * paragraph.C (startTeXParParams):
10289         (endTeXParParams): add \protect when necessary
10290
10291 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10292
10293         * BufferView_pimpl.C (workAreaExpose): remove warning
10294
10295 2002-06-27  Angus Leeming  <leeming@lyx.org>
10296
10297         * Makefile.am: add lyxlayout_ptr_fwd.h.
10298
10299 2002-06-26  André Pönitz <poenitz@gmx.net>
10300
10301         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10302
10303 2002-06-25  Angus Leeming  <leeming@lyx.org>
10304
10305         * lyxfunc.C (dispatch): Comment out the call to
10306         grfx::GCache::changeDisplay. The method no longer exists now that the
10307         pixmap generation part of the graphics loader has been moved into
10308         InsetGraphics.
10309
10310 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10311
10312         * text2.C: layout as layout
10313
10314         * text.C: layout as layout
10315
10316         * tabular.C (OldFormatRead): layout as layout
10317
10318         * paragraph_pimpl.C (TeXDeeper): layout as layout
10319         (realizeFont): layout as layout
10320
10321         * paragraph.C (writeFile): layout as layout
10322         (validate): layout as layout
10323         (getFont): layout as layout
10324         (getLabelFont): layout as layout
10325         (getLayoutFont): layout as layout
10326         (breakParagraph): layout as layout
10327         (stripLeadingSpaces): layout as layout
10328         (getEndLabel): layout as layout
10329         (getMaxDepthAfter): layout as layout
10330         (applyLayout): layout as layout
10331         (TeXOnePar): layout as layout
10332         (simpleTeXOnePar): layout as layout
10333         (TeXEnvironment): layout as layout
10334         (layout): layout as layout
10335         (layout): layout as layout
10336
10337         * lyxtextclass.C (compare_name): new functor to work with
10338         shared_ptr, layout as layout
10339         (Read): layout as layout
10340         (hasLayout): layout as layout
10341         (operator): layout as layout
10342         (delete_layout): layout as layout
10343         (defaultLayout): layout as layout
10344
10345         * lyxlayout_ptr_fwd.h: new file
10346
10347         * lyxlayout.C (Read): layout as layout
10348
10349         * lyx_cb.C (MenuInsertLabel): layout as layout
10350
10351         * bufferlist.C (newFile): layout as layout
10352
10353         * buffer.C (readLyXformat2): layout as layout
10354         (parseSingleLyXformat2Token): layout as layout
10355         (insertStringAsLines): layout as layout
10356         (asciiParagraph): layout as layout
10357         (latexParagraphs): layout as layout
10358         (makeLinuxDocFile): layout as layout
10359         (simpleLinuxDocOnePar): layout as layout
10360         (makeDocBookFile): layout as layout
10361         (simpleDocBookOnePar): layout as layout
10362         (getLists): layout as layout
10363
10364         * LaTeXFeatures.C (getTClassPreamble): layout as layout
10365
10366         * CutAndPaste.C (cutSelection): layout as layout
10367         (pasteSelection): layout as layout
10368         (SwitchLayoutsBetweenClasses): layout as layout
10369
10370         * BufferView_pimpl.C (Dispatch): layout as layout
10371         (smartQuote): layout as layout
10372
10373         * BufferView2.C (unlockInset): layout as layout
10374
10375 2002-06-24  André Pönitz <poenitz@gmx.net>
10376
10377         * lyxfunc.C: fix #487
10378
10379 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10380
10381         * lyxrc.h:
10382         * lyxrc.C:
10383         * lyxfunc.C: remove display_shortcuts, show_banner
10384
10385 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10386
10387         * Buffer_pimpl.C: oops, update on resize
10388
10389 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10390
10391         * buffer.C:
10392         * converter.C:
10393         * exporter.C:
10394         * lyxfunc.C:
10395         * BufferView.h:
10396         * BufferView.C: use repaint()
10397
10398         * BufferView_pimpl.h:
10399         * BufferView_pimpl.C: s/updateScreen()/repaint()/
10400           as it's a clearer description. Remove superfluous
10401           redraws.
10402
10403 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10404
10405         * text.C: fix bug 488. Not ideal, but getting
10406           getWord() to work properly for the insets that
10407           matter is more difficult ...
10408
10409 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10410
10411         * BufferView_pimpl.C:
10412         * LyXAction.C:
10413         * commandtags.h:
10414         * lyxfunc.C: remove the six million index lyxfuncs to just
10415           one, and DTRT (bug 458)
10416
10417 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10418
10419         * BufferView.h:
10420         * BufferView.C:
10421         * BufferView_pimpl.h:
10422         * BufferView_pimpl.C: clean up resize() stuff,
10423           and unnecessary updateScreen()s
10424
10425 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10426
10427         * BufferView.h:
10428         * BufferView.C:
10429         * BufferView_pimpl.h:
10430         * BufferView_pimpl.C:
10431         * lyxfind.h:
10432         * lyxfind.C:
10433         * minibuffer.C: remove focus management of workarea,
10434           not needed. Use screen's greyOut()
10435
10436 2002-06-17  Herbert Voss  <voss@lyx.org>
10437
10438         * converter.C: (convert) do not post a message, when converting
10439         fails, let the calling function decide what to do in this case
10440
10441 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
10442
10443         * lyxfunc.C: tidy up a little
10444
10445 2002-06-16    <alstrup@diku.dk>
10446
10447         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10448         Got rid of FORMS_H_LOCATION include. Now we are
10449         GUII.
10450
10451 2002-06-15  LyX Development team  <lyx@rilke>
10452
10453         * buffer.[Ch] (sgmlOpenTag):
10454         (sgmlCloseTag): Added support for avoiding pernicious mixed
10455         content. Return number of lines written.
10456
10457         (makeLinuxDocFile):
10458         (makeDocBookFile): Fixed calls to sgml*Tag.
10459         Simple white space clean.
10460
10461         (simpleDocBookOnePar): Simple white space clean.
10462
10463         * tabular.[Ch] (docBook): Renamed to docbook and got another
10464         argument to related with the pernicious mixed content.
10465
10466         (docbookRow): Fixed calls for docbook inset method.
10467
10468 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
10469
10470         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10471         so it's X11 independent.
10472
10473         * kb*.[Ch]: ditto.
10474
10475         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10476
10477 2002-06-15  Lyx Development team  <lyx@electronia>
10478
10479         * intl.h: Renamed getTrans to getTransManager.
10480
10481 2002-06-14  Angus Leeming  <leeming@lyx.org>
10482
10483         * Makefile.am: nuke forgotten stl_string_fwd.h.
10484
10485 2002-06-12  Angus Leeming  <leeming@lyx.org>
10486
10487         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10488
10489 2002-06-13  Angus Leeming  <leeming@lyx.org>
10490
10491         * LaTeX.C:
10492         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10493
10494 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
10495
10496         * kbmap.C (getiso): add support for cyrillic and greek
10497
10498 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10499
10500         * BufferView.h:
10501         * BufferView.C:
10502         * BufferView_pimpl.h:
10503         * BufferView_pimpl.C: move bogus scrolling logic
10504           to xforms
10505
10506 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10507
10508         * lyxfunc.C:
10509         * BufferView_pimpl.C: view->resize() change
10510
10511 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10512
10513         * BufferView_pimpl.C: topCursorVisible
10514           prototype change
10515
10516 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10517
10518         * Makefile.am:
10519         * lyx_gui.h:
10520         * lyx_gui.C: move to frontends/
10521
10522         * main.C:
10523         * lyx_main.h:
10524         * lyx_main.C: changes from above
10525
10526 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10527
10528         * intl.C:
10529         * intl.h:
10530         * kbmap.C:
10531         * kbsequence.C:
10532         * lyx_cb.C:
10533         * lyx_main.C: minor tidy
10534
10535 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10536
10537         * BufferView_pimpl.h:
10538         * BufferView_pimpl.C:
10539         * BufferView.h:
10540         * BufferView.C: make painter() const,
10541           remove dead code
10542
10543         * BufferView2.C: use screen() accessor
10544
10545         * lyx_main.h:
10546         * lyx_main.C: some minor cleanup
10547
10548 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10549
10550         * BufferView_pimpl.h:
10551         * BufferView_pimpl.C: remove enter/leaveView,
10552           use workHeight()
10553
10554 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10555
10556         * BufferView.h:
10557         * BufferView.C:
10558         * BufferView2.C:
10559         * BufferView_pimpl.h:
10560         * BufferView_pimpl.C: only construct screen once,
10561           rename
10562
10563         * lyxrc.C: remove pointless comment
10564
10565 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10566
10567         * BufferView.h:
10568         * BufferView.C: remove active() and belowMouse()
10569
10570         * BufferView_pimpl.h:
10571         * BufferView_pimpl.C: use workarea() not workarea_,
10572           and make it use a scoped_ptr instead
10573
10574 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10575
10576         * lyx_gui.C: add debug message on BadWindow
10577
10578 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10579
10580         * sp_spell.C: fdopen is not part of the C++ standard.
10581
10582         * paragraph.C (InsetIterator): use >= instead of ==
10583
10584 2002-06-07  Angus Leeming  <leeming@lyx.org>
10585
10586         Fixes needed to compile with Compaq cxx 6.5.
10587         * BufferView_pimpl.C:
10588         * DepTable.C:
10589         * buffer.C:
10590         * converter.C:
10591         * encoding.C:
10592         * lyx_gui.C:
10593         * lyx_main.C:
10594         * lyxtextclasslist.C:
10595         * minibuffer.C:
10596         * sp_spell.C:
10597         * tabular_funcs.C:
10598         * vc-backend.C:
10599         all c-library variables have been moved into namespace std. Wrap
10600         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10601
10602         * lyxlength.C:
10603         * tabular-old.C:
10604         * tabular.C:
10605         Add a using std::abs declaration.
10606
10607         * kbmap.h (modifier_pair):
10608         * paragraph.h (InsetTable, InsetList):
10609         * lyxfont.h (FontBits):
10610         type definition made public.
10611
10612         * bufferlist.C (emergencyWriteAll): the compiler complains that
10613         there is more than one possible lyx::class_fun template to choose from.
10614         I re-named the void specialisation as lyx::void_class_fun.
10615
10616         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10617
10618         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10619         the compiler is is unable to find tostr in write_attribute.
10620
10621 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10622
10623         * buffer.C (sgmlError): hide #warning
10624
10625 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10626
10627         * xtl/*: get rid of xtl, which is not in use anyway
10628
10629         * LyXAction.C (init):
10630         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10631         were unimplemented xtl experimentation
10632
10633 2002-06-04  André Pönitz <poenitz@gmx.net>
10634
10635         * lyxfunc.C: disable array operation on simple formulae
10636
10637 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
10638
10639         * converter.C: constify a bit
10640
10641 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
10642
10643         * lyx_gui.C: check xforms version correctly
10644
10645 2002-04-30  Herbert Voss  <voss@lyx.org>
10646
10647         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10648         "keep" option
10649
10650 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
10651
10652         * lyxvc.C: fix bug 416 (make sure buffer is saved before
10653           attempt to register it with a VCS)
10654
10655 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10656
10657         * lyx_main.C (init): honor variables LYX_DIR_13x and
10658         LYX_USERDIR_13x
10659
10660 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10661
10662         * buffer.h:
10663         * buffer.C:
10664         * lyx_main.C: fix a crash on bad command line,
10665           and give a useful exit status on error
10666
10667         * lyxfunc.C (doImport): allow -i lyx to work
10668
10669 2002-03-30  André Pönitz <poenitz@gmx.net>
10670
10671         * lyxfunc.C: mathed font changes
10672
10673 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10674
10675         * LaTeX.C:
10676         * importer.h:
10677         * importer.C:
10678         * lyx_sty.h:
10679         * lyx_sty.C:
10680         * lyxlex.C:
10681         * lyxrow.h:
10682         * lyxtext.h:
10683         * paragraph.h:
10684         * paragraph.C:
10685         * texrow.h:
10686         * texrow.C:
10687         * text.C:
10688         * trans_mgr.h: srcdocs, and some minor cleanups
10689
10690 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10691
10692         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10693         call getFont all the time)
10694
10695 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10696
10697         * switch from SigC signals to boost::signals
10698
10699 2002-05-29  André Pönitz <poenitz@gmx.net>
10700
10701         * paragraph_pimpl.C (getChar): don't call size() too often...
10702
10703 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10704
10705         * paragraph_pimpl.C (insertChar): do not try to update tables when
10706         appending (pos == size())
10707
10708         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10709         in order to reduce drastically the number of comparisons needed to
10710         parse a large document
10711
10712 2002-05-29  André Pönitz <poenitz@gmx.net>
10713
10714         * text.C:
10715         * text2.C:
10716         * lyxtextclass.C:
10717         * sp_pspell.h:
10718         * textclasslist.[Ch]:
10719         * sp_ispell.h: whitespace change
10720
10721 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10722
10723         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10724         lyxaction directly now.
10725
10726 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
10727
10728         * trans.C:
10729         * lyxfont.C:
10730         * lyxvc.C: remove unused headers
10731
10732 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10733
10734         * Makefile.am:
10735         * buffer.h:
10736         * undostack.h:
10737         * undostack.C:
10738         * undo_funcs.h:
10739         * undo_funcs.C: some cleanups. Use shared_ptr
10740           and a template for the undo stacks.
10741
10742 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10743
10744         * BufferView_pimpl.h:
10745         * BufferView_pimpl.C:
10746         * kbmap.h:
10747         * kbmap.C:
10748         * kbsequence.h:
10749         * kbsequence.C:
10750         * lyxfunc.h:
10751         * lyxfunc.C:
10752         * text2.C: use key_state/mouse_state
10753
10754 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10755
10756         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10757         and LSubstring
10758
10759         * chset.C: change include order
10760         (loadFile): use boost regex and get rid of LRegex and LSubstring
10761
10762         * Makefile.am (BOOST_LIBS): new variable
10763         (lyx_LDADD): use it
10764
10765         * LaTeX.C: change include order.
10766         (scanAuxFile): use boost regex and get rid of LRegex and
10767         LSubstring
10768         (deplog): ditto
10769
10770 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10771
10772         * ColorHandler.h:
10773         * ColorHandler.C:
10774         * FontInfo.h:
10775         * FontInfo.C: moved to frontends/xforms/
10776
10777         * FontLoader.h:
10778         * FontLoader.C: moved into frontends for GUIIzation
10779
10780         * Makefile.am:
10781         * lyx_gui.C:
10782         * lyxfont.C:
10783         * lyxfunc.C: changes from above
10784
10785 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10786
10787         * LColor.C: remove spurious X include
10788
10789         * BufferView_pimpl.C:
10790         * Makefile.am:
10791         * font.h:
10792         * font.C:
10793         * text.C:
10794         * text2.C: move font metrics to frontends/
10795
10796 2002-05-24  Juergen Vigna  <jug@sad.it>
10797
10798         * undo_funcs.C (textHandleUndo): fix the cursor selection after
10799         setting the undo_cursor.
10800
10801         * ParagraphParameters.h: include local includes first.
10802
10803 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10804
10805         * BufferView_pimpl.C:
10806         * BufferView_pimpl.h:
10807         * Makefile.am:
10808         * WorkArea.h:
10809         * WorkArea.C:
10810         * screen.C: move WorkArea into frontends/
10811
10812         * lyxscreen.h:
10813         * screen.C:
10814         * text.C:
10815         * BufferView.C:
10816         * BufferView2.C: move LyXScreen into frontends/
10817
10818         * lyxlookup.h:
10819         * lyxlookup.C:
10820         * lyx_gui.C: move lyxlookup into frontends/xforms/
10821
10822 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10823
10824         * BufferView2.C:
10825         * BufferView_pimpl.C:
10826         * FontLoader.C:
10827         * LyXView.h:
10828         * LyXView.C:
10829         * Makefile.am:
10830         * WorkArea.C:
10831         * XFormsView.h:
10832         * XFormsView.C:
10833         * buffer.C:
10834         * bufferlist.C:
10835         * bufferview_funcs.C:
10836         * converter.C:
10837         * importer.C:
10838         * lyx_cb.C:
10839         * lyx_gui.C:
10840         * lyx_main.C:
10841         * lyx_find.C:
10842         * lyxfunc.C:
10843         * lyxvc.C:
10844         * minibuffer.C:
10845         * text.C:
10846         * text2.C:
10847         * trans.C:
10848         * vc-backend.C: move LyX/XFormsView into frontends/
10849
10850 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10851
10852         * Makefile.am:
10853         * PainterBase.C:
10854         * PainterBase.h:
10855         * Painter.C:
10856         * Painter.h:
10857         * WorkArea.C:
10858         * WorkArea.h:
10859         * screen.C:
10860         * tabular.C:
10861         * text.C:
10862         * text2.C: move Painter to frontends/
10863
10864 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10865
10866         * buffer.C: comment out some some code that depend upon lyx_format
10867         < 220
10868
10869         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10870         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10871
10872         * buffer.h (NO_COMPABILITY): turn off compability
10873
10874         * ColorHandler.C: include scoped_array.hpp
10875
10876         * font.C: Use more specific smart_ptr header.
10877         * Painter.C: ditto
10878         * gettext.C: ditto
10879         * ShareContainer.h: ditto
10880         * lyx_main.h: ditto
10881         * kbmap.h: ditto
10882         * FontInfo.h: ditto
10883         * BufferView_pimpl.h: ditto
10884         * ColorHandler.h: ditto
10885
10886         * kbmap.C (defkey): change call to shared_ptr::reset
10887
10888 2002-05-21  Juergen Vigna  <jug@sad.it>
10889
10890         * buffer.C (insertErtContents): fix to insert ert asis if it is
10891         non empty. Skip it completely if it contains only whitespaces.
10892
10893 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
10894
10895         * BufferView_pimpl.C:
10896         * BufferView2.C: clear selection on paste (bug 393)
10897
10898 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10899
10900         * DepTable.C: include ctime
10901
10902 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
10903
10904         * buffer.C (latexParagraphs): Add new argument (moving_arg).
10905
10906 2002-05-14  Juergen Vigna  <jug@sad.it>
10907
10908         * text.C (breakParagraph): fixed function to honor the keepempty
10909         layout in the right maner and also to permit the right breaking
10910         algorithm on empty or non empyt keepempty paragraphs.
10911
10912         * paragraph.C (breakParagraph): we have to check also if the par
10913         is really empty (!size()) for isempty otherwise we do the wrong
10914         paragraph break.
10915
10916 2002-05-10  Juergen Vigna  <jug@sad.it>
10917
10918         * buffer.[Ch] : The following are only changes to the ert
10919         compatibility read reading old LaTeX layout and font stuff and
10920         convert it to ERTInsets.
10921
10922         * buffer.h: added isErtInset().
10923
10924         * buffer.C (struct ErtComp): add a fromlayout bool to check
10925         if we're inside a LaTeX layout.
10926         (isErtInset): new helper function.
10927         (insertErtContents): look for other ert insets before this one
10928         and insert the contents there, so that we don't have subsequent
10929         ERT insets with nothing between them. This way we create only one
10930         inset with multiple paragraphs. Also check if we don't insert only
10931         spaces ' ' as they are ignored anyway afterwards in the .tex file
10932         so if we have only spaces we will ignore this latex part in the
10933         new file.
10934         (parseSingleLyXformat2Token \\layout): better compatibility when
10935         reading layout-latex stuff.
10936         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10937         language tag.
10938         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10939         stuff after reading the inset only get the information back from
10940         the stack.
10941
10942 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
10943
10944         * buffer.C (makeLaTeXFile): Put language options after loading babel.
10945
10946         * LaTeXFeatures.C (getBabelOptions): New method.
10947
10948 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10949
10950         * BufferView_pimpl.C (Dispatch): work around missing argument for
10951         'layout'
10952
10953 2002-05-08  Juergen Vigna  <jug@sad.it>
10954
10955         * text.C (leftMargin): handle paragraph leftindent.
10956
10957         * paragraph.C (writeFile): write the new \\leftindent tag.
10958         (validate): handle leftindent code.
10959         (TeXEnvironment): handle paragraphleftindent code again.
10960
10961         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10962
10963         * buffer.C (parseSingleLyXformat2Token): added compatibility code
10964         for paragrap_extra indent code and new token \\leftindent.
10965         (latexParagraphs): handle the leftindent as environment.
10966
10967         * ParameterStruct.h: added leftindent support.
10968
10969         * ParagraphParameters.C (leftIndent): added support functions for
10970         the paragraph left indent.
10971
10972         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10973         more appropriate.
10974
10975 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
10976
10977         * paragraph.C (isRightToLeftPar): Return false for a paragraph
10978         inside insetERT.
10979
10980         * text.C (computeBidiTables): No bidi in insetERT.
10981
10982         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10983         in RTL documents.
10984
10985 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10986
10987         * version.C.in: pre 5
10988
10989 2002-05-02  José Matos  <jamatos@fep.up.pt>
10990         * buffer.C (makeDocBookFile): white space changes, add newline to
10991         command styles.
10992         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10993
10994         * tabular.C (docBook): fix typo.
10995
10996 2002-05-03  Juergen Vigna  <jug@sad.it>
10997
10998         * screen.C (drawFromTo): recalculate the rowpointer if we had a
10999         change in LyXText as we can not be sure it was not freed.
11000         (drawOneRow): remove unused code.
11001
11002         * text.C (drawInset): redo the calculation of the need_break_row as
11003         it could have a row which was already freed.
11004         (draw): look at the return value of drawInset and return false if
11005         it also returned false.
11006         (paintRowText): look at the return value of draw and return false if
11007         it also returned false.
11008
11009         * lyxtext.h: added bool return type to drawInset() and draw() so that
11010         if we have a change in the row so that the rowbreak has to be redone
11011         we abort drawing as it will be called again.
11012
11013 2002-05-02  Juergen Vigna  <jug@sad.it>
11014
11015         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11016         a change in the maintext also if we're inside an inset.
11017         (Dispatch): set the cursor again after a break line and after the
11018         screen has been updated as it could be we're in a different row.
11019
11020         * text2.C (fixCursorAfterDelete): check to make sure we don't request
11021         to set the cursor behind the pargraph with > size().
11022         (setCursor): check also for the same paragraph when checking where
11023         to put the cursor if we have a NFR inset.
11024
11025         * buffer.C (parseSingleLyXformat2Token): move the compatibility
11026         parts of layout read further up as it still was in the wrong
11027         position.
11028
11029 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11030
11031         * screen.C (drawFromTo): change sine fullRebreak always return
11032         true.
11033
11034         * buffer.C (parseSingleLyXformat2Token): reindent some
11035
11036         * BufferView_pimpl.C (update): change since fullRebreak always
11037         return true.
11038         (Dispatch): git rid of the last hardcoded "Standard"s.
11039
11040 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11041
11042         * text2.[Ch] (fullRebreak): make it return void now that we always
11043         returned true.
11044
11045 2002-04-30  Juergen Vigna  <jug@sad.it>
11046
11047         * buffer.C (parseSingleLyXformat2Token): reset the font before the
11048         ert compatibility check for "latex" layout.
11049
11050 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
11051
11052         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11053         minipages: use col% instead of p%, and also use the current font.
11054         (makeLaTeXFile): Fix use babel condition.
11055         (parseSingleLyXformat2Token): Correct font when reading old floats.
11056
11057 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
11058
11059         * BufferView_pimpl.C (Dispatch): Check that float type exists when
11060         inserting list of floats.
11061
11062 2002-04-25  Herbert Voss  <voss@lyx.org>
11063
11064         * MenuBackend.C (expand): don't add the graphics extensions to the
11065         export menu
11066
11067 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11068
11069         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11070         non-existing layout, do not complain if it was the default layout
11071         of the original class (bug #342)
11072
11073 2002-04-24  Juergen Vigna  <jug@sad.it>
11074
11075         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11076         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11077
11078 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
11079
11080         * buffer.C (getBibkeyList): If using \bibliography, return the
11081         option field with the reference itself. Enables us to provide natbib
11082         support when using \bibliography.
11083
11084 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
11085
11086         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11087
11088         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11089         natbib is provided by the LaTeX class.
11090
11091 2002-04-23  Juergen Vigna  <jug@sad.it>
11092
11093         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11094         Wakeup functions.
11095
11096         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11097
11098 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11099
11100         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11101
11102         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11103         ensuremath around textordmasculine, textordfeminine and
11104         textdegree.
11105
11106 2002-04-19  Juergen Vigna  <jug@sad.it>
11107
11108         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11109         reinitializing the buffer otherwise row-dimensions may be wrong.
11110         (update): reset also the selection cursors if they do exits otherwise
11111         their x/y positions may be wrong.
11112
11113         * text2.C (cursorDown): don't enter the inset if we came from a row
11114         above and are one row over the inset.
11115
11116         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11117         really leaving an inset.
11118
11119 2002-04-18  Juergen Vigna  <jug@sad.it>
11120
11121         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11122         of the selected paragraph does not have the selected layout also if
11123         the last one had!
11124
11125         * text2.C (setLayout): fixed bug which did not change last selected
11126         paragraph.
11127
11128         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11129         changed the read and substituted \\end_float with \\end_inset!
11130
11131         * BufferView_pimpl.C (cursorPrevious):
11132         (cursorNext): fixed to make it work with rows heigher than the work
11133         area without moving the cursor only the draw of the row.
11134         (workAreaMotionNotify): fix jumping over high rows.
11135
11136 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11137
11138         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11139         Ressler.
11140
11141 2002-04-16  Juergen Vigna  <jug@sad.it>
11142
11143         * text2.C (setCursor): set also the irow().
11144         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11145         (cursorUp):
11146         (cursorDown): support for locking an inset if the x_fix value goes
11147         inside it. That way I can transverse insets too with cursor up/down.
11148
11149         * lyxrow.h: added irow helper function same as other (i) functions.
11150
11151         * BufferView_pimpl.C (cursorPrevious):
11152         (cursorNext): fixed for insets!
11153
11154 2002-04-15  Juergen Vigna  <jug@sad.it>
11155
11156         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11157         position otherwise it is wrong in some cases.
11158
11159         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11160         inside the inset before the call.
11161
11162 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
11163
11164         * buffer.[Ch] (getBibkeyList): make it const.
11165
11166 2002-04-12  Juergen Vigna  <jug@sad.it>
11167
11168         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11169
11170         * text2.C (getCursorX): new helper function
11171         (setCursor): compute also ix_
11172         (setCursorFromCoordinates): set also ix.
11173
11174         * lyxcursor.h: added ix_ and helper functions.
11175
11176         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11177
11178         * buffer.C (insertStringAsLines): dont break paragraph if the this
11179         paragraph is inside an inset which does not permit it!
11180
11181         * text.C (breakParagraph): honor keepempty flag and break the paragraph
11182         also with no chars on this paragraph.
11183         (paintRowText): only paint stuff if it's inside the workarea!
11184
11185         * paragraph.C (breakParagraph): honor keepempty flag and break the
11186         paragraph always below not above.
11187
11188         * BufferView2.C (unlockInset): update the paragraph layout on inset
11189         unlock as we changed paragraph in such a case.
11190
11191         * lyxfind.C (LyXFind): clear the former selection if not found!
11192
11193         * text2.C (insertInset): freeze Undo after setUndo so that it is not
11194         again called in insertChar().
11195
11196         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11197         an inset which uses the whole row!
11198         (rightMargin): ditto.
11199         (insertChar): force a rebreak if we inserted an inset!
11200
11201 2002-03-28  Herbert Voss  <voss@lyx.org>
11202
11203         * lyxlength.[Ch]: add inBP() to get the right PS-point
11204         units (BigPoint). With inPixels we have rounding errors
11205
11206 2002-04-11  Juergen Vigna  <jug@sad.it>
11207
11208         * text2.C (setCursorFromCoordinates): set iy to the right value.
11209         (setCursor): add check if row->previous exists!
11210
11211         * buffer.C (parseSingleLyXformat2Token): reset font after read of
11212         an old float_type as this was the case in the old code!
11213
11214         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11215
11216         * BufferView2.C (showLockedInsetCursor): use iy
11217         (fitLockedInsetCursor): ditto
11218
11219         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11220         locked insets as there we have the right value now.
11221
11222         * lyxcursor.C: added iy_ variable and iy functions to set to the
11223         baseline of cursor-y of the locked inset.
11224
11225         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11226         (setCursor): fixed for insets which need a full row.
11227
11228         * text.C (rowLastPrintable): don't ignore the last space when before
11229         an inset which needs a full row.
11230         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11231         as last character of a row when before a inset which needs a full row.
11232
11233 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11234
11235         * version.C.in: update date
11236
11237         * text2.C (fullRebreak): try to always return true and see what
11238         happens...
11239
11240 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11241
11242         * MenuBackend.C (expand): use Floating::listName
11243
11244         * FloatList.C (FloatList): add listName argument to the built-in
11245         floats
11246
11247         * Floating.[Ch]: add listName member, which is the 'List of XXX'
11248         text associated with the float.
11249
11250 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11251
11252         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11253
11254 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11255
11256         * ShareContainer.h: add a couple of missing typenames.
11257
11258 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
11259
11260         * lyxrc.C (getDescription): use _() correctly rather than N_().
11261
11262 2002-03-28  Herbert Voss  <voss@lyx.org>
11263
11264         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11265         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11266
11267 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11268
11269         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11270         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11271
11272 2002-03-29  Juergen Vigna  <jug@sad.it>
11273
11274         * lyxfunc.C (dispatch): add a missing fitCursor call.
11275
11276         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11277         it was scrolled by a cursor move, so return the bool status.
11278
11279         * BufferView.C (fitCursor): return the bool flag also to the outside
11280         world as this is needed.
11281
11282         * screen.C (toggleToggle): don't subtract the offset if it's positive.
11283
11284         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11285         call the edit() as it is not needed (and wrong) IMO.
11286         (workAreaButtonPress): set the screen_first variable before evt.
11287         unlock the inset as this may change screen_first and then we have
11288         a wrong y position for the click!
11289
11290 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11291
11292         * MenuBackend.C (expand): another translation that I missed
11293
11294 2002-03-28  Juergen Vigna  <jug@sad.it>
11295
11296         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11297
11298         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11299
11300 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11301
11302         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11303
11304         * MenuBackend.C (expand): fix export/view/update when there is no
11305         document open.
11306
11307 2002-03-27  Herbert Voss  <voss@lyx.org>
11308
11309         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11310         and text%
11311
11312 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11313
11314         * bufferview_funcs.C (currentState): only show paragraph number
11315         for is DEVEL_VERSION is set.
11316
11317         * lyxfunc.C (dispatch): put warning in INFO channel
11318
11319         * MenuBackend.C (expand): translate the name of floats
11320
11321         * FloatList.C (FloatList): mark the float names for translation
11322
11323         * converter.C (convert): use LibScriptSearch
11324
11325 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11326
11327         * MenuBackend.C (defaults): fix default menu (we might as well get
11328         rid of it...)
11329
11330 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11331
11332         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11333         directory.
11334
11335 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11336
11337         * lyxvc.C: reorder includes.
11338
11339 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
11340
11341         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11342           properly
11343
11344 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
11345
11346         * CutAndPaste.C: change layouts earlier on paste
11347           to avoid crashing when calling getFont()
11348
11349 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
11350
11351         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11352         irritating #error.
11353
11354 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11355
11356         * WorkArea.C: remove 'Pending' debug message.
11357
11358         * most files: ws cleanup
11359
11360         * buffer.[Ch]: ws changes
11361
11362         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11363
11364 2002-03-21  Juergen Vigna  <jug@sad.it>
11365
11366         * tabular.C (SetMultiColumn): collapse also the contents of the
11367         cells and set the last border right. Added a Buffer const * param.
11368
11369 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11370
11371         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11372         linking or not.
11373
11374 2002-03-19  Juergen Vigna  <jug@sad.it>
11375
11376         * text2.C (clearSelection): reset also xsel_cache.
11377
11378         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11379         where it needs to be called (John tells us to do so too :)
11380         (selectionLost): reset sel_cache.
11381
11382         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11383
11384 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11385
11386         * text2.C (setCursorIntern): put debuging code in INSETS channel
11387
11388 2002-03-19  André Pönitz <poenitz@gmx.net>
11389
11390         * lyxfunc.C: tiny whitespace change
11391
11392 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11393
11394         * ToolbarDefaults.C (init):
11395         * LyXAction.C (init):
11396         * commandtags.h:
11397         * BufferView_pimpl.C (Dispatch):
11398         * lyxfunc.C (dispatch): remove LFUN_DEPTH
11399
11400 2002-03-19  Allan Rae  <rae@lyx.org>
11401
11402         * exporter.C (Export): removeAutoInsets before doing anything else.
11403         While I've just introduced a dependency on BufferView this really is
11404         the best place to clean the buffer otherwise you need to cleanup in
11405         a dozen places before calling export or cleanup in a dozen functions
11406         that export calls.
11407
11408         * converter.C (runLaTeX):
11409         (scanLog): Better handling of removeAutoInsets and screen updates.
11410
11411         * lyxfunc.C (dispatch): small whitespace changes
11412
11413 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11414
11415         * WorkArea.C (C_WorkAreaEvent): return a value.
11416         (event_cb): return 1 if we handled the event, 0 otherwise.
11417
11418         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11419
11420 2002-03-18  Juergen Vigna  <jug@sad.it>
11421
11422         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11423         (GetAdditionalWidth): ditto.
11424         (RightLine): ditto.
11425         (LeftLine): ditto.
11426
11427         * BufferView2.C (copy): use getLyXText() so that we do it inside an
11428         inset if we're there actually (probably not used right now but this
11429         is the direction to go for unifying code).
11430         (paste): disable code to clear the selection.
11431
11432         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11433         inside an InsetText and move the check further up as it is in the
11434         wrong place.
11435
11436         * text2.C (pasteSelection): set a selection over the pasted text.
11437
11438 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
11439
11440         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11441         and libgraphics to build on Cygwin.
11442
11443 2002-03-15  Juergen Vigna  <jug@sad.it>
11444
11445         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11446         inserting an Inset into the paragraph. I know this is not the best
11447         fix but we already use current_view in CutAndPaste so we will remove
11448         all of it's using at the same time.
11449
11450         * buffer.C (sgmlError): deactivated function till it is rewritten in
11451         the right mode, now it can create problems.
11452
11453         * paragraph.C (isLineSeparator): check if getInset returns != 0,
11454         before accessing it.
11455
11456 2002-03-14  Juergen Vigna  <jug@sad.it>
11457
11458         * undo_funcs.C (textHandleUndo): do the right thing when updating
11459         the inset after the undo/redo.
11460
11461         * text2.C (setCursor): just some testcode for #44 not ready yet.
11462
11463         * undo_funcs.C (textHandleUndo): set the next() and previous()
11464         pointers of the paragraph to 0 before deleting otherwise we have
11465         problems with the Paragraph::[destructor].
11466
11467         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11468         on a paragraph insertion.
11469
11470 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11471
11472         * buffer.C (asciiParagraph): use += operator for char append to
11473         string.
11474
11475         * paragraph.C (getFontSettings): compare >= not just >
11476         (highestFontInRange): ditto
11477         (setFont): ditto
11478
11479 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11480
11481         * paragraph.C: change several algorithm to be more appripriate for
11482         the problem domain. This is lookip in FontList and in the InsetList.
11483
11484 2002-03-13  André Pönitz <poenitz@gmx.net>
11485
11486         * commandtags.h:
11487         * LyXAction.C: remove unused LFUN_MATH_MACROARG
11488
11489 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
11490
11491         * commandtags.h:
11492         * LyXAction.C:
11493         * lyxfunc.C:
11494         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11495
11496 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11497
11498         * Painter.C (display): anon helper function, adjust code for this
11499         change.
11500         (pixmap): remove function.
11501
11502         * Painter.h: remove private display variable.
11503
11504         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11505
11506 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
11507
11508         * WorkArea.[Ch]: remove figinset_canvas cruft.
11509
11510 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11511
11512         * lyxtextclass.C (operator): add one item cache optimization.
11513
11514         * bufferlist.h: doxy changes
11515
11516         * bufferlist.C: ws changes
11517
11518         * DepTable.[Ch] (ext_exist): place const in the right spot.
11519
11520         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11521         call resizeInsets.
11522         (workAreaExpose): call resizeInsets when the with BufferView changes.
11523         (Dispatch): adjust for protectedBlank removal
11524         (specialChar): call updateInset if the insert went ok.
11525
11526         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11527         specialChar instead.
11528
11529         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11530
11531         * BufferView.h: doxy change
11532
11533         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11534
11535         * lyxtextclass.C (operator[]): remove non-const version
11536         (defaultLayout): remove non-const version
11537
11538 2002-03-12  Juergen Vigna  <jug@sad.it>
11539
11540         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11541         did resize the LyXText too.
11542
11543         * buffer.C (readLyXformat2): set layout information on newly allocated
11544         paragraphs.
11545
11546         * tabular.C (OldFormatRead): set layout information on the paragraph.
11547
11548 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11549
11550         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11551
11552 2002-03-11  Juergen Vigna  <jug@sad.it>
11553
11554         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11555         plainly wrong.
11556         (resizeCurrentBuffer): force also the insets to resize themselfes.
11557         (moveCursorUpdate): fixed up for InsetText.
11558
11559 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
11560
11561         * commandtags.h:
11562         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11563         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11564         value of Dialogs::tooltipsEnabled().
11565         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11566
11567 2002-03-08  Juergen Vigna  <jug@sad.it>
11568
11569         * BufferView_pimpl.C (updateInset): update inset inside inset also
11570         if it isn't inside theLockingInset().
11571
11572 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11573
11574         * buffer.C (asciiParagraph): redo some of the word and line length
11575         handling.
11576         (getLists): look for Caption instead of caption.
11577
11578 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11579
11580         * buffer.C (Buffer): initialize niceFile to true
11581         (makeLaTeXFile):
11582         (makeLinuxDocFile):
11583         (makeDocBookFile): make sure niceFile is true on exit
11584
11585 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11586
11587         * buffer.C (makeLaTeXFile): escape ~ in \input@path
11588
11589 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
11590
11591         * LyXSendto.C: remove.
11592         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11593         * lyx_gui.C: remove now-redundant comment.
11594         * ColorHandler.h: remove forward declaration of class WorkArea.
11595         * lyxfunc.C: remove #include "WorkArea.h".
11596
11597 2002-03-07  Juergen Vigna  <jug@sad.it>
11598
11599         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11600         got moved away with the DEPM and also set the inset_owner always
11601         right which before could have been omitted.
11602
11603 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11604
11605         * buffer.C (parseSingleLyXformat2Token): use default layout is the
11606         wanted layout is not found.
11607
11608 2002-03-07  Juergen Vigna  <jug@sad.it>
11609
11610         * CutAndPaste.C (cutSelection): another layout settings forgotten.
11611
11612 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11613
11614         * paragraph.C (breakParagraph): use default layout not layout of
11615         prev paragraph.
11616         (Paragraph): clear ParagraphParameters.
11617
11618 2002-03-06  Juergen Vigna  <jug@sad.it>
11619
11620         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11621         otherwise it would not be a valid lenght. Fixed a special case in
11622         the minipage compatibility read where we end the document with a
11623         minipage.
11624
11625         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11626         was set as it could be 0 for InsetTexts first entry.
11627
11628 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11629
11630         * paragraph.C (writeFile): if layout is empty write out
11631         defaultLayoutName().
11632
11633         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11634         file without named layout we set layout to defaultLayoutName().
11635
11636 2002-03-06  Juergen Vigna  <jug@sad.it>
11637
11638         * CutAndPaste.C (copySelection): set layout for new paragraph.
11639
11640         * text.C (prepareToPrint): leave ERT inset left aligned
11641         (leftMargin): don't indent paragraphs inside ERT insets
11642
11643 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11644
11645         * paragraph.C (breakParagraph): dont call clear do the work manually
11646
11647         * paragraph.[Ch] (clear): remove function
11648
11649 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11650
11651         * paragraph.C (Paragraph): dont call clear, the work has already
11652         been done.
11653
11654         * lyxtextclass.C (operator): assert if n is empty
11655
11656         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11657         work manually instead.
11658
11659 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11660
11661         * BufferView_pimpl.C: protect selectionLost against text == 0
11662
11663 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11664
11665         * text.C (breakParagraph): fix a setting layout to '0' problem.
11666
11667 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11668
11669         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11670         final location of file, for the included files, and graphics.
11671
11672 2002-03-05  Juergen Vigna  <jug@sad.it>
11673
11674         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11675
11676 2002-03-04  Juergen Vigna  <jug@sad.it>
11677
11678         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11679
11680         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11681         last column of multicolumn cells.
11682         (SetWidthOfMulticolCell): recalculate NMC and real columns.
11683
11684 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11685
11686         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11687         file if it doesn't go to a temporary file.
11688
11689         * buffer.C (sgmlOpenTag):
11690         (sgmlCloseTag):  remove extra newline insertion.
11691
11692 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11693
11694         * text.C (getRowNearY): comment out debug msg
11695
11696 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11697
11698         * text2.C: first -> first_y
11699
11700         * text.C (getRowNearY): add some attemts at a possible
11701         optimization, not working.
11702
11703         * tabular.[Ch]: add BufferParams to several function so that newly
11704         created paragraph can be initialized to he default layotu for the
11705         buffers textclass.
11706
11707         * tabular-old.C (ReadOld): add buf->params to call of Init
11708
11709         * screen.C: rename text->first to text->first_y
11710
11711         * paragraph.C (breakParagraph): always set layout in the broken
11712         paragraph
11713
11714         * lyxtextclass.C (Read): remove lowercase
11715         (hasLayout): ditto
11716         (operator): ditto
11717         (delete_layout): ditto
11718
11719         * lyxtext.h: rename first -> first_y
11720
11721         * lyxlayout.C (Read): remove lowercase
11722         (name): ditto
11723         (setName): ditto
11724         (obsoleted_by): ditto
11725
11726         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11727
11728         * buffer.C (insertErtContents): add params are to InsetERT
11729         (parseSingleLyXformat2Token): add code to check if a paragraphs
11730         layout really exist.
11731         (parseSingleLyXformat2Token): add params to several inset
11732         constructors
11733         (asciiParagraph): remove lowercase, do the layout comparisons with
11734         no_case
11735
11736         * BufferView_pimpl.C (cursorNext): first -> first_y
11737         (resizeCurrentBuffer): first -> first_y
11738         (updateScrollbar): first -> first_y
11739         (scrollCB): first -> first_y
11740         (workAreaMotionNotify): first -> first_y
11741         (workAreaButtonPress): first -> first_y
11742         (checkInsetHit): first -> first_y
11743         (cursorPrevious): first -> first_y
11744         (cursorNext): first -> first_y
11745         (Dispatch): add buffer_->params to severl inset contructors
11746
11747 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11748
11749         * lyxlayout.C (Read): remove some debug info that I forgot.
11750
11751         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11752         clean up the code slightly.
11753         (makeLinuxDocFile): ditto
11754         (makeDocBookFile): ditto
11755
11756         * text2.C: layout as string
11757
11758         * text.C: layout as string
11759
11760         * paragraph_pimpl.C: layout as string
11761
11762         * paragraph.[Ch]: layout as string
11763
11764         * lyxtextclasslist.[Ch]: layout as string
11765
11766         * lyxtextclass.[Ch]: layout as string
11767
11768         * lyxtext.h: layout as string
11769
11770         * lyxlayout.[Ch]: layout as string
11771
11772         * lyx_cb.C: layout as string
11773
11774         * bufferview_funcs.C: layout as string
11775
11776         * bufferparams.C: layout as string
11777
11778         * buffer.C: layout as string
11779
11780         * LyXView.[Ch]: layout as string
11781
11782         * LaTeXFeatures.[Ch]: layout as string
11783
11784         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11785
11786         * BufferView_pimpl.C: change current_layout to string, remove
11787         lyx::layout_type.
11788         (Dispatch):
11789         (smartQuote):
11790         (insertInset):
11791         (workAreaButtonRelease): layout as string
11792
11793         * BufferView2.C (unlockInset): adjust
11794
11795         * vspace.C (asLatexCommand): use an explict temp variable.
11796
11797 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11798
11799         * Makefile.am: use FRONTEND_*
11800
11801 2002-03-01  Juergen Vigna  <jug@sad.it>
11802
11803         * tabular.C (SetWidthOfMulticolCell): changed to something better
11804         I hope but still work in progress.
11805         (recalculateMulticolumnsOfColumn): renamed function from
11806         recalculateMulticolCells as it is more appropriate now.
11807         (SetWidthOfCell): calculate multicols better.
11808
11809 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11810
11811         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11812
11813         * lyxfunc.C (processKeySym): print sequence also if it is
11814         `deleted' (complete)
11815
11816         * kbsequence.C (print): print sequence even if it is deleted
11817         (complete would be a better word, actually).
11818
11819         * lyxfunc.C (dispatch): print complete options after a prefix key
11820
11821         * vspace.C (asLatexCommand): rewrite in a slightly different form.
11822
11823 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
11824
11825         * text2.C (setCharFont): eliminate setCharFont code duplication.
11826
11827 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11828
11829         * BufferView_pimpl.C (Dispatch): remove bogus handling of
11830         LFUN_TABULAR_FEATURE (bug #177)
11831
11832 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
11833
11834         * Makefile.am: remove figure.h
11835
11836 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
11837
11838         * Bufferview_pimpl.C:
11839         * CutAndPasteC:
11840         * LaTeX.C:
11841         * LyXSendto.C:
11842         * buffer.C:
11843         * bufferlist.C:
11844         * converter.C:
11845         * language.C:
11846         * lyxfunc.C:
11847         * lyxvc.C:
11848         * paragraph.C:
11849         * text.C:
11850         * text2.C: remove #include "lyx_gui_misc.h".
11851
11852         * LaTeX.C: added #include <cstdio>
11853
11854 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11855
11856         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11857         that the paragraph following this one can have.
11858
11859         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11860
11861         * vspace.C (asLatexCommand): fix bogus gcc warning
11862
11863         * Makefile.am (lyx_SOURCES): remove vms_defines.h
11864
11865 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
11866
11867         * text2.C (setLayout): get rid of redundant code
11868
11869 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
11870
11871         * text2.C (incDepth): make sure depth cannot be increased beyond
11872         reasonable values.
11873
11874 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
11875
11876         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11877         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11878
11879         * PainterBase.h (image):
11880         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11881         a LyXImage const *.
11882
11883 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11884
11885         * BufferView.C:
11886         * BufferView.h:
11887         * BufferView_pimpl.C:
11888         * BufferView_pimpl.h:
11889         * LaTeXFeatures.C:
11890         * LyXAction.C:
11891         * LyXView.C:
11892         * Makefile.am:
11893         * UpdateList.h:
11894         * UpdateList.C:
11895         * buffer.C:
11896         * figure.h:
11897         * figureForm.C:
11898         * figureForm.h:
11899         * figure_form.C:
11900         * figure_form.h:
11901         * lyx_cb.C:
11902         * lyx_gui.C:
11903         * lyx_gui_misc.C:
11904         * lyxfunc.C:
11905         * sp_base.h:
11906         * sp_ispell.h:
11907         * sp_pspell.h:
11908         * sp_spell.C: remove fig inset, and the crap house of
11909           cards that follows it
11910
11911 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11912
11913         * Makefile.am:
11914         * lyxserver.C:
11915         * os2_defines.h:
11916         * os2_errortable.h:
11917         * nt_defines.h: move .h into support/
11918
11919         * vms_defines.h: remove
11920
11921         * WorkArea.C: add space in debug output
11922
11923         * text2.C:
11924         * paragraph.C:
11925         * buffer.C: add WITH_WARNINGS
11926
11927         * vc-backend.h:
11928         * vc-backend.C:
11929         * bufferlist.C: s/retrive/retrieve/, add docs
11930
11931         * vspace.h:
11932         * vspace.C:
11933         * kbmap.h:
11934         * lyxlength.h:
11935         * lyxgluelength.h:
11936         * length_common.h:
11937         * chset.h:
11938         * chset.C: add docs
11939
11940         * lyxgui.C: add ID to X error handler
11941
11942         * lyxtestclass.c: fix typo
11943
11944 2002-02-26  Juergen Vigna  <jug@sad.it>
11945
11946         * tabular_funcs.C (write_attribute): changed so that some default
11947         attributes are not written at all.
11948         (getTokenValue): set default values before trying to read the
11949         value so we have the return value always set as default if we don't
11950         find the token we search for.
11951
11952         * tabular.C (Write): write bools as bools not as strings!
11953
11954 2002-02-22  Juergen Vigna  <jug@sad.it>
11955
11956         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11957         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11958
11959         * text.C (leftMargin): don't add an indent for paragraphs inside
11960         tabular cells (fix #208).
11961
11962 2002-02-21  José Matos  <jamatos@fep.up.pt>
11963
11964         * tabular.C (docBook): fixed support for long tables.
11965
11966 2002-02-20  Juergen Vigna  <jug@sad.it>
11967
11968         * text2.C (getFont): get the drawing font of the Inset if this
11969         paragraph is inside an inset (only important for InsetERT for now).
11970
11971         * buffer.C (insertErtContents): use new lanugage params in ERT
11972         constructor.
11973
11974         * CutAndPaste.C: commenting out seemingly uneeded code.
11975
11976 2002-02-19  Allan Rae  <rae@lyx.org>
11977
11978         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11979         Iterators might be simple to use but they also get invalidated.
11980         (removeAutoInsets): renamed saved cursor tracking variables and added
11981         some comments to clarify what everything does.
11982
11983 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
11984
11985         * Chktex.C:
11986         * LaTeX.C:
11987         * LyXSendto.C:
11988         * converter.C:
11989         * lyx_cb.C:
11990         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11991         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11992
11993         * lyxfunc.C:
11994         * vc-backend.h: remove #include "support/syscall.h"
11995
11996         * LaTeX.C:
11997         * LyXSendto.C:
11998         * converter.C: rearrange #includes in Lars' approved fashion.
11999
12000         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12001         forward declare class Timeout in the header file.
12002
12003         * XFormsView.C: changes due to the above.
12004
12005         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12006         similar to LyXView.
12007
12008         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12009         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12010
12011 2002-02-18  José Matos  <jamatos@fep.up.pt>
12012
12013         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12014         insets contents.
12015
12016 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
12017
12018         * a lot of small ws changes
12019         * add a lot of using std::XXX
12020         * use std construcs some places where approp.
12021         * use some exisint stuff from lyxfunctional where approp.
12022         * Make file changes to use partial linking (lets test this now...)
12023
12024 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12025
12026         * Chktex.C:
12027         * buffer.C:
12028         remove #include "support/syscontr.h" as it's redundant. Always has been.
12029
12030         * Chktex.C:
12031         * LaTeX.C:
12032         * LyXSendto.C:
12033         * converter.C:
12034         * lyx_cb.C:
12035         * vc-backend.C:
12036         change Systemcalls::System to Systemcalls::Wait and
12037         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12038         No change of functionality, just reflects the stripped down Systemcalls
12039         class.
12040
12041 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12042
12043         * debug.[Ch]: add a GRAPHICS type to the enum.
12044
12045 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12046
12047         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12048
12049         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12050         there is an inset.
12051
12052 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12053
12054         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12055         match the changes below.
12056
12057         * text2.C (toggleInset): if there is not editable inset at cursor
12058         position, try to see if cursor is _inside_ a collapsable inset
12059         and close it.
12060
12061 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12062
12063         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12064         document menu has a nice checkbox
12065
12066 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12067
12068         * lyxlength.C (asLatexString): change PW to output as percent of
12069         \textwidth.
12070
12071         * lengthcommon.C: change '%' to 't%'
12072
12073         * lyxfunc.C (dispatch): a few comments from Martin
12074
12075 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
12076
12077         * WorkArea.h:
12078         * WorkArea.C:
12079         * BufferView_pimpl.h:
12080         * BufferView_pimpl.C: clear our selection when X tells us we've lost
12081           the X selection.
12082
12083 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12084
12085         * vspace.C (inPixels): fix compiler warning
12086
12087 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12088
12089         * lyxfunc.C (getStatus): fix status message for disabled commands.
12090
12091 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
12092
12093         * BufferView_pimpl.C: fix crash on close buffer
12094         during selection (#227)
12095
12096 2002-01-27  Herbert Voss  <voss@lyx.org>
12097
12098         * buffer.C: link old Figure to new graphic inset
12099
12100 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
12101
12102         * FontLoader.C (getFontinfo): Change the latex font names in order
12103         to match the names of type1inst.
12104
12105 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12106
12107         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12108
12109         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12110         (extchanged): ditto
12111         (ext_exist): ditto
12112         (remove_files_with_extension): ditto
12113         (remove_file): ditto
12114         (write): ditto
12115
12116         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12117         document is smaller than the work area height. Do not initialize
12118         static variables to 0.
12119
12120 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12121
12122         * lyx_gui.C (init): give the toolbar tooltips a normal font.
12123
12124         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12125         LFUN_LAYOUT_PARAGRAPHS.
12126
12127         * tabular.C (GetCellFromInset): new method. Finds an inset in a
12128         tabular. It is possible to provide a possible cell, which will
12129         typically be the actcell from the corresponding insettabular
12130
12131         * lyxfunc.C (getStatus): small cleanup; disable
12132         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12133         true
12134
12135 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12136
12137         * tabular.C (Validate): remove broken optimization (fixes bug #201)
12138
12139         * paragraph.C (startTeXParParams):
12140         (endTeXParParams): new methods. The LaTeX code to
12141         start/end paragraph formatting
12142         (simpleTeXOnePar): call startTeXParParams also when paragraph is
12143         empty (fixes bug #200)
12144
12145         * vspace.C (inPixels): adapt to the change below
12146         (inPixels): [later] more cleanups (remove unused variables)
12147
12148         * lyxlength.C (inPixels): change to use a width and a height as
12149         parameter.
12150
12151 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12152
12153         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12154         Replaced with \paperwidth
12155
12156         * DepTable.C (insert): add std:: qualifier
12157
12158 2002-01-18  Allan Rae  <rae@lyx.org>
12159
12160         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
12161         updated also?
12162
12163         * text.C (drawInset): Turned out I didn't know enough about how
12164         rebreaking worked.  This fixes most of the redraw problems.  I see
12165         an occasional cursor trail when a line is broken now and the cursor
12166         placement can seem out by a few pixels also after a rebreak.
12167
12168 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12169
12170         * buffer.C (parseSingleLyXformat2Token): update because minipage
12171         width is now a LyXLength
12172
12173         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12174
12175         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12176         math insets
12177
12178 2002-01-17  Juergen Vigna  <jug@sad.it>
12179
12180         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12181
12182         * BufferView2.C (lockInset): call edit() so that theLockingInset()
12183         is set correctly and the inset is updated correctly.
12184
12185 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12186
12187         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12188         the beginning of the loop.
12189
12190 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
12191
12192         * lyxrc.C: improve help for use_scalable_fonts
12193
12194 2002-01-17  Allan Rae  <rae@lyx.org>
12195
12196         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12197
12198 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12199
12200         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12201         make sure to set their inset_owner to the right value (bug #171)
12202
12203 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
12204
12205         * DepTable.h
12206         * DepTable.C: Implement mtime checking to reduce time spent doing
12207         CRCs.
12208
12209 2002-01-16  Juergen Vigna  <jug@sad.it>
12210
12211         * tabular.C (GetAdditionalHeight): one of error fixed.
12212
12213         * lyxrc.C (output): small fix in writing use_pspell.
12214
12215 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
12216
12217         * sp_base.h: #include LString.h
12218
12219 2002-01-16  Allan Rae  <rae@lyx.org>
12220
12221         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
12222         Can someone check this please?
12223
12224         * text.C (drawInset): It was possible that p.row would be removed by
12225         breakAgainOneRow upsetting a few other settings.  There may be another
12226         small tweak possible by setting need_break_row = 0 when p.row has been
12227         removed but I don't know enough about the logic here.
12228
12229 2002-01-15  Allan Rae  <rae@lyx.org>
12230
12231         * text.C (insertChar): removed conditional truism.
12232
12233         * BufferView2.C (removeAutoInsets): More tweaks.
12234         cur_par_prev could be a stray pointer.  Check for trailing empty line
12235         in case last line was cur_par and only had an error inset on it.
12236
12237 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12238
12239         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12240         absolute
12241
12242         * vc-backend.C (most methods):
12243         * exporter.C (Export):
12244         * converter.C (convert):
12245         (runLaTeX):
12246         * LyXSendto.C (SendtoApplyCB):
12247         * lyxfunc.C (dispatch):
12248         (menuNew):
12249         (open):
12250         (doImport):
12251         * lyx_cb.C (AutoSave):
12252         (InsertAsciiFile):
12253         * BufferView_pimpl.C (MenuInsertLyXFile):
12254         * buffer.C (runChktex): use Buffer::filePath().
12255
12256         * buffer.h: rename filename to filename_; rename filepath to
12257         filepath_ and make it private
12258         (filePath): new method
12259
12260         * buffer.C (writeFile): use fileName()
12261         (getLatexName):
12262
12263         * lyx_main.C (init): fix starting  of LyX when the binary is a
12264         link from so,ewhere else.
12265
12266         * minibuffer.C: include <cctype> for isprint
12267
12268 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12269
12270         * buffer.C (parseSingleLyXformat2Token): changes associated with the
12271         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12272         name clash with InsetCollapsable's width function.
12273
12274 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12275
12276         * lastfiles.C: include <iterator>
12277
12278 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12279
12280         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12281         std::count.
12282
12283         * buffer.C (makeLaTeXFile): ditto.
12284         Also make loop operation more transparent.
12285
12286 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12287
12288         * ToolbarDefaults.C: remove trailing comma closing namespace.
12289
12290         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12291
12292         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12293         as in WorkArea.
12294
12295         * trans.C (Load): comment out unused variable, allowed.
12296
12297 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12298
12299         * minibuffer.[Ch] (append_char): new method to recieve input from the
12300         drop-down completion browser. If a key was pressed, then recieve this
12301         char and append it to the existing string.
12302         (peek_event): modify the positioning data passed to the completion
12303         browser so that it can be placed above the minibuffer rather than below.
12304 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12305
12306         * LyXAction.C (init): alloe error-next for readonly documents.
12307
12308         * BufferView2.C (ChangeRefsIfUnique): use standard version of
12309         count.
12310
12311 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12312
12313         * bufferlist.C (readFile): create the buffer _after_ checking that
12314         the file exists.
12315
12316         * lyxfunc.C (verboseDispatch): fix handling of arguments
12317
12318         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12319
12320         * lyxrc.C: use string::erase() instead of initializing to "".
12321
12322
12323 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12324
12325         * BufferView_pimpl.h:
12326         * BufferView_pimpl.C:
12327         * WorkArea.h:
12328         * WorkArea.C:
12329         * text2.C: tell X when we have made a selection for copying
12330
12331 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12332
12333         * BufferView_pimpl.C (MenuInsertLyXFile):
12334         * lyxfunc.C (menuNew):
12335         (open):
12336         (doImport): add shortcuts to directory buttons
12337
12338         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12339         open a float)
12340
12341         * lyxfunc.C (setStatusMessage):
12342         (getStatusMessage): new methods
12343         (getStatus):use setStatusMessage instead of setErrorMessage
12344         (dispatch): when function is disabled, set error message here
12345         [instead of in getStatus previously]
12346
12347         * BufferView_pimpl.C (workAreaButtonRelease): update
12348         toolbar/menubar here too.
12349
12350 2002-01-13  Allan Rae  <rae@lyx.org>
12351
12352         * BufferView2.C (removeAutoInsets): finished off earlier fix.
12353         Now seems indestructible.  Remaining task is to audit all other
12354         code affected by deleteEmptyParagraphMechanism.  One small quirk
12355         left is that an empty document with an error in the preamble can
12356         be made to report an error but no error box appears.  I don't know
12357         where it goes.
12358         (removeAutoInsets): Improved comments.
12359
12360 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
12361
12362         * Thesaurus.h:
12363         * Thesaurus.C: update for Aiksaurus 0.14
12364
12365 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12366
12367         * text2.C (firstParagraph): removed member function, all uses
12368         replaces with ownerParagraph
12369         (redoParagraphs): here
12370         (updateInset): here
12371         (toggleAppendix): here
12372         * BufferView2.C (insertErrors): here
12373         (setCursorFromRow): here
12374
12375 2002-01-13  Allan Rae  <rae@lyx.org>
12376
12377         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12378         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12379         There is still a way to segfault this although you may have to do this
12380         multiple times: Have an InsetERT with an unknown command in it.
12381         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12382         <down-arrow>, <Enter> again, View->DVI, BANG!
12383
12384         * text2.C (setCursor):
12385         (deleteEmptyParagraphMechanism):
12386         * lyxtext.h (setCursor):
12387         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12388         Making use of the return value may help fix other bugs.
12389
12390 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12391
12392         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12393
12394         * LyXView.C (updateMenubar): call MenuBar::update here
12395         (updateToolbar): but not here
12396         (showState): do not update toolbar/menubar
12397
12398         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12399         should need to care about that.
12400
12401         * lyxfunc.C (verboseDispatch): simplify a bit
12402         (getStatus): have a version which takes a pseudoaction, and
12403         another which requires a (kb_action,string).
12404
12405         * LyXAction.C (retrieveActionArg): make it work also when action
12406         is not a pseudo-action.
12407         (getActionName): simplify a bit
12408         (helpText):
12409
12410 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12411
12412         * lyxfunc.C (verboseDispatch): new families of methods with
12413         several ways to specify a command and a bool to indicate whether
12414         the command name and shortcut should be displayed in minibuffer
12415         (eventually, we could extend that to a finer bitmask like
12416         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12417         (dispatch): the pristine dispatch command which just, well,
12418         dispatchs! Note it still sets its result to minibuffer; I'm not
12419         sure we want that.
12420
12421         * lyxfunc.h: remove setHintMessage
12422
12423         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12424
12425 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12426
12427         * BufferView_pimpl.C (specialChar): delete new inset if we have
12428         not been able to insert it.
12429
12430         * kbmap.C: revert to using int instead of kb_action, since all we
12431         are dealing with is pseudo-actions.
12432
12433         * LyXAction.C (searchActionArg): change to return int instead of
12434         kb_action, since the result is a pseudoaction.
12435
12436 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
12437
12438         * buffer.C (insertErtContents): Fix (partially) the font bug.
12439
12440 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12441
12442         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12443         as the other one is broken on my machine!
12444
12445 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
12446
12447         * commandtags.h:
12448         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12449
12450 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
12451
12452         * lyxrc.[Ch]: change names and descriptions of popup font variables to
12453         reflect their actual use. Provide compatibility code for older lyxrc
12454         files.
12455
12456         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12457         FL_NORMAL_STYLE.
12458         change names of popup font variables in line with the changes to lyxrc.C
12459
12460 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12461
12462         * buffer.C (asciiParagraph): avoid outputing a word twice after
12463         an inset.
12464
12465         * lyxrc.C (getDescription): document that document_path and
12466         template_path can be empty.
12467
12468 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12469
12470         * LaTeXFeatures.C (getMacros):
12471         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12472
12473         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12474
12475         * LaTeXFeatures.C (useFloat): require "float" here instead of in
12476         getPackages.
12477         (getPackages): rename feature "floats" to "float". Use an array to
12478         iterate over 'simple' features (i.e. just a \usepackage). Add
12479         handling of "amsmath" (renamed from "amsstyle").
12480
12481 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
12482
12483         * LaTeXFeatures.C (require): Prevent duplicate entries in the
12484         features list.
12485
12486 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
12487
12488         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12489         FuncStaus::FuncStatus & FuncStaus::some_method().
12490
12491 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
12492
12493         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12494         of the func_satus stuff. Edited and massaged in various ways by
12495         JMarc.
12496
12497         * lyxfunc.C (getStatus): use FuncStatus
12498
12499 2002-01-08  Juergen Vigna  <jug@sad.it>
12500
12501         * text.C (nextBreakPoint): use function Inset::isChar().
12502
12503         * paragraph.C (TeXOnePar): use function
12504         Inset::forceDefaultParagraphs.
12505
12506         * buffer.C (latexParagraphs): use function
12507         Inset::forceDefaultParagraphs.
12508
12509 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12510
12511         * lyx_gui.C (init): set the style of the menu popups to
12512         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12513
12514 2002-01-07  Juergen Vigna  <jug@sad.it>
12515
12516         * text.C (setHeightOfRow): small fix
12517         (prepareToPrint): don't look at alignment if we don't have the place
12518         for doing it.
12519
12520 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12521
12522         * box.C: New file. Move the Box methods and functions out of box.h,
12523         following Lars' suggestion.
12524
12525 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12526
12527         * box.h: #include "support/LOstream.h", needed for inlined function.
12528
12529         * lyxtextclass.C:
12530         * lyxtextclasslist.C: added some using std declarations.
12531
12532 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
12533
12534         * box.h: make signed dimensions to allow insets wider than
12535           the screen (bug #162)
12536
12537         * BufferView_pimpl.C: add some insetHit debug
12538
12539 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
12540
12541         * vc-backend.C: add FIXME
12542
12543 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12544
12545         * lyxfunc.C (getStatus): enable code for showing math font status
12546         in toolbar/menu.
12547
12548 2002-01-07  Juergen Vigna  <jug@sad.it>
12549
12550         * text.C (nextBreakPoint): removed debug output not needed anymore.
12551
12552 2002-01-06  Juergen Vigna  <jug@sad.it>
12553
12554         * text.C (nextBreakPoint): fixed up this function we had this bug
12555         since ever but now hopefully we break row better.
12556         (insertChar): we have to check if an inset is the next char as it
12557         could now happen that a large inset is causing a break.
12558
12559 2002-01-05  Juergen Vigna  <jug@sad.it>
12560
12561         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12562         if it doesn't like to be drawed.
12563
12564 2002-01-04  Juergen Vigna  <jug@sad.it>
12565
12566         * BufferView2.C (lockInset): forgot to set a cursor.
12567
12568         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12569
12570 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
12571
12572         * FormMathsPanel.C:
12573         * FormMathsPanel.h
12574         * MathsSymbols.C:
12575         * form_maths_panel.C:
12576         * form_maths_panel.h:
12577         * form_maths_panel.fd: implemented sub- and super- buttons in math
12578         panel.
12579
12580         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12581         (or ^ space) to be used as in TeX (req'd by André).
12582
12583         * lyxfunc.C: Allow ^ and _ again to be used both as
12584         super/subscript (mathed) and as themselves (in text).
12585
12586 2002-01-03  Allan Rae  <rae@lyx.org>
12587
12588         * LyXView.C (updateWindowTitle): Setup a short icon title of either
12589         "LyX" or the filename of the current buffer if it has one.  This is a
12590         modified form of John Levon's patch.
12591
12592         * XFormsView.C (setWindowTitle): also set icon title.
12593
12594         * LyXView.h (setWindowTitle): signature changed.
12595         * XFormsView.h (setWindowTitle): ditto.
12596
12597 2002-01-02  Juergen Vigna  <jug@sad.it>
12598
12599         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12600
12601 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12602
12603         * screen.C (topCursorVisible): introduce a temp var for
12604         text->cursor.row(), handle the case where this row is null. (kindo
12605         hachish)
12606
12607         * text2.C (setCursor): add a couple of asserts.
12608
12609         * paragraph.h (inset_iterator): add -> operator
12610
12611         * paragraph.[Ch] (autoDeleteInsets): remove member function
12612
12613         * BufferView2.C (removeAutoInsets): rewrite to handle the old
12614         cursor pos correctly and handle inset deletion by itself.
12615         (insertErrors): move iterator declaration out of for expression
12616
12617         * lyxtextclass.C: add <algorithm>
12618
12619         * Makefile.am: added the new files to sources, removed layout.C
12620
12621         * layout.C: removed file
12622
12623         * layout.h: remove LYX_DUMMY_LAYOUT
12624
12625         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12626         layout.
12627
12628         * lyxlayout.[Ch]:
12629         * lyxtextclass.[Ch]:
12630         * lyxtextclasslist.[Ch]: new files
12631
12632         * include order changes to a lot of files, also changes because of
12633         the six new files.
12634
12635 2001-12-27  Juergen Vigna  <jug@sad.it>
12636
12637         * buffer.C (asciiParagraph): more fixes.
12638
12639         * tabular.C (ascii): make ascii export support export of only the
12640         data separated by a column-delimiter.
12641         (ascii): better support for ascii export.
12642
12643         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12644
12645 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12646
12647         * tabular_funcs.C: use a "using std::getline" instead of the
12648         previous fix from Angus (necessary for cxx + lyxstring)
12649
12650 2001-12-24  Juergen Vigna  <jug@sad.it>
12651
12652         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12653
12654         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12655         problems. First check a minipage also if we have some ert-contents
12656         (not only on par->size(), second set the right depth of the paragraph
12657         on the relink to the root-paragraph-list!
12658
12659         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12660         which then did not anymore update the main paragraphs on undo/redo!
12661
12662 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12663
12664         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12665         code. Support all font-changing funcs (even those which are not in
12666         menu currently). Support for reporting font settings in
12667         mathed (disabled until Andre provides a function on mathed's side).
12668
12669         * func_status.h (toggle): small helper function to set toggle
12670         state on a flag.
12671
12672 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
12673
12674         * tabular_funcs.C: getline -> std::getline
12675
12676 2001-12-21  Juergen Vigna  <jug@sad.it>
12677
12678         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12679         accessed and could be 0 (I couldn't generate this but it seems
12680         Michael could!).
12681
12682 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12683
12684         * tabular_funcs.C: add LIstream.h, move write_attribute to..
12685         * tabular_funcs.h: here and include iosfwd
12686
12687 2001-12-20  Juergen Vigna  <jug@sad.it>
12688
12689         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12690         inside inset but undo_par was.
12691
12692 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12693
12694         * Thesaurus.C: always include <config.h> in sources.
12695
12696         * Painter.h:
12697         * lyxlookup.h:
12698         * box.h: do not include <config.h> in header files
12699
12700         * text.C (paintLastRow): remove unused variable
12701
12702         * text.C (transformChar):
12703         (insertChar):
12704         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12705
12706         * Painter.C (text):
12707         * font.C (width): rewrite to use uppercase() instead of
12708         islower/toupper.
12709
12710         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12711
12712 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
12713
12714         * lyxfind.C: clean up of find failure position change
12715
12716 2001-12-20  Juergen Vigna  <jug@sad.it>
12717
12718         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12719
12720         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12721         (TeXRow): added to LaTeX a single tabular row.
12722         (TeXLongtableHeaderFooter): added to output LT-h/f data.
12723         (Latex): simplified and finally good LT-h/f support.
12724         (various_functions): just small adaptions for LT-h/f support.
12725
12726         * tabular_funcs.[hC]: added and moved here all not classfunctions
12727         of LyXTabular.
12728
12729 2001-12-19  Juergen Vigna  <jug@sad.it>
12730
12731         * tabular.[Ch]: better support for longtabular options (not finished
12732         yet!)
12733
12734 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12735
12736         * text.C (paintLastRow): use the label font instead of the font of
12737         the last character to compute the size of *_BOX. This makes more
12738         sense and avoids a crash with empty paragraphs.
12739         Use Painter::rectangle to draw EMPTY_BOX.
12740
12741 2001-12-19  Juergen Vigna  <jug@sad.it>
12742
12743         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12744         the paragraphs if the replaced paragraph is not the first one!
12745         Tried to delete not used paragraphs but does not work yet so for
12746         now it's inside #ifdef's and by default off!
12747
12748 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12749
12750         * MenuBackend.C: include "lyx_main.h" instead of declaring
12751         lastfiles (actually was declared as LastFiles* instead of a
12752         scoped_ptr).
12753
12754 2001-12-17  Juergen Vigna  <jug@sad.it>
12755
12756         * tabular.C (AppendColumn): applied John's fix
12757
12758 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
12759
12760         * BufferView.h:
12761         * BufferView.C:
12762         * BufferView_pimpl.h:
12763         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12764
12765         * Makefile.am:
12766         * box.h: new start of class for above
12767
12768         * lyxfunc.C: ignore space-only minibuffer dispatches.
12769           Show the command name when it doesn't exist
12770
12771         * minibuffer.C: don't add empty lines to the history
12772
12773         * minibuffer.C: add a space on dropdown completion
12774
12775 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
12776
12777         * text.C: fix line above/below drawing in insets
12778
12779 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12780
12781         * lyxlength.C (LyXLength): Initialize private variables.
12782
12783 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
12784
12785         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12786         when inserting error insets.
12787
12788 2001-12-13  Juergen Vigna  <jug@sad.it>
12789
12790         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12791         actually sometimes the before-paragraph.
12792         (setUndo): don't clear the redostack if we're not actually undoing!
12793
12794 2001-12-06  Juergen Vigna  <jug@sad.it>
12795
12796         * undo_funcs.C (textHandleUndo): well after John's hint I got here
12797         and fixed redoing of main paragraph, so we can use it now ;)
12798
12799         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12800
12801 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12802
12803         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12804         Juergen's request
12805
12806 2001-12-13  André Pönitz <poenitz@gmx.net>
12807
12808         * undostack.[Ch]:
12809         * undo_func.C: minor cleanup
12810
12811 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12812
12813         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12814         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12815         font in urw-fonts package which is marked as -urw-fontspecific and
12816         does not work (incidentally, changing the encoding in the
12817         fonts.dir of this package to -adobe-fontspecific fixes the
12818         problem).
12819
12820         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12821         is a crash when undoing first paragraph (Juergen, please take a
12822         look). THis does not mean the undo fix is wrong, just that it
12823         uncovers problems.
12824
12825         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12826         the (Paragraph*) version when needed instead of duplicating the
12827         code.
12828
12829         * text.C (workWidth): use Inset::parOwner to find out where the
12830         inset has been inserted. This is a huge performance gain for large
12831         documents with lots of insets. If Inset::parOwner is not set, fall
12832         back on the brute force method
12833
12834         * paragraph_pimpl.C (insertInset):
12835         * paragraph.C (Paragraph):
12836         (cutIntoMinibuffer): set parOwner of insets when
12837         inserting/removing them
12838
12839         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12840
12841 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
12842
12843         * commandtags.h:
12844         * LyXAction.C:
12845         * lyx_main.C:
12846         * lyxfunc.C:
12847         * mathed/formulabase.C:
12848         * mathed/math_cursor.[Ch]:
12849         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12850
12851
12852 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12853
12854         * lyxlength.[Ch] (operator!=): new function
12855
12856 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12857
12858         * text.C (workWidth): use Inset::parOwner to find out where the
12859         inset has been inserted. This is a huge performance gain for large
12860         documents with lots of insets. If Inset::parOwner is not set, fall
12861         back on the brute force method
12862
12863         * paragraph_pimpl.C (insertInset):
12864         * paragraph.C (Paragraph):
12865         (cutIntoMinibuffer): set parOwner of insets when
12866         inserting/removing them
12867
12868         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12869
12870 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12871
12872         * tabular-old.C (getTokenValue):
12873         * tabular.C (getTokenValue):
12874         (write_attribute): new versions for LyXLength
12875         (everywhere): adjust the use of widths
12876
12877         * tabular.h: change the type of widths from string to LyXLength
12878
12879 2001-12-11  Ben Stanley <bds02@uow.edu.au>
12880
12881         * paragraph.C: fixed missing line number count when exporting
12882         Environments to LaTeX file
12883
12884         * buffer.C: added informational message for checking line numbers.
12885
12886 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12887
12888         * text2.C (deleteEmptyParagraphMechanism): if there is only one
12889         paragraph, do the 'double space' part, but not the 'empty
12890         paragraph' one.
12891
12892         * text.C (workWidth): small optimization
12893         (getLengthMarkerHeight): use minimal size for negative lengths.
12894
12895 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
12896
12897         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12898
12899         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12900
12901 2001-12-11  André Pönitz <poenitz@gmx.net>
12902
12903         * FontLoader.C:
12904         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12905
12906 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12907
12908         * text2.C: keep selection on a setFont()
12909
12910 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12911
12912         * lyx_cb.C: another bv->text misuse, from insert label
12913
12914 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12915
12916         * kbsequence.h:
12917         * kbsequence.C: re-instate nmodifier mask
12918
12919 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
12920
12921         * lyx_main.h: make lyxGUI private.
12922
12923 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12924
12925         * lyxfind.C: place the cursor correctly on failed search
12926
12927 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12928
12929         * text.C (getLengthMarkerHeight): for small heights, the arrows
12930         are not always on top/bottom of the text
12931         (drawLengthMarker): smaller arrows; take the left margin in
12932         account; draw also vfills.
12933         (paintFirstRow):
12934         (paintLastRow): remove special code for vfill and standard spaces,
12935         since everything is handled in drawLengthMarker now.
12936
12937 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12938
12939         * buffer.C (insertErtContents): try to handle font and language
12940         interaction a bit better.g
12941
12942         * ColorHandler.C (updateColor): change the hash to cover the whole
12943         LColor enum, ws cleanup
12944         (getGCLinepars): ditto
12945         (getGCLinepars): only lookup in the linecache once.
12946
12947 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
12948
12949         * iterators.C (operator++): Make the iterator more robust
12950
12951         * BufferView2.C (removeAutoInsets): Use paragraph iterators
12952         (John's patch)
12953         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12954
12955 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12956
12957         * lyxtext.h:
12958         * text.C: better added space drawing
12959
12960 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12961
12962         * LyXView.C:
12963         * BufferView2.C: fix layout combo update on inset unlock
12964
12965 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12966
12967         * Makefile.am: don't compile unused files
12968
12969 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12970
12971         * lyxfunc.C:
12972         * commandtags.h:
12973         * LyXAction.C: remove old LFUN_LAYOUTNO
12974
12975 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12976
12977         * paragraph_pimpl.h:
12978         * paragraph_pimpl.C: isTextAt() doesn't need font param
12979
12980 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12981
12982         * lyxlex.h:
12983         * lyxlex.C: little cleanup
12984
12985 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12986
12987         * BufferView_pimpl.C: fix insertAscii for insets
12988
12989 2001-12-05  Juergen Vigna  <jug@sad.it>
12990
12991         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12992         set the right font on the "multi" paragraph paste!
12993
12994 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12995
12996         * trans_decl.h:
12997         * trans_mgr.[Ch]:
12998         * trans.[Ch]:
12999         * lyxgluelength.C:
13000         * lyxlength.C: remove out-commented code.
13001
13002         * BufferView_pimpl:
13003         * CutAndPaste.C:
13004         * DepTable.C:
13005         * buffer.C:
13006         * chset.C:
13007         * lastfiles.C:
13008         * lyxlex.C:
13009         * lyxlex_pimpl.C:
13010         * lyxserver.C:
13011         * screen.C:
13012         * tabular-old.C:
13013         * tabular.C:
13014         * text.C:
13015         * trans_mgr.C:
13016         * vc-backend.C: change "while(" to "while ("
13017
13018         * lyxlength.[Ch]: add zero function to check if length is zero or
13019         not
13020         * lyxgluelength.C: use it
13021
13022 2001-12-05  Allan Rae  <rae@lyx.org>
13023
13024         * lyxlength.C: Attempted a fix for the abs(int) header selection.
13025         Works for 2.95.3, from what I understand of Garst's reports this should
13026         work for other g++ versions.  We're screwed if the abs(int) definition
13027         changed between bugfix releases of gcc.
13028
13029 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13030
13031         * text.C: fix chapter label offset !
13032
13033 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13034
13035         * lyxtext.h:
13036         * text.C: fix hfill at end of line, clean up
13037
13038 2001-12-04  Juergen Vigna  <jug@sad.it>
13039
13040         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13041         that we force an update of the inset and it's owners if neccessary.
13042
13043 2001-12-03  Juergen Vigna  <jug@sad.it>
13044
13045         * text.C (rowLast): simplified code
13046
13047 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13048
13049         * lyxfunc.C: fix show options on timeout
13050
13051 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13052
13053         * screen.C (topCursorVisible): scroll half a page when the cursor
13054         reached top of bottom of screen
13055
13056 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
13057
13058         * minibuffer.C: deactivate on loss of focus
13059
13060 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13061
13062         * vspace.[Ch] (operator!=): add operator.
13063
13064 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
13065
13066         * BufferView_pimpl.C: refuse to open an inset when
13067         there's a selection.
13068
13069 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
13070
13071         * BufferView_pimpl.C: allow to click on RHS of full row insets
13072
13073 2001-11-30  Juergen Vigna  <jug@sad.it>
13074
13075         * tabular.C (LyXTabular): add a same_id to set the same id's in the
13076         insets for undo reasons.
13077
13078 2001-11-28  André Pönitz <poenitz@gmx.net>
13079
13080         * vspace.[Ch]: cosmetical changes
13081
13082 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13083
13084         * LyXAction.h:
13085         * LyXAction.C:
13086         * lyxfunc.h:
13087         * lyxfunc.C:
13088         * kbmap.h:
13089         * kbmap.C:
13090         * lyxrc.C:
13091         * kbsequence.h:
13092         * kbsequence.C: part re-write of old kb code
13093
13094         * Painter.C:
13095         * WorkArea.C: remove Lgb_bug_find_hack
13096
13097 2001-11-30  José Matos <jamatos@fep.up.pt>
13098
13099         * buffer.C (makeDocBookFile): add a comment to point a hack.
13100         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13101         Fixed a double write of labels.
13102
13103 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13104
13105         * LaTeX.C:
13106         * LaTeX.h Fixed bug in LaTeX class where it would not
13107         re-run latex if no depfiles were changed, but the .dvi was removed.
13108
13109 2001-11-28  André Pönitz <poenitz@gmx.net>
13110
13111         * all the files from the change on 2001/11/26:
13112         use lyx::layout_type instead of LyXTextClass::size_type
13113         use lyx::textclass_type instead of LyXTextClassList::size_type
13114
13115 2001-11-29  Juergen Vigna  <jug@sad.it>
13116
13117         * text.C: added support for paragraph::isFreeSpacing()
13118
13119         * buffer.C: same as above
13120
13121         * paragraph.h: inserted isFreeSpacing() function to enable
13122         FreeSpacing inside InsetERT.
13123
13124         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13125         of the paragraph's in the cut/copy buffer to 0!
13126
13127         * text2.C (removeRow): remove the assert as it can!
13128
13129         * lyxtext.h: added helper function firstRow returning firstrow and
13130         made firstrow private again.
13131
13132         * BufferView2.C (lockInset): don't relock if we're already locked!
13133
13134         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13135         the only paragraph.
13136         (removeRow): added Assert::(firstrow)
13137
13138         * debug.C: forgot to add INSETTEXT here.
13139
13140 2001-11-28  Juergen Vigna  <jug@sad.it>
13141
13142         * sp_spell.C (initialize): changed error text to more general
13143         spellchecker command use (not only ispell!)
13144
13145         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13146
13147         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13148
13149 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13150
13151         * vspace.C: initialise lyxgluelength on failure
13152
13153 2001-11-28  Allan Rae  <rae@lyx.org>
13154
13155         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13156         declaration & definition that looks like a function declaration.
13157
13158 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13159
13160         * BufferView2.C (copy):
13161         (copyEnvironment): do not clear the selection when doing a copy.
13162
13163         * text.C (paintFirstRow): compilation fix
13164
13165 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
13166
13167         * tabular.C (Latex): correct line count when writing latex.
13168
13169 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
13170
13171         * paragraph_pimpl.h:
13172         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13173           bug a bit
13174
13175 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13176
13177         * text.C:
13178         * LColor.h:
13179         * LColor.C: change vfillline->added_space
13180
13181         * text.C: add markers and text for added space
13182
13183         * vspace.C: fix comment
13184
13185 2001-11-28  André Pönitz <poenitz@gmx.net>
13186
13187         * paragraph.C: whitespace changes
13188         * all the other files from the change on 2001/11/26:
13189         change *::pos_type into lyx::pos_type
13190
13191 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
13192
13193         * buffer.C (parseSingleLyXformat2Token): Set the language to the
13194         language of the document when inserting error insets.
13195
13196 2001-11-26  André Pönitz <poenitz@gmx.net>
13197
13198         * BufferView_pimpl.[Ch]:
13199         *       CutAndPaste.C:
13200         * buffer.[Ch]:
13201         * lyxcursor.[Ch]:
13202         * lyxfind.C:
13203         * lyxfunc.C:
13204         * lyxrow.[Ch]:
13205         * paragraph.[Ch]:
13206         * paragraph_pimpl.[Ch]:
13207         * sp_spell.C:
13208         * text.C:
13209         * text2.C: reduce header dependencies, introduce type for positions
13210
13211 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13212
13213         * <various>: change to use Alert.h
13214
13215 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
13216
13217         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13218         when encountering an unknown token.
13219         (readLyXformat2): Show an error message if there were unknown tokens.
13220
13221 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
13222
13223         * BufferView2.C:
13224         * BufferView_pimpl.C:
13225         * buffer.C:
13226         * paragraph.h:
13227         * text.C:
13228         * text2.C: use par->isInset()
13229
13230 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13231
13232         * paragraph_pimpl.h:
13233         * paragraph_pimpl.C: cleanup
13234
13235 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13236
13237         * text2.C (removeRow):
13238         * text.C (setHeightOfRow): remove useless (and costly) call to
13239         getRow.
13240
13241 2001-11-20  Allan Rae  <rae@lyx.org>
13242
13243         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13244         Now need Inset*::checkInsertChar() to return true for appropriate
13245         cases so that the characters in the minibuffer will actually be
13246         inserted.
13247
13248 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13249
13250         * text.C: change the order of the includes.
13251         (workWidth): initialize it at once.
13252         (workWidth): make maxw unsigned
13253         (setHeightOfRow): remove unused variable (inset)
13254         (selectSelectedWord): remove unused variable (inset)
13255         (paintRowText): fix drawing of hfill characters, and clean up a bit.
13256
13257 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13258
13259         * lyxserver.C (emergencyCleanup): do not try to close pipes if
13260         server is not running.
13261         (openConnection):
13262         (closeConnection): add debug info when server is disabled.
13263
13264         * ColorHandler.C (getGCForeground): send debug message to GUI
13265         channel.
13266
13267         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13268
13269         * kbmap.C (bind): modify because return conventions of
13270         kb_sequence::parse have changed.
13271
13272         * kbsequence.C (parse): only ignore spaces and not any stupid
13273         control character. This avoids tests like s[i] <= ' ', which are
13274         guaranteed to fail with 8bit characters and signed chars.
13275         Change return code to string::npos when there have been no error
13276         (0 was a bad idea when error is at first character)
13277
13278 2001-11-14  José Matos  <jamatos@fep.up.pt>
13279
13280         * buffer.h:
13281         * buffer.C (simpleDocBookOnePar): removed unused argument.
13282
13283 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13284
13285         * text.C (selectNextWordToSpellcheck): do not test explicitely for
13286         insets which are part of a word. Paragraph::isLetter takes care of
13287         that now. Use Paragraph::isInset to identify insets.
13288         (selectSelectedWord): do not test for hyphenation break.
13289
13290         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13291         that protected spaces are considered as spaces.
13292
13293         * paragraph.C (isLetter): cleanup the code for ispell extras; use
13294         Inset::isLetter.
13295
13296 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
13297
13298         * lyxserver.h:
13299         * lyxserver.C: fix it. and small cleanup.
13300
13301 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13302
13303         * BufferView_pimpl.C: use inline helpers
13304
13305         * LaTeXFeatures.h:
13306         * LaTeXFeatures.C: fix typos
13307
13308         * Spacing.h:
13309         * Spacing.C: move spacing_string into class
13310
13311         * ToolbarDefaults.C: move stuff into namespace anon
13312
13313         * layout.h: update enum
13314
13315         * lyxfunc.C: use better debug
13316
13317         * minibuffer.h: fix typo
13318
13319         * debug.h:
13320         * debug.C:
13321         * WorkArea.C: add and use Debug::WORKAREA
13322
13323         * lyxtext.h:
13324         * text.C:
13325         * text2.C: code re-organisation, inline helpers
13326
13327 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
13328
13329         * Layout.C: replaced a few cases of std::vector.size() == 0 with
13330         std::vector.empty().
13331
13332 2001-11-09  Allan Rae  <rae@lyx.org>
13333
13334         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13335         '\n's after tables.  Tabular and ERT inset work now makes this no
13336         longer necessary.
13337
13338 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13339
13340         * minibuffer.h:
13341         * minibuffer.C: fix crash, improve drop-down completion
13342
13343 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
13344
13345         * lyxserver.h:
13346         * lyxserver.C: invalidate fd's when doing endPipe()
13347
13348 2001-11-08  José Matos  <jamatos@fep.up.pt>
13349
13350         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13351         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13352
13353         * paragraph.h:
13354         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13355
13356 2001-11-07  José Matos  <jamatos@fep.up.pt>
13357
13358         * buffer.h:
13359         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13360         const qualifier.
13361
13362         * buffer.C (sgmlOpenTag):
13363         * buffer.C (sgmlCloseTag): removed debug info.
13364
13365         * buffer.h (sgmlOpenTag):
13366         * buffer.h (sgmlCloseTag): made public.
13367
13368 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13369
13370         * buffer.C (saveParamsAsDefaults):
13371         * lyx_cb.C (MenuLayoutSave): remove
13372
13373         * LyXAction.C (init):
13374         * commandtags.h:
13375         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13376
13377 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13378
13379         * buffer.C (setPaperStuff): removed from here...
13380
13381         * bufferparams.C (setPaperStuff): ... and moved there.
13382
13383 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
13384
13385         * minibuffer.h:
13386         * minibuffer.C:
13387         * XFormsView.C: add support for drop-down completion
13388
13389 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
13390
13391         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13392         commands.
13393
13394 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13395
13396         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13397         disabled.
13398
13399 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
13400
13401         * lyx_main.C: change ref to known bugs
13402
13403 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
13404
13405         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13406         to work around older babel problems.
13407
13408 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13409
13410         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13411
13412 2001-10-24  Juergen Vigna  <jug@sad.it>
13413
13414         * tabular-old.C (ReadOld): below variable changes reflected.
13415
13416         * tabular.[Ch]: added ltType struct for longtable header/footer
13417         defines and changed all instances where they are used. Added
13418         future support for double top/bottom rows.
13419
13420 2001-10-24  José Matos  <jamatos@fep.up.pt>
13421
13422         * buffer.h (docbookHandleCaption):
13423         * buffer.C (docbookHandleCaption): removed unused function.
13424         (makeDocBookFile): moved docbook supported version to v4.1.
13425
13426 2001-10-24  José Matos  <jamatos@fep.up.pt>
13427
13428         * tabular.h:
13429         * tabular.C (docbookRow): new function to export docbook code of a row.
13430         (DocBook): now honors the longtable flags.
13431
13432 2001-10-23  José Matos  <jamatos@fep.up.pt>
13433
13434         * LaTeXFeatures.h:
13435         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13436         of the lyx defined sgml entities used in a docbook/linuxdoc document.
13437
13438         * buffer.C (makeLinuxDocFile):
13439         (makeDocBookFile): reworked the preamble, more clean, and with
13440         support for lyx defined entities. Changed the document declaration
13441         to be more XML friendly.
13442
13443         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13444         if we need to output XML that should be done with a filter.
13445
13446 2001-10-22  Juergen Vigna  <jug@sad.it>
13447
13448         * sp_pspell.h (class PSpell): add alive function needed in the
13449         controller to see if the spellchecker could be started.
13450
13451 2001-10-22  Juergen Vigna  <jug@sad.it>
13452
13453         * buffer.C (insertStringAsLines): modify the font for inserting
13454         chars in certain conditions by calling checkInsertChar(font).
13455
13456 2001-10-19  Juergen Vigna  <jug@sad.it>
13457
13458         * text.C (workWidth): use getRow instead of wrong algorithm.
13459         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13460
13461 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
13462
13463         * lyxserver.h:
13464         * lyxserver.C:
13465         * lyx_main.h:
13466         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13467
13468 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13469
13470         * text.C (workWidth): do not search for the exact row when
13471         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13472         optimization for big documents.
13473
13474 2001-10-18  Juergen Vigna  <jug@sad.it>
13475
13476         * text.C (workWidth): new function with added Inset * parameter.
13477
13478 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13479
13480         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13481
13482         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13483         change return type of getColumnNearX.
13484
13485
13486         * text.C (changeRegionCase): use uppercase/lowercase instead of
13487         toupper/tolower.
13488         (leftMargin):
13489         (rightMargin): simplify code by factoring out the uses of
13490         textclasslist.
13491         (labelFill):
13492         (numberOfHfills):
13493         (setHeightOfRow):
13494         (appendParagraph): use Paragraph::size_type
13495
13496 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13497
13498         * vspace.C (asLatexString): add a missing break
13499
13500 2001-10-15  Herbert Voss  <voss@perce.de>
13501
13502         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13503
13504 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13505
13506         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13507         is not available.
13508
13509 2001-10-10  André Pönitz <poenitz@gmx.net>
13510
13511         * lyxfunc.C: removed greek_kb_flag.
13512
13513 2001-10-10  Herbert Voss  <voss@perce.de>
13514
13515         * lyx_main.C: delete global string help_lyxdir.
13516
13517 2001-10-09  Herbert Voss  <voss@perce.de>
13518
13519         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13520
13521         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13522
13523         * lyx_main.C: added global string help_lyxdir.
13524
13525         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13526
13527 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13528
13529         * lyxrc.C (set_font_norm_type): support iso8859-4
13530
13531 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
13532
13533         * LaTeX.C (deplog): add another regex for MikTeX
13534
13535 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13536
13537         * lyxrc.C (set_font_norm_type): support iso8859-3
13538
13539 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13540
13541         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13542
13543         * LaTeXFeatures.C: remove special case of french and index
13544
13545         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13546         before \begin{document}). This solves several incompatibilities.
13547
13548 2001-10-03  Garst Reese  <reese@isn.net>
13549
13550         * lyx_cb.C: change CheckTex error msg.
13551
13552 2001-10-03  José Matos  <jamatos@fep.up.pt>
13553
13554         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13555
13556 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13557
13558         * .cvsignore: update
13559
13560         * lyx_main.C (commandLineVersionInfo): use new style version info.
13561
13562         * buffer.C (writeFile):
13563         (makeLaTeXFile):
13564         (makeLinuxDocFile):
13565         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13566
13567         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13568
13569         * version.h: update to use stuff in version.C
13570
13571         * version.C.in: new file. Contains version information determined
13572         at compile time. This is a merging of version.h and
13573         version_info.h.in.
13574
13575 2001-10-03  Juergen Vigna  <jug@sad.it>
13576
13577         * BufferView_pimpl.C (update): don't change "dirty" status in
13578         updateInset call.
13579
13580 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
13581
13582         * WorkArea.C (c-tor): re-position version string slightly.
13583
13584 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
13585
13586         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13587         revert to previous code.
13588
13589         WorkArea.[Ch]: (show, destroySplash): methods removed.
13590
13591         WorkArea.C: rework code so that it's an amalgam of the codes before and
13592         after the splash screen was moved to WorkArea.
13593
13594 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13595
13596         * lyxrc.C (read):
13597         * vspace.C (inPixels):
13598         (lyx_advance):
13599         * kbmap.C (bind):
13600         * buffer.C (insertStringAsLines):
13601         (asciiParagraph): fix types to be large enough
13602
13603         * lyxlex_pimpl.h: change member status from short to int
13604
13605         * layout.h: fix type of endlabeltype
13606
13607         * kbmap.C (bind):
13608         * kbsequence.C (parse): change return type to string::size_type
13609
13610         * LaTeX.C (updateBibtexDependencies): comment out unneeded
13611         variable
13612
13613         * Bullet.C (bulletSize):
13614         (bulletEntry): do not use short ints as parameters
13615
13616         * BufferView2.C (insertLyXFile): change a char to an int.
13617
13618         * WorkArea.C (WorkArea): remove unneeded floats in computation
13619
13620 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
13621
13622         * buffer.C (asciiParagraph): Treat '\\' as other chars.
13623
13624         * paragraph.C (asString): Do not ignore newline/hfill chars when
13625         copying to the clipboard.
13626
13627 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
13628
13629         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13630         after a multi-line inset.
13631
13632 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
13633
13634         * paragraph.C (validate): Set NeedLyXFootnoteCode
13635
13636 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13637
13638         * lyxfont.C (LyXSizeNames): changed increase-error to increase
13639         and decrease-error to decrease.
13640
13641 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13642
13643         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13644         it more readable (should be equivalent)
13645
13646 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13647
13648         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13649
13650 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13651
13652         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13653         of a cursor (row, etc.) after a character has been deleted
13654         (deleteEmptyParagraphMechanism): call the method above on _all_
13655         cursors held by the LyXText when a double space has been
13656         detected/deleted.
13657
13658 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13659
13660         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13661         pixmap.
13662         (resizeCurrentBuff): remove code to destroy the old splash dialog.
13663
13664         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13665         background. Use greyOut() and the new show() methods to toggle between
13666         the foreground and background. Add code to remove the splash after
13667         its initial showing.
13668
13669         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13670         (create_forms): no longer call Dialogs::showSplash.
13671
13672 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13673
13674         * .cvsignore: add version_info.h
13675
13676 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13677
13678         * version_info.h.in: new file
13679
13680         * Makefile.am: add version_info.h.in
13681
13682         * lyx_main.C (commandLineVersionInfo): use version_info defined in
13683         version_info.h instead of VERSION_INFO
13684
13685 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
13686
13687         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13688         The ERT inset now returns string().
13689
13690 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
13691
13692         * lyxtext.h, text.C (selectNextWord): renamed as
13693         selectNextWordToSpellcheck.
13694
13695         * text.C (selectNextWordToSpellcheck): Modified to not select
13696         words inside an ERT inset.
13697
13698 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13699
13700         * lyx_cb.C (MenuLayoutSave): change a bit the question
13701
13702         * sp_base.h: include <sys/types.h>
13703
13704 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
13705
13706         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13707
13708 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
13709
13710         * several files: fix typos in user-visible strings
13711
13712 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13713
13714         * text2.C (pasteSelection): do not set the selection, since it
13715         will be cleared later. Actually, the intent was to fix the way the
13716         selection was set, but I figured rmoving the code was just as good.
13717
13718 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
13719
13720         * FontLoader.C (available): Check if font is available without
13721         loading the font.
13722
13723 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
13724
13725         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13726
13727 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
13728
13729         * lyxrc.[Ch]: added display_graphics variable and associated code.
13730
13731 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13732
13733         * bufferparams.C (hasClassDefaults): new method. Returns true if
13734         the buffer parameters correspond to known class defaults
13735
13736 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
13737
13738         * XFormsView.C (show): set minimum size to the main window.
13739
13740 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13741
13742         * text2.C (copySelection):
13743         (cutSelection):
13744         * lyxfind.C (LyXReplace):
13745         * BufferView_pimpl.C (Dispatch): pass the correct flag to
13746         LyXText::selectionAsString.
13747
13748         * paragraph.C (asString): add "label" argument to the second form
13749
13750         * text2.C (selectionAsString): add "label" argument and pass it to
13751         Paragraph::asString.
13752
13753 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13754
13755         * lyx_main.C (commandLineHelp): remove version information
13756
13757 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
13758
13759         * lyx_main.C: add -version commandline option
13760
13761 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13762
13763         * paragraph.h: make the optional constructor arg required instead.
13764         some modifications to other files because of this.
13765
13766         * minibuffer.C (C_MiniBuffer_peek_event): make it static
13767
13768         * lyxserver.C (C_LyXComm_callback): make it static
13769
13770         * lyx_main.C (error_handler): make it static
13771
13772         * lyx_gui.C (LyX_XErrHandler): make it static
13773
13774         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13775
13776         * WorkArea.C: make the extern "C" methods static.
13777
13778         * Makefile.am (lyx_LDADD): simplify
13779
13780 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13781
13782         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13783         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13784
13785         * LyXAction.C (init):
13786         * lyxfunc.C (dispatch): associated code removal.
13787
13788 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13789
13790         * lyxfont.h (isSymbolFont): shut off warning
13791
13792         * text.C (setHeightOfRow):
13793         (getVisibleRow): fix crash with empty paragraphs which have a
13794         bottom line
13795
13796 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
13797
13798         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13799         code.
13800
13801 2001-09-04  José Matos  <jamatos@fep.up.pt>
13802         * buffer.C
13803         * buffer.h
13804         * tabular.C (docbook): rename docBook method to docbook.
13805
13806 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13807
13808         * Makefile.am: add dependencies to main.o.
13809
13810 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
13811
13812         * FontLoader.C (available): Return false if !lyxrc.use_gui
13813
13814 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
13815
13816         * FontInfo.C (query):
13817         * converter.C (view):
13818         * importer.C (Import):
13819         * exporter.C (Export): Can not -> cannot.
13820
13821 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
13822
13823         * BufferView_pimpl.C: allow to create index inset even if
13824           string is empty
13825
13826 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13827
13828         * buffer.C (getLists): replace boost::tie code with an explicit pair
13829         as boost::tie can break some compilers.
13830
13831         * iterators.h: Added a std:: declaration to the return type of
13832         ParIterator::size.
13833
13834 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
13835
13836         * lyxrc.C: add help for view_dvi_paper_option, default to safe
13837           case.
13838
13839 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
13840
13841         * iterators.[Ch]: New files. Provide paragraph iterators.
13842
13843         * buffer.C (changeLanguage): Use paragraph iterators.
13844         (isMultiLingual): ditto
13845
13846         * BufferView2.C (ChangeInsets): Use paragraph iterators.
13847
13848 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
13849
13850         * FontLoader.C: Support for cmr font.
13851
13852 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
13853
13854         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13855         (available): New method.
13856
13857         * FontInfo.C (getFontname): Use scalable fonts even when
13858         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13859         found.
13860
13861 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13862
13863         * converter.C (Formats::view): reverted! Incorrect fix.
13864
13865 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13866
13867         * converter.C (Formats::view): only output the -paper option
13868         if the dvi viewer is xdvi, thereby fixing bug #233429.
13869
13870 2001-08-23  Herbert Voss  <voss@perce>
13871
13872         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13873
13874 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
13875
13876         * Spacing.h (Spacing): Set space to Default on in the default
13877         constructor.
13878
13879 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13880
13881         * vc-backend.h (RCS::versionString): add RCS to version
13882         (CVS::versionString): add CVS to version
13883
13884         * vc-backend.C (scanMaster): do not add CVS to version.
13885         (scanMaster): do not add RCS to version
13886
13887         * lyxvc.C (versionString): new method
13888
13889         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13890
13891 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13892
13893         * Spacing.C (set): initialize fval
13894
13895 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
13896
13897         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13898         " or \.
13899
13900 2001-08-16  Juergen Vigna  <jug@sad.it>
13901
13902         * lyxfunc.C (dispatch): implemented the new FINISHED states.
13903
13904 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13905
13906         * BufferView_pimpl.C:
13907         * figureForm.C:
13908         * lyxtext.h:
13909         * text2.C: setParagraph takes linespacing now
13910
13911 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
13912
13913         * LyxAction.C: add internal LFUN_CITATION_INSERT
13914
13915         * LyXView.C: actually apply fix
13916
13917         * bufferlist.C: fix open non-existent file
13918
13919         * lyxfind.C: fix indentation
13920
13921         * lyxfunc.C: remove unneeded assert, fix typo
13922
13923 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13924
13925         * MenuBackend.C: use "Floatname List"
13926
13927 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
13928
13929         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13930         when converting LaTeX layout to insetERT.
13931         Generate a non-collapsed float when reading old float
13932
13933 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13934
13935         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13936         ERT insets.
13937
13938 2001-08-13  Juergen Vigna  <jug@sad.it>
13939
13940         * text.C (fill): return 0 instead of 20 as this seems to be the more
13941         correct value.
13942
13943 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13944
13945         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13946         lyxrc.font_norm.
13947
13948 2001-08-13  Juergen Vigna  <jug@sad.it>
13949
13950         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13951         casesensitive off.
13952         (SearchBackward): comment out the unlocking of the inset_owner this
13953         should not be needed!
13954
13955 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
13956
13957         * Many files: Remove inherit_language, and add latex_language
13958
13959         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13960         collapsible insets.
13961
13962 2001-08-10  Juergen Vigna  <jug@sad.it>
13963
13964         * text.C (prepareToPrint): fixed hfill-width in draw!
13965
13966         * BufferView2.C (selectLastWord): save the selection cursor as this
13967         now is cleared in the function LyXText::clearSelection!
13968
13969 2001-08-08  Juergen Vigna  <jug@sad.it>
13970
13971         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13972         BACKSPACE type functions.
13973
13974         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13975         is only cutted from the document but not put in the cut-buffer, where
13976         still the old stuff should be.
13977
13978         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13979
13980         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13981
13982         * tabular.C (SetWidthOfCell): fixed special case where the width
13983         was not updated!
13984         (LeftLine): handle '|' in align_special.
13985         (RightLine): ditto
13986         (LeftAlreadyDrawed): ditto
13987         (SetWidthOfCell): ditto
13988
13989 2001-08-07  Juergen Vigna  <jug@sad.it>
13990
13991         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13992
13993 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13994
13995         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13996         * lyxlex.[hC]: ditto
13997
13998 2001-08-06  Juergen Vigna  <jug@sad.it>
13999
14000         * text.C (getVisibleRow): fix up row clearing a bit.
14001
14002 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14003
14004         * minibuffer.C: make sure the X server sees the changes in the input.
14005
14006 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14007
14008         * paragraph.C (getFont): split into...
14009         (getLabelFont): this
14010         (getLayoutFont): and this
14011         * paragraph_pimpl.C (realizeFont): calling this
14012
14013         * text2.C (getFont): split into...
14014         (getLayoutFont): this
14015         (getLabelFont): and this
14016         (realizeFont): all three calling this
14017
14018         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14019         files where used.
14020
14021 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14022
14023         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14024
14025 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
14026
14027         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14028         layouts from the Quote inset insertion.
14029
14030 2001-08-03  Juergen Vigna  <jug@sad.it>
14031
14032         * BufferView_pimpl.C (update): do the fitCursor only at the end!
14033
14034         * screen.C (drawFromTo): don't call fitcursor here and do the loop
14035         only if status not is already CHANGED_IN_DRAW (second level).
14036
14037         * text.C (draw): don't set the need_break_row when inside an
14038         InsetText LyXText.
14039
14040 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14041
14042         * buffer.C (parseSingleLyXformat2Token): handle more latex
14043         conversion cases.
14044
14045         * bufferview_funcs.[hC]: change function names to
14046         begin with small char, adjust other files.
14047
14048 2001-08-02  André Pönitz <poenitz@gmx.net>
14049
14050         * lyxfunc.C:
14051         BufferView_pimpl.C: remove broken special code for math-greek
14052
14053 2001-08-02  Juergen Vigna  <jug@sad.it>
14054
14055         * BufferView_pimpl.C (update): redone this function so that we
14056         update the text again if there was a CHANGE_IN_DRAW.
14057
14058         * screen.C (cursorToggle): removed LyXText parameter and recoded.
14059         (drawFromTo): added a new internal bool which is used by draw() and
14060         redraw() function.
14061         (general): some cursor drawing problems fixed.
14062
14063 2001-08-01  Juergen Vigna  <jug@sad.it>
14064
14065         * lyxfind.C (LyXFind): fixed
14066         (SearchForward): ditto
14067         (SearchBackward): ditto
14068
14069         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14070         spurius drawing of the cursor in the main area.
14071
14072         * text2.C (status): small fix which could lead to a segfault!
14073         (clearSelection): remove unneeded BufferView param.
14074
14075 2001-08-01  André Pönitz <poenitz@gmx.net>
14076
14077         * lyxfunc.C: small change due to changed mathed interface
14078
14079 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14080
14081         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14082
14083 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
14084
14085         * lyxfunc.c: fail gracefully if file doesn't exist
14086
14087         * LyXSendto.C:
14088         * buffer.C:
14089         * lyxfunc.C:
14090         * BufferView_pimpl.C: IsDirWriteable() proto changed
14091
14092         * LyXView.C: fix updateWindowTitle() to store the last title
14093
14094 2001-07-31  Juergen Vigna  <jug@sad.it>
14095
14096         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14097         the font (wrong since using of Paragraph::highestFontInRange).
14098
14099         * paragraph.C (highestFontInRange): added a default_size parameter.
14100
14101         * text.C (getVisibleRow): minor clear row changes (still not perfect).
14102         (setHeightOfRow): reformat
14103
14104 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14105
14106         * converter.[hC] + affected files: move to (inital-char)lowercase
14107         function names.
14108
14109         * ParagraphParameters.C (ParagraphParameters): remove commented code
14110
14111         * PainterBase.[Ch]: remove commented code
14112
14113         * LaTeXFeatures.h: add "bool floats" for float.sty
14114
14115         * LaTeXFeatures.C (LaTeXFeatures): init floats
14116         (require): handle float
14117         (getPackages): do it with floats
14118
14119 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14120
14121         * BufferView_pimpl.C (Dispatch): improve handling of
14122         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14123
14124         * commandtags.h: #include lyxfont.h here temporarily to avoid
14125         keybinding bug.
14126
14127         * bufferlist.h: include LString.h here.
14128
14129 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14130
14131         * text2.C (getStringToIndex): new method.
14132
14133 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
14134
14135         * *: Reduced header file dependencies all over.
14136
14137 2001-07-30  Baruch Even  <baruch@lyx.org>
14138
14139         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14140
14141 2001-07-29  Baruch Even  <baruch@lyx.org>
14142
14143         * buffer.C (readInset): Changed GRAPHICS to Graphics.
14144
14145 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14146
14147         * ParameterStruct.h (endif): add a default constructor to make
14148         sure that all variables is initialized.
14149
14150         * ParagraphParameters.C (ParagraphParameters): adjust
14151
14152 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14153
14154         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14155         index; also, check that there is something to index, and that it
14156         does not span over several paragraphs.
14157         (doubleClick): use WHOLE_WORD_STRICT for double click.
14158
14159         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14160
14161         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14162         scheme.
14163
14164 2001-07-26  Baruch Even  <baruch@lyx.org>
14165
14166         * buffer.C (readInset): Changed to call up InsetGraphics when reading
14167         an InsetFig figure, backwards compatible reading of old figure code.
14168
14169 2001-07-27  Juergen Vigna  <jug@sad.it>
14170
14171         * text2.C: font.realize function adaption.
14172
14173         * text.C (draw): add a warnings lyxerr text if needed.
14174
14175         * layout.C: font.realize function adaption.
14176
14177         * language.C: add inherit_language and implement it's handlings
14178
14179         * bufferview_funcs.C (StyleReset): remove language parameter from
14180         font creation (should be language_inherit now).
14181
14182         * bufferparams.C (writeFile): handle ignore_language.
14183
14184         * paragraph.C (getFontSettings): the language has to be resolved
14185         otherwise we have problems in LyXFont!
14186
14187         * lyxfont.C (lyxWriteChanges): added document_language parameter
14188         (update): removed unneeded language parameter
14189
14190         * paragraph.C (validate): fixed wrong output of color-package when
14191         using interface colors for certain fonts in certain environments,
14192         which should not seen as that on the final output.
14193
14194 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
14195
14196         * BufferView_pimpl.C:
14197         * Thesaurus.h:
14198         * Thesaurus.C:
14199         * Makefile.am:
14200         * commandtags.h:
14201         * LyXAction.C: add thesaurus support
14202
14203         * lyxfind.h:
14204         * lyxfind.C: add "once" parameter, for thesaurus, to not
14205           move to the next match
14206
14207 2001-07-26  Juergen Vigna  <jug@sad.it>
14208
14209         * lyxfont.C (realize): honor ignore_language too!
14210         (resolved): ditto.
14211
14212         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14213
14214         * text.C (draw): one place more for ignore_language to not draw
14215         itself!
14216
14217 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
14218
14219         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14220
14221 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14222
14223         * buffer.C (parseSingleLyXformat2Token): a more general fix for
14224         the minipage conversion problem.
14225
14226 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14227
14228         * buffer.C (parseSingleLyXformat2Token): check minipage if we
14229         insert an inset.
14230
14231 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14232
14233         * BufferView.h: don't forward declare WorkArea
14234
14235         * BufferView.C: don't include WorkArea.h
14236
14237 2001-07-25  André Pönitz <poenitz@gmx.net>
14238
14239         * commandtags.h:
14240         * LyXAction.C:
14241         * lyxfunc.C:  new LFUN 'math-space'
14242
14243         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14244
14245 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14246
14247         * text2.C (toggleInset): call open/close
14248
14249 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14250
14251         * lyxfunc.C (dispatch): add debug for the disabled case
14252
14253         * font.C (buttonText): make similar to rectText
14254
14255         * buffer.C (readInset): comment out parsing of insetlist and
14256         insttheorem
14257
14258         * PainterBase.C (rectText): small correction
14259
14260         * BufferView_pimpl.C: comment out insettheorem and insetlist
14261         * LyXAction.C: ditto
14262         * commandtags.h: ditto
14263
14264 2001-07-24  Juergen Vigna  <jug@sad.it>
14265
14266         * text.C (draw): honor the ignore_language.
14267
14268         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14269
14270 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14271
14272         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14273         char inset.
14274
14275 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14276
14277         * lyxtext.h: remove unused (and unimplemented) methods
14278
14279 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14280
14281         * text.C (getVisibleRow): honor background color
14282
14283         * PainterBase.h:
14284         * Painter.h: remove default color argument for fillRectangle
14285
14286         * text.C (backgroundColor): new method
14287
14288 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14289
14290         * text.C (getVisibleRow): adjust
14291
14292         * font.[Ch] (rectText): new method, metrics
14293         (buttonText): new method, metrics
14294
14295         * PainterBase.[hC]: make rectText and buttonText always draw and take
14296         fewer paramteres.
14297
14298 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14299
14300         * ToolbarDefaults.C (read):
14301         * MenuBackend.C (read): allow escaping in all strings
14302
14303         * BufferView_pimpl.C (insertAndEditInset): new method.
14304         (Dispatch): use insertAndEditInset whenever appropriate.
14305
14306         * BufferView_pimpl.C (insertNote): removed
14307
14308         * BufferView_pimpl.C (smartQuote): new method, moved from
14309         BufferView; if an insetquote cannot be inserted, insert a '"'
14310         character instead.
14311
14312         * BufferView2.C: remove insertCorrectQuote();
14313
14314         * lyxfunc.C (getStatus): Add support for all remaingin
14315         inset-insert lfuns.
14316
14317         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14318
14319         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14320         command (necessary to pass " as parameter of self-insert.
14321
14322         * text.C (selectWordWhenUnderCursor):
14323         (selectWord): add word_location parameter
14324         (selectWordWhenUnderCursor): same + remove special code for word
14325         boundary.
14326         (selectNextWord): use kind() to guess type of insetspecialchar,
14327         not latex().
14328
14329         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14330         (insertErtContents): create ert insets as collapsed.
14331         (readInset): better compatibility code for Info inset.
14332
14333 2001-07-20  Juergen Vigna  <jug@sad.it>
14334
14335         * lyxfunc.C (dispatch): use always LyXFind now!
14336
14337         * text2.C (init): add a reinit flag so that the LyXText can be
14338         reinited instead of deleted and reallocated (used in InsetText).
14339
14340         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14341
14342         * text.C: ditto
14343
14344         * text2.C: ditto
14345
14346 2001-07-18  Juergen Vigna  <jug@sad.it>
14347
14348         * text.C (selectNextWord): handle insets inside inset by calling
14349         always the bv->text functions so that we can go up the_locking_inset!
14350
14351         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14352         in strange locations when inside an inset!
14353
14354         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14355         handling to include insets.
14356
14357         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14358
14359 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14360
14361         * LyXAction.C (init):
14362         * commandtags.h:
14363         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14364         LIGATURE_BREAK, since the name is so stupid.
14365
14366 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14367
14368         * buffer.C (readInset): enable reading of new InsetNotes as well as old
14369         InsetInfos.
14370
14371         * FontLoader.C: remove FORMS_H_LOCATION cruft.
14372
14373         * sp_form.[Ch]: remove.
14374
14375         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14376
14377         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14378         InsetInfo.
14379
14380         * src/buffer.C (readInset): ditto.
14381
14382 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14383
14384         * BufferView_pimpl.C (specialChar): new method. Obsoletes
14385         menuSeparator(), endOfSentenceDot(), ldots() and
14386         hyphenationPoint(), which are therefore removed.
14387         (Dispatch): handle LFUN_HYPHENATION_BREAK.
14388
14389         * LyXAction.C (init):
14390         * commandtags.h: add LFUN_HYPHENATION_BREAK.
14391
14392         * paragraph.C (getWord): removed.
14393
14394         * BufferView_pimpl.C (Dispatch): use last word or selection for
14395         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14396
14397         * lyx_main.C (queryUserLyXDir): do not ask before creating
14398         user_dir, except if it has been named explicitely.
14399
14400 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14401
14402         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14403         a document of zero size.
14404
14405 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
14406
14407         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14408         approriately in the c-tor and in require().
14409         (getPackages): output the appropriate LaTeX for natbib support.
14410
14411         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14412         variables "use_natbib" and "use_numerical_citations" when reading the
14413         LyX file.
14414         (readInset): read the various natbib cite commands.
14415         (validate): white-space change.
14416
14417         * bufferparams.[Ch]: new variables "bool use_natbib" and
14418         "bool use_numerical_citations".
14419         (writeFile): output them in the LyX file.
14420
14421 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14422
14423         * lyxfunc.C (getStatus): add support for all the inset insertion
14424         commands.
14425
14426         * text2.C (insertInset):
14427         * paragraph.C (insetAllowed):
14428         * BufferView_pimpl.C (insertInset): update to take in account the
14429         renaming of insertInsetAllowed
14430
14431         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14432
14433         * text2.C (getInset): new method. returns inset at cursor position.
14434
14435         * BufferView_pimpl.C (Dispatch): changes because of this.
14436
14437         * LyXAction.C (init): rename open-stuff to inset-toggle.
14438
14439         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14440
14441         * text2.C (toggleInset): renamed from openStuff; use
14442         Inset::open().
14443
14444 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
14445
14446         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14447
14448         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14449
14450 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
14451
14452         * buffer.C (readLyXformat2): Add filename to the error dialog
14453
14454 2001-07-18  Juergen Vigna  <jug@sad.it>
14455
14456         * tabular.C (GetCellNumber): put an assert here instead of the check!
14457
14458 2001-07-17  Juergen Vigna  <jug@sad.it>
14459
14460         * BufferView_pimpl.C (toggleSelection): adapted too.
14461
14462         * text.C (selectNextWord): adapted for use with insets.
14463         (selectSelectedWord): ditto
14464
14465 2001-07-17  Juergen Vigna  <jug@sad.it>
14466
14467         * sp_spell.C (PSpell): fix initialitation order.
14468
14469 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14470
14471         * paragraph.C: spacing
14472
14473 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
14474
14475         * sp_spell.C: repair language selection for pspell
14476
14477 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14478
14479         * lyxfunc.h: change more methods to begin with lower char.
14480
14481 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
14482
14483         * buffer.C (parseSingleLyXformat2Token): Generate error insets
14484         for unknown layouts.
14485
14486 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
14487
14488         * buffer.C (readLyXformat2): Generate an error dialog if there are
14489         unknown layouts.
14490
14491 2001-07-16  Juergen Vigna  <jug@sad.it>
14492
14493         * sp_spell.C: always compile ISpell part.
14494
14495         * lyxrc.C: added use_pspell entry and it's handling.
14496
14497 2001-07-13  Juergen Vigna  <jug@sad.it>
14498
14499         * sp_spell.C: removed double includes.
14500
14501 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
14502
14503         Consistent use of Lsstream.h:
14504         * Lsstream.h: added using std::stringstream for consistencies sake.
14505
14506         * buffer.C: removed using std::stringstream
14507
14508         * lyxfont.C (stateText):
14509         * paragraph.C (asString):
14510         * text.C (selectNextWord, selectSelectedWord):
14511         * text2.C (setCounter):
14512         * vspace.C (asString, asLatexString):
14513         std::ostringstream -> ostringstream.
14514
14515 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14516
14517         * LyXAction.C: add LFUN_HELP_ABOUTLYX
14518         * commandtags.h: add LFUN_HELP_ABOUTLYX
14519         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14520
14521 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14522
14523         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14524         cursorToggle()
14525         * lyx_gui_misc.C: remove spellchecker
14526         * lyxfunc.C: showSpellchecker
14527         * sp_base.h: added
14528         * sp_ispell.h: added
14529         * sp_pspell.h: added
14530         * sp_spell.C: added
14531         * sp_form.[Ch]: removed
14532         * spellchecker.[Ch]: removed
14533
14534 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
14535
14536         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14537         is set.
14538         (simpleTeXSpecialChars): Simply print the input character without
14539         any special translation if pass_thru is set.
14540
14541         * layout.h: Added bool pass_thru to layout class for being able to
14542         implement pass through of a paragraph for Literate Programming.
14543
14544         * layout.C: add LT_PASS_THRU to LayoutTags enum.
14545         * layout.C (LyXLayout): set pass_thru to flase in constructor.
14546         * layout.C (Read): add "passthru" to list of layout tags and add
14547         code to set the pass_thru boolean when it is read.
14548
14549 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14550
14551         * trans_decl.h: remove allowed from KmodInfo
14552
14553         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14554         remove allowed code
14555         (Load): adjust
14556
14557         * paragraph_pimpl.C (erase): use boost::prior
14558
14559         * Painter.C (text): use data() instead of c_str() when length is
14560         also provided.
14561         * WorkArea.C (putClipboard): ditto
14562         * font.h (width): ditto
14563
14564         * BufferView2.C: use it-> instead of (*it). for iterators
14565         * texrow.C: ditto
14566         * paragraph_pimpl.C: ditto
14567         * paragraph.C: ditto
14568         * minibuffer.C: ditto
14569         * language.C: ditto
14570         * kbmap.C: ditto
14571         * encoding.C: ditto
14572         * counters.C: ditto
14573         * converter.C: ditto
14574         * chset.C: ditto
14575         * Variables.C: ditto
14576         * TextCache.C: ditto
14577         * MenuBackend.C: ditto
14578         * LyXAction.C: ditto
14579         * LColor.C: ditto
14580         * FloatList.C: ditto
14581         * DepTable.C: ditto
14582         * ColorHandler.C (LyXColorHandler): ditto
14583
14584 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14585
14586         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14587
14588         * text2.C (openStuff): reintroduce this method (which had been
14589         nuked in NEW_INSETS frenzy).
14590
14591         * lyxfunc.C (Dispatch): when an action has not been handled, use
14592         its name in the error message, not its number.
14593
14594         * paragraph.C (inInset): change method name to begin with lowercase.
14595
14596         * undo_funcs.C:
14597         * text2.C: updates because of this.
14598
14599 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14600
14601         * ToolbarDefaults.C (add): add spaces in error message
14602
14603 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14604
14605         * buffer.C (readLyXformat2): initialize the ert comp. variables.
14606         (readLyXformat2): rename return_par to first_par, use lyxlex's
14607         pushToken and remove the manual push handling.
14608         (parseSingleLyXformat2Token): add another ert comp. variable:
14609         in_tabular, rename return_par to first_par. handle newlines better
14610
14611 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14612
14613         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14614
14615 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14616
14617         * text2.C (getParFromID): removed
14618
14619         * buffer.C (getParFromID): new method moved form lyxtext.
14620         * BufferView2.C (insertErrors): adjust
14621         (setCursorFromRow): adjust
14622         * BufferView_pimpl.C (restorePosition): adjust
14623         * lyxfunc.C (Dispatch): adjust
14624         * undo_funcs.C (textUndo): adjust
14625         (textRedo): adjust
14626         (textHandleUndo): adjust
14627         (textHandleUndo): adjust
14628
14629 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14630
14631         * buffer.C: up' the LYX_FORMAT
14632
14633         * lyxfont.h: turn NO_LATEX on as default
14634
14635         * buffer.C (insertErtContents): new methods of tex style compability.
14636         (parseSingleLyXformat2Token): use it several places.
14637         * tabular.C (OldFormatRead): and here
14638
14639 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14640
14641         * text2.C: remove some commented code.
14642         reindent file.
14643
14644         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14645         * trans.C: changes because of the above.
14646
14647 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
14648
14649         * text2.C (setCounter): Fix counters bug with bibliography layout.
14650
14651 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14652
14653         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14654         own member functions
14655         (simpleTeXSpecialChars): ditto
14656
14657 2001-07-06  Juergen Vigna  <jug@sad.it>
14658
14659         * a lot of files: changed the access to LyXText::status and the
14660         call of undo-functions.
14661
14662         * undo.[Ch]: added a inset_id to the undo informations.
14663
14664         * undo_funcs.[Ch]: added and moved here all undo functions.
14665
14666         * lyxtext.h: give the status enum a weight, made status_ a private
14667         variable and made accessor functions for it, removed the whole bunch
14668         of undo-functions as they are now in their own file, make some
14669         functions publically available. Added function ownerParagraph with
14670         int parameter.
14671
14672         * paragraph.[Ch]: added "bool same_ids" to the constructor,
14673         made InInset() a const function, added getParFromID() function.
14674
14675         * buffer.[Ch]: added const version for inset_iterator functions,
14676         added getInsetFromID() function.
14677
14678         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14679         changed undo functions for new version.
14680
14681 2001-07-05  Juergen Vigna  <jug@sad.it>
14682
14683         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14684         unknow mechanism does not call the proper constructor but only this
14685         one also if I request the other!?
14686
14687 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14688
14689         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14690
14691         * text2.C (LyXText): use initialization lists.
14692
14693         * lyxtext.h (Selection): initialize set_ and mark_
14694         (init): remove method
14695
14696 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
14697
14698         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14699
14700 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14701
14702         * screen.[Ch]: change method names to begin with lowercase
14703
14704         * BufferView_pimpl.C (updateScrollbar): simplify further and
14705         hopefully make it a bit faster.
14706
14707 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14708
14709         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14710         calling directly xforms functions.
14711
14712         * Painter.C (Painter):
14713         * lyx_cb.C (MenuWrite):
14714         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14715         fl_display.
14716
14717         * lyx_gui.C: remove bogus guiruntime extern declaration.
14718
14719 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14720
14721         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14722         in NEW_INSETS
14723         (redoDrawingOfParagraph): ditto
14724         (redoParagraphs): ditto
14725         (cutSelection): don't create a object for CutAndPaste use the
14726         static method directly
14727         (pasteSelection): ditto
14728
14729         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14730         LyXview (+ rename)
14731
14732 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14733
14734         * modifications to some other files because of this.
14735
14736         * Makefile.am (lyx_SOURCES): add XFormsView
14737
14738         * XFormsView.[Ch]: new files
14739
14740         * LyXView.[Ch]: make LyXView a base class for the gui handling for
14741         the main window. Move the gui dependent stuff to XFormsView
14742
14743 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14744
14745         * tabular.C (GetCellInset): update cur_cell also in the row/col
14746         version of this function.
14747
14748         * lyxfunc.C: no need to include figure_form.h here.
14749
14750         * FontLoader.h:
14751         * lyxfunc.h:
14752         * lyxscreen.h:
14753         * text2.C:
14754         * lyxvc.C: no need to include forms.h here.
14755
14756 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14757
14758         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14759
14760         * lyxfunc.C (Dispatch):
14761         * Spacing.C (set):
14762         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14763         constructor argument.
14764
14765 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14766
14767         * paragraph.C (Paragraph): dont't clear, and just set layout.
14768         (makeSameLayout): use params's copy contructor.
14769
14770         * ParagraphParameters.[Ch] (makeSame): delete method
14771
14772 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
14773
14774         * Variables.[Ch]: fix indentation, rename set to isSet
14775
14776 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14777
14778         * lyxfunc.C (Dispatch): fix typo
14779
14780 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14781
14782         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14783         upper_bound.
14784
14785         * bufferlist.C: include assert.h for emergencyWrite().
14786
14787 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14788
14789         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14790           give up at last (bug #425202) !
14791
14792 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
14793
14794         * lyx_gui_misc.C:
14795         * sp_form.h:
14796         * sp_form.C:
14797         * spellchecker.h:
14798         * spellchecker.C: strip spellchecker options and bring up
14799           preferences tab instead
14800
14801 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14802
14803         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14804         the istringstream constructor
14805
14806 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14807
14808         * paragraph.C (getLayout): fix return value
14809
14810         * paragraph.h: do not declare getLayout as inline.
14811
14812         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14813
14814 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14815
14816         * lyxcursor.h (operator<): new func
14817         (operator>): new func
14818         (operator>=): new func
14819         (operator<=): new func
14820
14821         * text.C (changeCase): use selection.start and selection.end
14822         (changeRegionCase): require from to be <= to. Require par to be a
14823         valid paragraph.
14824
14825         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14826
14827 2001-06-27  Juergen Vigna  <jug@sad.it>
14828
14829         * text.C (cursorLeftOneWord): changed to return the cursor and added
14830         overlay with BufferView * parameter which calls this one.
14831         (getWord): added
14832         (selectWord): use new getWord function.
14833         (changeCase): renamed from changeWordCase as and extended to work
14834         also on selections.
14835
14836         * lyxtext.h: added enum word_location
14837
14838         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14839         changeCase as this operates now also on selections.
14840
14841 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
14842
14843         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14844
14845         * many files: send debug output to Debug::INFO instead of
14846         Debug::ANY.
14847
14848         * converter.C (View):
14849         (Convert):
14850         (Move): send debug output to Debug::FILES instead of console.
14851
14852 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
14853
14854         * lyxfunc.C (getStatus): use func_status
14855
14856         * func_status.h: new header, describing the results of
14857         LyXFunc::getStatus;
14858
14859         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14860         LFUN_MATH_HALIGN.
14861
14862 2001-06-25  The LyX Project  <jug@sad.it>
14863
14864         * buffer.C (sgmlOpenTag):
14865         (sgmlCloseTag):
14866         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
14867
14868 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14869
14870         * text2.C: remove some dead code
14871
14872         * tabular.C (GetCellInset): store the last cell checked (gotten)
14873
14874         * tabular.h: add the helper for the speedup
14875
14876         * lyxtext.h: remove some dead code
14877
14878 2001-06-26  The LyX Project  <Asger>
14879
14880         * paragraph.C: Change export to LaTeX of alignment to
14881         \begin{center} and family for better roundtrip work with reLyX.
14882
14883         * Tune the math drawing a bit.
14884
14885 2001-06-25  The LyX Project  <Asger>
14886
14887         * LColor.C (LColor): New color for math background. New color
14888         for buttons.
14889
14890 2001-06-25  The LyX Project  <jug@sad.it>
14891
14892         * lyxfunc.C (MenuNew): remove extra check for .lyx file
14893
14894         * lyxfunc.C (Open):
14895         * bufferlist.C (newFile): do not restrict to files ending with
14896         .lyx
14897
14898         * BufferView_pimpl.C (MenuInsertLyXFile):
14899
14900 2001-06-24  The LyX Project  <jug@sad.it>
14901
14902         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14903         of compare_no_case
14904
14905 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14906
14907         * lyxtext.h: rename most methods to begin with a small char.
14908         Lots of changes because of this.
14909
14910         * paragraph.C (Paragraph): do not call fitToSize
14911         (erase): call Pimpl::erase
14912         (insertChar): call Pimpl::insertChar
14913         (insertInset): call Pipl::insertInset
14914         (breakParagraph): do not call fitToSize
14915         (breakParagraphConservative): do not call fitToSize
14916         (fitToSize): remove method
14917
14918         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14919
14920 2001-06-24  The LyX Project  <Asger>
14921
14922         * Fix Qt compilation^2
14923
14924 2001-06-24  The LyX Project  <jug@sad.it>
14925
14926         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14927         depthHook(getDepth()-1).
14928
14929         * paragraph.h:
14930         * ParagraphParameters.h:
14931         * ParameterStruct.h: change type of depth to unsigned int ==
14932         depth_type. Many adaptations to other files before of that.
14933
14934 2001-06-24  The LyX Project  <Asger>
14935
14936         * Fix Qt compilation.
14937
14938 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14939
14940         * paragraph.h: renamed several methods to begin with small letter.
14941         several changes to many parts of the code because of this.
14942
14943 2001-06-23  The LyX Project  <jug@sad.it>
14944
14945         * text2.C (InsertStringAsLines): renamed from InsertStringA;
14946         rewritten to discard all double spaces when KeepEmpty is off
14947         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14948         to only handle newlines but not fiddle with spaces and friends.
14949
14950         * lyxfunc.C (MenuNew): when doing 'new from template', use
14951         template_path as default directory
14952
14953 2001-06-23  The LyX Project  <Asger>
14954
14955         * Clean-up of header file includes all over
14956         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14957
14958 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14959
14960         * paragraph.h: renamed from lyxparagraph.h
14961
14962 2001-06-23  Asger  <lyx@violet.home.sad.it>
14963
14964         * Buffer.h: Removed Buffer::resize
14965         * BufferList.h: Removed BufferList::resize
14966         * LyXView.h: Added LyXView::resize. This way, we will only reflow
14967         the document lazily when we change the width, or the font settings.
14968
14969 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14970
14971         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14972
14973 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14974
14975         * buffer.h: remove out of date comment
14976
14977 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14978
14979         * lyxscreen.h:
14980         * screen.C: fix "theoretical" GC leak
14981
14982 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14983
14984         * LaTeX.C (scanAuxFile):
14985         (deplog): remove trailing \r when reading stream (useful under
14986         win32)
14987
14988 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
14989
14990         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14991         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14992         and BufferView::theLockingInset(Inset*), so should use them and not
14993         access bv_->text->the_locking_inset directly.
14994
14995         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14996
14997 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14998
14999         * Makefile.am:
15000         * tex-defs.h: remove old unused file
15001
15002 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
15003
15004         * BufferView_pimpl.C: fix typo, remove minibuffer message
15005           when buffer has loaded
15006
15007 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15008
15009         * lyxfunc.C (Dispatch): use stringstream
15010         (MenuNew): use stringstream
15011         (Open): use stringstream
15012
15013         * importer.C (Import): use stringstream
15014
15015         * bufferview_funcs.C (CurrentState): use stringstream
15016
15017         * LaTeX.C (run): use stringstream
15018
15019         * BufferView_pimpl.C (savePosition): use stringstream
15020         (restorePosition): use stringstream
15021         (MenuInsertLyXFile): use stringstream
15022
15023 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
15024
15025         * BufferView.C:
15026         * Bullet.C:
15027         * ColorHandler.C:
15028         * FontInfo.C:
15029         * FontLoader.C:
15030         * LColor.C:
15031         * LaTeXFeatures.C:
15032         * Painter.C:
15033         * gettext.C:
15034         * lyx_gui_misc.C:
15035         * lyxserver.C:
15036         * vspace.C: removed // -*- C++ -*- as first line.
15037
15038         * lyxfind.h:
15039         * version.h: added // -*- C++ -*- as first line.
15040
15041 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15042
15043         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15044
15045         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15046         of string
15047
15048 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15049
15050         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15051         of floats.
15052
15053 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15054
15055         * gettext.C: include LString.h even when --disable-nls is on.
15056
15057 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
15058
15059         * converter.h (Get): changed argument type from int to
15060         FormatList::size_type to avoid unnecessary conversion.
15061
15062         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15063         before using it.
15064
15065 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15066
15067         * gettext.h: include LString.h even when --disable-nls is on.
15068
15069 2001-06-07  Juergen Vigna  <jug@sad.it>
15070
15071         * text.C (BreakAgain): subst spaces with tabs.
15072
15073         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15074         (resizeInsetsLyXText): set force on resizeLyXText.
15075
15076 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15077
15078         * gettext.h (gettext_init):
15079         (locale_init): use a real definition instead of a macro
15080
15081 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15082
15083         * Bufferview_pimpl.C:
15084         * LColor.h:
15085         * LColor.C: further lcolor tidies
15086
15087 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15088
15089         * BufferView_pimpl.C (updateScrollbar): simplify.
15090
15091         * BufferView2.C: don't include insets/insetinfo.h, change
15092         prototype for insertInset and call the Pimpl version. let
15093         updateInset call Pimpl version.
15094
15095         * BufferView.h: move inset_slept to BufferView::Pimpl, move
15096         gotoInset to BufferView::Pimpl
15097
15098 2001-06-01  Juergen Vigna  <jug@sad.it>
15099
15100         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15101         inside a LockingInset (is the update needed at all?).
15102
15103 2001-05-31  Juergen Vigna  <jug@sad.it>
15104
15105         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15106         here not the old one otherwise how should we compare it afterwards
15107         if it's the same!
15108
15109 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15110
15111         * lyxfont.C:
15112         * tabular.C:
15113         * tabular-old.C:
15114         * FontInfo.C: bring C functions into global namespace when
15115         necessary
15116
15117 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15118
15119         * LString.h: make sure config.h has been loaded before LString.h.
15120
15121         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15122         (one for each char read by EatLine!).
15123
15124         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15125         variables.
15126
15127 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15128
15129         * paragraph.C (BreakParagraph): set the inset_owner in the new par
15130         to the same as the par we break from
15131
15132 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15133
15134         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15135
15136         * MenuBackend.C (expand): also create menu entries for wide
15137         versions of the floats.
15138
15139         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15140
15141         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15142
15143         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15144         frontends/Makefile.am
15145
15146         * text2.C: adjust
15147         * text.C: adjust
15148
15149
15150         * tabular.C (getTokenValue): add std::
15151
15152         * tabular-old.C (getTokenValue): add std::
15153         (getTokenValue): ditto
15154         (getTokenValue): ditto
15155
15156         * screen.C (ToggleSelection): adjust
15157
15158         * lyxtext.h: put selection cursors inside a Selection struct.
15159
15160         * lyxfunc.C (moveCursorUpdate): adjust
15161
15162         * lyxfont.C (latexWriteStartChanges): add std::
15163
15164         * lyxfind.C: adjust
15165
15166         * font.h: delete with(char const *, LyXFont const &)
15167
15168         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15169
15170         * FontInfo.C (getFontname): add std::
15171
15172         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15173         (workAreaButtonPress): adjust
15174         (tripleClick): adjust
15175         (update): adjust
15176         (moveCursorUpdate): adjust
15177         (Dispatch): adjust
15178
15179         * BufferView2.C (gotoInset): adjust
15180
15181 2001-05-30  Juergen Vigna  <jug@sad.it>
15182
15183         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15184         to check pspell I add this as default as I now have new pspell
15185         libraries and they seem to use this.
15186
15187 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15188
15189         * text2.C (CutSelection): make the cursor valid before the call to
15190         ClearSelection.
15191
15192 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15193
15194         * kbsequence.C (parse): de-uglify a bit the parsing code, which
15195         relied on 0 terminated strings and other horrors. Bug found due to
15196         the new assert in lyxstring!
15197
15198         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15199         KP_ keys.
15200
15201 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15202
15203         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15204         to latinkeys.bind.
15205
15206         * lyxfunc.C (processKeySym): change method of getting to the
15207         self-insert char.
15208
15209         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15210         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15211         * BufferView_pimpl.[Ch]: here as private methods.
15212
15213 2001-05-28  Juergen Vigna  <jug@sad.it>
15214
15215         * text.C (SetHeightOfRow): added the update() call again as it is
15216         needed to initialize inset dimensions!
15217
15218 2001-05-16  Juergen Vigna  <jug@sad.it>
15219
15220         * text2.C (SetCharFont): Add new function with BufferView * and
15221         bool toggleall parameters for setting insets internal fonts.
15222         (SetFont): Freeze the undo as we may change fonts in Insets and
15223         all this change should be inside only one Undo!
15224
15225         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15226         setting font's in insets as for them we have the SetFont function!
15227
15228 2001-05-15  Juergen Vigna  <jug@sad.it>
15229
15230         * text2.C (ClearSelection): to be sure we REALLY don't have any
15231         selection anymore!
15232
15233         * tabular.C (TeXCellPreamble): fixed the left border problem for
15234         multicolumn cells.
15235
15236 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
15237
15238         * LaTeX.C (deplog): Make sure that the main .tex file is in the
15239         dependancy file
15240
15241 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15242
15243         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15244         LFUN_BREAKPARAGRAPH.
15245
15246         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15247         help test to "internal only", similar for LFUN_INSERT_URL
15248
15249         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15250         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15251         auto_region_delete and deadkeys.
15252
15253 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
15254
15255         * LColor.h:
15256         * LColor.C: remove some dead entries, tidy a little
15257
15258 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15259
15260         * lyxfunc.C (processKeySym): comment the Escape handling, remove
15261         commented code.
15262         (Dispatch): implement LFUN_ESCAPE
15263
15264         * commandtags.h: add LFUN_ESCAPE
15265
15266         * LyXAction.C (init): add entry for LFUN_ESCAPE
15267
15268         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15269         Remove commented code.
15270         (insertNote): moved here
15271         (open_new_inset): moved here
15272
15273         * BufferView[2].[Ch]: move insertNote and open_new_inset to
15274         BufferView_pimpl
15275
15276 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15277
15278         * kbmap.C (findbinding): clean it up and make it work correctly.
15279
15280         * lyx_main.C (init): do not pass argc and argv as parameters
15281
15282 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
15283
15284         * buffer.C: fix path for OS/2 & Win32
15285
15286         * lyx_gui.C:
15287         * lyx_main:
15288         * lyx_main.C: Added os:: class.
15289
15290         * os2_defines.h: update
15291
15292 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15293
15294         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15295         better by trying again with reduced state.
15296
15297 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15298
15299         * lyxrc.C (read): print error about invalid key sequence only when
15300         debugging (because not all latinX keysyms are known to some X
15301         servers)
15302
15303         * kbsequence.C (getiso): add a few std:: qualifiers
15304         (getiso): comment out extra return statement.
15305
15306 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15307
15308         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15309         handling.
15310         (Dispatch): enhance the accent inset a bit. (not perfect)
15311
15312 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15313
15314         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15315
15316 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15317
15318         * bufferlist.C (emergencyWrite): fix assert() call
15319
15320 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
15321
15322         * text.C (InsertChar): Added trivial patch to only send the "you
15323         can not do multiple spaces this way" message once during a
15324         session.
15325
15326 2001-05-08  Baruch Even  <baruch@lyx.org>
15327
15328         * Makefile.am: Changed order of libraries to get LyX to link properly
15329         with the gnome frontend.
15330
15331 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15332
15333         * LaTeXFeatures.h: add a std:: qualifier
15334
15335 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15336
15337         * paragraph.C (String): use stringstream
15338
15339 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15340
15341         * paragraph.C (writeFile): remove footflag arg
15342
15343         * buffer.C (makeLaTeXFile): use stringstream
15344         (latexParagraphs): remove footnot gurba
15345
15346         * LaTeXFeatures.C (getPackages): use stringstream
15347         (getMacros): likewise
15348         (getTClassPreamble): likewise
15349         (getFloatDefinitions): new method
15350
15351         * paragraph.C (writeFile): reindent
15352         (Erase): reindent
15353
15354         * WorkArea.h: revert the xpos + etc changes.
15355
15356         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15357
15358         * lyxparagraph.[Ch]: add copy constructor, remove Clone
15359
15360         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15361         (pasteSelection): likewise
15362         * text2.C (CreateUndo): likewise
15363
15364 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15365
15366         * minibuffer.C (peek_event): temporarily reduce the functionality
15367         of the minibuffer (to allow args on lfuns)
15368
15369         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15370         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15371
15372         * buffer.C (readInset): add compability reading of old float
15373         lists, add reading of new style float list.
15374         (readInset): avoid reevaluation of inscmd.getCmdName()
15375         (getLists): reindent
15376
15377         * MenuBackend.C (MenuItem): implement parsing of
15378         md_floatlistinsert and md_floatinsert.
15379         (expand::LastFiles): move initalizaton of iterators out of loop,
15380         avoid reevaluation.
15381         (expand::Documents): introduce typdedef vector<string> Strings,
15382         and use it.
15383         (expand::ExportFormats): introduce typedef vector<Format const *>
15384         Formats, and use it.
15385         (expand): implement FloatListInsert and FloatInsert.
15386
15387         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15388         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15389         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15390
15391         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15392         handling.
15393         (Dispatch::LFUN_FLOAT_LIST): implement
15394
15395 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15396
15397         * LaTeX.C (run): Fix problem with --export code.
15398
15399 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15400
15401         * BufferView.[Ch] (workarea): removed.
15402         (getClipboard) new method; wrapper for workarea()->getClipboard()
15403
15404         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15405         bug.
15406
15407         * WorkArea.h (width, height, xpos, ypos): These methods all
15408         returned the dimensions of the work_area sub-area of WorkArea,
15409         resulting in a position error if the WorkArea were resized. Now
15410         return the dimensions of the entire WorkArea.
15411
15412         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15413
15414 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15415
15416         * LaTeX.C (deplog): correct the syntax of regex reg1
15417
15418 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15419
15420         * undo.C: remove !NEW_INSETS cruft
15421
15422 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15423
15424         * text2.C: remove !NEW_INSETS cruft
15425
15426         * text.C: remove !NEW_INSETS cruft
15427
15428         * tabular.C: remove !NEW_INSETS cruft
15429
15430         * spellchecker.C: remove !NEW_INSETS cruft
15431
15432         * lyxtext.h: remove !NEW_INSETS cruft
15433
15434         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15435
15436         * lyxfunc.C: remove !NEW_INSETS cruft
15437
15438         * lyxfind.C: remove !NEW_INSETS cruft
15439
15440         * lyx_cb.C: remove !NEW_INSETS cruft
15441
15442         * figureForm.C: remove  !NEW_INSETS cruft
15443
15444         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15445
15446         * buffer.[Ch]: remove !NEW_INSETS cruft
15447
15448         * ToolbarDefaults.C: remove !NEW_INSETS cruft
15449
15450         * CutAndPaste.C: remove !NEW_INSETS cruft
15451
15452         * BufferView_pimpl.C: remove !NEW_INSETS cruft
15453
15454         * BufferView2.C: remove !NEW_INSETS cruft
15455
15456         * BufferView.h: remove !NEW_INSETS cruft
15457
15458 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15459
15460         * Lsstream.h: include LString.h before the sstream headers to
15461         fix problem with gcc 2.95.3 and lyxstring
15462
15463 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15464
15465         * lyx_main.C: add using directives when needed for C functions
15466         declared in std:: namespace.
15467
15468 2001-04-27  Juergen Vigna  <jug@sad.it>
15469
15470         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15471         (SetHeightOfRow): comment out the update call should not be needed!
15472
15473 2001-04-13  Juergen Vigna  <jug@sad.it>
15474
15475         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15476         (LyXTabular): tried to minimize operator= operations (and realized
15477         hopfully Lars wish).
15478
15479 2001-04-27  Juergen Vigna  <jug@sad.it>
15480
15481         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15482
15483 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15484
15485         * lyxfunc.C (Dispatch): hack to make listof algorithm work
15486
15487         * buffer.C (readInset): hack to make listof algorithm work
15488
15489         * BufferView_pimpl.C: hack to make listof algorithm work
15490
15491 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15492
15493         * LyXAction.C: removed all !NEW_INSETS cruft
15494         (init): moved lfun_item in method
15495
15496         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15497
15498 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15499
15500         * BufferView2.C (theLockingInset): white space.
15501
15502 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15503
15504         * minibuffer.C: include <iostream>
15505
15506         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15507
15508         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15509
15510         * commandtags.h: add LFUN_TRANSPOSE_CHARS
15511
15512         * text.[Ch] (TransposeChars): new method
15513
15514 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15515
15516         * call message directly through LyXView instead of through LyXFunc
15517         * BufferView2.C: adjust
15518         * BufferView_pimpl.C: adjust
15519         * FontLoader.C: adjust
15520         * buffer.C: adjust
15521         * bufferview_funcs.C: adjust
15522         * converter.C: adjust
15523         * figureForm.C: adjust
15524         * importer.C: adjust
15525         * lyx_cb.C: adjust
15526         * lyx_gui_misc.C: adjust
15527         * lyxfunc.C: adjust
15528         * lyxvc.C: adjust
15529         * text2.C: adjust
15530         + more files in subdirs
15531
15532         * lyxparagraph.h (size): move up int file
15533         (GetLayout): ditto
15534
15535         * adjust all uses of Assert to lyx::Assert.
15536
15537         * BufferView2.C (ChangeCitationsIfUnique): adjust for
15538         lyxfunctional in namespace lyx
15539         * layout.C (hasLayout): ditto
15540         (GetLayout): ditto
15541         (GetLayout): ditto
15542         (delete_layout): ditto
15543         (NumberOfClass): ditto
15544         * converter.C (GetFormat): ditto
15545         (GetNumber): ditto
15546         (Add): ditto
15547         (Delete): ditto
15548         (SetViewer): ditto
15549         * bufferlist.C (getFileNames): ditto
15550         (emergencyWriteAll): ditto
15551         (exists): ditto
15552         (getBuffer): ditto
15553         * MenuBackend.C (hasSubmenu): ditto
15554         (hasMenu): ditto
15555         (getMenu): ditto
15556         * BufferView_pimpl.C (getInsetByCode): ditto
15557
15558 2001-04-18  Juergen Vigna  <jug@sad.it>
15559
15560         * vspace.C (asLatexString): fixed the 100% problem.
15561
15562 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15563
15564         * lyxfunc.C (Dispatch):
15565         * minibuffer.C:
15566         * minibuffer.h: add a few std:: qualifiers
15567
15568 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15569
15570         * minibuffer.[Ch]: reimplement so that commands is initiated and
15571         run from lyxfunc, simplified som handling, and made the completion
15572         and history code for complete. wip.
15573
15574         * lyxfunc.C (processKeySym): call message
15575         (miniDispatch): new temporary method
15576         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15577         (LFUN_MESSAGE): implement
15578         (LFUN_MESSAGE_PUSH): implement
15579         (LFUN_MESSAGE_POP): implement
15580         (initMiniBuffer): the initial/defualt minibuffer message.
15581
15582         * lyxfont.[Ch]: inline some more getters
15583
15584         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15585
15586         * lyx_gui_misc.[Ch] (WriteStatus): remove method
15587
15588         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15589         (AutoSave): use LFUN_MESSAGE
15590         (Reconfigure): ditto
15591
15592         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15593
15594         * figureForm.C: use LFUN_MESSAGE
15595
15596         * converter.C (runLaTeX): use LFUN_MESSAGE
15597
15598         * bufferview_funcs.C: use LFUN_MESSAGE
15599         (Melt): ditto
15600         (changeDepth): ditto
15601
15602         * bufferparams.h: use boost::
15603
15604         * bufferlist.h: inherit privately from noncopyable
15605
15606         * bufferlist.C (loadLyXFile): remove some commented code.
15607
15608         * buffer.C (runChktex): use LFUN_MESSAGE
15609
15610         * ShareContainer.h: inherit privately from noncopyable
15611
15612         * ParagraphParameters.[hC] (depth): inline it.
15613
15614         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15615         methods.
15616         (message): new method
15617         (messagePush): ditto
15618         (messagePop): ditto
15619         (show): init minibuffer
15620         (showState): direct call
15621
15622         * LaTeX.[Ch]: inherit privately from noncopyable
15623         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15624         instead of WriteStatus.
15625
15626         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15627
15628         * BufferView_pimpl.C (buffer): don't init minibuffer
15629         (workAreaButtonPress): use LFUN_MESSAGE
15630         (workAreaButtonRelease): ditto
15631         (savePosition): ditto
15632         (restorePosition): ditto
15633         (MenuInsertLyXFile): ditto
15634         (workAreaExpose): don't init minibuffer
15635         (update): remove commented code, simplify
15636
15637         * BufferView2.C (openStuff): use LFUN_MESSAGE
15638         (toggleFloat): ditto
15639         (menuUndo): ditto
15640         (menuRedo): ditto
15641         (copyEnvironment): ditto
15642         (pasteEnvironment): ditto
15643         (copy): ditto
15644         (cut): ditto
15645         (paste): ditto
15646         (gotoInset): ditto
15647         (updateInset): remove some commented code
15648
15649         * lastfiles.h: inherit privately from noncopyable
15650         * layout.h: ditto
15651         * lyx_gui.h: ditto
15652         * lyx_main.h: ditto
15653         * lyxlex.h: ditto
15654         * lyxlex_pimpl.h: ditto
15655
15656         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15657         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15658         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15659
15660         * LyXAction.h: inherit privately from noncopyable, add methods
15661         func_begin, func_end, returning iterators to the func map.
15662
15663         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15664         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15665         (func_begin): new method
15666         (func_end): new method
15667
15668         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15669         and not)
15670         (copySelection): ditto
15671         (pasteSelection): ditto
15672
15673         * BufferView.C: whitespace change
15674         * BufferView.h: inherit privately from noncopyable
15675
15676 2001-04-16  Allan Rae  <rae@lyx.org>
15677
15678         * tabular-old.C (l_getline):
15679         * spellchecker.C (sc_check_word):
15680         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15681         an unrecognised preprocessor directive.  So ensure they're wrapped.
15682
15683 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
15684
15685         * src/exporter.C (Export): Give an error message when path to file
15686         contains spaces.
15687
15688 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
15689
15690         * LaTeX.C (deplog): Always check that foundfile exists.
15691
15692 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15693
15694         * lyx_main.h:
15695         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15696
15697 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15698
15699         * tabular.[Ch] (getLabelList): implement new method
15700
15701         * minibuffer.h: comment ouf setTiimer
15702
15703         * minibuffer.C (ExecutingCB): constify res
15704         (peek_event): constify s
15705         (Set): constify ntext
15706         (Init): constify nicename
15707
15708         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15709
15710         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15711         (savePosition): use two params to Minibuffer::Set
15712         (restorePosition): ditto
15713
15714 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15715
15716         * lyx_main.C: include language.h
15717
15718         * Makefile.am (lyx_main.o): add language.h
15719
15720 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15721
15722         * exporter.C:
15723         * paragraph.C:
15724         * screen.C:
15725         * tabular.C:
15726         * CutAndPaste.C: include gettext.h
15727
15728         * lyxfont.h: remove old hack with ON and OFF.
15729
15730         * lyxparagraph.h:
15731         * lyxfont.h: do not include language.h...
15732
15733         * BufferView2.C:
15734         * LaTeXFeatures.C:
15735         * Painter.C:
15736         * bufferview_funcs.C:
15737         * font.C:
15738         * lyxfont.C:
15739         * text.C:
15740         * text2.C:
15741         * trans_mgr.C:
15742         * paragraph.C: ... but do it here instead
15743
15744 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15745
15746         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15747
15748         * tabular.C: small reformat
15749
15750         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15751         NEW_INSETS version
15752         (GetChar): ditto
15753         (BreakParagraph): ditto
15754         (SetOnlyLayout): ditto
15755         (SetLayout): ditto
15756
15757         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15758         with one arg less.
15759
15760         * lastfiles.C: removed most using decl, add std:: where needed
15761
15762         * buffer.C: ws changes
15763
15764         * MenuBackend.C (class compare_format): put into anon namespace
15765         (expand): constify label, names, action, action2
15766         (expand):
15767
15768         * text.C (SingleWidth): constify font
15769         (IsBoundary): constify rtl2
15770         (GetVisibleRow): constify ww
15771
15772         * LaTeX.C (deplog): constify logfile
15773
15774         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15775         start_x, end_x
15776         (workAreaExpose): constify widthChange, heightChange
15777
15778         * lyxrow.C (par): moved
15779         (height): moved
15780         (next): moved
15781         * lyxrow.h: as inlines here
15782
15783         * lyxfont.h (shape): moved from lyxfont.C
15784         (emph): moved from lyxfont.C
15785
15786         * lyxfont.C (LyXFont): use initialization list for all
15787         constructors
15788         (shape): move to lyxfont.h as inline
15789         (emph): move to lyxfont.h as inline
15790
15791
15792 2001-04-04  Juergen Vigna  <jug@sad.it>
15793
15794         * vspace.C: had to include stdio.h for use of sscanf
15795
15796 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
15797
15798         * BufferView.h:
15799         * BufferView_pimpl.h: remove xforms cruft. Both classes are
15800         independent of xforms.
15801
15802 2001-04-02  Juergen Vigna  <jug@sad.it>
15803
15804         * spellchecker.C: fixed namespace placing!
15805
15806 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
15807
15808         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15809         the LyXParagraph * is 0.
15810
15811 2001-03-29  Juergen Vigna  <jug@sad.it>
15812
15813         * vspace.C: added support for %, c%, p%, l%.
15814         (stringFromUnit): added helper function.
15815         (asLatexString): changed to give right results for the %-values.
15816
15817         * buffer.C: convert the widthp in a width%.
15818
15819 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
15820
15821         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15822         figureForm.[Ch].
15823
15824         * figureForm.[Ch]: stripped the FD_from_figure manipulation
15825         code out of lux_cb.[Ch], ready for its (imminent?) removal.
15826
15827         * lyx_cb.[Ch]: see above.
15828
15829         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15830         form1.[Ch].
15831
15832         * form1.[Ch]:
15833         * lyx.[Ch]: replaced by figure_form.[Ch].
15834
15835         * lyx_gui.C:
15836         * lyx_gui_misc.C:
15837         * lyxfunc.C: changed headers associated with above changes.
15838
15839 2001-03-27  Juergen Vigna  <jug@sad.it>
15840
15841         * BufferView_pimpl.C: set the temporary cursor right!
15842
15843 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
15844
15845         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15846
15847 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
15848
15849         * LString.h: removed "using std::getline"!
15850
15851         * BufferView_pimpl.C (Dispatch): changes due to changes in
15852         InsetInclude::Params.
15853
15854         * buffer.C (tag_name): removed redundant break statements as they were
15855         producing lots of warnings with my compiler.
15856
15857 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15858
15859         * LString.h: add "using std::getline" when using the real <string>.
15860
15861 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
15862
15863         * buffer.C: removed bitset usage.
15864         PAR_TAG moved to an anonymous name space.
15865         (tag_name): new funtion, also in the anonymous namespace.
15866         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15867         (makeDocBookFile): clean code. Completed transition from string arrays
15868         to string vectors.
15869         (SimpleDocBookOnePar): code clean.
15870
15871 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15872
15873         * tabular.C: add some comments.
15874
15875 2001-03-22  Juergen Vigna  <jug@sad.it>
15876
15877         * buffer.C (parseSingleLyXformat2Token): redone the minipage
15878         compatibility read a bit and fixed bug with minipage in different
15879         depth.
15880
15881 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
15882
15883         * buffer.C (pop_tag): removed.
15884         (push_tag): removed.
15885         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15886         array replaced with vector. Added support for CDATA sections.
15887         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15888         at any nest level.
15889         (makeDocBookFile): XML conformant declaration of CDATA section,
15890         fixed bug related to <emphasis> in the first paragraph char.
15891         (sgmlOpenTag): exclude empty tags.
15892         (sgmlCloseTag): ditto.
15893
15894         * buffer.h (pop_tag): removed.
15895         (push_tag): removed.
15896
15897 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
15898
15899         * language.h (Languages): added size_type and size().
15900
15901 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15902
15903         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15904         response on compability reading of minipages. One probliem is that
15905         the old usage of minipages was «flertydig»
15906
15907         * several files here and in subdirs: don't use static at file
15908         scope use anon namespaces instead.
15909
15910 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
15911
15912         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15913         LaTeX output. This is necessary for Literate document
15914         processing.
15915
15916 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15917
15918         * buffer.C: insert hfill when needed.
15919
15920         * tabular.C (l_getline): use string::erase, small whitespace change.
15921
15922         * BufferView_pimpl.C: try the anon namespace.
15923         * WorkArea.C: ditto
15924
15925 2001-03-16  Juergen Vigna  <jug@sad.it>
15926
15927         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15928         otherwise it won't open options-dialogs.
15929
15930         * buffer.C: honor pextraWidth(p) on converting minipages.
15931
15932         * tabular.C (l_getline): changed the functions to strip trailing \r.
15933
15934 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
15935
15936         * BufferView_pimpl.C:
15937         * minibuffer..C: added "using SigC::slot" declaration.
15938
15939 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15940
15941         * lyxlex_pimpl.h: noncopyable is in namespace boost.
15942
15943         * text2.C: ditto
15944
15945         * text.C: ditto
15946
15947         * paragraph.C: ditto
15948
15949         * lyxtext.h: NO_PEXTRA
15950
15951         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15952
15953         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15954         * ParameterStruct.h: ditto
15955         * ParagraphParameters.h: ditto
15956         * lyxparagraph.h: ditto
15957
15958 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15959
15960         * buffer.C: add compability for minipage alignment.
15961         (latexParagraphs): remove unwanted pextra check.
15962
15963         * several files: remove CXX_WORKING_NAMESPACES
15964
15965         * buffer.C (pop_tag): tie is in namespace boost
15966
15967         * BufferView.h: noncopyable is in namespace boost
15968         * lyxlex.h: ditto
15969         * lyx_main.h: ditto
15970         * lyx_gui.h: ditto
15971         * layout.h: ditto
15972         * lastfiles.h: ditto
15973         * bufferlist.h: ditto
15974         * ShareContainer.h: ditto
15975         * LyXView.h: ditto
15976         * LyXAction.h: ditto
15977         * LaTeX.h: ditto
15978
15979 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15980
15981         * Merging changes from BRANCH_MVC back into HEAD.
15982
15983         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15984
15985 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
15986
15987         * BufferView_pimpl.C: change from intl.C
15988
15989         * combox.h:
15990         * combox.C:
15991         * Makefile.am: move combox.*
15992
15993         * form1.h:
15994         * form1.C:
15995         * lyx_gui.C:
15996         * intl.h:
15997         * intl.C: remove dialog (covered by prefs)
15998
15999 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16000
16001         * lyxfunc.C (Dispatch): removed redundant break statement.
16002
16003 2001-03-14  Juergen Vigna  <jug@sad.it>
16004
16005         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16006
16007 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16008
16009         * buffer.C: add hack to fix compability reading of minipages.
16010
16011 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
16012
16013         * buffer.C (getLists): Cleanup.
16014
16015 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16016
16017         * lyxfont.C (update): don't honor toggleall on font size.
16018
16019 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
16020
16021         * bmtable.c:
16022         * bmtable.h:
16023         * Makefile.am: moved to frontends/xforms/
16024
16025         * lyx_gui_misc.C:
16026         * lyxfunc.C:
16027         * BufferView_pimpl.C: changes for moved mathpanel
16028
16029 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16030
16031         * gettext.h: fix gettext_init() in --disable-nls
16032
16033 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16034
16035         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16036
16037 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
16038
16039         * lyx.C:
16040         * lyx.h: strip external form
16041
16042 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16043
16044         * BufferView_pimpl.C: add comment, destroySplash()
16045
16046 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16047
16048         * BufferView_pimpl.C:
16049         * LyXAction.C:
16050         * buffer.C:
16051         * commandtags.h:
16052         * lyxfunc.C: use re-worked insetinclude
16053
16054 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16055
16056         * buffer.C: add using std::stringstream.
16057
16058         * lyx_cb.C: readd using std::ios.
16059
16060         * buffer.C: add using std::map.
16061
16062         * BufferView_pimpl.C: add using std::vector.
16063
16064         * ShareContainer.h: add std:: to swap.
16065
16066         * buffer.h: add some typedefs
16067         * buffer.C (getLists): use them
16068         (getLists): renamed from getTocList.
16069         add a counter for the different float types and use it in the
16070         generated string.
16071         (getLists): use the same counter for the NEW_INSETS and the "non"
16072         NEW_INSETS
16073
16074         * lyx_cb.h: remove unused items, includes, using etc.
16075
16076         * ShareContainer.h: remove some commented code, add more comments
16077         and "documentation".
16078
16079 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16080
16081         * buffer.C (getTocList): make the list also when NEW_INSETS is
16082         defined.
16083
16084         * buffer.h: remove TocType
16085
16086         * buffer.C (getTocList): change to return a map<string,
16087         vector<TocItem> >, implement for dynamic number of list.
16088
16089         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16090         * text2.C (PasteSelection): adjust
16091         * CutAndPaste.C (pasteSelection): adjust
16092
16093         * FloatList.C (FloatList): update from the new_insets branch.
16094         * Floating.[Ch]: ditto
16095         * LaTeXFeatures.C: ditto
16096         * buffer.C: ditto
16097         * lyxlex_pimpl.C: ditto
16098
16099         * paragraph.C (Last): remove when NEW_INSETS is defined.
16100
16101         * other file: changes because of the above.
16102
16103 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16104
16105         * lyxparagraph.h: rename next to next_, previous to previous_,
16106         make them private for NEW_INSETS. Rename Next() to next(),
16107         Previous() to previous().
16108
16109         * other files: changes because of the above.
16110
16111 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
16112
16113         * BufferView.h:
16114         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16115         problem.
16116
16117 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16118
16119         * main.C (main): pass lyx_localedir to gettext_init().
16120
16121         * gettext.h: remove locale_init and gettext_init macros
16122
16123         * gettext.C (locale_init): new function
16124         (gettext_init): new function
16125
16126         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16127         setlocale().
16128
16129 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
16130
16131         * Moved credits to frontends:
16132         * credits.[Ch]: removed
16133         * credits_form.[Ch]: removed
16134         * lyx_gui_misc.C: remove credits stuff
16135         * Makefile.am:
16136
16137 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16138
16139         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16140
16141         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16142         unneeded destructor.
16143
16144         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16145         a standalone pointer again.
16146
16147         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16148
16149 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
16150
16151         * Makefile.am:
16152         * filedlg.h:
16153         * filedlg.C:
16154         * LyXAction.C:
16155         * ToolbarDefaults.C:
16156         * bufferlist.C:
16157         * commandtags.h:
16158         * form1.C:
16159         * form1.h:
16160         * lyx_cb.C:
16161         * lyx_cb.h:
16162         * lyxfunc.h:
16163         * lyxfunc.C:
16164         * BufferView_pimpl.C: use new file dialog in GUII
16165
16166         * lyx_cb.h:
16167         * lyx_cb.C: remove LayoutsCB to Toolbar
16168
16169 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16170
16171         * ShareContainer.h (get): add std:: qualifier
16172
16173 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16174
16175         * ShareContainer.h: define a proper ShareContainer::value_type
16176         type (and use typename to please compaq cxx)
16177
16178 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16179
16180         * lyxparagraph.h: move serveral local vars to
16181         ParameterStruct/ParagraphParameters., use ShareContainer in
16182         FontTable., make vars in FontTable private and add getter and
16183         setter.
16184
16185         * paragraph.C: changes because of the above.
16186
16187         * lyxfont.h: remove copy constructor and copy assignment. (the
16188         default ones is ok), move number inside FontBits. move inlines to
16189         lyxfont.C
16190
16191         * lyxfont.C: add number to initializaton of statics, move several
16192         inlines here. constify several local vars. some whitespace
16193         cleanup. Dont hide outerscope variables.
16194
16195         * Spacing.h: add two new constructors to match the set methods.
16196
16197         * ShareContainer.h: new file, will perhaps be moved to support
16198
16199         * ParameterStruct.h: new file
16200
16201         * ParagraphParameters.h: new file
16202
16203         * ParagraphParameters.C: new file
16204
16205         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16206         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16207
16208         * BufferView_pimpl.C: ParagraphParameter changes.
16209         * buffer.C: Likewise.
16210         * bufferview_funcs.C: Likewise.
16211         * text.C: Likewise.
16212         * text2.C: Likewise.
16213
16214 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16215
16216         * lyxfind.C (LyXReplace): do not redefine default argument in
16217         implementation.
16218         (IsStringInText): ditto
16219         (SearchForward): ditto
16220         (SearchBackward): ditto
16221
16222 2001-03-06  Juergen Vigna  <jug@sad.it>
16223
16224         * lyxfind.C (IsStringInText): put parentes around expressions.
16225
16226 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
16227
16228         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16229
16230 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
16231
16232         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16233
16234         * stl_string_fwd.h: add comment
16235
16236         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16237
16238         * tabular.h:
16239         * tabular.C: remove unused DocBook methods
16240
16241         * intl.C:
16242         * language.C:
16243         * paragraph.C:
16244         * buffer.C:
16245         killed DO_USE_DEFAULT_LANGUAGE
16246
16247 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16248
16249         * lyx_gui.C: do not include language.h.
16250
16251         * bufferview_funcs.C (ToggleAndShow): do not provide optional
16252         arguments in function implementation.
16253
16254 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16255
16256         * BufferView_pimpl.C: add <ctime>
16257
16258 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16259
16260         * BufferView_pimpl.C: add using std::find_if
16261
16262 2001-02-27  José Matos  <jamatos@fep.up.pt>
16263
16264         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16265         by OnlyPath.
16266
16267 2001-02-11  José Matos  <jamatos@fep.up.pt>
16268
16269         * buffer.C (makeDocBookFile): command styles now have a parameter as
16270         "title" by default.
16271
16272 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
16273
16274         * layout_forms.[Ch]: removed
16275         * lyx_cb.[Ch]: out character
16276         * lyx_gui.C: out character
16277         * lyx_gui_misc.C: out character
16278         * bufferview_funcs.C: : out character,
16279         added toggleall as parameter in ToggleAndShow
16280
16281 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
16282
16283         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16284
16285         * text2.C (SetCurrentFont): Disable number property at boundary.
16286
16287 2001-02-26  Juergen Vigna  <jug@sad.it>
16288
16289         * lyxfunc.C (getStatus): added a string argument override function so
16290         that this is correctly called from LyXFunc::Dispatch if it contains a
16291         do_not_use_argument which is used!
16292         (Dispatch): added check for "custom" export and call appropriate func.
16293
16294 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
16295
16296         * lyxrc.C: Add language_command_local, language_use_babel and
16297         language_global_options.
16298
16299         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16300
16301         * buffer.C (makeLaTeXFile): Use language_use_babel and
16302         language_global_options.
16303
16304 2001-02-23  Juergen Vigna  <jug@sad.it>
16305
16306         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16307         which works with LyXText and putted it inside BufferView. Here now we
16308         only call for that part the BufferView::Dispatch() function.
16309
16310         * BufferView.C (Dispatch): added.
16311
16312         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16313         functions which needs to use a LyXText over from LyXFunc.
16314         (MenuInsertLyXFile): added
16315         (getInsetByCode): added
16316         (moveCursorUpdate): added
16317         (static TEXT): added
16318
16319 2001-02-22  Juergen Vigna  <jug@sad.it>
16320
16321         * BufferView_pimpl.C (update): call a status update to see if LyXText
16322         needs it.
16323
16324 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16325
16326         * vc-backend.C (revert): implement for CVS
16327         (getLog): implement for CVS
16328
16329 2001-02-20  Juergen Vigna  <jug@sad.it>
16330
16331         * text2.C (ClearSelection): added BufferView param for inset_owner call
16332
16333         * lyxfunc.C (TEXT): added this function and use it instead of
16334         directly owner->view()-text of getLyXText().
16335
16336 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
16337
16338         * src/layout_forms.C: out preamble
16339         * src/layout_forms.h: out preamble
16340         * src/lyx_cb.C: out preamble
16341         * src/lyx_cb.h: out preamble
16342         * src/lyx_gui.C: out preamble
16343         * src/lyx_gui_misc.C: out preamble
16344         * src/lyxfunc.C: connect with guii preamble
16345
16346 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
16347
16348         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16349
16350 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
16351
16352         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16353         whether to run bibtex.
16354
16355 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
16356
16357         * Makefile.am (lyx_SOURCES): Remove BackStack.h
16358
16359 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
16360
16361         * Makefile.am (lyx_SOURCES): removed bibforms.h
16362
16363         * vspace.h: doxygen
16364
16365         * text.C (GetVisibleRow): make several local vars const
16366
16367         * tabular.C: small cleanup.
16368
16369         * lyxserver.C (callback): use compare instead of strncmp
16370
16371         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16372         inlines to after class or to paragraph.C
16373
16374         * lyxfont.h: remove friend operator!=
16375
16376         * converter.h: move friend bool operator< to non friend and after
16377         class def.
16378
16379         * combox.h: small cleanup
16380
16381         * buffer.h: doxygen, remove unused constructor, move inclas inlies
16382         to inlines after class def.
16383
16384         * buffer.C (pop_tag): use string operations instead of strcmp
16385
16386         * bmtable.c: doxygen, small cleanup
16387
16388         * LaTeX.h: remove friend operator==
16389
16390 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
16391
16392         * screen.C:
16393         * lyxrc.[Ch]:
16394         * lyxfunc.C:
16395         * lyxfont.[Ch]:
16396         * lyx_cb.C:
16397         * intl.[Ch]:
16398         * commandtags.h:
16399         * buffer.C:
16400         * WorkArea.[Ch]:
16401         * LyXAction.C:
16402         * BufferView_pimpl.C:
16403         * BufferView.[Ch]: remove cruft
16404
16405 2001-02-14  Juergen Vigna  <jug@sad.it>
16406
16407         * lyxfunc.C: removed #if 0 unused code
16408
16409         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16410
16411         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16412
16413         * text2.C (SetSelection): added a BufferView * parameter
16414
16415 2001-02-13  Juergen Vigna  <jug@sad.it>
16416
16417         * lyxfunc.C (Dispatch): fixed protected blank problem.
16418         * BufferView2.C (protectedBlank): added LyxText * parameter.
16419
16420         * tabular.C (AppendRow): forgot to set row_info of newly added row.
16421         (AppendColumn): same as above for column_info.
16422
16423         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16424         (moveCursorUpdate): use a LyXText param for support of InsetText.
16425
16426         * BufferView_pimpl.C (doubleClick): added support for InsetText.
16427         (tripleClick): ditto
16428
16429         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16430
16431         * BufferView_pimpl.C (update): added LyXText param to honor insets.
16432
16433         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16434
16435         * text2.C (SetSelection): set correct update status if inset_owner
16436         (ToggleFree): ditto
16437
16438 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
16439
16440         * tabular.C: remove some commented code.
16441
16442 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
16443
16444         * BufferView_pimpl.C: call hideSplash()
16445
16446         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16447
16448         * include_form.h:
16449         * bibforms.h: remove
16450
16451         * lyxfunc.C:
16452         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16453           add LFUN_CHILD_CREATE
16454
16455         * counters.h: fix tiny typo
16456
16457         * lyx_cb.C:
16458         * lyx.h:
16459         * lyx_gui.C:
16460         * lyx.C: move splash to frontends/xforms/
16461
16462         * lyx_gui_misc.C: move Include and Bibform to frontends
16463
16464         * lyxvc.h: clarify comment
16465
16466         * vspace.C: tiny housekeeping
16467
16468 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
16469
16470         * text.C (PrepareToPrint): RTL Fix.
16471
16472         * paragraph.C (GetUChar): New method.
16473         (String):  Use GetUChar.
16474
16475         * buffer.C (asciiParagraph): Use GetUChar.
16476
16477 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
16478
16479         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16480
16481 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
16482
16483         * buffer.h:
16484         * buffer.C: rename to getLogName(), handle
16485           build log / latex log nicely
16486
16487 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16488
16489         * MenuBackend.C:
16490         * MenuBackend.h: remove support for reference menuitem type.
16491
16492 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
16493
16494         * BufferView_pimpl.C: housekeeping
16495         * BufferView_pimpl.h:
16496         * LyXView.h:
16497         * Makefile.am:
16498         * Timeout.C:
16499         * Timeout.h:
16500         * minibuffer.h: move Timeout GUI-I
16501
16502 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
16503
16504         * lyxrc.C (read): Update converters data-structures.
16505
16506 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
16507
16508         * LaTeX.h (operator!=): add operator != for Aux_Info
16509
16510 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
16511
16512         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16513
16514         * LaTeXLog.C: deleted, useful code moved to Buffer
16515
16516         * buffer.h:
16517         * buffer.C: new function getLatexLogName()
16518
16519         * lyx_gui_misc.C:
16520         * lyx_gui.C:
16521         * lyxvc.C:
16522         * lyxvc.h:
16523         * lyxfunc.C: use frontends for LaTeX and VC logs
16524
16525 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16526
16527         * LaTeX.h: yet another std:: that Allan forgot.
16528
16529         * Variables.C (set): renamed from isset(), because this clashes
16530         with some HP-UX macros (grr).
16531
16532 2001-02-06  Allan Rae  <rae@lyx.org>
16533
16534         * LaTeX.h: Another bug fix.  Missing std:: this time.
16535
16536 2001-02-04  Allan Rae  <rae@lyx.org>
16537
16538         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16539         floats problem. I've left it commented out because it's not quite
16540         correct.  It should also test that the current object is a table or
16541         figure inset.  But I haven't gotten around to figuring out how to do
16542         that.  I *think* it'll be something like: "table" == inset.type()
16543
16544         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16545         bool.
16546
16547 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
16548
16549         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16550         all the citation/databases/styles in the auxilary file.
16551         (run): Rerun latex if there was a babel language error.
16552
16553 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
16554
16555         * text.C (Backspace): Preserve the font when changing newline char
16556         with a space.
16557         (BreakParagraph): If the cursor is before a space, delete the space.
16558
16559         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16560
16561 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
16562
16563         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16564         new argument (code).
16565         (ChangeCitationsIfUnique): New method.
16566
16567         * paragraph.C (GetPositionOfInset): Handle bibkey.
16568
16569 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16570
16571         * BufferView_pimpl.h: change type of Position::par_pos to
16572         LyXParagraph::size_type.
16573
16574 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
16575
16576         * BufferView_pimpl.C (savePosition, restorePosition): Write
16577         messages to minibuffer.
16578
16579 2001-01-28  José Matos  <jamatos@fep.up.pt>
16580
16581         * buffer.C (makeDocBookFile): adds support for document language.
16582         A silly restriction on the name of LatexCommand types where removed.
16583         Added support for CDATA sections, allows to chars unescaped, used
16584         among others in code, to avoid escape < and >.
16585
16586 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16587
16588         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16589         saved positions instrad of a stack. Furthermore, a position is
16590         stored using paragraph id/paragraph position.
16591
16592         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16593         Remove LFUN_REF_BACK.
16594
16595 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16596
16597         * converter.C (dvipdfm_options): New method.
16598
16599 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
16600
16601         * vspace.C (isValidLength): Fix for empty input string.
16602
16603 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16604
16605         * LyXAction.C (init): change description of LFUN_FIGURE to
16606         "Insert Graphics"
16607
16608 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16609
16610         * LaTeX.C: add using directive
16611
16612 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16613
16614         * MenuBackend.C (expand): Fix the sorting of the formats.
16615
16616 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
16617
16618         * lyx_main.C: tiny error message fix
16619
16620 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16621
16622         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16623         calling fl_initialize(). This fixes the problem with ',' as
16624         decimal separator in text files.
16625
16626 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16627
16628         * trans.C (process): Fix the keymap bug.
16629
16630 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
16631
16632         * LaTeX.C (scanAuxFiles): New method. Provides support for
16633         multiple bibliographies (when using the bibtopic/bibunits pacakges).
16634         (scanLogFile) Scan for "run BibTeX" messages.
16635
16636         * buffer.C (makeLaTeXFile): Do not load the ae package when using
16637         OT1 font encoding. Also, load the aecompl package if the ae
16638         package is loaded.
16639
16640         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16641
16642 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16643
16644         * texrow.C (increasePos): turn two error messages into debug
16645         messages.
16646
16647 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
16648
16649         * LaTeX.C (scanAux): Handle the \@input macro.
16650         (runBibTeX): Use scanAux().
16651
16652         * language.C (latex_options_): New field.
16653
16654         * LaTeXFeatures.C (getMacros): Add language macros.
16655
16656         * buffer.C (makeLaTeXFile): Small fix.
16657
16658 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16659
16660         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16661
16662         * text2.C: add a using directive.
16663
16664 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
16665
16666         * BufferView2.C:
16667         * lyx_gui_misc.h:
16668         * lyxfr1.C:
16669         * lyxfunc.C: kill LyXBell.
16670
16671 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
16672
16673         * text.C (IsBoundary): Remove the error message
16674
16675         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16676
16677         * lyxrc.C (setDefaults): Correct initialization value for
16678         font_norm_type.
16679
16680 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
16681
16682         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16683         gotoError().
16684
16685         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16686         and GotoNextNote().
16687
16688         * src/LyXAction.C: Added reference-next.
16689
16690         * text.C (InsertChar): Use contains instead of strchr.
16691
16692         * lyx_cb.C (MenuInsertLabel): Enable default value code.
16693
16694 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
16695
16696         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16697         alignment commands (when needed).
16698
16699         * text.C (InsertChar): Add ':' to number separator chars.