]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
0f36c74b235719b60c100e859ac81737cec04a16
[lyx.git] / src / ChangeLog
1 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2
3         * Makefile.am (dist_noinset_DATA): not needed anymore
4
5         * cheaders/*: remove.
6
7 =======
8 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
9
10         * text3.C: fix LFUN_MATH_MODE.
11
12 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13
14         * buffer_funcs.C (countWords): new function. Counts words between
15         two iterators.
16
17         * BufferView_pimpl.C (getStatus, dispatch): handle
18         LFUN_WORDS_COUNT.
19
20         * LyXAction.C (init): 
21         * lfuns.h: add LFUN_WORDS_COUNT.
22
23 2004-12-19  Angus Leeming  <leeming@lyx.org>
24
25         * buffer.C (save): s/slashify_path/internal_path/.
26
27 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
28
29         * lyxfind.C (findChange): do not search for end of pars, because
30         the change tracker cannot handle this (fixes bug 1719).
31
32 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
33
34         * paragraph.[Ch] (autoBreakRows): remove
35
36         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
37
38         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
39         avoid using the paragraph one
40
41         * text2.C (LyXText, insertStringAsLines): adjust
42         
43 2004-12-16  Angus Leeming  <leeming@lyx.org>
44
45         * bufferlist.C:
46         * lyx_main.C: 
47         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
48
49 2004-12-14  Angus Leeming  <leeming@lyx.org>
50
51         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
52
53         * bufferlist.C (emergencyWrite):
54         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
55         GetEnvPath("HOME").
56
57 2004-12-14  Angus Leeming  <leeming@lyx.org>
58
59         * main.C: (main): no longer pass pointers to os::init.
60
61 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
62
63         * undo.C (textUndoOrRedo): simplify logic, fix a crash
64         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
65
66 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
67
68         * lyxfunc.C: 
69         * text3.C: remove selection_possible global flag
70
71 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
72
73         * text2.C (getSelectionSpan): remove
74         (changeDepth, changeDepthAllowed): adjust
75
76 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
77
78         * Makefile.am (BOOST_LIBS): use boost variables
79
80 2004-12-03  José Matos <jamatos@lyx.org>
81
82         * buffer.C: format up to 238.
83
84 2004-12-03  José Matos  <jamatos@lyx.org>
85
86         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
87
88 2004-12-03  Lars Gullik Bjonnes  <larsbj@gullik.net>
89
90         * cursor.C (goUpDown): remove call to idxUpDown2
91
92 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
93
94         * tabular.[Ch]: use size_t-like types for cell, row and column
95         indices
96
97 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
98
99         * lyxfunc.C (getStatus): do not lose previous information when
100         calling BufferView::getStatus; do not set a default "Command
101         disabled" message at the beginning, but just before returning.
102
103 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
104
105         * cursor.h (getStatus): add better comment from src/cursor.C
106
107 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
108
109         * text3.C (getStatus): return false when the lfun is not handled
110
111 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
112
113         * broken_headers.h: remove
114
115         * Makefile.am (lyx_SOURCES): remove broken_headers.h
116
117 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
118
119         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
120         offset_ref accessors
121
122         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
123         top_y_, merge fitcursor with update
124         (updateScrollbar, scrollDocView, fitCursor, center, update): new
125         coord scheme
126         (metrics): introduce
127         (workAreaDispatch): adapt to new coord scheme
128         (redoCurrentBuffer): remove
129
130         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
131
132         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
133         CurStatus enum.
134
135         * coordcache.[Ch]: add paragraph cache and helpers
136
137         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
138         adjust everywhere
139
140         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
141         (targetX, setTargetX): introduce
142
143         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
144         baseline -> ascent, as the rest of lyx
145
146         * lyxtext.h: remove redoParagraphs, updateParPositions,
147         fullRebreak, redoParagraphInternal. move dist to anon namespace in
148         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
149         have ascent/descent (ascent is ascent of first par)
150
151         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
152         step of BufferView
153
154         * paragraph.[Ch]: unify dimension handling with the rest of lyx
155
156         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
157
158         * pariterator.C: fix infinite loop introduced in par->pit renaming
159
160         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
161         in insets and LyXText, draw two off-screen paragraphs using
162         NullPainter, and adapt to new coord scheme
163
164         * text.C:
165         * text2.C:
166         * text3.C: adapt lfun handlers to the new coord scheme, which
167         means: there's only guaranteed coord information for onscreen pars
168         plus one above and one below. This implies that one can do search
169         from y coordinates in the range [-1,workHeight]
170
171 2004-11-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
172
173         * rename a lot of InsetOld to InsetBase
174
175 2004-11-25  Angus Leeming  <leeming@lyx.org>
176
177         * BufferView_pimpl.C:
178         * lyx_cb.C:
179         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
180
181 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
182
183         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
184         call BufferView::getStatus if LCursor::getStatus did nothing
185         (setStatusMessage, getStatusMessage): removed.
186
187         * FuncStatus.C (message): new methods. Used to provide an error
188         message indicating why a command is disabled.
189         (clear, |=, FuncStatus): update for message.
190
191 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
192
193         * lyxfunc.C (dispatch): always call sendDispatchMessage
194
195 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
196
197         * BufferView.C:
198         * BufferView_pimpl.C:
199         * CutAndPaste.C:
200         * FontIterator.C:
201         * buffer.C:
202         * cursor.C:
203         * cursor_slice.[Ch]:
204         * dociterator.[Ch]:
205         * lyxfind.C:
206         * paragraph_funcs.C:
207         * pariterator.C:
208         * rowpainter.C:
209         * text.C:
210         * text2.C:
211         * text3.C:
212         * undo.C: par->pit renaming
213
214 2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
215
216         * tabular.C (cellstruct): use initialization, store a shared_ptr
217         to insettext instead of the insettext directly, adjust to fit.
218         (operator=):  new function
219         (swap): new function
220         (rowstruct): use initialization
221         (columnstruct): use initialization
222         (ltType): use initialization
223
224
225         * lyxlength.h (swap): new function
226
227         * LColor.[Ch] (operator=): use the common semantics
228
229 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
230
231         * lyxfind.C (findNextChange): update the bufferview after setting
232         the selection.
233
234 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
235
236         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
237         number of InsetOptArgs has already been inserted.
238
239         * output_latex.C (latexOptArgInsets): new method. This outputs all
240         the optarg insets, up to the limit defined in the layout file.
241         (optArgInset): removed
242         (TeXOnePar): call latexOptArgInsets; correctly update texrow
243
244 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
245
246         * paragraph.C (isLetter): remove special spellchecker-related
247         code; return true also for digits
248         (isWord, isKomma): remove
249
250         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
251         * lyxfind.C (MatchString()): use isLetter instead of isWord
252
253 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
254
255         * pariterator.h (operatir=): comment out un-implemented member
256         function.
257
258         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
259         static cast.
260
261 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
262
263         * lyxfont.h: include LColor.h to satisfy concept checks.
264
265 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
266
267         * pariterator.h: add typdefs for value_type, difference_type,
268         pointer and reference to satisfy concept checks. Also add default
269         constructor for same reason.
270
271         * pariterator.C (operator++): add post-increment operator to
272         satisfy concept checks.
273
274         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
275         checks.
276
277         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
278
279         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
280         checks. Also rename base_type to BaseType to follow naming
281         standard better.
282
283         * FloatList.h: include Floating.h to satisfy concept checks.
284
285 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
286
287         * lyxfunc.C (getStatus): when the origin of the request is menu or
288         toolbar, and the LyXView does not have focus, do as if there was
289         no buffer (bug 1720)
290
291         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
292         FuncRequest to individual entries of LFUN_SEQUENCE
293
294 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
295
296         * output_latex.C (TeXOnePar): override runparams.moving_arg
297         according to the needprotect value of the current paragraph (bug
298         1739)
299
300         * paragraph.C (simpleTeXOnePar): no need to override
301         runparams.moving_args here
302
303 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
304
305         * vspace.C: fix off-by-one-error, related to fix #1682
306
307 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
308
309         * lengthcommon.C: a more general fix for bug 1682
310
311 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
312
313         * text.C (backspace): fix crash
314
315 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
316
317         * format.[Ch] (getFormatFromFile): new method
318         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
319
320 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
321
322         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
323
324 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
325
326         * lyxfunc.C (dispatch): remove the verbose argument
327         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
328         instead
329
330         * kbmap.C (defkey): set the origin of func to KEYBOARD
331
332         * MenuBackend.C (MenuItem):
333         * ToolbarBackend.C (add): set the origin of func to UI
334
335         * funcrequest.[Ch]: add origin member, which indicates which part
336         of LyX requests an action
337
338 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
339
340         * converter.C (move): don't lie in the error message
341         * converter.h (isReachable, move): document
342
343 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
344
345         * buffer.C: remove unused using lyx::support::atoi
346         * paragraph_funcs.C: ditto
347
348 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
349
350         * bufferlist.C (exists): use bind and equal_to instead of
351         compare_memfun
352         (getBuffer): ditto
353         * lyxtextclasslist.C (NumberOfClass): ditto
354
355         * cursor.C (insert): use for_each instead of explicit for loop
356
357         * bufferlist.C (getFileNames): use std::transform and
358         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
359
360         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
361         for loop
362
363         * buffer.C (changeLanguage): use for_each instead of explicit for
364         loop
365         (hasParWithID): implement using getParFromID
366
367         * LaTeXFeatures.C: ws change only
368
369         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
370         to cleanup a bit.
371
372         * BufferView_pimpl.C (trackChanges): use for_each instead of
373         expilicit for loop
374
375 2004-11-04  André Pönitz  <poenitz@gmx.net>
376
377         * undo.h:
378         * undo.C (textUndoOrRedo): fix crash when creating undo information.
379
380         * dociterator.C (asDocIterator): use hard assert again.
381
382 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
383
384         * lyxlength.C (asLatexString): rewrite so that it does not use
385         snprintf anymore
386
387 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
388
389         * text3.C (specialChar, dispatch): make sure cursor moves to the
390         right after inserting an inset
391
392 2004-11-02  José Matos  <jamatos@lyx.org>
393
394         * output_docbook.C (docbook):
395         * paragraph.C (getID):
396         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
397         garantee that the output is always legal.
398
399         * tabular.C (docbook):
400         * outputprams.[Ch]: remove mixed contents.
401
402 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
403
404         * text2.C (setCounter): prevent endless loop
405
406 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
407
408         * exporter.C (copyFile): use the mover instead of support::copy()
409         * exporter.C (Export): pass format and latex name to copyFile()
410         * exporter.h (addExternalFile): document
411         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
412
413 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
414
415         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
416
417 2004-10-30  José Matos  <jamatos@lyx.org>
418
419         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
420         text and no inset or font change. This allows to use CDATA
421         sections just for the whole paragraph.
422
423 2004-10-30  José Matos  <jamatos@lyx.org>
424
425         * paragraph.C (getFirstWord): remove unused variable.
426
427 2004-10-30  José Matos  <jamatos@lyx.org>
428
429         * paragraph.C (getFirstWord): the content should always be escaped
430         there.
431         (simpleDocBookOnePar):
432         * output_docbook.C (makeEnvironment): replace reference to CDATA
433         to style pass_thru.
434
435 2004-10-30  José Matos  <jamatos@lyx.org>
436
437         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
438
439 2004-10-30  José Matos  <jamatos@lyx.org>
440
441         * output_docbook.C (makeParagraphs):
442         * paragraph.[Ch] (emptyTag): for docbook and company, if the
443         standard paragraph has only a given type of content drop the wrapper.
444
445 2004-10-29  José Matos  <jamatos@lyx.org>
446
447         * output_docbook.C (makeEnvironment):
448         * sgml.C (openTag):
449         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
450
451 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
452
453         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
454         (cleanID): sanitize any id.
455
456 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
457
458         * buffer.C, lyxlex_pimpl.C:
459         * lyxlex_pimpl.C (setFile):
460         s/getExtFromContents/getFormatFromContents/
461
462 2004-10-28  José Matos  <jamatos@lyx.org>
463
464         * output_docbook.C (makeEnvironment): move id to broadest possible
465         scope.
466
467         * sgml.C (openTag): apply substitution of <> for all attributes.
468
469 2004-10-28  José Matos  <jamatos@lyx.org>
470
471         * buffer.C (makeLinuxDocFile, makeDocBookFile):
472         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
473         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
474
475         * sgml.[Ch]: new version for open and closeTag for paragraph and
476         for strings. Now they handle the ids of paragraphs.
477
478 2004-10-26  Angus Leeming  <leeming@lyx.org>
479
480         * Makefile.am: add mover.[Ch].
481
482         * converter.C (convert, move): use the new Movers to move external
483         files to the temp directory.
484
485         * lyx_main.C (init): ensure that the global system_movers data
486         is initialised.
487
488         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
489         preferences file.
490
491         * mover.[Ch]: new files, defining a Mover as a utility to move an
492         external file between directories and, if necessary, manipulate this
493         file using a helper script.
494
495 2004-10-25  José Matos  <jamatos@lyx.org>
496
497         * output_docbook.C (makeCommand): merge two if's that tested the
498         same condition.
499
500 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
501
502         * sgml.C (escapeString): fix warning in a better way
503
504 2004-10-25  José Matos  <jamatos@lyx.org>
505
506         * sgml.C (escapeString): import the require boosts header file for
507         tie, and avoid a signed unsigned comparison.
508
509 2004-10-25  José Matos  <jamatos@lyx.org>
510
511         * sgml.h: add #include <string>
512
513 2004-10-25  José Matos  <jamatos@lyx.org>
514
515         * sgml.[Ch] (escapeString): new function to escape all the string.
516
517 2004-10-24  José Matos  <jamatos@lyx.org>
518
519         * paragraph.[Ch] (getFirstWord): new function to get the first
520         word. Useful for description.
521         (simpleDocBookOnePar): remove depth argument, add another that
522         says where to start the paragraph.
523
524         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
525         use the new functions to fix cleanly the support for descriptions.
526
527 2004-10-24  José Matos  <jamatos@lyx.org>
528
529         * buffer.C (makeLinuxDocFile, makeDocBookFile):
530         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
531         * output_linuxdoc.C (linuxdocParagraphs):
532         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
533         add buffer as argument.
534
535 2004-10-24  José Matos  <jamatos@lyx.org>
536
537         * output_docbook.C (makeEnvironment, searchEnvironment): place
538         CDATA inside paragraphs and fix scope for listitems.
539
540 2004-10-24  José Matos  <jamatos@lyx.org>
541
542         * output_docbook.C: remove using statement for stack.
543
544 2004-10-23  José Matos  <jamatos@lyx.org>
545
546         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
547         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
548         docbook. The new scheme is recursive and makes use of iterators, the
549         same as latex export works.
550         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
551         directly with the paragraph contents. This code was moved up to
552         output_docbook.C (docbookParagraphs).
553         * sgml.C (openTag, closeTag): removed unneeded newlines.
554         (closeEnvTags) removed.
555
556 2004-10-23  André Pönitz  <poenitz@gmx.net>
557
558         * undo.C (textUndoOrRedo):
559         * dociterator.C (asDocIterator): work around crash
560
561         * cursor.C (getStatus): replace ASSERT by more verbose error message
562           and manual correction of the problem. Should increase stability
563           while providing more sensible information.
564
565 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
566
567         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
568
569         * bufferlist.C (previous, next): new methods
570
571         * lfuns.h:
572         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
573
574 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
575
576         * buffer.C (makeDocBookFile): add dsssl stylesheet control
577         entities to preamble.
578
579 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
580
581         * messages.C (Pimpl): strip off translation context information
582
583 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
584
585         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
586         the cursor is correct (bug 1694)
587
588 2004-10-13  José Matos  <jamatos@lyx.org>
589
590         * output_docbook.C (docbookParagraphs): fix closing tags in the
591         end of the document.
592
593 2004-10-09  José Matos  <jamatos@lyx.org>
594
595         * buffer.C: format up to 237.
596         * bufferparams.C (write): use tostr to convert booleans to strings.
597
598 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
599
600         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
601
602 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
603
604         * LaTeX.C: implement use of babel language in xindy.
605
606 2004-10-05  José Matos  <jamatos@lyx.org>
607
608         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
609         Add new translators to help reading and writing the lyx file.
610
611 2004-10-05  José Matos  <jamatos@lyx.org>
612
613         * ParagraphParameters.C (read):
614         * text.C (readParToken): replace nexToken by more appropriate lex
615         methods.
616
617 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
618
619         * LaTeX.C (runMakeIndex):
620         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
621         (usually 'makeindex') configurable.
622
623         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
624         with a variable rather than with a number.
625
626 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
627
628         * output_latex.C (TeXOnePar): make sure font setting is the first
629         thing that gets output (and the last at the end). Should fix bug
630         1404.
631
632 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
633
634         * pch.h: use proper signal include
635
636         * LaTeX.h: Use preferred calling of Boost.Signal
637         * buffer.h: ditto
638
639 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
640
641         * pch.h: dont include <boost/function/function0.hpp>
642
643         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
644
645         * paragraph_pimpl.h: remove usage of ShareContainer
646
647         * paragraph_pimpl.C: remove initialization of ShareContainer.
648
649 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
650
651         Fix bug #1666
652
653         * BufferView.C (putSelectionAt): change the semantics when
654         backwards == true: now, this just swaps cursor and anchor wrt the
655         forward case
656
657         * BufferView.h (putSelectionAt): add some documentation
658
659         * lyxfind.C (findBackwards): rewrite using while(). In particular,
660         make sure backwardChar is done at least once (to avoid getting
661         stuck)
662         (findNextChange): use putSelectionAt in the forward direction
663         (operator()): use Paragraph::isWord
664
665 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
666
667         * Spacing.C (set): c_str fix
668
669 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
670
671         * lyx_cb.C (Reconfigure): quote the name of configure script in
672         case it contains spaces
673
674 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
675
676         * client: new dir
677
678         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
679         (BOOST_LIBS): use top_buildir when looking for the file
680
681 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
682
683         * pch.h: do not use include boost/format.hpp, multiple symbols
684                 will result (gcc bug)
685
686
687 2004-08-23  José Matos  <jamatos@lyx.org>
688
689         * bufferparams.C (readToken): fix reading of the author field.
690
691 2004-08-20  José Matos  <jamatos@lyx.org>
692
693         * lyxrc.C: remove support/translator.h inclusion since it is not used.
694
695 2004-08-20  José Matos  <jamatos@lyx.org>
696
697         * lyxlex.[Ch] (findToken): remove function.
698
699         * ParagraphParameters.C (findToken):
700         * bufferparams.C (findToken): replace call for previous function
701         with local copy. This local function has one more argument, the
702         read string argument.
703
704 2004-08-16  José Matos  <jamatos@lyx.org>
705
706         * ParagraphParameters.C (write):
707         * Spacing.C (writeFile):
708         * bufferparams.C (writeLaTeX):
709         * lyx_cb.C (Reconfigure):
710         * paragraph.C (write):
711         * tabular.C (write): remove unnecessary space at end of line.
712
713
714 2004-08-16  José Matos  <jamatos@lyx.org>
715
716         * text.C (readParagraph): remove debug message.
717
718 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
719
720         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
721         crash
722
723         * output_plaintext.C (asciiParagraph): set depth correctly
724
725         * outputparams.h: add member depth
726
727         * paragraph_funcs.C (ownerPar): remove.
728
729         * text2.C (setCounter): remove first_pit; comment out some
730         non-working code that uses ownerPar
731
732         * BufferView.C (getParentLanguage): remove. Not used anymore, and
733         uses ownerPar
734
735 2004-08-16  José Matos  <jamatos@lyx.org>
736
737         * text.C (readParToken, readParagraph, read): report all unknown tokens.
738         For the same level of importance use the same chanel to report problems.
739         (read): add code to deal with \begin_body and \end_body.
740
741
742 2004-08-15  José Matos  <jamatos@lyx.org>
743
744         * lyxlex.C (getString): fix comment, buffer::readBody is now
745         buffer:readDocument.
746
747         * tex-strings.C (string_papersize): Default -> default,
748         Custom -> custom, for consistency with other options.
749
750 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
751
752         * pch.h: new file
753
754         * Makefile.am: support pch
755
756 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
757
758         * text.C (readParToken): remove the static LyXFont variable and
759         pass it as a parameter instead. This fixes a nasty bug where an
760         inset will be inserted with a bad font in some situations
761         (readParagraph): adapt
762
763         * text2.C (setCounter): reduce number of calls to pars_[pit]
764
765         * text.C (singleWidth): add an assert, fix a test
766
767         * rowpainter.C (paintText): reduce number of calls to singleWidth
768
769         * paragraph.C (isHfill):
770         (isNewline): ws only
771
772 2004-08-14  André Pönitz  <poenitz@gmx.net>
773
774         * text.C:
775         * text2.C:
776         * rowpainter.C:
777         * lyxtext.h (several functions): use a Paragraph & argument
778         instead of par_type
779
780 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
781
782         * metricsinfo.h: add a new field ltr_pos to PainterInfo
783
784         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
785
786         * text.C (singleWidth): remove useless test
787
788 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
789
790         * tabular.h: remove bogus comments
791
792         * tabular.C (getDescentOfRow):
793         (isPartOfMultiColumn): add assertions
794
795         * lyxlength.C (inPixels): remove #warning
796
797 2004-08-14  André Pönitz  <poenitz@gmx.net>
798
799         * paragraph.h: inline getChar()
800
801         * BufferView.h: remove unused declarations
802
803 2004-08-14  José Matos  <jamatos@lyx.org>
804
805         * Buffer.[Ch] (readDocument): new name for old readBody.
806         * Buffer.C: new file format, new keywords: \begin_document,
807         \begin_header, \begin_body, \end_body.
808
809         * bufferparams.C (readToken): replace all calls to lex.nextToken
810         by lex.next(). Do the same to eatLine except where really needed.
811
812         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
813         line when writing to the lyx file.
814
815         * output_plaintext.C (asciiParagraph): fix Bibliography style
816         handling.
817
818         * text.C (read): fix end of file handling.
819
820 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
821
822         * MenuBackend.C (Menu::operator[]): new method to access
823         individual menu items
824         (Menu::hasFunc): new method. search for an item that corresponds
825         to a given func
826         (MenuBackend::specialMenu): new method
827         (MenuBackend::expand): if a special menu has been set, skip
828         entries whose func() appears in this menu
829
830 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
831
832         * text3.C: use Debug::DEBUG a bit more
833
834         * text.C (leftMargin): try to simplify a tiny bit change var x to
835         l_margin. Dont output the wide margins always.
836         (rightMargin): no margin in inner texts
837
838         * rowpainter.h (nestMargin): new func
839         (changebarMargin): new func
840         (rightMargin): new func
841
842         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
843         now functions.
844         (paintLast): ditto
845
846         * factory.C (createInset): modify setDrawFrame
847
848         * cursor.C: use Debug::DEBUG a bit more
849
850 2004-08-14  André Pönitz  <poenitz@gmx.net>
851
852         * coordcache.[Ch]:
853         * Makefile.am: new files to accomodate an 'external' (x,y)-position
854         cache for all insets in (at least partially) visible (top-level)
855         paragraphs.
856
857         * BufferView_pimpl.C: reset external coord cache before every update.
858         This means the coord cache only contains valid entries.
859
860 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
861
862         bug 1096
863         * BufferView_pimpl.C (getInsetByCode): move function out of class
864         and change in to a template in anon namespace. Also fix to do what
865         suits us better.
866
867 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
868
869         bug 1305
870         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
871         of char
872         (breakParagraph): rename par to par_offset and use a local
873         reference. Add code to keep the language over a rebreak.
874         (breakParagraphConservative): rename par to par_offset, use a
875         local reference
876         (mergeParagraph): ditto
877         (outerHook): ditto
878         (isFirstInSequence): ditto
879         (outerFont): rename pit to par_offset
880
881         * paragraph.C: ws change
882         * paragraph.h: ditto
883         * text3.C: ditto
884         * text.C: ditto
885
886 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
887
888         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
889         treatment for ']'
890
891         * paragraph.C (simpleTeXOnePar): when we have a \item with
892         optional argument, enclose the argument with curly brackets (in
893         case it contains a closing square bracket)
894
895         * text2.C (editXY):
896         * text2.C (editXY):
897         * text3.C (checkInsetHit): constify
898
899 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
900
901         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
902         documents (bug 1629)
903
904 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
905
906         Fix toggling of collapsable insets with the mouse (bug 1558)
907
908         * lyxfunc.C (dispatch): adapt to LCursor changes
909
910         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
911         make sure that dispatch is not invoked twice
912
913         * cursor.C (needsUpdate): new method
914         (dispatch): return void
915         (result): new method, to access the DispatchResult of the cursor.
916
917 2004-08-13  José Matos  <jamatos@lyx.org>
918
919         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
920
921 2004-08-13  André Pönitz  <poenitz@gmx.net>
922
923         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
924
925         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
926           multiple cells
927
928 2004-08-12  André Pönitz  <poenitz@gmx.net>
929
930         * text3.C: take out the 'cursor right' form insertInset and only
931         do it in those places when it is really needed. Fixes crash on
932         C-m...
933
934 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
935
936         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
937
938         * BufferView_pimpl.C (setBuffer): initialize the current font of
939         the underlying LyXText
940
941 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
942
943         * kbsequence.C (print): use UI native formatting for menu
944         shortcuts
945
946         * text.C (insertChar): call Paragraph::insertChar with a font
947         argument (cosmetic)
948
949         * paragraph.C (insertInset, insertChar): the version that takes a
950         LyXFont argument is now a wrapper around the other one (the
951         opposite used to be true).
952
953         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
954         argument. Font setting is done in Paragraph now.
955
956 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
957
958         * outputparams.h: add new members intitle and lang.
959
960         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
961         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
962
963 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
964
965         * text3.C (dispatch): remove special handling of button 4 and 5,
966         it is now taken care of in the frontend code.
967
968 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
969
970         * Spacing.h: add <string> (STLPort compile fix)
971
972 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
973
974         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
975
976 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
977
978         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
979         to bool.
980
981         * converter.C (showMessage): inherit from unary_function, make
982         operator() const.
983
984         * buffer.C (writeFile): initialize retval
985
986         * InsetList.h: rename private variable list to list_
987         * InsetList.[Ch]: adjust accordingly.
988
989 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
990
991         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
992         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
993         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
994         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
995         * ParagraphParameters.C, LaTeXFeatures.C: replace
996         "support/std_sstream.h" with <sstream>
997
998 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
999
1000         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1001         * lyxsocket.C (LyXServerSocket): ditto
1002         (serverCallback): ditto
1003
1004 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1005
1006         * LaTeXFeatures.C: check release date when loading jurabib.
1007
1008 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1009
1010         * lyxserver.C (startPipe): call register_socket_callback
1011         (endPipe): call unregister_socket_callback
1012
1013 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
1014
1015         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1016         (LyXServerSocket): register the callback
1017         (LyXServerSocket): unregister the callback
1018         (fd): delete function
1019         (serverCallback): improve error checking and setup the callbacks.
1020         (dataCallback): change arg to fd.
1021         (writeln): new func (copied fro the client socket) used for server
1022         write to client.
1023         (LyXDataSocket): simplify
1024         (~LyXDataSocket): close ann unregiser callback
1025         (server): delete function
1026         (fd): delete function
1027         (readln): small changes, improve some std::string usage
1028         (writeln): constify a bit
1029
1030 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1031
1032         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1033         Qt frontend
1034
1035 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1036
1037         * BufferView_pimpl.C (setBuffer): set the layout combox value only
1038         after it has been populated
1039
1040 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1041
1042         * text2.C (insertInset): move cursor when inserting inset.
1043
1044 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1045
1046         * kbmap.C (findbindings): a couple of new methods. returns a
1047         container of kb_sequence objects. The real work is done by the
1048         private recursive version
1049         (printbindings): uses findbindings to print out a bracketed list
1050         of bindings (renamed from findbinding).
1051
1052         * MenuBackend.C (binding): use kb_keymap::findbindings
1053
1054         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1055
1056 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1057
1058         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1059
1060 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1061
1062         * paragraph.C (isWord): return true on insets that report
1063         isLetter().
1064
1065         * text.C (getWord): use Paragraph::isWord to decide what is in a
1066         word and what is not; fix bug 1609.
1067
1068 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1069
1070         * tex-strings.C: add "none" to string_paperpackages[], fixes
1071         off-by-one-error in the paperpackage selection.
1072
1073         * lyxlex.[Ch]:
1074         * tex-strings.[Ch]: char const * string[n]
1075         -> char const * const string[]
1076
1077 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1078
1079         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1080         command, return early.
1081
1082 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
1083
1084         * debug.h: add DEBUG to enum and fix size of ANY.
1085
1086         * debug.C: add support for Debug::DEBUG
1087         (showTags): cast errorTags.level to unsigned int
1088
1089         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1090         (redoCurrentBuffer): ditto
1091         (updateScrollbar): ditto
1092         * cursor.C (dispatch): ditto
1093         * text2.C (setLayout): ditto
1094         (setFont): ditto
1095         (updateCounters): ditto
1096         (editXY): ditto
1097         (deleteEmptyParagraphMechanism): ditto
1098
1099 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
1100
1101         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1102         annotations to cleanup the Makefile slightly.
1103
1104 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1105
1106         * lyxrc.C: do not set user_email to a default value but use empty
1107         instead. The entry used to be translated, which does not work
1108         since at the point where lyxrc is constructed there is no
1109         translation service available
1110
1111         * messages.C (getLocaleDir): remove and use directly
1112         lyx_localedir() instead
1113
1114 2004-06-02  Angus Leeming  <leeming@lyx.org>
1115
1116         Fix crash caused by dereferencing null pointer 'exportdata' in
1117         OutputParams by creating a new ExportData variable on the heap,
1118         storing it in a boost::shared_ptr.
1119         The crash was triggered when generating an Instant Preview
1120         of an external inset.
1121
1122         * Makefile.am: add outputparams.C
1123
1124         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1125         (c-tor): allocate memory to it.
1126
1127         * exporter.C (c-tor): associated changes.
1128
1129 2004-06-01  Angus Leeming  <leeming@lyx.org>
1130
1131         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1132         contains data before calling isInset(0). (Bug 1513.)
1133
1134 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1135
1136         * exporter.C (checkOverwrite): new method
1137         * exporter.C (copyFile): new method
1138         * exporter.C (Export): copy referenced files to the document dir
1139         * exporter.[Ch]: new class ExportedFile
1140         * exporter.[Ch]: new class ExportData. Contains currently the
1141         names of referenced external files
1142         * outputparams.h: add exportdata member.
1143
1144 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1145
1146         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1147         version.C-tmp
1148
1149 2004-05-19  Angus Leeming  <leeming@lyx.org>
1150
1151         * LaTeXFeatures.C:
1152         * ToolbarBackend.C:
1153         * bufferparams.C:
1154         * lyxfunc.C: small changes due to the introduction of namespace
1155         lyx::frontend and the moving of namespace biblio to lyx::biblio.
1156
1157 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
1158
1159         * text3.C (dispatch): supress update when only moving the cursor
1160         * cursor.C (selHandle): remove commented code
1161
1162 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1163
1164         * paragraph.C (startTeXParParams): correct column count
1165         * CutAndPaste.C (pasteSelection): remove const_cast
1166         * output_docbook.C (docbookParagraphs): remove const_cast
1167         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1168         const_cast and return ParagraphList::const_iterator
1169         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1170         * output_plaintext.C (writeFileAscii): remove const_cast
1171         * paragraph.[Ch] (simpleTeXOnePar): make const
1172         * paragraph_funcs.C (outerPar): use const iterators
1173         * paragraph_pimpl.C (validate): use const iterators
1174         * text.C (setHeightOfRow): use const iterators
1175
1176 2004-05-17  Angus Leeming  <leeming@lyx.org>
1177
1178         * lfuns.h:
1179         * LyXAction.C (init): new LFUN_INSET_REFRESH.
1180
1181         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1182         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1183         if the citation engine has changed.
1184
1185 2004-05-14  José Matos  <jamatos@lyx.org>
1186
1187         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1188         if the textclass does not provide it. Have it different for sgml and
1189         xml.
1190         support the language of document.
1191         * output_docbook.C (docbookParagraphs):
1192         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1193         first anchor as the id of the paragraph, remove special case code.
1194         * sgml.C (escapeChar): escape only < & >.
1195
1196 2004-05-14  Angus Leeming  <leeming@lyx.org>
1197
1198         * bufferparams.h: move biblio::CiteEngine enum here to minimize
1199         dependencies on src/frontends/controllers/biblio.h. Define a
1200         CiteEngine_enum wrapper class to enable the enum to be forward
1201         declared.
1202
1203 2004-05-12  Angus Leeming  <leeming@lyx.org>
1204
1205         * buffer.C: up LYX_FORMAT to 234.
1206         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1207         use_numerical_citations with a single biblio::CiteEngine cite_engine
1208         variable.
1209         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1210
1211 2004-05-13  José Matos  <jamatos@lyx.org>
1212
1213         * converter.h:
1214         * converter.C (Converter, readFlags): add xml member.
1215         * outputparams.h: add XML flavor.
1216         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1217
1218 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1219
1220         * lyxfunc.C (dispatch):
1221         (getStatus): fix handling of LFUN_SEQUENCE
1222
1223 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1224
1225         * debug.C (showLevel): do not forget the end-of-line marker
1226
1227 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1228
1229         * kbmap.C (read): do not stop parsing a bind file when an error
1230         occurs (bug 1575)
1231
1232 2004-04-29  Angus Leeming  <leeming@lyx.org>
1233
1234         * cursor.C:
1235         * factory.C:
1236         * pariterator.C:
1237         * text2.C: wrap a bunch of #warning statements
1238         inside #ifdef WITH_WARNINGS blocks.
1239
1240 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1241
1242         * buffer.C: increment format to 233.
1243
1244 2004-04-28  Angus Leeming  <leeming@lyx.org>
1245
1246         * BufferView_pimpl.C:
1247         * lyxfunc.C:
1248         * text3.C:
1249         s/updateToolbar()/updateToolbars()/
1250         s/Toolbar.h/Toolbars.h/
1251
1252 2004-04-28  Angus Leeming  <leeming@lyx.org>
1253
1254         * BufferView.[Ch] (c-tor):
1255         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1256         No longer passes these data to the WorkArea generator.
1257
1258 2004-04-28  Angus Leeming  <leeming@lyx.org>
1259
1260         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1261
1262 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1263
1264         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1265
1266 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1267
1268         * output_latex.C (TeXEnvironment): make sure that there is a line
1269         break before \end{foo} for the last paragraph of a document
1270         (TeXOnePar): if the paragraph is at the end of the document (or
1271         inset) and the language has to be reset, then make sure that the
1272         line break is _before_ the language command, not after (fixes bug
1273         1225); also make sure that the language reset command is the first
1274         thing after the paragraph (to ensure proper nesting of
1275         environments and thus fix bug 1404)
1276
1277 2004-04-21  John Levon  <levon@movementarian.org>
1278
1279         * ToolbarBackend.h:
1280         * ToolbarBackend.C: make "name" be a programmatic name
1281         and a gui_name field.
1282
1283         * lyxfunc.C: display the minibuffer on M-x
1284
1285 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1286
1287         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1288         (bug 1526)
1289
1290 2004-04-19  Angus Leeming  <leeming@lyx.org>
1291
1292         * BufferView_pimpl.C (setBuffer): changed preview interface.
1293
1294         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1295         possible values.
1296
1297 2004-04-19  John Levon  <levon@movementarian.org>
1298
1299         * BufferView_pimpl.C:
1300         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1301
1302 2004-04-05  Angus Leeming  <leeming@lyx.org>
1303
1304         * text.C (redoParagraphs): add call to updateCounters(), thereby
1305         fixing the missing "Figure #:" label from the caption of a
1306         figure float.
1307
1308 2004-04-13  Angus Leeming  <leeming@lyx.org>
1309
1310         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1311         cursor is clicked out of an inset.
1312
1313 2004-04-13  Angus Leeming  <leeming@lyx.org>
1314
1315         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1316         than an InsetOld one.
1317
1318 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1319
1320         * format.[Ch]: add editor to Format
1321         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1322         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1323
1324 2004-04-08  André Pönitz  <poenitz@gmx.net>
1325
1326         * metricsinfo.h: remove PainterInfo::width member
1327
1328 2004-04-08  Angus Leeming  <leeming@lyx.org>
1329
1330         * lyx_sty.C (boldsymbol_def): modify so that it outputs
1331         "\providecommand" rather than "\newcommand", thereby preventing
1332         clashes with packages that define "\boldsymbol" themselves.
1333         Eg, beamer.
1334
1335 2004-04-08  Angus Leeming  <leeming@lyx.org>
1336
1337         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1338         thereby squashing an unnecessary warning.
1339
1340 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1341
1342         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1343         setBuffer()
1344
1345 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
1346
1347         * BufferView.C (setCursor): call redoParagraph (some insets could
1348         have been opened)
1349         (putSelectionAt): remove the 'double update' trick
1350
1351         * BufferView_pimpl.C (fitCursor): call refreshPar
1352         (workAreaDispatch): remove an uneeded update call
1353         (dispatch): remove some manual update calls
1354
1355         * cursor.[Ch]: remove cached_y_, updatePos
1356         (selHandle): set noUpdate when appropriate
1357
1358         * lyxfunc.C (dispatch): track if we need an update
1359
1360         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1361
1362         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1363         (paintSelection): cheap optimization, do not call cursorX when not
1364         needed
1365         (paintPars): change signature
1366         (refreshPar): add
1367         (paintText): adjust
1368         (paintTextInset): adjust
1369
1370         * text.C: adjust
1371
1372 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1373
1374         * lengthcommon.C: compilation fix: remove explicit array size from
1375         unit_name[] and friends
1376
1377 2004-04-05  Angus Leeming  <leeming@lyx.org>
1378
1379         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1380
1381         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1382         present only for the preferences dialog.
1383         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1384
1385 2004-04-05  Angus Leeming  <leeming@lyx.org>
1386
1387         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1388         to enable the frontends to export changes to lyxrc correctly.
1389
1390         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1391
1392 2004-04-07  André Pönitz  <poenitz@gmx.net>
1393
1394         * cursor.[Ch] (selClear, adjust): remove math
1395
1396         * cursor_slice.C: more agressive assert
1397
1398         * lyxfunc.C:
1399         * BufferView_pimpl.C: rework mouse event dispatch
1400
1401         * dociterator.C:
1402         * paragraph.C:
1403         * text2.C:
1404         * text3.C: adjust
1405
1406 2004-04-05  André Pönitz  <poenitz@gmx.net>
1407
1408         * cursor.[Ch] (valign, halign...): remove unneeded functions
1409
1410 2004-04-05  Angus Leeming  <leeming@lyx.org>
1411
1412         * lyxlength.[Ch] (unit_name et al.): const-correct.
1413
1414 2004-04-05  Angus Leeming  <leeming@lyx.org>
1415
1416         * BufferView_pimpl.C:
1417         * buffer.C:
1418         * counters.C:
1419         * cursor.C:
1420         * lyxfunc.C
1421         * paragraph.C:
1422         * pariterator.C:
1423         * text.C:
1424         * text2.C:
1425         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1426
1427 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1428
1429         * text3.C (getStatus): add LFUN_BEGINNINGBUF
1430
1431 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1432
1433         * lyxfind.C: add a couple of inTexted() tests + other small fixes
1434         * BufferView_pimpl.[Ch] (getStatus)
1435         * BufferView.[Ch] (getStatus): add
1436         * lyxfunc.C (getStatus): move lfuns handled in
1437         BufferView::dispatch to te function above
1438         * Cursor.C (setSelection): set selection() = true
1439
1440 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1441
1442         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1443
1444 2004-03-31  Angus Leeming  <leeming@lyx.org>
1445
1446         * lyxfunc.C (dispatch): Fall through to the generic
1447         Dialogs::show("preamble").
1448
1449 2004-03-31  Angus Leeming  <leeming@lyx.org>
1450
1451         * lyxfunc.C (dispatch): Fall through to the generic
1452         Dialogs::show("spellchecker").
1453
1454 2004-03-31  Angus Leeming  <leeming@lyx.org>
1455
1456         * lyxfunc.C (getStatus, dispatch): changed invocation of the
1457         preferences dialog.
1458
1459 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1460
1461         * BufferView.C
1462         * cursor.[Ch]
1463         * dociterator.[Ch]:
1464         * insetiterator.[Ch]:
1465         * lyxfind.C:
1466         * lyxfunc.C:
1467         * pariterator.[Ch]:
1468         * text2.C:
1469         * undo.[Ch]: s/DocumentIterator/DocIterator/g
1470
1471 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1472
1473         * BufferView.C (setCursor, putSelectionAt): call edit to open the
1474         insets where we are putting the cursor.
1475
1476 2004-03-31  Angus Leeming  <leeming@lyx.org>
1477
1478         * lfuns.h:
1479         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1480
1481         * lyxrc.[Ch] (read, write): overloaded member functions taking
1482         a std::[io]stream arguments.
1483
1484         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1485
1486 2004-03-31  Angus Leeming  <leeming@lyx.org>
1487
1488         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1489         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1490
1491         * lyxtextclass.C (load): if the text class couldn't be loaded, then
1492         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1493
1494 2004-03-31  Angus Leeming  <leeming@lyx.org>
1495
1496         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1497         the LFUN_ALL_INSETS_TOGGLE code.
1498
1499 2004-03-30  Angus Leeming  <leeming@lyx.org>
1500
1501         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1502         has died. Fall through to the generic Dialogs::show("document").
1503
1504 2004-03-30  Angus Leeming  <leeming@lyx.org>
1505
1506         * lfuns.h:
1507         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1508         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1509
1510         * lyxfunc.C (getStatus, dispatch): define the actions for these
1511         lfuns. Little more than a cut and pste job from ControlDocument.C
1512
1513         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1514
1515 2004-03-30  Angus Leeming  <leeming@lyx.org>
1516
1517         * lfuns.h:
1518         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1519         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1520
1521         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1522         open/closed state of ollapsable insets. Usage:
1523
1524         all-inset-toggle <state> <name>, where
1525         <state> == "open" || "closed" || "toggle" and
1526         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1527
1528         * lyxtext.h, text2.C (toggleInset): removed.
1529
1530         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1531         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1532         now passes LFUN_INSET_TOGGLE to the found inset.
1533
1534         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1535         is now invoked as "all-insets-toggle toggle branch".
1536
1537 2004-03-30  Angus Leeming  <leeming@lyx.org>
1538
1539         * dociterator.C:
1540         * insetiterator.C:
1541         * pariterator.[Ch]: added/corrected header blurb.
1542
1543 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
1544
1545         * dociterator.[Ch]: add an inset_ member
1546         (backwardPos): implemented
1547         (backwardPos, forwardPos): use inset_ when the stack is empty.
1548         (doc_iterator_begin, doc_iterator_end): implemented
1549         * pariterator.[Ch]: adjust, add begin, end
1550         * insetiterator.[Ch]: adjust, add begin, end
1551         * cursor.C:
1552         * document.C:
1553         * BufferView.C:
1554         * BufferView_pimpl.C:
1555         * CutAndPaste.C: adjust
1556
1557 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1558
1559         * buffer.C: increment file format to 232.
1560         * LaTeXFeatures.C: add bibtopic package.
1561         * bufferparams.[Ch]: param \use_bibtopic.
1562
1563         * lyxrc.[Ch]: add lyxrc bibtex_command
1564         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1565
1566         * buffer.C: increment file format to 231.
1567
1568 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1569
1570         * dociterator.C: implement forwardPar
1571         * iterators.[Ch]: remove, replaced by
1572         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1573         * BufferView.C:
1574         * BufferView_pimpl.C:
1575         * CutAndPaste.C:
1576         * buffer.C:
1577         * bufferview_funcs.C:
1578         * cursor.C:
1579         * lyxfind.C
1580         * lyxfunc.C
1581         * paragraph_funcs.C
1582         * toc.C:
1583         * Makefile.am: adjust
1584
1585 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1586
1587         * CutAndPaste.C (pasteSelection): fix 2 crashes
1588         (eraseSelection): fix a crash
1589         * paragraph_funcs.C: remove a warning
1590
1591 2004-03-28  Angus Leeming  <leeming@lyx.org>
1592
1593         * lfuns.h:
1594         * LyXAction.C (init): new LFUN_PRINT.
1595
1596         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1597
1598 2004-03-27  Angus Leeming  <leeming@lyx.org>
1599
1600         * lfuns.h:
1601         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1602
1603         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1604
1605 2004-03-27  Angus Leeming  <leeming@lyx.org>
1606
1607         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1608         insetlist always contains non-null pointers to insets.
1609
1610 2004-03-26  Angus Leeming  <leeming@lyx.org>
1611
1612         * src/BufferView_pimpl.C:
1613         * src/CutAndPaste.C:
1614         * src/buffer.C:
1615         * src/iterators.C:
1616         * src/output_plaintext.C:
1617         * src/outputparams.h:
1618         * src/paragraph_funcs.C:
1619         * src/rowpainter.C:
1620         * src/text.C:
1621         * src/text2.C:
1622         * src/frontends/controllers/ControlErrorList.C:
1623         * src/frontends/gtk/FileDialogPrivate.C:
1624         * src/frontends/gtk/GPainter.C:
1625         * src/frontends/gtk/GToolbar.C:
1626         * src/frontends/qt2/QRef.C:
1627         * src/mathed/math_scriptinset.C: squash compiler warnings.
1628
1629 2004-03-26  Angus Leeming  <leeming@lyx.org>
1630
1631         * ispell.C (LaunchIspell::start):
1632         * lyx_cb.C (AutoSaveBuffer::start):
1633         invoke run(DontWait) rather than runNonBlocking().
1634
1635 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
1636
1637         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1638
1639 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1640
1641         * kbsequence.C (print): adjust
1642
1643         * kbmap.C (printKeySym): rename and change signature
1644         (printKey): use LyXKeySym::print()
1645
1646 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
1647
1648         * undo.C: add using std::advance to compile for stlport
1649
1650 2004-03-24  Angus Leeming  <leeming@lyx.org>
1651
1652         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1653         it leads to a crash when no buffer is present.
1654
1655 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1656             Martin Vermeer  <martin.vermeer@hut.fi>
1657
1658         * lyxfunc.C (dispatch):
1659         * bufferparams.C (readToken): use the new LColor::setColor
1660
1661         * LColor.[Ch] (setColor): new version that takes two strings as
1662         argument and creates a new color entry if necessary
1663
1664 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1665
1666         * buffer.C (makeLaTeXFile): if the main latex file that is
1667         processed is usually a subdocument of some master, then pretend
1668         for a while that it is actually the master
1669
1670 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1671
1672         * buffer.C (getLabelList):
1673         (getBibkeyList): use getMasterBuffer()
1674         (getMasterBuffer): new method. Returns the main document in the
1675         case where one is using included documents.
1676
1677 2004-03-25  André Pönitz  <poenitz@gmx.net>
1678
1679         * Makefile.am:
1680         * iterators.[Ch]:
1681         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1682
1683         * ParagraphList_fwd.h: change ParagraphList to a std::vector
1684
1685         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1686         text*.C over here. Rename namespace CutAndPaste to lyx::cap
1687
1688         * ParameterStruct.h: merge with ParagraphParameters
1689
1690         * lyxtext.h: remove LyXText::parOffset() and getPar()
1691
1692         * text3.C: Remove all 'manual' update calls. We do now one per user
1693         interaction which is completely sufficient.
1694
1695         * Bidi.C:
1696         * BufferView.[Ch]:
1697         * BufferView_pimpl.C:
1698         * FontIterator.[Ch]:
1699         * MenuBackend.C:
1700         * ParagraphParameters.[Ch]:
1701         * buffer.C:
1702         * buffer.h:
1703         * bufferlist.C:
1704         * cursor.[Ch]:
1705         * cursor_slice.[Ch]:
1706         * dociterator.[Ch]:
1707         * errorlist.[Ch]:
1708         * factory.C:
1709         * lfuns.h:
1710         * lyxfind.C:
1711         * lyxfunc.C:
1712         * output_docbook.[Ch]:
1713         * output_latex.[Ch]:
1714         * output_linuxdoc.[Ch]:
1715         * output_plaintext.[Ch]:
1716         * paragraph.[Ch]:
1717         * paragraph_funcs.[Ch]:
1718         * paragraph_pimpl.[Ch]:
1719         * rowpainter.C:
1720         * tabular.[Ch]:
1721         * text.C:
1722         * text2.C:
1723         * toc.C:
1724         * undo.[Ch]: adjust
1725
1726         * frontends/controllers/ControlDocument.C:
1727         * frontends/controllers/ControlErrorList.C:
1728         * frontends/controllers/ControlSpellchecker.C:
1729         * insets/inset.C:
1730         * insets/inset.h:
1731         * insets/insetbase.h:
1732         * insets/insetbibitem.C:
1733         * insets/insetbox.C:
1734         * insets/insetbranch.C:
1735         * insets/insetcaption.C:
1736         * insets/insetcharstyle.C:
1737         * insets/insetcharstyle.h:
1738         * insets/insetcollapsable.C:
1739         * insets/insetcollapsable.h:
1740         * insets/insetert.C:
1741         * insets/insetfloat.C:
1742         * insets/insetfoot.C:
1743         * insets/insetmarginal.C:
1744         * insets/insetnote.C:
1745         * insets/insetoptarg.C:
1746         * insets/insettabular.C:
1747         * insets/insettext.C:
1748         * insets/insettext.h:
1749         * insets/insetwrap.C:
1750         * mathed/math_mboxinset.C:
1751         * mathed/math_nestinset.C:
1752         * mathed/math_scriptinset.C:
1753         * mathed/math_scriptinset.h:
1754         * support/types.h:
1755
1756 2004-03-24  Angus Leeming  <leeming@lyx.org>
1757
1758         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1759         deal with any child processes that have finished but are waiting to
1760         communicate this fact to the rest of LyX.
1761
1762 2004-03-24  Angus Leeming  <leeming@lyx.org>
1763
1764         64-bit compile fixes.
1765
1766         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1767         (c-tor): pass lyx::pos_types rather than ints.
1768
1769         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1770         lyx::pos_type.
1771
1772         * text.C (Delete): compile fix.
1773         (getPar): ensure that function declaration is the same as that in
1774         the header file.
1775
1776 2004-03-23  Angus Leeming  <leeming@lyx.org>
1777
1778         * ispell.C (LaunchIspell):
1779         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1780         a boost::shred_ptr rather than a std::auto_ptr.
1781
1782 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1783
1784         * lyxfunc.C (getStatus): handle read-only buffers correctly;
1785         handle LFUN_FILE_INSERT_*
1786
1787         * lyxrc.C (setDefaults, getDescription, output, read):
1788         * lyxrc.h: remove ps_command
1789
1790 2004-03-22  Angus Leeming  <leeming@lyx.org>
1791
1792         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1793         Ensure that error_handler is processed once only and that all data
1794         is saved before attempting to output any warning messages.
1795
1796         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1797
1798 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
1799
1800         * tabular.C (TeXRow): crash fix (from Kayvan and André)
1801
1802 2004-03-19  André Pönitz  <poenitz@gmx.net>
1803
1804         * cursor.[Ch] (reset): take main text inset as argument
1805
1806         * BufferView: adjust
1807         * BufferView_pimpl.C: adjust
1808
1809         * paragraph.[Ch]: fix completely broken operator=()
1810
1811 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1812
1813         * LColor.C (getFromLyXName): make sure that the color name is used
1814         as lowercase.
1815
1816 2004-03-17  Angus Leeming  <leeming@lyx.org>
1817
1818         * lfuns.h:
1819         * LyXAction.C (init): remove LFUN_FORKS_KILL.
1820
1821         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1822         dialog and to kill a forked process.
1823
1824 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1825
1826         * text2.C (setCursorFromCoordinates): fix font problem
1827
1828 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1829
1830         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1831         bogus "rebuild cursor" code
1832
1833 2004-03-11  André Pönitz  <poenitz@gmx.net>
1834
1835         * buffer.[Ch]: use InsetText instead of LyXText as container for
1836         the main lyx text.
1837
1838         * dociterator.[Ch]: drop the BufferView * member which is not needed
1839         anymore after the change to buffer.C
1840
1841         * paragraph_funcs.C:
1842         * text.C:
1843         * text2.C:
1844         * BufferView.[Ch]:
1845         * BufferView_pimpl.[Ch]:
1846         * cursor.[Ch]:
1847         * cursor_slice.[Ch]: adjust
1848
1849         * text3.C: fix bug in mathDispatch
1850
1851 2004-03-08  André Pönitz  <poenitz@gmx.net>
1852
1853         * undo.[Ch]: use 'StableDocumentIterator' as base for
1854         the Undo struct.
1855
1856 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1857
1858         * LaTeXFeatures.C:
1859         * bufferparams.[Ch]: add jurabib support and param.
1860
1861         * LaTeX.C: add FIXME/comment.
1862
1863 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1864
1865         * buffer.C: increment file format to 230.
1866
1867 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
1868
1869         * cursor.C (dispatch): avoid infinite loops
1870
1871 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1872
1873         * rowpainter.C (paintSelection): fix x coordinates
1874
1875 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1876
1877         * text.C (rowBreakPoint): fix breaking before displayed insets
1878
1879 2004-03-01  André Pönitz  <poenitz@gmx.net>
1880
1881         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1882
1883         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1884
1885         * Makefile.am:
1886         * BufferView.C:
1887         * BufferView_pimpl.C:
1888         * buffer.C:
1889         * lyxfind.C:
1890         * lyxfunc.C:
1891         * text.C:
1892         * text2.C:
1893         * text3.C: adjust
1894
1895 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1896
1897         * lyxtext.h:
1898         * text.C:
1899         * text2.C:
1900         * rowpainter.C:
1901         * BufferView_pimpl.C: rename textwidth -> maxwidth,
1902         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1903
1904 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1905
1906         * Bidi.[Ch] (computeTables): const correctness
1907         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1908         fill_hfill, fill_label_hfill and x from Row
1909         * lyxtext.h: prepareToPrint returns a RowMetrics
1910         * rowPainter.C: adjust
1911         * text.C (prepareToPrint): use width, not textWidth. adjust
1912         (redoParagraphInternal, cursorX): adjust
1913         * text2.C (getColumnNearX): adjust
1914         (init): put a default value to the top LyXText::width
1915
1916 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1917
1918         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1919
1920 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1921
1922         * lyxtext.h: add FontIterator class
1923
1924         * text.C (FontIterator, operator*, operator->, operator++): add
1925         (rowBreakPoint, setRowWidth): adjust (fixing a
1926         rebreaking bug)
1927
1928 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1929
1930         * BufferView_pimpl.C (workAreaDispatch): allow also
1931         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1932
1933 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
1934
1935         * text.C (rowBreakPoint): fix a bug showing with very large insets
1936
1937 2004-02-25  André Pönitz  <poenitz@gmx.net>
1938
1939         * text3.C:
1940         * cursor.[Ch]: move some mathed specific code to mathed
1941
1942 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1943
1944         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1945         use_tempdir in preferences
1946         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1947         tempfile creation
1948         * lyx_main.C: ensure that tempdir is valid
1949         * lyxlex.h: correct typo
1950         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1951         * paragraph.[Ch] (isMultiLingual): make const
1952         * cursor.[Ch] (openable): make const
1953
1954 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1955
1956         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1957
1958 2004-02-20  André Pönitz  <poenitz@gmx.net>
1959
1960         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1961
1962         * cursor.[Ch]: prepare for localized getStatus()
1963
1964         * lyxtext.h:
1965         * tabular.C:
1966         * text.C:
1967         * text2.C:
1968         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
1969
1970 2004-02-20  André Pönitz  <poenitz@gmx.net>
1971
1972         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1973
1974 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1975
1976         * text2.C (setCursorFromCoordinates): switch to absolute coords
1977         (cursorUp): adjust
1978         (cursorDown): adjust
1979         * text3.C (dispatch): adjust
1980
1981 2004-02-16  André Pönitz  <poenitz@gmx.net>
1982
1983         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1984           insets/ChangeLog)
1985
1986         * cursor_slice.[Ch]: remove unneeded acessor function
1987
1988         * lyxtext.h: rename rtl() to isRTL()
1989
1990         * rowpainter.C:
1991         * tabular.C:
1992         * text.C:
1993         * text2.C:
1994         * text3.C: adjust
1995
1996 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1997
1998         * rowpainter.C (paintSelection): coord fix
1999
2000 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
2001
2002         * Spacing.C: compile fix
2003
2004 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2005
2006         * cursor.C (dispatch): restore current_ before returning
2007
2008 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2009
2010         * text2.C (cursorUp, cursorDown): fix coords
2011         (moveUp): fix crash
2012
2013 2004-02-12  André Pönitz  <poenitz@gmx.net>
2014
2015         * lyxtext.h:
2016         * text.C:
2017         * text2.C:
2018         * text3.C: add LCursor & parameter to most cursor movement functions
2019           remove usage of LyXText::cursorRow() and cursorPar()
2020
2021         * cursor.[Ch]: add textRow() needed members
2022
2023         * BufferView.C:
2024         * BufferView_pimpl.C:
2025         * paragraph.[Ch]:
2026         * BufferView.C:
2027         * BufferView_pimpl.C: adjust
2028
2029 2004-02-11  André Pönitz  <poenitz@gmx.net>
2030
2031         * lyxfunc.C:
2032         * BufferView.[Ch]:
2033         * BufferView_pimpl.C: shift undo/redo handling
2034
2035         * cursor.[Ch]: fix mathed crash
2036
2037         * lyxfind.C:
2038         * lyxtext.h: move selectionAsText to LCursor
2039
2040         * output_latex.C:
2041         * paragraph.C:
2042         * text.C:
2043         * text2.C:
2044         * text3.C: adjust
2045
2046         * rowpainter.C: fix excessive drawing
2047
2048 2004-02-06  André Pönitz  <poenitz@gmx.net>
2049
2050         * BufferView.[Ch]:
2051         * BufferView_pimpl.[Ch]:
2052         * text3.C: move some text specific LFUN handling
2053
2054 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
2055
2056         * text3.C (checkInsetHit): adjust coords
2057         * text2.C (getColumnNearX): adjust coords
2058         (edit): adjust coords
2059         * text.C (getRowNearY): add two asserts
2060
2061 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
2062
2063         * converter.C:
2064         * format.C: add using std::distance to compile on gcc 2.95/stlport
2065
2066 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
2067
2068         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2069
2070 2004-02-04  André Pönitz  <poenitz@gmx.net>
2071
2072         * BufferView.[Ch] (insertInset):
2073         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2074
2075         * text2.C:
2076         * text3.C: adjust
2077
2078 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2079
2080         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2081         on the default clause of the switch
2082         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2083         wasn't catched by LCursor::dispatch
2084
2085 2004-02-03  André Pönitz  <poenitz@gmx.net>
2086
2087         * BufferView.C:
2088         * cursor.[Ch]: some additional asserts
2089
2090         * undo.[Ch]: remove LyXText dependency in interface
2091
2092         * lyxfunc.C: adjust
2093
2094         * lyxtext.h (firstPar, lastPar): remove dead functions
2095
2096         * text.C:
2097         * text2.C:
2098         * text3.C:
2099         * paragraph.[Ch]: adjust
2100
2101 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2102
2103         * lyxfind.C (find): fix argument order in call to ::find
2104
2105 2004-02-02  André Pönitz  <poenitz@gmx.net>
2106
2107         * cursor.[Ch]: remove direct access to anchor
2108
2109         * text.C: remove findText() hack
2110
2111 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2112
2113         * iterators.[Ch] (lockPath): remove in favour of...
2114         * BufferView.[Ch] (setCursor): this addition
2115         * BufferView.C (putSelectionAt): adjust
2116         * undo.C (performUndoOrRedo): adjust
2117         * lyxfunc.C (dispatch): adjust
2118
2119 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2120
2121         * iterators.C (lockPath): add a missing slice
2122         * undo.C (performUndoOrRedo): remove redundant positioning code
2123
2124 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
2125
2126         * vc-backend.C (scanMaster): ";" -> ';'
2127
2128 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
2129
2130         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2131         std::binary_function
2132
2133         * lyxtextclass.C (compare_name): rename to...
2134         (LayoutNamesEqual): ...this
2135
2136         * lyxlex_pimpl.C (compare_tags): inherit from
2137         std::binary_function, put back into anon namespace
2138
2139         * lyxfind.C (MatchString): inherig from std::binary_function
2140         (findChange): use empty() istead of !size()
2141
2142         * format.C (FormatNamesEqual): new functor
2143         (getFormat): use it
2144         (getNumber): use it
2145         (add): use it
2146         (erase): use it
2147         (setViewer): use it
2148
2149         * converter.C (compare_Converter): rename to...
2150         (ConverterEqual): ...this, and fixup a bit.
2151         (getConverter): use it, and make function const
2152         (getNumber): use it, and make function const
2153         (add): use it
2154         (erase): use it:
2155
2156         * bufferlist.C: add using boost::bind
2157
2158         * MenuBackend.C (MenuNamesEqual): new functor
2159         (hasMenu): use it, and make function const
2160         (hasSubmenu): use nested bind to get rid of compare_memfun.
2161
2162 2004-01-30  André Pönitz  <poenitz@gmx.net>
2163
2164         * BufferView_pimpl.C:
2165         * cursor.C:
2166         * cursor.h:
2167         * cursor_slice.[Ch]:
2168         * lyxfunc.C:
2169         * lyxtext.h:
2170         * paragraph_funcs.C:
2171         * paragraph_funcs.h:
2172         * rowpainter.C:
2173         * text.C:
2174         * text2.C:
2175         * text3.C: move some of the edit(x,y) handling to the insets
2176         some coordinate changes.
2177
2178 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
2179
2180         * text.C: add using statements for std::advance and std::distance
2181
2182         * paragraph.C: add using statement for std::distance
2183
2184         * lyxfind.C: add using statement for std::advance
2185
2186         * cursor.C (region): remove std:: from swap
2187         (openable): use nucleus in stead of operator->
2188
2189         * BufferView.C: add using statements for std::distance and std::swap
2190
2191 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
2192
2193         * iterators.C: Remove the pimple, move the needed structures to
2194         the header file. Create accessor for the positions stack.
2195         (asPosIterator): remove function
2196
2197         * PosIterator.C (PosIterator): move constructors to top of file
2198         (PosIterator): reimplement the constructor taking a ParIterator in
2199         terms of setFrom.
2200         (setFrom): new function
2201         (operator!=): inline it
2202
2203 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
2204
2205         * lyxfind.C (replaceAll): use std::advance
2206
2207         * iterators.h: inherit from std::iterator.
2208
2209         * PosIterator.C (advance, distance): remove
2210         * PosIterator.h: interit from std::iterator.
2211
2212 2004-01-26  André Pönitz  <poenitz@gmx.net>
2213
2214         * BufferView.[Ch]:
2215         * BufferView_pimpl.[Ch]:
2216         * InsetList.[Ch]:
2217         * PosIterator.[Ch]:
2218         * buffer.h:
2219         * bufferview_funcs.C:
2220         * cursor.[Ch]:
2221         * cursor_slice.h:
2222         * factory.[Ch]:
2223         * iterators.[Ch]:
2224         * lyxfind.C:
2225         * lyxfunc.C:
2226         * lyxtext.h:
2227         * output_docbook.C:
2228         * output_latex.C:
2229         * output_linuxdoc.C:
2230         * output_plaintext.C:
2231         * paragraph.[Ch]:
2232         * paragraph_funcs.[Ch]:
2233         * paragraph_pimpl.[Ch]:
2234         * rowpainter.C:
2235         * tabular.C:
2236         * tabular.h:
2237         * text.C:
2238         * text2.C:
2239         * text3.C: more IU:  dumps most of the rest of the mathcursor
2240     implementation into cursor.[Ch]; "globalize" a bit of it.
2241
2242 2004-01-25  Angus Leeming  <leeming@lyx.org>
2243
2244         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2245
2246 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2247
2248         * LaTeXFeatures.h: add nice_ and nice() const
2249         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2250
2251 2004-01-20  André Pönitz  <poenitz@gmx.net>
2252
2253         * BufferView.[Ch]:
2254         * BufferView_pimpl.C:
2255         * PosIterator.C:
2256         * bufferview_funcs.C:
2257         * cursor.[Ch]:
2258         * cursor_slice.[Ch]:
2259         * factory.C:
2260         * iterators.C:
2261         * lyx_cb.C:
2262         * lyxfind.C:
2263         * lyxfunc.C:
2264         * lyxtext.h:
2265         * rowpainter.C:
2266         * text.C:
2267         * text2.C:
2268         * text3.C:
2269         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2270           LCursor and mathcursor parts to LCursor and InsetBase.
2271
2272 2004-01-15  André Pönitz  <poenitz@gmx.net>
2273
2274         * cursor_slice.[Ch]: add a few covienience functions
2275
2276         * funcrequest.[Ch]: remove BufferView * member
2277
2278         * BufferView_pimpl.C:
2279         * cursor.C:
2280         * factory.[Ch]:
2281         * lyxfind.[Ch]:
2282         * lyxfunc.C:
2283         * lyxtext.h:
2284         * text3.C:
2285         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2286
2287 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
2288
2289         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2290         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2291
2292 2004-01-13  André Pönitz  <poenitz@gmx.net>
2293
2294         * textcursor.[Ch]:
2295         * lyxtext.h: hide cursor and selection anchor behind accessor function
2296
2297         * BufferView.C:
2298         * BufferView_pimpl.[Ch]:
2299         * PosIterator.C:
2300         * bufferview_funcs.C:
2301         * cursor.h:
2302         * lyxfind.C:
2303         * lyxfunc.C:
2304         * text.C:
2305         * text2.C:
2306         * text3.C:
2307         * undo.C: adjust
2308
2309         * cursor.h:
2310         * cursor_slice.[Ch]: some integer type changes for inset unification
2311
2312         * lyxcursor.[hC]: remove, it's CursorSlice now.
2313
2314         * Makefile.am:
2315         * BufferView_pimpl.[Ch]:
2316         * bufferview_funcs.C:
2317         * cursor_slice.C:
2318         * lyxtext.h:
2319         * text.C:
2320         * text2.C:
2321         * text3.C:
2322         * textcursor.[Ch]: adjust
2323
2324 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
2325
2326         * text2.C (undoSpan): add and use
2327         * text.C (breakParagraph): use undoSpan (fix bug 578)
2328         * lyxtext.h: adjust
2329
2330 2004-01-08  Angus Leeming  <leeming@lyx.org>
2331
2332         * BufferView_pimpl.C (MenuInsertLyXFile):
2333         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2334         * lyxfunc.C (menuNew, open, doImport):
2335         FileFilterList change to the FileDialog open and save functions.
2336
2337 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
2338
2339         * ShareContainer.h: make isEqual and isUnique adaptable
2340
2341         * CutAndPaste.C: make resetOwnerAndChanges adaptable
2342
2343 2004-01-07  Angus Leeming  <leeming@lyx.org>
2344
2345         * LyXAction.C:
2346         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2347
2348         * BufferView_pimpl.C (dispatch): act on these LFUNs.
2349
2350         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2351         functions replacing find, replace and replaceAll.
2352
2353         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2354         LFUN_WORDFIND(FORWARD|BACKWARD).
2355
2356 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2357
2358         * text.C (breakParagraph): remove an outdated #warning
2359
2360 2004-01-07  André Pönitz  <poenitz@gmx.net>
2361
2362         * lyxfind.C: somewhat clearer logic
2363
2364         * text.C: prevent crash in cursorX on unitialized row cache
2365
2366 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2367
2368         * lyxcursor.[Ch] (operator>): add
2369         * textcursor.C (selStart, selEnd): use std::min and std::max
2370
2371 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
2372
2373         * Chktex.C: include boost/format.hpp
2374
2375 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
2376
2377         * InsetList.C: replace functor MathcIt with adaptable functor
2378         InsetTablePosLess
2379         (insetIterator): modify accordingly
2380
2381         * BranchList.h: move the BranchNamesEqual functor here from...
2382         * BranchList.C: ... to here
2383
2384         * BranchList.C: new BranchListEqual fuctor, use it. Remove
2385         SameName and match.
2386         (add): replace a finding loop with std::find_if.
2387
2388 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
2389
2390         * output_docbook.C: moving LatexParam functionality into
2391         .layout files
2392
2393 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2394
2395         * buffer.C: increment format to 229.
2396
2397 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
2398
2399         * LaTeXFeatures.C:
2400         * lyx_sty.[Ch]: remove minipageindent_def
2401
2402         * LyXAction.C:
2403         * factory.C:
2404         * lfuns.h:
2405         * lyxfunc.C:
2406         * text3.C: remove LFUN_INSET_MINIPAGE
2407
2408 2003-12-28  Angus Leeming  <leeming@lyx.org>
2409
2410         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2411
2412 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
2413
2414         * text2.C (setParagraph): fix off-by-one crash
2415
2416 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
2417
2418         * output_docbook.C: header stuff for AGU
2419
2420 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
2421
2422         * text2.C (redoCursor): remove
2423         * text.C:
2424         * text3.C:
2425         * BufferView_pimpl.C: remove calls to redoCursor and
2426         setCursor(cursor.par(), cursor.pos()) all around
2427
2428 2003-12-15  Angus Leeming  <leeming@lyx.org>
2429
2430         * buffer.C: up the format to 228.
2431
2432 2003-12-15  André Pönitz  <poenitz@gmx.net>
2433
2434         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2435         slices
2436
2437         * Makefile.am:
2438
2439         * BufferView_pimpl.C:
2440         * cursor.[Ch]:
2441         * lyxcursor.[Ch]:
2442         * rowpainter.[Ch]:
2443         * lyxtext.h:
2444         * text.C:
2445         * text2.C:
2446         * text3.C: adjust
2447
2448 2003-12-15  Angus Leeming  <leeming@lyx.org>
2449
2450         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2451         than getFromGUIName to manipulate the color.
2452
2453 2003-12-14  Angus Leeming  <leeming@lyx.org>
2454
2455         * BranchList.[Ch]: minimize the API.
2456         (Branch::getBranch, getColor): now return a 'const &'.
2457         (Branch::setSelected) now returns a bool set to true if the
2458         selection status changes.
2459         (BranchList::clear, size, getColor, setColor, setSelected,
2460         allBranches, allSelected, separator): removed.
2461         (BranchList::find): new functions, returning the Branch with
2462         the given name.
2463         (BranchList::add, remove): return a bool indicating that
2464         the operation was successful.
2465
2466         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2467         new InsetBranch::isBranchSlected member function.
2468
2469         * LColor.[Ch]: mimimize the API.
2470         (fill): renamed as addColor and made private.
2471         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2472         versions of these functions taking a string arg have been removed.
2473
2474         * bufferparams.C (readToken):
2475         * lyxfunc.C (dispatch):
2476         * lyxrc.C (read): changes due to the altered BranchList and
2477         LColor APIs.
2478
2479         * factory.C (createInset, readInset): changes due to altered
2480         InsetBranch c-tor.
2481
2482 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2483
2484         * factory.C:
2485         * lyxfunc.C: remove insetminipage. "minipage-insert"
2486         now produces a frameless minipage box inset.
2487
2488 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2489
2490         * textcursor.[Ch] (selStart,selEnd): add new methods
2491         remove selection::start, end, use LyXCursor::operator<
2492         * lyxcursor.[Ch] (operator<): add
2493         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2494         * BufferView.[Ch] (unsetXSel): add
2495         * text2.C (clearSelection): use unsetXSel,adjust
2496         * text.C: adjust
2497         * text3.C: adjust
2498         * rowpainter.C: adjust
2499         * bufferview_funcs.C (put_selection_at): adjust
2500
2501 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2502
2503         * BufferView_pimpl.C: small coord. correction
2504
2505 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2506
2507         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2508         dragging over the splash screen.
2509
2510 2003-12-11  Angus Leeming  <leeming@lyx.org>
2511
2512         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2513         as it is now handled in LyXText::dispatch.
2514
2515         * text3.C (doInsertInset): remove a level of nesting.
2516
2517 2003-12-11  Angus Leeming  <leeming@lyx.org>
2518
2519         * factory.C (createInset): changes due to the changed interface to
2520         InsetCommandMailer::string2params.
2521
2522 2003-12-10  Angus Leeming  <leeming@lyx.org>
2523
2524         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2525         'dialog-show-new-inset <inset name>'
2526
2527 2003-12-10  Angus Leeming  <leeming@lyx.org>
2528
2529         * buffer.C: up the format to 227.
2530
2531         * factory.C: the box inset is now identified simply by 'Box'.
2532
2533 2003-12-10  Angus Leeming  <leeming@lyx.org>
2534
2535         * buffer.C: up the format to 226.
2536
2537         * factory.C: the note inset is now identified simply by 'Note'.
2538
2539 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
2540
2541         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2542         when a pit is enough. Standarize a couple of loops.
2543
2544 2003-12-05  Angus Leeming  <leeming@lyx.org>
2545
2546         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2547         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2548         data to the re-worked "log" dialog.
2549
2550 2003-12-03  André Pönitz  <poenitz@gmx.net>
2551
2552         * PosIterator.C:
2553         * iterators.C:
2554         * lyxtext.h:
2555         * output_latex.C:
2556         * paragraph_funcs.C:
2557         * text.C:
2558         * text2.C: use Inset::getText instead of Inset::getParagraph
2559
2560 2003-12-03  André Pönitz  <poenitz@gmx.net>
2561
2562         * buffer.[Ch]:
2563         * lyxtext.h:
2564         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2565         InsetText::read() as LyXText::read()
2566
2567 2003-12-02  Angus Leeming  <leeming@lyx.org>
2568
2569         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2570         type. Add a comment in the implementation that the function uses
2571         the stream's bad() function rather than fail() as the std::streams
2572         would do.
2573
2574 2003-12-02  André Pönitz  <poenitz@gmx.net>
2575
2576         * lyxlex.[Ch]: make interface more similar to std::stream
2577
2578         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2579
2580 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
2581
2582         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2583
2584 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
2585
2586         * vspace.[Ch]: remove VSpace::NONE
2587
2588 2003-12-01  André Pönitz  <poenitz@gmx.net>
2589
2590         * buffer.[Ch]:
2591         * lyxtext.h: move ParagraphList member to LyXText
2592         rename LyXText::ownerParagraphs to LyXText::paragraph
2593
2594         * CutAndPaste.C:
2595         * bufferview_funcs.C:
2596         * iterators.[Ch]:
2597         * lyx_cb.C:
2598         * paragraph.C:
2599         * rowpainter.C:
2600         * tabular.C:
2601         * text.C:
2602         * text2.C:
2603         * text3.C: adjust
2604
2605         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2606
2607         * undo.C: fix cursor positioning
2608
2609 2003-12-01  John Levon  <levon@movementarian.org>
2610
2611         * BufferView_pimpl.C: fix a crash on exit with
2612         a buffer open
2613
2614 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
2615
2616         * BranchList.C: fix setSelected() method.
2617
2618 2003-11-28  André Pönitz  <poenitz@gmx.net>
2619
2620         * ParagraphParameters.[Ch]:
2621         * ParameterStruct.h: remove space above/below from Paragraph to
2622          InsetVSpace
2623
2624         * BufferView_pimpl.C:
2625         * factory.C:
2626         * lyxfunc.C:
2627         * lyxtext.h:
2628         * output_latex.C:
2629         * paragraph.C:
2630         * paragraph_funcs.C:
2631         * rowpainter.[Ch]:
2632         * text.C:
2633         * text2.C:
2634         * text3.C: adjust
2635
2636 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
2637
2638         * factory.C: Syntax change for CharStyles
2639
2640 2003-11-28  André Pönitz  <poenitz@gmx.net>
2641
2642         * BufferView.[Ch]:
2643         * BufferView.[Ch]:
2644         * buffer.[Ch]:
2645         * buffer.[Ch]: move LyXText member
2646
2647 2003-11-28  André Pönitz  <poenitz@gmx.net>
2648
2649         * BufferView.[Ch]: make LyXText * text a private member
2650
2651         * BufferView_pimpl.C:
2652         * cursor.C:
2653         * iterators.C:
2654         * lyx_cb.C:
2655         * lyxfind.C:
2656         * lyxtext.h:
2657         * rowpainter.[Ch]:
2658         * text.C:
2659         * text2.C:
2660         * undo.C: adjust
2661
2662         * output_plaintext.C: cleanup
2663
2664 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2665
2666         * buffer.C:
2667         * lyxtextclass.[Ch]: parametrize SGML document header
2668
2669 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2670
2671         * converter.[Ch]:
2672         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2673         getFlavor().
2674
2675 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
2676
2677         * text2.C (setFont): rework using PosIterator (no more recursive)
2678         (setCharFont): no more needed
2679         (setLayout): no more selection cursors fiddling (done by redoCursor)
2680         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2681         destroy remaining ones)
2682
2683 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
2684
2685         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2686         * lyxtext.h: ditto
2687         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2688         selection cursors
2689         * lyxfunc.C: adjust
2690         * text3.C: adjust + re-allow multi par depth changes
2691         * textcursor.C: simplify a bit
2692
2693 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
2694
2695         * src/buffer.C:
2696         * src/lyxlayout.C:
2697         * src/lyxlayout.h:
2698         * src/lyxtext.h:
2699         * src/output_docbook.C:
2700         * src/output_latex.C:
2701         * src/paragraph.C:
2702         * src/paragraph.h:
2703         * src/sgml.C:
2704         * src/sgml.h:
2705         * src/text2.C: Introducing a number of tags parametrizing various
2706         XML formats that we may want to support
2707
2708 2003-11-25  André Pönitz  <poenitz@gmx.net>
2709
2710         * InsetList.[Ch] (begein, end): inline as suggested by profiler
2711
2712         * lyxtext.h (leftMargin/rightMargin): simplify interface
2713
2714         * rowpainter.C:
2715         * text.C:
2716         * text2.C:
2717         * text3.C: adjust
2718
2719 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2720
2721         * lyxfunc.C (dispatch): propogate the bibtex databases from the
2722         master file to any child files. Fixes bug 546.
2723
2724 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2725
2726         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2727
2728 2003-11-24  André Pönitz  <poenitz@gmx.net>
2729
2730         * rowpainter.C: simplification
2731
2732         * text2.C (updateCounters): remove call to redoParagraph on
2733         changed labels as this is far too expensive.
2734
2735 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2736
2737         * converter.C (convert): fix a crash: this function gets
2738         called with buffer == 0 from importer code.
2739
2740 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
2741
2742         * text3.C (cursorPrevious): make sure that we do not compare
2743         iterators form different containers.
2744         (cursorNext): ditto
2745
2746         * rowpainter.C (paintSelection): make sure that we do not compare
2747         iterators from different containers.
2748
2749         * text3.C (dispatch): [PRIOR] make sure that we do not compare
2750         iterators from different ParagraphList containers.
2751         [NEXT] ditto
2752
2753         * text2.C (LyXText): change order of initialization slightly
2754         (operator=): new function. copy all variables except cache_par_
2755         (moveUp): make sure that we do not compare iterators from
2756         different ParagraphList constainers.
2757         (moveDown): ditto
2758
2759         * text.C (firstPar): new function
2760         (lastPar): new function
2761         (endPar): new function
2762
2763         * lyxtext.h: move things around and group public functions, public
2764         variables, private functions, private variables
2765
2766 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
2767
2768         * factory.C: change call to InsetERT constructor to avoid
2769         additional invocation of method status
2770         * text2.C (toggleInset): remove redundant update() call
2771         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2772         instead of a Bufferview pointer
2773
2774 2003-11-21  André Pönitz  <poenitz@gmx.net>
2775
2776         * rowpainter.C: simplification
2777
2778 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2779
2780         * text3.C (dispatch): make possible to extend a word/row selection
2781         with the mouse
2782
2783 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2784
2785         * lyxtext.h: x0_,y0_ -> xo_,yo_
2786         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2787         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2788         * rowpainter.C (paintRows): paint full paragraphs
2789
2790 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2791
2792         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2793         screen coordinates)
2794
2795 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2796
2797         * lyxtext.h: add x0_, y0_
2798         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2799         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2800
2801 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
2802
2803         * text2.C (setCursorIntern): move the x_target update here *
2804         * text3.C: change some bv() to true/false in calls to
2805         cursorUp/Down/Right/Left
2806         * cursor.C: use helper function.
2807
2808 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2809
2810         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2811         * paragraph_funcs.[Ch]: correct comment
2812         * rowpainter.C: do not paint selections away from bv->cursor()
2813         Fix a long standing selection painting bug.
2814         * text3.C: generalize mouse-selection code to LyXTexts other that
2815         top one
2816         * textcursor.C: do not use y coords if we can use par offsets
2817
2818 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2819
2820         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2821         cursor position after e.g. inset insert)
2822
2823 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
2824
2825         * lyxfind.C (replace): adjust to locking removal + some
2826         code simplification
2827
2828 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
2829
2830         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2831         of the path
2832
2833 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
2834
2835         * lyxlayout.[Ch]:
2836         * output_docbook.C: XML sanitation: new layout
2837         parameters InnerTag and CommandDepth
2838
2839 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
2840
2841         * BufferView_pimpl.C:
2842         * factory.C:
2843         * text3.C: Fix the insertion and modification of button-style
2844         insets
2845
2846 2003-11-13  André Pönitz  <poenitz@gmx.net>
2847
2848         * InsetList.[Ch]: remove deleteLyXText
2849
2850         * paragraph.[Ch]: cache beginOfBody position
2851
2852         * Bidi.C:
2853         * text.C:
2854         * text2.C:
2855         * text3.C: remove superfluous update() calls
2856
2857         * vspace.C: cleanup
2858
2859 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
2860
2861         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2862         * BufferView.C (fitLockedInsetCursor): remove
2863         * cursor.[Ch] (getDim): add
2864         * text.C (getRowNearY): add faster version
2865         * text3.C: remove some update calls
2866
2867 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
2868
2869         * LaTeXFeatures.C:
2870         * LyXAction.C:
2871         * MenuBackend.C:
2872         * MenuBackend.h:
2873         * dispatchresult.h:
2874         * factory.C:
2875         * lfuns.h:
2876         * lyxfunc.C:
2877         * lyxtextclass.C:
2878         * lyxtextclass.h:
2879         * text3.C: The Character Style /XML short element patch.
2880
2881 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
2882
2883         * text3.C:
2884         * factory.C: Small step to solving 'unable to insert some insets'
2885         problem
2886
2887 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2888
2889         * cursor.[Ch] (updatePos): new function for updating the y
2890         position of the tip inset
2891         * bufferview_funcs.C (put_selection_at):
2892         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2893
2894 2003-11-11  André Pönitz  <poenitz@gmx.net>
2895
2896         * text.C: remove big comment on invalid Paragraph pointers as it is
2897         not valid anymore
2898
2899 2003-11-11  André Pönitz  <poenitz@gmx.net>
2900
2901         * text_funcs.[Ch]: merge with ...
2902
2903         * text.C: ... this
2904
2905         * lyxtext.h:
2906         * text2.C:
2907         * text3.C: adjust
2908
2909         * Makefile.am: remove text_funcs.[Ch]
2910
2911 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
2912
2913         * cursor.C (getPos): return absolute cached y coord
2914
2915         * BufferView_pimpl.C (fitCursor): new simplistic code
2916         (workAreaDispatch): add a fitCursor call
2917
2918 2003-11-10  André Pönitz  <poenitz@gmx.net>
2919
2920         * BufferView.[Ch]:
2921         * BufferView_pimpl.[Ch]: merge update() and updateInset()
2922
2923 2003-11-10  André Pönitz  <poenitz@gmx.net>
2924
2925         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2926         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2927         indicate that the cursor needs to leave an inset
2928
2929         * lyxtext.h: remove inset locking
2930
2931         * cursor.[Ch]: re-implement functionality provided by inset locking
2932
2933         * BufferView.[Ch]:
2934         * BufferView_pimpl.[Ch]:
2935         * LyXAction.C:
2936         * bufferview_funcs.[Ch]:
2937         * factory.C:
2938         * funcrequest.[Ch]:
2939         * iterators.C:
2940         * lyx_cb.C:
2941         * lyxfind.C:
2942         * lyxfunc.C:
2943         * text.C:
2944         * text2.C:
2945         * text3.C:
2946         * undo.C: adjust
2947
2948 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
2949
2950         * PosIterator.[Ch]: replace the stack with a vector, add inset
2951         accesor
2952         * iterators.[C]: adjust
2953
2954 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2955
2956         * lyxfind.C (replaceAll): mark the buffer dirty if something was
2957         replaced
2958         * paragraph_funcs.C (readParToken): put the correct id in the
2959         error item, not the id of the top paragraph
2960
2961 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2962
2963         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2964         * bufferview_funcs.C (put_selection_at): use the above
2965
2966 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2967
2968         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2969
2970 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2971
2972         * output_linuxdoc.h:
2973         * output_plaintext.h:
2974         * output.h:
2975         * output_docbook.h: add #include statements
2976
2977 2003-11-05  José Matos  <jamatos@lyx.org>
2978
2979         * output_docbook.[Ch]:
2980         * output_latex.[Ch]:
2981         * output_linuxdoc.[Ch]:
2982         * output_plaintext.[Ch]: New files for output formats.
2983         * output.[Ch]: New file for helper functions.
2984
2985         * buffer.[Ch]:
2986         * paragraph_funcs.[Ch]: output functions moved to new files.
2987
2988         * outputparams.h: rename of latexrunparams.h
2989
2990         * LaTeX.[Ch]:
2991         * buffer.[Ch]:
2992         * bufferlist.[Ch]:
2993         * converter.[Ch]:
2994         * exporter.C:
2995         * paragraph.[Ch]:
2996         * paragraph_funcs.[Ch]:
2997         * paragraph_pimpl.[Ch]:
2998         * tabular.[Ch]: rename ascii to plaintext
2999         and LatexRunParams to OutputParams.
3000
3001 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3002
3003         * iterators.[Ch] (text): require bv argument
3004         * undo.C (recordUndo):
3005         * lyxfunc.C (dispatch):
3006         * bufferview_funcs.C (put_selection_at): adjust
3007
3008 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
3009
3010         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3011
3012 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3013
3014         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3015         nestings
3016
3017 2003-11-04  André Pönitz  <poenitz@gmx.net>
3018
3019         * cursor.[Ch]: restructure
3020
3021         * BufferView.[Ch]:
3022         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3023
3024         * iterators.[Ch] (asCursor): remove
3025
3026         * lfuns.h: remove LFUN_INSET_EDIT
3027
3028         * lyxfunc.C:
3029         * tabular.C:
3030         * text.C:
3031         * text2.C:
3032         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3033
3034 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3035
3036         * lyxfind.[Ch]: complete overhaul
3037         * BufferView_pimpl.C:
3038         * lyxfunc.C: adjust
3039         * paragraph.[Ch] (insert): add
3040
3041 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3042
3043         * BufferView.[Ch]:
3044         * lyxtext.h:
3045         * text.C: remove dead spellcheck code
3046
3047 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3048
3049         * dispatchresult.h: add a val setter
3050
3051         * cursor.C (dispatch): use a tempvar for data_[i]
3052
3053 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3054
3055         * PosIterator.[Ch]: compile fix
3056
3057 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3058
3059         * text.C (cursorPar): deactivate the cursor cache
3060
3061 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3062
3063         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3064
3065 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3066
3067         * text3.C (dispatch): adjust for new DisptchResult semantics.
3068
3069         * lyxfunc.C (dispatch): handle update when return from
3070         Cursor::dispatch, adjust for new DispatchResult semantics.
3071
3072         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3073         DispatchResult(true) mean to not update. Add class functions for
3074         setting dispatched and update, as well as reading.
3075
3076         * cursor.C (dispatch): don't handle update here
3077
3078 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3079
3080         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3081         * trans_mgr.C: adjust
3082
3083         * paragraph_funcs.C (readParToken): exception safety
3084
3085         * lyxvc.h: store the vcs pointer in a scoped_ptr
3086         * lyxvc.C: adjust
3087
3088         * lyxsocket.C (serverCallback): exception safety
3089
3090         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3091
3092         * ispell.C (clone): make it return a auto_ptr
3093
3094         * factory.C (createInset): exception safety
3095         (readInset): exception safety
3096
3097         * bufferlist.C (newBuffer): exception safety
3098
3099         * Thesaurus.C (Thesaurus): use initialization for aik_
3100
3101         * MenuBackend.C (expandToc): exception safety.
3102
3103 2003-11-03  André Pönitz  <poenitz@gmx.net>
3104
3105         * buffer.C:
3106         * buffer.h:
3107         * bufferview_funcs.C: remove getInsetFromId()
3108
3109         * lyxcursor.[Ch]:
3110         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3111
3112         * lyxfunc.C:
3113         * text2.C:
3114         * text3.C: adjust
3115
3116 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3117
3118         * PosIterator.C (distance, advance): new
3119         * bufferview_funcs.[Ch] (put_selection_at): new
3120         * iterators.[Ch] (lockPath): new
3121
3122 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
3123
3124         * iterators.[Ch] (asPosIterator): added
3125         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3126         * PosIterator.[Ch]: added
3127
3128 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3129
3130         * text3.C:
3131         * lyxfunc.C:
3132         * cursor.C (dispatch):
3133         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3134
3135         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3136         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3137         contructor, add a class function dispatched. Remove operator>=
3138
3139 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3140
3141         * debug.C: only use the default constructor for debugstream
3142         (lyxerr) here.
3143
3144         * main.C (main): include debug.h and setup the lyxerr streambuf
3145         here.
3146
3147 2003-10-31  José Matos  <jamatos@lyx.org>
3148
3149         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3150
3151         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3152         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3153         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3154         * paragraph_pimpl.C (simpleTeXSpecialC):
3155         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3156         add LatexRunParams argument.
3157
3158         * exporter.C (Export): change call accordingly.
3159
3160         * latexrunparams.h: add new member to take care of the other backends.
3161 2003-10-30  José Matos  <jamatos@lyx.org>
3162
3163         * buffer.C (makeLinuxDocFile, makeDocBookFile):
3164         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3165         factorise code for paragraph output.
3166         * buffer.[Ch]:
3167         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3168         move functions.
3169
3170 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3171
3172         * text3.C (dispatch):
3173         * lyxfunc.C (dispatch):
3174         * cursor.C (dispatch):
3175         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3176
3177         * dispatchresult.h: make the dispatch_result_t ctor explicit
3178
3179 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
3180
3181         * sgml.[Ch]:
3182         * buffer.C: small refactoring of docbook stuff
3183
3184 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3185
3186         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3187         meaning.
3188
3189 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3190
3191         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3192         operator dispatch_result_t, and operators for == != and >=
3193
3194         * cursor.C (dispatch): adjust for operator dispatch_result_t
3195         removal. comment out call to update
3196
3197         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3198
3199 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3200
3201         * text3.C:
3202         * text2.C:
3203         * text.C:
3204         * lyxtext.h:
3205         * lyxfunc.C:
3206         * cursor.C:
3207         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3208         (dispatch):
3209
3210         * dispatchresult.h: new file, DispatchResult broken out of
3211         insets/insetbase.h
3212
3213         * Makefile.am (lyx_SOURCES): add dispatchresult.h
3214
3215 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3216
3217         * text.C (rowBreakPoint): put a hack inside #if 0
3218
3219 2003-10-28  André Pönitz  <poenitz@gmx.net>
3220
3221         * lyxtext.h:
3222         * metricsinfo.C:
3223         * paragraph_funcs.C:
3224         * rowpainter.C:
3225         * text.C:
3226         * text2.C: general cleanup (lots of small stuff)
3227
3228 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3229
3230         * text2.C (cursorEnd): simple fix to the "end key goes to one
3231         before the end on last row" bug
3232
3233 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3234
3235         * text.C (backspace): fix the "zombie characters"
3236
3237 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3238
3239         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3240
3241 2003-10-27  André Pönitz  <poenitz@gmx.net>
3242
3243         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3244
3245         * factory.C: handle new InsetPagebreak, InsetLine
3246
3247         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3248         and move handling into new InsetPagebreak, InsetLine
3249
3250         * BufferView_pimpl.C:
3251         * LyXAction.C:
3252         * ParagraphParameters.C:
3253         * ParameterStruct.h:
3254         * lyxfunc.C:
3255         * lyxtext.h:
3256         * paragraph.C:
3257         * paragraph.h:
3258         * paragraph_funcs.C:
3259         * paragraph_pimpl.C:
3260         * rowpainter.C:
3261         * text.C:
3262         * text2.C:
3263         * text3.C: adjust
3264
3265 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3266
3267         * text.C:
3268         * lyxrow_funcs.[Ch]:
3269         * Bidi.C:
3270         * paragraph.C:
3271         * lyxtext.h:
3272         * rowpainter.C:
3273         * text2.C:
3274         * text3.C: remove lastPos uses in favour of Row::endpos
3275
3276 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3277
3278         * undo.C (performUndoOrRedo): fix two crashes by setting a
3279         cursor by hand and reordering some calls. Use bv->lockInset instead
3280         of inset->edit because the latter loses cursor information
3281
3282 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
3283
3284         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3285         by Martin
3286         (rowBreakPoint): fix width. change point to point + 1.
3287         Add a missing check.
3288
3289 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
3290
3291         * MenuBackend.C:
3292         * lyxfunc.C: fix (at least partly) the problems
3293         with the Nav menu and headers inside branch insets
3294         reported by Kayvan
3295
3296 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
3297
3298         * paragraph.C (getChar): add strong asserts
3299
3300         * lyxrow_funcs.C (lastPos): remove hideous hack
3301
3302         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3303         (fill): adjust to that (avoid an infinite loop)
3304
3305 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3306
3307         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3308
3309 2003-10-23  André Pönitz  <poenitz@gmx.net>
3310
3311         * RowList_fwd.h: change list<> to vector<> to gain speed
3312         after suggestion from Alfredo
3313
3314 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3315
3316         * lyxtext.h: move the bidi stuff from here...
3317         * text.C: and here
3318         * text2.C: and here
3319         * Bidi.[Ch]: ... to here
3320
3321 2003-10-23  André Pönitz  <poenitz@gmx.net>
3322
3323         * lyxtext.h:
3324         * text.C (isLastRow, isFirstRow): new functions
3325
3326         * paragraph.h: new width cache member
3327
3328         * rowpainter.C: replace RowList::iterator with Row & where possible
3329
3330         * lyxfunc.C: replace several view()->text with a single call
3331
3332         * toc.C: fix 'unused' warning
3333
3334 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3335
3336         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3337         when woring with stream::pos_type
3338         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3339
3340 2003-10-22  André Pönitz  <poenitz@gmx.net>
3341
3342         * lyxtext.h:
3343         * text.C: use Row & instead of RowList::iterator
3344
3345         * lyxrow.h: rename end() to endpos()
3346
3347         * rowpainter.C:
3348         * text.C:
3349         * text2.C: adjust
3350
3351 2003-10-22  Angus Leeming  <leeming@lyx.org>
3352
3353         * buffer.[Ch] (fully_loaded): new member function, returning true
3354         only when the file has been loaded fully.
3355         Used to prevent the premature generation of previews and by the
3356         citation inset to prevent computation of the natbib-style label.
3357
3358         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3359         templates are all set up.
3360
3361         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3362
3363 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
3364
3365         * text.C: fixed an "oops" in the "is a bit silly"
3366         bug fix
3367
3368 2003-10-21  André Pönitz  <poenitz@gmx.net>
3369
3370         * FuncStatus.[Ch]: small stuff, whitespace
3371
3372         * lyxfont.[Ch]: operator<<() for debug reasons
3373
3374         * lyxfunc.C:
3375         * lyxrow_funcs.C:
3376         * lyxtext.h: whitespace, spelling
3377
3378         * paragraph.C: naming of variables
3379
3380         * text.C:
3381         * text2.C: small stuff
3382
3383
3384 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
3385
3386         * text.C: (1) finish off the inset display() work;
3387         (2) fix the "is a bit silly" bug (accessing char
3388         past end of par).
3389
3390 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
3391
3392         * text.C: re-introduce display() for insets, fixing the
3393         various bugs (stretch of line above, math inset
3394         positioning, ...)
3395
3396 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3397
3398         * text.C (rightMargin): remove spurious semicolon
3399
3400         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3401         1415)
3402
3403 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
3404
3405         * text3.C: fix one crash due to wrong cursor def
3406
3407 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3408
3409         * vc-backend.C (scanMaster): make the regex static
3410
3411         * LaTeX.C (scanAuxFile): make the regexs static
3412
3413         * text3.C (doInsertInset, dispatch, dispatch):
3414         * text2.C (cursorUp, cursorDown):
3415         * text.C (selectNextWordToSpellcheck):
3416         * BufferView_pimpl.C (dispatch):
3417         * lyxfunc.C (dispatch):  localDispatch -> dispatch
3418
3419 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3420
3421         * lyxsocket.C: include <cerrno>
3422
3423 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3424
3425         * lyxfunc.C (dispatch): remove textcache stuff
3426
3427         * bufferlist.C (release): remove textcache stuff
3428         (closeAll): ditto
3429
3430         * TextCache.C: delete file
3431         * TextCache.h: delete file
3432
3433         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3434
3435         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3436         delete of the bv_->text.
3437         (resizeCurrentBuffer): remove texcache stuff
3438         (workAreaResize): ditto
3439
3440 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3441
3442         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3443         action.
3444
3445 2003-10-16  André Pönitz  <poenitz@gmx.net>
3446
3447         * lyxrow.[Ch]:
3448         * paragraph.h:
3449         * rowpainter.C:
3450         * text.C:
3451         * text2.C:
3452         * text3.C: speed up by storing y positions per paragraph plus per-row
3453         offset instead of having a 'full' y position in the row.
3454
3455 2003-10-15  André Pönitz  <poenitz@gmx.net>
3456
3457         * iterators.[Ch]:
3458         * iterators.[Ch]:
3459         * undo.[Ch]: make undo aware of inner insets
3460
3461 2003-10-14  Angus Leeming  <leeming@lyx.org>
3462
3463         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3464         static member functions LyX::ref() and LyX::cref.
3465         (lastfiles): new accessor functions for the new lastfiles_ member var.
3466         (addLyXView, views_): add a new LyXView to the list of views_.
3467         (updateInset): loop over all LyXViews to call their own updateInset
3468         member function, returning a pointer to the Buffer owning the inset.
3469
3470         * BufferView_pimpl.C (loadLyXFile):
3471         * MenuBackend.C (expandLastfiles):
3472         * bufferlist.C (MenuWrite, QuitLyX):
3473         lastfiles is no longer a global variable.
3474         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3475
3476         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3477         static function. Access through LyX::cref().emergencyCleanup().
3478
3479 2003-10-14  André Pönitz  <poenitz@gmx.net>
3480
3481         * iterators.[Ch]: new direct access to innermost LyXText and Inset
3482
3483         * undo.[Ch]: restoring part of 'undo in insets'
3484
3485         * Makefile.am:
3486         * undo_funcs.[Ch]: merge with undo.[Ch]
3487
3488         * tabular.C: small cleansing stuff
3489
3490 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
3491
3492         * paragraph_funcs.C (readParToken): report unknown insets as error
3493         boxes. Use the outer paragraph as location (also for unknown
3494         tokens).
3495
3496         * factory.C (readInset): do not abort on reading an unknown inset.
3497         Eat it and return 0.
3498
3499 2003-10-13  Angus Leeming  <leeming@lyx.org>
3500
3501         * lyx_main.C (LyX): remove call to setDisplayTranslator().
3502
3503         * lyxrc.C: displayTranslator is now a function,
3504         declared in GraphicsTypes.h.
3505
3506 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3507
3508         * format.C: new placeholder $$a to pass the socket address.
3509
3510         * bufferlist.[Ch]: new function getBufferFromTmp.
3511
3512         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3513           files in the temporary dir.
3514
3515 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3516
3517         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3518
3519         * Makefile.am: add lyxsocket.[Ch].
3520
3521         * lyx_main.C (error_handler): handle SIGPIPE.
3522
3523 2003-10-13  André Pönitz  <poenitz@gmx.net>
3524
3525         * BufferView_pimpl.C:
3526         * lyxtext.h:
3527         * text.C:
3528         * text2.C:
3529         * text3.C:
3530         * undo_funcs.[Ch]: use paroffset_type instead of
3531           ParagraphList::iterators to prevent multiple conversion
3532           (and get a more robust interface)
3533
3534 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3535
3536         * lyxfunc.C (dispatch): RESULT -> dispatch_result
3537         * lyxtext.h: ditto
3538         * text3.C (dispatch): ditto
3539
3540 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3541
3542         * LaTeX.C (handleFoundFile): move the static to smaller scope,
3543         move the onlyfile, use onlyfile instead of foundfile in a couple
3544         of places.
3545
3546         * DepTable.C (update): flush the error stream a bit more
3547
3548 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3549
3550         * lyxserver.C (callback): adjust
3551
3552         * lyxfunc.C (getStatus): add a missing brace in commented code
3553         (ensureBufferClean): reindent
3554         (dispatch): delete version taking a string
3555
3556 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3557
3558         * LaTeX.C (deplog): move found file handlig from here...
3559         (handleFoundFile): .. to new function here.
3560         (deplog): make sure to discover several files mentioned on the
3561         same log line.
3562
3563 2003-10-10  André Pönitz  <poenitz@gmx.net>
3564
3565         * lyxfunc.C:
3566         * lyxtext.h:
3567         * tabular.C:
3568         * text.C:
3569         * text2.C:
3570         * text3.C: fix some of the tabular crashes
3571
3572 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3573
3574         * MenuBackend.C (binding): put debug message into Debug::KBMAP
3575
3576         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3577
3578 2003-10-09  André Pönitz  <poenitz@gmx.net>
3579
3580         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3581
3582         * BufferView.C:
3583         * BufferView_pimpl.C:
3584         * bufferview_funcs.C:
3585         * lyx_cb.C:
3586         * lyxcursor.C:
3587         * lyxfind.C:
3588         * lyxfunc.C:
3589         * lyxtext.h:
3590         * text.C:
3591         * text2.C:
3592         * text3.C:
3593         * text_funcs.[Ch]:
3594         * textcursor.[Ch]:
3595         * undo_funcs.C: adjust
3596
3597 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3598
3599         * text2.C (incrementItemDepth): new function, use a backtracking
3600         algorithm to discover the correct item depth.
3601         (resetEnumCounterIfNeeded): new function, use a backtracking
3602         algorithm to discover if counter reset is needed.
3603         (setCounter): use them. Simplify a bit. Add different labels for
3604         different item depths for itemize.
3605
3606         * paragraph.C (Paragraph): remove initialization of enumdepth
3607         (operator=): ditto
3608
3609         * paragraph.h: get rid of enumdepth, and use itemdepth both for
3610         enumerate and itemize. Change the type of itemdepth to signed char.
3611
3612 2003-10-08  André Pönitz  <poenitz@gmx.net>
3613
3614         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3615           thing assignable.
3616         * text.C:
3617         * text2.C: adjust
3618
3619         * tabular.[Ch]: fix crash after 'row-insert'
3620
3621 2003-10-08  Angus Leeming  <leeming@lyx.org>
3622
3623         Fix doxygen warnings.
3624
3625         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3626         Remove CutAndPaste:: prefix from header file declaration.
3627
3628         * LColor.h (fill): remove LColor:: prefix from declaration.
3629
3630         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3631         use lyx::depth_type rather than Paragraph::depth_type so that
3632         header file and .C file match.
3633
3634         * converter.h (intToFormat): remove Converters:: prefix from declaration.
3635
3636         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3637         * aspell.C: \file aspell_local.C -> \file aspell.C
3638         * gettext.C: \file gettext.C -> \file src/gettext.C
3639         * gettext.h: \file gettext.h -> \file src/gettext.h
3640         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3641         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3642         * text.C: \file text.C -> \file src/text.C
3643
3644         * toc.C: move comment so that doxygen is not confused.
3645
3646 2003-10-07  Angus Leeming  <leeming@lyx.org>
3647
3648         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3649
3650 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3651
3652         * aspell.C:
3653         * aspell_local.h: add forgotten std::string's.
3654
3655 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3656
3657         * LaTeXFeatures.C:
3658         * LyXAction.C:
3659         * factory.C:
3660         * lfuns.h:
3661         * lyxfunc.C:
3662         * text3.C: The Box patch. Fancybox support, minipage, parbox
3663
3664 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3665
3666         * CutAndPaste.h:
3667         * DepTable.h:
3668         * FloatList.h:
3669         * LaTeXFeatures.h:
3670         * ParagraphParameters.h:
3671         * TextCache.h:
3672         * Thesaurus.h:
3673         * bufferlist.h:
3674         * exporter.h:
3675         * importer.h:
3676         * lastfiles.h:
3677         * lyxfind.h:
3678         * lyxfont.h:
3679         * lyxlex.h:
3680         * lyxtextclasslist.h:
3681         * messages.h:
3682         * paragraph.h:
3683         * paragraph_pimpl.C:
3684         * textcursor.h: add <string> and other small fixes to make Lars'
3685         std::string patch compile with STLport.
3686
3687 2003-10-06  Angus Leeming  <leeming@lyx.org>
3688
3689         * LColor.h: Add missing #include <string>.
3690
3691 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3692
3693         * All most all file in all subdirs: Make <string> be the prefered
3694         way of getting to std::string, add using declarations.
3695
3696 2003-10-06  André Pönitz  <poenitz@gmx.net>
3697
3698         * metricsinfo.C: initialize LyXFont before changing attribute.
3699         (fixes the 'math in \emph is upright' bug)
3700
3701 2003-10-06  André Pönitz  <poenitz@gmx.net>
3702
3703         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3704
3705 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
3706
3707         * graph.C:
3708         * paragraph_pimpl.C: Small fixes to build using STLport
3709
3710 2003-10-02  André Pönitz  <poenitz@gmx.net>
3711
3712         * lyxfunc.C:
3713         * text3.C: move handling of LFUN_DEPTH *; fix #1360
3714
3715 2003-10-01  André Pönitz  <poenitz@gmx.net>
3716
3717         * factory.C: assert early
3718
3719 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3720
3721         * lyx_main.C: remove the global debug object
3722
3723         * debug.h: adjust for new debugstream
3724
3725         * debug.C: adjust for new debugstream and keep the global debug
3726         object here.
3727
3728 2003-09-22  Angus Leeming  <leeming@lyx.org>
3729
3730         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3731         of g++ which otherwise complain that the scoped_ptr destructor can't delete
3732         an incomplete class LyXFont.
3733
3734 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
3735
3736         * factory.C: bug fix in branches
3737
3738 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3739
3740         * lyxfunc.C (processKeySym): adjust
3741         (dispatch): adjust
3742         (dispatch): change arg name from ev to func, adjust
3743         (sendDispatchMessage): ditto
3744
3745         * lyx_main.C (defaultKeyBindings): adjust keybindings
3746         (deadKeyBindings): ditto
3747
3748         * kbsequence.C (addkey): return a FuncRequest
3749
3750         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3751
3752         * kbmap.C (bind): take a FuncRequest as arg, adjust
3753         (read): adjust
3754         (lookup): adjust
3755         (defkey): change to take a FuncRequest as arg, adjust
3756         (findbinding): take a FuncRequest as arg, adjust.
3757
3758         * funcrequest.h (operator=): added
3759
3760         * funcrequest.C (FuncRequest): default kb_action changed from
3761         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3762
3763         * buffer.C (dispatch): simplify
3764         (dispatch): adjust to take a FuncRequest as arg, adjust
3765
3766         * boost.C (assertion_failed): change assertion message slightly
3767
3768         * ToolbarBackend.C (read): simplify
3769
3770         * MenuBackend.C (binding): adjust call to findbinding, add a
3771         message if no binding is found.
3772         (read): simplify
3773         (expandToc): correct by adding a empty FuncRequest
3774
3775         * LyXAction.C: include <boost/assert.hpp>
3776         (isPseudoAction): delete function
3777         (LookupFunc): change name to...
3778         (lookupFunc): this. change return type to FuncRequest.
3779         (getActionName): take kb_action as arg, simplify
3780         (funcHasFlag): add an assert, simplify.
3781
3782 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3783
3784         * toc.C (action): return a FuncRequest, simplify
3785
3786         * lyxfunc.C (processKeySym): adjust
3787         (getStatus): delete version that takes an int.
3788         (getStatus): adjust
3789         (dispatch): delete version that takes action as int
3790         (dispatch): adjust
3791         (sendDispatchMessage): simplify and adjust
3792
3793         * funcrequest.C (getArg): take unsigned int as arg
3794
3795         * ToolbarBackend.C (read): adjust
3796         (add): delete version that takes func as a string.
3797         (getIton): take a FuncRequest as arg
3798
3799         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3800         action.
3801
3802         * MenuBackend.C (MenuItem): add a new construct that only takes a
3803         Kind, simplify the constructor use for submenus.
3804         (add): adjust
3805         (expandLastfiles): adjust
3806         (expandDocuments): adjust
3807         (expandFormats): adjust
3808         (expandFloatListInsert): adjust
3809         (expandFloatInsert): adjust
3810         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3811
3812         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3813         Remove class variables lyx_pseudo_map and lyx_arg_map
3814
3815         * LyXAction.C (searchActionArg): delete function
3816         (getPseudoAction): delete function
3817         (retrieveActionArg): delete function
3818         (LookupFunc): make it return kb_action, simplify.
3819         (getActionName): simplify
3820
3821         * factory.C (createInset): fix new bug
3822
3823 2003-09-19  Angus Leeming  <leeming@lyx.org>
3824
3825         * CutAndPaste.C (pasteSelection): remove fudge used to set the
3826         masterFilename_ parameter in the include inset.
3827
3828         * factory.C (createInset): changes due to the changes to InsetInclude.
3829
3830 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3831
3832         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3833
3834 2003-09-18  Angus Leeming  <leeming@lyx.org>
3835
3836         * buffer.C:
3837         * BufferView.C: pass the buffer when calling Inset::getLabelList,
3838         Inset::fillWithBibKeys.
3839         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3840
3841 2003-09-18  Angus Leeming  <leeming@lyx.org>
3842
3843         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3844         variables.
3845         (ctor): pass and store a 'Buffer const &'
3846         (buffer): new member function.
3847
3848         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3849         '*this' to the LaTeXFeatures ctor.
3850
3851 2003-09-18  Angus Leeming  <leeming@lyx.org>
3852
3853         * LColor.h:
3854         * lyxfont.C:
3855         * lyxfont.h:
3856         * lyxtext.h:
3857         * text.C: rename EnumLColor as LColor_color.
3858
3859 2003-09-18  Angus Leeming  <leeming@lyx.org>
3860
3861         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3862         remove #include "insets/insetbase.h" from cursor.h.
3863
3864 2003-09-18  Angus Leeming  <leeming@lyx.org>
3865
3866         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3867         InsetOld_code to remove #include "inset.h".
3868
3869         * iterators.C: add #include "insets/inset.h"
3870
3871 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
3872
3873         * BufferView.C: remove more locking stuff that apparently doesn't
3874         do anything sensible.
3875
3876 2003-09-16  André Pönitz  <poenitz@gmx.net>
3877
3878         * paragraph.[Ch]:
3879         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3880           performance boost.
3881
3882 2003-09-16  Angus Leeming  <leeming@lyx.org>
3883
3884         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3885
3886         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3887         arg/return type.
3888
3889         * paragraph.h: remove #include "lyxfont.h". Forward declare
3890         LyXFont_size.
3891
3892 2003-09-16  Angus Leeming  <leeming@lyx.org>
3893
3894         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3895         of support/textutils.h.
3896         (isWord): move the contents of support/textutils.h's IsWordChar here.
3897
3898         * buffer.C:
3899         * lyxfind.C:
3900         * rowpainter.C:
3901         * text.C:
3902         * text2.C: add #include "paragraph.h".
3903
3904         * rowpainter.C:
3905         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3906
3907 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3908
3909         * main.C:
3910         * lyx_main.C:
3911         * lyx_cb.C:
3912         * buffer.C:
3913         * LaTeX.C: use namespace alias for lyx::support::os
3914
3915 2003-09-16  Angus Leeming  <leeming@lyx.org>
3916
3917         * bufferparams.C:
3918         * bufferview_funcs.C:
3919         * factory.C:
3920         * lyxfunc.C:
3921         * paragraph_pimpl.C:
3922         * rowpainter.C:
3923         * text.C: add #include "LColor.h".
3924
3925 2003-09-16  Angus Leeming  <leeming@lyx.org>
3926
3927         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3928         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3929         return LyXFont &.
3930         Store the FontBits::color variable as an int rather than as an
3931         LColor::colorso that we can move LColor.h out of the lyxfont.h header
3932         file.
3933
3934         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3935         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3936         string calls together.
3937
3938         * lyxrc.C: add #include "LColor.h".
3939
3940 2003-09-15  Angus Leeming  <leeming@lyx.org>
3941
3942         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3943         a cow_ptr.
3944
3945 2003-09-15  Angus Leeming  <leeming@lyx.org>
3946
3947         * LColor.h: add an EnumLColor wrapper for LColor::color.
3948
3949         * lyxfont.[Ch] (color, setColor, realColor):
3950         * lyxtext.h, text.C (backgroundColor):
3951         pass EnumLColor args to/from the functions, rather than LColor::color
3952         ones.
3953
3954         * lyxfont.h:
3955         * lyxtext.h: forward declare EnumLColor.
3956
3957         * lyx_main.C: add #include "LColor.h".
3958
3959 2003-09-15  Angus Leeming  <leeming@lyx.org>
3960
3961         * .cvsignore: add lyx-gtk.
3962
3963 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3964
3965         * Chktex.C
3966         * LaTeX.C
3967         * LaTeXFeatures.C
3968         * ParagraphParameters.C
3969         * Spacing.C
3970         * buffer.C
3971         * bufferparams.C
3972         * bufferview_funcs.C
3973         * chset.C
3974         * counters.C
3975         * funcrequest.C
3976         * lyxfont.C
3977         * lyxgluelength.C
3978         * lyxlength.C
3979         * paragraph.C
3980         * paragraph_funcs.C
3981         * text3.C
3982         * vc-backend.C: remove usage of STRCONV
3983
3984 2003-09-15  Angus Leeming  <leeming@lyx.org>
3985
3986         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3987         explicitly define the color passed to the painter.
3988
3989 2003-09-15  Angus Leeming  <leeming@lyx.org>
3990
3991         * bufferparams.C (BufferParams): reorder member initializers to avoid
3992         compiler warning.
3993
3994 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
3995
3996         * CutAndPaste.C (pasteSelection): remove an outdated #warning
3997         * text.C (updateRowPositions): remove an unusual nop
3998
3999 2003-09-12  André Pönitz  <poenitz@gmx.net>
4000
4001         * BufferView_pimpl.C:
4002         * Bullet.C:
4003         * layout.h:
4004         * lyxfunc.C:
4005         * lyxlayout.[Ch]:
4006         * lyxtextclass.C:
4007         * rowpainter.C:
4008         * text.C:
4009         * text2.C:
4010         * Counters.[Ch]: finish the 'automatic counters' job
4011
4012 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4013
4014         * aspell.C: include <boost/assert.cpp> (compile fix)
4015
4016 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
4017
4018         * boost.C (assertion_failed): use lyx::support::abort instead of
4019         assert.
4020
4021 2003-09-10  Angus Leeming  <leeming@lyx.org>
4022
4023         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4024         with their _fwd progeny.
4025
4026 2003-09-09  Angus Leeming  <leeming@lyx.org>
4027
4028         134 files throughtout the source tree: replace 'using namespace abc;'
4029         directives with the appropriate 'using abc::xyz;' declarations.
4030
4031 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4032
4033         * boost.C (emergencyCleanup): moved here from LAssert.c
4034         (assertion_failed): new function, called by BOOST_ASSERT
4035
4036         * several files: change Assert to BOOST_ASSERT
4037
4038 2003-09-09  Angus Leeming  <leeming@lyx.org>
4039
4040         * buffer.[Ch]: Add an Impl class and move Buffer's member
4041         variables into it. As a result move several header files out of
4042         buffer.h.
4043
4044         Add header files to lots of .C files all over the tree as a result.
4045
4046 2003-09-09  Angus Leeming  <leeming@lyx.org>
4047
4048         * buffer.[Ch]: make Buffer's member variables private. Add
4049         accessor functions.
4050
4051         Lots of changes all over the tree as a result.
4052
4053 2003-09-08  Angus Leeming  <leeming@lyx.org>
4054
4055         * graph.C: #include <config.h>.
4056
4057 2003-09-08  Angus Leeming  <leeming@lyx.org>
4058
4059         * BranchList.C:
4060         * BufferView.C:
4061         * BufferView_pimpl.C:
4062         * CutAndPaste.C:
4063         * DepTable.C:
4064         * LaTeX.C:
4065         * LaTeXFeatures.C:
4066         * LyXAction.C:
4067         * MenuBackend.C:
4068         * TextCache.C:
4069         * aspell.C:
4070         * buffer.C:
4071         * bufferlist.C:
4072         * changes.C:
4073         * chset.C:
4074         * converter.C:
4075         * counters.C:
4076         * debug.C:
4077         * graph.C:
4078         * ispell.C:
4079         * lyx_cb.C:
4080         * lyxfind.C:
4081         * lyxfunc.C:
4082         * lyxlex_pimpl.C:
4083         * lyxrc.C:
4084         * lyxrow.C:
4085         * paragraph.C:
4086         * rowpainter.C:
4087         * texrow.C:
4088         * text.C:
4089         * text2.C:
4090         * toc.C: remove redundant using directives.
4091
4092 2003-09-07  Angus Leeming  <leeming@lyx.org>
4093
4094         * LaTeXFeatures.h: remove #include "support/types.h".
4095         * ToolbarBackend.h: remove #include <algorithm>.
4096         * changes.h: remove #include <ctime>.
4097         * debug.h: remove #include <iosfwd>.
4098         * graph.h: remove #include "support/std_string.h".
4099         * lyx_main.h: remove #include <csignal>.
4100         * lyxlex_pimpl.h: remove #include <fstream>.
4101         * sgml.h: remove #include <algorithm>, <utility>.
4102         * toc.h: remove #include "support/std_ostream.h".
4103         Add #include <iosfwd>.
4104
4105 2003-09-07  Angus Leeming  <leeming@lyx.org>
4106
4107         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4108
4109         * converter.h: forward declare LatexRunParams.
4110         * encoding.h: remove #include "lyxrc.h".
4111         * lyxtext.h: remove #include "LColor.h".
4112         * lyxtextclass.h: remove #include "support/types.h".
4113         * trans.h: remove #include "tex-accent.h".
4114         * trans_mgr.h: remove #include "tex-accent.h".
4115         * insets/inset.h: remove #include "support/types.h", <vector>.
4116         * insets/insetcollapsable.h: remove #include "LColor.h".
4117         * insets/insetinclude.h: remove #include "dimension.h".
4118         * insets/insetlatexaccent.h: remove #include "dimension.h".
4119         * insets/insetoptarg.h:: remove #include "insettext.h".
4120         * insets/insettext.h: remove #include "dimension.h",
4121         <boost/shared_ptr.hpp>
4122
4123         * insets/renderers.h: add #include "dimension.h".
4124         * insets/updatableinset.h: add #include "support/types.h".
4125
4126         * many .C files: Associated changes.
4127
4128 2003-09-06  Angus Leeming  <leeming@lyx.org>
4129
4130         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4131         one, inside testInvariant.
4132
4133         * PrinterParams.C: new file.
4134         * PrinterParams.[Ch]: move the function bodies out of line.
4135
4136 2003-09-06  Angus Leeming  <leeming@lyx.org>
4137
4138         * ParagraphParameters.h: forward declare ParameterStruct rather than
4139         including its header file.
4140         (depth): moved out-of-line.
4141
4142 2003-09-06  Angus Leeming  <leeming@lyx.org>
4143
4144         * BufferView_pimpl.h:
4145         * kbmap.h:
4146         * kbsequence.h:
4147         * lyxfunc.h: forward declare LyXKeySym rather than
4148         #include "frontends/LyXKeySym.h".
4149
4150         * BufferView_pimpl.C:
4151         * kbmap.C:
4152         * kbsequence.C:
4153         * lyxfunc.C: associated changes.
4154
4155 2003-09-06  Angus Leeming  <leeming@lyx.org>
4156
4157         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4158         As a result, can remove the #include "insets/inset.h" from BufferView.h
4159
4160 2003-09-06  Angus Leeming  <leeming@lyx.org>
4161
4162         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4163         As a result, can remove the #include "insets/inset.h" from BufferView.h
4164
4165 2003-09-06  Angus Leeming  <leeming@lyx.org>
4166
4167         * buffer_funcs.C:
4168         * buffer.h:
4169         * bufferlist.C:
4170         * BufferView.C:
4171         * bufferview_funcs.C:
4172         * BufferView_pimpl.C:
4173         * CutAndPaste.C:
4174         * lyx_cb.C:
4175         * lyxfunc.C:
4176         * paragraph.h:
4177         * ParagraphParameters.C:
4178         * tabular.C:
4179         * text3.C:
4180         * toc.C:
4181         * undo_funcs.C:
4182         * frontends/controllers/ControlDocument.C:
4183         * insets/insetcaption.C: rearrange the #includes into some sort of
4184         coherent order.
4185
4186         * buffer.h: remove #includes ErrorList.h, undo.h
4187
4188 2003-09-06  Angus Leeming  <leeming@lyx.org>
4189
4190         * support/types.h: add a 'depth_type' typedef, used to store the
4191         nesting depth of a paragraph.
4192
4193         * paragraph.h:
4194         * ParameterStruct.h: use this lyx::depth_type typedef rather than
4195         defining explicitly.
4196
4197         * buffer.h:
4198         * paragraph_funcs.h:
4199         * ParagraphParameters.h:
4200         * sgml.h: use lyx::depth_type rather than Paragraph or
4201         ParameterStruct's depth_type.
4202
4203         * buffer.h
4204         * paragraph_funcs.h: no need to #include paragraph.h anymore.
4205
4206         * BufferView.C:
4207         * BufferView_pimpl.C:
4208         * CutAndPaste.C:
4209         * ParagraphParameters.C:
4210         * buffer_funcs.C:
4211         * bufferlist.C:
4212         * bufferview_funcs.C:
4213         * lyx_cb.C:
4214         * lyxfunc.C:
4215         * tabular.C:
4216         * text3.C:
4217         * toc.C:
4218         * undo_funcs.C:
4219         * frontends/LyXView.C:
4220         * frontends/controllers/ControlDocument.C:
4221         * frontends/controllers/ControlErrorList.C:
4222         * insets/insetbibitem.C:
4223         * insets/insetbranch.C:
4224         * insets/insetcaption.C:
4225         * insets/insetcollapsable.C:
4226         * insets/insetenv.C:
4227         * insets/insetert.C:
4228         * insets/insetfloat.C:
4229         * insets/insetfoot.C:
4230         * insets/insetfootlike.C:
4231         * insets/insetnewline.C:
4232         * insets/insetquotes.C:
4233         * insets/insettabular.C:
4234         * insets/insettext.C:
4235         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4236
4237         * frontends/controllers/ControlChanges.C: #include "changes.h".
4238
4239 2003-09-06  Angus Leeming  <leeming@lyx.org>
4240
4241         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4242         than #including paragraph.h.
4243
4244         * ParagraphList.h:
4245         * RowList.h: deleted. Superfluous.
4246
4247         * CutAndPaste.h:
4248         * iterators.h:
4249         * lyxcursor.h:
4250         * lyxtext.h:
4251         * text_funcs.h:
4252         * undo.h:
4253         * undo_funcs.h:
4254         * insets/inset.h:
4255         * insets/insettext.h: use ParagraphList_fwd.h rather than
4256         ParagraphList.h.
4257
4258         * paragraph.h: don't forward declare ParagraphList.
4259
4260         * buffer.h:
4261         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4262         rather than ParagraphList.h. paragraph.h is still needed for the
4263         Paragraph::depth_type parameters.
4264
4265         * textcursor.h: enable it to compile stand-alone in light of the
4266         above changes.
4267
4268         * bufferview_funcs.C:
4269         * iterators.C:
4270         * lyxfunc.C:
4271         * lyxrow_funcs.C:
4272         * paragraph.C:
4273         * rowpainter.C:
4274         * text.C:
4275         * text2.C:
4276         * text3.C:
4277         * text_funcs.C:
4278         * textcursor.C:
4279         * undo.C:
4280         * frontends/controllers/ControlParagraph.C:
4281         * frontends/controllers/ControlTabular.C:
4282         * insets/insetmarginal.C:
4283         * insets/insetminipage.C:
4284         * insets/insetnote.C:
4285         * insets/insetoptarg.C: add header files needed to compile again.
4286
4287 2003-09-06  Angus Leeming  <leeming@lyx.org>
4288
4289         * RowList_fwd.h: new file, forward-declaring Row rather than
4290         #including lyxrow.h.
4291
4292         * lyxrow_funcs.h:
4293         * lyxtext.h:
4294         * paragraph.h:
4295         * insets/insettext.h: use it instead of RowList.h
4296
4297         * bufferview_funcs.C:
4298         * lyxfunc.C:
4299         * lyxrow_funcs.C:
4300         * paragraph.C:
4301         * rowpainter.C:
4302         * text.C:
4303         * text2.C:
4304         * text3.C: #include "RowList.h".
4305
4306 2003-09-05  Angus Leeming  <leeming@lyx.org>
4307
4308         * factory.C (createInset):
4309         * vspace.C (c-tor): replace sscanf call with an istringstream.
4310         * ispell.C: re-add missing HP/UX headers.
4311         * lyxserver.C: re-add missing  os2 headers.
4312
4313 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
4314
4315         * BranchList.C:
4316         * graph.C:
4317         * ispell.C:
4318         * lastfiles.C:
4319         * lyx_cb.C:
4320         * lyxserver.C:
4321         * texrow.C:
4322         * text3.C: re-add missing system headers, needed for 2.95.2.
4323
4324 2003-09-05  Angus Leeming  <leeming@lyx.org>
4325
4326         Changes most place everywhere due to the removal of using directives
4327         from support/std_sstream.h.
4328
4329 2003-09-05  Angus Leeming  <leeming@lyx.org>
4330
4331         Replace LString.h with support/std_string.h,
4332         Lsstream.h with support/std_sstream.h,
4333         support/LIstream.h with support/std_istream.h,
4334         support/LOstream.h with support/std_ostream.h.
4335
4336         Changes resulting throughout the tree.
4337
4338 2003-09-05  Angus Leeming  <leeming@lyx.org>
4339
4340         * sgml.h: ensure that the header file can be compiled stand-alone.
4341         * *.C: strip out redundant #includes. (320 in total.)
4342
4343 2003-09-04  Angus Leeming  <leeming@lyx.org>
4344
4345         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4346         here (from getPackages).
4347
4348         * debug.[Ch]: add a new EXTERNAL tag.
4349
4350 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4351
4352         * text2.C (cursorEnd): simplify
4353         (setCursor): adjust
4354         (getColumnNearX): adjust
4355
4356         * text.C (computeBidiTables): adjust
4357         (fill): adjust
4358
4359         * rowpainter.C (paintChars): adjust
4360         (paintSelection): adjust
4361         (paintChangeBar): adjust
4362         (paintText): adjust
4363
4364         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4365         lastPos instead.
4366         (numberOfSeparators): adjust
4367
4368 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4369
4370         * LyXAction.C:
4371         * box.[Ch]:
4372         * lfuns.h:
4373         * lyxfunc.C:
4374         * text3.C: Restricts the mouse click functionality
4375         of insets like bibtex, include, toc and floatlist to the visible
4376         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4377         up the dialogs. Cursor has to be in front of the inset (i.e.
4378         start of row) for this to function.
4379
4380 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4381
4382         * bufferview_funcs.C (currentState): output row information
4383
4384 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4385
4386         * bufferview_funcs.C (currentState): output paragraph position
4387
4388 2003-09-04  Angus Leeming  <leeming@lyx.org>
4389
4390         * FloatList.h: move out #include "Floating.h".
4391         * LaTeX.h: move out #include "DepTable.h".
4392         * LyXAction.h: move out #include "funcrequest.h".
4393         * buffer.h: move out #include "author.h", "iterators.h".
4394         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4395         * lyx_main.h: move out #include "errorlist.h".
4396         * lyxfunc.h: move out #include "FuncStatus.h".
4397         * lyxtext: move out #include "lyxcursor.h".
4398         * paragraph_pimpl.h: move out #include "counters.h".
4399
4400 2003-09-03  Angus Leeming  <leeming@lyx.org>
4401
4402         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4403         preamble_snippets list, enabling us to add snippets to the preamble
4404         only if the snippet was not there already.
4405
4406 2003-09-04  Angus Leeming  <leeming@lyx.org>
4407
4408         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4409
4410 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4411
4412         * lyxfunc.C (dispatch): if fitCursor did something be sure to
4413         update
4414
4415 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4416
4417         * BranchList.C: point fix, earlier forgotten
4418
4419 2003-09-02  Angus Leeming  <leeming@lyx.org>
4420
4421         * box.C (contains): renamed from 'contained' after a fantastic
4422         amount of hot air.
4423
4424 2003-09-02  John Levon  <levon@movementarian.org>
4425
4426         * BufferView.C:
4427         * lyxcursor.h:
4428         * lyxcursor.C:
4429         * lyxfunc.C:
4430         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4431
4432 2003-09-02  John Levon  <levon@movementarian.org>
4433
4434         * text2.C: simplification of cursorEnd(), including partial
4435         fix for bug 1376
4436
4437 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4438
4439         * buffer.C (readFile): add a space
4440
4441 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
4442
4443         * BufferView_pimpl.C (update): remove bogus fitCursor() call
4444
4445 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4446
4447         * buffer.C (readFile): new function, take a filename and a
4448         ParagraphList::iterator
4449         (readFile): adjust
4450         (readFile): adjust, make it private. don't use setStream, make
4451         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4452         always contain the filename.
4453
4454         * BufferView.C (insertLyXFile): simplify and make it work for
4455         gzipped files.
4456
4457 2003-08-30  John Levon  <levon@movementarian.org>
4458
4459         * Makefile.am: fix dist (from Kayvan)
4460
4461 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4462
4463         * most files: change to use const Buffer refs
4464
4465 2003-08-27  André Pönitz  <poenitz@gmx.net>
4466
4467         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4468         on top of ownerPar().
4469
4470 2003-08-27  John Levon  <levon@movementarian.org>
4471
4472         * funcrequest.C: properly initialise POD members
4473
4474 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4475
4476         * lyxtext.h (top_y): move top_y from here
4477         * text.C:
4478         * text2.C:
4479         * text3.C:
4480         * BufferView.[Ch]:
4481         * BufferView_pimpl.[Ch]: to here
4482         * frontends/screen.C:
4483         * insets/insettabular.C:
4484         * insets/insettext.C: adjust
4485         * rowpainter.[Ch] (paintRows): remove LyXText & argument
4486
4487 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4488
4489         * BufferView.[Ch]:
4490         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4491
4492 2003-08-26  André Pönitz  <poenitz@gmx.net>
4493
4494         * paragraph_func.[Ch] (outerPar): new function
4495
4496         * paragraph.C:
4497         * paragraph_funcs.C:
4498         * paragraph_funcs.h:
4499         * paragraph_pimpl.C:
4500         * text2.C: remove Inset::par_owner
4501
4502 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
4503
4504         * lyxrow_funcs.C:
4505         * lyxtext.h:
4506         * text.C:
4507         * text2.C: eliminates the needFullRow/display() stuff
4508         altogether, putting the logic in metrics/draw in the insets.
4509
4510 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
4511
4512         * text2.C (redoParagraphInternal, redoParagraphs):
4513         * text.C (redoParagraph): add a call to updateRowPositions at the
4514         end of each 'metrics-like' call. Remove all others.
4515         (getRow): remove the 'y-computing' version.
4516         (getRowNearY): do not compute nor return the real y. Solve the
4517         'y < 0' problem and simplify.
4518
4519 2003-08-22  Angus Leeming  <leeming@lyx.org>
4520
4521         * *.[Ch]: clean-up of licence and author blurbs.
4522         Also move config.h out of a few .h files and into a few .C files.
4523
4524 2003-08-22  André Pönitz  <poenitz@gmx.net>
4525
4526         * lyxrow.[Ch]: add x_ and *fill_ members
4527
4528         * lyxtext.h:
4529         * text.C:
4530         * rowpainter.C:
4531         * text2.C: adjust/remove prepareToPrint() calls
4532
4533 2003-08-22  André Pönitz  <poenitz@gmx.net>
4534
4535         * lyxrow.[Ch]: add  end_ member
4536
4537         * lyxrow_funcs.C: use LyXRow::end_
4538
4539         * lyxtext.h (singleWidth): add LyXFont parameter
4540
4541         * rowpainter.C:
4542         * text2.C: adjust LyXText::singleWidth() calls
4543
4544         * text.C (redoParagraph): simplify row breaking logic
4545
4546
4547 2003-08-19  André Pönitz  <poenitz@gmx.net>
4548
4549         * funcrequest.C: initialize button_ member
4550
4551         * text3.C:
4552         * rowpainter.[Ch]: interface consolidation
4553
4554 2003-08-18  André Pönitz  <poenitz@gmx.net>
4555
4556         * BufferView.C:
4557         * BufferView_pimpl.C:
4558         * lyxfind.C:
4559         * paragraph_funcs.C:
4560         * rowpainter.C:
4561         * text3.C: remove LyXScreen::draw() and fitCursor calls
4562
4563         * BranchList.h: remove spurious semicolons
4564
4565         * MenuBackend.C: fix branchlist related crash
4566
4567 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
4568
4569         * BranchList.[Ch]:
4570         * InsetList.[Ch]:
4571         * LColor.[Ch]:
4572         * LyXAction.C:
4573         * Makefile.am:
4574         * MenuBackend.[Ch]:
4575         * bufferparams.[Ch]:
4576         * factory.C:
4577         * lfuns.h:
4578         * lyxfunc.C:
4579         * text3.C: implements the 'branch inset'
4580         idea. This allows the output of various versions of a document
4581         from a single source version, selectively outputing or suppressing
4582         output of parts of the text.
4583         This implementation contains a 'branch list editor' in a separate
4584         tab of the document settings dialog. Branches are user definable
4585         and have a "display colour" to distinguish them on-screen.
4586
4587         ColorHandler was somewhat cleaned up.
4588         (1) make possible a dynamically growing LColor list by allowing
4589         the graphic context cache to grow along (vector);
4590         (2) eliminate an IMHO unnecessary step in colour allocation.
4591
4592 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
4593
4594         * BufferView_pimpl.C: compile fix
4595
4596 2003-08-15  André Pönitz  <poenitz@gmx.net>
4597
4598         * rowpainter.C: remove extra metrics calls
4599
4600         * lyxtext.h: merge the two constructors into a single one,
4601           pass reference to owner's par list
4602
4603         * BufferView_pimpl.C:
4604         * text.C:
4605         * text2.C: adjust
4606
4607 2003-08-15  André Pönitz  <poenitz@gmx.net>
4608
4609         * lyxrow_funcs.[Ch]:
4610         * lyxtext.h:
4611         * paragraph.h:
4612         * paragraph_funcs.C:
4613         * rowpainter.C:
4614         * text.C:
4615         * text2.C:
4616         * text3.C:
4617         * text_funcs.C: split LyXText::rowlist_ into individual
4618         Paragraph::rows_ chunks
4619
4620         * BufferView.[Ch]:
4621         * BufferView_pimpl.[Ch]:
4622         * lyxfind.C:
4623         * lyxtext.h:
4624         * text3.C: remove toggleSelection()
4625
4626 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
4627
4628         * bufferlist.C: beautify two alerts (shorter text of buttons)
4629         * buffer.C: Remove redundant ' ' from message
4630         * tabular.h:
4631         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4632         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4633         rename VALIGN_CENTER to VALIGN_MIDDLE
4634
4635 2003-08-11  André Pönitz  <poenitz@gmx.net>
4636
4637         * lyxtext.h (getPar):
4638         * text.C: new function
4639
4640 2003-08-11  André Pönitz  <poenitz@gmx.net>
4641
4642         * Makefile.am:
4643         * tracer.[Ch]: remove unneeded files
4644
4645         * InsetList.[Ch]: remove resizeInsetsLyXText()
4646
4647         * lyxtext.h:
4648         * text.C:
4649         * text2.C:
4650         * text3.C: merge insertParagraphs() and appendParagraph()
4651         remove breakAgain(), update()
4652
4653         * BufferView_pimpl.[Ch]:
4654         * bufferview_funcs.[Ch]:
4655         * lyxfunc.C:
4656         * paragraph.[Ch]:
4657         * rowpainter.C:
4658         * tabular.C: adjust after text & InsetList changes.
4659
4660 2003-08-08  André Pönitz  <poenitz@gmx.net>
4661
4662         * text.C (insertChar, backspace): replace rowlist fiddling
4663         with rebreak of full par
4664
4665         * lyxtext.h:
4666         * text.C (breakAgainOneRow, redoHeightOfParagraph,
4667         checkParagraph, updateInset): removed
4668
4669 2003-08-07  André Pönitz  <poenitz@gmx.net>
4670
4671         * paragraph.C:
4672         * text3.C: merge some LFUN handlers, remove dead code
4673
4674 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4675
4676         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4677
4678 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
4679
4680         * text2.C (DEPM): fix part of bug 1255 and 1256
4681
4682 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4683
4684         * BufferView_pimpl.C (workAreaDispatch): change to use
4685         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4686         that are no mouse related.
4687
4688 2003-08-05  André Pönitz  <poenitz@gmx.net>
4689
4690         * BufferView.[Ch]:
4691         * BufferView_pimpl.[Ch]:
4692         * bufferview_funcs.C:
4693         * text2.C:
4694         * text3.C: rip out "deep update"
4695
4696         * textcursor.[Ch] (last_sel_cursor): remove unused member
4697
4698 2003-08-04  André Pönitz  <poenitz@gmx.net>
4699
4700         * BufferView.[Ch]:
4701         * BufferView_pimpl.[Ch]:
4702         * ParagraphParameters.C:
4703         * bufferview_funcs.C:
4704         * lyx_cb.C:
4705         * lyxfind.C:
4706         * lyxfunc.C:
4707         * text.C:
4708         * text2.C:
4709         * text3.C: replace "complicated" BufferView::update(...) calls with
4710         simpler ones.
4711
4712         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4713
4714 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
4715
4716         * Makefile.am (lyx_SOURCES): add paper.h
4717
4718 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4719
4720         * Makefile.am: move things around so that both lyx-qt and
4721         lyx-xforms can be built (according to --with-frontend). Then lyx
4722         is a symbolic link to lyx-[firstfrontend]
4723
4724 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
4725
4726         * Always use std::endl with lyxerr
4727
4728 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
4729
4730         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4731
4732 2003-08-01  André Pönitz  <poenitz@gmx.net>
4733
4734         * BufferView.[Ch]:
4735         * BufferView_pimpl.[Ch]:
4736         * lyxfunc.C:
4737         * text3.C: merge BufferView::repaint() and BufferView::update()
4738
4739 2003-08-01  José Matos  <jamatos@lyx.org>
4740
4741         * buffer.[Ch]: file_format is no longer a buffer data element.
4742
4743 2003-08-01  André Pönitz  <poenitz@gmx.net>
4744
4745         * BufferView.C:
4746         * lyxtext.h:
4747         * text.C:
4748         * text2.C: make redoParagraph more independent of current cursor
4749
4750         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4751         * text.C:
4752         * text2.C: remove unneeded members
4753
4754 2003-07-30  André Pönitz  <poenitz@gmx.net>
4755
4756         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4757
4758         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4759           create a single function...
4760
4761         * paragraph_funcs.C (moveItem): ... here.
4762
4763         * text.C:
4764           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4765
4766 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
4767
4768         * LColor.[Ch]: Add comment and greyedout logical colors.
4769
4770 2003-07-30  André Pönitz  <poenitz@gmx.net>
4771
4772         * tabular.C: don't use Assert too heavily. This crashes where it
4773           shouldn't
4774
4775 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
4776
4777         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4778         is disabled (bug 1232)
4779
4780 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4781
4782         * factory.C: limited 'arg' scope
4783
4784 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4785
4786         * factory.C: fixed Note submenu issues
4787
4788 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4789
4790         * factory.C: submenu for Note/Comment/Greyedout
4791
4792 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
4793
4794         * lyx_main.C (LyX):
4795         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4796
4797 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
4798
4799         * LaTeXFeatures.C:
4800         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4801         greyedout. Patch provided by Jürgen Spitzmüller.
4802
4803 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4804
4805         * kbmap.C (read): fix error message when reading bind files
4806
4807 2003-07-29  Angus Leeming  <leeming@lyx.org>
4808
4809         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4810         certainly does not do what it purports to do. I am doing it, and
4811         us, a favour by killing it.
4812
4813 2003-07-28  José Matos  <jamatos@lyx.org>
4814
4815         * buffer.C (readBody, do_writeFile):
4816         * paragraph.C(readParagraph): \end_document replaces \the_end.
4817
4818 2003-07-29  André Pönitz  <poenitz@gmx.net>
4819
4820         * BufferView.[Ch]:
4821         * BufferView_pimpl.[Ch]:
4822         * lyxfunc.C:
4823         * text2.C:
4824         * text3.C:
4825         * textcursor.[Ch]: remove toggleToggle & Co
4826
4827 2003-07-28  José Matos  <jamatos@fep.up.pt>
4828
4829         * buffer.C (readParagraph):
4830         * params_func (readParToken, readParagraph):
4831         * paragraph.C (write): \layout -> \begin_layout.
4832
4833 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4834
4835         * lyxlex_pimpl.C (setFile): clean up slightly.
4836
4837         * bufferparams.h: add compressed var
4838
4839         * buffer_funcs.C (readFile): adjust for LyXLex change
4840         (newFile): ditto + simplify
4841
4842         * buffer.C (writeFile): handle writing of compressed files
4843
4844         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4845         Check if the file is compressed and set a bufferparm if so.
4846
4847         * Makefile.am (lyx_LDADD): remove explicit -lz
4848
4849 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4850
4851         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4852         makeDocBookFile): put the real LyX version in the first line of
4853         the file
4854
4855         * version.h:
4856         * version.C.in: remove lyx_docversion
4857
4858         * tabular.C (write_attribute): add a template-based version to
4859         write enums properly
4860
4861 2003-07-28  André Pönitz  <poenitz@gmx.net>
4862
4863         * lyxtext.h:
4864         * text.C:
4865         * text2.C:
4866         * text3.C: use doubles again for x-coordinates. They are needed.
4867
4868 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4869
4870         * messages.C (getLocaleDir): use lyx_localedir()
4871
4872         * lyxlex_pimpl.C (setFile): compress stuff
4873
4874         * buffer.C (writeFile): add some compression stuff
4875         (do_writeFile): new func, dont call expliti close... will this
4876         breake anything?
4877
4878         * Makefile.am (lyx_LDADD): add -lz
4879
4880 2003-07-28  José Matos  <jamatos@fep.up.pt>
4881
4882         * buffer.C: increment file format.
4883         * paragraph_funcs (readParagraph, readParToken):
4884         * paragraph.C (readParagraph): add \end_layout.
4885
4886 2003-07-27  Angus Leeming  <leeming@lyx.org>
4887
4888         * Makefile.am: remove special casing for configure-time setting of
4889         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4890
4891         * lyx_main.C (init): remove all Jean-Marc's magic setting of
4892         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4893
4894 2003-07-26  André Pönitz  <poenitz@gmx.net>
4895
4896         * paragraph_func.[Ch]:
4897         * paragraph.C (realizeFont): inline it whereever it is used
4898
4899         * rowpainter.C:
4900         * text.C:
4901         * text2.C:
4902         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4903
4904
4905 2003-07-26  André Pönitz  <poenitz@gmx.net>
4906
4907         *       lyxtext.h:
4908         * text.C:
4909         * text2.C: get rid of LyXText::need_break_row
4910
4911 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4912
4913         * toc.[Ch]: put namespace toc inside namespace lyx
4914
4915         * MenuBackend.C (expandToc2): adjust for lyx::toc
4916         (expandToc): ditto
4917
4918         * lyxfunc.C (dispatch): adjust for lyx::find
4919
4920         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4921         lyx::find instead. Reorganize a bit.
4922         (LyXReplace): rename to replace
4923         (LyXFind): rename to find
4924
4925         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4926         (dispatch): ditto
4927
4928 2003-07-26  André Pönitz  <poenitz@gmx.net>
4929
4930         * text.C (setHeightOfRow): restrict scope of temporary variable
4931
4932         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
4933           code (never has been used?)
4934
4935 2003-07-27  Asger Alstrup  <alstrup@local>
4936
4937         * text.C (fill): Optimise algorithm to exploit that we can reuse
4938         the LyXFont for many characters.
4939         (setHeightOfRow): Same thing.
4940         (rowBreakPoint): Same thing.
4941
4942 2003-07-26  Asger Alstrup  <alstrup@local>
4943
4944         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4945
4946         * text.C (singleWidth): Spurious font copying in hot-spot
4947         singleWidth avoided. Reorder tests for arabic for efficiency.
4948
4949         * text.C (fill): handle empty paragraphs better.
4950
4951 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4952
4953         * ispell.C:
4954         * encoding.h: add includes
4955
4956         * lyxrc.C: remove reading of bind files
4957
4958         * lyx_main.C (init): setup bindings and menus only if we have a
4959         gui.
4960
4961         * kbmap.C (read): new method. Do the actual reading of bind
4962         files.
4963
4964         * converter.C (dvipdfm_options):
4965         * bufferparams.C:
4966         * lyxrc.C (read):
4967         (output): adapt PAPER_* enums.
4968
4969         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4970
4971         * bufferparams.h: remove paper-related enums from there
4972
4973         * paper.h: New file. A trivial header file to hold paper-related
4974         enums. It should later expand to contain many paper-related
4975         horrors access.
4976
4977         * lyxrc.C: declare extern displayTranslator
4978
4979 2003-07-27  José Matos  <jamatos@fep.up.pt>
4980
4981         * tabular.[Ch] (linuxdoc): add support for tables and figures
4982         (linuxdoc).
4983
4984 2003-07-27  José Matos  <jamatos@fep.up.pt>
4985
4986         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4987         consistency in both functions.
4988         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4989
4990 2003-07-26  Asger Alstrup  <alstrup@local>
4991
4992         * rowpainter.C (paintRows): Change algorithm to work directly on
4993         the insets rather than asking every character in the document
4994         whether its an inset.
4995
4996 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
4997
4998         * buffer.C (openFileWrite): factorize some code
4999
5000 2003-07-26  Angus Leeming  <leeming@lyx.org>
5001
5002         * lyx_cb.C:
5003         * lyx_main.[Ch]: replace occurances of system_tempdir with
5004         os::getTmpDir().
5005
5006 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5007
5008         * rename Inset to InsetOld
5009
5010 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
5011
5012         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5013         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5014         which I think is a bit clearer. EDIT is gone, since it was
5015         premature optimisation, and broken for mathed anyway.
5016         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5017         with cursor positioning in insets as well (math insets still do not
5018         work, but that's a different story anyway.) It mysteriously
5019         crashes sometimes with undo in the first paragraph, but I'm fairly
5020         confident that this is a compiler bug.
5021
5022 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5023
5024         * paragraph.C (Paragraph): adjust for new clone return type
5025         (operator==): ditto
5026         (copyIntoMinibuffer): ditto
5027
5028 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
5029
5030         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5031         by not having a special case, and always doing a full rebreak of
5032         the document after undo.
5033
5034 2003-07-23  Angus Leeming  <leeming@lyx.org>
5035
5036         * factory.C (createInset): InsetExternal::setParams now takes a
5037         Buffer const * arg.
5038
5039 2003-07-23  Angus Leeming  <leeming@lyx.org>
5040
5041         * factory.C (createInset): changed interface to the external and
5042         graphics mailers' string2params functions.
5043
5044 2003-07-23  Angus Leeming  <leeming@lyx.org>
5045
5046         * factory.C (createInset): pass a
5047         Buffer const * parameter to InsetExternalMailer's string2params.
5048
5049 2003-07-22  John Levon  <levon@movementarian.org>
5050
5051         * Thesaurus.h: include the right aiksaurus header
5052
5053 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5054
5055         * MenuBackend.C (expand): check menu shortcuts unconditionally
5056
5057 2003-07-21  Angus Leeming  <leeming@lyx.org>
5058
5059         * factory.C (createInset): pass a
5060         buffer_path parameter to InsetGraphicsMailer's string2params.
5061
5062 2003-07-21  Angus Leeming  <leeming@lyx.org>
5063
5064         * BufferView_pimpl.C (buffer):
5065         * buffer.C (d-tor):
5066         * lyx_main.C (LyX):
5067         * lyxfunc.C (dispatch):
5068         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5069         rather than the grfx shortcut.
5070
5071 2003-07-21  André Pönitz  <poenitz@gmx.net>
5072
5073         * rowpainter.C: remove unused variables
5074
5075         * tabular_funcs.C:
5076         * tabular_funcs.h: move to tabular.C
5077         * Makefile.am: adjust
5078
5079         * tabular.[Ch]: basic optical cleaning
5080
5081         * author.h: pass references, not values
5082
5083 2003-07-18  André Pönitz  <poenitz@gmx.net>
5084
5085         * lyxtext.h:
5086         * metricsinfo.C:
5087         * metricsinfo.h:
5088         * rowpainter.C:
5089         * text.C:
5090         * text2.C:
5091         * text3.C: two-phase drawing for InsetText and InsetTabular
5092         some float -> int changes.
5093
5094 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5095
5096         * lyx_main.C: fix the fix
5097
5098 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5099
5100         * lyx_main.C: fix a crash in batch mode if no files specified
5101         * converter.C: ws
5102
5103 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
5104
5105         * format.[Ch] (papersize): moved to BufferParams
5106         * converter.[Ch] (dvips_options): moved to BufferParams
5107         (dvipdfm_options): moved to anon namespace
5108         * bufferparams.[Ch]: added above functions.
5109
5110 2003-07-17  André Pönitz  <poenitz@gmx.net>
5111
5112         * lyxtext.h:
5113         * rowpainter.C:
5114         * text2.C: don't call inset->update() anymore
5115
5116         * metricsinfo.[Ch]: add convenience constructor
5117
5118 2003-07-16  André Pönitz  <poenitz@gmx.net>
5119
5120         * lyxcursor.[Ch]:
5121         * lyxfunc.[Ch]:
5122         * text.C:
5123         * text2.C: replace the LyXCursor::irow_ member with
5124          on-demand computation of the value
5125
5126 2003-07-16  John Levon  <levon@movementarian.org>
5127
5128         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5129
5130 2003-07-15  André Pönitz  <poenitz@gmx.net>
5131
5132         * text.C:
5133         * text2.C: remove no more needed refresh_row
5134
5135 2003-07-15  André Pönitz  <poenitz@gmx.net>
5136
5137         * lyxtext.h:
5138         * rowpainter.C:
5139         * text2.C:
5140         * text3.C: refresh_status tristate -> need_update bool
5141
5142 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
5143
5144         * lyxtext.h (init): remove reinit argument (act as if always true)
5145         * text2.C: adjust to that
5146
5147 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5148
5149         * bufferview_funcs.[Ch]: introduce function replaceSelection()
5150         * text3.C: use it to delete selections in some cases
5151         (bugs 441, 673, 702, 954).
5152
5153 2003-07-14  André Pönitz  <poenitz@gmx.net>
5154
5155         * rowpainter.[Ch]: reduce interface
5156
5157 2003-07-14  André Pönitz  <poenitz@gmx.net>
5158
5159         * BufferView_pimpl.C:
5160         * text2.C: adjust after removing unused BufferView * argument
5161
5162 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
5163
5164         * text2.C (init): fix a crash fired on resize
5165
5166 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
5167
5168         * buffer.[Ch]: added new closing signal
5169         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5170         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5171         BufferView::Pimpl via the closing the signal
5172
5173 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
5174
5175         * buffer.[Ch]: take out all bv-related from buffer
5176         * BufferView.C:
5177         * BufferView_pimpl.[Ch]: connect to new signals
5178         * CutAndPaste.C: removed useless asserts
5179         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5180         * lyxvc.[Ch]:
5181         * vc-backend.[Ch]:
5182         * lyxfunc.C: moved view-related funciontality from vc here
5183         * paragraph.C: removed outdated comments
5184         * text.C: ws
5185
5186 2003-07-10  André Pönitz  <poenitz@gmx.net>
5187
5188         * BufferView_pimpl.C:
5189         * tabular.h:
5190         * tabular_funcs.C:
5191         * text.C:
5192         * text2.C: remove InsetText::InnerCache, clean up consequences
5193
5194 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
5195
5196         * ispell.C: fix two typos in error messages
5197
5198 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
5199
5200         * Extend Note inset to other forms of annotation like Comment
5201         and Greyedout. Right button click gives dialog.
5202
5203         Files modified or added (+):
5204
5205         * insetnote.[Ch]
5206         * FormNote.[Ch]      +
5207         * ControlNote.[Ch]   +
5208         * form_note.fd       +
5209         * Makefile.am in frontends/xforms, frontends/xforms/forms,
5210         frontends/controllers
5211         * xforms/Dialogs.C
5212         * factory.C
5213
5214 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5215
5216         * aspell.C: add missing namespace lyx::support
5217
5218 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
5219
5220         * BufferView.[Ch] (newFile): Add
5221         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5222         * LaTeX.[Ch] (message): added this signal and use it
5223         * buffer.[Ch] (busy, message): added these signals and use them
5224         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5225         * converter.C:
5226         * exporter.C:
5227         * format.C:
5228         * importer.C: use buffer signals instead of direct bv calling
5229         * lyx_cb.[Ch] (ShowMessage): removed
5230         * lyx_main.C:
5231         * lyxfunc.C:
5232         * paragraph_funcs.C:
5233         * text2.C: use buffer signals
5234
5235 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5236
5237         * introduce namespace lyx::graphics
5238
5239 2003-07-02  André Pönitz  <poenitz@gmx.net>
5240
5241         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5242
5243 2003-07-01  André Pönitz  <poenitz@gmx.net>
5244
5245         * text.C:
5246         * text2.C:
5247         * text3.C:
5248         * text_funcs.[Ch]:
5249         * textcursor.h:
5250         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5251           text*.C to text_func.C
5252
5253 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5254
5255         * introduce namespace lyx::support
5256
5257 2003-06-30  André Pönitz  <poenitz@gmx.net>
5258
5259         * Chktex.C:
5260         * funcrequest.C:
5261         * lyxtext.h:
5262         * text.C: re-enable --with-included-string
5263
5264 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5265
5266         * textcursor.C: add <config.h>
5267
5268         * text.C (getWord): remove const from word_location arg
5269
5270         * lyxvc.C (getLogFile): fix const type order
5271
5272         * lyxtext.h: remove const from word_location arg, add arg name
5273
5274         * lyxlayout.h: currect type on labeltype.
5275
5276         * importer.C: correct \file
5277
5278         * converter.C (intToFormat): use std:: on ret val, ws changes
5279
5280         * bufferlist.h: correct \file
5281
5282         * buffer.C (makeLinuxDocFile): fix const type order
5283         (makeDocBookFile): ditto
5284         (fillWithBibKeys): use std:: on stdlib args.
5285
5286         * CutAndPaste.C: fix authors.
5287         (availableSelections): use std:: on return vector
5288
5289 2003-06-27  André Pönitz  <poenitz@gmx.net>
5290
5291         * BufferView_pimpl.C:
5292         * bufferview_funcs.C:
5293         * lyxcursor.C:
5294         * lyxcursor.h:
5295         * lyxfunc.C:
5296         * lyxtext.h:
5297         * rowpainter.C:
5298         * text.C:
5299         * text2.C:
5300         * text3.C: remove LyXCursor::row_ member
5301
5302         * lyxtext.h:
5303         * text.C: rename fullRebreak() to partialRebreak() and implement
5304           a fullRebreak() that really bereks fully
5305
5306         * textcursor.h: new struct for cursor-related data
5307
5308 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
5309
5310         * lyx_main.C (LyX): get full path of document loaded on the
5311         command line
5312
5313 2003-06-26  André Pönitz  <poenitz@gmx.net>
5314
5315         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5316           remove unused/broken operator>,<,>=.
5317
5318         *       text.C: remove only use of broken operator<= in an Assert().
5319
5320 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5321
5322         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5323         moved errorlist_.clear to showErrorList
5324
5325 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5326
5327         * converter.C (scanLog, runLaTeX):
5328         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5329         move the bv->showErrorList call to the callers
5330         * lyxfunc.C: i.e. here...
5331         * text2.C: and here
5332         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5333         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5334         namespace, the second to...
5335         * buffer_funcs (BufferFormat, parseErrors): added
5336         * errorlist.C (ErrorList(TeXErrors const &)): removed
5337
5338 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5339
5340         * ToolbarBackend.C (getIcon): complain when icon cannot be found
5341
5342 2003-06-24  "Garst R. Reese" <reese@isn.net>
5343
5344         * debug.C: fix typo
5345
5346 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5347
5348         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5349
5350         * version.C.in: change docversion to 1.4
5351
5352 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
5353
5354         * buffer.C: fix a bug just introduced
5355
5356 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
5357
5358         * buffer.[Ch]: added the parseError signal and use it, removed
5359         sgmlError
5360         * BufferView.[Ch] (addError): moved to ...
5361         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5362         to the Buffer::parseError signal to catch (guess what) parse errors
5363         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5364
5365 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
5366
5367         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5368         ability to create a buffer and to return an existing one from
5369         the list. Moved these functions to...
5370         * buffer_funcs.[Ch]: added
5371         * BufferView.[Ch] (loadLyXFile): added
5372         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5373         job removed from bufferlist::loadLyXFile.
5374         * buffer.C (setReadOnly): make it work without view
5375         (i.e added an if (users))
5376
5377 2003-06-19  Angus Leeming  <leeming@lyx.org>
5378
5379         * lfuns.h:
5380         * LyXAction.C (init):
5381         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5382         with LFUN_DIALOG_SHOW <name> <data>.
5383
5384 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5385
5386         * CutAndPaste.C (availableSelections): small compilation fix for
5387         ancient (gcc 2.9x) compilers
5388
5389 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
5390
5391         * text3.C (cursorNext): add tmp var
5392
5393         * text2.C (updateCounters): for function calling out of for clause
5394         (replaceSelectionWithString): ditto
5395         (insertStringAsParagraphs): ditto
5396         (getColumnNearX): add tmp var
5397         (setCursorFromCoordinates): add tmp var
5398         (cursorDownParagraph): add tmp var
5399         (deleteEmptyParagraphMechanism): add tmp var
5400
5401         * text.C (insertChar): add tmp var
5402
5403         * rowpainter.C (paintDepthBar): add tmp var
5404
5405         * CutAndPaste.C (availableSelections): potentially check all
5406         paragraphs in a cut to fill the shown strings.
5407
5408 2003-06-18  André Pönitz  <poenitz@gmx.net>
5409
5410         * kbmap.[Ch]: use vector<> instead of list<>
5411
5412 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
5413
5414         * text3.C (dispatch): handle arg to LFUN_PASTE, call
5415         pasteSelection with index
5416
5417         * text2.C (pasteSelection): modify, call pasteSelection with index
5418
5419         * paragraph.C (asString): reimplement version with no interval to
5420         call the one with interval.
5421
5422         * lyxtext.h: add index arg to pasteSelection
5423
5424         * MenuBackend.C (MenuItem): handle PasteRecent
5425         (Menu::read::Menutags): add md_pasterecent
5426         (read): handle it
5427         (expandPasteRecent): new function
5428         (expand): use it
5429
5430         * MenuBackend.h: add PasteRecent to MenuItem::Kind
5431
5432         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5433         the limited stack
5434         (availableSelections): new function
5435
5436 2003-06-17  Angus Leeming  <leeming@lyx.org>
5437
5438         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5439
5440 2003-06-17  Angus Leeming  <leeming@lyx.org>
5441
5442         * lfuns.h:
5443         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5444
5445         * lyxfunc.C (dispatch): invoke it.
5446
5447 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5448
5449         * iterators.C (operator++, ParPosition): reintroduce some
5450         const_cast for the benefit of older compilers.
5451
5452 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5453
5454         * text3.C (dispatch): do not modify clipboard when doing
5455         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5456         LFUN_DELETE_SKIP on a selection selection
5457
5458 2003-06-16  André Pönitz  <poenitz@gmx.net>
5459
5460         * BufferView.C:
5461         * buffer.C:
5462         * buffer.h:
5463         * paragraph.C:
5464         * tabular.[Ch]: IU of clone() and getLabelList();
5465
5466 2003-06-13  André Pönitz  <poenitz@gmx.net>
5467
5468         * tabular.h: compactification
5469
5470 2003-06-12  André Pönitz  <poenitz@gmx.net>
5471
5472         * tabular.C:
5473         * tabular.h:
5474         * tabular_funcs.h: some renaming plus whitespace
5475
5476 2003-06-12  André Pönitz  <poenitz@gmx.net>
5477
5478         * BufferView.C:
5479         * BufferView_pimpl.C:
5480         * CutAndPaste.C:
5481         * buffer.C:
5482         * iterators.[Ch]:
5483         * lyxfunc.C:
5484         * text.C:
5485         * toc.C: Return a Paragraph & for ParIterator::operator*()
5486
5487 2003-06-11  John Levon  <levon@movementarian.org>
5488
5489         * lyx_main.C:
5490         * ToolbarBackend.h:
5491         * ToolbarBackend.C: add "Toolbars" section and
5492         put the flags there
5493
5494 2003-06-10  Angus Leeming  <leeming@lyx.org>
5495
5496         * lfuns.h:
5497         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5498
5499         * lyxfunc.C (dispatch): invoke it.
5500
5501 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5502
5503         * main.C: protect <ios> with HAVE_IOS
5504         (main): protect sync_with_stdio with HAVE_IOS
5505
5506 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
5507
5508         * text2.C (cutSelection): adjust
5509         (pasteSelection): adjust
5510
5511         * messages.C: handle get of empty string
5512
5513         * main.C (main): use sync_with_stdio(false)
5514
5515         * lyxfunc.C (dispatch): adjust
5516
5517         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5518         (WriteAs): remove unneeded BufferView arg.
5519
5520         * bufferparams.h: use correct types on papersize, papersize2 and
5521         paperpackage.
5522
5523         * bufferparams.C (readToken): adjust for type
5524         (writeLaTeX): add missing cases to switch.
5525
5526         * bufferlist.C (quitWriteBuffer): adjust
5527         (close): adjust
5528
5529         * buffer.C (asciiParagraph): remove some commented code.
5530
5531         * CutAndPaste.C: remove current_view extern variable.
5532         (cutSelection): add BufferParams arg.
5533         (eraseSelection): add BufferParams arg.
5534         (pasteSelection): add Buffer const & arg
5535
5536 2003-06-07  John Levon  <levon@movementarian.org>
5537
5538         * buffer.C:
5539         * paragraph_funcs.C:
5540         * paragraph_pimpl.C:
5541         * text.C:
5542         * text2.C:
5543         * paragraph.h:
5544         * paragraph.C: allow InsetERT to freely space lines,
5545         and some consolidation of code
5546
5547 2003-06-06  José Matos  <jamatos@fep.up.pt>
5548
5549         * buffer.C (makeDocBookFile): fix bug #821
5550
5551 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
5552
5553         * BufferView_pimpl.C (dispatch): use Dialogs::visible
5554
5555 2003-06-04  Angus Leeming  <leeming@lyx.org>
5556
5557         * buffer.C: bump format to 224.
5558
5559 2003-06-05  André Pönitz  <poenitz@gmx.net>
5560
5561         * text2.C (redoParagraphs): remove two const_cast<>
5562
5563 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5564
5565         * ParagraphList.h: remove last remnants of NO_STD_LIST
5566
5567 2003-06-03  Angus Leeming  <leeming@lyx.org>
5568
5569         * factory.C (createInset): small change to the way InsetExternal's params
5570         are set.
5571
5572 2003-06-04  André Pönitz  <poenitz@gmx.net>
5573
5574         * buffer.h: use Undo directly instead of shared_ptr<Undo>
5575
5576         * paragraph_pimpl.h:
5577         * paragraph.[Ch]: some Inset -> UpdatableInset changes
5578
5579         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5580
5581         * undo_funcs.C: make some simple cases of undo work again
5582
5583 2003-06-03  John Levon  <levon@movementarian.org>
5584
5585         * ispell.C: HPUX doesn't have sys/select.h
5586         (from Albert Chin)
5587
5588 2003-06-03  John Levon  <levon@movementarian.org>
5589
5590         * CutAndPaste.C: update tabular and include inset
5591         buffer references
5592
5593         * buffer.h:
5594         * paragraph.h:
5595         * paragraph.C: remove owningBuffer(), don't pass Buffer
5596         to clone()
5597
5598         * factory.C: insetGraphicsParams changed
5599
5600 2003-06-02  John Levon  <levon@movementarian.org>
5601
5602         * LyXAction.C:
5603         * factory.C:
5604         * lfuns.h:
5605         * lyxfunc.C:
5606         * text3.C: remove insetparent
5607
5608 2003-06-02  John Levon  <levon@movementarian.org>
5609
5610         * buffer.h:
5611         * buffer.C: fix inset_iterator.end(), move out of line
5612         (bug 1149)
5613
5614 2003-06-01  John Levon  <levon@movementarian.org>
5615
5616         * text3.C: use a proper cut/paste when doing inset
5617         insert (from Jürgen Spitzmüller)
5618
5619 2003-06-01  John Levon  <levon@movementarian.org>
5620
5621         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5622
5623 2003-05-30  André Pönitz  <poenitz@gmx.net>
5624
5625         * rowpainter.C: unify second drawing phase
5626
5627 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5628
5629         * trans_mgr.C: remove one case of current_view
5630
5631         * text2.C (cursorBottom): delete NO_STD_LIST stuff
5632
5633         * paragraph_funcs.h: remove paragraph.h include
5634
5635         * paragraph.h: delete NO_STD_LIST stuff
5636
5637         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5638
5639         * buffer.h: remove paragraph.h include
5640
5641         * ParagraphList.C: delete file
5642
5643         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5644
5645         * toc.C (getTocList): adjust
5646
5647         * paragraph_pimpl.C (validate): adjust
5648
5649         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5650
5651         * paragraph.C (Paragraph): adjust
5652         (getPositionOfInset): use const_iterator, adjust
5653         (bibitem): use const_iterator, adjust
5654         (setInsetOwner): adjust
5655
5656         * iterators.C (operator++): adjust
5657
5658         * InsetList.[Ch]: Replace selfmade iterator with standard
5659         vector::iterator also introduce const_iterator. Remove getPos,
5660         getInset and setInset from InsetTable. Adjust accordingly.
5661
5662         * BufferView.C (lockInset): adjust
5663         (ChangeInsets): adjust
5664
5665         * tabular.[Ch]: delete commented same_id functions
5666
5667 2003-05-28  John Levon  <levon@movementarian.org>
5668
5669         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5670
5671 2003-05-28  André Pönitz  <poenitz@gmx.net>
5672
5673         * metricsinfo.[Ch]: remove 'fullredraw' member
5674
5675 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
5676
5677         * lyxtextclass.C (operator): remove caching.
5678
5679 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5680
5681         * text3.C: adjust
5682
5683         * text2.C (cursorBottom): adjust
5684         (setCounter): use ParagraphList::find, adjust
5685
5686         * text.C (workWidth): use ParagraphList::find, adjust
5687
5688         * lyxcursor.C (LyXCursor): adjust
5689
5690         * buffer.C (inset_iterator): adjust
5691
5692         * ParagraphList.h: make iterator(value_type) private, make
5693         ParagraphList a friend of iterator.
5694
5695         * ParagraphList.C (find): new function
5696
5697         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5698
5699 2003-05-27  André Pönitz  <poenitz@gmx.net>
5700
5701         * dimension.[Ch]: a -> asc, d -> des, w -> wid
5702
5703 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5704
5705         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5706
5707 2003-05-26  John Levon  <levon@movementarian.org>
5708
5709         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5710
5711 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5712
5713         * remove same_id from function signatures, adjust.
5714
5715 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5716
5717         * undo_funcs.C (createUndo): use the id functions directly, adjust.
5718
5719         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5720
5721         * paragraph.C (Paragraph): get rid of same_ids parameter
5722
5723         * ParagraphList.C (insert): adjust
5724         (push_back): adjust
5725
5726 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5727
5728         * paragraph_funcs.C (breakParagraph): adjust
5729         (breakParagraphConservative): adjust
5730
5731         * buffer.C (readParagraph): adjust
5732
5733         * ParagraphList.C (insert): take a reference instead of a pointer
5734         (insert): adjust
5735
5736         * paragraph.[Ch] (id): new function
5737
5738         * bufferlist.C (newFile): adjust
5739
5740         * ParagraphList.C (ParagraphList): adjust
5741         (assign): adjust
5742         (push_back): take a reference instead of a pointer.
5743
5744         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5745
5746         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5747         instead.
5748
5749         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5750         set else use old code.
5751
5752         * ParagraphList.C: remove all NO_NEXT code and only compile this
5753         code of NO_STD_LIST is set.
5754
5755 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5756
5757         * BufferView_pimpl.C:
5758         * TextCache.C:
5759         * TextCache.h:
5760         * bufferlist.C:
5761         * errorlist.h:
5762         * format.C:
5763         * format.h:
5764         * graph.C:
5765         * lyxfunc.C:
5766         * lyxrc.C:
5767         * graphics/GraphicsConverter.C:
5768         * graphics/PreviewLoader.C: header adjustment
5769
5770 2003-05-23  Angus Leeming  <leeming@lyx.org>
5771
5772         * LaTeXFeatures.[Ch] (useBabel): new method.
5773         * bufferparams.C (writeLaTeX): use it.
5774
5775 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5776
5777         * ParagraphList.h (set): remove unused function.
5778
5779 2003-05-23  André Pönitz  <poenitz@gmx.net>
5780
5781         * BufferView.C:
5782         * BufferView_pimpl.C:
5783         * buffer.C:
5784         * buffer.h:
5785         * lyxfunc.C:
5786         * undo_funcs.C: setUndo reworked
5787
5788         * iterators.[Ch]: add access to topmost ParagraphList
5789
5790         * lyxtext.[Ch] (workWidth): add a const
5791
5792 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5793
5794         * texrow.[Ch] (increasePos): remove function
5795         * exporter.C (export): removed unused var and outdated comment
5796
5797 2003-05-23  Angus Leeming  <leeming@lyx.org>
5798
5799         * latexrunparams.h: rename fragile as moving_arg.
5800         * paragraph.C (simpleTeXOnePar): ditto.
5801         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5802
5803 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5804
5805         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5806         (createUndo): ditto
5807         (textUndoOrRedo): comment out a currently unused var.
5808
5809         * paragraph.h (NO_NEXT): enable NO_NEXT
5810
5811         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5812
5813         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5814
5815         * exporter.C (Export): adjust for removeAutoInsets removal.
5816
5817         * buffer.C (runChktex): adjust for removeAutoInsets removal.
5818
5819         * LyXAction.C (init): remove LFUN_REMOVEERRORS
5820
5821         * BufferView.[Ch] (removeAutoInsets): delete function
5822
5823 2003-05-22  Angus Leeming  <leeming@lyx.org>
5824
5825         * latexrunparams.h: add a free_spacing variable.
5826
5827         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5828         to pass moving_arg, as the data is stored in runparams.fragile.
5829
5830         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5831         to Inset::latexOptional or to simpleTeXOnePar.
5832
5833         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5834         free_spacing arg to Inset::latexOptional.
5835
5836         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5837         free_spacing arg.
5838
5839 2003-05-22  Angus Leeming  <leeming@lyx.org>
5840
5841         * latexrunparams.h: add fragile and use_babel variables.
5842
5843         * bufferparams.[Ch] (writeLaTeX): return use_babel.
5844         * buffer.C (makeLaTeXFile): store this returned value in
5845         runparams.use_babel, thus passing it to the inset::latex methods.
5846
5847         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5848         simpleTeXSpecialChars as it is now stored in runparams.fragile.
5849
5850         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5851         longer has a fragile arg, as it is stored in runparams.fragile.
5852
5853         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5854         moving_arg parameter as the data is stored in runparams.fragile.
5855
5856         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5857         a fragile parameter as the data is stored in runparams.fragile.
5858
5859 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5860
5861         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5862
5863 2003-05-22  Angus Leeming  <leeming@lyx.org>
5864
5865         * latexrunparams.h: add a 'bool nice' which defaults to false.
5866
5867         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5868         now encapsulated within runparams.
5869
5870         * bufferlist.C (updateIncludedTeXfiles):
5871         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5872
5873 2003-05-22  Angus Leeming  <leeming@lyx.org>
5874
5875         * latexrunparams.h: new file containing struct LatexRunParams.
5876         * Makefile.am: add new file.
5877
5878         * LaTeX.[Ch] (c-tor, run):
5879         * buffer.[Ch] (makeLaTeXFile):
5880         * bufferlist.[Ch] (updateIncludedTeXfiles):
5881         * converter.C (convert, scanLog):
5882         * converter.[Ch] (runLaTeX):
5883         * exporter.C (Export):
5884         * paragraph.[Ch] (simpleTeXOnePar):
5885         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5886         * paragraph_funcs.[Ch] (latexParagraphs):
5887         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5888         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5889         pass around a LatexRunParams parameter.
5890
5891 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5892
5893         * paragraph.[Ch]: remove unused constructor
5894
5895         * ParagraphList.C (erase): new function, taking two iterators
5896
5897 2003-05-22  André Pönitz  <poenitz@gmx.net>
5898
5899         * undo_funcs.C: remove duplicated code
5900
5901         * iterator.[Ch]: operator=
5902
5903 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5904
5905         * tabular.C (SetMultiColumn): ws changes
5906
5907         * rowpainter.C (paintFirst): get rid of a ->previous
5908
5909         * lyx_cb.C (getPossibleLabel): parlist simplification
5910
5911         * BufferView.C (ChangeInsets): simplify slightly.
5912
5913 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
5914
5915         * LyXAction.C: new lfun space-insert, kill protected-space-insert
5916         * lfuns.h: new LFUN_SPACE
5917         * lyxfunc.C: protected space has a new lfun
5918         * paragraph_funcs.C: read new space insets
5919         * text3.C:
5920         * factory.C: handle new space insets
5921
5922 2003-05-22  André Pönitz  <poenitz@gmx.net>
5923
5924         * BufferView.C:
5925         * BufferView_pimpl.C:
5926         * buffer.[Ch]:
5927         * lyxfunc.C:
5928         * undo_funcs.C: return a ParIterator from getParFromID.
5929
5930         * iterators.[Ch]: add two const's
5931
5932 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5933
5934         * toc.C (getTocList): adjust
5935
5936         * iterators.[Ch]: rework for parlist
5937
5938         * buffer.C (par_iterator_begin): adjust
5939         (par_iterator_end): adjust
5940
5941         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5942
5943         * BufferView.C (removeAutoInsets): adjust
5944         (ChangeInsets): adjust
5945
5946 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
5947
5948         * text.C (top_y): fix bug 1110
5949
5950 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
5951
5952         * errorlist.[Ch]: added
5953         * buffer.C:
5954         * BufferView.[Ch]:
5955         * BufferView_pimpl.C:
5956         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5957         instead
5958
5959 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5960
5961         * Makefile.am: ensure that lyx is relinked upon changes to the
5962         various "convenience" libs.
5963
5964 2003-05-20  Angus Leeming  <leeming@lyx.org>
5965
5966         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5967         files are compiled in alphabetical order again.
5968
5969         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5970
5971 2003-05-19  Angus Leeming  <leeming@lyx.org>
5972
5973         * gettext.[Ch]: remove "char const * _(char const *)".
5974
5975 2003-05-19  André Pönitz  <poenitz@gmx.net>
5976
5977         * dimension.[Ch]: promote from mathed/dimension.[Ch]
5978
5979         * Makefile.am:
5980         * BufferView.C:
5981         * DepTable.h:
5982         * LaTeXFeatures.C:
5983         * buffer.C:
5984         * lyxfont.C:
5985         * lyxlex.h:
5986         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5987
5988 2003-05-19  André Pönitz  <poenitz@gmx.net>
5989
5990         * buffer.C:
5991         * lyxlayout.[Ch]:
5992         * lyxtextclass.[Ch]:
5993         * paragraph.C:
5994         * paragraph_funcs.[Ch]:
5995         * text2.C:
5996         * text3.C: more insetenv work
5997
5998 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
5999
6000         * ParagraphParameters.C (params2string): small bug fixed
6001
6002 2003-05-16  André Pönitz  <poenitz@gmx.net>
6003
6004         * debug.C:
6005         * bufferview_funcs.C: patch from Kornel Benko to prevent
6006           crash when _(...) is called twice in a statement
6007
6008 2003-05-16  André Pönitz  <poenitz@gmx.net>
6009
6010         * BufferView.C:
6011         * lyxfunc.C:
6012         * text.C:
6013         * text2.C:
6014         * text3.C:
6015         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6016
6017 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
6018
6019         * lyx_main.C (init): remove spurious static_cast
6020
6021 2003-05-14  André Pönitz  <poenitz@gmx.net>
6022
6023         * BufferView.C: fix format string
6024
6025 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
6026
6027         * BufferView.[Ch] (insertErrors): removed
6028         * BufferView.[Ch] (showErrorList): added
6029         * buffer.C (runChkTeX):
6030         * converter.C (scanLog): call showErrorList instead of inserterrors
6031
6032 2003-05-13  André Pönitz  <poenitz@gmx.net>
6033
6034         * BufferView_pimpl.C:
6035         * buffer.C:
6036         * bufferview_func.C:
6037         * MenuBackend.C:
6038         * lyxfunc.C:
6039         * lyxrc.C:
6040         * tex-accent.C:
6041         * text3.C:
6042         * toc.C:
6043         * tabular_funcs.h: tostr() from its own header
6044
6045         * ParagraphParameters.C:
6046         * ToolbarBackend.C:
6047         * bufferparams.C:
6048         * format.C:
6049         * lyxlex_pimpl.C:
6050         * text3.C: STRCONV()
6051
6052 2003-05-12  André Pönitz  <poenitz@gmx.net>
6053
6054         * BufferView.C:
6055         * BufferView_pimpl.C:
6056         * CutAndPaste.C:
6057         * LaTeX.C:
6058         * LaTeXFeatures.C:
6059         * ParagraphParameters.C:
6060         * buffer.C:
6061         * bufferlist.C:
6062         * bufferparams.C:
6063         * bufferview_funcs.C:
6064         * converter.C:
6065         * counters.C:
6066         * debug.C:
6067         * exporter.C:
6068         * format.C:
6069         * importer.C:
6070         * lyx_cb.C:
6071         * lyx_main.C:
6072         * lyxfont.C:
6073         * lyxfunc.C:
6074         * lyxvc.C:
6075         * paragraph.C:
6076         * paragraph_funcs.C:
6077         * tabular.C:
6078         * tabular_funcs.C:
6079         * text2.C:
6080         * text3.C:  boost::format -> bformat  all over the place
6081
6082
6083 2003-05-09  André Pönitz  <poenitz@gmx.net>
6084
6085         * LColor.[Ch]: Pimpl the #include <map> away
6086
6087 2003-05-09  John Levon  <levon@movementarian.org>
6088
6089         * bufferlist.C: never remove emergency saves
6090
6091 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6092
6093         * Makefile.am: better lib building
6094
6095 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
6096
6097         * texrow.[Ch]: remove dependency on Paragraph and just store a id
6098         instead.
6099         * paragraph_pimpl.C (simpleTeXBlanks): adjust
6100         (simpleTeXSpecialChars): adjust
6101         (simpleTeXSpecialChars): adjust
6102         * paragraph.C (simpleTeXOnePar): adjust
6103         * buffer.C (makeLaTeXFile): adjust
6104
6105         * Makefile.am (BOOST_LIBS): allow boost as system lib.
6106
6107         * text2.C (changeDepth): parlist cleanup
6108         (getColumnNearX): ditto
6109
6110         * rowpainter.C (getLabelFont): parlist cleanup
6111
6112         * bufferlist.C (newFile): parlist cleanup
6113
6114         * CutAndPaste.C (eraseSelection): parlist cleanup
6115
6116         * BufferView_pimpl.C (trackChanges): parlist cleanup
6117         (dispatch): ditto
6118
6119         * BufferView.C (lockInset): parlist cleanup.
6120         (ChangeInsets): ditto
6121
6122 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6123
6124         * CutAndPaste.h: Update file header.
6125
6126         * CutAndPaste.C: Update file header.
6127         Store the parts cut out of the Document in a limited_stack.
6128         (copySelection): adjust
6129         (pasteSelection): new function, takes the index in the limited stack.
6130         (nrOfParagraphs): adjust
6131         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6132         simplify error inset insertion.
6133         (checkPastePossible): adjust
6134
6135 2003-05-06  John Levon  <levon@movementarian.org>
6136
6137         * text2.C: don't cast wrap inset to float
6138
6139 2003-05-05  André Pönitz  <poenitz@gmx.net>
6140
6141         * iterator.C:
6142         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6143
6144         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6145           few naked Paragraph *.
6146
6147 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
6148
6149         * bufferparams.C: Output warning if a document with missing
6150         TeX document class is loaded
6151         * exporter.C: Disable TeX exports if the document class is missing
6152         * lyxtextclass.C:
6153         * lyxtextclass.h:
6154         * lyxtextclasslist.C: Handle new textclass.lst format; new method
6155         isTeXClassAvailable()
6156
6157 2003-05-03  John Levon  <levon@movementarian.org>
6158
6159         * BufferView.h:
6160         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6161         explicit cursor show/hide
6162
6163         * BufferView_pimpl.h:
6164         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6165         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6166
6167         * lyxfunc.C: hide cursor before dispatching.
6168
6169         * lyx_cb.C:
6170         * lyxfind.C:
6171         * text.C:
6172         * text3.C: remove explicit cursor hides
6173
6174 2003-05-02  André Pönitz  <poenitz@gmx.net>
6175
6176         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6177
6178         * undo_funcs.C:
6179         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6180           linked lists
6181
6182         * text2.C: tiny whitespace
6183
6184 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6185
6186         * undo_funcs.C: almost only ws changes.
6187
6188         * ParagraphList.C (splice): just return if pl is empty.
6189
6190 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6191
6192         * ParagraphList.C (splice): new function.
6193
6194         * CutAndPaste.C (pasteSelection): use it
6195
6196 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6197
6198         * CutAndPaste.C (pasteSelection): remove the last next and
6199         previous from this file.
6200
6201 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6202
6203         * CutAndPaste.C (pasteSelection): more clean up, user proper
6204         ParagraphList functions for pasteing.
6205
6206         * ParagraphList.C (insert): new function, three arg insert
6207
6208 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6209
6210         * ParagraphList.C (insert): new function, three arg insert
6211
6212         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6213         not on paragraphs.
6214
6215 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6216
6217         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6218
6219 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6220
6221         * CutAndPaste.C (pasteSelection): remove some unneeded code.
6222
6223 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6224
6225         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6226         (copySelection): clean up a bit.
6227         (pasteSelection): use make_pair
6228
6229         * ParagraphList.C (ParagraphList): implement copy constructor
6230         (operator=): implement, base on copy constructor.
6231         (assign): new func
6232
6233         * paragraph.C (erase): return a bool
6234
6235         * paragraph_pimpl.C (erasePos): remove function, move contents...
6236         (erase): ... here. Return a bool.
6237         (erase): call erase instead of erasePos.
6238
6239 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
6240
6241         * ParagraphList.h: define PitPosPair
6242         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6243         ParagraphList, fix a bug on pasting multiple pars
6244         * text2.C: change interface to C&P
6245
6246 2003-04-30  André Pönitz  <poenitz@gmx.net>
6247
6248         * undo_func.C: revert part of yesterday's patch 2
6249
6250 2003-04-30  John Levon  <levon@movementarian.org>
6251
6252         * LColor.C: s/tabular/table/
6253
6254 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6255
6256         * text3.C (dispatch): do not convert iterator -> pointer
6257         * undo_funcs.C (setCursorParUndo): ditto
6258         * text_funcs.C (transposeChars): ditto
6259
6260         * text2.C (setLayout): ws changes only
6261
6262         * text.C (breakParagraph): do not convert iterator -> pointer
6263         (insertChar): ditto
6264         (acceptChange): ditto
6265         (rejectChange): ditto
6266         (changeCase): ditto
6267         (Delete): ditto
6268         (backspace): ditto
6269
6270         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6271         pointer
6272
6273 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6274
6275         * text3.C (gotoInset): YABG (yet another bad getChar)
6276
6277 2003-04-29  André Pönitz  <poenitz@gmx.net>
6278
6279         * paragraph.h: make operator= private unimplemented as long as
6280           it is unusable
6281
6282         * ParagraphList.C: whitespace
6283
6284         * paragraph.[Ch]:
6285         * paragraph_pimpl.[Ch]:
6286         * paragraph_funcs.C:
6287         * CutAndPaste.C:
6288         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
6289
6290         * text2.C:
6291           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6292
6293 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6294
6295         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6296         * paragraph.[Ch] (erase):
6297         * paragraph_pimpl.[Ch] (erase): change return type and value
6298         * text2.C (cutSelection): some rework
6299
6300 2003-04-28  John Levon  <levon@movementarian.org>
6301
6302         * bufferlist.C: changes for unsaved changes dialog
6303
6304 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6305
6306         * bufferlist.C (newFile): set language (messages_) for new
6307         documents also.
6308
6309         * buffer.C (readFile): ws changes only.
6310
6311 2003-04-28  André Pönitz  <poenitz@gmx.net>
6312
6313         * undo_funcs.C:
6314         * lyxfunc.C:
6315         * buffer.[Ch]:
6316         * BufferView_pimpl.C:
6317         * BufferView.C: getParFromID related ParagraphList::iterator changes
6318
6319 2003-04-28  André Pönitz  <poenitz@gmx.net>
6320
6321         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6322           Changes
6323
6324 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6325
6326         * messages.C: remove one more localedir class variable.
6327
6328 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6329
6330         * messages.C (getLocaleDir): singleton generation function
6331         (Pimpl): use it.
6332         (Messages): add a default constructor.
6333
6334         * main.C (main): do not setup localedir here, do not call
6335         gettext_init.
6336
6337         * gettext.C (_): use it.
6338         (gettext_init): delete funciton
6339
6340 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6341
6342         * gettext.C (getLyXMessages): new singleton generating function.
6343
6344         * buffer.C (updateDocLang): adjust
6345
6346         * Makefile.am (messages.o): add target
6347         (main.o): remove target
6348
6349 2003-04-27  John Levon  <levon@movementarian.org>
6350
6351         * bufferlist.C:
6352         * lyx_cb.C:
6353         * lyxfunc.C:
6354         * lyxvc.C: specify cancel button in Alert::prompt
6355
6356 2003-04-26  John Levon  <levon@movementarian.org>
6357
6358         * text3.C:
6359         * lyxfunc.C:
6360         * lfuns.h:
6361         * LyXAction.C: add LFUN_INSET_SETTINGS
6362
6363         * lyxfunc.C: don't enable tabular-feature when there's
6364         just any locking inset
6365
6366 2003-04-26  John Levon  <levon@movementarian.org>
6367
6368         * bufferlist.C: re-add Cancel to buffer close question
6369
6370         * lyxfunc.C: fix import UI a bit
6371
6372 2003-04-25  John Levon  <levon@movementarian.org>
6373
6374         * gettext.C: remove the broken asserts for now
6375
6376 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6377
6378         * messages.C: make case where setlocale cannot comply work better.
6379
6380         * buffer.C (updateDocLang): new function
6381         (changeLanguage): use it
6382         (readFile): use it
6383
6384         * text2.C (setCounter): use B_ a bit.
6385
6386         * lyxlayout.C (Read): be sure to trim the label strings.
6387
6388         * messages.C (Messages): fix typo in comment
6389
6390         * buffer.C (readFile): set message_ after file is loaded.
6391         (makeDocBookFile): remove double return
6392         (changeLanguage): reset message_ upon language change.
6393         (B_): new func, use this to get translated buffer strings.
6394
6395         * main.C: add myself and Jean Marc as authors.
6396
6397 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6398
6399         * messages.[hC]: pimplify Messages, and three different pimpls to be
6400         used in different circumstances.
6401
6402         * gettext.[Ch]: change for use with new message code.
6403
6404 2003-04-24 André Pönitz <poenitz@gmx.net>
6405
6406         * factory.C: support for eqref
6407
6408 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6409
6410         * messages.[Ch]: add missing char
6411
6412         * Makefile.am (lyx_SOURCES): add messages.[Ch]
6413
6414         * messages.[Ch]: New files
6415
6416 2003-04-18  John Levon  <levon@movementarian.org>
6417
6418         * BufferView.h:
6419         * BufferView.C:
6420         * BufferView_pimpl.C:
6421         * lfuns.h:
6422         * LyXAction.C:
6423         * lyxtext.h:
6424         * text2.C: remove layout-copy/paste (bug 778)
6425
6426 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6427
6428         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6429
6430 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6431
6432         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6433         if they succeed. Act accordingly.
6434
6435 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6436
6437         * text2.C (setCharFont): adjust
6438         (setCounter): adjust
6439         (insertStringAsLines): adjust
6440
6441         * text.C (leftMargin): adjust
6442         (setHeightOfRow): adjust
6443
6444         * rowpainter.C (paintFirst): adjust
6445         (paintLast): adjust
6446
6447         * paragraph_funcs.C (depthHook): ParagraphList::iterators
6448         (outerHook): ditto
6449         (isFirstInSequence): ditto
6450         (getEndLabel): ditto
6451         (outerFont): adjust
6452
6453         * paragraph.C (getParLanguage): comment out some hard stuff.
6454
6455         * buffer.C (insertStringAsLines): take a ParagraphList as arg
6456         (sgmlError): ditto
6457         (simpleDocBookOnePar): ditto
6458         (makeDocBookFile): use ParagraphList::iterator
6459
6460         * CutAndPaste.C (pasteSelection): adjust
6461
6462 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6463
6464         * text2.C (getFont): adjust
6465         (getLayoutFont): adjust
6466         (getLabelFont): adjust
6467
6468         * paragraph_funcs.C (TeXOnePar): adjust
6469
6470         * buffer.C (simpleLinuxDocOnePar): adjust
6471         (simpleDocBookOnePar): adjust
6472
6473         * CutAndPaste.C (pasteSelection): adjust
6474
6475         * BufferView.C (getEncoding): adjust
6476
6477         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6478
6479 2003-04-16  John Levon  <levon@movementarian.org>
6480
6481         * lyxfind.C: use parlist stuff for search/changes
6482
6483 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6484
6485         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6486
6487         * text2.C (deleteEmptyParagraphMechanism): adjust
6488
6489         * text2.[Ch] (ownerParagraph): delete func (both of them
6490
6491 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6492
6493         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6494
6495 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6496
6497         * ParagraphList.C: prepare for NO_NEXT
6498
6499 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6500
6501         * text2.C (getFont): adjust
6502         (getLayoutFont): adjust
6503         (getLabelFont): adjust
6504
6505         * paragraph.C (getFont): adjust
6506         (getLabelFont): adjust
6507         (getLayoutFont): adjust
6508
6509         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6510
6511 2003-04-15  John Levon  <levon@movementarian.org>
6512
6513         From Angus Leeming
6514
6515         * lyx_main.C: handle Include in .ui files
6516
6517 2003-04-15  John Levon  <levon@movementarian.org>
6518
6519         * MenuBackend.C: make the doc files length shorter
6520
6521         * ToolbarBackend.h:
6522         * ToolbarBackend.C: handle toolbar placement flags,
6523         Minibuffer
6524
6525 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6526
6527         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6528         adjust
6529
6530         * paragraph_funcs.C (TeXOnePar): adjust
6531
6532         * paragraph.C (getLabelFont): add outerfont arg, adjust
6533         (getLayoutFont): ditto
6534         (simpleTeXOnePar): adjust
6535
6536         * paragraph_pimpl.C (realizeFont): delete func
6537
6538 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
6539
6540         * text2.C (beforeFullRowInset): added a bad getchar check, removed
6541         row argument, constify cur argument.
6542
6543 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6544
6545         * text2.C (getFont): adjust
6546         (getLayoutFont): adjust
6547         (getLabelFont): adjust
6548
6549         * paragraph_funcs.C (TeXOnePar): adjust
6550         (outerFont): new func...
6551         (realizeFont): ...moved out from here, changed this to facilitate
6552         transition
6553
6554         * paragraph.C (getFont): take outerfont as arg, adjust
6555         (simpleTeXOnePar): add outerfont arg, adjust
6556
6557         * buffer.C (simpleLinuxDocOnePar): adjust
6558         (simpleDocBookOnePar): adjust
6559
6560         * CutAndPaste.C (pasteSelection): adjust
6561
6562         * BufferView.C (getEncoding): adjust
6563
6564 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6565
6566         * text2.C (setCharFont): adjust
6567         (setCounter): adjust
6568
6569         * text.C (leftMargin): adjust
6570         (setHeightOfRow): adjust
6571
6572         * rowpainter.C (paintFirst): adjust
6573         (paintLast): adjust
6574
6575         * paragraph_pimpl.C (realizeFont): adjust
6576
6577         * paragraph.C (isFirstInSequence): move from here...
6578         * paragraph_funcs.C (isFirstInSequence): ...to here
6579
6580         * paragraph.C (outerHook): move from here...
6581         * paragraph_funcs.C (outerHook): ...to here
6582
6583         * paragraph.C (depthHook): move from here...
6584         * paragraph_funcs.C (depthHook): ...to here
6585
6586         * paragraph.C (getEndLabel): move from here...
6587         * paragraph_funcs.C (getEndLabel): ...to here
6588
6589         * text2.C (realizeFont): move from here...
6590         * paragraph_funcs.C (realizeFont): ...to here
6591
6592 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6593
6594         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6595
6596 2003-04-14  Angus Leeming  <leeming@lyx.org>
6597
6598         * LColor.[Ch]: scrap LColor mathcursor.
6599
6600 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6601
6602         * lyxlex.[Ch] (text): delete function
6603         * trans.C (Load): adjust
6604         * paragraph_funcs.C (readParToken): adjust
6605
6606 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6607
6608         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6609         vector<char> instead of a char[].
6610
6611         * lyxlex_pimpl.C (getString): adjust
6612         (next): adjust
6613         (lex): use getString
6614         (eatLine): adjust
6615         (nextToken): adjust
6616
6617         * lyxlex.C (text): use pimpl_->getString()
6618         (getBool): ditto
6619         (findToken): ditto
6620
6621 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6622
6623         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6624         (makeFontEntriesLayoutSpecific): temp var for par.size()
6625         (setLayout): temp var for ownerParagraphs().end()
6626         (fullRebreak): temp var for rows().end()
6627         (selectionAsString): temp var for boost::next(startpit), realize
6628         that the while really is a regular for loop.
6629         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6630         setCursor in one place.
6631         (setParagraph): temp vr for ownerParagraphs().end()
6632         (updateCounters): make the while loop a for loop
6633         (cutSelection): temp var for ownerParagraphs().end()
6634         (updateInset): make the do {} while() a regular for loop
6635         (getCursorX): use temp vars
6636         (setCurrentFont): use temp vars
6637         (getColumnNearX): use temp vars
6638
6639 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6640
6641         * text.C (transformChar): use temp var for getChar
6642         (computeBidiTables): use temp var for row->par()
6643         (fill): move temp vars for row->par() and pit->layout() earlier in
6644         the function.
6645         (labelFill): use temp var for row->par()
6646         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6647         asc and desc, realize that pit never changes and that firstpit is
6648         just a duplicate and not needed. Exchange rit->par() with pit in a
6649         lot of places.
6650         (breakAgain): use a temp var for boost::next(rit)
6651         (breakAgainOneRow): ditto
6652         (breakParagraph): use a temp var for rows().begin()
6653         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6654         (cursorRightOneWord): use temp var for cursor.par() and
6655         cursor.pos(), remove usage of tmpcursor.
6656         (cursorLeftOneWord): use temp var for cursor.par() and
6657         cursor.pos() only set cur at end of function.
6658
6659 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6660
6661         * text.C, text2.C: exchange all usage of Paragraph::next with
6662         boost::next(ParagraphList::iterator)
6663
6664         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6665
6666         * text2.C (cursorTop): simplify implementation
6667         (cursorBottom): ditto
6668         (setParagraph): use ParagraphList::iterator
6669         (setCurrentFont): adjust
6670         (getColumnNearX): adjust
6671         (cursorRight): adjust
6672         (cursorLeft): remove usage of Paragraph::previous
6673         (cursorUpParagraph): ditto
6674         (deleteEmptyParagraphMechanism): slight cleanup
6675
6676         * text.C (isBoundary): take a Paragraph const & instead of a
6677         pointer as arg.
6678         (addressBreakPoint): ditto
6679         (leftMargin): remove usage of Paragraph::previous.
6680         (setHeightOfRow): ditto
6681         (cursorLeftOneWord): ditto
6682         (selectNextWordToSpellcheck): ditto
6683         (Delete): ditto
6684         (backspace): ditto
6685         (breakParagraph): remove one usage of Paragraph::next
6686         (redoParagraph): ditto
6687         (acceptChange): ditto
6688         (insertChar): adjust
6689         (rowBreakPoint): adjust
6690
6691         * bufferview_funcs.C (toggleAndShow): adjust
6692
6693 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
6694
6695         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6696         methods to access it.
6697         * lyxtext.h:
6698         * text.C: Added updateRowPositions to compute all row positions.
6699         Make top_y and getRowNearY() to use the cached y position
6700
6701 2003-04-11  John Levon  <levon@movementarian.org>
6702
6703         * text.C (rowBreakPoint): reintroduce the labelEnd
6704         checks, code copied from the row fill stuff. Deep voodoo.
6705
6706         * text.C (fill): add a comment and debugging for the
6707         next poor soul.
6708
6709 2003-04-11  John Levon  <levon@movementarian.org>
6710
6711         * text.C: make sure fullrow insets get wrapped to the next line,
6712         even when they're in a manual label
6713
6714 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6715
6716         * text2.C (insertParagraph): make it take ParagraphList::iterator
6717         as arg.
6718         (setLayout): make it return ParagraphList::iterator
6719         (redoParagraphs): ditto
6720         (setCounter): ditto
6721         (checkParagraph): ditto
6722
6723         * text.C (getRow): make getrow take ParagraphList::iterator as arg
6724
6725         * text2.C: adjust several funcs.
6726         (realizeFont): take a ParagraphList::iterator as arg.
6727         (getLayoutFont): ditto
6728         (getLabelFont): ditto
6729         (setCharFont): ditto
6730
6731         * text.C: adjust several funcs.
6732
6733 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6734
6735         * text.C (selectNextWordToSpellcheck): don't accidentally
6736         skip insets
6737
6738 2003-04-10  John Levon  <levon@movementarian.org>
6739
6740         * ToolbarBackend.C (getIcon): special handling for
6741         LFUN_MATH_DELIM
6742
6743 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6744
6745         * text2.C (cursorRight): a getChar assert fixed
6746
6747 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6748
6749         * text2.C (getFont): change to take a ParagraphList::iterator
6750         instead of Paragraph*
6751         Adjust several functions.
6752
6753         * text.C (transformChar): change to take a ParagraphList::iterator
6754         instead of Paragraph*
6755         (singleWidth): ditto
6756         Adjust several functions.
6757
6758         * rowpainter.C: adjust several functions
6759         * rowpainter.h:store a ParagraphList::iterator and not a
6760         Paragraph&.
6761
6762
6763 2003-04-09  John Levon  <levon@movementarian.org>
6764
6765         * lyxfunc.C:
6766         * lfuns.h:
6767         * LyXAction.h:
6768         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6769         and the "help" bits as well
6770
6771 2003-04-09  John Levon  <levon@movementarian.org>
6772
6773         * ToolbarBackend.h:
6774         * ToolbarBackend.C: allow multiple toolbars
6775
6776 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6777
6778         * undo_funcs.C (setCursorParUndo): adjust
6779
6780         * text_funcs.C (transposeChars): adjust
6781
6782         * text3.C (gotoNextInset): adjust
6783         (dispatch): adjust
6784
6785         * text2.C (setLayout): adjust
6786         (changeDepth): adjust
6787         (setFont): adjust
6788         (redoParagraphs): adjust
6789         (selectionAsString): adjust
6790         (setParagraph): adjust
6791         (insertInset): adjust
6792         (cutSelection): adjust
6793         (copySelection): adjust
6794         (pasteSelection): adjust
6795         (insertStringAsLines): adjust
6796         (updateInset): adjust
6797         (setCursor): change to take a ParagraphList::iterator parameter
6798         (setCursorIntern): change to take a ParagraphList::iterator parameter
6799         (setCurrentFont): adjust
6800         (cursorLeft): adjust
6801         (cursorRight): adjust
6802         (deleteEmptyParagraphMechanism): adjust
6803
6804         * text.C (breakParagraph): adjust
6805         (insertChar): adjust
6806         (acceptChange): adjust
6807         (rejectChange): adjust
6808         (selectNextWordToSpellcheck): adjust
6809         (changeCase): adjust
6810         (Delete): adjust
6811         (backspace): adjust
6812
6813         * lyxfind.C (SearchForward): adjust
6814         (SearchBackward): adjust
6815         (nextChange): adjust
6816
6817         * lyxcursor.C (par): adjust
6818
6819         * lyxcursor.h: store a ParagraphList::iterator instead of a
6820         Paragraph*
6821
6822         * lyx_cb.C (getPossibleLabel): adjust
6823
6824         * bufferview_funcs.C (toggleAndShow): adjust
6825
6826         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6827         (dispatch): adjust
6828
6829         * BufferView.C (removeAutoInsets): adjust
6830         (lockedInsetStoreUndo): adjust
6831
6832 2003-04-09  John Levon  <levon@movementarian.org>
6833
6834         * ToolbarBackend.C: try icon without argument
6835         if with argument fails
6836
6837 2003-04-08  John Levon  <levon@movementarian.org>
6838
6839         * ToolbarBackend.h:
6840         * ToolbarBackend.C: add getIcon(), handle tooltip,
6841         and change from "Icon" to "Item".
6842
6843 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6844
6845         * BufferView.C (lockInset): another bad getchar crunched
6846
6847 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6848
6849         * text2.C (changeDepth): do not setUndo on test_only (make undo work
6850         again)
6851
6852 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
6853
6854         * lyxfind.C (searchForward, searchBackwards): bug 782
6855
6856 2003-04-07  John Levon  <levon@movementarian.org>
6857
6858         * paragraph.C: remove dead comment
6859
6860         * text.C: remove troublesome depth-fiddling code
6861         in leftMargin() and rightMargin() (bug 1017)
6862
6863         * text.C: fix breaking of rows in nested lists
6864         (bug 1004)
6865
6866         * text2.C (updateCounters): fix up depth values
6867         (bug 1013)
6868
6869 2003-04-07  John Levon  <levon@movementarian.org>
6870
6871         * BufferView_pimpl.C: clear message when doc finishes resizing,
6872         and after a mouse event
6873
6874         * lyxfunc.C: clear message after exiting inset
6875
6876 2003-04-07  John Levon  <levon@movementarian.org>
6877
6878         * bufferview_funcs.C: show math status not outside
6879         status in the statusbar
6880
6881 2003-04-07  John Levon  <levon@movementarian.org>
6882
6883         * lyxfunc.C: note status changed after a depth change
6884
6885 2003-04-04  Angus Leeming  <leeming@lyx.org>
6886
6887         * LaTeX.h: move AuxInfo operator==, != out of line.
6888         Remove LaTeX virtual destructor; nothing derives from it.
6889         Move operator()() out of public area and rename it startscript().
6890         Change protected for private.
6891
6892 2003-04-04  Angus Leeming  <leeming@lyx.org>
6893
6894         * lyxfunc.C:
6895         * text2.C: remove unneeded #includes.
6896
6897 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6898
6899         * text2.C (dEPM): fix the heigth of the next row
6900
6901 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6902
6903         * text.C: squashed an invalid getChar requester + some ws changes
6904
6905 2003-04-03  John Levon  <levon@movementarian.org>
6906
6907         * bufferview_funcs.h:
6908         * bufferview_funcs.C:
6909         * lyxfunc.C:
6910         * lyxtext.h:
6911         * text2.C: make getStatus work for the env depth lfuns
6912
6913 2003-04-03  John Levon  <levon@movementarian.org>
6914
6915         * bufferview_funcs.h:
6916         * bufferview_funcs.C:
6917         * lyxfunc.C:
6918         * lyxtext.h:
6919         * text2.C: parlistize decDepth(), by merging it with incDepth()
6920
6921 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6922
6923         * lyxrow.h: store a ParagraphList::iterator instead of a
6924         Paragraph* and adjust other class functions to suit.
6925
6926         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6927         above.
6928
6929 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6930
6931         * text2.C (setCursor): do not anchor to cursor row for the time being
6932
6933 2003-04-02  John Levon  <levon@movementarian.org>
6934
6935         * LyXAction.C:
6936         * lfuns.h:
6937         * lyx_main.C:
6938         * lyxtext.h:
6939         * text.C:
6940         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6941
6942 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6943
6944         * paragraph.h: make ParagraphList and ParagraphList::iterator
6945         friends of Paragraph.
6946
6947         * buffer.C (makeLinuxDocFile): move towards ParagraphList
6948
6949         * ParagraphList.C: Use the private next_ and previous_ from
6950         Paragraph.
6951
6952 2003-04-01  John Levon  <levon@movementarian.org>
6953
6954         * ToolbarBackend.h:
6955         * ToolbarBackend.C:
6956         * Makefile.am: rename, remove defaults gunk
6957
6958         * MenuBackend.h:
6959         * MenuBackend.C: remove defaults gunk
6960
6961         * Languages.h:
6962         * Languages.C: remove defaults gunk
6963
6964         * lyx_main.h:
6965         * lyx_main.C: error out if files couldn't be found.
6966
6967 2003-04-02  John Levon  <levon@movementarian.org>
6968
6969         * text2.C: make incDepth() use parlist
6970
6971 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6972
6973         * undo_funcs.C (firstUndoParagraph): adjust
6974
6975         * text3.C (gotoInset): adjust
6976         (dispatch): adjust, and rewrite loop.
6977
6978         * text2.C (init): adjust, and rewrite loop.
6979         (redoParagraphs): adjust
6980         (updateInset): adjust, and rewrite loop.
6981         (deleteEmptyParagraphMechanism): adjust
6982
6983         * tabular.C (LyXTabular): adjust
6984         (SetMultiColumn): adjust
6985         (TeXRow): adjust
6986
6987         * lyxtext.[Ch] (ownerParagraph): delete function
6988         (ownerParagraphs): new function returns a ParagraphList.
6989
6990         * BufferView.C (removeAutoInsets): adjust
6991         (insertErrors): adjust
6992         (setCursorFromRow): adjust
6993
6994 2003-04-01  Angus Leeming  <leeming@lyx.org>
6995
6996         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6997         in the frontends.
6998
6999 2003-04-02  John Levon  <levon@movementarian.org>
7000
7001         * lyxtext.h:
7002         * text.C:
7003         * Makefile.am:
7004         * text_funcs.h:
7005         * text_funcs.C: make transposeChars a free function
7006
7007         * lyxrow_funcs.C: remove wrong comment
7008
7009 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7010
7011         * lyxtext.h: adjust
7012         * rowpainter.C: adjust
7013         * text.C: adjust
7014         * text2.C: adjust
7015         * text3.C: adjust
7016
7017         * lyxrow_funcs. [Ch]: new files
7018
7019         * lyxrow.[Ch]: remove next and previous pointers
7020         (next,previous): remove accessor functions
7021         (isParEnd): move to lyxrow_funcs
7022         (lastPos): move to lyxrow_funcs
7023         (nextRowIsAllInset): move to lyxrow_funcs
7024         (lastPrintablePos): move to lyxrow_funcs
7025         (numberOfSeparators): move to lyxrow_funcs
7026         (numberOfHfills): move to lyxrow_funcs
7027         (numberOfLabelHfills): move to lyxrow_funcs
7028         (hfillExpansion): move to lyxrow_funcs
7029
7030         * lyxfunc.C: adjust
7031
7032         * bufferview_funcs.C (toggleAndShow): adjust
7033
7034         * RowList.h: Remove class RowList from file leave just a
7035         std::list<Row>.
7036
7037         * RowList.C: delete file
7038
7039         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7040         and lyxrow_funcs.h
7041
7042 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7043
7044         * text3.C (cursorPrevious): adjust
7045         (cursorNext): adjust
7046         (dispatch): adjust
7047
7048         * text2.C (redoHeightOfParagraph): adjust
7049         (redoDrawingOfParagraph): adjust
7050         (setCursor): adjust
7051
7052         * text.C (breakParagraph): adjust
7053         (insertChar): adjust
7054         (backspace): adjust
7055
7056         * rowpainter.C (RowPainter): adjust
7057         (leftMargin): simplify and adjust
7058         (most rowpainter functions): adjust.
7059
7060         * rowpainter.h: store the row as RowList::iterator not as Row*
7061
7062         * lyxcursor.C (row): taka RowList::iterator as arg
7063         (irow): ditto
7064
7065         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7066         of Row*.
7067
7068 2003-04-01  Angus Leeming  <leeming@lyx.org>
7069
7070         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7071         stuff like bool Bool.
7072
7073 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7074
7075         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7076         rewrite a loop
7077
7078 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7079
7080         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7081         RowList::iterator.
7082
7083         * lyxtext.h (rows): drop one version and leve a const variant that
7084         returns a RowList::iterator.
7085
7086 2003-03-31  Angus Leeming  <leeming@lyx.org>
7087
7088         * text.C (fill): ensure that the signature is the same as that in the
7089         header file.
7090
7091 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
7092
7093         * text2.C (redoParagraphs): adjust
7094         (updateCounters): adjust
7095         (checkParagraph): adjust
7096         (getColumnNearX): adjust and reformat a bit.
7097
7098         * text.C (top_y): adjust
7099         (workWidth): adjust
7100         (leftMargin): adjust
7101         (prepareToPrint): adjust
7102         (getRow): adjust
7103         (getRowNearY): adjust
7104
7105         * lyxtext.h: make rowlist_ mutable.
7106
7107         * RowList.h: add const_iterator
7108         * RowList.C: adjust for RowList::const_iterator.
7109
7110         * text2.C (getCursorX): make it take a RowList::iterator as arg,
7111         adjust.
7112
7113 2003-03-31  John Levon  <levon@movementarian.org>
7114
7115         * lyxrc.h:
7116         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7117
7118         * lyx_main.C: set default fonts from using lyx_gui funcs
7119
7120         * exporter.C: pdf_mode moved from lyxrc
7121
7122         * lyx_cb.C:
7123         * lyxfunc.C: changes from above
7124
7125 2003-03-31  John Levon  <levon@movementarian.org>
7126
7127         * lyx_main.C: fix to the last fix
7128
7129 2003-03-31  John Levon  <levon@movementarian.org>
7130
7131         * bufferlist.C: "Load original" -> "Load Original"
7132
7133         * converter.C:
7134         * exporter.C:
7135         * importer.C:
7136         * lyx_main.C:
7137         * format.C: more Alert cleanups
7138
7139 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7140
7141         * text2.C (removeParagraph): make it take a RowList::iterator as
7142         arg, adjust.
7143         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7144         (postRowPaint): make it take a RowList::iterator as arg, adjust.
7145
7146         * text.C (anchor_row): make it take a RowList::iterator as arg,
7147         adjust.
7148         (computeBidiTables): make it take a const reference to Row instead
7149         of Row pointer, adjust.
7150         (leftMargin): make it take a RowList::iterator as arg, adjust.
7151         (rowBreakPoint): adjust
7152         (breakAgainOneRow): make it take a RowList::iterator as arg,
7153         adjust.
7154         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7155
7156         * bufferview_funcs.C (toggleAndShow): adjust
7157
7158 2003-03-30  John Levon  <levon@movementarian.org>
7159
7160         * Makefile.am:
7161         * BoostFormat.h:
7162         * boost-inst.C: moved to support
7163
7164         * several files: changes as a result
7165
7166 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7167
7168         * text2.C (LyXText): adjust.
7169         (init): adjust
7170         (removeRow): make it take a RowList::iterator as arg, adjust.
7171         (fullRebreak): adjust
7172         (deleteEmptyParagraphMechanism): adjust
7173         (clearPaint): adjust
7174         (postPaint): adjust
7175
7176         * text.C (top_y): adjust
7177         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7178         (breakAgain): make it take a RowList::iterator as arg, adjust.
7179         (breakParagraph): adjust
7180         (insertChar): adjust
7181         (backspace): adjust
7182
7183         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7184         need_break_row, and refresh_row.
7185
7186         * text3.C (dispatch): adjust
7187
7188         * text2.C (checkParagraph): adjust
7189         (setCursor): adjust
7190         (setCursorFromCoordinates): adjust
7191
7192         * text.C (top_y): adjust
7193         (workWidth): adjust
7194         (getRow): make it return a RowList::iterator, adjust
7195         (getRowNearY): make it return a RowList::iterator, adjust
7196
7197         * text2.C (init): adjust
7198         (insertRow): remove function
7199         (insertParagraph): adjust
7200         (redoParagraphs): adjust
7201         (fullRebreak): adjust
7202         (updateCounters): adjust
7203
7204         * text.C (top_y): rewrite to use RowList iterators.
7205         (top_y): adjust
7206         (setHeightOfRow): rewrite to sue RowList iterators.
7207         (appendParagraph): adjust
7208         (breakAgain): adjust
7209         (breakAgainOneRow): adjust
7210         (breakParagraph): adjust
7211         (getRow): adjust
7212         (getRowNearY): adjust, and remove commented code.
7213
7214         * lyxtext.h (firstRow): delete function
7215         (lastRow): delete function
7216         (rows): new function (const and non-const versions.)
7217         (insertRow): delete function
7218
7219         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7220
7221 2003-03-29  John Levon  <levon@movementarian.org>
7222
7223         * BufferView_pimpl.C: always update scrollbar top
7224         because pasting text when we're anchored could mean we
7225         miss an update altogether
7226
7227 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7228
7229         * text2.C (init): use rowlist_.end() and not 0.
7230         (insertRow): change to take a RowList::iterator as arg, adjust
7231         for this.
7232         (insertParagraph): change to take a RowList::iterator as arg,
7233         adjust for this.
7234         (redoParagraphs): remove some debug msgs.
7235
7236         * text.C (appendParagraph): change to take a RowList::iterator
7237         arg, adjust for this.
7238         (breakAgain): add an assert
7239         (breakAgainOneRow): ditto
7240
7241 2003-03-29  John Levon  <levon@movementarian.org>
7242
7243         * text2.C: do not clear selection after inc/decDepth
7244         (bug 550)
7245
7246 2003-03-29  John Levon  <levon@movementarian.org>
7247
7248         * BufferView.C:
7249         * buffer.C: fix broken strerrors according to Lars
7250
7251 2003-03-29  John Levon  <levon@movementarian.org>
7252
7253         * converters.C: more Alert cleanups
7254
7255 2003-03-29  John Levon  <levon@movementarian.org>
7256
7257         * bufferview_funcs.C: remove pointless Alert
7258
7259         * buffer.C: fix confusing error message when
7260         a template is chmoded 000
7261
7262 2003-03-29  John Levon  <levon@movementarian.org>
7263
7264         * BufferView.C:
7265         * BufferView.h:
7266         * BufferView_pimpl.C: Alert fixes
7267
7268         * Makefile.am:
7269         * tabular.C:
7270         * tabular-old.C: remove unused table compat reading
7271
7272 2003-03-29  John Levon  <levon@movementarian.org>
7273
7274         * BufferView.C:
7275         * buffer.C:
7276         * lyx_cb.h:
7277         * lyx_cb.C: more Alert cleanups
7278
7279         * lyxfunc.C: don't allow chktex if not latex document
7280
7281 2003-03-29  John Levon  <levon@movementarian.org>
7282
7283         * lyx_cb.C:
7284         * BufferView.C:
7285         * buffer.C: warnings pushed down from support/,
7286         kill err_alert
7287
7288 2003-03-29  John Levon  <levon@movementarian.org>
7289
7290         * lyxfunc.C: safety check for C-r (revert)
7291
7292 2003-03-29  John Levon  <levon@movementarian.org>
7293
7294         * bufferlist.h:
7295         * bufferlist.C: several UI fixes using Alert::prompt.
7296         Fix the pointless looping quit code. Fix stupid revert
7297         behaviour (bug 938)
7298
7299         * lyxvc.h:
7300         * lyxvc.C:
7301         * lyx_cb.C: use Alert::prompt
7302
7303         * lyx_main.C: remove a silly question
7304
7305         * lyxfunc.C: remove a couple of silly questions,
7306         use Alert::prompt
7307
7308 2003-03-28  John Levon  <levon@movementarian.org>
7309
7310         * text2.C: fix bug 974 (End on empty par)
7311
7312 2003-03-28  John Levon  <levon@movementarian.org>
7313
7314         * BufferView_pimpl.C:
7315         * LyXAction.C:
7316         * lfuns.h: remove do-nothing math greek lfuns
7317
7318 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7319
7320         * lyxgluelength.h (isValidGlueLength): add default arg on
7321         parameter 2. Remove default arg from friend in class.
7322
7323         * lyxlength.h (isValidLength): add default arg on parameter 2.
7324         Remove default arg from friend in class.
7325
7326         * text2.C (LyXText): adjust, initialize refresh_row.
7327         (init): adjust
7328         (removeRow): adjust
7329         (insertRow): adjust
7330         (insertParagraph): adjst
7331         (redoParagraphs): adjust
7332         (fullRebreak): adjust
7333         (updateCounters): adjust
7334         (deleteEmptyParagraphMechanism): first attempt at fixing a
7335         crashing bug.
7336
7337         * text.C (top_y): adjust
7338         (setHeightOfRow): adjust
7339         (getRow): adjust
7340         (getRowNearY): adjust
7341
7342         * lyxtext.h: include RowList.h
7343         (~LyXText): not needed anymore, deleted.
7344         (firstRow): modify for RowList
7345         (lastRow): new function
7346         Delete firstrow and lastrow class variables, add a Rowlist
7347         rowlist_ class variable.
7348
7349         * lyxrow.C (lastPos): use empty() and not !size() to check if a
7350         paragraph is empty.
7351
7352         * RowList.C (insert): fix case where it == begin().
7353
7354 2003-03-26  Angus Leeming  <leeming@lyx.org>
7355
7356         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7357         the thesaurus dialog.
7358
7359 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7360
7361         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7362
7363         * RowList.[Ch]: new files
7364
7365         * ParagraphList.C (erase): handle the case where it == begin
7366         correctly.
7367
7368 2003-03-25  John Levon  <levon@movementarian.org>
7369
7370         * Makefile.am:
7371         * aspell_local.h:
7372         * aspell.C: add new aspell support
7373
7374         * lyxrc.h:
7375         * lyxrc.C: Make use_pspell be use_spell_lib. Always
7376         have it accessible.
7377
7378 2003-03-25  Angus Leeming  <leeming@lyx.org>
7379
7380         * lfuns.h:
7381         * LyXAction.C (init): new LFUN_INSET_INSERT.
7382
7383         * BufferView_pimpl.C (dispatch): split out part of the
7384         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7385
7386         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7387         LFUN_INSET_APPLY.
7388
7389 2003-03-25  Angus Leeming  <leeming@lyx.org>
7390
7391         * lyxfunc.C (dispatch): changes to the Dialogs interface.
7392
7393 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
7394
7395         * text2.C:
7396         * text3.C: remove useless row->height(0)
7397
7398 2003-03-25  John Levon  <levon@movementarian.org>
7399
7400         * lyxtext.h:
7401         * text2.C:
7402         * text3.C: rename the refreshing stuff to better names
7403
7404 2003-03-24  John Levon  <levon@movementarian.org>
7405
7406         * BufferView_pimpl.h:
7407         * BufferView_pimpl.C: update layout choice on a mouse
7408         press/release
7409
7410 2003-03-23  John Levon  <levon@movementarian.org>
7411
7412         * Makefile.am: fix commandtags.h reference
7413
7414 2003-03-22  John Levon  <levon@movementarian.org>
7415
7416         * BufferView_pimpl.C:
7417         * lyxtext.h:
7418         * rowpainter.C:
7419         * rowpainter.h:
7420         * text.C:
7421         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7422
7423 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
7424
7425         * lyxtext.h:
7426         * text.C: take the rtl methods out of line
7427
7428 2003-03-21 André Pönitz <poenitz@gmx.net>
7429
7430         * metricsinfo.[Ch]: new files containing structures to be passed around
7431         during the two-phase-drawing...
7432
7433 2003-03-21 André Pönitz <poenitz@gmx.net>
7434
7435         * lyxtextclass.C: read 'environment' tag.
7436
7437 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
7438
7439         * text2.C (removeRow): fix bug 964
7440
7441 2003-03-20  John Levon  <levon@movementarian.org>
7442
7443         * rowpainter.C:
7444         * text.C:
7445         * text2.C: paint cleanups. Inset::update() dropped font
7446         parameter
7447
7448 2003-03-19  John Levon  <levon@movementarian.org>
7449
7450         * lyxfunc.C: only fitcursor/markDirty if available()
7451
7452 2003-03-19  John Levon  <levon@movementarian.org>
7453
7454         * commandtags.h: rename to ...
7455
7456         * lfuns.h: ... this, and renumber / cleanup
7457
7458 2003-03-19  John Levon  <levon@movementarian.org>
7459
7460         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7461         fit the cursor after an lfun
7462
7463         * BufferView.h:
7464         * BufferView.C:
7465         * BufferView_pimpl.h:
7466         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7467
7468         * LyXAction.C: layout-character should have ReadOnly
7469
7470         * ParagraphParameters.C:
7471         * buffer.C:
7472         * bufferview_funcs.C:
7473         * lyx_cb.C:
7474         * lyxfind.C:
7475         * lyxtext.h:
7476         * text.C:
7477         * text2.C:
7478         * text3.C:
7479         * undo_funcs.C: changes from above
7480
7481 2003-03-18  John Levon  <levon@movementarian.org>
7482
7483         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7484         remove it from update()
7485
7486         * lyxfunc.C: update layout choice after an lfun
7487
7488         * text3.C: remove extra updateLayoutChoice()s
7489
7490 2003-03-18  John Levon  <levon@movementarian.org>
7491
7492         * text.C: top_y change means full repaint, fix
7493         a drawing bug with cursor movement
7494
7495 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7496
7497         * lyxtext.h:
7498         * text.C:
7499         * text2.C: anchor row on setCursor
7500
7501 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7502
7503         * lyxtext.h: remove almost all mutable keywords
7504         * text.C:
7505         * text2.C:
7506         * text3.C: remove const keywords accordingly
7507
7508 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7509
7510         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7511         anon namespace
7512         (TeXEnvironment): ditto
7513         (TeXOnePar): ditto
7514
7515 2003-03-17  John Levon  <levon@movementarian.org>
7516
7517         * text.C (rowBreakPoint): remove attempt to fix displayed
7518         math insets inside a manual label
7519
7520 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7521
7522         * lyxtext.h: remove BufferView* as first arg from almost all class
7523         functions.
7524         * other files: adjust.
7525
7526 2003-03-17  John Levon  <levon@movementarian.org>
7527
7528         * lyxtext.h:
7529         * undo_funcs.C:
7530         * text2.C: more paint cleanups
7531
7532         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7533
7534         * rowpainter.h:
7535         * rowpainter.C: remove "smart" background painting code
7536
7537 2003-03-16  John Levon  <levon@movementarian.org>
7538
7539         * lyxtext.h:
7540         * text.C:
7541         * text2.C:
7542         * text3.C: add helper functions for setting refresh_row/y
7543
7544 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
7545
7546         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7547         newline inset which *can* get inserted in the pass_thru layouts.
7548         This is primarily for literate documents.
7549
7550 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
7551
7552         * buffer.C: increment LYX_FORMAT to 223
7553
7554 2003-03-14 André Pönitz <poenitz@gmx.net>
7555
7556         * textclass.h: prepare for environment handling, ws changes
7557         * lyxlayout.C: read latexheader and latexfooter tags
7558
7559 2003-03-14  John Levon  <levon@movementarian.org>
7560
7561         * text2.C: rewrite ::status() a bit
7562
7563 2003-03-13  John Levon  <levon@movementarian.org>
7564
7565         * lyxtext.h: add some docs
7566
7567 2003-03-13  John Levon  <levon@movementarian.org>
7568
7569         * lyxtext.h:
7570         * text.C:
7571         * text2.C:
7572         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7573
7574 2003-03-13  John Levon  <levon@movementarian.org>
7575
7576         * text3.C: fix appendix redrawing
7577
7578 2003-03-13  John Levon  <levon@movementarian.org>
7579
7580         * text.C (setHeightOfRow):
7581         * rowpainter.h:
7582         * rowpainter.C: make appendix mark have the text
7583           "Appendix" so the user knows what it is
7584
7585         * LColor.h:
7586         * LColor.C: s/appendixline/appendix/ from above
7587
7588 2003-03-13  John Levon  <levon@movementarian.org>
7589
7590         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7591
7592         * text.C: fix a getChar(pos) bug properly
7593
7594 2003-03-13  Angus Leeming  <leeming@lyx.org>
7595
7596         * commandtags.h:
7597         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7598         Probably only temporary. Let's see how things pan out.
7599
7600         * BufferView.C (unlockInset):
7601         * BufferView_pimpl.C (fitCursor):
7602         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7603
7604         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7605         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7606
7607         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7608         new functions that convert ParagraphParameters to and from a string.
7609
7610         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7611         BufferView::Pimpl's dispatch.
7612         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7613
7614 2003-03-13 André Pönitz <poenitz@gmx.net>
7615
7616         * lyxfunc.C:
7617         * text3.C:
7618         * factory.C: make it aware of InsetEnv
7619
7620 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7621
7622         * text2.C (setCursor): never ask for one past last
7623         (setCursor): add some debugging messages.
7624
7625         * text.C (singleWidth): never ask for one past last
7626         (singleWidth): ditto
7627         (leftMargin): ditto
7628         (rightMargin): ditto
7629         (rowBreakPoint): ditto
7630         (setHeightOfRow): ditto
7631         (prepareToPrint): ditto
7632
7633         * rowpainter.C (paintBackground): never ask for one past last
7634         (paintText): never ask for one past last
7635
7636         * paragraph_pimpl.C (getChar): make the assert stricter, never
7637         allow the one past last pos to be taken
7638
7639         * paragraph.C (getChar): ws changes only
7640
7641         * lyxrow.C (nextRowIsAllInset): never ask for one past last
7642         (numberOfSeparators): ditto
7643         (numberOfHfills): ditto
7644
7645 2003-03-12  John Levon  <levon@movementarian.org>
7646
7647         * author.h:
7648         * author.C:
7649         * bufferparams.h:
7650         * bufferparams.C:
7651         * paragraph_funcs.C: fix per-buffer authorlists
7652
7653 2003-03-12  John Levon  <levon@movementarian.org>
7654
7655         * text.C: fix newline in right address
7656
7657 2003-03-12  Angus Leeming  <leeming@lyx.org>
7658
7659         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7660         duplicate those in LyXFunc::dispatch.
7661
7662         * commandtags.h:
7663         * LyXAction.C:
7664         * ToolbarDefaults.C:
7665         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7666         Add LFUN_FONTFREE_UPDATE.
7667
7668         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7669         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7670
7671         * bufferview_func.[Ch]: several new functions to facilliate
7672         transfer of data to and from the character dialog.
7673
7674 2003-03-12  John Levon  <levon@movementarian.org>
7675
7676         * buffer.C:
7677         * paragraph.h:
7678         * paragraph.C:
7679         * paragraph_funcs.C:
7680         * paragraph_pimpl.C:
7681         * sgml.C:
7682         * tabular.C:
7683         * text.C:
7684         * text3.C: remove META_NEWLINE in favour of an inset
7685
7686         * rowpainter.h:
7687         * rowpainter.C: remove paintNewline (done by inset)
7688
7689 2003-03-12  John Levon  <levon@movementarian.org>
7690
7691         * paragraph_pimpl.C: complain about bad getChar()s
7692         for a while at least
7693
7694 2003-03-12  John Levon  <levon@movementarian.org>
7695
7696         * buffer.h:
7697         * buffer.C: move paragraph read into a separate function,
7698         a little renaming to reflect that.
7699
7700         * bufferparams.h:
7701         * bufferparams.C: remove the author_ids map, not necessary now
7702
7703         * factory.h:
7704         * factory.C: moved Buffer::readInset to here
7705
7706         * paragraph_funcs.h:
7707         * paragraph_funcs.C: readParagraph free function moved from
7708         buffer.C
7709
7710         * tabular.C: name change
7711
7712 2003-03-12  John Levon  <levon@movementarian.org>
7713
7714         * buffer.C:
7715         * ParagraphParameters.C: move par params input to
7716         a read() method
7717
7718         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7719         behave like a normal read from the stream wrt reading
7720         a line vs. a \\token
7721
7722 2003-03-12  John Levon  <levon@movementarian.org>
7723
7724         * paragraph.C:
7725         * ParagraphParameters.h:
7726         * ParagraphParameters.C: move output code to a
7727         ::write() method
7728
7729 2003-03-12  John Levon  <levon@movementarian.org>
7730
7731         * BufferView.C (insertLyXFile):
7732         * buffer.h:
7733         * buffer.C:
7734         * tabular.C: use a parlist iterator for creating the
7735           document.
7736
7737 2003-03-12  John Levon  <levon@movementarian.org>
7738
7739         * buffer.C: make current_change static local not
7740           static file-scope
7741
7742 2003-03-12  John Levon  <levon@movementarian.org>
7743
7744         * buffer.C: fix insertStringAsLines for change tracking
7745
7746 2003-03-12  John Levon  <levon@movementarian.org>
7747
7748         * BufferView.C:
7749         * tabular.C:
7750         * buffer.h:
7751         * buffer.C:
7752         * bufferparams.h:
7753         * bufferparams.C: move author list into params. Rename some
7754           functions. Move the header reading into a separate token
7755           loop. Move the header token reading into BufferParams.
7756
7757 2003-03-12  John Levon  <levon@movementarian.org>
7758
7759         * changes.C: put debug inside lyxerr.debugging() checks
7760
7761 2003-03-11 André Pönitz <poenitz@gmx.net>
7762
7763         * factory.C: make it aware of InsetHFill
7764
7765 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7766
7767         * buffer.C (latexParagraphs): move function from here...
7768         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7769         args.
7770
7771 2003-03-10  Angus Leeming  <leeming@lyx.org>
7772
7773         * LyXAction.C (init): fix bug in poplating array with multiple entries
7774         with the same LFUN (spotted by JMarc).
7775
7776 2003-03-10  John Levon  <levon@movementarian.org>
7777
7778         * text.C:
7779         * text2.C: move getColumnNearX() near its
7780         only call site
7781
7782 2003-03-10  John Levon  <levon@movementarian.org>
7783
7784         * text.C: fix break before a minipage
7785
7786 2003-03-10  John Levon  <levon@movementarian.org>
7787
7788         * text.C: fix the last commit
7789
7790 2003-03-09  John Levon  <levon@movementarian.org>
7791
7792         * lyxtext.h:
7793         * text.C:
7794         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7795         bug 365 (don't break before insets unless needed). Don't
7796         return a value > last under any circumstances.
7797
7798 2003-03-09  Angus Leeming  <leeming@lyx.org>
7799
7800         * BufferView_pimpl.C (trackChanges, dispatch): call
7801         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7802
7803 2003-03-09  Angus Leeming  <leeming@lyx.org>
7804
7805         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7806         than Dialogs::showAboutlyx().
7807
7808 2003-03-09  Angus Leeming  <leeming@lyx.org>
7809
7810         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7811         than Dialogs::showTabularCreate().
7812
7813 2003-03-09  John Levon  <levon@movementarian.org>
7814
7815         * lyxtext.h:
7816         * text.C:
7817         * text2.C: 3rd arg to nextBreakPoint was always the same.
7818           Use references.
7819
7820 2003-03-08  John Levon  <levon@movementarian.org>
7821
7822         * lyxrow.C:
7823         * paragraph.C:
7824         * paragraph.h:
7825         * rowpainter.C:
7826         * text.C:
7827         * text2.C: Remove the "main" bit from the "main body"
7828           notion.
7829
7830 2003-03-08  John Levon  <levon@movementarian.org>
7831
7832         * text.C (leftMargin): The left margin of an empty
7833         manual label paragraph should not include the label width
7834         string length.
7835
7836         * text.C (prepareToPrint): don't attempt to measure hfills
7837         for empty manual label paragraphs - the answer should be 0
7838
7839 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7840
7841         * CutAndPaste.C: remove commented code and reindent.
7842
7843 2003-03-08  John Levon  <levon@movementarian.org>
7844
7845         * lyxfunc.h:
7846         * lyxfunc.C: move reloadBuffer()
7847
7848         * BufferView.h:
7849         * BufferView.C: to here
7850
7851         * lyxvc.C: add comment
7852
7853         * vc-backend.h:
7854         * vc-backend.C: call bv->reload() to avoid
7855           getStatus() check on MENURELOAD
7856
7857 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
7858
7859         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7860         to an old format .dep file.
7861
7862 2003-03-07  Angus Leeming  <leeming@lyx.org>
7863
7864         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7865         when the LFUN_MOUSE_RELEASE should have been handled by
7866         inset->localDispatch.
7867
7868 2003-03-07  Angus Leeming  <leeming@lyx.org>
7869
7870         * BufferView_pimpl.C (dispatch):
7871         * LyXAction.C (init):
7872         * ToolbarDefaults.C (init):
7873         * commandtags.h:
7874         * lyxfunc.C (getStatus):
7875         remove LFUN_INSET_GRAPHICS.
7876
7877         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7878
7879 2003-03-07  Angus Leeming  <leeming@lyx.org>
7880
7881         * commandtags.h:
7882         * LyXAction.C (init):
7883         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7884
7885         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7886
7887         * commandtags.h:
7888         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7889
7890         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7891         localDispatch method LFUN_INSET_DIALOG_UPDATE.
7892
7893 2003-03-07  Angus Leeming  <leeming@lyx.org>
7894
7895         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7896         remove "ert".
7897
7898 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7899
7900         * ParagraphList.C (front): new function
7901         (back): implement
7902
7903 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
7904
7905         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7906         and top_row_offset_. removed var first_y.
7907         * text.C (top_y):
7908         * text2.C (LyXText, removeRow):
7909         * text3.C:
7910         * BufferView_pimpl.C:
7911         use these methods instead of using first_y
7912
7913 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7914
7915         * text2.C (pasteSelection): adjust for checkPastePossible
7916
7917         * CutAndPaste.C: remove Paragraph * buf and replace with
7918         ParagraphList paragraphs.
7919         (DeleteBuffer): delete
7920         (cutSelection): change the tc type to textclass_type
7921         (copySelection): change the tc type to textclass_type
7922         (copySelection): adjust for ParagraphList
7923         (pasteSelection): change the tc type to textclass_type
7924         (pasteSelection): adjust for Paragraphlist
7925         (nrOfParagraphs): simplify for ParagraphList
7926         (checkPastePossible): simplify for ParagraphList
7927         (checkPastePossible): remove unused arg
7928
7929         * ParagraphList.C (insert): handle the case where there are no
7930         paragraphs yet.
7931
7932         * CutAndPaste.h: make CutAndPaste a namespace.
7933
7934         * text3.C (dispatch): adjust
7935
7936         * text.C (breakParagraph): add a ParagraphList as arg
7937
7938         * paragraph_funcs.C (breakParagraph): change to take a
7939         BufferParams and a ParagraphList as args.
7940         (breakParagraphConservative): ditto
7941         (mergeParagraph): ditto
7942         (TeXDeeper): add a ParagraphList arg
7943         (TeXEnvironment): ditto
7944         (TeXOnePar): ditto
7945
7946         * buffer.C (readLyXformat2): adjust
7947         (insertStringAsLines): adjust
7948         (latexParagraphs): adjust
7949
7950         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7951         (cutSelection): adjust
7952         (pasteSelection): adjust
7953
7954         * BufferView_pimpl.C (insertInset): adjust
7955
7956 2003-03-05  Angus Leeming  <leeming@lyx.org>
7957
7958         * commandtags.h:
7959         * LyXAction.C (init):
7960         * BufferView_pimpl.C (dispatch):
7961         * lyxfunc.C (getStatus):
7962         remove LFUN_CHILD_INSERT.
7963
7964         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7965
7966 2003-03-05  Angus Leeming  <leeming@lyx.org>
7967
7968         * commandtags.h:
7969         * LyXAction.C (init):
7970         * src/factory.C (createInset):
7971         * lyxfunc.C (getStatus):
7972         * text3.C (dispatch):
7973         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7974
7975         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7976
7977 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7978
7979         * ParagraphList.C (insert): handle insert right before end()
7980         (erase): fix cases where it can be first or last paragraph.
7981
7982 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7983
7984         * paragraph_funcs.C (TeXEnvironment): remove all usage of
7985         Paragraph::next and Paragraph::previous
7986         (TeXOnePar): ditto
7987
7988         * text.C (breakParagraph): adjust
7989
7990         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7991         BufferParams& as arg.
7992         (breakParagraph): use ParagraphList::insert
7993         (breakParagraphConservative): take a Buffer* instead of a
7994         BufferParams& as arg.
7995         (breakParagraphConservative): use ParagraphList::insert.
7996
7997         * buffer.C (insertStringAsLines): un-const it
7998         (insertStringAsLines): adjust
7999
8000         * ParagraphList.C (insert): new function
8001
8002         * CutAndPaste.C (pasteSelection): adjust
8003
8004         * text.C (backspace): adjust
8005
8006         * tabular.C (SetMultiColumn): adjust
8007
8008         * CutAndPaste.C (cutSelection): adjust
8009         (pasteSelection): adjust
8010
8011         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8012         Buffer const * as arg
8013
8014         * ParagraphList.C (erase): new function
8015         * paragraph_funcs.C (mergeParagraph): use it
8016         (mergeParagraph): make it take a Buffer* instead of a
8017         BufferParams* as arg
8018
8019         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8020         as arg
8021         (breakParagraphConservative): ditto
8022
8023         * paragraph.h: remove the breakParagraph friend
8024
8025         * paragraph.C (eraseIntern): new function
8026         (setChange): new function
8027
8028         * paragraph_funcs.C (mergeParagraph): make it take a
8029         ParagraphList::iterator instead of a Paragraph *, adjust
8030         accordingly.
8031
8032         * paragraph.h: move an #endif so that the change tracking stuff
8033         also works in the NO_NEXT case.
8034
8035 2003-03-04  Angus Leeming  <leeming@lyx.org>
8036
8037         * commandtags.h:
8038         * LyXAction.C: new LFUN_INSET_MODIFY.
8039
8040         * BufferView_pimpl.C (dispatch): if an inset is found to be open
8041         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8042
8043 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8044
8045         * several files: ws changes only
8046
8047         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8048         (TeXEnvironment): ditto
8049         (TeXDeeper): ditto
8050
8051         * buffer.C (makeLaTeXFile): adjust
8052         (latexParagraphs): make it take ParagraphList::iterator as args
8053
8054 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8055
8056         * buffer.C (latexParagraphs): adjust
8057
8058         * paragraph.C (TeXOnePar): move function...
8059         (optArgInset): move function...
8060         (TeXEnvironment): move function...
8061         * paragraph_pimpl.C (TeXDeeper): move function...
8062         * paragraph_funcs.C: ...here
8063
8064         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8065
8066 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8067
8068         * buffer.C (readInset): remove compability code for old Figure and
8069         InsetInfo insets
8070
8071 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8072
8073         * buffer.C: ws changes
8074         (readInset):
8075
8076         * BufferView_pimpl.C: ditto
8077         * author.C: ditto
8078         * buffer.h: ditto
8079         * bufferlist.h: ditto
8080         * changes.h: ditto
8081         * lyxfunc.C: ditto
8082
8083 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
8084
8085         * converter.[Ch]: split into itself +
8086         * graph.[Ch]
8087         * format.[Ch]
8088         * Makefile.am: += graph.[Ch] + format.[Ch]
8089         * MenuBackend.C
8090         * buffer.C
8091         * exporter.C
8092         * importer.C
8093         * lyx_main.C
8094         * lyxfunc.C
8095         * lyxrc.C: added #include "format.h"
8096
8097 2003-02-27  Angus Leeming  <leeming@lyx.org>
8098
8099         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8100           a label.
8101
8102         * factory.C (createInset): add "label" to the factory.
8103
8104         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8105           string and do no more.
8106
8107 2003-02-27  Angus Leeming  <leeming@lyx.org>
8108
8109         * commandtags.h:
8110         * LyXAction.C (init):
8111         * factory.C (createInset):
8112         * BufferView_pimpl.C (dispatch):
8113           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8114
8115         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8116
8117         * lyxfunc.C (dispatch):
8118         * text3.C (dispatch): pass name to params2string.
8119
8120 2003-02-26  Angus Leeming  <leeming@lyx.org>
8121
8122         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8123           blocks together.
8124           Rearrange the ~includes. Strip out the unnecessary ones.
8125
8126         * factory.C (createInset): reformat.
8127           create new insets for the various LFUN_XYZ_APPLY lfuns.
8128
8129 2003-02-26  John Levon  <levon@movementarian.org>
8130
8131         * lyxrow.h:
8132         * lyxrow.C: add isParStart,isParEnd helpers
8133
8134         * paragraph.h: make isInserted/DeletedText take refs
8135
8136         * paragraph_funcs.h:
8137         * paragraph_funcs.C: remove #if 0'd code
8138
8139         * lyxtext.h:
8140         * text3.C:
8141         * text2.C:
8142         * text.C: use lyxrow helpers above.
8143           Move draw and paint routines to RowPainter.
8144           Make several methods use refs not pointers.
8145           Make backgroundColor() const.
8146           Add markChangeInDraw(), isInInset().
8147           Merge changeRegionCase into changeCase.
8148           Make workWidth() shouldn't-happen code into an Assert.
8149
8150         * rowpainter.h:
8151         * rowpainter.C: new class for painting a row.
8152
8153         * vspace.h:
8154         * vspace.C: make inPixels take a ref
8155
8156 2003-02-26  Angus Leeming  <leeming@lyx.org>
8157
8158         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8159         LFUN_REF_APPLY.
8160
8161 2003-02-25  John Levon  <levon@movementarian.org>
8162
8163         * ispell.C: give the forked command a more accurate name
8164
8165 2003-02-22  John Levon  <levon@movementarian.org>
8166
8167         * toc.h:
8168         * toc.C: make TocItem store an id not a Paragraph *
8169           (bug #913)
8170
8171 2003-02-21  Angus Leeming  <leeming@lyx.org>
8172
8173         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8174           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8175           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8176           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8177           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8178           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8179
8180         * BufferView_pimpl.C (dispatch):
8181         * LyXAction.C (init):
8182         * factory.C (createInset):
8183         * lyxfunc.C (getStatus, dispatch):
8184         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8185
8186 2003-02-21  Angus Leeming  <leeming@lyx.org>
8187
8188         * BufferView_pimpl.C (MenuInsertLyXFile):
8189         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8190         * lyxfunc.C (menuNew, open, doImport):
8191           no longer pass a LyXView & to fileDlg.
8192
8193 2003-02-21  Angus Leeming  <leeming@lyx.org>
8194
8195         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8196         * LyXAction.C: change, BIBKEY to BIBITEM.
8197         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8198         Change InsetBibKey to InsetBibitem.
8199         Change BIBKEY_CODE to BIBITEM_CODE.
8200         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8201         * factory.C: replace insetbib.h with insetbibitem.h.
8202         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8203         * paragraph.C: replace insetbib.h with insetbibitem.h.
8204         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8205         Change bibkey() to bibitem().
8206         * text.C: remove insetbib.h.
8207         * text2.C: replace insetbib.h with insetbibitem.h.
8208         change bibkey() to bibitem().
8209         * text3.C: remove insetbib.h.
8210         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8211
8212 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8213
8214         * lyxrc.C (output): enclose user email in quotes (in case there are
8215         several words)
8216
8217 2003-02-18  John Levon  <levon@movementarian.org>
8218
8219         * buffer.h: add std::
8220
8221 2003-02-17  John Levon  <levon@movementarian.org>
8222
8223         * SpellBase.h:
8224         * ispell.h:
8225         * ispell.C:
8226         * pspell.h:
8227         * pspell.C: reworking. Especially in ispell, a large
8228           number of clean ups and bug fixes.
8229
8230         * lyxfunc.C: fix revert to behave sensibly
8231
8232 2003-02-17 André Pönitz <poenitz@gmx.net>
8233
8234         * LyXAction.C:
8235         * commandtags.h: new LFUN_INSERT_BIBKEY
8236
8237         * layout.h:
8238         * lyxlayout.C:
8239         * buffer.C:
8240         * factory.C:
8241         * text.C:
8242         * text2.C:
8243         * text3.C:
8244         * paragraph.[Ch]:
8245         * paragraph_func.C: remove special bibkey handling
8246
8247 2003-02-17  John Levon  <levon@movementarian.org>
8248
8249         * text.C (Delete): fix case where delete at the end of
8250           the very first paragraph would not merge the pars
8251
8252 2003-02-17  John Levon  <levon@movementarian.org>
8253
8254         * lyxrow.C: fix lastPrintablePos()
8255
8256 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8257
8258         * bufferparams.C (writeLaTeX): add a std:here
8259
8260         * buffer.C: and remove a using directive there
8261
8262 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8263
8264         * buffer.C (makeLaTeXFile): move the code that generates the
8265           preamble...
8266
8267         * bufferparams.C (writeLaTeX): ... in this new method
8268
8269         * LaTeXFeatures.C (getEncodingSet): make const
8270           (getLanguages): make const
8271
8272         * MenuBackend.C (binding): returns the binding associated to this
8273           action
8274           (add): sets the status of each item by calling getStatus. Adds
8275           some intelligence.
8276           (read): add support for OptSubMenu
8277           (expand): remove extra separator at the end of expanded menu
8278
8279 2003-02-15  John Levon  <levon@movementarian.org>
8280
8281         * BufferView.C:
8282         * BufferView_pimpl.C:
8283         * bufferlist.h:
8284         * bufferlist.C: remove pointless BufferStorage bloat. Remove
8285           inset code that had no actual effect. Remove unneeded status
8286           code.
8287
8288 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8289
8290         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8291           in preamble
8292
8293 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
8294
8295         * text.C (drawLengthMarker): also draw an arrow marker for
8296           symbolic lengths (medskip...)
8297
8298 2003-02-14  John Levon  <levon@movementarian.org>
8299
8300         * tabular.h:
8301         * tabular.C: better method names
8302
8303 2003-02-14  John Levon  <levon@movementarian.org>
8304
8305         * BufferView_pimpl.C:
8306         * bufferlist.C:
8307         * buffer.C:
8308         * converter.C:
8309         * lyx_cb.C:
8310         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8311           it's a more accurate name. Remove some pointless uses.
8312
8313 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8314
8315         * text2.C (LyXText): change order of initilizers to shut off
8316           warnings
8317
8318 2003-02-14  John Levon  <levon@movementarian.org>
8319
8320         * buffer.C: use ParIterator for getParFromID()
8321
8322         * paragraph.h:
8323         * paragraph.C:
8324         * paragraph_pimpl.h:
8325         * paragraph_pimpl.C: remove unused getParFromID()
8326
8327 2003-02-14  John Levon  <levon@movementarian.org>
8328
8329         * buffer.C: remove some very old #if 0'd parse code
8330
8331 2003-02-13  John Levon  <levon@movementarian.org>
8332
8333         * text.h:
8334         * text.C:
8335         * text2.C: move hfillExpansion(), numberOfSeparators(),
8336           rowLast(), rowLastPrintable(), numberofHfills(),
8337           numberOfLabelHfills() ...
8338
8339         * lyxrow.h:
8340         * lyxrow.C: ... to member functions here.
8341
8342         * paragraph.h:
8343         * paragraph.C:
8344         * lyxtext.h:
8345         * text.C: remove LyXText::beginningOfMainBody(), and call
8346           p->beginningOfMainBody() directly. Move the check for
8347           LABEL_MANUAL into the latter.
8348
8349         * text.h:
8350         * text.C:
8351         * text2.C:
8352         * vspace.C:
8353         * BufferView.h:
8354         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8355
8356         * text.h:
8357         * text.C:
8358         * text2.C:
8359         * text3.C:
8360         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8361           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8362
8363 2003-02-13  John Levon  <levon@movementarian.org>
8364
8365         * CutAndPaste.C: remove debug
8366
8367 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8368
8369         * paragraph.C (asString): remove two unused variables
8370
8371         * lyxtextclass.C (readTitleType):
8372           (Read):
8373           (LyXTextClass): handle new members titletype_ and titlename_
8374
8375         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8376
8377 2003-02-09  John Levon  <levon@movementarian.org>
8378
8379         * buffer.h:
8380         * buffer.C: replace hand-coded list with a map for the dep clean
8381
8382 2003-02-08  John Levon  <levon@movementarian.org>
8383
8384         * LaTeX.C: consolidate code into showRunMessage() helper
8385
8386 2003-02-08  John Levon  <levon@movementarian.org>
8387
8388         * lyxfind.C:
8389         * lyxtext.h:
8390         * text2.C:
8391         * BufferView.C: change setSelectionOverString() to setSelectionRange()
8392           and pass the size in explicitly
8393
8394         * BufferView_pimpl.h:
8395         * BufferView_pimpl.C:
8396         * BufferView.h:
8397         * BufferView.C: add getCurrentChange()
8398
8399         * BufferView_pimpl.h:
8400         * BufferView_pimpl.C: handle change lfuns
8401
8402         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8403           for changes. Mark pasted paragraphs as new.
8404
8405         * support/lyxtime.h:
8406         * support/lyxtime.C:
8407         * DepTable.C: abstract time_t as lyx::time_type
8408
8409         * LColor.h:
8410         * LColor.C: add colours for new text, deleted text, changebars
8411
8412         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8413           package use "usenames" option.
8414
8415         * commandtags.h:
8416         * lyxfunc.C:
8417         * LyXAction.C: add change lfuns
8418
8419         * Makefile.am:
8420         * author.h:
8421         * author.C: author handling
8422
8423         * buffer.h:
8424         * buffer.C: add a per-buffer author list, with first entry as
8425           current author. Handle new .lyx tokens for change tracking. Output
8426           author list to .lyx file. Output dvipost stuff to .tex preamble.
8427           Bump lyx format to 222.
8428
8429         * bufferlist.h:
8430         * bufferlist.C: add setCurrentAuthor() to reset current author details
8431           in all buffers.
8432
8433         * bufferparams.h:
8434         * bufferparams.C: add param for tracking
8435
8436         * bufferview_funcs.C: output change info in minibuffer
8437
8438         * Makefile.am:
8439         * changes.h:
8440         * changes.C: add change-tracking structure
8441
8442         * debug.h:
8443         * debug.C: add CHANGES debug flag
8444
8445         * lyxfind.h:
8446         * lyxfind.C: add code for finding the next change piece
8447
8448         * lyxrc.h:
8449         * lyxrc.C: add user_name and user_email
8450
8451         * lyxrow.h:
8452         * lyxrow.C: add a metric for the top of the text line
8453
8454         * lyxtext.h:
8455         * text.C: implement accept/rejectChange()
8456
8457         * lyxtext.h:
8458         * text.C: paint changebars. Paint new/deleted text in the chosen
8459         colours. Strike through deleted text.
8460
8461         * paragraph.h:
8462         * paragraph.C:
8463         * paragraph_pimpl.h:
8464         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8465           in the current change to the insert functions. Rework erase to
8466           mark text as deleted, adding an eraseIntern() and a range-based
8467           erase(). Implement per-paragraph change lookup and
8468           accept/reject.
8469
8470         * paragraph_funcs.C: Fixup paste for change tracking.
8471
8472         * tabular.C: mark added row/columns as new.
8473
8474         * text.C: fix rowLast() to never return -1. Don't allow
8475           spellchecking of deleted text. Track transpose changes. Don't
8476           allow paragraph break or merge where appropriate.
8477
8478         * text2.C: leave cursor at end of selection after a cut.
8479
8480 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8481
8482         * text.C (getLengthMarkerHeight):
8483         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8484         visible on screen too.
8485
8486 2003-02-07  John Levon  <levon@movementarian.org>
8487
8488         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8489
8490 2003-02-05  Angus Leeming  <leeming@lyx.org>
8491
8492         * lyxserver.C (read_ready): revert my patch of 11 September last year
8493         as it sends PC cpu through the roof. Presumably this means that
8494         the lyxserver will no longer run on an Alpha...
8495
8496 2003-01-30  Angus Leeming  <leeming@lyx.org>
8497
8498         * factory.C (createInset): create an InsetCommandParam of type "index"
8499         and use it to 'do the right thing'.
8500
8501         * text2.C (getStringToIndex): ensure that cursor position is always
8502         reset to the reset_cursor position.
8503
8504 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8505
8506         * lyxfunc.C (getStatus): "buffer-export custom" should never be
8507         disabled.
8508
8509 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
8510
8511         * bufferview.C:
8512         * lyxcb.C:
8513         * lyxfunc.C: Output messages with identical spelling, punctuation,
8514         and spaces
8515
8516 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
8517
8518         * MenuBackend.C (expandFormats): List only viewable export formats
8519         in "View" menu
8520
8521         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8522         message
8523
8524         * lyxfunc.C (getStatus): Make sure that formats other than
8525         "fax" can also be disabled
8526
8527 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8528
8529         * text3.C (dispatch): put the lfuns that insert insets in 3
8530         groups, and call doInsertInset with appropriate arguments.
8531         (doInsertInset): new function, that creates an inset and inserts
8532         it according to some boolean parameters.
8533
8534 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8535
8536         * buffer.C (readFile): remember to pass on 'par' when calling
8537         readFile recursively.
8538
8539 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8540
8541         * MenuBackend.C (expandFormats): add "..." to import formats.
8542
8543 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
8544
8545         * paragraph.C (asString): Remove XForms RTL hacks.
8546
8547 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
8548         * buffer.C: fix typo
8549
8550 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8551
8552         * Makefile.am (LIBS): delete var
8553         (lyx_LDADD): add @LIBS@ here instead.
8554
8555 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
8556
8557         * Clarify the meaning of "wheel mouse jump"
8558
8559 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8560
8561         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8562         tabular in a float
8563
8564 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8565
8566         * importer.C (Loaders): do not preallocate 3 elements in the
8567         vector, since one ends up with 6 elements otherwise
8568
8569 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8570
8571         * DepTable.C (write): write the file name as last element of the
8572         .dep file (because it may contain spaces)
8573         (read): read info in the right order
8574
8575 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8576
8577         * paragraph_pimpl.C (simpleTeXBlanks):
8578         (simpleTeXSpecialChars):
8579         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8580
8581         * tabular.C (latex): add some missing case statements. Reindent.
8582
8583         * MenuBackend.C (expandToc): remove unused variable.
8584
8585 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
8586
8587         * LColor.C:
8588         * LaTeX.C:
8589         * LyXAction.C:
8590         * MenuBackend.C:
8591         * buffer.C:
8592         * exporter.C:
8593         * lyxfunc.C:
8594         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8595         and the like.
8596
8597 2003-01-05  John Levon  <levon@movementarian.org>
8598
8599         * BufferView.h:
8600         * BufferView.C: add getEncoding()
8601
8602         * kbsequence.h:
8603         * kbsequence.C: do not store last keypress
8604
8605         * lyxfunc.h:
8606         * lyxfunc.C: store last keypress here instead. Pass encoding
8607           to getISOEncoded()
8608
8609 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8610
8611         * lyx_main.C (init): remove annoying error message when following
8612         symbolic links (bug #780)
8613
8614 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8615
8616         * text.C (insertChar):
8617         * lyxrc.C (getDescription): remove extra spaces
8618
8619 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8620
8621         * lyxrc.C (getDescription): remove extra spaces
8622
8623 2002-12-20  John Levon  <levon@movementarian.org>
8624
8625         * text3.C: hack fix for page up/down across tall rows
8626
8627 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8628
8629         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8630         not been invoked
8631
8632 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8633
8634         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8635         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8636         thesaurus is not compiled in
8637
8638 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
8639
8640         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
8641
8642 2002-12-16  Angus Leeming  <leeming@lyx.org>
8643
8644         * lyxrc.[Ch]:
8645         * lyx_main.C (init): remove override_x_deadkeys stuff.
8646
8647 2002-12-12  John Levon  <levon@movementarian.org>
8648
8649         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8650           insert. Only remove shift modifier under strict
8651           circumstances.
8652
8653 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8654
8655         * MenuBackend.C (expandToc): fix crash.
8656
8657 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8658
8659         * MenuBackend.C (expandToc): gettext on float names.
8660
8661 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
8662
8663         * lyxlength.[Ch]: set default unit to UNIT_NONE,
8664         implement bool empty() [bug 490]
8665
8666 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8667
8668         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8669
8670 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8671
8672         * several files: ws changes
8673
8674 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8675
8676         * text2.C (setCounter): clean up a bit, use boost.format.
8677         (updateCounters): initialize par upon declaration.
8678
8679         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8680         if the layout exists. We do not just store the layout any more.
8681         (SwitchLayoutsBetweenClasses): use boost.format
8682
8683 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8684
8685         * converter.C (convert): if from and to files are the same, use a
8686         temporary files as intermediary
8687
8688 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8689
8690         * commandtags.h:
8691         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8692
8693 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
8694
8695         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8696
8697 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8698
8699         * tabular.C (asciiPrintCell): use string(size, char) instead of
8700         explicit loop.
8701
8702         * sgml.C (openTag): fix order of arguments to string constructor
8703         (closeTag): ditto
8704
8705         * lyxfunc.C (dispatch): use boost.format
8706
8707         * lots of files: change "c" -> 'c'
8708
8709 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
8710
8711         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8712
8713 2002-11-25  Angus Leeming  <leeming@lyx.org>
8714
8715         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8716
8717         * lyx_main.C (init): compile fix.
8718
8719 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8720
8721         * lyx_cb.C (start): boost.formatify
8722         do not include <iostream>
8723
8724         * lengthcommon.C: ws only
8725
8726         * boost-inst.C,BoostFormat.h: add more explict instantations
8727
8728 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8729
8730         * lots of files: handle USE_BOOST_FORMAT
8731
8732 2002-11-21  John Levon  <levon@movementarian.org>
8733
8734         * pspell.C: fix compile
8735
8736 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8737
8738         * lyxfunc.C (dispatch): use boost::format
8739         (open): ditto
8740         (doImport): ditto
8741
8742         * lyxfont.C (stateText): use boost::format
8743
8744         * lyx_main.C (LyX): use boost::format
8745         (init): ditto
8746         (queryUserLyXDir): ditto
8747         (readRcFile): ditto
8748         (parse_dbg): ditto
8749         (typedef boost::function): use the recommened syntax.
8750
8751         * importer.C (Import): use boost::format
8752
8753         * debug.C (showLevel): use boost::format
8754
8755         * converter.C (view): use boost::format
8756         (convert): ditto
8757         (move): ditto
8758         (scanLog): ditto
8759
8760         * bufferview_funcs.C (currentState): use boost::format
8761
8762         * bufferlist.C (emergencyWrite): use boost::format
8763
8764         * buffer.C (readLyXformat2): use boost::format
8765         (parseSingleLyXformat2Token): ditto
8766
8767         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8768
8769         * LaTeX.C (run): use boost::format
8770
8771         * Chktex.C (scanLogFile): use boost::format
8772
8773         * BufferView_pimpl.C (savePosition): use boost::format
8774         (restorePosition): ditto
8775         (MenuInsertLyXFile): ditto
8776
8777         * BoostFormat.h: help file for explicit instation.
8778
8779 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
8780
8781         * tabular.C (latex): Support for block alignment in fixed width
8782         columns.
8783
8784 2002-11-17  John Levon  <levon@movementarian.org>
8785
8786         * BufferView_pimpl.C:
8787         * lyx_cb.C:
8788         * lyxfunc.C: split filedialog into open/save
8789
8790 2002-11-08  Juergen Vigna  <jug@sad.it>
8791
8792         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8793         by my last patch (hopefully).
8794
8795 2002-11-08  John Levon  <levon@movementarian.org>
8796
8797         * iterators.h:
8798         * iterators.C:
8799         * buffer.h:
8800         * buffer.C:
8801         * paragraph.h:
8802         * paragraph.C:
8803         * toc.h:
8804         * toc.C: ParConstIterator, and use it (from Lars)
8805
8806 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
8807
8808         * lyxtextclass.[Ch]: revise and add doxygen comments
8809
8810 2002-11-07  John Levon  <levon@movementarian.org>
8811
8812         * text.C: fix progress value for spellchecker
8813
8814         * toc.C: fix navigate menu for insetwrap inside minipage
8815
8816         * paragraph_funcs.C: added FIXME for suspect code
8817
8818 2002-11-07  John Levon  <levon@movementarian.org>
8819
8820         * BufferView_pimpl.C: fix redrawing of insets
8821           on buffer switch
8822
8823 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8824
8825         * text2.C (updateCounters): fix bug 668
8826
8827 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
8828
8829         * text3.C (dispatch): Do not make the buffer dirty when moving the
8830         cursor.
8831
8832 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8833
8834         * vc-backend.C: STRCONV
8835         (scanMaster): ditto
8836
8837         * text2.C (setCounter): STRCONV
8838
8839         * paragraph.C (asString): STRCONV
8840
8841         * lyxlength.C (asString): STRCONV
8842         (asLatexString): ditto
8843
8844         * lyxgluelength.C (asString): STRCONV
8845         (asLatexString): ditto
8846
8847         * lyxfunc.C (dispatch): STRCONV
8848         (open): ditto
8849
8850         * lyxfont.C (stateText): STRCONV
8851
8852         * importer.C (Import): STRCONV
8853
8854         * counters.C (labelItem): STRCONV
8855         (numberLabel): ditto
8856         (numberLabel): remove unused ostringstream o
8857
8858         * chset.C: STRCONV
8859         (loadFile): ditto
8860
8861         * bufferview_funcs.C (currentState): STRCONV
8862
8863         * buffer.C (readFile): STRCONV
8864         (asciiParagraph): ditto
8865         (makeLaTeXFile): ditto
8866
8867         * Spacing.C (writeEnvirBegin): STRCONV
8868
8869         * LaTeXFeatures.C (getLanguages): STRCONV
8870         (getPackages): ditto
8871         (getMacros): ditto
8872         (getBabelOptions): ditto
8873         (getTClassPreamble): ditto
8874         (getLyXSGMLEntities): ditto
8875         (getIncludedFiles): ditto
8876
8877         * LaTeX.C: STRCONV
8878         (run): ditto
8879         (scanAuxFile): ditto
8880         (deplog): ditto
8881
8882         * LString.h: add the STRCONV macros
8883
8884         * BufferView_pimpl.C (savePosition): STRCONV
8885         (restorePosition): ditto
8886         (MenuInsertLyXFile): ditto
8887
8888         * vc-backend.C (scanMaster): change from submatch[...] to
8889         submatch.str(...)
8890
8891         * funcrequest.C: include config.h
8892
8893         * factory.C: include config.h
8894
8895         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8896
8897         * box.C: include config.h
8898
8899         * LaTeX.C (scanAuxFile): change from submatch[...] to
8900         submatch.str(...)
8901         (deplog): ditto
8902
8903 2002-10-25  Angus Leeming  <leeming@lyx.org>
8904
8905         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8906
8907         * ispell.[Ch] (setError): new method.
8908         * ispell.C (c-tor): move out child process into new class LaunchIspell.
8909         Use setError() insetead of goto END.
8910
8911         * lyx_cb.C (AutoSave): move out child process into new class
8912         AutoSaveBuffer.
8913
8914 2002-10-30  John Levon  <levon@movementarian.org>
8915
8916         * text3.C: make start appendix undoable
8917
8918 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
8919
8920         * lyxlength.C (inPixels): Fix returned value.
8921
8922         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8923         environment.
8924
8925 2002-10-24  Angus Leeming  <leeming@lyx.org>
8926
8927         * lyxgluelength.h: no need to forward declare BufferParams
8928         or BufferView, so don't.
8929
8930 2002-10-21  John Levon  <levon@movementarian.org>
8931
8932         * BufferView.C: menuUndo ->undo, redo
8933
8934         * BufferView.h: document, remove dead, make some methods private
8935
8936         * paragraph_funcs.h:
8937         * paragraph_funcs.C:
8938         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8939
8940         * buffer.h:
8941         * buffer.C:
8942         * sgml.h:
8943         * sgml.C: move sgml open/close tag into sgml.C
8944
8945         * bufferview_funcs.h: unused prototype
8946
8947         * lyxfunc.h:
8948         * lyxfunc.C: remove unused
8949
8950         * lyxtext.h:
8951         * text.C: remove unused
8952
8953 2002-10-21  John Levon  <levon@movementarian.org>
8954
8955         * BufferView.h:
8956         * BufferView.C:
8957         * BufferView_pimpl.h:
8958         * BufferView_pimpl.C: fix mouse wheel handling based on
8959           patch from Darren Freeman
8960
8961 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
8962
8963         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8964
8965 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
8966
8967         * lyxlength.C (inPixels): Fix hanfling of negative length.
8968         Fix LyXLength::MU case.
8969
8970 2002-10-16  John Levon  <levon@movementarian.org>
8971
8972         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8973
8974 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8975
8976         * converter.C (view): add support for $$i (file name) and $$p
8977         (file path) for the viewer command. If $$i is not specified, then
8978         it is appended to the command (for compatibility with old syntax)
8979
8980 2002-10-14  Juergen Vigna  <jug@sad.it>
8981
8982         * undo_funcs.C (textHandleUndo): alter the order in which the
8983         new undopar is added to the LyXText, as we have to set first
8984         the right prev/next and then add it as otherwise the rebuild of
8985         LyXText is not correct. Also reset the cursor to the right paragraph,
8986         with this IMO we could remove the hack in "redoParagraphs()".
8987
8988 2002-10-09  Angus Leeming  <leeming@lyx.org>
8989
8990         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8991         to turn off an optimisation if a new inset is to be inserted.
8992
8993 2002-10-11 André Pönitz <poenitz@gmx.net>
8994
8995         * lyxtext.h: make some functions public to allow access
8996         from inset/lyxtext for handling LFUN_PRIOR/NEXT
8997
8998 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8999
9000         * text3.C (dispatch): when changing layout, avoid an infinite loop
9001         [bug #652]
9002
9003 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9004
9005         * lyxrc.C (read): treat a viewer or converter command of "none" as
9006         if it were empty.
9007
9008         * MenuBackend.C (expandFormats): for an update, also allow the
9009         formats that are not viewable
9010
9011         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9012         script if it is newer than the lyxrc.defaults in user directory
9013
9014 2002-10-07 André Pönitz <poenitz@gmx.net>
9015
9016         * text.C: Vitaly Lipatov's small i18n fix
9017
9018 2002-09-25  Angus Leeming  <leeming@lyx.org>
9019
9020         * ispell.h: doxygen fix.
9021
9022 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
9023
9024         * buffer.h (readFile): Add a new argument to the method, to allow
9025         reading of old-format templates.
9026
9027 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
9028
9029         * toc.C (getTocList): Get TOC from InsetWrap.
9030
9031 2002-09-16  John Levon  <levon@movementarian.org>
9032
9033         * lyxfunc.C: check tabular for cut/copy too
9034
9035 2002-09-12  John Levon  <levon@movementarian.org>
9036
9037         * LyXAction.C: tidy
9038
9039         * factory.h:
9040         * factory.C: add header
9041
9042         * paragraph_funcs.h:
9043         * paragraph_funcs.C: cleanup
9044
9045 2002-09-11  John Levon  <levon@movementarian.org>
9046
9047         * PrinterParams.h: odd/even default to true
9048
9049 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
9050
9051         * PrinterParams.h: update printer parameters for new xforms dialog
9052
9053 2002-09-11  Angus Leeming  <leeming@lyx.org>
9054
9055         * lyxserver.C (read_ready): re-write to make it more transparent
9056         and to make it work in coherent fashion under Tru64 Unix.
9057
9058 2002-09-11  André Pönitz <poenitz@gmx.net>
9059
9060         * commandtags.h:
9061         * LyXAction.C:
9062         * text3.C: implement LFUN_WORDSEL
9063
9064 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9065
9066         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9067         make floatlist_ a boost::shared_ptr<FloatList>
9068
9069         * lyxtextclass.C: include FloatList.h
9070         (LyXTextClass): initialize floatlist_
9071         (TextClassTags): add TC_NOFLOAT
9072         (Read): match "nofloat" to TC_NOFLOAT and use it.
9073         (readFloat): modify call to floatlist_
9074         (floats): ditto
9075         (floats): ditto
9076
9077         * FloatList.[Ch] (FloatList): remove commented out float
9078         initialization.
9079         (erase): new function
9080
9081 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9082
9083         * MenuBackend.C (expandToc): fix crash when there is no document
9084         open
9085
9086 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
9087
9088         * many files: Add insetwrap.
9089
9090 2002-09-09  John Levon  <levon@movementarian.org>
9091
9092         * text2.C: remove confusing and awkward depth wraparound
9093
9094 2002-09-09  John Levon  <levon@movementarian.org>
9095
9096         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9097
9098         * buffer.h:
9099         * buffer.C: remove getIncludeonlyList()
9100
9101         * paragraph.C:
9102         * lyxfunc.C: remove headers
9103
9104 2002-09-09  Juergen Vigna  <jug@sad.it>
9105
9106         * text.C (getColumnNearX): fix form Michael this is most
9107         probably a cut&paste bug.
9108
9109 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9110
9111         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9112
9113         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9114         references, ws changes.
9115
9116         * text2.C (init): update counters after init
9117         (insertParagraph): no need to set counter on idividual paragraphs.
9118         (setCounter): access the counters object in the textclass object
9119         on in the buffer object.
9120         (updateCounters): ditto
9121
9122         * lyxtextclass.C: include counters.h, add variable ctrs_ as
9123         shared_ptr<Counters> to avoid loading counters.h in all
9124         compilation units.
9125         (LyXTextClass): initialize ctrs_
9126         (TextClassTags): add TC_COUNTER, and ...
9127         (Read): use it here.
9128         (CounterTags): new tags
9129         (readCounter): new function
9130         (counters): new funtion
9131         (defaultLayoutName): return a const reference
9132
9133         * counters.C (Counters): remove contructor
9134         (newCounter): remove a couple of unneeded statements.
9135         (newCounter): simplify a bit.
9136         (numberLabel): some small formatting changes.
9137
9138         * buffer.[Ch]: remove all traces of counters, move the Counters
9139         object to the LyXTextClass.
9140
9141 2002-09-06  Alain Castera  <castera@in2p3.fr>
9142
9143         * tabular.C: uses \tabularnewline; uses >{...} construct from array
9144         package to set the horizontal alignment on fixed width columns.
9145
9146         * lyx_sty.C:
9147         * lyx_sty.h: added tabularnewline macro def.
9148
9149         * LaTeXFeatures.C: added NeedTabularnewline macro feature
9150
9151 2002-09-06  John Levon  <levon@movementarian.org>
9152
9153         * LyXAction.C: tooltips for sub/superscript
9154
9155         * MenuBackend.C: a bit more verbose
9156
9157         * lyxfunc.C: tiny clean
9158
9159         * undo_funcs.C: document undo_frozen
9160
9161 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9162
9163         * counters.C (Counters): add missing algorithm counter.
9164
9165         * text2.C (setCounter): lookup the counter with layouts latexname
9166         instead of by section number.
9167         (setCounter): use a hackish way to lookup the correct enum
9168         counter.
9169         a float name->type change
9170         reset enum couners with counter name directly instead of depth value.
9171
9172         * counters.C (Counters): remove the push_backs, change to use the
9173         float type not the float name.
9174         (labelItem): remove unused string, float name->type change
9175
9176         * counters.h: don't include vector, loose the enums and sects vectors
9177
9178 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9179
9180         * lyxtextclass.C (TextClassTags): add TC_FLOAT
9181         (Read): add float->TC_FLOAT to textclassTags
9182         (Read): and handle it in the switch
9183         (readFloat): new function
9184
9185         * FloatList.C (FloatList): comment out the hardcoded float
9186         definitions.
9187
9188         * lyxlayout.h: ws change.
9189
9190 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
9191
9192         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9193
9194 2002-09-03  Angus Leeming  <leeming@lyx.org>
9195
9196         * BufferView_pimpl.h: qualified name is not allowed in member
9197         declaration: WorkArea & Pimpl::workarea() const;
9198
9199         * factory.C: added using std::endl directive.
9200
9201         * text3.C: added using std::find and std::vector directives.
9202
9203 2002-08-29  André Pönitz <poenitz@gmx.net>
9204
9205         * lyxtext.h:
9206         * text2.C: remove unused member number_of_rows
9207
9208         * Makefile.am:
9209         * BufferView2.C: remove file, move contents to...
9210         * BufferView.C: ... here
9211
9212         * BufferView_pimpl.C:
9213         * factory.C: move more inset creation to factory
9214
9215         * vspace.C: avoid direct usage of LyXText, ws changes
9216
9217         * BufferView.[Ch]:
9218                 don't provide direct access to WorkArea, use two simple
9219                 acessors haveSelction() and workHeight() instead
9220
9221
9222 2002-08-29  John Levon  <levon@movementarian.org>
9223
9224         * BufferView_pimpl.C (dispatch): do not continue when
9225           no buffer
9226
9227 2002-08-28  André Pönitz <poenitz@gmx.net>
9228
9229         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9230
9231         * BufferView.h:
9232         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9233
9234 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
9235
9236         * buffer.C: increment LYX_FORMAT to 221
9237
9238         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9239         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9240
9241         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9242
9243         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9244
9245 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9246
9247         * factory.C (createInset): use LyXTextClass::floats
9248
9249         * MenuBackend.C (expandFloatListInsert):
9250         (expandFloatInsert):
9251         (expandToc):
9252
9253         * text2.C (setCounter):
9254
9255         * LaTeXFeatures.C (useFloat):
9256         (getFloatDefinitions):
9257
9258         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9259
9260         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9261         floatlist_, with accessor floats().
9262
9263         * FloatList.h: remove global FloatList
9264
9265 2002-08-26  André Pönitz <poenitz@gmx.net>
9266
9267         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9268
9269         * BufferView.h:
9270         * BufferView2.C:
9271         * BufferView_pimpl.C:
9272         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9273
9274 2002-08-25  John Levon  <levon@movementarian.org>
9275
9276         * LyXAction.C: fix margin note description
9277
9278 2002-08-24  John Levon  <levon@movementarian.org>
9279
9280         * buffer.C:
9281         * bufferlist.C:
9282         * bufferview_funcs.C:
9283         * lyxfont.C:
9284         * undo_funcs.C: cleanups
9285
9286         * lyxfunc.C: disable CUT/COPY when no selection
9287
9288 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
9289
9290         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9291         in "enum UNIT"; e.g. PTW for Percent of TextWidth
9292
9293         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9294         Add backward compatibility to "mono", "gray" and "no".
9295
9296 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
9297
9298         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9299         (and file_format >= 200).
9300
9301 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9302
9303         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9304
9305 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9306
9307         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9308
9309 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
9310
9311         * BufferView_pimpl.C:
9312         * LyXAction.C:
9313         * buffer.C:
9314         * commandtags.h:
9315         * lyxfunc.C:
9316         * paragraph.[Ch]:
9317         * text2.C:
9318         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9319         inset and code to make it  work with the paragraph code. The inset
9320         can be anywhere in the paragraph, but will only do the expected
9321         thing in LaTeX if the layout file contains the parameter line
9322                         OptionalArgs    1
9323         (or more generally, a nonzero value) for that layout.
9324
9325 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
9326
9327         * paragraph.h: remove the declaration of undefined counters class
9328         function.
9329
9330 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
9331
9332         * text2.C (setCounter):  fixed enumeration mis-count as reported by
9333         Dr. Richard Hawkins.
9334
9335 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9336
9337         * paragraph_funcs.h: remove some unneeded includes
9338
9339         * text.C (backspace): pasteParagraph now in global scipe
9340
9341         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9342         (pasteSelection): ditto
9343
9344         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9345         * paragraph_funcs.C (pasteParagraph): ... here
9346
9347 2002-08-20  André Pönitz <poenitz@gmx.net>
9348
9349         * commandtags.h: new LFUNs for swapping/copying table row/colums
9350
9351         * LyXAction.C:
9352         * lyxfunc.C: support for new lfuns
9353
9354 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
9355
9356         * tabular.C:
9357         * buffer.[Ch]: remove NO_COMPABILITY stuff
9358
9359 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
9360
9361         * boost.C (throw_exception): new file, with helper function for
9362         boost compiled without exceptions.
9363
9364         * paragraph.h:
9365         * lyxlength.C:
9366         * buffer.C:
9367         * ParameterStruct.h:
9368         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9369
9370         * bufferlist.C (emergencyWriteAll): use boost bind
9371
9372         * BufferView_pimpl.C (moveCursorUpdate): remove inline
9373
9374         * text.C: include paragraph_funcs.h
9375         (breakParagraph): breakParagraph is now in global scope
9376
9377         * paragraph_funcs.[Ch]: new files
9378
9379         * paragraph.C (breakParagraph,breakParagraphConservative): move to
9380         global scope
9381
9382         * buffer.C: include paragraph_funcs.h
9383         (insertStringAsLines): breakParagraph is now in global scope
9384
9385         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9386         paragraph_funcs.C
9387
9388         * CutAndPaste.C: include paragraph_funcs.h
9389         (cutSelection): breakParagraphConservative is now in global scope
9390         (pasteSelection): ditto
9391
9392         * buffer.h: declare oprator== and operator!= for
9393         Buffer::inset_iterator
9394
9395         * bufferlist.C (emergencyWrite): don't use fmt(...)
9396
9397         * text3.C: add using std::endl
9398
9399         * BufferView.C (moveCursorUpdate): remove default arg
9400
9401 2002-08-20  André Pönitz <poenitz@gmx.net>
9402
9403         * buffer.[Ch]: move inline functions to .C
9404
9405         * BufferView2.C:
9406         * BufferView_pimpl.C:
9407         * text.C:
9408         * buffer.[Ch]: use improved inset_iterator
9409
9410         * buffer.C:
9411         * paragraph.[Ch]: write one paragraph at a time
9412
9413 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
9414
9415         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9416         style if style is not specified.
9417
9418 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9419
9420         * text2.C (setCounter): when searching for right label for a
9421         caption, make sure to recurse to parent insets (so that a caption
9422         in a minipage in a figure float works) (bug #568)
9423
9424 2002-08-20  André Pönitz <poenitz@gmx.net>
9425
9426         * text3.C: new file for LyXText::dispatch() and helpers
9427
9428         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9429
9430         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9431
9432 2002-08-19  André Pönitz <poenitz@gmx.net>
9433
9434         * lyxtext.h:
9435         * text.C: new LyXText::dispatch()
9436
9437         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9438
9439 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
9440
9441         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9442
9443         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9444         Hebrew text.
9445
9446 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9447
9448         * Makefile.am: use $(variables) instead of @substitutions@
9449
9450 2002-08-15  André Pönitz <poenitz@gmx.net>
9451
9452         * lyxfunc.C:
9453         * BufferView_pimpl.C: streamlining mathed <-> outer world
9454         interaction
9455
9456         * commandtags.h:
9457         * LyXAction.C: remove unused LFUN_MATH
9458
9459 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9460
9461         * paragraph.[Ch]: add some NO_NEXT ifdefs.
9462
9463 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9464
9465         * paragraph.C (Paragraph): reformat a bit
9466         (cutIntoMinibuffer): use builtin InsetList function instad of
9467         doing it manually.
9468         (getInset): ditto
9469
9470         * buffer.C: include boost/bind.hpp, add using std::for_each
9471         (writeFileAscii): use ParagraphList iterators
9472         (validate): use for_each for validate traversal of paragraphs
9473         (getBibkeyList): use ParagraphList iterators
9474         (resizeInsets): use for_each to resizeInsetsLyXText for all
9475         paragraphs.
9476         (getParFromID): use ParagraphList iterators
9477
9478         * BufferView2.C (lockInset): use paragraph list and iterators
9479
9480 2002-08-14  John Levon  <levon@movementarian.org>
9481
9482         * lyxserver.C: remove spurious xforms include
9483
9484 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9485
9486         * lyxfunc.C (getStatus): disable math-extern outside of math mode
9487
9488 2002-08-13  André Pönitz <poenitz@gmx.net>
9489
9490         * LyXAction.[Ch]:
9491         * lyxfunc.C: further cleaning
9492
9493 2002-08-13  André Pönitz <poenitz@gmx.net>
9494
9495         * funcrequest.h: new constructor
9496
9497         * funcrequest.C: move stuff here from .h
9498
9499         * Makefile.am:
9500         * BufferView_pimpl.C:
9501         * LyXAction.C:
9502         * toc.C:
9503         * lyxfunc.C: subsequent changes
9504
9505         * lyxfunc.h: new view() member function
9506
9507         * lyxfunc.C: subsequent changes
9508
9509 2002-08-13  Angus Leeming  <leeming@lyx.org>
9510
9511         * BufferView2.C:
9512         * BufferView_pimpl.C:
9513         * buffer.C:
9514         * converter.C:
9515         * importer.C:
9516         * lyxfunc.C:
9517         * lyxvc.C:
9518         * toc.C:
9519         * vc-backend.C:
9520         changes due to the changed LyXView interface that now returns references
9521         to member variables not pointers.
9522
9523 2002-08-13  Angus Leeming  <leeming@lyx.org>
9524
9525         * WordLangTuple (word, lang_code): return references to strings,
9526         not strings.
9527
9528         * BufferView.h:
9529         * SpellBase.h:
9530         * lyxtext.h: forward-declare WordLangTuple.
9531
9532         * BufferView2.C:
9533         * ispell.C:
9534         * pspell.C:
9535         * text.C: #include "WordLangTuple.h".
9536
9537         * lyxtext.h:
9538         * text.C: (selectNextWordToSpellcheck): constify return type.
9539
9540 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
9541
9542         * buffer.C:
9543         * buffer.h:
9544         * lyxtext.h:
9545         * paragraph.C:
9546         * paragraph_pimpl.h:
9547         * text.C:
9548         * text2.C:
9549         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9550         suggested by Angus.
9551         Made updateCounter always count from start of buffer, and removed
9552         second argument (par).
9553         Reverted floats number display to '#'. Perhaps I'll try again when the
9554         code base is sanitized a bit.
9555
9556 2002-08-12  Angus Leeming  <leeming@lyx.org>
9557
9558         * buffer.[Ch] (getLabelList): constify.
9559
9560 2002-08-07  André Pönitz <poenitz@gmx.net>
9561
9562         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9563
9564         * funcrequest.h: extension to keep mouse (x,y) position
9565
9566 2002-08-12  Juergen Vigna  <jug@sad.it>
9567
9568         * BufferView2.C (insertErrors): forbid undo when inserting error
9569         insets.
9570
9571         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9572
9573 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9574
9575         * ParagraphList.[Ch]: new files
9576
9577         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9578
9579         * BufferView2.C (lockInset): ParagraphList changes
9580         * toc.C: ditto
9581         * text2.C: ditto
9582         * bufferlist.C: ditto
9583         * buffer.h: ditto
9584         * buffer.C: ditto
9585
9586 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9587
9588         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9589         unused class variable counter_,
9590
9591         * paragraph.[Ch] (getFirstCounter): delete unused function
9592
9593         * counters.C: include LAssert.h
9594         (reset): add a new function with no arg, change other version to
9595         not have def. arg and to not allow empty arg.
9596
9597         * text2.C (setCounter): remove empty arg from call to Counters::reset
9598
9599 2002-08-11  John Levon  <levon@movementarian.org>
9600
9601         * Makefile.am: add WordLangTuple.h
9602
9603 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9604
9605         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9606         lyxfunc.C lyxlex_pimpl.C: ws changes only.
9607
9608         * insets/insettext.C: InsetList changes
9609
9610         * graphics/GraphicsSupport.C (operator()): InsetList changes
9611
9612         * toc.C (getTocList): InsetList changes
9613
9614         * paragraph_pimpl.[Ch]: InsetList changes
9615
9616         * paragraph.[Ch]: InsetList changes
9617
9618         * buffer.C (inset_iterator): InsetList changes
9619         (setParagraph): ditto
9620         * buffer.h (inset_iterator): ditto
9621         * iterators.C (operator++): ditto
9622         * iterators.h: ditto
9623
9624         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9625
9626         * InsetList.[Ch]: new files, most InsetList handling moved out of
9627         paragraph.C.
9628
9629         * BufferView2.C (removeAutoInsets): InsetList changes
9630         (lockInset): ditto
9631         (ChangeInsets): ditto
9632
9633 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
9634
9635         * paragraph_pimpl.h (empty): new function
9636
9637         * paragraph.[Ch] (empty): new function
9638
9639         * other files: use the new Paragraph::empty function
9640
9641 2002-08-09  John Levon  <levon@movementarian.org>
9642
9643         * lyxtext.h: remove unused refresh_height
9644
9645 2002-08-09  John Levon  <levon@movementarian.org>
9646
9647         * Makefile.am:
9648         * sgml.h:
9649         * sgml.C:
9650         * buffer.C:
9651         * paragraph.h:
9652         * paragraph.C: move sgml char escaping out of paragraph
9653
9654         * paragraph.h:
9655         * paragraph.C: remove id setter
9656
9657         * buffer.C:
9658         * paragraph.C:
9659         * paragraph_pimpl.C: remove dead tex_code_break_column
9660
9661         * bufferview_funcs.C: small cleanup
9662
9663         * lyxfunc.C: remove dead proto
9664
9665         * lyxtext.h: make some stuff private. Remove some dead stuff.
9666
9667         * lyxgluelength.C: make as[LyX]String() readable
9668
9669 2002-08-08  John Levon  <levon@movementarian.org>
9670
9671         * LyXAction.h:
9672         * LyXAction.C:
9673         * MenuBackend.C:
9674         * ToolbarDefaults.C:
9675         * lyxfunc.C:
9676         * lyxrc.C:
9677         * toc.C: lyxaction cleanup
9678
9679 2002-08-08  John Levon  <levon@movementarian.org>
9680
9681         * BufferView2.C: small cleanup
9682
9683         * lyxfind.h:
9684         * lyxfind.C: move unnecessary header into the .C
9685
9686 2002-08-08  John Levon  <levon@movementarian.org>
9687
9688         * funcrequest.h: just tedious nonsense
9689
9690         * lyx_main.h:
9691         * lyx_main.C: cleanups
9692
9693         * buffer.C:
9694         * vspace.C: remove dead header lyx_main.h
9695
9696 2002-08-07  Angus Leeming  <leeming@lyx.org>
9697
9698         * Paragraph.[Ch]:
9699         * paragraph_pimpl.h:
9700         Forward declare class Counters in paragraph.h by moving the ctrs member
9701         variable into Paragraph::Pimpl.
9702         (counters): new method, returning a reference to pimpl_->ctrs.
9703
9704         * text2.C: ensuing changes.
9705
9706 2002-08-07  John Levon  <levon@movementarian.org>
9707
9708         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9709
9710         * BufferView_pimpl.C: announce X selection on double/triple
9711           click
9712
9713         * lyx_main.C: use correct bool in batch dispatch
9714
9715         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9716
9717 2002-08-07  André Pönitz <poenitz@gmx.net>
9718
9719         * funcrequest.h: new class to wrap a kb_action and its argument
9720
9721         * BufferView.[Ch]:
9722         * BufferView_pimpl[Ch]:
9723         * LaTeX.C:
9724         * LyXAction.[Ch]:
9725         * lyxfunc.[Ch]:
9726         * lyxrc.C: subsequent changes
9727
9728
9729 2002-08-07  John Levon  <levon@movementarian.org>
9730
9731         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9732           document options change.
9733
9734 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
9735
9736         * counters.[Ch]
9737         * text2.C
9738         * paragraph.[Ch]
9739         * makefile.am: move counters functionality over from
9740         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9741
9742 2002-08-06  John Levon  <levon@movementarian.org>
9743
9744         * WordLangTuple.h: new file for word + language code tuple
9745
9746         * SpellBase.h:
9747         * pspell.h:
9748         * pspell.C:
9749         * ispell.h:
9750         * ispell.C:
9751         * lyxtext.h:
9752         * text.C:
9753         * text2.C:
9754         * BufferView.h:
9755         * BufferView2.C: use WordLangTuple
9756
9757         * layout.h:
9758         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9759
9760 2002-08-06  John Levon  <levon@movementarian.org>
9761
9762         * lyx_main.C: fix cmdline batch handling
9763
9764 2002-08-06  André Pönitz <poenitz@gmx.net>
9765
9766         * lyxrc.C: set default for show_banner to true
9767
9768 2002-08-06  John Levon  <levon@movementarian.org>
9769
9770         * pspell.C: fix a crash, and allow new aspell to work
9771
9772 2002-08-06  John Levon  <levon@movementarian.org>
9773
9774         * lyxfunc.C:
9775         * kbmap.C: small cleanup
9776
9777         * vspace.h:
9778         * vspace.C: add const
9779
9780 2002-08-05  John Levon  <levon@movementarian.org>
9781
9782         * LyXAction.C: back to tabular-insert
9783
9784 2002-08-04  John Levon  <levon@movementarian.org>
9785
9786         * BufferView.h:
9787         * BufferView.C: cosmetic change
9788
9789         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9790
9791         * bufferlist.C:
9792         * buffer.h:
9793         * buffer.C:
9794         * lyxcb.h:
9795         * lyxcb.C:
9796         * lyxserver.C:
9797         * lyxvc.C:
9798         * vc-backend.C:
9799         * BufferView2.C: purge all "Lyx" not "LyX" strings
9800
9801         * lyxcursor.h:
9802         * lyxcursor.C: attempt to add some documentation
9803
9804         * lyxfunc.C:
9805         * commandtags.h:
9806         * LyXAction.C:
9807         * ToolbarDefaults.C:
9808         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9809           merge with LFUN_TABULAR_INSERT
9810
9811         * Makefile.am:
9812         * SpellBase.h:
9813         * ispell.h:
9814         * ispell.C:
9815         * pspell.h:
9816         * pspell.C: split up i/pspell implementations into separate
9817           files, many cleanups
9818
9819         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9820
9821         * text2.C: some cleanup
9822
9823         * lyxfunc.C: don't check for isp_command == "none" any more, it
9824           didn't make any sense
9825
9826 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
9827
9828         * counters.[Ch]
9829         * text2.C
9830         * paragraph.[Ch]
9831         * makefile.am: move counters functionality over
9832         from text2.C/paragraph.[Ch] to counters.[Ch], and
9833         make proper C++.
9834 2002-08-02  John Levon  <levon@movementarian.org>
9835
9836         * buffer.C: s/lyxconvert/lyx2lyx/
9837
9838 2002-08-02  Angus Leeming  <leeming@lyx.org>
9839
9840         * lyxlex.C: revert John's change as it breaks reading of the user
9841         preamble.
9842
9843 2002-08-02  Angus Leeming  <leeming@lyx.org>
9844
9845         * importer.C (Import):
9846         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9847         changes due to LyXView::view() now returning a boost::shared_ptr.
9848
9849 2002-08-02  John Levon  <levon@movementarian.org>
9850
9851         * lyxlex.C: small cleanup
9852
9853 2002-08-02  John Levon  <levon@movementarian.org>
9854
9855         * text2.C (status): small cleanup, no logic change
9856
9857 2002-08-01  John Levon  <levon@movementarian.org>
9858
9859         * buffer.h:
9860         * buffer.C (writeFile): don't output alerts, caller
9861           handles this
9862
9863         * bufferlist.C:
9864         * lyx_cb.C: from above
9865
9866         * lyxfunc.C: allow to open non-existent files
9867
9868 2002-07-31  John Levon  <levon@movementarian.org>
9869
9870         * lyxserver.C: don't let incidental errors get
9871           in the way (errno)
9872
9873 2002-07-30  John Levon  <levon@movementarian.org>
9874
9875         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9876
9877 2002-07-30  John Levon  <levon@movementarian.org>
9878
9879         * lyxserver.h:
9880         * lyxserver.C: remove I/O callback too
9881
9882 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9883
9884         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9885         log.
9886
9887 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9888
9889         * many files: strip,frontStrip -> trim,ltrim,rtrim
9890
9891 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
9892
9893         * PrinterParams.h: remove extern containsOnly, and include
9894         support/lstrings.h instead.
9895
9896         * LaTeX.C (scanAuxFile): modify because of strip changes
9897         (deplog): ditto
9898         * buffer.C (makeLaTeXFile): ditto
9899         * bufferparams.C (writeFile): ditt
9900         * lyxfont.C (stateText): ditto
9901         * lyxserver.C (read_ready): ditto
9902         * vc-backend.C (scanMaster): ditto
9903
9904         * BufferView_pimpl.h: ws changes
9905
9906         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9907
9908 2002-07-26  André Pönitz <poenitz@gmx.net>
9909
9910         * kb_sequence.C: remove unnedred usings
9911
9912 2002-07-26  Juergen Vigna  <jug@sad.it>
9913
9914         * lyxfind.C (LyXReplace): we have to check better if the returned
9915         text is not of theLockingInset()->getLockingInset().
9916
9917 2002-07-25  Juergen Vigna  <jug@sad.it>
9918
9919         * lyxfind.C (LyXReplace): don't replace if we don't get the
9920         right LyXText.
9921
9922         * undo_funcs.C (createUndo): remove debugging code.
9923
9924 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
9925
9926         * buffer.C (parseSingleLyXformat2Token): Use default placement
9927         when reading old floats.
9928
9929         * FloatList.C (FloatList): Change the default placement of figure
9930         and tables to "tbp".
9931
9932 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
9933
9934         * MenuBackend.C: using std::max
9935
9936 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9937
9938         * MenuBackend.C (expandToc):
9939         (expandToc2): code moved from xforms menu frontend. It is now
9940         generic and TOCs are transparent to menu frontends.
9941
9942 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9943
9944         * toc.C (getTocList): protect against buf=0
9945
9946         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9947         Menu as first parameter. Now, this calls itself recursively to
9948         expand a whole tree (this will be useful for TOC handling)
9949         (expandFloatInsert): remove 'wide' version of floats
9950
9951         * MenuBackend.h (submenuname): returns the name of the submenu.
9952         (submenu): returns the submenu itself, provided it has been
9953         created by MenuBackend::expand
9954
9955 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9956
9957         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9958         insets which have noFontChange == true. (bug #172)
9959
9960 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9961
9962         * BufferView_pimpl.C: add connection objects and use them...
9963         (Pimpl): here.
9964
9965 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9966
9967         * MenuBackend.C (expandLastfiles):
9968         (expandDocuments):
9969         (expandFormats):
9970         (expandFloatListInsert):
9971         (expandFloatInsert):
9972         (expand): split expand in parts
9973
9974 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9975
9976         * lyx_gui.C: use lyx_gui::exit()
9977
9978 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9979
9980         * LyXAction.C: show the failing pseudo action
9981
9982 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
9983
9984         * buffer.C (readFile): Run the lyxconvert script in order to read
9985         old files.
9986
9987 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9988
9989         * LyXAction.C:
9990         * commandtags.h:
9991         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9992
9993 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9994
9995         * LyXAction.C:
9996         * commandtags.h:
9997         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9998
9999 2002-07-22  Herbert Voss  <voss@lyx.org>
10000
10001         * lengthcommon.C:
10002         * lyxlength.[Ch]: add support for the vertical lengths
10003
10004 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
10005
10006         * toc.[Ch]: std:: fixes
10007
10008 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10009
10010         * lyxrc.C: do not include lyx_main.h
10011
10012         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10013         for layouts
10014
10015         * lyxrc.C:
10016         * encoding.C:
10017         * bufferlist.C:
10018         * BufferView2.C: include "lyxlex.h"
10019
10020         * tabular.h:
10021         * bufferparams.h: do not #include "lyxlex.h"
10022
10023         * lyxtextclasslist.C (Add): remove method
10024         (classlist): renamed to classlist_
10025
10026         * paragraph_pimpl.C:
10027         * paragraph.C:
10028         * text2.C:
10029         * CutAndPaste.C:
10030         * bufferview_funcs.C:
10031         * bufferlist.C:
10032         * text.C:
10033         * LaTeXFeatures.C:
10034         * buffer.C:
10035         * toc.C (getTocList): use BufferParams::getLyXTextClass
10036
10037         * toc.C (getTocList): use InsetFloat::addToToc
10038
10039         * toc.[Ch]: new files, containing helper functions to handle table
10040         of contents
10041
10042         * lyxfunc.C (dispatch): no need to remove spaces around command
10043         given as a string
10044         (getStatus): handle LFUN_SEQUENCE by returning the status of the
10045         first command of the sequence; it is not very clever, but I do not
10046         have a better idea, actually
10047
10048         * LyXAction.C (LookupFunc): make sure to remove space at the
10049         beginning and end of the command
10050
10051 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10052
10053         * MenuBackend.C (getMenubar): new method: return the menubar of
10054         this menu set
10055         (read): treat differently reading of menu and menubar (in
10056         particular, the menubar has no name now)
10057         (Menu::menubar): remove
10058
10059         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10060         saving is finished
10061
10062 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10063
10064         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10065         a bibitem inset in a RTL paragraph.
10066
10067 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
10068
10069         * paragraph_pimpl.C: constify
10070
10071         * BufferView_pimpl.C:
10072         * LaTeX.C:
10073         * lyxfunc.C: fix dispatch in a nicer way
10074
10075 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10076
10077         * lyxfunc.C (dispatch):
10078         * BufferView_pimpl.C:
10079         * BufferView_pimpl.h:
10080         * BufferView.C:
10081         * BufferView.h: rename Dispatch() to dispatch()
10082
10083         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10084
10085         * lyxlayout.C (Read): honor DependsOn tag
10086
10087         * lyxlayout.[Ch] (depends_on): new method
10088
10089         * version.C.in: update lyx_docversion
10090
10091         * LaTeXFeatures.C (getMacros): only define \LyX when needed
10092
10093         * paragraph.C (validate): remove from here...
10094         * paragraph_pimpl.C (validate): ... and move here
10095         (isTextAt): make it const
10096
10097         * buffer.C (getLists): ws cleanup
10098
10099 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10100
10101         * language.C (read): Use iso8859-1 encoding in latex_lang
10102         (this prevents LyX from crashing when using iso10646-1 encoding).
10103
10104 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10105
10106         * text2.C (toggleInset): if cursor is inside an inset, close the
10107         inset and leave cursor _after_ it
10108
10109 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10110
10111         * lyxfunc.C: move minibuffer completion handling out of here
10112
10113 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10114
10115         * BufferView_pimpl.C:
10116         * LaTeX.C: fix dispatch calls
10117
10118 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
10119
10120         * text.C (drawChars): Fix Arabic text rendering.
10121
10122 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
10123
10124         * LyXAction.C:
10125         * commandtags.h:
10126         * lyxfunc.C: remove message-push/pop
10127
10128         * lyxserver.C:
10129         * lyxfunc.h:
10130         * lyxfunc.C: rationalise some code by removing verboseDispatch
10131           in favour of a bool argument to dispatch()
10132
10133 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10134
10135         * lyx_main.C (init): make sure to read symlinks as absolute paths
10136
10137 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10138
10139         * lyxfunc.h:
10140         * lyxfunc.C: no need for commandshortcut to be a member
10141
10142 2002-07-15  André Pönitz <poenitz@gmx.net>
10143
10144         * converter.C: add support for $$s (scripts from lib/scripts dir)
10145         * lyx_main.C: white space
10146
10147 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10148
10149         * bufferlist.C:
10150         * lyxrc.h:
10151         * lyxrc.C: remove second exit confirmation
10152
10153 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10154
10155         * BufferView.h:
10156         * BufferView.C:
10157         * BufferView2.C:
10158         * BufferView_pimpl.h:
10159         * BufferView_pimpl.C:
10160         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10161
10162 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10163
10164         * MenuBackend.C (expand): add numeric shortcuts to document menu
10165
10166         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10167
10168 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10169
10170         * lyxfont.C (setLyXFamily):
10171         (setLyXSeries):
10172         (setLyXShape):
10173         (setLyXSize):
10174         (setLyXMisc):
10175         (lyxRead):
10176         * debug.C (value):
10177         * buffer.C (asciiParagraph): use ascii_lowercase
10178
10179 2002-07-15  Mike Fabian  <mfabian@suse.de>
10180
10181         * lyxlex_pimpl.C (search_kw):
10182         * lyxlex.C (getLongString):
10183         * converter.h (operator<):
10184         * converter.C (operator<):
10185         * buffer.C (parseSingleLyXformat2Token):
10186         (asciiParagraph):
10187         * ToolbarDefaults.C (read):
10188         * MenuBackend.C (checkShortcuts):
10189         (read):
10190         * LColor.C (getFromGUIName):
10191         (getFromLyXName): use the compare_ascii_no_case instead of
10192         compare_no_case, because in turkish, 'i' is not the lowercase
10193         version of 'I', and thus turkish locale breaks parsing of tags.
10194
10195 2002-07-16  Angus Leeming  <leeming@lyx.org>
10196
10197         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10198         now takes a Buffer const & argument.
10199
10200 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
10201
10202         * BufferView.C (resize): check there's a buffer to resize
10203
10204 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
10205
10206         * lyxfunc.C: remove dead code
10207
10208         * lyxserver.h:
10209         * lyxserver.C: use lyx_guii::set_read_callback
10210
10211 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
10212
10213         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10214         an inset in a RTL paragraph.
10215
10216 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10217
10218         * lyxfunc.C: repaint after a font size update
10219
10220 2002-07-15  André Pönitz <poenitz@gmx.net>
10221
10222         * lyxlength.C: inBP should be able to return negative values
10223
10224 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10225
10226         * lyxfunc.C: use lyx_gui::update_fonts()
10227
10228 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10229
10230         * lyxfunc.C: use lyx_gui::update_color()
10231
10232 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10233
10234         * bufferlist.C:
10235         * lyxfunc.h:
10236         * lyxfunc.C:
10237         * lyxrc.h:
10238         * lyxrc.C: remove file->new asks for name option, and let
10239           buffer-new take an argument
10240
10241 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10242
10243         * BufferView_pimpl.C: remove unneeded extra repaint()
10244
10245 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
10246
10247         * LyXAction.C: allow command-sequence with NoBuffer
10248
10249         * lyxfunc.C: don't insist on trailing ';' for command-sequence
10250
10251 2002-07-10  Angus Leeming  <leeming@lyx.org>
10252
10253         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10254
10255 2002-07-09  Angus Leeming  <leeming@lyx.org>
10256
10257         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10258
10259 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10260
10261         * lengthcommon.h: whitespace
10262
10263         * lyxfunc.C: update scrollbar after goto paragraph
10264
10265         * lyxtext.h: factor out page break drawing, and fix it so
10266           page break/added space paints as selected nicely
10267
10268 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10269
10270         * BufferView_pimpl.C: add FIXMEs, clean up a little
10271
10272 2002-07-09  André Pönitz <poenitz@gmx.net>
10273
10274         * lyxfont.[Ch]: support for wasy symbols
10275
10276 2002-07-08  André Pönitz <poenitz@gmx.net>
10277
10278         * BufferView_pimpl.C: apply John's patch for #93.
10279
10280 2002-07-05  Angus Leeming  <leeming@lyx.org>
10281
10282         * BufferView_pimpl.C (buffer): generate previews if desired.
10283
10284         * LColor.h: add "preview" to the color enum.
10285
10286         * LColor.C (LColor): add a corresponding entry to the items array.
10287
10288         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10289         with this buffer.
10290
10291 2002-07-05  Angus Leeming  <leeming@lyx.org>
10292
10293         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10294         The body of the code is now in the method that is passed an ostream &
10295         rather than a file name.
10296         Pass an additional only_preamble parameter, useful for the forthcoming
10297         preview stuff.
10298
10299 2002-07-03  André Pönitz <poenitz@gmx.net>
10300
10301         * lyxfunc.C: simplify getStatus() a bit for math stuff
10302
10303 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10304
10305         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10306
10307 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10308
10309         * text.C (changeRegionCase): do not change case of all the
10310         document when region ends at paragraph end (bug #461)
10311
10312 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10313
10314         * paragraph.C (startTeXParParams):
10315         (endTeXParParams): add \protect when necessary
10316
10317 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10318
10319         * BufferView_pimpl.C (workAreaExpose): remove warning
10320
10321 2002-06-27  Angus Leeming  <leeming@lyx.org>
10322
10323         * Makefile.am: add lyxlayout_ptr_fwd.h.
10324
10325 2002-06-26  André Pönitz <poenitz@gmx.net>
10326
10327         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10328
10329 2002-06-25  Angus Leeming  <leeming@lyx.org>
10330
10331         * lyxfunc.C (dispatch): Comment out the call to
10332         grfx::GCache::changeDisplay. The method no longer exists now that the
10333         pixmap generation part of the graphics loader has been moved into
10334         InsetGraphics.
10335
10336 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10337
10338         * text2.C: layout as layout
10339
10340         * text.C: layout as layout
10341
10342         * tabular.C (OldFormatRead): layout as layout
10343
10344         * paragraph_pimpl.C (TeXDeeper): layout as layout
10345         (realizeFont): layout as layout
10346
10347         * paragraph.C (writeFile): layout as layout
10348         (validate): layout as layout
10349         (getFont): layout as layout
10350         (getLabelFont): layout as layout
10351         (getLayoutFont): layout as layout
10352         (breakParagraph): layout as layout
10353         (stripLeadingSpaces): layout as layout
10354         (getEndLabel): layout as layout
10355         (getMaxDepthAfter): layout as layout
10356         (applyLayout): layout as layout
10357         (TeXOnePar): layout as layout
10358         (simpleTeXOnePar): layout as layout
10359         (TeXEnvironment): layout as layout
10360         (layout): layout as layout
10361         (layout): layout as layout
10362
10363         * lyxtextclass.C (compare_name): new functor to work with
10364         shared_ptr, layout as layout
10365         (Read): layout as layout
10366         (hasLayout): layout as layout
10367         (operator): layout as layout
10368         (delete_layout): layout as layout
10369         (defaultLayout): layout as layout
10370
10371         * lyxlayout_ptr_fwd.h: new file
10372
10373         * lyxlayout.C (Read): layout as layout
10374
10375         * lyx_cb.C (MenuInsertLabel): layout as layout
10376
10377         * bufferlist.C (newFile): layout as layout
10378
10379         * buffer.C (readLyXformat2): layout as layout
10380         (parseSingleLyXformat2Token): layout as layout
10381         (insertStringAsLines): layout as layout
10382         (asciiParagraph): layout as layout
10383         (latexParagraphs): layout as layout
10384         (makeLinuxDocFile): layout as layout
10385         (simpleLinuxDocOnePar): layout as layout
10386         (makeDocBookFile): layout as layout
10387         (simpleDocBookOnePar): layout as layout
10388         (getLists): layout as layout
10389
10390         * LaTeXFeatures.C (getTClassPreamble): layout as layout
10391
10392         * CutAndPaste.C (cutSelection): layout as layout
10393         (pasteSelection): layout as layout
10394         (SwitchLayoutsBetweenClasses): layout as layout
10395
10396         * BufferView_pimpl.C (Dispatch): layout as layout
10397         (smartQuote): layout as layout
10398
10399         * BufferView2.C (unlockInset): layout as layout
10400
10401 2002-06-24  André Pönitz <poenitz@gmx.net>
10402
10403         * lyxfunc.C: fix #487
10404
10405 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10406
10407         * lyxrc.h:
10408         * lyxrc.C:
10409         * lyxfunc.C: remove display_shortcuts, show_banner
10410
10411 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10412
10413         * Buffer_pimpl.C: oops, update on resize
10414
10415 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10416
10417         * buffer.C:
10418         * converter.C:
10419         * exporter.C:
10420         * lyxfunc.C:
10421         * BufferView.h:
10422         * BufferView.C: use repaint()
10423
10424         * BufferView_pimpl.h:
10425         * BufferView_pimpl.C: s/updateScreen()/repaint()/
10426           as it's a clearer description. Remove superfluous
10427           redraws.
10428
10429 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10430
10431         * text.C: fix bug 488. Not ideal, but getting
10432           getWord() to work properly for the insets that
10433           matter is more difficult ...
10434
10435 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10436
10437         * BufferView_pimpl.C:
10438         * LyXAction.C:
10439         * commandtags.h:
10440         * lyxfunc.C: remove the six million index lyxfuncs to just
10441           one, and DTRT (bug 458)
10442
10443 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10444
10445         * BufferView.h:
10446         * BufferView.C:
10447         * BufferView_pimpl.h:
10448         * BufferView_pimpl.C: clean up resize() stuff,
10449           and unnecessary updateScreen()s
10450
10451 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10452
10453         * BufferView.h:
10454         * BufferView.C:
10455         * BufferView_pimpl.h:
10456         * BufferView_pimpl.C:
10457         * lyxfind.h:
10458         * lyxfind.C:
10459         * minibuffer.C: remove focus management of workarea,
10460           not needed. Use screen's greyOut()
10461
10462 2002-06-17  Herbert Voss  <voss@lyx.org>
10463
10464         * converter.C: (convert) do not post a message, when converting
10465         fails, let the calling function decide what to do in this case
10466
10467 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
10468
10469         * lyxfunc.C: tidy up a little
10470
10471 2002-06-16    <alstrup@diku.dk>
10472
10473         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10474         Got rid of FORMS_H_LOCATION include. Now we are
10475         GUII.
10476
10477 2002-06-15  LyX Development team  <lyx@rilke>
10478
10479         * buffer.[Ch] (sgmlOpenTag):
10480         (sgmlCloseTag): Added support for avoiding pernicious mixed
10481         content. Return number of lines written.
10482
10483         (makeLinuxDocFile):
10484         (makeDocBookFile): Fixed calls to sgml*Tag.
10485         Simple white space clean.
10486
10487         (simpleDocBookOnePar): Simple white space clean.
10488
10489         * tabular.[Ch] (docBook): Renamed to docbook and got another
10490         argument to related with the pernicious mixed content.
10491
10492         (docbookRow): Fixed calls for docbook inset method.
10493
10494 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
10495
10496         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10497         so it's X11 independent.
10498
10499         * kb*.[Ch]: ditto.
10500
10501         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10502
10503 2002-06-15  Lyx Development team  <lyx@electronia>
10504
10505         * intl.h: Renamed getTrans to getTransManager.
10506
10507 2002-06-14  Angus Leeming  <leeming@lyx.org>
10508
10509         * Makefile.am: nuke forgotten stl_string_fwd.h.
10510
10511 2002-06-12  Angus Leeming  <leeming@lyx.org>
10512
10513         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10514
10515 2002-06-13  Angus Leeming  <leeming@lyx.org>
10516
10517         * LaTeX.C:
10518         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10519
10520 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
10521
10522         * kbmap.C (getiso): add support for cyrillic and greek
10523
10524 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10525
10526         * BufferView.h:
10527         * BufferView.C:
10528         * BufferView_pimpl.h:
10529         * BufferView_pimpl.C: move bogus scrolling logic
10530           to xforms
10531
10532 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10533
10534         * lyxfunc.C:
10535         * BufferView_pimpl.C: view->resize() change
10536
10537 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10538
10539         * BufferView_pimpl.C: topCursorVisible
10540           prototype change
10541
10542 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10543
10544         * Makefile.am:
10545         * lyx_gui.h:
10546         * lyx_gui.C: move to frontends/
10547
10548         * main.C:
10549         * lyx_main.h:
10550         * lyx_main.C: changes from above
10551
10552 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10553
10554         * intl.C:
10555         * intl.h:
10556         * kbmap.C:
10557         * kbsequence.C:
10558         * lyx_cb.C:
10559         * lyx_main.C: minor tidy
10560
10561 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10562
10563         * BufferView_pimpl.h:
10564         * BufferView_pimpl.C:
10565         * BufferView.h:
10566         * BufferView.C: make painter() const,
10567           remove dead code
10568
10569         * BufferView2.C: use screen() accessor
10570
10571         * lyx_main.h:
10572         * lyx_main.C: some minor cleanup
10573
10574 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10575
10576         * BufferView_pimpl.h:
10577         * BufferView_pimpl.C: remove enter/leaveView,
10578           use workHeight()
10579
10580 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10581
10582         * BufferView.h:
10583         * BufferView.C:
10584         * BufferView2.C:
10585         * BufferView_pimpl.h:
10586         * BufferView_pimpl.C: only construct screen once,
10587           rename
10588
10589         * lyxrc.C: remove pointless comment
10590
10591 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10592
10593         * BufferView.h:
10594         * BufferView.C: remove active() and belowMouse()
10595
10596         * BufferView_pimpl.h:
10597         * BufferView_pimpl.C: use workarea() not workarea_,
10598           and make it use a scoped_ptr instead
10599
10600 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10601
10602         * lyx_gui.C: add debug message on BadWindow
10603
10604 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10605
10606         * sp_spell.C: fdopen is not part of the C++ standard.
10607
10608         * paragraph.C (InsetIterator): use >= instead of ==
10609
10610 2002-06-07  Angus Leeming  <leeming@lyx.org>
10611
10612         Fixes needed to compile with Compaq cxx 6.5.
10613         * BufferView_pimpl.C:
10614         * DepTable.C:
10615         * buffer.C:
10616         * converter.C:
10617         * encoding.C:
10618         * lyx_gui.C:
10619         * lyx_main.C:
10620         * lyxtextclasslist.C:
10621         * minibuffer.C:
10622         * sp_spell.C:
10623         * tabular_funcs.C:
10624         * vc-backend.C:
10625         all c-library variables have been moved into namespace std. Wrap
10626         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10627
10628         * lyxlength.C:
10629         * tabular-old.C:
10630         * tabular.C:
10631         Add a using std::abs declaration.
10632
10633         * kbmap.h (modifier_pair):
10634         * paragraph.h (InsetTable, InsetList):
10635         * lyxfont.h (FontBits):
10636         type definition made public.
10637
10638         * bufferlist.C (emergencyWriteAll): the compiler complains that
10639         there is more than one possible lyx::class_fun template to choose from.
10640         I re-named the void specialisation as lyx::void_class_fun.
10641
10642         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10643
10644         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10645         the compiler is is unable to find tostr in write_attribute.
10646
10647 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10648
10649         * buffer.C (sgmlError): hide #warning
10650
10651 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10652
10653         * xtl/*: get rid of xtl, which is not in use anyway
10654
10655         * LyXAction.C (init):
10656         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10657         were unimplemented xtl experimentation
10658
10659 2002-06-04  André Pönitz <poenitz@gmx.net>
10660
10661         * lyxfunc.C: disable array operation on simple formulae
10662
10663 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
10664
10665         * converter.C: constify a bit
10666
10667 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
10668
10669         * lyx_gui.C: check xforms version correctly
10670
10671 2002-04-30  Herbert Voss  <voss@lyx.org>
10672
10673         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10674         "keep" option
10675
10676 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
10677
10678         * lyxvc.C: fix bug 416 (make sure buffer is saved before
10679           attempt to register it with a VCS)
10680
10681 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10682
10683         * lyx_main.C (init): honor variables LYX_DIR_13x and
10684         LYX_USERDIR_13x
10685
10686 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10687
10688         * buffer.h:
10689         * buffer.C:
10690         * lyx_main.C: fix a crash on bad command line,
10691           and give a useful exit status on error
10692
10693         * lyxfunc.C (doImport): allow -i lyx to work
10694
10695 2002-03-30  André Pönitz <poenitz@gmx.net>
10696
10697         * lyxfunc.C: mathed font changes
10698
10699 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10700
10701         * LaTeX.C:
10702         * importer.h:
10703         * importer.C:
10704         * lyx_sty.h:
10705         * lyx_sty.C:
10706         * lyxlex.C:
10707         * lyxrow.h:
10708         * lyxtext.h:
10709         * paragraph.h:
10710         * paragraph.C:
10711         * texrow.h:
10712         * texrow.C:
10713         * text.C:
10714         * trans_mgr.h: srcdocs, and some minor cleanups
10715
10716 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10717
10718         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10719         call getFont all the time)
10720
10721 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10722
10723         * switch from SigC signals to boost::signals
10724
10725 2002-05-29  André Pönitz <poenitz@gmx.net>
10726
10727         * paragraph_pimpl.C (getChar): don't call size() too often...
10728
10729 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10730
10731         * paragraph_pimpl.C (insertChar): do not try to update tables when
10732         appending (pos == size())
10733
10734         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10735         in order to reduce drastically the number of comparisons needed to
10736         parse a large document
10737
10738 2002-05-29  André Pönitz <poenitz@gmx.net>
10739
10740         * text.C:
10741         * text2.C:
10742         * lyxtextclass.C:
10743         * sp_pspell.h:
10744         * textclasslist.[Ch]:
10745         * sp_ispell.h: whitespace change
10746
10747 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10748
10749         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10750         lyxaction directly now.
10751
10752 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
10753
10754         * trans.C:
10755         * lyxfont.C:
10756         * lyxvc.C: remove unused headers
10757
10758 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10759
10760         * Makefile.am:
10761         * buffer.h:
10762         * undostack.h:
10763         * undostack.C:
10764         * undo_funcs.h:
10765         * undo_funcs.C: some cleanups. Use shared_ptr
10766           and a template for the undo stacks.
10767
10768 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10769
10770         * BufferView_pimpl.h:
10771         * BufferView_pimpl.C:
10772         * kbmap.h:
10773         * kbmap.C:
10774         * kbsequence.h:
10775         * kbsequence.C:
10776         * lyxfunc.h:
10777         * lyxfunc.C:
10778         * text2.C: use key_state/mouse_state
10779
10780 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10781
10782         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10783         and LSubstring
10784
10785         * chset.C: change include order
10786         (loadFile): use boost regex and get rid of LRegex and LSubstring
10787
10788         * Makefile.am (BOOST_LIBS): new variable
10789         (lyx_LDADD): use it
10790
10791         * LaTeX.C: change include order.
10792         (scanAuxFile): use boost regex and get rid of LRegex and
10793         LSubstring
10794         (deplog): ditto
10795
10796 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10797
10798         * ColorHandler.h:
10799         * ColorHandler.C:
10800         * FontInfo.h:
10801         * FontInfo.C: moved to frontends/xforms/
10802
10803         * FontLoader.h:
10804         * FontLoader.C: moved into frontends for GUIIzation
10805
10806         * Makefile.am:
10807         * lyx_gui.C:
10808         * lyxfont.C:
10809         * lyxfunc.C: changes from above
10810
10811 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10812
10813         * LColor.C: remove spurious X include
10814
10815         * BufferView_pimpl.C:
10816         * Makefile.am:
10817         * font.h:
10818         * font.C:
10819         * text.C:
10820         * text2.C: move font metrics to frontends/
10821
10822 2002-05-24  Juergen Vigna  <jug@sad.it>
10823
10824         * undo_funcs.C (textHandleUndo): fix the cursor selection after
10825         setting the undo_cursor.
10826
10827         * ParagraphParameters.h: include local includes first.
10828
10829 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10830
10831         * BufferView_pimpl.C:
10832         * BufferView_pimpl.h:
10833         * Makefile.am:
10834         * WorkArea.h:
10835         * WorkArea.C:
10836         * screen.C: move WorkArea into frontends/
10837
10838         * lyxscreen.h:
10839         * screen.C:
10840         * text.C:
10841         * BufferView.C:
10842         * BufferView2.C: move LyXScreen into frontends/
10843
10844         * lyxlookup.h:
10845         * lyxlookup.C:
10846         * lyx_gui.C: move lyxlookup into frontends/xforms/
10847
10848 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10849
10850         * BufferView2.C:
10851         * BufferView_pimpl.C:
10852         * FontLoader.C:
10853         * LyXView.h:
10854         * LyXView.C:
10855         * Makefile.am:
10856         * WorkArea.C:
10857         * XFormsView.h:
10858         * XFormsView.C:
10859         * buffer.C:
10860         * bufferlist.C:
10861         * bufferview_funcs.C:
10862         * converter.C:
10863         * importer.C:
10864         * lyx_cb.C:
10865         * lyx_gui.C:
10866         * lyx_main.C:
10867         * lyx_find.C:
10868         * lyxfunc.C:
10869         * lyxvc.C:
10870         * minibuffer.C:
10871         * text.C:
10872         * text2.C:
10873         * trans.C:
10874         * vc-backend.C: move LyX/XFormsView into frontends/
10875
10876 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10877
10878         * Makefile.am:
10879         * PainterBase.C:
10880         * PainterBase.h:
10881         * Painter.C:
10882         * Painter.h:
10883         * WorkArea.C:
10884         * WorkArea.h:
10885         * screen.C:
10886         * tabular.C:
10887         * text.C:
10888         * text2.C: move Painter to frontends/
10889
10890 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10891
10892         * buffer.C: comment out some some code that depend upon lyx_format
10893         < 220
10894
10895         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10896         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10897
10898         * buffer.h (NO_COMPABILITY): turn off compability
10899
10900         * ColorHandler.C: include scoped_array.hpp
10901
10902         * font.C: Use more specific smart_ptr header.
10903         * Painter.C: ditto
10904         * gettext.C: ditto
10905         * ShareContainer.h: ditto
10906         * lyx_main.h: ditto
10907         * kbmap.h: ditto
10908         * FontInfo.h: ditto
10909         * BufferView_pimpl.h: ditto
10910         * ColorHandler.h: ditto
10911
10912         * kbmap.C (defkey): change call to shared_ptr::reset
10913
10914 2002-05-21  Juergen Vigna  <jug@sad.it>
10915
10916         * buffer.C (insertErtContents): fix to insert ert asis if it is
10917         non empty. Skip it completely if it contains only whitespaces.
10918
10919 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
10920
10921         * BufferView_pimpl.C:
10922         * BufferView2.C: clear selection on paste (bug 393)
10923
10924 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10925
10926         * DepTable.C: include ctime
10927
10928 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
10929
10930         * buffer.C (latexParagraphs): Add new argument (moving_arg).
10931
10932 2002-05-14  Juergen Vigna  <jug@sad.it>
10933
10934         * text.C (breakParagraph): fixed function to honor the keepempty
10935         layout in the right maner and also to permit the right breaking
10936         algorithm on empty or non empyt keepempty paragraphs.
10937
10938         * paragraph.C (breakParagraph): we have to check also if the par
10939         is really empty (!size()) for isempty otherwise we do the wrong
10940         paragraph break.
10941
10942 2002-05-10  Juergen Vigna  <jug@sad.it>
10943
10944         * buffer.[Ch] : The following are only changes to the ert
10945         compatibility read reading old LaTeX layout and font stuff and
10946         convert it to ERTInsets.
10947
10948         * buffer.h: added isErtInset().
10949
10950         * buffer.C (struct ErtComp): add a fromlayout bool to check
10951         if we're inside a LaTeX layout.
10952         (isErtInset): new helper function.
10953         (insertErtContents): look for other ert insets before this one
10954         and insert the contents there, so that we don't have subsequent
10955         ERT insets with nothing between them. This way we create only one
10956         inset with multiple paragraphs. Also check if we don't insert only
10957         spaces ' ' as they are ignored anyway afterwards in the .tex file
10958         so if we have only spaces we will ignore this latex part in the
10959         new file.
10960         (parseSingleLyXformat2Token \\layout): better compatibility when
10961         reading layout-latex stuff.
10962         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10963         language tag.
10964         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10965         stuff after reading the inset only get the information back from
10966         the stack.
10967
10968 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
10969
10970         * buffer.C (makeLaTeXFile): Put language options after loading babel.
10971
10972         * LaTeXFeatures.C (getBabelOptions): New method.
10973
10974 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10975
10976         * BufferView_pimpl.C (Dispatch): work around missing argument for
10977         'layout'
10978
10979 2002-05-08  Juergen Vigna  <jug@sad.it>
10980
10981         * text.C (leftMargin): handle paragraph leftindent.
10982
10983         * paragraph.C (writeFile): write the new \\leftindent tag.
10984         (validate): handle leftindent code.
10985         (TeXEnvironment): handle paragraphleftindent code again.
10986
10987         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10988
10989         * buffer.C (parseSingleLyXformat2Token): added compatibility code
10990         for paragrap_extra indent code and new token \\leftindent.
10991         (latexParagraphs): handle the leftindent as environment.
10992
10993         * ParameterStruct.h: added leftindent support.
10994
10995         * ParagraphParameters.C (leftIndent): added support functions for
10996         the paragraph left indent.
10997
10998         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10999         more appropriate.
11000
11001 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
11002
11003         * paragraph.C (isRightToLeftPar): Return false for a paragraph
11004         inside insetERT.
11005
11006         * text.C (computeBidiTables): No bidi in insetERT.
11007
11008         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11009         in RTL documents.
11010
11011 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11012
11013         * version.C.in: pre 5
11014
11015 2002-05-02  José Matos  <jamatos@fep.up.pt>
11016         * buffer.C (makeDocBookFile): white space changes, add newline to
11017         command styles.
11018         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11019
11020         * tabular.C (docBook): fix typo.
11021
11022 2002-05-03  Juergen Vigna  <jug@sad.it>
11023
11024         * screen.C (drawFromTo): recalculate the rowpointer if we had a
11025         change in LyXText as we can not be sure it was not freed.
11026         (drawOneRow): remove unused code.
11027
11028         * text.C (drawInset): redo the calculation of the need_break_row as
11029         it could have a row which was already freed.
11030         (draw): look at the return value of drawInset and return false if
11031         it also returned false.
11032         (paintRowText): look at the return value of draw and return false if
11033         it also returned false.
11034
11035         * lyxtext.h: added bool return type to drawInset() and draw() so that
11036         if we have a change in the row so that the rowbreak has to be redone
11037         we abort drawing as it will be called again.
11038
11039 2002-05-02  Juergen Vigna  <jug@sad.it>
11040
11041         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11042         a change in the maintext also if we're inside an inset.
11043         (Dispatch): set the cursor again after a break line and after the
11044         screen has been updated as it could be we're in a different row.
11045
11046         * text2.C (fixCursorAfterDelete): check to make sure we don't request
11047         to set the cursor behind the pargraph with > size().
11048         (setCursor): check also for the same paragraph when checking where
11049         to put the cursor if we have a NFR inset.
11050
11051         * buffer.C (parseSingleLyXformat2Token): move the compatibility
11052         parts of layout read further up as it still was in the wrong
11053         position.
11054
11055 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11056
11057         * screen.C (drawFromTo): change sine fullRebreak always return
11058         true.
11059
11060         * buffer.C (parseSingleLyXformat2Token): reindent some
11061
11062         * BufferView_pimpl.C (update): change since fullRebreak always
11063         return true.
11064         (Dispatch): git rid of the last hardcoded "Standard"s.
11065
11066 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11067
11068         * text2.[Ch] (fullRebreak): make it return void now that we always
11069         returned true.
11070
11071 2002-04-30  Juergen Vigna  <jug@sad.it>
11072
11073         * buffer.C (parseSingleLyXformat2Token): reset the font before the
11074         ert compatibility check for "latex" layout.
11075
11076 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
11077
11078         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11079         minipages: use col% instead of p%, and also use the current font.
11080         (makeLaTeXFile): Fix use babel condition.
11081         (parseSingleLyXformat2Token): Correct font when reading old floats.
11082
11083 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
11084
11085         * BufferView_pimpl.C (Dispatch): Check that float type exists when
11086         inserting list of floats.
11087
11088 2002-04-25  Herbert Voss  <voss@lyx.org>
11089
11090         * MenuBackend.C (expand): don't add the graphics extensions to the
11091         export menu
11092
11093 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11094
11095         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11096         non-existing layout, do not complain if it was the default layout
11097         of the original class (bug #342)
11098
11099 2002-04-24  Juergen Vigna  <jug@sad.it>
11100
11101         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11102         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11103
11104 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
11105
11106         * buffer.C (getBibkeyList): If using \bibliography, return the
11107         option field with the reference itself. Enables us to provide natbib
11108         support when using \bibliography.
11109
11110 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
11111
11112         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11113
11114         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11115         natbib is provided by the LaTeX class.
11116
11117 2002-04-23  Juergen Vigna  <jug@sad.it>
11118
11119         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11120         Wakeup functions.
11121
11122         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11123
11124 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11125
11126         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11127
11128         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11129         ensuremath around textordmasculine, textordfeminine and
11130         textdegree.
11131
11132 2002-04-19  Juergen Vigna  <jug@sad.it>
11133
11134         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11135         reinitializing the buffer otherwise row-dimensions may be wrong.
11136         (update): reset also the selection cursors if they do exits otherwise
11137         their x/y positions may be wrong.
11138
11139         * text2.C (cursorDown): don't enter the inset if we came from a row
11140         above and are one row over the inset.
11141
11142         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11143         really leaving an inset.
11144
11145 2002-04-18  Juergen Vigna  <jug@sad.it>
11146
11147         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11148         of the selected paragraph does not have the selected layout also if
11149         the last one had!
11150
11151         * text2.C (setLayout): fixed bug which did not change last selected
11152         paragraph.
11153
11154         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11155         changed the read and substituted \\end_float with \\end_inset!
11156
11157         * BufferView_pimpl.C (cursorPrevious):
11158         (cursorNext): fixed to make it work with rows heigher than the work
11159         area without moving the cursor only the draw of the row.
11160         (workAreaMotionNotify): fix jumping over high rows.
11161
11162 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11163
11164         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11165         Ressler.
11166
11167 2002-04-16  Juergen Vigna  <jug@sad.it>
11168
11169         * text2.C (setCursor): set also the irow().
11170         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11171         (cursorUp):
11172         (cursorDown): support for locking an inset if the x_fix value goes
11173         inside it. That way I can transverse insets too with cursor up/down.
11174
11175         * lyxrow.h: added irow helper function same as other (i) functions.
11176
11177         * BufferView_pimpl.C (cursorPrevious):
11178         (cursorNext): fixed for insets!
11179
11180 2002-04-15  Juergen Vigna  <jug@sad.it>
11181
11182         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11183         position otherwise it is wrong in some cases.
11184
11185         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11186         inside the inset before the call.
11187
11188 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
11189
11190         * buffer.[Ch] (getBibkeyList): make it const.
11191
11192 2002-04-12  Juergen Vigna  <jug@sad.it>
11193
11194         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11195
11196         * text2.C (getCursorX): new helper function
11197         (setCursor): compute also ix_
11198         (setCursorFromCoordinates): set also ix.
11199
11200         * lyxcursor.h: added ix_ and helper functions.
11201
11202         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11203
11204         * buffer.C (insertStringAsLines): dont break paragraph if the this
11205         paragraph is inside an inset which does not permit it!
11206
11207         * text.C (breakParagraph): honor keepempty flag and break the paragraph
11208         also with no chars on this paragraph.
11209         (paintRowText): only paint stuff if it's inside the workarea!
11210
11211         * paragraph.C (breakParagraph): honor keepempty flag and break the
11212         paragraph always below not above.
11213
11214         * BufferView2.C (unlockInset): update the paragraph layout on inset
11215         unlock as we changed paragraph in such a case.
11216
11217         * lyxfind.C (LyXFind): clear the former selection if not found!
11218
11219         * text2.C (insertInset): freeze Undo after setUndo so that it is not
11220         again called in insertChar().
11221
11222         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11223         an inset which uses the whole row!
11224         (rightMargin): ditto.
11225         (insertChar): force a rebreak if we inserted an inset!
11226
11227 2002-03-28  Herbert Voss  <voss@lyx.org>
11228
11229         * lyxlength.[Ch]: add inBP() to get the right PS-point
11230         units (BigPoint). With inPixels we have rounding errors
11231
11232 2002-04-11  Juergen Vigna  <jug@sad.it>
11233
11234         * text2.C (setCursorFromCoordinates): set iy to the right value.
11235         (setCursor): add check if row->previous exists!
11236
11237         * buffer.C (parseSingleLyXformat2Token): reset font after read of
11238         an old float_type as this was the case in the old code!
11239
11240         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11241
11242         * BufferView2.C (showLockedInsetCursor): use iy
11243         (fitLockedInsetCursor): ditto
11244
11245         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11246         locked insets as there we have the right value now.
11247
11248         * lyxcursor.C: added iy_ variable and iy functions to set to the
11249         baseline of cursor-y of the locked inset.
11250
11251         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11252         (setCursor): fixed for insets which need a full row.
11253
11254         * text.C (rowLastPrintable): don't ignore the last space when before
11255         an inset which needs a full row.
11256         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11257         as last character of a row when before a inset which needs a full row.
11258
11259 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11260
11261         * version.C.in: update date
11262
11263         * text2.C (fullRebreak): try to always return true and see what
11264         happens...
11265
11266 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11267
11268         * MenuBackend.C (expand): use Floating::listName
11269
11270         * FloatList.C (FloatList): add listName argument to the built-in
11271         floats
11272
11273         * Floating.[Ch]: add listName member, which is the 'List of XXX'
11274         text associated with the float.
11275
11276 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11277
11278         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11279
11280 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11281
11282         * ShareContainer.h: add a couple of missing typenames.
11283
11284 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
11285
11286         * lyxrc.C (getDescription): use _() correctly rather than N_().
11287
11288 2002-03-28  Herbert Voss  <voss@lyx.org>
11289
11290         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11291         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11292
11293 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11294
11295         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11296         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11297
11298 2002-03-29  Juergen Vigna  <jug@sad.it>
11299
11300         * lyxfunc.C (dispatch): add a missing fitCursor call.
11301
11302         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11303         it was scrolled by a cursor move, so return the bool status.
11304
11305         * BufferView.C (fitCursor): return the bool flag also to the outside
11306         world as this is needed.
11307
11308         * screen.C (toggleToggle): don't subtract the offset if it's positive.
11309
11310         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11311         call the edit() as it is not needed (and wrong) IMO.
11312         (workAreaButtonPress): set the screen_first variable before evt.
11313         unlock the inset as this may change screen_first and then we have
11314         a wrong y position for the click!
11315
11316 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11317
11318         * MenuBackend.C (expand): another translation that I missed
11319
11320 2002-03-28  Juergen Vigna  <jug@sad.it>
11321
11322         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11323
11324         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11325
11326 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11327
11328         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11329
11330         * MenuBackend.C (expand): fix export/view/update when there is no
11331         document open.
11332
11333 2002-03-27  Herbert Voss  <voss@lyx.org>
11334
11335         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11336         and text%
11337
11338 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11339
11340         * bufferview_funcs.C (currentState): only show paragraph number
11341         for is DEVEL_VERSION is set.
11342
11343         * lyxfunc.C (dispatch): put warning in INFO channel
11344
11345         * MenuBackend.C (expand): translate the name of floats
11346
11347         * FloatList.C (FloatList): mark the float names for translation
11348
11349         * converter.C (convert): use LibScriptSearch
11350
11351 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11352
11353         * MenuBackend.C (defaults): fix default menu (we might as well get
11354         rid of it...)
11355
11356 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11357
11358         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11359         directory.
11360
11361 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11362
11363         * lyxvc.C: reorder includes.
11364
11365 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
11366
11367         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11368           properly
11369
11370 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
11371
11372         * CutAndPaste.C: change layouts earlier on paste
11373           to avoid crashing when calling getFont()
11374
11375 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
11376
11377         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11378         irritating #error.
11379
11380 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11381
11382         * WorkArea.C: remove 'Pending' debug message.
11383
11384         * most files: ws cleanup
11385
11386         * buffer.[Ch]: ws changes
11387
11388         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11389
11390 2002-03-21  Juergen Vigna  <jug@sad.it>
11391
11392         * tabular.C (SetMultiColumn): collapse also the contents of the
11393         cells and set the last border right. Added a Buffer const * param.
11394
11395 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11396
11397         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11398         linking or not.
11399
11400 2002-03-19  Juergen Vigna  <jug@sad.it>
11401
11402         * text2.C (clearSelection): reset also xsel_cache.
11403
11404         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11405         where it needs to be called (John tells us to do so too :)
11406         (selectionLost): reset sel_cache.
11407
11408         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11409
11410 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11411
11412         * text2.C (setCursorIntern): put debuging code in INSETS channel
11413
11414 2002-03-19  André Pönitz <poenitz@gmx.net>
11415
11416         * lyxfunc.C: tiny whitespace change
11417
11418 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11419
11420         * ToolbarDefaults.C (init):
11421         * LyXAction.C (init):
11422         * commandtags.h:
11423         * BufferView_pimpl.C (Dispatch):
11424         * lyxfunc.C (dispatch): remove LFUN_DEPTH
11425
11426 2002-03-19  Allan Rae  <rae@lyx.org>
11427
11428         * exporter.C (Export): removeAutoInsets before doing anything else.
11429         While I've just introduced a dependency on BufferView this really is
11430         the best place to clean the buffer otherwise you need to cleanup in
11431         a dozen places before calling export or cleanup in a dozen functions
11432         that export calls.
11433
11434         * converter.C (runLaTeX):
11435         (scanLog): Better handling of removeAutoInsets and screen updates.
11436
11437         * lyxfunc.C (dispatch): small whitespace changes
11438
11439 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11440
11441         * WorkArea.C (C_WorkAreaEvent): return a value.
11442         (event_cb): return 1 if we handled the event, 0 otherwise.
11443
11444         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11445
11446 2002-03-18  Juergen Vigna  <jug@sad.it>
11447
11448         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11449         (GetAdditionalWidth): ditto.
11450         (RightLine): ditto.
11451         (LeftLine): ditto.
11452
11453         * BufferView2.C (copy): use getLyXText() so that we do it inside an
11454         inset if we're there actually (probably not used right now but this
11455         is the direction to go for unifying code).
11456         (paste): disable code to clear the selection.
11457
11458         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11459         inside an InsetText and move the check further up as it is in the
11460         wrong place.
11461
11462         * text2.C (pasteSelection): set a selection over the pasted text.
11463
11464 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
11465
11466         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11467         and libgraphics to build on Cygwin.
11468
11469 2002-03-15  Juergen Vigna  <jug@sad.it>
11470
11471         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11472         inserting an Inset into the paragraph. I know this is not the best
11473         fix but we already use current_view in CutAndPaste so we will remove
11474         all of it's using at the same time.
11475
11476         * buffer.C (sgmlError): deactivated function till it is rewritten in
11477         the right mode, now it can create problems.
11478
11479         * paragraph.C (isLineSeparator): check if getInset returns != 0,
11480         before accessing it.
11481
11482 2002-03-14  Juergen Vigna  <jug@sad.it>
11483
11484         * undo_funcs.C (textHandleUndo): do the right thing when updating
11485         the inset after the undo/redo.
11486
11487         * text2.C (setCursor): just some testcode for #44 not ready yet.
11488
11489         * undo_funcs.C (textHandleUndo): set the next() and previous()
11490         pointers of the paragraph to 0 before deleting otherwise we have
11491         problems with the Paragraph::[destructor].
11492
11493         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11494         on a paragraph insertion.
11495
11496 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11497
11498         * buffer.C (asciiParagraph): use += operator for char append to
11499         string.
11500
11501         * paragraph.C (getFontSettings): compare >= not just >
11502         (highestFontInRange): ditto
11503         (setFont): ditto
11504
11505 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11506
11507         * paragraph.C: change several algorithm to be more appripriate for
11508         the problem domain. This is lookip in FontList and in the InsetList.
11509
11510 2002-03-13  André Pönitz <poenitz@gmx.net>
11511
11512         * commandtags.h:
11513         * LyXAction.C: remove unused LFUN_MATH_MACROARG
11514
11515 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
11516
11517         * commandtags.h:
11518         * LyXAction.C:
11519         * lyxfunc.C:
11520         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11521
11522 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11523
11524         * Painter.C (display): anon helper function, adjust code for this
11525         change.
11526         (pixmap): remove function.
11527
11528         * Painter.h: remove private display variable.
11529
11530         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11531
11532 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
11533
11534         * WorkArea.[Ch]: remove figinset_canvas cruft.
11535
11536 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11537
11538         * lyxtextclass.C (operator): add one item cache optimization.
11539
11540         * bufferlist.h: doxy changes
11541
11542         * bufferlist.C: ws changes
11543
11544         * DepTable.[Ch] (ext_exist): place const in the right spot.
11545
11546         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11547         call resizeInsets.
11548         (workAreaExpose): call resizeInsets when the with BufferView changes.
11549         (Dispatch): adjust for protectedBlank removal
11550         (specialChar): call updateInset if the insert went ok.
11551
11552         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11553         specialChar instead.
11554
11555         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11556
11557         * BufferView.h: doxy change
11558
11559         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11560
11561         * lyxtextclass.C (operator[]): remove non-const version
11562         (defaultLayout): remove non-const version
11563
11564 2002-03-12  Juergen Vigna  <jug@sad.it>
11565
11566         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11567         did resize the LyXText too.
11568
11569         * buffer.C (readLyXformat2): set layout information on newly allocated
11570         paragraphs.
11571
11572         * tabular.C (OldFormatRead): set layout information on the paragraph.
11573
11574 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11575
11576         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11577
11578 2002-03-11  Juergen Vigna  <jug@sad.it>
11579
11580         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11581         plainly wrong.
11582         (resizeCurrentBuffer): force also the insets to resize themselfes.
11583         (moveCursorUpdate): fixed up for InsetText.
11584
11585 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
11586
11587         * commandtags.h:
11588         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11589         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11590         value of Dialogs::tooltipsEnabled().
11591         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11592
11593 2002-03-08  Juergen Vigna  <jug@sad.it>
11594
11595         * BufferView_pimpl.C (updateInset): update inset inside inset also
11596         if it isn't inside theLockingInset().
11597
11598 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11599
11600         * buffer.C (asciiParagraph): redo some of the word and line length
11601         handling.
11602         (getLists): look for Caption instead of caption.
11603
11604 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11605
11606         * buffer.C (Buffer): initialize niceFile to true
11607         (makeLaTeXFile):
11608         (makeLinuxDocFile):
11609         (makeDocBookFile): make sure niceFile is true on exit
11610
11611 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11612
11613         * buffer.C (makeLaTeXFile): escape ~ in \input@path
11614
11615 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
11616
11617         * LyXSendto.C: remove.
11618         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11619         * lyx_gui.C: remove now-redundant comment.
11620         * ColorHandler.h: remove forward declaration of class WorkArea.
11621         * lyxfunc.C: remove #include "WorkArea.h".
11622
11623 2002-03-07  Juergen Vigna  <jug@sad.it>
11624
11625         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11626         got moved away with the DEPM and also set the inset_owner always
11627         right which before could have been omitted.
11628
11629 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11630
11631         * buffer.C (parseSingleLyXformat2Token): use default layout is the
11632         wanted layout is not found.
11633
11634 2002-03-07  Juergen Vigna  <jug@sad.it>
11635
11636         * CutAndPaste.C (cutSelection): another layout settings forgotten.
11637
11638 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11639
11640         * paragraph.C (breakParagraph): use default layout not layout of
11641         prev paragraph.
11642         (Paragraph): clear ParagraphParameters.
11643
11644 2002-03-06  Juergen Vigna  <jug@sad.it>
11645
11646         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11647         otherwise it would not be a valid lenght. Fixed a special case in
11648         the minipage compatibility read where we end the document with a
11649         minipage.
11650
11651         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11652         was set as it could be 0 for InsetTexts first entry.
11653
11654 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11655
11656         * paragraph.C (writeFile): if layout is empty write out
11657         defaultLayoutName().
11658
11659         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11660         file without named layout we set layout to defaultLayoutName().
11661
11662 2002-03-06  Juergen Vigna  <jug@sad.it>
11663
11664         * CutAndPaste.C (copySelection): set layout for new paragraph.
11665
11666         * text.C (prepareToPrint): leave ERT inset left aligned
11667         (leftMargin): don't indent paragraphs inside ERT insets
11668
11669 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11670
11671         * paragraph.C (breakParagraph): dont call clear do the work manually
11672
11673         * paragraph.[Ch] (clear): remove function
11674
11675 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11676
11677         * paragraph.C (Paragraph): dont call clear, the work has already
11678         been done.
11679
11680         * lyxtextclass.C (operator): assert if n is empty
11681
11682         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11683         work manually instead.
11684
11685 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11686
11687         * BufferView_pimpl.C: protect selectionLost against text == 0
11688
11689 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11690
11691         * text.C (breakParagraph): fix a setting layout to '0' problem.
11692
11693 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11694
11695         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11696         final location of file, for the included files, and graphics.
11697
11698 2002-03-05  Juergen Vigna  <jug@sad.it>
11699
11700         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11701
11702 2002-03-04  Juergen Vigna  <jug@sad.it>
11703
11704         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11705
11706         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11707         last column of multicolumn cells.
11708         (SetWidthOfMulticolCell): recalculate NMC and real columns.
11709
11710 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11711
11712         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11713         file if it doesn't go to a temporary file.
11714
11715         * buffer.C (sgmlOpenTag):
11716         (sgmlCloseTag):  remove extra newline insertion.
11717
11718 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11719
11720         * text.C (getRowNearY): comment out debug msg
11721
11722 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11723
11724         * text2.C: first -> first_y
11725
11726         * text.C (getRowNearY): add some attemts at a possible
11727         optimization, not working.
11728
11729         * tabular.[Ch]: add BufferParams to several function so that newly
11730         created paragraph can be initialized to he default layotu for the
11731         buffers textclass.
11732
11733         * tabular-old.C (ReadOld): add buf->params to call of Init
11734
11735         * screen.C: rename text->first to text->first_y
11736
11737         * paragraph.C (breakParagraph): always set layout in the broken
11738         paragraph
11739
11740         * lyxtextclass.C (Read): remove lowercase
11741         (hasLayout): ditto
11742         (operator): ditto
11743         (delete_layout): ditto
11744
11745         * lyxtext.h: rename first -> first_y
11746
11747         * lyxlayout.C (Read): remove lowercase
11748         (name): ditto
11749         (setName): ditto
11750         (obsoleted_by): ditto
11751
11752         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11753
11754         * buffer.C (insertErtContents): add params are to InsetERT
11755         (parseSingleLyXformat2Token): add code to check if a paragraphs
11756         layout really exist.
11757         (parseSingleLyXformat2Token): add params to several inset
11758         constructors
11759         (asciiParagraph): remove lowercase, do the layout comparisons with
11760         no_case
11761
11762         * BufferView_pimpl.C (cursorNext): first -> first_y
11763         (resizeCurrentBuffer): first -> first_y
11764         (updateScrollbar): first -> first_y
11765         (scrollCB): first -> first_y
11766         (workAreaMotionNotify): first -> first_y
11767         (workAreaButtonPress): first -> first_y
11768         (checkInsetHit): first -> first_y
11769         (cursorPrevious): first -> first_y
11770         (cursorNext): first -> first_y
11771         (Dispatch): add buffer_->params to severl inset contructors
11772
11773 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11774
11775         * lyxlayout.C (Read): remove some debug info that I forgot.
11776
11777         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11778         clean up the code slightly.
11779         (makeLinuxDocFile): ditto
11780         (makeDocBookFile): ditto
11781
11782         * text2.C: layout as string
11783
11784         * text.C: layout as string
11785
11786         * paragraph_pimpl.C: layout as string
11787
11788         * paragraph.[Ch]: layout as string
11789
11790         * lyxtextclasslist.[Ch]: layout as string
11791
11792         * lyxtextclass.[Ch]: layout as string
11793
11794         * lyxtext.h: layout as string
11795
11796         * lyxlayout.[Ch]: layout as string
11797
11798         * lyx_cb.C: layout as string
11799
11800         * bufferview_funcs.C: layout as string
11801
11802         * bufferparams.C: layout as string
11803
11804         * buffer.C: layout as string
11805
11806         * LyXView.[Ch]: layout as string
11807
11808         * LaTeXFeatures.[Ch]: layout as string
11809
11810         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11811
11812         * BufferView_pimpl.C: change current_layout to string, remove
11813         lyx::layout_type.
11814         (Dispatch):
11815         (smartQuote):
11816         (insertInset):
11817         (workAreaButtonRelease): layout as string
11818
11819         * BufferView2.C (unlockInset): adjust
11820
11821         * vspace.C (asLatexCommand): use an explict temp variable.
11822
11823 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11824
11825         * Makefile.am: use FRONTEND_*
11826
11827 2002-03-01  Juergen Vigna  <jug@sad.it>
11828
11829         * tabular.C (SetWidthOfMulticolCell): changed to something better
11830         I hope but still work in progress.
11831         (recalculateMulticolumnsOfColumn): renamed function from
11832         recalculateMulticolCells as it is more appropriate now.
11833         (SetWidthOfCell): calculate multicols better.
11834
11835 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11836
11837         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11838
11839         * lyxfunc.C (processKeySym): print sequence also if it is
11840         `deleted' (complete)
11841
11842         * kbsequence.C (print): print sequence even if it is deleted
11843         (complete would be a better word, actually).
11844
11845         * lyxfunc.C (dispatch): print complete options after a prefix key
11846
11847         * vspace.C (asLatexCommand): rewrite in a slightly different form.
11848
11849 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
11850
11851         * text2.C (setCharFont): eliminate setCharFont code duplication.
11852
11853 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11854
11855         * BufferView_pimpl.C (Dispatch): remove bogus handling of
11856         LFUN_TABULAR_FEATURE (bug #177)
11857
11858 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
11859
11860         * Makefile.am: remove figure.h
11861
11862 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
11863
11864         * Bufferview_pimpl.C:
11865         * CutAndPasteC:
11866         * LaTeX.C:
11867         * LyXSendto.C:
11868         * buffer.C:
11869         * bufferlist.C:
11870         * converter.C:
11871         * language.C:
11872         * lyxfunc.C:
11873         * lyxvc.C:
11874         * paragraph.C:
11875         * text.C:
11876         * text2.C: remove #include "lyx_gui_misc.h".
11877
11878         * LaTeX.C: added #include <cstdio>
11879
11880 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11881
11882         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11883         that the paragraph following this one can have.
11884
11885         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11886
11887         * vspace.C (asLatexCommand): fix bogus gcc warning
11888
11889         * Makefile.am (lyx_SOURCES): remove vms_defines.h
11890
11891 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
11892
11893         * text2.C (setLayout): get rid of redundant code
11894
11895 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
11896
11897         * text2.C (incDepth): make sure depth cannot be increased beyond
11898         reasonable values.
11899
11900 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
11901
11902         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11903         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11904
11905         * PainterBase.h (image):
11906         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11907         a LyXImage const *.
11908
11909 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11910
11911         * BufferView.C:
11912         * BufferView.h:
11913         * BufferView_pimpl.C:
11914         * BufferView_pimpl.h:
11915         * LaTeXFeatures.C:
11916         * LyXAction.C:
11917         * LyXView.C:
11918         * Makefile.am:
11919         * UpdateList.h:
11920         * UpdateList.C:
11921         * buffer.C:
11922         * figure.h:
11923         * figureForm.C:
11924         * figureForm.h:
11925         * figure_form.C:
11926         * figure_form.h:
11927         * lyx_cb.C:
11928         * lyx_gui.C:
11929         * lyx_gui_misc.C:
11930         * lyxfunc.C:
11931         * sp_base.h:
11932         * sp_ispell.h:
11933         * sp_pspell.h:
11934         * sp_spell.C: remove fig inset, and the crap house of
11935           cards that follows it
11936
11937 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11938
11939         * Makefile.am:
11940         * lyxserver.C:
11941         * os2_defines.h:
11942         * os2_errortable.h:
11943         * nt_defines.h: move .h into support/
11944
11945         * vms_defines.h: remove
11946
11947         * WorkArea.C: add space in debug output
11948
11949         * text2.C:
11950         * paragraph.C:
11951         * buffer.C: add WITH_WARNINGS
11952
11953         * vc-backend.h:
11954         * vc-backend.C:
11955         * bufferlist.C: s/retrive/retrieve/, add docs
11956
11957         * vspace.h:
11958         * vspace.C:
11959         * kbmap.h:
11960         * lyxlength.h:
11961         * lyxgluelength.h:
11962         * length_common.h:
11963         * chset.h:
11964         * chset.C: add docs
11965
11966         * lyxgui.C: add ID to X error handler
11967
11968         * lyxtestclass.c: fix typo
11969
11970 2002-02-26  Juergen Vigna  <jug@sad.it>
11971
11972         * tabular_funcs.C (write_attribute): changed so that some default
11973         attributes are not written at all.
11974         (getTokenValue): set default values before trying to read the
11975         value so we have the return value always set as default if we don't
11976         find the token we search for.
11977
11978         * tabular.C (Write): write bools as bools not as strings!
11979
11980 2002-02-22  Juergen Vigna  <jug@sad.it>
11981
11982         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11983         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11984
11985         * text.C (leftMargin): don't add an indent for paragraphs inside
11986         tabular cells (fix #208).
11987
11988 2002-02-21  José Matos  <jamatos@fep.up.pt>
11989
11990         * tabular.C (docBook): fixed support for long tables.
11991
11992 2002-02-20  Juergen Vigna  <jug@sad.it>
11993
11994         * text2.C (getFont): get the drawing font of the Inset if this
11995         paragraph is inside an inset (only important for InsetERT for now).
11996
11997         * buffer.C (insertErtContents): use new lanugage params in ERT
11998         constructor.
11999
12000         * CutAndPaste.C: commenting out seemingly uneeded code.
12001
12002 2002-02-19  Allan Rae  <rae@lyx.org>
12003
12004         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12005         Iterators might be simple to use but they also get invalidated.
12006         (removeAutoInsets): renamed saved cursor tracking variables and added
12007         some comments to clarify what everything does.
12008
12009 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
12010
12011         * Chktex.C:
12012         * LaTeX.C:
12013         * LyXSendto.C:
12014         * converter.C:
12015         * lyx_cb.C:
12016         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12017         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12018
12019         * lyxfunc.C:
12020         * vc-backend.h: remove #include "support/syscall.h"
12021
12022         * LaTeX.C:
12023         * LyXSendto.C:
12024         * converter.C: rearrange #includes in Lars' approved fashion.
12025
12026         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12027         forward declare class Timeout in the header file.
12028
12029         * XFormsView.C: changes due to the above.
12030
12031         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12032         similar to LyXView.
12033
12034         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12035         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12036
12037 2002-02-18  José Matos  <jamatos@fep.up.pt>
12038
12039         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12040         insets contents.
12041
12042 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
12043
12044         * a lot of small ws changes
12045         * add a lot of using std::XXX
12046         * use std construcs some places where approp.
12047         * use some exisint stuff from lyxfunctional where approp.
12048         * Make file changes to use partial linking (lets test this now...)
12049
12050 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12051
12052         * Chktex.C:
12053         * buffer.C:
12054         remove #include "support/syscontr.h" as it's redundant. Always has been.
12055
12056         * Chktex.C:
12057         * LaTeX.C:
12058         * LyXSendto.C:
12059         * converter.C:
12060         * lyx_cb.C:
12061         * vc-backend.C:
12062         change Systemcalls::System to Systemcalls::Wait and
12063         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12064         No change of functionality, just reflects the stripped down Systemcalls
12065         class.
12066
12067 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12068
12069         * debug.[Ch]: add a GRAPHICS type to the enum.
12070
12071 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12072
12073         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12074
12075         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12076         there is an inset.
12077
12078 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12079
12080         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12081         match the changes below.
12082
12083         * text2.C (toggleInset): if there is not editable inset at cursor
12084         position, try to see if cursor is _inside_ a collapsable inset
12085         and close it.
12086
12087 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12088
12089         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12090         document menu has a nice checkbox
12091
12092 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12093
12094         * lyxlength.C (asLatexString): change PW to output as percent of
12095         \textwidth.
12096
12097         * lengthcommon.C: change '%' to 't%'
12098
12099         * lyxfunc.C (dispatch): a few comments from Martin
12100
12101 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
12102
12103         * WorkArea.h:
12104         * WorkArea.C:
12105         * BufferView_pimpl.h:
12106         * BufferView_pimpl.C: clear our selection when X tells us we've lost
12107           the X selection.
12108
12109 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12110
12111         * vspace.C (inPixels): fix compiler warning
12112
12113 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12114
12115         * lyxfunc.C (getStatus): fix status message for disabled commands.
12116
12117 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
12118
12119         * BufferView_pimpl.C: fix crash on close buffer
12120         during selection (#227)
12121
12122 2002-01-27  Herbert Voss  <voss@lyx.org>
12123
12124         * buffer.C: link old Figure to new graphic inset
12125
12126 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
12127
12128         * FontLoader.C (getFontinfo): Change the latex font names in order
12129         to match the names of type1inst.
12130
12131 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12132
12133         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12134
12135         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12136         (extchanged): ditto
12137         (ext_exist): ditto
12138         (remove_files_with_extension): ditto
12139         (remove_file): ditto
12140         (write): ditto
12141
12142         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12143         document is smaller than the work area height. Do not initialize
12144         static variables to 0.
12145
12146 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12147
12148         * lyx_gui.C (init): give the toolbar tooltips a normal font.
12149
12150         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12151         LFUN_LAYOUT_PARAGRAPHS.
12152
12153         * tabular.C (GetCellFromInset): new method. Finds an inset in a
12154         tabular. It is possible to provide a possible cell, which will
12155         typically be the actcell from the corresponding insettabular
12156
12157         * lyxfunc.C (getStatus): small cleanup; disable
12158         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12159         true
12160
12161 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12162
12163         * tabular.C (Validate): remove broken optimization (fixes bug #201)
12164
12165         * paragraph.C (startTeXParParams):
12166         (endTeXParParams): new methods. The LaTeX code to
12167         start/end paragraph formatting
12168         (simpleTeXOnePar): call startTeXParParams also when paragraph is
12169         empty (fixes bug #200)
12170
12171         * vspace.C (inPixels): adapt to the change below
12172         (inPixels): [later] more cleanups (remove unused variables)
12173
12174         * lyxlength.C (inPixels): change to use a width and a height as
12175         parameter.
12176
12177 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12178
12179         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12180         Replaced with \paperwidth
12181
12182         * DepTable.C (insert): add std:: qualifier
12183
12184 2002-01-18  Allan Rae  <rae@lyx.org>
12185
12186         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
12187         updated also?
12188
12189         * text.C (drawInset): Turned out I didn't know enough about how
12190         rebreaking worked.  This fixes most of the redraw problems.  I see
12191         an occasional cursor trail when a line is broken now and the cursor
12192         placement can seem out by a few pixels also after a rebreak.
12193
12194 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12195
12196         * buffer.C (parseSingleLyXformat2Token): update because minipage
12197         width is now a LyXLength
12198
12199         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12200
12201         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12202         math insets
12203
12204 2002-01-17  Juergen Vigna  <jug@sad.it>
12205
12206         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12207
12208         * BufferView2.C (lockInset): call edit() so that theLockingInset()
12209         is set correctly and the inset is updated correctly.
12210
12211 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12212
12213         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12214         the beginning of the loop.
12215
12216 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
12217
12218         * lyxrc.C: improve help for use_scalable_fonts
12219
12220 2002-01-17  Allan Rae  <rae@lyx.org>
12221
12222         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12223
12224 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12225
12226         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12227         make sure to set their inset_owner to the right value (bug #171)
12228
12229 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
12230
12231         * DepTable.h
12232         * DepTable.C: Implement mtime checking to reduce time spent doing
12233         CRCs.
12234
12235 2002-01-16  Juergen Vigna  <jug@sad.it>
12236
12237         * tabular.C (GetAdditionalHeight): one of error fixed.
12238
12239         * lyxrc.C (output): small fix in writing use_pspell.
12240
12241 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
12242
12243         * sp_base.h: #include LString.h
12244
12245 2002-01-16  Allan Rae  <rae@lyx.org>
12246
12247         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
12248         Can someone check this please?
12249
12250         * text.C (drawInset): It was possible that p.row would be removed by
12251         breakAgainOneRow upsetting a few other settings.  There may be another
12252         small tweak possible by setting need_break_row = 0 when p.row has been
12253         removed but I don't know enough about the logic here.
12254
12255 2002-01-15  Allan Rae  <rae@lyx.org>
12256
12257         * text.C (insertChar): removed conditional truism.
12258
12259         * BufferView2.C (removeAutoInsets): More tweaks.
12260         cur_par_prev could be a stray pointer.  Check for trailing empty line
12261         in case last line was cur_par and only had an error inset on it.
12262
12263 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12264
12265         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12266         absolute
12267
12268         * vc-backend.C (most methods):
12269         * exporter.C (Export):
12270         * converter.C (convert):
12271         (runLaTeX):
12272         * LyXSendto.C (SendtoApplyCB):
12273         * lyxfunc.C (dispatch):
12274         (menuNew):
12275         (open):
12276         (doImport):
12277         * lyx_cb.C (AutoSave):
12278         (InsertAsciiFile):
12279         * BufferView_pimpl.C (MenuInsertLyXFile):
12280         * buffer.C (runChktex): use Buffer::filePath().
12281
12282         * buffer.h: rename filename to filename_; rename filepath to
12283         filepath_ and make it private
12284         (filePath): new method
12285
12286         * buffer.C (writeFile): use fileName()
12287         (getLatexName):
12288
12289         * lyx_main.C (init): fix starting  of LyX when the binary is a
12290         link from so,ewhere else.
12291
12292         * minibuffer.C: include <cctype> for isprint
12293
12294 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12295
12296         * buffer.C (parseSingleLyXformat2Token): changes associated with the
12297         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12298         name clash with InsetCollapsable's width function.
12299
12300 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12301
12302         * lastfiles.C: include <iterator>
12303
12304 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12305
12306         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12307         std::count.
12308
12309         * buffer.C (makeLaTeXFile): ditto.
12310         Also make loop operation more transparent.
12311
12312 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12313
12314         * ToolbarDefaults.C: remove trailing comma closing namespace.
12315
12316         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12317
12318         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12319         as in WorkArea.
12320
12321         * trans.C (Load): comment out unused variable, allowed.
12322
12323 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12324
12325         * minibuffer.[Ch] (append_char): new method to recieve input from the
12326         drop-down completion browser. If a key was pressed, then recieve this
12327         char and append it to the existing string.
12328         (peek_event): modify the positioning data passed to the completion
12329         browser so that it can be placed above the minibuffer rather than below.
12330 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12331
12332         * LyXAction.C (init): alloe error-next for readonly documents.
12333
12334         * BufferView2.C (ChangeRefsIfUnique): use standard version of
12335         count.
12336
12337 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12338
12339         * bufferlist.C (readFile): create the buffer _after_ checking that
12340         the file exists.
12341
12342         * lyxfunc.C (verboseDispatch): fix handling of arguments
12343
12344         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12345
12346         * lyxrc.C: use string::erase() instead of initializing to "".
12347
12348
12349 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12350
12351         * BufferView_pimpl.h:
12352         * BufferView_pimpl.C:
12353         * WorkArea.h:
12354         * WorkArea.C:
12355         * text2.C: tell X when we have made a selection for copying
12356
12357 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12358
12359         * BufferView_pimpl.C (MenuInsertLyXFile):
12360         * lyxfunc.C (menuNew):
12361         (open):
12362         (doImport): add shortcuts to directory buttons
12363
12364         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12365         open a float)
12366
12367         * lyxfunc.C (setStatusMessage):
12368         (getStatusMessage): new methods
12369         (getStatus):use setStatusMessage instead of setErrorMessage
12370         (dispatch): when function is disabled, set error message here
12371         [instead of in getStatus previously]
12372
12373         * BufferView_pimpl.C (workAreaButtonRelease): update
12374         toolbar/menubar here too.
12375
12376 2002-01-13  Allan Rae  <rae@lyx.org>
12377
12378         * BufferView2.C (removeAutoInsets): finished off earlier fix.
12379         Now seems indestructible.  Remaining task is to audit all other
12380         code affected by deleteEmptyParagraphMechanism.  One small quirk
12381         left is that an empty document with an error in the preamble can
12382         be made to report an error but no error box appears.  I don't know
12383         where it goes.
12384         (removeAutoInsets): Improved comments.
12385
12386 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
12387
12388         * Thesaurus.h:
12389         * Thesaurus.C: update for Aiksaurus 0.14
12390
12391 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12392
12393         * text2.C (firstParagraph): removed member function, all uses
12394         replaces with ownerParagraph
12395         (redoParagraphs): here
12396         (updateInset): here
12397         (toggleAppendix): here
12398         * BufferView2.C (insertErrors): here
12399         (setCursorFromRow): here
12400
12401 2002-01-13  Allan Rae  <rae@lyx.org>
12402
12403         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12404         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12405         There is still a way to segfault this although you may have to do this
12406         multiple times: Have an InsetERT with an unknown command in it.
12407         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12408         <down-arrow>, <Enter> again, View->DVI, BANG!
12409
12410         * text2.C (setCursor):
12411         (deleteEmptyParagraphMechanism):
12412         * lyxtext.h (setCursor):
12413         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12414         Making use of the return value may help fix other bugs.
12415
12416 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12417
12418         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12419
12420         * LyXView.C (updateMenubar): call MenuBar::update here
12421         (updateToolbar): but not here
12422         (showState): do not update toolbar/menubar
12423
12424         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12425         should need to care about that.
12426
12427         * lyxfunc.C (verboseDispatch): simplify a bit
12428         (getStatus): have a version which takes a pseudoaction, and
12429         another which requires a (kb_action,string).
12430
12431         * LyXAction.C (retrieveActionArg): make it work also when action
12432         is not a pseudo-action.
12433         (getActionName): simplify a bit
12434         (helpText):
12435
12436 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12437
12438         * lyxfunc.C (verboseDispatch): new families of methods with
12439         several ways to specify a command and a bool to indicate whether
12440         the command name and shortcut should be displayed in minibuffer
12441         (eventually, we could extend that to a finer bitmask like
12442         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12443         (dispatch): the pristine dispatch command which just, well,
12444         dispatchs! Note it still sets its result to minibuffer; I'm not
12445         sure we want that.
12446
12447         * lyxfunc.h: remove setHintMessage
12448
12449         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12450
12451 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12452
12453         * BufferView_pimpl.C (specialChar): delete new inset if we have
12454         not been able to insert it.
12455
12456         * kbmap.C: revert to using int instead of kb_action, since all we
12457         are dealing with is pseudo-actions.
12458
12459         * LyXAction.C (searchActionArg): change to return int instead of
12460         kb_action, since the result is a pseudoaction.
12461
12462 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
12463
12464         * buffer.C (insertErtContents): Fix (partially) the font bug.
12465
12466 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12467
12468         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12469         as the other one is broken on my machine!
12470
12471 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
12472
12473         * commandtags.h:
12474         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12475
12476 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
12477
12478         * lyxrc.[Ch]: change names and descriptions of popup font variables to
12479         reflect their actual use. Provide compatibility code for older lyxrc
12480         files.
12481
12482         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12483         FL_NORMAL_STYLE.
12484         change names of popup font variables in line with the changes to lyxrc.C
12485
12486 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12487
12488         * buffer.C (asciiParagraph): avoid outputing a word twice after
12489         an inset.
12490
12491         * lyxrc.C (getDescription): document that document_path and
12492         template_path can be empty.
12493
12494 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12495
12496         * LaTeXFeatures.C (getMacros):
12497         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12498
12499         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12500
12501         * LaTeXFeatures.C (useFloat): require "float" here instead of in
12502         getPackages.
12503         (getPackages): rename feature "floats" to "float". Use an array to
12504         iterate over 'simple' features (i.e. just a \usepackage). Add
12505         handling of "amsmath" (renamed from "amsstyle").
12506
12507 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
12508
12509         * LaTeXFeatures.C (require): Prevent duplicate entries in the
12510         features list.
12511
12512 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
12513
12514         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12515         FuncStaus::FuncStatus & FuncStaus::some_method().
12516
12517 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
12518
12519         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12520         of the func_satus stuff. Edited and massaged in various ways by
12521         JMarc.
12522
12523         * lyxfunc.C (getStatus): use FuncStatus
12524
12525 2002-01-08  Juergen Vigna  <jug@sad.it>
12526
12527         * text.C (nextBreakPoint): use function Inset::isChar().
12528
12529         * paragraph.C (TeXOnePar): use function
12530         Inset::forceDefaultParagraphs.
12531
12532         * buffer.C (latexParagraphs): use function
12533         Inset::forceDefaultParagraphs.
12534
12535 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12536
12537         * lyx_gui.C (init): set the style of the menu popups to
12538         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12539
12540 2002-01-07  Juergen Vigna  <jug@sad.it>
12541
12542         * text.C (setHeightOfRow): small fix
12543         (prepareToPrint): don't look at alignment if we don't have the place
12544         for doing it.
12545
12546 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12547
12548         * box.C: New file. Move the Box methods and functions out of box.h,
12549         following Lars' suggestion.
12550
12551 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12552
12553         * box.h: #include "support/LOstream.h", needed for inlined function.
12554
12555         * lyxtextclass.C:
12556         * lyxtextclasslist.C: added some using std declarations.
12557
12558 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
12559
12560         * box.h: make signed dimensions to allow insets wider than
12561           the screen (bug #162)
12562
12563         * BufferView_pimpl.C: add some insetHit debug
12564
12565 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
12566
12567         * vc-backend.C: add FIXME
12568
12569 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12570
12571         * lyxfunc.C (getStatus): enable code for showing math font status
12572         in toolbar/menu.
12573
12574 2002-01-07  Juergen Vigna  <jug@sad.it>
12575
12576         * text.C (nextBreakPoint): removed debug output not needed anymore.
12577
12578 2002-01-06  Juergen Vigna  <jug@sad.it>
12579
12580         * text.C (nextBreakPoint): fixed up this function we had this bug
12581         since ever but now hopefully we break row better.
12582         (insertChar): we have to check if an inset is the next char as it
12583         could now happen that a large inset is causing a break.
12584
12585 2002-01-05  Juergen Vigna  <jug@sad.it>
12586
12587         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12588         if it doesn't like to be drawed.
12589
12590 2002-01-04  Juergen Vigna  <jug@sad.it>
12591
12592         * BufferView2.C (lockInset): forgot to set a cursor.
12593
12594         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12595
12596 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
12597
12598         * FormMathsPanel.C:
12599         * FormMathsPanel.h
12600         * MathsSymbols.C:
12601         * form_maths_panel.C:
12602         * form_maths_panel.h:
12603         * form_maths_panel.fd: implemented sub- and super- buttons in math
12604         panel.
12605
12606         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12607         (or ^ space) to be used as in TeX (req'd by André).
12608
12609         * lyxfunc.C: Allow ^ and _ again to be used both as
12610         super/subscript (mathed) and as themselves (in text).
12611
12612 2002-01-03  Allan Rae  <rae@lyx.org>
12613
12614         * LyXView.C (updateWindowTitle): Setup a short icon title of either
12615         "LyX" or the filename of the current buffer if it has one.  This is a
12616         modified form of John Levon's patch.
12617
12618         * XFormsView.C (setWindowTitle): also set icon title.
12619
12620         * LyXView.h (setWindowTitle): signature changed.
12621         * XFormsView.h (setWindowTitle): ditto.
12622
12623 2002-01-02  Juergen Vigna  <jug@sad.it>
12624
12625         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12626
12627 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12628
12629         * screen.C (topCursorVisible): introduce a temp var for
12630         text->cursor.row(), handle the case where this row is null. (kindo
12631         hachish)
12632
12633         * text2.C (setCursor): add a couple of asserts.
12634
12635         * paragraph.h (inset_iterator): add -> operator
12636
12637         * paragraph.[Ch] (autoDeleteInsets): remove member function
12638
12639         * BufferView2.C (removeAutoInsets): rewrite to handle the old
12640         cursor pos correctly and handle inset deletion by itself.
12641         (insertErrors): move iterator declaration out of for expression
12642
12643         * lyxtextclass.C: add <algorithm>
12644
12645         * Makefile.am: added the new files to sources, removed layout.C
12646
12647         * layout.C: removed file
12648
12649         * layout.h: remove LYX_DUMMY_LAYOUT
12650
12651         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12652         layout.
12653
12654         * lyxlayout.[Ch]:
12655         * lyxtextclass.[Ch]:
12656         * lyxtextclasslist.[Ch]: new files
12657
12658         * include order changes to a lot of files, also changes because of
12659         the six new files.
12660
12661 2001-12-27  Juergen Vigna  <jug@sad.it>
12662
12663         * buffer.C (asciiParagraph): more fixes.
12664
12665         * tabular.C (ascii): make ascii export support export of only the
12666         data separated by a column-delimiter.
12667         (ascii): better support for ascii export.
12668
12669         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12670
12671 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12672
12673         * tabular_funcs.C: use a "using std::getline" instead of the
12674         previous fix from Angus (necessary for cxx + lyxstring)
12675
12676 2001-12-24  Juergen Vigna  <jug@sad.it>
12677
12678         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12679
12680         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12681         problems. First check a minipage also if we have some ert-contents
12682         (not only on par->size(), second set the right depth of the paragraph
12683         on the relink to the root-paragraph-list!
12684
12685         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12686         which then did not anymore update the main paragraphs on undo/redo!
12687
12688 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12689
12690         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12691         code. Support all font-changing funcs (even those which are not in
12692         menu currently). Support for reporting font settings in
12693         mathed (disabled until Andre provides a function on mathed's side).
12694
12695         * func_status.h (toggle): small helper function to set toggle
12696         state on a flag.
12697
12698 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
12699
12700         * tabular_funcs.C: getline -> std::getline
12701
12702 2001-12-21  Juergen Vigna  <jug@sad.it>
12703
12704         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12705         accessed and could be 0 (I couldn't generate this but it seems
12706         Michael could!).
12707
12708 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12709
12710         * tabular_funcs.C: add LIstream.h, move write_attribute to..
12711         * tabular_funcs.h: here and include iosfwd
12712
12713 2001-12-20  Juergen Vigna  <jug@sad.it>
12714
12715         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12716         inside inset but undo_par was.
12717
12718 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12719
12720         * Thesaurus.C: always include <config.h> in sources.
12721
12722         * Painter.h:
12723         * lyxlookup.h:
12724         * box.h: do not include <config.h> in header files
12725
12726         * text.C (paintLastRow): remove unused variable
12727
12728         * text.C (transformChar):
12729         (insertChar):
12730         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12731
12732         * Painter.C (text):
12733         * font.C (width): rewrite to use uppercase() instead of
12734         islower/toupper.
12735
12736         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12737
12738 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
12739
12740         * lyxfind.C: clean up of find failure position change
12741
12742 2001-12-20  Juergen Vigna  <jug@sad.it>
12743
12744         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12745
12746         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12747         (TeXRow): added to LaTeX a single tabular row.
12748         (TeXLongtableHeaderFooter): added to output LT-h/f data.
12749         (Latex): simplified and finally good LT-h/f support.
12750         (various_functions): just small adaptions for LT-h/f support.
12751
12752         * tabular_funcs.[hC]: added and moved here all not classfunctions
12753         of LyXTabular.
12754
12755 2001-12-19  Juergen Vigna  <jug@sad.it>
12756
12757         * tabular.[Ch]: better support for longtabular options (not finished
12758         yet!)
12759
12760 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12761
12762         * text.C (paintLastRow): use the label font instead of the font of
12763         the last character to compute the size of *_BOX. This makes more
12764         sense and avoids a crash with empty paragraphs.
12765         Use Painter::rectangle to draw EMPTY_BOX.
12766
12767 2001-12-19  Juergen Vigna  <jug@sad.it>
12768
12769         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12770         the paragraphs if the replaced paragraph is not the first one!
12771         Tried to delete not used paragraphs but does not work yet so for
12772         now it's inside #ifdef's and by default off!
12773
12774 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12775
12776         * MenuBackend.C: include "lyx_main.h" instead of declaring
12777         lastfiles (actually was declared as LastFiles* instead of a
12778         scoped_ptr).
12779
12780 2001-12-17  Juergen Vigna  <jug@sad.it>
12781
12782         * tabular.C (AppendColumn): applied John's fix
12783
12784 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
12785
12786         * BufferView.h:
12787         * BufferView.C:
12788         * BufferView_pimpl.h:
12789         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12790
12791         * Makefile.am:
12792         * box.h: new start of class for above
12793
12794         * lyxfunc.C: ignore space-only minibuffer dispatches.
12795           Show the command name when it doesn't exist
12796
12797         * minibuffer.C: don't add empty lines to the history
12798
12799         * minibuffer.C: add a space on dropdown completion
12800
12801 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
12802
12803         * text.C: fix line above/below drawing in insets
12804
12805 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12806
12807         * lyxlength.C (LyXLength): Initialize private variables.
12808
12809 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
12810
12811         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12812         when inserting error insets.
12813
12814 2001-12-13  Juergen Vigna  <jug@sad.it>
12815
12816         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12817         actually sometimes the before-paragraph.
12818         (setUndo): don't clear the redostack if we're not actually undoing!
12819
12820 2001-12-06  Juergen Vigna  <jug@sad.it>
12821
12822         * undo_funcs.C (textHandleUndo): well after John's hint I got here
12823         and fixed redoing of main paragraph, so we can use it now ;)
12824
12825         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12826
12827 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12828
12829         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12830         Juergen's request
12831
12832 2001-12-13  André Pönitz <poenitz@gmx.net>
12833
12834         * undostack.[Ch]:
12835         * undo_func.C: minor cleanup
12836
12837 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12838
12839         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12840         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12841         font in urw-fonts package which is marked as -urw-fontspecific and
12842         does not work (incidentally, changing the encoding in the
12843         fonts.dir of this package to -adobe-fontspecific fixes the
12844         problem).
12845
12846         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12847         is a crash when undoing first paragraph (Juergen, please take a
12848         look). THis does not mean the undo fix is wrong, just that it
12849         uncovers problems.
12850
12851         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12852         the (Paragraph*) version when needed instead of duplicating the
12853         code.
12854
12855         * text.C (workWidth): use Inset::parOwner to find out where the
12856         inset has been inserted. This is a huge performance gain for large
12857         documents with lots of insets. If Inset::parOwner is not set, fall
12858         back on the brute force method
12859
12860         * paragraph_pimpl.C (insertInset):
12861         * paragraph.C (Paragraph):
12862         (cutIntoMinibuffer): set parOwner of insets when
12863         inserting/removing them
12864
12865         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12866
12867 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
12868
12869         * commandtags.h:
12870         * LyXAction.C:
12871         * lyx_main.C:
12872         * lyxfunc.C:
12873         * mathed/formulabase.C:
12874         * mathed/math_cursor.[Ch]:
12875         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12876
12877
12878 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12879
12880         * lyxlength.[Ch] (operator!=): new function
12881
12882 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12883
12884         * text.C (workWidth): use Inset::parOwner to find out where the
12885         inset has been inserted. This is a huge performance gain for large
12886         documents with lots of insets. If Inset::parOwner is not set, fall
12887         back on the brute force method
12888
12889         * paragraph_pimpl.C (insertInset):
12890         * paragraph.C (Paragraph):
12891         (cutIntoMinibuffer): set parOwner of insets when
12892         inserting/removing them
12893
12894         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12895
12896 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12897
12898         * tabular-old.C (getTokenValue):
12899         * tabular.C (getTokenValue):
12900         (write_attribute): new versions for LyXLength
12901         (everywhere): adjust the use of widths
12902
12903         * tabular.h: change the type of widths from string to LyXLength
12904
12905 2001-12-11  Ben Stanley <bds02@uow.edu.au>
12906
12907         * paragraph.C: fixed missing line number count when exporting
12908         Environments to LaTeX file
12909
12910         * buffer.C: added informational message for checking line numbers.
12911
12912 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12913
12914         * text2.C (deleteEmptyParagraphMechanism): if there is only one
12915         paragraph, do the 'double space' part, but not the 'empty
12916         paragraph' one.
12917
12918         * text.C (workWidth): small optimization
12919         (getLengthMarkerHeight): use minimal size for negative lengths.
12920
12921 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
12922
12923         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12924
12925         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12926
12927 2001-12-11  André Pönitz <poenitz@gmx.net>
12928
12929         * FontLoader.C:
12930         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12931
12932 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12933
12934         * text2.C: keep selection on a setFont()
12935
12936 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12937
12938         * lyx_cb.C: another bv->text misuse, from insert label
12939
12940 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12941
12942         * kbsequence.h:
12943         * kbsequence.C: re-instate nmodifier mask
12944
12945 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
12946
12947         * lyx_main.h: make lyxGUI private.
12948
12949 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12950
12951         * lyxfind.C: place the cursor correctly on failed search
12952
12953 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12954
12955         * text.C (getLengthMarkerHeight): for small heights, the arrows
12956         are not always on top/bottom of the text
12957         (drawLengthMarker): smaller arrows; take the left margin in
12958         account; draw also vfills.
12959         (paintFirstRow):
12960         (paintLastRow): remove special code for vfill and standard spaces,
12961         since everything is handled in drawLengthMarker now.
12962
12963 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12964
12965         * buffer.C (insertErtContents): try to handle font and language
12966         interaction a bit better.g
12967
12968         * ColorHandler.C (updateColor): change the hash to cover the whole
12969         LColor enum, ws cleanup
12970         (getGCLinepars): ditto
12971         (getGCLinepars): only lookup in the linecache once.
12972
12973 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
12974
12975         * iterators.C (operator++): Make the iterator more robust
12976
12977         * BufferView2.C (removeAutoInsets): Use paragraph iterators
12978         (John's patch)
12979         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12980
12981 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12982
12983         * lyxtext.h:
12984         * text.C: better added space drawing
12985
12986 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12987
12988         * LyXView.C:
12989         * BufferView2.C: fix layout combo update on inset unlock
12990
12991 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12992
12993         * Makefile.am: don't compile unused files
12994
12995 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12996
12997         * lyxfunc.C:
12998         * commandtags.h:
12999         * LyXAction.C: remove old LFUN_LAYOUTNO
13000
13001 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13002
13003         * paragraph_pimpl.h:
13004         * paragraph_pimpl.C: isTextAt() doesn't need font param
13005
13006 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13007
13008         * lyxlex.h:
13009         * lyxlex.C: little cleanup
13010
13011 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13012
13013         * BufferView_pimpl.C: fix insertAscii for insets
13014
13015 2001-12-05  Juergen Vigna  <jug@sad.it>
13016
13017         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13018         set the right font on the "multi" paragraph paste!
13019
13020 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13021
13022         * trans_decl.h:
13023         * trans_mgr.[Ch]:
13024         * trans.[Ch]:
13025         * lyxgluelength.C:
13026         * lyxlength.C: remove out-commented code.
13027
13028         * BufferView_pimpl:
13029         * CutAndPaste.C:
13030         * DepTable.C:
13031         * buffer.C:
13032         * chset.C:
13033         * lastfiles.C:
13034         * lyxlex.C:
13035         * lyxlex_pimpl.C:
13036         * lyxserver.C:
13037         * screen.C:
13038         * tabular-old.C:
13039         * tabular.C:
13040         * text.C:
13041         * trans_mgr.C:
13042         * vc-backend.C: change "while(" to "while ("
13043
13044         * lyxlength.[Ch]: add zero function to check if length is zero or
13045         not
13046         * lyxgluelength.C: use it
13047
13048 2001-12-05  Allan Rae  <rae@lyx.org>
13049
13050         * lyxlength.C: Attempted a fix for the abs(int) header selection.
13051         Works for 2.95.3, from what I understand of Garst's reports this should
13052         work for other g++ versions.  We're screwed if the abs(int) definition
13053         changed between bugfix releases of gcc.
13054
13055 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13056
13057         * text.C: fix chapter label offset !
13058
13059 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13060
13061         * lyxtext.h:
13062         * text.C: fix hfill at end of line, clean up
13063
13064 2001-12-04  Juergen Vigna  <jug@sad.it>
13065
13066         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13067         that we force an update of the inset and it's owners if neccessary.
13068
13069 2001-12-03  Juergen Vigna  <jug@sad.it>
13070
13071         * text.C (rowLast): simplified code
13072
13073 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13074
13075         * lyxfunc.C: fix show options on timeout
13076
13077 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13078
13079         * screen.C (topCursorVisible): scroll half a page when the cursor
13080         reached top of bottom of screen
13081
13082 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
13083
13084         * minibuffer.C: deactivate on loss of focus
13085
13086 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13087
13088         * vspace.[Ch] (operator!=): add operator.
13089
13090 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
13091
13092         * BufferView_pimpl.C: refuse to open an inset when
13093         there's a selection.
13094
13095 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
13096
13097         * BufferView_pimpl.C: allow to click on RHS of full row insets
13098
13099 2001-11-30  Juergen Vigna  <jug@sad.it>
13100
13101         * tabular.C (LyXTabular): add a same_id to set the same id's in the
13102         insets for undo reasons.
13103
13104 2001-11-28  André Pönitz <poenitz@gmx.net>
13105
13106         * vspace.[Ch]: cosmetical changes
13107
13108 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13109
13110         * LyXAction.h:
13111         * LyXAction.C:
13112         * lyxfunc.h:
13113         * lyxfunc.C:
13114         * kbmap.h:
13115         * kbmap.C:
13116         * lyxrc.C:
13117         * kbsequence.h:
13118         * kbsequence.C: part re-write of old kb code
13119
13120         * Painter.C:
13121         * WorkArea.C: remove Lgb_bug_find_hack
13122
13123 2001-11-30  José Matos <jamatos@fep.up.pt>
13124
13125         * buffer.C (makeDocBookFile): add a comment to point a hack.
13126         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13127         Fixed a double write of labels.
13128
13129 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13130
13131         * LaTeX.C:
13132         * LaTeX.h Fixed bug in LaTeX class where it would not
13133         re-run latex if no depfiles were changed, but the .dvi was removed.
13134
13135 2001-11-28  André Pönitz <poenitz@gmx.net>
13136
13137         * all the files from the change on 2001/11/26:
13138         use lyx::layout_type instead of LyXTextClass::size_type
13139         use lyx::textclass_type instead of LyXTextClassList::size_type
13140
13141 2001-11-29  Juergen Vigna  <jug@sad.it>
13142
13143         * text.C: added support for paragraph::isFreeSpacing()
13144
13145         * buffer.C: same as above
13146
13147         * paragraph.h: inserted isFreeSpacing() function to enable
13148         FreeSpacing inside InsetERT.
13149
13150         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13151         of the paragraph's in the cut/copy buffer to 0!
13152
13153         * text2.C (removeRow): remove the assert as it can!
13154
13155         * lyxtext.h: added helper function firstRow returning firstrow and
13156         made firstrow private again.
13157
13158         * BufferView2.C (lockInset): don't relock if we're already locked!
13159
13160         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13161         the only paragraph.
13162         (removeRow): added Assert::(firstrow)
13163
13164         * debug.C: forgot to add INSETTEXT here.
13165
13166 2001-11-28  Juergen Vigna  <jug@sad.it>
13167
13168         * sp_spell.C (initialize): changed error text to more general
13169         spellchecker command use (not only ispell!)
13170
13171         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13172
13173         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13174
13175 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13176
13177         * vspace.C: initialise lyxgluelength on failure
13178
13179 2001-11-28  Allan Rae  <rae@lyx.org>
13180
13181         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13182         declaration & definition that looks like a function declaration.
13183
13184 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13185
13186         * BufferView2.C (copy):
13187         (copyEnvironment): do not clear the selection when doing a copy.
13188
13189         * text.C (paintFirstRow): compilation fix
13190
13191 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
13192
13193         * tabular.C (Latex): correct line count when writing latex.
13194
13195 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
13196
13197         * paragraph_pimpl.h:
13198         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13199           bug a bit
13200
13201 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13202
13203         * text.C:
13204         * LColor.h:
13205         * LColor.C: change vfillline->added_space
13206
13207         * text.C: add markers and text for added space
13208
13209         * vspace.C: fix comment
13210
13211 2001-11-28  André Pönitz <poenitz@gmx.net>
13212
13213         * paragraph.C: whitespace changes
13214         * all the other files from the change on 2001/11/26:
13215         change *::pos_type into lyx::pos_type
13216
13217 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
13218
13219         * buffer.C (parseSingleLyXformat2Token): Set the language to the
13220         language of the document when inserting error insets.
13221
13222 2001-11-26  André Pönitz <poenitz@gmx.net>
13223
13224         * BufferView_pimpl.[Ch]:
13225         *       CutAndPaste.C:
13226         * buffer.[Ch]:
13227         * lyxcursor.[Ch]:
13228         * lyxfind.C:
13229         * lyxfunc.C:
13230         * lyxrow.[Ch]:
13231         * paragraph.[Ch]:
13232         * paragraph_pimpl.[Ch]:
13233         * sp_spell.C:
13234         * text.C:
13235         * text2.C: reduce header dependencies, introduce type for positions
13236
13237 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13238
13239         * <various>: change to use Alert.h
13240
13241 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
13242
13243         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13244         when encountering an unknown token.
13245         (readLyXformat2): Show an error message if there were unknown tokens.
13246
13247 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
13248
13249         * BufferView2.C:
13250         * BufferView_pimpl.C:
13251         * buffer.C:
13252         * paragraph.h:
13253         * text.C:
13254         * text2.C: use par->isInset()
13255
13256 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13257
13258         * paragraph_pimpl.h:
13259         * paragraph_pimpl.C: cleanup
13260
13261 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13262
13263         * text2.C (removeRow):
13264         * text.C (setHeightOfRow): remove useless (and costly) call to
13265         getRow.
13266
13267 2001-11-20  Allan Rae  <rae@lyx.org>
13268
13269         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13270         Now need Inset*::checkInsertChar() to return true for appropriate
13271         cases so that the characters in the minibuffer will actually be
13272         inserted.
13273
13274 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13275
13276         * text.C: change the order of the includes.
13277         (workWidth): initialize it at once.
13278         (workWidth): make maxw unsigned
13279         (setHeightOfRow): remove unused variable (inset)
13280         (selectSelectedWord): remove unused variable (inset)
13281         (paintRowText): fix drawing of hfill characters, and clean up a bit.
13282
13283 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13284
13285         * lyxserver.C (emergencyCleanup): do not try to close pipes if
13286         server is not running.
13287         (openConnection):
13288         (closeConnection): add debug info when server is disabled.
13289
13290         * ColorHandler.C (getGCForeground): send debug message to GUI
13291         channel.
13292
13293         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13294
13295         * kbmap.C (bind): modify because return conventions of
13296         kb_sequence::parse have changed.
13297
13298         * kbsequence.C (parse): only ignore spaces and not any stupid
13299         control character. This avoids tests like s[i] <= ' ', which are
13300         guaranteed to fail with 8bit characters and signed chars.
13301         Change return code to string::npos when there have been no error
13302         (0 was a bad idea when error is at first character)
13303
13304 2001-11-14  José Matos  <jamatos@fep.up.pt>
13305
13306         * buffer.h:
13307         * buffer.C (simpleDocBookOnePar): removed unused argument.
13308
13309 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13310
13311         * text.C (selectNextWordToSpellcheck): do not test explicitely for
13312         insets which are part of a word. Paragraph::isLetter takes care of
13313         that now. Use Paragraph::isInset to identify insets.
13314         (selectSelectedWord): do not test for hyphenation break.
13315
13316         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13317         that protected spaces are considered as spaces.
13318
13319         * paragraph.C (isLetter): cleanup the code for ispell extras; use
13320         Inset::isLetter.
13321
13322 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
13323
13324         * lyxserver.h:
13325         * lyxserver.C: fix it. and small cleanup.
13326
13327 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13328
13329         * BufferView_pimpl.C: use inline helpers
13330
13331         * LaTeXFeatures.h:
13332         * LaTeXFeatures.C: fix typos
13333
13334         * Spacing.h:
13335         * Spacing.C: move spacing_string into class
13336
13337         * ToolbarDefaults.C: move stuff into namespace anon
13338
13339         * layout.h: update enum
13340
13341         * lyxfunc.C: use better debug
13342
13343         * minibuffer.h: fix typo
13344
13345         * debug.h:
13346         * debug.C:
13347         * WorkArea.C: add and use Debug::WORKAREA
13348
13349         * lyxtext.h:
13350         * text.C:
13351         * text2.C: code re-organisation, inline helpers
13352
13353 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
13354
13355         * Layout.C: replaced a few cases of std::vector.size() == 0 with
13356         std::vector.empty().
13357
13358 2001-11-09  Allan Rae  <rae@lyx.org>
13359
13360         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13361         '\n's after tables.  Tabular and ERT inset work now makes this no
13362         longer necessary.
13363
13364 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13365
13366         * minibuffer.h:
13367         * minibuffer.C: fix crash, improve drop-down completion
13368
13369 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
13370
13371         * lyxserver.h:
13372         * lyxserver.C: invalidate fd's when doing endPipe()
13373
13374 2001-11-08  José Matos  <jamatos@fep.up.pt>
13375
13376         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13377         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13378
13379         * paragraph.h:
13380         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13381
13382 2001-11-07  José Matos  <jamatos@fep.up.pt>
13383
13384         * buffer.h:
13385         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13386         const qualifier.
13387
13388         * buffer.C (sgmlOpenTag):
13389         * buffer.C (sgmlCloseTag): removed debug info.
13390
13391         * buffer.h (sgmlOpenTag):
13392         * buffer.h (sgmlCloseTag): made public.
13393
13394 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13395
13396         * buffer.C (saveParamsAsDefaults):
13397         * lyx_cb.C (MenuLayoutSave): remove
13398
13399         * LyXAction.C (init):
13400         * commandtags.h:
13401         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13402
13403 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13404
13405         * buffer.C (setPaperStuff): removed from here...
13406
13407         * bufferparams.C (setPaperStuff): ... and moved there.
13408
13409 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
13410
13411         * minibuffer.h:
13412         * minibuffer.C:
13413         * XFormsView.C: add support for drop-down completion
13414
13415 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
13416
13417         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13418         commands.
13419
13420 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13421
13422         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13423         disabled.
13424
13425 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
13426
13427         * lyx_main.C: change ref to known bugs
13428
13429 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
13430
13431         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13432         to work around older babel problems.
13433
13434 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13435
13436         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13437
13438 2001-10-24  Juergen Vigna  <jug@sad.it>
13439
13440         * tabular-old.C (ReadOld): below variable changes reflected.
13441
13442         * tabular.[Ch]: added ltType struct for longtable header/footer
13443         defines and changed all instances where they are used. Added
13444         future support for double top/bottom rows.
13445
13446 2001-10-24  José Matos  <jamatos@fep.up.pt>
13447
13448         * buffer.h (docbookHandleCaption):
13449         * buffer.C (docbookHandleCaption): removed unused function.
13450         (makeDocBookFile): moved docbook supported version to v4.1.
13451
13452 2001-10-24  José Matos  <jamatos@fep.up.pt>
13453
13454         * tabular.h:
13455         * tabular.C (docbookRow): new function to export docbook code of a row.
13456         (DocBook): now honors the longtable flags.
13457
13458 2001-10-23  José Matos  <jamatos@fep.up.pt>
13459
13460         * LaTeXFeatures.h:
13461         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13462         of the lyx defined sgml entities used in a docbook/linuxdoc document.
13463
13464         * buffer.C (makeLinuxDocFile):
13465         (makeDocBookFile): reworked the preamble, more clean, and with
13466         support for lyx defined entities. Changed the document declaration
13467         to be more XML friendly.
13468
13469         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13470         if we need to output XML that should be done with a filter.
13471
13472 2001-10-22  Juergen Vigna  <jug@sad.it>
13473
13474         * sp_pspell.h (class PSpell): add alive function needed in the
13475         controller to see if the spellchecker could be started.
13476
13477 2001-10-22  Juergen Vigna  <jug@sad.it>
13478
13479         * buffer.C (insertStringAsLines): modify the font for inserting
13480         chars in certain conditions by calling checkInsertChar(font).
13481
13482 2001-10-19  Juergen Vigna  <jug@sad.it>
13483
13484         * text.C (workWidth): use getRow instead of wrong algorithm.
13485         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13486
13487 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
13488
13489         * lyxserver.h:
13490         * lyxserver.C:
13491         * lyx_main.h:
13492         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13493
13494 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13495
13496         * text.C (workWidth): do not search for the exact row when
13497         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13498         optimization for big documents.
13499
13500 2001-10-18  Juergen Vigna  <jug@sad.it>
13501
13502         * text.C (workWidth): new function with added Inset * parameter.
13503
13504 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13505
13506         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13507
13508         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13509         change return type of getColumnNearX.
13510
13511
13512         * text.C (changeRegionCase): use uppercase/lowercase instead of
13513         toupper/tolower.
13514         (leftMargin):
13515         (rightMargin): simplify code by factoring out the uses of
13516         textclasslist.
13517         (labelFill):
13518         (numberOfHfills):
13519         (setHeightOfRow):
13520         (appendParagraph): use Paragraph::size_type
13521
13522 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13523
13524         * vspace.C (asLatexString): add a missing break
13525
13526 2001-10-15  Herbert Voss  <voss@perce.de>
13527
13528         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13529
13530 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13531
13532         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13533         is not available.
13534
13535 2001-10-10  André Pönitz <poenitz@gmx.net>
13536
13537         * lyxfunc.C: removed greek_kb_flag.
13538
13539 2001-10-10  Herbert Voss  <voss@perce.de>
13540
13541         * lyx_main.C: delete global string help_lyxdir.
13542
13543 2001-10-09  Herbert Voss  <voss@perce.de>
13544
13545         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13546
13547         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13548
13549         * lyx_main.C: added global string help_lyxdir.
13550
13551         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13552
13553 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13554
13555         * lyxrc.C (set_font_norm_type): support iso8859-4
13556
13557 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
13558
13559         * LaTeX.C (deplog): add another regex for MikTeX
13560
13561 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13562
13563         * lyxrc.C (set_font_norm_type): support iso8859-3
13564
13565 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13566
13567         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13568
13569         * LaTeXFeatures.C: remove special case of french and index
13570
13571         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13572         before \begin{document}). This solves several incompatibilities.
13573
13574 2001-10-03  Garst Reese  <reese@isn.net>
13575
13576         * lyx_cb.C: change CheckTex error msg.
13577
13578 2001-10-03  José Matos  <jamatos@fep.up.pt>
13579
13580         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13581
13582 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13583
13584         * .cvsignore: update
13585
13586         * lyx_main.C (commandLineVersionInfo): use new style version info.
13587
13588         * buffer.C (writeFile):
13589         (makeLaTeXFile):
13590         (makeLinuxDocFile):
13591         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13592
13593         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13594
13595         * version.h: update to use stuff in version.C
13596
13597         * version.C.in: new file. Contains version information determined
13598         at compile time. This is a merging of version.h and
13599         version_info.h.in.
13600
13601 2001-10-03  Juergen Vigna  <jug@sad.it>
13602
13603         * BufferView_pimpl.C (update): don't change "dirty" status in
13604         updateInset call.
13605
13606 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
13607
13608         * WorkArea.C (c-tor): re-position version string slightly.
13609
13610 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
13611
13612         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13613         revert to previous code.
13614
13615         WorkArea.[Ch]: (show, destroySplash): methods removed.
13616
13617         WorkArea.C: rework code so that it's an amalgam of the codes before and
13618         after the splash screen was moved to WorkArea.
13619
13620 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13621
13622         * lyxrc.C (read):
13623         * vspace.C (inPixels):
13624         (lyx_advance):
13625         * kbmap.C (bind):
13626         * buffer.C (insertStringAsLines):
13627         (asciiParagraph): fix types to be large enough
13628
13629         * lyxlex_pimpl.h: change member status from short to int
13630
13631         * layout.h: fix type of endlabeltype
13632
13633         * kbmap.C (bind):
13634         * kbsequence.C (parse): change return type to string::size_type
13635
13636         * LaTeX.C (updateBibtexDependencies): comment out unneeded
13637         variable
13638
13639         * Bullet.C (bulletSize):
13640         (bulletEntry): do not use short ints as parameters
13641
13642         * BufferView2.C (insertLyXFile): change a char to an int.
13643
13644         * WorkArea.C (WorkArea): remove unneeded floats in computation
13645
13646 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
13647
13648         * buffer.C (asciiParagraph): Treat '\\' as other chars.
13649
13650         * paragraph.C (asString): Do not ignore newline/hfill chars when
13651         copying to the clipboard.
13652
13653 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
13654
13655         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13656         after a multi-line inset.
13657
13658 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
13659
13660         * paragraph.C (validate): Set NeedLyXFootnoteCode
13661
13662 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13663
13664         * lyxfont.C (LyXSizeNames): changed increase-error to increase
13665         and decrease-error to decrease.
13666
13667 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13668
13669         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13670         it more readable (should be equivalent)
13671
13672 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13673
13674         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13675
13676 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13677
13678         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13679         of a cursor (row, etc.) after a character has been deleted
13680         (deleteEmptyParagraphMechanism): call the method above on _all_
13681         cursors held by the LyXText when a double space has been
13682         detected/deleted.
13683
13684 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13685
13686         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13687         pixmap.
13688         (resizeCurrentBuff): remove code to destroy the old splash dialog.
13689
13690         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13691         background. Use greyOut() and the new show() methods to toggle between
13692         the foreground and background. Add code to remove the splash after
13693         its initial showing.
13694
13695         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13696         (create_forms): no longer call Dialogs::showSplash.
13697
13698 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13699
13700         * .cvsignore: add version_info.h
13701
13702 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13703
13704         * version_info.h.in: new file
13705
13706         * Makefile.am: add version_info.h.in
13707
13708         * lyx_main.C (commandLineVersionInfo): use version_info defined in
13709         version_info.h instead of VERSION_INFO
13710
13711 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
13712
13713         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13714         The ERT inset now returns string().
13715
13716 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
13717
13718         * lyxtext.h, text.C (selectNextWord): renamed as
13719         selectNextWordToSpellcheck.
13720
13721         * text.C (selectNextWordToSpellcheck): Modified to not select
13722         words inside an ERT inset.
13723
13724 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13725
13726         * lyx_cb.C (MenuLayoutSave): change a bit the question
13727
13728         * sp_base.h: include <sys/types.h>
13729
13730 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
13731
13732         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13733
13734 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
13735
13736         * several files: fix typos in user-visible strings
13737
13738 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13739
13740         * text2.C (pasteSelection): do not set the selection, since it
13741         will be cleared later. Actually, the intent was to fix the way the
13742         selection was set, but I figured rmoving the code was just as good.
13743
13744 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
13745
13746         * FontLoader.C (available): Check if font is available without
13747         loading the font.
13748
13749 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
13750
13751         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13752
13753 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
13754
13755         * lyxrc.[Ch]: added display_graphics variable and associated code.
13756
13757 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13758
13759         * bufferparams.C (hasClassDefaults): new method. Returns true if
13760         the buffer parameters correspond to known class defaults
13761
13762 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
13763
13764         * XFormsView.C (show): set minimum size to the main window.
13765
13766 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13767
13768         * text2.C (copySelection):
13769         (cutSelection):
13770         * lyxfind.C (LyXReplace):
13771         * BufferView_pimpl.C (Dispatch): pass the correct flag to
13772         LyXText::selectionAsString.
13773
13774         * paragraph.C (asString): add "label" argument to the second form
13775
13776         * text2.C (selectionAsString): add "label" argument and pass it to
13777         Paragraph::asString.
13778
13779 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13780
13781         * lyx_main.C (commandLineHelp): remove version information
13782
13783 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
13784
13785         * lyx_main.C: add -version commandline option
13786
13787 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13788
13789         * paragraph.h: make the optional constructor arg required instead.
13790         some modifications to other files because of this.
13791
13792         * minibuffer.C (C_MiniBuffer_peek_event): make it static
13793
13794         * lyxserver.C (C_LyXComm_callback): make it static
13795
13796         * lyx_main.C (error_handler): make it static
13797
13798         * lyx_gui.C (LyX_XErrHandler): make it static
13799
13800         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13801
13802         * WorkArea.C: make the extern "C" methods static.
13803
13804         * Makefile.am (lyx_LDADD): simplify
13805
13806 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13807
13808         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13809         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13810
13811         * LyXAction.C (init):
13812         * lyxfunc.C (dispatch): associated code removal.
13813
13814 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13815
13816         * lyxfont.h (isSymbolFont): shut off warning
13817
13818         * text.C (setHeightOfRow):
13819         (getVisibleRow): fix crash with empty paragraphs which have a
13820         bottom line
13821
13822 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
13823
13824         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13825         code.
13826
13827 2001-09-04  José Matos  <jamatos@fep.up.pt>
13828         * buffer.C
13829         * buffer.h
13830         * tabular.C (docbook): rename docBook method to docbook.
13831
13832 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13833
13834         * Makefile.am: add dependencies to main.o.
13835
13836 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
13837
13838         * FontLoader.C (available): Return false if !lyxrc.use_gui
13839
13840 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
13841
13842         * FontInfo.C (query):
13843         * converter.C (view):
13844         * importer.C (Import):
13845         * exporter.C (Export): Can not -> cannot.
13846
13847 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
13848
13849         * BufferView_pimpl.C: allow to create index inset even if
13850           string is empty
13851
13852 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13853
13854         * buffer.C (getLists): replace boost::tie code with an explicit pair
13855         as boost::tie can break some compilers.
13856
13857         * iterators.h: Added a std:: declaration to the return type of
13858         ParIterator::size.
13859
13860 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
13861
13862         * lyxrc.C: add help for view_dvi_paper_option, default to safe
13863           case.
13864
13865 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
13866
13867         * iterators.[Ch]: New files. Provide paragraph iterators.
13868
13869         * buffer.C (changeLanguage): Use paragraph iterators.
13870         (isMultiLingual): ditto
13871
13872         * BufferView2.C (ChangeInsets): Use paragraph iterators.
13873
13874 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
13875
13876         * FontLoader.C: Support for cmr font.
13877
13878 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
13879
13880         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13881         (available): New method.
13882
13883         * FontInfo.C (getFontname): Use scalable fonts even when
13884         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13885         found.
13886
13887 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13888
13889         * converter.C (Formats::view): reverted! Incorrect fix.
13890
13891 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13892
13893         * converter.C (Formats::view): only output the -paper option
13894         if the dvi viewer is xdvi, thereby fixing bug #233429.
13895
13896 2001-08-23  Herbert Voss  <voss@perce>
13897
13898         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13899
13900 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
13901
13902         * Spacing.h (Spacing): Set space to Default on in the default
13903         constructor.
13904
13905 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13906
13907         * vc-backend.h (RCS::versionString): add RCS to version
13908         (CVS::versionString): add CVS to version
13909
13910         * vc-backend.C (scanMaster): do not add CVS to version.
13911         (scanMaster): do not add RCS to version
13912
13913         * lyxvc.C (versionString): new method
13914
13915         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13916
13917 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13918
13919         * Spacing.C (set): initialize fval
13920
13921 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
13922
13923         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13924         " or \.
13925
13926 2001-08-16  Juergen Vigna  <jug@sad.it>
13927
13928         * lyxfunc.C (dispatch): implemented the new FINISHED states.
13929
13930 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13931
13932         * BufferView_pimpl.C:
13933         * figureForm.C:
13934         * lyxtext.h:
13935         * text2.C: setParagraph takes linespacing now
13936
13937 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
13938
13939         * LyxAction.C: add internal LFUN_CITATION_INSERT
13940
13941         * LyXView.C: actually apply fix
13942
13943         * bufferlist.C: fix open non-existent file
13944
13945         * lyxfind.C: fix indentation
13946
13947         * lyxfunc.C: remove unneeded assert, fix typo
13948
13949 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13950
13951         * MenuBackend.C: use "Floatname List"
13952
13953 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
13954
13955         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13956         when converting LaTeX layout to insetERT.
13957         Generate a non-collapsed float when reading old float
13958
13959 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13960
13961         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13962         ERT insets.
13963
13964 2001-08-13  Juergen Vigna  <jug@sad.it>
13965
13966         * text.C (fill): return 0 instead of 20 as this seems to be the more
13967         correct value.
13968
13969 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13970
13971         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13972         lyxrc.font_norm.
13973
13974 2001-08-13  Juergen Vigna  <jug@sad.it>
13975
13976         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13977         casesensitive off.
13978         (SearchBackward): comment out the unlocking of the inset_owner this
13979         should not be needed!
13980
13981 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
13982
13983         * Many files: Remove inherit_language, and add latex_language
13984
13985         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13986         collapsible insets.
13987
13988 2001-08-10  Juergen Vigna  <jug@sad.it>
13989
13990         * text.C (prepareToPrint): fixed hfill-width in draw!
13991
13992         * BufferView2.C (selectLastWord): save the selection cursor as this
13993         now is cleared in the function LyXText::clearSelection!
13994
13995 2001-08-08  Juergen Vigna  <jug@sad.it>
13996
13997         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13998         BACKSPACE type functions.
13999
14000         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14001         is only cutted from the document but not put in the cut-buffer, where
14002         still the old stuff should be.
14003
14004         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14005
14006         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14007
14008         * tabular.C (SetWidthOfCell): fixed special case where the width
14009         was not updated!
14010         (LeftLine): handle '|' in align_special.
14011         (RightLine): ditto
14012         (LeftAlreadyDrawed): ditto
14013         (SetWidthOfCell): ditto
14014
14015 2001-08-07  Juergen Vigna  <jug@sad.it>
14016
14017         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14018
14019 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14020
14021         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14022         * lyxlex.[hC]: ditto
14023
14024 2001-08-06  Juergen Vigna  <jug@sad.it>
14025
14026         * text.C (getVisibleRow): fix up row clearing a bit.
14027
14028 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14029
14030         * minibuffer.C: make sure the X server sees the changes in the input.
14031
14032 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14033
14034         * paragraph.C (getFont): split into...
14035         (getLabelFont): this
14036         (getLayoutFont): and this
14037         * paragraph_pimpl.C (realizeFont): calling this
14038
14039         * text2.C (getFont): split into...
14040         (getLayoutFont): this
14041         (getLabelFont): and this
14042         (realizeFont): all three calling this
14043
14044         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14045         files where used.
14046
14047 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14048
14049         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14050
14051 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
14052
14053         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14054         layouts from the Quote inset insertion.
14055
14056 2001-08-03  Juergen Vigna  <jug@sad.it>
14057
14058         * BufferView_pimpl.C (update): do the fitCursor only at the end!
14059
14060         * screen.C (drawFromTo): don't call fitcursor here and do the loop
14061         only if status not is already CHANGED_IN_DRAW (second level).
14062
14063         * text.C (draw): don't set the need_break_row when inside an
14064         InsetText LyXText.
14065
14066 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14067
14068         * buffer.C (parseSingleLyXformat2Token): handle more latex
14069         conversion cases.
14070
14071         * bufferview_funcs.[hC]: change function names to
14072         begin with small char, adjust other files.
14073
14074 2001-08-02  André Pönitz <poenitz@gmx.net>
14075
14076         * lyxfunc.C:
14077         BufferView_pimpl.C: remove broken special code for math-greek
14078
14079 2001-08-02  Juergen Vigna  <jug@sad.it>
14080
14081         * BufferView_pimpl.C (update): redone this function so that we
14082         update the text again if there was a CHANGE_IN_DRAW.
14083
14084         * screen.C (cursorToggle): removed LyXText parameter and recoded.
14085         (drawFromTo): added a new internal bool which is used by draw() and
14086         redraw() function.
14087         (general): some cursor drawing problems fixed.
14088
14089 2001-08-01  Juergen Vigna  <jug@sad.it>
14090
14091         * lyxfind.C (LyXFind): fixed
14092         (SearchForward): ditto
14093         (SearchBackward): ditto
14094
14095         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14096         spurius drawing of the cursor in the main area.
14097
14098         * text2.C (status): small fix which could lead to a segfault!
14099         (clearSelection): remove unneeded BufferView param.
14100
14101 2001-08-01  André Pönitz <poenitz@gmx.net>
14102
14103         * lyxfunc.C: small change due to changed mathed interface
14104
14105 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14106
14107         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14108
14109 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
14110
14111         * lyxfunc.c: fail gracefully if file doesn't exist
14112
14113         * LyXSendto.C:
14114         * buffer.C:
14115         * lyxfunc.C:
14116         * BufferView_pimpl.C: IsDirWriteable() proto changed
14117
14118         * LyXView.C: fix updateWindowTitle() to store the last title
14119
14120 2001-07-31  Juergen Vigna  <jug@sad.it>
14121
14122         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14123         the font (wrong since using of Paragraph::highestFontInRange).
14124
14125         * paragraph.C (highestFontInRange): added a default_size parameter.
14126
14127         * text.C (getVisibleRow): minor clear row changes (still not perfect).
14128         (setHeightOfRow): reformat
14129
14130 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14131
14132         * converter.[hC] + affected files: move to (inital-char)lowercase
14133         function names.
14134
14135         * ParagraphParameters.C (ParagraphParameters): remove commented code
14136
14137         * PainterBase.[Ch]: remove commented code
14138
14139         * LaTeXFeatures.h: add "bool floats" for float.sty
14140
14141         * LaTeXFeatures.C (LaTeXFeatures): init floats
14142         (require): handle float
14143         (getPackages): do it with floats
14144
14145 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14146
14147         * BufferView_pimpl.C (Dispatch): improve handling of
14148         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14149
14150         * commandtags.h: #include lyxfont.h here temporarily to avoid
14151         keybinding bug.
14152
14153         * bufferlist.h: include LString.h here.
14154
14155 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14156
14157         * text2.C (getStringToIndex): new method.
14158
14159 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
14160
14161         * *: Reduced header file dependencies all over.
14162
14163 2001-07-30  Baruch Even  <baruch@lyx.org>
14164
14165         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14166
14167 2001-07-29  Baruch Even  <baruch@lyx.org>
14168
14169         * buffer.C (readInset): Changed GRAPHICS to Graphics.
14170
14171 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14172
14173         * ParameterStruct.h (endif): add a default constructor to make
14174         sure that all variables is initialized.
14175
14176         * ParagraphParameters.C (ParagraphParameters): adjust
14177
14178 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14179
14180         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14181         index; also, check that there is something to index, and that it
14182         does not span over several paragraphs.
14183         (doubleClick): use WHOLE_WORD_STRICT for double click.
14184
14185         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14186
14187         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14188         scheme.
14189
14190 2001-07-26  Baruch Even  <baruch@lyx.org>
14191
14192         * buffer.C (readInset): Changed to call up InsetGraphics when reading
14193         an InsetFig figure, backwards compatible reading of old figure code.
14194
14195 2001-07-27  Juergen Vigna  <jug@sad.it>
14196
14197         * text2.C: font.realize function adaption.
14198
14199         * text.C (draw): add a warnings lyxerr text if needed.
14200
14201         * layout.C: font.realize function adaption.
14202
14203         * language.C: add inherit_language and implement it's handlings
14204
14205         * bufferview_funcs.C (StyleReset): remove language parameter from
14206         font creation (should be language_inherit now).
14207
14208         * bufferparams.C (writeFile): handle ignore_language.
14209
14210         * paragraph.C (getFontSettings): the language has to be resolved
14211         otherwise we have problems in LyXFont!
14212
14213         * lyxfont.C (lyxWriteChanges): added document_language parameter
14214         (update): removed unneeded language parameter
14215
14216         * paragraph.C (validate): fixed wrong output of color-package when
14217         using interface colors for certain fonts in certain environments,
14218         which should not seen as that on the final output.
14219
14220 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
14221
14222         * BufferView_pimpl.C:
14223         * Thesaurus.h:
14224         * Thesaurus.C:
14225         * Makefile.am:
14226         * commandtags.h:
14227         * LyXAction.C: add thesaurus support
14228
14229         * lyxfind.h:
14230         * lyxfind.C: add "once" parameter, for thesaurus, to not
14231           move to the next match
14232
14233 2001-07-26  Juergen Vigna  <jug@sad.it>
14234
14235         * lyxfont.C (realize): honor ignore_language too!
14236         (resolved): ditto.
14237
14238         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14239
14240         * text.C (draw): one place more for ignore_language to not draw
14241         itself!
14242
14243 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
14244
14245         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14246
14247 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14248
14249         * buffer.C (parseSingleLyXformat2Token): a more general fix for
14250         the minipage conversion problem.
14251
14252 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14253
14254         * buffer.C (parseSingleLyXformat2Token): check minipage if we
14255         insert an inset.
14256
14257 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14258
14259         * BufferView.h: don't forward declare WorkArea
14260
14261         * BufferView.C: don't include WorkArea.h
14262
14263 2001-07-25  André Pönitz <poenitz@gmx.net>
14264
14265         * commandtags.h:
14266         * LyXAction.C:
14267         * lyxfunc.C:  new LFUN 'math-space'
14268
14269         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14270
14271 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14272
14273         * text2.C (toggleInset): call open/close
14274
14275 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14276
14277         * lyxfunc.C (dispatch): add debug for the disabled case
14278
14279         * font.C (buttonText): make similar to rectText
14280
14281         * buffer.C (readInset): comment out parsing of insetlist and
14282         insttheorem
14283
14284         * PainterBase.C (rectText): small correction
14285
14286         * BufferView_pimpl.C: comment out insettheorem and insetlist
14287         * LyXAction.C: ditto
14288         * commandtags.h: ditto
14289
14290 2001-07-24  Juergen Vigna  <jug@sad.it>
14291
14292         * text.C (draw): honor the ignore_language.
14293
14294         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14295
14296 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14297
14298         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14299         char inset.
14300
14301 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14302
14303         * lyxtext.h: remove unused (and unimplemented) methods
14304
14305 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14306
14307         * text.C (getVisibleRow): honor background color
14308
14309         * PainterBase.h:
14310         * Painter.h: remove default color argument for fillRectangle
14311
14312         * text.C (backgroundColor): new method
14313
14314 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14315
14316         * text.C (getVisibleRow): adjust
14317
14318         * font.[Ch] (rectText): new method, metrics
14319         (buttonText): new method, metrics
14320
14321         * PainterBase.[hC]: make rectText and buttonText always draw and take
14322         fewer paramteres.
14323
14324 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14325
14326         * ToolbarDefaults.C (read):
14327         * MenuBackend.C (read): allow escaping in all strings
14328
14329         * BufferView_pimpl.C (insertAndEditInset): new method.
14330         (Dispatch): use insertAndEditInset whenever appropriate.
14331
14332         * BufferView_pimpl.C (insertNote): removed
14333
14334         * BufferView_pimpl.C (smartQuote): new method, moved from
14335         BufferView; if an insetquote cannot be inserted, insert a '"'
14336         character instead.
14337
14338         * BufferView2.C: remove insertCorrectQuote();
14339
14340         * lyxfunc.C (getStatus): Add support for all remaingin
14341         inset-insert lfuns.
14342
14343         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14344
14345         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14346         command (necessary to pass " as parameter of self-insert.
14347
14348         * text.C (selectWordWhenUnderCursor):
14349         (selectWord): add word_location parameter
14350         (selectWordWhenUnderCursor): same + remove special code for word
14351         boundary.
14352         (selectNextWord): use kind() to guess type of insetspecialchar,
14353         not latex().
14354
14355         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14356         (insertErtContents): create ert insets as collapsed.
14357         (readInset): better compatibility code for Info inset.
14358
14359 2001-07-20  Juergen Vigna  <jug@sad.it>
14360
14361         * lyxfunc.C (dispatch): use always LyXFind now!
14362
14363         * text2.C (init): add a reinit flag so that the LyXText can be
14364         reinited instead of deleted and reallocated (used in InsetText).
14365
14366         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14367
14368         * text.C: ditto
14369
14370         * text2.C: ditto
14371
14372 2001-07-18  Juergen Vigna  <jug@sad.it>
14373
14374         * text.C (selectNextWord): handle insets inside inset by calling
14375         always the bv->text functions so that we can go up the_locking_inset!
14376
14377         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14378         in strange locations when inside an inset!
14379
14380         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14381         handling to include insets.
14382
14383         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14384
14385 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14386
14387         * LyXAction.C (init):
14388         * commandtags.h:
14389         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14390         LIGATURE_BREAK, since the name is so stupid.
14391
14392 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14393
14394         * buffer.C (readInset): enable reading of new InsetNotes as well as old
14395         InsetInfos.
14396
14397         * FontLoader.C: remove FORMS_H_LOCATION cruft.
14398
14399         * sp_form.[Ch]: remove.
14400
14401         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14402
14403         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14404         InsetInfo.
14405
14406         * src/buffer.C (readInset): ditto.
14407
14408 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14409
14410         * BufferView_pimpl.C (specialChar): new method. Obsoletes
14411         menuSeparator(), endOfSentenceDot(), ldots() and
14412         hyphenationPoint(), which are therefore removed.
14413         (Dispatch): handle LFUN_HYPHENATION_BREAK.
14414
14415         * LyXAction.C (init):
14416         * commandtags.h: add LFUN_HYPHENATION_BREAK.
14417
14418         * paragraph.C (getWord): removed.
14419
14420         * BufferView_pimpl.C (Dispatch): use last word or selection for
14421         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14422
14423         * lyx_main.C (queryUserLyXDir): do not ask before creating
14424         user_dir, except if it has been named explicitely.
14425
14426 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14427
14428         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14429         a document of zero size.
14430
14431 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
14432
14433         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14434         approriately in the c-tor and in require().
14435         (getPackages): output the appropriate LaTeX for natbib support.
14436
14437         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14438         variables "use_natbib" and "use_numerical_citations" when reading the
14439         LyX file.
14440         (readInset): read the various natbib cite commands.
14441         (validate): white-space change.
14442
14443         * bufferparams.[Ch]: new variables "bool use_natbib" and
14444         "bool use_numerical_citations".
14445         (writeFile): output them in the LyX file.
14446
14447 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14448
14449         * lyxfunc.C (getStatus): add support for all the inset insertion
14450         commands.
14451
14452         * text2.C (insertInset):
14453         * paragraph.C (insetAllowed):
14454         * BufferView_pimpl.C (insertInset): update to take in account the
14455         renaming of insertInsetAllowed
14456
14457         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14458
14459         * text2.C (getInset): new method. returns inset at cursor position.
14460
14461         * BufferView_pimpl.C (Dispatch): changes because of this.
14462
14463         * LyXAction.C (init): rename open-stuff to inset-toggle.
14464
14465         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14466
14467         * text2.C (toggleInset): renamed from openStuff; use
14468         Inset::open().
14469
14470 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
14471
14472         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14473
14474         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14475
14476 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
14477
14478         * buffer.C (readLyXformat2): Add filename to the error dialog
14479
14480 2001-07-18  Juergen Vigna  <jug@sad.it>
14481
14482         * tabular.C (GetCellNumber): put an assert here instead of the check!
14483
14484 2001-07-17  Juergen Vigna  <jug@sad.it>
14485
14486         * BufferView_pimpl.C (toggleSelection): adapted too.
14487
14488         * text.C (selectNextWord): adapted for use with insets.
14489         (selectSelectedWord): ditto
14490
14491 2001-07-17  Juergen Vigna  <jug@sad.it>
14492
14493         * sp_spell.C (PSpell): fix initialitation order.
14494
14495 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14496
14497         * paragraph.C: spacing
14498
14499 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
14500
14501         * sp_spell.C: repair language selection for pspell
14502
14503 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14504
14505         * lyxfunc.h: change more methods to begin with lower char.
14506
14507 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
14508
14509         * buffer.C (parseSingleLyXformat2Token): Generate error insets
14510         for unknown layouts.
14511
14512 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
14513
14514         * buffer.C (readLyXformat2): Generate an error dialog if there are
14515         unknown layouts.
14516
14517 2001-07-16  Juergen Vigna  <jug@sad.it>
14518
14519         * sp_spell.C: always compile ISpell part.
14520
14521         * lyxrc.C: added use_pspell entry and it's handling.
14522
14523 2001-07-13  Juergen Vigna  <jug@sad.it>
14524
14525         * sp_spell.C: removed double includes.
14526
14527 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
14528
14529         Consistent use of Lsstream.h:
14530         * Lsstream.h: added using std::stringstream for consistencies sake.
14531
14532         * buffer.C: removed using std::stringstream
14533
14534         * lyxfont.C (stateText):
14535         * paragraph.C (asString):
14536         * text.C (selectNextWord, selectSelectedWord):
14537         * text2.C (setCounter):
14538         * vspace.C (asString, asLatexString):
14539         std::ostringstream -> ostringstream.
14540
14541 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14542
14543         * LyXAction.C: add LFUN_HELP_ABOUTLYX
14544         * commandtags.h: add LFUN_HELP_ABOUTLYX
14545         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14546
14547 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14548
14549         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14550         cursorToggle()
14551         * lyx_gui_misc.C: remove spellchecker
14552         * lyxfunc.C: showSpellchecker
14553         * sp_base.h: added
14554         * sp_ispell.h: added
14555         * sp_pspell.h: added
14556         * sp_spell.C: added
14557         * sp_form.[Ch]: removed
14558         * spellchecker.[Ch]: removed
14559
14560 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
14561
14562         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14563         is set.
14564         (simpleTeXSpecialChars): Simply print the input character without
14565         any special translation if pass_thru is set.
14566
14567         * layout.h: Added bool pass_thru to layout class for being able to
14568         implement pass through of a paragraph for Literate Programming.
14569
14570         * layout.C: add LT_PASS_THRU to LayoutTags enum.
14571         * layout.C (LyXLayout): set pass_thru to flase in constructor.
14572         * layout.C (Read): add "passthru" to list of layout tags and add
14573         code to set the pass_thru boolean when it is read.
14574
14575 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14576
14577         * trans_decl.h: remove allowed from KmodInfo
14578
14579         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14580         remove allowed code
14581         (Load): adjust
14582
14583         * paragraph_pimpl.C (erase): use boost::prior
14584
14585         * Painter.C (text): use data() instead of c_str() when length is
14586         also provided.
14587         * WorkArea.C (putClipboard): ditto
14588         * font.h (width): ditto
14589
14590         * BufferView2.C: use it-> instead of (*it). for iterators
14591         * texrow.C: ditto
14592         * paragraph_pimpl.C: ditto
14593         * paragraph.C: ditto
14594         * minibuffer.C: ditto
14595         * language.C: ditto
14596         * kbmap.C: ditto
14597         * encoding.C: ditto
14598         * counters.C: ditto
14599         * converter.C: ditto
14600         * chset.C: ditto
14601         * Variables.C: ditto
14602         * TextCache.C: ditto
14603         * MenuBackend.C: ditto
14604         * LyXAction.C: ditto
14605         * LColor.C: ditto
14606         * FloatList.C: ditto
14607         * DepTable.C: ditto
14608         * ColorHandler.C (LyXColorHandler): ditto
14609
14610 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14611
14612         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14613
14614         * text2.C (openStuff): reintroduce this method (which had been
14615         nuked in NEW_INSETS frenzy).
14616
14617         * lyxfunc.C (Dispatch): when an action has not been handled, use
14618         its name in the error message, not its number.
14619
14620         * paragraph.C (inInset): change method name to begin with lowercase.
14621
14622         * undo_funcs.C:
14623         * text2.C: updates because of this.
14624
14625 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14626
14627         * ToolbarDefaults.C (add): add spaces in error message
14628
14629 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14630
14631         * buffer.C (readLyXformat2): initialize the ert comp. variables.
14632         (readLyXformat2): rename return_par to first_par, use lyxlex's
14633         pushToken and remove the manual push handling.
14634         (parseSingleLyXformat2Token): add another ert comp. variable:
14635         in_tabular, rename return_par to first_par. handle newlines better
14636
14637 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14638
14639         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14640
14641 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14642
14643         * text2.C (getParFromID): removed
14644
14645         * buffer.C (getParFromID): new method moved form lyxtext.
14646         * BufferView2.C (insertErrors): adjust
14647         (setCursorFromRow): adjust
14648         * BufferView_pimpl.C (restorePosition): adjust
14649         * lyxfunc.C (Dispatch): adjust
14650         * undo_funcs.C (textUndo): adjust
14651         (textRedo): adjust
14652         (textHandleUndo): adjust
14653         (textHandleUndo): adjust
14654
14655 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14656
14657         * buffer.C: up' the LYX_FORMAT
14658
14659         * lyxfont.h: turn NO_LATEX on as default
14660
14661         * buffer.C (insertErtContents): new methods of tex style compability.
14662         (parseSingleLyXformat2Token): use it several places.
14663         * tabular.C (OldFormatRead): and here
14664
14665 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14666
14667         * text2.C: remove some commented code.
14668         reindent file.
14669
14670         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14671         * trans.C: changes because of the above.
14672
14673 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
14674
14675         * text2.C (setCounter): Fix counters bug with bibliography layout.
14676
14677 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14678
14679         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14680         own member functions
14681         (simpleTeXSpecialChars): ditto
14682
14683 2001-07-06  Juergen Vigna  <jug@sad.it>
14684
14685         * a lot of files: changed the access to LyXText::status and the
14686         call of undo-functions.
14687
14688         * undo.[Ch]: added a inset_id to the undo informations.
14689
14690         * undo_funcs.[Ch]: added and moved here all undo functions.
14691
14692         * lyxtext.h: give the status enum a weight, made status_ a private
14693         variable and made accessor functions for it, removed the whole bunch
14694         of undo-functions as they are now in their own file, make some
14695         functions publically available. Added function ownerParagraph with
14696         int parameter.
14697
14698         * paragraph.[Ch]: added "bool same_ids" to the constructor,
14699         made InInset() a const function, added getParFromID() function.
14700
14701         * buffer.[Ch]: added const version for inset_iterator functions,
14702         added getInsetFromID() function.
14703
14704         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14705         changed undo functions for new version.
14706
14707 2001-07-05  Juergen Vigna  <jug@sad.it>
14708
14709         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14710         unknow mechanism does not call the proper constructor but only this
14711         one also if I request the other!?
14712
14713 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14714
14715         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14716
14717         * text2.C (LyXText): use initialization lists.
14718
14719         * lyxtext.h (Selection): initialize set_ and mark_
14720         (init): remove method
14721
14722 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
14723
14724         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14725
14726 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14727
14728         * screen.[Ch]: change method names to begin with lowercase
14729
14730         * BufferView_pimpl.C (updateScrollbar): simplify further and
14731         hopefully make it a bit faster.
14732
14733 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14734
14735         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14736         calling directly xforms functions.
14737
14738         * Painter.C (Painter):
14739         * lyx_cb.C (MenuWrite):
14740         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14741         fl_display.
14742
14743         * lyx_gui.C: remove bogus guiruntime extern declaration.
14744
14745 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14746
14747         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14748         in NEW_INSETS
14749         (redoDrawingOfParagraph): ditto
14750         (redoParagraphs): ditto
14751         (cutSelection): don't create a object for CutAndPaste use the
14752         static method directly
14753         (pasteSelection): ditto
14754
14755         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14756         LyXview (+ rename)
14757
14758 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14759
14760         * modifications to some other files because of this.
14761
14762         * Makefile.am (lyx_SOURCES): add XFormsView
14763
14764         * XFormsView.[Ch]: new files
14765
14766         * LyXView.[Ch]: make LyXView a base class for the gui handling for
14767         the main window. Move the gui dependent stuff to XFormsView
14768
14769 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14770
14771         * tabular.C (GetCellInset): update cur_cell also in the row/col
14772         version of this function.
14773
14774         * lyxfunc.C: no need to include figure_form.h here.
14775
14776         * FontLoader.h:
14777         * lyxfunc.h:
14778         * lyxscreen.h:
14779         * text2.C:
14780         * lyxvc.C: no need to include forms.h here.
14781
14782 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14783
14784         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14785
14786         * lyxfunc.C (Dispatch):
14787         * Spacing.C (set):
14788         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14789         constructor argument.
14790
14791 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14792
14793         * paragraph.C (Paragraph): dont't clear, and just set layout.
14794         (makeSameLayout): use params's copy contructor.
14795
14796         * ParagraphParameters.[Ch] (makeSame): delete method
14797
14798 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
14799
14800         * Variables.[Ch]: fix indentation, rename set to isSet
14801
14802 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14803
14804         * lyxfunc.C (Dispatch): fix typo
14805
14806 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14807
14808         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14809         upper_bound.
14810
14811         * bufferlist.C: include assert.h for emergencyWrite().
14812
14813 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14814
14815         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14816           give up at last (bug #425202) !
14817
14818 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
14819
14820         * lyx_gui_misc.C:
14821         * sp_form.h:
14822         * sp_form.C:
14823         * spellchecker.h:
14824         * spellchecker.C: strip spellchecker options and bring up
14825           preferences tab instead
14826
14827 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14828
14829         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14830         the istringstream constructor
14831
14832 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14833
14834         * paragraph.C (getLayout): fix return value
14835
14836         * paragraph.h: do not declare getLayout as inline.
14837
14838         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14839
14840 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14841
14842         * lyxcursor.h (operator<): new func
14843         (operator>): new func
14844         (operator>=): new func
14845         (operator<=): new func
14846
14847         * text.C (changeCase): use selection.start and selection.end
14848         (changeRegionCase): require from to be <= to. Require par to be a
14849         valid paragraph.
14850
14851         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14852
14853 2001-06-27  Juergen Vigna  <jug@sad.it>
14854
14855         * text.C (cursorLeftOneWord): changed to return the cursor and added
14856         overlay with BufferView * parameter which calls this one.
14857         (getWord): added
14858         (selectWord): use new getWord function.
14859         (changeCase): renamed from changeWordCase as and extended to work
14860         also on selections.
14861
14862         * lyxtext.h: added enum word_location
14863
14864         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14865         changeCase as this operates now also on selections.
14866
14867 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
14868
14869         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14870
14871         * many files: send debug output to Debug::INFO instead of
14872         Debug::ANY.
14873
14874         * converter.C (View):
14875         (Convert):
14876         (Move): send debug output to Debug::FILES instead of console.
14877
14878 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
14879
14880         * lyxfunc.C (getStatus): use func_status
14881
14882         * func_status.h: new header, describing the results of
14883         LyXFunc::getStatus;
14884
14885         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14886         LFUN_MATH_HALIGN.
14887
14888 2001-06-25  The LyX Project  <jug@sad.it>
14889
14890         * buffer.C (sgmlOpenTag):
14891         (sgmlCloseTag):
14892         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
14893
14894 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14895
14896         * text2.C: remove some dead code
14897
14898         * tabular.C (GetCellInset): store the last cell checked (gotten)
14899
14900         * tabular.h: add the helper for the speedup
14901
14902         * lyxtext.h: remove some dead code
14903
14904 2001-06-26  The LyX Project  <Asger>
14905
14906         * paragraph.C: Change export to LaTeX of alignment to
14907         \begin{center} and family for better roundtrip work with reLyX.
14908
14909         * Tune the math drawing a bit.
14910
14911 2001-06-25  The LyX Project  <Asger>
14912
14913         * LColor.C (LColor): New color for math background. New color
14914         for buttons.
14915
14916 2001-06-25  The LyX Project  <jug@sad.it>
14917
14918         * lyxfunc.C (MenuNew): remove extra check for .lyx file
14919
14920         * lyxfunc.C (Open):
14921         * bufferlist.C (newFile): do not restrict to files ending with
14922         .lyx
14923
14924         * BufferView_pimpl.C (MenuInsertLyXFile):
14925
14926 2001-06-24  The LyX Project  <jug@sad.it>
14927
14928         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14929         of compare_no_case
14930
14931 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14932
14933         * lyxtext.h: rename most methods to begin with a small char.
14934         Lots of changes because of this.
14935
14936         * paragraph.C (Paragraph): do not call fitToSize
14937         (erase): call Pimpl::erase
14938         (insertChar): call Pimpl::insertChar
14939         (insertInset): call Pipl::insertInset
14940         (breakParagraph): do not call fitToSize
14941         (breakParagraphConservative): do not call fitToSize
14942         (fitToSize): remove method
14943
14944         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14945
14946 2001-06-24  The LyX Project  <Asger>
14947
14948         * Fix Qt compilation^2
14949
14950 2001-06-24  The LyX Project  <jug@sad.it>
14951
14952         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14953         depthHook(getDepth()-1).
14954
14955         * paragraph.h:
14956         * ParagraphParameters.h:
14957         * ParameterStruct.h: change type of depth to unsigned int ==
14958         depth_type. Many adaptations to other files before of that.
14959
14960 2001-06-24  The LyX Project  <Asger>
14961
14962         * Fix Qt compilation.
14963
14964 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14965
14966         * paragraph.h: renamed several methods to begin with small letter.
14967         several changes to many parts of the code because of this.
14968
14969 2001-06-23  The LyX Project  <jug@sad.it>
14970
14971         * text2.C (InsertStringAsLines): renamed from InsertStringA;
14972         rewritten to discard all double spaces when KeepEmpty is off
14973         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14974         to only handle newlines but not fiddle with spaces and friends.
14975
14976         * lyxfunc.C (MenuNew): when doing 'new from template', use
14977         template_path as default directory
14978
14979 2001-06-23  The LyX Project  <Asger>
14980
14981         * Clean-up of header file includes all over
14982         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14983
14984 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14985
14986         * paragraph.h: renamed from lyxparagraph.h
14987
14988 2001-06-23  Asger  <lyx@violet.home.sad.it>
14989
14990         * Buffer.h: Removed Buffer::resize
14991         * BufferList.h: Removed BufferList::resize
14992         * LyXView.h: Added LyXView::resize. This way, we will only reflow
14993         the document lazily when we change the width, or the font settings.
14994
14995 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14996
14997         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14998
14999 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15000
15001         * buffer.h: remove out of date comment
15002
15003 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15004
15005         * lyxscreen.h:
15006         * screen.C: fix "theoretical" GC leak
15007
15008 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15009
15010         * LaTeX.C (scanAuxFile):
15011         (deplog): remove trailing \r when reading stream (useful under
15012         win32)
15013
15014 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
15015
15016         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15017         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15018         and BufferView::theLockingInset(Inset*), so should use them and not
15019         access bv_->text->the_locking_inset directly.
15020
15021         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15022
15023 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15024
15025         * Makefile.am:
15026         * tex-defs.h: remove old unused file
15027
15028 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
15029
15030         * BufferView_pimpl.C: fix typo, remove minibuffer message
15031           when buffer has loaded
15032
15033 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15034
15035         * lyxfunc.C (Dispatch): use stringstream
15036         (MenuNew): use stringstream
15037         (Open): use stringstream
15038
15039         * importer.C (Import): use stringstream
15040
15041         * bufferview_funcs.C (CurrentState): use stringstream
15042
15043         * LaTeX.C (run): use stringstream
15044
15045         * BufferView_pimpl.C (savePosition): use stringstream
15046         (restorePosition): use stringstream
15047         (MenuInsertLyXFile): use stringstream
15048
15049 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
15050
15051         * BufferView.C:
15052         * Bullet.C:
15053         * ColorHandler.C:
15054         * FontInfo.C:
15055         * FontLoader.C:
15056         * LColor.C:
15057         * LaTeXFeatures.C:
15058         * Painter.C:
15059         * gettext.C:
15060         * lyx_gui_misc.C:
15061         * lyxserver.C:
15062         * vspace.C: removed // -*- C++ -*- as first line.
15063
15064         * lyxfind.h:
15065         * version.h: added // -*- C++ -*- as first line.
15066
15067 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15068
15069         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15070
15071         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15072         of string
15073
15074 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15075
15076         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15077         of floats.
15078
15079 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15080
15081         * gettext.C: include LString.h even when --disable-nls is on.
15082
15083 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
15084
15085         * converter.h (Get): changed argument type from int to
15086         FormatList::size_type to avoid unnecessary conversion.
15087
15088         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15089         before using it.
15090
15091 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15092
15093         * gettext.h: include LString.h even when --disable-nls is on.
15094
15095 2001-06-07  Juergen Vigna  <jug@sad.it>
15096
15097         * text.C (BreakAgain): subst spaces with tabs.
15098
15099         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15100         (resizeInsetsLyXText): set force on resizeLyXText.
15101
15102 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15103
15104         * gettext.h (gettext_init):
15105         (locale_init): use a real definition instead of a macro
15106
15107 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15108
15109         * Bufferview_pimpl.C:
15110         * LColor.h:
15111         * LColor.C: further lcolor tidies
15112
15113 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15114
15115         * BufferView_pimpl.C (updateScrollbar): simplify.
15116
15117         * BufferView2.C: don't include insets/insetinfo.h, change
15118         prototype for insertInset and call the Pimpl version. let
15119         updateInset call Pimpl version.
15120
15121         * BufferView.h: move inset_slept to BufferView::Pimpl, move
15122         gotoInset to BufferView::Pimpl
15123
15124 2001-06-01  Juergen Vigna  <jug@sad.it>
15125
15126         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15127         inside a LockingInset (is the update needed at all?).
15128
15129 2001-05-31  Juergen Vigna  <jug@sad.it>
15130
15131         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15132         here not the old one otherwise how should we compare it afterwards
15133         if it's the same!
15134
15135 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15136
15137         * lyxfont.C:
15138         * tabular.C:
15139         * tabular-old.C:
15140         * FontInfo.C: bring C functions into global namespace when
15141         necessary
15142
15143 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15144
15145         * LString.h: make sure config.h has been loaded before LString.h.
15146
15147         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15148         (one for each char read by EatLine!).
15149
15150         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15151         variables.
15152
15153 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15154
15155         * paragraph.C (BreakParagraph): set the inset_owner in the new par
15156         to the same as the par we break from
15157
15158 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15159
15160         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15161
15162         * MenuBackend.C (expand): also create menu entries for wide
15163         versions of the floats.
15164
15165         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15166
15167         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15168
15169         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15170         frontends/Makefile.am
15171
15172         * text2.C: adjust
15173         * text.C: adjust
15174
15175
15176         * tabular.C (getTokenValue): add std::
15177
15178         * tabular-old.C (getTokenValue): add std::
15179         (getTokenValue): ditto
15180         (getTokenValue): ditto
15181
15182         * screen.C (ToggleSelection): adjust
15183
15184         * lyxtext.h: put selection cursors inside a Selection struct.
15185
15186         * lyxfunc.C (moveCursorUpdate): adjust
15187
15188         * lyxfont.C (latexWriteStartChanges): add std::
15189
15190         * lyxfind.C: adjust
15191
15192         * font.h: delete with(char const *, LyXFont const &)
15193
15194         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15195
15196         * FontInfo.C (getFontname): add std::
15197
15198         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15199         (workAreaButtonPress): adjust
15200         (tripleClick): adjust
15201         (update): adjust
15202         (moveCursorUpdate): adjust
15203         (Dispatch): adjust
15204
15205         * BufferView2.C (gotoInset): adjust
15206
15207 2001-05-30  Juergen Vigna  <jug@sad.it>
15208
15209         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15210         to check pspell I add this as default as I now have new pspell
15211         libraries and they seem to use this.
15212
15213 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15214
15215         * text2.C (CutSelection): make the cursor valid before the call to
15216         ClearSelection.
15217
15218 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15219
15220         * kbsequence.C (parse): de-uglify a bit the parsing code, which
15221         relied on 0 terminated strings and other horrors. Bug found due to
15222         the new assert in lyxstring!
15223
15224         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15225         KP_ keys.
15226
15227 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15228
15229         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15230         to latinkeys.bind.
15231
15232         * lyxfunc.C (processKeySym): change method of getting to the
15233         self-insert char.
15234
15235         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15236         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15237         * BufferView_pimpl.[Ch]: here as private methods.
15238
15239 2001-05-28  Juergen Vigna  <jug@sad.it>
15240
15241         * text.C (SetHeightOfRow): added the update() call again as it is
15242         needed to initialize inset dimensions!
15243
15244 2001-05-16  Juergen Vigna  <jug@sad.it>
15245
15246         * text2.C (SetCharFont): Add new function with BufferView * and
15247         bool toggleall parameters for setting insets internal fonts.
15248         (SetFont): Freeze the undo as we may change fonts in Insets and
15249         all this change should be inside only one Undo!
15250
15251         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15252         setting font's in insets as for them we have the SetFont function!
15253
15254 2001-05-15  Juergen Vigna  <jug@sad.it>
15255
15256         * text2.C (ClearSelection): to be sure we REALLY don't have any
15257         selection anymore!
15258
15259         * tabular.C (TeXCellPreamble): fixed the left border problem for
15260         multicolumn cells.
15261
15262 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
15263
15264         * LaTeX.C (deplog): Make sure that the main .tex file is in the
15265         dependancy file
15266
15267 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15268
15269         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15270         LFUN_BREAKPARAGRAPH.
15271
15272         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15273         help test to "internal only", similar for LFUN_INSERT_URL
15274
15275         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15276         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15277         auto_region_delete and deadkeys.
15278
15279 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
15280
15281         * LColor.h:
15282         * LColor.C: remove some dead entries, tidy a little
15283
15284 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15285
15286         * lyxfunc.C (processKeySym): comment the Escape handling, remove
15287         commented code.
15288         (Dispatch): implement LFUN_ESCAPE
15289
15290         * commandtags.h: add LFUN_ESCAPE
15291
15292         * LyXAction.C (init): add entry for LFUN_ESCAPE
15293
15294         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15295         Remove commented code.
15296         (insertNote): moved here
15297         (open_new_inset): moved here
15298
15299         * BufferView[2].[Ch]: move insertNote and open_new_inset to
15300         BufferView_pimpl
15301
15302 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15303
15304         * kbmap.C (findbinding): clean it up and make it work correctly.
15305
15306         * lyx_main.C (init): do not pass argc and argv as parameters
15307
15308 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
15309
15310         * buffer.C: fix path for OS/2 & Win32
15311
15312         * lyx_gui.C:
15313         * lyx_main:
15314         * lyx_main.C: Added os:: class.
15315
15316         * os2_defines.h: update
15317
15318 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15319
15320         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15321         better by trying again with reduced state.
15322
15323 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15324
15325         * lyxrc.C (read): print error about invalid key sequence only when
15326         debugging (because not all latinX keysyms are known to some X
15327         servers)
15328
15329         * kbsequence.C (getiso): add a few std:: qualifiers
15330         (getiso): comment out extra return statement.
15331
15332 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15333
15334         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15335         handling.
15336         (Dispatch): enhance the accent inset a bit. (not perfect)
15337
15338 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15339
15340         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15341
15342 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15343
15344         * bufferlist.C (emergencyWrite): fix assert() call
15345
15346 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
15347
15348         * text.C (InsertChar): Added trivial patch to only send the "you
15349         can not do multiple spaces this way" message once during a
15350         session.
15351
15352 2001-05-08  Baruch Even  <baruch@lyx.org>
15353
15354         * Makefile.am: Changed order of libraries to get LyX to link properly
15355         with the gnome frontend.
15356
15357 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15358
15359         * LaTeXFeatures.h: add a std:: qualifier
15360
15361 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15362
15363         * paragraph.C (String): use stringstream
15364
15365 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15366
15367         * paragraph.C (writeFile): remove footflag arg
15368
15369         * buffer.C (makeLaTeXFile): use stringstream
15370         (latexParagraphs): remove footnot gurba
15371
15372         * LaTeXFeatures.C (getPackages): use stringstream
15373         (getMacros): likewise
15374         (getTClassPreamble): likewise
15375         (getFloatDefinitions): new method
15376
15377         * paragraph.C (writeFile): reindent
15378         (Erase): reindent
15379
15380         * WorkArea.h: revert the xpos + etc changes.
15381
15382         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15383
15384         * lyxparagraph.[Ch]: add copy constructor, remove Clone
15385
15386         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15387         (pasteSelection): likewise
15388         * text2.C (CreateUndo): likewise
15389
15390 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15391
15392         * minibuffer.C (peek_event): temporarily reduce the functionality
15393         of the minibuffer (to allow args on lfuns)
15394
15395         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15396         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15397
15398         * buffer.C (readInset): add compability reading of old float
15399         lists, add reading of new style float list.
15400         (readInset): avoid reevaluation of inscmd.getCmdName()
15401         (getLists): reindent
15402
15403         * MenuBackend.C (MenuItem): implement parsing of
15404         md_floatlistinsert and md_floatinsert.
15405         (expand::LastFiles): move initalizaton of iterators out of loop,
15406         avoid reevaluation.
15407         (expand::Documents): introduce typdedef vector<string> Strings,
15408         and use it.
15409         (expand::ExportFormats): introduce typedef vector<Format const *>
15410         Formats, and use it.
15411         (expand): implement FloatListInsert and FloatInsert.
15412
15413         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15414         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15415         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15416
15417         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15418         handling.
15419         (Dispatch::LFUN_FLOAT_LIST): implement
15420
15421 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15422
15423         * LaTeX.C (run): Fix problem with --export code.
15424
15425 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15426
15427         * BufferView.[Ch] (workarea): removed.
15428         (getClipboard) new method; wrapper for workarea()->getClipboard()
15429
15430         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15431         bug.
15432
15433         * WorkArea.h (width, height, xpos, ypos): These methods all
15434         returned the dimensions of the work_area sub-area of WorkArea,
15435         resulting in a position error if the WorkArea were resized. Now
15436         return the dimensions of the entire WorkArea.
15437
15438         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15439
15440 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15441
15442         * LaTeX.C (deplog): correct the syntax of regex reg1
15443
15444 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15445
15446         * undo.C: remove !NEW_INSETS cruft
15447
15448 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15449
15450         * text2.C: remove !NEW_INSETS cruft
15451
15452         * text.C: remove !NEW_INSETS cruft
15453
15454         * tabular.C: remove !NEW_INSETS cruft
15455
15456         * spellchecker.C: remove !NEW_INSETS cruft
15457
15458         * lyxtext.h: remove !NEW_INSETS cruft
15459
15460         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15461
15462         * lyxfunc.C: remove !NEW_INSETS cruft
15463
15464         * lyxfind.C: remove !NEW_INSETS cruft
15465
15466         * lyx_cb.C: remove !NEW_INSETS cruft
15467
15468         * figureForm.C: remove  !NEW_INSETS cruft
15469
15470         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15471
15472         * buffer.[Ch]: remove !NEW_INSETS cruft
15473
15474         * ToolbarDefaults.C: remove !NEW_INSETS cruft
15475
15476         * CutAndPaste.C: remove !NEW_INSETS cruft
15477
15478         * BufferView_pimpl.C: remove !NEW_INSETS cruft
15479
15480         * BufferView2.C: remove !NEW_INSETS cruft
15481
15482         * BufferView.h: remove !NEW_INSETS cruft
15483
15484 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15485
15486         * Lsstream.h: include LString.h before the sstream headers to
15487         fix problem with gcc 2.95.3 and lyxstring
15488
15489 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15490
15491         * lyx_main.C: add using directives when needed for C functions
15492         declared in std:: namespace.
15493
15494 2001-04-27  Juergen Vigna  <jug@sad.it>
15495
15496         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15497         (SetHeightOfRow): comment out the update call should not be needed!
15498
15499 2001-04-13  Juergen Vigna  <jug@sad.it>
15500
15501         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15502         (LyXTabular): tried to minimize operator= operations (and realized
15503         hopfully Lars wish).
15504
15505 2001-04-27  Juergen Vigna  <jug@sad.it>
15506
15507         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15508
15509 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15510
15511         * lyxfunc.C (Dispatch): hack to make listof algorithm work
15512
15513         * buffer.C (readInset): hack to make listof algorithm work
15514
15515         * BufferView_pimpl.C: hack to make listof algorithm work
15516
15517 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15518
15519         * LyXAction.C: removed all !NEW_INSETS cruft
15520         (init): moved lfun_item in method
15521
15522         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15523
15524 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15525
15526         * BufferView2.C (theLockingInset): white space.
15527
15528 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15529
15530         * minibuffer.C: include <iostream>
15531
15532         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15533
15534         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15535
15536         * commandtags.h: add LFUN_TRANSPOSE_CHARS
15537
15538         * text.[Ch] (TransposeChars): new method
15539
15540 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15541
15542         * call message directly through LyXView instead of through LyXFunc
15543         * BufferView2.C: adjust
15544         * BufferView_pimpl.C: adjust
15545         * FontLoader.C: adjust
15546         * buffer.C: adjust
15547         * bufferview_funcs.C: adjust
15548         * converter.C: adjust
15549         * figureForm.C: adjust
15550         * importer.C: adjust
15551         * lyx_cb.C: adjust
15552         * lyx_gui_misc.C: adjust
15553         * lyxfunc.C: adjust
15554         * lyxvc.C: adjust
15555         * text2.C: adjust
15556         + more files in subdirs
15557
15558         * lyxparagraph.h (size): move up int file
15559         (GetLayout): ditto
15560
15561         * adjust all uses of Assert to lyx::Assert.
15562
15563         * BufferView2.C (ChangeCitationsIfUnique): adjust for
15564         lyxfunctional in namespace lyx
15565         * layout.C (hasLayout): ditto
15566         (GetLayout): ditto
15567         (GetLayout): ditto
15568         (delete_layout): ditto
15569         (NumberOfClass): ditto
15570         * converter.C (GetFormat): ditto
15571         (GetNumber): ditto
15572         (Add): ditto
15573         (Delete): ditto
15574         (SetViewer): ditto
15575         * bufferlist.C (getFileNames): ditto
15576         (emergencyWriteAll): ditto
15577         (exists): ditto
15578         (getBuffer): ditto
15579         * MenuBackend.C (hasSubmenu): ditto
15580         (hasMenu): ditto
15581         (getMenu): ditto
15582         * BufferView_pimpl.C (getInsetByCode): ditto
15583
15584 2001-04-18  Juergen Vigna  <jug@sad.it>
15585
15586         * vspace.C (asLatexString): fixed the 100% problem.
15587
15588 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15589
15590         * lyxfunc.C (Dispatch):
15591         * minibuffer.C:
15592         * minibuffer.h: add a few std:: qualifiers
15593
15594 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15595
15596         * minibuffer.[Ch]: reimplement so that commands is initiated and
15597         run from lyxfunc, simplified som handling, and made the completion
15598         and history code for complete. wip.
15599
15600         * lyxfunc.C (processKeySym): call message
15601         (miniDispatch): new temporary method
15602         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15603         (LFUN_MESSAGE): implement
15604         (LFUN_MESSAGE_PUSH): implement
15605         (LFUN_MESSAGE_POP): implement
15606         (initMiniBuffer): the initial/defualt minibuffer message.
15607
15608         * lyxfont.[Ch]: inline some more getters
15609
15610         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15611
15612         * lyx_gui_misc.[Ch] (WriteStatus): remove method
15613
15614         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15615         (AutoSave): use LFUN_MESSAGE
15616         (Reconfigure): ditto
15617
15618         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15619
15620         * figureForm.C: use LFUN_MESSAGE
15621
15622         * converter.C (runLaTeX): use LFUN_MESSAGE
15623
15624         * bufferview_funcs.C: use LFUN_MESSAGE
15625         (Melt): ditto
15626         (changeDepth): ditto
15627
15628         * bufferparams.h: use boost::
15629
15630         * bufferlist.h: inherit privately from noncopyable
15631
15632         * bufferlist.C (loadLyXFile): remove some commented code.
15633
15634         * buffer.C (runChktex): use LFUN_MESSAGE
15635
15636         * ShareContainer.h: inherit privately from noncopyable
15637
15638         * ParagraphParameters.[hC] (depth): inline it.
15639
15640         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15641         methods.
15642         (message): new method
15643         (messagePush): ditto
15644         (messagePop): ditto
15645         (show): init minibuffer
15646         (showState): direct call
15647
15648         * LaTeX.[Ch]: inherit privately from noncopyable
15649         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15650         instead of WriteStatus.
15651
15652         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15653
15654         * BufferView_pimpl.C (buffer): don't init minibuffer
15655         (workAreaButtonPress): use LFUN_MESSAGE
15656         (workAreaButtonRelease): ditto
15657         (savePosition): ditto
15658         (restorePosition): ditto
15659         (MenuInsertLyXFile): ditto
15660         (workAreaExpose): don't init minibuffer
15661         (update): remove commented code, simplify
15662
15663         * BufferView2.C (openStuff): use LFUN_MESSAGE
15664         (toggleFloat): ditto
15665         (menuUndo): ditto
15666         (menuRedo): ditto
15667         (copyEnvironment): ditto
15668         (pasteEnvironment): ditto
15669         (copy): ditto
15670         (cut): ditto
15671         (paste): ditto
15672         (gotoInset): ditto
15673         (updateInset): remove some commented code
15674
15675         * lastfiles.h: inherit privately from noncopyable
15676         * layout.h: ditto
15677         * lyx_gui.h: ditto
15678         * lyx_main.h: ditto
15679         * lyxlex.h: ditto
15680         * lyxlex_pimpl.h: ditto
15681
15682         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15683         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15684         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15685
15686         * LyXAction.h: inherit privately from noncopyable, add methods
15687         func_begin, func_end, returning iterators to the func map.
15688
15689         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15690         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15691         (func_begin): new method
15692         (func_end): new method
15693
15694         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15695         and not)
15696         (copySelection): ditto
15697         (pasteSelection): ditto
15698
15699         * BufferView.C: whitespace change
15700         * BufferView.h: inherit privately from noncopyable
15701
15702 2001-04-16  Allan Rae  <rae@lyx.org>
15703
15704         * tabular-old.C (l_getline):
15705         * spellchecker.C (sc_check_word):
15706         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15707         an unrecognised preprocessor directive.  So ensure they're wrapped.
15708
15709 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
15710
15711         * src/exporter.C (Export): Give an error message when path to file
15712         contains spaces.
15713
15714 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
15715
15716         * LaTeX.C (deplog): Always check that foundfile exists.
15717
15718 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15719
15720         * lyx_main.h:
15721         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15722
15723 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15724
15725         * tabular.[Ch] (getLabelList): implement new method
15726
15727         * minibuffer.h: comment ouf setTiimer
15728
15729         * minibuffer.C (ExecutingCB): constify res
15730         (peek_event): constify s
15731         (Set): constify ntext
15732         (Init): constify nicename
15733
15734         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15735
15736         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15737         (savePosition): use two params to Minibuffer::Set
15738         (restorePosition): ditto
15739
15740 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15741
15742         * lyx_main.C: include language.h
15743
15744         * Makefile.am (lyx_main.o): add language.h
15745
15746 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15747
15748         * exporter.C:
15749         * paragraph.C:
15750         * screen.C:
15751         * tabular.C:
15752         * CutAndPaste.C: include gettext.h
15753
15754         * lyxfont.h: remove old hack with ON and OFF.
15755
15756         * lyxparagraph.h:
15757         * lyxfont.h: do not include language.h...
15758
15759         * BufferView2.C:
15760         * LaTeXFeatures.C:
15761         * Painter.C:
15762         * bufferview_funcs.C:
15763         * font.C:
15764         * lyxfont.C:
15765         * text.C:
15766         * text2.C:
15767         * trans_mgr.C:
15768         * paragraph.C: ... but do it here instead
15769
15770 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15771
15772         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15773
15774         * tabular.C: small reformat
15775
15776         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15777         NEW_INSETS version
15778         (GetChar): ditto
15779         (BreakParagraph): ditto
15780         (SetOnlyLayout): ditto
15781         (SetLayout): ditto
15782
15783         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15784         with one arg less.
15785
15786         * lastfiles.C: removed most using decl, add std:: where needed
15787
15788         * buffer.C: ws changes
15789
15790         * MenuBackend.C (class compare_format): put into anon namespace
15791         (expand): constify label, names, action, action2
15792         (expand):
15793
15794         * text.C (SingleWidth): constify font
15795         (IsBoundary): constify rtl2
15796         (GetVisibleRow): constify ww
15797
15798         * LaTeX.C (deplog): constify logfile
15799
15800         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15801         start_x, end_x
15802         (workAreaExpose): constify widthChange, heightChange
15803
15804         * lyxrow.C (par): moved
15805         (height): moved
15806         (next): moved
15807         * lyxrow.h: as inlines here
15808
15809         * lyxfont.h (shape): moved from lyxfont.C
15810         (emph): moved from lyxfont.C
15811
15812         * lyxfont.C (LyXFont): use initialization list for all
15813         constructors
15814         (shape): move to lyxfont.h as inline
15815         (emph): move to lyxfont.h as inline
15816
15817
15818 2001-04-04  Juergen Vigna  <jug@sad.it>
15819
15820         * vspace.C: had to include stdio.h for use of sscanf
15821
15822 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
15823
15824         * BufferView.h:
15825         * BufferView_pimpl.h: remove xforms cruft. Both classes are
15826         independent of xforms.
15827
15828 2001-04-02  Juergen Vigna  <jug@sad.it>
15829
15830         * spellchecker.C: fixed namespace placing!
15831
15832 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
15833
15834         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15835         the LyXParagraph * is 0.
15836
15837 2001-03-29  Juergen Vigna  <jug@sad.it>
15838
15839         * vspace.C: added support for %, c%, p%, l%.
15840         (stringFromUnit): added helper function.
15841         (asLatexString): changed to give right results for the %-values.
15842
15843         * buffer.C: convert the widthp in a width%.
15844
15845 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
15846
15847         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15848         figureForm.[Ch].
15849
15850         * figureForm.[Ch]: stripped the FD_from_figure manipulation
15851         code out of lux_cb.[Ch], ready for its (imminent?) removal.
15852
15853         * lyx_cb.[Ch]: see above.
15854
15855         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15856         form1.[Ch].
15857
15858         * form1.[Ch]:
15859         * lyx.[Ch]: replaced by figure_form.[Ch].
15860
15861         * lyx_gui.C:
15862         * lyx_gui_misc.C:
15863         * lyxfunc.C: changed headers associated with above changes.
15864
15865 2001-03-27  Juergen Vigna  <jug@sad.it>
15866
15867         * BufferView_pimpl.C: set the temporary cursor right!
15868
15869 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
15870
15871         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15872
15873 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
15874
15875         * LString.h: removed "using std::getline"!
15876
15877         * BufferView_pimpl.C (Dispatch): changes due to changes in
15878         InsetInclude::Params.
15879
15880         * buffer.C (tag_name): removed redundant break statements as they were
15881         producing lots of warnings with my compiler.
15882
15883 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15884
15885         * LString.h: add "using std::getline" when using the real <string>.
15886
15887 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
15888
15889         * buffer.C: removed bitset usage.
15890         PAR_TAG moved to an anonymous name space.
15891         (tag_name): new funtion, also in the anonymous namespace.
15892         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15893         (makeDocBookFile): clean code. Completed transition from string arrays
15894         to string vectors.
15895         (SimpleDocBookOnePar): code clean.
15896
15897 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15898
15899         * tabular.C: add some comments.
15900
15901 2001-03-22  Juergen Vigna  <jug@sad.it>
15902
15903         * buffer.C (parseSingleLyXformat2Token): redone the minipage
15904         compatibility read a bit and fixed bug with minipage in different
15905         depth.
15906
15907 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
15908
15909         * buffer.C (pop_tag): removed.
15910         (push_tag): removed.
15911         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15912         array replaced with vector. Added support for CDATA sections.
15913         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15914         at any nest level.
15915         (makeDocBookFile): XML conformant declaration of CDATA section,
15916         fixed bug related to <emphasis> in the first paragraph char.
15917         (sgmlOpenTag): exclude empty tags.
15918         (sgmlCloseTag): ditto.
15919
15920         * buffer.h (pop_tag): removed.
15921         (push_tag): removed.
15922
15923 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
15924
15925         * language.h (Languages): added size_type and size().
15926
15927 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15928
15929         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15930         response on compability reading of minipages. One probliem is that
15931         the old usage of minipages was «flertydig»
15932
15933         * several files here and in subdirs: don't use static at file
15934         scope use anon namespaces instead.
15935
15936 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
15937
15938         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15939         LaTeX output. This is necessary for Literate document
15940         processing.
15941
15942 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15943
15944         * buffer.C: insert hfill when needed.
15945
15946         * tabular.C (l_getline): use string::erase, small whitespace change.
15947
15948         * BufferView_pimpl.C: try the anon namespace.
15949         * WorkArea.C: ditto
15950
15951 2001-03-16  Juergen Vigna  <jug@sad.it>
15952
15953         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15954         otherwise it won't open options-dialogs.
15955
15956         * buffer.C: honor pextraWidth(p) on converting minipages.
15957
15958         * tabular.C (l_getline): changed the functions to strip trailing \r.
15959
15960 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
15961
15962         * BufferView_pimpl.C:
15963         * minibuffer..C: added "using SigC::slot" declaration.
15964
15965 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15966
15967         * lyxlex_pimpl.h: noncopyable is in namespace boost.
15968
15969         * text2.C: ditto
15970
15971         * text.C: ditto
15972
15973         * paragraph.C: ditto
15974
15975         * lyxtext.h: NO_PEXTRA
15976
15977         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15978
15979         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15980         * ParameterStruct.h: ditto
15981         * ParagraphParameters.h: ditto
15982         * lyxparagraph.h: ditto
15983
15984 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15985
15986         * buffer.C: add compability for minipage alignment.
15987         (latexParagraphs): remove unwanted pextra check.
15988
15989         * several files: remove CXX_WORKING_NAMESPACES
15990
15991         * buffer.C (pop_tag): tie is in namespace boost
15992
15993         * BufferView.h: noncopyable is in namespace boost
15994         * lyxlex.h: ditto
15995         * lyx_main.h: ditto
15996         * lyx_gui.h: ditto
15997         * layout.h: ditto
15998         * lastfiles.h: ditto
15999         * bufferlist.h: ditto
16000         * ShareContainer.h: ditto
16001         * LyXView.h: ditto
16002         * LyXAction.h: ditto
16003         * LaTeX.h: ditto
16004
16005 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16006
16007         * Merging changes from BRANCH_MVC back into HEAD.
16008
16009         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16010
16011 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
16012
16013         * BufferView_pimpl.C: change from intl.C
16014
16015         * combox.h:
16016         * combox.C:
16017         * Makefile.am: move combox.*
16018
16019         * form1.h:
16020         * form1.C:
16021         * lyx_gui.C:
16022         * intl.h:
16023         * intl.C: remove dialog (covered by prefs)
16024
16025 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16026
16027         * lyxfunc.C (Dispatch): removed redundant break statement.
16028
16029 2001-03-14  Juergen Vigna  <jug@sad.it>
16030
16031         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16032
16033 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16034
16035         * buffer.C: add hack to fix compability reading of minipages.
16036
16037 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
16038
16039         * buffer.C (getLists): Cleanup.
16040
16041 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16042
16043         * lyxfont.C (update): don't honor toggleall on font size.
16044
16045 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
16046
16047         * bmtable.c:
16048         * bmtable.h:
16049         * Makefile.am: moved to frontends/xforms/
16050
16051         * lyx_gui_misc.C:
16052         * lyxfunc.C:
16053         * BufferView_pimpl.C: changes for moved mathpanel
16054
16055 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16056
16057         * gettext.h: fix gettext_init() in --disable-nls
16058
16059 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16060
16061         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16062
16063 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
16064
16065         * lyx.C:
16066         * lyx.h: strip external form
16067
16068 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16069
16070         * BufferView_pimpl.C: add comment, destroySplash()
16071
16072 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16073
16074         * BufferView_pimpl.C:
16075         * LyXAction.C:
16076         * buffer.C:
16077         * commandtags.h:
16078         * lyxfunc.C: use re-worked insetinclude
16079
16080 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16081
16082         * buffer.C: add using std::stringstream.
16083
16084         * lyx_cb.C: readd using std::ios.
16085
16086         * buffer.C: add using std::map.
16087
16088         * BufferView_pimpl.C: add using std::vector.
16089
16090         * ShareContainer.h: add std:: to swap.
16091
16092         * buffer.h: add some typedefs
16093         * buffer.C (getLists): use them
16094         (getLists): renamed from getTocList.
16095         add a counter for the different float types and use it in the
16096         generated string.
16097         (getLists): use the same counter for the NEW_INSETS and the "non"
16098         NEW_INSETS
16099
16100         * lyx_cb.h: remove unused items, includes, using etc.
16101
16102         * ShareContainer.h: remove some commented code, add more comments
16103         and "documentation".
16104
16105 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16106
16107         * buffer.C (getTocList): make the list also when NEW_INSETS is
16108         defined.
16109
16110         * buffer.h: remove TocType
16111
16112         * buffer.C (getTocList): change to return a map<string,
16113         vector<TocItem> >, implement for dynamic number of list.
16114
16115         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16116         * text2.C (PasteSelection): adjust
16117         * CutAndPaste.C (pasteSelection): adjust
16118
16119         * FloatList.C (FloatList): update from the new_insets branch.
16120         * Floating.[Ch]: ditto
16121         * LaTeXFeatures.C: ditto
16122         * buffer.C: ditto
16123         * lyxlex_pimpl.C: ditto
16124
16125         * paragraph.C (Last): remove when NEW_INSETS is defined.
16126
16127         * other file: changes because of the above.
16128
16129 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16130
16131         * lyxparagraph.h: rename next to next_, previous to previous_,
16132         make them private for NEW_INSETS. Rename Next() to next(),
16133         Previous() to previous().
16134
16135         * other files: changes because of the above.
16136
16137 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
16138
16139         * BufferView.h:
16140         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16141         problem.
16142
16143 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16144
16145         * main.C (main): pass lyx_localedir to gettext_init().
16146
16147         * gettext.h: remove locale_init and gettext_init macros
16148
16149         * gettext.C (locale_init): new function
16150         (gettext_init): new function
16151
16152         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16153         setlocale().
16154
16155 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
16156
16157         * Moved credits to frontends:
16158         * credits.[Ch]: removed
16159         * credits_form.[Ch]: removed
16160         * lyx_gui_misc.C: remove credits stuff
16161         * Makefile.am:
16162
16163 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16164
16165         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16166
16167         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16168         unneeded destructor.
16169
16170         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16171         a standalone pointer again.
16172
16173         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16174
16175 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
16176
16177         * Makefile.am:
16178         * filedlg.h:
16179         * filedlg.C:
16180         * LyXAction.C:
16181         * ToolbarDefaults.C:
16182         * bufferlist.C:
16183         * commandtags.h:
16184         * form1.C:
16185         * form1.h:
16186         * lyx_cb.C:
16187         * lyx_cb.h:
16188         * lyxfunc.h:
16189         * lyxfunc.C:
16190         * BufferView_pimpl.C: use new file dialog in GUII
16191
16192         * lyx_cb.h:
16193         * lyx_cb.C: remove LayoutsCB to Toolbar
16194
16195 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16196
16197         * ShareContainer.h (get): add std:: qualifier
16198
16199 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16200
16201         * ShareContainer.h: define a proper ShareContainer::value_type
16202         type (and use typename to please compaq cxx)
16203
16204 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16205
16206         * lyxparagraph.h: move serveral local vars to
16207         ParameterStruct/ParagraphParameters., use ShareContainer in
16208         FontTable., make vars in FontTable private and add getter and
16209         setter.
16210
16211         * paragraph.C: changes because of the above.
16212
16213         * lyxfont.h: remove copy constructor and copy assignment. (the
16214         default ones is ok), move number inside FontBits. move inlines to
16215         lyxfont.C
16216
16217         * lyxfont.C: add number to initializaton of statics, move several
16218         inlines here. constify several local vars. some whitespace
16219         cleanup. Dont hide outerscope variables.
16220
16221         * Spacing.h: add two new constructors to match the set methods.
16222
16223         * ShareContainer.h: new file, will perhaps be moved to support
16224
16225         * ParameterStruct.h: new file
16226
16227         * ParagraphParameters.h: new file
16228
16229         * ParagraphParameters.C: new file
16230
16231         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16232         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16233
16234         * BufferView_pimpl.C: ParagraphParameter changes.
16235         * buffer.C: Likewise.
16236         * bufferview_funcs.C: Likewise.
16237         * text.C: Likewise.
16238         * text2.C: Likewise.
16239
16240 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16241
16242         * lyxfind.C (LyXReplace): do not redefine default argument in
16243         implementation.
16244         (IsStringInText): ditto
16245         (SearchForward): ditto
16246         (SearchBackward): ditto
16247
16248 2001-03-06  Juergen Vigna  <jug@sad.it>
16249
16250         * lyxfind.C (IsStringInText): put parentes around expressions.
16251
16252 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
16253
16254         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16255
16256 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
16257
16258         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16259
16260         * stl_string_fwd.h: add comment
16261
16262         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16263
16264         * tabular.h:
16265         * tabular.C: remove unused DocBook methods
16266
16267         * intl.C:
16268         * language.C:
16269         * paragraph.C:
16270         * buffer.C:
16271         killed DO_USE_DEFAULT_LANGUAGE
16272
16273 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16274
16275         * lyx_gui.C: do not include language.h.
16276
16277         * bufferview_funcs.C (ToggleAndShow): do not provide optional
16278         arguments in function implementation.
16279
16280 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16281
16282         * BufferView_pimpl.C: add <ctime>
16283
16284 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16285
16286         * BufferView_pimpl.C: add using std::find_if
16287
16288 2001-02-27  José Matos  <jamatos@fep.up.pt>
16289
16290         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16291         by OnlyPath.
16292
16293 2001-02-11  José Matos  <jamatos@fep.up.pt>
16294
16295         * buffer.C (makeDocBookFile): command styles now have a parameter as
16296         "title" by default.
16297
16298 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
16299
16300         * layout_forms.[Ch]: removed
16301         * lyx_cb.[Ch]: out character
16302         * lyx_gui.C: out character
16303         * lyx_gui_misc.C: out character
16304         * bufferview_funcs.C: : out character,
16305         added toggleall as parameter in ToggleAndShow
16306
16307 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
16308
16309         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16310
16311         * text2.C (SetCurrentFont): Disable number property at boundary.
16312
16313 2001-02-26  Juergen Vigna  <jug@sad.it>
16314
16315         * lyxfunc.C (getStatus): added a string argument override function so
16316         that this is correctly called from LyXFunc::Dispatch if it contains a
16317         do_not_use_argument which is used!
16318         (Dispatch): added check for "custom" export and call appropriate func.
16319
16320 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
16321
16322         * lyxrc.C: Add language_command_local, language_use_babel and
16323         language_global_options.
16324
16325         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16326
16327         * buffer.C (makeLaTeXFile): Use language_use_babel and
16328         language_global_options.
16329
16330 2001-02-23  Juergen Vigna  <jug@sad.it>
16331
16332         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16333         which works with LyXText and putted it inside BufferView. Here now we
16334         only call for that part the BufferView::Dispatch() function.
16335
16336         * BufferView.C (Dispatch): added.
16337
16338         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16339         functions which needs to use a LyXText over from LyXFunc.
16340         (MenuInsertLyXFile): added
16341         (getInsetByCode): added
16342         (moveCursorUpdate): added
16343         (static TEXT): added
16344
16345 2001-02-22  Juergen Vigna  <jug@sad.it>
16346
16347         * BufferView_pimpl.C (update): call a status update to see if LyXText
16348         needs it.
16349
16350 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16351
16352         * vc-backend.C (revert): implement for CVS
16353         (getLog): implement for CVS
16354
16355 2001-02-20  Juergen Vigna  <jug@sad.it>
16356
16357         * text2.C (ClearSelection): added BufferView param for inset_owner call
16358
16359         * lyxfunc.C (TEXT): added this function and use it instead of
16360         directly owner->view()-text of getLyXText().
16361
16362 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
16363
16364         * src/layout_forms.C: out preamble
16365         * src/layout_forms.h: out preamble
16366         * src/lyx_cb.C: out preamble
16367         * src/lyx_cb.h: out preamble
16368         * src/lyx_gui.C: out preamble
16369         * src/lyx_gui_misc.C: out preamble
16370         * src/lyxfunc.C: connect with guii preamble
16371
16372 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
16373
16374         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16375
16376 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
16377
16378         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16379         whether to run bibtex.
16380
16381 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
16382
16383         * Makefile.am (lyx_SOURCES): Remove BackStack.h
16384
16385 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
16386
16387         * Makefile.am (lyx_SOURCES): removed bibforms.h
16388
16389         * vspace.h: doxygen
16390
16391         * text.C (GetVisibleRow): make several local vars const
16392
16393         * tabular.C: small cleanup.
16394
16395         * lyxserver.C (callback): use compare instead of strncmp
16396
16397         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16398         inlines to after class or to paragraph.C
16399
16400         * lyxfont.h: remove friend operator!=
16401
16402         * converter.h: move friend bool operator< to non friend and after
16403         class def.
16404
16405         * combox.h: small cleanup
16406
16407         * buffer.h: doxygen, remove unused constructor, move inclas inlies
16408         to inlines after class def.
16409
16410         * buffer.C (pop_tag): use string operations instead of strcmp
16411
16412         * bmtable.c: doxygen, small cleanup
16413
16414         * LaTeX.h: remove friend operator==
16415
16416 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
16417
16418         * screen.C:
16419         * lyxrc.[Ch]:
16420         * lyxfunc.C:
16421         * lyxfont.[Ch]:
16422         * lyx_cb.C:
16423         * intl.[Ch]:
16424         * commandtags.h:
16425         * buffer.C:
16426         * WorkArea.[Ch]:
16427         * LyXAction.C:
16428         * BufferView_pimpl.C:
16429         * BufferView.[Ch]: remove cruft
16430
16431 2001-02-14  Juergen Vigna  <jug@sad.it>
16432
16433         * lyxfunc.C: removed #if 0 unused code
16434
16435         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16436
16437         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16438
16439         * text2.C (SetSelection): added a BufferView * parameter
16440
16441 2001-02-13  Juergen Vigna  <jug@sad.it>
16442
16443         * lyxfunc.C (Dispatch): fixed protected blank problem.
16444         * BufferView2.C (protectedBlank): added LyxText * parameter.
16445
16446         * tabular.C (AppendRow): forgot to set row_info of newly added row.
16447         (AppendColumn): same as above for column_info.
16448
16449         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16450         (moveCursorUpdate): use a LyXText param for support of InsetText.
16451
16452         * BufferView_pimpl.C (doubleClick): added support for InsetText.
16453         (tripleClick): ditto
16454
16455         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16456
16457         * BufferView_pimpl.C (update): added LyXText param to honor insets.
16458
16459         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16460
16461         * text2.C (SetSelection): set correct update status if inset_owner
16462         (ToggleFree): ditto
16463
16464 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
16465
16466         * tabular.C: remove some commented code.
16467
16468 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
16469
16470         * BufferView_pimpl.C: call hideSplash()
16471
16472         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16473
16474         * include_form.h:
16475         * bibforms.h: remove
16476
16477         * lyxfunc.C:
16478         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16479           add LFUN_CHILD_CREATE
16480
16481         * counters.h: fix tiny typo
16482
16483         * lyx_cb.C:
16484         * lyx.h:
16485         * lyx_gui.C:
16486         * lyx.C: move splash to frontends/xforms/
16487
16488         * lyx_gui_misc.C: move Include and Bibform to frontends
16489
16490         * lyxvc.h: clarify comment
16491
16492         * vspace.C: tiny housekeeping
16493
16494 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
16495
16496         * text.C (PrepareToPrint): RTL Fix.
16497
16498         * paragraph.C (GetUChar): New method.
16499         (String):  Use GetUChar.
16500
16501         * buffer.C (asciiParagraph): Use GetUChar.
16502
16503 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
16504
16505         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16506
16507 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
16508
16509         * buffer.h:
16510         * buffer.C: rename to getLogName(), handle
16511           build log / latex log nicely
16512
16513 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16514
16515         * MenuBackend.C:
16516         * MenuBackend.h: remove support for reference menuitem type.
16517
16518 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
16519
16520         * BufferView_pimpl.C: housekeeping
16521         * BufferView_pimpl.h:
16522         * LyXView.h:
16523         * Makefile.am:
16524         * Timeout.C:
16525         * Timeout.h:
16526         * minibuffer.h: move Timeout GUI-I
16527
16528 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
16529
16530         * lyxrc.C (read): Update converters data-structures.
16531
16532 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
16533
16534         * LaTeX.h (operator!=): add operator != for Aux_Info
16535
16536 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
16537
16538         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16539
16540         * LaTeXLog.C: deleted, useful code moved to Buffer
16541
16542         * buffer.h:
16543         * buffer.C: new function getLatexLogName()
16544
16545         * lyx_gui_misc.C:
16546         * lyx_gui.C:
16547         * lyxvc.C:
16548         * lyxvc.h:
16549         * lyxfunc.C: use frontends for LaTeX and VC logs
16550
16551 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16552
16553         * LaTeX.h: yet another std:: that Allan forgot.
16554
16555         * Variables.C (set): renamed from isset(), because this clashes
16556         with some HP-UX macros (grr).
16557
16558 2001-02-06  Allan Rae  <rae@lyx.org>
16559
16560         * LaTeX.h: Another bug fix.  Missing std:: this time.
16561
16562 2001-02-04  Allan Rae  <rae@lyx.org>
16563
16564         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16565         floats problem. I've left it commented out because it's not quite
16566         correct.  It should also test that the current object is a table or
16567         figure inset.  But I haven't gotten around to figuring out how to do
16568         that.  I *think* it'll be something like: "table" == inset.type()
16569
16570         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16571         bool.
16572
16573 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
16574
16575         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16576         all the citation/databases/styles in the auxilary file.
16577         (run): Rerun latex if there was a babel language error.
16578
16579 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
16580
16581         * text.C (Backspace): Preserve the font when changing newline char
16582         with a space.
16583         (BreakParagraph): If the cursor is before a space, delete the space.
16584
16585         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16586
16587 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
16588
16589         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16590         new argument (code).
16591         (ChangeCitationsIfUnique): New method.
16592
16593         * paragraph.C (GetPositionOfInset): Handle bibkey.
16594
16595 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16596
16597         * BufferView_pimpl.h: change type of Position::par_pos to
16598         LyXParagraph::size_type.
16599
16600 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
16601
16602         * BufferView_pimpl.C (savePosition, restorePosition): Write
16603         messages to minibuffer.
16604
16605 2001-01-28  José Matos  <jamatos@fep.up.pt>
16606
16607         * buffer.C (makeDocBookFile): adds support for document language.
16608         A silly restriction on the name of LatexCommand types where removed.
16609         Added support for CDATA sections, allows to chars unescaped, used
16610         among others in code, to avoid escape < and >.
16611
16612 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16613
16614         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16615         saved positions instrad of a stack. Furthermore, a position is
16616         stored using paragraph id/paragraph position.
16617
16618         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16619         Remove LFUN_REF_BACK.
16620
16621 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16622
16623         * converter.C (dvipdfm_options): New method.
16624
16625 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
16626
16627         * vspace.C (isValidLength): Fix for empty input string.
16628
16629 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16630
16631         * LyXAction.C (init): change description of LFUN_FIGURE to
16632         "Insert Graphics"
16633
16634 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16635
16636         * LaTeX.C: add using directive
16637
16638 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16639
16640         * MenuBackend.C (expand): Fix the sorting of the formats.
16641
16642 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
16643
16644         * lyx_main.C: tiny error message fix
16645
16646 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16647
16648         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16649         calling fl_initialize(). This fixes the problem with ',' as
16650         decimal separator in text files.
16651
16652 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16653
16654         * trans.C (process): Fix the keymap bug.
16655
16656 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
16657
16658         * LaTeX.C (scanAuxFiles): New method. Provides support for
16659         multiple bibliographies (when using the bibtopic/bibunits pacakges).
16660         (scanLogFile) Scan for "run BibTeX" messages.
16661
16662         * buffer.C (makeLaTeXFile): Do not load the ae package when using
16663         OT1 font encoding. Also, load the aecompl package if the ae
16664         package is loaded.
16665
16666         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16667
16668 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16669
16670         * texrow.C (increasePos): turn two error messages into debug
16671         messages.
16672
16673 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
16674
16675         * LaTeX.C (scanAux): Handle the \@input macro.
16676         (runBibTeX): Use scanAux().
16677
16678         * language.C (latex_options_): New field.
16679
16680         * LaTeXFeatures.C (getMacros): Add language macros.
16681
16682         * buffer.C (makeLaTeXFile): Small fix.
16683
16684 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16685
16686         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16687
16688         * text2.C: add a using directive.
16689
16690 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
16691
16692         * BufferView2.C:
16693         * lyx_gui_misc.h:
16694         * lyxfr1.C:
16695         * lyxfunc.C: kill LyXBell.
16696
16697 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
16698
16699         * text.C (IsBoundary): Remove the error message
16700
16701         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16702
16703         * lyxrc.C (setDefaults): Correct initialization value for
16704         font_norm_type.
16705
16706 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
16707
16708         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16709         gotoError().
16710
16711         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16712         and GotoNextNote().
16713
16714         * src/LyXAction.C: Added reference-next.
16715
16716         * text.C (InsertChar): Use contains instead of strchr.
16717
16718         * lyx_cb.C (MenuInsertLabel): Enable default value code.
16719
16720 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
16721
16722         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16723         alignment commands (when needed).
16724
16725         * text.C (InsertChar): Add ':' to number separator chars.