]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
46ed6c39e91ce9183f44dbd6e30fb5080edd72cf
[lyx.git] / src / ChangeLog
1 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
2
3         * Makefile.am (BOOST_LIBS): use boost variables
4
5 2004-12-03  José Matos <jamatos@lyx.org>
6
7         * buffer.C: format up to 238.
8
9 2004-12-03  José Matos  <jamatos@lyx.org>
10
11         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
12
13 2004-12-03  Lars Gullik Bjonnes  <larsbj@gullik.net>
14
15         * cursor.C (goUpDown): remove call to idxUpDown2
16
17 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
18
19         * tabular.[Ch]: use size_t-like types for cell, row and column
20         indices
21
22 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
23
24         * lyxfunc.C (getStatus): do not lose previous information when
25         calling BufferView::getStatus; do not set a default "Command
26         disabled" message at the beginning, but just before returning.
27
28 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
29
30         * cursor.h (getStatus): add better comment from src/cursor.C
31
32 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
33
34         * text3.C (getStatus): return false when the lfun is not handled
35
36 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
37
38         * broken_headers.h: remove
39
40         * Makefile.am (lyx_SOURCES): remove broken_headers.h
41
42 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
43
44         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
45         offset_ref accessors
46
47         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
48         top_y_, merge fitcursor with update
49         (updateScrollbar, scrollDocView, fitCursor, center, update): new
50         coord scheme
51         (metrics): introduce
52         (workAreaDispatch): adapt to new coord scheme
53         (redoCurrentBuffer): remove
54
55         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
56
57         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
58         CurStatus enum.
59
60         * coordcache.[Ch]: add paragraph cache and helpers
61
62         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
63         adjust everywhere
64
65         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
66         (targetX, setTargetX): introduce
67
68         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
69         baseline -> ascent, as the rest of lyx
70
71         * lyxtext.h: remove redoParagraphs, updateParPositions,
72         fullRebreak, redoParagraphInternal. move dist to anon namespace in
73         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
74         have ascent/descent (ascent is ascent of first par)
75
76         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
77         step of BufferView
78
79         * paragraph.[Ch]: unify dimension handling with the rest of lyx
80
81         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
82
83         * pariterator.C: fix infinite loop introduced in par->pit renaming
84
85         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
86         in insets and LyXText, draw two off-screen paragraphs using
87         NullPainter, and adapt to new coord scheme
88
89         * text.C:
90         * text2.C:
91         * text3.C: adapt lfun handlers to the new coord scheme, which
92         means: there's only guaranteed coord information for onscreen pars
93         plus one above and one below. This implies that one can do search
94         from y coordinates in the range [-1,workHeight]
95
96 2004-11-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
97
98         * rename a lot of InsetOld to InsetBase
99
100 2004-11-25  Angus Leeming  <leeming@lyx.org>
101
102         * BufferView_pimpl.C:
103         * lyx_cb.C:
104         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
105
106 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
107
108         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
109         call BufferView::getStatus if LCursor::getStatus did nothing
110         (setStatusMessage, getStatusMessage): removed.
111
112         * FuncStatus.C (message): new methods. Used to provide an error
113         message indicating why a command is disabled.
114         (clear, |=, FuncStatus): update for message.
115
116 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
117
118         * lyxfunc.C (dispatch): always call sendDispatchMessage
119
120 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
121
122         * BufferView.C:
123         * BufferView_pimpl.C:
124         * CutAndPaste.C:
125         * FontIterator.C:
126         * buffer.C:
127         * cursor.C:
128         * cursor_slice.[Ch]:
129         * dociterator.[Ch]:
130         * lyxfind.C:
131         * paragraph_funcs.C:
132         * pariterator.C:
133         * rowpainter.C:
134         * text.C:
135         * text2.C:
136         * text3.C:
137         * undo.C: par->pit renaming
138
139 2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
140
141         * tabular.C (cellstruct): use initialization, store a shared_ptr
142         to insettext instead of the insettext directly, adjust to fit.
143         (operator=):  new function
144         (swap): new function
145         (rowstruct): use initialization
146         (columnstruct): use initialization
147         (ltType): use initialization
148
149
150         * lyxlength.h (swap): new function
151
152         * LColor.[Ch] (operator=): use the common semantics
153
154 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
155
156         * lyxfind.C (findNextChange): update the bufferview after setting
157         the selection.
158
159 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
160
161         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
162         number of InsetOptArgs has already been inserted.
163
164         * output_latex.C (latexOptArgInsets): new method. This outputs all
165         the optarg insets, up to the limit defined in the layout file.
166         (optArgInset): removed
167         (TeXOnePar): call latexOptArgInsets; correctly update texrow
168
169 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
170
171         * paragraph.C (isLetter): remove special spellchecker-related
172         code; return true also for digits
173         (isWord, isKomma): remove
174
175         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
176         * lyxfind.C (MatchString()): use isLetter instead of isWord
177
178 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
179
180         * pariterator.h (operatir=): comment out un-implemented member
181         function.
182
183         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
184         static cast.
185
186 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
187
188         * lyxfont.h: include LColor.h to satisfy concept checks.
189
190 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
191
192         * pariterator.h: add typdefs for value_type, difference_type,
193         pointer and reference to satisfy concept checks. Also add default
194         constructor for same reason.
195
196         * pariterator.C (operator++): add post-increment operator to
197         satisfy concept checks.
198
199         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
200         checks.
201
202         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
203
204         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
205         checks. Also rename base_type to BaseType to follow naming
206         standard better.
207
208         * FloatList.h: include Floating.h to satisfy concept checks.
209
210 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
211
212         * lyxfunc.C (getStatus): when the origin of the request is menu or
213         toolbar, and the LyXView does not have focus, do as if there was
214         no buffer (bug 1720)
215
216         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
217         FuncRequest to individual entries of LFUN_SEQUENCE
218
219 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
220
221         * output_latex.C (TeXOnePar): override runparams.moving_arg
222         according to the needprotect value of the current paragraph (bug
223         1739)
224
225         * paragraph.C (simpleTeXOnePar): no need to override
226         runparams.moving_args here
227
228 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
229
230         * vspace.C: fix off-by-one-error, related to fix #1682
231
232 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
233
234         * lengthcommon.C: a more general fix for bug 1682
235
236 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
237
238         * text.C (backspace): fix crash
239
240 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
241
242         * format.[Ch] (getFormatFromFile): new method
243         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
244
245 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
246
247         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
248
249 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
250
251         * lyxfunc.C (dispatch): remove the verbose argument
252         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
253         instead
254
255         * kbmap.C (defkey): set the origin of func to KEYBOARD
256
257         * MenuBackend.C (MenuItem):
258         * ToolbarBackend.C (add): set the origin of func to UI
259
260         * funcrequest.[Ch]: add origin member, which indicates which part
261         of LyX requests an action
262
263 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
264
265         * converter.C (move): don't lie in the error message
266         * converter.h (isReachable, move): document
267
268 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
269
270         * buffer.C: remove unused using lyx::support::atoi
271         * paragraph_funcs.C: ditto
272
273 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
274
275         * bufferlist.C (exists): use bind and equal_to instead of
276         compare_memfun
277         (getBuffer): ditto
278         * lyxtextclasslist.C (NumberOfClass): ditto
279
280         * cursor.C (insert): use for_each instead of explicit for loop
281
282         * bufferlist.C (getFileNames): use std::transform and
283         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
284
285         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
286         for loop
287
288         * buffer.C (changeLanguage): use for_each instead of explicit for
289         loop
290         (hasParWithID): implement using getParFromID
291
292         * LaTeXFeatures.C: ws change only
293
294         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
295         to cleanup a bit.
296
297         * BufferView_pimpl.C (trackChanges): use for_each instead of
298         expilicit for loop
299
300 2004-11-04  André Pönitz  <poenitz@gmx.net>
301
302         * undo.h:
303         * undo.C (textUndoOrRedo): fix crash when creating undo information.
304
305         * dociterator.C (asDocIterator): use hard assert again.
306
307 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
308
309         * lyxlength.C (asLatexString): rewrite so that it does not use
310         snprintf anymore
311
312 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
313
314         * text3.C (specialChar, dispatch): make sure cursor moves to the
315         right after inserting an inset
316
317 2004-11-02  José Matos  <jamatos@lyx.org>
318
319         * output_docbook.C (docbook):
320         * paragraph.C (getID):
321         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
322         garantee that the output is always legal.
323
324         * tabular.C (docbook):
325         * outputprams.[Ch]: remove mixed contents.
326
327 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
328
329         * text2.C (setCounter): prevent endless loop
330
331 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
332
333         * exporter.C (copyFile): use the mover instead of support::copy()
334         * exporter.C (Export): pass format and latex name to copyFile()
335         * exporter.h (addExternalFile): document
336         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
337
338 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
339
340         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
341
342 2004-10-30  José Matos  <jamatos@lyx.org>
343
344         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
345         text and no inset or font change. This allows to use CDATA
346         sections just for the whole paragraph.
347
348 2004-10-30  José Matos  <jamatos@lyx.org>
349
350         * paragraph.C (getFirstWord): remove unused variable.
351
352 2004-10-30  José Matos  <jamatos@lyx.org>
353
354         * paragraph.C (getFirstWord): the content should always be escaped
355         there.
356         (simpleDocBookOnePar):
357         * output_docbook.C (makeEnvironment): replace reference to CDATA
358         to style pass_thru.
359
360 2004-10-30  José Matos  <jamatos@lyx.org>
361
362         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
363
364 2004-10-30  José Matos  <jamatos@lyx.org>
365
366         * output_docbook.C (makeParagraphs):
367         * paragraph.[Ch] (emptyTag): for docbook and company, if the
368         standard paragraph has only a given type of content drop the wrapper.
369
370 2004-10-29  José Matos  <jamatos@lyx.org>
371
372         * output_docbook.C (makeEnvironment):
373         * sgml.C (openTag):
374         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
375
376 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
377
378         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
379         (cleanID): sanitize any id.
380
381 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
382
383         * buffer.C, lyxlex_pimpl.C:
384         * lyxlex_pimpl.C (setFile):
385         s/getExtFromContents/getFormatFromContents/
386
387 2004-10-28  José Matos  <jamatos@lyx.org>
388
389         * output_docbook.C (makeEnvironment): move id to broadest possible
390         scope.
391
392         * sgml.C (openTag): apply substitution of <> for all attributes.
393
394 2004-10-28  José Matos  <jamatos@lyx.org>
395
396         * buffer.C (makeLinuxDocFile, makeDocBookFile):
397         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
398         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
399
400         * sgml.[Ch]: new version for open and closeTag for paragraph and
401         for strings. Now they handle the ids of paragraphs.
402
403 2004-10-26  Angus Leeming  <leeming@lyx.org>
404
405         * Makefile.am: add mover.[Ch].
406
407         * converter.C (convert, move): use the new Movers to move external
408         files to the temp directory.
409
410         * lyx_main.C (init): ensure that the global system_movers data
411         is initialised.
412
413         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
414         preferences file.
415
416         * mover.[Ch]: new files, defining a Mover as a utility to move an
417         external file between directories and, if necessary, manipulate this
418         file using a helper script.
419
420 2004-10-25  José Matos  <jamatos@lyx.org>
421
422         * output_docbook.C (makeCommand): merge two if's that tested the
423         same condition.
424
425 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
426
427         * sgml.C (escapeString): fix warning in a better way
428
429 2004-10-25  José Matos  <jamatos@lyx.org>
430
431         * sgml.C (escapeString): import the require boosts header file for
432         tie, and avoid a signed unsigned comparison.
433
434 2004-10-25  José Matos  <jamatos@lyx.org>
435
436         * sgml.h: add #include <string>
437
438 2004-10-25  José Matos  <jamatos@lyx.org>
439
440         * sgml.[Ch] (escapeString): new function to escape all the string.
441
442 2004-10-24  José Matos  <jamatos@lyx.org>
443
444         * paragraph.[Ch] (getFirstWord): new function to get the first
445         word. Useful for description.
446         (simpleDocBookOnePar): remove depth argument, add another that
447         says where to start the paragraph.
448
449         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
450         use the new functions to fix cleanly the support for descriptions.
451
452 2004-10-24  José Matos  <jamatos@lyx.org>
453
454         * buffer.C (makeLinuxDocFile, makeDocBookFile):
455         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
456         * output_linuxdoc.C (linuxdocParagraphs):
457         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
458         add buffer as argument.
459
460 2004-10-24  José Matos  <jamatos@lyx.org>
461
462         * output_docbook.C (makeEnvironment, searchEnvironment): place
463         CDATA inside paragraphs and fix scope for listitems.
464
465 2004-10-24  José Matos  <jamatos@lyx.org>
466
467         * output_docbook.C: remove using statement for stack.
468
469 2004-10-23  José Matos  <jamatos@lyx.org>
470
471         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
472         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
473         docbook. The new scheme is recursive and makes use of iterators, the
474         same as latex export works.
475         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
476         directly with the paragraph contents. This code was moved up to
477         output_docbook.C (docbookParagraphs).
478         * sgml.C (openTag, closeTag): removed unneeded newlines.
479         (closeEnvTags) removed.
480
481 2004-10-23  André Pönitz  <poenitz@gmx.net>
482
483         * undo.C (textUndoOrRedo):
484         * dociterator.C (asDocIterator): work around crash
485
486         * cursor.C (getStatus): replace ASSERT by more verbose error message
487           and manual correction of the problem. Should increase stability
488           while providing more sensible information.
489
490 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
491
492         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
493
494         * bufferlist.C (previous, next): new methods
495
496         * lfuns.h:
497         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
498
499 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
500
501         * buffer.C (makeDocBookFile): add dsssl stylesheet control
502         entities to preamble.
503
504 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
505
506         * messages.C (Pimpl): strip off translation context information
507
508 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
509
510         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
511         the cursor is correct (bug 1694)
512
513 2004-10-13  José Matos  <jamatos@lyx.org>
514
515         * output_docbook.C (docbookParagraphs): fix closing tags in the
516         end of the document.
517
518 2004-10-09  José Matos  <jamatos@lyx.org>
519
520         * buffer.C: format up to 237.
521         * bufferparams.C (write): use tostr to convert booleans to strings.
522
523 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
524
525         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
526
527 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
528
529         * LaTeX.C: implement use of babel language in xindy.
530
531 2004-10-05  José Matos  <jamatos@lyx.org>
532
533         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
534         Add new translators to help reading and writing the lyx file.
535
536 2004-10-05  José Matos  <jamatos@lyx.org>
537
538         * ParagraphParameters.C (read):
539         * text.C (readParToken): replace nexToken by more appropriate lex
540         methods.
541
542 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
543
544         * LaTeX.C (runMakeIndex):
545         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
546         (usually 'makeindex') configurable.
547
548         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
549         with a variable rather than with a number.
550
551 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
552
553         * output_latex.C (TeXOnePar): make sure font setting is the first
554         thing that gets output (and the last at the end). Should fix bug
555         1404.
556
557 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
558
559         * pch.h: use proper signal include
560
561         * LaTeX.h: Use preferred calling of Boost.Signal
562         * buffer.h: ditto
563
564 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
565
566         * pch.h: dont include <boost/function/function0.hpp>
567
568         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
569
570         * paragraph_pimpl.h: remove usage of ShareContainer
571
572         * paragraph_pimpl.C: remove initialization of ShareContainer.
573
574 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
575
576         Fix bug #1666
577
578         * BufferView.C (putSelectionAt): change the semantics when
579         backwards == true: now, this just swaps cursor and anchor wrt the
580         forward case
581
582         * BufferView.h (putSelectionAt): add some documentation
583
584         * lyxfind.C (findBackwards): rewrite using while(). In particular,
585         make sure backwardChar is done at least once (to avoid getting
586         stuck)
587         (findNextChange): use putSelectionAt in the forward direction
588         (operator()): use Paragraph::isWord
589
590 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
591
592         * Spacing.C (set): c_str fix
593
594 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
595
596         * lyx_cb.C (Reconfigure): quote the name of configure script in
597         case it contains spaces
598
599 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
600
601         * client: new dir
602
603         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
604         (BOOST_LIBS): use top_buildir when looking for the file
605
606 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
607
608         * pch.h: do not use include boost/format.hpp, multiple symbols
609                 will result (gcc bug)
610
611
612 2004-08-23  José Matos  <jamatos@lyx.org>
613
614         * bufferparams.C (readToken): fix reading of the author field.
615
616 2004-08-20  José Matos  <jamatos@lyx.org>
617
618         * lyxrc.C: remove support/translator.h inclusion since it is not used.
619
620 2004-08-20  José Matos  <jamatos@lyx.org>
621
622         * lyxlex.[Ch] (findToken): remove function.
623
624         * ParagraphParameters.C (findToken):
625         * bufferparams.C (findToken): replace call for previous function
626         with local copy. This local function has one more argument, the
627         read string argument.
628
629 2004-08-16  José Matos  <jamatos@lyx.org>
630
631         * ParagraphParameters.C (write):
632         * Spacing.C (writeFile):
633         * bufferparams.C (writeLaTeX):
634         * lyx_cb.C (Reconfigure):
635         * paragraph.C (write):
636         * tabular.C (write): remove unnecessary space at end of line.
637
638
639 2004-08-16  José Matos  <jamatos@lyx.org>
640
641         * text.C (readParagraph): remove debug message.
642
643 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
644
645         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
646         crash
647
648         * output_plaintext.C (asciiParagraph): set depth correctly
649
650         * outputparams.h: add member depth
651
652         * paragraph_funcs.C (ownerPar): remove.
653
654         * text2.C (setCounter): remove first_pit; comment out some
655         non-working code that uses ownerPar
656
657         * BufferView.C (getParentLanguage): remove. Not used anymore, and
658         uses ownerPar
659
660 2004-08-16  José Matos  <jamatos@lyx.org>
661
662         * text.C (readParToken, readParagraph, read): report all unknown tokens.
663         For the same level of importance use the same chanel to report problems.
664         (read): add code to deal with \begin_body and \end_body.
665
666
667 2004-08-15  José Matos  <jamatos@lyx.org>
668
669         * lyxlex.C (getString): fix comment, buffer::readBody is now
670         buffer:readDocument.
671
672         * tex-strings.C (string_papersize): Default -> default,
673         Custom -> custom, for consistency with other options.
674
675 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
676
677         * pch.h: new file
678
679         * Makefile.am: support pch
680
681 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
682
683         * text.C (readParToken): remove the static LyXFont variable and
684         pass it as a parameter instead. This fixes a nasty bug where an
685         inset will be inserted with a bad font in some situations
686         (readParagraph): adapt
687
688         * text2.C (setCounter): reduce number of calls to pars_[pit]
689
690         * text.C (singleWidth): add an assert, fix a test
691
692         * rowpainter.C (paintText): reduce number of calls to singleWidth
693
694         * paragraph.C (isHfill):
695         (isNewline): ws only
696
697 2004-08-14  André Pönitz  <poenitz@gmx.net>
698
699         * text.C:
700         * text2.C:
701         * rowpainter.C:
702         * lyxtext.h (several functions): use a Paragraph & argument
703         instead of par_type
704
705 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
706
707         * metricsinfo.h: add a new field ltr_pos to PainterInfo
708
709         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
710
711         * text.C (singleWidth): remove useless test
712
713 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
714
715         * tabular.h: remove bogus comments
716
717         * tabular.C (getDescentOfRow):
718         (isPartOfMultiColumn): add assertions
719
720         * lyxlength.C (inPixels): remove #warning
721
722 2004-08-14  André Pönitz  <poenitz@gmx.net>
723
724         * paragraph.h: inline getChar()
725
726         * BufferView.h: remove unused declarations
727
728 2004-08-14  José Matos  <jamatos@lyx.org>
729
730         * Buffer.[Ch] (readDocument): new name for old readBody.
731         * Buffer.C: new file format, new keywords: \begin_document,
732         \begin_header, \begin_body, \end_body.
733
734         * bufferparams.C (readToken): replace all calls to lex.nextToken
735         by lex.next(). Do the same to eatLine except where really needed.
736
737         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
738         line when writing to the lyx file.
739
740         * output_plaintext.C (asciiParagraph): fix Bibliography style
741         handling.
742
743         * text.C (read): fix end of file handling.
744
745 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
746
747         * MenuBackend.C (Menu::operator[]): new method to access
748         individual menu items
749         (Menu::hasFunc): new method. search for an item that corresponds
750         to a given func
751         (MenuBackend::specialMenu): new method
752         (MenuBackend::expand): if a special menu has been set, skip
753         entries whose func() appears in this menu
754
755 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
756
757         * text3.C: use Debug::DEBUG a bit more
758
759         * text.C (leftMargin): try to simplify a tiny bit change var x to
760         l_margin. Dont output the wide margins always.
761         (rightMargin): no margin in inner texts
762
763         * rowpainter.h (nestMargin): new func
764         (changebarMargin): new func
765         (rightMargin): new func
766
767         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
768         now functions.
769         (paintLast): ditto
770
771         * factory.C (createInset): modify setDrawFrame
772
773         * cursor.C: use Debug::DEBUG a bit more
774
775 2004-08-14  André Pönitz  <poenitz@gmx.net>
776
777         * coordcache.[Ch]:
778         * Makefile.am: new files to accomodate an 'external' (x,y)-position
779         cache for all insets in (at least partially) visible (top-level)
780         paragraphs.
781
782         * BufferView_pimpl.C: reset external coord cache before every update.
783         This means the coord cache only contains valid entries.
784
785 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
786
787         bug 1096
788         * BufferView_pimpl.C (getInsetByCode): move function out of class
789         and change in to a template in anon namespace. Also fix to do what
790         suits us better.
791
792 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
793
794         bug 1305
795         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
796         of char
797         (breakParagraph): rename par to par_offset and use a local
798         reference. Add code to keep the language over a rebreak.
799         (breakParagraphConservative): rename par to par_offset, use a
800         local reference
801         (mergeParagraph): ditto
802         (outerHook): ditto
803         (isFirstInSequence): ditto
804         (outerFont): rename pit to par_offset
805
806         * paragraph.C: ws change
807         * paragraph.h: ditto
808         * text3.C: ditto
809         * text.C: ditto
810
811 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
812
813         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
814         treatment for ']'
815
816         * paragraph.C (simpleTeXOnePar): when we have a \item with
817         optional argument, enclose the argument with curly brackets (in
818         case it contains a closing square bracket)
819
820         * text2.C (editXY):
821         * text2.C (editXY):
822         * text3.C (checkInsetHit): constify
823
824 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
825
826         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
827         documents (bug 1629)
828
829 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
830
831         Fix toggling of collapsable insets with the mouse (bug 1558)
832
833         * lyxfunc.C (dispatch): adapt to LCursor changes
834
835         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
836         make sure that dispatch is not invoked twice
837
838         * cursor.C (needsUpdate): new method
839         (dispatch): return void
840         (result): new method, to access the DispatchResult of the cursor.
841
842 2004-08-13  José Matos  <jamatos@lyx.org>
843
844         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
845
846 2004-08-13  André Pönitz  <poenitz@gmx.net>
847
848         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
849
850         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
851           multiple cells
852
853 2004-08-12  André Pönitz  <poenitz@gmx.net>
854
855         * text3.C: take out the 'cursor right' form insertInset and only
856         do it in those places when it is really needed. Fixes crash on
857         C-m...
858
859 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
860
861         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
862
863         * BufferView_pimpl.C (setBuffer): initialize the current font of
864         the underlying LyXText
865
866 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
867
868         * kbsequence.C (print): use UI native formatting for menu
869         shortcuts
870
871         * text.C (insertChar): call Paragraph::insertChar with a font
872         argument (cosmetic)
873
874         * paragraph.C (insertInset, insertChar): the version that takes a
875         LyXFont argument is now a wrapper around the other one (the
876         opposite used to be true).
877
878         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
879         argument. Font setting is done in Paragraph now.
880
881 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
882
883         * outputparams.h: add new members intitle and lang.
884
885         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
886         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
887
888 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
889
890         * text3.C (dispatch): remove special handling of button 4 and 5,
891         it is now taken care of in the frontend code.
892
893 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
894
895         * Spacing.h: add <string> (STLPort compile fix)
896
897 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
898
899         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
900
901 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
902
903         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
904         to bool.
905
906         * converter.C (showMessage): inherit from unary_function, make
907         operator() const.
908
909         * buffer.C (writeFile): initialize retval
910
911         * InsetList.h: rename private variable list to list_
912         * InsetList.[Ch]: adjust accordingly.
913
914 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
915
916         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
917         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
918         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
919         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
920         * ParagraphParameters.C, LaTeXFeatures.C: replace
921         "support/std_sstream.h" with <sstream>
922
923 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
924
925         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
926         * lyxsocket.C (LyXServerSocket): ditto
927         (serverCallback): ditto
928
929 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
930
931         * LaTeXFeatures.C: check release date when loading jurabib.
932
933 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
934
935         * lyxserver.C (startPipe): call register_socket_callback
936         (endPipe): call unregister_socket_callback
937
938 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
939
940         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
941         (LyXServerSocket): register the callback
942         (LyXServerSocket): unregister the callback
943         (fd): delete function
944         (serverCallback): improve error checking and setup the callbacks.
945         (dataCallback): change arg to fd.
946         (writeln): new func (copied fro the client socket) used for server
947         write to client.
948         (LyXDataSocket): simplify
949         (~LyXDataSocket): close ann unregiser callback
950         (server): delete function
951         (fd): delete function
952         (readln): small changes, improve some std::string usage
953         (writeln): constify a bit
954
955 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
956
957         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
958         Qt frontend
959
960 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
961
962         * BufferView_pimpl.C (setBuffer): set the layout combox value only
963         after it has been populated
964
965 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
966
967         * text2.C (insertInset): move cursor when inserting inset.
968
969 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
970
971         * kbmap.C (findbindings): a couple of new methods. returns a
972         container of kb_sequence objects. The real work is done by the
973         private recursive version
974         (printbindings): uses findbindings to print out a bracketed list
975         of bindings (renamed from findbinding).
976
977         * MenuBackend.C (binding): use kb_keymap::findbindings
978
979         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
980
981 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
982
983         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
984
985 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
986
987         * paragraph.C (isWord): return true on insets that report
988         isLetter().
989
990         * text.C (getWord): use Paragraph::isWord to decide what is in a
991         word and what is not; fix bug 1609.
992
993 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
994
995         * tex-strings.C: add "none" to string_paperpackages[], fixes
996         off-by-one-error in the paperpackage selection.
997
998         * lyxlex.[Ch]:
999         * tex-strings.[Ch]: char const * string[n]
1000         -> char const * const string[]
1001
1002 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1003
1004         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1005         command, return early.
1006
1007 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
1008
1009         * debug.h: add DEBUG to enum and fix size of ANY.
1010
1011         * debug.C: add support for Debug::DEBUG
1012         (showTags): cast errorTags.level to unsigned int
1013
1014         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1015         (redoCurrentBuffer): ditto
1016         (updateScrollbar): ditto
1017         * cursor.C (dispatch): ditto
1018         * text2.C (setLayout): ditto
1019         (setFont): ditto
1020         (updateCounters): ditto
1021         (editXY): ditto
1022         (deleteEmptyParagraphMechanism): ditto
1023
1024 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
1025
1026         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1027         annotations to cleanup the Makefile slightly.
1028
1029 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1030
1031         * lyxrc.C: do not set user_email to a default value but use empty
1032         instead. The entry used to be translated, which does not work
1033         since at the point where lyxrc is constructed there is no
1034         translation service available
1035
1036         * messages.C (getLocaleDir): remove and use directly
1037         lyx_localedir() instead
1038
1039 2004-06-02  Angus Leeming  <leeming@lyx.org>
1040
1041         Fix crash caused by dereferencing null pointer 'exportdata' in
1042         OutputParams by creating a new ExportData variable on the heap,
1043         storing it in a boost::shared_ptr.
1044         The crash was triggered when generating an Instant Preview
1045         of an external inset.
1046
1047         * Makefile.am: add outputparams.C
1048
1049         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1050         (c-tor): allocate memory to it.
1051
1052         * exporter.C (c-tor): associated changes.
1053
1054 2004-06-01  Angus Leeming  <leeming@lyx.org>
1055
1056         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1057         contains data before calling isInset(0). (Bug 1513.)
1058
1059 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1060
1061         * exporter.C (checkOverwrite): new method
1062         * exporter.C (copyFile): new method
1063         * exporter.C (Export): copy referenced files to the document dir
1064         * exporter.[Ch]: new class ExportedFile
1065         * exporter.[Ch]: new class ExportData. Contains currently the
1066         names of referenced external files
1067         * outputparams.h: add exportdata member.
1068
1069 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1070
1071         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1072         version.C-tmp
1073
1074 2004-05-19  Angus Leeming  <leeming@lyx.org>
1075
1076         * LaTeXFeatures.C:
1077         * ToolbarBackend.C:
1078         * bufferparams.C:
1079         * lyxfunc.C: small changes due to the introduction of namespace
1080         lyx::frontend and the moving of namespace biblio to lyx::biblio.
1081
1082 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
1083
1084         * text3.C (dispatch): supress update when only moving the cursor
1085         * cursor.C (selHandle): remove commented code
1086
1087 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1088
1089         * paragraph.C (startTeXParParams): correct column count
1090         * CutAndPaste.C (pasteSelection): remove const_cast
1091         * output_docbook.C (docbookParagraphs): remove const_cast
1092         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1093         const_cast and return ParagraphList::const_iterator
1094         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1095         * output_plaintext.C (writeFileAscii): remove const_cast
1096         * paragraph.[Ch] (simpleTeXOnePar): make const
1097         * paragraph_funcs.C (outerPar): use const iterators
1098         * paragraph_pimpl.C (validate): use const iterators
1099         * text.C (setHeightOfRow): use const iterators
1100
1101 2004-05-17  Angus Leeming  <leeming@lyx.org>
1102
1103         * lfuns.h:
1104         * LyXAction.C (init): new LFUN_INSET_REFRESH.
1105
1106         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1107         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1108         if the citation engine has changed.
1109
1110 2004-05-14  José Matos  <jamatos@lyx.org>
1111
1112         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1113         if the textclass does not provide it. Have it different for sgml and
1114         xml.
1115         support the language of document.
1116         * output_docbook.C (docbookParagraphs):
1117         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1118         first anchor as the id of the paragraph, remove special case code.
1119         * sgml.C (escapeChar): escape only < & >.
1120
1121 2004-05-14  Angus Leeming  <leeming@lyx.org>
1122
1123         * bufferparams.h: move biblio::CiteEngine enum here to minimize
1124         dependencies on src/frontends/controllers/biblio.h. Define a
1125         CiteEngine_enum wrapper class to enable the enum to be forward
1126         declared.
1127
1128 2004-05-12  Angus Leeming  <leeming@lyx.org>
1129
1130         * buffer.C: up LYX_FORMAT to 234.
1131         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1132         use_numerical_citations with a single biblio::CiteEngine cite_engine
1133         variable.
1134         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1135
1136 2004-05-13  José Matos  <jamatos@lyx.org>
1137
1138         * converter.h:
1139         * converter.C (Converter, readFlags): add xml member.
1140         * outputparams.h: add XML flavor.
1141         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1142
1143 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1144
1145         * lyxfunc.C (dispatch):
1146         (getStatus): fix handling of LFUN_SEQUENCE
1147
1148 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1149
1150         * debug.C (showLevel): do not forget the end-of-line marker
1151
1152 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1153
1154         * kbmap.C (read): do not stop parsing a bind file when an error
1155         occurs (bug 1575)
1156
1157 2004-04-29  Angus Leeming  <leeming@lyx.org>
1158
1159         * cursor.C:
1160         * factory.C:
1161         * pariterator.C:
1162         * text2.C: wrap a bunch of #warning statements
1163         inside #ifdef WITH_WARNINGS blocks.
1164
1165 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1166
1167         * buffer.C: increment format to 233.
1168
1169 2004-04-28  Angus Leeming  <leeming@lyx.org>
1170
1171         * BufferView_pimpl.C:
1172         * lyxfunc.C:
1173         * text3.C:
1174         s/updateToolbar()/updateToolbars()/
1175         s/Toolbar.h/Toolbars.h/
1176
1177 2004-04-28  Angus Leeming  <leeming@lyx.org>
1178
1179         * BufferView.[Ch] (c-tor):
1180         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1181         No longer passes these data to the WorkArea generator.
1182
1183 2004-04-28  Angus Leeming  <leeming@lyx.org>
1184
1185         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1186
1187 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1188
1189         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1190
1191 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1192
1193         * output_latex.C (TeXEnvironment): make sure that there is a line
1194         break before \end{foo} for the last paragraph of a document
1195         (TeXOnePar): if the paragraph is at the end of the document (or
1196         inset) and the language has to be reset, then make sure that the
1197         line break is _before_ the language command, not after (fixes bug
1198         1225); also make sure that the language reset command is the first
1199         thing after the paragraph (to ensure proper nesting of
1200         environments and thus fix bug 1404)
1201
1202 2004-04-21  John Levon  <levon@movementarian.org>
1203
1204         * ToolbarBackend.h:
1205         * ToolbarBackend.C: make "name" be a programmatic name
1206         and a gui_name field.
1207
1208         * lyxfunc.C: display the minibuffer on M-x
1209
1210 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1211
1212         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1213         (bug 1526)
1214
1215 2004-04-19  Angus Leeming  <leeming@lyx.org>
1216
1217         * BufferView_pimpl.C (setBuffer): changed preview interface.
1218
1219         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1220         possible values.
1221
1222 2004-04-19  John Levon  <levon@movementarian.org>
1223
1224         * BufferView_pimpl.C:
1225         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1226
1227 2004-04-05  Angus Leeming  <leeming@lyx.org>
1228
1229         * text.C (redoParagraphs): add call to updateCounters(), thereby
1230         fixing the missing "Figure #:" label from the caption of a
1231         figure float.
1232
1233 2004-04-13  Angus Leeming  <leeming@lyx.org>
1234
1235         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1236         cursor is clicked out of an inset.
1237
1238 2004-04-13  Angus Leeming  <leeming@lyx.org>
1239
1240         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1241         than an InsetOld one.
1242
1243 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1244
1245         * format.[Ch]: add editor to Format
1246         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1247         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1248
1249 2004-04-08  André Pönitz  <poenitz@gmx.net>
1250
1251         * metricsinfo.h: remove PainterInfo::width member
1252
1253 2004-04-08  Angus Leeming  <leeming@lyx.org>
1254
1255         * lyx_sty.C (boldsymbol_def): modify so that it outputs
1256         "\providecommand" rather than "\newcommand", thereby preventing
1257         clashes with packages that define "\boldsymbol" themselves.
1258         Eg, beamer.
1259
1260 2004-04-08  Angus Leeming  <leeming@lyx.org>
1261
1262         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1263         thereby squashing an unnecessary warning.
1264
1265 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1266
1267         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1268         setBuffer()
1269
1270 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
1271
1272         * BufferView.C (setCursor): call redoParagraph (some insets could
1273         have been opened)
1274         (putSelectionAt): remove the 'double update' trick
1275
1276         * BufferView_pimpl.C (fitCursor): call refreshPar
1277         (workAreaDispatch): remove an uneeded update call
1278         (dispatch): remove some manual update calls
1279
1280         * cursor.[Ch]: remove cached_y_, updatePos
1281         (selHandle): set noUpdate when appropriate
1282
1283         * lyxfunc.C (dispatch): track if we need an update
1284
1285         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1286
1287         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1288         (paintSelection): cheap optimization, do not call cursorX when not
1289         needed
1290         (paintPars): change signature
1291         (refreshPar): add
1292         (paintText): adjust
1293         (paintTextInset): adjust
1294
1295         * text.C: adjust
1296
1297 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1298
1299         * lengthcommon.C: compilation fix: remove explicit array size from
1300         unit_name[] and friends
1301
1302 2004-04-05  Angus Leeming  <leeming@lyx.org>
1303
1304         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1305
1306         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1307         present only for the preferences dialog.
1308         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1309
1310 2004-04-05  Angus Leeming  <leeming@lyx.org>
1311
1312         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1313         to enable the frontends to export changes to lyxrc correctly.
1314
1315         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1316
1317 2004-04-07  André Pönitz  <poenitz@gmx.net>
1318
1319         * cursor.[Ch] (selClear, adjust): remove math
1320
1321         * cursor_slice.C: more agressive assert
1322
1323         * lyxfunc.C:
1324         * BufferView_pimpl.C: rework mouse event dispatch
1325
1326         * dociterator.C:
1327         * paragraph.C:
1328         * text2.C:
1329         * text3.C: adjust
1330
1331 2004-04-05  André Pönitz  <poenitz@gmx.net>
1332
1333         * cursor.[Ch] (valign, halign...): remove unneeded functions
1334
1335 2004-04-05  Angus Leeming  <leeming@lyx.org>
1336
1337         * lyxlength.[Ch] (unit_name et al.): const-correct.
1338
1339 2004-04-05  Angus Leeming  <leeming@lyx.org>
1340
1341         * BufferView_pimpl.C:
1342         * buffer.C:
1343         * counters.C:
1344         * cursor.C:
1345         * lyxfunc.C
1346         * paragraph.C:
1347         * pariterator.C:
1348         * text.C:
1349         * text2.C:
1350         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1351
1352 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1353
1354         * text3.C (getStatus): add LFUN_BEGINNINGBUF
1355
1356 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1357
1358         * lyxfind.C: add a couple of inTexted() tests + other small fixes
1359         * BufferView_pimpl.[Ch] (getStatus)
1360         * BufferView.[Ch] (getStatus): add
1361         * lyxfunc.C (getStatus): move lfuns handled in
1362         BufferView::dispatch to te function above
1363         * Cursor.C (setSelection): set selection() = true
1364
1365 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1366
1367         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1368
1369 2004-03-31  Angus Leeming  <leeming@lyx.org>
1370
1371         * lyxfunc.C (dispatch): Fall through to the generic
1372         Dialogs::show("preamble").
1373
1374 2004-03-31  Angus Leeming  <leeming@lyx.org>
1375
1376         * lyxfunc.C (dispatch): Fall through to the generic
1377         Dialogs::show("spellchecker").
1378
1379 2004-03-31  Angus Leeming  <leeming@lyx.org>
1380
1381         * lyxfunc.C (getStatus, dispatch): changed invocation of the
1382         preferences dialog.
1383
1384 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1385
1386         * BufferView.C
1387         * cursor.[Ch]
1388         * dociterator.[Ch]:
1389         * insetiterator.[Ch]:
1390         * lyxfind.C:
1391         * lyxfunc.C:
1392         * pariterator.[Ch]:
1393         * text2.C:
1394         * undo.[Ch]: s/DocumentIterator/DocIterator/g
1395
1396 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1397
1398         * BufferView.C (setCursor, putSelectionAt): call edit to open the
1399         insets where we are putting the cursor.
1400
1401 2004-03-31  Angus Leeming  <leeming@lyx.org>
1402
1403         * lfuns.h:
1404         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1405
1406         * lyxrc.[Ch] (read, write): overloaded member functions taking
1407         a std::[io]stream arguments.
1408
1409         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1410
1411 2004-03-31  Angus Leeming  <leeming@lyx.org>
1412
1413         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1414         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1415
1416         * lyxtextclass.C (load): if the text class couldn't be loaded, then
1417         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1418
1419 2004-03-31  Angus Leeming  <leeming@lyx.org>
1420
1421         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1422         the LFUN_ALL_INSETS_TOGGLE code.
1423
1424 2004-03-30  Angus Leeming  <leeming@lyx.org>
1425
1426         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1427         has died. Fall through to the generic Dialogs::show("document").
1428
1429 2004-03-30  Angus Leeming  <leeming@lyx.org>
1430
1431         * lfuns.h:
1432         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1433         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1434
1435         * lyxfunc.C (getStatus, dispatch): define the actions for these
1436         lfuns. Little more than a cut and pste job from ControlDocument.C
1437
1438         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1439
1440 2004-03-30  Angus Leeming  <leeming@lyx.org>
1441
1442         * lfuns.h:
1443         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1444         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1445
1446         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1447         open/closed state of ollapsable insets. Usage:
1448
1449         all-inset-toggle <state> <name>, where
1450         <state> == "open" || "closed" || "toggle" and
1451         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1452
1453         * lyxtext.h, text2.C (toggleInset): removed.
1454
1455         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1456         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1457         now passes LFUN_INSET_TOGGLE to the found inset.
1458
1459         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1460         is now invoked as "all-insets-toggle toggle branch".
1461
1462 2004-03-30  Angus Leeming  <leeming@lyx.org>
1463
1464         * dociterator.C:
1465         * insetiterator.C:
1466         * pariterator.[Ch]: added/corrected header blurb.
1467
1468 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
1469
1470         * dociterator.[Ch]: add an inset_ member
1471         (backwardPos): implemented
1472         (backwardPos, forwardPos): use inset_ when the stack is empty.
1473         (doc_iterator_begin, doc_iterator_end): implemented
1474         * pariterator.[Ch]: adjust, add begin, end
1475         * insetiterator.[Ch]: adjust, add begin, end
1476         * cursor.C:
1477         * document.C:
1478         * BufferView.C:
1479         * BufferView_pimpl.C:
1480         * CutAndPaste.C: adjust
1481
1482 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1483
1484         * buffer.C: increment file format to 232.
1485         * LaTeXFeatures.C: add bibtopic package.
1486         * bufferparams.[Ch]: param \use_bibtopic.
1487
1488         * lyxrc.[Ch]: add lyxrc bibtex_command
1489         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1490
1491         * buffer.C: increment file format to 231.
1492
1493 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1494
1495         * dociterator.C: implement forwardPar
1496         * iterators.[Ch]: remove, replaced by
1497         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1498         * BufferView.C:
1499         * BufferView_pimpl.C:
1500         * CutAndPaste.C:
1501         * buffer.C:
1502         * bufferview_funcs.C:
1503         * cursor.C:
1504         * lyxfind.C
1505         * lyxfunc.C
1506         * paragraph_funcs.C
1507         * toc.C:
1508         * Makefile.am: adjust
1509
1510 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1511
1512         * CutAndPaste.C (pasteSelection): fix 2 crashes
1513         (eraseSelection): fix a crash
1514         * paragraph_funcs.C: remove a warning
1515
1516 2004-03-28  Angus Leeming  <leeming@lyx.org>
1517
1518         * lfuns.h:
1519         * LyXAction.C (init): new LFUN_PRINT.
1520
1521         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1522
1523 2004-03-27  Angus Leeming  <leeming@lyx.org>
1524
1525         * lfuns.h:
1526         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1527
1528         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1529
1530 2004-03-27  Angus Leeming  <leeming@lyx.org>
1531
1532         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1533         insetlist always contains non-null pointers to insets.
1534
1535 2004-03-26  Angus Leeming  <leeming@lyx.org>
1536
1537         * src/BufferView_pimpl.C:
1538         * src/CutAndPaste.C:
1539         * src/buffer.C:
1540         * src/iterators.C:
1541         * src/output_plaintext.C:
1542         * src/outputparams.h:
1543         * src/paragraph_funcs.C:
1544         * src/rowpainter.C:
1545         * src/text.C:
1546         * src/text2.C:
1547         * src/frontends/controllers/ControlErrorList.C:
1548         * src/frontends/gtk/FileDialogPrivate.C:
1549         * src/frontends/gtk/GPainter.C:
1550         * src/frontends/gtk/GToolbar.C:
1551         * src/frontends/qt2/QRef.C:
1552         * src/mathed/math_scriptinset.C: squash compiler warnings.
1553
1554 2004-03-26  Angus Leeming  <leeming@lyx.org>
1555
1556         * ispell.C (LaunchIspell::start):
1557         * lyx_cb.C (AutoSaveBuffer::start):
1558         invoke run(DontWait) rather than runNonBlocking().
1559
1560 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
1561
1562         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1563
1564 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1565
1566         * kbsequence.C (print): adjust
1567
1568         * kbmap.C (printKeySym): rename and change signature
1569         (printKey): use LyXKeySym::print()
1570
1571 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
1572
1573         * undo.C: add using std::advance to compile for stlport
1574
1575 2004-03-24  Angus Leeming  <leeming@lyx.org>
1576
1577         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1578         it leads to a crash when no buffer is present.
1579
1580 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1581             Martin Vermeer  <martin.vermeer@hut.fi>
1582
1583         * lyxfunc.C (dispatch):
1584         * bufferparams.C (readToken): use the new LColor::setColor
1585
1586         * LColor.[Ch] (setColor): new version that takes two strings as
1587         argument and creates a new color entry if necessary
1588
1589 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1590
1591         * buffer.C (makeLaTeXFile): if the main latex file that is
1592         processed is usually a subdocument of some master, then pretend
1593         for a while that it is actually the master
1594
1595 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1596
1597         * buffer.C (getLabelList):
1598         (getBibkeyList): use getMasterBuffer()
1599         (getMasterBuffer): new method. Returns the main document in the
1600         case where one is using included documents.
1601
1602 2004-03-25  André Pönitz  <poenitz@gmx.net>
1603
1604         * Makefile.am:
1605         * iterators.[Ch]:
1606         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1607
1608         * ParagraphList_fwd.h: change ParagraphList to a std::vector
1609
1610         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1611         text*.C over here. Rename namespace CutAndPaste to lyx::cap
1612
1613         * ParameterStruct.h: merge with ParagraphParameters
1614
1615         * lyxtext.h: remove LyXText::parOffset() and getPar()
1616
1617         * text3.C: Remove all 'manual' update calls. We do now one per user
1618         interaction which is completely sufficient.
1619
1620         * Bidi.C:
1621         * BufferView.[Ch]:
1622         * BufferView_pimpl.C:
1623         * FontIterator.[Ch]:
1624         * MenuBackend.C:
1625         * ParagraphParameters.[Ch]:
1626         * buffer.C:
1627         * buffer.h:
1628         * bufferlist.C:
1629         * cursor.[Ch]:
1630         * cursor_slice.[Ch]:
1631         * dociterator.[Ch]:
1632         * errorlist.[Ch]:
1633         * factory.C:
1634         * lfuns.h:
1635         * lyxfind.C:
1636         * lyxfunc.C:
1637         * output_docbook.[Ch]:
1638         * output_latex.[Ch]:
1639         * output_linuxdoc.[Ch]:
1640         * output_plaintext.[Ch]:
1641         * paragraph.[Ch]:
1642         * paragraph_funcs.[Ch]:
1643         * paragraph_pimpl.[Ch]:
1644         * rowpainter.C:
1645         * tabular.[Ch]:
1646         * text.C:
1647         * text2.C:
1648         * toc.C:
1649         * undo.[Ch]: adjust
1650
1651         * frontends/controllers/ControlDocument.C:
1652         * frontends/controllers/ControlErrorList.C:
1653         * frontends/controllers/ControlSpellchecker.C:
1654         * insets/inset.C:
1655         * insets/inset.h:
1656         * insets/insetbase.h:
1657         * insets/insetbibitem.C:
1658         * insets/insetbox.C:
1659         * insets/insetbranch.C:
1660         * insets/insetcaption.C:
1661         * insets/insetcharstyle.C:
1662         * insets/insetcharstyle.h:
1663         * insets/insetcollapsable.C:
1664         * insets/insetcollapsable.h:
1665         * insets/insetert.C:
1666         * insets/insetfloat.C:
1667         * insets/insetfoot.C:
1668         * insets/insetmarginal.C:
1669         * insets/insetnote.C:
1670         * insets/insetoptarg.C:
1671         * insets/insettabular.C:
1672         * insets/insettext.C:
1673         * insets/insettext.h:
1674         * insets/insetwrap.C:
1675         * mathed/math_mboxinset.C:
1676         * mathed/math_nestinset.C:
1677         * mathed/math_scriptinset.C:
1678         * mathed/math_scriptinset.h:
1679         * support/types.h:
1680
1681 2004-03-24  Angus Leeming  <leeming@lyx.org>
1682
1683         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1684         deal with any child processes that have finished but are waiting to
1685         communicate this fact to the rest of LyX.
1686
1687 2004-03-24  Angus Leeming  <leeming@lyx.org>
1688
1689         64-bit compile fixes.
1690
1691         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1692         (c-tor): pass lyx::pos_types rather than ints.
1693
1694         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1695         lyx::pos_type.
1696
1697         * text.C (Delete): compile fix.
1698         (getPar): ensure that function declaration is the same as that in
1699         the header file.
1700
1701 2004-03-23  Angus Leeming  <leeming@lyx.org>
1702
1703         * ispell.C (LaunchIspell):
1704         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1705         a boost::shred_ptr rather than a std::auto_ptr.
1706
1707 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1708
1709         * lyxfunc.C (getStatus): handle read-only buffers correctly;
1710         handle LFUN_FILE_INSERT_*
1711
1712         * lyxrc.C (setDefaults, getDescription, output, read):
1713         * lyxrc.h: remove ps_command
1714
1715 2004-03-22  Angus Leeming  <leeming@lyx.org>
1716
1717         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1718         Ensure that error_handler is processed once only and that all data
1719         is saved before attempting to output any warning messages.
1720
1721         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1722
1723 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
1724
1725         * tabular.C (TeXRow): crash fix (from Kayvan and André)
1726
1727 2004-03-19  André Pönitz  <poenitz@gmx.net>
1728
1729         * cursor.[Ch] (reset): take main text inset as argument
1730
1731         * BufferView: adjust
1732         * BufferView_pimpl.C: adjust
1733
1734         * paragraph.[Ch]: fix completely broken operator=()
1735
1736 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1737
1738         * LColor.C (getFromLyXName): make sure that the color name is used
1739         as lowercase.
1740
1741 2004-03-17  Angus Leeming  <leeming@lyx.org>
1742
1743         * lfuns.h:
1744         * LyXAction.C (init): remove LFUN_FORKS_KILL.
1745
1746         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1747         dialog and to kill a forked process.
1748
1749 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1750
1751         * text2.C (setCursorFromCoordinates): fix font problem
1752
1753 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1754
1755         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1756         bogus "rebuild cursor" code
1757
1758 2004-03-11  André Pönitz  <poenitz@gmx.net>
1759
1760         * buffer.[Ch]: use InsetText instead of LyXText as container for
1761         the main lyx text.
1762
1763         * dociterator.[Ch]: drop the BufferView * member which is not needed
1764         anymore after the change to buffer.C
1765
1766         * paragraph_funcs.C:
1767         * text.C:
1768         * text2.C:
1769         * BufferView.[Ch]:
1770         * BufferView_pimpl.[Ch]:
1771         * cursor.[Ch]:
1772         * cursor_slice.[Ch]: adjust
1773
1774         * text3.C: fix bug in mathDispatch
1775
1776 2004-03-08  André Pönitz  <poenitz@gmx.net>
1777
1778         * undo.[Ch]: use 'StableDocumentIterator' as base for
1779         the Undo struct.
1780
1781 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1782
1783         * LaTeXFeatures.C:
1784         * bufferparams.[Ch]: add jurabib support and param.
1785
1786         * LaTeX.C: add FIXME/comment.
1787
1788 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1789
1790         * buffer.C: increment file format to 230.
1791
1792 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
1793
1794         * cursor.C (dispatch): avoid infinite loops
1795
1796 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1797
1798         * rowpainter.C (paintSelection): fix x coordinates
1799
1800 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1801
1802         * text.C (rowBreakPoint): fix breaking before displayed insets
1803
1804 2004-03-01  André Pönitz  <poenitz@gmx.net>
1805
1806         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1807
1808         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1809
1810         * Makefile.am:
1811         * BufferView.C:
1812         * BufferView_pimpl.C:
1813         * buffer.C:
1814         * lyxfind.C:
1815         * lyxfunc.C:
1816         * text.C:
1817         * text2.C:
1818         * text3.C: adjust
1819
1820 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1821
1822         * lyxtext.h:
1823         * text.C:
1824         * text2.C:
1825         * rowpainter.C:
1826         * BufferView_pimpl.C: rename textwidth -> maxwidth,
1827         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1828
1829 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1830
1831         * Bidi.[Ch] (computeTables): const correctness
1832         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1833         fill_hfill, fill_label_hfill and x from Row
1834         * lyxtext.h: prepareToPrint returns a RowMetrics
1835         * rowPainter.C: adjust
1836         * text.C (prepareToPrint): use width, not textWidth. adjust
1837         (redoParagraphInternal, cursorX): adjust
1838         * text2.C (getColumnNearX): adjust
1839         (init): put a default value to the top LyXText::width
1840
1841 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1842
1843         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1844
1845 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1846
1847         * lyxtext.h: add FontIterator class
1848
1849         * text.C (FontIterator, operator*, operator->, operator++): add
1850         (rowBreakPoint, setRowWidth): adjust (fixing a
1851         rebreaking bug)
1852
1853 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1854
1855         * BufferView_pimpl.C (workAreaDispatch): allow also
1856         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1857
1858 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
1859
1860         * text.C (rowBreakPoint): fix a bug showing with very large insets
1861
1862 2004-02-25  André Pönitz  <poenitz@gmx.net>
1863
1864         * text3.C:
1865         * cursor.[Ch]: move some mathed specific code to mathed
1866
1867 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1868
1869         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1870         use_tempdir in preferences
1871         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1872         tempfile creation
1873         * lyx_main.C: ensure that tempdir is valid
1874         * lyxlex.h: correct typo
1875         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1876         * paragraph.[Ch] (isMultiLingual): make const
1877         * cursor.[Ch] (openable): make const
1878
1879 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1880
1881         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1882
1883 2004-02-20  André Pönitz  <poenitz@gmx.net>
1884
1885         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1886
1887         * cursor.[Ch]: prepare for localized getStatus()
1888
1889         * lyxtext.h:
1890         * tabular.C:
1891         * text.C:
1892         * text2.C:
1893         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
1894
1895 2004-02-20  André Pönitz  <poenitz@gmx.net>
1896
1897         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1898
1899 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1900
1901         * text2.C (setCursorFromCoordinates): switch to absolute coords
1902         (cursorUp): adjust
1903         (cursorDown): adjust
1904         * text3.C (dispatch): adjust
1905
1906 2004-02-16  André Pönitz  <poenitz@gmx.net>
1907
1908         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1909           insets/ChangeLog)
1910
1911         * cursor_slice.[Ch]: remove unneeded acessor function
1912
1913         * lyxtext.h: rename rtl() to isRTL()
1914
1915         * rowpainter.C:
1916         * tabular.C:
1917         * text.C:
1918         * text2.C:
1919         * text3.C: adjust
1920
1921 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1922
1923         * rowpainter.C (paintSelection): coord fix
1924
1925 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
1926
1927         * Spacing.C: compile fix
1928
1929 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1930
1931         * cursor.C (dispatch): restore current_ before returning
1932
1933 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1934
1935         * text2.C (cursorUp, cursorDown): fix coords
1936         (moveUp): fix crash
1937
1938 2004-02-12  André Pönitz  <poenitz@gmx.net>
1939
1940         * lyxtext.h:
1941         * text.C:
1942         * text2.C:
1943         * text3.C: add LCursor & parameter to most cursor movement functions
1944           remove usage of LyXText::cursorRow() and cursorPar()
1945
1946         * cursor.[Ch]: add textRow() needed members
1947
1948         * BufferView.C:
1949         * BufferView_pimpl.C:
1950         * paragraph.[Ch]:
1951         * BufferView.C:
1952         * BufferView_pimpl.C: adjust
1953
1954 2004-02-11  André Pönitz  <poenitz@gmx.net>
1955
1956         * lyxfunc.C:
1957         * BufferView.[Ch]:
1958         * BufferView_pimpl.C: shift undo/redo handling
1959
1960         * cursor.[Ch]: fix mathed crash
1961
1962         * lyxfind.C:
1963         * lyxtext.h: move selectionAsText to LCursor
1964
1965         * output_latex.C:
1966         * paragraph.C:
1967         * text.C:
1968         * text2.C:
1969         * text3.C: adjust
1970
1971         * rowpainter.C: fix excessive drawing
1972
1973 2004-02-06  André Pönitz  <poenitz@gmx.net>
1974
1975         * BufferView.[Ch]:
1976         * BufferView_pimpl.[Ch]:
1977         * text3.C: move some text specific LFUN handling
1978
1979 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
1980
1981         * text3.C (checkInsetHit): adjust coords
1982         * text2.C (getColumnNearX): adjust coords
1983         (edit): adjust coords
1984         * text.C (getRowNearY): add two asserts
1985
1986 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
1987
1988         * converter.C:
1989         * format.C: add using std::distance to compile on gcc 2.95/stlport
1990
1991 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
1992
1993         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1994
1995 2004-02-04  André Pönitz  <poenitz@gmx.net>
1996
1997         * BufferView.[Ch] (insertInset):
1998         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1999
2000         * text2.C:
2001         * text3.C: adjust
2002
2003 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2004
2005         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2006         on the default clause of the switch
2007         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2008         wasn't catched by LCursor::dispatch
2009
2010 2004-02-03  André Pönitz  <poenitz@gmx.net>
2011
2012         * BufferView.C:
2013         * cursor.[Ch]: some additional asserts
2014
2015         * undo.[Ch]: remove LyXText dependency in interface
2016
2017         * lyxfunc.C: adjust
2018
2019         * lyxtext.h (firstPar, lastPar): remove dead functions
2020
2021         * text.C:
2022         * text2.C:
2023         * text3.C:
2024         * paragraph.[Ch]: adjust
2025
2026 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2027
2028         * lyxfind.C (find): fix argument order in call to ::find
2029
2030 2004-02-02  André Pönitz  <poenitz@gmx.net>
2031
2032         * cursor.[Ch]: remove direct access to anchor
2033
2034         * text.C: remove findText() hack
2035
2036 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2037
2038         * iterators.[Ch] (lockPath): remove in favour of...
2039         * BufferView.[Ch] (setCursor): this addition
2040         * BufferView.C (putSelectionAt): adjust
2041         * undo.C (performUndoOrRedo): adjust
2042         * lyxfunc.C (dispatch): adjust
2043
2044 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2045
2046         * iterators.C (lockPath): add a missing slice
2047         * undo.C (performUndoOrRedo): remove redundant positioning code
2048
2049 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
2050
2051         * vc-backend.C (scanMaster): ";" -> ';'
2052
2053 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
2054
2055         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2056         std::binary_function
2057
2058         * lyxtextclass.C (compare_name): rename to...
2059         (LayoutNamesEqual): ...this
2060
2061         * lyxlex_pimpl.C (compare_tags): inherit from
2062         std::binary_function, put back into anon namespace
2063
2064         * lyxfind.C (MatchString): inherig from std::binary_function
2065         (findChange): use empty() istead of !size()
2066
2067         * format.C (FormatNamesEqual): new functor
2068         (getFormat): use it
2069         (getNumber): use it
2070         (add): use it
2071         (erase): use it
2072         (setViewer): use it
2073
2074         * converter.C (compare_Converter): rename to...
2075         (ConverterEqual): ...this, and fixup a bit.
2076         (getConverter): use it, and make function const
2077         (getNumber): use it, and make function const
2078         (add): use it
2079         (erase): use it:
2080
2081         * bufferlist.C: add using boost::bind
2082
2083         * MenuBackend.C (MenuNamesEqual): new functor
2084         (hasMenu): use it, and make function const
2085         (hasSubmenu): use nested bind to get rid of compare_memfun.
2086
2087 2004-01-30  André Pönitz  <poenitz@gmx.net>
2088
2089         * BufferView_pimpl.C:
2090         * cursor.C:
2091         * cursor.h:
2092         * cursor_slice.[Ch]:
2093         * lyxfunc.C:
2094         * lyxtext.h:
2095         * paragraph_funcs.C:
2096         * paragraph_funcs.h:
2097         * rowpainter.C:
2098         * text.C:
2099         * text2.C:
2100         * text3.C: move some of the edit(x,y) handling to the insets
2101         some coordinate changes.
2102
2103 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
2104
2105         * text.C: add using statements for std::advance and std::distance
2106
2107         * paragraph.C: add using statement for std::distance
2108
2109         * lyxfind.C: add using statement for std::advance
2110
2111         * cursor.C (region): remove std:: from swap
2112         (openable): use nucleus in stead of operator->
2113
2114         * BufferView.C: add using statements for std::distance and std::swap
2115
2116 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
2117
2118         * iterators.C: Remove the pimple, move the needed structures to
2119         the header file. Create accessor for the positions stack.
2120         (asPosIterator): remove function
2121
2122         * PosIterator.C (PosIterator): move constructors to top of file
2123         (PosIterator): reimplement the constructor taking a ParIterator in
2124         terms of setFrom.
2125         (setFrom): new function
2126         (operator!=): inline it
2127
2128 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
2129
2130         * lyxfind.C (replaceAll): use std::advance
2131
2132         * iterators.h: inherit from std::iterator.
2133
2134         * PosIterator.C (advance, distance): remove
2135         * PosIterator.h: interit from std::iterator.
2136
2137 2004-01-26  André Pönitz  <poenitz@gmx.net>
2138
2139         * BufferView.[Ch]:
2140         * BufferView_pimpl.[Ch]:
2141         * InsetList.[Ch]:
2142         * PosIterator.[Ch]:
2143         * buffer.h:
2144         * bufferview_funcs.C:
2145         * cursor.[Ch]:
2146         * cursor_slice.h:
2147         * factory.[Ch]:
2148         * iterators.[Ch]:
2149         * lyxfind.C:
2150         * lyxfunc.C:
2151         * lyxtext.h:
2152         * output_docbook.C:
2153         * output_latex.C:
2154         * output_linuxdoc.C:
2155         * output_plaintext.C:
2156         * paragraph.[Ch]:
2157         * paragraph_funcs.[Ch]:
2158         * paragraph_pimpl.[Ch]:
2159         * rowpainter.C:
2160         * tabular.C:
2161         * tabular.h:
2162         * text.C:
2163         * text2.C:
2164         * text3.C: more IU:  dumps most of the rest of the mathcursor
2165     implementation into cursor.[Ch]; "globalize" a bit of it.
2166
2167 2004-01-25  Angus Leeming  <leeming@lyx.org>
2168
2169         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2170
2171 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2172
2173         * LaTeXFeatures.h: add nice_ and nice() const
2174         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2175
2176 2004-01-20  André Pönitz  <poenitz@gmx.net>
2177
2178         * BufferView.[Ch]:
2179         * BufferView_pimpl.C:
2180         * PosIterator.C:
2181         * bufferview_funcs.C:
2182         * cursor.[Ch]:
2183         * cursor_slice.[Ch]:
2184         * factory.C:
2185         * iterators.C:
2186         * lyx_cb.C:
2187         * lyxfind.C:
2188         * lyxfunc.C:
2189         * lyxtext.h:
2190         * rowpainter.C:
2191         * text.C:
2192         * text2.C:
2193         * text3.C:
2194         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2195           LCursor and mathcursor parts to LCursor and InsetBase.
2196
2197 2004-01-15  André Pönitz  <poenitz@gmx.net>
2198
2199         * cursor_slice.[Ch]: add a few covienience functions
2200
2201         * funcrequest.[Ch]: remove BufferView * member
2202
2203         * BufferView_pimpl.C:
2204         * cursor.C:
2205         * factory.[Ch]:
2206         * lyxfind.[Ch]:
2207         * lyxfunc.C:
2208         * lyxtext.h:
2209         * text3.C:
2210         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2211
2212 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
2213
2214         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2215         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2216
2217 2004-01-13  André Pönitz  <poenitz@gmx.net>
2218
2219         * textcursor.[Ch]:
2220         * lyxtext.h: hide cursor and selection anchor behind accessor function
2221
2222         * BufferView.C:
2223         * BufferView_pimpl.[Ch]:
2224         * PosIterator.C:
2225         * bufferview_funcs.C:
2226         * cursor.h:
2227         * lyxfind.C:
2228         * lyxfunc.C:
2229         * text.C:
2230         * text2.C:
2231         * text3.C:
2232         * undo.C: adjust
2233
2234         * cursor.h:
2235         * cursor_slice.[Ch]: some integer type changes for inset unification
2236
2237         * lyxcursor.[hC]: remove, it's CursorSlice now.
2238
2239         * Makefile.am:
2240         * BufferView_pimpl.[Ch]:
2241         * bufferview_funcs.C:
2242         * cursor_slice.C:
2243         * lyxtext.h:
2244         * text.C:
2245         * text2.C:
2246         * text3.C:
2247         * textcursor.[Ch]: adjust
2248
2249 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
2250
2251         * text2.C (undoSpan): add and use
2252         * text.C (breakParagraph): use undoSpan (fix bug 578)
2253         * lyxtext.h: adjust
2254
2255 2004-01-08  Angus Leeming  <leeming@lyx.org>
2256
2257         * BufferView_pimpl.C (MenuInsertLyXFile):
2258         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2259         * lyxfunc.C (menuNew, open, doImport):
2260         FileFilterList change to the FileDialog open and save functions.
2261
2262 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
2263
2264         * ShareContainer.h: make isEqual and isUnique adaptable
2265
2266         * CutAndPaste.C: make resetOwnerAndChanges adaptable
2267
2268 2004-01-07  Angus Leeming  <leeming@lyx.org>
2269
2270         * LyXAction.C:
2271         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2272
2273         * BufferView_pimpl.C (dispatch): act on these LFUNs.
2274
2275         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2276         functions replacing find, replace and replaceAll.
2277
2278         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2279         LFUN_WORDFIND(FORWARD|BACKWARD).
2280
2281 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2282
2283         * text.C (breakParagraph): remove an outdated #warning
2284
2285 2004-01-07  André Pönitz  <poenitz@gmx.net>
2286
2287         * lyxfind.C: somewhat clearer logic
2288
2289         * text.C: prevent crash in cursorX on unitialized row cache
2290
2291 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2292
2293         * lyxcursor.[Ch] (operator>): add
2294         * textcursor.C (selStart, selEnd): use std::min and std::max
2295
2296 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
2297
2298         * Chktex.C: include boost/format.hpp
2299
2300 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
2301
2302         * InsetList.C: replace functor MathcIt with adaptable functor
2303         InsetTablePosLess
2304         (insetIterator): modify accordingly
2305
2306         * BranchList.h: move the BranchNamesEqual functor here from...
2307         * BranchList.C: ... to here
2308
2309         * BranchList.C: new BranchListEqual fuctor, use it. Remove
2310         SameName and match.
2311         (add): replace a finding loop with std::find_if.
2312
2313 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
2314
2315         * output_docbook.C: moving LatexParam functionality into
2316         .layout files
2317
2318 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2319
2320         * buffer.C: increment format to 229.
2321
2322 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
2323
2324         * LaTeXFeatures.C:
2325         * lyx_sty.[Ch]: remove minipageindent_def
2326
2327         * LyXAction.C:
2328         * factory.C:
2329         * lfuns.h:
2330         * lyxfunc.C:
2331         * text3.C: remove LFUN_INSET_MINIPAGE
2332
2333 2003-12-28  Angus Leeming  <leeming@lyx.org>
2334
2335         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2336
2337 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
2338
2339         * text2.C (setParagraph): fix off-by-one crash
2340
2341 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
2342
2343         * output_docbook.C: header stuff for AGU
2344
2345 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
2346
2347         * text2.C (redoCursor): remove
2348         * text.C:
2349         * text3.C:
2350         * BufferView_pimpl.C: remove calls to redoCursor and
2351         setCursor(cursor.par(), cursor.pos()) all around
2352
2353 2003-12-15  Angus Leeming  <leeming@lyx.org>
2354
2355         * buffer.C: up the format to 228.
2356
2357 2003-12-15  André Pönitz  <poenitz@gmx.net>
2358
2359         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2360         slices
2361
2362         * Makefile.am:
2363
2364         * BufferView_pimpl.C:
2365         * cursor.[Ch]:
2366         * lyxcursor.[Ch]:
2367         * rowpainter.[Ch]:
2368         * lyxtext.h:
2369         * text.C:
2370         * text2.C:
2371         * text3.C: adjust
2372
2373 2003-12-15  Angus Leeming  <leeming@lyx.org>
2374
2375         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2376         than getFromGUIName to manipulate the color.
2377
2378 2003-12-14  Angus Leeming  <leeming@lyx.org>
2379
2380         * BranchList.[Ch]: minimize the API.
2381         (Branch::getBranch, getColor): now return a 'const &'.
2382         (Branch::setSelected) now returns a bool set to true if the
2383         selection status changes.
2384         (BranchList::clear, size, getColor, setColor, setSelected,
2385         allBranches, allSelected, separator): removed.
2386         (BranchList::find): new functions, returning the Branch with
2387         the given name.
2388         (BranchList::add, remove): return a bool indicating that
2389         the operation was successful.
2390
2391         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2392         new InsetBranch::isBranchSlected member function.
2393
2394         * LColor.[Ch]: mimimize the API.
2395         (fill): renamed as addColor and made private.
2396         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2397         versions of these functions taking a string arg have been removed.
2398
2399         * bufferparams.C (readToken):
2400         * lyxfunc.C (dispatch):
2401         * lyxrc.C (read): changes due to the altered BranchList and
2402         LColor APIs.
2403
2404         * factory.C (createInset, readInset): changes due to altered
2405         InsetBranch c-tor.
2406
2407 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2408
2409         * factory.C:
2410         * lyxfunc.C: remove insetminipage. "minipage-insert"
2411         now produces a frameless minipage box inset.
2412
2413 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2414
2415         * textcursor.[Ch] (selStart,selEnd): add new methods
2416         remove selection::start, end, use LyXCursor::operator<
2417         * lyxcursor.[Ch] (operator<): add
2418         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2419         * BufferView.[Ch] (unsetXSel): add
2420         * text2.C (clearSelection): use unsetXSel,adjust
2421         * text.C: adjust
2422         * text3.C: adjust
2423         * rowpainter.C: adjust
2424         * bufferview_funcs.C (put_selection_at): adjust
2425
2426 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2427
2428         * BufferView_pimpl.C: small coord. correction
2429
2430 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2431
2432         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2433         dragging over the splash screen.
2434
2435 2003-12-11  Angus Leeming  <leeming@lyx.org>
2436
2437         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2438         as it is now handled in LyXText::dispatch.
2439
2440         * text3.C (doInsertInset): remove a level of nesting.
2441
2442 2003-12-11  Angus Leeming  <leeming@lyx.org>
2443
2444         * factory.C (createInset): changes due to the changed interface to
2445         InsetCommandMailer::string2params.
2446
2447 2003-12-10  Angus Leeming  <leeming@lyx.org>
2448
2449         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2450         'dialog-show-new-inset <inset name>'
2451
2452 2003-12-10  Angus Leeming  <leeming@lyx.org>
2453
2454         * buffer.C: up the format to 227.
2455
2456         * factory.C: the box inset is now identified simply by 'Box'.
2457
2458 2003-12-10  Angus Leeming  <leeming@lyx.org>
2459
2460         * buffer.C: up the format to 226.
2461
2462         * factory.C: the note inset is now identified simply by 'Note'.
2463
2464 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
2465
2466         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2467         when a pit is enough. Standarize a couple of loops.
2468
2469 2003-12-05  Angus Leeming  <leeming@lyx.org>
2470
2471         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2472         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2473         data to the re-worked "log" dialog.
2474
2475 2003-12-03  André Pönitz  <poenitz@gmx.net>
2476
2477         * PosIterator.C:
2478         * iterators.C:
2479         * lyxtext.h:
2480         * output_latex.C:
2481         * paragraph_funcs.C:
2482         * text.C:
2483         * text2.C: use Inset::getText instead of Inset::getParagraph
2484
2485 2003-12-03  André Pönitz  <poenitz@gmx.net>
2486
2487         * buffer.[Ch]:
2488         * lyxtext.h:
2489         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2490         InsetText::read() as LyXText::read()
2491
2492 2003-12-02  Angus Leeming  <leeming@lyx.org>
2493
2494         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2495         type. Add a comment in the implementation that the function uses
2496         the stream's bad() function rather than fail() as the std::streams
2497         would do.
2498
2499 2003-12-02  André Pönitz  <poenitz@gmx.net>
2500
2501         * lyxlex.[Ch]: make interface more similar to std::stream
2502
2503         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2504
2505 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
2506
2507         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2508
2509 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
2510
2511         * vspace.[Ch]: remove VSpace::NONE
2512
2513 2003-12-01  André Pönitz  <poenitz@gmx.net>
2514
2515         * buffer.[Ch]:
2516         * lyxtext.h: move ParagraphList member to LyXText
2517         rename LyXText::ownerParagraphs to LyXText::paragraph
2518
2519         * CutAndPaste.C:
2520         * bufferview_funcs.C:
2521         * iterators.[Ch]:
2522         * lyx_cb.C:
2523         * paragraph.C:
2524         * rowpainter.C:
2525         * tabular.C:
2526         * text.C:
2527         * text2.C:
2528         * text3.C: adjust
2529
2530         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2531
2532         * undo.C: fix cursor positioning
2533
2534 2003-12-01  John Levon  <levon@movementarian.org>
2535
2536         * BufferView_pimpl.C: fix a crash on exit with
2537         a buffer open
2538
2539 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
2540
2541         * BranchList.C: fix setSelected() method.
2542
2543 2003-11-28  André Pönitz  <poenitz@gmx.net>
2544
2545         * ParagraphParameters.[Ch]:
2546         * ParameterStruct.h: remove space above/below from Paragraph to
2547          InsetVSpace
2548
2549         * BufferView_pimpl.C:
2550         * factory.C:
2551         * lyxfunc.C:
2552         * lyxtext.h:
2553         * output_latex.C:
2554         * paragraph.C:
2555         * paragraph_funcs.C:
2556         * rowpainter.[Ch]:
2557         * text.C:
2558         * text2.C:
2559         * text3.C: adjust
2560
2561 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
2562
2563         * factory.C: Syntax change for CharStyles
2564
2565 2003-11-28  André Pönitz  <poenitz@gmx.net>
2566
2567         * BufferView.[Ch]:
2568         * BufferView.[Ch]:
2569         * buffer.[Ch]:
2570         * buffer.[Ch]: move LyXText member
2571
2572 2003-11-28  André Pönitz  <poenitz@gmx.net>
2573
2574         * BufferView.[Ch]: make LyXText * text a private member
2575
2576         * BufferView_pimpl.C:
2577         * cursor.C:
2578         * iterators.C:
2579         * lyx_cb.C:
2580         * lyxfind.C:
2581         * lyxtext.h:
2582         * rowpainter.[Ch]:
2583         * text.C:
2584         * text2.C:
2585         * undo.C: adjust
2586
2587         * output_plaintext.C: cleanup
2588
2589 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2590
2591         * buffer.C:
2592         * lyxtextclass.[Ch]: parametrize SGML document header
2593
2594 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2595
2596         * converter.[Ch]:
2597         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2598         getFlavor().
2599
2600 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
2601
2602         * text2.C (setFont): rework using PosIterator (no more recursive)
2603         (setCharFont): no more needed
2604         (setLayout): no more selection cursors fiddling (done by redoCursor)
2605         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2606         destroy remaining ones)
2607
2608 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
2609
2610         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2611         * lyxtext.h: ditto
2612         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2613         selection cursors
2614         * lyxfunc.C: adjust
2615         * text3.C: adjust + re-allow multi par depth changes
2616         * textcursor.C: simplify a bit
2617
2618 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
2619
2620         * src/buffer.C:
2621         * src/lyxlayout.C:
2622         * src/lyxlayout.h:
2623         * src/lyxtext.h:
2624         * src/output_docbook.C:
2625         * src/output_latex.C:
2626         * src/paragraph.C:
2627         * src/paragraph.h:
2628         * src/sgml.C:
2629         * src/sgml.h:
2630         * src/text2.C: Introducing a number of tags parametrizing various
2631         XML formats that we may want to support
2632
2633 2003-11-25  André Pönitz  <poenitz@gmx.net>
2634
2635         * InsetList.[Ch] (begein, end): inline as suggested by profiler
2636
2637         * lyxtext.h (leftMargin/rightMargin): simplify interface
2638
2639         * rowpainter.C:
2640         * text.C:
2641         * text2.C:
2642         * text3.C: adjust
2643
2644 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2645
2646         * lyxfunc.C (dispatch): propogate the bibtex databases from the
2647         master file to any child files. Fixes bug 546.
2648
2649 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2650
2651         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2652
2653 2003-11-24  André Pönitz  <poenitz@gmx.net>
2654
2655         * rowpainter.C: simplification
2656
2657         * text2.C (updateCounters): remove call to redoParagraph on
2658         changed labels as this is far too expensive.
2659
2660 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2661
2662         * converter.C (convert): fix a crash: this function gets
2663         called with buffer == 0 from importer code.
2664
2665 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
2666
2667         * text3.C (cursorPrevious): make sure that we do not compare
2668         iterators form different containers.
2669         (cursorNext): ditto
2670
2671         * rowpainter.C (paintSelection): make sure that we do not compare
2672         iterators from different containers.
2673
2674         * text3.C (dispatch): [PRIOR] make sure that we do not compare
2675         iterators from different ParagraphList containers.
2676         [NEXT] ditto
2677
2678         * text2.C (LyXText): change order of initialization slightly
2679         (operator=): new function. copy all variables except cache_par_
2680         (moveUp): make sure that we do not compare iterators from
2681         different ParagraphList constainers.
2682         (moveDown): ditto
2683
2684         * text.C (firstPar): new function
2685         (lastPar): new function
2686         (endPar): new function
2687
2688         * lyxtext.h: move things around and group public functions, public
2689         variables, private functions, private variables
2690
2691 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
2692
2693         * factory.C: change call to InsetERT constructor to avoid
2694         additional invocation of method status
2695         * text2.C (toggleInset): remove redundant update() call
2696         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2697         instead of a Bufferview pointer
2698
2699 2003-11-21  André Pönitz  <poenitz@gmx.net>
2700
2701         * rowpainter.C: simplification
2702
2703 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2704
2705         * text3.C (dispatch): make possible to extend a word/row selection
2706         with the mouse
2707
2708 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2709
2710         * lyxtext.h: x0_,y0_ -> xo_,yo_
2711         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2712         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2713         * rowpainter.C (paintRows): paint full paragraphs
2714
2715 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2716
2717         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2718         screen coordinates)
2719
2720 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2721
2722         * lyxtext.h: add x0_, y0_
2723         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2724         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2725
2726 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
2727
2728         * text2.C (setCursorIntern): move the x_target update here *
2729         * text3.C: change some bv() to true/false in calls to
2730         cursorUp/Down/Right/Left
2731         * cursor.C: use helper function.
2732
2733 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2734
2735         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2736         * paragraph_funcs.[Ch]: correct comment
2737         * rowpainter.C: do not paint selections away from bv->cursor()
2738         Fix a long standing selection painting bug.
2739         * text3.C: generalize mouse-selection code to LyXTexts other that
2740         top one
2741         * textcursor.C: do not use y coords if we can use par offsets
2742
2743 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2744
2745         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2746         cursor position after e.g. inset insert)
2747
2748 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
2749
2750         * lyxfind.C (replace): adjust to locking removal + some
2751         code simplification
2752
2753 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
2754
2755         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2756         of the path
2757
2758 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
2759
2760         * lyxlayout.[Ch]:
2761         * output_docbook.C: XML sanitation: new layout
2762         parameters InnerTag and CommandDepth
2763
2764 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
2765
2766         * BufferView_pimpl.C:
2767         * factory.C:
2768         * text3.C: Fix the insertion and modification of button-style
2769         insets
2770
2771 2003-11-13  André Pönitz  <poenitz@gmx.net>
2772
2773         * InsetList.[Ch]: remove deleteLyXText
2774
2775         * paragraph.[Ch]: cache beginOfBody position
2776
2777         * Bidi.C:
2778         * text.C:
2779         * text2.C:
2780         * text3.C: remove superfluous update() calls
2781
2782         * vspace.C: cleanup
2783
2784 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
2785
2786         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2787         * BufferView.C (fitLockedInsetCursor): remove
2788         * cursor.[Ch] (getDim): add
2789         * text.C (getRowNearY): add faster version
2790         * text3.C: remove some update calls
2791
2792 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
2793
2794         * LaTeXFeatures.C:
2795         * LyXAction.C:
2796         * MenuBackend.C:
2797         * MenuBackend.h:
2798         * dispatchresult.h:
2799         * factory.C:
2800         * lfuns.h:
2801         * lyxfunc.C:
2802         * lyxtextclass.C:
2803         * lyxtextclass.h:
2804         * text3.C: The Character Style /XML short element patch.
2805
2806 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
2807
2808         * text3.C:
2809         * factory.C: Small step to solving 'unable to insert some insets'
2810         problem
2811
2812 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2813
2814         * cursor.[Ch] (updatePos): new function for updating the y
2815         position of the tip inset
2816         * bufferview_funcs.C (put_selection_at):
2817         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2818
2819 2003-11-11  André Pönitz  <poenitz@gmx.net>
2820
2821         * text.C: remove big comment on invalid Paragraph pointers as it is
2822         not valid anymore
2823
2824 2003-11-11  André Pönitz  <poenitz@gmx.net>
2825
2826         * text_funcs.[Ch]: merge with ...
2827
2828         * text.C: ... this
2829
2830         * lyxtext.h:
2831         * text2.C:
2832         * text3.C: adjust
2833
2834         * Makefile.am: remove text_funcs.[Ch]
2835
2836 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
2837
2838         * cursor.C (getPos): return absolute cached y coord
2839
2840         * BufferView_pimpl.C (fitCursor): new simplistic code
2841         (workAreaDispatch): add a fitCursor call
2842
2843 2003-11-10  André Pönitz  <poenitz@gmx.net>
2844
2845         * BufferView.[Ch]:
2846         * BufferView_pimpl.[Ch]: merge update() and updateInset()
2847
2848 2003-11-10  André Pönitz  <poenitz@gmx.net>
2849
2850         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2851         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2852         indicate that the cursor needs to leave an inset
2853
2854         * lyxtext.h: remove inset locking
2855
2856         * cursor.[Ch]: re-implement functionality provided by inset locking
2857
2858         * BufferView.[Ch]:
2859         * BufferView_pimpl.[Ch]:
2860         * LyXAction.C:
2861         * bufferview_funcs.[Ch]:
2862         * factory.C:
2863         * funcrequest.[Ch]:
2864         * iterators.C:
2865         * lyx_cb.C:
2866         * lyxfind.C:
2867         * lyxfunc.C:
2868         * text.C:
2869         * text2.C:
2870         * text3.C:
2871         * undo.C: adjust
2872
2873 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
2874
2875         * PosIterator.[Ch]: replace the stack with a vector, add inset
2876         accesor
2877         * iterators.[C]: adjust
2878
2879 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2880
2881         * lyxfind.C (replaceAll): mark the buffer dirty if something was
2882         replaced
2883         * paragraph_funcs.C (readParToken): put the correct id in the
2884         error item, not the id of the top paragraph
2885
2886 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2887
2888         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2889         * bufferview_funcs.C (put_selection_at): use the above
2890
2891 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2892
2893         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2894
2895 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2896
2897         * output_linuxdoc.h:
2898         * output_plaintext.h:
2899         * output.h:
2900         * output_docbook.h: add #include statements
2901
2902 2003-11-05  José Matos  <jamatos@lyx.org>
2903
2904         * output_docbook.[Ch]:
2905         * output_latex.[Ch]:
2906         * output_linuxdoc.[Ch]:
2907         * output_plaintext.[Ch]: New files for output formats.
2908         * output.[Ch]: New file for helper functions.
2909
2910         * buffer.[Ch]:
2911         * paragraph_funcs.[Ch]: output functions moved to new files.
2912
2913         * outputparams.h: rename of latexrunparams.h
2914
2915         * LaTeX.[Ch]:
2916         * buffer.[Ch]:
2917         * bufferlist.[Ch]:
2918         * converter.[Ch]:
2919         * exporter.C:
2920         * paragraph.[Ch]:
2921         * paragraph_funcs.[Ch]:
2922         * paragraph_pimpl.[Ch]:
2923         * tabular.[Ch]: rename ascii to plaintext
2924         and LatexRunParams to OutputParams.
2925
2926 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2927
2928         * iterators.[Ch] (text): require bv argument
2929         * undo.C (recordUndo):
2930         * lyxfunc.C (dispatch):
2931         * bufferview_funcs.C (put_selection_at): adjust
2932
2933 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
2934
2935         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2936
2937 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2938
2939         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2940         nestings
2941
2942 2003-11-04  André Pönitz  <poenitz@gmx.net>
2943
2944         * cursor.[Ch]: restructure
2945
2946         * BufferView.[Ch]:
2947         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2948
2949         * iterators.[Ch] (asCursor): remove
2950
2951         * lfuns.h: remove LFUN_INSET_EDIT
2952
2953         * lyxfunc.C:
2954         * tabular.C:
2955         * text.C:
2956         * text2.C:
2957         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2958
2959 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2960
2961         * lyxfind.[Ch]: complete overhaul
2962         * BufferView_pimpl.C:
2963         * lyxfunc.C: adjust
2964         * paragraph.[Ch] (insert): add
2965
2966 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2967
2968         * BufferView.[Ch]:
2969         * lyxtext.h:
2970         * text.C: remove dead spellcheck code
2971
2972 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2973
2974         * dispatchresult.h: add a val setter
2975
2976         * cursor.C (dispatch): use a tempvar for data_[i]
2977
2978 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2979
2980         * PosIterator.[Ch]: compile fix
2981
2982 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2983
2984         * text.C (cursorPar): deactivate the cursor cache
2985
2986 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2987
2988         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2989
2990 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2991
2992         * text3.C (dispatch): adjust for new DisptchResult semantics.
2993
2994         * lyxfunc.C (dispatch): handle update when return from
2995         Cursor::dispatch, adjust for new DispatchResult semantics.
2996
2997         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2998         DispatchResult(true) mean to not update. Add class functions for
2999         setting dispatched and update, as well as reading.
3000
3001         * cursor.C (dispatch): don't handle update here
3002
3003 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3004
3005         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3006         * trans_mgr.C: adjust
3007
3008         * paragraph_funcs.C (readParToken): exception safety
3009
3010         * lyxvc.h: store the vcs pointer in a scoped_ptr
3011         * lyxvc.C: adjust
3012
3013         * lyxsocket.C (serverCallback): exception safety
3014
3015         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3016
3017         * ispell.C (clone): make it return a auto_ptr
3018
3019         * factory.C (createInset): exception safety
3020         (readInset): exception safety
3021
3022         * bufferlist.C (newBuffer): exception safety
3023
3024         * Thesaurus.C (Thesaurus): use initialization for aik_
3025
3026         * MenuBackend.C (expandToc): exception safety.
3027
3028 2003-11-03  André Pönitz  <poenitz@gmx.net>
3029
3030         * buffer.C:
3031         * buffer.h:
3032         * bufferview_funcs.C: remove getInsetFromId()
3033
3034         * lyxcursor.[Ch]:
3035         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3036
3037         * lyxfunc.C:
3038         * text2.C:
3039         * text3.C: adjust
3040
3041 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3042
3043         * PosIterator.C (distance, advance): new
3044         * bufferview_funcs.[Ch] (put_selection_at): new
3045         * iterators.[Ch] (lockPath): new
3046
3047 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
3048
3049         * iterators.[Ch] (asPosIterator): added
3050         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3051         * PosIterator.[Ch]: added
3052
3053 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3054
3055         * text3.C:
3056         * lyxfunc.C:
3057         * cursor.C (dispatch):
3058         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3059
3060         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3061         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3062         contructor, add a class function dispatched. Remove operator>=
3063
3064 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3065
3066         * debug.C: only use the default constructor for debugstream
3067         (lyxerr) here.
3068
3069         * main.C (main): include debug.h and setup the lyxerr streambuf
3070         here.
3071
3072 2003-10-31  José Matos  <jamatos@lyx.org>
3073
3074         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3075
3076         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3077         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3078         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3079         * paragraph_pimpl.C (simpleTeXSpecialC):
3080         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3081         add LatexRunParams argument.
3082
3083         * exporter.C (Export): change call accordingly.
3084
3085         * latexrunparams.h: add new member to take care of the other backends.
3086 2003-10-30  José Matos  <jamatos@lyx.org>
3087
3088         * buffer.C (makeLinuxDocFile, makeDocBookFile):
3089         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3090         factorise code for paragraph output.
3091         * buffer.[Ch]:
3092         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3093         move functions.
3094
3095 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3096
3097         * text3.C (dispatch):
3098         * lyxfunc.C (dispatch):
3099         * cursor.C (dispatch):
3100         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3101
3102         * dispatchresult.h: make the dispatch_result_t ctor explicit
3103
3104 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
3105
3106         * sgml.[Ch]:
3107         * buffer.C: small refactoring of docbook stuff
3108
3109 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3110
3111         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3112         meaning.
3113
3114 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3115
3116         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3117         operator dispatch_result_t, and operators for == != and >=
3118
3119         * cursor.C (dispatch): adjust for operator dispatch_result_t
3120         removal. comment out call to update
3121
3122         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3123
3124 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3125
3126         * text3.C:
3127         * text2.C:
3128         * text.C:
3129         * lyxtext.h:
3130         * lyxfunc.C:
3131         * cursor.C:
3132         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3133         (dispatch):
3134
3135         * dispatchresult.h: new file, DispatchResult broken out of
3136         insets/insetbase.h
3137
3138         * Makefile.am (lyx_SOURCES): add dispatchresult.h
3139
3140 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3141
3142         * text.C (rowBreakPoint): put a hack inside #if 0
3143
3144 2003-10-28  André Pönitz  <poenitz@gmx.net>
3145
3146         * lyxtext.h:
3147         * metricsinfo.C:
3148         * paragraph_funcs.C:
3149         * rowpainter.C:
3150         * text.C:
3151         * text2.C: general cleanup (lots of small stuff)
3152
3153 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3154
3155         * text2.C (cursorEnd): simple fix to the "end key goes to one
3156         before the end on last row" bug
3157
3158 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3159
3160         * text.C (backspace): fix the "zombie characters"
3161
3162 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3163
3164         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3165
3166 2003-10-27  André Pönitz  <poenitz@gmx.net>
3167
3168         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3169
3170         * factory.C: handle new InsetPagebreak, InsetLine
3171
3172         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3173         and move handling into new InsetPagebreak, InsetLine
3174
3175         * BufferView_pimpl.C:
3176         * LyXAction.C:
3177         * ParagraphParameters.C:
3178         * ParameterStruct.h:
3179         * lyxfunc.C:
3180         * lyxtext.h:
3181         * paragraph.C:
3182         * paragraph.h:
3183         * paragraph_funcs.C:
3184         * paragraph_pimpl.C:
3185         * rowpainter.C:
3186         * text.C:
3187         * text2.C:
3188         * text3.C: adjust
3189
3190 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3191
3192         * text.C:
3193         * lyxrow_funcs.[Ch]:
3194         * Bidi.C:
3195         * paragraph.C:
3196         * lyxtext.h:
3197         * rowpainter.C:
3198         * text2.C:
3199         * text3.C: remove lastPos uses in favour of Row::endpos
3200
3201 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3202
3203         * undo.C (performUndoOrRedo): fix two crashes by setting a
3204         cursor by hand and reordering some calls. Use bv->lockInset instead
3205         of inset->edit because the latter loses cursor information
3206
3207 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
3208
3209         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3210         by Martin
3211         (rowBreakPoint): fix width. change point to point + 1.
3212         Add a missing check.
3213
3214 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
3215
3216         * MenuBackend.C:
3217         * lyxfunc.C: fix (at least partly) the problems
3218         with the Nav menu and headers inside branch insets
3219         reported by Kayvan
3220
3221 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
3222
3223         * paragraph.C (getChar): add strong asserts
3224
3225         * lyxrow_funcs.C (lastPos): remove hideous hack
3226
3227         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3228         (fill): adjust to that (avoid an infinite loop)
3229
3230 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3231
3232         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3233
3234 2003-10-23  André Pönitz  <poenitz@gmx.net>
3235
3236         * RowList_fwd.h: change list<> to vector<> to gain speed
3237         after suggestion from Alfredo
3238
3239 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3240
3241         * lyxtext.h: move the bidi stuff from here...
3242         * text.C: and here
3243         * text2.C: and here
3244         * Bidi.[Ch]: ... to here
3245
3246 2003-10-23  André Pönitz  <poenitz@gmx.net>
3247
3248         * lyxtext.h:
3249         * text.C (isLastRow, isFirstRow): new functions
3250
3251         * paragraph.h: new width cache member
3252
3253         * rowpainter.C: replace RowList::iterator with Row & where possible
3254
3255         * lyxfunc.C: replace several view()->text with a single call
3256
3257         * toc.C: fix 'unused' warning
3258
3259 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3260
3261         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3262         when woring with stream::pos_type
3263         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3264
3265 2003-10-22  André Pönitz  <poenitz@gmx.net>
3266
3267         * lyxtext.h:
3268         * text.C: use Row & instead of RowList::iterator
3269
3270         * lyxrow.h: rename end() to endpos()
3271
3272         * rowpainter.C:
3273         * text.C:
3274         * text2.C: adjust
3275
3276 2003-10-22  Angus Leeming  <leeming@lyx.org>
3277
3278         * buffer.[Ch] (fully_loaded): new member function, returning true
3279         only when the file has been loaded fully.
3280         Used to prevent the premature generation of previews and by the
3281         citation inset to prevent computation of the natbib-style label.
3282
3283         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3284         templates are all set up.
3285
3286         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3287
3288 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
3289
3290         * text.C: fixed an "oops" in the "is a bit silly"
3291         bug fix
3292
3293 2003-10-21  André Pönitz  <poenitz@gmx.net>
3294
3295         * FuncStatus.[Ch]: small stuff, whitespace
3296
3297         * lyxfont.[Ch]: operator<<() for debug reasons
3298
3299         * lyxfunc.C:
3300         * lyxrow_funcs.C:
3301         * lyxtext.h: whitespace, spelling
3302
3303         * paragraph.C: naming of variables
3304
3305         * text.C:
3306         * text2.C: small stuff
3307
3308
3309 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
3310
3311         * text.C: (1) finish off the inset display() work;
3312         (2) fix the "is a bit silly" bug (accessing char
3313         past end of par).
3314
3315 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
3316
3317         * text.C: re-introduce display() for insets, fixing the
3318         various bugs (stretch of line above, math inset
3319         positioning, ...)
3320
3321 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3322
3323         * text.C (rightMargin): remove spurious semicolon
3324
3325         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3326         1415)
3327
3328 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
3329
3330         * text3.C: fix one crash due to wrong cursor def
3331
3332 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3333
3334         * vc-backend.C (scanMaster): make the regex static
3335
3336         * LaTeX.C (scanAuxFile): make the regexs static
3337
3338         * text3.C (doInsertInset, dispatch, dispatch):
3339         * text2.C (cursorUp, cursorDown):
3340         * text.C (selectNextWordToSpellcheck):
3341         * BufferView_pimpl.C (dispatch):
3342         * lyxfunc.C (dispatch):  localDispatch -> dispatch
3343
3344 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3345
3346         * lyxsocket.C: include <cerrno>
3347
3348 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3349
3350         * lyxfunc.C (dispatch): remove textcache stuff
3351
3352         * bufferlist.C (release): remove textcache stuff
3353         (closeAll): ditto
3354
3355         * TextCache.C: delete file
3356         * TextCache.h: delete file
3357
3358         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3359
3360         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3361         delete of the bv_->text.
3362         (resizeCurrentBuffer): remove texcache stuff
3363         (workAreaResize): ditto
3364
3365 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3366
3367         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3368         action.
3369
3370 2003-10-16  André Pönitz  <poenitz@gmx.net>
3371
3372         * lyxrow.[Ch]:
3373         * paragraph.h:
3374         * rowpainter.C:
3375         * text.C:
3376         * text2.C:
3377         * text3.C: speed up by storing y positions per paragraph plus per-row
3378         offset instead of having a 'full' y position in the row.
3379
3380 2003-10-15  André Pönitz  <poenitz@gmx.net>
3381
3382         * iterators.[Ch]:
3383         * iterators.[Ch]:
3384         * undo.[Ch]: make undo aware of inner insets
3385
3386 2003-10-14  Angus Leeming  <leeming@lyx.org>
3387
3388         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3389         static member functions LyX::ref() and LyX::cref.
3390         (lastfiles): new accessor functions for the new lastfiles_ member var.
3391         (addLyXView, views_): add a new LyXView to the list of views_.
3392         (updateInset): loop over all LyXViews to call their own updateInset
3393         member function, returning a pointer to the Buffer owning the inset.
3394
3395         * BufferView_pimpl.C (loadLyXFile):
3396         * MenuBackend.C (expandLastfiles):
3397         * bufferlist.C (MenuWrite, QuitLyX):
3398         lastfiles is no longer a global variable.
3399         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3400
3401         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3402         static function. Access through LyX::cref().emergencyCleanup().
3403
3404 2003-10-14  André Pönitz  <poenitz@gmx.net>
3405
3406         * iterators.[Ch]: new direct access to innermost LyXText and Inset
3407
3408         * undo.[Ch]: restoring part of 'undo in insets'
3409
3410         * Makefile.am:
3411         * undo_funcs.[Ch]: merge with undo.[Ch]
3412
3413         * tabular.C: small cleansing stuff
3414
3415 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
3416
3417         * paragraph_funcs.C (readParToken): report unknown insets as error
3418         boxes. Use the outer paragraph as location (also for unknown
3419         tokens).
3420
3421         * factory.C (readInset): do not abort on reading an unknown inset.
3422         Eat it and return 0.
3423
3424 2003-10-13  Angus Leeming  <leeming@lyx.org>
3425
3426         * lyx_main.C (LyX): remove call to setDisplayTranslator().
3427
3428         * lyxrc.C: displayTranslator is now a function,
3429         declared in GraphicsTypes.h.
3430
3431 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3432
3433         * format.C: new placeholder $$a to pass the socket address.
3434
3435         * bufferlist.[Ch]: new function getBufferFromTmp.
3436
3437         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3438           files in the temporary dir.
3439
3440 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3441
3442         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3443
3444         * Makefile.am: add lyxsocket.[Ch].
3445
3446         * lyx_main.C (error_handler): handle SIGPIPE.
3447
3448 2003-10-13  André Pönitz  <poenitz@gmx.net>
3449
3450         * BufferView_pimpl.C:
3451         * lyxtext.h:
3452         * text.C:
3453         * text2.C:
3454         * text3.C:
3455         * undo_funcs.[Ch]: use paroffset_type instead of
3456           ParagraphList::iterators to prevent multiple conversion
3457           (and get a more robust interface)
3458
3459 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3460
3461         * lyxfunc.C (dispatch): RESULT -> dispatch_result
3462         * lyxtext.h: ditto
3463         * text3.C (dispatch): ditto
3464
3465 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3466
3467         * LaTeX.C (handleFoundFile): move the static to smaller scope,
3468         move the onlyfile, use onlyfile instead of foundfile in a couple
3469         of places.
3470
3471         * DepTable.C (update): flush the error stream a bit more
3472
3473 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3474
3475         * lyxserver.C (callback): adjust
3476
3477         * lyxfunc.C (getStatus): add a missing brace in commented code
3478         (ensureBufferClean): reindent
3479         (dispatch): delete version taking a string
3480
3481 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3482
3483         * LaTeX.C (deplog): move found file handlig from here...
3484         (handleFoundFile): .. to new function here.
3485         (deplog): make sure to discover several files mentioned on the
3486         same log line.
3487
3488 2003-10-10  André Pönitz  <poenitz@gmx.net>
3489
3490         * lyxfunc.C:
3491         * lyxtext.h:
3492         * tabular.C:
3493         * text.C:
3494         * text2.C:
3495         * text3.C: fix some of the tabular crashes
3496
3497 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3498
3499         * MenuBackend.C (binding): put debug message into Debug::KBMAP
3500
3501         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3502
3503 2003-10-09  André Pönitz  <poenitz@gmx.net>
3504
3505         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3506
3507         * BufferView.C:
3508         * BufferView_pimpl.C:
3509         * bufferview_funcs.C:
3510         * lyx_cb.C:
3511         * lyxcursor.C:
3512         * lyxfind.C:
3513         * lyxfunc.C:
3514         * lyxtext.h:
3515         * text.C:
3516         * text2.C:
3517         * text3.C:
3518         * text_funcs.[Ch]:
3519         * textcursor.[Ch]:
3520         * undo_funcs.C: adjust
3521
3522 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3523
3524         * text2.C (incrementItemDepth): new function, use a backtracking
3525         algorithm to discover the correct item depth.
3526         (resetEnumCounterIfNeeded): new function, use a backtracking
3527         algorithm to discover if counter reset is needed.
3528         (setCounter): use them. Simplify a bit. Add different labels for
3529         different item depths for itemize.
3530
3531         * paragraph.C (Paragraph): remove initialization of enumdepth
3532         (operator=): ditto
3533
3534         * paragraph.h: get rid of enumdepth, and use itemdepth both for
3535         enumerate and itemize. Change the type of itemdepth to signed char.
3536
3537 2003-10-08  André Pönitz  <poenitz@gmx.net>
3538
3539         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3540           thing assignable.
3541         * text.C:
3542         * text2.C: adjust
3543
3544         * tabular.[Ch]: fix crash after 'row-insert'
3545
3546 2003-10-08  Angus Leeming  <leeming@lyx.org>
3547
3548         Fix doxygen warnings.
3549
3550         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3551         Remove CutAndPaste:: prefix from header file declaration.
3552
3553         * LColor.h (fill): remove LColor:: prefix from declaration.
3554
3555         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3556         use lyx::depth_type rather than Paragraph::depth_type so that
3557         header file and .C file match.
3558
3559         * converter.h (intToFormat): remove Converters:: prefix from declaration.
3560
3561         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3562         * aspell.C: \file aspell_local.C -> \file aspell.C
3563         * gettext.C: \file gettext.C -> \file src/gettext.C
3564         * gettext.h: \file gettext.h -> \file src/gettext.h
3565         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3566         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3567         * text.C: \file text.C -> \file src/text.C
3568
3569         * toc.C: move comment so that doxygen is not confused.
3570
3571 2003-10-07  Angus Leeming  <leeming@lyx.org>
3572
3573         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3574
3575 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3576
3577         * aspell.C:
3578         * aspell_local.h: add forgotten std::string's.
3579
3580 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3581
3582         * LaTeXFeatures.C:
3583         * LyXAction.C:
3584         * factory.C:
3585         * lfuns.h:
3586         * lyxfunc.C:
3587         * text3.C: The Box patch. Fancybox support, minipage, parbox
3588
3589 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3590
3591         * CutAndPaste.h:
3592         * DepTable.h:
3593         * FloatList.h:
3594         * LaTeXFeatures.h:
3595         * ParagraphParameters.h:
3596         * TextCache.h:
3597         * Thesaurus.h:
3598         * bufferlist.h:
3599         * exporter.h:
3600         * importer.h:
3601         * lastfiles.h:
3602         * lyxfind.h:
3603         * lyxfont.h:
3604         * lyxlex.h:
3605         * lyxtextclasslist.h:
3606         * messages.h:
3607         * paragraph.h:
3608         * paragraph_pimpl.C:
3609         * textcursor.h: add <string> and other small fixes to make Lars'
3610         std::string patch compile with STLport.
3611
3612 2003-10-06  Angus Leeming  <leeming@lyx.org>
3613
3614         * LColor.h: Add missing #include <string>.
3615
3616 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3617
3618         * All most all file in all subdirs: Make <string> be the prefered
3619         way of getting to std::string, add using declarations.
3620
3621 2003-10-06  André Pönitz  <poenitz@gmx.net>
3622
3623         * metricsinfo.C: initialize LyXFont before changing attribute.
3624         (fixes the 'math in \emph is upright' bug)
3625
3626 2003-10-06  André Pönitz  <poenitz@gmx.net>
3627
3628         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3629
3630 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
3631
3632         * graph.C:
3633         * paragraph_pimpl.C: Small fixes to build using STLport
3634
3635 2003-10-02  André Pönitz  <poenitz@gmx.net>
3636
3637         * lyxfunc.C:
3638         * text3.C: move handling of LFUN_DEPTH *; fix #1360
3639
3640 2003-10-01  André Pönitz  <poenitz@gmx.net>
3641
3642         * factory.C: assert early
3643
3644 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3645
3646         * lyx_main.C: remove the global debug object
3647
3648         * debug.h: adjust for new debugstream
3649
3650         * debug.C: adjust for new debugstream and keep the global debug
3651         object here.
3652
3653 2003-09-22  Angus Leeming  <leeming@lyx.org>
3654
3655         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3656         of g++ which otherwise complain that the scoped_ptr destructor can't delete
3657         an incomplete class LyXFont.
3658
3659 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
3660
3661         * factory.C: bug fix in branches
3662
3663 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3664
3665         * lyxfunc.C (processKeySym): adjust
3666         (dispatch): adjust
3667         (dispatch): change arg name from ev to func, adjust
3668         (sendDispatchMessage): ditto
3669
3670         * lyx_main.C (defaultKeyBindings): adjust keybindings
3671         (deadKeyBindings): ditto
3672
3673         * kbsequence.C (addkey): return a FuncRequest
3674
3675         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3676
3677         * kbmap.C (bind): take a FuncRequest as arg, adjust
3678         (read): adjust
3679         (lookup): adjust
3680         (defkey): change to take a FuncRequest as arg, adjust
3681         (findbinding): take a FuncRequest as arg, adjust.
3682
3683         * funcrequest.h (operator=): added
3684
3685         * funcrequest.C (FuncRequest): default kb_action changed from
3686         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3687
3688         * buffer.C (dispatch): simplify
3689         (dispatch): adjust to take a FuncRequest as arg, adjust
3690
3691         * boost.C (assertion_failed): change assertion message slightly
3692
3693         * ToolbarBackend.C (read): simplify
3694
3695         * MenuBackend.C (binding): adjust call to findbinding, add a
3696         message if no binding is found.
3697         (read): simplify
3698         (expandToc): correct by adding a empty FuncRequest
3699
3700         * LyXAction.C: include <boost/assert.hpp>
3701         (isPseudoAction): delete function
3702         (LookupFunc): change name to...
3703         (lookupFunc): this. change return type to FuncRequest.
3704         (getActionName): take kb_action as arg, simplify
3705         (funcHasFlag): add an assert, simplify.
3706
3707 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3708
3709         * toc.C (action): return a FuncRequest, simplify
3710
3711         * lyxfunc.C (processKeySym): adjust
3712         (getStatus): delete version that takes an int.
3713         (getStatus): adjust
3714         (dispatch): delete version that takes action as int
3715         (dispatch): adjust
3716         (sendDispatchMessage): simplify and adjust
3717
3718         * funcrequest.C (getArg): take unsigned int as arg
3719
3720         * ToolbarBackend.C (read): adjust
3721         (add): delete version that takes func as a string.
3722         (getIton): take a FuncRequest as arg
3723
3724         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3725         action.
3726
3727         * MenuBackend.C (MenuItem): add a new construct that only takes a
3728         Kind, simplify the constructor use for submenus.
3729         (add): adjust
3730         (expandLastfiles): adjust
3731         (expandDocuments): adjust
3732         (expandFormats): adjust
3733         (expandFloatListInsert): adjust
3734         (expandFloatInsert): adjust
3735         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3736
3737         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3738         Remove class variables lyx_pseudo_map and lyx_arg_map
3739
3740         * LyXAction.C (searchActionArg): delete function
3741         (getPseudoAction): delete function
3742         (retrieveActionArg): delete function
3743         (LookupFunc): make it return kb_action, simplify.
3744         (getActionName): simplify
3745
3746         * factory.C (createInset): fix new bug
3747
3748 2003-09-19  Angus Leeming  <leeming@lyx.org>
3749
3750         * CutAndPaste.C (pasteSelection): remove fudge used to set the
3751         masterFilename_ parameter in the include inset.
3752
3753         * factory.C (createInset): changes due to the changes to InsetInclude.
3754
3755 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3756
3757         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3758
3759 2003-09-18  Angus Leeming  <leeming@lyx.org>
3760
3761         * buffer.C:
3762         * BufferView.C: pass the buffer when calling Inset::getLabelList,
3763         Inset::fillWithBibKeys.
3764         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3765
3766 2003-09-18  Angus Leeming  <leeming@lyx.org>
3767
3768         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3769         variables.
3770         (ctor): pass and store a 'Buffer const &'
3771         (buffer): new member function.
3772
3773         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3774         '*this' to the LaTeXFeatures ctor.
3775
3776 2003-09-18  Angus Leeming  <leeming@lyx.org>
3777
3778         * LColor.h:
3779         * lyxfont.C:
3780         * lyxfont.h:
3781         * lyxtext.h:
3782         * text.C: rename EnumLColor as LColor_color.
3783
3784 2003-09-18  Angus Leeming  <leeming@lyx.org>
3785
3786         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3787         remove #include "insets/insetbase.h" from cursor.h.
3788
3789 2003-09-18  Angus Leeming  <leeming@lyx.org>
3790
3791         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3792         InsetOld_code to remove #include "inset.h".
3793
3794         * iterators.C: add #include "insets/inset.h"
3795
3796 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
3797
3798         * BufferView.C: remove more locking stuff that apparently doesn't
3799         do anything sensible.
3800
3801 2003-09-16  André Pönitz  <poenitz@gmx.net>
3802
3803         * paragraph.[Ch]:
3804         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3805           performance boost.
3806
3807 2003-09-16  Angus Leeming  <leeming@lyx.org>
3808
3809         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3810
3811         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3812         arg/return type.
3813
3814         * paragraph.h: remove #include "lyxfont.h". Forward declare
3815         LyXFont_size.
3816
3817 2003-09-16  Angus Leeming  <leeming@lyx.org>
3818
3819         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3820         of support/textutils.h.
3821         (isWord): move the contents of support/textutils.h's IsWordChar here.
3822
3823         * buffer.C:
3824         * lyxfind.C:
3825         * rowpainter.C:
3826         * text.C:
3827         * text2.C: add #include "paragraph.h".
3828
3829         * rowpainter.C:
3830         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3831
3832 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3833
3834         * main.C:
3835         * lyx_main.C:
3836         * lyx_cb.C:
3837         * buffer.C:
3838         * LaTeX.C: use namespace alias for lyx::support::os
3839
3840 2003-09-16  Angus Leeming  <leeming@lyx.org>
3841
3842         * bufferparams.C:
3843         * bufferview_funcs.C:
3844         * factory.C:
3845         * lyxfunc.C:
3846         * paragraph_pimpl.C:
3847         * rowpainter.C:
3848         * text.C: add #include "LColor.h".
3849
3850 2003-09-16  Angus Leeming  <leeming@lyx.org>
3851
3852         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3853         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3854         return LyXFont &.
3855         Store the FontBits::color variable as an int rather than as an
3856         LColor::colorso that we can move LColor.h out of the lyxfont.h header
3857         file.
3858
3859         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3860         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3861         string calls together.
3862
3863         * lyxrc.C: add #include "LColor.h".
3864
3865 2003-09-15  Angus Leeming  <leeming@lyx.org>
3866
3867         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3868         a cow_ptr.
3869
3870 2003-09-15  Angus Leeming  <leeming@lyx.org>
3871
3872         * LColor.h: add an EnumLColor wrapper for LColor::color.
3873
3874         * lyxfont.[Ch] (color, setColor, realColor):
3875         * lyxtext.h, text.C (backgroundColor):
3876         pass EnumLColor args to/from the functions, rather than LColor::color
3877         ones.
3878
3879         * lyxfont.h:
3880         * lyxtext.h: forward declare EnumLColor.
3881
3882         * lyx_main.C: add #include "LColor.h".
3883
3884 2003-09-15  Angus Leeming  <leeming@lyx.org>
3885
3886         * .cvsignore: add lyx-gtk.
3887
3888 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3889
3890         * Chktex.C
3891         * LaTeX.C
3892         * LaTeXFeatures.C
3893         * ParagraphParameters.C
3894         * Spacing.C
3895         * buffer.C
3896         * bufferparams.C
3897         * bufferview_funcs.C
3898         * chset.C
3899         * counters.C
3900         * funcrequest.C
3901         * lyxfont.C
3902         * lyxgluelength.C
3903         * lyxlength.C
3904         * paragraph.C
3905         * paragraph_funcs.C
3906         * text3.C
3907         * vc-backend.C: remove usage of STRCONV
3908
3909 2003-09-15  Angus Leeming  <leeming@lyx.org>
3910
3911         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3912         explicitly define the color passed to the painter.
3913
3914 2003-09-15  Angus Leeming  <leeming@lyx.org>
3915
3916         * bufferparams.C (BufferParams): reorder member initializers to avoid
3917         compiler warning.
3918
3919 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
3920
3921         * CutAndPaste.C (pasteSelection): remove an outdated #warning
3922         * text.C (updateRowPositions): remove an unusual nop
3923
3924 2003-09-12  André Pönitz  <poenitz@gmx.net>
3925
3926         * BufferView_pimpl.C:
3927         * Bullet.C:
3928         * layout.h:
3929         * lyxfunc.C:
3930         * lyxlayout.[Ch]:
3931         * lyxtextclass.C:
3932         * rowpainter.C:
3933         * text.C:
3934         * text2.C:
3935         * Counters.[Ch]: finish the 'automatic counters' job
3936
3937 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3938
3939         * aspell.C: include <boost/assert.cpp> (compile fix)
3940
3941 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
3942
3943         * boost.C (assertion_failed): use lyx::support::abort instead of
3944         assert.
3945
3946 2003-09-10  Angus Leeming  <leeming@lyx.org>
3947
3948         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3949         with their _fwd progeny.
3950
3951 2003-09-09  Angus Leeming  <leeming@lyx.org>
3952
3953         134 files throughtout the source tree: replace 'using namespace abc;'
3954         directives with the appropriate 'using abc::xyz;' declarations.
3955
3956 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3957
3958         * boost.C (emergencyCleanup): moved here from LAssert.c
3959         (assertion_failed): new function, called by BOOST_ASSERT
3960
3961         * several files: change Assert to BOOST_ASSERT
3962
3963 2003-09-09  Angus Leeming  <leeming@lyx.org>
3964
3965         * buffer.[Ch]: Add an Impl class and move Buffer's member
3966         variables into it. As a result move several header files out of
3967         buffer.h.
3968
3969         Add header files to lots of .C files all over the tree as a result.
3970
3971 2003-09-09  Angus Leeming  <leeming@lyx.org>
3972
3973         * buffer.[Ch]: make Buffer's member variables private. Add
3974         accessor functions.
3975
3976         Lots of changes all over the tree as a result.
3977
3978 2003-09-08  Angus Leeming  <leeming@lyx.org>
3979
3980         * graph.C: #include <config.h>.
3981
3982 2003-09-08  Angus Leeming  <leeming@lyx.org>
3983
3984         * BranchList.C:
3985         * BufferView.C:
3986         * BufferView_pimpl.C:
3987         * CutAndPaste.C:
3988         * DepTable.C:
3989         * LaTeX.C:
3990         * LaTeXFeatures.C:
3991         * LyXAction.C:
3992         * MenuBackend.C:
3993         * TextCache.C:
3994         * aspell.C:
3995         * buffer.C:
3996         * bufferlist.C:
3997         * changes.C:
3998         * chset.C:
3999         * converter.C:
4000         * counters.C:
4001         * debug.C:
4002         * graph.C:
4003         * ispell.C:
4004         * lyx_cb.C:
4005         * lyxfind.C:
4006         * lyxfunc.C:
4007         * lyxlex_pimpl.C:
4008         * lyxrc.C:
4009         * lyxrow.C:
4010         * paragraph.C:
4011         * rowpainter.C:
4012         * texrow.C:
4013         * text.C:
4014         * text2.C:
4015         * toc.C: remove redundant using directives.
4016
4017 2003-09-07  Angus Leeming  <leeming@lyx.org>
4018
4019         * LaTeXFeatures.h: remove #include "support/types.h".
4020         * ToolbarBackend.h: remove #include <algorithm>.
4021         * changes.h: remove #include <ctime>.
4022         * debug.h: remove #include <iosfwd>.
4023         * graph.h: remove #include "support/std_string.h".
4024         * lyx_main.h: remove #include <csignal>.
4025         * lyxlex_pimpl.h: remove #include <fstream>.
4026         * sgml.h: remove #include <algorithm>, <utility>.
4027         * toc.h: remove #include "support/std_ostream.h".
4028         Add #include <iosfwd>.
4029
4030 2003-09-07  Angus Leeming  <leeming@lyx.org>
4031
4032         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4033
4034         * converter.h: forward declare LatexRunParams.
4035         * encoding.h: remove #include "lyxrc.h".
4036         * lyxtext.h: remove #include "LColor.h".
4037         * lyxtextclass.h: remove #include "support/types.h".
4038         * trans.h: remove #include "tex-accent.h".
4039         * trans_mgr.h: remove #include "tex-accent.h".
4040         * insets/inset.h: remove #include "support/types.h", <vector>.
4041         * insets/insetcollapsable.h: remove #include "LColor.h".
4042         * insets/insetinclude.h: remove #include "dimension.h".
4043         * insets/insetlatexaccent.h: remove #include "dimension.h".
4044         * insets/insetoptarg.h:: remove #include "insettext.h".
4045         * insets/insettext.h: remove #include "dimension.h",
4046         <boost/shared_ptr.hpp>
4047
4048         * insets/renderers.h: add #include "dimension.h".
4049         * insets/updatableinset.h: add #include "support/types.h".
4050
4051         * many .C files: Associated changes.
4052
4053 2003-09-06  Angus Leeming  <leeming@lyx.org>
4054
4055         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4056         one, inside testInvariant.
4057
4058         * PrinterParams.C: new file.
4059         * PrinterParams.[Ch]: move the function bodies out of line.
4060
4061 2003-09-06  Angus Leeming  <leeming@lyx.org>
4062
4063         * ParagraphParameters.h: forward declare ParameterStruct rather than
4064         including its header file.
4065         (depth): moved out-of-line.
4066
4067 2003-09-06  Angus Leeming  <leeming@lyx.org>
4068
4069         * BufferView_pimpl.h:
4070         * kbmap.h:
4071         * kbsequence.h:
4072         * lyxfunc.h: forward declare LyXKeySym rather than
4073         #include "frontends/LyXKeySym.h".
4074
4075         * BufferView_pimpl.C:
4076         * kbmap.C:
4077         * kbsequence.C:
4078         * lyxfunc.C: associated changes.
4079
4080 2003-09-06  Angus Leeming  <leeming@lyx.org>
4081
4082         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4083         As a result, can remove the #include "insets/inset.h" from BufferView.h
4084
4085 2003-09-06  Angus Leeming  <leeming@lyx.org>
4086
4087         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4088         As a result, can remove the #include "insets/inset.h" from BufferView.h
4089
4090 2003-09-06  Angus Leeming  <leeming@lyx.org>
4091
4092         * buffer_funcs.C:
4093         * buffer.h:
4094         * bufferlist.C:
4095         * BufferView.C:
4096         * bufferview_funcs.C:
4097         * BufferView_pimpl.C:
4098         * CutAndPaste.C:
4099         * lyx_cb.C:
4100         * lyxfunc.C:
4101         * paragraph.h:
4102         * ParagraphParameters.C:
4103         * tabular.C:
4104         * text3.C:
4105         * toc.C:
4106         * undo_funcs.C:
4107         * frontends/controllers/ControlDocument.C:
4108         * insets/insetcaption.C: rearrange the #includes into some sort of
4109         coherent order.
4110
4111         * buffer.h: remove #includes ErrorList.h, undo.h
4112
4113 2003-09-06  Angus Leeming  <leeming@lyx.org>
4114
4115         * support/types.h: add a 'depth_type' typedef, used to store the
4116         nesting depth of a paragraph.
4117
4118         * paragraph.h:
4119         * ParameterStruct.h: use this lyx::depth_type typedef rather than
4120         defining explicitly.
4121
4122         * buffer.h:
4123         * paragraph_funcs.h:
4124         * ParagraphParameters.h:
4125         * sgml.h: use lyx::depth_type rather than Paragraph or
4126         ParameterStruct's depth_type.
4127
4128         * buffer.h
4129         * paragraph_funcs.h: no need to #include paragraph.h anymore.
4130
4131         * BufferView.C:
4132         * BufferView_pimpl.C:
4133         * CutAndPaste.C:
4134         * ParagraphParameters.C:
4135         * buffer_funcs.C:
4136         * bufferlist.C:
4137         * bufferview_funcs.C:
4138         * lyx_cb.C:
4139         * lyxfunc.C:
4140         * tabular.C:
4141         * text3.C:
4142         * toc.C:
4143         * undo_funcs.C:
4144         * frontends/LyXView.C:
4145         * frontends/controllers/ControlDocument.C:
4146         * frontends/controllers/ControlErrorList.C:
4147         * insets/insetbibitem.C:
4148         * insets/insetbranch.C:
4149         * insets/insetcaption.C:
4150         * insets/insetcollapsable.C:
4151         * insets/insetenv.C:
4152         * insets/insetert.C:
4153         * insets/insetfloat.C:
4154         * insets/insetfoot.C:
4155         * insets/insetfootlike.C:
4156         * insets/insetnewline.C:
4157         * insets/insetquotes.C:
4158         * insets/insettabular.C:
4159         * insets/insettext.C:
4160         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4161
4162         * frontends/controllers/ControlChanges.C: #include "changes.h".
4163
4164 2003-09-06  Angus Leeming  <leeming@lyx.org>
4165
4166         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4167         than #including paragraph.h.
4168
4169         * ParagraphList.h:
4170         * RowList.h: deleted. Superfluous.
4171
4172         * CutAndPaste.h:
4173         * iterators.h:
4174         * lyxcursor.h:
4175         * lyxtext.h:
4176         * text_funcs.h:
4177         * undo.h:
4178         * undo_funcs.h:
4179         * insets/inset.h:
4180         * insets/insettext.h: use ParagraphList_fwd.h rather than
4181         ParagraphList.h.
4182
4183         * paragraph.h: don't forward declare ParagraphList.
4184
4185         * buffer.h:
4186         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4187         rather than ParagraphList.h. paragraph.h is still needed for the
4188         Paragraph::depth_type parameters.
4189
4190         * textcursor.h: enable it to compile stand-alone in light of the
4191         above changes.
4192
4193         * bufferview_funcs.C:
4194         * iterators.C:
4195         * lyxfunc.C:
4196         * lyxrow_funcs.C:
4197         * paragraph.C:
4198         * rowpainter.C:
4199         * text.C:
4200         * text2.C:
4201         * text3.C:
4202         * text_funcs.C:
4203         * textcursor.C:
4204         * undo.C:
4205         * frontends/controllers/ControlParagraph.C:
4206         * frontends/controllers/ControlTabular.C:
4207         * insets/insetmarginal.C:
4208         * insets/insetminipage.C:
4209         * insets/insetnote.C:
4210         * insets/insetoptarg.C: add header files needed to compile again.
4211
4212 2003-09-06  Angus Leeming  <leeming@lyx.org>
4213
4214         * RowList_fwd.h: new file, forward-declaring Row rather than
4215         #including lyxrow.h.
4216
4217         * lyxrow_funcs.h:
4218         * lyxtext.h:
4219         * paragraph.h:
4220         * insets/insettext.h: use it instead of RowList.h
4221
4222         * bufferview_funcs.C:
4223         * lyxfunc.C:
4224         * lyxrow_funcs.C:
4225         * paragraph.C:
4226         * rowpainter.C:
4227         * text.C:
4228         * text2.C:
4229         * text3.C: #include "RowList.h".
4230
4231 2003-09-05  Angus Leeming  <leeming@lyx.org>
4232
4233         * factory.C (createInset):
4234         * vspace.C (c-tor): replace sscanf call with an istringstream.
4235         * ispell.C: re-add missing HP/UX headers.
4236         * lyxserver.C: re-add missing  os2 headers.
4237
4238 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
4239
4240         * BranchList.C:
4241         * graph.C:
4242         * ispell.C:
4243         * lastfiles.C:
4244         * lyx_cb.C:
4245         * lyxserver.C:
4246         * texrow.C:
4247         * text3.C: re-add missing system headers, needed for 2.95.2.
4248
4249 2003-09-05  Angus Leeming  <leeming@lyx.org>
4250
4251         Changes most place everywhere due to the removal of using directives
4252         from support/std_sstream.h.
4253
4254 2003-09-05  Angus Leeming  <leeming@lyx.org>
4255
4256         Replace LString.h with support/std_string.h,
4257         Lsstream.h with support/std_sstream.h,
4258         support/LIstream.h with support/std_istream.h,
4259         support/LOstream.h with support/std_ostream.h.
4260
4261         Changes resulting throughout the tree.
4262
4263 2003-09-05  Angus Leeming  <leeming@lyx.org>
4264
4265         * sgml.h: ensure that the header file can be compiled stand-alone.
4266         * *.C: strip out redundant #includes. (320 in total.)
4267
4268 2003-09-04  Angus Leeming  <leeming@lyx.org>
4269
4270         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4271         here (from getPackages).
4272
4273         * debug.[Ch]: add a new EXTERNAL tag.
4274
4275 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4276
4277         * text2.C (cursorEnd): simplify
4278         (setCursor): adjust
4279         (getColumnNearX): adjust
4280
4281         * text.C (computeBidiTables): adjust
4282         (fill): adjust
4283
4284         * rowpainter.C (paintChars): adjust
4285         (paintSelection): adjust
4286         (paintChangeBar): adjust
4287         (paintText): adjust
4288
4289         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4290         lastPos instead.
4291         (numberOfSeparators): adjust
4292
4293 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4294
4295         * LyXAction.C:
4296         * box.[Ch]:
4297         * lfuns.h:
4298         * lyxfunc.C:
4299         * text3.C: Restricts the mouse click functionality
4300         of insets like bibtex, include, toc and floatlist to the visible
4301         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4302         up the dialogs. Cursor has to be in front of the inset (i.e.
4303         start of row) for this to function.
4304
4305 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4306
4307         * bufferview_funcs.C (currentState): output row information
4308
4309 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4310
4311         * bufferview_funcs.C (currentState): output paragraph position
4312
4313 2003-09-04  Angus Leeming  <leeming@lyx.org>
4314
4315         * FloatList.h: move out #include "Floating.h".
4316         * LaTeX.h: move out #include "DepTable.h".
4317         * LyXAction.h: move out #include "funcrequest.h".
4318         * buffer.h: move out #include "author.h", "iterators.h".
4319         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4320         * lyx_main.h: move out #include "errorlist.h".
4321         * lyxfunc.h: move out #include "FuncStatus.h".
4322         * lyxtext: move out #include "lyxcursor.h".
4323         * paragraph_pimpl.h: move out #include "counters.h".
4324
4325 2003-09-03  Angus Leeming  <leeming@lyx.org>
4326
4327         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4328         preamble_snippets list, enabling us to add snippets to the preamble
4329         only if the snippet was not there already.
4330
4331 2003-09-04  Angus Leeming  <leeming@lyx.org>
4332
4333         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4334
4335 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4336
4337         * lyxfunc.C (dispatch): if fitCursor did something be sure to
4338         update
4339
4340 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4341
4342         * BranchList.C: point fix, earlier forgotten
4343
4344 2003-09-02  Angus Leeming  <leeming@lyx.org>
4345
4346         * box.C (contains): renamed from 'contained' after a fantastic
4347         amount of hot air.
4348
4349 2003-09-02  John Levon  <levon@movementarian.org>
4350
4351         * BufferView.C:
4352         * lyxcursor.h:
4353         * lyxcursor.C:
4354         * lyxfunc.C:
4355         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4356
4357 2003-09-02  John Levon  <levon@movementarian.org>
4358
4359         * text2.C: simplification of cursorEnd(), including partial
4360         fix for bug 1376
4361
4362 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4363
4364         * buffer.C (readFile): add a space
4365
4366 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
4367
4368         * BufferView_pimpl.C (update): remove bogus fitCursor() call
4369
4370 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4371
4372         * buffer.C (readFile): new function, take a filename and a
4373         ParagraphList::iterator
4374         (readFile): adjust
4375         (readFile): adjust, make it private. don't use setStream, make
4376         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4377         always contain the filename.
4378
4379         * BufferView.C (insertLyXFile): simplify and make it work for
4380         gzipped files.
4381
4382 2003-08-30  John Levon  <levon@movementarian.org>
4383
4384         * Makefile.am: fix dist (from Kayvan)
4385
4386 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4387
4388         * most files: change to use const Buffer refs
4389
4390 2003-08-27  André Pönitz  <poenitz@gmx.net>
4391
4392         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4393         on top of ownerPar().
4394
4395 2003-08-27  John Levon  <levon@movementarian.org>
4396
4397         * funcrequest.C: properly initialise POD members
4398
4399 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4400
4401         * lyxtext.h (top_y): move top_y from here
4402         * text.C:
4403         * text2.C:
4404         * text3.C:
4405         * BufferView.[Ch]:
4406         * BufferView_pimpl.[Ch]: to here
4407         * frontends/screen.C:
4408         * insets/insettabular.C:
4409         * insets/insettext.C: adjust
4410         * rowpainter.[Ch] (paintRows): remove LyXText & argument
4411
4412 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4413
4414         * BufferView.[Ch]:
4415         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4416
4417 2003-08-26  André Pönitz  <poenitz@gmx.net>
4418
4419         * paragraph_func.[Ch] (outerPar): new function
4420
4421         * paragraph.C:
4422         * paragraph_funcs.C:
4423         * paragraph_funcs.h:
4424         * paragraph_pimpl.C:
4425         * text2.C: remove Inset::par_owner
4426
4427 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
4428
4429         * lyxrow_funcs.C:
4430         * lyxtext.h:
4431         * text.C:
4432         * text2.C: eliminates the needFullRow/display() stuff
4433         altogether, putting the logic in metrics/draw in the insets.
4434
4435 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
4436
4437         * text2.C (redoParagraphInternal, redoParagraphs):
4438         * text.C (redoParagraph): add a call to updateRowPositions at the
4439         end of each 'metrics-like' call. Remove all others.
4440         (getRow): remove the 'y-computing' version.
4441         (getRowNearY): do not compute nor return the real y. Solve the
4442         'y < 0' problem and simplify.
4443
4444 2003-08-22  Angus Leeming  <leeming@lyx.org>
4445
4446         * *.[Ch]: clean-up of licence and author blurbs.
4447         Also move config.h out of a few .h files and into a few .C files.
4448
4449 2003-08-22  André Pönitz  <poenitz@gmx.net>
4450
4451         * lyxrow.[Ch]: add x_ and *fill_ members
4452
4453         * lyxtext.h:
4454         * text.C:
4455         * rowpainter.C:
4456         * text2.C: adjust/remove prepareToPrint() calls
4457
4458 2003-08-22  André Pönitz  <poenitz@gmx.net>
4459
4460         * lyxrow.[Ch]: add  end_ member
4461
4462         * lyxrow_funcs.C: use LyXRow::end_
4463
4464         * lyxtext.h (singleWidth): add LyXFont parameter
4465
4466         * rowpainter.C:
4467         * text2.C: adjust LyXText::singleWidth() calls
4468
4469         * text.C (redoParagraph): simplify row breaking logic
4470
4471
4472 2003-08-19  André Pönitz  <poenitz@gmx.net>
4473
4474         * funcrequest.C: initialize button_ member
4475
4476         * text3.C:
4477         * rowpainter.[Ch]: interface consolidation
4478
4479 2003-08-18  André Pönitz  <poenitz@gmx.net>
4480
4481         * BufferView.C:
4482         * BufferView_pimpl.C:
4483         * lyxfind.C:
4484         * paragraph_funcs.C:
4485         * rowpainter.C:
4486         * text3.C: remove LyXScreen::draw() and fitCursor calls
4487
4488         * BranchList.h: remove spurious semicolons
4489
4490         * MenuBackend.C: fix branchlist related crash
4491
4492 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
4493
4494         * BranchList.[Ch]:
4495         * InsetList.[Ch]:
4496         * LColor.[Ch]:
4497         * LyXAction.C:
4498         * Makefile.am:
4499         * MenuBackend.[Ch]:
4500         * bufferparams.[Ch]:
4501         * factory.C:
4502         * lfuns.h:
4503         * lyxfunc.C:
4504         * text3.C: implements the 'branch inset'
4505         idea. This allows the output of various versions of a document
4506         from a single source version, selectively outputing or suppressing
4507         output of parts of the text.
4508         This implementation contains a 'branch list editor' in a separate
4509         tab of the document settings dialog. Branches are user definable
4510         and have a "display colour" to distinguish them on-screen.
4511
4512         ColorHandler was somewhat cleaned up.
4513         (1) make possible a dynamically growing LColor list by allowing
4514         the graphic context cache to grow along (vector);
4515         (2) eliminate an IMHO unnecessary step in colour allocation.
4516
4517 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
4518
4519         * BufferView_pimpl.C: compile fix
4520
4521 2003-08-15  André Pönitz  <poenitz@gmx.net>
4522
4523         * rowpainter.C: remove extra metrics calls
4524
4525         * lyxtext.h: merge the two constructors into a single one,
4526           pass reference to owner's par list
4527
4528         * BufferView_pimpl.C:
4529         * text.C:
4530         * text2.C: adjust
4531
4532 2003-08-15  André Pönitz  <poenitz@gmx.net>
4533
4534         * lyxrow_funcs.[Ch]:
4535         * lyxtext.h:
4536         * paragraph.h:
4537         * paragraph_funcs.C:
4538         * rowpainter.C:
4539         * text.C:
4540         * text2.C:
4541         * text3.C:
4542         * text_funcs.C: split LyXText::rowlist_ into individual
4543         Paragraph::rows_ chunks
4544
4545         * BufferView.[Ch]:
4546         * BufferView_pimpl.[Ch]:
4547         * lyxfind.C:
4548         * lyxtext.h:
4549         * text3.C: remove toggleSelection()
4550
4551 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
4552
4553         * bufferlist.C: beautify two alerts (shorter text of buttons)
4554         * buffer.C: Remove redundant ' ' from message
4555         * tabular.h:
4556         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4557         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4558         rename VALIGN_CENTER to VALIGN_MIDDLE
4559
4560 2003-08-11  André Pönitz  <poenitz@gmx.net>
4561
4562         * lyxtext.h (getPar):
4563         * text.C: new function
4564
4565 2003-08-11  André Pönitz  <poenitz@gmx.net>
4566
4567         * Makefile.am:
4568         * tracer.[Ch]: remove unneeded files
4569
4570         * InsetList.[Ch]: remove resizeInsetsLyXText()
4571
4572         * lyxtext.h:
4573         * text.C:
4574         * text2.C:
4575         * text3.C: merge insertParagraphs() and appendParagraph()
4576         remove breakAgain(), update()
4577
4578         * BufferView_pimpl.[Ch]:
4579         * bufferview_funcs.[Ch]:
4580         * lyxfunc.C:
4581         * paragraph.[Ch]:
4582         * rowpainter.C:
4583         * tabular.C: adjust after text & InsetList changes.
4584
4585 2003-08-08  André Pönitz  <poenitz@gmx.net>
4586
4587         * text.C (insertChar, backspace): replace rowlist fiddling
4588         with rebreak of full par
4589
4590         * lyxtext.h:
4591         * text.C (breakAgainOneRow, redoHeightOfParagraph,
4592         checkParagraph, updateInset): removed
4593
4594 2003-08-07  André Pönitz  <poenitz@gmx.net>
4595
4596         * paragraph.C:
4597         * text3.C: merge some LFUN handlers, remove dead code
4598
4599 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4600
4601         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4602
4603 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
4604
4605         * text2.C (DEPM): fix part of bug 1255 and 1256
4606
4607 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4608
4609         * BufferView_pimpl.C (workAreaDispatch): change to use
4610         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4611         that are no mouse related.
4612
4613 2003-08-05  André Pönitz  <poenitz@gmx.net>
4614
4615         * BufferView.[Ch]:
4616         * BufferView_pimpl.[Ch]:
4617         * bufferview_funcs.C:
4618         * text2.C:
4619         * text3.C: rip out "deep update"
4620
4621         * textcursor.[Ch] (last_sel_cursor): remove unused member
4622
4623 2003-08-04  André Pönitz  <poenitz@gmx.net>
4624
4625         * BufferView.[Ch]:
4626         * BufferView_pimpl.[Ch]:
4627         * ParagraphParameters.C:
4628         * bufferview_funcs.C:
4629         * lyx_cb.C:
4630         * lyxfind.C:
4631         * lyxfunc.C:
4632         * text.C:
4633         * text2.C:
4634         * text3.C: replace "complicated" BufferView::update(...) calls with
4635         simpler ones.
4636
4637         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4638
4639 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
4640
4641         * Makefile.am (lyx_SOURCES): add paper.h
4642
4643 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4644
4645         * Makefile.am: move things around so that both lyx-qt and
4646         lyx-xforms can be built (according to --with-frontend). Then lyx
4647         is a symbolic link to lyx-[firstfrontend]
4648
4649 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
4650
4651         * Always use std::endl with lyxerr
4652
4653 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
4654
4655         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4656
4657 2003-08-01  André Pönitz  <poenitz@gmx.net>
4658
4659         * BufferView.[Ch]:
4660         * BufferView_pimpl.[Ch]:
4661         * lyxfunc.C:
4662         * text3.C: merge BufferView::repaint() and BufferView::update()
4663
4664 2003-08-01  José Matos  <jamatos@lyx.org>
4665
4666         * buffer.[Ch]: file_format is no longer a buffer data element.
4667
4668 2003-08-01  André Pönitz  <poenitz@gmx.net>
4669
4670         * BufferView.C:
4671         * lyxtext.h:
4672         * text.C:
4673         * text2.C: make redoParagraph more independent of current cursor
4674
4675         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4676         * text.C:
4677         * text2.C: remove unneeded members
4678
4679 2003-07-30  André Pönitz  <poenitz@gmx.net>
4680
4681         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4682
4683         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4684           create a single function...
4685
4686         * paragraph_funcs.C (moveItem): ... here.
4687
4688         * text.C:
4689           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4690
4691 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
4692
4693         * LColor.[Ch]: Add comment and greyedout logical colors.
4694
4695 2003-07-30  André Pönitz  <poenitz@gmx.net>
4696
4697         * tabular.C: don't use Assert too heavily. This crashes where it
4698           shouldn't
4699
4700 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
4701
4702         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4703         is disabled (bug 1232)
4704
4705 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4706
4707         * factory.C: limited 'arg' scope
4708
4709 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4710
4711         * factory.C: fixed Note submenu issues
4712
4713 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4714
4715         * factory.C: submenu for Note/Comment/Greyedout
4716
4717 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
4718
4719         * lyx_main.C (LyX):
4720         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4721
4722 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
4723
4724         * LaTeXFeatures.C:
4725         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4726         greyedout. Patch provided by Jürgen Spitzmüller.
4727
4728 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4729
4730         * kbmap.C (read): fix error message when reading bind files
4731
4732 2003-07-29  Angus Leeming  <leeming@lyx.org>
4733
4734         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4735         certainly does not do what it purports to do. I am doing it, and
4736         us, a favour by killing it.
4737
4738 2003-07-28  José Matos  <jamatos@lyx.org>
4739
4740         * buffer.C (readBody, do_writeFile):
4741         * paragraph.C(readParagraph): \end_document replaces \the_end.
4742
4743 2003-07-29  André Pönitz  <poenitz@gmx.net>
4744
4745         * BufferView.[Ch]:
4746         * BufferView_pimpl.[Ch]:
4747         * lyxfunc.C:
4748         * text2.C:
4749         * text3.C:
4750         * textcursor.[Ch]: remove toggleToggle & Co
4751
4752 2003-07-28  José Matos  <jamatos@fep.up.pt>
4753
4754         * buffer.C (readParagraph):
4755         * params_func (readParToken, readParagraph):
4756         * paragraph.C (write): \layout -> \begin_layout.
4757
4758 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4759
4760         * lyxlex_pimpl.C (setFile): clean up slightly.
4761
4762         * bufferparams.h: add compressed var
4763
4764         * buffer_funcs.C (readFile): adjust for LyXLex change
4765         (newFile): ditto + simplify
4766
4767         * buffer.C (writeFile): handle writing of compressed files
4768
4769         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4770         Check if the file is compressed and set a bufferparm if so.
4771
4772         * Makefile.am (lyx_LDADD): remove explicit -lz
4773
4774 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4775
4776         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4777         makeDocBookFile): put the real LyX version in the first line of
4778         the file
4779
4780         * version.h:
4781         * version.C.in: remove lyx_docversion
4782
4783         * tabular.C (write_attribute): add a template-based version to
4784         write enums properly
4785
4786 2003-07-28  André Pönitz  <poenitz@gmx.net>
4787
4788         * lyxtext.h:
4789         * text.C:
4790         * text2.C:
4791         * text3.C: use doubles again for x-coordinates. They are needed.
4792
4793 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4794
4795         * messages.C (getLocaleDir): use lyx_localedir()
4796
4797         * lyxlex_pimpl.C (setFile): compress stuff
4798
4799         * buffer.C (writeFile): add some compression stuff
4800         (do_writeFile): new func, dont call expliti close... will this
4801         breake anything?
4802
4803         * Makefile.am (lyx_LDADD): add -lz
4804
4805 2003-07-28  José Matos  <jamatos@fep.up.pt>
4806
4807         * buffer.C: increment file format.
4808         * paragraph_funcs (readParagraph, readParToken):
4809         * paragraph.C (readParagraph): add \end_layout.
4810
4811 2003-07-27  Angus Leeming  <leeming@lyx.org>
4812
4813         * Makefile.am: remove special casing for configure-time setting of
4814         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4815
4816         * lyx_main.C (init): remove all Jean-Marc's magic setting of
4817         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4818
4819 2003-07-26  André Pönitz  <poenitz@gmx.net>
4820
4821         * paragraph_func.[Ch]:
4822         * paragraph.C (realizeFont): inline it whereever it is used
4823
4824         * rowpainter.C:
4825         * text.C:
4826         * text2.C:
4827         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4828
4829
4830 2003-07-26  André Pönitz  <poenitz@gmx.net>
4831
4832         *       lyxtext.h:
4833         * text.C:
4834         * text2.C: get rid of LyXText::need_break_row
4835
4836 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4837
4838         * toc.[Ch]: put namespace toc inside namespace lyx
4839
4840         * MenuBackend.C (expandToc2): adjust for lyx::toc
4841         (expandToc): ditto
4842
4843         * lyxfunc.C (dispatch): adjust for lyx::find
4844
4845         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4846         lyx::find instead. Reorganize a bit.
4847         (LyXReplace): rename to replace
4848         (LyXFind): rename to find
4849
4850         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4851         (dispatch): ditto
4852
4853 2003-07-26  André Pönitz  <poenitz@gmx.net>
4854
4855         * text.C (setHeightOfRow): restrict scope of temporary variable
4856
4857         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
4858           code (never has been used?)
4859
4860 2003-07-27  Asger Alstrup  <alstrup@local>
4861
4862         * text.C (fill): Optimise algorithm to exploit that we can reuse
4863         the LyXFont for many characters.
4864         (setHeightOfRow): Same thing.
4865         (rowBreakPoint): Same thing.
4866
4867 2003-07-26  Asger Alstrup  <alstrup@local>
4868
4869         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4870
4871         * text.C (singleWidth): Spurious font copying in hot-spot
4872         singleWidth avoided. Reorder tests for arabic for efficiency.
4873
4874         * text.C (fill): handle empty paragraphs better.
4875
4876 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4877
4878         * ispell.C:
4879         * encoding.h: add includes
4880
4881         * lyxrc.C: remove reading of bind files
4882
4883         * lyx_main.C (init): setup bindings and menus only if we have a
4884         gui.
4885
4886         * kbmap.C (read): new method. Do the actual reading of bind
4887         files.
4888
4889         * converter.C (dvipdfm_options):
4890         * bufferparams.C:
4891         * lyxrc.C (read):
4892         (output): adapt PAPER_* enums.
4893
4894         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4895
4896         * bufferparams.h: remove paper-related enums from there
4897
4898         * paper.h: New file. A trivial header file to hold paper-related
4899         enums. It should later expand to contain many paper-related
4900         horrors access.
4901
4902         * lyxrc.C: declare extern displayTranslator
4903
4904 2003-07-27  José Matos  <jamatos@fep.up.pt>
4905
4906         * tabular.[Ch] (linuxdoc): add support for tables and figures
4907         (linuxdoc).
4908
4909 2003-07-27  José Matos  <jamatos@fep.up.pt>
4910
4911         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4912         consistency in both functions.
4913         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4914
4915 2003-07-26  Asger Alstrup  <alstrup@local>
4916
4917         * rowpainter.C (paintRows): Change algorithm to work directly on
4918         the insets rather than asking every character in the document
4919         whether its an inset.
4920
4921 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
4922
4923         * buffer.C (openFileWrite): factorize some code
4924
4925 2003-07-26  Angus Leeming  <leeming@lyx.org>
4926
4927         * lyx_cb.C:
4928         * lyx_main.[Ch]: replace occurances of system_tempdir with
4929         os::getTmpDir().
4930
4931 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4932
4933         * rename Inset to InsetOld
4934
4935 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
4936
4937         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4938         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4939         which I think is a bit clearer. EDIT is gone, since it was
4940         premature optimisation, and broken for mathed anyway.
4941         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4942         with cursor positioning in insets as well (math insets still do not
4943         work, but that's a different story anyway.) It mysteriously
4944         crashes sometimes with undo in the first paragraph, but I'm fairly
4945         confident that this is a compiler bug.
4946
4947 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4948
4949         * paragraph.C (Paragraph): adjust for new clone return type
4950         (operator==): ditto
4951         (copyIntoMinibuffer): ditto
4952
4953 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
4954
4955         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4956         by not having a special case, and always doing a full rebreak of
4957         the document after undo.
4958
4959 2003-07-23  Angus Leeming  <leeming@lyx.org>
4960
4961         * factory.C (createInset): InsetExternal::setParams now takes a
4962         Buffer const * arg.
4963
4964 2003-07-23  Angus Leeming  <leeming@lyx.org>
4965
4966         * factory.C (createInset): changed interface to the external and
4967         graphics mailers' string2params functions.
4968
4969 2003-07-23  Angus Leeming  <leeming@lyx.org>
4970
4971         * factory.C (createInset): pass a
4972         Buffer const * parameter to InsetExternalMailer's string2params.
4973
4974 2003-07-22  John Levon  <levon@movementarian.org>
4975
4976         * Thesaurus.h: include the right aiksaurus header
4977
4978 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4979
4980         * MenuBackend.C (expand): check menu shortcuts unconditionally
4981
4982 2003-07-21  Angus Leeming  <leeming@lyx.org>
4983
4984         * factory.C (createInset): pass a
4985         buffer_path parameter to InsetGraphicsMailer's string2params.
4986
4987 2003-07-21  Angus Leeming  <leeming@lyx.org>
4988
4989         * BufferView_pimpl.C (buffer):
4990         * buffer.C (d-tor):
4991         * lyx_main.C (LyX):
4992         * lyxfunc.C (dispatch):
4993         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4994         rather than the grfx shortcut.
4995
4996 2003-07-21  André Pönitz  <poenitz@gmx.net>
4997
4998         * rowpainter.C: remove unused variables
4999
5000         * tabular_funcs.C:
5001         * tabular_funcs.h: move to tabular.C
5002         * Makefile.am: adjust
5003
5004         * tabular.[Ch]: basic optical cleaning
5005
5006         * author.h: pass references, not values
5007
5008 2003-07-18  André Pönitz  <poenitz@gmx.net>
5009
5010         * lyxtext.h:
5011         * metricsinfo.C:
5012         * metricsinfo.h:
5013         * rowpainter.C:
5014         * text.C:
5015         * text2.C:
5016         * text3.C: two-phase drawing for InsetText and InsetTabular
5017         some float -> int changes.
5018
5019 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5020
5021         * lyx_main.C: fix the fix
5022
5023 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5024
5025         * lyx_main.C: fix a crash in batch mode if no files specified
5026         * converter.C: ws
5027
5028 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
5029
5030         * format.[Ch] (papersize): moved to BufferParams
5031         * converter.[Ch] (dvips_options): moved to BufferParams
5032         (dvipdfm_options): moved to anon namespace
5033         * bufferparams.[Ch]: added above functions.
5034
5035 2003-07-17  André Pönitz  <poenitz@gmx.net>
5036
5037         * lyxtext.h:
5038         * rowpainter.C:
5039         * text2.C: don't call inset->update() anymore
5040
5041         * metricsinfo.[Ch]: add convenience constructor
5042
5043 2003-07-16  André Pönitz  <poenitz@gmx.net>
5044
5045         * lyxcursor.[Ch]:
5046         * lyxfunc.[Ch]:
5047         * text.C:
5048         * text2.C: replace the LyXCursor::irow_ member with
5049          on-demand computation of the value
5050
5051 2003-07-16  John Levon  <levon@movementarian.org>
5052
5053         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5054
5055 2003-07-15  André Pönitz  <poenitz@gmx.net>
5056
5057         * text.C:
5058         * text2.C: remove no more needed refresh_row
5059
5060 2003-07-15  André Pönitz  <poenitz@gmx.net>
5061
5062         * lyxtext.h:
5063         * rowpainter.C:
5064         * text2.C:
5065         * text3.C: refresh_status tristate -> need_update bool
5066
5067 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
5068
5069         * lyxtext.h (init): remove reinit argument (act as if always true)
5070         * text2.C: adjust to that
5071
5072 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5073
5074         * bufferview_funcs.[Ch]: introduce function replaceSelection()
5075         * text3.C: use it to delete selections in some cases
5076         (bugs 441, 673, 702, 954).
5077
5078 2003-07-14  André Pönitz  <poenitz@gmx.net>
5079
5080         * rowpainter.[Ch]: reduce interface
5081
5082 2003-07-14  André Pönitz  <poenitz@gmx.net>
5083
5084         * BufferView_pimpl.C:
5085         * text2.C: adjust after removing unused BufferView * argument
5086
5087 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
5088
5089         * text2.C (init): fix a crash fired on resize
5090
5091 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
5092
5093         * buffer.[Ch]: added new closing signal
5094         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5095         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5096         BufferView::Pimpl via the closing the signal
5097
5098 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
5099
5100         * buffer.[Ch]: take out all bv-related from buffer
5101         * BufferView.C:
5102         * BufferView_pimpl.[Ch]: connect to new signals
5103         * CutAndPaste.C: removed useless asserts
5104         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5105         * lyxvc.[Ch]:
5106         * vc-backend.[Ch]:
5107         * lyxfunc.C: moved view-related funciontality from vc here
5108         * paragraph.C: removed outdated comments
5109         * text.C: ws
5110
5111 2003-07-10  André Pönitz  <poenitz@gmx.net>
5112
5113         * BufferView_pimpl.C:
5114         * tabular.h:
5115         * tabular_funcs.C:
5116         * text.C:
5117         * text2.C: remove InsetText::InnerCache, clean up consequences
5118
5119 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
5120
5121         * ispell.C: fix two typos in error messages
5122
5123 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
5124
5125         * Extend Note inset to other forms of annotation like Comment
5126         and Greyedout. Right button click gives dialog.
5127
5128         Files modified or added (+):
5129
5130         * insetnote.[Ch]
5131         * FormNote.[Ch]      +
5132         * ControlNote.[Ch]   +
5133         * form_note.fd       +
5134         * Makefile.am in frontends/xforms, frontends/xforms/forms,
5135         frontends/controllers
5136         * xforms/Dialogs.C
5137         * factory.C
5138
5139 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5140
5141         * aspell.C: add missing namespace lyx::support
5142
5143 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
5144
5145         * BufferView.[Ch] (newFile): Add
5146         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5147         * LaTeX.[Ch] (message): added this signal and use it
5148         * buffer.[Ch] (busy, message): added these signals and use them
5149         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5150         * converter.C:
5151         * exporter.C:
5152         * format.C:
5153         * importer.C: use buffer signals instead of direct bv calling
5154         * lyx_cb.[Ch] (ShowMessage): removed
5155         * lyx_main.C:
5156         * lyxfunc.C:
5157         * paragraph_funcs.C:
5158         * text2.C: use buffer signals
5159
5160 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5161
5162         * introduce namespace lyx::graphics
5163
5164 2003-07-02  André Pönitz  <poenitz@gmx.net>
5165
5166         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5167
5168 2003-07-01  André Pönitz  <poenitz@gmx.net>
5169
5170         * text.C:
5171         * text2.C:
5172         * text3.C:
5173         * text_funcs.[Ch]:
5174         * textcursor.h:
5175         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5176           text*.C to text_func.C
5177
5178 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5179
5180         * introduce namespace lyx::support
5181
5182 2003-06-30  André Pönitz  <poenitz@gmx.net>
5183
5184         * Chktex.C:
5185         * funcrequest.C:
5186         * lyxtext.h:
5187         * text.C: re-enable --with-included-string
5188
5189 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5190
5191         * textcursor.C: add <config.h>
5192
5193         * text.C (getWord): remove const from word_location arg
5194
5195         * lyxvc.C (getLogFile): fix const type order
5196
5197         * lyxtext.h: remove const from word_location arg, add arg name
5198
5199         * lyxlayout.h: currect type on labeltype.
5200
5201         * importer.C: correct \file
5202
5203         * converter.C (intToFormat): use std:: on ret val, ws changes
5204
5205         * bufferlist.h: correct \file
5206
5207         * buffer.C (makeLinuxDocFile): fix const type order
5208         (makeDocBookFile): ditto
5209         (fillWithBibKeys): use std:: on stdlib args.
5210
5211         * CutAndPaste.C: fix authors.
5212         (availableSelections): use std:: on return vector
5213
5214 2003-06-27  André Pönitz  <poenitz@gmx.net>
5215
5216         * BufferView_pimpl.C:
5217         * bufferview_funcs.C:
5218         * lyxcursor.C:
5219         * lyxcursor.h:
5220         * lyxfunc.C:
5221         * lyxtext.h:
5222         * rowpainter.C:
5223         * text.C:
5224         * text2.C:
5225         * text3.C: remove LyXCursor::row_ member
5226
5227         * lyxtext.h:
5228         * text.C: rename fullRebreak() to partialRebreak() and implement
5229           a fullRebreak() that really bereks fully
5230
5231         * textcursor.h: new struct for cursor-related data
5232
5233 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
5234
5235         * lyx_main.C (LyX): get full path of document loaded on the
5236         command line
5237
5238 2003-06-26  André Pönitz  <poenitz@gmx.net>
5239
5240         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5241           remove unused/broken operator>,<,>=.
5242
5243         *       text.C: remove only use of broken operator<= in an Assert().
5244
5245 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5246
5247         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5248         moved errorlist_.clear to showErrorList
5249
5250 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5251
5252         * converter.C (scanLog, runLaTeX):
5253         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5254         move the bv->showErrorList call to the callers
5255         * lyxfunc.C: i.e. here...
5256         * text2.C: and here
5257         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5258         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5259         namespace, the second to...
5260         * buffer_funcs (BufferFormat, parseErrors): added
5261         * errorlist.C (ErrorList(TeXErrors const &)): removed
5262
5263 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5264
5265         * ToolbarBackend.C (getIcon): complain when icon cannot be found
5266
5267 2003-06-24  "Garst R. Reese" <reese@isn.net>
5268
5269         * debug.C: fix typo
5270
5271 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5272
5273         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5274
5275         * version.C.in: change docversion to 1.4
5276
5277 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
5278
5279         * buffer.C: fix a bug just introduced
5280
5281 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
5282
5283         * buffer.[Ch]: added the parseError signal and use it, removed
5284         sgmlError
5285         * BufferView.[Ch] (addError): moved to ...
5286         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5287         to the Buffer::parseError signal to catch (guess what) parse errors
5288         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5289
5290 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
5291
5292         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5293         ability to create a buffer and to return an existing one from
5294         the list. Moved these functions to...
5295         * buffer_funcs.[Ch]: added
5296         * BufferView.[Ch] (loadLyXFile): added
5297         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5298         job removed from bufferlist::loadLyXFile.
5299         * buffer.C (setReadOnly): make it work without view
5300         (i.e added an if (users))
5301
5302 2003-06-19  Angus Leeming  <leeming@lyx.org>
5303
5304         * lfuns.h:
5305         * LyXAction.C (init):
5306         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5307         with LFUN_DIALOG_SHOW <name> <data>.
5308
5309 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5310
5311         * CutAndPaste.C (availableSelections): small compilation fix for
5312         ancient (gcc 2.9x) compilers
5313
5314 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
5315
5316         * text3.C (cursorNext): add tmp var
5317
5318         * text2.C (updateCounters): for function calling out of for clause
5319         (replaceSelectionWithString): ditto
5320         (insertStringAsParagraphs): ditto
5321         (getColumnNearX): add tmp var
5322         (setCursorFromCoordinates): add tmp var
5323         (cursorDownParagraph): add tmp var
5324         (deleteEmptyParagraphMechanism): add tmp var
5325
5326         * text.C (insertChar): add tmp var
5327
5328         * rowpainter.C (paintDepthBar): add tmp var
5329
5330         * CutAndPaste.C (availableSelections): potentially check all
5331         paragraphs in a cut to fill the shown strings.
5332
5333 2003-06-18  André Pönitz  <poenitz@gmx.net>
5334
5335         * kbmap.[Ch]: use vector<> instead of list<>
5336
5337 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
5338
5339         * text3.C (dispatch): handle arg to LFUN_PASTE, call
5340         pasteSelection with index
5341
5342         * text2.C (pasteSelection): modify, call pasteSelection with index
5343
5344         * paragraph.C (asString): reimplement version with no interval to
5345         call the one with interval.
5346
5347         * lyxtext.h: add index arg to pasteSelection
5348
5349         * MenuBackend.C (MenuItem): handle PasteRecent
5350         (Menu::read::Menutags): add md_pasterecent
5351         (read): handle it
5352         (expandPasteRecent): new function
5353         (expand): use it
5354
5355         * MenuBackend.h: add PasteRecent to MenuItem::Kind
5356
5357         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5358         the limited stack
5359         (availableSelections): new function
5360
5361 2003-06-17  Angus Leeming  <leeming@lyx.org>
5362
5363         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5364
5365 2003-06-17  Angus Leeming  <leeming@lyx.org>
5366
5367         * lfuns.h:
5368         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5369
5370         * lyxfunc.C (dispatch): invoke it.
5371
5372 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5373
5374         * iterators.C (operator++, ParPosition): reintroduce some
5375         const_cast for the benefit of older compilers.
5376
5377 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5378
5379         * text3.C (dispatch): do not modify clipboard when doing
5380         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5381         LFUN_DELETE_SKIP on a selection selection
5382
5383 2003-06-16  André Pönitz  <poenitz@gmx.net>
5384
5385         * BufferView.C:
5386         * buffer.C:
5387         * buffer.h:
5388         * paragraph.C:
5389         * tabular.[Ch]: IU of clone() and getLabelList();
5390
5391 2003-06-13  André Pönitz  <poenitz@gmx.net>
5392
5393         * tabular.h: compactification
5394
5395 2003-06-12  André Pönitz  <poenitz@gmx.net>
5396
5397         * tabular.C:
5398         * tabular.h:
5399         * tabular_funcs.h: some renaming plus whitespace
5400
5401 2003-06-12  André Pönitz  <poenitz@gmx.net>
5402
5403         * BufferView.C:
5404         * BufferView_pimpl.C:
5405         * CutAndPaste.C:
5406         * buffer.C:
5407         * iterators.[Ch]:
5408         * lyxfunc.C:
5409         * text.C:
5410         * toc.C: Return a Paragraph & for ParIterator::operator*()
5411
5412 2003-06-11  John Levon  <levon@movementarian.org>
5413
5414         * lyx_main.C:
5415         * ToolbarBackend.h:
5416         * ToolbarBackend.C: add "Toolbars" section and
5417         put the flags there
5418
5419 2003-06-10  Angus Leeming  <leeming@lyx.org>
5420
5421         * lfuns.h:
5422         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5423
5424         * lyxfunc.C (dispatch): invoke it.
5425
5426 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5427
5428         * main.C: protect <ios> with HAVE_IOS
5429         (main): protect sync_with_stdio with HAVE_IOS
5430
5431 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
5432
5433         * text2.C (cutSelection): adjust
5434         (pasteSelection): adjust
5435
5436         * messages.C: handle get of empty string
5437
5438         * main.C (main): use sync_with_stdio(false)
5439
5440         * lyxfunc.C (dispatch): adjust
5441
5442         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5443         (WriteAs): remove unneeded BufferView arg.
5444
5445         * bufferparams.h: use correct types on papersize, papersize2 and
5446         paperpackage.
5447
5448         * bufferparams.C (readToken): adjust for type
5449         (writeLaTeX): add missing cases to switch.
5450
5451         * bufferlist.C (quitWriteBuffer): adjust
5452         (close): adjust
5453
5454         * buffer.C (asciiParagraph): remove some commented code.
5455
5456         * CutAndPaste.C: remove current_view extern variable.
5457         (cutSelection): add BufferParams arg.
5458         (eraseSelection): add BufferParams arg.
5459         (pasteSelection): add Buffer const & arg
5460
5461 2003-06-07  John Levon  <levon@movementarian.org>
5462
5463         * buffer.C:
5464         * paragraph_funcs.C:
5465         * paragraph_pimpl.C:
5466         * text.C:
5467         * text2.C:
5468         * paragraph.h:
5469         * paragraph.C: allow InsetERT to freely space lines,
5470         and some consolidation of code
5471
5472 2003-06-06  José Matos  <jamatos@fep.up.pt>
5473
5474         * buffer.C (makeDocBookFile): fix bug #821
5475
5476 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
5477
5478         * BufferView_pimpl.C (dispatch): use Dialogs::visible
5479
5480 2003-06-04  Angus Leeming  <leeming@lyx.org>
5481
5482         * buffer.C: bump format to 224.
5483
5484 2003-06-05  André Pönitz  <poenitz@gmx.net>
5485
5486         * text2.C (redoParagraphs): remove two const_cast<>
5487
5488 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5489
5490         * ParagraphList.h: remove last remnants of NO_STD_LIST
5491
5492 2003-06-03  Angus Leeming  <leeming@lyx.org>
5493
5494         * factory.C (createInset): small change to the way InsetExternal's params
5495         are set.
5496
5497 2003-06-04  André Pönitz  <poenitz@gmx.net>
5498
5499         * buffer.h: use Undo directly instead of shared_ptr<Undo>
5500
5501         * paragraph_pimpl.h:
5502         * paragraph.[Ch]: some Inset -> UpdatableInset changes
5503
5504         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5505
5506         * undo_funcs.C: make some simple cases of undo work again
5507
5508 2003-06-03  John Levon  <levon@movementarian.org>
5509
5510         * ispell.C: HPUX doesn't have sys/select.h
5511         (from Albert Chin)
5512
5513 2003-06-03  John Levon  <levon@movementarian.org>
5514
5515         * CutAndPaste.C: update tabular and include inset
5516         buffer references
5517
5518         * buffer.h:
5519         * paragraph.h:
5520         * paragraph.C: remove owningBuffer(), don't pass Buffer
5521         to clone()
5522
5523         * factory.C: insetGraphicsParams changed
5524
5525 2003-06-02  John Levon  <levon@movementarian.org>
5526
5527         * LyXAction.C:
5528         * factory.C:
5529         * lfuns.h:
5530         * lyxfunc.C:
5531         * text3.C: remove insetparent
5532
5533 2003-06-02  John Levon  <levon@movementarian.org>
5534
5535         * buffer.h:
5536         * buffer.C: fix inset_iterator.end(), move out of line
5537         (bug 1149)
5538
5539 2003-06-01  John Levon  <levon@movementarian.org>
5540
5541         * text3.C: use a proper cut/paste when doing inset
5542         insert (from Jürgen Spitzmüller)
5543
5544 2003-06-01  John Levon  <levon@movementarian.org>
5545
5546         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5547
5548 2003-05-30  André Pönitz  <poenitz@gmx.net>
5549
5550         * rowpainter.C: unify second drawing phase
5551
5552 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5553
5554         * trans_mgr.C: remove one case of current_view
5555
5556         * text2.C (cursorBottom): delete NO_STD_LIST stuff
5557
5558         * paragraph_funcs.h: remove paragraph.h include
5559
5560         * paragraph.h: delete NO_STD_LIST stuff
5561
5562         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5563
5564         * buffer.h: remove paragraph.h include
5565
5566         * ParagraphList.C: delete file
5567
5568         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5569
5570         * toc.C (getTocList): adjust
5571
5572         * paragraph_pimpl.C (validate): adjust
5573
5574         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5575
5576         * paragraph.C (Paragraph): adjust
5577         (getPositionOfInset): use const_iterator, adjust
5578         (bibitem): use const_iterator, adjust
5579         (setInsetOwner): adjust
5580
5581         * iterators.C (operator++): adjust
5582
5583         * InsetList.[Ch]: Replace selfmade iterator with standard
5584         vector::iterator also introduce const_iterator. Remove getPos,
5585         getInset and setInset from InsetTable. Adjust accordingly.
5586
5587         * BufferView.C (lockInset): adjust
5588         (ChangeInsets): adjust
5589
5590         * tabular.[Ch]: delete commented same_id functions
5591
5592 2003-05-28  John Levon  <levon@movementarian.org>
5593
5594         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5595
5596 2003-05-28  André Pönitz  <poenitz@gmx.net>
5597
5598         * metricsinfo.[Ch]: remove 'fullredraw' member
5599
5600 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
5601
5602         * lyxtextclass.C (operator): remove caching.
5603
5604 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5605
5606         * text3.C: adjust
5607
5608         * text2.C (cursorBottom): adjust
5609         (setCounter): use ParagraphList::find, adjust
5610
5611         * text.C (workWidth): use ParagraphList::find, adjust
5612
5613         * lyxcursor.C (LyXCursor): adjust
5614
5615         * buffer.C (inset_iterator): adjust
5616
5617         * ParagraphList.h: make iterator(value_type) private, make
5618         ParagraphList a friend of iterator.
5619
5620         * ParagraphList.C (find): new function
5621
5622         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5623
5624 2003-05-27  André Pönitz  <poenitz@gmx.net>
5625
5626         * dimension.[Ch]: a -> asc, d -> des, w -> wid
5627
5628 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5629
5630         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5631
5632 2003-05-26  John Levon  <levon@movementarian.org>
5633
5634         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5635
5636 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5637
5638         * remove same_id from function signatures, adjust.
5639
5640 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5641
5642         * undo_funcs.C (createUndo): use the id functions directly, adjust.
5643
5644         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5645
5646         * paragraph.C (Paragraph): get rid of same_ids parameter
5647
5648         * ParagraphList.C (insert): adjust
5649         (push_back): adjust
5650
5651 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5652
5653         * paragraph_funcs.C (breakParagraph): adjust
5654         (breakParagraphConservative): adjust
5655
5656         * buffer.C (readParagraph): adjust
5657
5658         * ParagraphList.C (insert): take a reference instead of a pointer
5659         (insert): adjust
5660
5661         * paragraph.[Ch] (id): new function
5662
5663         * bufferlist.C (newFile): adjust
5664
5665         * ParagraphList.C (ParagraphList): adjust
5666         (assign): adjust
5667         (push_back): take a reference instead of a pointer.
5668
5669         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5670
5671         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5672         instead.
5673
5674         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5675         set else use old code.
5676
5677         * ParagraphList.C: remove all NO_NEXT code and only compile this
5678         code of NO_STD_LIST is set.
5679
5680 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5681
5682         * BufferView_pimpl.C:
5683         * TextCache.C:
5684         * TextCache.h:
5685         * bufferlist.C:
5686         * errorlist.h:
5687         * format.C:
5688         * format.h:
5689         * graph.C:
5690         * lyxfunc.C:
5691         * lyxrc.C:
5692         * graphics/GraphicsConverter.C:
5693         * graphics/PreviewLoader.C: header adjustment
5694
5695 2003-05-23  Angus Leeming  <leeming@lyx.org>
5696
5697         * LaTeXFeatures.[Ch] (useBabel): new method.
5698         * bufferparams.C (writeLaTeX): use it.
5699
5700 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5701
5702         * ParagraphList.h (set): remove unused function.
5703
5704 2003-05-23  André Pönitz  <poenitz@gmx.net>
5705
5706         * BufferView.C:
5707         * BufferView_pimpl.C:
5708         * buffer.C:
5709         * buffer.h:
5710         * lyxfunc.C:
5711         * undo_funcs.C: setUndo reworked
5712
5713         * iterators.[Ch]: add access to topmost ParagraphList
5714
5715         * lyxtext.[Ch] (workWidth): add a const
5716
5717 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5718
5719         * texrow.[Ch] (increasePos): remove function
5720         * exporter.C (export): removed unused var and outdated comment
5721
5722 2003-05-23  Angus Leeming  <leeming@lyx.org>
5723
5724         * latexrunparams.h: rename fragile as moving_arg.
5725         * paragraph.C (simpleTeXOnePar): ditto.
5726         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5727
5728 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5729
5730         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5731         (createUndo): ditto
5732         (textUndoOrRedo): comment out a currently unused var.
5733
5734         * paragraph.h (NO_NEXT): enable NO_NEXT
5735
5736         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5737
5738         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5739
5740         * exporter.C (Export): adjust for removeAutoInsets removal.
5741
5742         * buffer.C (runChktex): adjust for removeAutoInsets removal.
5743
5744         * LyXAction.C (init): remove LFUN_REMOVEERRORS
5745
5746         * BufferView.[Ch] (removeAutoInsets): delete function
5747
5748 2003-05-22  Angus Leeming  <leeming@lyx.org>
5749
5750         * latexrunparams.h: add a free_spacing variable.
5751
5752         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5753         to pass moving_arg, as the data is stored in runparams.fragile.
5754
5755         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5756         to Inset::latexOptional or to simpleTeXOnePar.
5757
5758         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5759         free_spacing arg to Inset::latexOptional.
5760
5761         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5762         free_spacing arg.
5763
5764 2003-05-22  Angus Leeming  <leeming@lyx.org>
5765
5766         * latexrunparams.h: add fragile and use_babel variables.
5767
5768         * bufferparams.[Ch] (writeLaTeX): return use_babel.
5769         * buffer.C (makeLaTeXFile): store this returned value in
5770         runparams.use_babel, thus passing it to the inset::latex methods.
5771
5772         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5773         simpleTeXSpecialChars as it is now stored in runparams.fragile.
5774
5775         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5776         longer has a fragile arg, as it is stored in runparams.fragile.
5777
5778         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5779         moving_arg parameter as the data is stored in runparams.fragile.
5780
5781         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5782         a fragile parameter as the data is stored in runparams.fragile.
5783
5784 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5785
5786         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5787
5788 2003-05-22  Angus Leeming  <leeming@lyx.org>
5789
5790         * latexrunparams.h: add a 'bool nice' which defaults to false.
5791
5792         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5793         now encapsulated within runparams.
5794
5795         * bufferlist.C (updateIncludedTeXfiles):
5796         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5797
5798 2003-05-22  Angus Leeming  <leeming@lyx.org>
5799
5800         * latexrunparams.h: new file containing struct LatexRunParams.
5801         * Makefile.am: add new file.
5802
5803         * LaTeX.[Ch] (c-tor, run):
5804         * buffer.[Ch] (makeLaTeXFile):
5805         * bufferlist.[Ch] (updateIncludedTeXfiles):
5806         * converter.C (convert, scanLog):
5807         * converter.[Ch] (runLaTeX):
5808         * exporter.C (Export):
5809         * paragraph.[Ch] (simpleTeXOnePar):
5810         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5811         * paragraph_funcs.[Ch] (latexParagraphs):
5812         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5813         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5814         pass around a LatexRunParams parameter.
5815
5816 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5817
5818         * paragraph.[Ch]: remove unused constructor
5819
5820         * ParagraphList.C (erase): new function, taking two iterators
5821
5822 2003-05-22  André Pönitz  <poenitz@gmx.net>
5823
5824         * undo_funcs.C: remove duplicated code
5825
5826         * iterator.[Ch]: operator=
5827
5828 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5829
5830         * tabular.C (SetMultiColumn): ws changes
5831
5832         * rowpainter.C (paintFirst): get rid of a ->previous
5833
5834         * lyx_cb.C (getPossibleLabel): parlist simplification
5835
5836         * BufferView.C (ChangeInsets): simplify slightly.
5837
5838 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
5839
5840         * LyXAction.C: new lfun space-insert, kill protected-space-insert
5841         * lfuns.h: new LFUN_SPACE
5842         * lyxfunc.C: protected space has a new lfun
5843         * paragraph_funcs.C: read new space insets
5844         * text3.C:
5845         * factory.C: handle new space insets
5846
5847 2003-05-22  André Pönitz  <poenitz@gmx.net>
5848
5849         * BufferView.C:
5850         * BufferView_pimpl.C:
5851         * buffer.[Ch]:
5852         * lyxfunc.C:
5853         * undo_funcs.C: return a ParIterator from getParFromID.
5854
5855         * iterators.[Ch]: add two const's
5856
5857 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5858
5859         * toc.C (getTocList): adjust
5860
5861         * iterators.[Ch]: rework for parlist
5862
5863         * buffer.C (par_iterator_begin): adjust
5864         (par_iterator_end): adjust
5865
5866         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5867
5868         * BufferView.C (removeAutoInsets): adjust
5869         (ChangeInsets): adjust
5870
5871 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
5872
5873         * text.C (top_y): fix bug 1110
5874
5875 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
5876
5877         * errorlist.[Ch]: added
5878         * buffer.C:
5879         * BufferView.[Ch]:
5880         * BufferView_pimpl.C:
5881         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5882         instead
5883
5884 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5885
5886         * Makefile.am: ensure that lyx is relinked upon changes to the
5887         various "convenience" libs.
5888
5889 2003-05-20  Angus Leeming  <leeming@lyx.org>
5890
5891         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5892         files are compiled in alphabetical order again.
5893
5894         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5895
5896 2003-05-19  Angus Leeming  <leeming@lyx.org>
5897
5898         * gettext.[Ch]: remove "char const * _(char const *)".
5899
5900 2003-05-19  André Pönitz  <poenitz@gmx.net>
5901
5902         * dimension.[Ch]: promote from mathed/dimension.[Ch]
5903
5904         * Makefile.am:
5905         * BufferView.C:
5906         * DepTable.h:
5907         * LaTeXFeatures.C:
5908         * buffer.C:
5909         * lyxfont.C:
5910         * lyxlex.h:
5911         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5912
5913 2003-05-19  André Pönitz  <poenitz@gmx.net>
5914
5915         * buffer.C:
5916         * lyxlayout.[Ch]:
5917         * lyxtextclass.[Ch]:
5918         * paragraph.C:
5919         * paragraph_funcs.[Ch]:
5920         * text2.C:
5921         * text3.C: more insetenv work
5922
5923 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
5924
5925         * ParagraphParameters.C (params2string): small bug fixed
5926
5927 2003-05-16  André Pönitz  <poenitz@gmx.net>
5928
5929         * debug.C:
5930         * bufferview_funcs.C: patch from Kornel Benko to prevent
5931           crash when _(...) is called twice in a statement
5932
5933 2003-05-16  André Pönitz  <poenitz@gmx.net>
5934
5935         * BufferView.C:
5936         * lyxfunc.C:
5937         * text.C:
5938         * text2.C:
5939         * text3.C:
5940         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5941
5942 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
5943
5944         * lyx_main.C (init): remove spurious static_cast
5945
5946 2003-05-14  André Pönitz  <poenitz@gmx.net>
5947
5948         * BufferView.C: fix format string
5949
5950 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
5951
5952         * BufferView.[Ch] (insertErrors): removed
5953         * BufferView.[Ch] (showErrorList): added
5954         * buffer.C (runChkTeX):
5955         * converter.C (scanLog): call showErrorList instead of inserterrors
5956
5957 2003-05-13  André Pönitz  <poenitz@gmx.net>
5958
5959         * BufferView_pimpl.C:
5960         * buffer.C:
5961         * bufferview_func.C:
5962         * MenuBackend.C:
5963         * lyxfunc.C:
5964         * lyxrc.C:
5965         * tex-accent.C:
5966         * text3.C:
5967         * toc.C:
5968         * tabular_funcs.h: tostr() from its own header
5969
5970         * ParagraphParameters.C:
5971         * ToolbarBackend.C:
5972         * bufferparams.C:
5973         * format.C:
5974         * lyxlex_pimpl.C:
5975         * text3.C: STRCONV()
5976
5977 2003-05-12  André Pönitz  <poenitz@gmx.net>
5978
5979         * BufferView.C:
5980         * BufferView_pimpl.C:
5981         * CutAndPaste.C:
5982         * LaTeX.C:
5983         * LaTeXFeatures.C:
5984         * ParagraphParameters.C:
5985         * buffer.C:
5986         * bufferlist.C:
5987         * bufferparams.C:
5988         * bufferview_funcs.C:
5989         * converter.C:
5990         * counters.C:
5991         * debug.C:
5992         * exporter.C:
5993         * format.C:
5994         * importer.C:
5995         * lyx_cb.C:
5996         * lyx_main.C:
5997         * lyxfont.C:
5998         * lyxfunc.C:
5999         * lyxvc.C:
6000         * paragraph.C:
6001         * paragraph_funcs.C:
6002         * tabular.C:
6003         * tabular_funcs.C:
6004         * text2.C:
6005         * text3.C:  boost::format -> bformat  all over the place
6006
6007
6008 2003-05-09  André Pönitz  <poenitz@gmx.net>
6009
6010         * LColor.[Ch]: Pimpl the #include <map> away
6011
6012 2003-05-09  John Levon  <levon@movementarian.org>
6013
6014         * bufferlist.C: never remove emergency saves
6015
6016 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6017
6018         * Makefile.am: better lib building
6019
6020 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
6021
6022         * texrow.[Ch]: remove dependency on Paragraph and just store a id
6023         instead.
6024         * paragraph_pimpl.C (simpleTeXBlanks): adjust
6025         (simpleTeXSpecialChars): adjust
6026         (simpleTeXSpecialChars): adjust
6027         * paragraph.C (simpleTeXOnePar): adjust
6028         * buffer.C (makeLaTeXFile): adjust
6029
6030         * Makefile.am (BOOST_LIBS): allow boost as system lib.
6031
6032         * text2.C (changeDepth): parlist cleanup
6033         (getColumnNearX): ditto
6034
6035         * rowpainter.C (getLabelFont): parlist cleanup
6036
6037         * bufferlist.C (newFile): parlist cleanup
6038
6039         * CutAndPaste.C (eraseSelection): parlist cleanup
6040
6041         * BufferView_pimpl.C (trackChanges): parlist cleanup
6042         (dispatch): ditto
6043
6044         * BufferView.C (lockInset): parlist cleanup.
6045         (ChangeInsets): ditto
6046
6047 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6048
6049         * CutAndPaste.h: Update file header.
6050
6051         * CutAndPaste.C: Update file header.
6052         Store the parts cut out of the Document in a limited_stack.
6053         (copySelection): adjust
6054         (pasteSelection): new function, takes the index in the limited stack.
6055         (nrOfParagraphs): adjust
6056         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6057         simplify error inset insertion.
6058         (checkPastePossible): adjust
6059
6060 2003-05-06  John Levon  <levon@movementarian.org>
6061
6062         * text2.C: don't cast wrap inset to float
6063
6064 2003-05-05  André Pönitz  <poenitz@gmx.net>
6065
6066         * iterator.C:
6067         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6068
6069         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6070           few naked Paragraph *.
6071
6072 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
6073
6074         * bufferparams.C: Output warning if a document with missing
6075         TeX document class is loaded
6076         * exporter.C: Disable TeX exports if the document class is missing
6077         * lyxtextclass.C:
6078         * lyxtextclass.h:
6079         * lyxtextclasslist.C: Handle new textclass.lst format; new method
6080         isTeXClassAvailable()
6081
6082 2003-05-03  John Levon  <levon@movementarian.org>
6083
6084         * BufferView.h:
6085         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6086         explicit cursor show/hide
6087
6088         * BufferView_pimpl.h:
6089         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6090         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6091
6092         * lyxfunc.C: hide cursor before dispatching.
6093
6094         * lyx_cb.C:
6095         * lyxfind.C:
6096         * text.C:
6097         * text3.C: remove explicit cursor hides
6098
6099 2003-05-02  André Pönitz  <poenitz@gmx.net>
6100
6101         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6102
6103         * undo_funcs.C:
6104         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6105           linked lists
6106
6107         * text2.C: tiny whitespace
6108
6109 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6110
6111         * undo_funcs.C: almost only ws changes.
6112
6113         * ParagraphList.C (splice): just return if pl is empty.
6114
6115 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6116
6117         * ParagraphList.C (splice): new function.
6118
6119         * CutAndPaste.C (pasteSelection): use it
6120
6121 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6122
6123         * CutAndPaste.C (pasteSelection): remove the last next and
6124         previous from this file.
6125
6126 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6127
6128         * CutAndPaste.C (pasteSelection): more clean up, user proper
6129         ParagraphList functions for pasteing.
6130
6131         * ParagraphList.C (insert): new function, three arg insert
6132
6133 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6134
6135         * ParagraphList.C (insert): new function, three arg insert
6136
6137         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6138         not on paragraphs.
6139
6140 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6141
6142         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6143
6144 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6145
6146         * CutAndPaste.C (pasteSelection): remove some unneeded code.
6147
6148 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6149
6150         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6151         (copySelection): clean up a bit.
6152         (pasteSelection): use make_pair
6153
6154         * ParagraphList.C (ParagraphList): implement copy constructor
6155         (operator=): implement, base on copy constructor.
6156         (assign): new func
6157
6158         * paragraph.C (erase): return a bool
6159
6160         * paragraph_pimpl.C (erasePos): remove function, move contents...
6161         (erase): ... here. Return a bool.
6162         (erase): call erase instead of erasePos.
6163
6164 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
6165
6166         * ParagraphList.h: define PitPosPair
6167         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6168         ParagraphList, fix a bug on pasting multiple pars
6169         * text2.C: change interface to C&P
6170
6171 2003-04-30  André Pönitz  <poenitz@gmx.net>
6172
6173         * undo_func.C: revert part of yesterday's patch 2
6174
6175 2003-04-30  John Levon  <levon@movementarian.org>
6176
6177         * LColor.C: s/tabular/table/
6178
6179 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6180
6181         * text3.C (dispatch): do not convert iterator -> pointer
6182         * undo_funcs.C (setCursorParUndo): ditto
6183         * text_funcs.C (transposeChars): ditto
6184
6185         * text2.C (setLayout): ws changes only
6186
6187         * text.C (breakParagraph): do not convert iterator -> pointer
6188         (insertChar): ditto
6189         (acceptChange): ditto
6190         (rejectChange): ditto
6191         (changeCase): ditto
6192         (Delete): ditto
6193         (backspace): ditto
6194
6195         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6196         pointer
6197
6198 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6199
6200         * text3.C (gotoInset): YABG (yet another bad getChar)
6201
6202 2003-04-29  André Pönitz  <poenitz@gmx.net>
6203
6204         * paragraph.h: make operator= private unimplemented as long as
6205           it is unusable
6206
6207         * ParagraphList.C: whitespace
6208
6209         * paragraph.[Ch]:
6210         * paragraph_pimpl.[Ch]:
6211         * paragraph_funcs.C:
6212         * CutAndPaste.C:
6213         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
6214
6215         * text2.C:
6216           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6217
6218 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6219
6220         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6221         * paragraph.[Ch] (erase):
6222         * paragraph_pimpl.[Ch] (erase): change return type and value
6223         * text2.C (cutSelection): some rework
6224
6225 2003-04-28  John Levon  <levon@movementarian.org>
6226
6227         * bufferlist.C: changes for unsaved changes dialog
6228
6229 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6230
6231         * bufferlist.C (newFile): set language (messages_) for new
6232         documents also.
6233
6234         * buffer.C (readFile): ws changes only.
6235
6236 2003-04-28  André Pönitz  <poenitz@gmx.net>
6237
6238         * undo_funcs.C:
6239         * lyxfunc.C:
6240         * buffer.[Ch]:
6241         * BufferView_pimpl.C:
6242         * BufferView.C: getParFromID related ParagraphList::iterator changes
6243
6244 2003-04-28  André Pönitz  <poenitz@gmx.net>
6245
6246         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6247           Changes
6248
6249 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6250
6251         * messages.C: remove one more localedir class variable.
6252
6253 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6254
6255         * messages.C (getLocaleDir): singleton generation function
6256         (Pimpl): use it.
6257         (Messages): add a default constructor.
6258
6259         * main.C (main): do not setup localedir here, do not call
6260         gettext_init.
6261
6262         * gettext.C (_): use it.
6263         (gettext_init): delete funciton
6264
6265 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6266
6267         * gettext.C (getLyXMessages): new singleton generating function.
6268
6269         * buffer.C (updateDocLang): adjust
6270
6271         * Makefile.am (messages.o): add target
6272         (main.o): remove target
6273
6274 2003-04-27  John Levon  <levon@movementarian.org>
6275
6276         * bufferlist.C:
6277         * lyx_cb.C:
6278         * lyxfunc.C:
6279         * lyxvc.C: specify cancel button in Alert::prompt
6280
6281 2003-04-26  John Levon  <levon@movementarian.org>
6282
6283         * text3.C:
6284         * lyxfunc.C:
6285         * lfuns.h:
6286         * LyXAction.C: add LFUN_INSET_SETTINGS
6287
6288         * lyxfunc.C: don't enable tabular-feature when there's
6289         just any locking inset
6290
6291 2003-04-26  John Levon  <levon@movementarian.org>
6292
6293         * bufferlist.C: re-add Cancel to buffer close question
6294
6295         * lyxfunc.C: fix import UI a bit
6296
6297 2003-04-25  John Levon  <levon@movementarian.org>
6298
6299         * gettext.C: remove the broken asserts for now
6300
6301 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6302
6303         * messages.C: make case where setlocale cannot comply work better.
6304
6305         * buffer.C (updateDocLang): new function
6306         (changeLanguage): use it
6307         (readFile): use it
6308
6309         * text2.C (setCounter): use B_ a bit.
6310
6311         * lyxlayout.C (Read): be sure to trim the label strings.
6312
6313         * messages.C (Messages): fix typo in comment
6314
6315         * buffer.C (readFile): set message_ after file is loaded.
6316         (makeDocBookFile): remove double return
6317         (changeLanguage): reset message_ upon language change.
6318         (B_): new func, use this to get translated buffer strings.
6319
6320         * main.C: add myself and Jean Marc as authors.
6321
6322 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6323
6324         * messages.[hC]: pimplify Messages, and three different pimpls to be
6325         used in different circumstances.
6326
6327         * gettext.[Ch]: change for use with new message code.
6328
6329 2003-04-24 André Pönitz <poenitz@gmx.net>
6330
6331         * factory.C: support for eqref
6332
6333 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6334
6335         * messages.[Ch]: add missing char
6336
6337         * Makefile.am (lyx_SOURCES): add messages.[Ch]
6338
6339         * messages.[Ch]: New files
6340
6341 2003-04-18  John Levon  <levon@movementarian.org>
6342
6343         * BufferView.h:
6344         * BufferView.C:
6345         * BufferView_pimpl.C:
6346         * lfuns.h:
6347         * LyXAction.C:
6348         * lyxtext.h:
6349         * text2.C: remove layout-copy/paste (bug 778)
6350
6351 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6352
6353         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6354
6355 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6356
6357         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6358         if they succeed. Act accordingly.
6359
6360 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6361
6362         * text2.C (setCharFont): adjust
6363         (setCounter): adjust
6364         (insertStringAsLines): adjust
6365
6366         * text.C (leftMargin): adjust
6367         (setHeightOfRow): adjust
6368
6369         * rowpainter.C (paintFirst): adjust
6370         (paintLast): adjust
6371
6372         * paragraph_funcs.C (depthHook): ParagraphList::iterators
6373         (outerHook): ditto
6374         (isFirstInSequence): ditto
6375         (getEndLabel): ditto
6376         (outerFont): adjust
6377
6378         * paragraph.C (getParLanguage): comment out some hard stuff.
6379
6380         * buffer.C (insertStringAsLines): take a ParagraphList as arg
6381         (sgmlError): ditto
6382         (simpleDocBookOnePar): ditto
6383         (makeDocBookFile): use ParagraphList::iterator
6384
6385         * CutAndPaste.C (pasteSelection): adjust
6386
6387 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6388
6389         * text2.C (getFont): adjust
6390         (getLayoutFont): adjust
6391         (getLabelFont): adjust
6392
6393         * paragraph_funcs.C (TeXOnePar): adjust
6394
6395         * buffer.C (simpleLinuxDocOnePar): adjust
6396         (simpleDocBookOnePar): adjust
6397
6398         * CutAndPaste.C (pasteSelection): adjust
6399
6400         * BufferView.C (getEncoding): adjust
6401
6402         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6403
6404 2003-04-16  John Levon  <levon@movementarian.org>
6405
6406         * lyxfind.C: use parlist stuff for search/changes
6407
6408 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6409
6410         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6411
6412         * text2.C (deleteEmptyParagraphMechanism): adjust
6413
6414         * text2.[Ch] (ownerParagraph): delete func (both of them
6415
6416 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6417
6418         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6419
6420 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6421
6422         * ParagraphList.C: prepare for NO_NEXT
6423
6424 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6425
6426         * text2.C (getFont): adjust
6427         (getLayoutFont): adjust
6428         (getLabelFont): adjust
6429
6430         * paragraph.C (getFont): adjust
6431         (getLabelFont): adjust
6432         (getLayoutFont): adjust
6433
6434         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6435
6436 2003-04-15  John Levon  <levon@movementarian.org>
6437
6438         From Angus Leeming
6439
6440         * lyx_main.C: handle Include in .ui files
6441
6442 2003-04-15  John Levon  <levon@movementarian.org>
6443
6444         * MenuBackend.C: make the doc files length shorter
6445
6446         * ToolbarBackend.h:
6447         * ToolbarBackend.C: handle toolbar placement flags,
6448         Minibuffer
6449
6450 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6451
6452         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6453         adjust
6454
6455         * paragraph_funcs.C (TeXOnePar): adjust
6456
6457         * paragraph.C (getLabelFont): add outerfont arg, adjust
6458         (getLayoutFont): ditto
6459         (simpleTeXOnePar): adjust
6460
6461         * paragraph_pimpl.C (realizeFont): delete func
6462
6463 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
6464
6465         * text2.C (beforeFullRowInset): added a bad getchar check, removed
6466         row argument, constify cur argument.
6467
6468 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6469
6470         * text2.C (getFont): adjust
6471         (getLayoutFont): adjust
6472         (getLabelFont): adjust
6473
6474         * paragraph_funcs.C (TeXOnePar): adjust
6475         (outerFont): new func...
6476         (realizeFont): ...moved out from here, changed this to facilitate
6477         transition
6478
6479         * paragraph.C (getFont): take outerfont as arg, adjust
6480         (simpleTeXOnePar): add outerfont arg, adjust
6481
6482         * buffer.C (simpleLinuxDocOnePar): adjust
6483         (simpleDocBookOnePar): adjust
6484
6485         * CutAndPaste.C (pasteSelection): adjust
6486
6487         * BufferView.C (getEncoding): adjust
6488
6489 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6490
6491         * text2.C (setCharFont): adjust
6492         (setCounter): adjust
6493
6494         * text.C (leftMargin): adjust
6495         (setHeightOfRow): adjust
6496
6497         * rowpainter.C (paintFirst): adjust
6498         (paintLast): adjust
6499
6500         * paragraph_pimpl.C (realizeFont): adjust
6501
6502         * paragraph.C (isFirstInSequence): move from here...
6503         * paragraph_funcs.C (isFirstInSequence): ...to here
6504
6505         * paragraph.C (outerHook): move from here...
6506         * paragraph_funcs.C (outerHook): ...to here
6507
6508         * paragraph.C (depthHook): move from here...
6509         * paragraph_funcs.C (depthHook): ...to here
6510
6511         * paragraph.C (getEndLabel): move from here...
6512         * paragraph_funcs.C (getEndLabel): ...to here
6513
6514         * text2.C (realizeFont): move from here...
6515         * paragraph_funcs.C (realizeFont): ...to here
6516
6517 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6518
6519         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6520
6521 2003-04-14  Angus Leeming  <leeming@lyx.org>
6522
6523         * LColor.[Ch]: scrap LColor mathcursor.
6524
6525 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6526
6527         * lyxlex.[Ch] (text): delete function
6528         * trans.C (Load): adjust
6529         * paragraph_funcs.C (readParToken): adjust
6530
6531 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6532
6533         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6534         vector<char> instead of a char[].
6535
6536         * lyxlex_pimpl.C (getString): adjust
6537         (next): adjust
6538         (lex): use getString
6539         (eatLine): adjust
6540         (nextToken): adjust
6541
6542         * lyxlex.C (text): use pimpl_->getString()
6543         (getBool): ditto
6544         (findToken): ditto
6545
6546 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6547
6548         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6549         (makeFontEntriesLayoutSpecific): temp var for par.size()
6550         (setLayout): temp var for ownerParagraphs().end()
6551         (fullRebreak): temp var for rows().end()
6552         (selectionAsString): temp var for boost::next(startpit), realize
6553         that the while really is a regular for loop.
6554         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6555         setCursor in one place.
6556         (setParagraph): temp vr for ownerParagraphs().end()
6557         (updateCounters): make the while loop a for loop
6558         (cutSelection): temp var for ownerParagraphs().end()
6559         (updateInset): make the do {} while() a regular for loop
6560         (getCursorX): use temp vars
6561         (setCurrentFont): use temp vars
6562         (getColumnNearX): use temp vars
6563
6564 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6565
6566         * text.C (transformChar): use temp var for getChar
6567         (computeBidiTables): use temp var for row->par()
6568         (fill): move temp vars for row->par() and pit->layout() earlier in
6569         the function.
6570         (labelFill): use temp var for row->par()
6571         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6572         asc and desc, realize that pit never changes and that firstpit is
6573         just a duplicate and not needed. Exchange rit->par() with pit in a
6574         lot of places.
6575         (breakAgain): use a temp var for boost::next(rit)
6576         (breakAgainOneRow): ditto
6577         (breakParagraph): use a temp var for rows().begin()
6578         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6579         (cursorRightOneWord): use temp var for cursor.par() and
6580         cursor.pos(), remove usage of tmpcursor.
6581         (cursorLeftOneWord): use temp var for cursor.par() and
6582         cursor.pos() only set cur at end of function.
6583
6584 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6585
6586         * text.C, text2.C: exchange all usage of Paragraph::next with
6587         boost::next(ParagraphList::iterator)
6588
6589         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6590
6591         * text2.C (cursorTop): simplify implementation
6592         (cursorBottom): ditto
6593         (setParagraph): use ParagraphList::iterator
6594         (setCurrentFont): adjust
6595         (getColumnNearX): adjust
6596         (cursorRight): adjust
6597         (cursorLeft): remove usage of Paragraph::previous
6598         (cursorUpParagraph): ditto
6599         (deleteEmptyParagraphMechanism): slight cleanup
6600
6601         * text.C (isBoundary): take a Paragraph const & instead of a
6602         pointer as arg.
6603         (addressBreakPoint): ditto
6604         (leftMargin): remove usage of Paragraph::previous.
6605         (setHeightOfRow): ditto
6606         (cursorLeftOneWord): ditto
6607         (selectNextWordToSpellcheck): ditto
6608         (Delete): ditto
6609         (backspace): ditto
6610         (breakParagraph): remove one usage of Paragraph::next
6611         (redoParagraph): ditto
6612         (acceptChange): ditto
6613         (insertChar): adjust
6614         (rowBreakPoint): adjust
6615
6616         * bufferview_funcs.C (toggleAndShow): adjust
6617
6618 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
6619
6620         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6621         methods to access it.
6622         * lyxtext.h:
6623         * text.C: Added updateRowPositions to compute all row positions.
6624         Make top_y and getRowNearY() to use the cached y position
6625
6626 2003-04-11  John Levon  <levon@movementarian.org>
6627
6628         * text.C (rowBreakPoint): reintroduce the labelEnd
6629         checks, code copied from the row fill stuff. Deep voodoo.
6630
6631         * text.C (fill): add a comment and debugging for the
6632         next poor soul.
6633
6634 2003-04-11  John Levon  <levon@movementarian.org>
6635
6636         * text.C: make sure fullrow insets get wrapped to the next line,
6637         even when they're in a manual label
6638
6639 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6640
6641         * text2.C (insertParagraph): make it take ParagraphList::iterator
6642         as arg.
6643         (setLayout): make it return ParagraphList::iterator
6644         (redoParagraphs): ditto
6645         (setCounter): ditto
6646         (checkParagraph): ditto
6647
6648         * text.C (getRow): make getrow take ParagraphList::iterator as arg
6649
6650         * text2.C: adjust several funcs.
6651         (realizeFont): take a ParagraphList::iterator as arg.
6652         (getLayoutFont): ditto
6653         (getLabelFont): ditto
6654         (setCharFont): ditto
6655
6656         * text.C: adjust several funcs.
6657
6658 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6659
6660         * text.C (selectNextWordToSpellcheck): don't accidentally
6661         skip insets
6662
6663 2003-04-10  John Levon  <levon@movementarian.org>
6664
6665         * ToolbarBackend.C (getIcon): special handling for
6666         LFUN_MATH_DELIM
6667
6668 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6669
6670         * text2.C (cursorRight): a getChar assert fixed
6671
6672 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6673
6674         * text2.C (getFont): change to take a ParagraphList::iterator
6675         instead of Paragraph*
6676         Adjust several functions.
6677
6678         * text.C (transformChar): change to take a ParagraphList::iterator
6679         instead of Paragraph*
6680         (singleWidth): ditto
6681         Adjust several functions.
6682
6683         * rowpainter.C: adjust several functions
6684         * rowpainter.h:store a ParagraphList::iterator and not a
6685         Paragraph&.
6686
6687
6688 2003-04-09  John Levon  <levon@movementarian.org>
6689
6690         * lyxfunc.C:
6691         * lfuns.h:
6692         * LyXAction.h:
6693         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6694         and the "help" bits as well
6695
6696 2003-04-09  John Levon  <levon@movementarian.org>
6697
6698         * ToolbarBackend.h:
6699         * ToolbarBackend.C: allow multiple toolbars
6700
6701 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6702
6703         * undo_funcs.C (setCursorParUndo): adjust
6704
6705         * text_funcs.C (transposeChars): adjust
6706
6707         * text3.C (gotoNextInset): adjust
6708         (dispatch): adjust
6709
6710         * text2.C (setLayout): adjust
6711         (changeDepth): adjust
6712         (setFont): adjust
6713         (redoParagraphs): adjust
6714         (selectionAsString): adjust
6715         (setParagraph): adjust
6716         (insertInset): adjust
6717         (cutSelection): adjust
6718         (copySelection): adjust
6719         (pasteSelection): adjust
6720         (insertStringAsLines): adjust
6721         (updateInset): adjust
6722         (setCursor): change to take a ParagraphList::iterator parameter
6723         (setCursorIntern): change to take a ParagraphList::iterator parameter
6724         (setCurrentFont): adjust
6725         (cursorLeft): adjust
6726         (cursorRight): adjust
6727         (deleteEmptyParagraphMechanism): adjust
6728
6729         * text.C (breakParagraph): adjust
6730         (insertChar): adjust
6731         (acceptChange): adjust
6732         (rejectChange): adjust
6733         (selectNextWordToSpellcheck): adjust
6734         (changeCase): adjust
6735         (Delete): adjust
6736         (backspace): adjust
6737
6738         * lyxfind.C (SearchForward): adjust
6739         (SearchBackward): adjust
6740         (nextChange): adjust
6741
6742         * lyxcursor.C (par): adjust
6743
6744         * lyxcursor.h: store a ParagraphList::iterator instead of a
6745         Paragraph*
6746
6747         * lyx_cb.C (getPossibleLabel): adjust
6748
6749         * bufferview_funcs.C (toggleAndShow): adjust
6750
6751         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6752         (dispatch): adjust
6753
6754         * BufferView.C (removeAutoInsets): adjust
6755         (lockedInsetStoreUndo): adjust
6756
6757 2003-04-09  John Levon  <levon@movementarian.org>
6758
6759         * ToolbarBackend.C: try icon without argument
6760         if with argument fails
6761
6762 2003-04-08  John Levon  <levon@movementarian.org>
6763
6764         * ToolbarBackend.h:
6765         * ToolbarBackend.C: add getIcon(), handle tooltip,
6766         and change from "Icon" to "Item".
6767
6768 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6769
6770         * BufferView.C (lockInset): another bad getchar crunched
6771
6772 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6773
6774         * text2.C (changeDepth): do not setUndo on test_only (make undo work
6775         again)
6776
6777 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
6778
6779         * lyxfind.C (searchForward, searchBackwards): bug 782
6780
6781 2003-04-07  John Levon  <levon@movementarian.org>
6782
6783         * paragraph.C: remove dead comment
6784
6785         * text.C: remove troublesome depth-fiddling code
6786         in leftMargin() and rightMargin() (bug 1017)
6787
6788         * text.C: fix breaking of rows in nested lists
6789         (bug 1004)
6790
6791         * text2.C (updateCounters): fix up depth values
6792         (bug 1013)
6793
6794 2003-04-07  John Levon  <levon@movementarian.org>
6795
6796         * BufferView_pimpl.C: clear message when doc finishes resizing,
6797         and after a mouse event
6798
6799         * lyxfunc.C: clear message after exiting inset
6800
6801 2003-04-07  John Levon  <levon@movementarian.org>
6802
6803         * bufferview_funcs.C: show math status not outside
6804         status in the statusbar
6805
6806 2003-04-07  John Levon  <levon@movementarian.org>
6807
6808         * lyxfunc.C: note status changed after a depth change
6809
6810 2003-04-04  Angus Leeming  <leeming@lyx.org>
6811
6812         * LaTeX.h: move AuxInfo operator==, != out of line.
6813         Remove LaTeX virtual destructor; nothing derives from it.
6814         Move operator()() out of public area and rename it startscript().
6815         Change protected for private.
6816
6817 2003-04-04  Angus Leeming  <leeming@lyx.org>
6818
6819         * lyxfunc.C:
6820         * text2.C: remove unneeded #includes.
6821
6822 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6823
6824         * text2.C (dEPM): fix the heigth of the next row
6825
6826 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6827
6828         * text.C: squashed an invalid getChar requester + some ws changes
6829
6830 2003-04-03  John Levon  <levon@movementarian.org>
6831
6832         * bufferview_funcs.h:
6833         * bufferview_funcs.C:
6834         * lyxfunc.C:
6835         * lyxtext.h:
6836         * text2.C: make getStatus work for the env depth lfuns
6837
6838 2003-04-03  John Levon  <levon@movementarian.org>
6839
6840         * bufferview_funcs.h:
6841         * bufferview_funcs.C:
6842         * lyxfunc.C:
6843         * lyxtext.h:
6844         * text2.C: parlistize decDepth(), by merging it with incDepth()
6845
6846 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6847
6848         * lyxrow.h: store a ParagraphList::iterator instead of a
6849         Paragraph* and adjust other class functions to suit.
6850
6851         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6852         above.
6853
6854 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6855
6856         * text2.C (setCursor): do not anchor to cursor row for the time being
6857
6858 2003-04-02  John Levon  <levon@movementarian.org>
6859
6860         * LyXAction.C:
6861         * lfuns.h:
6862         * lyx_main.C:
6863         * lyxtext.h:
6864         * text.C:
6865         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6866
6867 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6868
6869         * paragraph.h: make ParagraphList and ParagraphList::iterator
6870         friends of Paragraph.
6871
6872         * buffer.C (makeLinuxDocFile): move towards ParagraphList
6873
6874         * ParagraphList.C: Use the private next_ and previous_ from
6875         Paragraph.
6876
6877 2003-04-01  John Levon  <levon@movementarian.org>
6878
6879         * ToolbarBackend.h:
6880         * ToolbarBackend.C:
6881         * Makefile.am: rename, remove defaults gunk
6882
6883         * MenuBackend.h:
6884         * MenuBackend.C: remove defaults gunk
6885
6886         * Languages.h:
6887         * Languages.C: remove defaults gunk
6888
6889         * lyx_main.h:
6890         * lyx_main.C: error out if files couldn't be found.
6891
6892 2003-04-02  John Levon  <levon@movementarian.org>
6893
6894         * text2.C: make incDepth() use parlist
6895
6896 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6897
6898         * undo_funcs.C (firstUndoParagraph): adjust
6899
6900         * text3.C (gotoInset): adjust
6901         (dispatch): adjust, and rewrite loop.
6902
6903         * text2.C (init): adjust, and rewrite loop.
6904         (redoParagraphs): adjust
6905         (updateInset): adjust, and rewrite loop.
6906         (deleteEmptyParagraphMechanism): adjust
6907
6908         * tabular.C (LyXTabular): adjust
6909         (SetMultiColumn): adjust
6910         (TeXRow): adjust
6911
6912         * lyxtext.[Ch] (ownerParagraph): delete function
6913         (ownerParagraphs): new function returns a ParagraphList.
6914
6915         * BufferView.C (removeAutoInsets): adjust
6916         (insertErrors): adjust
6917         (setCursorFromRow): adjust
6918
6919 2003-04-01  Angus Leeming  <leeming@lyx.org>
6920
6921         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6922         in the frontends.
6923
6924 2003-04-02  John Levon  <levon@movementarian.org>
6925
6926         * lyxtext.h:
6927         * text.C:
6928         * Makefile.am:
6929         * text_funcs.h:
6930         * text_funcs.C: make transposeChars a free function
6931
6932         * lyxrow_funcs.C: remove wrong comment
6933
6934 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6935
6936         * lyxtext.h: adjust
6937         * rowpainter.C: adjust
6938         * text.C: adjust
6939         * text2.C: adjust
6940         * text3.C: adjust
6941
6942         * lyxrow_funcs. [Ch]: new files
6943
6944         * lyxrow.[Ch]: remove next and previous pointers
6945         (next,previous): remove accessor functions
6946         (isParEnd): move to lyxrow_funcs
6947         (lastPos): move to lyxrow_funcs
6948         (nextRowIsAllInset): move to lyxrow_funcs
6949         (lastPrintablePos): move to lyxrow_funcs
6950         (numberOfSeparators): move to lyxrow_funcs
6951         (numberOfHfills): move to lyxrow_funcs
6952         (numberOfLabelHfills): move to lyxrow_funcs
6953         (hfillExpansion): move to lyxrow_funcs
6954
6955         * lyxfunc.C: adjust
6956
6957         * bufferview_funcs.C (toggleAndShow): adjust
6958
6959         * RowList.h: Remove class RowList from file leave just a
6960         std::list<Row>.
6961
6962         * RowList.C: delete file
6963
6964         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6965         and lyxrow_funcs.h
6966
6967 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6968
6969         * text3.C (cursorPrevious): adjust
6970         (cursorNext): adjust
6971         (dispatch): adjust
6972
6973         * text2.C (redoHeightOfParagraph): adjust
6974         (redoDrawingOfParagraph): adjust
6975         (setCursor): adjust
6976
6977         * text.C (breakParagraph): adjust
6978         (insertChar): adjust
6979         (backspace): adjust
6980
6981         * rowpainter.C (RowPainter): adjust
6982         (leftMargin): simplify and adjust
6983         (most rowpainter functions): adjust.
6984
6985         * rowpainter.h: store the row as RowList::iterator not as Row*
6986
6987         * lyxcursor.C (row): taka RowList::iterator as arg
6988         (irow): ditto
6989
6990         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6991         of Row*.
6992
6993 2003-04-01  Angus Leeming  <leeming@lyx.org>
6994
6995         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6996         stuff like bool Bool.
6997
6998 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6999
7000         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7001         rewrite a loop
7002
7003 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7004
7005         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7006         RowList::iterator.
7007
7008         * lyxtext.h (rows): drop one version and leve a const variant that
7009         returns a RowList::iterator.
7010
7011 2003-03-31  Angus Leeming  <leeming@lyx.org>
7012
7013         * text.C (fill): ensure that the signature is the same as that in the
7014         header file.
7015
7016 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
7017
7018         * text2.C (redoParagraphs): adjust
7019         (updateCounters): adjust
7020         (checkParagraph): adjust
7021         (getColumnNearX): adjust and reformat a bit.
7022
7023         * text.C (top_y): adjust
7024         (workWidth): adjust
7025         (leftMargin): adjust
7026         (prepareToPrint): adjust
7027         (getRow): adjust
7028         (getRowNearY): adjust
7029
7030         * lyxtext.h: make rowlist_ mutable.
7031
7032         * RowList.h: add const_iterator
7033         * RowList.C: adjust for RowList::const_iterator.
7034
7035         * text2.C (getCursorX): make it take a RowList::iterator as arg,
7036         adjust.
7037
7038 2003-03-31  John Levon  <levon@movementarian.org>
7039
7040         * lyxrc.h:
7041         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7042
7043         * lyx_main.C: set default fonts from using lyx_gui funcs
7044
7045         * exporter.C: pdf_mode moved from lyxrc
7046
7047         * lyx_cb.C:
7048         * lyxfunc.C: changes from above
7049
7050 2003-03-31  John Levon  <levon@movementarian.org>
7051
7052         * lyx_main.C: fix to the last fix
7053
7054 2003-03-31  John Levon  <levon@movementarian.org>
7055
7056         * bufferlist.C: "Load original" -> "Load Original"
7057
7058         * converter.C:
7059         * exporter.C:
7060         * importer.C:
7061         * lyx_main.C:
7062         * format.C: more Alert cleanups
7063
7064 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7065
7066         * text2.C (removeParagraph): make it take a RowList::iterator as
7067         arg, adjust.
7068         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7069         (postRowPaint): make it take a RowList::iterator as arg, adjust.
7070
7071         * text.C (anchor_row): make it take a RowList::iterator as arg,
7072         adjust.
7073         (computeBidiTables): make it take a const reference to Row instead
7074         of Row pointer, adjust.
7075         (leftMargin): make it take a RowList::iterator as arg, adjust.
7076         (rowBreakPoint): adjust
7077         (breakAgainOneRow): make it take a RowList::iterator as arg,
7078         adjust.
7079         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7080
7081         * bufferview_funcs.C (toggleAndShow): adjust
7082
7083 2003-03-30  John Levon  <levon@movementarian.org>
7084
7085         * Makefile.am:
7086         * BoostFormat.h:
7087         * boost-inst.C: moved to support
7088
7089         * several files: changes as a result
7090
7091 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7092
7093         * text2.C (LyXText): adjust.
7094         (init): adjust
7095         (removeRow): make it take a RowList::iterator as arg, adjust.
7096         (fullRebreak): adjust
7097         (deleteEmptyParagraphMechanism): adjust
7098         (clearPaint): adjust
7099         (postPaint): adjust
7100
7101         * text.C (top_y): adjust
7102         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7103         (breakAgain): make it take a RowList::iterator as arg, adjust.
7104         (breakParagraph): adjust
7105         (insertChar): adjust
7106         (backspace): adjust
7107
7108         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7109         need_break_row, and refresh_row.
7110
7111         * text3.C (dispatch): adjust
7112
7113         * text2.C (checkParagraph): adjust
7114         (setCursor): adjust
7115         (setCursorFromCoordinates): adjust
7116
7117         * text.C (top_y): adjust
7118         (workWidth): adjust
7119         (getRow): make it return a RowList::iterator, adjust
7120         (getRowNearY): make it return a RowList::iterator, adjust
7121
7122         * text2.C (init): adjust
7123         (insertRow): remove function
7124         (insertParagraph): adjust
7125         (redoParagraphs): adjust
7126         (fullRebreak): adjust
7127         (updateCounters): adjust
7128
7129         * text.C (top_y): rewrite to use RowList iterators.
7130         (top_y): adjust
7131         (setHeightOfRow): rewrite to sue RowList iterators.
7132         (appendParagraph): adjust
7133         (breakAgain): adjust
7134         (breakAgainOneRow): adjust
7135         (breakParagraph): adjust
7136         (getRow): adjust
7137         (getRowNearY): adjust, and remove commented code.
7138
7139         * lyxtext.h (firstRow): delete function
7140         (lastRow): delete function
7141         (rows): new function (const and non-const versions.)
7142         (insertRow): delete function
7143
7144         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7145
7146 2003-03-29  John Levon  <levon@movementarian.org>
7147
7148         * BufferView_pimpl.C: always update scrollbar top
7149         because pasting text when we're anchored could mean we
7150         miss an update altogether
7151
7152 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7153
7154         * text2.C (init): use rowlist_.end() and not 0.
7155         (insertRow): change to take a RowList::iterator as arg, adjust
7156         for this.
7157         (insertParagraph): change to take a RowList::iterator as arg,
7158         adjust for this.
7159         (redoParagraphs): remove some debug msgs.
7160
7161         * text.C (appendParagraph): change to take a RowList::iterator
7162         arg, adjust for this.
7163         (breakAgain): add an assert
7164         (breakAgainOneRow): ditto
7165
7166 2003-03-29  John Levon  <levon@movementarian.org>
7167
7168         * text2.C: do not clear selection after inc/decDepth
7169         (bug 550)
7170
7171 2003-03-29  John Levon  <levon@movementarian.org>
7172
7173         * BufferView.C:
7174         * buffer.C: fix broken strerrors according to Lars
7175
7176 2003-03-29  John Levon  <levon@movementarian.org>
7177
7178         * converters.C: more Alert cleanups
7179
7180 2003-03-29  John Levon  <levon@movementarian.org>
7181
7182         * bufferview_funcs.C: remove pointless Alert
7183
7184         * buffer.C: fix confusing error message when
7185         a template is chmoded 000
7186
7187 2003-03-29  John Levon  <levon@movementarian.org>
7188
7189         * BufferView.C:
7190         * BufferView.h:
7191         * BufferView_pimpl.C: Alert fixes
7192
7193         * Makefile.am:
7194         * tabular.C:
7195         * tabular-old.C: remove unused table compat reading
7196
7197 2003-03-29  John Levon  <levon@movementarian.org>
7198
7199         * BufferView.C:
7200         * buffer.C:
7201         * lyx_cb.h:
7202         * lyx_cb.C: more Alert cleanups
7203
7204         * lyxfunc.C: don't allow chktex if not latex document
7205
7206 2003-03-29  John Levon  <levon@movementarian.org>
7207
7208         * lyx_cb.C:
7209         * BufferView.C:
7210         * buffer.C: warnings pushed down from support/,
7211         kill err_alert
7212
7213 2003-03-29  John Levon  <levon@movementarian.org>
7214
7215         * lyxfunc.C: safety check for C-r (revert)
7216
7217 2003-03-29  John Levon  <levon@movementarian.org>
7218
7219         * bufferlist.h:
7220         * bufferlist.C: several UI fixes using Alert::prompt.
7221         Fix the pointless looping quit code. Fix stupid revert
7222         behaviour (bug 938)
7223
7224         * lyxvc.h:
7225         * lyxvc.C:
7226         * lyx_cb.C: use Alert::prompt
7227
7228         * lyx_main.C: remove a silly question
7229
7230         * lyxfunc.C: remove a couple of silly questions,
7231         use Alert::prompt
7232
7233 2003-03-28  John Levon  <levon@movementarian.org>
7234
7235         * text2.C: fix bug 974 (End on empty par)
7236
7237 2003-03-28  John Levon  <levon@movementarian.org>
7238
7239         * BufferView_pimpl.C:
7240         * LyXAction.C:
7241         * lfuns.h: remove do-nothing math greek lfuns
7242
7243 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7244
7245         * lyxgluelength.h (isValidGlueLength): add default arg on
7246         parameter 2. Remove default arg from friend in class.
7247
7248         * lyxlength.h (isValidLength): add default arg on parameter 2.
7249         Remove default arg from friend in class.
7250
7251         * text2.C (LyXText): adjust, initialize refresh_row.
7252         (init): adjust
7253         (removeRow): adjust
7254         (insertRow): adjust
7255         (insertParagraph): adjst
7256         (redoParagraphs): adjust
7257         (fullRebreak): adjust
7258         (updateCounters): adjust
7259         (deleteEmptyParagraphMechanism): first attempt at fixing a
7260         crashing bug.
7261
7262         * text.C (top_y): adjust
7263         (setHeightOfRow): adjust
7264         (getRow): adjust
7265         (getRowNearY): adjust
7266
7267         * lyxtext.h: include RowList.h
7268         (~LyXText): not needed anymore, deleted.
7269         (firstRow): modify for RowList
7270         (lastRow): new function
7271         Delete firstrow and lastrow class variables, add a Rowlist
7272         rowlist_ class variable.
7273
7274         * lyxrow.C (lastPos): use empty() and not !size() to check if a
7275         paragraph is empty.
7276
7277         * RowList.C (insert): fix case where it == begin().
7278
7279 2003-03-26  Angus Leeming  <leeming@lyx.org>
7280
7281         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7282         the thesaurus dialog.
7283
7284 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7285
7286         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7287
7288         * RowList.[Ch]: new files
7289
7290         * ParagraphList.C (erase): handle the case where it == begin
7291         correctly.
7292
7293 2003-03-25  John Levon  <levon@movementarian.org>
7294
7295         * Makefile.am:
7296         * aspell_local.h:
7297         * aspell.C: add new aspell support
7298
7299         * lyxrc.h:
7300         * lyxrc.C: Make use_pspell be use_spell_lib. Always
7301         have it accessible.
7302
7303 2003-03-25  Angus Leeming  <leeming@lyx.org>
7304
7305         * lfuns.h:
7306         * LyXAction.C (init): new LFUN_INSET_INSERT.
7307
7308         * BufferView_pimpl.C (dispatch): split out part of the
7309         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7310
7311         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7312         LFUN_INSET_APPLY.
7313
7314 2003-03-25  Angus Leeming  <leeming@lyx.org>
7315
7316         * lyxfunc.C (dispatch): changes to the Dialogs interface.
7317
7318 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
7319
7320         * text2.C:
7321         * text3.C: remove useless row->height(0)
7322
7323 2003-03-25  John Levon  <levon@movementarian.org>
7324
7325         * lyxtext.h:
7326         * text2.C:
7327         * text3.C: rename the refreshing stuff to better names
7328
7329 2003-03-24  John Levon  <levon@movementarian.org>
7330
7331         * BufferView_pimpl.h:
7332         * BufferView_pimpl.C: update layout choice on a mouse
7333         press/release
7334
7335 2003-03-23  John Levon  <levon@movementarian.org>
7336
7337         * Makefile.am: fix commandtags.h reference
7338
7339 2003-03-22  John Levon  <levon@movementarian.org>
7340
7341         * BufferView_pimpl.C:
7342         * lyxtext.h:
7343         * rowpainter.C:
7344         * rowpainter.h:
7345         * text.C:
7346         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7347
7348 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
7349
7350         * lyxtext.h:
7351         * text.C: take the rtl methods out of line
7352
7353 2003-03-21 André Pönitz <poenitz@gmx.net>
7354
7355         * metricsinfo.[Ch]: new files containing structures to be passed around
7356         during the two-phase-drawing...
7357
7358 2003-03-21 André Pönitz <poenitz@gmx.net>
7359
7360         * lyxtextclass.C: read 'environment' tag.
7361
7362 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
7363
7364         * text2.C (removeRow): fix bug 964
7365
7366 2003-03-20  John Levon  <levon@movementarian.org>
7367
7368         * rowpainter.C:
7369         * text.C:
7370         * text2.C: paint cleanups. Inset::update() dropped font
7371         parameter
7372
7373 2003-03-19  John Levon  <levon@movementarian.org>
7374
7375         * lyxfunc.C: only fitcursor/markDirty if available()
7376
7377 2003-03-19  John Levon  <levon@movementarian.org>
7378
7379         * commandtags.h: rename to ...
7380
7381         * lfuns.h: ... this, and renumber / cleanup
7382
7383 2003-03-19  John Levon  <levon@movementarian.org>
7384
7385         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7386         fit the cursor after an lfun
7387
7388         * BufferView.h:
7389         * BufferView.C:
7390         * BufferView_pimpl.h:
7391         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7392
7393         * LyXAction.C: layout-character should have ReadOnly
7394
7395         * ParagraphParameters.C:
7396         * buffer.C:
7397         * bufferview_funcs.C:
7398         * lyx_cb.C:
7399         * lyxfind.C:
7400         * lyxtext.h:
7401         * text.C:
7402         * text2.C:
7403         * text3.C:
7404         * undo_funcs.C: changes from above
7405
7406 2003-03-18  John Levon  <levon@movementarian.org>
7407
7408         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7409         remove it from update()
7410
7411         * lyxfunc.C: update layout choice after an lfun
7412
7413         * text3.C: remove extra updateLayoutChoice()s
7414
7415 2003-03-18  John Levon  <levon@movementarian.org>
7416
7417         * text.C: top_y change means full repaint, fix
7418         a drawing bug with cursor movement
7419
7420 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7421
7422         * lyxtext.h:
7423         * text.C:
7424         * text2.C: anchor row on setCursor
7425
7426 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7427
7428         * lyxtext.h: remove almost all mutable keywords
7429         * text.C:
7430         * text2.C:
7431         * text3.C: remove const keywords accordingly
7432
7433 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7434
7435         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7436         anon namespace
7437         (TeXEnvironment): ditto
7438         (TeXOnePar): ditto
7439
7440 2003-03-17  John Levon  <levon@movementarian.org>
7441
7442         * text.C (rowBreakPoint): remove attempt to fix displayed
7443         math insets inside a manual label
7444
7445 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7446
7447         * lyxtext.h: remove BufferView* as first arg from almost all class
7448         functions.
7449         * other files: adjust.
7450
7451 2003-03-17  John Levon  <levon@movementarian.org>
7452
7453         * lyxtext.h:
7454         * undo_funcs.C:
7455         * text2.C: more paint cleanups
7456
7457         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7458
7459         * rowpainter.h:
7460         * rowpainter.C: remove "smart" background painting code
7461
7462 2003-03-16  John Levon  <levon@movementarian.org>
7463
7464         * lyxtext.h:
7465         * text.C:
7466         * text2.C:
7467         * text3.C: add helper functions for setting refresh_row/y
7468
7469 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
7470
7471         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7472         newline inset which *can* get inserted in the pass_thru layouts.
7473         This is primarily for literate documents.
7474
7475 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
7476
7477         * buffer.C: increment LYX_FORMAT to 223
7478
7479 2003-03-14 André Pönitz <poenitz@gmx.net>
7480
7481         * textclass.h: prepare for environment handling, ws changes
7482         * lyxlayout.C: read latexheader and latexfooter tags
7483
7484 2003-03-14  John Levon  <levon@movementarian.org>
7485
7486         * text2.C: rewrite ::status() a bit
7487
7488 2003-03-13  John Levon  <levon@movementarian.org>
7489
7490         * lyxtext.h: add some docs
7491
7492 2003-03-13  John Levon  <levon@movementarian.org>
7493
7494         * lyxtext.h:
7495         * text.C:
7496         * text2.C:
7497         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7498
7499 2003-03-13  John Levon  <levon@movementarian.org>
7500
7501         * text3.C: fix appendix redrawing
7502
7503 2003-03-13  John Levon  <levon@movementarian.org>
7504
7505         * text.C (setHeightOfRow):
7506         * rowpainter.h:
7507         * rowpainter.C: make appendix mark have the text
7508           "Appendix" so the user knows what it is
7509
7510         * LColor.h:
7511         * LColor.C: s/appendixline/appendix/ from above
7512
7513 2003-03-13  John Levon  <levon@movementarian.org>
7514
7515         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7516
7517         * text.C: fix a getChar(pos) bug properly
7518
7519 2003-03-13  Angus Leeming  <leeming@lyx.org>
7520
7521         * commandtags.h:
7522         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7523         Probably only temporary. Let's see how things pan out.
7524
7525         * BufferView.C (unlockInset):
7526         * BufferView_pimpl.C (fitCursor):
7527         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7528
7529         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7530         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7531
7532         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7533         new functions that convert ParagraphParameters to and from a string.
7534
7535         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7536         BufferView::Pimpl's dispatch.
7537         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7538
7539 2003-03-13 André Pönitz <poenitz@gmx.net>
7540
7541         * lyxfunc.C:
7542         * text3.C:
7543         * factory.C: make it aware of InsetEnv
7544
7545 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7546
7547         * text2.C (setCursor): never ask for one past last
7548         (setCursor): add some debugging messages.
7549
7550         * text.C (singleWidth): never ask for one past last
7551         (singleWidth): ditto
7552         (leftMargin): ditto
7553         (rightMargin): ditto
7554         (rowBreakPoint): ditto
7555         (setHeightOfRow): ditto
7556         (prepareToPrint): ditto
7557
7558         * rowpainter.C (paintBackground): never ask for one past last
7559         (paintText): never ask for one past last
7560
7561         * paragraph_pimpl.C (getChar): make the assert stricter, never
7562         allow the one past last pos to be taken
7563
7564         * paragraph.C (getChar): ws changes only
7565
7566         * lyxrow.C (nextRowIsAllInset): never ask for one past last
7567         (numberOfSeparators): ditto
7568         (numberOfHfills): ditto
7569
7570 2003-03-12  John Levon  <levon@movementarian.org>
7571
7572         * author.h:
7573         * author.C:
7574         * bufferparams.h:
7575         * bufferparams.C:
7576         * paragraph_funcs.C: fix per-buffer authorlists
7577
7578 2003-03-12  John Levon  <levon@movementarian.org>
7579
7580         * text.C: fix newline in right address
7581
7582 2003-03-12  Angus Leeming  <leeming@lyx.org>
7583
7584         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7585         duplicate those in LyXFunc::dispatch.
7586
7587         * commandtags.h:
7588         * LyXAction.C:
7589         * ToolbarDefaults.C:
7590         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7591         Add LFUN_FONTFREE_UPDATE.
7592
7593         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7594         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7595
7596         * bufferview_func.[Ch]: several new functions to facilliate
7597         transfer of data to and from the character dialog.
7598
7599 2003-03-12  John Levon  <levon@movementarian.org>
7600
7601         * buffer.C:
7602         * paragraph.h:
7603         * paragraph.C:
7604         * paragraph_funcs.C:
7605         * paragraph_pimpl.C:
7606         * sgml.C:
7607         * tabular.C:
7608         * text.C:
7609         * text3.C: remove META_NEWLINE in favour of an inset
7610
7611         * rowpainter.h:
7612         * rowpainter.C: remove paintNewline (done by inset)
7613
7614 2003-03-12  John Levon  <levon@movementarian.org>
7615
7616         * paragraph_pimpl.C: complain about bad getChar()s
7617         for a while at least
7618
7619 2003-03-12  John Levon  <levon@movementarian.org>
7620
7621         * buffer.h:
7622         * buffer.C: move paragraph read into a separate function,
7623         a little renaming to reflect that.
7624
7625         * bufferparams.h:
7626         * bufferparams.C: remove the author_ids map, not necessary now
7627
7628         * factory.h:
7629         * factory.C: moved Buffer::readInset to here
7630
7631         * paragraph_funcs.h:
7632         * paragraph_funcs.C: readParagraph free function moved from
7633         buffer.C
7634
7635         * tabular.C: name change
7636
7637 2003-03-12  John Levon  <levon@movementarian.org>
7638
7639         * buffer.C:
7640         * ParagraphParameters.C: move par params input to
7641         a read() method
7642
7643         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7644         behave like a normal read from the stream wrt reading
7645         a line vs. a \\token
7646
7647 2003-03-12  John Levon  <levon@movementarian.org>
7648
7649         * paragraph.C:
7650         * ParagraphParameters.h:
7651         * ParagraphParameters.C: move output code to a
7652         ::write() method
7653
7654 2003-03-12  John Levon  <levon@movementarian.org>
7655
7656         * BufferView.C (insertLyXFile):
7657         * buffer.h:
7658         * buffer.C:
7659         * tabular.C: use a parlist iterator for creating the
7660           document.
7661
7662 2003-03-12  John Levon  <levon@movementarian.org>
7663
7664         * buffer.C: make current_change static local not
7665           static file-scope
7666
7667 2003-03-12  John Levon  <levon@movementarian.org>
7668
7669         * buffer.C: fix insertStringAsLines for change tracking
7670
7671 2003-03-12  John Levon  <levon@movementarian.org>
7672
7673         * BufferView.C:
7674         * tabular.C:
7675         * buffer.h:
7676         * buffer.C:
7677         * bufferparams.h:
7678         * bufferparams.C: move author list into params. Rename some
7679           functions. Move the header reading into a separate token
7680           loop. Move the header token reading into BufferParams.
7681
7682 2003-03-12  John Levon  <levon@movementarian.org>
7683
7684         * changes.C: put debug inside lyxerr.debugging() checks
7685
7686 2003-03-11 André Pönitz <poenitz@gmx.net>
7687
7688         * factory.C: make it aware of InsetHFill
7689
7690 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7691
7692         * buffer.C (latexParagraphs): move function from here...
7693         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7694         args.
7695
7696 2003-03-10  Angus Leeming  <leeming@lyx.org>
7697
7698         * LyXAction.C (init): fix bug in poplating array with multiple entries
7699         with the same LFUN (spotted by JMarc).
7700
7701 2003-03-10  John Levon  <levon@movementarian.org>
7702
7703         * text.C:
7704         * text2.C: move getColumnNearX() near its
7705         only call site
7706
7707 2003-03-10  John Levon  <levon@movementarian.org>
7708
7709         * text.C: fix break before a minipage
7710
7711 2003-03-10  John Levon  <levon@movementarian.org>
7712
7713         * text.C: fix the last commit
7714
7715 2003-03-09  John Levon  <levon@movementarian.org>
7716
7717         * lyxtext.h:
7718         * text.C:
7719         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7720         bug 365 (don't break before insets unless needed). Don't
7721         return a value > last under any circumstances.
7722
7723 2003-03-09  Angus Leeming  <leeming@lyx.org>
7724
7725         * BufferView_pimpl.C (trackChanges, dispatch): call
7726         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7727
7728 2003-03-09  Angus Leeming  <leeming@lyx.org>
7729
7730         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7731         than Dialogs::showAboutlyx().
7732
7733 2003-03-09  Angus Leeming  <leeming@lyx.org>
7734
7735         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7736         than Dialogs::showTabularCreate().
7737
7738 2003-03-09  John Levon  <levon@movementarian.org>
7739
7740         * lyxtext.h:
7741         * text.C:
7742         * text2.C: 3rd arg to nextBreakPoint was always the same.
7743           Use references.
7744
7745 2003-03-08  John Levon  <levon@movementarian.org>
7746
7747         * lyxrow.C:
7748         * paragraph.C:
7749         * paragraph.h:
7750         * rowpainter.C:
7751         * text.C:
7752         * text2.C: Remove the "main" bit from the "main body"
7753           notion.
7754
7755 2003-03-08  John Levon  <levon@movementarian.org>
7756
7757         * text.C (leftMargin): The left margin of an empty
7758         manual label paragraph should not include the label width
7759         string length.
7760
7761         * text.C (prepareToPrint): don't attempt to measure hfills
7762         for empty manual label paragraphs - the answer should be 0
7763
7764 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7765
7766         * CutAndPaste.C: remove commented code and reindent.
7767
7768 2003-03-08  John Levon  <levon@movementarian.org>
7769
7770         * lyxfunc.h:
7771         * lyxfunc.C: move reloadBuffer()
7772
7773         * BufferView.h:
7774         * BufferView.C: to here
7775
7776         * lyxvc.C: add comment
7777
7778         * vc-backend.h:
7779         * vc-backend.C: call bv->reload() to avoid
7780           getStatus() check on MENURELOAD
7781
7782 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
7783
7784         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7785         to an old format .dep file.
7786
7787 2003-03-07  Angus Leeming  <leeming@lyx.org>
7788
7789         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7790         when the LFUN_MOUSE_RELEASE should have been handled by
7791         inset->localDispatch.
7792
7793 2003-03-07  Angus Leeming  <leeming@lyx.org>
7794
7795         * BufferView_pimpl.C (dispatch):
7796         * LyXAction.C (init):
7797         * ToolbarDefaults.C (init):
7798         * commandtags.h:
7799         * lyxfunc.C (getStatus):
7800         remove LFUN_INSET_GRAPHICS.
7801
7802         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7803
7804 2003-03-07  Angus Leeming  <leeming@lyx.org>
7805
7806         * commandtags.h:
7807         * LyXAction.C (init):
7808         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7809
7810         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7811
7812         * commandtags.h:
7813         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7814
7815         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7816         localDispatch method LFUN_INSET_DIALOG_UPDATE.
7817
7818 2003-03-07  Angus Leeming  <leeming@lyx.org>
7819
7820         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7821         remove "ert".
7822
7823 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7824
7825         * ParagraphList.C (front): new function
7826         (back): implement
7827
7828 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
7829
7830         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7831         and top_row_offset_. removed var first_y.
7832         * text.C (top_y):
7833         * text2.C (LyXText, removeRow):
7834         * text3.C:
7835         * BufferView_pimpl.C:
7836         use these methods instead of using first_y
7837
7838 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7839
7840         * text2.C (pasteSelection): adjust for checkPastePossible
7841
7842         * CutAndPaste.C: remove Paragraph * buf and replace with
7843         ParagraphList paragraphs.
7844         (DeleteBuffer): delete
7845         (cutSelection): change the tc type to textclass_type
7846         (copySelection): change the tc type to textclass_type
7847         (copySelection): adjust for ParagraphList
7848         (pasteSelection): change the tc type to textclass_type
7849         (pasteSelection): adjust for Paragraphlist
7850         (nrOfParagraphs): simplify for ParagraphList
7851         (checkPastePossible): simplify for ParagraphList
7852         (checkPastePossible): remove unused arg
7853
7854         * ParagraphList.C (insert): handle the case where there are no
7855         paragraphs yet.
7856
7857         * CutAndPaste.h: make CutAndPaste a namespace.
7858
7859         * text3.C (dispatch): adjust
7860
7861         * text.C (breakParagraph): add a ParagraphList as arg
7862
7863         * paragraph_funcs.C (breakParagraph): change to take a
7864         BufferParams and a ParagraphList as args.
7865         (breakParagraphConservative): ditto
7866         (mergeParagraph): ditto
7867         (TeXDeeper): add a ParagraphList arg
7868         (TeXEnvironment): ditto
7869         (TeXOnePar): ditto
7870
7871         * buffer.C (readLyXformat2): adjust
7872         (insertStringAsLines): adjust
7873         (latexParagraphs): adjust
7874
7875         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7876         (cutSelection): adjust
7877         (pasteSelection): adjust
7878
7879         * BufferView_pimpl.C (insertInset): adjust
7880
7881 2003-03-05  Angus Leeming  <leeming@lyx.org>
7882
7883         * commandtags.h:
7884         * LyXAction.C (init):
7885         * BufferView_pimpl.C (dispatch):
7886         * lyxfunc.C (getStatus):
7887         remove LFUN_CHILD_INSERT.
7888
7889         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7890
7891 2003-03-05  Angus Leeming  <leeming@lyx.org>
7892
7893         * commandtags.h:
7894         * LyXAction.C (init):
7895         * src/factory.C (createInset):
7896         * lyxfunc.C (getStatus):
7897         * text3.C (dispatch):
7898         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7899
7900         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7901
7902 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7903
7904         * ParagraphList.C (insert): handle insert right before end()
7905         (erase): fix cases where it can be first or last paragraph.
7906
7907 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7908
7909         * paragraph_funcs.C (TeXEnvironment): remove all usage of
7910         Paragraph::next and Paragraph::previous
7911         (TeXOnePar): ditto
7912
7913         * text.C (breakParagraph): adjust
7914
7915         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7916         BufferParams& as arg.
7917         (breakParagraph): use ParagraphList::insert
7918         (breakParagraphConservative): take a Buffer* instead of a
7919         BufferParams& as arg.
7920         (breakParagraphConservative): use ParagraphList::insert.
7921
7922         * buffer.C (insertStringAsLines): un-const it
7923         (insertStringAsLines): adjust
7924
7925         * ParagraphList.C (insert): new function
7926
7927         * CutAndPaste.C (pasteSelection): adjust
7928
7929         * text.C (backspace): adjust
7930
7931         * tabular.C (SetMultiColumn): adjust
7932
7933         * CutAndPaste.C (cutSelection): adjust
7934         (pasteSelection): adjust
7935
7936         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7937         Buffer const * as arg
7938
7939         * ParagraphList.C (erase): new function
7940         * paragraph_funcs.C (mergeParagraph): use it
7941         (mergeParagraph): make it take a Buffer* instead of a
7942         BufferParams* as arg
7943
7944         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7945         as arg
7946         (breakParagraphConservative): ditto
7947
7948         * paragraph.h: remove the breakParagraph friend
7949
7950         * paragraph.C (eraseIntern): new function
7951         (setChange): new function
7952
7953         * paragraph_funcs.C (mergeParagraph): make it take a
7954         ParagraphList::iterator instead of a Paragraph *, adjust
7955         accordingly.
7956
7957         * paragraph.h: move an #endif so that the change tracking stuff
7958         also works in the NO_NEXT case.
7959
7960 2003-03-04  Angus Leeming  <leeming@lyx.org>
7961
7962         * commandtags.h:
7963         * LyXAction.C: new LFUN_INSET_MODIFY.
7964
7965         * BufferView_pimpl.C (dispatch): if an inset is found to be open
7966         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7967
7968 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7969
7970         * several files: ws changes only
7971
7972         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7973         (TeXEnvironment): ditto
7974         (TeXDeeper): ditto
7975
7976         * buffer.C (makeLaTeXFile): adjust
7977         (latexParagraphs): make it take ParagraphList::iterator as args
7978
7979 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7980
7981         * buffer.C (latexParagraphs): adjust
7982
7983         * paragraph.C (TeXOnePar): move function...
7984         (optArgInset): move function...
7985         (TeXEnvironment): move function...
7986         * paragraph_pimpl.C (TeXDeeper): move function...
7987         * paragraph_funcs.C: ...here
7988
7989         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7990
7991 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7992
7993         * buffer.C (readInset): remove compability code for old Figure and
7994         InsetInfo insets
7995
7996 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7997
7998         * buffer.C: ws changes
7999         (readInset):
8000
8001         * BufferView_pimpl.C: ditto
8002         * author.C: ditto
8003         * buffer.h: ditto
8004         * bufferlist.h: ditto
8005         * changes.h: ditto
8006         * lyxfunc.C: ditto
8007
8008 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
8009
8010         * converter.[Ch]: split into itself +
8011         * graph.[Ch]
8012         * format.[Ch]
8013         * Makefile.am: += graph.[Ch] + format.[Ch]
8014         * MenuBackend.C
8015         * buffer.C
8016         * exporter.C
8017         * importer.C
8018         * lyx_main.C
8019         * lyxfunc.C
8020         * lyxrc.C: added #include "format.h"
8021
8022 2003-02-27  Angus Leeming  <leeming@lyx.org>
8023
8024         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8025           a label.
8026
8027         * factory.C (createInset): add "label" to the factory.
8028
8029         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8030           string and do no more.
8031
8032 2003-02-27  Angus Leeming  <leeming@lyx.org>
8033
8034         * commandtags.h:
8035         * LyXAction.C (init):
8036         * factory.C (createInset):
8037         * BufferView_pimpl.C (dispatch):
8038           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8039
8040         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8041
8042         * lyxfunc.C (dispatch):
8043         * text3.C (dispatch): pass name to params2string.
8044
8045 2003-02-26  Angus Leeming  <leeming@lyx.org>
8046
8047         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8048           blocks together.
8049           Rearrange the ~includes. Strip out the unnecessary ones.
8050
8051         * factory.C (createInset): reformat.
8052           create new insets for the various LFUN_XYZ_APPLY lfuns.
8053
8054 2003-02-26  John Levon  <levon@movementarian.org>
8055
8056         * lyxrow.h:
8057         * lyxrow.C: add isParStart,isParEnd helpers
8058
8059         * paragraph.h: make isInserted/DeletedText take refs
8060
8061         * paragraph_funcs.h:
8062         * paragraph_funcs.C: remove #if 0'd code
8063
8064         * lyxtext.h:
8065         * text3.C:
8066         * text2.C:
8067         * text.C: use lyxrow helpers above.
8068           Move draw and paint routines to RowPainter.
8069           Make several methods use refs not pointers.
8070           Make backgroundColor() const.
8071           Add markChangeInDraw(), isInInset().
8072           Merge changeRegionCase into changeCase.
8073           Make workWidth() shouldn't-happen code into an Assert.
8074
8075         * rowpainter.h:
8076         * rowpainter.C: new class for painting a row.
8077
8078         * vspace.h:
8079         * vspace.C: make inPixels take a ref
8080
8081 2003-02-26  Angus Leeming  <leeming@lyx.org>
8082
8083         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8084         LFUN_REF_APPLY.
8085
8086 2003-02-25  John Levon  <levon@movementarian.org>
8087
8088         * ispell.C: give the forked command a more accurate name
8089
8090 2003-02-22  John Levon  <levon@movementarian.org>
8091
8092         * toc.h:
8093         * toc.C: make TocItem store an id not a Paragraph *
8094           (bug #913)
8095
8096 2003-02-21  Angus Leeming  <leeming@lyx.org>
8097
8098         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8099           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8100           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8101           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8102           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8103           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8104
8105         * BufferView_pimpl.C (dispatch):
8106         * LyXAction.C (init):
8107         * factory.C (createInset):
8108         * lyxfunc.C (getStatus, dispatch):
8109         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8110
8111 2003-02-21  Angus Leeming  <leeming@lyx.org>
8112
8113         * BufferView_pimpl.C (MenuInsertLyXFile):
8114         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8115         * lyxfunc.C (menuNew, open, doImport):
8116           no longer pass a LyXView & to fileDlg.
8117
8118 2003-02-21  Angus Leeming  <leeming@lyx.org>
8119
8120         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8121         * LyXAction.C: change, BIBKEY to BIBITEM.
8122         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8123         Change InsetBibKey to InsetBibitem.
8124         Change BIBKEY_CODE to BIBITEM_CODE.
8125         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8126         * factory.C: replace insetbib.h with insetbibitem.h.
8127         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8128         * paragraph.C: replace insetbib.h with insetbibitem.h.
8129         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8130         Change bibkey() to bibitem().
8131         * text.C: remove insetbib.h.
8132         * text2.C: replace insetbib.h with insetbibitem.h.
8133         change bibkey() to bibitem().
8134         * text3.C: remove insetbib.h.
8135         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8136
8137 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8138
8139         * lyxrc.C (output): enclose user email in quotes (in case there are
8140         several words)
8141
8142 2003-02-18  John Levon  <levon@movementarian.org>
8143
8144         * buffer.h: add std::
8145
8146 2003-02-17  John Levon  <levon@movementarian.org>
8147
8148         * SpellBase.h:
8149         * ispell.h:
8150         * ispell.C:
8151         * pspell.h:
8152         * pspell.C: reworking. Especially in ispell, a large
8153           number of clean ups and bug fixes.
8154
8155         * lyxfunc.C: fix revert to behave sensibly
8156
8157 2003-02-17 André Pönitz <poenitz@gmx.net>
8158
8159         * LyXAction.C:
8160         * commandtags.h: new LFUN_INSERT_BIBKEY
8161
8162         * layout.h:
8163         * lyxlayout.C:
8164         * buffer.C:
8165         * factory.C:
8166         * text.C:
8167         * text2.C:
8168         * text3.C:
8169         * paragraph.[Ch]:
8170         * paragraph_func.C: remove special bibkey handling
8171
8172 2003-02-17  John Levon  <levon@movementarian.org>
8173
8174         * text.C (Delete): fix case where delete at the end of
8175           the very first paragraph would not merge the pars
8176
8177 2003-02-17  John Levon  <levon@movementarian.org>
8178
8179         * lyxrow.C: fix lastPrintablePos()
8180
8181 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8182
8183         * bufferparams.C (writeLaTeX): add a std:here
8184
8185         * buffer.C: and remove a using directive there
8186
8187 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8188
8189         * buffer.C (makeLaTeXFile): move the code that generates the
8190           preamble...
8191
8192         * bufferparams.C (writeLaTeX): ... in this new method
8193
8194         * LaTeXFeatures.C (getEncodingSet): make const
8195           (getLanguages): make const
8196
8197         * MenuBackend.C (binding): returns the binding associated to this
8198           action
8199           (add): sets the status of each item by calling getStatus. Adds
8200           some intelligence.
8201           (read): add support for OptSubMenu
8202           (expand): remove extra separator at the end of expanded menu
8203
8204 2003-02-15  John Levon  <levon@movementarian.org>
8205
8206         * BufferView.C:
8207         * BufferView_pimpl.C:
8208         * bufferlist.h:
8209         * bufferlist.C: remove pointless BufferStorage bloat. Remove
8210           inset code that had no actual effect. Remove unneeded status
8211           code.
8212
8213 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8214
8215         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8216           in preamble
8217
8218 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
8219
8220         * text.C (drawLengthMarker): also draw an arrow marker for
8221           symbolic lengths (medskip...)
8222
8223 2003-02-14  John Levon  <levon@movementarian.org>
8224
8225         * tabular.h:
8226         * tabular.C: better method names
8227
8228 2003-02-14  John Levon  <levon@movementarian.org>
8229
8230         * BufferView_pimpl.C:
8231         * bufferlist.C:
8232         * buffer.C:
8233         * converter.C:
8234         * lyx_cb.C:
8235         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8236           it's a more accurate name. Remove some pointless uses.
8237
8238 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8239
8240         * text2.C (LyXText): change order of initilizers to shut off
8241           warnings
8242
8243 2003-02-14  John Levon  <levon@movementarian.org>
8244
8245         * buffer.C: use ParIterator for getParFromID()
8246
8247         * paragraph.h:
8248         * paragraph.C:
8249         * paragraph_pimpl.h:
8250         * paragraph_pimpl.C: remove unused getParFromID()
8251
8252 2003-02-14  John Levon  <levon@movementarian.org>
8253
8254         * buffer.C: remove some very old #if 0'd parse code
8255
8256 2003-02-13  John Levon  <levon@movementarian.org>
8257
8258         * text.h:
8259         * text.C:
8260         * text2.C: move hfillExpansion(), numberOfSeparators(),
8261           rowLast(), rowLastPrintable(), numberofHfills(),
8262           numberOfLabelHfills() ...
8263
8264         * lyxrow.h:
8265         * lyxrow.C: ... to member functions here.
8266
8267         * paragraph.h:
8268         * paragraph.C:
8269         * lyxtext.h:
8270         * text.C: remove LyXText::beginningOfMainBody(), and call
8271           p->beginningOfMainBody() directly. Move the check for
8272           LABEL_MANUAL into the latter.
8273
8274         * text.h:
8275         * text.C:
8276         * text2.C:
8277         * vspace.C:
8278         * BufferView.h:
8279         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8280
8281         * text.h:
8282         * text.C:
8283         * text2.C:
8284         * text3.C:
8285         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8286           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8287
8288 2003-02-13  John Levon  <levon@movementarian.org>
8289
8290         * CutAndPaste.C: remove debug
8291
8292 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8293
8294         * paragraph.C (asString): remove two unused variables
8295
8296         * lyxtextclass.C (readTitleType):
8297           (Read):
8298           (LyXTextClass): handle new members titletype_ and titlename_
8299
8300         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8301
8302 2003-02-09  John Levon  <levon@movementarian.org>
8303
8304         * buffer.h:
8305         * buffer.C: replace hand-coded list with a map for the dep clean
8306
8307 2003-02-08  John Levon  <levon@movementarian.org>
8308
8309         * LaTeX.C: consolidate code into showRunMessage() helper
8310
8311 2003-02-08  John Levon  <levon@movementarian.org>
8312
8313         * lyxfind.C:
8314         * lyxtext.h:
8315         * text2.C:
8316         * BufferView.C: change setSelectionOverString() to setSelectionRange()
8317           and pass the size in explicitly
8318
8319         * BufferView_pimpl.h:
8320         * BufferView_pimpl.C:
8321         * BufferView.h:
8322         * BufferView.C: add getCurrentChange()
8323
8324         * BufferView_pimpl.h:
8325         * BufferView_pimpl.C: handle change lfuns
8326
8327         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8328           for changes. Mark pasted paragraphs as new.
8329
8330         * support/lyxtime.h:
8331         * support/lyxtime.C:
8332         * DepTable.C: abstract time_t as lyx::time_type
8333
8334         * LColor.h:
8335         * LColor.C: add colours for new text, deleted text, changebars
8336
8337         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8338           package use "usenames" option.
8339
8340         * commandtags.h:
8341         * lyxfunc.C:
8342         * LyXAction.C: add change lfuns
8343
8344         * Makefile.am:
8345         * author.h:
8346         * author.C: author handling
8347
8348         * buffer.h:
8349         * buffer.C: add a per-buffer author list, with first entry as
8350           current author. Handle new .lyx tokens for change tracking. Output
8351           author list to .lyx file. Output dvipost stuff to .tex preamble.
8352           Bump lyx format to 222.
8353
8354         * bufferlist.h:
8355         * bufferlist.C: add setCurrentAuthor() to reset current author details
8356           in all buffers.
8357
8358         * bufferparams.h:
8359         * bufferparams.C: add param for tracking
8360
8361         * bufferview_funcs.C: output change info in minibuffer
8362
8363         * Makefile.am:
8364         * changes.h:
8365         * changes.C: add change-tracking structure
8366
8367         * debug.h:
8368         * debug.C: add CHANGES debug flag
8369
8370         * lyxfind.h:
8371         * lyxfind.C: add code for finding the next change piece
8372
8373         * lyxrc.h:
8374         * lyxrc.C: add user_name and user_email
8375
8376         * lyxrow.h:
8377         * lyxrow.C: add a metric for the top of the text line
8378
8379         * lyxtext.h:
8380         * text.C: implement accept/rejectChange()
8381
8382         * lyxtext.h:
8383         * text.C: paint changebars. Paint new/deleted text in the chosen
8384         colours. Strike through deleted text.
8385
8386         * paragraph.h:
8387         * paragraph.C:
8388         * paragraph_pimpl.h:
8389         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8390           in the current change to the insert functions. Rework erase to
8391           mark text as deleted, adding an eraseIntern() and a range-based
8392           erase(). Implement per-paragraph change lookup and
8393           accept/reject.
8394
8395         * paragraph_funcs.C: Fixup paste for change tracking.
8396
8397         * tabular.C: mark added row/columns as new.
8398
8399         * text.C: fix rowLast() to never return -1. Don't allow
8400           spellchecking of deleted text. Track transpose changes. Don't
8401           allow paragraph break or merge where appropriate.
8402
8403         * text2.C: leave cursor at end of selection after a cut.
8404
8405 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8406
8407         * text.C (getLengthMarkerHeight):
8408         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8409         visible on screen too.
8410
8411 2003-02-07  John Levon  <levon@movementarian.org>
8412
8413         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8414
8415 2003-02-05  Angus Leeming  <leeming@lyx.org>
8416
8417         * lyxserver.C (read_ready): revert my patch of 11 September last year
8418         as it sends PC cpu through the roof. Presumably this means that
8419         the lyxserver will no longer run on an Alpha...
8420
8421 2003-01-30  Angus Leeming  <leeming@lyx.org>
8422
8423         * factory.C (createInset): create an InsetCommandParam of type "index"
8424         and use it to 'do the right thing'.
8425
8426         * text2.C (getStringToIndex): ensure that cursor position is always
8427         reset to the reset_cursor position.
8428
8429 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8430
8431         * lyxfunc.C (getStatus): "buffer-export custom" should never be
8432         disabled.
8433
8434 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
8435
8436         * bufferview.C:
8437         * lyxcb.C:
8438         * lyxfunc.C: Output messages with identical spelling, punctuation,
8439         and spaces
8440
8441 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
8442
8443         * MenuBackend.C (expandFormats): List only viewable export formats
8444         in "View" menu
8445
8446         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8447         message
8448
8449         * lyxfunc.C (getStatus): Make sure that formats other than
8450         "fax" can also be disabled
8451
8452 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8453
8454         * text3.C (dispatch): put the lfuns that insert insets in 3
8455         groups, and call doInsertInset with appropriate arguments.
8456         (doInsertInset): new function, that creates an inset and inserts
8457         it according to some boolean parameters.
8458
8459 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8460
8461         * buffer.C (readFile): remember to pass on 'par' when calling
8462         readFile recursively.
8463
8464 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8465
8466         * MenuBackend.C (expandFormats): add "..." to import formats.
8467
8468 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
8469
8470         * paragraph.C (asString): Remove XForms RTL hacks.
8471
8472 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
8473         * buffer.C: fix typo
8474
8475 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8476
8477         * Makefile.am (LIBS): delete var
8478         (lyx_LDADD): add @LIBS@ here instead.
8479
8480 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
8481
8482         * Clarify the meaning of "wheel mouse jump"
8483
8484 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8485
8486         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8487         tabular in a float
8488
8489 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8490
8491         * importer.C (Loaders): do not preallocate 3 elements in the
8492         vector, since one ends up with 6 elements otherwise
8493
8494 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8495
8496         * DepTable.C (write): write the file name as last element of the
8497         .dep file (because it may contain spaces)
8498         (read): read info in the right order
8499
8500 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8501
8502         * paragraph_pimpl.C (simpleTeXBlanks):
8503         (simpleTeXSpecialChars):
8504         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8505
8506         * tabular.C (latex): add some missing case statements. Reindent.
8507
8508         * MenuBackend.C (expandToc): remove unused variable.
8509
8510 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
8511
8512         * LColor.C:
8513         * LaTeX.C:
8514         * LyXAction.C:
8515         * MenuBackend.C:
8516         * buffer.C:
8517         * exporter.C:
8518         * lyxfunc.C:
8519         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8520         and the like.
8521
8522 2003-01-05  John Levon  <levon@movementarian.org>
8523
8524         * BufferView.h:
8525         * BufferView.C: add getEncoding()
8526
8527         * kbsequence.h:
8528         * kbsequence.C: do not store last keypress
8529
8530         * lyxfunc.h:
8531         * lyxfunc.C: store last keypress here instead. Pass encoding
8532           to getISOEncoded()
8533
8534 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8535
8536         * lyx_main.C (init): remove annoying error message when following
8537         symbolic links (bug #780)
8538
8539 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8540
8541         * text.C (insertChar):
8542         * lyxrc.C (getDescription): remove extra spaces
8543
8544 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8545
8546         * lyxrc.C (getDescription): remove extra spaces
8547
8548 2002-12-20  John Levon  <levon@movementarian.org>
8549
8550         * text3.C: hack fix for page up/down across tall rows
8551
8552 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8553
8554         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8555         not been invoked
8556
8557 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8558
8559         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8560         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8561         thesaurus is not compiled in
8562
8563 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
8564
8565         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
8566
8567 2002-12-16  Angus Leeming  <leeming@lyx.org>
8568
8569         * lyxrc.[Ch]:
8570         * lyx_main.C (init): remove override_x_deadkeys stuff.
8571
8572 2002-12-12  John Levon  <levon@movementarian.org>
8573
8574         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8575           insert. Only remove shift modifier under strict
8576           circumstances.
8577
8578 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8579
8580         * MenuBackend.C (expandToc): fix crash.
8581
8582 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8583
8584         * MenuBackend.C (expandToc): gettext on float names.
8585
8586 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
8587
8588         * lyxlength.[Ch]: set default unit to UNIT_NONE,
8589         implement bool empty() [bug 490]
8590
8591 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8592
8593         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8594
8595 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8596
8597         * several files: ws changes
8598
8599 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8600
8601         * text2.C (setCounter): clean up a bit, use boost.format.
8602         (updateCounters): initialize par upon declaration.
8603
8604         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8605         if the layout exists. We do not just store the layout any more.
8606         (SwitchLayoutsBetweenClasses): use boost.format
8607
8608 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8609
8610         * converter.C (convert): if from and to files are the same, use a
8611         temporary files as intermediary
8612
8613 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8614
8615         * commandtags.h:
8616         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8617
8618 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
8619
8620         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8621
8622 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8623
8624         * tabular.C (asciiPrintCell): use string(size, char) instead of
8625         explicit loop.
8626
8627         * sgml.C (openTag): fix order of arguments to string constructor
8628         (closeTag): ditto
8629
8630         * lyxfunc.C (dispatch): use boost.format
8631
8632         * lots of files: change "c" -> 'c'
8633
8634 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
8635
8636         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8637
8638 2002-11-25  Angus Leeming  <leeming@lyx.org>
8639
8640         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8641
8642         * lyx_main.C (init): compile fix.
8643
8644 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8645
8646         * lyx_cb.C (start): boost.formatify
8647         do not include <iostream>
8648
8649         * lengthcommon.C: ws only
8650
8651         * boost-inst.C,BoostFormat.h: add more explict instantations
8652
8653 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8654
8655         * lots of files: handle USE_BOOST_FORMAT
8656
8657 2002-11-21  John Levon  <levon@movementarian.org>
8658
8659         * pspell.C: fix compile
8660
8661 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8662
8663         * lyxfunc.C (dispatch): use boost::format
8664         (open): ditto
8665         (doImport): ditto
8666
8667         * lyxfont.C (stateText): use boost::format
8668
8669         * lyx_main.C (LyX): use boost::format
8670         (init): ditto
8671         (queryUserLyXDir): ditto
8672         (readRcFile): ditto
8673         (parse_dbg): ditto
8674         (typedef boost::function): use the recommened syntax.
8675
8676         * importer.C (Import): use boost::format
8677
8678         * debug.C (showLevel): use boost::format
8679
8680         * converter.C (view): use boost::format
8681         (convert): ditto
8682         (move): ditto
8683         (scanLog): ditto
8684
8685         * bufferview_funcs.C (currentState): use boost::format
8686
8687         * bufferlist.C (emergencyWrite): use boost::format
8688
8689         * buffer.C (readLyXformat2): use boost::format
8690         (parseSingleLyXformat2Token): ditto
8691
8692         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8693
8694         * LaTeX.C (run): use boost::format
8695
8696         * Chktex.C (scanLogFile): use boost::format
8697
8698         * BufferView_pimpl.C (savePosition): use boost::format
8699         (restorePosition): ditto
8700         (MenuInsertLyXFile): ditto
8701
8702         * BoostFormat.h: help file for explicit instation.
8703
8704 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
8705
8706         * tabular.C (latex): Support for block alignment in fixed width
8707         columns.
8708
8709 2002-11-17  John Levon  <levon@movementarian.org>
8710
8711         * BufferView_pimpl.C:
8712         * lyx_cb.C:
8713         * lyxfunc.C: split filedialog into open/save
8714
8715 2002-11-08  Juergen Vigna  <jug@sad.it>
8716
8717         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8718         by my last patch (hopefully).
8719
8720 2002-11-08  John Levon  <levon@movementarian.org>
8721
8722         * iterators.h:
8723         * iterators.C:
8724         * buffer.h:
8725         * buffer.C:
8726         * paragraph.h:
8727         * paragraph.C:
8728         * toc.h:
8729         * toc.C: ParConstIterator, and use it (from Lars)
8730
8731 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
8732
8733         * lyxtextclass.[Ch]: revise and add doxygen comments
8734
8735 2002-11-07  John Levon  <levon@movementarian.org>
8736
8737         * text.C: fix progress value for spellchecker
8738
8739         * toc.C: fix navigate menu for insetwrap inside minipage
8740
8741         * paragraph_funcs.C: added FIXME for suspect code
8742
8743 2002-11-07  John Levon  <levon@movementarian.org>
8744
8745         * BufferView_pimpl.C: fix redrawing of insets
8746           on buffer switch
8747
8748 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8749
8750         * text2.C (updateCounters): fix bug 668
8751
8752 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
8753
8754         * text3.C (dispatch): Do not make the buffer dirty when moving the
8755         cursor.
8756
8757 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8758
8759         * vc-backend.C: STRCONV
8760         (scanMaster): ditto
8761
8762         * text2.C (setCounter): STRCONV
8763
8764         * paragraph.C (asString): STRCONV
8765
8766         * lyxlength.C (asString): STRCONV
8767         (asLatexString): ditto
8768
8769         * lyxgluelength.C (asString): STRCONV
8770         (asLatexString): ditto
8771
8772         * lyxfunc.C (dispatch): STRCONV
8773         (open): ditto
8774
8775         * lyxfont.C (stateText): STRCONV
8776
8777         * importer.C (Import): STRCONV
8778
8779         * counters.C (labelItem): STRCONV
8780         (numberLabel): ditto
8781         (numberLabel): remove unused ostringstream o
8782
8783         * chset.C: STRCONV
8784         (loadFile): ditto
8785
8786         * bufferview_funcs.C (currentState): STRCONV
8787
8788         * buffer.C (readFile): STRCONV
8789         (asciiParagraph): ditto
8790         (makeLaTeXFile): ditto
8791
8792         * Spacing.C (writeEnvirBegin): STRCONV
8793
8794         * LaTeXFeatures.C (getLanguages): STRCONV
8795         (getPackages): ditto
8796         (getMacros): ditto
8797         (getBabelOptions): ditto
8798         (getTClassPreamble): ditto
8799         (getLyXSGMLEntities): ditto
8800         (getIncludedFiles): ditto
8801
8802         * LaTeX.C: STRCONV
8803         (run): ditto
8804         (scanAuxFile): ditto
8805         (deplog): ditto
8806
8807         * LString.h: add the STRCONV macros
8808
8809         * BufferView_pimpl.C (savePosition): STRCONV
8810         (restorePosition): ditto
8811         (MenuInsertLyXFile): ditto
8812
8813         * vc-backend.C (scanMaster): change from submatch[...] to
8814         submatch.str(...)
8815
8816         * funcrequest.C: include config.h
8817
8818         * factory.C: include config.h
8819
8820         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8821
8822         * box.C: include config.h
8823
8824         * LaTeX.C (scanAuxFile): change from submatch[...] to
8825         submatch.str(...)
8826         (deplog): ditto
8827
8828 2002-10-25  Angus Leeming  <leeming@lyx.org>
8829
8830         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8831
8832         * ispell.[Ch] (setError): new method.
8833         * ispell.C (c-tor): move out child process into new class LaunchIspell.
8834         Use setError() insetead of goto END.
8835
8836         * lyx_cb.C (AutoSave): move out child process into new class
8837         AutoSaveBuffer.
8838
8839 2002-10-30  John Levon  <levon@movementarian.org>
8840
8841         * text3.C: make start appendix undoable
8842
8843 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
8844
8845         * lyxlength.C (inPixels): Fix returned value.
8846
8847         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8848         environment.
8849
8850 2002-10-24  Angus Leeming  <leeming@lyx.org>
8851
8852         * lyxgluelength.h: no need to forward declare BufferParams
8853         or BufferView, so don't.
8854
8855 2002-10-21  John Levon  <levon@movementarian.org>
8856
8857         * BufferView.C: menuUndo ->undo, redo
8858
8859         * BufferView.h: document, remove dead, make some methods private
8860
8861         * paragraph_funcs.h:
8862         * paragraph_funcs.C:
8863         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8864
8865         * buffer.h:
8866         * buffer.C:
8867         * sgml.h:
8868         * sgml.C: move sgml open/close tag into sgml.C
8869
8870         * bufferview_funcs.h: unused prototype
8871
8872         * lyxfunc.h:
8873         * lyxfunc.C: remove unused
8874
8875         * lyxtext.h:
8876         * text.C: remove unused
8877
8878 2002-10-21  John Levon  <levon@movementarian.org>
8879
8880         * BufferView.h:
8881         * BufferView.C:
8882         * BufferView_pimpl.h:
8883         * BufferView_pimpl.C: fix mouse wheel handling based on
8884           patch from Darren Freeman
8885
8886 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
8887
8888         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8889
8890 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
8891
8892         * lyxlength.C (inPixels): Fix hanfling of negative length.
8893         Fix LyXLength::MU case.
8894
8895 2002-10-16  John Levon  <levon@movementarian.org>
8896
8897         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8898
8899 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8900
8901         * converter.C (view): add support for $$i (file name) and $$p
8902         (file path) for the viewer command. If $$i is not specified, then
8903         it is appended to the command (for compatibility with old syntax)
8904
8905 2002-10-14  Juergen Vigna  <jug@sad.it>
8906
8907         * undo_funcs.C (textHandleUndo): alter the order in which the
8908         new undopar is added to the LyXText, as we have to set first
8909         the right prev/next and then add it as otherwise the rebuild of
8910         LyXText is not correct. Also reset the cursor to the right paragraph,
8911         with this IMO we could remove the hack in "redoParagraphs()".
8912
8913 2002-10-09  Angus Leeming  <leeming@lyx.org>
8914
8915         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8916         to turn off an optimisation if a new inset is to be inserted.
8917
8918 2002-10-11 André Pönitz <poenitz@gmx.net>
8919
8920         * lyxtext.h: make some functions public to allow access
8921         from inset/lyxtext for handling LFUN_PRIOR/NEXT
8922
8923 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8924
8925         * text3.C (dispatch): when changing layout, avoid an infinite loop
8926         [bug #652]
8927
8928 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8929
8930         * lyxrc.C (read): treat a viewer or converter command of "none" as
8931         if it were empty.
8932
8933         * MenuBackend.C (expandFormats): for an update, also allow the
8934         formats that are not viewable
8935
8936         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8937         script if it is newer than the lyxrc.defaults in user directory
8938
8939 2002-10-07 André Pönitz <poenitz@gmx.net>
8940
8941         * text.C: Vitaly Lipatov's small i18n fix
8942
8943 2002-09-25  Angus Leeming  <leeming@lyx.org>
8944
8945         * ispell.h: doxygen fix.
8946
8947 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
8948
8949         * buffer.h (readFile): Add a new argument to the method, to allow
8950         reading of old-format templates.
8951
8952 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
8953
8954         * toc.C (getTocList): Get TOC from InsetWrap.
8955
8956 2002-09-16  John Levon  <levon@movementarian.org>
8957
8958         * lyxfunc.C: check tabular for cut/copy too
8959
8960 2002-09-12  John Levon  <levon@movementarian.org>
8961
8962         * LyXAction.C: tidy
8963
8964         * factory.h:
8965         * factory.C: add header
8966
8967         * paragraph_funcs.h:
8968         * paragraph_funcs.C: cleanup
8969
8970 2002-09-11  John Levon  <levon@movementarian.org>
8971
8972         * PrinterParams.h: odd/even default to true
8973
8974 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
8975
8976         * PrinterParams.h: update printer parameters for new xforms dialog
8977
8978 2002-09-11  Angus Leeming  <leeming@lyx.org>
8979
8980         * lyxserver.C (read_ready): re-write to make it more transparent
8981         and to make it work in coherent fashion under Tru64 Unix.
8982
8983 2002-09-11  André Pönitz <poenitz@gmx.net>
8984
8985         * commandtags.h:
8986         * LyXAction.C:
8987         * text3.C: implement LFUN_WORDSEL
8988
8989 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8990
8991         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8992         make floatlist_ a boost::shared_ptr<FloatList>
8993
8994         * lyxtextclass.C: include FloatList.h
8995         (LyXTextClass): initialize floatlist_
8996         (TextClassTags): add TC_NOFLOAT
8997         (Read): match "nofloat" to TC_NOFLOAT and use it.
8998         (readFloat): modify call to floatlist_
8999         (floats): ditto
9000         (floats): ditto
9001
9002         * FloatList.[Ch] (FloatList): remove commented out float
9003         initialization.
9004         (erase): new function
9005
9006 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9007
9008         * MenuBackend.C (expandToc): fix crash when there is no document
9009         open
9010
9011 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
9012
9013         * many files: Add insetwrap.
9014
9015 2002-09-09  John Levon  <levon@movementarian.org>
9016
9017         * text2.C: remove confusing and awkward depth wraparound
9018
9019 2002-09-09  John Levon  <levon@movementarian.org>
9020
9021         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9022
9023         * buffer.h:
9024         * buffer.C: remove getIncludeonlyList()
9025
9026         * paragraph.C:
9027         * lyxfunc.C: remove headers
9028
9029 2002-09-09  Juergen Vigna  <jug@sad.it>
9030
9031         * text.C (getColumnNearX): fix form Michael this is most
9032         probably a cut&paste bug.
9033
9034 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9035
9036         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9037
9038         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9039         references, ws changes.
9040
9041         * text2.C (init): update counters after init
9042         (insertParagraph): no need to set counter on idividual paragraphs.
9043         (setCounter): access the counters object in the textclass object
9044         on in the buffer object.
9045         (updateCounters): ditto
9046
9047         * lyxtextclass.C: include counters.h, add variable ctrs_ as
9048         shared_ptr<Counters> to avoid loading counters.h in all
9049         compilation units.
9050         (LyXTextClass): initialize ctrs_
9051         (TextClassTags): add TC_COUNTER, and ...
9052         (Read): use it here.
9053         (CounterTags): new tags
9054         (readCounter): new function
9055         (counters): new funtion
9056         (defaultLayoutName): return a const reference
9057
9058         * counters.C (Counters): remove contructor
9059         (newCounter): remove a couple of unneeded statements.
9060         (newCounter): simplify a bit.
9061         (numberLabel): some small formatting changes.
9062
9063         * buffer.[Ch]: remove all traces of counters, move the Counters
9064         object to the LyXTextClass.
9065
9066 2002-09-06  Alain Castera  <castera@in2p3.fr>
9067
9068         * tabular.C: uses \tabularnewline; uses >{...} construct from array
9069         package to set the horizontal alignment on fixed width columns.
9070
9071         * lyx_sty.C:
9072         * lyx_sty.h: added tabularnewline macro def.
9073
9074         * LaTeXFeatures.C: added NeedTabularnewline macro feature
9075
9076 2002-09-06  John Levon  <levon@movementarian.org>
9077
9078         * LyXAction.C: tooltips for sub/superscript
9079
9080         * MenuBackend.C: a bit more verbose
9081
9082         * lyxfunc.C: tiny clean
9083
9084         * undo_funcs.C: document undo_frozen
9085
9086 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9087
9088         * counters.C (Counters): add missing algorithm counter.
9089
9090         * text2.C (setCounter): lookup the counter with layouts latexname
9091         instead of by section number.
9092         (setCounter): use a hackish way to lookup the correct enum
9093         counter.
9094         a float name->type change
9095         reset enum couners with counter name directly instead of depth value.
9096
9097         * counters.C (Counters): remove the push_backs, change to use the
9098         float type not the float name.
9099         (labelItem): remove unused string, float name->type change
9100
9101         * counters.h: don't include vector, loose the enums and sects vectors
9102
9103 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9104
9105         * lyxtextclass.C (TextClassTags): add TC_FLOAT
9106         (Read): add float->TC_FLOAT to textclassTags
9107         (Read): and handle it in the switch
9108         (readFloat): new function
9109
9110         * FloatList.C (FloatList): comment out the hardcoded float
9111         definitions.
9112
9113         * lyxlayout.h: ws change.
9114
9115 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
9116
9117         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9118
9119 2002-09-03  Angus Leeming  <leeming@lyx.org>
9120
9121         * BufferView_pimpl.h: qualified name is not allowed in member
9122         declaration: WorkArea & Pimpl::workarea() const;
9123
9124         * factory.C: added using std::endl directive.
9125
9126         * text3.C: added using std::find and std::vector directives.
9127
9128 2002-08-29  André Pönitz <poenitz@gmx.net>
9129
9130         * lyxtext.h:
9131         * text2.C: remove unused member number_of_rows
9132
9133         * Makefile.am:
9134         * BufferView2.C: remove file, move contents to...
9135         * BufferView.C: ... here
9136
9137         * BufferView_pimpl.C:
9138         * factory.C: move more inset creation to factory
9139
9140         * vspace.C: avoid direct usage of LyXText, ws changes
9141
9142         * BufferView.[Ch]:
9143                 don't provide direct access to WorkArea, use two simple
9144                 acessors haveSelction() and workHeight() instead
9145
9146
9147 2002-08-29  John Levon  <levon@movementarian.org>
9148
9149         * BufferView_pimpl.C (dispatch): do not continue when
9150           no buffer
9151
9152 2002-08-28  André Pönitz <poenitz@gmx.net>
9153
9154         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9155
9156         * BufferView.h:
9157         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9158
9159 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
9160
9161         * buffer.C: increment LYX_FORMAT to 221
9162
9163         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9164         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9165
9166         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9167
9168         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9169
9170 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9171
9172         * factory.C (createInset): use LyXTextClass::floats
9173
9174         * MenuBackend.C (expandFloatListInsert):
9175         (expandFloatInsert):
9176         (expandToc):
9177
9178         * text2.C (setCounter):
9179
9180         * LaTeXFeatures.C (useFloat):
9181         (getFloatDefinitions):
9182
9183         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9184
9185         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9186         floatlist_, with accessor floats().
9187
9188         * FloatList.h: remove global FloatList
9189
9190 2002-08-26  André Pönitz <poenitz@gmx.net>
9191
9192         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9193
9194         * BufferView.h:
9195         * BufferView2.C:
9196         * BufferView_pimpl.C:
9197         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9198
9199 2002-08-25  John Levon  <levon@movementarian.org>
9200
9201         * LyXAction.C: fix margin note description
9202
9203 2002-08-24  John Levon  <levon@movementarian.org>
9204
9205         * buffer.C:
9206         * bufferlist.C:
9207         * bufferview_funcs.C:
9208         * lyxfont.C:
9209         * undo_funcs.C: cleanups
9210
9211         * lyxfunc.C: disable CUT/COPY when no selection
9212
9213 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
9214
9215         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9216         in "enum UNIT"; e.g. PTW for Percent of TextWidth
9217
9218         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9219         Add backward compatibility to "mono", "gray" and "no".
9220
9221 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
9222
9223         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9224         (and file_format >= 200).
9225
9226 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9227
9228         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9229
9230 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9231
9232         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9233
9234 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
9235
9236         * BufferView_pimpl.C:
9237         * LyXAction.C:
9238         * buffer.C:
9239         * commandtags.h:
9240         * lyxfunc.C:
9241         * paragraph.[Ch]:
9242         * text2.C:
9243         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9244         inset and code to make it  work with the paragraph code. The inset
9245         can be anywhere in the paragraph, but will only do the expected
9246         thing in LaTeX if the layout file contains the parameter line
9247                         OptionalArgs    1
9248         (or more generally, a nonzero value) for that layout.
9249
9250 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
9251
9252         * paragraph.h: remove the declaration of undefined counters class
9253         function.
9254
9255 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
9256
9257         * text2.C (setCounter):  fixed enumeration mis-count as reported by
9258         Dr. Richard Hawkins.
9259
9260 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9261
9262         * paragraph_funcs.h: remove some unneeded includes
9263
9264         * text.C (backspace): pasteParagraph now in global scipe
9265
9266         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9267         (pasteSelection): ditto
9268
9269         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9270         * paragraph_funcs.C (pasteParagraph): ... here
9271
9272 2002-08-20  André Pönitz <poenitz@gmx.net>
9273
9274         * commandtags.h: new LFUNs for swapping/copying table row/colums
9275
9276         * LyXAction.C:
9277         * lyxfunc.C: support for new lfuns
9278
9279 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
9280
9281         * tabular.C:
9282         * buffer.[Ch]: remove NO_COMPABILITY stuff
9283
9284 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
9285
9286         * boost.C (throw_exception): new file, with helper function for
9287         boost compiled without exceptions.
9288
9289         * paragraph.h:
9290         * lyxlength.C:
9291         * buffer.C:
9292         * ParameterStruct.h:
9293         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9294
9295         * bufferlist.C (emergencyWriteAll): use boost bind
9296
9297         * BufferView_pimpl.C (moveCursorUpdate): remove inline
9298
9299         * text.C: include paragraph_funcs.h
9300         (breakParagraph): breakParagraph is now in global scope
9301
9302         * paragraph_funcs.[Ch]: new files
9303
9304         * paragraph.C (breakParagraph,breakParagraphConservative): move to
9305         global scope
9306
9307         * buffer.C: include paragraph_funcs.h
9308         (insertStringAsLines): breakParagraph is now in global scope
9309
9310         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9311         paragraph_funcs.C
9312
9313         * CutAndPaste.C: include paragraph_funcs.h
9314         (cutSelection): breakParagraphConservative is now in global scope
9315         (pasteSelection): ditto
9316
9317         * buffer.h: declare oprator== and operator!= for
9318         Buffer::inset_iterator
9319
9320         * bufferlist.C (emergencyWrite): don't use fmt(...)
9321
9322         * text3.C: add using std::endl
9323
9324         * BufferView.C (moveCursorUpdate): remove default arg
9325
9326 2002-08-20  André Pönitz <poenitz@gmx.net>
9327
9328         * buffer.[Ch]: move inline functions to .C
9329
9330         * BufferView2.C:
9331         * BufferView_pimpl.C:
9332         * text.C:
9333         * buffer.[Ch]: use improved inset_iterator
9334
9335         * buffer.C:
9336         * paragraph.[Ch]: write one paragraph at a time
9337
9338 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
9339
9340         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9341         style if style is not specified.
9342
9343 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9344
9345         * text2.C (setCounter): when searching for right label for a
9346         caption, make sure to recurse to parent insets (so that a caption
9347         in a minipage in a figure float works) (bug #568)
9348
9349 2002-08-20  André Pönitz <poenitz@gmx.net>
9350
9351         * text3.C: new file for LyXText::dispatch() and helpers
9352
9353         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9354
9355         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9356
9357 2002-08-19  André Pönitz <poenitz@gmx.net>
9358
9359         * lyxtext.h:
9360         * text.C: new LyXText::dispatch()
9361
9362         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9363
9364 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
9365
9366         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9367
9368         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9369         Hebrew text.
9370
9371 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9372
9373         * Makefile.am: use $(variables) instead of @substitutions@
9374
9375 2002-08-15  André Pönitz <poenitz@gmx.net>
9376
9377         * lyxfunc.C:
9378         * BufferView_pimpl.C: streamlining mathed <-> outer world
9379         interaction
9380
9381         * commandtags.h:
9382         * LyXAction.C: remove unused LFUN_MATH
9383
9384 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9385
9386         * paragraph.[Ch]: add some NO_NEXT ifdefs.
9387
9388 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9389
9390         * paragraph.C (Paragraph): reformat a bit
9391         (cutIntoMinibuffer): use builtin InsetList function instad of
9392         doing it manually.
9393         (getInset): ditto
9394
9395         * buffer.C: include boost/bind.hpp, add using std::for_each
9396         (writeFileAscii): use ParagraphList iterators
9397         (validate): use for_each for validate traversal of paragraphs
9398         (getBibkeyList): use ParagraphList iterators
9399         (resizeInsets): use for_each to resizeInsetsLyXText for all
9400         paragraphs.
9401         (getParFromID): use ParagraphList iterators
9402
9403         * BufferView2.C (lockInset): use paragraph list and iterators
9404
9405 2002-08-14  John Levon  <levon@movementarian.org>
9406
9407         * lyxserver.C: remove spurious xforms include
9408
9409 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9410
9411         * lyxfunc.C (getStatus): disable math-extern outside of math mode
9412
9413 2002-08-13  André Pönitz <poenitz@gmx.net>
9414
9415         * LyXAction.[Ch]:
9416         * lyxfunc.C: further cleaning
9417
9418 2002-08-13  André Pönitz <poenitz@gmx.net>
9419
9420         * funcrequest.h: new constructor
9421
9422         * funcrequest.C: move stuff here from .h
9423
9424         * Makefile.am:
9425         * BufferView_pimpl.C:
9426         * LyXAction.C:
9427         * toc.C:
9428         * lyxfunc.C: subsequent changes
9429
9430         * lyxfunc.h: new view() member function
9431
9432         * lyxfunc.C: subsequent changes
9433
9434 2002-08-13  Angus Leeming  <leeming@lyx.org>
9435
9436         * BufferView2.C:
9437         * BufferView_pimpl.C:
9438         * buffer.C:
9439         * converter.C:
9440         * importer.C:
9441         * lyxfunc.C:
9442         * lyxvc.C:
9443         * toc.C:
9444         * vc-backend.C:
9445         changes due to the changed LyXView interface that now returns references
9446         to member variables not pointers.
9447
9448 2002-08-13  Angus Leeming  <leeming@lyx.org>
9449
9450         * WordLangTuple (word, lang_code): return references to strings,
9451         not strings.
9452
9453         * BufferView.h:
9454         * SpellBase.h:
9455         * lyxtext.h: forward-declare WordLangTuple.
9456
9457         * BufferView2.C:
9458         * ispell.C:
9459         * pspell.C:
9460         * text.C: #include "WordLangTuple.h".
9461
9462         * lyxtext.h:
9463         * text.C: (selectNextWordToSpellcheck): constify return type.
9464
9465 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
9466
9467         * buffer.C:
9468         * buffer.h:
9469         * lyxtext.h:
9470         * paragraph.C:
9471         * paragraph_pimpl.h:
9472         * text.C:
9473         * text2.C:
9474         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9475         suggested by Angus.
9476         Made updateCounter always count from start of buffer, and removed
9477         second argument (par).
9478         Reverted floats number display to '#'. Perhaps I'll try again when the
9479         code base is sanitized a bit.
9480
9481 2002-08-12  Angus Leeming  <leeming@lyx.org>
9482
9483         * buffer.[Ch] (getLabelList): constify.
9484
9485 2002-08-07  André Pönitz <poenitz@gmx.net>
9486
9487         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9488
9489         * funcrequest.h: extension to keep mouse (x,y) position
9490
9491 2002-08-12  Juergen Vigna  <jug@sad.it>
9492
9493         * BufferView2.C (insertErrors): forbid undo when inserting error
9494         insets.
9495
9496         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9497
9498 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9499
9500         * ParagraphList.[Ch]: new files
9501
9502         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9503
9504         * BufferView2.C (lockInset): ParagraphList changes
9505         * toc.C: ditto
9506         * text2.C: ditto
9507         * bufferlist.C: ditto
9508         * buffer.h: ditto
9509         * buffer.C: ditto
9510
9511 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9512
9513         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9514         unused class variable counter_,
9515
9516         * paragraph.[Ch] (getFirstCounter): delete unused function
9517
9518         * counters.C: include LAssert.h
9519         (reset): add a new function with no arg, change other version to
9520         not have def. arg and to not allow empty arg.
9521
9522         * text2.C (setCounter): remove empty arg from call to Counters::reset
9523
9524 2002-08-11  John Levon  <levon@movementarian.org>
9525
9526         * Makefile.am: add WordLangTuple.h
9527
9528 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9529
9530         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9531         lyxfunc.C lyxlex_pimpl.C: ws changes only.
9532
9533         * insets/insettext.C: InsetList changes
9534
9535         * graphics/GraphicsSupport.C (operator()): InsetList changes
9536
9537         * toc.C (getTocList): InsetList changes
9538
9539         * paragraph_pimpl.[Ch]: InsetList changes
9540
9541         * paragraph.[Ch]: InsetList changes
9542
9543         * buffer.C (inset_iterator): InsetList changes
9544         (setParagraph): ditto
9545         * buffer.h (inset_iterator): ditto
9546         * iterators.C (operator++): ditto
9547         * iterators.h: ditto
9548
9549         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9550
9551         * InsetList.[Ch]: new files, most InsetList handling moved out of
9552         paragraph.C.
9553
9554         * BufferView2.C (removeAutoInsets): InsetList changes
9555         (lockInset): ditto
9556         (ChangeInsets): ditto
9557
9558 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
9559
9560         * paragraph_pimpl.h (empty): new function
9561
9562         * paragraph.[Ch] (empty): new function
9563
9564         * other files: use the new Paragraph::empty function
9565
9566 2002-08-09  John Levon  <levon@movementarian.org>
9567
9568         * lyxtext.h: remove unused refresh_height
9569
9570 2002-08-09  John Levon  <levon@movementarian.org>
9571
9572         * Makefile.am:
9573         * sgml.h:
9574         * sgml.C:
9575         * buffer.C:
9576         * paragraph.h:
9577         * paragraph.C: move sgml char escaping out of paragraph
9578
9579         * paragraph.h:
9580         * paragraph.C: remove id setter
9581
9582         * buffer.C:
9583         * paragraph.C:
9584         * paragraph_pimpl.C: remove dead tex_code_break_column
9585
9586         * bufferview_funcs.C: small cleanup
9587
9588         * lyxfunc.C: remove dead proto
9589
9590         * lyxtext.h: make some stuff private. Remove some dead stuff.
9591
9592         * lyxgluelength.C: make as[LyX]String() readable
9593
9594 2002-08-08  John Levon  <levon@movementarian.org>
9595
9596         * LyXAction.h:
9597         * LyXAction.C:
9598         * MenuBackend.C:
9599         * ToolbarDefaults.C:
9600         * lyxfunc.C:
9601         * lyxrc.C:
9602         * toc.C: lyxaction cleanup
9603
9604 2002-08-08  John Levon  <levon@movementarian.org>
9605
9606         * BufferView2.C: small cleanup
9607
9608         * lyxfind.h:
9609         * lyxfind.C: move unnecessary header into the .C
9610
9611 2002-08-08  John Levon  <levon@movementarian.org>
9612
9613         * funcrequest.h: just tedious nonsense
9614
9615         * lyx_main.h:
9616         * lyx_main.C: cleanups
9617
9618         * buffer.C:
9619         * vspace.C: remove dead header lyx_main.h
9620
9621 2002-08-07  Angus Leeming  <leeming@lyx.org>
9622
9623         * Paragraph.[Ch]:
9624         * paragraph_pimpl.h:
9625         Forward declare class Counters in paragraph.h by moving the ctrs member
9626         variable into Paragraph::Pimpl.
9627         (counters): new method, returning a reference to pimpl_->ctrs.
9628
9629         * text2.C: ensuing changes.
9630
9631 2002-08-07  John Levon  <levon@movementarian.org>
9632
9633         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9634
9635         * BufferView_pimpl.C: announce X selection on double/triple
9636           click
9637
9638         * lyx_main.C: use correct bool in batch dispatch
9639
9640         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9641
9642 2002-08-07  André Pönitz <poenitz@gmx.net>
9643
9644         * funcrequest.h: new class to wrap a kb_action and its argument
9645
9646         * BufferView.[Ch]:
9647         * BufferView_pimpl[Ch]:
9648         * LaTeX.C:
9649         * LyXAction.[Ch]:
9650         * lyxfunc.[Ch]:
9651         * lyxrc.C: subsequent changes
9652
9653
9654 2002-08-07  John Levon  <levon@movementarian.org>
9655
9656         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9657           document options change.
9658
9659 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
9660
9661         * counters.[Ch]
9662         * text2.C
9663         * paragraph.[Ch]
9664         * makefile.am: move counters functionality over from
9665         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9666
9667 2002-08-06  John Levon  <levon@movementarian.org>
9668
9669         * WordLangTuple.h: new file for word + language code tuple
9670
9671         * SpellBase.h:
9672         * pspell.h:
9673         * pspell.C:
9674         * ispell.h:
9675         * ispell.C:
9676         * lyxtext.h:
9677         * text.C:
9678         * text2.C:
9679         * BufferView.h:
9680         * BufferView2.C: use WordLangTuple
9681
9682         * layout.h:
9683         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9684
9685 2002-08-06  John Levon  <levon@movementarian.org>
9686
9687         * lyx_main.C: fix cmdline batch handling
9688
9689 2002-08-06  André Pönitz <poenitz@gmx.net>
9690
9691         * lyxrc.C: set default for show_banner to true
9692
9693 2002-08-06  John Levon  <levon@movementarian.org>
9694
9695         * pspell.C: fix a crash, and allow new aspell to work
9696
9697 2002-08-06  John Levon  <levon@movementarian.org>
9698
9699         * lyxfunc.C:
9700         * kbmap.C: small cleanup
9701
9702         * vspace.h:
9703         * vspace.C: add const
9704
9705 2002-08-05  John Levon  <levon@movementarian.org>
9706
9707         * LyXAction.C: back to tabular-insert
9708
9709 2002-08-04  John Levon  <levon@movementarian.org>
9710
9711         * BufferView.h:
9712         * BufferView.C: cosmetic change
9713
9714         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9715
9716         * bufferlist.C:
9717         * buffer.h:
9718         * buffer.C:
9719         * lyxcb.h:
9720         * lyxcb.C:
9721         * lyxserver.C:
9722         * lyxvc.C:
9723         * vc-backend.C:
9724         * BufferView2.C: purge all "Lyx" not "LyX" strings
9725
9726         * lyxcursor.h:
9727         * lyxcursor.C: attempt to add some documentation
9728
9729         * lyxfunc.C:
9730         * commandtags.h:
9731         * LyXAction.C:
9732         * ToolbarDefaults.C:
9733         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9734           merge with LFUN_TABULAR_INSERT
9735
9736         * Makefile.am:
9737         * SpellBase.h:
9738         * ispell.h:
9739         * ispell.C:
9740         * pspell.h:
9741         * pspell.C: split up i/pspell implementations into separate
9742           files, many cleanups
9743
9744         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9745
9746         * text2.C: some cleanup
9747
9748         * lyxfunc.C: don't check for isp_command == "none" any more, it
9749           didn't make any sense
9750
9751 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
9752
9753         * counters.[Ch]
9754         * text2.C
9755         * paragraph.[Ch]
9756         * makefile.am: move counters functionality over
9757         from text2.C/paragraph.[Ch] to counters.[Ch], and
9758         make proper C++.
9759 2002-08-02  John Levon  <levon@movementarian.org>
9760
9761         * buffer.C: s/lyxconvert/lyx2lyx/
9762
9763 2002-08-02  Angus Leeming  <leeming@lyx.org>
9764
9765         * lyxlex.C: revert John's change as it breaks reading of the user
9766         preamble.
9767
9768 2002-08-02  Angus Leeming  <leeming@lyx.org>
9769
9770         * importer.C (Import):
9771         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9772         changes due to LyXView::view() now returning a boost::shared_ptr.
9773
9774 2002-08-02  John Levon  <levon@movementarian.org>
9775
9776         * lyxlex.C: small cleanup
9777
9778 2002-08-02  John Levon  <levon@movementarian.org>
9779
9780         * text2.C (status): small cleanup, no logic change
9781
9782 2002-08-01  John Levon  <levon@movementarian.org>
9783
9784         * buffer.h:
9785         * buffer.C (writeFile): don't output alerts, caller
9786           handles this
9787
9788         * bufferlist.C:
9789         * lyx_cb.C: from above
9790
9791         * lyxfunc.C: allow to open non-existent files
9792
9793 2002-07-31  John Levon  <levon@movementarian.org>
9794
9795         * lyxserver.C: don't let incidental errors get
9796           in the way (errno)
9797
9798 2002-07-30  John Levon  <levon@movementarian.org>
9799
9800         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9801
9802 2002-07-30  John Levon  <levon@movementarian.org>
9803
9804         * lyxserver.h:
9805         * lyxserver.C: remove I/O callback too
9806
9807 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9808
9809         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9810         log.
9811
9812 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9813
9814         * many files: strip,frontStrip -> trim,ltrim,rtrim
9815
9816 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
9817
9818         * PrinterParams.h: remove extern containsOnly, and include
9819         support/lstrings.h instead.
9820
9821         * LaTeX.C (scanAuxFile): modify because of strip changes
9822         (deplog): ditto
9823         * buffer.C (makeLaTeXFile): ditto
9824         * bufferparams.C (writeFile): ditt
9825         * lyxfont.C (stateText): ditto
9826         * lyxserver.C (read_ready): ditto
9827         * vc-backend.C (scanMaster): ditto
9828
9829         * BufferView_pimpl.h: ws changes
9830
9831         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9832
9833 2002-07-26  André Pönitz <poenitz@gmx.net>
9834
9835         * kb_sequence.C: remove unnedred usings
9836
9837 2002-07-26  Juergen Vigna  <jug@sad.it>
9838
9839         * lyxfind.C (LyXReplace): we have to check better if the returned
9840         text is not of theLockingInset()->getLockingInset().
9841
9842 2002-07-25  Juergen Vigna  <jug@sad.it>
9843
9844         * lyxfind.C (LyXReplace): don't replace if we don't get the
9845         right LyXText.
9846
9847         * undo_funcs.C (createUndo): remove debugging code.
9848
9849 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
9850
9851         * buffer.C (parseSingleLyXformat2Token): Use default placement
9852         when reading old floats.
9853
9854         * FloatList.C (FloatList): Change the default placement of figure
9855         and tables to "tbp".
9856
9857 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
9858
9859         * MenuBackend.C: using std::max
9860
9861 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9862
9863         * MenuBackend.C (expandToc):
9864         (expandToc2): code moved from xforms menu frontend. It is now
9865         generic and TOCs are transparent to menu frontends.
9866
9867 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9868
9869         * toc.C (getTocList): protect against buf=0
9870
9871         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9872         Menu as first parameter. Now, this calls itself recursively to
9873         expand a whole tree (this will be useful for TOC handling)
9874         (expandFloatInsert): remove 'wide' version of floats
9875
9876         * MenuBackend.h (submenuname): returns the name of the submenu.
9877         (submenu): returns the submenu itself, provided it has been
9878         created by MenuBackend::expand
9879
9880 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9881
9882         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9883         insets which have noFontChange == true. (bug #172)
9884
9885 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9886
9887         * BufferView_pimpl.C: add connection objects and use them...
9888         (Pimpl): here.
9889
9890 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9891
9892         * MenuBackend.C (expandLastfiles):
9893         (expandDocuments):
9894         (expandFormats):
9895         (expandFloatListInsert):
9896         (expandFloatInsert):
9897         (expand): split expand in parts
9898
9899 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9900
9901         * lyx_gui.C: use lyx_gui::exit()
9902
9903 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9904
9905         * LyXAction.C: show the failing pseudo action
9906
9907 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
9908
9909         * buffer.C (readFile): Run the lyxconvert script in order to read
9910         old files.
9911
9912 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9913
9914         * LyXAction.C:
9915         * commandtags.h:
9916         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9917
9918 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9919
9920         * LyXAction.C:
9921         * commandtags.h:
9922         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9923
9924 2002-07-22  Herbert Voss  <voss@lyx.org>
9925
9926         * lengthcommon.C:
9927         * lyxlength.[Ch]: add support for the vertical lengths
9928
9929 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
9930
9931         * toc.[Ch]: std:: fixes
9932
9933 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9934
9935         * lyxrc.C: do not include lyx_main.h
9936
9937         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9938         for layouts
9939
9940         * lyxrc.C:
9941         * encoding.C:
9942         * bufferlist.C:
9943         * BufferView2.C: include "lyxlex.h"
9944
9945         * tabular.h:
9946         * bufferparams.h: do not #include "lyxlex.h"
9947
9948         * lyxtextclasslist.C (Add): remove method
9949         (classlist): renamed to classlist_
9950
9951         * paragraph_pimpl.C:
9952         * paragraph.C:
9953         * text2.C:
9954         * CutAndPaste.C:
9955         * bufferview_funcs.C:
9956         * bufferlist.C:
9957         * text.C:
9958         * LaTeXFeatures.C:
9959         * buffer.C:
9960         * toc.C (getTocList): use BufferParams::getLyXTextClass
9961
9962         * toc.C (getTocList): use InsetFloat::addToToc
9963
9964         * toc.[Ch]: new files, containing helper functions to handle table
9965         of contents
9966
9967         * lyxfunc.C (dispatch): no need to remove spaces around command
9968         given as a string
9969         (getStatus): handle LFUN_SEQUENCE by returning the status of the
9970         first command of the sequence; it is not very clever, but I do not
9971         have a better idea, actually
9972
9973         * LyXAction.C (LookupFunc): make sure to remove space at the
9974         beginning and end of the command
9975
9976 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9977
9978         * MenuBackend.C (getMenubar): new method: return the menubar of
9979         this menu set
9980         (read): treat differently reading of menu and menubar (in
9981         particular, the menubar has no name now)
9982         (Menu::menubar): remove
9983
9984         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9985         saving is finished
9986
9987 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9988
9989         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9990         a bibitem inset in a RTL paragraph.
9991
9992 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
9993
9994         * paragraph_pimpl.C: constify
9995
9996         * BufferView_pimpl.C:
9997         * LaTeX.C:
9998         * lyxfunc.C: fix dispatch in a nicer way
9999
10000 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10001
10002         * lyxfunc.C (dispatch):
10003         * BufferView_pimpl.C:
10004         * BufferView_pimpl.h:
10005         * BufferView.C:
10006         * BufferView.h: rename Dispatch() to dispatch()
10007
10008         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10009
10010         * lyxlayout.C (Read): honor DependsOn tag
10011
10012         * lyxlayout.[Ch] (depends_on): new method
10013
10014         * version.C.in: update lyx_docversion
10015
10016         * LaTeXFeatures.C (getMacros): only define \LyX when needed
10017
10018         * paragraph.C (validate): remove from here...
10019         * paragraph_pimpl.C (validate): ... and move here
10020         (isTextAt): make it const
10021
10022         * buffer.C (getLists): ws cleanup
10023
10024 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10025
10026         * language.C (read): Use iso8859-1 encoding in latex_lang
10027         (this prevents LyX from crashing when using iso10646-1 encoding).
10028
10029 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10030
10031         * text2.C (toggleInset): if cursor is inside an inset, close the
10032         inset and leave cursor _after_ it
10033
10034 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10035
10036         * lyxfunc.C: move minibuffer completion handling out of here
10037
10038 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10039
10040         * BufferView_pimpl.C:
10041         * LaTeX.C: fix dispatch calls
10042
10043 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
10044
10045         * text.C (drawChars): Fix Arabic text rendering.
10046
10047 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
10048
10049         * LyXAction.C:
10050         * commandtags.h:
10051         * lyxfunc.C: remove message-push/pop
10052
10053         * lyxserver.C:
10054         * lyxfunc.h:
10055         * lyxfunc.C: rationalise some code by removing verboseDispatch
10056           in favour of a bool argument to dispatch()
10057
10058 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10059
10060         * lyx_main.C (init): make sure to read symlinks as absolute paths
10061
10062 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10063
10064         * lyxfunc.h:
10065         * lyxfunc.C: no need for commandshortcut to be a member
10066
10067 2002-07-15  André Pönitz <poenitz@gmx.net>
10068
10069         * converter.C: add support for $$s (scripts from lib/scripts dir)
10070         * lyx_main.C: white space
10071
10072 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10073
10074         * bufferlist.C:
10075         * lyxrc.h:
10076         * lyxrc.C: remove second exit confirmation
10077
10078 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10079
10080         * BufferView.h:
10081         * BufferView.C:
10082         * BufferView2.C:
10083         * BufferView_pimpl.h:
10084         * BufferView_pimpl.C:
10085         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10086
10087 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10088
10089         * MenuBackend.C (expand): add numeric shortcuts to document menu
10090
10091         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10092
10093 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10094
10095         * lyxfont.C (setLyXFamily):
10096         (setLyXSeries):
10097         (setLyXShape):
10098         (setLyXSize):
10099         (setLyXMisc):
10100         (lyxRead):
10101         * debug.C (value):
10102         * buffer.C (asciiParagraph): use ascii_lowercase
10103
10104 2002-07-15  Mike Fabian  <mfabian@suse.de>
10105
10106         * lyxlex_pimpl.C (search_kw):
10107         * lyxlex.C (getLongString):
10108         * converter.h (operator<):
10109         * converter.C (operator<):
10110         * buffer.C (parseSingleLyXformat2Token):
10111         (asciiParagraph):
10112         * ToolbarDefaults.C (read):
10113         * MenuBackend.C (checkShortcuts):
10114         (read):
10115         * LColor.C (getFromGUIName):
10116         (getFromLyXName): use the compare_ascii_no_case instead of
10117         compare_no_case, because in turkish, 'i' is not the lowercase
10118         version of 'I', and thus turkish locale breaks parsing of tags.
10119
10120 2002-07-16  Angus Leeming  <leeming@lyx.org>
10121
10122         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10123         now takes a Buffer const & argument.
10124
10125 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
10126
10127         * BufferView.C (resize): check there's a buffer to resize
10128
10129 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
10130
10131         * lyxfunc.C: remove dead code
10132
10133         * lyxserver.h:
10134         * lyxserver.C: use lyx_guii::set_read_callback
10135
10136 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
10137
10138         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10139         an inset in a RTL paragraph.
10140
10141 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10142
10143         * lyxfunc.C: repaint after a font size update
10144
10145 2002-07-15  André Pönitz <poenitz@gmx.net>
10146
10147         * lyxlength.C: inBP should be able to return negative values
10148
10149 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10150
10151         * lyxfunc.C: use lyx_gui::update_fonts()
10152
10153 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10154
10155         * lyxfunc.C: use lyx_gui::update_color()
10156
10157 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10158
10159         * bufferlist.C:
10160         * lyxfunc.h:
10161         * lyxfunc.C:
10162         * lyxrc.h:
10163         * lyxrc.C: remove file->new asks for name option, and let
10164           buffer-new take an argument
10165
10166 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10167
10168         * BufferView_pimpl.C: remove unneeded extra repaint()
10169
10170 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
10171
10172         * LyXAction.C: allow command-sequence with NoBuffer
10173
10174         * lyxfunc.C: don't insist on trailing ';' for command-sequence
10175
10176 2002-07-10  Angus Leeming  <leeming@lyx.org>
10177
10178         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10179
10180 2002-07-09  Angus Leeming  <leeming@lyx.org>
10181
10182         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10183
10184 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10185
10186         * lengthcommon.h: whitespace
10187
10188         * lyxfunc.C: update scrollbar after goto paragraph
10189
10190         * lyxtext.h: factor out page break drawing, and fix it so
10191           page break/added space paints as selected nicely
10192
10193 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10194
10195         * BufferView_pimpl.C: add FIXMEs, clean up a little
10196
10197 2002-07-09  André Pönitz <poenitz@gmx.net>
10198
10199         * lyxfont.[Ch]: support for wasy symbols
10200
10201 2002-07-08  André Pönitz <poenitz@gmx.net>
10202
10203         * BufferView_pimpl.C: apply John's patch for #93.
10204
10205 2002-07-05  Angus Leeming  <leeming@lyx.org>
10206
10207         * BufferView_pimpl.C (buffer): generate previews if desired.
10208
10209         * LColor.h: add "preview" to the color enum.
10210
10211         * LColor.C (LColor): add a corresponding entry to the items array.
10212
10213         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10214         with this buffer.
10215
10216 2002-07-05  Angus Leeming  <leeming@lyx.org>
10217
10218         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10219         The body of the code is now in the method that is passed an ostream &
10220         rather than a file name.
10221         Pass an additional only_preamble parameter, useful for the forthcoming
10222         preview stuff.
10223
10224 2002-07-03  André Pönitz <poenitz@gmx.net>
10225
10226         * lyxfunc.C: simplify getStatus() a bit for math stuff
10227
10228 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10229
10230         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10231
10232 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10233
10234         * text.C (changeRegionCase): do not change case of all the
10235         document when region ends at paragraph end (bug #461)
10236
10237 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10238
10239         * paragraph.C (startTeXParParams):
10240         (endTeXParParams): add \protect when necessary
10241
10242 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10243
10244         * BufferView_pimpl.C (workAreaExpose): remove warning
10245
10246 2002-06-27  Angus Leeming  <leeming@lyx.org>
10247
10248         * Makefile.am: add lyxlayout_ptr_fwd.h.
10249
10250 2002-06-26  André Pönitz <poenitz@gmx.net>
10251
10252         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10253
10254 2002-06-25  Angus Leeming  <leeming@lyx.org>
10255
10256         * lyxfunc.C (dispatch): Comment out the call to
10257         grfx::GCache::changeDisplay. The method no longer exists now that the
10258         pixmap generation part of the graphics loader has been moved into
10259         InsetGraphics.
10260
10261 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10262
10263         * text2.C: layout as layout
10264
10265         * text.C: layout as layout
10266
10267         * tabular.C (OldFormatRead): layout as layout
10268
10269         * paragraph_pimpl.C (TeXDeeper): layout as layout
10270         (realizeFont): layout as layout
10271
10272         * paragraph.C (writeFile): layout as layout
10273         (validate): layout as layout
10274         (getFont): layout as layout
10275         (getLabelFont): layout as layout
10276         (getLayoutFont): layout as layout
10277         (breakParagraph): layout as layout
10278         (stripLeadingSpaces): layout as layout
10279         (getEndLabel): layout as layout
10280         (getMaxDepthAfter): layout as layout
10281         (applyLayout): layout as layout
10282         (TeXOnePar): layout as layout
10283         (simpleTeXOnePar): layout as layout
10284         (TeXEnvironment): layout as layout
10285         (layout): layout as layout
10286         (layout): layout as layout
10287
10288         * lyxtextclass.C (compare_name): new functor to work with
10289         shared_ptr, layout as layout
10290         (Read): layout as layout
10291         (hasLayout): layout as layout
10292         (operator): layout as layout
10293         (delete_layout): layout as layout
10294         (defaultLayout): layout as layout
10295
10296         * lyxlayout_ptr_fwd.h: new file
10297
10298         * lyxlayout.C (Read): layout as layout
10299
10300         * lyx_cb.C (MenuInsertLabel): layout as layout
10301
10302         * bufferlist.C (newFile): layout as layout
10303
10304         * buffer.C (readLyXformat2): layout as layout
10305         (parseSingleLyXformat2Token): layout as layout
10306         (insertStringAsLines): layout as layout
10307         (asciiParagraph): layout as layout
10308         (latexParagraphs): layout as layout
10309         (makeLinuxDocFile): layout as layout
10310         (simpleLinuxDocOnePar): layout as layout
10311         (makeDocBookFile): layout as layout
10312         (simpleDocBookOnePar): layout as layout
10313         (getLists): layout as layout
10314
10315         * LaTeXFeatures.C (getTClassPreamble): layout as layout
10316
10317         * CutAndPaste.C (cutSelection): layout as layout
10318         (pasteSelection): layout as layout
10319         (SwitchLayoutsBetweenClasses): layout as layout
10320
10321         * BufferView_pimpl.C (Dispatch): layout as layout
10322         (smartQuote): layout as layout
10323
10324         * BufferView2.C (unlockInset): layout as layout
10325
10326 2002-06-24  André Pönitz <poenitz@gmx.net>
10327
10328         * lyxfunc.C: fix #487
10329
10330 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10331
10332         * lyxrc.h:
10333         * lyxrc.C:
10334         * lyxfunc.C: remove display_shortcuts, show_banner
10335
10336 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10337
10338         * Buffer_pimpl.C: oops, update on resize
10339
10340 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10341
10342         * buffer.C:
10343         * converter.C:
10344         * exporter.C:
10345         * lyxfunc.C:
10346         * BufferView.h:
10347         * BufferView.C: use repaint()
10348
10349         * BufferView_pimpl.h:
10350         * BufferView_pimpl.C: s/updateScreen()/repaint()/
10351           as it's a clearer description. Remove superfluous
10352           redraws.
10353
10354 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10355
10356         * text.C: fix bug 488. Not ideal, but getting
10357           getWord() to work properly for the insets that
10358           matter is more difficult ...
10359
10360 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10361
10362         * BufferView_pimpl.C:
10363         * LyXAction.C:
10364         * commandtags.h:
10365         * lyxfunc.C: remove the six million index lyxfuncs to just
10366           one, and DTRT (bug 458)
10367
10368 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10369
10370         * BufferView.h:
10371         * BufferView.C:
10372         * BufferView_pimpl.h:
10373         * BufferView_pimpl.C: clean up resize() stuff,
10374           and unnecessary updateScreen()s
10375
10376 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10377
10378         * BufferView.h:
10379         * BufferView.C:
10380         * BufferView_pimpl.h:
10381         * BufferView_pimpl.C:
10382         * lyxfind.h:
10383         * lyxfind.C:
10384         * minibuffer.C: remove focus management of workarea,
10385           not needed. Use screen's greyOut()
10386
10387 2002-06-17  Herbert Voss  <voss@lyx.org>
10388
10389         * converter.C: (convert) do not post a message, when converting
10390         fails, let the calling function decide what to do in this case
10391
10392 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
10393
10394         * lyxfunc.C: tidy up a little
10395
10396 2002-06-16    <alstrup@diku.dk>
10397
10398         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10399         Got rid of FORMS_H_LOCATION include. Now we are
10400         GUII.
10401
10402 2002-06-15  LyX Development team  <lyx@rilke>
10403
10404         * buffer.[Ch] (sgmlOpenTag):
10405         (sgmlCloseTag): Added support for avoiding pernicious mixed
10406         content. Return number of lines written.
10407
10408         (makeLinuxDocFile):
10409         (makeDocBookFile): Fixed calls to sgml*Tag.
10410         Simple white space clean.
10411
10412         (simpleDocBookOnePar): Simple white space clean.
10413
10414         * tabular.[Ch] (docBook): Renamed to docbook and got another
10415         argument to related with the pernicious mixed content.
10416
10417         (docbookRow): Fixed calls for docbook inset method.
10418
10419 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
10420
10421         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10422         so it's X11 independent.
10423
10424         * kb*.[Ch]: ditto.
10425
10426         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10427
10428 2002-06-15  Lyx Development team  <lyx@electronia>
10429
10430         * intl.h: Renamed getTrans to getTransManager.
10431
10432 2002-06-14  Angus Leeming  <leeming@lyx.org>
10433
10434         * Makefile.am: nuke forgotten stl_string_fwd.h.
10435
10436 2002-06-12  Angus Leeming  <leeming@lyx.org>
10437
10438         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10439
10440 2002-06-13  Angus Leeming  <leeming@lyx.org>
10441
10442         * LaTeX.C:
10443         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10444
10445 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
10446
10447         * kbmap.C (getiso): add support for cyrillic and greek
10448
10449 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10450
10451         * BufferView.h:
10452         * BufferView.C:
10453         * BufferView_pimpl.h:
10454         * BufferView_pimpl.C: move bogus scrolling logic
10455           to xforms
10456
10457 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10458
10459         * lyxfunc.C:
10460         * BufferView_pimpl.C: view->resize() change
10461
10462 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10463
10464         * BufferView_pimpl.C: topCursorVisible
10465           prototype change
10466
10467 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10468
10469         * Makefile.am:
10470         * lyx_gui.h:
10471         * lyx_gui.C: move to frontends/
10472
10473         * main.C:
10474         * lyx_main.h:
10475         * lyx_main.C: changes from above
10476
10477 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10478
10479         * intl.C:
10480         * intl.h:
10481         * kbmap.C:
10482         * kbsequence.C:
10483         * lyx_cb.C:
10484         * lyx_main.C: minor tidy
10485
10486 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10487
10488         * BufferView_pimpl.h:
10489         * BufferView_pimpl.C:
10490         * BufferView.h:
10491         * BufferView.C: make painter() const,
10492           remove dead code
10493
10494         * BufferView2.C: use screen() accessor
10495
10496         * lyx_main.h:
10497         * lyx_main.C: some minor cleanup
10498
10499 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10500
10501         * BufferView_pimpl.h:
10502         * BufferView_pimpl.C: remove enter/leaveView,
10503           use workHeight()
10504
10505 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10506
10507         * BufferView.h:
10508         * BufferView.C:
10509         * BufferView2.C:
10510         * BufferView_pimpl.h:
10511         * BufferView_pimpl.C: only construct screen once,
10512           rename
10513
10514         * lyxrc.C: remove pointless comment
10515
10516 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10517
10518         * BufferView.h:
10519         * BufferView.C: remove active() and belowMouse()
10520
10521         * BufferView_pimpl.h:
10522         * BufferView_pimpl.C: use workarea() not workarea_,
10523           and make it use a scoped_ptr instead
10524
10525 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10526
10527         * lyx_gui.C: add debug message on BadWindow
10528
10529 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10530
10531         * sp_spell.C: fdopen is not part of the C++ standard.
10532
10533         * paragraph.C (InsetIterator): use >= instead of ==
10534
10535 2002-06-07  Angus Leeming  <leeming@lyx.org>
10536
10537         Fixes needed to compile with Compaq cxx 6.5.
10538         * BufferView_pimpl.C:
10539         * DepTable.C:
10540         * buffer.C:
10541         * converter.C:
10542         * encoding.C:
10543         * lyx_gui.C:
10544         * lyx_main.C:
10545         * lyxtextclasslist.C:
10546         * minibuffer.C:
10547         * sp_spell.C:
10548         * tabular_funcs.C:
10549         * vc-backend.C:
10550         all c-library variables have been moved into namespace std. Wrap
10551         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10552
10553         * lyxlength.C:
10554         * tabular-old.C:
10555         * tabular.C:
10556         Add a using std::abs declaration.
10557
10558         * kbmap.h (modifier_pair):
10559         * paragraph.h (InsetTable, InsetList):
10560         * lyxfont.h (FontBits):
10561         type definition made public.
10562
10563         * bufferlist.C (emergencyWriteAll): the compiler complains that
10564         there is more than one possible lyx::class_fun template to choose from.
10565         I re-named the void specialisation as lyx::void_class_fun.
10566
10567         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10568
10569         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10570         the compiler is is unable to find tostr in write_attribute.
10571
10572 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10573
10574         * buffer.C (sgmlError): hide #warning
10575
10576 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10577
10578         * xtl/*: get rid of xtl, which is not in use anyway
10579
10580         * LyXAction.C (init):
10581         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10582         were unimplemented xtl experimentation
10583
10584 2002-06-04  André Pönitz <poenitz@gmx.net>
10585
10586         * lyxfunc.C: disable array operation on simple formulae
10587
10588 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
10589
10590         * converter.C: constify a bit
10591
10592 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
10593
10594         * lyx_gui.C: check xforms version correctly
10595
10596 2002-04-30  Herbert Voss  <voss@lyx.org>
10597
10598         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10599         "keep" option
10600
10601 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
10602
10603         * lyxvc.C: fix bug 416 (make sure buffer is saved before
10604           attempt to register it with a VCS)
10605
10606 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10607
10608         * lyx_main.C (init): honor variables LYX_DIR_13x and
10609         LYX_USERDIR_13x
10610
10611 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10612
10613         * buffer.h:
10614         * buffer.C:
10615         * lyx_main.C: fix a crash on bad command line,
10616           and give a useful exit status on error
10617
10618         * lyxfunc.C (doImport): allow -i lyx to work
10619
10620 2002-03-30  André Pönitz <poenitz@gmx.net>
10621
10622         * lyxfunc.C: mathed font changes
10623
10624 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10625
10626         * LaTeX.C:
10627         * importer.h:
10628         * importer.C:
10629         * lyx_sty.h:
10630         * lyx_sty.C:
10631         * lyxlex.C:
10632         * lyxrow.h:
10633         * lyxtext.h:
10634         * paragraph.h:
10635         * paragraph.C:
10636         * texrow.h:
10637         * texrow.C:
10638         * text.C:
10639         * trans_mgr.h: srcdocs, and some minor cleanups
10640
10641 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10642
10643         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10644         call getFont all the time)
10645
10646 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10647
10648         * switch from SigC signals to boost::signals
10649
10650 2002-05-29  André Pönitz <poenitz@gmx.net>
10651
10652         * paragraph_pimpl.C (getChar): don't call size() too often...
10653
10654 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10655
10656         * paragraph_pimpl.C (insertChar): do not try to update tables when
10657         appending (pos == size())
10658
10659         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10660         in order to reduce drastically the number of comparisons needed to
10661         parse a large document
10662
10663 2002-05-29  André Pönitz <poenitz@gmx.net>
10664
10665         * text.C:
10666         * text2.C:
10667         * lyxtextclass.C:
10668         * sp_pspell.h:
10669         * textclasslist.[Ch]:
10670         * sp_ispell.h: whitespace change
10671
10672 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10673
10674         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10675         lyxaction directly now.
10676
10677 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
10678
10679         * trans.C:
10680         * lyxfont.C:
10681         * lyxvc.C: remove unused headers
10682
10683 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10684
10685         * Makefile.am:
10686         * buffer.h:
10687         * undostack.h:
10688         * undostack.C:
10689         * undo_funcs.h:
10690         * undo_funcs.C: some cleanups. Use shared_ptr
10691           and a template for the undo stacks.
10692
10693 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10694
10695         * BufferView_pimpl.h:
10696         * BufferView_pimpl.C:
10697         * kbmap.h:
10698         * kbmap.C:
10699         * kbsequence.h:
10700         * kbsequence.C:
10701         * lyxfunc.h:
10702         * lyxfunc.C:
10703         * text2.C: use key_state/mouse_state
10704
10705 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10706
10707         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10708         and LSubstring
10709
10710         * chset.C: change include order
10711         (loadFile): use boost regex and get rid of LRegex and LSubstring
10712
10713         * Makefile.am (BOOST_LIBS): new variable
10714         (lyx_LDADD): use it
10715
10716         * LaTeX.C: change include order.
10717         (scanAuxFile): use boost regex and get rid of LRegex and
10718         LSubstring
10719         (deplog): ditto
10720
10721 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10722
10723         * ColorHandler.h:
10724         * ColorHandler.C:
10725         * FontInfo.h:
10726         * FontInfo.C: moved to frontends/xforms/
10727
10728         * FontLoader.h:
10729         * FontLoader.C: moved into frontends for GUIIzation
10730
10731         * Makefile.am:
10732         * lyx_gui.C:
10733         * lyxfont.C:
10734         * lyxfunc.C: changes from above
10735
10736 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10737
10738         * LColor.C: remove spurious X include
10739
10740         * BufferView_pimpl.C:
10741         * Makefile.am:
10742         * font.h:
10743         * font.C:
10744         * text.C:
10745         * text2.C: move font metrics to frontends/
10746
10747 2002-05-24  Juergen Vigna  <jug@sad.it>
10748
10749         * undo_funcs.C (textHandleUndo): fix the cursor selection after
10750         setting the undo_cursor.
10751
10752         * ParagraphParameters.h: include local includes first.
10753
10754 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10755
10756         * BufferView_pimpl.C:
10757         * BufferView_pimpl.h:
10758         * Makefile.am:
10759         * WorkArea.h:
10760         * WorkArea.C:
10761         * screen.C: move WorkArea into frontends/
10762
10763         * lyxscreen.h:
10764         * screen.C:
10765         * text.C:
10766         * BufferView.C:
10767         * BufferView2.C: move LyXScreen into frontends/
10768
10769         * lyxlookup.h:
10770         * lyxlookup.C:
10771         * lyx_gui.C: move lyxlookup into frontends/xforms/
10772
10773 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10774
10775         * BufferView2.C:
10776         * BufferView_pimpl.C:
10777         * FontLoader.C:
10778         * LyXView.h:
10779         * LyXView.C:
10780         * Makefile.am:
10781         * WorkArea.C:
10782         * XFormsView.h:
10783         * XFormsView.C:
10784         * buffer.C:
10785         * bufferlist.C:
10786         * bufferview_funcs.C:
10787         * converter.C:
10788         * importer.C:
10789         * lyx_cb.C:
10790         * lyx_gui.C:
10791         * lyx_main.C:
10792         * lyx_find.C:
10793         * lyxfunc.C:
10794         * lyxvc.C:
10795         * minibuffer.C:
10796         * text.C:
10797         * text2.C:
10798         * trans.C:
10799         * vc-backend.C: move LyX/XFormsView into frontends/
10800
10801 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10802
10803         * Makefile.am:
10804         * PainterBase.C:
10805         * PainterBase.h:
10806         * Painter.C:
10807         * Painter.h:
10808         * WorkArea.C:
10809         * WorkArea.h:
10810         * screen.C:
10811         * tabular.C:
10812         * text.C:
10813         * text2.C: move Painter to frontends/
10814
10815 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10816
10817         * buffer.C: comment out some some code that depend upon lyx_format
10818         < 220
10819
10820         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10821         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10822
10823         * buffer.h (NO_COMPABILITY): turn off compability
10824
10825         * ColorHandler.C: include scoped_array.hpp
10826
10827         * font.C: Use more specific smart_ptr header.
10828         * Painter.C: ditto
10829         * gettext.C: ditto
10830         * ShareContainer.h: ditto
10831         * lyx_main.h: ditto
10832         * kbmap.h: ditto
10833         * FontInfo.h: ditto
10834         * BufferView_pimpl.h: ditto
10835         * ColorHandler.h: ditto
10836
10837         * kbmap.C (defkey): change call to shared_ptr::reset
10838
10839 2002-05-21  Juergen Vigna  <jug@sad.it>
10840
10841         * buffer.C (insertErtContents): fix to insert ert asis if it is
10842         non empty. Skip it completely if it contains only whitespaces.
10843
10844 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
10845
10846         * BufferView_pimpl.C:
10847         * BufferView2.C: clear selection on paste (bug 393)
10848
10849 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10850
10851         * DepTable.C: include ctime
10852
10853 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
10854
10855         * buffer.C (latexParagraphs): Add new argument (moving_arg).
10856
10857 2002-05-14  Juergen Vigna  <jug@sad.it>
10858
10859         * text.C (breakParagraph): fixed function to honor the keepempty
10860         layout in the right maner and also to permit the right breaking
10861         algorithm on empty or non empyt keepempty paragraphs.
10862
10863         * paragraph.C (breakParagraph): we have to check also if the par
10864         is really empty (!size()) for isempty otherwise we do the wrong
10865         paragraph break.
10866
10867 2002-05-10  Juergen Vigna  <jug@sad.it>
10868
10869         * buffer.[Ch] : The following are only changes to the ert
10870         compatibility read reading old LaTeX layout and font stuff and
10871         convert it to ERTInsets.
10872
10873         * buffer.h: added isErtInset().
10874
10875         * buffer.C (struct ErtComp): add a fromlayout bool to check
10876         if we're inside a LaTeX layout.
10877         (isErtInset): new helper function.
10878         (insertErtContents): look for other ert insets before this one
10879         and insert the contents there, so that we don't have subsequent
10880         ERT insets with nothing between them. This way we create only one
10881         inset with multiple paragraphs. Also check if we don't insert only
10882         spaces ' ' as they are ignored anyway afterwards in the .tex file
10883         so if we have only spaces we will ignore this latex part in the
10884         new file.
10885         (parseSingleLyXformat2Token \\layout): better compatibility when
10886         reading layout-latex stuff.
10887         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10888         language tag.
10889         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10890         stuff after reading the inset only get the information back from
10891         the stack.
10892
10893 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
10894
10895         * buffer.C (makeLaTeXFile): Put language options after loading babel.
10896
10897         * LaTeXFeatures.C (getBabelOptions): New method.
10898
10899 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10900
10901         * BufferView_pimpl.C (Dispatch): work around missing argument for
10902         'layout'
10903
10904 2002-05-08  Juergen Vigna  <jug@sad.it>
10905
10906         * text.C (leftMargin): handle paragraph leftindent.
10907
10908         * paragraph.C (writeFile): write the new \\leftindent tag.
10909         (validate): handle leftindent code.
10910         (TeXEnvironment): handle paragraphleftindent code again.
10911
10912         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10913
10914         * buffer.C (parseSingleLyXformat2Token): added compatibility code
10915         for paragrap_extra indent code and new token \\leftindent.
10916         (latexParagraphs): handle the leftindent as environment.
10917
10918         * ParameterStruct.h: added leftindent support.
10919
10920         * ParagraphParameters.C (leftIndent): added support functions for
10921         the paragraph left indent.
10922
10923         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10924         more appropriate.
10925
10926 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
10927
10928         * paragraph.C (isRightToLeftPar): Return false for a paragraph
10929         inside insetERT.
10930
10931         * text.C (computeBidiTables): No bidi in insetERT.
10932
10933         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10934         in RTL documents.
10935
10936 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10937
10938         * version.C.in: pre 5
10939
10940 2002-05-02  José Matos  <jamatos@fep.up.pt>
10941         * buffer.C (makeDocBookFile): white space changes, add newline to
10942         command styles.
10943         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10944
10945         * tabular.C (docBook): fix typo.
10946
10947 2002-05-03  Juergen Vigna  <jug@sad.it>
10948
10949         * screen.C (drawFromTo): recalculate the rowpointer if we had a
10950         change in LyXText as we can not be sure it was not freed.
10951         (drawOneRow): remove unused code.
10952
10953         * text.C (drawInset): redo the calculation of the need_break_row as
10954         it could have a row which was already freed.
10955         (draw): look at the return value of drawInset and return false if
10956         it also returned false.
10957         (paintRowText): look at the return value of draw and return false if
10958         it also returned false.
10959
10960         * lyxtext.h: added bool return type to drawInset() and draw() so that
10961         if we have a change in the row so that the rowbreak has to be redone
10962         we abort drawing as it will be called again.
10963
10964 2002-05-02  Juergen Vigna  <jug@sad.it>
10965
10966         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10967         a change in the maintext also if we're inside an inset.
10968         (Dispatch): set the cursor again after a break line and after the
10969         screen has been updated as it could be we're in a different row.
10970
10971         * text2.C (fixCursorAfterDelete): check to make sure we don't request
10972         to set the cursor behind the pargraph with > size().
10973         (setCursor): check also for the same paragraph when checking where
10974         to put the cursor if we have a NFR inset.
10975
10976         * buffer.C (parseSingleLyXformat2Token): move the compatibility
10977         parts of layout read further up as it still was in the wrong
10978         position.
10979
10980 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10981
10982         * screen.C (drawFromTo): change sine fullRebreak always return
10983         true.
10984
10985         * buffer.C (parseSingleLyXformat2Token): reindent some
10986
10987         * BufferView_pimpl.C (update): change since fullRebreak always
10988         return true.
10989         (Dispatch): git rid of the last hardcoded "Standard"s.
10990
10991 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10992
10993         * text2.[Ch] (fullRebreak): make it return void now that we always
10994         returned true.
10995
10996 2002-04-30  Juergen Vigna  <jug@sad.it>
10997
10998         * buffer.C (parseSingleLyXformat2Token): reset the font before the
10999         ert compatibility check for "latex" layout.
11000
11001 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
11002
11003         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11004         minipages: use col% instead of p%, and also use the current font.
11005         (makeLaTeXFile): Fix use babel condition.
11006         (parseSingleLyXformat2Token): Correct font when reading old floats.
11007
11008 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
11009
11010         * BufferView_pimpl.C (Dispatch): Check that float type exists when
11011         inserting list of floats.
11012
11013 2002-04-25  Herbert Voss  <voss@lyx.org>
11014
11015         * MenuBackend.C (expand): don't add the graphics extensions to the
11016         export menu
11017
11018 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11019
11020         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11021         non-existing layout, do not complain if it was the default layout
11022         of the original class (bug #342)
11023
11024 2002-04-24  Juergen Vigna  <jug@sad.it>
11025
11026         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11027         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11028
11029 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
11030
11031         * buffer.C (getBibkeyList): If using \bibliography, return the
11032         option field with the reference itself. Enables us to provide natbib
11033         support when using \bibliography.
11034
11035 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
11036
11037         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11038
11039         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11040         natbib is provided by the LaTeX class.
11041
11042 2002-04-23  Juergen Vigna  <jug@sad.it>
11043
11044         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11045         Wakeup functions.
11046
11047         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11048
11049 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11050
11051         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11052
11053         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11054         ensuremath around textordmasculine, textordfeminine and
11055         textdegree.
11056
11057 2002-04-19  Juergen Vigna  <jug@sad.it>
11058
11059         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11060         reinitializing the buffer otherwise row-dimensions may be wrong.
11061         (update): reset also the selection cursors if they do exits otherwise
11062         their x/y positions may be wrong.
11063
11064         * text2.C (cursorDown): don't enter the inset if we came from a row
11065         above and are one row over the inset.
11066
11067         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11068         really leaving an inset.
11069
11070 2002-04-18  Juergen Vigna  <jug@sad.it>
11071
11072         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11073         of the selected paragraph does not have the selected layout also if
11074         the last one had!
11075
11076         * text2.C (setLayout): fixed bug which did not change last selected
11077         paragraph.
11078
11079         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11080         changed the read and substituted \\end_float with \\end_inset!
11081
11082         * BufferView_pimpl.C (cursorPrevious):
11083         (cursorNext): fixed to make it work with rows heigher than the work
11084         area without moving the cursor only the draw of the row.
11085         (workAreaMotionNotify): fix jumping over high rows.
11086
11087 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11088
11089         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11090         Ressler.
11091
11092 2002-04-16  Juergen Vigna  <jug@sad.it>
11093
11094         * text2.C (setCursor): set also the irow().
11095         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11096         (cursorUp):
11097         (cursorDown): support for locking an inset if the x_fix value goes
11098         inside it. That way I can transverse insets too with cursor up/down.
11099
11100         * lyxrow.h: added irow helper function same as other (i) functions.
11101
11102         * BufferView_pimpl.C (cursorPrevious):
11103         (cursorNext): fixed for insets!
11104
11105 2002-04-15  Juergen Vigna  <jug@sad.it>
11106
11107         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11108         position otherwise it is wrong in some cases.
11109
11110         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11111         inside the inset before the call.
11112
11113 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
11114
11115         * buffer.[Ch] (getBibkeyList): make it const.
11116
11117 2002-04-12  Juergen Vigna  <jug@sad.it>
11118
11119         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11120
11121         * text2.C (getCursorX): new helper function
11122         (setCursor): compute also ix_
11123         (setCursorFromCoordinates): set also ix.
11124
11125         * lyxcursor.h: added ix_ and helper functions.
11126
11127         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11128
11129         * buffer.C (insertStringAsLines): dont break paragraph if the this
11130         paragraph is inside an inset which does not permit it!
11131
11132         * text.C (breakParagraph): honor keepempty flag and break the paragraph
11133         also with no chars on this paragraph.
11134         (paintRowText): only paint stuff if it's inside the workarea!
11135
11136         * paragraph.C (breakParagraph): honor keepempty flag and break the
11137         paragraph always below not above.
11138
11139         * BufferView2.C (unlockInset): update the paragraph layout on inset
11140         unlock as we changed paragraph in such a case.
11141
11142         * lyxfind.C (LyXFind): clear the former selection if not found!
11143
11144         * text2.C (insertInset): freeze Undo after setUndo so that it is not
11145         again called in insertChar().
11146
11147         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11148         an inset which uses the whole row!
11149         (rightMargin): ditto.
11150         (insertChar): force a rebreak if we inserted an inset!
11151
11152 2002-03-28  Herbert Voss  <voss@lyx.org>
11153
11154         * lyxlength.[Ch]: add inBP() to get the right PS-point
11155         units (BigPoint). With inPixels we have rounding errors
11156
11157 2002-04-11  Juergen Vigna  <jug@sad.it>
11158
11159         * text2.C (setCursorFromCoordinates): set iy to the right value.
11160         (setCursor): add check if row->previous exists!
11161
11162         * buffer.C (parseSingleLyXformat2Token): reset font after read of
11163         an old float_type as this was the case in the old code!
11164
11165         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11166
11167         * BufferView2.C (showLockedInsetCursor): use iy
11168         (fitLockedInsetCursor): ditto
11169
11170         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11171         locked insets as there we have the right value now.
11172
11173         * lyxcursor.C: added iy_ variable and iy functions to set to the
11174         baseline of cursor-y of the locked inset.
11175
11176         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11177         (setCursor): fixed for insets which need a full row.
11178
11179         * text.C (rowLastPrintable): don't ignore the last space when before
11180         an inset which needs a full row.
11181         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11182         as last character of a row when before a inset which needs a full row.
11183
11184 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11185
11186         * version.C.in: update date
11187
11188         * text2.C (fullRebreak): try to always return true and see what
11189         happens...
11190
11191 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11192
11193         * MenuBackend.C (expand): use Floating::listName
11194
11195         * FloatList.C (FloatList): add listName argument to the built-in
11196         floats
11197
11198         * Floating.[Ch]: add listName member, which is the 'List of XXX'
11199         text associated with the float.
11200
11201 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11202
11203         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11204
11205 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11206
11207         * ShareContainer.h: add a couple of missing typenames.
11208
11209 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
11210
11211         * lyxrc.C (getDescription): use _() correctly rather than N_().
11212
11213 2002-03-28  Herbert Voss  <voss@lyx.org>
11214
11215         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11216         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11217
11218 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11219
11220         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11221         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11222
11223 2002-03-29  Juergen Vigna  <jug@sad.it>
11224
11225         * lyxfunc.C (dispatch): add a missing fitCursor call.
11226
11227         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11228         it was scrolled by a cursor move, so return the bool status.
11229
11230         * BufferView.C (fitCursor): return the bool flag also to the outside
11231         world as this is needed.
11232
11233         * screen.C (toggleToggle): don't subtract the offset if it's positive.
11234
11235         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11236         call the edit() as it is not needed (and wrong) IMO.
11237         (workAreaButtonPress): set the screen_first variable before evt.
11238         unlock the inset as this may change screen_first and then we have
11239         a wrong y position for the click!
11240
11241 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11242
11243         * MenuBackend.C (expand): another translation that I missed
11244
11245 2002-03-28  Juergen Vigna  <jug@sad.it>
11246
11247         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11248
11249         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11250
11251 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11252
11253         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11254
11255         * MenuBackend.C (expand): fix export/view/update when there is no
11256         document open.
11257
11258 2002-03-27  Herbert Voss  <voss@lyx.org>
11259
11260         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11261         and text%
11262
11263 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11264
11265         * bufferview_funcs.C (currentState): only show paragraph number
11266         for is DEVEL_VERSION is set.
11267
11268         * lyxfunc.C (dispatch): put warning in INFO channel
11269
11270         * MenuBackend.C (expand): translate the name of floats
11271
11272         * FloatList.C (FloatList): mark the float names for translation
11273
11274         * converter.C (convert): use LibScriptSearch
11275
11276 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11277
11278         * MenuBackend.C (defaults): fix default menu (we might as well get
11279         rid of it...)
11280
11281 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11282
11283         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11284         directory.
11285
11286 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11287
11288         * lyxvc.C: reorder includes.
11289
11290 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
11291
11292         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11293           properly
11294
11295 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
11296
11297         * CutAndPaste.C: change layouts earlier on paste
11298           to avoid crashing when calling getFont()
11299
11300 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
11301
11302         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11303         irritating #error.
11304
11305 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11306
11307         * WorkArea.C: remove 'Pending' debug message.
11308
11309         * most files: ws cleanup
11310
11311         * buffer.[Ch]: ws changes
11312
11313         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11314
11315 2002-03-21  Juergen Vigna  <jug@sad.it>
11316
11317         * tabular.C (SetMultiColumn): collapse also the contents of the
11318         cells and set the last border right. Added a Buffer const * param.
11319
11320 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11321
11322         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11323         linking or not.
11324
11325 2002-03-19  Juergen Vigna  <jug@sad.it>
11326
11327         * text2.C (clearSelection): reset also xsel_cache.
11328
11329         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11330         where it needs to be called (John tells us to do so too :)
11331         (selectionLost): reset sel_cache.
11332
11333         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11334
11335 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11336
11337         * text2.C (setCursorIntern): put debuging code in INSETS channel
11338
11339 2002-03-19  André Pönitz <poenitz@gmx.net>
11340
11341         * lyxfunc.C: tiny whitespace change
11342
11343 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11344
11345         * ToolbarDefaults.C (init):
11346         * LyXAction.C (init):
11347         * commandtags.h:
11348         * BufferView_pimpl.C (Dispatch):
11349         * lyxfunc.C (dispatch): remove LFUN_DEPTH
11350
11351 2002-03-19  Allan Rae  <rae@lyx.org>
11352
11353         * exporter.C (Export): removeAutoInsets before doing anything else.
11354         While I've just introduced a dependency on BufferView this really is
11355         the best place to clean the buffer otherwise you need to cleanup in
11356         a dozen places before calling export or cleanup in a dozen functions
11357         that export calls.
11358
11359         * converter.C (runLaTeX):
11360         (scanLog): Better handling of removeAutoInsets and screen updates.
11361
11362         * lyxfunc.C (dispatch): small whitespace changes
11363
11364 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11365
11366         * WorkArea.C (C_WorkAreaEvent): return a value.
11367         (event_cb): return 1 if we handled the event, 0 otherwise.
11368
11369         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11370
11371 2002-03-18  Juergen Vigna  <jug@sad.it>
11372
11373         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11374         (GetAdditionalWidth): ditto.
11375         (RightLine): ditto.
11376         (LeftLine): ditto.
11377
11378         * BufferView2.C (copy): use getLyXText() so that we do it inside an
11379         inset if we're there actually (probably not used right now but this
11380         is the direction to go for unifying code).
11381         (paste): disable code to clear the selection.
11382
11383         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11384         inside an InsetText and move the check further up as it is in the
11385         wrong place.
11386
11387         * text2.C (pasteSelection): set a selection over the pasted text.
11388
11389 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
11390
11391         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11392         and libgraphics to build on Cygwin.
11393
11394 2002-03-15  Juergen Vigna  <jug@sad.it>
11395
11396         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11397         inserting an Inset into the paragraph. I know this is not the best
11398         fix but we already use current_view in CutAndPaste so we will remove
11399         all of it's using at the same time.
11400
11401         * buffer.C (sgmlError): deactivated function till it is rewritten in
11402         the right mode, now it can create problems.
11403
11404         * paragraph.C (isLineSeparator): check if getInset returns != 0,
11405         before accessing it.
11406
11407 2002-03-14  Juergen Vigna  <jug@sad.it>
11408
11409         * undo_funcs.C (textHandleUndo): do the right thing when updating
11410         the inset after the undo/redo.
11411
11412         * text2.C (setCursor): just some testcode for #44 not ready yet.
11413
11414         * undo_funcs.C (textHandleUndo): set the next() and previous()
11415         pointers of the paragraph to 0 before deleting otherwise we have
11416         problems with the Paragraph::[destructor].
11417
11418         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11419         on a paragraph insertion.
11420
11421 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11422
11423         * buffer.C (asciiParagraph): use += operator for char append to
11424         string.
11425
11426         * paragraph.C (getFontSettings): compare >= not just >
11427         (highestFontInRange): ditto
11428         (setFont): ditto
11429
11430 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11431
11432         * paragraph.C: change several algorithm to be more appripriate for
11433         the problem domain. This is lookip in FontList and in the InsetList.
11434
11435 2002-03-13  André Pönitz <poenitz@gmx.net>
11436
11437         * commandtags.h:
11438         * LyXAction.C: remove unused LFUN_MATH_MACROARG
11439
11440 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
11441
11442         * commandtags.h:
11443         * LyXAction.C:
11444         * lyxfunc.C:
11445         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11446
11447 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11448
11449         * Painter.C (display): anon helper function, adjust code for this
11450         change.
11451         (pixmap): remove function.
11452
11453         * Painter.h: remove private display variable.
11454
11455         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11456
11457 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
11458
11459         * WorkArea.[Ch]: remove figinset_canvas cruft.
11460
11461 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11462
11463         * lyxtextclass.C (operator): add one item cache optimization.
11464
11465         * bufferlist.h: doxy changes
11466
11467         * bufferlist.C: ws changes
11468
11469         * DepTable.[Ch] (ext_exist): place const in the right spot.
11470
11471         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11472         call resizeInsets.
11473         (workAreaExpose): call resizeInsets when the with BufferView changes.
11474         (Dispatch): adjust for protectedBlank removal
11475         (specialChar): call updateInset if the insert went ok.
11476
11477         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11478         specialChar instead.
11479
11480         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11481
11482         * BufferView.h: doxy change
11483
11484         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11485
11486         * lyxtextclass.C (operator[]): remove non-const version
11487         (defaultLayout): remove non-const version
11488
11489 2002-03-12  Juergen Vigna  <jug@sad.it>
11490
11491         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11492         did resize the LyXText too.
11493
11494         * buffer.C (readLyXformat2): set layout information on newly allocated
11495         paragraphs.
11496
11497         * tabular.C (OldFormatRead): set layout information on the paragraph.
11498
11499 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11500
11501         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11502
11503 2002-03-11  Juergen Vigna  <jug@sad.it>
11504
11505         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11506         plainly wrong.
11507         (resizeCurrentBuffer): force also the insets to resize themselfes.
11508         (moveCursorUpdate): fixed up for InsetText.
11509
11510 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
11511
11512         * commandtags.h:
11513         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11514         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11515         value of Dialogs::tooltipsEnabled().
11516         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11517
11518 2002-03-08  Juergen Vigna  <jug@sad.it>
11519
11520         * BufferView_pimpl.C (updateInset): update inset inside inset also
11521         if it isn't inside theLockingInset().
11522
11523 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11524
11525         * buffer.C (asciiParagraph): redo some of the word and line length
11526         handling.
11527         (getLists): look for Caption instead of caption.
11528
11529 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11530
11531         * buffer.C (Buffer): initialize niceFile to true
11532         (makeLaTeXFile):
11533         (makeLinuxDocFile):
11534         (makeDocBookFile): make sure niceFile is true on exit
11535
11536 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11537
11538         * buffer.C (makeLaTeXFile): escape ~ in \input@path
11539
11540 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
11541
11542         * LyXSendto.C: remove.
11543         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11544         * lyx_gui.C: remove now-redundant comment.
11545         * ColorHandler.h: remove forward declaration of class WorkArea.
11546         * lyxfunc.C: remove #include "WorkArea.h".
11547
11548 2002-03-07  Juergen Vigna  <jug@sad.it>
11549
11550         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11551         got moved away with the DEPM and also set the inset_owner always
11552         right which before could have been omitted.
11553
11554 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11555
11556         * buffer.C (parseSingleLyXformat2Token): use default layout is the
11557         wanted layout is not found.
11558
11559 2002-03-07  Juergen Vigna  <jug@sad.it>
11560
11561         * CutAndPaste.C (cutSelection): another layout settings forgotten.
11562
11563 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11564
11565         * paragraph.C (breakParagraph): use default layout not layout of
11566         prev paragraph.
11567         (Paragraph): clear ParagraphParameters.
11568
11569 2002-03-06  Juergen Vigna  <jug@sad.it>
11570
11571         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11572         otherwise it would not be a valid lenght. Fixed a special case in
11573         the minipage compatibility read where we end the document with a
11574         minipage.
11575
11576         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11577         was set as it could be 0 for InsetTexts first entry.
11578
11579 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11580
11581         * paragraph.C (writeFile): if layout is empty write out
11582         defaultLayoutName().
11583
11584         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11585         file without named layout we set layout to defaultLayoutName().
11586
11587 2002-03-06  Juergen Vigna  <jug@sad.it>
11588
11589         * CutAndPaste.C (copySelection): set layout for new paragraph.
11590
11591         * text.C (prepareToPrint): leave ERT inset left aligned
11592         (leftMargin): don't indent paragraphs inside ERT insets
11593
11594 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11595
11596         * paragraph.C (breakParagraph): dont call clear do the work manually
11597
11598         * paragraph.[Ch] (clear): remove function
11599
11600 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11601
11602         * paragraph.C (Paragraph): dont call clear, the work has already
11603         been done.
11604
11605         * lyxtextclass.C (operator): assert if n is empty
11606
11607         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11608         work manually instead.
11609
11610 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11611
11612         * BufferView_pimpl.C: protect selectionLost against text == 0
11613
11614 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11615
11616         * text.C (breakParagraph): fix a setting layout to '0' problem.
11617
11618 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11619
11620         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11621         final location of file, for the included files, and graphics.
11622
11623 2002-03-05  Juergen Vigna  <jug@sad.it>
11624
11625         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11626
11627 2002-03-04  Juergen Vigna  <jug@sad.it>
11628
11629         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11630
11631         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11632         last column of multicolumn cells.
11633         (SetWidthOfMulticolCell): recalculate NMC and real columns.
11634
11635 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11636
11637         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11638         file if it doesn't go to a temporary file.
11639
11640         * buffer.C (sgmlOpenTag):
11641         (sgmlCloseTag):  remove extra newline insertion.
11642
11643 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11644
11645         * text.C (getRowNearY): comment out debug msg
11646
11647 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11648
11649         * text2.C: first -> first_y
11650
11651         * text.C (getRowNearY): add some attemts at a possible
11652         optimization, not working.
11653
11654         * tabular.[Ch]: add BufferParams to several function so that newly
11655         created paragraph can be initialized to he default layotu for the
11656         buffers textclass.
11657
11658         * tabular-old.C (ReadOld): add buf->params to call of Init
11659
11660         * screen.C: rename text->first to text->first_y
11661
11662         * paragraph.C (breakParagraph): always set layout in the broken
11663         paragraph
11664
11665         * lyxtextclass.C (Read): remove lowercase
11666         (hasLayout): ditto
11667         (operator): ditto
11668         (delete_layout): ditto
11669
11670         * lyxtext.h: rename first -> first_y
11671
11672         * lyxlayout.C (Read): remove lowercase
11673         (name): ditto
11674         (setName): ditto
11675         (obsoleted_by): ditto
11676
11677         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11678
11679         * buffer.C (insertErtContents): add params are to InsetERT
11680         (parseSingleLyXformat2Token): add code to check if a paragraphs
11681         layout really exist.
11682         (parseSingleLyXformat2Token): add params to several inset
11683         constructors
11684         (asciiParagraph): remove lowercase, do the layout comparisons with
11685         no_case
11686
11687         * BufferView_pimpl.C (cursorNext): first -> first_y
11688         (resizeCurrentBuffer): first -> first_y
11689         (updateScrollbar): first -> first_y
11690         (scrollCB): first -> first_y
11691         (workAreaMotionNotify): first -> first_y
11692         (workAreaButtonPress): first -> first_y
11693         (checkInsetHit): first -> first_y
11694         (cursorPrevious): first -> first_y
11695         (cursorNext): first -> first_y
11696         (Dispatch): add buffer_->params to severl inset contructors
11697
11698 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11699
11700         * lyxlayout.C (Read): remove some debug info that I forgot.
11701
11702         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11703         clean up the code slightly.
11704         (makeLinuxDocFile): ditto
11705         (makeDocBookFile): ditto
11706
11707         * text2.C: layout as string
11708
11709         * text.C: layout as string
11710
11711         * paragraph_pimpl.C: layout as string
11712
11713         * paragraph.[Ch]: layout as string
11714
11715         * lyxtextclasslist.[Ch]: layout as string
11716
11717         * lyxtextclass.[Ch]: layout as string
11718
11719         * lyxtext.h: layout as string
11720
11721         * lyxlayout.[Ch]: layout as string
11722
11723         * lyx_cb.C: layout as string
11724
11725         * bufferview_funcs.C: layout as string
11726
11727         * bufferparams.C: layout as string
11728
11729         * buffer.C: layout as string
11730
11731         * LyXView.[Ch]: layout as string
11732
11733         * LaTeXFeatures.[Ch]: layout as string
11734
11735         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11736
11737         * BufferView_pimpl.C: change current_layout to string, remove
11738         lyx::layout_type.
11739         (Dispatch):
11740         (smartQuote):
11741         (insertInset):
11742         (workAreaButtonRelease): layout as string
11743
11744         * BufferView2.C (unlockInset): adjust
11745
11746         * vspace.C (asLatexCommand): use an explict temp variable.
11747
11748 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11749
11750         * Makefile.am: use FRONTEND_*
11751
11752 2002-03-01  Juergen Vigna  <jug@sad.it>
11753
11754         * tabular.C (SetWidthOfMulticolCell): changed to something better
11755         I hope but still work in progress.
11756         (recalculateMulticolumnsOfColumn): renamed function from
11757         recalculateMulticolCells as it is more appropriate now.
11758         (SetWidthOfCell): calculate multicols better.
11759
11760 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11761
11762         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11763
11764         * lyxfunc.C (processKeySym): print sequence also if it is
11765         `deleted' (complete)
11766
11767         * kbsequence.C (print): print sequence even if it is deleted
11768         (complete would be a better word, actually).
11769
11770         * lyxfunc.C (dispatch): print complete options after a prefix key
11771
11772         * vspace.C (asLatexCommand): rewrite in a slightly different form.
11773
11774 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
11775
11776         * text2.C (setCharFont): eliminate setCharFont code duplication.
11777
11778 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11779
11780         * BufferView_pimpl.C (Dispatch): remove bogus handling of
11781         LFUN_TABULAR_FEATURE (bug #177)
11782
11783 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
11784
11785         * Makefile.am: remove figure.h
11786
11787 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
11788
11789         * Bufferview_pimpl.C:
11790         * CutAndPasteC:
11791         * LaTeX.C:
11792         * LyXSendto.C:
11793         * buffer.C:
11794         * bufferlist.C:
11795         * converter.C:
11796         * language.C:
11797         * lyxfunc.C:
11798         * lyxvc.C:
11799         * paragraph.C:
11800         * text.C:
11801         * text2.C: remove #include "lyx_gui_misc.h".
11802
11803         * LaTeX.C: added #include <cstdio>
11804
11805 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11806
11807         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11808         that the paragraph following this one can have.
11809
11810         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11811
11812         * vspace.C (asLatexCommand): fix bogus gcc warning
11813
11814         * Makefile.am (lyx_SOURCES): remove vms_defines.h
11815
11816 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
11817
11818         * text2.C (setLayout): get rid of redundant code
11819
11820 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
11821
11822         * text2.C (incDepth): make sure depth cannot be increased beyond
11823         reasonable values.
11824
11825 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
11826
11827         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11828         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11829
11830         * PainterBase.h (image):
11831         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11832         a LyXImage const *.
11833
11834 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11835
11836         * BufferView.C:
11837         * BufferView.h:
11838         * BufferView_pimpl.C:
11839         * BufferView_pimpl.h:
11840         * LaTeXFeatures.C:
11841         * LyXAction.C:
11842         * LyXView.C:
11843         * Makefile.am:
11844         * UpdateList.h:
11845         * UpdateList.C:
11846         * buffer.C:
11847         * figure.h:
11848         * figureForm.C:
11849         * figureForm.h:
11850         * figure_form.C:
11851         * figure_form.h:
11852         * lyx_cb.C:
11853         * lyx_gui.C:
11854         * lyx_gui_misc.C:
11855         * lyxfunc.C:
11856         * sp_base.h:
11857         * sp_ispell.h:
11858         * sp_pspell.h:
11859         * sp_spell.C: remove fig inset, and the crap house of
11860           cards that follows it
11861
11862 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11863
11864         * Makefile.am:
11865         * lyxserver.C:
11866         * os2_defines.h:
11867         * os2_errortable.h:
11868         * nt_defines.h: move .h into support/
11869
11870         * vms_defines.h: remove
11871
11872         * WorkArea.C: add space in debug output
11873
11874         * text2.C:
11875         * paragraph.C:
11876         * buffer.C: add WITH_WARNINGS
11877
11878         * vc-backend.h:
11879         * vc-backend.C:
11880         * bufferlist.C: s/retrive/retrieve/, add docs
11881
11882         * vspace.h:
11883         * vspace.C:
11884         * kbmap.h:
11885         * lyxlength.h:
11886         * lyxgluelength.h:
11887         * length_common.h:
11888         * chset.h:
11889         * chset.C: add docs
11890
11891         * lyxgui.C: add ID to X error handler
11892
11893         * lyxtestclass.c: fix typo
11894
11895 2002-02-26  Juergen Vigna  <jug@sad.it>
11896
11897         * tabular_funcs.C (write_attribute): changed so that some default
11898         attributes are not written at all.
11899         (getTokenValue): set default values before trying to read the
11900         value so we have the return value always set as default if we don't
11901         find the token we search for.
11902
11903         * tabular.C (Write): write bools as bools not as strings!
11904
11905 2002-02-22  Juergen Vigna  <jug@sad.it>
11906
11907         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11908         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11909
11910         * text.C (leftMargin): don't add an indent for paragraphs inside
11911         tabular cells (fix #208).
11912
11913 2002-02-21  José Matos  <jamatos@fep.up.pt>
11914
11915         * tabular.C (docBook): fixed support for long tables.
11916
11917 2002-02-20  Juergen Vigna  <jug@sad.it>
11918
11919         * text2.C (getFont): get the drawing font of the Inset if this
11920         paragraph is inside an inset (only important for InsetERT for now).
11921
11922         * buffer.C (insertErtContents): use new lanugage params in ERT
11923         constructor.
11924
11925         * CutAndPaste.C: commenting out seemingly uneeded code.
11926
11927 2002-02-19  Allan Rae  <rae@lyx.org>
11928
11929         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11930         Iterators might be simple to use but they also get invalidated.
11931         (removeAutoInsets): renamed saved cursor tracking variables and added
11932         some comments to clarify what everything does.
11933
11934 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
11935
11936         * Chktex.C:
11937         * LaTeX.C:
11938         * LyXSendto.C:
11939         * converter.C:
11940         * lyx_cb.C:
11941         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11942         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11943
11944         * lyxfunc.C:
11945         * vc-backend.h: remove #include "support/syscall.h"
11946
11947         * LaTeX.C:
11948         * LyXSendto.C:
11949         * converter.C: rearrange #includes in Lars' approved fashion.
11950
11951         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11952         forward declare class Timeout in the header file.
11953
11954         * XFormsView.C: changes due to the above.
11955
11956         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11957         similar to LyXView.
11958
11959         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11960         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11961
11962 2002-02-18  José Matos  <jamatos@fep.up.pt>
11963
11964         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11965         insets contents.
11966
11967 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
11968
11969         * a lot of small ws changes
11970         * add a lot of using std::XXX
11971         * use std construcs some places where approp.
11972         * use some exisint stuff from lyxfunctional where approp.
11973         * Make file changes to use partial linking (lets test this now...)
11974
11975 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11976
11977         * Chktex.C:
11978         * buffer.C:
11979         remove #include "support/syscontr.h" as it's redundant. Always has been.
11980
11981         * Chktex.C:
11982         * LaTeX.C:
11983         * LyXSendto.C:
11984         * converter.C:
11985         * lyx_cb.C:
11986         * vc-backend.C:
11987         change Systemcalls::System to Systemcalls::Wait and
11988         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11989         No change of functionality, just reflects the stripped down Systemcalls
11990         class.
11991
11992 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11993
11994         * debug.[Ch]: add a GRAPHICS type to the enum.
11995
11996 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11997
11998         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11999
12000         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12001         there is an inset.
12002
12003 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12004
12005         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12006         match the changes below.
12007
12008         * text2.C (toggleInset): if there is not editable inset at cursor
12009         position, try to see if cursor is _inside_ a collapsable inset
12010         and close it.
12011
12012 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12013
12014         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12015         document menu has a nice checkbox
12016
12017 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12018
12019         * lyxlength.C (asLatexString): change PW to output as percent of
12020         \textwidth.
12021
12022         * lengthcommon.C: change '%' to 't%'
12023
12024         * lyxfunc.C (dispatch): a few comments from Martin
12025
12026 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
12027
12028         * WorkArea.h:
12029         * WorkArea.C:
12030         * BufferView_pimpl.h:
12031         * BufferView_pimpl.C: clear our selection when X tells us we've lost
12032           the X selection.
12033
12034 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12035
12036         * vspace.C (inPixels): fix compiler warning
12037
12038 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12039
12040         * lyxfunc.C (getStatus): fix status message for disabled commands.
12041
12042 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
12043
12044         * BufferView_pimpl.C: fix crash on close buffer
12045         during selection (#227)
12046
12047 2002-01-27  Herbert Voss  <voss@lyx.org>
12048
12049         * buffer.C: link old Figure to new graphic inset
12050
12051 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
12052
12053         * FontLoader.C (getFontinfo): Change the latex font names in order
12054         to match the names of type1inst.
12055
12056 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12057
12058         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12059
12060         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12061         (extchanged): ditto
12062         (ext_exist): ditto
12063         (remove_files_with_extension): ditto
12064         (remove_file): ditto
12065         (write): ditto
12066
12067         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12068         document is smaller than the work area height. Do not initialize
12069         static variables to 0.
12070
12071 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12072
12073         * lyx_gui.C (init): give the toolbar tooltips a normal font.
12074
12075         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12076         LFUN_LAYOUT_PARAGRAPHS.
12077
12078         * tabular.C (GetCellFromInset): new method. Finds an inset in a
12079         tabular. It is possible to provide a possible cell, which will
12080         typically be the actcell from the corresponding insettabular
12081
12082         * lyxfunc.C (getStatus): small cleanup; disable
12083         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12084         true
12085
12086 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12087
12088         * tabular.C (Validate): remove broken optimization (fixes bug #201)
12089
12090         * paragraph.C (startTeXParParams):
12091         (endTeXParParams): new methods. The LaTeX code to
12092         start/end paragraph formatting
12093         (simpleTeXOnePar): call startTeXParParams also when paragraph is
12094         empty (fixes bug #200)
12095
12096         * vspace.C (inPixels): adapt to the change below
12097         (inPixels): [later] more cleanups (remove unused variables)
12098
12099         * lyxlength.C (inPixels): change to use a width and a height as
12100         parameter.
12101
12102 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12103
12104         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12105         Replaced with \paperwidth
12106
12107         * DepTable.C (insert): add std:: qualifier
12108
12109 2002-01-18  Allan Rae  <rae@lyx.org>
12110
12111         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
12112         updated also?
12113
12114         * text.C (drawInset): Turned out I didn't know enough about how
12115         rebreaking worked.  This fixes most of the redraw problems.  I see
12116         an occasional cursor trail when a line is broken now and the cursor
12117         placement can seem out by a few pixels also after a rebreak.
12118
12119 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12120
12121         * buffer.C (parseSingleLyXformat2Token): update because minipage
12122         width is now a LyXLength
12123
12124         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12125
12126         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12127         math insets
12128
12129 2002-01-17  Juergen Vigna  <jug@sad.it>
12130
12131         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12132
12133         * BufferView2.C (lockInset): call edit() so that theLockingInset()
12134         is set correctly and the inset is updated correctly.
12135
12136 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12137
12138         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12139         the beginning of the loop.
12140
12141 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
12142
12143         * lyxrc.C: improve help for use_scalable_fonts
12144
12145 2002-01-17  Allan Rae  <rae@lyx.org>
12146
12147         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12148
12149 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12150
12151         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12152         make sure to set their inset_owner to the right value (bug #171)
12153
12154 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
12155
12156         * DepTable.h
12157         * DepTable.C: Implement mtime checking to reduce time spent doing
12158         CRCs.
12159
12160 2002-01-16  Juergen Vigna  <jug@sad.it>
12161
12162         * tabular.C (GetAdditionalHeight): one of error fixed.
12163
12164         * lyxrc.C (output): small fix in writing use_pspell.
12165
12166 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
12167
12168         * sp_base.h: #include LString.h
12169
12170 2002-01-16  Allan Rae  <rae@lyx.org>
12171
12172         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
12173         Can someone check this please?
12174
12175         * text.C (drawInset): It was possible that p.row would be removed by
12176         breakAgainOneRow upsetting a few other settings.  There may be another
12177         small tweak possible by setting need_break_row = 0 when p.row has been
12178         removed but I don't know enough about the logic here.
12179
12180 2002-01-15  Allan Rae  <rae@lyx.org>
12181
12182         * text.C (insertChar): removed conditional truism.
12183
12184         * BufferView2.C (removeAutoInsets): More tweaks.
12185         cur_par_prev could be a stray pointer.  Check for trailing empty line
12186         in case last line was cur_par and only had an error inset on it.
12187
12188 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12189
12190         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12191         absolute
12192
12193         * vc-backend.C (most methods):
12194         * exporter.C (Export):
12195         * converter.C (convert):
12196         (runLaTeX):
12197         * LyXSendto.C (SendtoApplyCB):
12198         * lyxfunc.C (dispatch):
12199         (menuNew):
12200         (open):
12201         (doImport):
12202         * lyx_cb.C (AutoSave):
12203         (InsertAsciiFile):
12204         * BufferView_pimpl.C (MenuInsertLyXFile):
12205         * buffer.C (runChktex): use Buffer::filePath().
12206
12207         * buffer.h: rename filename to filename_; rename filepath to
12208         filepath_ and make it private
12209         (filePath): new method
12210
12211         * buffer.C (writeFile): use fileName()
12212         (getLatexName):
12213
12214         * lyx_main.C (init): fix starting  of LyX when the binary is a
12215         link from so,ewhere else.
12216
12217         * minibuffer.C: include <cctype> for isprint
12218
12219 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12220
12221         * buffer.C (parseSingleLyXformat2Token): changes associated with the
12222         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12223         name clash with InsetCollapsable's width function.
12224
12225 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12226
12227         * lastfiles.C: include <iterator>
12228
12229 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12230
12231         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12232         std::count.
12233
12234         * buffer.C (makeLaTeXFile): ditto.
12235         Also make loop operation more transparent.
12236
12237 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12238
12239         * ToolbarDefaults.C: remove trailing comma closing namespace.
12240
12241         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12242
12243         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12244         as in WorkArea.
12245
12246         * trans.C (Load): comment out unused variable, allowed.
12247
12248 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12249
12250         * minibuffer.[Ch] (append_char): new method to recieve input from the
12251         drop-down completion browser. If a key was pressed, then recieve this
12252         char and append it to the existing string.
12253         (peek_event): modify the positioning data passed to the completion
12254         browser so that it can be placed above the minibuffer rather than below.
12255 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12256
12257         * LyXAction.C (init): alloe error-next for readonly documents.
12258
12259         * BufferView2.C (ChangeRefsIfUnique): use standard version of
12260         count.
12261
12262 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12263
12264         * bufferlist.C (readFile): create the buffer _after_ checking that
12265         the file exists.
12266
12267         * lyxfunc.C (verboseDispatch): fix handling of arguments
12268
12269         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12270
12271         * lyxrc.C: use string::erase() instead of initializing to "".
12272
12273
12274 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12275
12276         * BufferView_pimpl.h:
12277         * BufferView_pimpl.C:
12278         * WorkArea.h:
12279         * WorkArea.C:
12280         * text2.C: tell X when we have made a selection for copying
12281
12282 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12283
12284         * BufferView_pimpl.C (MenuInsertLyXFile):
12285         * lyxfunc.C (menuNew):
12286         (open):
12287         (doImport): add shortcuts to directory buttons
12288
12289         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12290         open a float)
12291
12292         * lyxfunc.C (setStatusMessage):
12293         (getStatusMessage): new methods
12294         (getStatus):use setStatusMessage instead of setErrorMessage
12295         (dispatch): when function is disabled, set error message here
12296         [instead of in getStatus previously]
12297
12298         * BufferView_pimpl.C (workAreaButtonRelease): update
12299         toolbar/menubar here too.
12300
12301 2002-01-13  Allan Rae  <rae@lyx.org>
12302
12303         * BufferView2.C (removeAutoInsets): finished off earlier fix.
12304         Now seems indestructible.  Remaining task is to audit all other
12305         code affected by deleteEmptyParagraphMechanism.  One small quirk
12306         left is that an empty document with an error in the preamble can
12307         be made to report an error but no error box appears.  I don't know
12308         where it goes.
12309         (removeAutoInsets): Improved comments.
12310
12311 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
12312
12313         * Thesaurus.h:
12314         * Thesaurus.C: update for Aiksaurus 0.14
12315
12316 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12317
12318         * text2.C (firstParagraph): removed member function, all uses
12319         replaces with ownerParagraph
12320         (redoParagraphs): here
12321         (updateInset): here
12322         (toggleAppendix): here
12323         * BufferView2.C (insertErrors): here
12324         (setCursorFromRow): here
12325
12326 2002-01-13  Allan Rae  <rae@lyx.org>
12327
12328         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12329         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12330         There is still a way to segfault this although you may have to do this
12331         multiple times: Have an InsetERT with an unknown command in it.
12332         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12333         <down-arrow>, <Enter> again, View->DVI, BANG!
12334
12335         * text2.C (setCursor):
12336         (deleteEmptyParagraphMechanism):
12337         * lyxtext.h (setCursor):
12338         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12339         Making use of the return value may help fix other bugs.
12340
12341 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12342
12343         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12344
12345         * LyXView.C (updateMenubar): call MenuBar::update here
12346         (updateToolbar): but not here
12347         (showState): do not update toolbar/menubar
12348
12349         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12350         should need to care about that.
12351
12352         * lyxfunc.C (verboseDispatch): simplify a bit
12353         (getStatus): have a version which takes a pseudoaction, and
12354         another which requires a (kb_action,string).
12355
12356         * LyXAction.C (retrieveActionArg): make it work also when action
12357         is not a pseudo-action.
12358         (getActionName): simplify a bit
12359         (helpText):
12360
12361 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12362
12363         * lyxfunc.C (verboseDispatch): new families of methods with
12364         several ways to specify a command and a bool to indicate whether
12365         the command name and shortcut should be displayed in minibuffer
12366         (eventually, we could extend that to a finer bitmask like
12367         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12368         (dispatch): the pristine dispatch command which just, well,
12369         dispatchs! Note it still sets its result to minibuffer; I'm not
12370         sure we want that.
12371
12372         * lyxfunc.h: remove setHintMessage
12373
12374         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12375
12376 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12377
12378         * BufferView_pimpl.C (specialChar): delete new inset if we have
12379         not been able to insert it.
12380
12381         * kbmap.C: revert to using int instead of kb_action, since all we
12382         are dealing with is pseudo-actions.
12383
12384         * LyXAction.C (searchActionArg): change to return int instead of
12385         kb_action, since the result is a pseudoaction.
12386
12387 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
12388
12389         * buffer.C (insertErtContents): Fix (partially) the font bug.
12390
12391 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12392
12393         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12394         as the other one is broken on my machine!
12395
12396 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
12397
12398         * commandtags.h:
12399         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12400
12401 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
12402
12403         * lyxrc.[Ch]: change names and descriptions of popup font variables to
12404         reflect their actual use. Provide compatibility code for older lyxrc
12405         files.
12406
12407         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12408         FL_NORMAL_STYLE.
12409         change names of popup font variables in line with the changes to lyxrc.C
12410
12411 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12412
12413         * buffer.C (asciiParagraph): avoid outputing a word twice after
12414         an inset.
12415
12416         * lyxrc.C (getDescription): document that document_path and
12417         template_path can be empty.
12418
12419 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12420
12421         * LaTeXFeatures.C (getMacros):
12422         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12423
12424         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12425
12426         * LaTeXFeatures.C (useFloat): require "float" here instead of in
12427         getPackages.
12428         (getPackages): rename feature "floats" to "float". Use an array to
12429         iterate over 'simple' features (i.e. just a \usepackage). Add
12430         handling of "amsmath" (renamed from "amsstyle").
12431
12432 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
12433
12434         * LaTeXFeatures.C (require): Prevent duplicate entries in the
12435         features list.
12436
12437 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
12438
12439         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12440         FuncStaus::FuncStatus & FuncStaus::some_method().
12441
12442 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
12443
12444         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12445         of the func_satus stuff. Edited and massaged in various ways by
12446         JMarc.
12447
12448         * lyxfunc.C (getStatus): use FuncStatus
12449
12450 2002-01-08  Juergen Vigna  <jug@sad.it>
12451
12452         * text.C (nextBreakPoint): use function Inset::isChar().
12453
12454         * paragraph.C (TeXOnePar): use function
12455         Inset::forceDefaultParagraphs.
12456
12457         * buffer.C (latexParagraphs): use function
12458         Inset::forceDefaultParagraphs.
12459
12460 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12461
12462         * lyx_gui.C (init): set the style of the menu popups to
12463         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12464
12465 2002-01-07  Juergen Vigna  <jug@sad.it>
12466
12467         * text.C (setHeightOfRow): small fix
12468         (prepareToPrint): don't look at alignment if we don't have the place
12469         for doing it.
12470
12471 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12472
12473         * box.C: New file. Move the Box methods and functions out of box.h,
12474         following Lars' suggestion.
12475
12476 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12477
12478         * box.h: #include "support/LOstream.h", needed for inlined function.
12479
12480         * lyxtextclass.C:
12481         * lyxtextclasslist.C: added some using std declarations.
12482
12483 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
12484
12485         * box.h: make signed dimensions to allow insets wider than
12486           the screen (bug #162)
12487
12488         * BufferView_pimpl.C: add some insetHit debug
12489
12490 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
12491
12492         * vc-backend.C: add FIXME
12493
12494 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12495
12496         * lyxfunc.C (getStatus): enable code for showing math font status
12497         in toolbar/menu.
12498
12499 2002-01-07  Juergen Vigna  <jug@sad.it>
12500
12501         * text.C (nextBreakPoint): removed debug output not needed anymore.
12502
12503 2002-01-06  Juergen Vigna  <jug@sad.it>
12504
12505         * text.C (nextBreakPoint): fixed up this function we had this bug
12506         since ever but now hopefully we break row better.
12507         (insertChar): we have to check if an inset is the next char as it
12508         could now happen that a large inset is causing a break.
12509
12510 2002-01-05  Juergen Vigna  <jug@sad.it>
12511
12512         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12513         if it doesn't like to be drawed.
12514
12515 2002-01-04  Juergen Vigna  <jug@sad.it>
12516
12517         * BufferView2.C (lockInset): forgot to set a cursor.
12518
12519         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12520
12521 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
12522
12523         * FormMathsPanel.C:
12524         * FormMathsPanel.h
12525         * MathsSymbols.C:
12526         * form_maths_panel.C:
12527         * form_maths_panel.h:
12528         * form_maths_panel.fd: implemented sub- and super- buttons in math
12529         panel.
12530
12531         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12532         (or ^ space) to be used as in TeX (req'd by André).
12533
12534         * lyxfunc.C: Allow ^ and _ again to be used both as
12535         super/subscript (mathed) and as themselves (in text).
12536
12537 2002-01-03  Allan Rae  <rae@lyx.org>
12538
12539         * LyXView.C (updateWindowTitle): Setup a short icon title of either
12540         "LyX" or the filename of the current buffer if it has one.  This is a
12541         modified form of John Levon's patch.
12542
12543         * XFormsView.C (setWindowTitle): also set icon title.
12544
12545         * LyXView.h (setWindowTitle): signature changed.
12546         * XFormsView.h (setWindowTitle): ditto.
12547
12548 2002-01-02  Juergen Vigna  <jug@sad.it>
12549
12550         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12551
12552 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12553
12554         * screen.C (topCursorVisible): introduce a temp var for
12555         text->cursor.row(), handle the case where this row is null. (kindo
12556         hachish)
12557
12558         * text2.C (setCursor): add a couple of asserts.
12559
12560         * paragraph.h (inset_iterator): add -> operator
12561
12562         * paragraph.[Ch] (autoDeleteInsets): remove member function
12563
12564         * BufferView2.C (removeAutoInsets): rewrite to handle the old
12565         cursor pos correctly and handle inset deletion by itself.
12566         (insertErrors): move iterator declaration out of for expression
12567
12568         * lyxtextclass.C: add <algorithm>
12569
12570         * Makefile.am: added the new files to sources, removed layout.C
12571
12572         * layout.C: removed file
12573
12574         * layout.h: remove LYX_DUMMY_LAYOUT
12575
12576         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12577         layout.
12578
12579         * lyxlayout.[Ch]:
12580         * lyxtextclass.[Ch]:
12581         * lyxtextclasslist.[Ch]: new files
12582
12583         * include order changes to a lot of files, also changes because of
12584         the six new files.
12585
12586 2001-12-27  Juergen Vigna  <jug@sad.it>
12587
12588         * buffer.C (asciiParagraph): more fixes.
12589
12590         * tabular.C (ascii): make ascii export support export of only the
12591         data separated by a column-delimiter.
12592         (ascii): better support for ascii export.
12593
12594         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12595
12596 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12597
12598         * tabular_funcs.C: use a "using std::getline" instead of the
12599         previous fix from Angus (necessary for cxx + lyxstring)
12600
12601 2001-12-24  Juergen Vigna  <jug@sad.it>
12602
12603         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12604
12605         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12606         problems. First check a minipage also if we have some ert-contents
12607         (not only on par->size(), second set the right depth of the paragraph
12608         on the relink to the root-paragraph-list!
12609
12610         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12611         which then did not anymore update the main paragraphs on undo/redo!
12612
12613 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12614
12615         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12616         code. Support all font-changing funcs (even those which are not in
12617         menu currently). Support for reporting font settings in
12618         mathed (disabled until Andre provides a function on mathed's side).
12619
12620         * func_status.h (toggle): small helper function to set toggle
12621         state on a flag.
12622
12623 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
12624
12625         * tabular_funcs.C: getline -> std::getline
12626
12627 2001-12-21  Juergen Vigna  <jug@sad.it>
12628
12629         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12630         accessed and could be 0 (I couldn't generate this but it seems
12631         Michael could!).
12632
12633 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12634
12635         * tabular_funcs.C: add LIstream.h, move write_attribute to..
12636         * tabular_funcs.h: here and include iosfwd
12637
12638 2001-12-20  Juergen Vigna  <jug@sad.it>
12639
12640         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12641         inside inset but undo_par was.
12642
12643 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12644
12645         * Thesaurus.C: always include <config.h> in sources.
12646
12647         * Painter.h:
12648         * lyxlookup.h:
12649         * box.h: do not include <config.h> in header files
12650
12651         * text.C (paintLastRow): remove unused variable
12652
12653         * text.C (transformChar):
12654         (insertChar):
12655         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12656
12657         * Painter.C (text):
12658         * font.C (width): rewrite to use uppercase() instead of
12659         islower/toupper.
12660
12661         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12662
12663 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
12664
12665         * lyxfind.C: clean up of find failure position change
12666
12667 2001-12-20  Juergen Vigna  <jug@sad.it>
12668
12669         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12670
12671         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12672         (TeXRow): added to LaTeX a single tabular row.
12673         (TeXLongtableHeaderFooter): added to output LT-h/f data.
12674         (Latex): simplified and finally good LT-h/f support.
12675         (various_functions): just small adaptions for LT-h/f support.
12676
12677         * tabular_funcs.[hC]: added and moved here all not classfunctions
12678         of LyXTabular.
12679
12680 2001-12-19  Juergen Vigna  <jug@sad.it>
12681
12682         * tabular.[Ch]: better support for longtabular options (not finished
12683         yet!)
12684
12685 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12686
12687         * text.C (paintLastRow): use the label font instead of the font of
12688         the last character to compute the size of *_BOX. This makes more
12689         sense and avoids a crash with empty paragraphs.
12690         Use Painter::rectangle to draw EMPTY_BOX.
12691
12692 2001-12-19  Juergen Vigna  <jug@sad.it>
12693
12694         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12695         the paragraphs if the replaced paragraph is not the first one!
12696         Tried to delete not used paragraphs but does not work yet so for
12697         now it's inside #ifdef's and by default off!
12698
12699 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12700
12701         * MenuBackend.C: include "lyx_main.h" instead of declaring
12702         lastfiles (actually was declared as LastFiles* instead of a
12703         scoped_ptr).
12704
12705 2001-12-17  Juergen Vigna  <jug@sad.it>
12706
12707         * tabular.C (AppendColumn): applied John's fix
12708
12709 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
12710
12711         * BufferView.h:
12712         * BufferView.C:
12713         * BufferView_pimpl.h:
12714         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12715
12716         * Makefile.am:
12717         * box.h: new start of class for above
12718
12719         * lyxfunc.C: ignore space-only minibuffer dispatches.
12720           Show the command name when it doesn't exist
12721
12722         * minibuffer.C: don't add empty lines to the history
12723
12724         * minibuffer.C: add a space on dropdown completion
12725
12726 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
12727
12728         * text.C: fix line above/below drawing in insets
12729
12730 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12731
12732         * lyxlength.C (LyXLength): Initialize private variables.
12733
12734 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
12735
12736         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12737         when inserting error insets.
12738
12739 2001-12-13  Juergen Vigna  <jug@sad.it>
12740
12741         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12742         actually sometimes the before-paragraph.
12743         (setUndo): don't clear the redostack if we're not actually undoing!
12744
12745 2001-12-06  Juergen Vigna  <jug@sad.it>
12746
12747         * undo_funcs.C (textHandleUndo): well after John's hint I got here
12748         and fixed redoing of main paragraph, so we can use it now ;)
12749
12750         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12751
12752 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12753
12754         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12755         Juergen's request
12756
12757 2001-12-13  André Pönitz <poenitz@gmx.net>
12758
12759         * undostack.[Ch]:
12760         * undo_func.C: minor cleanup
12761
12762 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12763
12764         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12765         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12766         font in urw-fonts package which is marked as -urw-fontspecific and
12767         does not work (incidentally, changing the encoding in the
12768         fonts.dir of this package to -adobe-fontspecific fixes the
12769         problem).
12770
12771         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12772         is a crash when undoing first paragraph (Juergen, please take a
12773         look). THis does not mean the undo fix is wrong, just that it
12774         uncovers problems.
12775
12776         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12777         the (Paragraph*) version when needed instead of duplicating the
12778         code.
12779
12780         * text.C (workWidth): use Inset::parOwner to find out where the
12781         inset has been inserted. This is a huge performance gain for large
12782         documents with lots of insets. If Inset::parOwner is not set, fall
12783         back on the brute force method
12784
12785         * paragraph_pimpl.C (insertInset):
12786         * paragraph.C (Paragraph):
12787         (cutIntoMinibuffer): set parOwner of insets when
12788         inserting/removing them
12789
12790         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12791
12792 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
12793
12794         * commandtags.h:
12795         * LyXAction.C:
12796         * lyx_main.C:
12797         * lyxfunc.C:
12798         * mathed/formulabase.C:
12799         * mathed/math_cursor.[Ch]:
12800         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12801
12802
12803 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12804
12805         * lyxlength.[Ch] (operator!=): new function
12806
12807 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12808
12809         * text.C (workWidth): use Inset::parOwner to find out where the
12810         inset has been inserted. This is a huge performance gain for large
12811         documents with lots of insets. If Inset::parOwner is not set, fall
12812         back on the brute force method
12813
12814         * paragraph_pimpl.C (insertInset):
12815         * paragraph.C (Paragraph):
12816         (cutIntoMinibuffer): set parOwner of insets when
12817         inserting/removing them
12818
12819         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12820
12821 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12822
12823         * tabular-old.C (getTokenValue):
12824         * tabular.C (getTokenValue):
12825         (write_attribute): new versions for LyXLength
12826         (everywhere): adjust the use of widths
12827
12828         * tabular.h: change the type of widths from string to LyXLength
12829
12830 2001-12-11  Ben Stanley <bds02@uow.edu.au>
12831
12832         * paragraph.C: fixed missing line number count when exporting
12833         Environments to LaTeX file
12834
12835         * buffer.C: added informational message for checking line numbers.
12836
12837 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12838
12839         * text2.C (deleteEmptyParagraphMechanism): if there is only one
12840         paragraph, do the 'double space' part, but not the 'empty
12841         paragraph' one.
12842
12843         * text.C (workWidth): small optimization
12844         (getLengthMarkerHeight): use minimal size for negative lengths.
12845
12846 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
12847
12848         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12849
12850         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12851
12852 2001-12-11  André Pönitz <poenitz@gmx.net>
12853
12854         * FontLoader.C:
12855         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12856
12857 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12858
12859         * text2.C: keep selection on a setFont()
12860
12861 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12862
12863         * lyx_cb.C: another bv->text misuse, from insert label
12864
12865 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12866
12867         * kbsequence.h:
12868         * kbsequence.C: re-instate nmodifier mask
12869
12870 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
12871
12872         * lyx_main.h: make lyxGUI private.
12873
12874 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12875
12876         * lyxfind.C: place the cursor correctly on failed search
12877
12878 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12879
12880         * text.C (getLengthMarkerHeight): for small heights, the arrows
12881         are not always on top/bottom of the text
12882         (drawLengthMarker): smaller arrows; take the left margin in
12883         account; draw also vfills.
12884         (paintFirstRow):
12885         (paintLastRow): remove special code for vfill and standard spaces,
12886         since everything is handled in drawLengthMarker now.
12887
12888 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12889
12890         * buffer.C (insertErtContents): try to handle font and language
12891         interaction a bit better.g
12892
12893         * ColorHandler.C (updateColor): change the hash to cover the whole
12894         LColor enum, ws cleanup
12895         (getGCLinepars): ditto
12896         (getGCLinepars): only lookup in the linecache once.
12897
12898 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
12899
12900         * iterators.C (operator++): Make the iterator more robust
12901
12902         * BufferView2.C (removeAutoInsets): Use paragraph iterators
12903         (John's patch)
12904         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12905
12906 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12907
12908         * lyxtext.h:
12909         * text.C: better added space drawing
12910
12911 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12912
12913         * LyXView.C:
12914         * BufferView2.C: fix layout combo update on inset unlock
12915
12916 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12917
12918         * Makefile.am: don't compile unused files
12919
12920 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12921
12922         * lyxfunc.C:
12923         * commandtags.h:
12924         * LyXAction.C: remove old LFUN_LAYOUTNO
12925
12926 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12927
12928         * paragraph_pimpl.h:
12929         * paragraph_pimpl.C: isTextAt() doesn't need font param
12930
12931 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12932
12933         * lyxlex.h:
12934         * lyxlex.C: little cleanup
12935
12936 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12937
12938         * BufferView_pimpl.C: fix insertAscii for insets
12939
12940 2001-12-05  Juergen Vigna  <jug@sad.it>
12941
12942         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12943         set the right font on the "multi" paragraph paste!
12944
12945 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12946
12947         * trans_decl.h:
12948         * trans_mgr.[Ch]:
12949         * trans.[Ch]:
12950         * lyxgluelength.C:
12951         * lyxlength.C: remove out-commented code.
12952
12953         * BufferView_pimpl:
12954         * CutAndPaste.C:
12955         * DepTable.C:
12956         * buffer.C:
12957         * chset.C:
12958         * lastfiles.C:
12959         * lyxlex.C:
12960         * lyxlex_pimpl.C:
12961         * lyxserver.C:
12962         * screen.C:
12963         * tabular-old.C:
12964         * tabular.C:
12965         * text.C:
12966         * trans_mgr.C:
12967         * vc-backend.C: change "while(" to "while ("
12968
12969         * lyxlength.[Ch]: add zero function to check if length is zero or
12970         not
12971         * lyxgluelength.C: use it
12972
12973 2001-12-05  Allan Rae  <rae@lyx.org>
12974
12975         * lyxlength.C: Attempted a fix for the abs(int) header selection.
12976         Works for 2.95.3, from what I understand of Garst's reports this should
12977         work for other g++ versions.  We're screwed if the abs(int) definition
12978         changed between bugfix releases of gcc.
12979
12980 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12981
12982         * text.C: fix chapter label offset !
12983
12984 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12985
12986         * lyxtext.h:
12987         * text.C: fix hfill at end of line, clean up
12988
12989 2001-12-04  Juergen Vigna  <jug@sad.it>
12990
12991         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12992         that we force an update of the inset and it's owners if neccessary.
12993
12994 2001-12-03  Juergen Vigna  <jug@sad.it>
12995
12996         * text.C (rowLast): simplified code
12997
12998 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12999
13000         * lyxfunc.C: fix show options on timeout
13001
13002 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13003
13004         * screen.C (topCursorVisible): scroll half a page when the cursor
13005         reached top of bottom of screen
13006
13007 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
13008
13009         * minibuffer.C: deactivate on loss of focus
13010
13011 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13012
13013         * vspace.[Ch] (operator!=): add operator.
13014
13015 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
13016
13017         * BufferView_pimpl.C: refuse to open an inset when
13018         there's a selection.
13019
13020 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
13021
13022         * BufferView_pimpl.C: allow to click on RHS of full row insets
13023
13024 2001-11-30  Juergen Vigna  <jug@sad.it>
13025
13026         * tabular.C (LyXTabular): add a same_id to set the same id's in the
13027         insets for undo reasons.
13028
13029 2001-11-28  André Pönitz <poenitz@gmx.net>
13030
13031         * vspace.[Ch]: cosmetical changes
13032
13033 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13034
13035         * LyXAction.h:
13036         * LyXAction.C:
13037         * lyxfunc.h:
13038         * lyxfunc.C:
13039         * kbmap.h:
13040         * kbmap.C:
13041         * lyxrc.C:
13042         * kbsequence.h:
13043         * kbsequence.C: part re-write of old kb code
13044
13045         * Painter.C:
13046         * WorkArea.C: remove Lgb_bug_find_hack
13047
13048 2001-11-30  José Matos <jamatos@fep.up.pt>
13049
13050         * buffer.C (makeDocBookFile): add a comment to point a hack.
13051         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13052         Fixed a double write of labels.
13053
13054 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13055
13056         * LaTeX.C:
13057         * LaTeX.h Fixed bug in LaTeX class where it would not
13058         re-run latex if no depfiles were changed, but the .dvi was removed.
13059
13060 2001-11-28  André Pönitz <poenitz@gmx.net>
13061
13062         * all the files from the change on 2001/11/26:
13063         use lyx::layout_type instead of LyXTextClass::size_type
13064         use lyx::textclass_type instead of LyXTextClassList::size_type
13065
13066 2001-11-29  Juergen Vigna  <jug@sad.it>
13067
13068         * text.C: added support for paragraph::isFreeSpacing()
13069
13070         * buffer.C: same as above
13071
13072         * paragraph.h: inserted isFreeSpacing() function to enable
13073         FreeSpacing inside InsetERT.
13074
13075         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13076         of the paragraph's in the cut/copy buffer to 0!
13077
13078         * text2.C (removeRow): remove the assert as it can!
13079
13080         * lyxtext.h: added helper function firstRow returning firstrow and
13081         made firstrow private again.
13082
13083         * BufferView2.C (lockInset): don't relock if we're already locked!
13084
13085         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13086         the only paragraph.
13087         (removeRow): added Assert::(firstrow)
13088
13089         * debug.C: forgot to add INSETTEXT here.
13090
13091 2001-11-28  Juergen Vigna  <jug@sad.it>
13092
13093         * sp_spell.C (initialize): changed error text to more general
13094         spellchecker command use (not only ispell!)
13095
13096         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13097
13098         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13099
13100 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13101
13102         * vspace.C: initialise lyxgluelength on failure
13103
13104 2001-11-28  Allan Rae  <rae@lyx.org>
13105
13106         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13107         declaration & definition that looks like a function declaration.
13108
13109 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13110
13111         * BufferView2.C (copy):
13112         (copyEnvironment): do not clear the selection when doing a copy.
13113
13114         * text.C (paintFirstRow): compilation fix
13115
13116 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
13117
13118         * tabular.C (Latex): correct line count when writing latex.
13119
13120 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
13121
13122         * paragraph_pimpl.h:
13123         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13124           bug a bit
13125
13126 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13127
13128         * text.C:
13129         * LColor.h:
13130         * LColor.C: change vfillline->added_space
13131
13132         * text.C: add markers and text for added space
13133
13134         * vspace.C: fix comment
13135
13136 2001-11-28  André Pönitz <poenitz@gmx.net>
13137
13138         * paragraph.C: whitespace changes
13139         * all the other files from the change on 2001/11/26:
13140         change *::pos_type into lyx::pos_type
13141
13142 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
13143
13144         * buffer.C (parseSingleLyXformat2Token): Set the language to the
13145         language of the document when inserting error insets.
13146
13147 2001-11-26  André Pönitz <poenitz@gmx.net>
13148
13149         * BufferView_pimpl.[Ch]:
13150         *       CutAndPaste.C:
13151         * buffer.[Ch]:
13152         * lyxcursor.[Ch]:
13153         * lyxfind.C:
13154         * lyxfunc.C:
13155         * lyxrow.[Ch]:
13156         * paragraph.[Ch]:
13157         * paragraph_pimpl.[Ch]:
13158         * sp_spell.C:
13159         * text.C:
13160         * text2.C: reduce header dependencies, introduce type for positions
13161
13162 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13163
13164         * <various>: change to use Alert.h
13165
13166 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
13167
13168         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13169         when encountering an unknown token.
13170         (readLyXformat2): Show an error message if there were unknown tokens.
13171
13172 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
13173
13174         * BufferView2.C:
13175         * BufferView_pimpl.C:
13176         * buffer.C:
13177         * paragraph.h:
13178         * text.C:
13179         * text2.C: use par->isInset()
13180
13181 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13182
13183         * paragraph_pimpl.h:
13184         * paragraph_pimpl.C: cleanup
13185
13186 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13187
13188         * text2.C (removeRow):
13189         * text.C (setHeightOfRow): remove useless (and costly) call to
13190         getRow.
13191
13192 2001-11-20  Allan Rae  <rae@lyx.org>
13193
13194         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13195         Now need Inset*::checkInsertChar() to return true for appropriate
13196         cases so that the characters in the minibuffer will actually be
13197         inserted.
13198
13199 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13200
13201         * text.C: change the order of the includes.
13202         (workWidth): initialize it at once.
13203         (workWidth): make maxw unsigned
13204         (setHeightOfRow): remove unused variable (inset)
13205         (selectSelectedWord): remove unused variable (inset)
13206         (paintRowText): fix drawing of hfill characters, and clean up a bit.
13207
13208 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13209
13210         * lyxserver.C (emergencyCleanup): do not try to close pipes if
13211         server is not running.
13212         (openConnection):
13213         (closeConnection): add debug info when server is disabled.
13214
13215         * ColorHandler.C (getGCForeground): send debug message to GUI
13216         channel.
13217
13218         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13219
13220         * kbmap.C (bind): modify because return conventions of
13221         kb_sequence::parse have changed.
13222
13223         * kbsequence.C (parse): only ignore spaces and not any stupid
13224         control character. This avoids tests like s[i] <= ' ', which are
13225         guaranteed to fail with 8bit characters and signed chars.
13226         Change return code to string::npos when there have been no error
13227         (0 was a bad idea when error is at first character)
13228
13229 2001-11-14  José Matos  <jamatos@fep.up.pt>
13230
13231         * buffer.h:
13232         * buffer.C (simpleDocBookOnePar): removed unused argument.
13233
13234 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13235
13236         * text.C (selectNextWordToSpellcheck): do not test explicitely for
13237         insets which are part of a word. Paragraph::isLetter takes care of
13238         that now. Use Paragraph::isInset to identify insets.
13239         (selectSelectedWord): do not test for hyphenation break.
13240
13241         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13242         that protected spaces are considered as spaces.
13243
13244         * paragraph.C (isLetter): cleanup the code for ispell extras; use
13245         Inset::isLetter.
13246
13247 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
13248
13249         * lyxserver.h:
13250         * lyxserver.C: fix it. and small cleanup.
13251
13252 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13253
13254         * BufferView_pimpl.C: use inline helpers
13255
13256         * LaTeXFeatures.h:
13257         * LaTeXFeatures.C: fix typos
13258
13259         * Spacing.h:
13260         * Spacing.C: move spacing_string into class
13261
13262         * ToolbarDefaults.C: move stuff into namespace anon
13263
13264         * layout.h: update enum
13265
13266         * lyxfunc.C: use better debug
13267
13268         * minibuffer.h: fix typo
13269
13270         * debug.h:
13271         * debug.C:
13272         * WorkArea.C: add and use Debug::WORKAREA
13273
13274         * lyxtext.h:
13275         * text.C:
13276         * text2.C: code re-organisation, inline helpers
13277
13278 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
13279
13280         * Layout.C: replaced a few cases of std::vector.size() == 0 with
13281         std::vector.empty().
13282
13283 2001-11-09  Allan Rae  <rae@lyx.org>
13284
13285         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13286         '\n's after tables.  Tabular and ERT inset work now makes this no
13287         longer necessary.
13288
13289 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13290
13291         * minibuffer.h:
13292         * minibuffer.C: fix crash, improve drop-down completion
13293
13294 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
13295
13296         * lyxserver.h:
13297         * lyxserver.C: invalidate fd's when doing endPipe()
13298
13299 2001-11-08  José Matos  <jamatos@fep.up.pt>
13300
13301         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13302         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13303
13304         * paragraph.h:
13305         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13306
13307 2001-11-07  José Matos  <jamatos@fep.up.pt>
13308
13309         * buffer.h:
13310         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13311         const qualifier.
13312
13313         * buffer.C (sgmlOpenTag):
13314         * buffer.C (sgmlCloseTag): removed debug info.
13315
13316         * buffer.h (sgmlOpenTag):
13317         * buffer.h (sgmlCloseTag): made public.
13318
13319 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13320
13321         * buffer.C (saveParamsAsDefaults):
13322         * lyx_cb.C (MenuLayoutSave): remove
13323
13324         * LyXAction.C (init):
13325         * commandtags.h:
13326         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13327
13328 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13329
13330         * buffer.C (setPaperStuff): removed from here...
13331
13332         * bufferparams.C (setPaperStuff): ... and moved there.
13333
13334 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
13335
13336         * minibuffer.h:
13337         * minibuffer.C:
13338         * XFormsView.C: add support for drop-down completion
13339
13340 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
13341
13342         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13343         commands.
13344
13345 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13346
13347         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13348         disabled.
13349
13350 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
13351
13352         * lyx_main.C: change ref to known bugs
13353
13354 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
13355
13356         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13357         to work around older babel problems.
13358
13359 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13360
13361         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13362
13363 2001-10-24  Juergen Vigna  <jug@sad.it>
13364
13365         * tabular-old.C (ReadOld): below variable changes reflected.
13366
13367         * tabular.[Ch]: added ltType struct for longtable header/footer
13368         defines and changed all instances where they are used. Added
13369         future support for double top/bottom rows.
13370
13371 2001-10-24  José Matos  <jamatos@fep.up.pt>
13372
13373         * buffer.h (docbookHandleCaption):
13374         * buffer.C (docbookHandleCaption): removed unused function.
13375         (makeDocBookFile): moved docbook supported version to v4.1.
13376
13377 2001-10-24  José Matos  <jamatos@fep.up.pt>
13378
13379         * tabular.h:
13380         * tabular.C (docbookRow): new function to export docbook code of a row.
13381         (DocBook): now honors the longtable flags.
13382
13383 2001-10-23  José Matos  <jamatos@fep.up.pt>
13384
13385         * LaTeXFeatures.h:
13386         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13387         of the lyx defined sgml entities used in a docbook/linuxdoc document.
13388
13389         * buffer.C (makeLinuxDocFile):
13390         (makeDocBookFile): reworked the preamble, more clean, and with
13391         support for lyx defined entities. Changed the document declaration
13392         to be more XML friendly.
13393
13394         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13395         if we need to output XML that should be done with a filter.
13396
13397 2001-10-22  Juergen Vigna  <jug@sad.it>
13398
13399         * sp_pspell.h (class PSpell): add alive function needed in the
13400         controller to see if the spellchecker could be started.
13401
13402 2001-10-22  Juergen Vigna  <jug@sad.it>
13403
13404         * buffer.C (insertStringAsLines): modify the font for inserting
13405         chars in certain conditions by calling checkInsertChar(font).
13406
13407 2001-10-19  Juergen Vigna  <jug@sad.it>
13408
13409         * text.C (workWidth): use getRow instead of wrong algorithm.
13410         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13411
13412 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
13413
13414         * lyxserver.h:
13415         * lyxserver.C:
13416         * lyx_main.h:
13417         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13418
13419 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13420
13421         * text.C (workWidth): do not search for the exact row when
13422         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13423         optimization for big documents.
13424
13425 2001-10-18  Juergen Vigna  <jug@sad.it>
13426
13427         * text.C (workWidth): new function with added Inset * parameter.
13428
13429 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13430
13431         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13432
13433         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13434         change return type of getColumnNearX.
13435
13436
13437         * text.C (changeRegionCase): use uppercase/lowercase instead of
13438         toupper/tolower.
13439         (leftMargin):
13440         (rightMargin): simplify code by factoring out the uses of
13441         textclasslist.
13442         (labelFill):
13443         (numberOfHfills):
13444         (setHeightOfRow):
13445         (appendParagraph): use Paragraph::size_type
13446
13447 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13448
13449         * vspace.C (asLatexString): add a missing break
13450
13451 2001-10-15  Herbert Voss  <voss@perce.de>
13452
13453         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13454
13455 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13456
13457         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13458         is not available.
13459
13460 2001-10-10  André Pönitz <poenitz@gmx.net>
13461
13462         * lyxfunc.C: removed greek_kb_flag.
13463
13464 2001-10-10  Herbert Voss  <voss@perce.de>
13465
13466         * lyx_main.C: delete global string help_lyxdir.
13467
13468 2001-10-09  Herbert Voss  <voss@perce.de>
13469
13470         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13471
13472         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13473
13474         * lyx_main.C: added global string help_lyxdir.
13475
13476         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13477
13478 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13479
13480         * lyxrc.C (set_font_norm_type): support iso8859-4
13481
13482 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
13483
13484         * LaTeX.C (deplog): add another regex for MikTeX
13485
13486 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13487
13488         * lyxrc.C (set_font_norm_type): support iso8859-3
13489
13490 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13491
13492         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13493
13494         * LaTeXFeatures.C: remove special case of french and index
13495
13496         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13497         before \begin{document}). This solves several incompatibilities.
13498
13499 2001-10-03  Garst Reese  <reese@isn.net>
13500
13501         * lyx_cb.C: change CheckTex error msg.
13502
13503 2001-10-03  José Matos  <jamatos@fep.up.pt>
13504
13505         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13506
13507 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13508
13509         * .cvsignore: update
13510
13511         * lyx_main.C (commandLineVersionInfo): use new style version info.
13512
13513         * buffer.C (writeFile):
13514         (makeLaTeXFile):
13515         (makeLinuxDocFile):
13516         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13517
13518         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13519
13520         * version.h: update to use stuff in version.C
13521
13522         * version.C.in: new file. Contains version information determined
13523         at compile time. This is a merging of version.h and
13524         version_info.h.in.
13525
13526 2001-10-03  Juergen Vigna  <jug@sad.it>
13527
13528         * BufferView_pimpl.C (update): don't change "dirty" status in
13529         updateInset call.
13530
13531 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
13532
13533         * WorkArea.C (c-tor): re-position version string slightly.
13534
13535 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
13536
13537         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13538         revert to previous code.
13539
13540         WorkArea.[Ch]: (show, destroySplash): methods removed.
13541
13542         WorkArea.C: rework code so that it's an amalgam of the codes before and
13543         after the splash screen was moved to WorkArea.
13544
13545 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13546
13547         * lyxrc.C (read):
13548         * vspace.C (inPixels):
13549         (lyx_advance):
13550         * kbmap.C (bind):
13551         * buffer.C (insertStringAsLines):
13552         (asciiParagraph): fix types to be large enough
13553
13554         * lyxlex_pimpl.h: change member status from short to int
13555
13556         * layout.h: fix type of endlabeltype
13557
13558         * kbmap.C (bind):
13559         * kbsequence.C (parse): change return type to string::size_type
13560
13561         * LaTeX.C (updateBibtexDependencies): comment out unneeded
13562         variable
13563
13564         * Bullet.C (bulletSize):
13565         (bulletEntry): do not use short ints as parameters
13566
13567         * BufferView2.C (insertLyXFile): change a char to an int.
13568
13569         * WorkArea.C (WorkArea): remove unneeded floats in computation
13570
13571 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
13572
13573         * buffer.C (asciiParagraph): Treat '\\' as other chars.
13574
13575         * paragraph.C (asString): Do not ignore newline/hfill chars when
13576         copying to the clipboard.
13577
13578 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
13579
13580         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13581         after a multi-line inset.
13582
13583 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
13584
13585         * paragraph.C (validate): Set NeedLyXFootnoteCode
13586
13587 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13588
13589         * lyxfont.C (LyXSizeNames): changed increase-error to increase
13590         and decrease-error to decrease.
13591
13592 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13593
13594         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13595         it more readable (should be equivalent)
13596
13597 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13598
13599         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13600
13601 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13602
13603         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13604         of a cursor (row, etc.) after a character has been deleted
13605         (deleteEmptyParagraphMechanism): call the method above on _all_
13606         cursors held by the LyXText when a double space has been
13607         detected/deleted.
13608
13609 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13610
13611         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13612         pixmap.
13613         (resizeCurrentBuff): remove code to destroy the old splash dialog.
13614
13615         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13616         background. Use greyOut() and the new show() methods to toggle between
13617         the foreground and background. Add code to remove the splash after
13618         its initial showing.
13619
13620         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13621         (create_forms): no longer call Dialogs::showSplash.
13622
13623 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13624
13625         * .cvsignore: add version_info.h
13626
13627 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13628
13629         * version_info.h.in: new file
13630
13631         * Makefile.am: add version_info.h.in
13632
13633         * lyx_main.C (commandLineVersionInfo): use version_info defined in
13634         version_info.h instead of VERSION_INFO
13635
13636 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
13637
13638         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13639         The ERT inset now returns string().
13640
13641 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
13642
13643         * lyxtext.h, text.C (selectNextWord): renamed as
13644         selectNextWordToSpellcheck.
13645
13646         * text.C (selectNextWordToSpellcheck): Modified to not select
13647         words inside an ERT inset.
13648
13649 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13650
13651         * lyx_cb.C (MenuLayoutSave): change a bit the question
13652
13653         * sp_base.h: include <sys/types.h>
13654
13655 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
13656
13657         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13658
13659 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
13660
13661         * several files: fix typos in user-visible strings
13662
13663 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13664
13665         * text2.C (pasteSelection): do not set the selection, since it
13666         will be cleared later. Actually, the intent was to fix the way the
13667         selection was set, but I figured rmoving the code was just as good.
13668
13669 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
13670
13671         * FontLoader.C (available): Check if font is available without
13672         loading the font.
13673
13674 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
13675
13676         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13677
13678 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
13679
13680         * lyxrc.[Ch]: added display_graphics variable and associated code.
13681
13682 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13683
13684         * bufferparams.C (hasClassDefaults): new method. Returns true if
13685         the buffer parameters correspond to known class defaults
13686
13687 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
13688
13689         * XFormsView.C (show): set minimum size to the main window.
13690
13691 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13692
13693         * text2.C (copySelection):
13694         (cutSelection):
13695         * lyxfind.C (LyXReplace):
13696         * BufferView_pimpl.C (Dispatch): pass the correct flag to
13697         LyXText::selectionAsString.
13698
13699         * paragraph.C (asString): add "label" argument to the second form
13700
13701         * text2.C (selectionAsString): add "label" argument and pass it to
13702         Paragraph::asString.
13703
13704 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13705
13706         * lyx_main.C (commandLineHelp): remove version information
13707
13708 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
13709
13710         * lyx_main.C: add -version commandline option
13711
13712 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13713
13714         * paragraph.h: make the optional constructor arg required instead.
13715         some modifications to other files because of this.
13716
13717         * minibuffer.C (C_MiniBuffer_peek_event): make it static
13718
13719         * lyxserver.C (C_LyXComm_callback): make it static
13720
13721         * lyx_main.C (error_handler): make it static
13722
13723         * lyx_gui.C (LyX_XErrHandler): make it static
13724
13725         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13726
13727         * WorkArea.C: make the extern "C" methods static.
13728
13729         * Makefile.am (lyx_LDADD): simplify
13730
13731 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13732
13733         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13734         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13735
13736         * LyXAction.C (init):
13737         * lyxfunc.C (dispatch): associated code removal.
13738
13739 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13740
13741         * lyxfont.h (isSymbolFont): shut off warning
13742
13743         * text.C (setHeightOfRow):
13744         (getVisibleRow): fix crash with empty paragraphs which have a
13745         bottom line
13746
13747 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
13748
13749         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13750         code.
13751
13752 2001-09-04  José Matos  <jamatos@fep.up.pt>
13753         * buffer.C
13754         * buffer.h
13755         * tabular.C (docbook): rename docBook method to docbook.
13756
13757 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13758
13759         * Makefile.am: add dependencies to main.o.
13760
13761 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
13762
13763         * FontLoader.C (available): Return false if !lyxrc.use_gui
13764
13765 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
13766
13767         * FontInfo.C (query):
13768         * converter.C (view):
13769         * importer.C (Import):
13770         * exporter.C (Export): Can not -> cannot.
13771
13772 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
13773
13774         * BufferView_pimpl.C: allow to create index inset even if
13775           string is empty
13776
13777 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13778
13779         * buffer.C (getLists): replace boost::tie code with an explicit pair
13780         as boost::tie can break some compilers.
13781
13782         * iterators.h: Added a std:: declaration to the return type of
13783         ParIterator::size.
13784
13785 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
13786
13787         * lyxrc.C: add help for view_dvi_paper_option, default to safe
13788           case.
13789
13790 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
13791
13792         * iterators.[Ch]: New files. Provide paragraph iterators.
13793
13794         * buffer.C (changeLanguage): Use paragraph iterators.
13795         (isMultiLingual): ditto
13796
13797         * BufferView2.C (ChangeInsets): Use paragraph iterators.
13798
13799 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
13800
13801         * FontLoader.C: Support for cmr font.
13802
13803 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
13804
13805         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13806         (available): New method.
13807
13808         * FontInfo.C (getFontname): Use scalable fonts even when
13809         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13810         found.
13811
13812 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13813
13814         * converter.C (Formats::view): reverted! Incorrect fix.
13815
13816 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13817
13818         * converter.C (Formats::view): only output the -paper option
13819         if the dvi viewer is xdvi, thereby fixing bug #233429.
13820
13821 2001-08-23  Herbert Voss  <voss@perce>
13822
13823         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13824
13825 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
13826
13827         * Spacing.h (Spacing): Set space to Default on in the default
13828         constructor.
13829
13830 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13831
13832         * vc-backend.h (RCS::versionString): add RCS to version
13833         (CVS::versionString): add CVS to version
13834
13835         * vc-backend.C (scanMaster): do not add CVS to version.
13836         (scanMaster): do not add RCS to version
13837
13838         * lyxvc.C (versionString): new method
13839
13840         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13841
13842 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13843
13844         * Spacing.C (set): initialize fval
13845
13846 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
13847
13848         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13849         " or \.
13850
13851 2001-08-16  Juergen Vigna  <jug@sad.it>
13852
13853         * lyxfunc.C (dispatch): implemented the new FINISHED states.
13854
13855 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13856
13857         * BufferView_pimpl.C:
13858         * figureForm.C:
13859         * lyxtext.h:
13860         * text2.C: setParagraph takes linespacing now
13861
13862 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
13863
13864         * LyxAction.C: add internal LFUN_CITATION_INSERT
13865
13866         * LyXView.C: actually apply fix
13867
13868         * bufferlist.C: fix open non-existent file
13869
13870         * lyxfind.C: fix indentation
13871
13872         * lyxfunc.C: remove unneeded assert, fix typo
13873
13874 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13875
13876         * MenuBackend.C: use "Floatname List"
13877
13878 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
13879
13880         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13881         when converting LaTeX layout to insetERT.
13882         Generate a non-collapsed float when reading old float
13883
13884 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13885
13886         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13887         ERT insets.
13888
13889 2001-08-13  Juergen Vigna  <jug@sad.it>
13890
13891         * text.C (fill): return 0 instead of 20 as this seems to be the more
13892         correct value.
13893
13894 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13895
13896         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13897         lyxrc.font_norm.
13898
13899 2001-08-13  Juergen Vigna  <jug@sad.it>
13900
13901         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13902         casesensitive off.
13903         (SearchBackward): comment out the unlocking of the inset_owner this
13904         should not be needed!
13905
13906 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
13907
13908         * Many files: Remove inherit_language, and add latex_language
13909
13910         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13911         collapsible insets.
13912
13913 2001-08-10  Juergen Vigna  <jug@sad.it>
13914
13915         * text.C (prepareToPrint): fixed hfill-width in draw!
13916
13917         * BufferView2.C (selectLastWord): save the selection cursor as this
13918         now is cleared in the function LyXText::clearSelection!
13919
13920 2001-08-08  Juergen Vigna  <jug@sad.it>
13921
13922         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13923         BACKSPACE type functions.
13924
13925         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13926         is only cutted from the document but not put in the cut-buffer, where
13927         still the old stuff should be.
13928
13929         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13930
13931         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13932
13933         * tabular.C (SetWidthOfCell): fixed special case where the width
13934         was not updated!
13935         (LeftLine): handle '|' in align_special.
13936         (RightLine): ditto
13937         (LeftAlreadyDrawed): ditto
13938         (SetWidthOfCell): ditto
13939
13940 2001-08-07  Juergen Vigna  <jug@sad.it>
13941
13942         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13943
13944 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13945
13946         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13947         * lyxlex.[hC]: ditto
13948
13949 2001-08-06  Juergen Vigna  <jug@sad.it>
13950
13951         * text.C (getVisibleRow): fix up row clearing a bit.
13952
13953 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13954
13955         * minibuffer.C: make sure the X server sees the changes in the input.
13956
13957 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13958
13959         * paragraph.C (getFont): split into...
13960         (getLabelFont): this
13961         (getLayoutFont): and this
13962         * paragraph_pimpl.C (realizeFont): calling this
13963
13964         * text2.C (getFont): split into...
13965         (getLayoutFont): this
13966         (getLabelFont): and this
13967         (realizeFont): all three calling this
13968
13969         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13970         files where used.
13971
13972 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13973
13974         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13975
13976 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
13977
13978         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13979         layouts from the Quote inset insertion.
13980
13981 2001-08-03  Juergen Vigna  <jug@sad.it>
13982
13983         * BufferView_pimpl.C (update): do the fitCursor only at the end!
13984
13985         * screen.C (drawFromTo): don't call fitcursor here and do the loop
13986         only if status not is already CHANGED_IN_DRAW (second level).
13987
13988         * text.C (draw): don't set the need_break_row when inside an
13989         InsetText LyXText.
13990
13991 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13992
13993         * buffer.C (parseSingleLyXformat2Token): handle more latex
13994         conversion cases.
13995
13996         * bufferview_funcs.[hC]: change function names to
13997         begin with small char, adjust other files.
13998
13999 2001-08-02  André Pönitz <poenitz@gmx.net>
14000
14001         * lyxfunc.C:
14002         BufferView_pimpl.C: remove broken special code for math-greek
14003
14004 2001-08-02  Juergen Vigna  <jug@sad.it>
14005
14006         * BufferView_pimpl.C (update): redone this function so that we
14007         update the text again if there was a CHANGE_IN_DRAW.
14008
14009         * screen.C (cursorToggle): removed LyXText parameter and recoded.
14010         (drawFromTo): added a new internal bool which is used by draw() and
14011         redraw() function.
14012         (general): some cursor drawing problems fixed.
14013
14014 2001-08-01  Juergen Vigna  <jug@sad.it>
14015
14016         * lyxfind.C (LyXFind): fixed
14017         (SearchForward): ditto
14018         (SearchBackward): ditto
14019
14020         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14021         spurius drawing of the cursor in the main area.
14022
14023         * text2.C (status): small fix which could lead to a segfault!
14024         (clearSelection): remove unneeded BufferView param.
14025
14026 2001-08-01  André Pönitz <poenitz@gmx.net>
14027
14028         * lyxfunc.C: small change due to changed mathed interface
14029
14030 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14031
14032         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14033
14034 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
14035
14036         * lyxfunc.c: fail gracefully if file doesn't exist
14037
14038         * LyXSendto.C:
14039         * buffer.C:
14040         * lyxfunc.C:
14041         * BufferView_pimpl.C: IsDirWriteable() proto changed
14042
14043         * LyXView.C: fix updateWindowTitle() to store the last title
14044
14045 2001-07-31  Juergen Vigna  <jug@sad.it>
14046
14047         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14048         the font (wrong since using of Paragraph::highestFontInRange).
14049
14050         * paragraph.C (highestFontInRange): added a default_size parameter.
14051
14052         * text.C (getVisibleRow): minor clear row changes (still not perfect).
14053         (setHeightOfRow): reformat
14054
14055 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14056
14057         * converter.[hC] + affected files: move to (inital-char)lowercase
14058         function names.
14059
14060         * ParagraphParameters.C (ParagraphParameters): remove commented code
14061
14062         * PainterBase.[Ch]: remove commented code
14063
14064         * LaTeXFeatures.h: add "bool floats" for float.sty
14065
14066         * LaTeXFeatures.C (LaTeXFeatures): init floats
14067         (require): handle float
14068         (getPackages): do it with floats
14069
14070 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14071
14072         * BufferView_pimpl.C (Dispatch): improve handling of
14073         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14074
14075         * commandtags.h: #include lyxfont.h here temporarily to avoid
14076         keybinding bug.
14077
14078         * bufferlist.h: include LString.h here.
14079
14080 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14081
14082         * text2.C (getStringToIndex): new method.
14083
14084 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
14085
14086         * *: Reduced header file dependencies all over.
14087
14088 2001-07-30  Baruch Even  <baruch@lyx.org>
14089
14090         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14091
14092 2001-07-29  Baruch Even  <baruch@lyx.org>
14093
14094         * buffer.C (readInset): Changed GRAPHICS to Graphics.
14095
14096 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14097
14098         * ParameterStruct.h (endif): add a default constructor to make
14099         sure that all variables is initialized.
14100
14101         * ParagraphParameters.C (ParagraphParameters): adjust
14102
14103 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14104
14105         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14106         index; also, check that there is something to index, and that it
14107         does not span over several paragraphs.
14108         (doubleClick): use WHOLE_WORD_STRICT for double click.
14109
14110         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14111
14112         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14113         scheme.
14114
14115 2001-07-26  Baruch Even  <baruch@lyx.org>
14116
14117         * buffer.C (readInset): Changed to call up InsetGraphics when reading
14118         an InsetFig figure, backwards compatible reading of old figure code.
14119
14120 2001-07-27  Juergen Vigna  <jug@sad.it>
14121
14122         * text2.C: font.realize function adaption.
14123
14124         * text.C (draw): add a warnings lyxerr text if needed.
14125
14126         * layout.C: font.realize function adaption.
14127
14128         * language.C: add inherit_language and implement it's handlings
14129
14130         * bufferview_funcs.C (StyleReset): remove language parameter from
14131         font creation (should be language_inherit now).
14132
14133         * bufferparams.C (writeFile): handle ignore_language.
14134
14135         * paragraph.C (getFontSettings): the language has to be resolved
14136         otherwise we have problems in LyXFont!
14137
14138         * lyxfont.C (lyxWriteChanges): added document_language parameter
14139         (update): removed unneeded language parameter
14140
14141         * paragraph.C (validate): fixed wrong output of color-package when
14142         using interface colors for certain fonts in certain environments,
14143         which should not seen as that on the final output.
14144
14145 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
14146
14147         * BufferView_pimpl.C:
14148         * Thesaurus.h:
14149         * Thesaurus.C:
14150         * Makefile.am:
14151         * commandtags.h:
14152         * LyXAction.C: add thesaurus support
14153
14154         * lyxfind.h:
14155         * lyxfind.C: add "once" parameter, for thesaurus, to not
14156           move to the next match
14157
14158 2001-07-26  Juergen Vigna  <jug@sad.it>
14159
14160         * lyxfont.C (realize): honor ignore_language too!
14161         (resolved): ditto.
14162
14163         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14164
14165         * text.C (draw): one place more for ignore_language to not draw
14166         itself!
14167
14168 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
14169
14170         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14171
14172 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14173
14174         * buffer.C (parseSingleLyXformat2Token): a more general fix for
14175         the minipage conversion problem.
14176
14177 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14178
14179         * buffer.C (parseSingleLyXformat2Token): check minipage if we
14180         insert an inset.
14181
14182 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14183
14184         * BufferView.h: don't forward declare WorkArea
14185
14186         * BufferView.C: don't include WorkArea.h
14187
14188 2001-07-25  André Pönitz <poenitz@gmx.net>
14189
14190         * commandtags.h:
14191         * LyXAction.C:
14192         * lyxfunc.C:  new LFUN 'math-space'
14193
14194         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14195
14196 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14197
14198         * text2.C (toggleInset): call open/close
14199
14200 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14201
14202         * lyxfunc.C (dispatch): add debug for the disabled case
14203
14204         * font.C (buttonText): make similar to rectText
14205
14206         * buffer.C (readInset): comment out parsing of insetlist and
14207         insttheorem
14208
14209         * PainterBase.C (rectText): small correction
14210
14211         * BufferView_pimpl.C: comment out insettheorem and insetlist
14212         * LyXAction.C: ditto
14213         * commandtags.h: ditto
14214
14215 2001-07-24  Juergen Vigna  <jug@sad.it>
14216
14217         * text.C (draw): honor the ignore_language.
14218
14219         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14220
14221 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14222
14223         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14224         char inset.
14225
14226 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14227
14228         * lyxtext.h: remove unused (and unimplemented) methods
14229
14230 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14231
14232         * text.C (getVisibleRow): honor background color
14233
14234         * PainterBase.h:
14235         * Painter.h: remove default color argument for fillRectangle
14236
14237         * text.C (backgroundColor): new method
14238
14239 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14240
14241         * text.C (getVisibleRow): adjust
14242
14243         * font.[Ch] (rectText): new method, metrics
14244         (buttonText): new method, metrics
14245
14246         * PainterBase.[hC]: make rectText and buttonText always draw and take
14247         fewer paramteres.
14248
14249 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14250
14251         * ToolbarDefaults.C (read):
14252         * MenuBackend.C (read): allow escaping in all strings
14253
14254         * BufferView_pimpl.C (insertAndEditInset): new method.
14255         (Dispatch): use insertAndEditInset whenever appropriate.
14256
14257         * BufferView_pimpl.C (insertNote): removed
14258
14259         * BufferView_pimpl.C (smartQuote): new method, moved from
14260         BufferView; if an insetquote cannot be inserted, insert a '"'
14261         character instead.
14262
14263         * BufferView2.C: remove insertCorrectQuote();
14264
14265         * lyxfunc.C (getStatus): Add support for all remaingin
14266         inset-insert lfuns.
14267
14268         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14269
14270         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14271         command (necessary to pass " as parameter of self-insert.
14272
14273         * text.C (selectWordWhenUnderCursor):
14274         (selectWord): add word_location parameter
14275         (selectWordWhenUnderCursor): same + remove special code for word
14276         boundary.
14277         (selectNextWord): use kind() to guess type of insetspecialchar,
14278         not latex().
14279
14280         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14281         (insertErtContents): create ert insets as collapsed.
14282         (readInset): better compatibility code for Info inset.
14283
14284 2001-07-20  Juergen Vigna  <jug@sad.it>
14285
14286         * lyxfunc.C (dispatch): use always LyXFind now!
14287
14288         * text2.C (init): add a reinit flag so that the LyXText can be
14289         reinited instead of deleted and reallocated (used in InsetText).
14290
14291         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14292
14293         * text.C: ditto
14294
14295         * text2.C: ditto
14296
14297 2001-07-18  Juergen Vigna  <jug@sad.it>
14298
14299         * text.C (selectNextWord): handle insets inside inset by calling
14300         always the bv->text functions so that we can go up the_locking_inset!
14301
14302         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14303         in strange locations when inside an inset!
14304
14305         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14306         handling to include insets.
14307
14308         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14309
14310 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14311
14312         * LyXAction.C (init):
14313         * commandtags.h:
14314         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14315         LIGATURE_BREAK, since the name is so stupid.
14316
14317 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14318
14319         * buffer.C (readInset): enable reading of new InsetNotes as well as old
14320         InsetInfos.
14321
14322         * FontLoader.C: remove FORMS_H_LOCATION cruft.
14323
14324         * sp_form.[Ch]: remove.
14325
14326         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14327
14328         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14329         InsetInfo.
14330
14331         * src/buffer.C (readInset): ditto.
14332
14333 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14334
14335         * BufferView_pimpl.C (specialChar): new method. Obsoletes
14336         menuSeparator(), endOfSentenceDot(), ldots() and
14337         hyphenationPoint(), which are therefore removed.
14338         (Dispatch): handle LFUN_HYPHENATION_BREAK.
14339
14340         * LyXAction.C (init):
14341         * commandtags.h: add LFUN_HYPHENATION_BREAK.
14342
14343         * paragraph.C (getWord): removed.
14344
14345         * BufferView_pimpl.C (Dispatch): use last word or selection for
14346         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14347
14348         * lyx_main.C (queryUserLyXDir): do not ask before creating
14349         user_dir, except if it has been named explicitely.
14350
14351 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14352
14353         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14354         a document of zero size.
14355
14356 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
14357
14358         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14359         approriately in the c-tor and in require().
14360         (getPackages): output the appropriate LaTeX for natbib support.
14361
14362         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14363         variables "use_natbib" and "use_numerical_citations" when reading the
14364         LyX file.
14365         (readInset): read the various natbib cite commands.
14366         (validate): white-space change.
14367
14368         * bufferparams.[Ch]: new variables "bool use_natbib" and
14369         "bool use_numerical_citations".
14370         (writeFile): output them in the LyX file.
14371
14372 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14373
14374         * lyxfunc.C (getStatus): add support for all the inset insertion
14375         commands.
14376
14377         * text2.C (insertInset):
14378         * paragraph.C (insetAllowed):
14379         * BufferView_pimpl.C (insertInset): update to take in account the
14380         renaming of insertInsetAllowed
14381
14382         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14383
14384         * text2.C (getInset): new method. returns inset at cursor position.
14385
14386         * BufferView_pimpl.C (Dispatch): changes because of this.
14387
14388         * LyXAction.C (init): rename open-stuff to inset-toggle.
14389
14390         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14391
14392         * text2.C (toggleInset): renamed from openStuff; use
14393         Inset::open().
14394
14395 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
14396
14397         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14398
14399         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14400
14401 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
14402
14403         * buffer.C (readLyXformat2): Add filename to the error dialog
14404
14405 2001-07-18  Juergen Vigna  <jug@sad.it>
14406
14407         * tabular.C (GetCellNumber): put an assert here instead of the check!
14408
14409 2001-07-17  Juergen Vigna  <jug@sad.it>
14410
14411         * BufferView_pimpl.C (toggleSelection): adapted too.
14412
14413         * text.C (selectNextWord): adapted for use with insets.
14414         (selectSelectedWord): ditto
14415
14416 2001-07-17  Juergen Vigna  <jug@sad.it>
14417
14418         * sp_spell.C (PSpell): fix initialitation order.
14419
14420 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14421
14422         * paragraph.C: spacing
14423
14424 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
14425
14426         * sp_spell.C: repair language selection for pspell
14427
14428 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14429
14430         * lyxfunc.h: change more methods to begin with lower char.
14431
14432 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
14433
14434         * buffer.C (parseSingleLyXformat2Token): Generate error insets
14435         for unknown layouts.
14436
14437 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
14438
14439         * buffer.C (readLyXformat2): Generate an error dialog if there are
14440         unknown layouts.
14441
14442 2001-07-16  Juergen Vigna  <jug@sad.it>
14443
14444         * sp_spell.C: always compile ISpell part.
14445
14446         * lyxrc.C: added use_pspell entry and it's handling.
14447
14448 2001-07-13  Juergen Vigna  <jug@sad.it>
14449
14450         * sp_spell.C: removed double includes.
14451
14452 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
14453
14454         Consistent use of Lsstream.h:
14455         * Lsstream.h: added using std::stringstream for consistencies sake.
14456
14457         * buffer.C: removed using std::stringstream
14458
14459         * lyxfont.C (stateText):
14460         * paragraph.C (asString):
14461         * text.C (selectNextWord, selectSelectedWord):
14462         * text2.C (setCounter):
14463         * vspace.C (asString, asLatexString):
14464         std::ostringstream -> ostringstream.
14465
14466 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14467
14468         * LyXAction.C: add LFUN_HELP_ABOUTLYX
14469         * commandtags.h: add LFUN_HELP_ABOUTLYX
14470         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14471
14472 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14473
14474         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14475         cursorToggle()
14476         * lyx_gui_misc.C: remove spellchecker
14477         * lyxfunc.C: showSpellchecker
14478         * sp_base.h: added
14479         * sp_ispell.h: added
14480         * sp_pspell.h: added
14481         * sp_spell.C: added
14482         * sp_form.[Ch]: removed
14483         * spellchecker.[Ch]: removed
14484
14485 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
14486
14487         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14488         is set.
14489         (simpleTeXSpecialChars): Simply print the input character without
14490         any special translation if pass_thru is set.
14491
14492         * layout.h: Added bool pass_thru to layout class for being able to
14493         implement pass through of a paragraph for Literate Programming.
14494
14495         * layout.C: add LT_PASS_THRU to LayoutTags enum.
14496         * layout.C (LyXLayout): set pass_thru to flase in constructor.
14497         * layout.C (Read): add "passthru" to list of layout tags and add
14498         code to set the pass_thru boolean when it is read.
14499
14500 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14501
14502         * trans_decl.h: remove allowed from KmodInfo
14503
14504         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14505         remove allowed code
14506         (Load): adjust
14507
14508         * paragraph_pimpl.C (erase): use boost::prior
14509
14510         * Painter.C (text): use data() instead of c_str() when length is
14511         also provided.
14512         * WorkArea.C (putClipboard): ditto
14513         * font.h (width): ditto
14514
14515         * BufferView2.C: use it-> instead of (*it). for iterators
14516         * texrow.C: ditto
14517         * paragraph_pimpl.C: ditto
14518         * paragraph.C: ditto
14519         * minibuffer.C: ditto
14520         * language.C: ditto
14521         * kbmap.C: ditto
14522         * encoding.C: ditto
14523         * counters.C: ditto
14524         * converter.C: ditto
14525         * chset.C: ditto
14526         * Variables.C: ditto
14527         * TextCache.C: ditto
14528         * MenuBackend.C: ditto
14529         * LyXAction.C: ditto
14530         * LColor.C: ditto
14531         * FloatList.C: ditto
14532         * DepTable.C: ditto
14533         * ColorHandler.C (LyXColorHandler): ditto
14534
14535 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14536
14537         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14538
14539         * text2.C (openStuff): reintroduce this method (which had been
14540         nuked in NEW_INSETS frenzy).
14541
14542         * lyxfunc.C (Dispatch): when an action has not been handled, use
14543         its name in the error message, not its number.
14544
14545         * paragraph.C (inInset): change method name to begin with lowercase.
14546
14547         * undo_funcs.C:
14548         * text2.C: updates because of this.
14549
14550 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14551
14552         * ToolbarDefaults.C (add): add spaces in error message
14553
14554 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14555
14556         * buffer.C (readLyXformat2): initialize the ert comp. variables.
14557         (readLyXformat2): rename return_par to first_par, use lyxlex's
14558         pushToken and remove the manual push handling.
14559         (parseSingleLyXformat2Token): add another ert comp. variable:
14560         in_tabular, rename return_par to first_par. handle newlines better
14561
14562 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14563
14564         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14565
14566 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14567
14568         * text2.C (getParFromID): removed
14569
14570         * buffer.C (getParFromID): new method moved form lyxtext.
14571         * BufferView2.C (insertErrors): adjust
14572         (setCursorFromRow): adjust
14573         * BufferView_pimpl.C (restorePosition): adjust
14574         * lyxfunc.C (Dispatch): adjust
14575         * undo_funcs.C (textUndo): adjust
14576         (textRedo): adjust
14577         (textHandleUndo): adjust
14578         (textHandleUndo): adjust
14579
14580 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14581
14582         * buffer.C: up' the LYX_FORMAT
14583
14584         * lyxfont.h: turn NO_LATEX on as default
14585
14586         * buffer.C (insertErtContents): new methods of tex style compability.
14587         (parseSingleLyXformat2Token): use it several places.
14588         * tabular.C (OldFormatRead): and here
14589
14590 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14591
14592         * text2.C: remove some commented code.
14593         reindent file.
14594
14595         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14596         * trans.C: changes because of the above.
14597
14598 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
14599
14600         * text2.C (setCounter): Fix counters bug with bibliography layout.
14601
14602 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14603
14604         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14605         own member functions
14606         (simpleTeXSpecialChars): ditto
14607
14608 2001-07-06  Juergen Vigna  <jug@sad.it>
14609
14610         * a lot of files: changed the access to LyXText::status and the
14611         call of undo-functions.
14612
14613         * undo.[Ch]: added a inset_id to the undo informations.
14614
14615         * undo_funcs.[Ch]: added and moved here all undo functions.
14616
14617         * lyxtext.h: give the status enum a weight, made status_ a private
14618         variable and made accessor functions for it, removed the whole bunch
14619         of undo-functions as they are now in their own file, make some
14620         functions publically available. Added function ownerParagraph with
14621         int parameter.
14622
14623         * paragraph.[Ch]: added "bool same_ids" to the constructor,
14624         made InInset() a const function, added getParFromID() function.
14625
14626         * buffer.[Ch]: added const version for inset_iterator functions,
14627         added getInsetFromID() function.
14628
14629         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14630         changed undo functions for new version.
14631
14632 2001-07-05  Juergen Vigna  <jug@sad.it>
14633
14634         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14635         unknow mechanism does not call the proper constructor but only this
14636         one also if I request the other!?
14637
14638 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14639
14640         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14641
14642         * text2.C (LyXText): use initialization lists.
14643
14644         * lyxtext.h (Selection): initialize set_ and mark_
14645         (init): remove method
14646
14647 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
14648
14649         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14650
14651 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14652
14653         * screen.[Ch]: change method names to begin with lowercase
14654
14655         * BufferView_pimpl.C (updateScrollbar): simplify further and
14656         hopefully make it a bit faster.
14657
14658 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14659
14660         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14661         calling directly xforms functions.
14662
14663         * Painter.C (Painter):
14664         * lyx_cb.C (MenuWrite):
14665         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14666         fl_display.
14667
14668         * lyx_gui.C: remove bogus guiruntime extern declaration.
14669
14670 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14671
14672         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14673         in NEW_INSETS
14674         (redoDrawingOfParagraph): ditto
14675         (redoParagraphs): ditto
14676         (cutSelection): don't create a object for CutAndPaste use the
14677         static method directly
14678         (pasteSelection): ditto
14679
14680         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14681         LyXview (+ rename)
14682
14683 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14684
14685         * modifications to some other files because of this.
14686
14687         * Makefile.am (lyx_SOURCES): add XFormsView
14688
14689         * XFormsView.[Ch]: new files
14690
14691         * LyXView.[Ch]: make LyXView a base class for the gui handling for
14692         the main window. Move the gui dependent stuff to XFormsView
14693
14694 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14695
14696         * tabular.C (GetCellInset): update cur_cell also in the row/col
14697         version of this function.
14698
14699         * lyxfunc.C: no need to include figure_form.h here.
14700
14701         * FontLoader.h:
14702         * lyxfunc.h:
14703         * lyxscreen.h:
14704         * text2.C:
14705         * lyxvc.C: no need to include forms.h here.
14706
14707 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14708
14709         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14710
14711         * lyxfunc.C (Dispatch):
14712         * Spacing.C (set):
14713         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14714         constructor argument.
14715
14716 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14717
14718         * paragraph.C (Paragraph): dont't clear, and just set layout.
14719         (makeSameLayout): use params's copy contructor.
14720
14721         * ParagraphParameters.[Ch] (makeSame): delete method
14722
14723 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
14724
14725         * Variables.[Ch]: fix indentation, rename set to isSet
14726
14727 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14728
14729         * lyxfunc.C (Dispatch): fix typo
14730
14731 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14732
14733         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14734         upper_bound.
14735
14736         * bufferlist.C: include assert.h for emergencyWrite().
14737
14738 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14739
14740         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14741           give up at last (bug #425202) !
14742
14743 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
14744
14745         * lyx_gui_misc.C:
14746         * sp_form.h:
14747         * sp_form.C:
14748         * spellchecker.h:
14749         * spellchecker.C: strip spellchecker options and bring up
14750           preferences tab instead
14751
14752 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14753
14754         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14755         the istringstream constructor
14756
14757 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14758
14759         * paragraph.C (getLayout): fix return value
14760
14761         * paragraph.h: do not declare getLayout as inline.
14762
14763         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14764
14765 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14766
14767         * lyxcursor.h (operator<): new func
14768         (operator>): new func
14769         (operator>=): new func
14770         (operator<=): new func
14771
14772         * text.C (changeCase): use selection.start and selection.end
14773         (changeRegionCase): require from to be <= to. Require par to be a
14774         valid paragraph.
14775
14776         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14777
14778 2001-06-27  Juergen Vigna  <jug@sad.it>
14779
14780         * text.C (cursorLeftOneWord): changed to return the cursor and added
14781         overlay with BufferView * parameter which calls this one.
14782         (getWord): added
14783         (selectWord): use new getWord function.
14784         (changeCase): renamed from changeWordCase as and extended to work
14785         also on selections.
14786
14787         * lyxtext.h: added enum word_location
14788
14789         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14790         changeCase as this operates now also on selections.
14791
14792 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
14793
14794         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14795
14796         * many files: send debug output to Debug::INFO instead of
14797         Debug::ANY.
14798
14799         * converter.C (View):
14800         (Convert):
14801         (Move): send debug output to Debug::FILES instead of console.
14802
14803 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
14804
14805         * lyxfunc.C (getStatus): use func_status
14806
14807         * func_status.h: new header, describing the results of
14808         LyXFunc::getStatus;
14809
14810         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14811         LFUN_MATH_HALIGN.
14812
14813 2001-06-25  The LyX Project  <jug@sad.it>
14814
14815         * buffer.C (sgmlOpenTag):
14816         (sgmlCloseTag):
14817         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
14818
14819 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14820
14821         * text2.C: remove some dead code
14822
14823         * tabular.C (GetCellInset): store the last cell checked (gotten)
14824
14825         * tabular.h: add the helper for the speedup
14826
14827         * lyxtext.h: remove some dead code
14828
14829 2001-06-26  The LyX Project  <Asger>
14830
14831         * paragraph.C: Change export to LaTeX of alignment to
14832         \begin{center} and family for better roundtrip work with reLyX.
14833
14834         * Tune the math drawing a bit.
14835
14836 2001-06-25  The LyX Project  <Asger>
14837
14838         * LColor.C (LColor): New color for math background. New color
14839         for buttons.
14840
14841 2001-06-25  The LyX Project  <jug@sad.it>
14842
14843         * lyxfunc.C (MenuNew): remove extra check for .lyx file
14844
14845         * lyxfunc.C (Open):
14846         * bufferlist.C (newFile): do not restrict to files ending with
14847         .lyx
14848
14849         * BufferView_pimpl.C (MenuInsertLyXFile):
14850
14851 2001-06-24  The LyX Project  <jug@sad.it>
14852
14853         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14854         of compare_no_case
14855
14856 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14857
14858         * lyxtext.h: rename most methods to begin with a small char.
14859         Lots of changes because of this.
14860
14861         * paragraph.C (Paragraph): do not call fitToSize
14862         (erase): call Pimpl::erase
14863         (insertChar): call Pimpl::insertChar
14864         (insertInset): call Pipl::insertInset
14865         (breakParagraph): do not call fitToSize
14866         (breakParagraphConservative): do not call fitToSize
14867         (fitToSize): remove method
14868
14869         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14870
14871 2001-06-24  The LyX Project  <Asger>
14872
14873         * Fix Qt compilation^2
14874
14875 2001-06-24  The LyX Project  <jug@sad.it>
14876
14877         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14878         depthHook(getDepth()-1).
14879
14880         * paragraph.h:
14881         * ParagraphParameters.h:
14882         * ParameterStruct.h: change type of depth to unsigned int ==
14883         depth_type. Many adaptations to other files before of that.
14884
14885 2001-06-24  The LyX Project  <Asger>
14886
14887         * Fix Qt compilation.
14888
14889 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14890
14891         * paragraph.h: renamed several methods to begin with small letter.
14892         several changes to many parts of the code because of this.
14893
14894 2001-06-23  The LyX Project  <jug@sad.it>
14895
14896         * text2.C (InsertStringAsLines): renamed from InsertStringA;
14897         rewritten to discard all double spaces when KeepEmpty is off
14898         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14899         to only handle newlines but not fiddle with spaces and friends.
14900
14901         * lyxfunc.C (MenuNew): when doing 'new from template', use
14902         template_path as default directory
14903
14904 2001-06-23  The LyX Project  <Asger>
14905
14906         * Clean-up of header file includes all over
14907         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14908
14909 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14910
14911         * paragraph.h: renamed from lyxparagraph.h
14912
14913 2001-06-23  Asger  <lyx@violet.home.sad.it>
14914
14915         * Buffer.h: Removed Buffer::resize
14916         * BufferList.h: Removed BufferList::resize
14917         * LyXView.h: Added LyXView::resize. This way, we will only reflow
14918         the document lazily when we change the width, or the font settings.
14919
14920 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14921
14922         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14923
14924 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14925
14926         * buffer.h: remove out of date comment
14927
14928 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14929
14930         * lyxscreen.h:
14931         * screen.C: fix "theoretical" GC leak
14932
14933 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14934
14935         * LaTeX.C (scanAuxFile):
14936         (deplog): remove trailing \r when reading stream (useful under
14937         win32)
14938
14939 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
14940
14941         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14942         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14943         and BufferView::theLockingInset(Inset*), so should use them and not
14944         access bv_->text->the_locking_inset directly.
14945
14946         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14947
14948 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14949
14950         * Makefile.am:
14951         * tex-defs.h: remove old unused file
14952
14953 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
14954
14955         * BufferView_pimpl.C: fix typo, remove minibuffer message
14956           when buffer has loaded
14957
14958 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14959
14960         * lyxfunc.C (Dispatch): use stringstream
14961         (MenuNew): use stringstream
14962         (Open): use stringstream
14963
14964         * importer.C (Import): use stringstream
14965
14966         * bufferview_funcs.C (CurrentState): use stringstream
14967
14968         * LaTeX.C (run): use stringstream
14969
14970         * BufferView_pimpl.C (savePosition): use stringstream
14971         (restorePosition): use stringstream
14972         (MenuInsertLyXFile): use stringstream
14973
14974 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
14975
14976         * BufferView.C:
14977         * Bullet.C:
14978         * ColorHandler.C:
14979         * FontInfo.C:
14980         * FontLoader.C:
14981         * LColor.C:
14982         * LaTeXFeatures.C:
14983         * Painter.C:
14984         * gettext.C:
14985         * lyx_gui_misc.C:
14986         * lyxserver.C:
14987         * vspace.C: removed // -*- C++ -*- as first line.
14988
14989         * lyxfind.h:
14990         * version.h: added // -*- C++ -*- as first line.
14991
14992 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14993
14994         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14995
14996         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14997         of string
14998
14999 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15000
15001         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15002         of floats.
15003
15004 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15005
15006         * gettext.C: include LString.h even when --disable-nls is on.
15007
15008 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
15009
15010         * converter.h (Get): changed argument type from int to
15011         FormatList::size_type to avoid unnecessary conversion.
15012
15013         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15014         before using it.
15015
15016 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15017
15018         * gettext.h: include LString.h even when --disable-nls is on.
15019
15020 2001-06-07  Juergen Vigna  <jug@sad.it>
15021
15022         * text.C (BreakAgain): subst spaces with tabs.
15023
15024         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15025         (resizeInsetsLyXText): set force on resizeLyXText.
15026
15027 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15028
15029         * gettext.h (gettext_init):
15030         (locale_init): use a real definition instead of a macro
15031
15032 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15033
15034         * Bufferview_pimpl.C:
15035         * LColor.h:
15036         * LColor.C: further lcolor tidies
15037
15038 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15039
15040         * BufferView_pimpl.C (updateScrollbar): simplify.
15041
15042         * BufferView2.C: don't include insets/insetinfo.h, change
15043         prototype for insertInset and call the Pimpl version. let
15044         updateInset call Pimpl version.
15045
15046         * BufferView.h: move inset_slept to BufferView::Pimpl, move
15047         gotoInset to BufferView::Pimpl
15048
15049 2001-06-01  Juergen Vigna  <jug@sad.it>
15050
15051         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15052         inside a LockingInset (is the update needed at all?).
15053
15054 2001-05-31  Juergen Vigna  <jug@sad.it>
15055
15056         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15057         here not the old one otherwise how should we compare it afterwards
15058         if it's the same!
15059
15060 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15061
15062         * lyxfont.C:
15063         * tabular.C:
15064         * tabular-old.C:
15065         * FontInfo.C: bring C functions into global namespace when
15066         necessary
15067
15068 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15069
15070         * LString.h: make sure config.h has been loaded before LString.h.
15071
15072         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15073         (one for each char read by EatLine!).
15074
15075         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15076         variables.
15077
15078 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15079
15080         * paragraph.C (BreakParagraph): set the inset_owner in the new par
15081         to the same as the par we break from
15082
15083 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15084
15085         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15086
15087         * MenuBackend.C (expand): also create menu entries for wide
15088         versions of the floats.
15089
15090         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15091
15092         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15093
15094         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15095         frontends/Makefile.am
15096
15097         * text2.C: adjust
15098         * text.C: adjust
15099
15100
15101         * tabular.C (getTokenValue): add std::
15102
15103         * tabular-old.C (getTokenValue): add std::
15104         (getTokenValue): ditto
15105         (getTokenValue): ditto
15106
15107         * screen.C (ToggleSelection): adjust
15108
15109         * lyxtext.h: put selection cursors inside a Selection struct.
15110
15111         * lyxfunc.C (moveCursorUpdate): adjust
15112
15113         * lyxfont.C (latexWriteStartChanges): add std::
15114
15115         * lyxfind.C: adjust
15116
15117         * font.h: delete with(char const *, LyXFont const &)
15118
15119         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15120
15121         * FontInfo.C (getFontname): add std::
15122
15123         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15124         (workAreaButtonPress): adjust
15125         (tripleClick): adjust
15126         (update): adjust
15127         (moveCursorUpdate): adjust
15128         (Dispatch): adjust
15129
15130         * BufferView2.C (gotoInset): adjust
15131
15132 2001-05-30  Juergen Vigna  <jug@sad.it>
15133
15134         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15135         to check pspell I add this as default as I now have new pspell
15136         libraries and they seem to use this.
15137
15138 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15139
15140         * text2.C (CutSelection): make the cursor valid before the call to
15141         ClearSelection.
15142
15143 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15144
15145         * kbsequence.C (parse): de-uglify a bit the parsing code, which
15146         relied on 0 terminated strings and other horrors. Bug found due to
15147         the new assert in lyxstring!
15148
15149         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15150         KP_ keys.
15151
15152 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15153
15154         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15155         to latinkeys.bind.
15156
15157         * lyxfunc.C (processKeySym): change method of getting to the
15158         self-insert char.
15159
15160         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15161         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15162         * BufferView_pimpl.[Ch]: here as private methods.
15163
15164 2001-05-28  Juergen Vigna  <jug@sad.it>
15165
15166         * text.C (SetHeightOfRow): added the update() call again as it is
15167         needed to initialize inset dimensions!
15168
15169 2001-05-16  Juergen Vigna  <jug@sad.it>
15170
15171         * text2.C (SetCharFont): Add new function with BufferView * and
15172         bool toggleall parameters for setting insets internal fonts.
15173         (SetFont): Freeze the undo as we may change fonts in Insets and
15174         all this change should be inside only one Undo!
15175
15176         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15177         setting font's in insets as for them we have the SetFont function!
15178
15179 2001-05-15  Juergen Vigna  <jug@sad.it>
15180
15181         * text2.C (ClearSelection): to be sure we REALLY don't have any
15182         selection anymore!
15183
15184         * tabular.C (TeXCellPreamble): fixed the left border problem for
15185         multicolumn cells.
15186
15187 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
15188
15189         * LaTeX.C (deplog): Make sure that the main .tex file is in the
15190         dependancy file
15191
15192 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15193
15194         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15195         LFUN_BREAKPARAGRAPH.
15196
15197         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15198         help test to "internal only", similar for LFUN_INSERT_URL
15199
15200         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15201         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15202         auto_region_delete and deadkeys.
15203
15204 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
15205
15206         * LColor.h:
15207         * LColor.C: remove some dead entries, tidy a little
15208
15209 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15210
15211         * lyxfunc.C (processKeySym): comment the Escape handling, remove
15212         commented code.
15213         (Dispatch): implement LFUN_ESCAPE
15214
15215         * commandtags.h: add LFUN_ESCAPE
15216
15217         * LyXAction.C (init): add entry for LFUN_ESCAPE
15218
15219         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15220         Remove commented code.
15221         (insertNote): moved here
15222         (open_new_inset): moved here
15223
15224         * BufferView[2].[Ch]: move insertNote and open_new_inset to
15225         BufferView_pimpl
15226
15227 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15228
15229         * kbmap.C (findbinding): clean it up and make it work correctly.
15230
15231         * lyx_main.C (init): do not pass argc and argv as parameters
15232
15233 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
15234
15235         * buffer.C: fix path for OS/2 & Win32
15236
15237         * lyx_gui.C:
15238         * lyx_main:
15239         * lyx_main.C: Added os:: class.
15240
15241         * os2_defines.h: update
15242
15243 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15244
15245         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15246         better by trying again with reduced state.
15247
15248 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15249
15250         * lyxrc.C (read): print error about invalid key sequence only when
15251         debugging (because not all latinX keysyms are known to some X
15252         servers)
15253
15254         * kbsequence.C (getiso): add a few std:: qualifiers
15255         (getiso): comment out extra return statement.
15256
15257 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15258
15259         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15260         handling.
15261         (Dispatch): enhance the accent inset a bit. (not perfect)
15262
15263 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15264
15265         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15266
15267 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15268
15269         * bufferlist.C (emergencyWrite): fix assert() call
15270
15271 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
15272
15273         * text.C (InsertChar): Added trivial patch to only send the "you
15274         can not do multiple spaces this way" message once during a
15275         session.
15276
15277 2001-05-08  Baruch Even  <baruch@lyx.org>
15278
15279         * Makefile.am: Changed order of libraries to get LyX to link properly
15280         with the gnome frontend.
15281
15282 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15283
15284         * LaTeXFeatures.h: add a std:: qualifier
15285
15286 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15287
15288         * paragraph.C (String): use stringstream
15289
15290 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15291
15292         * paragraph.C (writeFile): remove footflag arg
15293
15294         * buffer.C (makeLaTeXFile): use stringstream
15295         (latexParagraphs): remove footnot gurba
15296
15297         * LaTeXFeatures.C (getPackages): use stringstream
15298         (getMacros): likewise
15299         (getTClassPreamble): likewise
15300         (getFloatDefinitions): new method
15301
15302         * paragraph.C (writeFile): reindent
15303         (Erase): reindent
15304
15305         * WorkArea.h: revert the xpos + etc changes.
15306
15307         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15308
15309         * lyxparagraph.[Ch]: add copy constructor, remove Clone
15310
15311         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15312         (pasteSelection): likewise
15313         * text2.C (CreateUndo): likewise
15314
15315 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15316
15317         * minibuffer.C (peek_event): temporarily reduce the functionality
15318         of the minibuffer (to allow args on lfuns)
15319
15320         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15321         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15322
15323         * buffer.C (readInset): add compability reading of old float
15324         lists, add reading of new style float list.
15325         (readInset): avoid reevaluation of inscmd.getCmdName()
15326         (getLists): reindent
15327
15328         * MenuBackend.C (MenuItem): implement parsing of
15329         md_floatlistinsert and md_floatinsert.
15330         (expand::LastFiles): move initalizaton of iterators out of loop,
15331         avoid reevaluation.
15332         (expand::Documents): introduce typdedef vector<string> Strings,
15333         and use it.
15334         (expand::ExportFormats): introduce typedef vector<Format const *>
15335         Formats, and use it.
15336         (expand): implement FloatListInsert and FloatInsert.
15337
15338         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15339         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15340         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15341
15342         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15343         handling.
15344         (Dispatch::LFUN_FLOAT_LIST): implement
15345
15346 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15347
15348         * LaTeX.C (run): Fix problem with --export code.
15349
15350 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15351
15352         * BufferView.[Ch] (workarea): removed.
15353         (getClipboard) new method; wrapper for workarea()->getClipboard()
15354
15355         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15356         bug.
15357
15358         * WorkArea.h (width, height, xpos, ypos): These methods all
15359         returned the dimensions of the work_area sub-area of WorkArea,
15360         resulting in a position error if the WorkArea were resized. Now
15361         return the dimensions of the entire WorkArea.
15362
15363         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15364
15365 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15366
15367         * LaTeX.C (deplog): correct the syntax of regex reg1
15368
15369 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15370
15371         * undo.C: remove !NEW_INSETS cruft
15372
15373 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15374
15375         * text2.C: remove !NEW_INSETS cruft
15376
15377         * text.C: remove !NEW_INSETS cruft
15378
15379         * tabular.C: remove !NEW_INSETS cruft
15380
15381         * spellchecker.C: remove !NEW_INSETS cruft
15382
15383         * lyxtext.h: remove !NEW_INSETS cruft
15384
15385         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15386
15387         * lyxfunc.C: remove !NEW_INSETS cruft
15388
15389         * lyxfind.C: remove !NEW_INSETS cruft
15390
15391         * lyx_cb.C: remove !NEW_INSETS cruft
15392
15393         * figureForm.C: remove  !NEW_INSETS cruft
15394
15395         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15396
15397         * buffer.[Ch]: remove !NEW_INSETS cruft
15398
15399         * ToolbarDefaults.C: remove !NEW_INSETS cruft
15400
15401         * CutAndPaste.C: remove !NEW_INSETS cruft
15402
15403         * BufferView_pimpl.C: remove !NEW_INSETS cruft
15404
15405         * BufferView2.C: remove !NEW_INSETS cruft
15406
15407         * BufferView.h: remove !NEW_INSETS cruft
15408
15409 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15410
15411         * Lsstream.h: include LString.h before the sstream headers to
15412         fix problem with gcc 2.95.3 and lyxstring
15413
15414 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15415
15416         * lyx_main.C: add using directives when needed for C functions
15417         declared in std:: namespace.
15418
15419 2001-04-27  Juergen Vigna  <jug@sad.it>
15420
15421         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15422         (SetHeightOfRow): comment out the update call should not be needed!
15423
15424 2001-04-13  Juergen Vigna  <jug@sad.it>
15425
15426         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15427         (LyXTabular): tried to minimize operator= operations (and realized
15428         hopfully Lars wish).
15429
15430 2001-04-27  Juergen Vigna  <jug@sad.it>
15431
15432         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15433
15434 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15435
15436         * lyxfunc.C (Dispatch): hack to make listof algorithm work
15437
15438         * buffer.C (readInset): hack to make listof algorithm work
15439
15440         * BufferView_pimpl.C: hack to make listof algorithm work
15441
15442 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15443
15444         * LyXAction.C: removed all !NEW_INSETS cruft
15445         (init): moved lfun_item in method
15446
15447         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15448
15449 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15450
15451         * BufferView2.C (theLockingInset): white space.
15452
15453 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15454
15455         * minibuffer.C: include <iostream>
15456
15457         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15458
15459         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15460
15461         * commandtags.h: add LFUN_TRANSPOSE_CHARS
15462
15463         * text.[Ch] (TransposeChars): new method
15464
15465 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15466
15467         * call message directly through LyXView instead of through LyXFunc
15468         * BufferView2.C: adjust
15469         * BufferView_pimpl.C: adjust
15470         * FontLoader.C: adjust
15471         * buffer.C: adjust
15472         * bufferview_funcs.C: adjust
15473         * converter.C: adjust
15474         * figureForm.C: adjust
15475         * importer.C: adjust
15476         * lyx_cb.C: adjust
15477         * lyx_gui_misc.C: adjust
15478         * lyxfunc.C: adjust
15479         * lyxvc.C: adjust
15480         * text2.C: adjust
15481         + more files in subdirs
15482
15483         * lyxparagraph.h (size): move up int file
15484         (GetLayout): ditto
15485
15486         * adjust all uses of Assert to lyx::Assert.
15487
15488         * BufferView2.C (ChangeCitationsIfUnique): adjust for
15489         lyxfunctional in namespace lyx
15490         * layout.C (hasLayout): ditto
15491         (GetLayout): ditto
15492         (GetLayout): ditto
15493         (delete_layout): ditto
15494         (NumberOfClass): ditto
15495         * converter.C (GetFormat): ditto
15496         (GetNumber): ditto
15497         (Add): ditto
15498         (Delete): ditto
15499         (SetViewer): ditto
15500         * bufferlist.C (getFileNames): ditto
15501         (emergencyWriteAll): ditto
15502         (exists): ditto
15503         (getBuffer): ditto
15504         * MenuBackend.C (hasSubmenu): ditto
15505         (hasMenu): ditto
15506         (getMenu): ditto
15507         * BufferView_pimpl.C (getInsetByCode): ditto
15508
15509 2001-04-18  Juergen Vigna  <jug@sad.it>
15510
15511         * vspace.C (asLatexString): fixed the 100% problem.
15512
15513 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15514
15515         * lyxfunc.C (Dispatch):
15516         * minibuffer.C:
15517         * minibuffer.h: add a few std:: qualifiers
15518
15519 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15520
15521         * minibuffer.[Ch]: reimplement so that commands is initiated and
15522         run from lyxfunc, simplified som handling, and made the completion
15523         and history code for complete. wip.
15524
15525         * lyxfunc.C (processKeySym): call message
15526         (miniDispatch): new temporary method
15527         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15528         (LFUN_MESSAGE): implement
15529         (LFUN_MESSAGE_PUSH): implement
15530         (LFUN_MESSAGE_POP): implement
15531         (initMiniBuffer): the initial/defualt minibuffer message.
15532
15533         * lyxfont.[Ch]: inline some more getters
15534
15535         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15536
15537         * lyx_gui_misc.[Ch] (WriteStatus): remove method
15538
15539         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15540         (AutoSave): use LFUN_MESSAGE
15541         (Reconfigure): ditto
15542
15543         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15544
15545         * figureForm.C: use LFUN_MESSAGE
15546
15547         * converter.C (runLaTeX): use LFUN_MESSAGE
15548
15549         * bufferview_funcs.C: use LFUN_MESSAGE
15550         (Melt): ditto
15551         (changeDepth): ditto
15552
15553         * bufferparams.h: use boost::
15554
15555         * bufferlist.h: inherit privately from noncopyable
15556
15557         * bufferlist.C (loadLyXFile): remove some commented code.
15558
15559         * buffer.C (runChktex): use LFUN_MESSAGE
15560
15561         * ShareContainer.h: inherit privately from noncopyable
15562
15563         * ParagraphParameters.[hC] (depth): inline it.
15564
15565         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15566         methods.
15567         (message): new method
15568         (messagePush): ditto
15569         (messagePop): ditto
15570         (show): init minibuffer
15571         (showState): direct call
15572
15573         * LaTeX.[Ch]: inherit privately from noncopyable
15574         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15575         instead of WriteStatus.
15576
15577         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15578
15579         * BufferView_pimpl.C (buffer): don't init minibuffer
15580         (workAreaButtonPress): use LFUN_MESSAGE
15581         (workAreaButtonRelease): ditto
15582         (savePosition): ditto
15583         (restorePosition): ditto
15584         (MenuInsertLyXFile): ditto
15585         (workAreaExpose): don't init minibuffer
15586         (update): remove commented code, simplify
15587
15588         * BufferView2.C (openStuff): use LFUN_MESSAGE
15589         (toggleFloat): ditto
15590         (menuUndo): ditto
15591         (menuRedo): ditto
15592         (copyEnvironment): ditto
15593         (pasteEnvironment): ditto
15594         (copy): ditto
15595         (cut): ditto
15596         (paste): ditto
15597         (gotoInset): ditto
15598         (updateInset): remove some commented code
15599
15600         * lastfiles.h: inherit privately from noncopyable
15601         * layout.h: ditto
15602         * lyx_gui.h: ditto
15603         * lyx_main.h: ditto
15604         * lyxlex.h: ditto
15605         * lyxlex_pimpl.h: ditto
15606
15607         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15608         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15609         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15610
15611         * LyXAction.h: inherit privately from noncopyable, add methods
15612         func_begin, func_end, returning iterators to the func map.
15613
15614         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15615         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15616         (func_begin): new method
15617         (func_end): new method
15618
15619         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15620         and not)
15621         (copySelection): ditto
15622         (pasteSelection): ditto
15623
15624         * BufferView.C: whitespace change
15625         * BufferView.h: inherit privately from noncopyable
15626
15627 2001-04-16  Allan Rae  <rae@lyx.org>
15628
15629         * tabular-old.C (l_getline):
15630         * spellchecker.C (sc_check_word):
15631         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15632         an unrecognised preprocessor directive.  So ensure they're wrapped.
15633
15634 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
15635
15636         * src/exporter.C (Export): Give an error message when path to file
15637         contains spaces.
15638
15639 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
15640
15641         * LaTeX.C (deplog): Always check that foundfile exists.
15642
15643 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15644
15645         * lyx_main.h:
15646         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15647
15648 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15649
15650         * tabular.[Ch] (getLabelList): implement new method
15651
15652         * minibuffer.h: comment ouf setTiimer
15653
15654         * minibuffer.C (ExecutingCB): constify res
15655         (peek_event): constify s
15656         (Set): constify ntext
15657         (Init): constify nicename
15658
15659         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15660
15661         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15662         (savePosition): use two params to Minibuffer::Set
15663         (restorePosition): ditto
15664
15665 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15666
15667         * lyx_main.C: include language.h
15668
15669         * Makefile.am (lyx_main.o): add language.h
15670
15671 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15672
15673         * exporter.C:
15674         * paragraph.C:
15675         * screen.C:
15676         * tabular.C:
15677         * CutAndPaste.C: include gettext.h
15678
15679         * lyxfont.h: remove old hack with ON and OFF.
15680
15681         * lyxparagraph.h:
15682         * lyxfont.h: do not include language.h...
15683
15684         * BufferView2.C:
15685         * LaTeXFeatures.C:
15686         * Painter.C:
15687         * bufferview_funcs.C:
15688         * font.C:
15689         * lyxfont.C:
15690         * text.C:
15691         * text2.C:
15692         * trans_mgr.C:
15693         * paragraph.C: ... but do it here instead
15694
15695 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15696
15697         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15698
15699         * tabular.C: small reformat
15700
15701         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15702         NEW_INSETS version
15703         (GetChar): ditto
15704         (BreakParagraph): ditto
15705         (SetOnlyLayout): ditto
15706         (SetLayout): ditto
15707
15708         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15709         with one arg less.
15710
15711         * lastfiles.C: removed most using decl, add std:: where needed
15712
15713         * buffer.C: ws changes
15714
15715         * MenuBackend.C (class compare_format): put into anon namespace
15716         (expand): constify label, names, action, action2
15717         (expand):
15718
15719         * text.C (SingleWidth): constify font
15720         (IsBoundary): constify rtl2
15721         (GetVisibleRow): constify ww
15722
15723         * LaTeX.C (deplog): constify logfile
15724
15725         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15726         start_x, end_x
15727         (workAreaExpose): constify widthChange, heightChange
15728
15729         * lyxrow.C (par): moved
15730         (height): moved
15731         (next): moved
15732         * lyxrow.h: as inlines here
15733
15734         * lyxfont.h (shape): moved from lyxfont.C
15735         (emph): moved from lyxfont.C
15736
15737         * lyxfont.C (LyXFont): use initialization list for all
15738         constructors
15739         (shape): move to lyxfont.h as inline
15740         (emph): move to lyxfont.h as inline
15741
15742
15743 2001-04-04  Juergen Vigna  <jug@sad.it>
15744
15745         * vspace.C: had to include stdio.h for use of sscanf
15746
15747 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
15748
15749         * BufferView.h:
15750         * BufferView_pimpl.h: remove xforms cruft. Both classes are
15751         independent of xforms.
15752
15753 2001-04-02  Juergen Vigna  <jug@sad.it>
15754
15755         * spellchecker.C: fixed namespace placing!
15756
15757 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
15758
15759         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15760         the LyXParagraph * is 0.
15761
15762 2001-03-29  Juergen Vigna  <jug@sad.it>
15763
15764         * vspace.C: added support for %, c%, p%, l%.
15765         (stringFromUnit): added helper function.
15766         (asLatexString): changed to give right results for the %-values.
15767
15768         * buffer.C: convert the widthp in a width%.
15769
15770 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
15771
15772         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15773         figureForm.[Ch].
15774
15775         * figureForm.[Ch]: stripped the FD_from_figure manipulation
15776         code out of lux_cb.[Ch], ready for its (imminent?) removal.
15777
15778         * lyx_cb.[Ch]: see above.
15779
15780         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15781         form1.[Ch].
15782
15783         * form1.[Ch]:
15784         * lyx.[Ch]: replaced by figure_form.[Ch].
15785
15786         * lyx_gui.C:
15787         * lyx_gui_misc.C:
15788         * lyxfunc.C: changed headers associated with above changes.
15789
15790 2001-03-27  Juergen Vigna  <jug@sad.it>
15791
15792         * BufferView_pimpl.C: set the temporary cursor right!
15793
15794 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
15795
15796         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15797
15798 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
15799
15800         * LString.h: removed "using std::getline"!
15801
15802         * BufferView_pimpl.C (Dispatch): changes due to changes in
15803         InsetInclude::Params.
15804
15805         * buffer.C (tag_name): removed redundant break statements as they were
15806         producing lots of warnings with my compiler.
15807
15808 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15809
15810         * LString.h: add "using std::getline" when using the real <string>.
15811
15812 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
15813
15814         * buffer.C: removed bitset usage.
15815         PAR_TAG moved to an anonymous name space.
15816         (tag_name): new funtion, also in the anonymous namespace.
15817         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15818         (makeDocBookFile): clean code. Completed transition from string arrays
15819         to string vectors.
15820         (SimpleDocBookOnePar): code clean.
15821
15822 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15823
15824         * tabular.C: add some comments.
15825
15826 2001-03-22  Juergen Vigna  <jug@sad.it>
15827
15828         * buffer.C (parseSingleLyXformat2Token): redone the minipage
15829         compatibility read a bit and fixed bug with minipage in different
15830         depth.
15831
15832 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
15833
15834         * buffer.C (pop_tag): removed.
15835         (push_tag): removed.
15836         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15837         array replaced with vector. Added support for CDATA sections.
15838         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15839         at any nest level.
15840         (makeDocBookFile): XML conformant declaration of CDATA section,
15841         fixed bug related to <emphasis> in the first paragraph char.
15842         (sgmlOpenTag): exclude empty tags.
15843         (sgmlCloseTag): ditto.
15844
15845         * buffer.h (pop_tag): removed.
15846         (push_tag): removed.
15847
15848 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
15849
15850         * language.h (Languages): added size_type and size().
15851
15852 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15853
15854         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15855         response on compability reading of minipages. One probliem is that
15856         the old usage of minipages was «flertydig»
15857
15858         * several files here and in subdirs: don't use static at file
15859         scope use anon namespaces instead.
15860
15861 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
15862
15863         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15864         LaTeX output. This is necessary for Literate document
15865         processing.
15866
15867 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15868
15869         * buffer.C: insert hfill when needed.
15870
15871         * tabular.C (l_getline): use string::erase, small whitespace change.
15872
15873         * BufferView_pimpl.C: try the anon namespace.
15874         * WorkArea.C: ditto
15875
15876 2001-03-16  Juergen Vigna  <jug@sad.it>
15877
15878         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15879         otherwise it won't open options-dialogs.
15880
15881         * buffer.C: honor pextraWidth(p) on converting minipages.
15882
15883         * tabular.C (l_getline): changed the functions to strip trailing \r.
15884
15885 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
15886
15887         * BufferView_pimpl.C:
15888         * minibuffer..C: added "using SigC::slot" declaration.
15889
15890 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15891
15892         * lyxlex_pimpl.h: noncopyable is in namespace boost.
15893
15894         * text2.C: ditto
15895
15896         * text.C: ditto
15897
15898         * paragraph.C: ditto
15899
15900         * lyxtext.h: NO_PEXTRA
15901
15902         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15903
15904         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15905         * ParameterStruct.h: ditto
15906         * ParagraphParameters.h: ditto
15907         * lyxparagraph.h: ditto
15908
15909 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15910
15911         * buffer.C: add compability for minipage alignment.
15912         (latexParagraphs): remove unwanted pextra check.
15913
15914         * several files: remove CXX_WORKING_NAMESPACES
15915
15916         * buffer.C (pop_tag): tie is in namespace boost
15917
15918         * BufferView.h: noncopyable is in namespace boost
15919         * lyxlex.h: ditto
15920         * lyx_main.h: ditto
15921         * lyx_gui.h: ditto
15922         * layout.h: ditto
15923         * lastfiles.h: ditto
15924         * bufferlist.h: ditto
15925         * ShareContainer.h: ditto
15926         * LyXView.h: ditto
15927         * LyXAction.h: ditto
15928         * LaTeX.h: ditto
15929
15930 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15931
15932         * Merging changes from BRANCH_MVC back into HEAD.
15933
15934         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15935
15936 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
15937
15938         * BufferView_pimpl.C: change from intl.C
15939
15940         * combox.h:
15941         * combox.C:
15942         * Makefile.am: move combox.*
15943
15944         * form1.h:
15945         * form1.C:
15946         * lyx_gui.C:
15947         * intl.h:
15948         * intl.C: remove dialog (covered by prefs)
15949
15950 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15951
15952         * lyxfunc.C (Dispatch): removed redundant break statement.
15953
15954 2001-03-14  Juergen Vigna  <jug@sad.it>
15955
15956         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15957
15958 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15959
15960         * buffer.C: add hack to fix compability reading of minipages.
15961
15962 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
15963
15964         * buffer.C (getLists): Cleanup.
15965
15966 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15967
15968         * lyxfont.C (update): don't honor toggleall on font size.
15969
15970 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
15971
15972         * bmtable.c:
15973         * bmtable.h:
15974         * Makefile.am: moved to frontends/xforms/
15975
15976         * lyx_gui_misc.C:
15977         * lyxfunc.C:
15978         * BufferView_pimpl.C: changes for moved mathpanel
15979
15980 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15981
15982         * gettext.h: fix gettext_init() in --disable-nls
15983
15984 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15985
15986         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15987
15988 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
15989
15990         * lyx.C:
15991         * lyx.h: strip external form
15992
15993 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15994
15995         * BufferView_pimpl.C: add comment, destroySplash()
15996
15997 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15998
15999         * BufferView_pimpl.C:
16000         * LyXAction.C:
16001         * buffer.C:
16002         * commandtags.h:
16003         * lyxfunc.C: use re-worked insetinclude
16004
16005 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16006
16007         * buffer.C: add using std::stringstream.
16008
16009         * lyx_cb.C: readd using std::ios.
16010
16011         * buffer.C: add using std::map.
16012
16013         * BufferView_pimpl.C: add using std::vector.
16014
16015         * ShareContainer.h: add std:: to swap.
16016
16017         * buffer.h: add some typedefs
16018         * buffer.C (getLists): use them
16019         (getLists): renamed from getTocList.
16020         add a counter for the different float types and use it in the
16021         generated string.
16022         (getLists): use the same counter for the NEW_INSETS and the "non"
16023         NEW_INSETS
16024
16025         * lyx_cb.h: remove unused items, includes, using etc.
16026
16027         * ShareContainer.h: remove some commented code, add more comments
16028         and "documentation".
16029
16030 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16031
16032         * buffer.C (getTocList): make the list also when NEW_INSETS is
16033         defined.
16034
16035         * buffer.h: remove TocType
16036
16037         * buffer.C (getTocList): change to return a map<string,
16038         vector<TocItem> >, implement for dynamic number of list.
16039
16040         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16041         * text2.C (PasteSelection): adjust
16042         * CutAndPaste.C (pasteSelection): adjust
16043
16044         * FloatList.C (FloatList): update from the new_insets branch.
16045         * Floating.[Ch]: ditto
16046         * LaTeXFeatures.C: ditto
16047         * buffer.C: ditto
16048         * lyxlex_pimpl.C: ditto
16049
16050         * paragraph.C (Last): remove when NEW_INSETS is defined.
16051
16052         * other file: changes because of the above.
16053
16054 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16055
16056         * lyxparagraph.h: rename next to next_, previous to previous_,
16057         make them private for NEW_INSETS. Rename Next() to next(),
16058         Previous() to previous().
16059
16060         * other files: changes because of the above.
16061
16062 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
16063
16064         * BufferView.h:
16065         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16066         problem.
16067
16068 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16069
16070         * main.C (main): pass lyx_localedir to gettext_init().
16071
16072         * gettext.h: remove locale_init and gettext_init macros
16073
16074         * gettext.C (locale_init): new function
16075         (gettext_init): new function
16076
16077         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16078         setlocale().
16079
16080 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
16081
16082         * Moved credits to frontends:
16083         * credits.[Ch]: removed
16084         * credits_form.[Ch]: removed
16085         * lyx_gui_misc.C: remove credits stuff
16086         * Makefile.am:
16087
16088 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16089
16090         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16091
16092         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16093         unneeded destructor.
16094
16095         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16096         a standalone pointer again.
16097
16098         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16099
16100 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
16101
16102         * Makefile.am:
16103         * filedlg.h:
16104         * filedlg.C:
16105         * LyXAction.C:
16106         * ToolbarDefaults.C:
16107         * bufferlist.C:
16108         * commandtags.h:
16109         * form1.C:
16110         * form1.h:
16111         * lyx_cb.C:
16112         * lyx_cb.h:
16113         * lyxfunc.h:
16114         * lyxfunc.C:
16115         * BufferView_pimpl.C: use new file dialog in GUII
16116
16117         * lyx_cb.h:
16118         * lyx_cb.C: remove LayoutsCB to Toolbar
16119
16120 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16121
16122         * ShareContainer.h (get): add std:: qualifier
16123
16124 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16125
16126         * ShareContainer.h: define a proper ShareContainer::value_type
16127         type (and use typename to please compaq cxx)
16128
16129 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16130
16131         * lyxparagraph.h: move serveral local vars to
16132         ParameterStruct/ParagraphParameters., use ShareContainer in
16133         FontTable., make vars in FontTable private and add getter and
16134         setter.
16135
16136         * paragraph.C: changes because of the above.
16137
16138         * lyxfont.h: remove copy constructor and copy assignment. (the
16139         default ones is ok), move number inside FontBits. move inlines to
16140         lyxfont.C
16141
16142         * lyxfont.C: add number to initializaton of statics, move several
16143         inlines here. constify several local vars. some whitespace
16144         cleanup. Dont hide outerscope variables.
16145
16146         * Spacing.h: add two new constructors to match the set methods.
16147
16148         * ShareContainer.h: new file, will perhaps be moved to support
16149
16150         * ParameterStruct.h: new file
16151
16152         * ParagraphParameters.h: new file
16153
16154         * ParagraphParameters.C: new file
16155
16156         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16157         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16158
16159         * BufferView_pimpl.C: ParagraphParameter changes.
16160         * buffer.C: Likewise.
16161         * bufferview_funcs.C: Likewise.
16162         * text.C: Likewise.
16163         * text2.C: Likewise.
16164
16165 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16166
16167         * lyxfind.C (LyXReplace): do not redefine default argument in
16168         implementation.
16169         (IsStringInText): ditto
16170         (SearchForward): ditto
16171         (SearchBackward): ditto
16172
16173 2001-03-06  Juergen Vigna  <jug@sad.it>
16174
16175         * lyxfind.C (IsStringInText): put parentes around expressions.
16176
16177 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
16178
16179         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16180
16181 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
16182
16183         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16184
16185         * stl_string_fwd.h: add comment
16186
16187         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16188
16189         * tabular.h:
16190         * tabular.C: remove unused DocBook methods
16191
16192         * intl.C:
16193         * language.C:
16194         * paragraph.C:
16195         * buffer.C:
16196         killed DO_USE_DEFAULT_LANGUAGE
16197
16198 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16199
16200         * lyx_gui.C: do not include language.h.
16201
16202         * bufferview_funcs.C (ToggleAndShow): do not provide optional
16203         arguments in function implementation.
16204
16205 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16206
16207         * BufferView_pimpl.C: add <ctime>
16208
16209 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16210
16211         * BufferView_pimpl.C: add using std::find_if
16212
16213 2001-02-27  José Matos  <jamatos@fep.up.pt>
16214
16215         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16216         by OnlyPath.
16217
16218 2001-02-11  José Matos  <jamatos@fep.up.pt>
16219
16220         * buffer.C (makeDocBookFile): command styles now have a parameter as
16221         "title" by default.
16222
16223 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
16224
16225         * layout_forms.[Ch]: removed
16226         * lyx_cb.[Ch]: out character
16227         * lyx_gui.C: out character
16228         * lyx_gui_misc.C: out character
16229         * bufferview_funcs.C: : out character,
16230         added toggleall as parameter in ToggleAndShow
16231
16232 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
16233
16234         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16235
16236         * text2.C (SetCurrentFont): Disable number property at boundary.
16237
16238 2001-02-26  Juergen Vigna  <jug@sad.it>
16239
16240         * lyxfunc.C (getStatus): added a string argument override function so
16241         that this is correctly called from LyXFunc::Dispatch if it contains a
16242         do_not_use_argument which is used!
16243         (Dispatch): added check for "custom" export and call appropriate func.
16244
16245 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
16246
16247         * lyxrc.C: Add language_command_local, language_use_babel and
16248         language_global_options.
16249
16250         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16251
16252         * buffer.C (makeLaTeXFile): Use language_use_babel and
16253         language_global_options.
16254
16255 2001-02-23  Juergen Vigna  <jug@sad.it>
16256
16257         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16258         which works with LyXText and putted it inside BufferView. Here now we
16259         only call for that part the BufferView::Dispatch() function.
16260
16261         * BufferView.C (Dispatch): added.
16262
16263         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16264         functions which needs to use a LyXText over from LyXFunc.
16265         (MenuInsertLyXFile): added
16266         (getInsetByCode): added
16267         (moveCursorUpdate): added
16268         (static TEXT): added
16269
16270 2001-02-22  Juergen Vigna  <jug@sad.it>
16271
16272         * BufferView_pimpl.C (update): call a status update to see if LyXText
16273         needs it.
16274
16275 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16276
16277         * vc-backend.C (revert): implement for CVS
16278         (getLog): implement for CVS
16279
16280 2001-02-20  Juergen Vigna  <jug@sad.it>
16281
16282         * text2.C (ClearSelection): added BufferView param for inset_owner call
16283
16284         * lyxfunc.C (TEXT): added this function and use it instead of
16285         directly owner->view()-text of getLyXText().
16286
16287 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
16288
16289         * src/layout_forms.C: out preamble
16290         * src/layout_forms.h: out preamble
16291         * src/lyx_cb.C: out preamble
16292         * src/lyx_cb.h: out preamble
16293         * src/lyx_gui.C: out preamble
16294         * src/lyx_gui_misc.C: out preamble
16295         * src/lyxfunc.C: connect with guii preamble
16296
16297 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
16298
16299         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16300
16301 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
16302
16303         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16304         whether to run bibtex.
16305
16306 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
16307
16308         * Makefile.am (lyx_SOURCES): Remove BackStack.h
16309
16310 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
16311
16312         * Makefile.am (lyx_SOURCES): removed bibforms.h
16313
16314         * vspace.h: doxygen
16315
16316         * text.C (GetVisibleRow): make several local vars const
16317
16318         * tabular.C: small cleanup.
16319
16320         * lyxserver.C (callback): use compare instead of strncmp
16321
16322         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16323         inlines to after class or to paragraph.C
16324
16325         * lyxfont.h: remove friend operator!=
16326
16327         * converter.h: move friend bool operator< to non friend and after
16328         class def.
16329
16330         * combox.h: small cleanup
16331
16332         * buffer.h: doxygen, remove unused constructor, move inclas inlies
16333         to inlines after class def.
16334
16335         * buffer.C (pop_tag): use string operations instead of strcmp
16336
16337         * bmtable.c: doxygen, small cleanup
16338
16339         * LaTeX.h: remove friend operator==
16340
16341 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
16342
16343         * screen.C:
16344         * lyxrc.[Ch]:
16345         * lyxfunc.C:
16346         * lyxfont.[Ch]:
16347         * lyx_cb.C:
16348         * intl.[Ch]:
16349         * commandtags.h:
16350         * buffer.C:
16351         * WorkArea.[Ch]:
16352         * LyXAction.C:
16353         * BufferView_pimpl.C:
16354         * BufferView.[Ch]: remove cruft
16355
16356 2001-02-14  Juergen Vigna  <jug@sad.it>
16357
16358         * lyxfunc.C: removed #if 0 unused code
16359
16360         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16361
16362         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16363
16364         * text2.C (SetSelection): added a BufferView * parameter
16365
16366 2001-02-13  Juergen Vigna  <jug@sad.it>
16367
16368         * lyxfunc.C (Dispatch): fixed protected blank problem.
16369         * BufferView2.C (protectedBlank): added LyxText * parameter.
16370
16371         * tabular.C (AppendRow): forgot to set row_info of newly added row.
16372         (AppendColumn): same as above for column_info.
16373
16374         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16375         (moveCursorUpdate): use a LyXText param for support of InsetText.
16376
16377         * BufferView_pimpl.C (doubleClick): added support for InsetText.
16378         (tripleClick): ditto
16379
16380         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16381
16382         * BufferView_pimpl.C (update): added LyXText param to honor insets.
16383
16384         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16385
16386         * text2.C (SetSelection): set correct update status if inset_owner
16387         (ToggleFree): ditto
16388
16389 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
16390
16391         * tabular.C: remove some commented code.
16392
16393 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
16394
16395         * BufferView_pimpl.C: call hideSplash()
16396
16397         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16398
16399         * include_form.h:
16400         * bibforms.h: remove
16401
16402         * lyxfunc.C:
16403         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16404           add LFUN_CHILD_CREATE
16405
16406         * counters.h: fix tiny typo
16407
16408         * lyx_cb.C:
16409         * lyx.h:
16410         * lyx_gui.C:
16411         * lyx.C: move splash to frontends/xforms/
16412
16413         * lyx_gui_misc.C: move Include and Bibform to frontends
16414
16415         * lyxvc.h: clarify comment
16416
16417         * vspace.C: tiny housekeeping
16418
16419 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
16420
16421         * text.C (PrepareToPrint): RTL Fix.
16422
16423         * paragraph.C (GetUChar): New method.
16424         (String):  Use GetUChar.
16425
16426         * buffer.C (asciiParagraph): Use GetUChar.
16427
16428 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
16429
16430         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16431
16432 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
16433
16434         * buffer.h:
16435         * buffer.C: rename to getLogName(), handle
16436           build log / latex log nicely
16437
16438 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16439
16440         * MenuBackend.C:
16441         * MenuBackend.h: remove support for reference menuitem type.
16442
16443 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
16444
16445         * BufferView_pimpl.C: housekeeping
16446         * BufferView_pimpl.h:
16447         * LyXView.h:
16448         * Makefile.am:
16449         * Timeout.C:
16450         * Timeout.h:
16451         * minibuffer.h: move Timeout GUI-I
16452
16453 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
16454
16455         * lyxrc.C (read): Update converters data-structures.
16456
16457 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
16458
16459         * LaTeX.h (operator!=): add operator != for Aux_Info
16460
16461 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
16462
16463         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16464
16465         * LaTeXLog.C: deleted, useful code moved to Buffer
16466
16467         * buffer.h:
16468         * buffer.C: new function getLatexLogName()
16469
16470         * lyx_gui_misc.C:
16471         * lyx_gui.C:
16472         * lyxvc.C:
16473         * lyxvc.h:
16474         * lyxfunc.C: use frontends for LaTeX and VC logs
16475
16476 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16477
16478         * LaTeX.h: yet another std:: that Allan forgot.
16479
16480         * Variables.C (set): renamed from isset(), because this clashes
16481         with some HP-UX macros (grr).
16482
16483 2001-02-06  Allan Rae  <rae@lyx.org>
16484
16485         * LaTeX.h: Another bug fix.  Missing std:: this time.
16486
16487 2001-02-04  Allan Rae  <rae@lyx.org>
16488
16489         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16490         floats problem. I've left it commented out because it's not quite
16491         correct.  It should also test that the current object is a table or
16492         figure inset.  But I haven't gotten around to figuring out how to do
16493         that.  I *think* it'll be something like: "table" == inset.type()
16494
16495         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16496         bool.
16497
16498 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
16499
16500         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16501         all the citation/databases/styles in the auxilary file.
16502         (run): Rerun latex if there was a babel language error.
16503
16504 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
16505
16506         * text.C (Backspace): Preserve the font when changing newline char
16507         with a space.
16508         (BreakParagraph): If the cursor is before a space, delete the space.
16509
16510         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16511
16512 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
16513
16514         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16515         new argument (code).
16516         (ChangeCitationsIfUnique): New method.
16517
16518         * paragraph.C (GetPositionOfInset): Handle bibkey.
16519
16520 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16521
16522         * BufferView_pimpl.h: change type of Position::par_pos to
16523         LyXParagraph::size_type.
16524
16525 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
16526
16527         * BufferView_pimpl.C (savePosition, restorePosition): Write
16528         messages to minibuffer.
16529
16530 2001-01-28  José Matos  <jamatos@fep.up.pt>
16531
16532         * buffer.C (makeDocBookFile): adds support for document language.
16533         A silly restriction on the name of LatexCommand types where removed.
16534         Added support for CDATA sections, allows to chars unescaped, used
16535         among others in code, to avoid escape < and >.
16536
16537 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16538
16539         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16540         saved positions instrad of a stack. Furthermore, a position is
16541         stored using paragraph id/paragraph position.
16542
16543         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16544         Remove LFUN_REF_BACK.
16545
16546 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16547
16548         * converter.C (dvipdfm_options): New method.
16549
16550 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
16551
16552         * vspace.C (isValidLength): Fix for empty input string.
16553
16554 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16555
16556         * LyXAction.C (init): change description of LFUN_FIGURE to
16557         "Insert Graphics"
16558
16559 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16560
16561         * LaTeX.C: add using directive
16562
16563 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16564
16565         * MenuBackend.C (expand): Fix the sorting of the formats.
16566
16567 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
16568
16569         * lyx_main.C: tiny error message fix
16570
16571 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16572
16573         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16574         calling fl_initialize(). This fixes the problem with ',' as
16575         decimal separator in text files.
16576
16577 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16578
16579         * trans.C (process): Fix the keymap bug.
16580
16581 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
16582
16583         * LaTeX.C (scanAuxFiles): New method. Provides support for
16584         multiple bibliographies (when using the bibtopic/bibunits pacakges).
16585         (scanLogFile) Scan for "run BibTeX" messages.
16586
16587         * buffer.C (makeLaTeXFile): Do not load the ae package when using
16588         OT1 font encoding. Also, load the aecompl package if the ae
16589         package is loaded.
16590
16591         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16592
16593 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16594
16595         * texrow.C (increasePos): turn two error messages into debug
16596         messages.
16597
16598 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
16599
16600         * LaTeX.C (scanAux): Handle the \@input macro.
16601         (runBibTeX): Use scanAux().
16602
16603         * language.C (latex_options_): New field.
16604
16605         * LaTeXFeatures.C (getMacros): Add language macros.
16606
16607         * buffer.C (makeLaTeXFile): Small fix.
16608
16609 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16610
16611         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16612
16613         * text2.C: add a using directive.
16614
16615 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
16616
16617         * BufferView2.C:
16618         * lyx_gui_misc.h:
16619         * lyxfr1.C:
16620         * lyxfunc.C: kill LyXBell.
16621
16622 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
16623
16624         * text.C (IsBoundary): Remove the error message
16625
16626         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16627
16628         * lyxrc.C (setDefaults): Correct initialization value for
16629         font_norm_type.
16630
16631 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
16632
16633         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16634         gotoError().
16635
16636         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16637         and GotoNextNote().
16638
16639         * src/LyXAction.C: Added reference-next.
16640
16641         * text.C (InsertChar): Use contains instead of strchr.
16642
16643         * lyx_cb.C (MenuInsertLabel): Enable default value code.
16644
16645 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
16646
16647         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16648         alignment commands (when needed).
16649
16650         * text.C (InsertChar): Add ':' to number separator chars.