]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
e5b901bb952597d82a3af6f439cf65b66d72c12b
[lyx.git] / src / ChangeLog
1 2004-12-03  José Matos  <jamatos@lyx.org>
2
3         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
4
5 2004-12-03  Lars Gullik Bjonnes  <larsbj@gullik.net>
6
7         * cursor.C (goUpDown): remove call to idxUpDown2
8
9 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
10
11         * tabular.[Ch]: use size_t-like types for cell, row and column
12         indices
13
14 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15
16         * lyxfunc.C (getStatus): do not lose previous information when
17         calling BufferView::getStatus; do not set a default "Command
18         disabled" message at the beginning, but just before returning.
19
20 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
21
22         * cursor.h (getStatus): add better comment from src/cursor.C
23
24 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
25
26         * text3.C (getStatus): return false when the lfun is not handled
27
28 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
29
30         * broken_headers.h: remove
31
32         * Makefile.am (lyx_SOURCES): remove broken_headers.h
33
34 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
35
36         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
37         offset_ref accessors
38
39         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
40         top_y_, merge fitcursor with update
41         (updateScrollbar, scrollDocView, fitCursor, center, update): new
42         coord scheme
43         (metrics): introduce
44         (workAreaDispatch): adapt to new coord scheme
45         (redoCurrentBuffer): remove
46
47         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
48
49         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
50         CurStatus enum.
51
52         * coordcache.[Ch]: add paragraph cache and helpers
53
54         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
55         adjust everywhere
56
57         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
58         (targetX, setTargetX): introduce
59
60         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
61         baseline -> ascent, as the rest of lyx
62
63         * lyxtext.h: remove redoParagraphs, updateParPositions,
64         fullRebreak, redoParagraphInternal. move dist to anon namespace in
65         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
66         have ascent/descent (ascent is ascent of first par)
67
68         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
69         step of BufferView
70
71         * paragraph.[Ch]: unify dimension handling with the rest of lyx
72
73         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
74
75         * pariterator.C: fix infinite loop introduced in par->pit renaming
76
77         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
78         in insets and LyXText, draw two off-screen paragraphs using
79         NullPainter, and adapt to new coord scheme
80
81         * text.C:
82         * text2.C:
83         * text3.C: adapt lfun handlers to the new coord scheme, which
84         means: there's only guaranteed coord information for onscreen pars
85         plus one above and one below. This implies that one can do search
86         from y coordinates in the range [-1,workHeight]
87
88 2004-11-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
89
90         * rename a lot of InsetOld to InsetBase
91
92 2004-11-25  Angus Leeming  <leeming@lyx.org>
93
94         * BufferView_pimpl.C:
95         * lyx_cb.C:
96         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
97
98 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
99
100         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
101         call BufferView::getStatus if LCursor::getStatus did nothing
102         (setStatusMessage, getStatusMessage): removed.
103
104         * FuncStatus.C (message): new methods. Used to provide an error
105         message indicating why a command is disabled.
106         (clear, |=, FuncStatus): update for message.
107
108 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
109
110         * lyxfunc.C (dispatch): always call sendDispatchMessage
111
112 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
113
114         * BufferView.C:
115         * BufferView_pimpl.C:
116         * CutAndPaste.C:
117         * FontIterator.C:
118         * buffer.C:
119         * cursor.C:
120         * cursor_slice.[Ch]:
121         * dociterator.[Ch]:
122         * lyxfind.C:
123         * paragraph_funcs.C:
124         * pariterator.C:
125         * rowpainter.C:
126         * text.C:
127         * text2.C:
128         * text3.C:
129         * undo.C: par->pit renaming
130
131 2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
132
133         * tabular.C (cellstruct): use initialization, store a shared_ptr
134         to insettext instead of the insettext directly, adjust to fit.
135         (operator=):  new function
136         (swap): new function
137         (rowstruct): use initialization
138         (columnstruct): use initialization
139         (ltType): use initialization
140
141
142         * lyxlength.h (swap): new function
143
144         * LColor.[Ch] (operator=): use the common semantics
145
146 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
147
148         * lyxfind.C (findNextChange): update the bufferview after setting
149         the selection.
150
151 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
152
153         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
154         number of InsetOptArgs has already been inserted.
155
156         * output_latex.C (latexOptArgInsets): new method. This outputs all
157         the optarg insets, up to the limit defined in the layout file.
158         (optArgInset): removed
159         (TeXOnePar): call latexOptArgInsets; correctly update texrow
160
161 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
162
163         * paragraph.C (isLetter): remove special spellchecker-related
164         code; return true also for digits
165         (isWord, isKomma): remove
166
167         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
168         * lyxfind.C (MatchString()): use isLetter instead of isWord
169
170 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
171
172         * pariterator.h (operatir=): comment out un-implemented member
173         function.
174
175         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
176         static cast.
177
178 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
179
180         * lyxfont.h: include LColor.h to satisfy concept checks.
181
182 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
183
184         * pariterator.h: add typdefs for value_type, difference_type,
185         pointer and reference to satisfy concept checks. Also add default
186         constructor for same reason.
187
188         * pariterator.C (operator++): add post-increment operator to
189         satisfy concept checks.
190
191         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
192         checks.
193
194         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
195
196         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
197         checks. Also rename base_type to BaseType to follow naming
198         standard better.
199
200         * FloatList.h: include Floating.h to satisfy concept checks.
201
202 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
203
204         * lyxfunc.C (getStatus): when the origin of the request is menu or
205         toolbar, and the LyXView does not have focus, do as if there was
206         no buffer (bug 1720)
207
208         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
209         FuncRequest to individual entries of LFUN_SEQUENCE
210
211 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
212
213         * output_latex.C (TeXOnePar): override runparams.moving_arg
214         according to the needprotect value of the current paragraph (bug
215         1739)
216
217         * paragraph.C (simpleTeXOnePar): no need to override
218         runparams.moving_args here
219
220 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
221
222         * vspace.C: fix off-by-one-error, related to fix #1682
223
224 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
225
226         * lengthcommon.C: a more general fix for bug 1682
227
228 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
229
230         * text.C (backspace): fix crash
231
232 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
233
234         * format.[Ch] (getFormatFromFile): new method
235         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
236
237 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
238
239         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
240
241 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
242
243         * lyxfunc.C (dispatch): remove the verbose argument
244         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
245         instead
246
247         * kbmap.C (defkey): set the origin of func to KEYBOARD
248
249         * MenuBackend.C (MenuItem):
250         * ToolbarBackend.C (add): set the origin of func to UI
251
252         * funcrequest.[Ch]: add origin member, which indicates which part
253         of LyX requests an action
254
255 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
256
257         * converter.C (move): don't lie in the error message
258         * converter.h (isReachable, move): document
259
260 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
261
262         * buffer.C: remove unused using lyx::support::atoi
263         * paragraph_funcs.C: ditto
264
265 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
266
267         * bufferlist.C (exists): use bind and equal_to instead of
268         compare_memfun
269         (getBuffer): ditto
270         * lyxtextclasslist.C (NumberOfClass): ditto
271
272         * cursor.C (insert): use for_each instead of explicit for loop
273
274         * bufferlist.C (getFileNames): use std::transform and
275         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
276
277         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
278         for loop
279
280         * buffer.C (changeLanguage): use for_each instead of explicit for
281         loop
282         (hasParWithID): implement using getParFromID
283
284         * LaTeXFeatures.C: ws change only
285
286         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
287         to cleanup a bit.
288
289         * BufferView_pimpl.C (trackChanges): use for_each instead of
290         expilicit for loop
291
292 2004-11-04  André Pönitz  <poenitz@gmx.net>
293
294         * undo.h:
295         * undo.C (textUndoOrRedo): fix crash when creating undo information.
296
297         * dociterator.C (asDocIterator): use hard assert again.
298
299 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
300
301         * lyxlength.C (asLatexString): rewrite so that it does not use
302         snprintf anymore
303
304 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
305
306         * text3.C (specialChar, dispatch): make sure cursor moves to the
307         right after inserting an inset
308
309 2004-11-02  José Matos  <jamatos@lyx.org>
310
311         * output_docbook.C (docbook):
312         * paragraph.C (getID):
313         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
314         garantee that the output is always legal.
315
316         * tabular.C (docbook):
317         * outputprams.[Ch]: remove mixed contents.
318
319 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
320
321         * text2.C (setCounter): prevent endless loop
322
323 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
324
325         * exporter.C (copyFile): use the mover instead of support::copy()
326         * exporter.C (Export): pass format and latex name to copyFile()
327         * exporter.h (addExternalFile): document
328         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
329
330 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
331
332         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
333
334 2004-10-30  José Matos  <jamatos@lyx.org>
335
336         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
337         text and no inset or font change. This allows to use CDATA
338         sections just for the whole paragraph.
339
340 2004-10-30  José Matos  <jamatos@lyx.org>
341
342         * paragraph.C (getFirstWord): remove unused variable.
343
344 2004-10-30  José Matos  <jamatos@lyx.org>
345
346         * paragraph.C (getFirstWord): the content should always be escaped
347         there.
348         (simpleDocBookOnePar):
349         * output_docbook.C (makeEnvironment): replace reference to CDATA
350         to style pass_thru.
351
352 2004-10-30  José Matos  <jamatos@lyx.org>
353
354         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
355
356 2004-10-30  José Matos  <jamatos@lyx.org>
357
358         * output_docbook.C (makeParagraphs):
359         * paragraph.[Ch] (emptyTag): for docbook and company, if the
360         standard paragraph has only a given type of content drop the wrapper.
361
362 2004-10-29  José Matos  <jamatos@lyx.org>
363
364         * output_docbook.C (makeEnvironment):
365         * sgml.C (openTag):
366         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
367
368 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
369
370         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
371         (cleanID): sanitize any id.
372
373 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
374
375         * buffer.C, lyxlex_pimpl.C:
376         * lyxlex_pimpl.C (setFile):
377         s/getExtFromContents/getFormatFromContents/
378
379 2004-10-28  José Matos  <jamatos@lyx.org>
380
381         * output_docbook.C (makeEnvironment): move id to broadest possible
382         scope.
383
384         * sgml.C (openTag): apply substitution of <> for all attributes.
385
386 2004-10-28  José Matos  <jamatos@lyx.org>
387
388         * buffer.C (makeLinuxDocFile, makeDocBookFile):
389         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
390         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
391
392         * sgml.[Ch]: new version for open and closeTag for paragraph and
393         for strings. Now they handle the ids of paragraphs.
394
395 2004-10-26  Angus Leeming  <leeming@lyx.org>
396
397         * Makefile.am: add mover.[Ch].
398
399         * converter.C (convert, move): use the new Movers to move external
400         files to the temp directory.
401
402         * lyx_main.C (init): ensure that the global system_movers data
403         is initialised.
404
405         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
406         preferences file.
407
408         * mover.[Ch]: new files, defining a Mover as a utility to move an
409         external file between directories and, if necessary, manipulate this
410         file using a helper script.
411
412 2004-10-25  José Matos  <jamatos@lyx.org>
413
414         * output_docbook.C (makeCommand): merge two if's that tested the
415         same condition.
416
417 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
418
419         * sgml.C (escapeString): fix warning in a better way
420
421 2004-10-25  José Matos  <jamatos@lyx.org>
422
423         * sgml.C (escapeString): import the require boosts header file for
424         tie, and avoid a signed unsigned comparison.
425
426 2004-10-25  José Matos  <jamatos@lyx.org>
427
428         * sgml.h: add #include <string>
429
430 2004-10-25  José Matos  <jamatos@lyx.org>
431
432         * sgml.[Ch] (escapeString): new function to escape all the string.
433
434 2004-10-24  José Matos  <jamatos@lyx.org>
435
436         * paragraph.[Ch] (getFirstWord): new function to get the first
437         word. Useful for description.
438         (simpleDocBookOnePar): remove depth argument, add another that
439         says where to start the paragraph.
440
441         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
442         use the new functions to fix cleanly the support for descriptions.
443
444 2004-10-24  José Matos  <jamatos@lyx.org>
445
446         * buffer.C (makeLinuxDocFile, makeDocBookFile):
447         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
448         * output_linuxdoc.C (linuxdocParagraphs):
449         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
450         add buffer as argument.
451
452 2004-10-24  José Matos  <jamatos@lyx.org>
453
454         * output_docbook.C (makeEnvironment, searchEnvironment): place
455         CDATA inside paragraphs and fix scope for listitems.
456
457 2004-10-24  José Matos  <jamatos@lyx.org>
458
459         * output_docbook.C: remove using statement for stack.
460
461 2004-10-23  José Matos  <jamatos@lyx.org>
462
463         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
464         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
465         docbook. The new scheme is recursive and makes use of iterators, the
466         same as latex export works.
467         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
468         directly with the paragraph contents. This code was moved up to
469         output_docbook.C (docbookParagraphs).
470         * sgml.C (openTag, closeTag): removed unneeded newlines.
471         (closeEnvTags) removed.
472
473 2004-10-23  André Pönitz  <poenitz@gmx.net>
474
475         * undo.C (textUndoOrRedo):
476         * dociterator.C (asDocIterator): work around crash
477
478         * cursor.C (getStatus): replace ASSERT by more verbose error message
479           and manual correction of the problem. Should increase stability
480           while providing more sensible information.
481
482 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
483
484         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
485
486         * bufferlist.C (previous, next): new methods
487
488         * lfuns.h:
489         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
490
491 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
492
493         * buffer.C (makeDocBookFile): add dsssl stylesheet control
494         entities to preamble.
495
496 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
497
498         * messages.C (Pimpl): strip off translation context information
499
500 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
501
502         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
503         the cursor is correct (bug 1694)
504
505 2004-10-13  José Matos  <jamatos@lyx.org>
506
507         * output_docbook.C (docbookParagraphs): fix closing tags in the
508         end of the document.
509
510 2004-10-09  José Matos  <jamatos@lyx.org>
511
512         * buffer.C: format up to 237.
513         * bufferparams.C (write): use tostr to convert booleans to strings.
514
515 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
516
517         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
518
519 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
520
521         * LaTeX.C: implement use of babel language in xindy.
522
523 2004-10-05  José Matos  <jamatos@lyx.org>
524
525         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
526         Add new translators to help reading and writing the lyx file.
527
528 2004-10-05  José Matos  <jamatos@lyx.org>
529
530         * ParagraphParameters.C (read):
531         * text.C (readParToken): replace nexToken by more appropriate lex
532         methods.
533
534 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
535
536         * LaTeX.C (runMakeIndex):
537         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
538         (usually 'makeindex') configurable.
539
540         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
541         with a variable rather than with a number.
542
543 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
544
545         * output_latex.C (TeXOnePar): make sure font setting is the first
546         thing that gets output (and the last at the end). Should fix bug
547         1404.
548
549 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
550
551         * pch.h: use proper signal include
552
553         * LaTeX.h: Use preferred calling of Boost.Signal
554         * buffer.h: ditto
555
556 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
557
558         * pch.h: dont include <boost/function/function0.hpp>
559
560         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
561
562         * paragraph_pimpl.h: remove usage of ShareContainer
563
564         * paragraph_pimpl.C: remove initialization of ShareContainer.
565
566 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
567
568         Fix bug #1666
569
570         * BufferView.C (putSelectionAt): change the semantics when
571         backwards == true: now, this just swaps cursor and anchor wrt the
572         forward case
573
574         * BufferView.h (putSelectionAt): add some documentation
575
576         * lyxfind.C (findBackwards): rewrite using while(). In particular,
577         make sure backwardChar is done at least once (to avoid getting
578         stuck)
579         (findNextChange): use putSelectionAt in the forward direction
580         (operator()): use Paragraph::isWord
581
582 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
583
584         * Spacing.C (set): c_str fix
585
586 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
587
588         * lyx_cb.C (Reconfigure): quote the name of configure script in
589         case it contains spaces
590
591 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
592
593         * client: new dir
594
595         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
596         (BOOST_LIBS): use top_buildir when looking for the file
597
598 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
599
600         * pch.h: do not use include boost/format.hpp, multiple symbols
601                 will result (gcc bug)
602
603
604 2004-08-23  José Matos  <jamatos@lyx.org>
605
606         * bufferparams.C (readToken): fix reading of the author field.
607
608 2004-08-20  José Matos  <jamatos@lyx.org>
609
610         * lyxrc.C: remove support/translator.h inclusion since it is not used.
611
612 2004-08-20  José Matos  <jamatos@lyx.org>
613
614         * lyxlex.[Ch] (findToken): remove function.
615
616         * ParagraphParameters.C (findToken):
617         * bufferparams.C (findToken): replace call for previous function
618         with local copy. This local function has one more argument, the
619         read string argument.
620
621 2004-08-16  José Matos  <jamatos@lyx.org>
622
623         * ParagraphParameters.C (write):
624         * Spacing.C (writeFile):
625         * bufferparams.C (writeLaTeX):
626         * lyx_cb.C (Reconfigure):
627         * paragraph.C (write):
628         * tabular.C (write): remove unnecessary space at end of line.
629
630
631 2004-08-16  José Matos  <jamatos@lyx.org>
632
633         * text.C (readParagraph): remove debug message.
634
635 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
636
637         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
638         crash
639
640         * output_plaintext.C (asciiParagraph): set depth correctly
641
642         * outputparams.h: add member depth
643
644         * paragraph_funcs.C (ownerPar): remove.
645
646         * text2.C (setCounter): remove first_pit; comment out some
647         non-working code that uses ownerPar
648
649         * BufferView.C (getParentLanguage): remove. Not used anymore, and
650         uses ownerPar
651
652 2004-08-16  José Matos  <jamatos@lyx.org>
653
654         * text.C (readParToken, readParagraph, read): report all unknown tokens.
655         For the same level of importance use the same chanel to report problems.
656         (read): add code to deal with \begin_body and \end_body.
657
658
659 2004-08-15  José Matos  <jamatos@lyx.org>
660
661         * lyxlex.C (getString): fix comment, buffer::readBody is now
662         buffer:readDocument.
663
664         * tex-strings.C (string_papersize): Default -> default,
665         Custom -> custom, for consistency with other options.
666
667 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
668
669         * pch.h: new file
670
671         * Makefile.am: support pch
672
673 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
674
675         * text.C (readParToken): remove the static LyXFont variable and
676         pass it as a parameter instead. This fixes a nasty bug where an
677         inset will be inserted with a bad font in some situations
678         (readParagraph): adapt
679
680         * text2.C (setCounter): reduce number of calls to pars_[pit]
681
682         * text.C (singleWidth): add an assert, fix a test
683
684         * rowpainter.C (paintText): reduce number of calls to singleWidth
685
686         * paragraph.C (isHfill):
687         (isNewline): ws only
688
689 2004-08-14  André Pönitz  <poenitz@gmx.net>
690
691         * text.C:
692         * text2.C:
693         * rowpainter.C:
694         * lyxtext.h (several functions): use a Paragraph & argument
695         instead of par_type
696
697 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
698
699         * metricsinfo.h: add a new field ltr_pos to PainterInfo
700
701         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
702
703         * text.C (singleWidth): remove useless test
704
705 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
706
707         * tabular.h: remove bogus comments
708
709         * tabular.C (getDescentOfRow):
710         (isPartOfMultiColumn): add assertions
711
712         * lyxlength.C (inPixels): remove #warning
713
714 2004-08-14  André Pönitz  <poenitz@gmx.net>
715
716         * paragraph.h: inline getChar()
717
718         * BufferView.h: remove unused declarations
719
720 2004-08-14  José Matos  <jamatos@lyx.org>
721
722         * Buffer.[Ch] (readDocument): new name for old readBody.
723         * Buffer.C: new file format, new keywords: \begin_document,
724         \begin_header, \begin_body, \end_body.
725
726         * bufferparams.C (readToken): replace all calls to lex.nextToken
727         by lex.next(). Do the same to eatLine except where really needed.
728
729         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
730         line when writing to the lyx file.
731
732         * output_plaintext.C (asciiParagraph): fix Bibliography style
733         handling.
734
735         * text.C (read): fix end of file handling.
736
737 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
738
739         * MenuBackend.C (Menu::operator[]): new method to access
740         individual menu items
741         (Menu::hasFunc): new method. search for an item that corresponds
742         to a given func
743         (MenuBackend::specialMenu): new method
744         (MenuBackend::expand): if a special menu has been set, skip
745         entries whose func() appears in this menu
746
747 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
748
749         * text3.C: use Debug::DEBUG a bit more
750
751         * text.C (leftMargin): try to simplify a tiny bit change var x to
752         l_margin. Dont output the wide margins always.
753         (rightMargin): no margin in inner texts
754
755         * rowpainter.h (nestMargin): new func
756         (changebarMargin): new func
757         (rightMargin): new func
758
759         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
760         now functions.
761         (paintLast): ditto
762
763         * factory.C (createInset): modify setDrawFrame
764
765         * cursor.C: use Debug::DEBUG a bit more
766
767 2004-08-14  André Pönitz  <poenitz@gmx.net>
768
769         * coordcache.[Ch]:
770         * Makefile.am: new files to accomodate an 'external' (x,y)-position
771         cache for all insets in (at least partially) visible (top-level)
772         paragraphs.
773
774         * BufferView_pimpl.C: reset external coord cache before every update.
775         This means the coord cache only contains valid entries.
776
777 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
778
779         bug 1096
780         * BufferView_pimpl.C (getInsetByCode): move function out of class
781         and change in to a template in anon namespace. Also fix to do what
782         suits us better.
783
784 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
785
786         bug 1305
787         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
788         of char
789         (breakParagraph): rename par to par_offset and use a local
790         reference. Add code to keep the language over a rebreak.
791         (breakParagraphConservative): rename par to par_offset, use a
792         local reference
793         (mergeParagraph): ditto
794         (outerHook): ditto
795         (isFirstInSequence): ditto
796         (outerFont): rename pit to par_offset
797
798         * paragraph.C: ws change
799         * paragraph.h: ditto
800         * text3.C: ditto
801         * text.C: ditto
802
803 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
804
805         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
806         treatment for ']'
807
808         * paragraph.C (simpleTeXOnePar): when we have a \item with
809         optional argument, enclose the argument with curly brackets (in
810         case it contains a closing square bracket)
811
812         * text2.C (editXY):
813         * text2.C (editXY):
814         * text3.C (checkInsetHit): constify
815
816 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
817
818         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
819         documents (bug 1629)
820
821 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
822
823         Fix toggling of collapsable insets with the mouse (bug 1558)
824
825         * lyxfunc.C (dispatch): adapt to LCursor changes
826
827         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
828         make sure that dispatch is not invoked twice
829
830         * cursor.C (needsUpdate): new method
831         (dispatch): return void
832         (result): new method, to access the DispatchResult of the cursor.
833
834 2004-08-13  José Matos  <jamatos@lyx.org>
835
836         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
837
838 2004-08-13  André Pönitz  <poenitz@gmx.net>
839
840         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
841
842         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
843           multiple cells
844
845 2004-08-12  André Pönitz  <poenitz@gmx.net>
846
847         * text3.C: take out the 'cursor right' form insertInset and only
848         do it in those places when it is really needed. Fixes crash on
849         C-m...
850
851 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
852
853         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
854
855         * BufferView_pimpl.C (setBuffer): initialize the current font of
856         the underlying LyXText
857
858 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
859
860         * kbsequence.C (print): use UI native formatting for menu
861         shortcuts
862
863         * text.C (insertChar): call Paragraph::insertChar with a font
864         argument (cosmetic)
865
866         * paragraph.C (insertInset, insertChar): the version that takes a
867         LyXFont argument is now a wrapper around the other one (the
868         opposite used to be true).
869
870         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
871         argument. Font setting is done in Paragraph now.
872
873 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
874
875         * outputparams.h: add new members intitle and lang.
876
877         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
878         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
879
880 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
881
882         * text3.C (dispatch): remove special handling of button 4 and 5,
883         it is now taken care of in the frontend code.
884
885 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
886
887         * Spacing.h: add <string> (STLPort compile fix)
888
889 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
890
891         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
892
893 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
894
895         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
896         to bool.
897
898         * converter.C (showMessage): inherit from unary_function, make
899         operator() const.
900
901         * buffer.C (writeFile): initialize retval
902
903         * InsetList.h: rename private variable list to list_
904         * InsetList.[Ch]: adjust accordingly.
905
906 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
907
908         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
909         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
910         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
911         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
912         * ParagraphParameters.C, LaTeXFeatures.C: replace
913         "support/std_sstream.h" with <sstream>
914
915 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
916
917         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
918         * lyxsocket.C (LyXServerSocket): ditto
919         (serverCallback): ditto
920
921 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
922
923         * LaTeXFeatures.C: check release date when loading jurabib.
924
925 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
926
927         * lyxserver.C (startPipe): call register_socket_callback
928         (endPipe): call unregister_socket_callback
929
930 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
931
932         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
933         (LyXServerSocket): register the callback
934         (LyXServerSocket): unregister the callback
935         (fd): delete function
936         (serverCallback): improve error checking and setup the callbacks.
937         (dataCallback): change arg to fd.
938         (writeln): new func (copied fro the client socket) used for server
939         write to client.
940         (LyXDataSocket): simplify
941         (~LyXDataSocket): close ann unregiser callback
942         (server): delete function
943         (fd): delete function
944         (readln): small changes, improve some std::string usage
945         (writeln): constify a bit
946
947 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
948
949         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
950         Qt frontend
951
952 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
953
954         * BufferView_pimpl.C (setBuffer): set the layout combox value only
955         after it has been populated
956
957 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
958
959         * text2.C (insertInset): move cursor when inserting inset.
960
961 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
962
963         * kbmap.C (findbindings): a couple of new methods. returns a
964         container of kb_sequence objects. The real work is done by the
965         private recursive version
966         (printbindings): uses findbindings to print out a bracketed list
967         of bindings (renamed from findbinding).
968
969         * MenuBackend.C (binding): use kb_keymap::findbindings
970
971         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
972
973 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
974
975         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
976
977 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
978
979         * paragraph.C (isWord): return true on insets that report
980         isLetter().
981
982         * text.C (getWord): use Paragraph::isWord to decide what is in a
983         word and what is not; fix bug 1609.
984
985 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
986
987         * tex-strings.C: add "none" to string_paperpackages[], fixes
988         off-by-one-error in the paperpackage selection.
989
990         * lyxlex.[Ch]:
991         * tex-strings.[Ch]: char const * string[n]
992         -> char const * const string[]
993
994 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
995
996         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
997         command, return early.
998
999 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
1000
1001         * debug.h: add DEBUG to enum and fix size of ANY.
1002
1003         * debug.C: add support for Debug::DEBUG
1004         (showTags): cast errorTags.level to unsigned int
1005
1006         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1007         (redoCurrentBuffer): ditto
1008         (updateScrollbar): ditto
1009         * cursor.C (dispatch): ditto
1010         * text2.C (setLayout): ditto
1011         (setFont): ditto
1012         (updateCounters): ditto
1013         (editXY): ditto
1014         (deleteEmptyParagraphMechanism): ditto
1015
1016 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
1017
1018         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1019         annotations to cleanup the Makefile slightly.
1020
1021 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1022
1023         * lyxrc.C: do not set user_email to a default value but use empty
1024         instead. The entry used to be translated, which does not work
1025         since at the point where lyxrc is constructed there is no
1026         translation service available
1027
1028         * messages.C (getLocaleDir): remove and use directly
1029         lyx_localedir() instead
1030
1031 2004-06-02  Angus Leeming  <leeming@lyx.org>
1032
1033         Fix crash caused by dereferencing null pointer 'exportdata' in
1034         OutputParams by creating a new ExportData variable on the heap,
1035         storing it in a boost::shared_ptr.
1036         The crash was triggered when generating an Instant Preview
1037         of an external inset.
1038
1039         * Makefile.am: add outputparams.C
1040
1041         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1042         (c-tor): allocate memory to it.
1043
1044         * exporter.C (c-tor): associated changes.
1045
1046 2004-06-01  Angus Leeming  <leeming@lyx.org>
1047
1048         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1049         contains data before calling isInset(0). (Bug 1513.)
1050
1051 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1052
1053         * exporter.C (checkOverwrite): new method
1054         * exporter.C (copyFile): new method
1055         * exporter.C (Export): copy referenced files to the document dir
1056         * exporter.[Ch]: new class ExportedFile
1057         * exporter.[Ch]: new class ExportData. Contains currently the
1058         names of referenced external files
1059         * outputparams.h: add exportdata member.
1060
1061 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1062
1063         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1064         version.C-tmp
1065
1066 2004-05-19  Angus Leeming  <leeming@lyx.org>
1067
1068         * LaTeXFeatures.C:
1069         * ToolbarBackend.C:
1070         * bufferparams.C:
1071         * lyxfunc.C: small changes due to the introduction of namespace
1072         lyx::frontend and the moving of namespace biblio to lyx::biblio.
1073
1074 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
1075
1076         * text3.C (dispatch): supress update when only moving the cursor
1077         * cursor.C (selHandle): remove commented code
1078
1079 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1080
1081         * paragraph.C (startTeXParParams): correct column count
1082         * CutAndPaste.C (pasteSelection): remove const_cast
1083         * output_docbook.C (docbookParagraphs): remove const_cast
1084         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1085         const_cast and return ParagraphList::const_iterator
1086         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1087         * output_plaintext.C (writeFileAscii): remove const_cast
1088         * paragraph.[Ch] (simpleTeXOnePar): make const
1089         * paragraph_funcs.C (outerPar): use const iterators
1090         * paragraph_pimpl.C (validate): use const iterators
1091         * text.C (setHeightOfRow): use const iterators
1092
1093 2004-05-17  Angus Leeming  <leeming@lyx.org>
1094
1095         * lfuns.h:
1096         * LyXAction.C (init): new LFUN_INSET_REFRESH.
1097
1098         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1099         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1100         if the citation engine has changed.
1101
1102 2004-05-14  José Matos  <jamatos@lyx.org>
1103
1104         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1105         if the textclass does not provide it. Have it different for sgml and
1106         xml.
1107         support the language of document.
1108         * output_docbook.C (docbookParagraphs):
1109         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1110         first anchor as the id of the paragraph, remove special case code.
1111         * sgml.C (escapeChar): escape only < & >.
1112
1113 2004-05-14  Angus Leeming  <leeming@lyx.org>
1114
1115         * bufferparams.h: move biblio::CiteEngine enum here to minimize
1116         dependencies on src/frontends/controllers/biblio.h. Define a
1117         CiteEngine_enum wrapper class to enable the enum to be forward
1118         declared.
1119
1120 2004-05-12  Angus Leeming  <leeming@lyx.org>
1121
1122         * buffer.C: up LYX_FORMAT to 234.
1123         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1124         use_numerical_citations with a single biblio::CiteEngine cite_engine
1125         variable.
1126         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1127
1128 2004-05-13  José Matos  <jamatos@lyx.org>
1129
1130         * converter.h:
1131         * converter.C (Converter, readFlags): add xml member.
1132         * outputparams.h: add XML flavor.
1133         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1134
1135 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1136
1137         * lyxfunc.C (dispatch):
1138         (getStatus): fix handling of LFUN_SEQUENCE
1139
1140 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1141
1142         * debug.C (showLevel): do not forget the end-of-line marker
1143
1144 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1145
1146         * kbmap.C (read): do not stop parsing a bind file when an error
1147         occurs (bug 1575)
1148
1149 2004-04-29  Angus Leeming  <leeming@lyx.org>
1150
1151         * cursor.C:
1152         * factory.C:
1153         * pariterator.C:
1154         * text2.C: wrap a bunch of #warning statements
1155         inside #ifdef WITH_WARNINGS blocks.
1156
1157 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1158
1159         * buffer.C: increment format to 233.
1160
1161 2004-04-28  Angus Leeming  <leeming@lyx.org>
1162
1163         * BufferView_pimpl.C:
1164         * lyxfunc.C:
1165         * text3.C:
1166         s/updateToolbar()/updateToolbars()/
1167         s/Toolbar.h/Toolbars.h/
1168
1169 2004-04-28  Angus Leeming  <leeming@lyx.org>
1170
1171         * BufferView.[Ch] (c-tor):
1172         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1173         No longer passes these data to the WorkArea generator.
1174
1175 2004-04-28  Angus Leeming  <leeming@lyx.org>
1176
1177         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1178
1179 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1180
1181         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1182
1183 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1184
1185         * output_latex.C (TeXEnvironment): make sure that there is a line
1186         break before \end{foo} for the last paragraph of a document
1187         (TeXOnePar): if the paragraph is at the end of the document (or
1188         inset) and the language has to be reset, then make sure that the
1189         line break is _before_ the language command, not after (fixes bug
1190         1225); also make sure that the language reset command is the first
1191         thing after the paragraph (to ensure proper nesting of
1192         environments and thus fix bug 1404)
1193
1194 2004-04-21  John Levon  <levon@movementarian.org>
1195
1196         * ToolbarBackend.h:
1197         * ToolbarBackend.C: make "name" be a programmatic name
1198         and a gui_name field.
1199
1200         * lyxfunc.C: display the minibuffer on M-x
1201
1202 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1203
1204         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1205         (bug 1526)
1206
1207 2004-04-19  Angus Leeming  <leeming@lyx.org>
1208
1209         * BufferView_pimpl.C (setBuffer): changed preview interface.
1210
1211         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1212         possible values.
1213
1214 2004-04-19  John Levon  <levon@movementarian.org>
1215
1216         * BufferView_pimpl.C:
1217         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1218
1219 2004-04-05  Angus Leeming  <leeming@lyx.org>
1220
1221         * text.C (redoParagraphs): add call to updateCounters(), thereby
1222         fixing the missing "Figure #:" label from the caption of a
1223         figure float.
1224
1225 2004-04-13  Angus Leeming  <leeming@lyx.org>
1226
1227         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1228         cursor is clicked out of an inset.
1229
1230 2004-04-13  Angus Leeming  <leeming@lyx.org>
1231
1232         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1233         than an InsetOld one.
1234
1235 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1236
1237         * format.[Ch]: add editor to Format
1238         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1239         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1240
1241 2004-04-08  André Pönitz  <poenitz@gmx.net>
1242
1243         * metricsinfo.h: remove PainterInfo::width member
1244
1245 2004-04-08  Angus Leeming  <leeming@lyx.org>
1246
1247         * lyx_sty.C (boldsymbol_def): modify so that it outputs
1248         "\providecommand" rather than "\newcommand", thereby preventing
1249         clashes with packages that define "\boldsymbol" themselves.
1250         Eg, beamer.
1251
1252 2004-04-08  Angus Leeming  <leeming@lyx.org>
1253
1254         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1255         thereby squashing an unnecessary warning.
1256
1257 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1258
1259         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1260         setBuffer()
1261
1262 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
1263
1264         * BufferView.C (setCursor): call redoParagraph (some insets could
1265         have been opened)
1266         (putSelectionAt): remove the 'double update' trick
1267
1268         * BufferView_pimpl.C (fitCursor): call refreshPar
1269         (workAreaDispatch): remove an uneeded update call
1270         (dispatch): remove some manual update calls
1271
1272         * cursor.[Ch]: remove cached_y_, updatePos
1273         (selHandle): set noUpdate when appropriate
1274
1275         * lyxfunc.C (dispatch): track if we need an update
1276
1277         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1278
1279         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1280         (paintSelection): cheap optimization, do not call cursorX when not
1281         needed
1282         (paintPars): change signature
1283         (refreshPar): add
1284         (paintText): adjust
1285         (paintTextInset): adjust
1286
1287         * text.C: adjust
1288
1289 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1290
1291         * lengthcommon.C: compilation fix: remove explicit array size from
1292         unit_name[] and friends
1293
1294 2004-04-05  Angus Leeming  <leeming@lyx.org>
1295
1296         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1297
1298         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1299         present only for the preferences dialog.
1300         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1301
1302 2004-04-05  Angus Leeming  <leeming@lyx.org>
1303
1304         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1305         to enable the frontends to export changes to lyxrc correctly.
1306
1307         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1308
1309 2004-04-07  André Pönitz  <poenitz@gmx.net>
1310
1311         * cursor.[Ch] (selClear, adjust): remove math
1312
1313         * cursor_slice.C: more agressive assert
1314
1315         * lyxfunc.C:
1316         * BufferView_pimpl.C: rework mouse event dispatch
1317
1318         * dociterator.C:
1319         * paragraph.C:
1320         * text2.C:
1321         * text3.C: adjust
1322
1323 2004-04-05  André Pönitz  <poenitz@gmx.net>
1324
1325         * cursor.[Ch] (valign, halign...): remove unneeded functions
1326
1327 2004-04-05  Angus Leeming  <leeming@lyx.org>
1328
1329         * lyxlength.[Ch] (unit_name et al.): const-correct.
1330
1331 2004-04-05  Angus Leeming  <leeming@lyx.org>
1332
1333         * BufferView_pimpl.C:
1334         * buffer.C:
1335         * counters.C:
1336         * cursor.C:
1337         * lyxfunc.C
1338         * paragraph.C:
1339         * pariterator.C:
1340         * text.C:
1341         * text2.C:
1342         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1343
1344 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1345
1346         * text3.C (getStatus): add LFUN_BEGINNINGBUF
1347
1348 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1349
1350         * lyxfind.C: add a couple of inTexted() tests + other small fixes
1351         * BufferView_pimpl.[Ch] (getStatus)
1352         * BufferView.[Ch] (getStatus): add
1353         * lyxfunc.C (getStatus): move lfuns handled in
1354         BufferView::dispatch to te function above
1355         * Cursor.C (setSelection): set selection() = true
1356
1357 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1358
1359         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1360
1361 2004-03-31  Angus Leeming  <leeming@lyx.org>
1362
1363         * lyxfunc.C (dispatch): Fall through to the generic
1364         Dialogs::show("preamble").
1365
1366 2004-03-31  Angus Leeming  <leeming@lyx.org>
1367
1368         * lyxfunc.C (dispatch): Fall through to the generic
1369         Dialogs::show("spellchecker").
1370
1371 2004-03-31  Angus Leeming  <leeming@lyx.org>
1372
1373         * lyxfunc.C (getStatus, dispatch): changed invocation of the
1374         preferences dialog.
1375
1376 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1377
1378         * BufferView.C
1379         * cursor.[Ch]
1380         * dociterator.[Ch]:
1381         * insetiterator.[Ch]:
1382         * lyxfind.C:
1383         * lyxfunc.C:
1384         * pariterator.[Ch]:
1385         * text2.C:
1386         * undo.[Ch]: s/DocumentIterator/DocIterator/g
1387
1388 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1389
1390         * BufferView.C (setCursor, putSelectionAt): call edit to open the
1391         insets where we are putting the cursor.
1392
1393 2004-03-31  Angus Leeming  <leeming@lyx.org>
1394
1395         * lfuns.h:
1396         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1397
1398         * lyxrc.[Ch] (read, write): overloaded member functions taking
1399         a std::[io]stream arguments.
1400
1401         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1402
1403 2004-03-31  Angus Leeming  <leeming@lyx.org>
1404
1405         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1406         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1407
1408         * lyxtextclass.C (load): if the text class couldn't be loaded, then
1409         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1410
1411 2004-03-31  Angus Leeming  <leeming@lyx.org>
1412
1413         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1414         the LFUN_ALL_INSETS_TOGGLE code.
1415
1416 2004-03-30  Angus Leeming  <leeming@lyx.org>
1417
1418         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1419         has died. Fall through to the generic Dialogs::show("document").
1420
1421 2004-03-30  Angus Leeming  <leeming@lyx.org>
1422
1423         * lfuns.h:
1424         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1425         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1426
1427         * lyxfunc.C (getStatus, dispatch): define the actions for these
1428         lfuns. Little more than a cut and pste job from ControlDocument.C
1429
1430         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1431
1432 2004-03-30  Angus Leeming  <leeming@lyx.org>
1433
1434         * lfuns.h:
1435         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1436         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1437
1438         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1439         open/closed state of ollapsable insets. Usage:
1440
1441         all-inset-toggle <state> <name>, where
1442         <state> == "open" || "closed" || "toggle" and
1443         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1444
1445         * lyxtext.h, text2.C (toggleInset): removed.
1446
1447         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1448         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1449         now passes LFUN_INSET_TOGGLE to the found inset.
1450
1451         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1452         is now invoked as "all-insets-toggle toggle branch".
1453
1454 2004-03-30  Angus Leeming  <leeming@lyx.org>
1455
1456         * dociterator.C:
1457         * insetiterator.C:
1458         * pariterator.[Ch]: added/corrected header blurb.
1459
1460 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
1461
1462         * dociterator.[Ch]: add an inset_ member
1463         (backwardPos): implemented
1464         (backwardPos, forwardPos): use inset_ when the stack is empty.
1465         (doc_iterator_begin, doc_iterator_end): implemented
1466         * pariterator.[Ch]: adjust, add begin, end
1467         * insetiterator.[Ch]: adjust, add begin, end
1468         * cursor.C:
1469         * document.C:
1470         * BufferView.C:
1471         * BufferView_pimpl.C:
1472         * CutAndPaste.C: adjust
1473
1474 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1475
1476         * buffer.C: increment file format to 232.
1477         * LaTeXFeatures.C: add bibtopic package.
1478         * bufferparams.[Ch]: param \use_bibtopic.
1479
1480         * lyxrc.[Ch]: add lyxrc bibtex_command
1481         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1482
1483         * buffer.C: increment file format to 231.
1484
1485 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1486
1487         * dociterator.C: implement forwardPar
1488         * iterators.[Ch]: remove, replaced by
1489         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1490         * BufferView.C:
1491         * BufferView_pimpl.C:
1492         * CutAndPaste.C:
1493         * buffer.C:
1494         * bufferview_funcs.C:
1495         * cursor.C:
1496         * lyxfind.C
1497         * lyxfunc.C
1498         * paragraph_funcs.C
1499         * toc.C:
1500         * Makefile.am: adjust
1501
1502 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1503
1504         * CutAndPaste.C (pasteSelection): fix 2 crashes
1505         (eraseSelection): fix a crash
1506         * paragraph_funcs.C: remove a warning
1507
1508 2004-03-28  Angus Leeming  <leeming@lyx.org>
1509
1510         * lfuns.h:
1511         * LyXAction.C (init): new LFUN_PRINT.
1512
1513         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1514
1515 2004-03-27  Angus Leeming  <leeming@lyx.org>
1516
1517         * lfuns.h:
1518         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1519
1520         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1521
1522 2004-03-27  Angus Leeming  <leeming@lyx.org>
1523
1524         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1525         insetlist always contains non-null pointers to insets.
1526
1527 2004-03-26  Angus Leeming  <leeming@lyx.org>
1528
1529         * src/BufferView_pimpl.C:
1530         * src/CutAndPaste.C:
1531         * src/buffer.C:
1532         * src/iterators.C:
1533         * src/output_plaintext.C:
1534         * src/outputparams.h:
1535         * src/paragraph_funcs.C:
1536         * src/rowpainter.C:
1537         * src/text.C:
1538         * src/text2.C:
1539         * src/frontends/controllers/ControlErrorList.C:
1540         * src/frontends/gtk/FileDialogPrivate.C:
1541         * src/frontends/gtk/GPainter.C:
1542         * src/frontends/gtk/GToolbar.C:
1543         * src/frontends/qt2/QRef.C:
1544         * src/mathed/math_scriptinset.C: squash compiler warnings.
1545
1546 2004-03-26  Angus Leeming  <leeming@lyx.org>
1547
1548         * ispell.C (LaunchIspell::start):
1549         * lyx_cb.C (AutoSaveBuffer::start):
1550         invoke run(DontWait) rather than runNonBlocking().
1551
1552 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
1553
1554         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1555
1556 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1557
1558         * kbsequence.C (print): adjust
1559
1560         * kbmap.C (printKeySym): rename and change signature
1561         (printKey): use LyXKeySym::print()
1562
1563 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
1564
1565         * undo.C: add using std::advance to compile for stlport
1566
1567 2004-03-24  Angus Leeming  <leeming@lyx.org>
1568
1569         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1570         it leads to a crash when no buffer is present.
1571
1572 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1573             Martin Vermeer  <martin.vermeer@hut.fi>
1574
1575         * lyxfunc.C (dispatch):
1576         * bufferparams.C (readToken): use the new LColor::setColor
1577
1578         * LColor.[Ch] (setColor): new version that takes two strings as
1579         argument and creates a new color entry if necessary
1580
1581 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1582
1583         * buffer.C (makeLaTeXFile): if the main latex file that is
1584         processed is usually a subdocument of some master, then pretend
1585         for a while that it is actually the master
1586
1587 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1588
1589         * buffer.C (getLabelList):
1590         (getBibkeyList): use getMasterBuffer()
1591         (getMasterBuffer): new method. Returns the main document in the
1592         case where one is using included documents.
1593
1594 2004-03-25  André Pönitz  <poenitz@gmx.net>
1595
1596         * Makefile.am:
1597         * iterators.[Ch]:
1598         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1599
1600         * ParagraphList_fwd.h: change ParagraphList to a std::vector
1601
1602         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1603         text*.C over here. Rename namespace CutAndPaste to lyx::cap
1604
1605         * ParameterStruct.h: merge with ParagraphParameters
1606
1607         * lyxtext.h: remove LyXText::parOffset() and getPar()
1608
1609         * text3.C: Remove all 'manual' update calls. We do now one per user
1610         interaction which is completely sufficient.
1611
1612         * Bidi.C:
1613         * BufferView.[Ch]:
1614         * BufferView_pimpl.C:
1615         * FontIterator.[Ch]:
1616         * MenuBackend.C:
1617         * ParagraphParameters.[Ch]:
1618         * buffer.C:
1619         * buffer.h:
1620         * bufferlist.C:
1621         * cursor.[Ch]:
1622         * cursor_slice.[Ch]:
1623         * dociterator.[Ch]:
1624         * errorlist.[Ch]:
1625         * factory.C:
1626         * lfuns.h:
1627         * lyxfind.C:
1628         * lyxfunc.C:
1629         * output_docbook.[Ch]:
1630         * output_latex.[Ch]:
1631         * output_linuxdoc.[Ch]:
1632         * output_plaintext.[Ch]:
1633         * paragraph.[Ch]:
1634         * paragraph_funcs.[Ch]:
1635         * paragraph_pimpl.[Ch]:
1636         * rowpainter.C:
1637         * tabular.[Ch]:
1638         * text.C:
1639         * text2.C:
1640         * toc.C:
1641         * undo.[Ch]: adjust
1642
1643         * frontends/controllers/ControlDocument.C:
1644         * frontends/controllers/ControlErrorList.C:
1645         * frontends/controllers/ControlSpellchecker.C:
1646         * insets/inset.C:
1647         * insets/inset.h:
1648         * insets/insetbase.h:
1649         * insets/insetbibitem.C:
1650         * insets/insetbox.C:
1651         * insets/insetbranch.C:
1652         * insets/insetcaption.C:
1653         * insets/insetcharstyle.C:
1654         * insets/insetcharstyle.h:
1655         * insets/insetcollapsable.C:
1656         * insets/insetcollapsable.h:
1657         * insets/insetert.C:
1658         * insets/insetfloat.C:
1659         * insets/insetfoot.C:
1660         * insets/insetmarginal.C:
1661         * insets/insetnote.C:
1662         * insets/insetoptarg.C:
1663         * insets/insettabular.C:
1664         * insets/insettext.C:
1665         * insets/insettext.h:
1666         * insets/insetwrap.C:
1667         * mathed/math_mboxinset.C:
1668         * mathed/math_nestinset.C:
1669         * mathed/math_scriptinset.C:
1670         * mathed/math_scriptinset.h:
1671         * support/types.h:
1672
1673 2004-03-24  Angus Leeming  <leeming@lyx.org>
1674
1675         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1676         deal with any child processes that have finished but are waiting to
1677         communicate this fact to the rest of LyX.
1678
1679 2004-03-24  Angus Leeming  <leeming@lyx.org>
1680
1681         64-bit compile fixes.
1682
1683         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1684         (c-tor): pass lyx::pos_types rather than ints.
1685
1686         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1687         lyx::pos_type.
1688
1689         * text.C (Delete): compile fix.
1690         (getPar): ensure that function declaration is the same as that in
1691         the header file.
1692
1693 2004-03-23  Angus Leeming  <leeming@lyx.org>
1694
1695         * ispell.C (LaunchIspell):
1696         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1697         a boost::shred_ptr rather than a std::auto_ptr.
1698
1699 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1700
1701         * lyxfunc.C (getStatus): handle read-only buffers correctly;
1702         handle LFUN_FILE_INSERT_*
1703
1704         * lyxrc.C (setDefaults, getDescription, output, read):
1705         * lyxrc.h: remove ps_command
1706
1707 2004-03-22  Angus Leeming  <leeming@lyx.org>
1708
1709         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1710         Ensure that error_handler is processed once only and that all data
1711         is saved before attempting to output any warning messages.
1712
1713         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1714
1715 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
1716
1717         * tabular.C (TeXRow): crash fix (from Kayvan and André)
1718
1719 2004-03-19  André Pönitz  <poenitz@gmx.net>
1720
1721         * cursor.[Ch] (reset): take main text inset as argument
1722
1723         * BufferView: adjust
1724         * BufferView_pimpl.C: adjust
1725
1726         * paragraph.[Ch]: fix completely broken operator=()
1727
1728 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1729
1730         * LColor.C (getFromLyXName): make sure that the color name is used
1731         as lowercase.
1732
1733 2004-03-17  Angus Leeming  <leeming@lyx.org>
1734
1735         * lfuns.h:
1736         * LyXAction.C (init): remove LFUN_FORKS_KILL.
1737
1738         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1739         dialog and to kill a forked process.
1740
1741 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1742
1743         * text2.C (setCursorFromCoordinates): fix font problem
1744
1745 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1746
1747         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1748         bogus "rebuild cursor" code
1749
1750 2004-03-11  André Pönitz  <poenitz@gmx.net>
1751
1752         * buffer.[Ch]: use InsetText instead of LyXText as container for
1753         the main lyx text.
1754
1755         * dociterator.[Ch]: drop the BufferView * member which is not needed
1756         anymore after the change to buffer.C
1757
1758         * paragraph_funcs.C:
1759         * text.C:
1760         * text2.C:
1761         * BufferView.[Ch]:
1762         * BufferView_pimpl.[Ch]:
1763         * cursor.[Ch]:
1764         * cursor_slice.[Ch]: adjust
1765
1766         * text3.C: fix bug in mathDispatch
1767
1768 2004-03-08  André Pönitz  <poenitz@gmx.net>
1769
1770         * undo.[Ch]: use 'StableDocumentIterator' as base for
1771         the Undo struct.
1772
1773 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1774
1775         * LaTeXFeatures.C:
1776         * bufferparams.[Ch]: add jurabib support and param.
1777
1778         * LaTeX.C: add FIXME/comment.
1779
1780 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1781
1782         * buffer.C: increment file format to 230.
1783
1784 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
1785
1786         * cursor.C (dispatch): avoid infinite loops
1787
1788 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1789
1790         * rowpainter.C (paintSelection): fix x coordinates
1791
1792 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1793
1794         * text.C (rowBreakPoint): fix breaking before displayed insets
1795
1796 2004-03-01  André Pönitz  <poenitz@gmx.net>
1797
1798         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1799
1800         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1801
1802         * Makefile.am:
1803         * BufferView.C:
1804         * BufferView_pimpl.C:
1805         * buffer.C:
1806         * lyxfind.C:
1807         * lyxfunc.C:
1808         * text.C:
1809         * text2.C:
1810         * text3.C: adjust
1811
1812 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1813
1814         * lyxtext.h:
1815         * text.C:
1816         * text2.C:
1817         * rowpainter.C:
1818         * BufferView_pimpl.C: rename textwidth -> maxwidth,
1819         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1820
1821 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1822
1823         * Bidi.[Ch] (computeTables): const correctness
1824         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1825         fill_hfill, fill_label_hfill and x from Row
1826         * lyxtext.h: prepareToPrint returns a RowMetrics
1827         * rowPainter.C: adjust
1828         * text.C (prepareToPrint): use width, not textWidth. adjust
1829         (redoParagraphInternal, cursorX): adjust
1830         * text2.C (getColumnNearX): adjust
1831         (init): put a default value to the top LyXText::width
1832
1833 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1834
1835         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1836
1837 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1838
1839         * lyxtext.h: add FontIterator class
1840
1841         * text.C (FontIterator, operator*, operator->, operator++): add
1842         (rowBreakPoint, setRowWidth): adjust (fixing a
1843         rebreaking bug)
1844
1845 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1846
1847         * BufferView_pimpl.C (workAreaDispatch): allow also
1848         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1849
1850 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
1851
1852         * text.C (rowBreakPoint): fix a bug showing with very large insets
1853
1854 2004-02-25  André Pönitz  <poenitz@gmx.net>
1855
1856         * text3.C:
1857         * cursor.[Ch]: move some mathed specific code to mathed
1858
1859 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1860
1861         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1862         use_tempdir in preferences
1863         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1864         tempfile creation
1865         * lyx_main.C: ensure that tempdir is valid
1866         * lyxlex.h: correct typo
1867         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1868         * paragraph.[Ch] (isMultiLingual): make const
1869         * cursor.[Ch] (openable): make const
1870
1871 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1872
1873         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1874
1875 2004-02-20  André Pönitz  <poenitz@gmx.net>
1876
1877         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1878
1879         * cursor.[Ch]: prepare for localized getStatus()
1880
1881         * lyxtext.h:
1882         * tabular.C:
1883         * text.C:
1884         * text2.C:
1885         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
1886
1887 2004-02-20  André Pönitz  <poenitz@gmx.net>
1888
1889         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1890
1891 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1892
1893         * text2.C (setCursorFromCoordinates): switch to absolute coords
1894         (cursorUp): adjust
1895         (cursorDown): adjust
1896         * text3.C (dispatch): adjust
1897
1898 2004-02-16  André Pönitz  <poenitz@gmx.net>
1899
1900         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1901           insets/ChangeLog)
1902
1903         * cursor_slice.[Ch]: remove unneeded acessor function
1904
1905         * lyxtext.h: rename rtl() to isRTL()
1906
1907         * rowpainter.C:
1908         * tabular.C:
1909         * text.C:
1910         * text2.C:
1911         * text3.C: adjust
1912
1913 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1914
1915         * rowpainter.C (paintSelection): coord fix
1916
1917 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
1918
1919         * Spacing.C: compile fix
1920
1921 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1922
1923         * cursor.C (dispatch): restore current_ before returning
1924
1925 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1926
1927         * text2.C (cursorUp, cursorDown): fix coords
1928         (moveUp): fix crash
1929
1930 2004-02-12  André Pönitz  <poenitz@gmx.net>
1931
1932         * lyxtext.h:
1933         * text.C:
1934         * text2.C:
1935         * text3.C: add LCursor & parameter to most cursor movement functions
1936           remove usage of LyXText::cursorRow() and cursorPar()
1937
1938         * cursor.[Ch]: add textRow() needed members
1939
1940         * BufferView.C:
1941         * BufferView_pimpl.C:
1942         * paragraph.[Ch]:
1943         * BufferView.C:
1944         * BufferView_pimpl.C: adjust
1945
1946 2004-02-11  André Pönitz  <poenitz@gmx.net>
1947
1948         * lyxfunc.C:
1949         * BufferView.[Ch]:
1950         * BufferView_pimpl.C: shift undo/redo handling
1951
1952         * cursor.[Ch]: fix mathed crash
1953
1954         * lyxfind.C:
1955         * lyxtext.h: move selectionAsText to LCursor
1956
1957         * output_latex.C:
1958         * paragraph.C:
1959         * text.C:
1960         * text2.C:
1961         * text3.C: adjust
1962
1963         * rowpainter.C: fix excessive drawing
1964
1965 2004-02-06  André Pönitz  <poenitz@gmx.net>
1966
1967         * BufferView.[Ch]:
1968         * BufferView_pimpl.[Ch]:
1969         * text3.C: move some text specific LFUN handling
1970
1971 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
1972
1973         * text3.C (checkInsetHit): adjust coords
1974         * text2.C (getColumnNearX): adjust coords
1975         (edit): adjust coords
1976         * text.C (getRowNearY): add two asserts
1977
1978 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
1979
1980         * converter.C:
1981         * format.C: add using std::distance to compile on gcc 2.95/stlport
1982
1983 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
1984
1985         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1986
1987 2004-02-04  André Pönitz  <poenitz@gmx.net>
1988
1989         * BufferView.[Ch] (insertInset):
1990         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1991
1992         * text2.C:
1993         * text3.C: adjust
1994
1995 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1996
1997         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1998         on the default clause of the switch
1999         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2000         wasn't catched by LCursor::dispatch
2001
2002 2004-02-03  André Pönitz  <poenitz@gmx.net>
2003
2004         * BufferView.C:
2005         * cursor.[Ch]: some additional asserts
2006
2007         * undo.[Ch]: remove LyXText dependency in interface
2008
2009         * lyxfunc.C: adjust
2010
2011         * lyxtext.h (firstPar, lastPar): remove dead functions
2012
2013         * text.C:
2014         * text2.C:
2015         * text3.C:
2016         * paragraph.[Ch]: adjust
2017
2018 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2019
2020         * lyxfind.C (find): fix argument order in call to ::find
2021
2022 2004-02-02  André Pönitz  <poenitz@gmx.net>
2023
2024         * cursor.[Ch]: remove direct access to anchor
2025
2026         * text.C: remove findText() hack
2027
2028 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2029
2030         * iterators.[Ch] (lockPath): remove in favour of...
2031         * BufferView.[Ch] (setCursor): this addition
2032         * BufferView.C (putSelectionAt): adjust
2033         * undo.C (performUndoOrRedo): adjust
2034         * lyxfunc.C (dispatch): adjust
2035
2036 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2037
2038         * iterators.C (lockPath): add a missing slice
2039         * undo.C (performUndoOrRedo): remove redundant positioning code
2040
2041 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
2042
2043         * vc-backend.C (scanMaster): ";" -> ';'
2044
2045 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
2046
2047         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2048         std::binary_function
2049
2050         * lyxtextclass.C (compare_name): rename to...
2051         (LayoutNamesEqual): ...this
2052
2053         * lyxlex_pimpl.C (compare_tags): inherit from
2054         std::binary_function, put back into anon namespace
2055
2056         * lyxfind.C (MatchString): inherig from std::binary_function
2057         (findChange): use empty() istead of !size()
2058
2059         * format.C (FormatNamesEqual): new functor
2060         (getFormat): use it
2061         (getNumber): use it
2062         (add): use it
2063         (erase): use it
2064         (setViewer): use it
2065
2066         * converter.C (compare_Converter): rename to...
2067         (ConverterEqual): ...this, and fixup a bit.
2068         (getConverter): use it, and make function const
2069         (getNumber): use it, and make function const
2070         (add): use it
2071         (erase): use it:
2072
2073         * bufferlist.C: add using boost::bind
2074
2075         * MenuBackend.C (MenuNamesEqual): new functor
2076         (hasMenu): use it, and make function const
2077         (hasSubmenu): use nested bind to get rid of compare_memfun.
2078
2079 2004-01-30  André Pönitz  <poenitz@gmx.net>
2080
2081         * BufferView_pimpl.C:
2082         * cursor.C:
2083         * cursor.h:
2084         * cursor_slice.[Ch]:
2085         * lyxfunc.C:
2086         * lyxtext.h:
2087         * paragraph_funcs.C:
2088         * paragraph_funcs.h:
2089         * rowpainter.C:
2090         * text.C:
2091         * text2.C:
2092         * text3.C: move some of the edit(x,y) handling to the insets
2093         some coordinate changes.
2094
2095 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
2096
2097         * text.C: add using statements for std::advance and std::distance
2098
2099         * paragraph.C: add using statement for std::distance
2100
2101         * lyxfind.C: add using statement for std::advance
2102
2103         * cursor.C (region): remove std:: from swap
2104         (openable): use nucleus in stead of operator->
2105
2106         * BufferView.C: add using statements for std::distance and std::swap
2107
2108 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
2109
2110         * iterators.C: Remove the pimple, move the needed structures to
2111         the header file. Create accessor for the positions stack.
2112         (asPosIterator): remove function
2113
2114         * PosIterator.C (PosIterator): move constructors to top of file
2115         (PosIterator): reimplement the constructor taking a ParIterator in
2116         terms of setFrom.
2117         (setFrom): new function
2118         (operator!=): inline it
2119
2120 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
2121
2122         * lyxfind.C (replaceAll): use std::advance
2123
2124         * iterators.h: inherit from std::iterator.
2125
2126         * PosIterator.C (advance, distance): remove
2127         * PosIterator.h: interit from std::iterator.
2128
2129 2004-01-26  André Pönitz  <poenitz@gmx.net>
2130
2131         * BufferView.[Ch]:
2132         * BufferView_pimpl.[Ch]:
2133         * InsetList.[Ch]:
2134         * PosIterator.[Ch]:
2135         * buffer.h:
2136         * bufferview_funcs.C:
2137         * cursor.[Ch]:
2138         * cursor_slice.h:
2139         * factory.[Ch]:
2140         * iterators.[Ch]:
2141         * lyxfind.C:
2142         * lyxfunc.C:
2143         * lyxtext.h:
2144         * output_docbook.C:
2145         * output_latex.C:
2146         * output_linuxdoc.C:
2147         * output_plaintext.C:
2148         * paragraph.[Ch]:
2149         * paragraph_funcs.[Ch]:
2150         * paragraph_pimpl.[Ch]:
2151         * rowpainter.C:
2152         * tabular.C:
2153         * tabular.h:
2154         * text.C:
2155         * text2.C:
2156         * text3.C: more IU:  dumps most of the rest of the mathcursor
2157     implementation into cursor.[Ch]; "globalize" a bit of it.
2158
2159 2004-01-25  Angus Leeming  <leeming@lyx.org>
2160
2161         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2162
2163 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2164
2165         * LaTeXFeatures.h: add nice_ and nice() const
2166         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2167
2168 2004-01-20  André Pönitz  <poenitz@gmx.net>
2169
2170         * BufferView.[Ch]:
2171         * BufferView_pimpl.C:
2172         * PosIterator.C:
2173         * bufferview_funcs.C:
2174         * cursor.[Ch]:
2175         * cursor_slice.[Ch]:
2176         * factory.C:
2177         * iterators.C:
2178         * lyx_cb.C:
2179         * lyxfind.C:
2180         * lyxfunc.C:
2181         * lyxtext.h:
2182         * rowpainter.C:
2183         * text.C:
2184         * text2.C:
2185         * text3.C:
2186         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2187           LCursor and mathcursor parts to LCursor and InsetBase.
2188
2189 2004-01-15  André Pönitz  <poenitz@gmx.net>
2190
2191         * cursor_slice.[Ch]: add a few covienience functions
2192
2193         * funcrequest.[Ch]: remove BufferView * member
2194
2195         * BufferView_pimpl.C:
2196         * cursor.C:
2197         * factory.[Ch]:
2198         * lyxfind.[Ch]:
2199         * lyxfunc.C:
2200         * lyxtext.h:
2201         * text3.C:
2202         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2203
2204 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
2205
2206         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2207         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2208
2209 2004-01-13  André Pönitz  <poenitz@gmx.net>
2210
2211         * textcursor.[Ch]:
2212         * lyxtext.h: hide cursor and selection anchor behind accessor function
2213
2214         * BufferView.C:
2215         * BufferView_pimpl.[Ch]:
2216         * PosIterator.C:
2217         * bufferview_funcs.C:
2218         * cursor.h:
2219         * lyxfind.C:
2220         * lyxfunc.C:
2221         * text.C:
2222         * text2.C:
2223         * text3.C:
2224         * undo.C: adjust
2225
2226         * cursor.h:
2227         * cursor_slice.[Ch]: some integer type changes for inset unification
2228
2229         * lyxcursor.[hC]: remove, it's CursorSlice now.
2230
2231         * Makefile.am:
2232         * BufferView_pimpl.[Ch]:
2233         * bufferview_funcs.C:
2234         * cursor_slice.C:
2235         * lyxtext.h:
2236         * text.C:
2237         * text2.C:
2238         * text3.C:
2239         * textcursor.[Ch]: adjust
2240
2241 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
2242
2243         * text2.C (undoSpan): add and use
2244         * text.C (breakParagraph): use undoSpan (fix bug 578)
2245         * lyxtext.h: adjust
2246
2247 2004-01-08  Angus Leeming  <leeming@lyx.org>
2248
2249         * BufferView_pimpl.C (MenuInsertLyXFile):
2250         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2251         * lyxfunc.C (menuNew, open, doImport):
2252         FileFilterList change to the FileDialog open and save functions.
2253
2254 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
2255
2256         * ShareContainer.h: make isEqual and isUnique adaptable
2257
2258         * CutAndPaste.C: make resetOwnerAndChanges adaptable
2259
2260 2004-01-07  Angus Leeming  <leeming@lyx.org>
2261
2262         * LyXAction.C:
2263         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2264
2265         * BufferView_pimpl.C (dispatch): act on these LFUNs.
2266
2267         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2268         functions replacing find, replace and replaceAll.
2269
2270         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2271         LFUN_WORDFIND(FORWARD|BACKWARD).
2272
2273 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2274
2275         * text.C (breakParagraph): remove an outdated #warning
2276
2277 2004-01-07  André Pönitz  <poenitz@gmx.net>
2278
2279         * lyxfind.C: somewhat clearer logic
2280
2281         * text.C: prevent crash in cursorX on unitialized row cache
2282
2283 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2284
2285         * lyxcursor.[Ch] (operator>): add
2286         * textcursor.C (selStart, selEnd): use std::min and std::max
2287
2288 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
2289
2290         * Chktex.C: include boost/format.hpp
2291
2292 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
2293
2294         * InsetList.C: replace functor MathcIt with adaptable functor
2295         InsetTablePosLess
2296         (insetIterator): modify accordingly
2297
2298         * BranchList.h: move the BranchNamesEqual functor here from...
2299         * BranchList.C: ... to here
2300
2301         * BranchList.C: new BranchListEqual fuctor, use it. Remove
2302         SameName and match.
2303         (add): replace a finding loop with std::find_if.
2304
2305 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
2306
2307         * output_docbook.C: moving LatexParam functionality into
2308         .layout files
2309
2310 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2311
2312         * buffer.C: increment format to 229.
2313
2314 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
2315
2316         * LaTeXFeatures.C:
2317         * lyx_sty.[Ch]: remove minipageindent_def
2318
2319         * LyXAction.C:
2320         * factory.C:
2321         * lfuns.h:
2322         * lyxfunc.C:
2323         * text3.C: remove LFUN_INSET_MINIPAGE
2324
2325 2003-12-28  Angus Leeming  <leeming@lyx.org>
2326
2327         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2328
2329 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
2330
2331         * text2.C (setParagraph): fix off-by-one crash
2332
2333 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
2334
2335         * output_docbook.C: header stuff for AGU
2336
2337 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
2338
2339         * text2.C (redoCursor): remove
2340         * text.C:
2341         * text3.C:
2342         * BufferView_pimpl.C: remove calls to redoCursor and
2343         setCursor(cursor.par(), cursor.pos()) all around
2344
2345 2003-12-15  Angus Leeming  <leeming@lyx.org>
2346
2347         * buffer.C: up the format to 228.
2348
2349 2003-12-15  André Pönitz  <poenitz@gmx.net>
2350
2351         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2352         slices
2353
2354         * Makefile.am:
2355
2356         * BufferView_pimpl.C:
2357         * cursor.[Ch]:
2358         * lyxcursor.[Ch]:
2359         * rowpainter.[Ch]:
2360         * lyxtext.h:
2361         * text.C:
2362         * text2.C:
2363         * text3.C: adjust
2364
2365 2003-12-15  Angus Leeming  <leeming@lyx.org>
2366
2367         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2368         than getFromGUIName to manipulate the color.
2369
2370 2003-12-14  Angus Leeming  <leeming@lyx.org>
2371
2372         * BranchList.[Ch]: minimize the API.
2373         (Branch::getBranch, getColor): now return a 'const &'.
2374         (Branch::setSelected) now returns a bool set to true if the
2375         selection status changes.
2376         (BranchList::clear, size, getColor, setColor, setSelected,
2377         allBranches, allSelected, separator): removed.
2378         (BranchList::find): new functions, returning the Branch with
2379         the given name.
2380         (BranchList::add, remove): return a bool indicating that
2381         the operation was successful.
2382
2383         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2384         new InsetBranch::isBranchSlected member function.
2385
2386         * LColor.[Ch]: mimimize the API.
2387         (fill): renamed as addColor and made private.
2388         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2389         versions of these functions taking a string arg have been removed.
2390
2391         * bufferparams.C (readToken):
2392         * lyxfunc.C (dispatch):
2393         * lyxrc.C (read): changes due to the altered BranchList and
2394         LColor APIs.
2395
2396         * factory.C (createInset, readInset): changes due to altered
2397         InsetBranch c-tor.
2398
2399 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2400
2401         * factory.C:
2402         * lyxfunc.C: remove insetminipage. "minipage-insert"
2403         now produces a frameless minipage box inset.
2404
2405 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2406
2407         * textcursor.[Ch] (selStart,selEnd): add new methods
2408         remove selection::start, end, use LyXCursor::operator<
2409         * lyxcursor.[Ch] (operator<): add
2410         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2411         * BufferView.[Ch] (unsetXSel): add
2412         * text2.C (clearSelection): use unsetXSel,adjust
2413         * text.C: adjust
2414         * text3.C: adjust
2415         * rowpainter.C: adjust
2416         * bufferview_funcs.C (put_selection_at): adjust
2417
2418 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2419
2420         * BufferView_pimpl.C: small coord. correction
2421
2422 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2423
2424         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2425         dragging over the splash screen.
2426
2427 2003-12-11  Angus Leeming  <leeming@lyx.org>
2428
2429         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2430         as it is now handled in LyXText::dispatch.
2431
2432         * text3.C (doInsertInset): remove a level of nesting.
2433
2434 2003-12-11  Angus Leeming  <leeming@lyx.org>
2435
2436         * factory.C (createInset): changes due to the changed interface to
2437         InsetCommandMailer::string2params.
2438
2439 2003-12-10  Angus Leeming  <leeming@lyx.org>
2440
2441         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2442         'dialog-show-new-inset <inset name>'
2443
2444 2003-12-10  Angus Leeming  <leeming@lyx.org>
2445
2446         * buffer.C: up the format to 227.
2447
2448         * factory.C: the box inset is now identified simply by 'Box'.
2449
2450 2003-12-10  Angus Leeming  <leeming@lyx.org>
2451
2452         * buffer.C: up the format to 226.
2453
2454         * factory.C: the note inset is now identified simply by 'Note'.
2455
2456 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
2457
2458         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2459         when a pit is enough. Standarize a couple of loops.
2460
2461 2003-12-05  Angus Leeming  <leeming@lyx.org>
2462
2463         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2464         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2465         data to the re-worked "log" dialog.
2466
2467 2003-12-03  André Pönitz  <poenitz@gmx.net>
2468
2469         * PosIterator.C:
2470         * iterators.C:
2471         * lyxtext.h:
2472         * output_latex.C:
2473         * paragraph_funcs.C:
2474         * text.C:
2475         * text2.C: use Inset::getText instead of Inset::getParagraph
2476
2477 2003-12-03  André Pönitz  <poenitz@gmx.net>
2478
2479         * buffer.[Ch]:
2480         * lyxtext.h:
2481         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2482         InsetText::read() as LyXText::read()
2483
2484 2003-12-02  Angus Leeming  <leeming@lyx.org>
2485
2486         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2487         type. Add a comment in the implementation that the function uses
2488         the stream's bad() function rather than fail() as the std::streams
2489         would do.
2490
2491 2003-12-02  André Pönitz  <poenitz@gmx.net>
2492
2493         * lyxlex.[Ch]: make interface more similar to std::stream
2494
2495         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2496
2497 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
2498
2499         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2500
2501 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
2502
2503         * vspace.[Ch]: remove VSpace::NONE
2504
2505 2003-12-01  André Pönitz  <poenitz@gmx.net>
2506
2507         * buffer.[Ch]:
2508         * lyxtext.h: move ParagraphList member to LyXText
2509         rename LyXText::ownerParagraphs to LyXText::paragraph
2510
2511         * CutAndPaste.C:
2512         * bufferview_funcs.C:
2513         * iterators.[Ch]:
2514         * lyx_cb.C:
2515         * paragraph.C:
2516         * rowpainter.C:
2517         * tabular.C:
2518         * text.C:
2519         * text2.C:
2520         * text3.C: adjust
2521
2522         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2523
2524         * undo.C: fix cursor positioning
2525
2526 2003-12-01  John Levon  <levon@movementarian.org>
2527
2528         * BufferView_pimpl.C: fix a crash on exit with
2529         a buffer open
2530
2531 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
2532
2533         * BranchList.C: fix setSelected() method.
2534
2535 2003-11-28  André Pönitz  <poenitz@gmx.net>
2536
2537         * ParagraphParameters.[Ch]:
2538         * ParameterStruct.h: remove space above/below from Paragraph to
2539          InsetVSpace
2540
2541         * BufferView_pimpl.C:
2542         * factory.C:
2543         * lyxfunc.C:
2544         * lyxtext.h:
2545         * output_latex.C:
2546         * paragraph.C:
2547         * paragraph_funcs.C:
2548         * rowpainter.[Ch]:
2549         * text.C:
2550         * text2.C:
2551         * text3.C: adjust
2552
2553 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
2554
2555         * factory.C: Syntax change for CharStyles
2556
2557 2003-11-28  André Pönitz  <poenitz@gmx.net>
2558
2559         * BufferView.[Ch]:
2560         * BufferView.[Ch]:
2561         * buffer.[Ch]:
2562         * buffer.[Ch]: move LyXText member
2563
2564 2003-11-28  André Pönitz  <poenitz@gmx.net>
2565
2566         * BufferView.[Ch]: make LyXText * text a private member
2567
2568         * BufferView_pimpl.C:
2569         * cursor.C:
2570         * iterators.C:
2571         * lyx_cb.C:
2572         * lyxfind.C:
2573         * lyxtext.h:
2574         * rowpainter.[Ch]:
2575         * text.C:
2576         * text2.C:
2577         * undo.C: adjust
2578
2579         * output_plaintext.C: cleanup
2580
2581 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2582
2583         * buffer.C:
2584         * lyxtextclass.[Ch]: parametrize SGML document header
2585
2586 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2587
2588         * converter.[Ch]:
2589         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2590         getFlavor().
2591
2592 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
2593
2594         * text2.C (setFont): rework using PosIterator (no more recursive)
2595         (setCharFont): no more needed
2596         (setLayout): no more selection cursors fiddling (done by redoCursor)
2597         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2598         destroy remaining ones)
2599
2600 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
2601
2602         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2603         * lyxtext.h: ditto
2604         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2605         selection cursors
2606         * lyxfunc.C: adjust
2607         * text3.C: adjust + re-allow multi par depth changes
2608         * textcursor.C: simplify a bit
2609
2610 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
2611
2612         * src/buffer.C:
2613         * src/lyxlayout.C:
2614         * src/lyxlayout.h:
2615         * src/lyxtext.h:
2616         * src/output_docbook.C:
2617         * src/output_latex.C:
2618         * src/paragraph.C:
2619         * src/paragraph.h:
2620         * src/sgml.C:
2621         * src/sgml.h:
2622         * src/text2.C: Introducing a number of tags parametrizing various
2623         XML formats that we may want to support
2624
2625 2003-11-25  André Pönitz  <poenitz@gmx.net>
2626
2627         * InsetList.[Ch] (begein, end): inline as suggested by profiler
2628
2629         * lyxtext.h (leftMargin/rightMargin): simplify interface
2630
2631         * rowpainter.C:
2632         * text.C:
2633         * text2.C:
2634         * text3.C: adjust
2635
2636 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2637
2638         * lyxfunc.C (dispatch): propogate the bibtex databases from the
2639         master file to any child files. Fixes bug 546.
2640
2641 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2642
2643         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2644
2645 2003-11-24  André Pönitz  <poenitz@gmx.net>
2646
2647         * rowpainter.C: simplification
2648
2649         * text2.C (updateCounters): remove call to redoParagraph on
2650         changed labels as this is far too expensive.
2651
2652 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2653
2654         * converter.C (convert): fix a crash: this function gets
2655         called with buffer == 0 from importer code.
2656
2657 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
2658
2659         * text3.C (cursorPrevious): make sure that we do not compare
2660         iterators form different containers.
2661         (cursorNext): ditto
2662
2663         * rowpainter.C (paintSelection): make sure that we do not compare
2664         iterators from different containers.
2665
2666         * text3.C (dispatch): [PRIOR] make sure that we do not compare
2667         iterators from different ParagraphList containers.
2668         [NEXT] ditto
2669
2670         * text2.C (LyXText): change order of initialization slightly
2671         (operator=): new function. copy all variables except cache_par_
2672         (moveUp): make sure that we do not compare iterators from
2673         different ParagraphList constainers.
2674         (moveDown): ditto
2675
2676         * text.C (firstPar): new function
2677         (lastPar): new function
2678         (endPar): new function
2679
2680         * lyxtext.h: move things around and group public functions, public
2681         variables, private functions, private variables
2682
2683 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
2684
2685         * factory.C: change call to InsetERT constructor to avoid
2686         additional invocation of method status
2687         * text2.C (toggleInset): remove redundant update() call
2688         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2689         instead of a Bufferview pointer
2690
2691 2003-11-21  André Pönitz  <poenitz@gmx.net>
2692
2693         * rowpainter.C: simplification
2694
2695 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2696
2697         * text3.C (dispatch): make possible to extend a word/row selection
2698         with the mouse
2699
2700 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2701
2702         * lyxtext.h: x0_,y0_ -> xo_,yo_
2703         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2704         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2705         * rowpainter.C (paintRows): paint full paragraphs
2706
2707 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2708
2709         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2710         screen coordinates)
2711
2712 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2713
2714         * lyxtext.h: add x0_, y0_
2715         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2716         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2717
2718 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
2719
2720         * text2.C (setCursorIntern): move the x_target update here *
2721         * text3.C: change some bv() to true/false in calls to
2722         cursorUp/Down/Right/Left
2723         * cursor.C: use helper function.
2724
2725 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2726
2727         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2728         * paragraph_funcs.[Ch]: correct comment
2729         * rowpainter.C: do not paint selections away from bv->cursor()
2730         Fix a long standing selection painting bug.
2731         * text3.C: generalize mouse-selection code to LyXTexts other that
2732         top one
2733         * textcursor.C: do not use y coords if we can use par offsets
2734
2735 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2736
2737         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2738         cursor position after e.g. inset insert)
2739
2740 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
2741
2742         * lyxfind.C (replace): adjust to locking removal + some
2743         code simplification
2744
2745 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
2746
2747         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2748         of the path
2749
2750 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
2751
2752         * lyxlayout.[Ch]:
2753         * output_docbook.C: XML sanitation: new layout
2754         parameters InnerTag and CommandDepth
2755
2756 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
2757
2758         * BufferView_pimpl.C:
2759         * factory.C:
2760         * text3.C: Fix the insertion and modification of button-style
2761         insets
2762
2763 2003-11-13  André Pönitz  <poenitz@gmx.net>
2764
2765         * InsetList.[Ch]: remove deleteLyXText
2766
2767         * paragraph.[Ch]: cache beginOfBody position
2768
2769         * Bidi.C:
2770         * text.C:
2771         * text2.C:
2772         * text3.C: remove superfluous update() calls
2773
2774         * vspace.C: cleanup
2775
2776 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
2777
2778         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2779         * BufferView.C (fitLockedInsetCursor): remove
2780         * cursor.[Ch] (getDim): add
2781         * text.C (getRowNearY): add faster version
2782         * text3.C: remove some update calls
2783
2784 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
2785
2786         * LaTeXFeatures.C:
2787         * LyXAction.C:
2788         * MenuBackend.C:
2789         * MenuBackend.h:
2790         * dispatchresult.h:
2791         * factory.C:
2792         * lfuns.h:
2793         * lyxfunc.C:
2794         * lyxtextclass.C:
2795         * lyxtextclass.h:
2796         * text3.C: The Character Style /XML short element patch.
2797
2798 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
2799
2800         * text3.C:
2801         * factory.C: Small step to solving 'unable to insert some insets'
2802         problem
2803
2804 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2805
2806         * cursor.[Ch] (updatePos): new function for updating the y
2807         position of the tip inset
2808         * bufferview_funcs.C (put_selection_at):
2809         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2810
2811 2003-11-11  André Pönitz  <poenitz@gmx.net>
2812
2813         * text.C: remove big comment on invalid Paragraph pointers as it is
2814         not valid anymore
2815
2816 2003-11-11  André Pönitz  <poenitz@gmx.net>
2817
2818         * text_funcs.[Ch]: merge with ...
2819
2820         * text.C: ... this
2821
2822         * lyxtext.h:
2823         * text2.C:
2824         * text3.C: adjust
2825
2826         * Makefile.am: remove text_funcs.[Ch]
2827
2828 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
2829
2830         * cursor.C (getPos): return absolute cached y coord
2831
2832         * BufferView_pimpl.C (fitCursor): new simplistic code
2833         (workAreaDispatch): add a fitCursor call
2834
2835 2003-11-10  André Pönitz  <poenitz@gmx.net>
2836
2837         * BufferView.[Ch]:
2838         * BufferView_pimpl.[Ch]: merge update() and updateInset()
2839
2840 2003-11-10  André Pönitz  <poenitz@gmx.net>
2841
2842         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2843         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2844         indicate that the cursor needs to leave an inset
2845
2846         * lyxtext.h: remove inset locking
2847
2848         * cursor.[Ch]: re-implement functionality provided by inset locking
2849
2850         * BufferView.[Ch]:
2851         * BufferView_pimpl.[Ch]:
2852         * LyXAction.C:
2853         * bufferview_funcs.[Ch]:
2854         * factory.C:
2855         * funcrequest.[Ch]:
2856         * iterators.C:
2857         * lyx_cb.C:
2858         * lyxfind.C:
2859         * lyxfunc.C:
2860         * text.C:
2861         * text2.C:
2862         * text3.C:
2863         * undo.C: adjust
2864
2865 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
2866
2867         * PosIterator.[Ch]: replace the stack with a vector, add inset
2868         accesor
2869         * iterators.[C]: adjust
2870
2871 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2872
2873         * lyxfind.C (replaceAll): mark the buffer dirty if something was
2874         replaced
2875         * paragraph_funcs.C (readParToken): put the correct id in the
2876         error item, not the id of the top paragraph
2877
2878 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2879
2880         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2881         * bufferview_funcs.C (put_selection_at): use the above
2882
2883 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2884
2885         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2886
2887 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2888
2889         * output_linuxdoc.h:
2890         * output_plaintext.h:
2891         * output.h:
2892         * output_docbook.h: add #include statements
2893
2894 2003-11-05  José Matos  <jamatos@lyx.org>
2895
2896         * output_docbook.[Ch]:
2897         * output_latex.[Ch]:
2898         * output_linuxdoc.[Ch]:
2899         * output_plaintext.[Ch]: New files for output formats.
2900         * output.[Ch]: New file for helper functions.
2901
2902         * buffer.[Ch]:
2903         * paragraph_funcs.[Ch]: output functions moved to new files.
2904
2905         * outputparams.h: rename of latexrunparams.h
2906
2907         * LaTeX.[Ch]:
2908         * buffer.[Ch]:
2909         * bufferlist.[Ch]:
2910         * converter.[Ch]:
2911         * exporter.C:
2912         * paragraph.[Ch]:
2913         * paragraph_funcs.[Ch]:
2914         * paragraph_pimpl.[Ch]:
2915         * tabular.[Ch]: rename ascii to plaintext
2916         and LatexRunParams to OutputParams.
2917
2918 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2919
2920         * iterators.[Ch] (text): require bv argument
2921         * undo.C (recordUndo):
2922         * lyxfunc.C (dispatch):
2923         * bufferview_funcs.C (put_selection_at): adjust
2924
2925 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
2926
2927         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2928
2929 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2930
2931         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2932         nestings
2933
2934 2003-11-04  André Pönitz  <poenitz@gmx.net>
2935
2936         * cursor.[Ch]: restructure
2937
2938         * BufferView.[Ch]:
2939         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2940
2941         * iterators.[Ch] (asCursor): remove
2942
2943         * lfuns.h: remove LFUN_INSET_EDIT
2944
2945         * lyxfunc.C:
2946         * tabular.C:
2947         * text.C:
2948         * text2.C:
2949         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2950
2951 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2952
2953         * lyxfind.[Ch]: complete overhaul
2954         * BufferView_pimpl.C:
2955         * lyxfunc.C: adjust
2956         * paragraph.[Ch] (insert): add
2957
2958 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2959
2960         * BufferView.[Ch]:
2961         * lyxtext.h:
2962         * text.C: remove dead spellcheck code
2963
2964 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2965
2966         * dispatchresult.h: add a val setter
2967
2968         * cursor.C (dispatch): use a tempvar for data_[i]
2969
2970 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2971
2972         * PosIterator.[Ch]: compile fix
2973
2974 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2975
2976         * text.C (cursorPar): deactivate the cursor cache
2977
2978 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2979
2980         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2981
2982 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2983
2984         * text3.C (dispatch): adjust for new DisptchResult semantics.
2985
2986         * lyxfunc.C (dispatch): handle update when return from
2987         Cursor::dispatch, adjust for new DispatchResult semantics.
2988
2989         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2990         DispatchResult(true) mean to not update. Add class functions for
2991         setting dispatched and update, as well as reading.
2992
2993         * cursor.C (dispatch): don't handle update here
2994
2995 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2996
2997         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2998         * trans_mgr.C: adjust
2999
3000         * paragraph_funcs.C (readParToken): exception safety
3001
3002         * lyxvc.h: store the vcs pointer in a scoped_ptr
3003         * lyxvc.C: adjust
3004
3005         * lyxsocket.C (serverCallback): exception safety
3006
3007         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3008
3009         * ispell.C (clone): make it return a auto_ptr
3010
3011         * factory.C (createInset): exception safety
3012         (readInset): exception safety
3013
3014         * bufferlist.C (newBuffer): exception safety
3015
3016         * Thesaurus.C (Thesaurus): use initialization for aik_
3017
3018         * MenuBackend.C (expandToc): exception safety.
3019
3020 2003-11-03  André Pönitz  <poenitz@gmx.net>
3021
3022         * buffer.C:
3023         * buffer.h:
3024         * bufferview_funcs.C: remove getInsetFromId()
3025
3026         * lyxcursor.[Ch]:
3027         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3028
3029         * lyxfunc.C:
3030         * text2.C:
3031         * text3.C: adjust
3032
3033 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3034
3035         * PosIterator.C (distance, advance): new
3036         * bufferview_funcs.[Ch] (put_selection_at): new
3037         * iterators.[Ch] (lockPath): new
3038
3039 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
3040
3041         * iterators.[Ch] (asPosIterator): added
3042         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3043         * PosIterator.[Ch]: added
3044
3045 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3046
3047         * text3.C:
3048         * lyxfunc.C:
3049         * cursor.C (dispatch):
3050         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3051
3052         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3053         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3054         contructor, add a class function dispatched. Remove operator>=
3055
3056 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3057
3058         * debug.C: only use the default constructor for debugstream
3059         (lyxerr) here.
3060
3061         * main.C (main): include debug.h and setup the lyxerr streambuf
3062         here.
3063
3064 2003-10-31  José Matos  <jamatos@lyx.org>
3065
3066         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3067
3068         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3069         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3070         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3071         * paragraph_pimpl.C (simpleTeXSpecialC):
3072         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3073         add LatexRunParams argument.
3074
3075         * exporter.C (Export): change call accordingly.
3076
3077         * latexrunparams.h: add new member to take care of the other backends.
3078 2003-10-30  José Matos  <jamatos@lyx.org>
3079
3080         * buffer.C (makeLinuxDocFile, makeDocBookFile):
3081         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3082         factorise code for paragraph output.
3083         * buffer.[Ch]:
3084         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3085         move functions.
3086
3087 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3088
3089         * text3.C (dispatch):
3090         * lyxfunc.C (dispatch):
3091         * cursor.C (dispatch):
3092         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3093
3094         * dispatchresult.h: make the dispatch_result_t ctor explicit
3095
3096 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
3097
3098         * sgml.[Ch]:
3099         * buffer.C: small refactoring of docbook stuff
3100
3101 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3102
3103         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3104         meaning.
3105
3106 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3107
3108         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3109         operator dispatch_result_t, and operators for == != and >=
3110
3111         * cursor.C (dispatch): adjust for operator dispatch_result_t
3112         removal. comment out call to update
3113
3114         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3115
3116 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3117
3118         * text3.C:
3119         * text2.C:
3120         * text.C:
3121         * lyxtext.h:
3122         * lyxfunc.C:
3123         * cursor.C:
3124         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3125         (dispatch):
3126
3127         * dispatchresult.h: new file, DispatchResult broken out of
3128         insets/insetbase.h
3129
3130         * Makefile.am (lyx_SOURCES): add dispatchresult.h
3131
3132 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3133
3134         * text.C (rowBreakPoint): put a hack inside #if 0
3135
3136 2003-10-28  André Pönitz  <poenitz@gmx.net>
3137
3138         * lyxtext.h:
3139         * metricsinfo.C:
3140         * paragraph_funcs.C:
3141         * rowpainter.C:
3142         * text.C:
3143         * text2.C: general cleanup (lots of small stuff)
3144
3145 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3146
3147         * text2.C (cursorEnd): simple fix to the "end key goes to one
3148         before the end on last row" bug
3149
3150 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3151
3152         * text.C (backspace): fix the "zombie characters"
3153
3154 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3155
3156         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3157
3158 2003-10-27  André Pönitz  <poenitz@gmx.net>
3159
3160         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3161
3162         * factory.C: handle new InsetPagebreak, InsetLine
3163
3164         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3165         and move handling into new InsetPagebreak, InsetLine
3166
3167         * BufferView_pimpl.C:
3168         * LyXAction.C:
3169         * ParagraphParameters.C:
3170         * ParameterStruct.h:
3171         * lyxfunc.C:
3172         * lyxtext.h:
3173         * paragraph.C:
3174         * paragraph.h:
3175         * paragraph_funcs.C:
3176         * paragraph_pimpl.C:
3177         * rowpainter.C:
3178         * text.C:
3179         * text2.C:
3180         * text3.C: adjust
3181
3182 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3183
3184         * text.C:
3185         * lyxrow_funcs.[Ch]:
3186         * Bidi.C:
3187         * paragraph.C:
3188         * lyxtext.h:
3189         * rowpainter.C:
3190         * text2.C:
3191         * text3.C: remove lastPos uses in favour of Row::endpos
3192
3193 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3194
3195         * undo.C (performUndoOrRedo): fix two crashes by setting a
3196         cursor by hand and reordering some calls. Use bv->lockInset instead
3197         of inset->edit because the latter loses cursor information
3198
3199 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
3200
3201         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3202         by Martin
3203         (rowBreakPoint): fix width. change point to point + 1.
3204         Add a missing check.
3205
3206 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
3207
3208         * MenuBackend.C:
3209         * lyxfunc.C: fix (at least partly) the problems
3210         with the Nav menu and headers inside branch insets
3211         reported by Kayvan
3212
3213 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
3214
3215         * paragraph.C (getChar): add strong asserts
3216
3217         * lyxrow_funcs.C (lastPos): remove hideous hack
3218
3219         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3220         (fill): adjust to that (avoid an infinite loop)
3221
3222 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3223
3224         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3225
3226 2003-10-23  André Pönitz  <poenitz@gmx.net>
3227
3228         * RowList_fwd.h: change list<> to vector<> to gain speed
3229         after suggestion from Alfredo
3230
3231 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3232
3233         * lyxtext.h: move the bidi stuff from here...
3234         * text.C: and here
3235         * text2.C: and here
3236         * Bidi.[Ch]: ... to here
3237
3238 2003-10-23  André Pönitz  <poenitz@gmx.net>
3239
3240         * lyxtext.h:
3241         * text.C (isLastRow, isFirstRow): new functions
3242
3243         * paragraph.h: new width cache member
3244
3245         * rowpainter.C: replace RowList::iterator with Row & where possible
3246
3247         * lyxfunc.C: replace several view()->text with a single call
3248
3249         * toc.C: fix 'unused' warning
3250
3251 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3252
3253         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3254         when woring with stream::pos_type
3255         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3256
3257 2003-10-22  André Pönitz  <poenitz@gmx.net>
3258
3259         * lyxtext.h:
3260         * text.C: use Row & instead of RowList::iterator
3261
3262         * lyxrow.h: rename end() to endpos()
3263
3264         * rowpainter.C:
3265         * text.C:
3266         * text2.C: adjust
3267
3268 2003-10-22  Angus Leeming  <leeming@lyx.org>
3269
3270         * buffer.[Ch] (fully_loaded): new member function, returning true
3271         only when the file has been loaded fully.
3272         Used to prevent the premature generation of previews and by the
3273         citation inset to prevent computation of the natbib-style label.
3274
3275         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3276         templates are all set up.
3277
3278         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3279
3280 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
3281
3282         * text.C: fixed an "oops" in the "is a bit silly"
3283         bug fix
3284
3285 2003-10-21  André Pönitz  <poenitz@gmx.net>
3286
3287         * FuncStatus.[Ch]: small stuff, whitespace
3288
3289         * lyxfont.[Ch]: operator<<() for debug reasons
3290
3291         * lyxfunc.C:
3292         * lyxrow_funcs.C:
3293         * lyxtext.h: whitespace, spelling
3294
3295         * paragraph.C: naming of variables
3296
3297         * text.C:
3298         * text2.C: small stuff
3299
3300
3301 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
3302
3303         * text.C: (1) finish off the inset display() work;
3304         (2) fix the "is a bit silly" bug (accessing char
3305         past end of par).
3306
3307 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
3308
3309         * text.C: re-introduce display() for insets, fixing the
3310         various bugs (stretch of line above, math inset
3311         positioning, ...)
3312
3313 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3314
3315         * text.C (rightMargin): remove spurious semicolon
3316
3317         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3318         1415)
3319
3320 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
3321
3322         * text3.C: fix one crash due to wrong cursor def
3323
3324 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3325
3326         * vc-backend.C (scanMaster): make the regex static
3327
3328         * LaTeX.C (scanAuxFile): make the regexs static
3329
3330         * text3.C (doInsertInset, dispatch, dispatch):
3331         * text2.C (cursorUp, cursorDown):
3332         * text.C (selectNextWordToSpellcheck):
3333         * BufferView_pimpl.C (dispatch):
3334         * lyxfunc.C (dispatch):  localDispatch -> dispatch
3335
3336 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3337
3338         * lyxsocket.C: include <cerrno>
3339
3340 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3341
3342         * lyxfunc.C (dispatch): remove textcache stuff
3343
3344         * bufferlist.C (release): remove textcache stuff
3345         (closeAll): ditto
3346
3347         * TextCache.C: delete file
3348         * TextCache.h: delete file
3349
3350         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3351
3352         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3353         delete of the bv_->text.
3354         (resizeCurrentBuffer): remove texcache stuff
3355         (workAreaResize): ditto
3356
3357 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3358
3359         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3360         action.
3361
3362 2003-10-16  André Pönitz  <poenitz@gmx.net>
3363
3364         * lyxrow.[Ch]:
3365         * paragraph.h:
3366         * rowpainter.C:
3367         * text.C:
3368         * text2.C:
3369         * text3.C: speed up by storing y positions per paragraph plus per-row
3370         offset instead of having a 'full' y position in the row.
3371
3372 2003-10-15  André Pönitz  <poenitz@gmx.net>
3373
3374         * iterators.[Ch]:
3375         * iterators.[Ch]:
3376         * undo.[Ch]: make undo aware of inner insets
3377
3378 2003-10-14  Angus Leeming  <leeming@lyx.org>
3379
3380         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3381         static member functions LyX::ref() and LyX::cref.
3382         (lastfiles): new accessor functions for the new lastfiles_ member var.
3383         (addLyXView, views_): add a new LyXView to the list of views_.
3384         (updateInset): loop over all LyXViews to call their own updateInset
3385         member function, returning a pointer to the Buffer owning the inset.
3386
3387         * BufferView_pimpl.C (loadLyXFile):
3388         * MenuBackend.C (expandLastfiles):
3389         * bufferlist.C (MenuWrite, QuitLyX):
3390         lastfiles is no longer a global variable.
3391         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3392
3393         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3394         static function. Access through LyX::cref().emergencyCleanup().
3395
3396 2003-10-14  André Pönitz  <poenitz@gmx.net>
3397
3398         * iterators.[Ch]: new direct access to innermost LyXText and Inset
3399
3400         * undo.[Ch]: restoring part of 'undo in insets'
3401
3402         * Makefile.am:
3403         * undo_funcs.[Ch]: merge with undo.[Ch]
3404
3405         * tabular.C: small cleansing stuff
3406
3407 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
3408
3409         * paragraph_funcs.C (readParToken): report unknown insets as error
3410         boxes. Use the outer paragraph as location (also for unknown
3411         tokens).
3412
3413         * factory.C (readInset): do not abort on reading an unknown inset.
3414         Eat it and return 0.
3415
3416 2003-10-13  Angus Leeming  <leeming@lyx.org>
3417
3418         * lyx_main.C (LyX): remove call to setDisplayTranslator().
3419
3420         * lyxrc.C: displayTranslator is now a function,
3421         declared in GraphicsTypes.h.
3422
3423 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3424
3425         * format.C: new placeholder $$a to pass the socket address.
3426
3427         * bufferlist.[Ch]: new function getBufferFromTmp.
3428
3429         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3430           files in the temporary dir.
3431
3432 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3433
3434         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3435
3436         * Makefile.am: add lyxsocket.[Ch].
3437
3438         * lyx_main.C (error_handler): handle SIGPIPE.
3439
3440 2003-10-13  André Pönitz  <poenitz@gmx.net>
3441
3442         * BufferView_pimpl.C:
3443         * lyxtext.h:
3444         * text.C:
3445         * text2.C:
3446         * text3.C:
3447         * undo_funcs.[Ch]: use paroffset_type instead of
3448           ParagraphList::iterators to prevent multiple conversion
3449           (and get a more robust interface)
3450
3451 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3452
3453         * lyxfunc.C (dispatch): RESULT -> dispatch_result
3454         * lyxtext.h: ditto
3455         * text3.C (dispatch): ditto
3456
3457 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3458
3459         * LaTeX.C (handleFoundFile): move the static to smaller scope,
3460         move the onlyfile, use onlyfile instead of foundfile in a couple
3461         of places.
3462
3463         * DepTable.C (update): flush the error stream a bit more
3464
3465 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3466
3467         * lyxserver.C (callback): adjust
3468
3469         * lyxfunc.C (getStatus): add a missing brace in commented code
3470         (ensureBufferClean): reindent
3471         (dispatch): delete version taking a string
3472
3473 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3474
3475         * LaTeX.C (deplog): move found file handlig from here...
3476         (handleFoundFile): .. to new function here.
3477         (deplog): make sure to discover several files mentioned on the
3478         same log line.
3479
3480 2003-10-10  André Pönitz  <poenitz@gmx.net>
3481
3482         * lyxfunc.C:
3483         * lyxtext.h:
3484         * tabular.C:
3485         * text.C:
3486         * text2.C:
3487         * text3.C: fix some of the tabular crashes
3488
3489 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3490
3491         * MenuBackend.C (binding): put debug message into Debug::KBMAP
3492
3493         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3494
3495 2003-10-09  André Pönitz  <poenitz@gmx.net>
3496
3497         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3498
3499         * BufferView.C:
3500         * BufferView_pimpl.C:
3501         * bufferview_funcs.C:
3502         * lyx_cb.C:
3503         * lyxcursor.C:
3504         * lyxfind.C:
3505         * lyxfunc.C:
3506         * lyxtext.h:
3507         * text.C:
3508         * text2.C:
3509         * text3.C:
3510         * text_funcs.[Ch]:
3511         * textcursor.[Ch]:
3512         * undo_funcs.C: adjust
3513
3514 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3515
3516         * text2.C (incrementItemDepth): new function, use a backtracking
3517         algorithm to discover the correct item depth.
3518         (resetEnumCounterIfNeeded): new function, use a backtracking
3519         algorithm to discover if counter reset is needed.
3520         (setCounter): use them. Simplify a bit. Add different labels for
3521         different item depths for itemize.
3522
3523         * paragraph.C (Paragraph): remove initialization of enumdepth
3524         (operator=): ditto
3525
3526         * paragraph.h: get rid of enumdepth, and use itemdepth both for
3527         enumerate and itemize. Change the type of itemdepth to signed char.
3528
3529 2003-10-08  André Pönitz  <poenitz@gmx.net>
3530
3531         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3532           thing assignable.
3533         * text.C:
3534         * text2.C: adjust
3535
3536         * tabular.[Ch]: fix crash after 'row-insert'
3537
3538 2003-10-08  Angus Leeming  <leeming@lyx.org>
3539
3540         Fix doxygen warnings.
3541
3542         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3543         Remove CutAndPaste:: prefix from header file declaration.
3544
3545         * LColor.h (fill): remove LColor:: prefix from declaration.
3546
3547         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3548         use lyx::depth_type rather than Paragraph::depth_type so that
3549         header file and .C file match.
3550
3551         * converter.h (intToFormat): remove Converters:: prefix from declaration.
3552
3553         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3554         * aspell.C: \file aspell_local.C -> \file aspell.C
3555         * gettext.C: \file gettext.C -> \file src/gettext.C
3556         * gettext.h: \file gettext.h -> \file src/gettext.h
3557         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3558         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3559         * text.C: \file text.C -> \file src/text.C
3560
3561         * toc.C: move comment so that doxygen is not confused.
3562
3563 2003-10-07  Angus Leeming  <leeming@lyx.org>
3564
3565         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3566
3567 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3568
3569         * aspell.C:
3570         * aspell_local.h: add forgotten std::string's.
3571
3572 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3573
3574         * LaTeXFeatures.C:
3575         * LyXAction.C:
3576         * factory.C:
3577         * lfuns.h:
3578         * lyxfunc.C:
3579         * text3.C: The Box patch. Fancybox support, minipage, parbox
3580
3581 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3582
3583         * CutAndPaste.h:
3584         * DepTable.h:
3585         * FloatList.h:
3586         * LaTeXFeatures.h:
3587         * ParagraphParameters.h:
3588         * TextCache.h:
3589         * Thesaurus.h:
3590         * bufferlist.h:
3591         * exporter.h:
3592         * importer.h:
3593         * lastfiles.h:
3594         * lyxfind.h:
3595         * lyxfont.h:
3596         * lyxlex.h:
3597         * lyxtextclasslist.h:
3598         * messages.h:
3599         * paragraph.h:
3600         * paragraph_pimpl.C:
3601         * textcursor.h: add <string> and other small fixes to make Lars'
3602         std::string patch compile with STLport.
3603
3604 2003-10-06  Angus Leeming  <leeming@lyx.org>
3605
3606         * LColor.h: Add missing #include <string>.
3607
3608 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3609
3610         * All most all file in all subdirs: Make <string> be the prefered
3611         way of getting to std::string, add using declarations.
3612
3613 2003-10-06  André Pönitz  <poenitz@gmx.net>
3614
3615         * metricsinfo.C: initialize LyXFont before changing attribute.
3616         (fixes the 'math in \emph is upright' bug)
3617
3618 2003-10-06  André Pönitz  <poenitz@gmx.net>
3619
3620         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3621
3622 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
3623
3624         * graph.C:
3625         * paragraph_pimpl.C: Small fixes to build using STLport
3626
3627 2003-10-02  André Pönitz  <poenitz@gmx.net>
3628
3629         * lyxfunc.C:
3630         * text3.C: move handling of LFUN_DEPTH *; fix #1360
3631
3632 2003-10-01  André Pönitz  <poenitz@gmx.net>
3633
3634         * factory.C: assert early
3635
3636 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3637
3638         * lyx_main.C: remove the global debug object
3639
3640         * debug.h: adjust for new debugstream
3641
3642         * debug.C: adjust for new debugstream and keep the global debug
3643         object here.
3644
3645 2003-09-22  Angus Leeming  <leeming@lyx.org>
3646
3647         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3648         of g++ which otherwise complain that the scoped_ptr destructor can't delete
3649         an incomplete class LyXFont.
3650
3651 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
3652
3653         * factory.C: bug fix in branches
3654
3655 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3656
3657         * lyxfunc.C (processKeySym): adjust
3658         (dispatch): adjust
3659         (dispatch): change arg name from ev to func, adjust
3660         (sendDispatchMessage): ditto
3661
3662         * lyx_main.C (defaultKeyBindings): adjust keybindings
3663         (deadKeyBindings): ditto
3664
3665         * kbsequence.C (addkey): return a FuncRequest
3666
3667         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3668
3669         * kbmap.C (bind): take a FuncRequest as arg, adjust
3670         (read): adjust
3671         (lookup): adjust
3672         (defkey): change to take a FuncRequest as arg, adjust
3673         (findbinding): take a FuncRequest as arg, adjust.
3674
3675         * funcrequest.h (operator=): added
3676
3677         * funcrequest.C (FuncRequest): default kb_action changed from
3678         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3679
3680         * buffer.C (dispatch): simplify
3681         (dispatch): adjust to take a FuncRequest as arg, adjust
3682
3683         * boost.C (assertion_failed): change assertion message slightly
3684
3685         * ToolbarBackend.C (read): simplify
3686
3687         * MenuBackend.C (binding): adjust call to findbinding, add a
3688         message if no binding is found.
3689         (read): simplify
3690         (expandToc): correct by adding a empty FuncRequest
3691
3692         * LyXAction.C: include <boost/assert.hpp>
3693         (isPseudoAction): delete function
3694         (LookupFunc): change name to...
3695         (lookupFunc): this. change return type to FuncRequest.
3696         (getActionName): take kb_action as arg, simplify
3697         (funcHasFlag): add an assert, simplify.
3698
3699 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3700
3701         * toc.C (action): return a FuncRequest, simplify
3702
3703         * lyxfunc.C (processKeySym): adjust
3704         (getStatus): delete version that takes an int.
3705         (getStatus): adjust
3706         (dispatch): delete version that takes action as int
3707         (dispatch): adjust
3708         (sendDispatchMessage): simplify and adjust
3709
3710         * funcrequest.C (getArg): take unsigned int as arg
3711
3712         * ToolbarBackend.C (read): adjust
3713         (add): delete version that takes func as a string.
3714         (getIton): take a FuncRequest as arg
3715
3716         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3717         action.
3718
3719         * MenuBackend.C (MenuItem): add a new construct that only takes a
3720         Kind, simplify the constructor use for submenus.
3721         (add): adjust
3722         (expandLastfiles): adjust
3723         (expandDocuments): adjust
3724         (expandFormats): adjust
3725         (expandFloatListInsert): adjust
3726         (expandFloatInsert): adjust
3727         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3728
3729         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3730         Remove class variables lyx_pseudo_map and lyx_arg_map
3731
3732         * LyXAction.C (searchActionArg): delete function
3733         (getPseudoAction): delete function
3734         (retrieveActionArg): delete function
3735         (LookupFunc): make it return kb_action, simplify.
3736         (getActionName): simplify
3737
3738         * factory.C (createInset): fix new bug
3739
3740 2003-09-19  Angus Leeming  <leeming@lyx.org>
3741
3742         * CutAndPaste.C (pasteSelection): remove fudge used to set the
3743         masterFilename_ parameter in the include inset.
3744
3745         * factory.C (createInset): changes due to the changes to InsetInclude.
3746
3747 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3748
3749         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3750
3751 2003-09-18  Angus Leeming  <leeming@lyx.org>
3752
3753         * buffer.C:
3754         * BufferView.C: pass the buffer when calling Inset::getLabelList,
3755         Inset::fillWithBibKeys.
3756         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3757
3758 2003-09-18  Angus Leeming  <leeming@lyx.org>
3759
3760         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3761         variables.
3762         (ctor): pass and store a 'Buffer const &'
3763         (buffer): new member function.
3764
3765         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3766         '*this' to the LaTeXFeatures ctor.
3767
3768 2003-09-18  Angus Leeming  <leeming@lyx.org>
3769
3770         * LColor.h:
3771         * lyxfont.C:
3772         * lyxfont.h:
3773         * lyxtext.h:
3774         * text.C: rename EnumLColor as LColor_color.
3775
3776 2003-09-18  Angus Leeming  <leeming@lyx.org>
3777
3778         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3779         remove #include "insets/insetbase.h" from cursor.h.
3780
3781 2003-09-18  Angus Leeming  <leeming@lyx.org>
3782
3783         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3784         InsetOld_code to remove #include "inset.h".
3785
3786         * iterators.C: add #include "insets/inset.h"
3787
3788 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
3789
3790         * BufferView.C: remove more locking stuff that apparently doesn't
3791         do anything sensible.
3792
3793 2003-09-16  André Pönitz  <poenitz@gmx.net>
3794
3795         * paragraph.[Ch]:
3796         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3797           performance boost.
3798
3799 2003-09-16  Angus Leeming  <leeming@lyx.org>
3800
3801         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3802
3803         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3804         arg/return type.
3805
3806         * paragraph.h: remove #include "lyxfont.h". Forward declare
3807         LyXFont_size.
3808
3809 2003-09-16  Angus Leeming  <leeming@lyx.org>
3810
3811         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3812         of support/textutils.h.
3813         (isWord): move the contents of support/textutils.h's IsWordChar here.
3814
3815         * buffer.C:
3816         * lyxfind.C:
3817         * rowpainter.C:
3818         * text.C:
3819         * text2.C: add #include "paragraph.h".
3820
3821         * rowpainter.C:
3822         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3823
3824 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3825
3826         * main.C:
3827         * lyx_main.C:
3828         * lyx_cb.C:
3829         * buffer.C:
3830         * LaTeX.C: use namespace alias for lyx::support::os
3831
3832 2003-09-16  Angus Leeming  <leeming@lyx.org>
3833
3834         * bufferparams.C:
3835         * bufferview_funcs.C:
3836         * factory.C:
3837         * lyxfunc.C:
3838         * paragraph_pimpl.C:
3839         * rowpainter.C:
3840         * text.C: add #include "LColor.h".
3841
3842 2003-09-16  Angus Leeming  <leeming@lyx.org>
3843
3844         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3845         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3846         return LyXFont &.
3847         Store the FontBits::color variable as an int rather than as an
3848         LColor::colorso that we can move LColor.h out of the lyxfont.h header
3849         file.
3850
3851         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3852         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3853         string calls together.
3854
3855         * lyxrc.C: add #include "LColor.h".
3856
3857 2003-09-15  Angus Leeming  <leeming@lyx.org>
3858
3859         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3860         a cow_ptr.
3861
3862 2003-09-15  Angus Leeming  <leeming@lyx.org>
3863
3864         * LColor.h: add an EnumLColor wrapper for LColor::color.
3865
3866         * lyxfont.[Ch] (color, setColor, realColor):
3867         * lyxtext.h, text.C (backgroundColor):
3868         pass EnumLColor args to/from the functions, rather than LColor::color
3869         ones.
3870
3871         * lyxfont.h:
3872         * lyxtext.h: forward declare EnumLColor.
3873
3874         * lyx_main.C: add #include "LColor.h".
3875
3876 2003-09-15  Angus Leeming  <leeming@lyx.org>
3877
3878         * .cvsignore: add lyx-gtk.
3879
3880 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3881
3882         * Chktex.C
3883         * LaTeX.C
3884         * LaTeXFeatures.C
3885         * ParagraphParameters.C
3886         * Spacing.C
3887         * buffer.C
3888         * bufferparams.C
3889         * bufferview_funcs.C
3890         * chset.C
3891         * counters.C
3892         * funcrequest.C
3893         * lyxfont.C
3894         * lyxgluelength.C
3895         * lyxlength.C
3896         * paragraph.C
3897         * paragraph_funcs.C
3898         * text3.C
3899         * vc-backend.C: remove usage of STRCONV
3900
3901 2003-09-15  Angus Leeming  <leeming@lyx.org>
3902
3903         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3904         explicitly define the color passed to the painter.
3905
3906 2003-09-15  Angus Leeming  <leeming@lyx.org>
3907
3908         * bufferparams.C (BufferParams): reorder member initializers to avoid
3909         compiler warning.
3910
3911 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
3912
3913         * CutAndPaste.C (pasteSelection): remove an outdated #warning
3914         * text.C (updateRowPositions): remove an unusual nop
3915
3916 2003-09-12  André Pönitz  <poenitz@gmx.net>
3917
3918         * BufferView_pimpl.C:
3919         * Bullet.C:
3920         * layout.h:
3921         * lyxfunc.C:
3922         * lyxlayout.[Ch]:
3923         * lyxtextclass.C:
3924         * rowpainter.C:
3925         * text.C:
3926         * text2.C:
3927         * Counters.[Ch]: finish the 'automatic counters' job
3928
3929 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3930
3931         * aspell.C: include <boost/assert.cpp> (compile fix)
3932
3933 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
3934
3935         * boost.C (assertion_failed): use lyx::support::abort instead of
3936         assert.
3937
3938 2003-09-10  Angus Leeming  <leeming@lyx.org>
3939
3940         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3941         with their _fwd progeny.
3942
3943 2003-09-09  Angus Leeming  <leeming@lyx.org>
3944
3945         134 files throughtout the source tree: replace 'using namespace abc;'
3946         directives with the appropriate 'using abc::xyz;' declarations.
3947
3948 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3949
3950         * boost.C (emergencyCleanup): moved here from LAssert.c
3951         (assertion_failed): new function, called by BOOST_ASSERT
3952
3953         * several files: change Assert to BOOST_ASSERT
3954
3955 2003-09-09  Angus Leeming  <leeming@lyx.org>
3956
3957         * buffer.[Ch]: Add an Impl class and move Buffer's member
3958         variables into it. As a result move several header files out of
3959         buffer.h.
3960
3961         Add header files to lots of .C files all over the tree as a result.
3962
3963 2003-09-09  Angus Leeming  <leeming@lyx.org>
3964
3965         * buffer.[Ch]: make Buffer's member variables private. Add
3966         accessor functions.
3967
3968         Lots of changes all over the tree as a result.
3969
3970 2003-09-08  Angus Leeming  <leeming@lyx.org>
3971
3972         * graph.C: #include <config.h>.
3973
3974 2003-09-08  Angus Leeming  <leeming@lyx.org>
3975
3976         * BranchList.C:
3977         * BufferView.C:
3978         * BufferView_pimpl.C:
3979         * CutAndPaste.C:
3980         * DepTable.C:
3981         * LaTeX.C:
3982         * LaTeXFeatures.C:
3983         * LyXAction.C:
3984         * MenuBackend.C:
3985         * TextCache.C:
3986         * aspell.C:
3987         * buffer.C:
3988         * bufferlist.C:
3989         * changes.C:
3990         * chset.C:
3991         * converter.C:
3992         * counters.C:
3993         * debug.C:
3994         * graph.C:
3995         * ispell.C:
3996         * lyx_cb.C:
3997         * lyxfind.C:
3998         * lyxfunc.C:
3999         * lyxlex_pimpl.C:
4000         * lyxrc.C:
4001         * lyxrow.C:
4002         * paragraph.C:
4003         * rowpainter.C:
4004         * texrow.C:
4005         * text.C:
4006         * text2.C:
4007         * toc.C: remove redundant using directives.
4008
4009 2003-09-07  Angus Leeming  <leeming@lyx.org>
4010
4011         * LaTeXFeatures.h: remove #include "support/types.h".
4012         * ToolbarBackend.h: remove #include <algorithm>.
4013         * changes.h: remove #include <ctime>.
4014         * debug.h: remove #include <iosfwd>.
4015         * graph.h: remove #include "support/std_string.h".
4016         * lyx_main.h: remove #include <csignal>.
4017         * lyxlex_pimpl.h: remove #include <fstream>.
4018         * sgml.h: remove #include <algorithm>, <utility>.
4019         * toc.h: remove #include "support/std_ostream.h".
4020         Add #include <iosfwd>.
4021
4022 2003-09-07  Angus Leeming  <leeming@lyx.org>
4023
4024         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4025
4026         * converter.h: forward declare LatexRunParams.
4027         * encoding.h: remove #include "lyxrc.h".
4028         * lyxtext.h: remove #include "LColor.h".
4029         * lyxtextclass.h: remove #include "support/types.h".
4030         * trans.h: remove #include "tex-accent.h".
4031         * trans_mgr.h: remove #include "tex-accent.h".
4032         * insets/inset.h: remove #include "support/types.h", <vector>.
4033         * insets/insetcollapsable.h: remove #include "LColor.h".
4034         * insets/insetinclude.h: remove #include "dimension.h".
4035         * insets/insetlatexaccent.h: remove #include "dimension.h".
4036         * insets/insetoptarg.h:: remove #include "insettext.h".
4037         * insets/insettext.h: remove #include "dimension.h",
4038         <boost/shared_ptr.hpp>
4039
4040         * insets/renderers.h: add #include "dimension.h".
4041         * insets/updatableinset.h: add #include "support/types.h".
4042
4043         * many .C files: Associated changes.
4044
4045 2003-09-06  Angus Leeming  <leeming@lyx.org>
4046
4047         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4048         one, inside testInvariant.
4049
4050         * PrinterParams.C: new file.
4051         * PrinterParams.[Ch]: move the function bodies out of line.
4052
4053 2003-09-06  Angus Leeming  <leeming@lyx.org>
4054
4055         * ParagraphParameters.h: forward declare ParameterStruct rather than
4056         including its header file.
4057         (depth): moved out-of-line.
4058
4059 2003-09-06  Angus Leeming  <leeming@lyx.org>
4060
4061         * BufferView_pimpl.h:
4062         * kbmap.h:
4063         * kbsequence.h:
4064         * lyxfunc.h: forward declare LyXKeySym rather than
4065         #include "frontends/LyXKeySym.h".
4066
4067         * BufferView_pimpl.C:
4068         * kbmap.C:
4069         * kbsequence.C:
4070         * lyxfunc.C: associated changes.
4071
4072 2003-09-06  Angus Leeming  <leeming@lyx.org>
4073
4074         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4075         As a result, can remove the #include "insets/inset.h" from BufferView.h
4076
4077 2003-09-06  Angus Leeming  <leeming@lyx.org>
4078
4079         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4080         As a result, can remove the #include "insets/inset.h" from BufferView.h
4081
4082 2003-09-06  Angus Leeming  <leeming@lyx.org>
4083
4084         * buffer_funcs.C:
4085         * buffer.h:
4086         * bufferlist.C:
4087         * BufferView.C:
4088         * bufferview_funcs.C:
4089         * BufferView_pimpl.C:
4090         * CutAndPaste.C:
4091         * lyx_cb.C:
4092         * lyxfunc.C:
4093         * paragraph.h:
4094         * ParagraphParameters.C:
4095         * tabular.C:
4096         * text3.C:
4097         * toc.C:
4098         * undo_funcs.C:
4099         * frontends/controllers/ControlDocument.C:
4100         * insets/insetcaption.C: rearrange the #includes into some sort of
4101         coherent order.
4102
4103         * buffer.h: remove #includes ErrorList.h, undo.h
4104
4105 2003-09-06  Angus Leeming  <leeming@lyx.org>
4106
4107         * support/types.h: add a 'depth_type' typedef, used to store the
4108         nesting depth of a paragraph.
4109
4110         * paragraph.h:
4111         * ParameterStruct.h: use this lyx::depth_type typedef rather than
4112         defining explicitly.
4113
4114         * buffer.h:
4115         * paragraph_funcs.h:
4116         * ParagraphParameters.h:
4117         * sgml.h: use lyx::depth_type rather than Paragraph or
4118         ParameterStruct's depth_type.
4119
4120         * buffer.h
4121         * paragraph_funcs.h: no need to #include paragraph.h anymore.
4122
4123         * BufferView.C:
4124         * BufferView_pimpl.C:
4125         * CutAndPaste.C:
4126         * ParagraphParameters.C:
4127         * buffer_funcs.C:
4128         * bufferlist.C:
4129         * bufferview_funcs.C:
4130         * lyx_cb.C:
4131         * lyxfunc.C:
4132         * tabular.C:
4133         * text3.C:
4134         * toc.C:
4135         * undo_funcs.C:
4136         * frontends/LyXView.C:
4137         * frontends/controllers/ControlDocument.C:
4138         * frontends/controllers/ControlErrorList.C:
4139         * insets/insetbibitem.C:
4140         * insets/insetbranch.C:
4141         * insets/insetcaption.C:
4142         * insets/insetcollapsable.C:
4143         * insets/insetenv.C:
4144         * insets/insetert.C:
4145         * insets/insetfloat.C:
4146         * insets/insetfoot.C:
4147         * insets/insetfootlike.C:
4148         * insets/insetnewline.C:
4149         * insets/insetquotes.C:
4150         * insets/insettabular.C:
4151         * insets/insettext.C:
4152         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4153
4154         * frontends/controllers/ControlChanges.C: #include "changes.h".
4155
4156 2003-09-06  Angus Leeming  <leeming@lyx.org>
4157
4158         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4159         than #including paragraph.h.
4160
4161         * ParagraphList.h:
4162         * RowList.h: deleted. Superfluous.
4163
4164         * CutAndPaste.h:
4165         * iterators.h:
4166         * lyxcursor.h:
4167         * lyxtext.h:
4168         * text_funcs.h:
4169         * undo.h:
4170         * undo_funcs.h:
4171         * insets/inset.h:
4172         * insets/insettext.h: use ParagraphList_fwd.h rather than
4173         ParagraphList.h.
4174
4175         * paragraph.h: don't forward declare ParagraphList.
4176
4177         * buffer.h:
4178         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4179         rather than ParagraphList.h. paragraph.h is still needed for the
4180         Paragraph::depth_type parameters.
4181
4182         * textcursor.h: enable it to compile stand-alone in light of the
4183         above changes.
4184
4185         * bufferview_funcs.C:
4186         * iterators.C:
4187         * lyxfunc.C:
4188         * lyxrow_funcs.C:
4189         * paragraph.C:
4190         * rowpainter.C:
4191         * text.C:
4192         * text2.C:
4193         * text3.C:
4194         * text_funcs.C:
4195         * textcursor.C:
4196         * undo.C:
4197         * frontends/controllers/ControlParagraph.C:
4198         * frontends/controllers/ControlTabular.C:
4199         * insets/insetmarginal.C:
4200         * insets/insetminipage.C:
4201         * insets/insetnote.C:
4202         * insets/insetoptarg.C: add header files needed to compile again.
4203
4204 2003-09-06  Angus Leeming  <leeming@lyx.org>
4205
4206         * RowList_fwd.h: new file, forward-declaring Row rather than
4207         #including lyxrow.h.
4208
4209         * lyxrow_funcs.h:
4210         * lyxtext.h:
4211         * paragraph.h:
4212         * insets/insettext.h: use it instead of RowList.h
4213
4214         * bufferview_funcs.C:
4215         * lyxfunc.C:
4216         * lyxrow_funcs.C:
4217         * paragraph.C:
4218         * rowpainter.C:
4219         * text.C:
4220         * text2.C:
4221         * text3.C: #include "RowList.h".
4222
4223 2003-09-05  Angus Leeming  <leeming@lyx.org>
4224
4225         * factory.C (createInset):
4226         * vspace.C (c-tor): replace sscanf call with an istringstream.
4227         * ispell.C: re-add missing HP/UX headers.
4228         * lyxserver.C: re-add missing  os2 headers.
4229
4230 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
4231
4232         * BranchList.C:
4233         * graph.C:
4234         * ispell.C:
4235         * lastfiles.C:
4236         * lyx_cb.C:
4237         * lyxserver.C:
4238         * texrow.C:
4239         * text3.C: re-add missing system headers, needed for 2.95.2.
4240
4241 2003-09-05  Angus Leeming  <leeming@lyx.org>
4242
4243         Changes most place everywhere due to the removal of using directives
4244         from support/std_sstream.h.
4245
4246 2003-09-05  Angus Leeming  <leeming@lyx.org>
4247
4248         Replace LString.h with support/std_string.h,
4249         Lsstream.h with support/std_sstream.h,
4250         support/LIstream.h with support/std_istream.h,
4251         support/LOstream.h with support/std_ostream.h.
4252
4253         Changes resulting throughout the tree.
4254
4255 2003-09-05  Angus Leeming  <leeming@lyx.org>
4256
4257         * sgml.h: ensure that the header file can be compiled stand-alone.
4258         * *.C: strip out redundant #includes. (320 in total.)
4259
4260 2003-09-04  Angus Leeming  <leeming@lyx.org>
4261
4262         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4263         here (from getPackages).
4264
4265         * debug.[Ch]: add a new EXTERNAL tag.
4266
4267 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4268
4269         * text2.C (cursorEnd): simplify
4270         (setCursor): adjust
4271         (getColumnNearX): adjust
4272
4273         * text.C (computeBidiTables): adjust
4274         (fill): adjust
4275
4276         * rowpainter.C (paintChars): adjust
4277         (paintSelection): adjust
4278         (paintChangeBar): adjust
4279         (paintText): adjust
4280
4281         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4282         lastPos instead.
4283         (numberOfSeparators): adjust
4284
4285 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4286
4287         * LyXAction.C:
4288         * box.[Ch]:
4289         * lfuns.h:
4290         * lyxfunc.C:
4291         * text3.C: Restricts the mouse click functionality
4292         of insets like bibtex, include, toc and floatlist to the visible
4293         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4294         up the dialogs. Cursor has to be in front of the inset (i.e.
4295         start of row) for this to function.
4296
4297 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4298
4299         * bufferview_funcs.C (currentState): output row information
4300
4301 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4302
4303         * bufferview_funcs.C (currentState): output paragraph position
4304
4305 2003-09-04  Angus Leeming  <leeming@lyx.org>
4306
4307         * FloatList.h: move out #include "Floating.h".
4308         * LaTeX.h: move out #include "DepTable.h".
4309         * LyXAction.h: move out #include "funcrequest.h".
4310         * buffer.h: move out #include "author.h", "iterators.h".
4311         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4312         * lyx_main.h: move out #include "errorlist.h".
4313         * lyxfunc.h: move out #include "FuncStatus.h".
4314         * lyxtext: move out #include "lyxcursor.h".
4315         * paragraph_pimpl.h: move out #include "counters.h".
4316
4317 2003-09-03  Angus Leeming  <leeming@lyx.org>
4318
4319         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4320         preamble_snippets list, enabling us to add snippets to the preamble
4321         only if the snippet was not there already.
4322
4323 2003-09-04  Angus Leeming  <leeming@lyx.org>
4324
4325         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4326
4327 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4328
4329         * lyxfunc.C (dispatch): if fitCursor did something be sure to
4330         update
4331
4332 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4333
4334         * BranchList.C: point fix, earlier forgotten
4335
4336 2003-09-02  Angus Leeming  <leeming@lyx.org>
4337
4338         * box.C (contains): renamed from 'contained' after a fantastic
4339         amount of hot air.
4340
4341 2003-09-02  John Levon  <levon@movementarian.org>
4342
4343         * BufferView.C:
4344         * lyxcursor.h:
4345         * lyxcursor.C:
4346         * lyxfunc.C:
4347         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4348
4349 2003-09-02  John Levon  <levon@movementarian.org>
4350
4351         * text2.C: simplification of cursorEnd(), including partial
4352         fix for bug 1376
4353
4354 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4355
4356         * buffer.C (readFile): add a space
4357
4358 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
4359
4360         * BufferView_pimpl.C (update): remove bogus fitCursor() call
4361
4362 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4363
4364         * buffer.C (readFile): new function, take a filename and a
4365         ParagraphList::iterator
4366         (readFile): adjust
4367         (readFile): adjust, make it private. don't use setStream, make
4368         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4369         always contain the filename.
4370
4371         * BufferView.C (insertLyXFile): simplify and make it work for
4372         gzipped files.
4373
4374 2003-08-30  John Levon  <levon@movementarian.org>
4375
4376         * Makefile.am: fix dist (from Kayvan)
4377
4378 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4379
4380         * most files: change to use const Buffer refs
4381
4382 2003-08-27  André Pönitz  <poenitz@gmx.net>
4383
4384         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4385         on top of ownerPar().
4386
4387 2003-08-27  John Levon  <levon@movementarian.org>
4388
4389         * funcrequest.C: properly initialise POD members
4390
4391 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4392
4393         * lyxtext.h (top_y): move top_y from here
4394         * text.C:
4395         * text2.C:
4396         * text3.C:
4397         * BufferView.[Ch]:
4398         * BufferView_pimpl.[Ch]: to here
4399         * frontends/screen.C:
4400         * insets/insettabular.C:
4401         * insets/insettext.C: adjust
4402         * rowpainter.[Ch] (paintRows): remove LyXText & argument
4403
4404 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4405
4406         * BufferView.[Ch]:
4407         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4408
4409 2003-08-26  André Pönitz  <poenitz@gmx.net>
4410
4411         * paragraph_func.[Ch] (outerPar): new function
4412
4413         * paragraph.C:
4414         * paragraph_funcs.C:
4415         * paragraph_funcs.h:
4416         * paragraph_pimpl.C:
4417         * text2.C: remove Inset::par_owner
4418
4419 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
4420
4421         * lyxrow_funcs.C:
4422         * lyxtext.h:
4423         * text.C:
4424         * text2.C: eliminates the needFullRow/display() stuff
4425         altogether, putting the logic in metrics/draw in the insets.
4426
4427 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
4428
4429         * text2.C (redoParagraphInternal, redoParagraphs):
4430         * text.C (redoParagraph): add a call to updateRowPositions at the
4431         end of each 'metrics-like' call. Remove all others.
4432         (getRow): remove the 'y-computing' version.
4433         (getRowNearY): do not compute nor return the real y. Solve the
4434         'y < 0' problem and simplify.
4435
4436 2003-08-22  Angus Leeming  <leeming@lyx.org>
4437
4438         * *.[Ch]: clean-up of licence and author blurbs.
4439         Also move config.h out of a few .h files and into a few .C files.
4440
4441 2003-08-22  André Pönitz  <poenitz@gmx.net>
4442
4443         * lyxrow.[Ch]: add x_ and *fill_ members
4444
4445         * lyxtext.h:
4446         * text.C:
4447         * rowpainter.C:
4448         * text2.C: adjust/remove prepareToPrint() calls
4449
4450 2003-08-22  André Pönitz  <poenitz@gmx.net>
4451
4452         * lyxrow.[Ch]: add  end_ member
4453
4454         * lyxrow_funcs.C: use LyXRow::end_
4455
4456         * lyxtext.h (singleWidth): add LyXFont parameter
4457
4458         * rowpainter.C:
4459         * text2.C: adjust LyXText::singleWidth() calls
4460
4461         * text.C (redoParagraph): simplify row breaking logic
4462
4463
4464 2003-08-19  André Pönitz  <poenitz@gmx.net>
4465
4466         * funcrequest.C: initialize button_ member
4467
4468         * text3.C:
4469         * rowpainter.[Ch]: interface consolidation
4470
4471 2003-08-18  André Pönitz  <poenitz@gmx.net>
4472
4473         * BufferView.C:
4474         * BufferView_pimpl.C:
4475         * lyxfind.C:
4476         * paragraph_funcs.C:
4477         * rowpainter.C:
4478         * text3.C: remove LyXScreen::draw() and fitCursor calls
4479
4480         * BranchList.h: remove spurious semicolons
4481
4482         * MenuBackend.C: fix branchlist related crash
4483
4484 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
4485
4486         * BranchList.[Ch]:
4487         * InsetList.[Ch]:
4488         * LColor.[Ch]:
4489         * LyXAction.C:
4490         * Makefile.am:
4491         * MenuBackend.[Ch]:
4492         * bufferparams.[Ch]:
4493         * factory.C:
4494         * lfuns.h:
4495         * lyxfunc.C:
4496         * text3.C: implements the 'branch inset'
4497         idea. This allows the output of various versions of a document
4498         from a single source version, selectively outputing or suppressing
4499         output of parts of the text.
4500         This implementation contains a 'branch list editor' in a separate
4501         tab of the document settings dialog. Branches are user definable
4502         and have a "display colour" to distinguish them on-screen.
4503
4504         ColorHandler was somewhat cleaned up.
4505         (1) make possible a dynamically growing LColor list by allowing
4506         the graphic context cache to grow along (vector);
4507         (2) eliminate an IMHO unnecessary step in colour allocation.
4508
4509 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
4510
4511         * BufferView_pimpl.C: compile fix
4512
4513 2003-08-15  André Pönitz  <poenitz@gmx.net>
4514
4515         * rowpainter.C: remove extra metrics calls
4516
4517         * lyxtext.h: merge the two constructors into a single one,
4518           pass reference to owner's par list
4519
4520         * BufferView_pimpl.C:
4521         * text.C:
4522         * text2.C: adjust
4523
4524 2003-08-15  André Pönitz  <poenitz@gmx.net>
4525
4526         * lyxrow_funcs.[Ch]:
4527         * lyxtext.h:
4528         * paragraph.h:
4529         * paragraph_funcs.C:
4530         * rowpainter.C:
4531         * text.C:
4532         * text2.C:
4533         * text3.C:
4534         * text_funcs.C: split LyXText::rowlist_ into individual
4535         Paragraph::rows_ chunks
4536
4537         * BufferView.[Ch]:
4538         * BufferView_pimpl.[Ch]:
4539         * lyxfind.C:
4540         * lyxtext.h:
4541         * text3.C: remove toggleSelection()
4542
4543 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
4544
4545         * bufferlist.C: beautify two alerts (shorter text of buttons)
4546         * buffer.C: Remove redundant ' ' from message
4547         * tabular.h:
4548         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4549         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4550         rename VALIGN_CENTER to VALIGN_MIDDLE
4551
4552 2003-08-11  André Pönitz  <poenitz@gmx.net>
4553
4554         * lyxtext.h (getPar):
4555         * text.C: new function
4556
4557 2003-08-11  André Pönitz  <poenitz@gmx.net>
4558
4559         * Makefile.am:
4560         * tracer.[Ch]: remove unneeded files
4561
4562         * InsetList.[Ch]: remove resizeInsetsLyXText()
4563
4564         * lyxtext.h:
4565         * text.C:
4566         * text2.C:
4567         * text3.C: merge insertParagraphs() and appendParagraph()
4568         remove breakAgain(), update()
4569
4570         * BufferView_pimpl.[Ch]:
4571         * bufferview_funcs.[Ch]:
4572         * lyxfunc.C:
4573         * paragraph.[Ch]:
4574         * rowpainter.C:
4575         * tabular.C: adjust after text & InsetList changes.
4576
4577 2003-08-08  André Pönitz  <poenitz@gmx.net>
4578
4579         * text.C (insertChar, backspace): replace rowlist fiddling
4580         with rebreak of full par
4581
4582         * lyxtext.h:
4583         * text.C (breakAgainOneRow, redoHeightOfParagraph,
4584         checkParagraph, updateInset): removed
4585
4586 2003-08-07  André Pönitz  <poenitz@gmx.net>
4587
4588         * paragraph.C:
4589         * text3.C: merge some LFUN handlers, remove dead code
4590
4591 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4592
4593         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4594
4595 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
4596
4597         * text2.C (DEPM): fix part of bug 1255 and 1256
4598
4599 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4600
4601         * BufferView_pimpl.C (workAreaDispatch): change to use
4602         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4603         that are no mouse related.
4604
4605 2003-08-05  André Pönitz  <poenitz@gmx.net>
4606
4607         * BufferView.[Ch]:
4608         * BufferView_pimpl.[Ch]:
4609         * bufferview_funcs.C:
4610         * text2.C:
4611         * text3.C: rip out "deep update"
4612
4613         * textcursor.[Ch] (last_sel_cursor): remove unused member
4614
4615 2003-08-04  André Pönitz  <poenitz@gmx.net>
4616
4617         * BufferView.[Ch]:
4618         * BufferView_pimpl.[Ch]:
4619         * ParagraphParameters.C:
4620         * bufferview_funcs.C:
4621         * lyx_cb.C:
4622         * lyxfind.C:
4623         * lyxfunc.C:
4624         * text.C:
4625         * text2.C:
4626         * text3.C: replace "complicated" BufferView::update(...) calls with
4627         simpler ones.
4628
4629         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4630
4631 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
4632
4633         * Makefile.am (lyx_SOURCES): add paper.h
4634
4635 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4636
4637         * Makefile.am: move things around so that both lyx-qt and
4638         lyx-xforms can be built (according to --with-frontend). Then lyx
4639         is a symbolic link to lyx-[firstfrontend]
4640
4641 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
4642
4643         * Always use std::endl with lyxerr
4644
4645 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
4646
4647         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4648
4649 2003-08-01  André Pönitz  <poenitz@gmx.net>
4650
4651         * BufferView.[Ch]:
4652         * BufferView_pimpl.[Ch]:
4653         * lyxfunc.C:
4654         * text3.C: merge BufferView::repaint() and BufferView::update()
4655
4656 2003-08-01  José Matos  <jamatos@lyx.org>
4657
4658         * buffer.[Ch]: file_format is no longer a buffer data element.
4659
4660 2003-08-01  André Pönitz  <poenitz@gmx.net>
4661
4662         * BufferView.C:
4663         * lyxtext.h:
4664         * text.C:
4665         * text2.C: make redoParagraph more independent of current cursor
4666
4667         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4668         * text.C:
4669         * text2.C: remove unneeded members
4670
4671 2003-07-30  André Pönitz  <poenitz@gmx.net>
4672
4673         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4674
4675         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4676           create a single function...
4677
4678         * paragraph_funcs.C (moveItem): ... here.
4679
4680         * text.C:
4681           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4682
4683 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
4684
4685         * LColor.[Ch]: Add comment and greyedout logical colors.
4686
4687 2003-07-30  André Pönitz  <poenitz@gmx.net>
4688
4689         * tabular.C: don't use Assert too heavily. This crashes where it
4690           shouldn't
4691
4692 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
4693
4694         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4695         is disabled (bug 1232)
4696
4697 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4698
4699         * factory.C: limited 'arg' scope
4700
4701 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4702
4703         * factory.C: fixed Note submenu issues
4704
4705 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4706
4707         * factory.C: submenu for Note/Comment/Greyedout
4708
4709 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
4710
4711         * lyx_main.C (LyX):
4712         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4713
4714 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
4715
4716         * LaTeXFeatures.C:
4717         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4718         greyedout. Patch provided by Jürgen Spitzmüller.
4719
4720 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4721
4722         * kbmap.C (read): fix error message when reading bind files
4723
4724 2003-07-29  Angus Leeming  <leeming@lyx.org>
4725
4726         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4727         certainly does not do what it purports to do. I am doing it, and
4728         us, a favour by killing it.
4729
4730 2003-07-28  José Matos  <jamatos@lyx.org>
4731
4732         * buffer.C (readBody, do_writeFile):
4733         * paragraph.C(readParagraph): \end_document replaces \the_end.
4734
4735 2003-07-29  André Pönitz  <poenitz@gmx.net>
4736
4737         * BufferView.[Ch]:
4738         * BufferView_pimpl.[Ch]:
4739         * lyxfunc.C:
4740         * text2.C:
4741         * text3.C:
4742         * textcursor.[Ch]: remove toggleToggle & Co
4743
4744 2003-07-28  José Matos  <jamatos@fep.up.pt>
4745
4746         * buffer.C (readParagraph):
4747         * params_func (readParToken, readParagraph):
4748         * paragraph.C (write): \layout -> \begin_layout.
4749
4750 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4751
4752         * lyxlex_pimpl.C (setFile): clean up slightly.
4753
4754         * bufferparams.h: add compressed var
4755
4756         * buffer_funcs.C (readFile): adjust for LyXLex change
4757         (newFile): ditto + simplify
4758
4759         * buffer.C (writeFile): handle writing of compressed files
4760
4761         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4762         Check if the file is compressed and set a bufferparm if so.
4763
4764         * Makefile.am (lyx_LDADD): remove explicit -lz
4765
4766 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4767
4768         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4769         makeDocBookFile): put the real LyX version in the first line of
4770         the file
4771
4772         * version.h:
4773         * version.C.in: remove lyx_docversion
4774
4775         * tabular.C (write_attribute): add a template-based version to
4776         write enums properly
4777
4778 2003-07-28  André Pönitz  <poenitz@gmx.net>
4779
4780         * lyxtext.h:
4781         * text.C:
4782         * text2.C:
4783         * text3.C: use doubles again for x-coordinates. They are needed.
4784
4785 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4786
4787         * messages.C (getLocaleDir): use lyx_localedir()
4788
4789         * lyxlex_pimpl.C (setFile): compress stuff
4790
4791         * buffer.C (writeFile): add some compression stuff
4792         (do_writeFile): new func, dont call expliti close... will this
4793         breake anything?
4794
4795         * Makefile.am (lyx_LDADD): add -lz
4796
4797 2003-07-28  José Matos  <jamatos@fep.up.pt>
4798
4799         * buffer.C: increment file format.
4800         * paragraph_funcs (readParagraph, readParToken):
4801         * paragraph.C (readParagraph): add \end_layout.
4802
4803 2003-07-27  Angus Leeming  <leeming@lyx.org>
4804
4805         * Makefile.am: remove special casing for configure-time setting of
4806         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4807
4808         * lyx_main.C (init): remove all Jean-Marc's magic setting of
4809         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4810
4811 2003-07-26  André Pönitz  <poenitz@gmx.net>
4812
4813         * paragraph_func.[Ch]:
4814         * paragraph.C (realizeFont): inline it whereever it is used
4815
4816         * rowpainter.C:
4817         * text.C:
4818         * text2.C:
4819         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4820
4821
4822 2003-07-26  André Pönitz  <poenitz@gmx.net>
4823
4824         *       lyxtext.h:
4825         * text.C:
4826         * text2.C: get rid of LyXText::need_break_row
4827
4828 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4829
4830         * toc.[Ch]: put namespace toc inside namespace lyx
4831
4832         * MenuBackend.C (expandToc2): adjust for lyx::toc
4833         (expandToc): ditto
4834
4835         * lyxfunc.C (dispatch): adjust for lyx::find
4836
4837         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4838         lyx::find instead. Reorganize a bit.
4839         (LyXReplace): rename to replace
4840         (LyXFind): rename to find
4841
4842         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4843         (dispatch): ditto
4844
4845 2003-07-26  André Pönitz  <poenitz@gmx.net>
4846
4847         * text.C (setHeightOfRow): restrict scope of temporary variable
4848
4849         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
4850           code (never has been used?)
4851
4852 2003-07-27  Asger Alstrup  <alstrup@local>
4853
4854         * text.C (fill): Optimise algorithm to exploit that we can reuse
4855         the LyXFont for many characters.
4856         (setHeightOfRow): Same thing.
4857         (rowBreakPoint): Same thing.
4858
4859 2003-07-26  Asger Alstrup  <alstrup@local>
4860
4861         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4862
4863         * text.C (singleWidth): Spurious font copying in hot-spot
4864         singleWidth avoided. Reorder tests for arabic for efficiency.
4865
4866         * text.C (fill): handle empty paragraphs better.
4867
4868 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4869
4870         * ispell.C:
4871         * encoding.h: add includes
4872
4873         * lyxrc.C: remove reading of bind files
4874
4875         * lyx_main.C (init): setup bindings and menus only if we have a
4876         gui.
4877
4878         * kbmap.C (read): new method. Do the actual reading of bind
4879         files.
4880
4881         * converter.C (dvipdfm_options):
4882         * bufferparams.C:
4883         * lyxrc.C (read):
4884         (output): adapt PAPER_* enums.
4885
4886         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4887
4888         * bufferparams.h: remove paper-related enums from there
4889
4890         * paper.h: New file. A trivial header file to hold paper-related
4891         enums. It should later expand to contain many paper-related
4892         horrors access.
4893
4894         * lyxrc.C: declare extern displayTranslator
4895
4896 2003-07-27  José Matos  <jamatos@fep.up.pt>
4897
4898         * tabular.[Ch] (linuxdoc): add support for tables and figures
4899         (linuxdoc).
4900
4901 2003-07-27  José Matos  <jamatos@fep.up.pt>
4902
4903         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4904         consistency in both functions.
4905         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4906
4907 2003-07-26  Asger Alstrup  <alstrup@local>
4908
4909         * rowpainter.C (paintRows): Change algorithm to work directly on
4910         the insets rather than asking every character in the document
4911         whether its an inset.
4912
4913 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
4914
4915         * buffer.C (openFileWrite): factorize some code
4916
4917 2003-07-26  Angus Leeming  <leeming@lyx.org>
4918
4919         * lyx_cb.C:
4920         * lyx_main.[Ch]: replace occurances of system_tempdir with
4921         os::getTmpDir().
4922
4923 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4924
4925         * rename Inset to InsetOld
4926
4927 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
4928
4929         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4930         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4931         which I think is a bit clearer. EDIT is gone, since it was
4932         premature optimisation, and broken for mathed anyway.
4933         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4934         with cursor positioning in insets as well (math insets still do not
4935         work, but that's a different story anyway.) It mysteriously
4936         crashes sometimes with undo in the first paragraph, but I'm fairly
4937         confident that this is a compiler bug.
4938
4939 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4940
4941         * paragraph.C (Paragraph): adjust for new clone return type
4942         (operator==): ditto
4943         (copyIntoMinibuffer): ditto
4944
4945 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
4946
4947         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4948         by not having a special case, and always doing a full rebreak of
4949         the document after undo.
4950
4951 2003-07-23  Angus Leeming  <leeming@lyx.org>
4952
4953         * factory.C (createInset): InsetExternal::setParams now takes a
4954         Buffer const * arg.
4955
4956 2003-07-23  Angus Leeming  <leeming@lyx.org>
4957
4958         * factory.C (createInset): changed interface to the external and
4959         graphics mailers' string2params functions.
4960
4961 2003-07-23  Angus Leeming  <leeming@lyx.org>
4962
4963         * factory.C (createInset): pass a
4964         Buffer const * parameter to InsetExternalMailer's string2params.
4965
4966 2003-07-22  John Levon  <levon@movementarian.org>
4967
4968         * Thesaurus.h: include the right aiksaurus header
4969
4970 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4971
4972         * MenuBackend.C (expand): check menu shortcuts unconditionally
4973
4974 2003-07-21  Angus Leeming  <leeming@lyx.org>
4975
4976         * factory.C (createInset): pass a
4977         buffer_path parameter to InsetGraphicsMailer's string2params.
4978
4979 2003-07-21  Angus Leeming  <leeming@lyx.org>
4980
4981         * BufferView_pimpl.C (buffer):
4982         * buffer.C (d-tor):
4983         * lyx_main.C (LyX):
4984         * lyxfunc.C (dispatch):
4985         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4986         rather than the grfx shortcut.
4987
4988 2003-07-21  André Pönitz  <poenitz@gmx.net>
4989
4990         * rowpainter.C: remove unused variables
4991
4992         * tabular_funcs.C:
4993         * tabular_funcs.h: move to tabular.C
4994         * Makefile.am: adjust
4995
4996         * tabular.[Ch]: basic optical cleaning
4997
4998         * author.h: pass references, not values
4999
5000 2003-07-18  André Pönitz  <poenitz@gmx.net>
5001
5002         * lyxtext.h:
5003         * metricsinfo.C:
5004         * metricsinfo.h:
5005         * rowpainter.C:
5006         * text.C:
5007         * text2.C:
5008         * text3.C: two-phase drawing for InsetText and InsetTabular
5009         some float -> int changes.
5010
5011 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5012
5013         * lyx_main.C: fix the fix
5014
5015 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5016
5017         * lyx_main.C: fix a crash in batch mode if no files specified
5018         * converter.C: ws
5019
5020 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
5021
5022         * format.[Ch] (papersize): moved to BufferParams
5023         * converter.[Ch] (dvips_options): moved to BufferParams
5024         (dvipdfm_options): moved to anon namespace
5025         * bufferparams.[Ch]: added above functions.
5026
5027 2003-07-17  André Pönitz  <poenitz@gmx.net>
5028
5029         * lyxtext.h:
5030         * rowpainter.C:
5031         * text2.C: don't call inset->update() anymore
5032
5033         * metricsinfo.[Ch]: add convenience constructor
5034
5035 2003-07-16  André Pönitz  <poenitz@gmx.net>
5036
5037         * lyxcursor.[Ch]:
5038         * lyxfunc.[Ch]:
5039         * text.C:
5040         * text2.C: replace the LyXCursor::irow_ member with
5041          on-demand computation of the value
5042
5043 2003-07-16  John Levon  <levon@movementarian.org>
5044
5045         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5046
5047 2003-07-15  André Pönitz  <poenitz@gmx.net>
5048
5049         * text.C:
5050         * text2.C: remove no more needed refresh_row
5051
5052 2003-07-15  André Pönitz  <poenitz@gmx.net>
5053
5054         * lyxtext.h:
5055         * rowpainter.C:
5056         * text2.C:
5057         * text3.C: refresh_status tristate -> need_update bool
5058
5059 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
5060
5061         * lyxtext.h (init): remove reinit argument (act as if always true)
5062         * text2.C: adjust to that
5063
5064 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5065
5066         * bufferview_funcs.[Ch]: introduce function replaceSelection()
5067         * text3.C: use it to delete selections in some cases
5068         (bugs 441, 673, 702, 954).
5069
5070 2003-07-14  André Pönitz  <poenitz@gmx.net>
5071
5072         * rowpainter.[Ch]: reduce interface
5073
5074 2003-07-14  André Pönitz  <poenitz@gmx.net>
5075
5076         * BufferView_pimpl.C:
5077         * text2.C: adjust after removing unused BufferView * argument
5078
5079 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
5080
5081         * text2.C (init): fix a crash fired on resize
5082
5083 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
5084
5085         * buffer.[Ch]: added new closing signal
5086         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5087         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5088         BufferView::Pimpl via the closing the signal
5089
5090 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
5091
5092         * buffer.[Ch]: take out all bv-related from buffer
5093         * BufferView.C:
5094         * BufferView_pimpl.[Ch]: connect to new signals
5095         * CutAndPaste.C: removed useless asserts
5096         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5097         * lyxvc.[Ch]:
5098         * vc-backend.[Ch]:
5099         * lyxfunc.C: moved view-related funciontality from vc here
5100         * paragraph.C: removed outdated comments
5101         * text.C: ws
5102
5103 2003-07-10  André Pönitz  <poenitz@gmx.net>
5104
5105         * BufferView_pimpl.C:
5106         * tabular.h:
5107         * tabular_funcs.C:
5108         * text.C:
5109         * text2.C: remove InsetText::InnerCache, clean up consequences
5110
5111 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
5112
5113         * ispell.C: fix two typos in error messages
5114
5115 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
5116
5117         * Extend Note inset to other forms of annotation like Comment
5118         and Greyedout. Right button click gives dialog.
5119
5120         Files modified or added (+):
5121
5122         * insetnote.[Ch]
5123         * FormNote.[Ch]      +
5124         * ControlNote.[Ch]   +
5125         * form_note.fd       +
5126         * Makefile.am in frontends/xforms, frontends/xforms/forms,
5127         frontends/controllers
5128         * xforms/Dialogs.C
5129         * factory.C
5130
5131 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5132
5133         * aspell.C: add missing namespace lyx::support
5134
5135 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
5136
5137         * BufferView.[Ch] (newFile): Add
5138         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5139         * LaTeX.[Ch] (message): added this signal and use it
5140         * buffer.[Ch] (busy, message): added these signals and use them
5141         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5142         * converter.C:
5143         * exporter.C:
5144         * format.C:
5145         * importer.C: use buffer signals instead of direct bv calling
5146         * lyx_cb.[Ch] (ShowMessage): removed
5147         * lyx_main.C:
5148         * lyxfunc.C:
5149         * paragraph_funcs.C:
5150         * text2.C: use buffer signals
5151
5152 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5153
5154         * introduce namespace lyx::graphics
5155
5156 2003-07-02  André Pönitz  <poenitz@gmx.net>
5157
5158         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5159
5160 2003-07-01  André Pönitz  <poenitz@gmx.net>
5161
5162         * text.C:
5163         * text2.C:
5164         * text3.C:
5165         * text_funcs.[Ch]:
5166         * textcursor.h:
5167         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5168           text*.C to text_func.C
5169
5170 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5171
5172         * introduce namespace lyx::support
5173
5174 2003-06-30  André Pönitz  <poenitz@gmx.net>
5175
5176         * Chktex.C:
5177         * funcrequest.C:
5178         * lyxtext.h:
5179         * text.C: re-enable --with-included-string
5180
5181 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5182
5183         * textcursor.C: add <config.h>
5184
5185         * text.C (getWord): remove const from word_location arg
5186
5187         * lyxvc.C (getLogFile): fix const type order
5188
5189         * lyxtext.h: remove const from word_location arg, add arg name
5190
5191         * lyxlayout.h: currect type on labeltype.
5192
5193         * importer.C: correct \file
5194
5195         * converter.C (intToFormat): use std:: on ret val, ws changes
5196
5197         * bufferlist.h: correct \file
5198
5199         * buffer.C (makeLinuxDocFile): fix const type order
5200         (makeDocBookFile): ditto
5201         (fillWithBibKeys): use std:: on stdlib args.
5202
5203         * CutAndPaste.C: fix authors.
5204         (availableSelections): use std:: on return vector
5205
5206 2003-06-27  André Pönitz  <poenitz@gmx.net>
5207
5208         * BufferView_pimpl.C:
5209         * bufferview_funcs.C:
5210         * lyxcursor.C:
5211         * lyxcursor.h:
5212         * lyxfunc.C:
5213         * lyxtext.h:
5214         * rowpainter.C:
5215         * text.C:
5216         * text2.C:
5217         * text3.C: remove LyXCursor::row_ member
5218
5219         * lyxtext.h:
5220         * text.C: rename fullRebreak() to partialRebreak() and implement
5221           a fullRebreak() that really bereks fully
5222
5223         * textcursor.h: new struct for cursor-related data
5224
5225 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
5226
5227         * lyx_main.C (LyX): get full path of document loaded on the
5228         command line
5229
5230 2003-06-26  André Pönitz  <poenitz@gmx.net>
5231
5232         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5233           remove unused/broken operator>,<,>=.
5234
5235         *       text.C: remove only use of broken operator<= in an Assert().
5236
5237 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5238
5239         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5240         moved errorlist_.clear to showErrorList
5241
5242 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5243
5244         * converter.C (scanLog, runLaTeX):
5245         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5246         move the bv->showErrorList call to the callers
5247         * lyxfunc.C: i.e. here...
5248         * text2.C: and here
5249         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5250         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5251         namespace, the second to...
5252         * buffer_funcs (BufferFormat, parseErrors): added
5253         * errorlist.C (ErrorList(TeXErrors const &)): removed
5254
5255 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5256
5257         * ToolbarBackend.C (getIcon): complain when icon cannot be found
5258
5259 2003-06-24  "Garst R. Reese" <reese@isn.net>
5260
5261         * debug.C: fix typo
5262
5263 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5264
5265         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5266
5267         * version.C.in: change docversion to 1.4
5268
5269 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
5270
5271         * buffer.C: fix a bug just introduced
5272
5273 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
5274
5275         * buffer.[Ch]: added the parseError signal and use it, removed
5276         sgmlError
5277         * BufferView.[Ch] (addError): moved to ...
5278         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5279         to the Buffer::parseError signal to catch (guess what) parse errors
5280         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5281
5282 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
5283
5284         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5285         ability to create a buffer and to return an existing one from
5286         the list. Moved these functions to...
5287         * buffer_funcs.[Ch]: added
5288         * BufferView.[Ch] (loadLyXFile): added
5289         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5290         job removed from bufferlist::loadLyXFile.
5291         * buffer.C (setReadOnly): make it work without view
5292         (i.e added an if (users))
5293
5294 2003-06-19  Angus Leeming  <leeming@lyx.org>
5295
5296         * lfuns.h:
5297         * LyXAction.C (init):
5298         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5299         with LFUN_DIALOG_SHOW <name> <data>.
5300
5301 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5302
5303         * CutAndPaste.C (availableSelections): small compilation fix for
5304         ancient (gcc 2.9x) compilers
5305
5306 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
5307
5308         * text3.C (cursorNext): add tmp var
5309
5310         * text2.C (updateCounters): for function calling out of for clause
5311         (replaceSelectionWithString): ditto
5312         (insertStringAsParagraphs): ditto
5313         (getColumnNearX): add tmp var
5314         (setCursorFromCoordinates): add tmp var
5315         (cursorDownParagraph): add tmp var
5316         (deleteEmptyParagraphMechanism): add tmp var
5317
5318         * text.C (insertChar): add tmp var
5319
5320         * rowpainter.C (paintDepthBar): add tmp var
5321
5322         * CutAndPaste.C (availableSelections): potentially check all
5323         paragraphs in a cut to fill the shown strings.
5324
5325 2003-06-18  André Pönitz  <poenitz@gmx.net>
5326
5327         * kbmap.[Ch]: use vector<> instead of list<>
5328
5329 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
5330
5331         * text3.C (dispatch): handle arg to LFUN_PASTE, call
5332         pasteSelection with index
5333
5334         * text2.C (pasteSelection): modify, call pasteSelection with index
5335
5336         * paragraph.C (asString): reimplement version with no interval to
5337         call the one with interval.
5338
5339         * lyxtext.h: add index arg to pasteSelection
5340
5341         * MenuBackend.C (MenuItem): handle PasteRecent
5342         (Menu::read::Menutags): add md_pasterecent
5343         (read): handle it
5344         (expandPasteRecent): new function
5345         (expand): use it
5346
5347         * MenuBackend.h: add PasteRecent to MenuItem::Kind
5348
5349         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5350         the limited stack
5351         (availableSelections): new function
5352
5353 2003-06-17  Angus Leeming  <leeming@lyx.org>
5354
5355         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5356
5357 2003-06-17  Angus Leeming  <leeming@lyx.org>
5358
5359         * lfuns.h:
5360         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5361
5362         * lyxfunc.C (dispatch): invoke it.
5363
5364 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5365
5366         * iterators.C (operator++, ParPosition): reintroduce some
5367         const_cast for the benefit of older compilers.
5368
5369 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5370
5371         * text3.C (dispatch): do not modify clipboard when doing
5372         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5373         LFUN_DELETE_SKIP on a selection selection
5374
5375 2003-06-16  André Pönitz  <poenitz@gmx.net>
5376
5377         * BufferView.C:
5378         * buffer.C:
5379         * buffer.h:
5380         * paragraph.C:
5381         * tabular.[Ch]: IU of clone() and getLabelList();
5382
5383 2003-06-13  André Pönitz  <poenitz@gmx.net>
5384
5385         * tabular.h: compactification
5386
5387 2003-06-12  André Pönitz  <poenitz@gmx.net>
5388
5389         * tabular.C:
5390         * tabular.h:
5391         * tabular_funcs.h: some renaming plus whitespace
5392
5393 2003-06-12  André Pönitz  <poenitz@gmx.net>
5394
5395         * BufferView.C:
5396         * BufferView_pimpl.C:
5397         * CutAndPaste.C:
5398         * buffer.C:
5399         * iterators.[Ch]:
5400         * lyxfunc.C:
5401         * text.C:
5402         * toc.C: Return a Paragraph & for ParIterator::operator*()
5403
5404 2003-06-11  John Levon  <levon@movementarian.org>
5405
5406         * lyx_main.C:
5407         * ToolbarBackend.h:
5408         * ToolbarBackend.C: add "Toolbars" section and
5409         put the flags there
5410
5411 2003-06-10  Angus Leeming  <leeming@lyx.org>
5412
5413         * lfuns.h:
5414         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5415
5416         * lyxfunc.C (dispatch): invoke it.
5417
5418 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5419
5420         * main.C: protect <ios> with HAVE_IOS
5421         (main): protect sync_with_stdio with HAVE_IOS
5422
5423 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
5424
5425         * text2.C (cutSelection): adjust
5426         (pasteSelection): adjust
5427
5428         * messages.C: handle get of empty string
5429
5430         * main.C (main): use sync_with_stdio(false)
5431
5432         * lyxfunc.C (dispatch): adjust
5433
5434         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5435         (WriteAs): remove unneeded BufferView arg.
5436
5437         * bufferparams.h: use correct types on papersize, papersize2 and
5438         paperpackage.
5439
5440         * bufferparams.C (readToken): adjust for type
5441         (writeLaTeX): add missing cases to switch.
5442
5443         * bufferlist.C (quitWriteBuffer): adjust
5444         (close): adjust
5445
5446         * buffer.C (asciiParagraph): remove some commented code.
5447
5448         * CutAndPaste.C: remove current_view extern variable.
5449         (cutSelection): add BufferParams arg.
5450         (eraseSelection): add BufferParams arg.
5451         (pasteSelection): add Buffer const & arg
5452
5453 2003-06-07  John Levon  <levon@movementarian.org>
5454
5455         * buffer.C:
5456         * paragraph_funcs.C:
5457         * paragraph_pimpl.C:
5458         * text.C:
5459         * text2.C:
5460         * paragraph.h:
5461         * paragraph.C: allow InsetERT to freely space lines,
5462         and some consolidation of code
5463
5464 2003-06-06  José Matos  <jamatos@fep.up.pt>
5465
5466         * buffer.C (makeDocBookFile): fix bug #821
5467
5468 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
5469
5470         * BufferView_pimpl.C (dispatch): use Dialogs::visible
5471
5472 2003-06-04  Angus Leeming  <leeming@lyx.org>
5473
5474         * buffer.C: bump format to 224.
5475
5476 2003-06-05  André Pönitz  <poenitz@gmx.net>
5477
5478         * text2.C (redoParagraphs): remove two const_cast<>
5479
5480 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5481
5482         * ParagraphList.h: remove last remnants of NO_STD_LIST
5483
5484 2003-06-03  Angus Leeming  <leeming@lyx.org>
5485
5486         * factory.C (createInset): small change to the way InsetExternal's params
5487         are set.
5488
5489 2003-06-04  André Pönitz  <poenitz@gmx.net>
5490
5491         * buffer.h: use Undo directly instead of shared_ptr<Undo>
5492
5493         * paragraph_pimpl.h:
5494         * paragraph.[Ch]: some Inset -> UpdatableInset changes
5495
5496         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5497
5498         * undo_funcs.C: make some simple cases of undo work again
5499
5500 2003-06-03  John Levon  <levon@movementarian.org>
5501
5502         * ispell.C: HPUX doesn't have sys/select.h
5503         (from Albert Chin)
5504
5505 2003-06-03  John Levon  <levon@movementarian.org>
5506
5507         * CutAndPaste.C: update tabular and include inset
5508         buffer references
5509
5510         * buffer.h:
5511         * paragraph.h:
5512         * paragraph.C: remove owningBuffer(), don't pass Buffer
5513         to clone()
5514
5515         * factory.C: insetGraphicsParams changed
5516
5517 2003-06-02  John Levon  <levon@movementarian.org>
5518
5519         * LyXAction.C:
5520         * factory.C:
5521         * lfuns.h:
5522         * lyxfunc.C:
5523         * text3.C: remove insetparent
5524
5525 2003-06-02  John Levon  <levon@movementarian.org>
5526
5527         * buffer.h:
5528         * buffer.C: fix inset_iterator.end(), move out of line
5529         (bug 1149)
5530
5531 2003-06-01  John Levon  <levon@movementarian.org>
5532
5533         * text3.C: use a proper cut/paste when doing inset
5534         insert (from Jürgen Spitzmüller)
5535
5536 2003-06-01  John Levon  <levon@movementarian.org>
5537
5538         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5539
5540 2003-05-30  André Pönitz  <poenitz@gmx.net>
5541
5542         * rowpainter.C: unify second drawing phase
5543
5544 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5545
5546         * trans_mgr.C: remove one case of current_view
5547
5548         * text2.C (cursorBottom): delete NO_STD_LIST stuff
5549
5550         * paragraph_funcs.h: remove paragraph.h include
5551
5552         * paragraph.h: delete NO_STD_LIST stuff
5553
5554         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5555
5556         * buffer.h: remove paragraph.h include
5557
5558         * ParagraphList.C: delete file
5559
5560         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5561
5562         * toc.C (getTocList): adjust
5563
5564         * paragraph_pimpl.C (validate): adjust
5565
5566         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5567
5568         * paragraph.C (Paragraph): adjust
5569         (getPositionOfInset): use const_iterator, adjust
5570         (bibitem): use const_iterator, adjust
5571         (setInsetOwner): adjust
5572
5573         * iterators.C (operator++): adjust
5574
5575         * InsetList.[Ch]: Replace selfmade iterator with standard
5576         vector::iterator also introduce const_iterator. Remove getPos,
5577         getInset and setInset from InsetTable. Adjust accordingly.
5578
5579         * BufferView.C (lockInset): adjust
5580         (ChangeInsets): adjust
5581
5582         * tabular.[Ch]: delete commented same_id functions
5583
5584 2003-05-28  John Levon  <levon@movementarian.org>
5585
5586         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5587
5588 2003-05-28  André Pönitz  <poenitz@gmx.net>
5589
5590         * metricsinfo.[Ch]: remove 'fullredraw' member
5591
5592 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
5593
5594         * lyxtextclass.C (operator): remove caching.
5595
5596 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5597
5598         * text3.C: adjust
5599
5600         * text2.C (cursorBottom): adjust
5601         (setCounter): use ParagraphList::find, adjust
5602
5603         * text.C (workWidth): use ParagraphList::find, adjust
5604
5605         * lyxcursor.C (LyXCursor): adjust
5606
5607         * buffer.C (inset_iterator): adjust
5608
5609         * ParagraphList.h: make iterator(value_type) private, make
5610         ParagraphList a friend of iterator.
5611
5612         * ParagraphList.C (find): new function
5613
5614         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5615
5616 2003-05-27  André Pönitz  <poenitz@gmx.net>
5617
5618         * dimension.[Ch]: a -> asc, d -> des, w -> wid
5619
5620 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5621
5622         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5623
5624 2003-05-26  John Levon  <levon@movementarian.org>
5625
5626         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5627
5628 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5629
5630         * remove same_id from function signatures, adjust.
5631
5632 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5633
5634         * undo_funcs.C (createUndo): use the id functions directly, adjust.
5635
5636         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5637
5638         * paragraph.C (Paragraph): get rid of same_ids parameter
5639
5640         * ParagraphList.C (insert): adjust
5641         (push_back): adjust
5642
5643 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5644
5645         * paragraph_funcs.C (breakParagraph): adjust
5646         (breakParagraphConservative): adjust
5647
5648         * buffer.C (readParagraph): adjust
5649
5650         * ParagraphList.C (insert): take a reference instead of a pointer
5651         (insert): adjust
5652
5653         * paragraph.[Ch] (id): new function
5654
5655         * bufferlist.C (newFile): adjust
5656
5657         * ParagraphList.C (ParagraphList): adjust
5658         (assign): adjust
5659         (push_back): take a reference instead of a pointer.
5660
5661         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5662
5663         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5664         instead.
5665
5666         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5667         set else use old code.
5668
5669         * ParagraphList.C: remove all NO_NEXT code and only compile this
5670         code of NO_STD_LIST is set.
5671
5672 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5673
5674         * BufferView_pimpl.C:
5675         * TextCache.C:
5676         * TextCache.h:
5677         * bufferlist.C:
5678         * errorlist.h:
5679         * format.C:
5680         * format.h:
5681         * graph.C:
5682         * lyxfunc.C:
5683         * lyxrc.C:
5684         * graphics/GraphicsConverter.C:
5685         * graphics/PreviewLoader.C: header adjustment
5686
5687 2003-05-23  Angus Leeming  <leeming@lyx.org>
5688
5689         * LaTeXFeatures.[Ch] (useBabel): new method.
5690         * bufferparams.C (writeLaTeX): use it.
5691
5692 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5693
5694         * ParagraphList.h (set): remove unused function.
5695
5696 2003-05-23  André Pönitz  <poenitz@gmx.net>
5697
5698         * BufferView.C:
5699         * BufferView_pimpl.C:
5700         * buffer.C:
5701         * buffer.h:
5702         * lyxfunc.C:
5703         * undo_funcs.C: setUndo reworked
5704
5705         * iterators.[Ch]: add access to topmost ParagraphList
5706
5707         * lyxtext.[Ch] (workWidth): add a const
5708
5709 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5710
5711         * texrow.[Ch] (increasePos): remove function
5712         * exporter.C (export): removed unused var and outdated comment
5713
5714 2003-05-23  Angus Leeming  <leeming@lyx.org>
5715
5716         * latexrunparams.h: rename fragile as moving_arg.
5717         * paragraph.C (simpleTeXOnePar): ditto.
5718         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5719
5720 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5721
5722         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5723         (createUndo): ditto
5724         (textUndoOrRedo): comment out a currently unused var.
5725
5726         * paragraph.h (NO_NEXT): enable NO_NEXT
5727
5728         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5729
5730         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5731
5732         * exporter.C (Export): adjust for removeAutoInsets removal.
5733
5734         * buffer.C (runChktex): adjust for removeAutoInsets removal.
5735
5736         * LyXAction.C (init): remove LFUN_REMOVEERRORS
5737
5738         * BufferView.[Ch] (removeAutoInsets): delete function
5739
5740 2003-05-22  Angus Leeming  <leeming@lyx.org>
5741
5742         * latexrunparams.h: add a free_spacing variable.
5743
5744         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5745         to pass moving_arg, as the data is stored in runparams.fragile.
5746
5747         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5748         to Inset::latexOptional or to simpleTeXOnePar.
5749
5750         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5751         free_spacing arg to Inset::latexOptional.
5752
5753         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5754         free_spacing arg.
5755
5756 2003-05-22  Angus Leeming  <leeming@lyx.org>
5757
5758         * latexrunparams.h: add fragile and use_babel variables.
5759
5760         * bufferparams.[Ch] (writeLaTeX): return use_babel.
5761         * buffer.C (makeLaTeXFile): store this returned value in
5762         runparams.use_babel, thus passing it to the inset::latex methods.
5763
5764         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5765         simpleTeXSpecialChars as it is now stored in runparams.fragile.
5766
5767         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5768         longer has a fragile arg, as it is stored in runparams.fragile.
5769
5770         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5771         moving_arg parameter as the data is stored in runparams.fragile.
5772
5773         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5774         a fragile parameter as the data is stored in runparams.fragile.
5775
5776 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5777
5778         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5779
5780 2003-05-22  Angus Leeming  <leeming@lyx.org>
5781
5782         * latexrunparams.h: add a 'bool nice' which defaults to false.
5783
5784         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5785         now encapsulated within runparams.
5786
5787         * bufferlist.C (updateIncludedTeXfiles):
5788         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5789
5790 2003-05-22  Angus Leeming  <leeming@lyx.org>
5791
5792         * latexrunparams.h: new file containing struct LatexRunParams.
5793         * Makefile.am: add new file.
5794
5795         * LaTeX.[Ch] (c-tor, run):
5796         * buffer.[Ch] (makeLaTeXFile):
5797         * bufferlist.[Ch] (updateIncludedTeXfiles):
5798         * converter.C (convert, scanLog):
5799         * converter.[Ch] (runLaTeX):
5800         * exporter.C (Export):
5801         * paragraph.[Ch] (simpleTeXOnePar):
5802         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5803         * paragraph_funcs.[Ch] (latexParagraphs):
5804         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5805         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5806         pass around a LatexRunParams parameter.
5807
5808 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5809
5810         * paragraph.[Ch]: remove unused constructor
5811
5812         * ParagraphList.C (erase): new function, taking two iterators
5813
5814 2003-05-22  André Pönitz  <poenitz@gmx.net>
5815
5816         * undo_funcs.C: remove duplicated code
5817
5818         * iterator.[Ch]: operator=
5819
5820 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5821
5822         * tabular.C (SetMultiColumn): ws changes
5823
5824         * rowpainter.C (paintFirst): get rid of a ->previous
5825
5826         * lyx_cb.C (getPossibleLabel): parlist simplification
5827
5828         * BufferView.C (ChangeInsets): simplify slightly.
5829
5830 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
5831
5832         * LyXAction.C: new lfun space-insert, kill protected-space-insert
5833         * lfuns.h: new LFUN_SPACE
5834         * lyxfunc.C: protected space has a new lfun
5835         * paragraph_funcs.C: read new space insets
5836         * text3.C:
5837         * factory.C: handle new space insets
5838
5839 2003-05-22  André Pönitz  <poenitz@gmx.net>
5840
5841         * BufferView.C:
5842         * BufferView_pimpl.C:
5843         * buffer.[Ch]:
5844         * lyxfunc.C:
5845         * undo_funcs.C: return a ParIterator from getParFromID.
5846
5847         * iterators.[Ch]: add two const's
5848
5849 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5850
5851         * toc.C (getTocList): adjust
5852
5853         * iterators.[Ch]: rework for parlist
5854
5855         * buffer.C (par_iterator_begin): adjust
5856         (par_iterator_end): adjust
5857
5858         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5859
5860         * BufferView.C (removeAutoInsets): adjust
5861         (ChangeInsets): adjust
5862
5863 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
5864
5865         * text.C (top_y): fix bug 1110
5866
5867 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
5868
5869         * errorlist.[Ch]: added
5870         * buffer.C:
5871         * BufferView.[Ch]:
5872         * BufferView_pimpl.C:
5873         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5874         instead
5875
5876 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5877
5878         * Makefile.am: ensure that lyx is relinked upon changes to the
5879         various "convenience" libs.
5880
5881 2003-05-20  Angus Leeming  <leeming@lyx.org>
5882
5883         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5884         files are compiled in alphabetical order again.
5885
5886         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5887
5888 2003-05-19  Angus Leeming  <leeming@lyx.org>
5889
5890         * gettext.[Ch]: remove "char const * _(char const *)".
5891
5892 2003-05-19  André Pönitz  <poenitz@gmx.net>
5893
5894         * dimension.[Ch]: promote from mathed/dimension.[Ch]
5895
5896         * Makefile.am:
5897         * BufferView.C:
5898         * DepTable.h:
5899         * LaTeXFeatures.C:
5900         * buffer.C:
5901         * lyxfont.C:
5902         * lyxlex.h:
5903         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5904
5905 2003-05-19  André Pönitz  <poenitz@gmx.net>
5906
5907         * buffer.C:
5908         * lyxlayout.[Ch]:
5909         * lyxtextclass.[Ch]:
5910         * paragraph.C:
5911         * paragraph_funcs.[Ch]:
5912         * text2.C:
5913         * text3.C: more insetenv work
5914
5915 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
5916
5917         * ParagraphParameters.C (params2string): small bug fixed
5918
5919 2003-05-16  André Pönitz  <poenitz@gmx.net>
5920
5921         * debug.C:
5922         * bufferview_funcs.C: patch from Kornel Benko to prevent
5923           crash when _(...) is called twice in a statement
5924
5925 2003-05-16  André Pönitz  <poenitz@gmx.net>
5926
5927         * BufferView.C:
5928         * lyxfunc.C:
5929         * text.C:
5930         * text2.C:
5931         * text3.C:
5932         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5933
5934 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
5935
5936         * lyx_main.C (init): remove spurious static_cast
5937
5938 2003-05-14  André Pönitz  <poenitz@gmx.net>
5939
5940         * BufferView.C: fix format string
5941
5942 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
5943
5944         * BufferView.[Ch] (insertErrors): removed
5945         * BufferView.[Ch] (showErrorList): added
5946         * buffer.C (runChkTeX):
5947         * converter.C (scanLog): call showErrorList instead of inserterrors
5948
5949 2003-05-13  André Pönitz  <poenitz@gmx.net>
5950
5951         * BufferView_pimpl.C:
5952         * buffer.C:
5953         * bufferview_func.C:
5954         * MenuBackend.C:
5955         * lyxfunc.C:
5956         * lyxrc.C:
5957         * tex-accent.C:
5958         * text3.C:
5959         * toc.C:
5960         * tabular_funcs.h: tostr() from its own header
5961
5962         * ParagraphParameters.C:
5963         * ToolbarBackend.C:
5964         * bufferparams.C:
5965         * format.C:
5966         * lyxlex_pimpl.C:
5967         * text3.C: STRCONV()
5968
5969 2003-05-12  André Pönitz  <poenitz@gmx.net>
5970
5971         * BufferView.C:
5972         * BufferView_pimpl.C:
5973         * CutAndPaste.C:
5974         * LaTeX.C:
5975         * LaTeXFeatures.C:
5976         * ParagraphParameters.C:
5977         * buffer.C:
5978         * bufferlist.C:
5979         * bufferparams.C:
5980         * bufferview_funcs.C:
5981         * converter.C:
5982         * counters.C:
5983         * debug.C:
5984         * exporter.C:
5985         * format.C:
5986         * importer.C:
5987         * lyx_cb.C:
5988         * lyx_main.C:
5989         * lyxfont.C:
5990         * lyxfunc.C:
5991         * lyxvc.C:
5992         * paragraph.C:
5993         * paragraph_funcs.C:
5994         * tabular.C:
5995         * tabular_funcs.C:
5996         * text2.C:
5997         * text3.C:  boost::format -> bformat  all over the place
5998
5999
6000 2003-05-09  André Pönitz  <poenitz@gmx.net>
6001
6002         * LColor.[Ch]: Pimpl the #include <map> away
6003
6004 2003-05-09  John Levon  <levon@movementarian.org>
6005
6006         * bufferlist.C: never remove emergency saves
6007
6008 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6009
6010         * Makefile.am: better lib building
6011
6012 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
6013
6014         * texrow.[Ch]: remove dependency on Paragraph and just store a id
6015         instead.
6016         * paragraph_pimpl.C (simpleTeXBlanks): adjust
6017         (simpleTeXSpecialChars): adjust
6018         (simpleTeXSpecialChars): adjust
6019         * paragraph.C (simpleTeXOnePar): adjust
6020         * buffer.C (makeLaTeXFile): adjust
6021
6022         * Makefile.am (BOOST_LIBS): allow boost as system lib.
6023
6024         * text2.C (changeDepth): parlist cleanup
6025         (getColumnNearX): ditto
6026
6027         * rowpainter.C (getLabelFont): parlist cleanup
6028
6029         * bufferlist.C (newFile): parlist cleanup
6030
6031         * CutAndPaste.C (eraseSelection): parlist cleanup
6032
6033         * BufferView_pimpl.C (trackChanges): parlist cleanup
6034         (dispatch): ditto
6035
6036         * BufferView.C (lockInset): parlist cleanup.
6037         (ChangeInsets): ditto
6038
6039 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6040
6041         * CutAndPaste.h: Update file header.
6042
6043         * CutAndPaste.C: Update file header.
6044         Store the parts cut out of the Document in a limited_stack.
6045         (copySelection): adjust
6046         (pasteSelection): new function, takes the index in the limited stack.
6047         (nrOfParagraphs): adjust
6048         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6049         simplify error inset insertion.
6050         (checkPastePossible): adjust
6051
6052 2003-05-06  John Levon  <levon@movementarian.org>
6053
6054         * text2.C: don't cast wrap inset to float
6055
6056 2003-05-05  André Pönitz  <poenitz@gmx.net>
6057
6058         * iterator.C:
6059         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6060
6061         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6062           few naked Paragraph *.
6063
6064 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
6065
6066         * bufferparams.C: Output warning if a document with missing
6067         TeX document class is loaded
6068         * exporter.C: Disable TeX exports if the document class is missing
6069         * lyxtextclass.C:
6070         * lyxtextclass.h:
6071         * lyxtextclasslist.C: Handle new textclass.lst format; new method
6072         isTeXClassAvailable()
6073
6074 2003-05-03  John Levon  <levon@movementarian.org>
6075
6076         * BufferView.h:
6077         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6078         explicit cursor show/hide
6079
6080         * BufferView_pimpl.h:
6081         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6082         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6083
6084         * lyxfunc.C: hide cursor before dispatching.
6085
6086         * lyx_cb.C:
6087         * lyxfind.C:
6088         * text.C:
6089         * text3.C: remove explicit cursor hides
6090
6091 2003-05-02  André Pönitz  <poenitz@gmx.net>
6092
6093         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6094
6095         * undo_funcs.C:
6096         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6097           linked lists
6098
6099         * text2.C: tiny whitespace
6100
6101 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6102
6103         * undo_funcs.C: almost only ws changes.
6104
6105         * ParagraphList.C (splice): just return if pl is empty.
6106
6107 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6108
6109         * ParagraphList.C (splice): new function.
6110
6111         * CutAndPaste.C (pasteSelection): use it
6112
6113 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6114
6115         * CutAndPaste.C (pasteSelection): remove the last next and
6116         previous from this file.
6117
6118 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6119
6120         * CutAndPaste.C (pasteSelection): more clean up, user proper
6121         ParagraphList functions for pasteing.
6122
6123         * ParagraphList.C (insert): new function, three arg insert
6124
6125 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6126
6127         * ParagraphList.C (insert): new function, three arg insert
6128
6129         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6130         not on paragraphs.
6131
6132 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6133
6134         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6135
6136 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6137
6138         * CutAndPaste.C (pasteSelection): remove some unneeded code.
6139
6140 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6141
6142         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6143         (copySelection): clean up a bit.
6144         (pasteSelection): use make_pair
6145
6146         * ParagraphList.C (ParagraphList): implement copy constructor
6147         (operator=): implement, base on copy constructor.
6148         (assign): new func
6149
6150         * paragraph.C (erase): return a bool
6151
6152         * paragraph_pimpl.C (erasePos): remove function, move contents...
6153         (erase): ... here. Return a bool.
6154         (erase): call erase instead of erasePos.
6155
6156 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
6157
6158         * ParagraphList.h: define PitPosPair
6159         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6160         ParagraphList, fix a bug on pasting multiple pars
6161         * text2.C: change interface to C&P
6162
6163 2003-04-30  André Pönitz  <poenitz@gmx.net>
6164
6165         * undo_func.C: revert part of yesterday's patch 2
6166
6167 2003-04-30  John Levon  <levon@movementarian.org>
6168
6169         * LColor.C: s/tabular/table/
6170
6171 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6172
6173         * text3.C (dispatch): do not convert iterator -> pointer
6174         * undo_funcs.C (setCursorParUndo): ditto
6175         * text_funcs.C (transposeChars): ditto
6176
6177         * text2.C (setLayout): ws changes only
6178
6179         * text.C (breakParagraph): do not convert iterator -> pointer
6180         (insertChar): ditto
6181         (acceptChange): ditto
6182         (rejectChange): ditto
6183         (changeCase): ditto
6184         (Delete): ditto
6185         (backspace): ditto
6186
6187         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6188         pointer
6189
6190 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6191
6192         * text3.C (gotoInset): YABG (yet another bad getChar)
6193
6194 2003-04-29  André Pönitz  <poenitz@gmx.net>
6195
6196         * paragraph.h: make operator= private unimplemented as long as
6197           it is unusable
6198
6199         * ParagraphList.C: whitespace
6200
6201         * paragraph.[Ch]:
6202         * paragraph_pimpl.[Ch]:
6203         * paragraph_funcs.C:
6204         * CutAndPaste.C:
6205         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
6206
6207         * text2.C:
6208           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6209
6210 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6211
6212         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6213         * paragraph.[Ch] (erase):
6214         * paragraph_pimpl.[Ch] (erase): change return type and value
6215         * text2.C (cutSelection): some rework
6216
6217 2003-04-28  John Levon  <levon@movementarian.org>
6218
6219         * bufferlist.C: changes for unsaved changes dialog
6220
6221 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6222
6223         * bufferlist.C (newFile): set language (messages_) for new
6224         documents also.
6225
6226         * buffer.C (readFile): ws changes only.
6227
6228 2003-04-28  André Pönitz  <poenitz@gmx.net>
6229
6230         * undo_funcs.C:
6231         * lyxfunc.C:
6232         * buffer.[Ch]:
6233         * BufferView_pimpl.C:
6234         * BufferView.C: getParFromID related ParagraphList::iterator changes
6235
6236 2003-04-28  André Pönitz  <poenitz@gmx.net>
6237
6238         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6239           Changes
6240
6241 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6242
6243         * messages.C: remove one more localedir class variable.
6244
6245 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6246
6247         * messages.C (getLocaleDir): singleton generation function
6248         (Pimpl): use it.
6249         (Messages): add a default constructor.
6250
6251         * main.C (main): do not setup localedir here, do not call
6252         gettext_init.
6253
6254         * gettext.C (_): use it.
6255         (gettext_init): delete funciton
6256
6257 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6258
6259         * gettext.C (getLyXMessages): new singleton generating function.
6260
6261         * buffer.C (updateDocLang): adjust
6262
6263         * Makefile.am (messages.o): add target
6264         (main.o): remove target
6265
6266 2003-04-27  John Levon  <levon@movementarian.org>
6267
6268         * bufferlist.C:
6269         * lyx_cb.C:
6270         * lyxfunc.C:
6271         * lyxvc.C: specify cancel button in Alert::prompt
6272
6273 2003-04-26  John Levon  <levon@movementarian.org>
6274
6275         * text3.C:
6276         * lyxfunc.C:
6277         * lfuns.h:
6278         * LyXAction.C: add LFUN_INSET_SETTINGS
6279
6280         * lyxfunc.C: don't enable tabular-feature when there's
6281         just any locking inset
6282
6283 2003-04-26  John Levon  <levon@movementarian.org>
6284
6285         * bufferlist.C: re-add Cancel to buffer close question
6286
6287         * lyxfunc.C: fix import UI a bit
6288
6289 2003-04-25  John Levon  <levon@movementarian.org>
6290
6291         * gettext.C: remove the broken asserts for now
6292
6293 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6294
6295         * messages.C: make case where setlocale cannot comply work better.
6296
6297         * buffer.C (updateDocLang): new function
6298         (changeLanguage): use it
6299         (readFile): use it
6300
6301         * text2.C (setCounter): use B_ a bit.
6302
6303         * lyxlayout.C (Read): be sure to trim the label strings.
6304
6305         * messages.C (Messages): fix typo in comment
6306
6307         * buffer.C (readFile): set message_ after file is loaded.
6308         (makeDocBookFile): remove double return
6309         (changeLanguage): reset message_ upon language change.
6310         (B_): new func, use this to get translated buffer strings.
6311
6312         * main.C: add myself and Jean Marc as authors.
6313
6314 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6315
6316         * messages.[hC]: pimplify Messages, and three different pimpls to be
6317         used in different circumstances.
6318
6319         * gettext.[Ch]: change for use with new message code.
6320
6321 2003-04-24 André Pönitz <poenitz@gmx.net>
6322
6323         * factory.C: support for eqref
6324
6325 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6326
6327         * messages.[Ch]: add missing char
6328
6329         * Makefile.am (lyx_SOURCES): add messages.[Ch]
6330
6331         * messages.[Ch]: New files
6332
6333 2003-04-18  John Levon  <levon@movementarian.org>
6334
6335         * BufferView.h:
6336         * BufferView.C:
6337         * BufferView_pimpl.C:
6338         * lfuns.h:
6339         * LyXAction.C:
6340         * lyxtext.h:
6341         * text2.C: remove layout-copy/paste (bug 778)
6342
6343 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6344
6345         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6346
6347 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6348
6349         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6350         if they succeed. Act accordingly.
6351
6352 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6353
6354         * text2.C (setCharFont): adjust
6355         (setCounter): adjust
6356         (insertStringAsLines): adjust
6357
6358         * text.C (leftMargin): adjust
6359         (setHeightOfRow): adjust
6360
6361         * rowpainter.C (paintFirst): adjust
6362         (paintLast): adjust
6363
6364         * paragraph_funcs.C (depthHook): ParagraphList::iterators
6365         (outerHook): ditto
6366         (isFirstInSequence): ditto
6367         (getEndLabel): ditto
6368         (outerFont): adjust
6369
6370         * paragraph.C (getParLanguage): comment out some hard stuff.
6371
6372         * buffer.C (insertStringAsLines): take a ParagraphList as arg
6373         (sgmlError): ditto
6374         (simpleDocBookOnePar): ditto
6375         (makeDocBookFile): use ParagraphList::iterator
6376
6377         * CutAndPaste.C (pasteSelection): adjust
6378
6379 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6380
6381         * text2.C (getFont): adjust
6382         (getLayoutFont): adjust
6383         (getLabelFont): adjust
6384
6385         * paragraph_funcs.C (TeXOnePar): adjust
6386
6387         * buffer.C (simpleLinuxDocOnePar): adjust
6388         (simpleDocBookOnePar): adjust
6389
6390         * CutAndPaste.C (pasteSelection): adjust
6391
6392         * BufferView.C (getEncoding): adjust
6393
6394         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6395
6396 2003-04-16  John Levon  <levon@movementarian.org>
6397
6398         * lyxfind.C: use parlist stuff for search/changes
6399
6400 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6401
6402         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6403
6404         * text2.C (deleteEmptyParagraphMechanism): adjust
6405
6406         * text2.[Ch] (ownerParagraph): delete func (both of them
6407
6408 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6409
6410         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6411
6412 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6413
6414         * ParagraphList.C: prepare for NO_NEXT
6415
6416 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6417
6418         * text2.C (getFont): adjust
6419         (getLayoutFont): adjust
6420         (getLabelFont): adjust
6421
6422         * paragraph.C (getFont): adjust
6423         (getLabelFont): adjust
6424         (getLayoutFont): adjust
6425
6426         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6427
6428 2003-04-15  John Levon  <levon@movementarian.org>
6429
6430         From Angus Leeming
6431
6432         * lyx_main.C: handle Include in .ui files
6433
6434 2003-04-15  John Levon  <levon@movementarian.org>
6435
6436         * MenuBackend.C: make the doc files length shorter
6437
6438         * ToolbarBackend.h:
6439         * ToolbarBackend.C: handle toolbar placement flags,
6440         Minibuffer
6441
6442 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6443
6444         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6445         adjust
6446
6447         * paragraph_funcs.C (TeXOnePar): adjust
6448
6449         * paragraph.C (getLabelFont): add outerfont arg, adjust
6450         (getLayoutFont): ditto
6451         (simpleTeXOnePar): adjust
6452
6453         * paragraph_pimpl.C (realizeFont): delete func
6454
6455 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
6456
6457         * text2.C (beforeFullRowInset): added a bad getchar check, removed
6458         row argument, constify cur argument.
6459
6460 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6461
6462         * text2.C (getFont): adjust
6463         (getLayoutFont): adjust
6464         (getLabelFont): adjust
6465
6466         * paragraph_funcs.C (TeXOnePar): adjust
6467         (outerFont): new func...
6468         (realizeFont): ...moved out from here, changed this to facilitate
6469         transition
6470
6471         * paragraph.C (getFont): take outerfont as arg, adjust
6472         (simpleTeXOnePar): add outerfont arg, adjust
6473
6474         * buffer.C (simpleLinuxDocOnePar): adjust
6475         (simpleDocBookOnePar): adjust
6476
6477         * CutAndPaste.C (pasteSelection): adjust
6478
6479         * BufferView.C (getEncoding): adjust
6480
6481 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6482
6483         * text2.C (setCharFont): adjust
6484         (setCounter): adjust
6485
6486         * text.C (leftMargin): adjust
6487         (setHeightOfRow): adjust
6488
6489         * rowpainter.C (paintFirst): adjust
6490         (paintLast): adjust
6491
6492         * paragraph_pimpl.C (realizeFont): adjust
6493
6494         * paragraph.C (isFirstInSequence): move from here...
6495         * paragraph_funcs.C (isFirstInSequence): ...to here
6496
6497         * paragraph.C (outerHook): move from here...
6498         * paragraph_funcs.C (outerHook): ...to here
6499
6500         * paragraph.C (depthHook): move from here...
6501         * paragraph_funcs.C (depthHook): ...to here
6502
6503         * paragraph.C (getEndLabel): move from here...
6504         * paragraph_funcs.C (getEndLabel): ...to here
6505
6506         * text2.C (realizeFont): move from here...
6507         * paragraph_funcs.C (realizeFont): ...to here
6508
6509 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6510
6511         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6512
6513 2003-04-14  Angus Leeming  <leeming@lyx.org>
6514
6515         * LColor.[Ch]: scrap LColor mathcursor.
6516
6517 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6518
6519         * lyxlex.[Ch] (text): delete function
6520         * trans.C (Load): adjust
6521         * paragraph_funcs.C (readParToken): adjust
6522
6523 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6524
6525         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6526         vector<char> instead of a char[].
6527
6528         * lyxlex_pimpl.C (getString): adjust
6529         (next): adjust
6530         (lex): use getString
6531         (eatLine): adjust
6532         (nextToken): adjust
6533
6534         * lyxlex.C (text): use pimpl_->getString()
6535         (getBool): ditto
6536         (findToken): ditto
6537
6538 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6539
6540         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6541         (makeFontEntriesLayoutSpecific): temp var for par.size()
6542         (setLayout): temp var for ownerParagraphs().end()
6543         (fullRebreak): temp var for rows().end()
6544         (selectionAsString): temp var for boost::next(startpit), realize
6545         that the while really is a regular for loop.
6546         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6547         setCursor in one place.
6548         (setParagraph): temp vr for ownerParagraphs().end()
6549         (updateCounters): make the while loop a for loop
6550         (cutSelection): temp var for ownerParagraphs().end()
6551         (updateInset): make the do {} while() a regular for loop
6552         (getCursorX): use temp vars
6553         (setCurrentFont): use temp vars
6554         (getColumnNearX): use temp vars
6555
6556 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6557
6558         * text.C (transformChar): use temp var for getChar
6559         (computeBidiTables): use temp var for row->par()
6560         (fill): move temp vars for row->par() and pit->layout() earlier in
6561         the function.
6562         (labelFill): use temp var for row->par()
6563         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6564         asc and desc, realize that pit never changes and that firstpit is
6565         just a duplicate and not needed. Exchange rit->par() with pit in a
6566         lot of places.
6567         (breakAgain): use a temp var for boost::next(rit)
6568         (breakAgainOneRow): ditto
6569         (breakParagraph): use a temp var for rows().begin()
6570         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6571         (cursorRightOneWord): use temp var for cursor.par() and
6572         cursor.pos(), remove usage of tmpcursor.
6573         (cursorLeftOneWord): use temp var for cursor.par() and
6574         cursor.pos() only set cur at end of function.
6575
6576 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6577
6578         * text.C, text2.C: exchange all usage of Paragraph::next with
6579         boost::next(ParagraphList::iterator)
6580
6581         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6582
6583         * text2.C (cursorTop): simplify implementation
6584         (cursorBottom): ditto
6585         (setParagraph): use ParagraphList::iterator
6586         (setCurrentFont): adjust
6587         (getColumnNearX): adjust
6588         (cursorRight): adjust
6589         (cursorLeft): remove usage of Paragraph::previous
6590         (cursorUpParagraph): ditto
6591         (deleteEmptyParagraphMechanism): slight cleanup
6592
6593         * text.C (isBoundary): take a Paragraph const & instead of a
6594         pointer as arg.
6595         (addressBreakPoint): ditto
6596         (leftMargin): remove usage of Paragraph::previous.
6597         (setHeightOfRow): ditto
6598         (cursorLeftOneWord): ditto
6599         (selectNextWordToSpellcheck): ditto
6600         (Delete): ditto
6601         (backspace): ditto
6602         (breakParagraph): remove one usage of Paragraph::next
6603         (redoParagraph): ditto
6604         (acceptChange): ditto
6605         (insertChar): adjust
6606         (rowBreakPoint): adjust
6607
6608         * bufferview_funcs.C (toggleAndShow): adjust
6609
6610 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
6611
6612         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6613         methods to access it.
6614         * lyxtext.h:
6615         * text.C: Added updateRowPositions to compute all row positions.
6616         Make top_y and getRowNearY() to use the cached y position
6617
6618 2003-04-11  John Levon  <levon@movementarian.org>
6619
6620         * text.C (rowBreakPoint): reintroduce the labelEnd
6621         checks, code copied from the row fill stuff. Deep voodoo.
6622
6623         * text.C (fill): add a comment and debugging for the
6624         next poor soul.
6625
6626 2003-04-11  John Levon  <levon@movementarian.org>
6627
6628         * text.C: make sure fullrow insets get wrapped to the next line,
6629         even when they're in a manual label
6630
6631 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6632
6633         * text2.C (insertParagraph): make it take ParagraphList::iterator
6634         as arg.
6635         (setLayout): make it return ParagraphList::iterator
6636         (redoParagraphs): ditto
6637         (setCounter): ditto
6638         (checkParagraph): ditto
6639
6640         * text.C (getRow): make getrow take ParagraphList::iterator as arg
6641
6642         * text2.C: adjust several funcs.
6643         (realizeFont): take a ParagraphList::iterator as arg.
6644         (getLayoutFont): ditto
6645         (getLabelFont): ditto
6646         (setCharFont): ditto
6647
6648         * text.C: adjust several funcs.
6649
6650 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6651
6652         * text.C (selectNextWordToSpellcheck): don't accidentally
6653         skip insets
6654
6655 2003-04-10  John Levon  <levon@movementarian.org>
6656
6657         * ToolbarBackend.C (getIcon): special handling for
6658         LFUN_MATH_DELIM
6659
6660 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6661
6662         * text2.C (cursorRight): a getChar assert fixed
6663
6664 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6665
6666         * text2.C (getFont): change to take a ParagraphList::iterator
6667         instead of Paragraph*
6668         Adjust several functions.
6669
6670         * text.C (transformChar): change to take a ParagraphList::iterator
6671         instead of Paragraph*
6672         (singleWidth): ditto
6673         Adjust several functions.
6674
6675         * rowpainter.C: adjust several functions
6676         * rowpainter.h:store a ParagraphList::iterator and not a
6677         Paragraph&.
6678
6679
6680 2003-04-09  John Levon  <levon@movementarian.org>
6681
6682         * lyxfunc.C:
6683         * lfuns.h:
6684         * LyXAction.h:
6685         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6686         and the "help" bits as well
6687
6688 2003-04-09  John Levon  <levon@movementarian.org>
6689
6690         * ToolbarBackend.h:
6691         * ToolbarBackend.C: allow multiple toolbars
6692
6693 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6694
6695         * undo_funcs.C (setCursorParUndo): adjust
6696
6697         * text_funcs.C (transposeChars): adjust
6698
6699         * text3.C (gotoNextInset): adjust
6700         (dispatch): adjust
6701
6702         * text2.C (setLayout): adjust
6703         (changeDepth): adjust
6704         (setFont): adjust
6705         (redoParagraphs): adjust
6706         (selectionAsString): adjust
6707         (setParagraph): adjust
6708         (insertInset): adjust
6709         (cutSelection): adjust
6710         (copySelection): adjust
6711         (pasteSelection): adjust
6712         (insertStringAsLines): adjust
6713         (updateInset): adjust
6714         (setCursor): change to take a ParagraphList::iterator parameter
6715         (setCursorIntern): change to take a ParagraphList::iterator parameter
6716         (setCurrentFont): adjust
6717         (cursorLeft): adjust
6718         (cursorRight): adjust
6719         (deleteEmptyParagraphMechanism): adjust
6720
6721         * text.C (breakParagraph): adjust
6722         (insertChar): adjust
6723         (acceptChange): adjust
6724         (rejectChange): adjust
6725         (selectNextWordToSpellcheck): adjust
6726         (changeCase): adjust
6727         (Delete): adjust
6728         (backspace): adjust
6729
6730         * lyxfind.C (SearchForward): adjust
6731         (SearchBackward): adjust
6732         (nextChange): adjust
6733
6734         * lyxcursor.C (par): adjust
6735
6736         * lyxcursor.h: store a ParagraphList::iterator instead of a
6737         Paragraph*
6738
6739         * lyx_cb.C (getPossibleLabel): adjust
6740
6741         * bufferview_funcs.C (toggleAndShow): adjust
6742
6743         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6744         (dispatch): adjust
6745
6746         * BufferView.C (removeAutoInsets): adjust
6747         (lockedInsetStoreUndo): adjust
6748
6749 2003-04-09  John Levon  <levon@movementarian.org>
6750
6751         * ToolbarBackend.C: try icon without argument
6752         if with argument fails
6753
6754 2003-04-08  John Levon  <levon@movementarian.org>
6755
6756         * ToolbarBackend.h:
6757         * ToolbarBackend.C: add getIcon(), handle tooltip,
6758         and change from "Icon" to "Item".
6759
6760 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6761
6762         * BufferView.C (lockInset): another bad getchar crunched
6763
6764 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6765
6766         * text2.C (changeDepth): do not setUndo on test_only (make undo work
6767         again)
6768
6769 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
6770
6771         * lyxfind.C (searchForward, searchBackwards): bug 782
6772
6773 2003-04-07  John Levon  <levon@movementarian.org>
6774
6775         * paragraph.C: remove dead comment
6776
6777         * text.C: remove troublesome depth-fiddling code
6778         in leftMargin() and rightMargin() (bug 1017)
6779
6780         * text.C: fix breaking of rows in nested lists
6781         (bug 1004)
6782
6783         * text2.C (updateCounters): fix up depth values
6784         (bug 1013)
6785
6786 2003-04-07  John Levon  <levon@movementarian.org>
6787
6788         * BufferView_pimpl.C: clear message when doc finishes resizing,
6789         and after a mouse event
6790
6791         * lyxfunc.C: clear message after exiting inset
6792
6793 2003-04-07  John Levon  <levon@movementarian.org>
6794
6795         * bufferview_funcs.C: show math status not outside
6796         status in the statusbar
6797
6798 2003-04-07  John Levon  <levon@movementarian.org>
6799
6800         * lyxfunc.C: note status changed after a depth change
6801
6802 2003-04-04  Angus Leeming  <leeming@lyx.org>
6803
6804         * LaTeX.h: move AuxInfo operator==, != out of line.
6805         Remove LaTeX virtual destructor; nothing derives from it.
6806         Move operator()() out of public area and rename it startscript().
6807         Change protected for private.
6808
6809 2003-04-04  Angus Leeming  <leeming@lyx.org>
6810
6811         * lyxfunc.C:
6812         * text2.C: remove unneeded #includes.
6813
6814 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6815
6816         * text2.C (dEPM): fix the heigth of the next row
6817
6818 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6819
6820         * text.C: squashed an invalid getChar requester + some ws changes
6821
6822 2003-04-03  John Levon  <levon@movementarian.org>
6823
6824         * bufferview_funcs.h:
6825         * bufferview_funcs.C:
6826         * lyxfunc.C:
6827         * lyxtext.h:
6828         * text2.C: make getStatus work for the env depth lfuns
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: parlistize decDepth(), by merging it with incDepth()
6837
6838 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6839
6840         * lyxrow.h: store a ParagraphList::iterator instead of a
6841         Paragraph* and adjust other class functions to suit.
6842
6843         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6844         above.
6845
6846 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6847
6848         * text2.C (setCursor): do not anchor to cursor row for the time being
6849
6850 2003-04-02  John Levon  <levon@movementarian.org>
6851
6852         * LyXAction.C:
6853         * lfuns.h:
6854         * lyx_main.C:
6855         * lyxtext.h:
6856         * text.C:
6857         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6858
6859 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6860
6861         * paragraph.h: make ParagraphList and ParagraphList::iterator
6862         friends of Paragraph.
6863
6864         * buffer.C (makeLinuxDocFile): move towards ParagraphList
6865
6866         * ParagraphList.C: Use the private next_ and previous_ from
6867         Paragraph.
6868
6869 2003-04-01  John Levon  <levon@movementarian.org>
6870
6871         * ToolbarBackend.h:
6872         * ToolbarBackend.C:
6873         * Makefile.am: rename, remove defaults gunk
6874
6875         * MenuBackend.h:
6876         * MenuBackend.C: remove defaults gunk
6877
6878         * Languages.h:
6879         * Languages.C: remove defaults gunk
6880
6881         * lyx_main.h:
6882         * lyx_main.C: error out if files couldn't be found.
6883
6884 2003-04-02  John Levon  <levon@movementarian.org>
6885
6886         * text2.C: make incDepth() use parlist
6887
6888 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6889
6890         * undo_funcs.C (firstUndoParagraph): adjust
6891
6892         * text3.C (gotoInset): adjust
6893         (dispatch): adjust, and rewrite loop.
6894
6895         * text2.C (init): adjust, and rewrite loop.
6896         (redoParagraphs): adjust
6897         (updateInset): adjust, and rewrite loop.
6898         (deleteEmptyParagraphMechanism): adjust
6899
6900         * tabular.C (LyXTabular): adjust
6901         (SetMultiColumn): adjust
6902         (TeXRow): adjust
6903
6904         * lyxtext.[Ch] (ownerParagraph): delete function
6905         (ownerParagraphs): new function returns a ParagraphList.
6906
6907         * BufferView.C (removeAutoInsets): adjust
6908         (insertErrors): adjust
6909         (setCursorFromRow): adjust
6910
6911 2003-04-01  Angus Leeming  <leeming@lyx.org>
6912
6913         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6914         in the frontends.
6915
6916 2003-04-02  John Levon  <levon@movementarian.org>
6917
6918         * lyxtext.h:
6919         * text.C:
6920         * Makefile.am:
6921         * text_funcs.h:
6922         * text_funcs.C: make transposeChars a free function
6923
6924         * lyxrow_funcs.C: remove wrong comment
6925
6926 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6927
6928         * lyxtext.h: adjust
6929         * rowpainter.C: adjust
6930         * text.C: adjust
6931         * text2.C: adjust
6932         * text3.C: adjust
6933
6934         * lyxrow_funcs. [Ch]: new files
6935
6936         * lyxrow.[Ch]: remove next and previous pointers
6937         (next,previous): remove accessor functions
6938         (isParEnd): move to lyxrow_funcs
6939         (lastPos): move to lyxrow_funcs
6940         (nextRowIsAllInset): move to lyxrow_funcs
6941         (lastPrintablePos): move to lyxrow_funcs
6942         (numberOfSeparators): move to lyxrow_funcs
6943         (numberOfHfills): move to lyxrow_funcs
6944         (numberOfLabelHfills): move to lyxrow_funcs
6945         (hfillExpansion): move to lyxrow_funcs
6946
6947         * lyxfunc.C: adjust
6948
6949         * bufferview_funcs.C (toggleAndShow): adjust
6950
6951         * RowList.h: Remove class RowList from file leave just a
6952         std::list<Row>.
6953
6954         * RowList.C: delete file
6955
6956         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6957         and lyxrow_funcs.h
6958
6959 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6960
6961         * text3.C (cursorPrevious): adjust
6962         (cursorNext): adjust
6963         (dispatch): adjust
6964
6965         * text2.C (redoHeightOfParagraph): adjust
6966         (redoDrawingOfParagraph): adjust
6967         (setCursor): adjust
6968
6969         * text.C (breakParagraph): adjust
6970         (insertChar): adjust
6971         (backspace): adjust
6972
6973         * rowpainter.C (RowPainter): adjust
6974         (leftMargin): simplify and adjust
6975         (most rowpainter functions): adjust.
6976
6977         * rowpainter.h: store the row as RowList::iterator not as Row*
6978
6979         * lyxcursor.C (row): taka RowList::iterator as arg
6980         (irow): ditto
6981
6982         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6983         of Row*.
6984
6985 2003-04-01  Angus Leeming  <leeming@lyx.org>
6986
6987         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6988         stuff like bool Bool.
6989
6990 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6991
6992         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6993         rewrite a loop
6994
6995 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6996
6997         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6998         RowList::iterator.
6999
7000         * lyxtext.h (rows): drop one version and leve a const variant that
7001         returns a RowList::iterator.
7002
7003 2003-03-31  Angus Leeming  <leeming@lyx.org>
7004
7005         * text.C (fill): ensure that the signature is the same as that in the
7006         header file.
7007
7008 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
7009
7010         * text2.C (redoParagraphs): adjust
7011         (updateCounters): adjust
7012         (checkParagraph): adjust
7013         (getColumnNearX): adjust and reformat a bit.
7014
7015         * text.C (top_y): adjust
7016         (workWidth): adjust
7017         (leftMargin): adjust
7018         (prepareToPrint): adjust
7019         (getRow): adjust
7020         (getRowNearY): adjust
7021
7022         * lyxtext.h: make rowlist_ mutable.
7023
7024         * RowList.h: add const_iterator
7025         * RowList.C: adjust for RowList::const_iterator.
7026
7027         * text2.C (getCursorX): make it take a RowList::iterator as arg,
7028         adjust.
7029
7030 2003-03-31  John Levon  <levon@movementarian.org>
7031
7032         * lyxrc.h:
7033         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7034
7035         * lyx_main.C: set default fonts from using lyx_gui funcs
7036
7037         * exporter.C: pdf_mode moved from lyxrc
7038
7039         * lyx_cb.C:
7040         * lyxfunc.C: changes from above
7041
7042 2003-03-31  John Levon  <levon@movementarian.org>
7043
7044         * lyx_main.C: fix to the last fix
7045
7046 2003-03-31  John Levon  <levon@movementarian.org>
7047
7048         * bufferlist.C: "Load original" -> "Load Original"
7049
7050         * converter.C:
7051         * exporter.C:
7052         * importer.C:
7053         * lyx_main.C:
7054         * format.C: more Alert cleanups
7055
7056 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7057
7058         * text2.C (removeParagraph): make it take a RowList::iterator as
7059         arg, adjust.
7060         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7061         (postRowPaint): make it take a RowList::iterator as arg, adjust.
7062
7063         * text.C (anchor_row): make it take a RowList::iterator as arg,
7064         adjust.
7065         (computeBidiTables): make it take a const reference to Row instead
7066         of Row pointer, adjust.
7067         (leftMargin): make it take a RowList::iterator as arg, adjust.
7068         (rowBreakPoint): adjust
7069         (breakAgainOneRow): make it take a RowList::iterator as arg,
7070         adjust.
7071         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7072
7073         * bufferview_funcs.C (toggleAndShow): adjust
7074
7075 2003-03-30  John Levon  <levon@movementarian.org>
7076
7077         * Makefile.am:
7078         * BoostFormat.h:
7079         * boost-inst.C: moved to support
7080
7081         * several files: changes as a result
7082
7083 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7084
7085         * text2.C (LyXText): adjust.
7086         (init): adjust
7087         (removeRow): make it take a RowList::iterator as arg, adjust.
7088         (fullRebreak): adjust
7089         (deleteEmptyParagraphMechanism): adjust
7090         (clearPaint): adjust
7091         (postPaint): adjust
7092
7093         * text.C (top_y): adjust
7094         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7095         (breakAgain): make it take a RowList::iterator as arg, adjust.
7096         (breakParagraph): adjust
7097         (insertChar): adjust
7098         (backspace): adjust
7099
7100         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7101         need_break_row, and refresh_row.
7102
7103         * text3.C (dispatch): adjust
7104
7105         * text2.C (checkParagraph): adjust
7106         (setCursor): adjust
7107         (setCursorFromCoordinates): adjust
7108
7109         * text.C (top_y): adjust
7110         (workWidth): adjust
7111         (getRow): make it return a RowList::iterator, adjust
7112         (getRowNearY): make it return a RowList::iterator, adjust
7113
7114         * text2.C (init): adjust
7115         (insertRow): remove function
7116         (insertParagraph): adjust
7117         (redoParagraphs): adjust
7118         (fullRebreak): adjust
7119         (updateCounters): adjust
7120
7121         * text.C (top_y): rewrite to use RowList iterators.
7122         (top_y): adjust
7123         (setHeightOfRow): rewrite to sue RowList iterators.
7124         (appendParagraph): adjust
7125         (breakAgain): adjust
7126         (breakAgainOneRow): adjust
7127         (breakParagraph): adjust
7128         (getRow): adjust
7129         (getRowNearY): adjust, and remove commented code.
7130
7131         * lyxtext.h (firstRow): delete function
7132         (lastRow): delete function
7133         (rows): new function (const and non-const versions.)
7134         (insertRow): delete function
7135
7136         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7137
7138 2003-03-29  John Levon  <levon@movementarian.org>
7139
7140         * BufferView_pimpl.C: always update scrollbar top
7141         because pasting text when we're anchored could mean we
7142         miss an update altogether
7143
7144 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7145
7146         * text2.C (init): use rowlist_.end() and not 0.
7147         (insertRow): change to take a RowList::iterator as arg, adjust
7148         for this.
7149         (insertParagraph): change to take a RowList::iterator as arg,
7150         adjust for this.
7151         (redoParagraphs): remove some debug msgs.
7152
7153         * text.C (appendParagraph): change to take a RowList::iterator
7154         arg, adjust for this.
7155         (breakAgain): add an assert
7156         (breakAgainOneRow): ditto
7157
7158 2003-03-29  John Levon  <levon@movementarian.org>
7159
7160         * text2.C: do not clear selection after inc/decDepth
7161         (bug 550)
7162
7163 2003-03-29  John Levon  <levon@movementarian.org>
7164
7165         * BufferView.C:
7166         * buffer.C: fix broken strerrors according to Lars
7167
7168 2003-03-29  John Levon  <levon@movementarian.org>
7169
7170         * converters.C: more Alert cleanups
7171
7172 2003-03-29  John Levon  <levon@movementarian.org>
7173
7174         * bufferview_funcs.C: remove pointless Alert
7175
7176         * buffer.C: fix confusing error message when
7177         a template is chmoded 000
7178
7179 2003-03-29  John Levon  <levon@movementarian.org>
7180
7181         * BufferView.C:
7182         * BufferView.h:
7183         * BufferView_pimpl.C: Alert fixes
7184
7185         * Makefile.am:
7186         * tabular.C:
7187         * tabular-old.C: remove unused table compat reading
7188
7189 2003-03-29  John Levon  <levon@movementarian.org>
7190
7191         * BufferView.C:
7192         * buffer.C:
7193         * lyx_cb.h:
7194         * lyx_cb.C: more Alert cleanups
7195
7196         * lyxfunc.C: don't allow chktex if not latex document
7197
7198 2003-03-29  John Levon  <levon@movementarian.org>
7199
7200         * lyx_cb.C:
7201         * BufferView.C:
7202         * buffer.C: warnings pushed down from support/,
7203         kill err_alert
7204
7205 2003-03-29  John Levon  <levon@movementarian.org>
7206
7207         * lyxfunc.C: safety check for C-r (revert)
7208
7209 2003-03-29  John Levon  <levon@movementarian.org>
7210
7211         * bufferlist.h:
7212         * bufferlist.C: several UI fixes using Alert::prompt.
7213         Fix the pointless looping quit code. Fix stupid revert
7214         behaviour (bug 938)
7215
7216         * lyxvc.h:
7217         * lyxvc.C:
7218         * lyx_cb.C: use Alert::prompt
7219
7220         * lyx_main.C: remove a silly question
7221
7222         * lyxfunc.C: remove a couple of silly questions,
7223         use Alert::prompt
7224
7225 2003-03-28  John Levon  <levon@movementarian.org>
7226
7227         * text2.C: fix bug 974 (End on empty par)
7228
7229 2003-03-28  John Levon  <levon@movementarian.org>
7230
7231         * BufferView_pimpl.C:
7232         * LyXAction.C:
7233         * lfuns.h: remove do-nothing math greek lfuns
7234
7235 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7236
7237         * lyxgluelength.h (isValidGlueLength): add default arg on
7238         parameter 2. Remove default arg from friend in class.
7239
7240         * lyxlength.h (isValidLength): add default arg on parameter 2.
7241         Remove default arg from friend in class.
7242
7243         * text2.C (LyXText): adjust, initialize refresh_row.
7244         (init): adjust
7245         (removeRow): adjust
7246         (insertRow): adjust
7247         (insertParagraph): adjst
7248         (redoParagraphs): adjust
7249         (fullRebreak): adjust
7250         (updateCounters): adjust
7251         (deleteEmptyParagraphMechanism): first attempt at fixing a
7252         crashing bug.
7253
7254         * text.C (top_y): adjust
7255         (setHeightOfRow): adjust
7256         (getRow): adjust
7257         (getRowNearY): adjust
7258
7259         * lyxtext.h: include RowList.h
7260         (~LyXText): not needed anymore, deleted.
7261         (firstRow): modify for RowList
7262         (lastRow): new function
7263         Delete firstrow and lastrow class variables, add a Rowlist
7264         rowlist_ class variable.
7265
7266         * lyxrow.C (lastPos): use empty() and not !size() to check if a
7267         paragraph is empty.
7268
7269         * RowList.C (insert): fix case where it == begin().
7270
7271 2003-03-26  Angus Leeming  <leeming@lyx.org>
7272
7273         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7274         the thesaurus dialog.
7275
7276 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7277
7278         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7279
7280         * RowList.[Ch]: new files
7281
7282         * ParagraphList.C (erase): handle the case where it == begin
7283         correctly.
7284
7285 2003-03-25  John Levon  <levon@movementarian.org>
7286
7287         * Makefile.am:
7288         * aspell_local.h:
7289         * aspell.C: add new aspell support
7290
7291         * lyxrc.h:
7292         * lyxrc.C: Make use_pspell be use_spell_lib. Always
7293         have it accessible.
7294
7295 2003-03-25  Angus Leeming  <leeming@lyx.org>
7296
7297         * lfuns.h:
7298         * LyXAction.C (init): new LFUN_INSET_INSERT.
7299
7300         * BufferView_pimpl.C (dispatch): split out part of the
7301         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7302
7303         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7304         LFUN_INSET_APPLY.
7305
7306 2003-03-25  Angus Leeming  <leeming@lyx.org>
7307
7308         * lyxfunc.C (dispatch): changes to the Dialogs interface.
7309
7310 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
7311
7312         * text2.C:
7313         * text3.C: remove useless row->height(0)
7314
7315 2003-03-25  John Levon  <levon@movementarian.org>
7316
7317         * lyxtext.h:
7318         * text2.C:
7319         * text3.C: rename the refreshing stuff to better names
7320
7321 2003-03-24  John Levon  <levon@movementarian.org>
7322
7323         * BufferView_pimpl.h:
7324         * BufferView_pimpl.C: update layout choice on a mouse
7325         press/release
7326
7327 2003-03-23  John Levon  <levon@movementarian.org>
7328
7329         * Makefile.am: fix commandtags.h reference
7330
7331 2003-03-22  John Levon  <levon@movementarian.org>
7332
7333         * BufferView_pimpl.C:
7334         * lyxtext.h:
7335         * rowpainter.C:
7336         * rowpainter.h:
7337         * text.C:
7338         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7339
7340 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
7341
7342         * lyxtext.h:
7343         * text.C: take the rtl methods out of line
7344
7345 2003-03-21 André Pönitz <poenitz@gmx.net>
7346
7347         * metricsinfo.[Ch]: new files containing structures to be passed around
7348         during the two-phase-drawing...
7349
7350 2003-03-21 André Pönitz <poenitz@gmx.net>
7351
7352         * lyxtextclass.C: read 'environment' tag.
7353
7354 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
7355
7356         * text2.C (removeRow): fix bug 964
7357
7358 2003-03-20  John Levon  <levon@movementarian.org>
7359
7360         * rowpainter.C:
7361         * text.C:
7362         * text2.C: paint cleanups. Inset::update() dropped font
7363         parameter
7364
7365 2003-03-19  John Levon  <levon@movementarian.org>
7366
7367         * lyxfunc.C: only fitcursor/markDirty if available()
7368
7369 2003-03-19  John Levon  <levon@movementarian.org>
7370
7371         * commandtags.h: rename to ...
7372
7373         * lfuns.h: ... this, and renumber / cleanup
7374
7375 2003-03-19  John Levon  <levon@movementarian.org>
7376
7377         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7378         fit the cursor after an lfun
7379
7380         * BufferView.h:
7381         * BufferView.C:
7382         * BufferView_pimpl.h:
7383         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7384
7385         * LyXAction.C: layout-character should have ReadOnly
7386
7387         * ParagraphParameters.C:
7388         * buffer.C:
7389         * bufferview_funcs.C:
7390         * lyx_cb.C:
7391         * lyxfind.C:
7392         * lyxtext.h:
7393         * text.C:
7394         * text2.C:
7395         * text3.C:
7396         * undo_funcs.C: changes from above
7397
7398 2003-03-18  John Levon  <levon@movementarian.org>
7399
7400         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7401         remove it from update()
7402
7403         * lyxfunc.C: update layout choice after an lfun
7404
7405         * text3.C: remove extra updateLayoutChoice()s
7406
7407 2003-03-18  John Levon  <levon@movementarian.org>
7408
7409         * text.C: top_y change means full repaint, fix
7410         a drawing bug with cursor movement
7411
7412 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7413
7414         * lyxtext.h:
7415         * text.C:
7416         * text2.C: anchor row on setCursor
7417
7418 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7419
7420         * lyxtext.h: remove almost all mutable keywords
7421         * text.C:
7422         * text2.C:
7423         * text3.C: remove const keywords accordingly
7424
7425 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7426
7427         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7428         anon namespace
7429         (TeXEnvironment): ditto
7430         (TeXOnePar): ditto
7431
7432 2003-03-17  John Levon  <levon@movementarian.org>
7433
7434         * text.C (rowBreakPoint): remove attempt to fix displayed
7435         math insets inside a manual label
7436
7437 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7438
7439         * lyxtext.h: remove BufferView* as first arg from almost all class
7440         functions.
7441         * other files: adjust.
7442
7443 2003-03-17  John Levon  <levon@movementarian.org>
7444
7445         * lyxtext.h:
7446         * undo_funcs.C:
7447         * text2.C: more paint cleanups
7448
7449         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7450
7451         * rowpainter.h:
7452         * rowpainter.C: remove "smart" background painting code
7453
7454 2003-03-16  John Levon  <levon@movementarian.org>
7455
7456         * lyxtext.h:
7457         * text.C:
7458         * text2.C:
7459         * text3.C: add helper functions for setting refresh_row/y
7460
7461 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
7462
7463         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7464         newline inset which *can* get inserted in the pass_thru layouts.
7465         This is primarily for literate documents.
7466
7467 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
7468
7469         * buffer.C: increment LYX_FORMAT to 223
7470
7471 2003-03-14 André Pönitz <poenitz@gmx.net>
7472
7473         * textclass.h: prepare for environment handling, ws changes
7474         * lyxlayout.C: read latexheader and latexfooter tags
7475
7476 2003-03-14  John Levon  <levon@movementarian.org>
7477
7478         * text2.C: rewrite ::status() a bit
7479
7480 2003-03-13  John Levon  <levon@movementarian.org>
7481
7482         * lyxtext.h: add some docs
7483
7484 2003-03-13  John Levon  <levon@movementarian.org>
7485
7486         * lyxtext.h:
7487         * text.C:
7488         * text2.C:
7489         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7490
7491 2003-03-13  John Levon  <levon@movementarian.org>
7492
7493         * text3.C: fix appendix redrawing
7494
7495 2003-03-13  John Levon  <levon@movementarian.org>
7496
7497         * text.C (setHeightOfRow):
7498         * rowpainter.h:
7499         * rowpainter.C: make appendix mark have the text
7500           "Appendix" so the user knows what it is
7501
7502         * LColor.h:
7503         * LColor.C: s/appendixline/appendix/ from above
7504
7505 2003-03-13  John Levon  <levon@movementarian.org>
7506
7507         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7508
7509         * text.C: fix a getChar(pos) bug properly
7510
7511 2003-03-13  Angus Leeming  <leeming@lyx.org>
7512
7513         * commandtags.h:
7514         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7515         Probably only temporary. Let's see how things pan out.
7516
7517         * BufferView.C (unlockInset):
7518         * BufferView_pimpl.C (fitCursor):
7519         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7520
7521         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7522         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7523
7524         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7525         new functions that convert ParagraphParameters to and from a string.
7526
7527         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7528         BufferView::Pimpl's dispatch.
7529         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7530
7531 2003-03-13 André Pönitz <poenitz@gmx.net>
7532
7533         * lyxfunc.C:
7534         * text3.C:
7535         * factory.C: make it aware of InsetEnv
7536
7537 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7538
7539         * text2.C (setCursor): never ask for one past last
7540         (setCursor): add some debugging messages.
7541
7542         * text.C (singleWidth): never ask for one past last
7543         (singleWidth): ditto
7544         (leftMargin): ditto
7545         (rightMargin): ditto
7546         (rowBreakPoint): ditto
7547         (setHeightOfRow): ditto
7548         (prepareToPrint): ditto
7549
7550         * rowpainter.C (paintBackground): never ask for one past last
7551         (paintText): never ask for one past last
7552
7553         * paragraph_pimpl.C (getChar): make the assert stricter, never
7554         allow the one past last pos to be taken
7555
7556         * paragraph.C (getChar): ws changes only
7557
7558         * lyxrow.C (nextRowIsAllInset): never ask for one past last
7559         (numberOfSeparators): ditto
7560         (numberOfHfills): ditto
7561
7562 2003-03-12  John Levon  <levon@movementarian.org>
7563
7564         * author.h:
7565         * author.C:
7566         * bufferparams.h:
7567         * bufferparams.C:
7568         * paragraph_funcs.C: fix per-buffer authorlists
7569
7570 2003-03-12  John Levon  <levon@movementarian.org>
7571
7572         * text.C: fix newline in right address
7573
7574 2003-03-12  Angus Leeming  <leeming@lyx.org>
7575
7576         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7577         duplicate those in LyXFunc::dispatch.
7578
7579         * commandtags.h:
7580         * LyXAction.C:
7581         * ToolbarDefaults.C:
7582         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7583         Add LFUN_FONTFREE_UPDATE.
7584
7585         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7586         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7587
7588         * bufferview_func.[Ch]: several new functions to facilliate
7589         transfer of data to and from the character dialog.
7590
7591 2003-03-12  John Levon  <levon@movementarian.org>
7592
7593         * buffer.C:
7594         * paragraph.h:
7595         * paragraph.C:
7596         * paragraph_funcs.C:
7597         * paragraph_pimpl.C:
7598         * sgml.C:
7599         * tabular.C:
7600         * text.C:
7601         * text3.C: remove META_NEWLINE in favour of an inset
7602
7603         * rowpainter.h:
7604         * rowpainter.C: remove paintNewline (done by inset)
7605
7606 2003-03-12  John Levon  <levon@movementarian.org>
7607
7608         * paragraph_pimpl.C: complain about bad getChar()s
7609         for a while at least
7610
7611 2003-03-12  John Levon  <levon@movementarian.org>
7612
7613         * buffer.h:
7614         * buffer.C: move paragraph read into a separate function,
7615         a little renaming to reflect that.
7616
7617         * bufferparams.h:
7618         * bufferparams.C: remove the author_ids map, not necessary now
7619
7620         * factory.h:
7621         * factory.C: moved Buffer::readInset to here
7622
7623         * paragraph_funcs.h:
7624         * paragraph_funcs.C: readParagraph free function moved from
7625         buffer.C
7626
7627         * tabular.C: name change
7628
7629 2003-03-12  John Levon  <levon@movementarian.org>
7630
7631         * buffer.C:
7632         * ParagraphParameters.C: move par params input to
7633         a read() method
7634
7635         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7636         behave like a normal read from the stream wrt reading
7637         a line vs. a \\token
7638
7639 2003-03-12  John Levon  <levon@movementarian.org>
7640
7641         * paragraph.C:
7642         * ParagraphParameters.h:
7643         * ParagraphParameters.C: move output code to a
7644         ::write() method
7645
7646 2003-03-12  John Levon  <levon@movementarian.org>
7647
7648         * BufferView.C (insertLyXFile):
7649         * buffer.h:
7650         * buffer.C:
7651         * tabular.C: use a parlist iterator for creating the
7652           document.
7653
7654 2003-03-12  John Levon  <levon@movementarian.org>
7655
7656         * buffer.C: make current_change static local not
7657           static file-scope
7658
7659 2003-03-12  John Levon  <levon@movementarian.org>
7660
7661         * buffer.C: fix insertStringAsLines for change tracking
7662
7663 2003-03-12  John Levon  <levon@movementarian.org>
7664
7665         * BufferView.C:
7666         * tabular.C:
7667         * buffer.h:
7668         * buffer.C:
7669         * bufferparams.h:
7670         * bufferparams.C: move author list into params. Rename some
7671           functions. Move the header reading into a separate token
7672           loop. Move the header token reading into BufferParams.
7673
7674 2003-03-12  John Levon  <levon@movementarian.org>
7675
7676         * changes.C: put debug inside lyxerr.debugging() checks
7677
7678 2003-03-11 André Pönitz <poenitz@gmx.net>
7679
7680         * factory.C: make it aware of InsetHFill
7681
7682 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7683
7684         * buffer.C (latexParagraphs): move function from here...
7685         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7686         args.
7687
7688 2003-03-10  Angus Leeming  <leeming@lyx.org>
7689
7690         * LyXAction.C (init): fix bug in poplating array with multiple entries
7691         with the same LFUN (spotted by JMarc).
7692
7693 2003-03-10  John Levon  <levon@movementarian.org>
7694
7695         * text.C:
7696         * text2.C: move getColumnNearX() near its
7697         only call site
7698
7699 2003-03-10  John Levon  <levon@movementarian.org>
7700
7701         * text.C: fix break before a minipage
7702
7703 2003-03-10  John Levon  <levon@movementarian.org>
7704
7705         * text.C: fix the last commit
7706
7707 2003-03-09  John Levon  <levon@movementarian.org>
7708
7709         * lyxtext.h:
7710         * text.C:
7711         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7712         bug 365 (don't break before insets unless needed). Don't
7713         return a value > last under any circumstances.
7714
7715 2003-03-09  Angus Leeming  <leeming@lyx.org>
7716
7717         * BufferView_pimpl.C (trackChanges, dispatch): call
7718         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7719
7720 2003-03-09  Angus Leeming  <leeming@lyx.org>
7721
7722         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7723         than Dialogs::showAboutlyx().
7724
7725 2003-03-09  Angus Leeming  <leeming@lyx.org>
7726
7727         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7728         than Dialogs::showTabularCreate().
7729
7730 2003-03-09  John Levon  <levon@movementarian.org>
7731
7732         * lyxtext.h:
7733         * text.C:
7734         * text2.C: 3rd arg to nextBreakPoint was always the same.
7735           Use references.
7736
7737 2003-03-08  John Levon  <levon@movementarian.org>
7738
7739         * lyxrow.C:
7740         * paragraph.C:
7741         * paragraph.h:
7742         * rowpainter.C:
7743         * text.C:
7744         * text2.C: Remove the "main" bit from the "main body"
7745           notion.
7746
7747 2003-03-08  John Levon  <levon@movementarian.org>
7748
7749         * text.C (leftMargin): The left margin of an empty
7750         manual label paragraph should not include the label width
7751         string length.
7752
7753         * text.C (prepareToPrint): don't attempt to measure hfills
7754         for empty manual label paragraphs - the answer should be 0
7755
7756 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7757
7758         * CutAndPaste.C: remove commented code and reindent.
7759
7760 2003-03-08  John Levon  <levon@movementarian.org>
7761
7762         * lyxfunc.h:
7763         * lyxfunc.C: move reloadBuffer()
7764
7765         * BufferView.h:
7766         * BufferView.C: to here
7767
7768         * lyxvc.C: add comment
7769
7770         * vc-backend.h:
7771         * vc-backend.C: call bv->reload() to avoid
7772           getStatus() check on MENURELOAD
7773
7774 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
7775
7776         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7777         to an old format .dep file.
7778
7779 2003-03-07  Angus Leeming  <leeming@lyx.org>
7780
7781         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7782         when the LFUN_MOUSE_RELEASE should have been handled by
7783         inset->localDispatch.
7784
7785 2003-03-07  Angus Leeming  <leeming@lyx.org>
7786
7787         * BufferView_pimpl.C (dispatch):
7788         * LyXAction.C (init):
7789         * ToolbarDefaults.C (init):
7790         * commandtags.h:
7791         * lyxfunc.C (getStatus):
7792         remove LFUN_INSET_GRAPHICS.
7793
7794         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7795
7796 2003-03-07  Angus Leeming  <leeming@lyx.org>
7797
7798         * commandtags.h:
7799         * LyXAction.C (init):
7800         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7801
7802         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7803
7804         * commandtags.h:
7805         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7806
7807         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7808         localDispatch method LFUN_INSET_DIALOG_UPDATE.
7809
7810 2003-03-07  Angus Leeming  <leeming@lyx.org>
7811
7812         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7813         remove "ert".
7814
7815 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7816
7817         * ParagraphList.C (front): new function
7818         (back): implement
7819
7820 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
7821
7822         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7823         and top_row_offset_. removed var first_y.
7824         * text.C (top_y):
7825         * text2.C (LyXText, removeRow):
7826         * text3.C:
7827         * BufferView_pimpl.C:
7828         use these methods instead of using first_y
7829
7830 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7831
7832         * text2.C (pasteSelection): adjust for checkPastePossible
7833
7834         * CutAndPaste.C: remove Paragraph * buf and replace with
7835         ParagraphList paragraphs.
7836         (DeleteBuffer): delete
7837         (cutSelection): change the tc type to textclass_type
7838         (copySelection): change the tc type to textclass_type
7839         (copySelection): adjust for ParagraphList
7840         (pasteSelection): change the tc type to textclass_type
7841         (pasteSelection): adjust for Paragraphlist
7842         (nrOfParagraphs): simplify for ParagraphList
7843         (checkPastePossible): simplify for ParagraphList
7844         (checkPastePossible): remove unused arg
7845
7846         * ParagraphList.C (insert): handle the case where there are no
7847         paragraphs yet.
7848
7849         * CutAndPaste.h: make CutAndPaste a namespace.
7850
7851         * text3.C (dispatch): adjust
7852
7853         * text.C (breakParagraph): add a ParagraphList as arg
7854
7855         * paragraph_funcs.C (breakParagraph): change to take a
7856         BufferParams and a ParagraphList as args.
7857         (breakParagraphConservative): ditto
7858         (mergeParagraph): ditto
7859         (TeXDeeper): add a ParagraphList arg
7860         (TeXEnvironment): ditto
7861         (TeXOnePar): ditto
7862
7863         * buffer.C (readLyXformat2): adjust
7864         (insertStringAsLines): adjust
7865         (latexParagraphs): adjust
7866
7867         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7868         (cutSelection): adjust
7869         (pasteSelection): adjust
7870
7871         * BufferView_pimpl.C (insertInset): adjust
7872
7873 2003-03-05  Angus Leeming  <leeming@lyx.org>
7874
7875         * commandtags.h:
7876         * LyXAction.C (init):
7877         * BufferView_pimpl.C (dispatch):
7878         * lyxfunc.C (getStatus):
7879         remove LFUN_CHILD_INSERT.
7880
7881         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7882
7883 2003-03-05  Angus Leeming  <leeming@lyx.org>
7884
7885         * commandtags.h:
7886         * LyXAction.C (init):
7887         * src/factory.C (createInset):
7888         * lyxfunc.C (getStatus):
7889         * text3.C (dispatch):
7890         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7891
7892         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7893
7894 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7895
7896         * ParagraphList.C (insert): handle insert right before end()
7897         (erase): fix cases where it can be first or last paragraph.
7898
7899 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7900
7901         * paragraph_funcs.C (TeXEnvironment): remove all usage of
7902         Paragraph::next and Paragraph::previous
7903         (TeXOnePar): ditto
7904
7905         * text.C (breakParagraph): adjust
7906
7907         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7908         BufferParams& as arg.
7909         (breakParagraph): use ParagraphList::insert
7910         (breakParagraphConservative): take a Buffer* instead of a
7911         BufferParams& as arg.
7912         (breakParagraphConservative): use ParagraphList::insert.
7913
7914         * buffer.C (insertStringAsLines): un-const it
7915         (insertStringAsLines): adjust
7916
7917         * ParagraphList.C (insert): new function
7918
7919         * CutAndPaste.C (pasteSelection): adjust
7920
7921         * text.C (backspace): adjust
7922
7923         * tabular.C (SetMultiColumn): adjust
7924
7925         * CutAndPaste.C (cutSelection): adjust
7926         (pasteSelection): adjust
7927
7928         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7929         Buffer const * as arg
7930
7931         * ParagraphList.C (erase): new function
7932         * paragraph_funcs.C (mergeParagraph): use it
7933         (mergeParagraph): make it take a Buffer* instead of a
7934         BufferParams* as arg
7935
7936         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7937         as arg
7938         (breakParagraphConservative): ditto
7939
7940         * paragraph.h: remove the breakParagraph friend
7941
7942         * paragraph.C (eraseIntern): new function
7943         (setChange): new function
7944
7945         * paragraph_funcs.C (mergeParagraph): make it take a
7946         ParagraphList::iterator instead of a Paragraph *, adjust
7947         accordingly.
7948
7949         * paragraph.h: move an #endif so that the change tracking stuff
7950         also works in the NO_NEXT case.
7951
7952 2003-03-04  Angus Leeming  <leeming@lyx.org>
7953
7954         * commandtags.h:
7955         * LyXAction.C: new LFUN_INSET_MODIFY.
7956
7957         * BufferView_pimpl.C (dispatch): if an inset is found to be open
7958         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7959
7960 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7961
7962         * several files: ws changes only
7963
7964         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7965         (TeXEnvironment): ditto
7966         (TeXDeeper): ditto
7967
7968         * buffer.C (makeLaTeXFile): adjust
7969         (latexParagraphs): make it take ParagraphList::iterator as args
7970
7971 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7972
7973         * buffer.C (latexParagraphs): adjust
7974
7975         * paragraph.C (TeXOnePar): move function...
7976         (optArgInset): move function...
7977         (TeXEnvironment): move function...
7978         * paragraph_pimpl.C (TeXDeeper): move function...
7979         * paragraph_funcs.C: ...here
7980
7981         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7982
7983 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7984
7985         * buffer.C (readInset): remove compability code for old Figure and
7986         InsetInfo insets
7987
7988 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7989
7990         * buffer.C: ws changes
7991         (readInset):
7992
7993         * BufferView_pimpl.C: ditto
7994         * author.C: ditto
7995         * buffer.h: ditto
7996         * bufferlist.h: ditto
7997         * changes.h: ditto
7998         * lyxfunc.C: ditto
7999
8000 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
8001
8002         * converter.[Ch]: split into itself +
8003         * graph.[Ch]
8004         * format.[Ch]
8005         * Makefile.am: += graph.[Ch] + format.[Ch]
8006         * MenuBackend.C
8007         * buffer.C
8008         * exporter.C
8009         * importer.C
8010         * lyx_main.C
8011         * lyxfunc.C
8012         * lyxrc.C: added #include "format.h"
8013
8014 2003-02-27  Angus Leeming  <leeming@lyx.org>
8015
8016         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8017           a label.
8018
8019         * factory.C (createInset): add "label" to the factory.
8020
8021         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8022           string and do no more.
8023
8024 2003-02-27  Angus Leeming  <leeming@lyx.org>
8025
8026         * commandtags.h:
8027         * LyXAction.C (init):
8028         * factory.C (createInset):
8029         * BufferView_pimpl.C (dispatch):
8030           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8031
8032         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8033
8034         * lyxfunc.C (dispatch):
8035         * text3.C (dispatch): pass name to params2string.
8036
8037 2003-02-26  Angus Leeming  <leeming@lyx.org>
8038
8039         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8040           blocks together.
8041           Rearrange the ~includes. Strip out the unnecessary ones.
8042
8043         * factory.C (createInset): reformat.
8044           create new insets for the various LFUN_XYZ_APPLY lfuns.
8045
8046 2003-02-26  John Levon  <levon@movementarian.org>
8047
8048         * lyxrow.h:
8049         * lyxrow.C: add isParStart,isParEnd helpers
8050
8051         * paragraph.h: make isInserted/DeletedText take refs
8052
8053         * paragraph_funcs.h:
8054         * paragraph_funcs.C: remove #if 0'd code
8055
8056         * lyxtext.h:
8057         * text3.C:
8058         * text2.C:
8059         * text.C: use lyxrow helpers above.
8060           Move draw and paint routines to RowPainter.
8061           Make several methods use refs not pointers.
8062           Make backgroundColor() const.
8063           Add markChangeInDraw(), isInInset().
8064           Merge changeRegionCase into changeCase.
8065           Make workWidth() shouldn't-happen code into an Assert.
8066
8067         * rowpainter.h:
8068         * rowpainter.C: new class for painting a row.
8069
8070         * vspace.h:
8071         * vspace.C: make inPixels take a ref
8072
8073 2003-02-26  Angus Leeming  <leeming@lyx.org>
8074
8075         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8076         LFUN_REF_APPLY.
8077
8078 2003-02-25  John Levon  <levon@movementarian.org>
8079
8080         * ispell.C: give the forked command a more accurate name
8081
8082 2003-02-22  John Levon  <levon@movementarian.org>
8083
8084         * toc.h:
8085         * toc.C: make TocItem store an id not a Paragraph *
8086           (bug #913)
8087
8088 2003-02-21  Angus Leeming  <leeming@lyx.org>
8089
8090         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8091           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8092           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8093           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8094           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8095           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8096
8097         * BufferView_pimpl.C (dispatch):
8098         * LyXAction.C (init):
8099         * factory.C (createInset):
8100         * lyxfunc.C (getStatus, dispatch):
8101         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8102
8103 2003-02-21  Angus Leeming  <leeming@lyx.org>
8104
8105         * BufferView_pimpl.C (MenuInsertLyXFile):
8106         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8107         * lyxfunc.C (menuNew, open, doImport):
8108           no longer pass a LyXView & to fileDlg.
8109
8110 2003-02-21  Angus Leeming  <leeming@lyx.org>
8111
8112         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8113         * LyXAction.C: change, BIBKEY to BIBITEM.
8114         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8115         Change InsetBibKey to InsetBibitem.
8116         Change BIBKEY_CODE to BIBITEM_CODE.
8117         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8118         * factory.C: replace insetbib.h with insetbibitem.h.
8119         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8120         * paragraph.C: replace insetbib.h with insetbibitem.h.
8121         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8122         Change bibkey() to bibitem().
8123         * text.C: remove insetbib.h.
8124         * text2.C: replace insetbib.h with insetbibitem.h.
8125         change bibkey() to bibitem().
8126         * text3.C: remove insetbib.h.
8127         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8128
8129 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8130
8131         * lyxrc.C (output): enclose user email in quotes (in case there are
8132         several words)
8133
8134 2003-02-18  John Levon  <levon@movementarian.org>
8135
8136         * buffer.h: add std::
8137
8138 2003-02-17  John Levon  <levon@movementarian.org>
8139
8140         * SpellBase.h:
8141         * ispell.h:
8142         * ispell.C:
8143         * pspell.h:
8144         * pspell.C: reworking. Especially in ispell, a large
8145           number of clean ups and bug fixes.
8146
8147         * lyxfunc.C: fix revert to behave sensibly
8148
8149 2003-02-17 André Pönitz <poenitz@gmx.net>
8150
8151         * LyXAction.C:
8152         * commandtags.h: new LFUN_INSERT_BIBKEY
8153
8154         * layout.h:
8155         * lyxlayout.C:
8156         * buffer.C:
8157         * factory.C:
8158         * text.C:
8159         * text2.C:
8160         * text3.C:
8161         * paragraph.[Ch]:
8162         * paragraph_func.C: remove special bibkey handling
8163
8164 2003-02-17  John Levon  <levon@movementarian.org>
8165
8166         * text.C (Delete): fix case where delete at the end of
8167           the very first paragraph would not merge the pars
8168
8169 2003-02-17  John Levon  <levon@movementarian.org>
8170
8171         * lyxrow.C: fix lastPrintablePos()
8172
8173 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8174
8175         * bufferparams.C (writeLaTeX): add a std:here
8176
8177         * buffer.C: and remove a using directive there
8178
8179 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8180
8181         * buffer.C (makeLaTeXFile): move the code that generates the
8182           preamble...
8183
8184         * bufferparams.C (writeLaTeX): ... in this new method
8185
8186         * LaTeXFeatures.C (getEncodingSet): make const
8187           (getLanguages): make const
8188
8189         * MenuBackend.C (binding): returns the binding associated to this
8190           action
8191           (add): sets the status of each item by calling getStatus. Adds
8192           some intelligence.
8193           (read): add support for OptSubMenu
8194           (expand): remove extra separator at the end of expanded menu
8195
8196 2003-02-15  John Levon  <levon@movementarian.org>
8197
8198         * BufferView.C:
8199         * BufferView_pimpl.C:
8200         * bufferlist.h:
8201         * bufferlist.C: remove pointless BufferStorage bloat. Remove
8202           inset code that had no actual effect. Remove unneeded status
8203           code.
8204
8205 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8206
8207         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8208           in preamble
8209
8210 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
8211
8212         * text.C (drawLengthMarker): also draw an arrow marker for
8213           symbolic lengths (medskip...)
8214
8215 2003-02-14  John Levon  <levon@movementarian.org>
8216
8217         * tabular.h:
8218         * tabular.C: better method names
8219
8220 2003-02-14  John Levon  <levon@movementarian.org>
8221
8222         * BufferView_pimpl.C:
8223         * bufferlist.C:
8224         * buffer.C:
8225         * converter.C:
8226         * lyx_cb.C:
8227         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8228           it's a more accurate name. Remove some pointless uses.
8229
8230 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8231
8232         * text2.C (LyXText): change order of initilizers to shut off
8233           warnings
8234
8235 2003-02-14  John Levon  <levon@movementarian.org>
8236
8237         * buffer.C: use ParIterator for getParFromID()
8238
8239         * paragraph.h:
8240         * paragraph.C:
8241         * paragraph_pimpl.h:
8242         * paragraph_pimpl.C: remove unused getParFromID()
8243
8244 2003-02-14  John Levon  <levon@movementarian.org>
8245
8246         * buffer.C: remove some very old #if 0'd parse code
8247
8248 2003-02-13  John Levon  <levon@movementarian.org>
8249
8250         * text.h:
8251         * text.C:
8252         * text2.C: move hfillExpansion(), numberOfSeparators(),
8253           rowLast(), rowLastPrintable(), numberofHfills(),
8254           numberOfLabelHfills() ...
8255
8256         * lyxrow.h:
8257         * lyxrow.C: ... to member functions here.
8258
8259         * paragraph.h:
8260         * paragraph.C:
8261         * lyxtext.h:
8262         * text.C: remove LyXText::beginningOfMainBody(), and call
8263           p->beginningOfMainBody() directly. Move the check for
8264           LABEL_MANUAL into the latter.
8265
8266         * text.h:
8267         * text.C:
8268         * text2.C:
8269         * vspace.C:
8270         * BufferView.h:
8271         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8272
8273         * text.h:
8274         * text.C:
8275         * text2.C:
8276         * text3.C:
8277         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8278           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8279
8280 2003-02-13  John Levon  <levon@movementarian.org>
8281
8282         * CutAndPaste.C: remove debug
8283
8284 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8285
8286         * paragraph.C (asString): remove two unused variables
8287
8288         * lyxtextclass.C (readTitleType):
8289           (Read):
8290           (LyXTextClass): handle new members titletype_ and titlename_
8291
8292         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8293
8294 2003-02-09  John Levon  <levon@movementarian.org>
8295
8296         * buffer.h:
8297         * buffer.C: replace hand-coded list with a map for the dep clean
8298
8299 2003-02-08  John Levon  <levon@movementarian.org>
8300
8301         * LaTeX.C: consolidate code into showRunMessage() helper
8302
8303 2003-02-08  John Levon  <levon@movementarian.org>
8304
8305         * lyxfind.C:
8306         * lyxtext.h:
8307         * text2.C:
8308         * BufferView.C: change setSelectionOverString() to setSelectionRange()
8309           and pass the size in explicitly
8310
8311         * BufferView_pimpl.h:
8312         * BufferView_pimpl.C:
8313         * BufferView.h:
8314         * BufferView.C: add getCurrentChange()
8315
8316         * BufferView_pimpl.h:
8317         * BufferView_pimpl.C: handle change lfuns
8318
8319         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8320           for changes. Mark pasted paragraphs as new.
8321
8322         * support/lyxtime.h:
8323         * support/lyxtime.C:
8324         * DepTable.C: abstract time_t as lyx::time_type
8325
8326         * LColor.h:
8327         * LColor.C: add colours for new text, deleted text, changebars
8328
8329         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8330           package use "usenames" option.
8331
8332         * commandtags.h:
8333         * lyxfunc.C:
8334         * LyXAction.C: add change lfuns
8335
8336         * Makefile.am:
8337         * author.h:
8338         * author.C: author handling
8339
8340         * buffer.h:
8341         * buffer.C: add a per-buffer author list, with first entry as
8342           current author. Handle new .lyx tokens for change tracking. Output
8343           author list to .lyx file. Output dvipost stuff to .tex preamble.
8344           Bump lyx format to 222.
8345
8346         * bufferlist.h:
8347         * bufferlist.C: add setCurrentAuthor() to reset current author details
8348           in all buffers.
8349
8350         * bufferparams.h:
8351         * bufferparams.C: add param for tracking
8352
8353         * bufferview_funcs.C: output change info in minibuffer
8354
8355         * Makefile.am:
8356         * changes.h:
8357         * changes.C: add change-tracking structure
8358
8359         * debug.h:
8360         * debug.C: add CHANGES debug flag
8361
8362         * lyxfind.h:
8363         * lyxfind.C: add code for finding the next change piece
8364
8365         * lyxrc.h:
8366         * lyxrc.C: add user_name and user_email
8367
8368         * lyxrow.h:
8369         * lyxrow.C: add a metric for the top of the text line
8370
8371         * lyxtext.h:
8372         * text.C: implement accept/rejectChange()
8373
8374         * lyxtext.h:
8375         * text.C: paint changebars. Paint new/deleted text in the chosen
8376         colours. Strike through deleted text.
8377
8378         * paragraph.h:
8379         * paragraph.C:
8380         * paragraph_pimpl.h:
8381         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8382           in the current change to the insert functions. Rework erase to
8383           mark text as deleted, adding an eraseIntern() and a range-based
8384           erase(). Implement per-paragraph change lookup and
8385           accept/reject.
8386
8387         * paragraph_funcs.C: Fixup paste for change tracking.
8388
8389         * tabular.C: mark added row/columns as new.
8390
8391         * text.C: fix rowLast() to never return -1. Don't allow
8392           spellchecking of deleted text. Track transpose changes. Don't
8393           allow paragraph break or merge where appropriate.
8394
8395         * text2.C: leave cursor at end of selection after a cut.
8396
8397 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8398
8399         * text.C (getLengthMarkerHeight):
8400         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8401         visible on screen too.
8402
8403 2003-02-07  John Levon  <levon@movementarian.org>
8404
8405         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8406
8407 2003-02-05  Angus Leeming  <leeming@lyx.org>
8408
8409         * lyxserver.C (read_ready): revert my patch of 11 September last year
8410         as it sends PC cpu through the roof. Presumably this means that
8411         the lyxserver will no longer run on an Alpha...
8412
8413 2003-01-30  Angus Leeming  <leeming@lyx.org>
8414
8415         * factory.C (createInset): create an InsetCommandParam of type "index"
8416         and use it to 'do the right thing'.
8417
8418         * text2.C (getStringToIndex): ensure that cursor position is always
8419         reset to the reset_cursor position.
8420
8421 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8422
8423         * lyxfunc.C (getStatus): "buffer-export custom" should never be
8424         disabled.
8425
8426 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
8427
8428         * bufferview.C:
8429         * lyxcb.C:
8430         * lyxfunc.C: Output messages with identical spelling, punctuation,
8431         and spaces
8432
8433 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
8434
8435         * MenuBackend.C (expandFormats): List only viewable export formats
8436         in "View" menu
8437
8438         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8439         message
8440
8441         * lyxfunc.C (getStatus): Make sure that formats other than
8442         "fax" can also be disabled
8443
8444 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8445
8446         * text3.C (dispatch): put the lfuns that insert insets in 3
8447         groups, and call doInsertInset with appropriate arguments.
8448         (doInsertInset): new function, that creates an inset and inserts
8449         it according to some boolean parameters.
8450
8451 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8452
8453         * buffer.C (readFile): remember to pass on 'par' when calling
8454         readFile recursively.
8455
8456 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8457
8458         * MenuBackend.C (expandFormats): add "..." to import formats.
8459
8460 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
8461
8462         * paragraph.C (asString): Remove XForms RTL hacks.
8463
8464 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
8465         * buffer.C: fix typo
8466
8467 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8468
8469         * Makefile.am (LIBS): delete var
8470         (lyx_LDADD): add @LIBS@ here instead.
8471
8472 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
8473
8474         * Clarify the meaning of "wheel mouse jump"
8475
8476 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8477
8478         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8479         tabular in a float
8480
8481 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8482
8483         * importer.C (Loaders): do not preallocate 3 elements in the
8484         vector, since one ends up with 6 elements otherwise
8485
8486 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8487
8488         * DepTable.C (write): write the file name as last element of the
8489         .dep file (because it may contain spaces)
8490         (read): read info in the right order
8491
8492 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8493
8494         * paragraph_pimpl.C (simpleTeXBlanks):
8495         (simpleTeXSpecialChars):
8496         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8497
8498         * tabular.C (latex): add some missing case statements. Reindent.
8499
8500         * MenuBackend.C (expandToc): remove unused variable.
8501
8502 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
8503
8504         * LColor.C:
8505         * LaTeX.C:
8506         * LyXAction.C:
8507         * MenuBackend.C:
8508         * buffer.C:
8509         * exporter.C:
8510         * lyxfunc.C:
8511         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8512         and the like.
8513
8514 2003-01-05  John Levon  <levon@movementarian.org>
8515
8516         * BufferView.h:
8517         * BufferView.C: add getEncoding()
8518
8519         * kbsequence.h:
8520         * kbsequence.C: do not store last keypress
8521
8522         * lyxfunc.h:
8523         * lyxfunc.C: store last keypress here instead. Pass encoding
8524           to getISOEncoded()
8525
8526 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8527
8528         * lyx_main.C (init): remove annoying error message when following
8529         symbolic links (bug #780)
8530
8531 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8532
8533         * text.C (insertChar):
8534         * lyxrc.C (getDescription): remove extra spaces
8535
8536 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8537
8538         * lyxrc.C (getDescription): remove extra spaces
8539
8540 2002-12-20  John Levon  <levon@movementarian.org>
8541
8542         * text3.C: hack fix for page up/down across tall rows
8543
8544 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8545
8546         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8547         not been invoked
8548
8549 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8550
8551         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8552         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8553         thesaurus is not compiled in
8554
8555 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
8556
8557         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
8558
8559 2002-12-16  Angus Leeming  <leeming@lyx.org>
8560
8561         * lyxrc.[Ch]:
8562         * lyx_main.C (init): remove override_x_deadkeys stuff.
8563
8564 2002-12-12  John Levon  <levon@movementarian.org>
8565
8566         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8567           insert. Only remove shift modifier under strict
8568           circumstances.
8569
8570 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8571
8572         * MenuBackend.C (expandToc): fix crash.
8573
8574 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8575
8576         * MenuBackend.C (expandToc): gettext on float names.
8577
8578 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
8579
8580         * lyxlength.[Ch]: set default unit to UNIT_NONE,
8581         implement bool empty() [bug 490]
8582
8583 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8584
8585         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8586
8587 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8588
8589         * several files: ws changes
8590
8591 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8592
8593         * text2.C (setCounter): clean up a bit, use boost.format.
8594         (updateCounters): initialize par upon declaration.
8595
8596         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8597         if the layout exists. We do not just store the layout any more.
8598         (SwitchLayoutsBetweenClasses): use boost.format
8599
8600 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8601
8602         * converter.C (convert): if from and to files are the same, use a
8603         temporary files as intermediary
8604
8605 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8606
8607         * commandtags.h:
8608         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8609
8610 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
8611
8612         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8613
8614 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8615
8616         * tabular.C (asciiPrintCell): use string(size, char) instead of
8617         explicit loop.
8618
8619         * sgml.C (openTag): fix order of arguments to string constructor
8620         (closeTag): ditto
8621
8622         * lyxfunc.C (dispatch): use boost.format
8623
8624         * lots of files: change "c" -> 'c'
8625
8626 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
8627
8628         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8629
8630 2002-11-25  Angus Leeming  <leeming@lyx.org>
8631
8632         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8633
8634         * lyx_main.C (init): compile fix.
8635
8636 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8637
8638         * lyx_cb.C (start): boost.formatify
8639         do not include <iostream>
8640
8641         * lengthcommon.C: ws only
8642
8643         * boost-inst.C,BoostFormat.h: add more explict instantations
8644
8645 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8646
8647         * lots of files: handle USE_BOOST_FORMAT
8648
8649 2002-11-21  John Levon  <levon@movementarian.org>
8650
8651         * pspell.C: fix compile
8652
8653 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8654
8655         * lyxfunc.C (dispatch): use boost::format
8656         (open): ditto
8657         (doImport): ditto
8658
8659         * lyxfont.C (stateText): use boost::format
8660
8661         * lyx_main.C (LyX): use boost::format
8662         (init): ditto
8663         (queryUserLyXDir): ditto
8664         (readRcFile): ditto
8665         (parse_dbg): ditto
8666         (typedef boost::function): use the recommened syntax.
8667
8668         * importer.C (Import): use boost::format
8669
8670         * debug.C (showLevel): use boost::format
8671
8672         * converter.C (view): use boost::format
8673         (convert): ditto
8674         (move): ditto
8675         (scanLog): ditto
8676
8677         * bufferview_funcs.C (currentState): use boost::format
8678
8679         * bufferlist.C (emergencyWrite): use boost::format
8680
8681         * buffer.C (readLyXformat2): use boost::format
8682         (parseSingleLyXformat2Token): ditto
8683
8684         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8685
8686         * LaTeX.C (run): use boost::format
8687
8688         * Chktex.C (scanLogFile): use boost::format
8689
8690         * BufferView_pimpl.C (savePosition): use boost::format
8691         (restorePosition): ditto
8692         (MenuInsertLyXFile): ditto
8693
8694         * BoostFormat.h: help file for explicit instation.
8695
8696 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
8697
8698         * tabular.C (latex): Support for block alignment in fixed width
8699         columns.
8700
8701 2002-11-17  John Levon  <levon@movementarian.org>
8702
8703         * BufferView_pimpl.C:
8704         * lyx_cb.C:
8705         * lyxfunc.C: split filedialog into open/save
8706
8707 2002-11-08  Juergen Vigna  <jug@sad.it>
8708
8709         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8710         by my last patch (hopefully).
8711
8712 2002-11-08  John Levon  <levon@movementarian.org>
8713
8714         * iterators.h:
8715         * iterators.C:
8716         * buffer.h:
8717         * buffer.C:
8718         * paragraph.h:
8719         * paragraph.C:
8720         * toc.h:
8721         * toc.C: ParConstIterator, and use it (from Lars)
8722
8723 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
8724
8725         * lyxtextclass.[Ch]: revise and add doxygen comments
8726
8727 2002-11-07  John Levon  <levon@movementarian.org>
8728
8729         * text.C: fix progress value for spellchecker
8730
8731         * toc.C: fix navigate menu for insetwrap inside minipage
8732
8733         * paragraph_funcs.C: added FIXME for suspect code
8734
8735 2002-11-07  John Levon  <levon@movementarian.org>
8736
8737         * BufferView_pimpl.C: fix redrawing of insets
8738           on buffer switch
8739
8740 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8741
8742         * text2.C (updateCounters): fix bug 668
8743
8744 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
8745
8746         * text3.C (dispatch): Do not make the buffer dirty when moving the
8747         cursor.
8748
8749 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8750
8751         * vc-backend.C: STRCONV
8752         (scanMaster): ditto
8753
8754         * text2.C (setCounter): STRCONV
8755
8756         * paragraph.C (asString): STRCONV
8757
8758         * lyxlength.C (asString): STRCONV
8759         (asLatexString): ditto
8760
8761         * lyxgluelength.C (asString): STRCONV
8762         (asLatexString): ditto
8763
8764         * lyxfunc.C (dispatch): STRCONV
8765         (open): ditto
8766
8767         * lyxfont.C (stateText): STRCONV
8768
8769         * importer.C (Import): STRCONV
8770
8771         * counters.C (labelItem): STRCONV
8772         (numberLabel): ditto
8773         (numberLabel): remove unused ostringstream o
8774
8775         * chset.C: STRCONV
8776         (loadFile): ditto
8777
8778         * bufferview_funcs.C (currentState): STRCONV
8779
8780         * buffer.C (readFile): STRCONV
8781         (asciiParagraph): ditto
8782         (makeLaTeXFile): ditto
8783
8784         * Spacing.C (writeEnvirBegin): STRCONV
8785
8786         * LaTeXFeatures.C (getLanguages): STRCONV
8787         (getPackages): ditto
8788         (getMacros): ditto
8789         (getBabelOptions): ditto
8790         (getTClassPreamble): ditto
8791         (getLyXSGMLEntities): ditto
8792         (getIncludedFiles): ditto
8793
8794         * LaTeX.C: STRCONV
8795         (run): ditto
8796         (scanAuxFile): ditto
8797         (deplog): ditto
8798
8799         * LString.h: add the STRCONV macros
8800
8801         * BufferView_pimpl.C (savePosition): STRCONV
8802         (restorePosition): ditto
8803         (MenuInsertLyXFile): ditto
8804
8805         * vc-backend.C (scanMaster): change from submatch[...] to
8806         submatch.str(...)
8807
8808         * funcrequest.C: include config.h
8809
8810         * factory.C: include config.h
8811
8812         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8813
8814         * box.C: include config.h
8815
8816         * LaTeX.C (scanAuxFile): change from submatch[...] to
8817         submatch.str(...)
8818         (deplog): ditto
8819
8820 2002-10-25  Angus Leeming  <leeming@lyx.org>
8821
8822         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8823
8824         * ispell.[Ch] (setError): new method.
8825         * ispell.C (c-tor): move out child process into new class LaunchIspell.
8826         Use setError() insetead of goto END.
8827
8828         * lyx_cb.C (AutoSave): move out child process into new class
8829         AutoSaveBuffer.
8830
8831 2002-10-30  John Levon  <levon@movementarian.org>
8832
8833         * text3.C: make start appendix undoable
8834
8835 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
8836
8837         * lyxlength.C (inPixels): Fix returned value.
8838
8839         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8840         environment.
8841
8842 2002-10-24  Angus Leeming  <leeming@lyx.org>
8843
8844         * lyxgluelength.h: no need to forward declare BufferParams
8845         or BufferView, so don't.
8846
8847 2002-10-21  John Levon  <levon@movementarian.org>
8848
8849         * BufferView.C: menuUndo ->undo, redo
8850
8851         * BufferView.h: document, remove dead, make some methods private
8852
8853         * paragraph_funcs.h:
8854         * paragraph_funcs.C:
8855         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8856
8857         * buffer.h:
8858         * buffer.C:
8859         * sgml.h:
8860         * sgml.C: move sgml open/close tag into sgml.C
8861
8862         * bufferview_funcs.h: unused prototype
8863
8864         * lyxfunc.h:
8865         * lyxfunc.C: remove unused
8866
8867         * lyxtext.h:
8868         * text.C: remove unused
8869
8870 2002-10-21  John Levon  <levon@movementarian.org>
8871
8872         * BufferView.h:
8873         * BufferView.C:
8874         * BufferView_pimpl.h:
8875         * BufferView_pimpl.C: fix mouse wheel handling based on
8876           patch from Darren Freeman
8877
8878 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
8879
8880         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8881
8882 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
8883
8884         * lyxlength.C (inPixels): Fix hanfling of negative length.
8885         Fix LyXLength::MU case.
8886
8887 2002-10-16  John Levon  <levon@movementarian.org>
8888
8889         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8890
8891 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8892
8893         * converter.C (view): add support for $$i (file name) and $$p
8894         (file path) for the viewer command. If $$i is not specified, then
8895         it is appended to the command (for compatibility with old syntax)
8896
8897 2002-10-14  Juergen Vigna  <jug@sad.it>
8898
8899         * undo_funcs.C (textHandleUndo): alter the order in which the
8900         new undopar is added to the LyXText, as we have to set first
8901         the right prev/next and then add it as otherwise the rebuild of
8902         LyXText is not correct. Also reset the cursor to the right paragraph,
8903         with this IMO we could remove the hack in "redoParagraphs()".
8904
8905 2002-10-09  Angus Leeming  <leeming@lyx.org>
8906
8907         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8908         to turn off an optimisation if a new inset is to be inserted.
8909
8910 2002-10-11 André Pönitz <poenitz@gmx.net>
8911
8912         * lyxtext.h: make some functions public to allow access
8913         from inset/lyxtext for handling LFUN_PRIOR/NEXT
8914
8915 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8916
8917         * text3.C (dispatch): when changing layout, avoid an infinite loop
8918         [bug #652]
8919
8920 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8921
8922         * lyxrc.C (read): treat a viewer or converter command of "none" as
8923         if it were empty.
8924
8925         * MenuBackend.C (expandFormats): for an update, also allow the
8926         formats that are not viewable
8927
8928         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8929         script if it is newer than the lyxrc.defaults in user directory
8930
8931 2002-10-07 André Pönitz <poenitz@gmx.net>
8932
8933         * text.C: Vitaly Lipatov's small i18n fix
8934
8935 2002-09-25  Angus Leeming  <leeming@lyx.org>
8936
8937         * ispell.h: doxygen fix.
8938
8939 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
8940
8941         * buffer.h (readFile): Add a new argument to the method, to allow
8942         reading of old-format templates.
8943
8944 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
8945
8946         * toc.C (getTocList): Get TOC from InsetWrap.
8947
8948 2002-09-16  John Levon  <levon@movementarian.org>
8949
8950         * lyxfunc.C: check tabular for cut/copy too
8951
8952 2002-09-12  John Levon  <levon@movementarian.org>
8953
8954         * LyXAction.C: tidy
8955
8956         * factory.h:
8957         * factory.C: add header
8958
8959         * paragraph_funcs.h:
8960         * paragraph_funcs.C: cleanup
8961
8962 2002-09-11  John Levon  <levon@movementarian.org>
8963
8964         * PrinterParams.h: odd/even default to true
8965
8966 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
8967
8968         * PrinterParams.h: update printer parameters for new xforms dialog
8969
8970 2002-09-11  Angus Leeming  <leeming@lyx.org>
8971
8972         * lyxserver.C (read_ready): re-write to make it more transparent
8973         and to make it work in coherent fashion under Tru64 Unix.
8974
8975 2002-09-11  André Pönitz <poenitz@gmx.net>
8976
8977         * commandtags.h:
8978         * LyXAction.C:
8979         * text3.C: implement LFUN_WORDSEL
8980
8981 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8982
8983         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8984         make floatlist_ a boost::shared_ptr<FloatList>
8985
8986         * lyxtextclass.C: include FloatList.h
8987         (LyXTextClass): initialize floatlist_
8988         (TextClassTags): add TC_NOFLOAT
8989         (Read): match "nofloat" to TC_NOFLOAT and use it.
8990         (readFloat): modify call to floatlist_
8991         (floats): ditto
8992         (floats): ditto
8993
8994         * FloatList.[Ch] (FloatList): remove commented out float
8995         initialization.
8996         (erase): new function
8997
8998 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8999
9000         * MenuBackend.C (expandToc): fix crash when there is no document
9001         open
9002
9003 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
9004
9005         * many files: Add insetwrap.
9006
9007 2002-09-09  John Levon  <levon@movementarian.org>
9008
9009         * text2.C: remove confusing and awkward depth wraparound
9010
9011 2002-09-09  John Levon  <levon@movementarian.org>
9012
9013         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9014
9015         * buffer.h:
9016         * buffer.C: remove getIncludeonlyList()
9017
9018         * paragraph.C:
9019         * lyxfunc.C: remove headers
9020
9021 2002-09-09  Juergen Vigna  <jug@sad.it>
9022
9023         * text.C (getColumnNearX): fix form Michael this is most
9024         probably a cut&paste bug.
9025
9026 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9027
9028         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9029
9030         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9031         references, ws changes.
9032
9033         * text2.C (init): update counters after init
9034         (insertParagraph): no need to set counter on idividual paragraphs.
9035         (setCounter): access the counters object in the textclass object
9036         on in the buffer object.
9037         (updateCounters): ditto
9038
9039         * lyxtextclass.C: include counters.h, add variable ctrs_ as
9040         shared_ptr<Counters> to avoid loading counters.h in all
9041         compilation units.
9042         (LyXTextClass): initialize ctrs_
9043         (TextClassTags): add TC_COUNTER, and ...
9044         (Read): use it here.
9045         (CounterTags): new tags
9046         (readCounter): new function
9047         (counters): new funtion
9048         (defaultLayoutName): return a const reference
9049
9050         * counters.C (Counters): remove contructor
9051         (newCounter): remove a couple of unneeded statements.
9052         (newCounter): simplify a bit.
9053         (numberLabel): some small formatting changes.
9054
9055         * buffer.[Ch]: remove all traces of counters, move the Counters
9056         object to the LyXTextClass.
9057
9058 2002-09-06  Alain Castera  <castera@in2p3.fr>
9059
9060         * tabular.C: uses \tabularnewline; uses >{...} construct from array
9061         package to set the horizontal alignment on fixed width columns.
9062
9063         * lyx_sty.C:
9064         * lyx_sty.h: added tabularnewline macro def.
9065
9066         * LaTeXFeatures.C: added NeedTabularnewline macro feature
9067
9068 2002-09-06  John Levon  <levon@movementarian.org>
9069
9070         * LyXAction.C: tooltips for sub/superscript
9071
9072         * MenuBackend.C: a bit more verbose
9073
9074         * lyxfunc.C: tiny clean
9075
9076         * undo_funcs.C: document undo_frozen
9077
9078 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9079
9080         * counters.C (Counters): add missing algorithm counter.
9081
9082         * text2.C (setCounter): lookup the counter with layouts latexname
9083         instead of by section number.
9084         (setCounter): use a hackish way to lookup the correct enum
9085         counter.
9086         a float name->type change
9087         reset enum couners with counter name directly instead of depth value.
9088
9089         * counters.C (Counters): remove the push_backs, change to use the
9090         float type not the float name.
9091         (labelItem): remove unused string, float name->type change
9092
9093         * counters.h: don't include vector, loose the enums and sects vectors
9094
9095 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9096
9097         * lyxtextclass.C (TextClassTags): add TC_FLOAT
9098         (Read): add float->TC_FLOAT to textclassTags
9099         (Read): and handle it in the switch
9100         (readFloat): new function
9101
9102         * FloatList.C (FloatList): comment out the hardcoded float
9103         definitions.
9104
9105         * lyxlayout.h: ws change.
9106
9107 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
9108
9109         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9110
9111 2002-09-03  Angus Leeming  <leeming@lyx.org>
9112
9113         * BufferView_pimpl.h: qualified name is not allowed in member
9114         declaration: WorkArea & Pimpl::workarea() const;
9115
9116         * factory.C: added using std::endl directive.
9117
9118         * text3.C: added using std::find and std::vector directives.
9119
9120 2002-08-29  André Pönitz <poenitz@gmx.net>
9121
9122         * lyxtext.h:
9123         * text2.C: remove unused member number_of_rows
9124
9125         * Makefile.am:
9126         * BufferView2.C: remove file, move contents to...
9127         * BufferView.C: ... here
9128
9129         * BufferView_pimpl.C:
9130         * factory.C: move more inset creation to factory
9131
9132         * vspace.C: avoid direct usage of LyXText, ws changes
9133
9134         * BufferView.[Ch]:
9135                 don't provide direct access to WorkArea, use two simple
9136                 acessors haveSelction() and workHeight() instead
9137
9138
9139 2002-08-29  John Levon  <levon@movementarian.org>
9140
9141         * BufferView_pimpl.C (dispatch): do not continue when
9142           no buffer
9143
9144 2002-08-28  André Pönitz <poenitz@gmx.net>
9145
9146         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9147
9148         * BufferView.h:
9149         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9150
9151 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
9152
9153         * buffer.C: increment LYX_FORMAT to 221
9154
9155         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9156         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9157
9158         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9159
9160         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9161
9162 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9163
9164         * factory.C (createInset): use LyXTextClass::floats
9165
9166         * MenuBackend.C (expandFloatListInsert):
9167         (expandFloatInsert):
9168         (expandToc):
9169
9170         * text2.C (setCounter):
9171
9172         * LaTeXFeatures.C (useFloat):
9173         (getFloatDefinitions):
9174
9175         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9176
9177         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9178         floatlist_, with accessor floats().
9179
9180         * FloatList.h: remove global FloatList
9181
9182 2002-08-26  André Pönitz <poenitz@gmx.net>
9183
9184         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9185
9186         * BufferView.h:
9187         * BufferView2.C:
9188         * BufferView_pimpl.C:
9189         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9190
9191 2002-08-25  John Levon  <levon@movementarian.org>
9192
9193         * LyXAction.C: fix margin note description
9194
9195 2002-08-24  John Levon  <levon@movementarian.org>
9196
9197         * buffer.C:
9198         * bufferlist.C:
9199         * bufferview_funcs.C:
9200         * lyxfont.C:
9201         * undo_funcs.C: cleanups
9202
9203         * lyxfunc.C: disable CUT/COPY when no selection
9204
9205 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
9206
9207         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9208         in "enum UNIT"; e.g. PTW for Percent of TextWidth
9209
9210         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9211         Add backward compatibility to "mono", "gray" and "no".
9212
9213 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
9214
9215         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9216         (and file_format >= 200).
9217
9218 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9219
9220         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9221
9222 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9223
9224         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9225
9226 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
9227
9228         * BufferView_pimpl.C:
9229         * LyXAction.C:
9230         * buffer.C:
9231         * commandtags.h:
9232         * lyxfunc.C:
9233         * paragraph.[Ch]:
9234         * text2.C:
9235         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9236         inset and code to make it  work with the paragraph code. The inset
9237         can be anywhere in the paragraph, but will only do the expected
9238         thing in LaTeX if the layout file contains the parameter line
9239                         OptionalArgs    1
9240         (or more generally, a nonzero value) for that layout.
9241
9242 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
9243
9244         * paragraph.h: remove the declaration of undefined counters class
9245         function.
9246
9247 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
9248
9249         * text2.C (setCounter):  fixed enumeration mis-count as reported by
9250         Dr. Richard Hawkins.
9251
9252 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9253
9254         * paragraph_funcs.h: remove some unneeded includes
9255
9256         * text.C (backspace): pasteParagraph now in global scipe
9257
9258         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9259         (pasteSelection): ditto
9260
9261         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9262         * paragraph_funcs.C (pasteParagraph): ... here
9263
9264 2002-08-20  André Pönitz <poenitz@gmx.net>
9265
9266         * commandtags.h: new LFUNs for swapping/copying table row/colums
9267
9268         * LyXAction.C:
9269         * lyxfunc.C: support for new lfuns
9270
9271 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
9272
9273         * tabular.C:
9274         * buffer.[Ch]: remove NO_COMPABILITY stuff
9275
9276 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
9277
9278         * boost.C (throw_exception): new file, with helper function for
9279         boost compiled without exceptions.
9280
9281         * paragraph.h:
9282         * lyxlength.C:
9283         * buffer.C:
9284         * ParameterStruct.h:
9285         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9286
9287         * bufferlist.C (emergencyWriteAll): use boost bind
9288
9289         * BufferView_pimpl.C (moveCursorUpdate): remove inline
9290
9291         * text.C: include paragraph_funcs.h
9292         (breakParagraph): breakParagraph is now in global scope
9293
9294         * paragraph_funcs.[Ch]: new files
9295
9296         * paragraph.C (breakParagraph,breakParagraphConservative): move to
9297         global scope
9298
9299         * buffer.C: include paragraph_funcs.h
9300         (insertStringAsLines): breakParagraph is now in global scope
9301
9302         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9303         paragraph_funcs.C
9304
9305         * CutAndPaste.C: include paragraph_funcs.h
9306         (cutSelection): breakParagraphConservative is now in global scope
9307         (pasteSelection): ditto
9308
9309         * buffer.h: declare oprator== and operator!= for
9310         Buffer::inset_iterator
9311
9312         * bufferlist.C (emergencyWrite): don't use fmt(...)
9313
9314         * text3.C: add using std::endl
9315
9316         * BufferView.C (moveCursorUpdate): remove default arg
9317
9318 2002-08-20  André Pönitz <poenitz@gmx.net>
9319
9320         * buffer.[Ch]: move inline functions to .C
9321
9322         * BufferView2.C:
9323         * BufferView_pimpl.C:
9324         * text.C:
9325         * buffer.[Ch]: use improved inset_iterator
9326
9327         * buffer.C:
9328         * paragraph.[Ch]: write one paragraph at a time
9329
9330 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
9331
9332         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9333         style if style is not specified.
9334
9335 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9336
9337         * text2.C (setCounter): when searching for right label for a
9338         caption, make sure to recurse to parent insets (so that a caption
9339         in a minipage in a figure float works) (bug #568)
9340
9341 2002-08-20  André Pönitz <poenitz@gmx.net>
9342
9343         * text3.C: new file for LyXText::dispatch() and helpers
9344
9345         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9346
9347         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9348
9349 2002-08-19  André Pönitz <poenitz@gmx.net>
9350
9351         * lyxtext.h:
9352         * text.C: new LyXText::dispatch()
9353
9354         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9355
9356 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
9357
9358         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9359
9360         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9361         Hebrew text.
9362
9363 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9364
9365         * Makefile.am: use $(variables) instead of @substitutions@
9366
9367 2002-08-15  André Pönitz <poenitz@gmx.net>
9368
9369         * lyxfunc.C:
9370         * BufferView_pimpl.C: streamlining mathed <-> outer world
9371         interaction
9372
9373         * commandtags.h:
9374         * LyXAction.C: remove unused LFUN_MATH
9375
9376 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9377
9378         * paragraph.[Ch]: add some NO_NEXT ifdefs.
9379
9380 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9381
9382         * paragraph.C (Paragraph): reformat a bit
9383         (cutIntoMinibuffer): use builtin InsetList function instad of
9384         doing it manually.
9385         (getInset): ditto
9386
9387         * buffer.C: include boost/bind.hpp, add using std::for_each
9388         (writeFileAscii): use ParagraphList iterators
9389         (validate): use for_each for validate traversal of paragraphs
9390         (getBibkeyList): use ParagraphList iterators
9391         (resizeInsets): use for_each to resizeInsetsLyXText for all
9392         paragraphs.
9393         (getParFromID): use ParagraphList iterators
9394
9395         * BufferView2.C (lockInset): use paragraph list and iterators
9396
9397 2002-08-14  John Levon  <levon@movementarian.org>
9398
9399         * lyxserver.C: remove spurious xforms include
9400
9401 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9402
9403         * lyxfunc.C (getStatus): disable math-extern outside of math mode
9404
9405 2002-08-13  André Pönitz <poenitz@gmx.net>
9406
9407         * LyXAction.[Ch]:
9408         * lyxfunc.C: further cleaning
9409
9410 2002-08-13  André Pönitz <poenitz@gmx.net>
9411
9412         * funcrequest.h: new constructor
9413
9414         * funcrequest.C: move stuff here from .h
9415
9416         * Makefile.am:
9417         * BufferView_pimpl.C:
9418         * LyXAction.C:
9419         * toc.C:
9420         * lyxfunc.C: subsequent changes
9421
9422         * lyxfunc.h: new view() member function
9423
9424         * lyxfunc.C: subsequent changes
9425
9426 2002-08-13  Angus Leeming  <leeming@lyx.org>
9427
9428         * BufferView2.C:
9429         * BufferView_pimpl.C:
9430         * buffer.C:
9431         * converter.C:
9432         * importer.C:
9433         * lyxfunc.C:
9434         * lyxvc.C:
9435         * toc.C:
9436         * vc-backend.C:
9437         changes due to the changed LyXView interface that now returns references
9438         to member variables not pointers.
9439
9440 2002-08-13  Angus Leeming  <leeming@lyx.org>
9441
9442         * WordLangTuple (word, lang_code): return references to strings,
9443         not strings.
9444
9445         * BufferView.h:
9446         * SpellBase.h:
9447         * lyxtext.h: forward-declare WordLangTuple.
9448
9449         * BufferView2.C:
9450         * ispell.C:
9451         * pspell.C:
9452         * text.C: #include "WordLangTuple.h".
9453
9454         * lyxtext.h:
9455         * text.C: (selectNextWordToSpellcheck): constify return type.
9456
9457 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
9458
9459         * buffer.C:
9460         * buffer.h:
9461         * lyxtext.h:
9462         * paragraph.C:
9463         * paragraph_pimpl.h:
9464         * text.C:
9465         * text2.C:
9466         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9467         suggested by Angus.
9468         Made updateCounter always count from start of buffer, and removed
9469         second argument (par).
9470         Reverted floats number display to '#'. Perhaps I'll try again when the
9471         code base is sanitized a bit.
9472
9473 2002-08-12  Angus Leeming  <leeming@lyx.org>
9474
9475         * buffer.[Ch] (getLabelList): constify.
9476
9477 2002-08-07  André Pönitz <poenitz@gmx.net>
9478
9479         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9480
9481         * funcrequest.h: extension to keep mouse (x,y) position
9482
9483 2002-08-12  Juergen Vigna  <jug@sad.it>
9484
9485         * BufferView2.C (insertErrors): forbid undo when inserting error
9486         insets.
9487
9488         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9489
9490 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9491
9492         * ParagraphList.[Ch]: new files
9493
9494         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9495
9496         * BufferView2.C (lockInset): ParagraphList changes
9497         * toc.C: ditto
9498         * text2.C: ditto
9499         * bufferlist.C: ditto
9500         * buffer.h: ditto
9501         * buffer.C: ditto
9502
9503 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9504
9505         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9506         unused class variable counter_,
9507
9508         * paragraph.[Ch] (getFirstCounter): delete unused function
9509
9510         * counters.C: include LAssert.h
9511         (reset): add a new function with no arg, change other version to
9512         not have def. arg and to not allow empty arg.
9513
9514         * text2.C (setCounter): remove empty arg from call to Counters::reset
9515
9516 2002-08-11  John Levon  <levon@movementarian.org>
9517
9518         * Makefile.am: add WordLangTuple.h
9519
9520 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9521
9522         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9523         lyxfunc.C lyxlex_pimpl.C: ws changes only.
9524
9525         * insets/insettext.C: InsetList changes
9526
9527         * graphics/GraphicsSupport.C (operator()): InsetList changes
9528
9529         * toc.C (getTocList): InsetList changes
9530
9531         * paragraph_pimpl.[Ch]: InsetList changes
9532
9533         * paragraph.[Ch]: InsetList changes
9534
9535         * buffer.C (inset_iterator): InsetList changes
9536         (setParagraph): ditto
9537         * buffer.h (inset_iterator): ditto
9538         * iterators.C (operator++): ditto
9539         * iterators.h: ditto
9540
9541         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9542
9543         * InsetList.[Ch]: new files, most InsetList handling moved out of
9544         paragraph.C.
9545
9546         * BufferView2.C (removeAutoInsets): InsetList changes
9547         (lockInset): ditto
9548         (ChangeInsets): ditto
9549
9550 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
9551
9552         * paragraph_pimpl.h (empty): new function
9553
9554         * paragraph.[Ch] (empty): new function
9555
9556         * other files: use the new Paragraph::empty function
9557
9558 2002-08-09  John Levon  <levon@movementarian.org>
9559
9560         * lyxtext.h: remove unused refresh_height
9561
9562 2002-08-09  John Levon  <levon@movementarian.org>
9563
9564         * Makefile.am:
9565         * sgml.h:
9566         * sgml.C:
9567         * buffer.C:
9568         * paragraph.h:
9569         * paragraph.C: move sgml char escaping out of paragraph
9570
9571         * paragraph.h:
9572         * paragraph.C: remove id setter
9573
9574         * buffer.C:
9575         * paragraph.C:
9576         * paragraph_pimpl.C: remove dead tex_code_break_column
9577
9578         * bufferview_funcs.C: small cleanup
9579
9580         * lyxfunc.C: remove dead proto
9581
9582         * lyxtext.h: make some stuff private. Remove some dead stuff.
9583
9584         * lyxgluelength.C: make as[LyX]String() readable
9585
9586 2002-08-08  John Levon  <levon@movementarian.org>
9587
9588         * LyXAction.h:
9589         * LyXAction.C:
9590         * MenuBackend.C:
9591         * ToolbarDefaults.C:
9592         * lyxfunc.C:
9593         * lyxrc.C:
9594         * toc.C: lyxaction cleanup
9595
9596 2002-08-08  John Levon  <levon@movementarian.org>
9597
9598         * BufferView2.C: small cleanup
9599
9600         * lyxfind.h:
9601         * lyxfind.C: move unnecessary header into the .C
9602
9603 2002-08-08  John Levon  <levon@movementarian.org>
9604
9605         * funcrequest.h: just tedious nonsense
9606
9607         * lyx_main.h:
9608         * lyx_main.C: cleanups
9609
9610         * buffer.C:
9611         * vspace.C: remove dead header lyx_main.h
9612
9613 2002-08-07  Angus Leeming  <leeming@lyx.org>
9614
9615         * Paragraph.[Ch]:
9616         * paragraph_pimpl.h:
9617         Forward declare class Counters in paragraph.h by moving the ctrs member
9618         variable into Paragraph::Pimpl.
9619         (counters): new method, returning a reference to pimpl_->ctrs.
9620
9621         * text2.C: ensuing changes.
9622
9623 2002-08-07  John Levon  <levon@movementarian.org>
9624
9625         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9626
9627         * BufferView_pimpl.C: announce X selection on double/triple
9628           click
9629
9630         * lyx_main.C: use correct bool in batch dispatch
9631
9632         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9633
9634 2002-08-07  André Pönitz <poenitz@gmx.net>
9635
9636         * funcrequest.h: new class to wrap a kb_action and its argument
9637
9638         * BufferView.[Ch]:
9639         * BufferView_pimpl[Ch]:
9640         * LaTeX.C:
9641         * LyXAction.[Ch]:
9642         * lyxfunc.[Ch]:
9643         * lyxrc.C: subsequent changes
9644
9645
9646 2002-08-07  John Levon  <levon@movementarian.org>
9647
9648         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9649           document options change.
9650
9651 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
9652
9653         * counters.[Ch]
9654         * text2.C
9655         * paragraph.[Ch]
9656         * makefile.am: move counters functionality over from
9657         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9658
9659 2002-08-06  John Levon  <levon@movementarian.org>
9660
9661         * WordLangTuple.h: new file for word + language code tuple
9662
9663         * SpellBase.h:
9664         * pspell.h:
9665         * pspell.C:
9666         * ispell.h:
9667         * ispell.C:
9668         * lyxtext.h:
9669         * text.C:
9670         * text2.C:
9671         * BufferView.h:
9672         * BufferView2.C: use WordLangTuple
9673
9674         * layout.h:
9675         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9676
9677 2002-08-06  John Levon  <levon@movementarian.org>
9678
9679         * lyx_main.C: fix cmdline batch handling
9680
9681 2002-08-06  André Pönitz <poenitz@gmx.net>
9682
9683         * lyxrc.C: set default for show_banner to true
9684
9685 2002-08-06  John Levon  <levon@movementarian.org>
9686
9687         * pspell.C: fix a crash, and allow new aspell to work
9688
9689 2002-08-06  John Levon  <levon@movementarian.org>
9690
9691         * lyxfunc.C:
9692         * kbmap.C: small cleanup
9693
9694         * vspace.h:
9695         * vspace.C: add const
9696
9697 2002-08-05  John Levon  <levon@movementarian.org>
9698
9699         * LyXAction.C: back to tabular-insert
9700
9701 2002-08-04  John Levon  <levon@movementarian.org>
9702
9703         * BufferView.h:
9704         * BufferView.C: cosmetic change
9705
9706         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9707
9708         * bufferlist.C:
9709         * buffer.h:
9710         * buffer.C:
9711         * lyxcb.h:
9712         * lyxcb.C:
9713         * lyxserver.C:
9714         * lyxvc.C:
9715         * vc-backend.C:
9716         * BufferView2.C: purge all "Lyx" not "LyX" strings
9717
9718         * lyxcursor.h:
9719         * lyxcursor.C: attempt to add some documentation
9720
9721         * lyxfunc.C:
9722         * commandtags.h:
9723         * LyXAction.C:
9724         * ToolbarDefaults.C:
9725         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9726           merge with LFUN_TABULAR_INSERT
9727
9728         * Makefile.am:
9729         * SpellBase.h:
9730         * ispell.h:
9731         * ispell.C:
9732         * pspell.h:
9733         * pspell.C: split up i/pspell implementations into separate
9734           files, many cleanups
9735
9736         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9737
9738         * text2.C: some cleanup
9739
9740         * lyxfunc.C: don't check for isp_command == "none" any more, it
9741           didn't make any sense
9742
9743 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
9744
9745         * counters.[Ch]
9746         * text2.C
9747         * paragraph.[Ch]
9748         * makefile.am: move counters functionality over
9749         from text2.C/paragraph.[Ch] to counters.[Ch], and
9750         make proper C++.
9751 2002-08-02  John Levon  <levon@movementarian.org>
9752
9753         * buffer.C: s/lyxconvert/lyx2lyx/
9754
9755 2002-08-02  Angus Leeming  <leeming@lyx.org>
9756
9757         * lyxlex.C: revert John's change as it breaks reading of the user
9758         preamble.
9759
9760 2002-08-02  Angus Leeming  <leeming@lyx.org>
9761
9762         * importer.C (Import):
9763         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9764         changes due to LyXView::view() now returning a boost::shared_ptr.
9765
9766 2002-08-02  John Levon  <levon@movementarian.org>
9767
9768         * lyxlex.C: small cleanup
9769
9770 2002-08-02  John Levon  <levon@movementarian.org>
9771
9772         * text2.C (status): small cleanup, no logic change
9773
9774 2002-08-01  John Levon  <levon@movementarian.org>
9775
9776         * buffer.h:
9777         * buffer.C (writeFile): don't output alerts, caller
9778           handles this
9779
9780         * bufferlist.C:
9781         * lyx_cb.C: from above
9782
9783         * lyxfunc.C: allow to open non-existent files
9784
9785 2002-07-31  John Levon  <levon@movementarian.org>
9786
9787         * lyxserver.C: don't let incidental errors get
9788           in the way (errno)
9789
9790 2002-07-30  John Levon  <levon@movementarian.org>
9791
9792         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9793
9794 2002-07-30  John Levon  <levon@movementarian.org>
9795
9796         * lyxserver.h:
9797         * lyxserver.C: remove I/O callback too
9798
9799 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9800
9801         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9802         log.
9803
9804 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9805
9806         * many files: strip,frontStrip -> trim,ltrim,rtrim
9807
9808 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
9809
9810         * PrinterParams.h: remove extern containsOnly, and include
9811         support/lstrings.h instead.
9812
9813         * LaTeX.C (scanAuxFile): modify because of strip changes
9814         (deplog): ditto
9815         * buffer.C (makeLaTeXFile): ditto
9816         * bufferparams.C (writeFile): ditt
9817         * lyxfont.C (stateText): ditto
9818         * lyxserver.C (read_ready): ditto
9819         * vc-backend.C (scanMaster): ditto
9820
9821         * BufferView_pimpl.h: ws changes
9822
9823         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9824
9825 2002-07-26  André Pönitz <poenitz@gmx.net>
9826
9827         * kb_sequence.C: remove unnedred usings
9828
9829 2002-07-26  Juergen Vigna  <jug@sad.it>
9830
9831         * lyxfind.C (LyXReplace): we have to check better if the returned
9832         text is not of theLockingInset()->getLockingInset().
9833
9834 2002-07-25  Juergen Vigna  <jug@sad.it>
9835
9836         * lyxfind.C (LyXReplace): don't replace if we don't get the
9837         right LyXText.
9838
9839         * undo_funcs.C (createUndo): remove debugging code.
9840
9841 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
9842
9843         * buffer.C (parseSingleLyXformat2Token): Use default placement
9844         when reading old floats.
9845
9846         * FloatList.C (FloatList): Change the default placement of figure
9847         and tables to "tbp".
9848
9849 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
9850
9851         * MenuBackend.C: using std::max
9852
9853 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9854
9855         * MenuBackend.C (expandToc):
9856         (expandToc2): code moved from xforms menu frontend. It is now
9857         generic and TOCs are transparent to menu frontends.
9858
9859 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9860
9861         * toc.C (getTocList): protect against buf=0
9862
9863         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9864         Menu as first parameter. Now, this calls itself recursively to
9865         expand a whole tree (this will be useful for TOC handling)
9866         (expandFloatInsert): remove 'wide' version of floats
9867
9868         * MenuBackend.h (submenuname): returns the name of the submenu.
9869         (submenu): returns the submenu itself, provided it has been
9870         created by MenuBackend::expand
9871
9872 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9873
9874         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9875         insets which have noFontChange == true. (bug #172)
9876
9877 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9878
9879         * BufferView_pimpl.C: add connection objects and use them...
9880         (Pimpl): here.
9881
9882 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9883
9884         * MenuBackend.C (expandLastfiles):
9885         (expandDocuments):
9886         (expandFormats):
9887         (expandFloatListInsert):
9888         (expandFloatInsert):
9889         (expand): split expand in parts
9890
9891 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9892
9893         * lyx_gui.C: use lyx_gui::exit()
9894
9895 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9896
9897         * LyXAction.C: show the failing pseudo action
9898
9899 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
9900
9901         * buffer.C (readFile): Run the lyxconvert script in order to read
9902         old files.
9903
9904 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9905
9906         * LyXAction.C:
9907         * commandtags.h:
9908         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9909
9910 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9911
9912         * LyXAction.C:
9913         * commandtags.h:
9914         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9915
9916 2002-07-22  Herbert Voss  <voss@lyx.org>
9917
9918         * lengthcommon.C:
9919         * lyxlength.[Ch]: add support for the vertical lengths
9920
9921 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
9922
9923         * toc.[Ch]: std:: fixes
9924
9925 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9926
9927         * lyxrc.C: do not include lyx_main.h
9928
9929         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9930         for layouts
9931
9932         * lyxrc.C:
9933         * encoding.C:
9934         * bufferlist.C:
9935         * BufferView2.C: include "lyxlex.h"
9936
9937         * tabular.h:
9938         * bufferparams.h: do not #include "lyxlex.h"
9939
9940         * lyxtextclasslist.C (Add): remove method
9941         (classlist): renamed to classlist_
9942
9943         * paragraph_pimpl.C:
9944         * paragraph.C:
9945         * text2.C:
9946         * CutAndPaste.C:
9947         * bufferview_funcs.C:
9948         * bufferlist.C:
9949         * text.C:
9950         * LaTeXFeatures.C:
9951         * buffer.C:
9952         * toc.C (getTocList): use BufferParams::getLyXTextClass
9953
9954         * toc.C (getTocList): use InsetFloat::addToToc
9955
9956         * toc.[Ch]: new files, containing helper functions to handle table
9957         of contents
9958
9959         * lyxfunc.C (dispatch): no need to remove spaces around command
9960         given as a string
9961         (getStatus): handle LFUN_SEQUENCE by returning the status of the
9962         first command of the sequence; it is not very clever, but I do not
9963         have a better idea, actually
9964
9965         * LyXAction.C (LookupFunc): make sure to remove space at the
9966         beginning and end of the command
9967
9968 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9969
9970         * MenuBackend.C (getMenubar): new method: return the menubar of
9971         this menu set
9972         (read): treat differently reading of menu and menubar (in
9973         particular, the menubar has no name now)
9974         (Menu::menubar): remove
9975
9976         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9977         saving is finished
9978
9979 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9980
9981         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9982         a bibitem inset in a RTL paragraph.
9983
9984 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
9985
9986         * paragraph_pimpl.C: constify
9987
9988         * BufferView_pimpl.C:
9989         * LaTeX.C:
9990         * lyxfunc.C: fix dispatch in a nicer way
9991
9992 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9993
9994         * lyxfunc.C (dispatch):
9995         * BufferView_pimpl.C:
9996         * BufferView_pimpl.h:
9997         * BufferView.C:
9998         * BufferView.h: rename Dispatch() to dispatch()
9999
10000         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10001
10002         * lyxlayout.C (Read): honor DependsOn tag
10003
10004         * lyxlayout.[Ch] (depends_on): new method
10005
10006         * version.C.in: update lyx_docversion
10007
10008         * LaTeXFeatures.C (getMacros): only define \LyX when needed
10009
10010         * paragraph.C (validate): remove from here...
10011         * paragraph_pimpl.C (validate): ... and move here
10012         (isTextAt): make it const
10013
10014         * buffer.C (getLists): ws cleanup
10015
10016 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10017
10018         * language.C (read): Use iso8859-1 encoding in latex_lang
10019         (this prevents LyX from crashing when using iso10646-1 encoding).
10020
10021 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10022
10023         * text2.C (toggleInset): if cursor is inside an inset, close the
10024         inset and leave cursor _after_ it
10025
10026 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10027
10028         * lyxfunc.C: move minibuffer completion handling out of here
10029
10030 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10031
10032         * BufferView_pimpl.C:
10033         * LaTeX.C: fix dispatch calls
10034
10035 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
10036
10037         * text.C (drawChars): Fix Arabic text rendering.
10038
10039 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
10040
10041         * LyXAction.C:
10042         * commandtags.h:
10043         * lyxfunc.C: remove message-push/pop
10044
10045         * lyxserver.C:
10046         * lyxfunc.h:
10047         * lyxfunc.C: rationalise some code by removing verboseDispatch
10048           in favour of a bool argument to dispatch()
10049
10050 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10051
10052         * lyx_main.C (init): make sure to read symlinks as absolute paths
10053
10054 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10055
10056         * lyxfunc.h:
10057         * lyxfunc.C: no need for commandshortcut to be a member
10058
10059 2002-07-15  André Pönitz <poenitz@gmx.net>
10060
10061         * converter.C: add support for $$s (scripts from lib/scripts dir)
10062         * lyx_main.C: white space
10063
10064 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10065
10066         * bufferlist.C:
10067         * lyxrc.h:
10068         * lyxrc.C: remove second exit confirmation
10069
10070 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10071
10072         * BufferView.h:
10073         * BufferView.C:
10074         * BufferView2.C:
10075         * BufferView_pimpl.h:
10076         * BufferView_pimpl.C:
10077         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10078
10079 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10080
10081         * MenuBackend.C (expand): add numeric shortcuts to document menu
10082
10083         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10084
10085 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10086
10087         * lyxfont.C (setLyXFamily):
10088         (setLyXSeries):
10089         (setLyXShape):
10090         (setLyXSize):
10091         (setLyXMisc):
10092         (lyxRead):
10093         * debug.C (value):
10094         * buffer.C (asciiParagraph): use ascii_lowercase
10095
10096 2002-07-15  Mike Fabian  <mfabian@suse.de>
10097
10098         * lyxlex_pimpl.C (search_kw):
10099         * lyxlex.C (getLongString):
10100         * converter.h (operator<):
10101         * converter.C (operator<):
10102         * buffer.C (parseSingleLyXformat2Token):
10103         (asciiParagraph):
10104         * ToolbarDefaults.C (read):
10105         * MenuBackend.C (checkShortcuts):
10106         (read):
10107         * LColor.C (getFromGUIName):
10108         (getFromLyXName): use the compare_ascii_no_case instead of
10109         compare_no_case, because in turkish, 'i' is not the lowercase
10110         version of 'I', and thus turkish locale breaks parsing of tags.
10111
10112 2002-07-16  Angus Leeming  <leeming@lyx.org>
10113
10114         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10115         now takes a Buffer const & argument.
10116
10117 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
10118
10119         * BufferView.C (resize): check there's a buffer to resize
10120
10121 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
10122
10123         * lyxfunc.C: remove dead code
10124
10125         * lyxserver.h:
10126         * lyxserver.C: use lyx_guii::set_read_callback
10127
10128 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
10129
10130         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10131         an inset in a RTL paragraph.
10132
10133 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10134
10135         * lyxfunc.C: repaint after a font size update
10136
10137 2002-07-15  André Pönitz <poenitz@gmx.net>
10138
10139         * lyxlength.C: inBP should be able to return negative values
10140
10141 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10142
10143         * lyxfunc.C: use lyx_gui::update_fonts()
10144
10145 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10146
10147         * lyxfunc.C: use lyx_gui::update_color()
10148
10149 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10150
10151         * bufferlist.C:
10152         * lyxfunc.h:
10153         * lyxfunc.C:
10154         * lyxrc.h:
10155         * lyxrc.C: remove file->new asks for name option, and let
10156           buffer-new take an argument
10157
10158 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10159
10160         * BufferView_pimpl.C: remove unneeded extra repaint()
10161
10162 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
10163
10164         * LyXAction.C: allow command-sequence with NoBuffer
10165
10166         * lyxfunc.C: don't insist on trailing ';' for command-sequence
10167
10168 2002-07-10  Angus Leeming  <leeming@lyx.org>
10169
10170         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10171
10172 2002-07-09  Angus Leeming  <leeming@lyx.org>
10173
10174         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10175
10176 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10177
10178         * lengthcommon.h: whitespace
10179
10180         * lyxfunc.C: update scrollbar after goto paragraph
10181
10182         * lyxtext.h: factor out page break drawing, and fix it so
10183           page break/added space paints as selected nicely
10184
10185 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10186
10187         * BufferView_pimpl.C: add FIXMEs, clean up a little
10188
10189 2002-07-09  André Pönitz <poenitz@gmx.net>
10190
10191         * lyxfont.[Ch]: support for wasy symbols
10192
10193 2002-07-08  André Pönitz <poenitz@gmx.net>
10194
10195         * BufferView_pimpl.C: apply John's patch for #93.
10196
10197 2002-07-05  Angus Leeming  <leeming@lyx.org>
10198
10199         * BufferView_pimpl.C (buffer): generate previews if desired.
10200
10201         * LColor.h: add "preview" to the color enum.
10202
10203         * LColor.C (LColor): add a corresponding entry to the items array.
10204
10205         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10206         with this buffer.
10207
10208 2002-07-05  Angus Leeming  <leeming@lyx.org>
10209
10210         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10211         The body of the code is now in the method that is passed an ostream &
10212         rather than a file name.
10213         Pass an additional only_preamble parameter, useful for the forthcoming
10214         preview stuff.
10215
10216 2002-07-03  André Pönitz <poenitz@gmx.net>
10217
10218         * lyxfunc.C: simplify getStatus() a bit for math stuff
10219
10220 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10221
10222         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10223
10224 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10225
10226         * text.C (changeRegionCase): do not change case of all the
10227         document when region ends at paragraph end (bug #461)
10228
10229 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10230
10231         * paragraph.C (startTeXParParams):
10232         (endTeXParParams): add \protect when necessary
10233
10234 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10235
10236         * BufferView_pimpl.C (workAreaExpose): remove warning
10237
10238 2002-06-27  Angus Leeming  <leeming@lyx.org>
10239
10240         * Makefile.am: add lyxlayout_ptr_fwd.h.
10241
10242 2002-06-26  André Pönitz <poenitz@gmx.net>
10243
10244         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10245
10246 2002-06-25  Angus Leeming  <leeming@lyx.org>
10247
10248         * lyxfunc.C (dispatch): Comment out the call to
10249         grfx::GCache::changeDisplay. The method no longer exists now that the
10250         pixmap generation part of the graphics loader has been moved into
10251         InsetGraphics.
10252
10253 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10254
10255         * text2.C: layout as layout
10256
10257         * text.C: layout as layout
10258
10259         * tabular.C (OldFormatRead): layout as layout
10260
10261         * paragraph_pimpl.C (TeXDeeper): layout as layout
10262         (realizeFont): layout as layout
10263
10264         * paragraph.C (writeFile): layout as layout
10265         (validate): layout as layout
10266         (getFont): layout as layout
10267         (getLabelFont): layout as layout
10268         (getLayoutFont): layout as layout
10269         (breakParagraph): layout as layout
10270         (stripLeadingSpaces): layout as layout
10271         (getEndLabel): layout as layout
10272         (getMaxDepthAfter): layout as layout
10273         (applyLayout): layout as layout
10274         (TeXOnePar): layout as layout
10275         (simpleTeXOnePar): layout as layout
10276         (TeXEnvironment): layout as layout
10277         (layout): layout as layout
10278         (layout): layout as layout
10279
10280         * lyxtextclass.C (compare_name): new functor to work with
10281         shared_ptr, layout as layout
10282         (Read): layout as layout
10283         (hasLayout): layout as layout
10284         (operator): layout as layout
10285         (delete_layout): layout as layout
10286         (defaultLayout): layout as layout
10287
10288         * lyxlayout_ptr_fwd.h: new file
10289
10290         * lyxlayout.C (Read): layout as layout
10291
10292         * lyx_cb.C (MenuInsertLabel): layout as layout
10293
10294         * bufferlist.C (newFile): layout as layout
10295
10296         * buffer.C (readLyXformat2): layout as layout
10297         (parseSingleLyXformat2Token): layout as layout
10298         (insertStringAsLines): layout as layout
10299         (asciiParagraph): layout as layout
10300         (latexParagraphs): layout as layout
10301         (makeLinuxDocFile): layout as layout
10302         (simpleLinuxDocOnePar): layout as layout
10303         (makeDocBookFile): layout as layout
10304         (simpleDocBookOnePar): layout as layout
10305         (getLists): layout as layout
10306
10307         * LaTeXFeatures.C (getTClassPreamble): layout as layout
10308
10309         * CutAndPaste.C (cutSelection): layout as layout
10310         (pasteSelection): layout as layout
10311         (SwitchLayoutsBetweenClasses): layout as layout
10312
10313         * BufferView_pimpl.C (Dispatch): layout as layout
10314         (smartQuote): layout as layout
10315
10316         * BufferView2.C (unlockInset): layout as layout
10317
10318 2002-06-24  André Pönitz <poenitz@gmx.net>
10319
10320         * lyxfunc.C: fix #487
10321
10322 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10323
10324         * lyxrc.h:
10325         * lyxrc.C:
10326         * lyxfunc.C: remove display_shortcuts, show_banner
10327
10328 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10329
10330         * Buffer_pimpl.C: oops, update on resize
10331
10332 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10333
10334         * buffer.C:
10335         * converter.C:
10336         * exporter.C:
10337         * lyxfunc.C:
10338         * BufferView.h:
10339         * BufferView.C: use repaint()
10340
10341         * BufferView_pimpl.h:
10342         * BufferView_pimpl.C: s/updateScreen()/repaint()/
10343           as it's a clearer description. Remove superfluous
10344           redraws.
10345
10346 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10347
10348         * text.C: fix bug 488. Not ideal, but getting
10349           getWord() to work properly for the insets that
10350           matter is more difficult ...
10351
10352 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10353
10354         * BufferView_pimpl.C:
10355         * LyXAction.C:
10356         * commandtags.h:
10357         * lyxfunc.C: remove the six million index lyxfuncs to just
10358           one, and DTRT (bug 458)
10359
10360 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10361
10362         * BufferView.h:
10363         * BufferView.C:
10364         * BufferView_pimpl.h:
10365         * BufferView_pimpl.C: clean up resize() stuff,
10366           and unnecessary updateScreen()s
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:
10374         * lyxfind.h:
10375         * lyxfind.C:
10376         * minibuffer.C: remove focus management of workarea,
10377           not needed. Use screen's greyOut()
10378
10379 2002-06-17  Herbert Voss  <voss@lyx.org>
10380
10381         * converter.C: (convert) do not post a message, when converting
10382         fails, let the calling function decide what to do in this case
10383
10384 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
10385
10386         * lyxfunc.C: tidy up a little
10387
10388 2002-06-16    <alstrup@diku.dk>
10389
10390         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10391         Got rid of FORMS_H_LOCATION include. Now we are
10392         GUII.
10393
10394 2002-06-15  LyX Development team  <lyx@rilke>
10395
10396         * buffer.[Ch] (sgmlOpenTag):
10397         (sgmlCloseTag): Added support for avoiding pernicious mixed
10398         content. Return number of lines written.
10399
10400         (makeLinuxDocFile):
10401         (makeDocBookFile): Fixed calls to sgml*Tag.
10402         Simple white space clean.
10403
10404         (simpleDocBookOnePar): Simple white space clean.
10405
10406         * tabular.[Ch] (docBook): Renamed to docbook and got another
10407         argument to related with the pernicious mixed content.
10408
10409         (docbookRow): Fixed calls for docbook inset method.
10410
10411 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
10412
10413         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10414         so it's X11 independent.
10415
10416         * kb*.[Ch]: ditto.
10417
10418         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10419
10420 2002-06-15  Lyx Development team  <lyx@electronia>
10421
10422         * intl.h: Renamed getTrans to getTransManager.
10423
10424 2002-06-14  Angus Leeming  <leeming@lyx.org>
10425
10426         * Makefile.am: nuke forgotten stl_string_fwd.h.
10427
10428 2002-06-12  Angus Leeming  <leeming@lyx.org>
10429
10430         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10431
10432 2002-06-13  Angus Leeming  <leeming@lyx.org>
10433
10434         * LaTeX.C:
10435         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10436
10437 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
10438
10439         * kbmap.C (getiso): add support for cyrillic and greek
10440
10441 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10442
10443         * BufferView.h:
10444         * BufferView.C:
10445         * BufferView_pimpl.h:
10446         * BufferView_pimpl.C: move bogus scrolling logic
10447           to xforms
10448
10449 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10450
10451         * lyxfunc.C:
10452         * BufferView_pimpl.C: view->resize() change
10453
10454 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10455
10456         * BufferView_pimpl.C: topCursorVisible
10457           prototype change
10458
10459 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10460
10461         * Makefile.am:
10462         * lyx_gui.h:
10463         * lyx_gui.C: move to frontends/
10464
10465         * main.C:
10466         * lyx_main.h:
10467         * lyx_main.C: changes from above
10468
10469 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10470
10471         * intl.C:
10472         * intl.h:
10473         * kbmap.C:
10474         * kbsequence.C:
10475         * lyx_cb.C:
10476         * lyx_main.C: minor tidy
10477
10478 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10479
10480         * BufferView_pimpl.h:
10481         * BufferView_pimpl.C:
10482         * BufferView.h:
10483         * BufferView.C: make painter() const,
10484           remove dead code
10485
10486         * BufferView2.C: use screen() accessor
10487
10488         * lyx_main.h:
10489         * lyx_main.C: some minor cleanup
10490
10491 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10492
10493         * BufferView_pimpl.h:
10494         * BufferView_pimpl.C: remove enter/leaveView,
10495           use workHeight()
10496
10497 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10498
10499         * BufferView.h:
10500         * BufferView.C:
10501         * BufferView2.C:
10502         * BufferView_pimpl.h:
10503         * BufferView_pimpl.C: only construct screen once,
10504           rename
10505
10506         * lyxrc.C: remove pointless comment
10507
10508 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10509
10510         * BufferView.h:
10511         * BufferView.C: remove active() and belowMouse()
10512
10513         * BufferView_pimpl.h:
10514         * BufferView_pimpl.C: use workarea() not workarea_,
10515           and make it use a scoped_ptr instead
10516
10517 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10518
10519         * lyx_gui.C: add debug message on BadWindow
10520
10521 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10522
10523         * sp_spell.C: fdopen is not part of the C++ standard.
10524
10525         * paragraph.C (InsetIterator): use >= instead of ==
10526
10527 2002-06-07  Angus Leeming  <leeming@lyx.org>
10528
10529         Fixes needed to compile with Compaq cxx 6.5.
10530         * BufferView_pimpl.C:
10531         * DepTable.C:
10532         * buffer.C:
10533         * converter.C:
10534         * encoding.C:
10535         * lyx_gui.C:
10536         * lyx_main.C:
10537         * lyxtextclasslist.C:
10538         * minibuffer.C:
10539         * sp_spell.C:
10540         * tabular_funcs.C:
10541         * vc-backend.C:
10542         all c-library variables have been moved into namespace std. Wrap
10543         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10544
10545         * lyxlength.C:
10546         * tabular-old.C:
10547         * tabular.C:
10548         Add a using std::abs declaration.
10549
10550         * kbmap.h (modifier_pair):
10551         * paragraph.h (InsetTable, InsetList):
10552         * lyxfont.h (FontBits):
10553         type definition made public.
10554
10555         * bufferlist.C (emergencyWriteAll): the compiler complains that
10556         there is more than one possible lyx::class_fun template to choose from.
10557         I re-named the void specialisation as lyx::void_class_fun.
10558
10559         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10560
10561         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10562         the compiler is is unable to find tostr in write_attribute.
10563
10564 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10565
10566         * buffer.C (sgmlError): hide #warning
10567
10568 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10569
10570         * xtl/*: get rid of xtl, which is not in use anyway
10571
10572         * LyXAction.C (init):
10573         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10574         were unimplemented xtl experimentation
10575
10576 2002-06-04  André Pönitz <poenitz@gmx.net>
10577
10578         * lyxfunc.C: disable array operation on simple formulae
10579
10580 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
10581
10582         * converter.C: constify a bit
10583
10584 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
10585
10586         * lyx_gui.C: check xforms version correctly
10587
10588 2002-04-30  Herbert Voss  <voss@lyx.org>
10589
10590         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10591         "keep" option
10592
10593 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
10594
10595         * lyxvc.C: fix bug 416 (make sure buffer is saved before
10596           attempt to register it with a VCS)
10597
10598 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10599
10600         * lyx_main.C (init): honor variables LYX_DIR_13x and
10601         LYX_USERDIR_13x
10602
10603 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10604
10605         * buffer.h:
10606         * buffer.C:
10607         * lyx_main.C: fix a crash on bad command line,
10608           and give a useful exit status on error
10609
10610         * lyxfunc.C (doImport): allow -i lyx to work
10611
10612 2002-03-30  André Pönitz <poenitz@gmx.net>
10613
10614         * lyxfunc.C: mathed font changes
10615
10616 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10617
10618         * LaTeX.C:
10619         * importer.h:
10620         * importer.C:
10621         * lyx_sty.h:
10622         * lyx_sty.C:
10623         * lyxlex.C:
10624         * lyxrow.h:
10625         * lyxtext.h:
10626         * paragraph.h:
10627         * paragraph.C:
10628         * texrow.h:
10629         * texrow.C:
10630         * text.C:
10631         * trans_mgr.h: srcdocs, and some minor cleanups
10632
10633 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10634
10635         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10636         call getFont all the time)
10637
10638 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10639
10640         * switch from SigC signals to boost::signals
10641
10642 2002-05-29  André Pönitz <poenitz@gmx.net>
10643
10644         * paragraph_pimpl.C (getChar): don't call size() too often...
10645
10646 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10647
10648         * paragraph_pimpl.C (insertChar): do not try to update tables when
10649         appending (pos == size())
10650
10651         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10652         in order to reduce drastically the number of comparisons needed to
10653         parse a large document
10654
10655 2002-05-29  André Pönitz <poenitz@gmx.net>
10656
10657         * text.C:
10658         * text2.C:
10659         * lyxtextclass.C:
10660         * sp_pspell.h:
10661         * textclasslist.[Ch]:
10662         * sp_ispell.h: whitespace change
10663
10664 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10665
10666         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10667         lyxaction directly now.
10668
10669 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
10670
10671         * trans.C:
10672         * lyxfont.C:
10673         * lyxvc.C: remove unused headers
10674
10675 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10676
10677         * Makefile.am:
10678         * buffer.h:
10679         * undostack.h:
10680         * undostack.C:
10681         * undo_funcs.h:
10682         * undo_funcs.C: some cleanups. Use shared_ptr
10683           and a template for the undo stacks.
10684
10685 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10686
10687         * BufferView_pimpl.h:
10688         * BufferView_pimpl.C:
10689         * kbmap.h:
10690         * kbmap.C:
10691         * kbsequence.h:
10692         * kbsequence.C:
10693         * lyxfunc.h:
10694         * lyxfunc.C:
10695         * text2.C: use key_state/mouse_state
10696
10697 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10698
10699         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10700         and LSubstring
10701
10702         * chset.C: change include order
10703         (loadFile): use boost regex and get rid of LRegex and LSubstring
10704
10705         * Makefile.am (BOOST_LIBS): new variable
10706         (lyx_LDADD): use it
10707
10708         * LaTeX.C: change include order.
10709         (scanAuxFile): use boost regex and get rid of LRegex and
10710         LSubstring
10711         (deplog): ditto
10712
10713 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10714
10715         * ColorHandler.h:
10716         * ColorHandler.C:
10717         * FontInfo.h:
10718         * FontInfo.C: moved to frontends/xforms/
10719
10720         * FontLoader.h:
10721         * FontLoader.C: moved into frontends for GUIIzation
10722
10723         * Makefile.am:
10724         * lyx_gui.C:
10725         * lyxfont.C:
10726         * lyxfunc.C: changes from above
10727
10728 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10729
10730         * LColor.C: remove spurious X include
10731
10732         * BufferView_pimpl.C:
10733         * Makefile.am:
10734         * font.h:
10735         * font.C:
10736         * text.C:
10737         * text2.C: move font metrics to frontends/
10738
10739 2002-05-24  Juergen Vigna  <jug@sad.it>
10740
10741         * undo_funcs.C (textHandleUndo): fix the cursor selection after
10742         setting the undo_cursor.
10743
10744         * ParagraphParameters.h: include local includes first.
10745
10746 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10747
10748         * BufferView_pimpl.C:
10749         * BufferView_pimpl.h:
10750         * Makefile.am:
10751         * WorkArea.h:
10752         * WorkArea.C:
10753         * screen.C: move WorkArea into frontends/
10754
10755         * lyxscreen.h:
10756         * screen.C:
10757         * text.C:
10758         * BufferView.C:
10759         * BufferView2.C: move LyXScreen into frontends/
10760
10761         * lyxlookup.h:
10762         * lyxlookup.C:
10763         * lyx_gui.C: move lyxlookup into frontends/xforms/
10764
10765 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10766
10767         * BufferView2.C:
10768         * BufferView_pimpl.C:
10769         * FontLoader.C:
10770         * LyXView.h:
10771         * LyXView.C:
10772         * Makefile.am:
10773         * WorkArea.C:
10774         * XFormsView.h:
10775         * XFormsView.C:
10776         * buffer.C:
10777         * bufferlist.C:
10778         * bufferview_funcs.C:
10779         * converter.C:
10780         * importer.C:
10781         * lyx_cb.C:
10782         * lyx_gui.C:
10783         * lyx_main.C:
10784         * lyx_find.C:
10785         * lyxfunc.C:
10786         * lyxvc.C:
10787         * minibuffer.C:
10788         * text.C:
10789         * text2.C:
10790         * trans.C:
10791         * vc-backend.C: move LyX/XFormsView into frontends/
10792
10793 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10794
10795         * Makefile.am:
10796         * PainterBase.C:
10797         * PainterBase.h:
10798         * Painter.C:
10799         * Painter.h:
10800         * WorkArea.C:
10801         * WorkArea.h:
10802         * screen.C:
10803         * tabular.C:
10804         * text.C:
10805         * text2.C: move Painter to frontends/
10806
10807 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10808
10809         * buffer.C: comment out some some code that depend upon lyx_format
10810         < 220
10811
10812         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10813         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10814
10815         * buffer.h (NO_COMPABILITY): turn off compability
10816
10817         * ColorHandler.C: include scoped_array.hpp
10818
10819         * font.C: Use more specific smart_ptr header.
10820         * Painter.C: ditto
10821         * gettext.C: ditto
10822         * ShareContainer.h: ditto
10823         * lyx_main.h: ditto
10824         * kbmap.h: ditto
10825         * FontInfo.h: ditto
10826         * BufferView_pimpl.h: ditto
10827         * ColorHandler.h: ditto
10828
10829         * kbmap.C (defkey): change call to shared_ptr::reset
10830
10831 2002-05-21  Juergen Vigna  <jug@sad.it>
10832
10833         * buffer.C (insertErtContents): fix to insert ert asis if it is
10834         non empty. Skip it completely if it contains only whitespaces.
10835
10836 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
10837
10838         * BufferView_pimpl.C:
10839         * BufferView2.C: clear selection on paste (bug 393)
10840
10841 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10842
10843         * DepTable.C: include ctime
10844
10845 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
10846
10847         * buffer.C (latexParagraphs): Add new argument (moving_arg).
10848
10849 2002-05-14  Juergen Vigna  <jug@sad.it>
10850
10851         * text.C (breakParagraph): fixed function to honor the keepempty
10852         layout in the right maner and also to permit the right breaking
10853         algorithm on empty or non empyt keepempty paragraphs.
10854
10855         * paragraph.C (breakParagraph): we have to check also if the par
10856         is really empty (!size()) for isempty otherwise we do the wrong
10857         paragraph break.
10858
10859 2002-05-10  Juergen Vigna  <jug@sad.it>
10860
10861         * buffer.[Ch] : The following are only changes to the ert
10862         compatibility read reading old LaTeX layout and font stuff and
10863         convert it to ERTInsets.
10864
10865         * buffer.h: added isErtInset().
10866
10867         * buffer.C (struct ErtComp): add a fromlayout bool to check
10868         if we're inside a LaTeX layout.
10869         (isErtInset): new helper function.
10870         (insertErtContents): look for other ert insets before this one
10871         and insert the contents there, so that we don't have subsequent
10872         ERT insets with nothing between them. This way we create only one
10873         inset with multiple paragraphs. Also check if we don't insert only
10874         spaces ' ' as they are ignored anyway afterwards in the .tex file
10875         so if we have only spaces we will ignore this latex part in the
10876         new file.
10877         (parseSingleLyXformat2Token \\layout): better compatibility when
10878         reading layout-latex stuff.
10879         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10880         language tag.
10881         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10882         stuff after reading the inset only get the information back from
10883         the stack.
10884
10885 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
10886
10887         * buffer.C (makeLaTeXFile): Put language options after loading babel.
10888
10889         * LaTeXFeatures.C (getBabelOptions): New method.
10890
10891 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10892
10893         * BufferView_pimpl.C (Dispatch): work around missing argument for
10894         'layout'
10895
10896 2002-05-08  Juergen Vigna  <jug@sad.it>
10897
10898         * text.C (leftMargin): handle paragraph leftindent.
10899
10900         * paragraph.C (writeFile): write the new \\leftindent tag.
10901         (validate): handle leftindent code.
10902         (TeXEnvironment): handle paragraphleftindent code again.
10903
10904         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10905
10906         * buffer.C (parseSingleLyXformat2Token): added compatibility code
10907         for paragrap_extra indent code and new token \\leftindent.
10908         (latexParagraphs): handle the leftindent as environment.
10909
10910         * ParameterStruct.h: added leftindent support.
10911
10912         * ParagraphParameters.C (leftIndent): added support functions for
10913         the paragraph left indent.
10914
10915         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10916         more appropriate.
10917
10918 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
10919
10920         * paragraph.C (isRightToLeftPar): Return false for a paragraph
10921         inside insetERT.
10922
10923         * text.C (computeBidiTables): No bidi in insetERT.
10924
10925         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10926         in RTL documents.
10927
10928 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10929
10930         * version.C.in: pre 5
10931
10932 2002-05-02  José Matos  <jamatos@fep.up.pt>
10933         * buffer.C (makeDocBookFile): white space changes, add newline to
10934         command styles.
10935         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10936
10937         * tabular.C (docBook): fix typo.
10938
10939 2002-05-03  Juergen Vigna  <jug@sad.it>
10940
10941         * screen.C (drawFromTo): recalculate the rowpointer if we had a
10942         change in LyXText as we can not be sure it was not freed.
10943         (drawOneRow): remove unused code.
10944
10945         * text.C (drawInset): redo the calculation of the need_break_row as
10946         it could have a row which was already freed.
10947         (draw): look at the return value of drawInset and return false if
10948         it also returned false.
10949         (paintRowText): look at the return value of draw and return false if
10950         it also returned false.
10951
10952         * lyxtext.h: added bool return type to drawInset() and draw() so that
10953         if we have a change in the row so that the rowbreak has to be redone
10954         we abort drawing as it will be called again.
10955
10956 2002-05-02  Juergen Vigna  <jug@sad.it>
10957
10958         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10959         a change in the maintext also if we're inside an inset.
10960         (Dispatch): set the cursor again after a break line and after the
10961         screen has been updated as it could be we're in a different row.
10962
10963         * text2.C (fixCursorAfterDelete): check to make sure we don't request
10964         to set the cursor behind the pargraph with > size().
10965         (setCursor): check also for the same paragraph when checking where
10966         to put the cursor if we have a NFR inset.
10967
10968         * buffer.C (parseSingleLyXformat2Token): move the compatibility
10969         parts of layout read further up as it still was in the wrong
10970         position.
10971
10972 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10973
10974         * screen.C (drawFromTo): change sine fullRebreak always return
10975         true.
10976
10977         * buffer.C (parseSingleLyXformat2Token): reindent some
10978
10979         * BufferView_pimpl.C (update): change since fullRebreak always
10980         return true.
10981         (Dispatch): git rid of the last hardcoded "Standard"s.
10982
10983 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10984
10985         * text2.[Ch] (fullRebreak): make it return void now that we always
10986         returned true.
10987
10988 2002-04-30  Juergen Vigna  <jug@sad.it>
10989
10990         * buffer.C (parseSingleLyXformat2Token): reset the font before the
10991         ert compatibility check for "latex" layout.
10992
10993 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
10994
10995         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10996         minipages: use col% instead of p%, and also use the current font.
10997         (makeLaTeXFile): Fix use babel condition.
10998         (parseSingleLyXformat2Token): Correct font when reading old floats.
10999
11000 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
11001
11002         * BufferView_pimpl.C (Dispatch): Check that float type exists when
11003         inserting list of floats.
11004
11005 2002-04-25  Herbert Voss  <voss@lyx.org>
11006
11007         * MenuBackend.C (expand): don't add the graphics extensions to the
11008         export menu
11009
11010 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11011
11012         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11013         non-existing layout, do not complain if it was the default layout
11014         of the original class (bug #342)
11015
11016 2002-04-24  Juergen Vigna  <jug@sad.it>
11017
11018         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11019         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11020
11021 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
11022
11023         * buffer.C (getBibkeyList): If using \bibliography, return the
11024         option field with the reference itself. Enables us to provide natbib
11025         support when using \bibliography.
11026
11027 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
11028
11029         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11030
11031         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11032         natbib is provided by the LaTeX class.
11033
11034 2002-04-23  Juergen Vigna  <jug@sad.it>
11035
11036         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11037         Wakeup functions.
11038
11039         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11040
11041 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11042
11043         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11044
11045         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11046         ensuremath around textordmasculine, textordfeminine and
11047         textdegree.
11048
11049 2002-04-19  Juergen Vigna  <jug@sad.it>
11050
11051         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11052         reinitializing the buffer otherwise row-dimensions may be wrong.
11053         (update): reset also the selection cursors if they do exits otherwise
11054         their x/y positions may be wrong.
11055
11056         * text2.C (cursorDown): don't enter the inset if we came from a row
11057         above and are one row over the inset.
11058
11059         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11060         really leaving an inset.
11061
11062 2002-04-18  Juergen Vigna  <jug@sad.it>
11063
11064         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11065         of the selected paragraph does not have the selected layout also if
11066         the last one had!
11067
11068         * text2.C (setLayout): fixed bug which did not change last selected
11069         paragraph.
11070
11071         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11072         changed the read and substituted \\end_float with \\end_inset!
11073
11074         * BufferView_pimpl.C (cursorPrevious):
11075         (cursorNext): fixed to make it work with rows heigher than the work
11076         area without moving the cursor only the draw of the row.
11077         (workAreaMotionNotify): fix jumping over high rows.
11078
11079 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11080
11081         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11082         Ressler.
11083
11084 2002-04-16  Juergen Vigna  <jug@sad.it>
11085
11086         * text2.C (setCursor): set also the irow().
11087         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11088         (cursorUp):
11089         (cursorDown): support for locking an inset if the x_fix value goes
11090         inside it. That way I can transverse insets too with cursor up/down.
11091
11092         * lyxrow.h: added irow helper function same as other (i) functions.
11093
11094         * BufferView_pimpl.C (cursorPrevious):
11095         (cursorNext): fixed for insets!
11096
11097 2002-04-15  Juergen Vigna  <jug@sad.it>
11098
11099         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11100         position otherwise it is wrong in some cases.
11101
11102         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11103         inside the inset before the call.
11104
11105 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
11106
11107         * buffer.[Ch] (getBibkeyList): make it const.
11108
11109 2002-04-12  Juergen Vigna  <jug@sad.it>
11110
11111         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11112
11113         * text2.C (getCursorX): new helper function
11114         (setCursor): compute also ix_
11115         (setCursorFromCoordinates): set also ix.
11116
11117         * lyxcursor.h: added ix_ and helper functions.
11118
11119         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11120
11121         * buffer.C (insertStringAsLines): dont break paragraph if the this
11122         paragraph is inside an inset which does not permit it!
11123
11124         * text.C (breakParagraph): honor keepempty flag and break the paragraph
11125         also with no chars on this paragraph.
11126         (paintRowText): only paint stuff if it's inside the workarea!
11127
11128         * paragraph.C (breakParagraph): honor keepempty flag and break the
11129         paragraph always below not above.
11130
11131         * BufferView2.C (unlockInset): update the paragraph layout on inset
11132         unlock as we changed paragraph in such a case.
11133
11134         * lyxfind.C (LyXFind): clear the former selection if not found!
11135
11136         * text2.C (insertInset): freeze Undo after setUndo so that it is not
11137         again called in insertChar().
11138
11139         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11140         an inset which uses the whole row!
11141         (rightMargin): ditto.
11142         (insertChar): force a rebreak if we inserted an inset!
11143
11144 2002-03-28  Herbert Voss  <voss@lyx.org>
11145
11146         * lyxlength.[Ch]: add inBP() to get the right PS-point
11147         units (BigPoint). With inPixels we have rounding errors
11148
11149 2002-04-11  Juergen Vigna  <jug@sad.it>
11150
11151         * text2.C (setCursorFromCoordinates): set iy to the right value.
11152         (setCursor): add check if row->previous exists!
11153
11154         * buffer.C (parseSingleLyXformat2Token): reset font after read of
11155         an old float_type as this was the case in the old code!
11156
11157         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11158
11159         * BufferView2.C (showLockedInsetCursor): use iy
11160         (fitLockedInsetCursor): ditto
11161
11162         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11163         locked insets as there we have the right value now.
11164
11165         * lyxcursor.C: added iy_ variable and iy functions to set to the
11166         baseline of cursor-y of the locked inset.
11167
11168         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11169         (setCursor): fixed for insets which need a full row.
11170
11171         * text.C (rowLastPrintable): don't ignore the last space when before
11172         an inset which needs a full row.
11173         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11174         as last character of a row when before a inset which needs a full row.
11175
11176 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11177
11178         * version.C.in: update date
11179
11180         * text2.C (fullRebreak): try to always return true and see what
11181         happens...
11182
11183 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11184
11185         * MenuBackend.C (expand): use Floating::listName
11186
11187         * FloatList.C (FloatList): add listName argument to the built-in
11188         floats
11189
11190         * Floating.[Ch]: add listName member, which is the 'List of XXX'
11191         text associated with the float.
11192
11193 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11194
11195         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11196
11197 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11198
11199         * ShareContainer.h: add a couple of missing typenames.
11200
11201 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
11202
11203         * lyxrc.C (getDescription): use _() correctly rather than N_().
11204
11205 2002-03-28  Herbert Voss  <voss@lyx.org>
11206
11207         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11208         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11209
11210 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11211
11212         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11213         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11214
11215 2002-03-29  Juergen Vigna  <jug@sad.it>
11216
11217         * lyxfunc.C (dispatch): add a missing fitCursor call.
11218
11219         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11220         it was scrolled by a cursor move, so return the bool status.
11221
11222         * BufferView.C (fitCursor): return the bool flag also to the outside
11223         world as this is needed.
11224
11225         * screen.C (toggleToggle): don't subtract the offset if it's positive.
11226
11227         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11228         call the edit() as it is not needed (and wrong) IMO.
11229         (workAreaButtonPress): set the screen_first variable before evt.
11230         unlock the inset as this may change screen_first and then we have
11231         a wrong y position for the click!
11232
11233 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11234
11235         * MenuBackend.C (expand): another translation that I missed
11236
11237 2002-03-28  Juergen Vigna  <jug@sad.it>
11238
11239         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11240
11241         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11242
11243 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11244
11245         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11246
11247         * MenuBackend.C (expand): fix export/view/update when there is no
11248         document open.
11249
11250 2002-03-27  Herbert Voss  <voss@lyx.org>
11251
11252         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11253         and text%
11254
11255 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11256
11257         * bufferview_funcs.C (currentState): only show paragraph number
11258         for is DEVEL_VERSION is set.
11259
11260         * lyxfunc.C (dispatch): put warning in INFO channel
11261
11262         * MenuBackend.C (expand): translate the name of floats
11263
11264         * FloatList.C (FloatList): mark the float names for translation
11265
11266         * converter.C (convert): use LibScriptSearch
11267
11268 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11269
11270         * MenuBackend.C (defaults): fix default menu (we might as well get
11271         rid of it...)
11272
11273 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11274
11275         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11276         directory.
11277
11278 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11279
11280         * lyxvc.C: reorder includes.
11281
11282 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
11283
11284         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11285           properly
11286
11287 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
11288
11289         * CutAndPaste.C: change layouts earlier on paste
11290           to avoid crashing when calling getFont()
11291
11292 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
11293
11294         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11295         irritating #error.
11296
11297 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11298
11299         * WorkArea.C: remove 'Pending' debug message.
11300
11301         * most files: ws cleanup
11302
11303         * buffer.[Ch]: ws changes
11304
11305         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11306
11307 2002-03-21  Juergen Vigna  <jug@sad.it>
11308
11309         * tabular.C (SetMultiColumn): collapse also the contents of the
11310         cells and set the last border right. Added a Buffer const * param.
11311
11312 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11313
11314         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11315         linking or not.
11316
11317 2002-03-19  Juergen Vigna  <jug@sad.it>
11318
11319         * text2.C (clearSelection): reset also xsel_cache.
11320
11321         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11322         where it needs to be called (John tells us to do so too :)
11323         (selectionLost): reset sel_cache.
11324
11325         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11326
11327 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11328
11329         * text2.C (setCursorIntern): put debuging code in INSETS channel
11330
11331 2002-03-19  André Pönitz <poenitz@gmx.net>
11332
11333         * lyxfunc.C: tiny whitespace change
11334
11335 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11336
11337         * ToolbarDefaults.C (init):
11338         * LyXAction.C (init):
11339         * commandtags.h:
11340         * BufferView_pimpl.C (Dispatch):
11341         * lyxfunc.C (dispatch): remove LFUN_DEPTH
11342
11343 2002-03-19  Allan Rae  <rae@lyx.org>
11344
11345         * exporter.C (Export): removeAutoInsets before doing anything else.
11346         While I've just introduced a dependency on BufferView this really is
11347         the best place to clean the buffer otherwise you need to cleanup in
11348         a dozen places before calling export or cleanup in a dozen functions
11349         that export calls.
11350
11351         * converter.C (runLaTeX):
11352         (scanLog): Better handling of removeAutoInsets and screen updates.
11353
11354         * lyxfunc.C (dispatch): small whitespace changes
11355
11356 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11357
11358         * WorkArea.C (C_WorkAreaEvent): return a value.
11359         (event_cb): return 1 if we handled the event, 0 otherwise.
11360
11361         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11362
11363 2002-03-18  Juergen Vigna  <jug@sad.it>
11364
11365         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11366         (GetAdditionalWidth): ditto.
11367         (RightLine): ditto.
11368         (LeftLine): ditto.
11369
11370         * BufferView2.C (copy): use getLyXText() so that we do it inside an
11371         inset if we're there actually (probably not used right now but this
11372         is the direction to go for unifying code).
11373         (paste): disable code to clear the selection.
11374
11375         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11376         inside an InsetText and move the check further up as it is in the
11377         wrong place.
11378
11379         * text2.C (pasteSelection): set a selection over the pasted text.
11380
11381 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
11382
11383         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11384         and libgraphics to build on Cygwin.
11385
11386 2002-03-15  Juergen Vigna  <jug@sad.it>
11387
11388         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11389         inserting an Inset into the paragraph. I know this is not the best
11390         fix but we already use current_view in CutAndPaste so we will remove
11391         all of it's using at the same time.
11392
11393         * buffer.C (sgmlError): deactivated function till it is rewritten in
11394         the right mode, now it can create problems.
11395
11396         * paragraph.C (isLineSeparator): check if getInset returns != 0,
11397         before accessing it.
11398
11399 2002-03-14  Juergen Vigna  <jug@sad.it>
11400
11401         * undo_funcs.C (textHandleUndo): do the right thing when updating
11402         the inset after the undo/redo.
11403
11404         * text2.C (setCursor): just some testcode for #44 not ready yet.
11405
11406         * undo_funcs.C (textHandleUndo): set the next() and previous()
11407         pointers of the paragraph to 0 before deleting otherwise we have
11408         problems with the Paragraph::[destructor].
11409
11410         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11411         on a paragraph insertion.
11412
11413 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11414
11415         * buffer.C (asciiParagraph): use += operator for char append to
11416         string.
11417
11418         * paragraph.C (getFontSettings): compare >= not just >
11419         (highestFontInRange): ditto
11420         (setFont): ditto
11421
11422 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11423
11424         * paragraph.C: change several algorithm to be more appripriate for
11425         the problem domain. This is lookip in FontList and in the InsetList.
11426
11427 2002-03-13  André Pönitz <poenitz@gmx.net>
11428
11429         * commandtags.h:
11430         * LyXAction.C: remove unused LFUN_MATH_MACROARG
11431
11432 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
11433
11434         * commandtags.h:
11435         * LyXAction.C:
11436         * lyxfunc.C:
11437         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11438
11439 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11440
11441         * Painter.C (display): anon helper function, adjust code for this
11442         change.
11443         (pixmap): remove function.
11444
11445         * Painter.h: remove private display variable.
11446
11447         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11448
11449 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
11450
11451         * WorkArea.[Ch]: remove figinset_canvas cruft.
11452
11453 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11454
11455         * lyxtextclass.C (operator): add one item cache optimization.
11456
11457         * bufferlist.h: doxy changes
11458
11459         * bufferlist.C: ws changes
11460
11461         * DepTable.[Ch] (ext_exist): place const in the right spot.
11462
11463         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11464         call resizeInsets.
11465         (workAreaExpose): call resizeInsets when the with BufferView changes.
11466         (Dispatch): adjust for protectedBlank removal
11467         (specialChar): call updateInset if the insert went ok.
11468
11469         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11470         specialChar instead.
11471
11472         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11473
11474         * BufferView.h: doxy change
11475
11476         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11477
11478         * lyxtextclass.C (operator[]): remove non-const version
11479         (defaultLayout): remove non-const version
11480
11481 2002-03-12  Juergen Vigna  <jug@sad.it>
11482
11483         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11484         did resize the LyXText too.
11485
11486         * buffer.C (readLyXformat2): set layout information on newly allocated
11487         paragraphs.
11488
11489         * tabular.C (OldFormatRead): set layout information on the paragraph.
11490
11491 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11492
11493         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11494
11495 2002-03-11  Juergen Vigna  <jug@sad.it>
11496
11497         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11498         plainly wrong.
11499         (resizeCurrentBuffer): force also the insets to resize themselfes.
11500         (moveCursorUpdate): fixed up for InsetText.
11501
11502 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
11503
11504         * commandtags.h:
11505         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11506         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11507         value of Dialogs::tooltipsEnabled().
11508         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11509
11510 2002-03-08  Juergen Vigna  <jug@sad.it>
11511
11512         * BufferView_pimpl.C (updateInset): update inset inside inset also
11513         if it isn't inside theLockingInset().
11514
11515 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11516
11517         * buffer.C (asciiParagraph): redo some of the word and line length
11518         handling.
11519         (getLists): look for Caption instead of caption.
11520
11521 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11522
11523         * buffer.C (Buffer): initialize niceFile to true
11524         (makeLaTeXFile):
11525         (makeLinuxDocFile):
11526         (makeDocBookFile): make sure niceFile is true on exit
11527
11528 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11529
11530         * buffer.C (makeLaTeXFile): escape ~ in \input@path
11531
11532 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
11533
11534         * LyXSendto.C: remove.
11535         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11536         * lyx_gui.C: remove now-redundant comment.
11537         * ColorHandler.h: remove forward declaration of class WorkArea.
11538         * lyxfunc.C: remove #include "WorkArea.h".
11539
11540 2002-03-07  Juergen Vigna  <jug@sad.it>
11541
11542         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11543         got moved away with the DEPM and also set the inset_owner always
11544         right which before could have been omitted.
11545
11546 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11547
11548         * buffer.C (parseSingleLyXformat2Token): use default layout is the
11549         wanted layout is not found.
11550
11551 2002-03-07  Juergen Vigna  <jug@sad.it>
11552
11553         * CutAndPaste.C (cutSelection): another layout settings forgotten.
11554
11555 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11556
11557         * paragraph.C (breakParagraph): use default layout not layout of
11558         prev paragraph.
11559         (Paragraph): clear ParagraphParameters.
11560
11561 2002-03-06  Juergen Vigna  <jug@sad.it>
11562
11563         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11564         otherwise it would not be a valid lenght. Fixed a special case in
11565         the minipage compatibility read where we end the document with a
11566         minipage.
11567
11568         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11569         was set as it could be 0 for InsetTexts first entry.
11570
11571 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11572
11573         * paragraph.C (writeFile): if layout is empty write out
11574         defaultLayoutName().
11575
11576         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11577         file without named layout we set layout to defaultLayoutName().
11578
11579 2002-03-06  Juergen Vigna  <jug@sad.it>
11580
11581         * CutAndPaste.C (copySelection): set layout for new paragraph.
11582
11583         * text.C (prepareToPrint): leave ERT inset left aligned
11584         (leftMargin): don't indent paragraphs inside ERT insets
11585
11586 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11587
11588         * paragraph.C (breakParagraph): dont call clear do the work manually
11589
11590         * paragraph.[Ch] (clear): remove function
11591
11592 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11593
11594         * paragraph.C (Paragraph): dont call clear, the work has already
11595         been done.
11596
11597         * lyxtextclass.C (operator): assert if n is empty
11598
11599         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11600         work manually instead.
11601
11602 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11603
11604         * BufferView_pimpl.C: protect selectionLost against text == 0
11605
11606 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11607
11608         * text.C (breakParagraph): fix a setting layout to '0' problem.
11609
11610 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11611
11612         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11613         final location of file, for the included files, and graphics.
11614
11615 2002-03-05  Juergen Vigna  <jug@sad.it>
11616
11617         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11618
11619 2002-03-04  Juergen Vigna  <jug@sad.it>
11620
11621         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11622
11623         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11624         last column of multicolumn cells.
11625         (SetWidthOfMulticolCell): recalculate NMC and real columns.
11626
11627 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11628
11629         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11630         file if it doesn't go to a temporary file.
11631
11632         * buffer.C (sgmlOpenTag):
11633         (sgmlCloseTag):  remove extra newline insertion.
11634
11635 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11636
11637         * text.C (getRowNearY): comment out debug msg
11638
11639 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11640
11641         * text2.C: first -> first_y
11642
11643         * text.C (getRowNearY): add some attemts at a possible
11644         optimization, not working.
11645
11646         * tabular.[Ch]: add BufferParams to several function so that newly
11647         created paragraph can be initialized to he default layotu for the
11648         buffers textclass.
11649
11650         * tabular-old.C (ReadOld): add buf->params to call of Init
11651
11652         * screen.C: rename text->first to text->first_y
11653
11654         * paragraph.C (breakParagraph): always set layout in the broken
11655         paragraph
11656
11657         * lyxtextclass.C (Read): remove lowercase
11658         (hasLayout): ditto
11659         (operator): ditto
11660         (delete_layout): ditto
11661
11662         * lyxtext.h: rename first -> first_y
11663
11664         * lyxlayout.C (Read): remove lowercase
11665         (name): ditto
11666         (setName): ditto
11667         (obsoleted_by): ditto
11668
11669         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11670
11671         * buffer.C (insertErtContents): add params are to InsetERT
11672         (parseSingleLyXformat2Token): add code to check if a paragraphs
11673         layout really exist.
11674         (parseSingleLyXformat2Token): add params to several inset
11675         constructors
11676         (asciiParagraph): remove lowercase, do the layout comparisons with
11677         no_case
11678
11679         * BufferView_pimpl.C (cursorNext): first -> first_y
11680         (resizeCurrentBuffer): first -> first_y
11681         (updateScrollbar): first -> first_y
11682         (scrollCB): first -> first_y
11683         (workAreaMotionNotify): first -> first_y
11684         (workAreaButtonPress): first -> first_y
11685         (checkInsetHit): first -> first_y
11686         (cursorPrevious): first -> first_y
11687         (cursorNext): first -> first_y
11688         (Dispatch): add buffer_->params to severl inset contructors
11689
11690 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11691
11692         * lyxlayout.C (Read): remove some debug info that I forgot.
11693
11694         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11695         clean up the code slightly.
11696         (makeLinuxDocFile): ditto
11697         (makeDocBookFile): ditto
11698
11699         * text2.C: layout as string
11700
11701         * text.C: layout as string
11702
11703         * paragraph_pimpl.C: layout as string
11704
11705         * paragraph.[Ch]: layout as string
11706
11707         * lyxtextclasslist.[Ch]: layout as string
11708
11709         * lyxtextclass.[Ch]: layout as string
11710
11711         * lyxtext.h: layout as string
11712
11713         * lyxlayout.[Ch]: layout as string
11714
11715         * lyx_cb.C: layout as string
11716
11717         * bufferview_funcs.C: layout as string
11718
11719         * bufferparams.C: layout as string
11720
11721         * buffer.C: layout as string
11722
11723         * LyXView.[Ch]: layout as string
11724
11725         * LaTeXFeatures.[Ch]: layout as string
11726
11727         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11728
11729         * BufferView_pimpl.C: change current_layout to string, remove
11730         lyx::layout_type.
11731         (Dispatch):
11732         (smartQuote):
11733         (insertInset):
11734         (workAreaButtonRelease): layout as string
11735
11736         * BufferView2.C (unlockInset): adjust
11737
11738         * vspace.C (asLatexCommand): use an explict temp variable.
11739
11740 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11741
11742         * Makefile.am: use FRONTEND_*
11743
11744 2002-03-01  Juergen Vigna  <jug@sad.it>
11745
11746         * tabular.C (SetWidthOfMulticolCell): changed to something better
11747         I hope but still work in progress.
11748         (recalculateMulticolumnsOfColumn): renamed function from
11749         recalculateMulticolCells as it is more appropriate now.
11750         (SetWidthOfCell): calculate multicols better.
11751
11752 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11753
11754         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11755
11756         * lyxfunc.C (processKeySym): print sequence also if it is
11757         `deleted' (complete)
11758
11759         * kbsequence.C (print): print sequence even if it is deleted
11760         (complete would be a better word, actually).
11761
11762         * lyxfunc.C (dispatch): print complete options after a prefix key
11763
11764         * vspace.C (asLatexCommand): rewrite in a slightly different form.
11765
11766 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
11767
11768         * text2.C (setCharFont): eliminate setCharFont code duplication.
11769
11770 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11771
11772         * BufferView_pimpl.C (Dispatch): remove bogus handling of
11773         LFUN_TABULAR_FEATURE (bug #177)
11774
11775 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
11776
11777         * Makefile.am: remove figure.h
11778
11779 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
11780
11781         * Bufferview_pimpl.C:
11782         * CutAndPasteC:
11783         * LaTeX.C:
11784         * LyXSendto.C:
11785         * buffer.C:
11786         * bufferlist.C:
11787         * converter.C:
11788         * language.C:
11789         * lyxfunc.C:
11790         * lyxvc.C:
11791         * paragraph.C:
11792         * text.C:
11793         * text2.C: remove #include "lyx_gui_misc.h".
11794
11795         * LaTeX.C: added #include <cstdio>
11796
11797 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11798
11799         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11800         that the paragraph following this one can have.
11801
11802         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11803
11804         * vspace.C (asLatexCommand): fix bogus gcc warning
11805
11806         * Makefile.am (lyx_SOURCES): remove vms_defines.h
11807
11808 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
11809
11810         * text2.C (setLayout): get rid of redundant code
11811
11812 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
11813
11814         * text2.C (incDepth): make sure depth cannot be increased beyond
11815         reasonable values.
11816
11817 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
11818
11819         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11820         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11821
11822         * PainterBase.h (image):
11823         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11824         a LyXImage const *.
11825
11826 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11827
11828         * BufferView.C:
11829         * BufferView.h:
11830         * BufferView_pimpl.C:
11831         * BufferView_pimpl.h:
11832         * LaTeXFeatures.C:
11833         * LyXAction.C:
11834         * LyXView.C:
11835         * Makefile.am:
11836         * UpdateList.h:
11837         * UpdateList.C:
11838         * buffer.C:
11839         * figure.h:
11840         * figureForm.C:
11841         * figureForm.h:
11842         * figure_form.C:
11843         * figure_form.h:
11844         * lyx_cb.C:
11845         * lyx_gui.C:
11846         * lyx_gui_misc.C:
11847         * lyxfunc.C:
11848         * sp_base.h:
11849         * sp_ispell.h:
11850         * sp_pspell.h:
11851         * sp_spell.C: remove fig inset, and the crap house of
11852           cards that follows it
11853
11854 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11855
11856         * Makefile.am:
11857         * lyxserver.C:
11858         * os2_defines.h:
11859         * os2_errortable.h:
11860         * nt_defines.h: move .h into support/
11861
11862         * vms_defines.h: remove
11863
11864         * WorkArea.C: add space in debug output
11865
11866         * text2.C:
11867         * paragraph.C:
11868         * buffer.C: add WITH_WARNINGS
11869
11870         * vc-backend.h:
11871         * vc-backend.C:
11872         * bufferlist.C: s/retrive/retrieve/, add docs
11873
11874         * vspace.h:
11875         * vspace.C:
11876         * kbmap.h:
11877         * lyxlength.h:
11878         * lyxgluelength.h:
11879         * length_common.h:
11880         * chset.h:
11881         * chset.C: add docs
11882
11883         * lyxgui.C: add ID to X error handler
11884
11885         * lyxtestclass.c: fix typo
11886
11887 2002-02-26  Juergen Vigna  <jug@sad.it>
11888
11889         * tabular_funcs.C (write_attribute): changed so that some default
11890         attributes are not written at all.
11891         (getTokenValue): set default values before trying to read the
11892         value so we have the return value always set as default if we don't
11893         find the token we search for.
11894
11895         * tabular.C (Write): write bools as bools not as strings!
11896
11897 2002-02-22  Juergen Vigna  <jug@sad.it>
11898
11899         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11900         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11901
11902         * text.C (leftMargin): don't add an indent for paragraphs inside
11903         tabular cells (fix #208).
11904
11905 2002-02-21  José Matos  <jamatos@fep.up.pt>
11906
11907         * tabular.C (docBook): fixed support for long tables.
11908
11909 2002-02-20  Juergen Vigna  <jug@sad.it>
11910
11911         * text2.C (getFont): get the drawing font of the Inset if this
11912         paragraph is inside an inset (only important for InsetERT for now).
11913
11914         * buffer.C (insertErtContents): use new lanugage params in ERT
11915         constructor.
11916
11917         * CutAndPaste.C: commenting out seemingly uneeded code.
11918
11919 2002-02-19  Allan Rae  <rae@lyx.org>
11920
11921         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11922         Iterators might be simple to use but they also get invalidated.
11923         (removeAutoInsets): renamed saved cursor tracking variables and added
11924         some comments to clarify what everything does.
11925
11926 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
11927
11928         * Chktex.C:
11929         * LaTeX.C:
11930         * LyXSendto.C:
11931         * converter.C:
11932         * lyx_cb.C:
11933         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11934         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11935
11936         * lyxfunc.C:
11937         * vc-backend.h: remove #include "support/syscall.h"
11938
11939         * LaTeX.C:
11940         * LyXSendto.C:
11941         * converter.C: rearrange #includes in Lars' approved fashion.
11942
11943         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11944         forward declare class Timeout in the header file.
11945
11946         * XFormsView.C: changes due to the above.
11947
11948         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11949         similar to LyXView.
11950
11951         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11952         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11953
11954 2002-02-18  José Matos  <jamatos@fep.up.pt>
11955
11956         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11957         insets contents.
11958
11959 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
11960
11961         * a lot of small ws changes
11962         * add a lot of using std::XXX
11963         * use std construcs some places where approp.
11964         * use some exisint stuff from lyxfunctional where approp.
11965         * Make file changes to use partial linking (lets test this now...)
11966
11967 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11968
11969         * Chktex.C:
11970         * buffer.C:
11971         remove #include "support/syscontr.h" as it's redundant. Always has been.
11972
11973         * Chktex.C:
11974         * LaTeX.C:
11975         * LyXSendto.C:
11976         * converter.C:
11977         * lyx_cb.C:
11978         * vc-backend.C:
11979         change Systemcalls::System to Systemcalls::Wait and
11980         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11981         No change of functionality, just reflects the stripped down Systemcalls
11982         class.
11983
11984 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11985
11986         * debug.[Ch]: add a GRAPHICS type to the enum.
11987
11988 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11989
11990         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11991
11992         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11993         there is an inset.
11994
11995 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11996
11997         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11998         match the changes below.
11999
12000         * text2.C (toggleInset): if there is not editable inset at cursor
12001         position, try to see if cursor is _inside_ a collapsable inset
12002         and close it.
12003
12004 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12005
12006         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12007         document menu has a nice checkbox
12008
12009 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12010
12011         * lyxlength.C (asLatexString): change PW to output as percent of
12012         \textwidth.
12013
12014         * lengthcommon.C: change '%' to 't%'
12015
12016         * lyxfunc.C (dispatch): a few comments from Martin
12017
12018 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
12019
12020         * WorkArea.h:
12021         * WorkArea.C:
12022         * BufferView_pimpl.h:
12023         * BufferView_pimpl.C: clear our selection when X tells us we've lost
12024           the X selection.
12025
12026 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12027
12028         * vspace.C (inPixels): fix compiler warning
12029
12030 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12031
12032         * lyxfunc.C (getStatus): fix status message for disabled commands.
12033
12034 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
12035
12036         * BufferView_pimpl.C: fix crash on close buffer
12037         during selection (#227)
12038
12039 2002-01-27  Herbert Voss  <voss@lyx.org>
12040
12041         * buffer.C: link old Figure to new graphic inset
12042
12043 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
12044
12045         * FontLoader.C (getFontinfo): Change the latex font names in order
12046         to match the names of type1inst.
12047
12048 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12049
12050         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12051
12052         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12053         (extchanged): ditto
12054         (ext_exist): ditto
12055         (remove_files_with_extension): ditto
12056         (remove_file): ditto
12057         (write): ditto
12058
12059         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12060         document is smaller than the work area height. Do not initialize
12061         static variables to 0.
12062
12063 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12064
12065         * lyx_gui.C (init): give the toolbar tooltips a normal font.
12066
12067         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12068         LFUN_LAYOUT_PARAGRAPHS.
12069
12070         * tabular.C (GetCellFromInset): new method. Finds an inset in a
12071         tabular. It is possible to provide a possible cell, which will
12072         typically be the actcell from the corresponding insettabular
12073
12074         * lyxfunc.C (getStatus): small cleanup; disable
12075         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12076         true
12077
12078 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12079
12080         * tabular.C (Validate): remove broken optimization (fixes bug #201)
12081
12082         * paragraph.C (startTeXParParams):
12083         (endTeXParParams): new methods. The LaTeX code to
12084         start/end paragraph formatting
12085         (simpleTeXOnePar): call startTeXParParams also when paragraph is
12086         empty (fixes bug #200)
12087
12088         * vspace.C (inPixels): adapt to the change below
12089         (inPixels): [later] more cleanups (remove unused variables)
12090
12091         * lyxlength.C (inPixels): change to use a width and a height as
12092         parameter.
12093
12094 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12095
12096         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12097         Replaced with \paperwidth
12098
12099         * DepTable.C (insert): add std:: qualifier
12100
12101 2002-01-18  Allan Rae  <rae@lyx.org>
12102
12103         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
12104         updated also?
12105
12106         * text.C (drawInset): Turned out I didn't know enough about how
12107         rebreaking worked.  This fixes most of the redraw problems.  I see
12108         an occasional cursor trail when a line is broken now and the cursor
12109         placement can seem out by a few pixels also after a rebreak.
12110
12111 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12112
12113         * buffer.C (parseSingleLyXformat2Token): update because minipage
12114         width is now a LyXLength
12115
12116         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12117
12118         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12119         math insets
12120
12121 2002-01-17  Juergen Vigna  <jug@sad.it>
12122
12123         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12124
12125         * BufferView2.C (lockInset): call edit() so that theLockingInset()
12126         is set correctly and the inset is updated correctly.
12127
12128 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12129
12130         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12131         the beginning of the loop.
12132
12133 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
12134
12135         * lyxrc.C: improve help for use_scalable_fonts
12136
12137 2002-01-17  Allan Rae  <rae@lyx.org>
12138
12139         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12140
12141 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12142
12143         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12144         make sure to set their inset_owner to the right value (bug #171)
12145
12146 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
12147
12148         * DepTable.h
12149         * DepTable.C: Implement mtime checking to reduce time spent doing
12150         CRCs.
12151
12152 2002-01-16  Juergen Vigna  <jug@sad.it>
12153
12154         * tabular.C (GetAdditionalHeight): one of error fixed.
12155
12156         * lyxrc.C (output): small fix in writing use_pspell.
12157
12158 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
12159
12160         * sp_base.h: #include LString.h
12161
12162 2002-01-16  Allan Rae  <rae@lyx.org>
12163
12164         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
12165         Can someone check this please?
12166
12167         * text.C (drawInset): It was possible that p.row would be removed by
12168         breakAgainOneRow upsetting a few other settings.  There may be another
12169         small tweak possible by setting need_break_row = 0 when p.row has been
12170         removed but I don't know enough about the logic here.
12171
12172 2002-01-15  Allan Rae  <rae@lyx.org>
12173
12174         * text.C (insertChar): removed conditional truism.
12175
12176         * BufferView2.C (removeAutoInsets): More tweaks.
12177         cur_par_prev could be a stray pointer.  Check for trailing empty line
12178         in case last line was cur_par and only had an error inset on it.
12179
12180 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12181
12182         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12183         absolute
12184
12185         * vc-backend.C (most methods):
12186         * exporter.C (Export):
12187         * converter.C (convert):
12188         (runLaTeX):
12189         * LyXSendto.C (SendtoApplyCB):
12190         * lyxfunc.C (dispatch):
12191         (menuNew):
12192         (open):
12193         (doImport):
12194         * lyx_cb.C (AutoSave):
12195         (InsertAsciiFile):
12196         * BufferView_pimpl.C (MenuInsertLyXFile):
12197         * buffer.C (runChktex): use Buffer::filePath().
12198
12199         * buffer.h: rename filename to filename_; rename filepath to
12200         filepath_ and make it private
12201         (filePath): new method
12202
12203         * buffer.C (writeFile): use fileName()
12204         (getLatexName):
12205
12206         * lyx_main.C (init): fix starting  of LyX when the binary is a
12207         link from so,ewhere else.
12208
12209         * minibuffer.C: include <cctype> for isprint
12210
12211 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12212
12213         * buffer.C (parseSingleLyXformat2Token): changes associated with the
12214         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12215         name clash with InsetCollapsable's width function.
12216
12217 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12218
12219         * lastfiles.C: include <iterator>
12220
12221 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12222
12223         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12224         std::count.
12225
12226         * buffer.C (makeLaTeXFile): ditto.
12227         Also make loop operation more transparent.
12228
12229 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12230
12231         * ToolbarDefaults.C: remove trailing comma closing namespace.
12232
12233         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12234
12235         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12236         as in WorkArea.
12237
12238         * trans.C (Load): comment out unused variable, allowed.
12239
12240 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12241
12242         * minibuffer.[Ch] (append_char): new method to recieve input from the
12243         drop-down completion browser. If a key was pressed, then recieve this
12244         char and append it to the existing string.
12245         (peek_event): modify the positioning data passed to the completion
12246         browser so that it can be placed above the minibuffer rather than below.
12247 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12248
12249         * LyXAction.C (init): alloe error-next for readonly documents.
12250
12251         * BufferView2.C (ChangeRefsIfUnique): use standard version of
12252         count.
12253
12254 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12255
12256         * bufferlist.C (readFile): create the buffer _after_ checking that
12257         the file exists.
12258
12259         * lyxfunc.C (verboseDispatch): fix handling of arguments
12260
12261         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12262
12263         * lyxrc.C: use string::erase() instead of initializing to "".
12264
12265
12266 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12267
12268         * BufferView_pimpl.h:
12269         * BufferView_pimpl.C:
12270         * WorkArea.h:
12271         * WorkArea.C:
12272         * text2.C: tell X when we have made a selection for copying
12273
12274 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12275
12276         * BufferView_pimpl.C (MenuInsertLyXFile):
12277         * lyxfunc.C (menuNew):
12278         (open):
12279         (doImport): add shortcuts to directory buttons
12280
12281         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12282         open a float)
12283
12284         * lyxfunc.C (setStatusMessage):
12285         (getStatusMessage): new methods
12286         (getStatus):use setStatusMessage instead of setErrorMessage
12287         (dispatch): when function is disabled, set error message here
12288         [instead of in getStatus previously]
12289
12290         * BufferView_pimpl.C (workAreaButtonRelease): update
12291         toolbar/menubar here too.
12292
12293 2002-01-13  Allan Rae  <rae@lyx.org>
12294
12295         * BufferView2.C (removeAutoInsets): finished off earlier fix.
12296         Now seems indestructible.  Remaining task is to audit all other
12297         code affected by deleteEmptyParagraphMechanism.  One small quirk
12298         left is that an empty document with an error in the preamble can
12299         be made to report an error but no error box appears.  I don't know
12300         where it goes.
12301         (removeAutoInsets): Improved comments.
12302
12303 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
12304
12305         * Thesaurus.h:
12306         * Thesaurus.C: update for Aiksaurus 0.14
12307
12308 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12309
12310         * text2.C (firstParagraph): removed member function, all uses
12311         replaces with ownerParagraph
12312         (redoParagraphs): here
12313         (updateInset): here
12314         (toggleAppendix): here
12315         * BufferView2.C (insertErrors): here
12316         (setCursorFromRow): here
12317
12318 2002-01-13  Allan Rae  <rae@lyx.org>
12319
12320         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12321         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12322         There is still a way to segfault this although you may have to do this
12323         multiple times: Have an InsetERT with an unknown command in it.
12324         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12325         <down-arrow>, <Enter> again, View->DVI, BANG!
12326
12327         * text2.C (setCursor):
12328         (deleteEmptyParagraphMechanism):
12329         * lyxtext.h (setCursor):
12330         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12331         Making use of the return value may help fix other bugs.
12332
12333 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12334
12335         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12336
12337         * LyXView.C (updateMenubar): call MenuBar::update here
12338         (updateToolbar): but not here
12339         (showState): do not update toolbar/menubar
12340
12341         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12342         should need to care about that.
12343
12344         * lyxfunc.C (verboseDispatch): simplify a bit
12345         (getStatus): have a version which takes a pseudoaction, and
12346         another which requires a (kb_action,string).
12347
12348         * LyXAction.C (retrieveActionArg): make it work also when action
12349         is not a pseudo-action.
12350         (getActionName): simplify a bit
12351         (helpText):
12352
12353 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12354
12355         * lyxfunc.C (verboseDispatch): new families of methods with
12356         several ways to specify a command and a bool to indicate whether
12357         the command name and shortcut should be displayed in minibuffer
12358         (eventually, we could extend that to a finer bitmask like
12359         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12360         (dispatch): the pristine dispatch command which just, well,
12361         dispatchs! Note it still sets its result to minibuffer; I'm not
12362         sure we want that.
12363
12364         * lyxfunc.h: remove setHintMessage
12365
12366         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12367
12368 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12369
12370         * BufferView_pimpl.C (specialChar): delete new inset if we have
12371         not been able to insert it.
12372
12373         * kbmap.C: revert to using int instead of kb_action, since all we
12374         are dealing with is pseudo-actions.
12375
12376         * LyXAction.C (searchActionArg): change to return int instead of
12377         kb_action, since the result is a pseudoaction.
12378
12379 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
12380
12381         * buffer.C (insertErtContents): Fix (partially) the font bug.
12382
12383 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12384
12385         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12386         as the other one is broken on my machine!
12387
12388 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
12389
12390         * commandtags.h:
12391         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12392
12393 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
12394
12395         * lyxrc.[Ch]: change names and descriptions of popup font variables to
12396         reflect their actual use. Provide compatibility code for older lyxrc
12397         files.
12398
12399         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12400         FL_NORMAL_STYLE.
12401         change names of popup font variables in line with the changes to lyxrc.C
12402
12403 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12404
12405         * buffer.C (asciiParagraph): avoid outputing a word twice after
12406         an inset.
12407
12408         * lyxrc.C (getDescription): document that document_path and
12409         template_path can be empty.
12410
12411 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12412
12413         * LaTeXFeatures.C (getMacros):
12414         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12415
12416         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12417
12418         * LaTeXFeatures.C (useFloat): require "float" here instead of in
12419         getPackages.
12420         (getPackages): rename feature "floats" to "float". Use an array to
12421         iterate over 'simple' features (i.e. just a \usepackage). Add
12422         handling of "amsmath" (renamed from "amsstyle").
12423
12424 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
12425
12426         * LaTeXFeatures.C (require): Prevent duplicate entries in the
12427         features list.
12428
12429 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
12430
12431         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12432         FuncStaus::FuncStatus & FuncStaus::some_method().
12433
12434 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
12435
12436         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12437         of the func_satus stuff. Edited and massaged in various ways by
12438         JMarc.
12439
12440         * lyxfunc.C (getStatus): use FuncStatus
12441
12442 2002-01-08  Juergen Vigna  <jug@sad.it>
12443
12444         * text.C (nextBreakPoint): use function Inset::isChar().
12445
12446         * paragraph.C (TeXOnePar): use function
12447         Inset::forceDefaultParagraphs.
12448
12449         * buffer.C (latexParagraphs): use function
12450         Inset::forceDefaultParagraphs.
12451
12452 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12453
12454         * lyx_gui.C (init): set the style of the menu popups to
12455         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12456
12457 2002-01-07  Juergen Vigna  <jug@sad.it>
12458
12459         * text.C (setHeightOfRow): small fix
12460         (prepareToPrint): don't look at alignment if we don't have the place
12461         for doing it.
12462
12463 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12464
12465         * box.C: New file. Move the Box methods and functions out of box.h,
12466         following Lars' suggestion.
12467
12468 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12469
12470         * box.h: #include "support/LOstream.h", needed for inlined function.
12471
12472         * lyxtextclass.C:
12473         * lyxtextclasslist.C: added some using std declarations.
12474
12475 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
12476
12477         * box.h: make signed dimensions to allow insets wider than
12478           the screen (bug #162)
12479
12480         * BufferView_pimpl.C: add some insetHit debug
12481
12482 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
12483
12484         * vc-backend.C: add FIXME
12485
12486 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12487
12488         * lyxfunc.C (getStatus): enable code for showing math font status
12489         in toolbar/menu.
12490
12491 2002-01-07  Juergen Vigna  <jug@sad.it>
12492
12493         * text.C (nextBreakPoint): removed debug output not needed anymore.
12494
12495 2002-01-06  Juergen Vigna  <jug@sad.it>
12496
12497         * text.C (nextBreakPoint): fixed up this function we had this bug
12498         since ever but now hopefully we break row better.
12499         (insertChar): we have to check if an inset is the next char as it
12500         could now happen that a large inset is causing a break.
12501
12502 2002-01-05  Juergen Vigna  <jug@sad.it>
12503
12504         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12505         if it doesn't like to be drawed.
12506
12507 2002-01-04  Juergen Vigna  <jug@sad.it>
12508
12509         * BufferView2.C (lockInset): forgot to set a cursor.
12510
12511         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12512
12513 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
12514
12515         * FormMathsPanel.C:
12516         * FormMathsPanel.h
12517         * MathsSymbols.C:
12518         * form_maths_panel.C:
12519         * form_maths_panel.h:
12520         * form_maths_panel.fd: implemented sub- and super- buttons in math
12521         panel.
12522
12523         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12524         (or ^ space) to be used as in TeX (req'd by André).
12525
12526         * lyxfunc.C: Allow ^ and _ again to be used both as
12527         super/subscript (mathed) and as themselves (in text).
12528
12529 2002-01-03  Allan Rae  <rae@lyx.org>
12530
12531         * LyXView.C (updateWindowTitle): Setup a short icon title of either
12532         "LyX" or the filename of the current buffer if it has one.  This is a
12533         modified form of John Levon's patch.
12534
12535         * XFormsView.C (setWindowTitle): also set icon title.
12536
12537         * LyXView.h (setWindowTitle): signature changed.
12538         * XFormsView.h (setWindowTitle): ditto.
12539
12540 2002-01-02  Juergen Vigna  <jug@sad.it>
12541
12542         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12543
12544 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12545
12546         * screen.C (topCursorVisible): introduce a temp var for
12547         text->cursor.row(), handle the case where this row is null. (kindo
12548         hachish)
12549
12550         * text2.C (setCursor): add a couple of asserts.
12551
12552         * paragraph.h (inset_iterator): add -> operator
12553
12554         * paragraph.[Ch] (autoDeleteInsets): remove member function
12555
12556         * BufferView2.C (removeAutoInsets): rewrite to handle the old
12557         cursor pos correctly and handle inset deletion by itself.
12558         (insertErrors): move iterator declaration out of for expression
12559
12560         * lyxtextclass.C: add <algorithm>
12561
12562         * Makefile.am: added the new files to sources, removed layout.C
12563
12564         * layout.C: removed file
12565
12566         * layout.h: remove LYX_DUMMY_LAYOUT
12567
12568         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12569         layout.
12570
12571         * lyxlayout.[Ch]:
12572         * lyxtextclass.[Ch]:
12573         * lyxtextclasslist.[Ch]: new files
12574
12575         * include order changes to a lot of files, also changes because of
12576         the six new files.
12577
12578 2001-12-27  Juergen Vigna  <jug@sad.it>
12579
12580         * buffer.C (asciiParagraph): more fixes.
12581
12582         * tabular.C (ascii): make ascii export support export of only the
12583         data separated by a column-delimiter.
12584         (ascii): better support for ascii export.
12585
12586         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12587
12588 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12589
12590         * tabular_funcs.C: use a "using std::getline" instead of the
12591         previous fix from Angus (necessary for cxx + lyxstring)
12592
12593 2001-12-24  Juergen Vigna  <jug@sad.it>
12594
12595         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12596
12597         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12598         problems. First check a minipage also if we have some ert-contents
12599         (not only on par->size(), second set the right depth of the paragraph
12600         on the relink to the root-paragraph-list!
12601
12602         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12603         which then did not anymore update the main paragraphs on undo/redo!
12604
12605 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12606
12607         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12608         code. Support all font-changing funcs (even those which are not in
12609         menu currently). Support for reporting font settings in
12610         mathed (disabled until Andre provides a function on mathed's side).
12611
12612         * func_status.h (toggle): small helper function to set toggle
12613         state on a flag.
12614
12615 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
12616
12617         * tabular_funcs.C: getline -> std::getline
12618
12619 2001-12-21  Juergen Vigna  <jug@sad.it>
12620
12621         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12622         accessed and could be 0 (I couldn't generate this but it seems
12623         Michael could!).
12624
12625 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12626
12627         * tabular_funcs.C: add LIstream.h, move write_attribute to..
12628         * tabular_funcs.h: here and include iosfwd
12629
12630 2001-12-20  Juergen Vigna  <jug@sad.it>
12631
12632         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12633         inside inset but undo_par was.
12634
12635 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12636
12637         * Thesaurus.C: always include <config.h> in sources.
12638
12639         * Painter.h:
12640         * lyxlookup.h:
12641         * box.h: do not include <config.h> in header files
12642
12643         * text.C (paintLastRow): remove unused variable
12644
12645         * text.C (transformChar):
12646         (insertChar):
12647         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12648
12649         * Painter.C (text):
12650         * font.C (width): rewrite to use uppercase() instead of
12651         islower/toupper.
12652
12653         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12654
12655 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
12656
12657         * lyxfind.C: clean up of find failure position change
12658
12659 2001-12-20  Juergen Vigna  <jug@sad.it>
12660
12661         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12662
12663         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12664         (TeXRow): added to LaTeX a single tabular row.
12665         (TeXLongtableHeaderFooter): added to output LT-h/f data.
12666         (Latex): simplified and finally good LT-h/f support.
12667         (various_functions): just small adaptions for LT-h/f support.
12668
12669         * tabular_funcs.[hC]: added and moved here all not classfunctions
12670         of LyXTabular.
12671
12672 2001-12-19  Juergen Vigna  <jug@sad.it>
12673
12674         * tabular.[Ch]: better support for longtabular options (not finished
12675         yet!)
12676
12677 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12678
12679         * text.C (paintLastRow): use the label font instead of the font of
12680         the last character to compute the size of *_BOX. This makes more
12681         sense and avoids a crash with empty paragraphs.
12682         Use Painter::rectangle to draw EMPTY_BOX.
12683
12684 2001-12-19  Juergen Vigna  <jug@sad.it>
12685
12686         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12687         the paragraphs if the replaced paragraph is not the first one!
12688         Tried to delete not used paragraphs but does not work yet so for
12689         now it's inside #ifdef's and by default off!
12690
12691 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12692
12693         * MenuBackend.C: include "lyx_main.h" instead of declaring
12694         lastfiles (actually was declared as LastFiles* instead of a
12695         scoped_ptr).
12696
12697 2001-12-17  Juergen Vigna  <jug@sad.it>
12698
12699         * tabular.C (AppendColumn): applied John's fix
12700
12701 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
12702
12703         * BufferView.h:
12704         * BufferView.C:
12705         * BufferView_pimpl.h:
12706         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12707
12708         * Makefile.am:
12709         * box.h: new start of class for above
12710
12711         * lyxfunc.C: ignore space-only minibuffer dispatches.
12712           Show the command name when it doesn't exist
12713
12714         * minibuffer.C: don't add empty lines to the history
12715
12716         * minibuffer.C: add a space on dropdown completion
12717
12718 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
12719
12720         * text.C: fix line above/below drawing in insets
12721
12722 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12723
12724         * lyxlength.C (LyXLength): Initialize private variables.
12725
12726 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
12727
12728         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12729         when inserting error insets.
12730
12731 2001-12-13  Juergen Vigna  <jug@sad.it>
12732
12733         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12734         actually sometimes the before-paragraph.
12735         (setUndo): don't clear the redostack if we're not actually undoing!
12736
12737 2001-12-06  Juergen Vigna  <jug@sad.it>
12738
12739         * undo_funcs.C (textHandleUndo): well after John's hint I got here
12740         and fixed redoing of main paragraph, so we can use it now ;)
12741
12742         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12743
12744 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12745
12746         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12747         Juergen's request
12748
12749 2001-12-13  André Pönitz <poenitz@gmx.net>
12750
12751         * undostack.[Ch]:
12752         * undo_func.C: minor cleanup
12753
12754 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12755
12756         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12757         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12758         font in urw-fonts package which is marked as -urw-fontspecific and
12759         does not work (incidentally, changing the encoding in the
12760         fonts.dir of this package to -adobe-fontspecific fixes the
12761         problem).
12762
12763         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12764         is a crash when undoing first paragraph (Juergen, please take a
12765         look). THis does not mean the undo fix is wrong, just that it
12766         uncovers problems.
12767
12768         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12769         the (Paragraph*) version when needed instead of duplicating the
12770         code.
12771
12772         * text.C (workWidth): use Inset::parOwner to find out where the
12773         inset has been inserted. This is a huge performance gain for large
12774         documents with lots of insets. If Inset::parOwner is not set, fall
12775         back on the brute force method
12776
12777         * paragraph_pimpl.C (insertInset):
12778         * paragraph.C (Paragraph):
12779         (cutIntoMinibuffer): set parOwner of insets when
12780         inserting/removing them
12781
12782         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12783
12784 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
12785
12786         * commandtags.h:
12787         * LyXAction.C:
12788         * lyx_main.C:
12789         * lyxfunc.C:
12790         * mathed/formulabase.C:
12791         * mathed/math_cursor.[Ch]:
12792         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12793
12794
12795 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12796
12797         * lyxlength.[Ch] (operator!=): new function
12798
12799 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12800
12801         * text.C (workWidth): use Inset::parOwner to find out where the
12802         inset has been inserted. This is a huge performance gain for large
12803         documents with lots of insets. If Inset::parOwner is not set, fall
12804         back on the brute force method
12805
12806         * paragraph_pimpl.C (insertInset):
12807         * paragraph.C (Paragraph):
12808         (cutIntoMinibuffer): set parOwner of insets when
12809         inserting/removing them
12810
12811         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12812
12813 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12814
12815         * tabular-old.C (getTokenValue):
12816         * tabular.C (getTokenValue):
12817         (write_attribute): new versions for LyXLength
12818         (everywhere): adjust the use of widths
12819
12820         * tabular.h: change the type of widths from string to LyXLength
12821
12822 2001-12-11  Ben Stanley <bds02@uow.edu.au>
12823
12824         * paragraph.C: fixed missing line number count when exporting
12825         Environments to LaTeX file
12826
12827         * buffer.C: added informational message for checking line numbers.
12828
12829 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12830
12831         * text2.C (deleteEmptyParagraphMechanism): if there is only one
12832         paragraph, do the 'double space' part, but not the 'empty
12833         paragraph' one.
12834
12835         * text.C (workWidth): small optimization
12836         (getLengthMarkerHeight): use minimal size for negative lengths.
12837
12838 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
12839
12840         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12841
12842         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12843
12844 2001-12-11  André Pönitz <poenitz@gmx.net>
12845
12846         * FontLoader.C:
12847         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12848
12849 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12850
12851         * text2.C: keep selection on a setFont()
12852
12853 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12854
12855         * lyx_cb.C: another bv->text misuse, from insert label
12856
12857 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12858
12859         * kbsequence.h:
12860         * kbsequence.C: re-instate nmodifier mask
12861
12862 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
12863
12864         * lyx_main.h: make lyxGUI private.
12865
12866 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12867
12868         * lyxfind.C: place the cursor correctly on failed search
12869
12870 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12871
12872         * text.C (getLengthMarkerHeight): for small heights, the arrows
12873         are not always on top/bottom of the text
12874         (drawLengthMarker): smaller arrows; take the left margin in
12875         account; draw also vfills.
12876         (paintFirstRow):
12877         (paintLastRow): remove special code for vfill and standard spaces,
12878         since everything is handled in drawLengthMarker now.
12879
12880 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12881
12882         * buffer.C (insertErtContents): try to handle font and language
12883         interaction a bit better.g
12884
12885         * ColorHandler.C (updateColor): change the hash to cover the whole
12886         LColor enum, ws cleanup
12887         (getGCLinepars): ditto
12888         (getGCLinepars): only lookup in the linecache once.
12889
12890 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
12891
12892         * iterators.C (operator++): Make the iterator more robust
12893
12894         * BufferView2.C (removeAutoInsets): Use paragraph iterators
12895         (John's patch)
12896         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12897
12898 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12899
12900         * lyxtext.h:
12901         * text.C: better added space drawing
12902
12903 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12904
12905         * LyXView.C:
12906         * BufferView2.C: fix layout combo update on inset unlock
12907
12908 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12909
12910         * Makefile.am: don't compile unused files
12911
12912 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12913
12914         * lyxfunc.C:
12915         * commandtags.h:
12916         * LyXAction.C: remove old LFUN_LAYOUTNO
12917
12918 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12919
12920         * paragraph_pimpl.h:
12921         * paragraph_pimpl.C: isTextAt() doesn't need font param
12922
12923 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12924
12925         * lyxlex.h:
12926         * lyxlex.C: little cleanup
12927
12928 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12929
12930         * BufferView_pimpl.C: fix insertAscii for insets
12931
12932 2001-12-05  Juergen Vigna  <jug@sad.it>
12933
12934         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12935         set the right font on the "multi" paragraph paste!
12936
12937 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12938
12939         * trans_decl.h:
12940         * trans_mgr.[Ch]:
12941         * trans.[Ch]:
12942         * lyxgluelength.C:
12943         * lyxlength.C: remove out-commented code.
12944
12945         * BufferView_pimpl:
12946         * CutAndPaste.C:
12947         * DepTable.C:
12948         * buffer.C:
12949         * chset.C:
12950         * lastfiles.C:
12951         * lyxlex.C:
12952         * lyxlex_pimpl.C:
12953         * lyxserver.C:
12954         * screen.C:
12955         * tabular-old.C:
12956         * tabular.C:
12957         * text.C:
12958         * trans_mgr.C:
12959         * vc-backend.C: change "while(" to "while ("
12960
12961         * lyxlength.[Ch]: add zero function to check if length is zero or
12962         not
12963         * lyxgluelength.C: use it
12964
12965 2001-12-05  Allan Rae  <rae@lyx.org>
12966
12967         * lyxlength.C: Attempted a fix for the abs(int) header selection.
12968         Works for 2.95.3, from what I understand of Garst's reports this should
12969         work for other g++ versions.  We're screwed if the abs(int) definition
12970         changed between bugfix releases of gcc.
12971
12972 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12973
12974         * text.C: fix chapter label offset !
12975
12976 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12977
12978         * lyxtext.h:
12979         * text.C: fix hfill at end of line, clean up
12980
12981 2001-12-04  Juergen Vigna  <jug@sad.it>
12982
12983         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12984         that we force an update of the inset and it's owners if neccessary.
12985
12986 2001-12-03  Juergen Vigna  <jug@sad.it>
12987
12988         * text.C (rowLast): simplified code
12989
12990 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12991
12992         * lyxfunc.C: fix show options on timeout
12993
12994 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12995
12996         * screen.C (topCursorVisible): scroll half a page when the cursor
12997         reached top of bottom of screen
12998
12999 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
13000
13001         * minibuffer.C: deactivate on loss of focus
13002
13003 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13004
13005         * vspace.[Ch] (operator!=): add operator.
13006
13007 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
13008
13009         * BufferView_pimpl.C: refuse to open an inset when
13010         there's a selection.
13011
13012 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
13013
13014         * BufferView_pimpl.C: allow to click on RHS of full row insets
13015
13016 2001-11-30  Juergen Vigna  <jug@sad.it>
13017
13018         * tabular.C (LyXTabular): add a same_id to set the same id's in the
13019         insets for undo reasons.
13020
13021 2001-11-28  André Pönitz <poenitz@gmx.net>
13022
13023         * vspace.[Ch]: cosmetical changes
13024
13025 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13026
13027         * LyXAction.h:
13028         * LyXAction.C:
13029         * lyxfunc.h:
13030         * lyxfunc.C:
13031         * kbmap.h:
13032         * kbmap.C:
13033         * lyxrc.C:
13034         * kbsequence.h:
13035         * kbsequence.C: part re-write of old kb code
13036
13037         * Painter.C:
13038         * WorkArea.C: remove Lgb_bug_find_hack
13039
13040 2001-11-30  José Matos <jamatos@fep.up.pt>
13041
13042         * buffer.C (makeDocBookFile): add a comment to point a hack.
13043         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13044         Fixed a double write of labels.
13045
13046 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13047
13048         * LaTeX.C:
13049         * LaTeX.h Fixed bug in LaTeX class where it would not
13050         re-run latex if no depfiles were changed, but the .dvi was removed.
13051
13052 2001-11-28  André Pönitz <poenitz@gmx.net>
13053
13054         * all the files from the change on 2001/11/26:
13055         use lyx::layout_type instead of LyXTextClass::size_type
13056         use lyx::textclass_type instead of LyXTextClassList::size_type
13057
13058 2001-11-29  Juergen Vigna  <jug@sad.it>
13059
13060         * text.C: added support for paragraph::isFreeSpacing()
13061
13062         * buffer.C: same as above
13063
13064         * paragraph.h: inserted isFreeSpacing() function to enable
13065         FreeSpacing inside InsetERT.
13066
13067         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13068         of the paragraph's in the cut/copy buffer to 0!
13069
13070         * text2.C (removeRow): remove the assert as it can!
13071
13072         * lyxtext.h: added helper function firstRow returning firstrow and
13073         made firstrow private again.
13074
13075         * BufferView2.C (lockInset): don't relock if we're already locked!
13076
13077         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13078         the only paragraph.
13079         (removeRow): added Assert::(firstrow)
13080
13081         * debug.C: forgot to add INSETTEXT here.
13082
13083 2001-11-28  Juergen Vigna  <jug@sad.it>
13084
13085         * sp_spell.C (initialize): changed error text to more general
13086         spellchecker command use (not only ispell!)
13087
13088         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13089
13090         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13091
13092 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13093
13094         * vspace.C: initialise lyxgluelength on failure
13095
13096 2001-11-28  Allan Rae  <rae@lyx.org>
13097
13098         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13099         declaration & definition that looks like a function declaration.
13100
13101 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13102
13103         * BufferView2.C (copy):
13104         (copyEnvironment): do not clear the selection when doing a copy.
13105
13106         * text.C (paintFirstRow): compilation fix
13107
13108 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
13109
13110         * tabular.C (Latex): correct line count when writing latex.
13111
13112 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
13113
13114         * paragraph_pimpl.h:
13115         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13116           bug a bit
13117
13118 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13119
13120         * text.C:
13121         * LColor.h:
13122         * LColor.C: change vfillline->added_space
13123
13124         * text.C: add markers and text for added space
13125
13126         * vspace.C: fix comment
13127
13128 2001-11-28  André Pönitz <poenitz@gmx.net>
13129
13130         * paragraph.C: whitespace changes
13131         * all the other files from the change on 2001/11/26:
13132         change *::pos_type into lyx::pos_type
13133
13134 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
13135
13136         * buffer.C (parseSingleLyXformat2Token): Set the language to the
13137         language of the document when inserting error insets.
13138
13139 2001-11-26  André Pönitz <poenitz@gmx.net>
13140
13141         * BufferView_pimpl.[Ch]:
13142         *       CutAndPaste.C:
13143         * buffer.[Ch]:
13144         * lyxcursor.[Ch]:
13145         * lyxfind.C:
13146         * lyxfunc.C:
13147         * lyxrow.[Ch]:
13148         * paragraph.[Ch]:
13149         * paragraph_pimpl.[Ch]:
13150         * sp_spell.C:
13151         * text.C:
13152         * text2.C: reduce header dependencies, introduce type for positions
13153
13154 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13155
13156         * <various>: change to use Alert.h
13157
13158 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
13159
13160         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13161         when encountering an unknown token.
13162         (readLyXformat2): Show an error message if there were unknown tokens.
13163
13164 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
13165
13166         * BufferView2.C:
13167         * BufferView_pimpl.C:
13168         * buffer.C:
13169         * paragraph.h:
13170         * text.C:
13171         * text2.C: use par->isInset()
13172
13173 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13174
13175         * paragraph_pimpl.h:
13176         * paragraph_pimpl.C: cleanup
13177
13178 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13179
13180         * text2.C (removeRow):
13181         * text.C (setHeightOfRow): remove useless (and costly) call to
13182         getRow.
13183
13184 2001-11-20  Allan Rae  <rae@lyx.org>
13185
13186         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13187         Now need Inset*::checkInsertChar() to return true for appropriate
13188         cases so that the characters in the minibuffer will actually be
13189         inserted.
13190
13191 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13192
13193         * text.C: change the order of the includes.
13194         (workWidth): initialize it at once.
13195         (workWidth): make maxw unsigned
13196         (setHeightOfRow): remove unused variable (inset)
13197         (selectSelectedWord): remove unused variable (inset)
13198         (paintRowText): fix drawing of hfill characters, and clean up a bit.
13199
13200 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13201
13202         * lyxserver.C (emergencyCleanup): do not try to close pipes if
13203         server is not running.
13204         (openConnection):
13205         (closeConnection): add debug info when server is disabled.
13206
13207         * ColorHandler.C (getGCForeground): send debug message to GUI
13208         channel.
13209
13210         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13211
13212         * kbmap.C (bind): modify because return conventions of
13213         kb_sequence::parse have changed.
13214
13215         * kbsequence.C (parse): only ignore spaces and not any stupid
13216         control character. This avoids tests like s[i] <= ' ', which are
13217         guaranteed to fail with 8bit characters and signed chars.
13218         Change return code to string::npos when there have been no error
13219         (0 was a bad idea when error is at first character)
13220
13221 2001-11-14  José Matos  <jamatos@fep.up.pt>
13222
13223         * buffer.h:
13224         * buffer.C (simpleDocBookOnePar): removed unused argument.
13225
13226 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13227
13228         * text.C (selectNextWordToSpellcheck): do not test explicitely for
13229         insets which are part of a word. Paragraph::isLetter takes care of
13230         that now. Use Paragraph::isInset to identify insets.
13231         (selectSelectedWord): do not test for hyphenation break.
13232
13233         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13234         that protected spaces are considered as spaces.
13235
13236         * paragraph.C (isLetter): cleanup the code for ispell extras; use
13237         Inset::isLetter.
13238
13239 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
13240
13241         * lyxserver.h:
13242         * lyxserver.C: fix it. and small cleanup.
13243
13244 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13245
13246         * BufferView_pimpl.C: use inline helpers
13247
13248         * LaTeXFeatures.h:
13249         * LaTeXFeatures.C: fix typos
13250
13251         * Spacing.h:
13252         * Spacing.C: move spacing_string into class
13253
13254         * ToolbarDefaults.C: move stuff into namespace anon
13255
13256         * layout.h: update enum
13257
13258         * lyxfunc.C: use better debug
13259
13260         * minibuffer.h: fix typo
13261
13262         * debug.h:
13263         * debug.C:
13264         * WorkArea.C: add and use Debug::WORKAREA
13265
13266         * lyxtext.h:
13267         * text.C:
13268         * text2.C: code re-organisation, inline helpers
13269
13270 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
13271
13272         * Layout.C: replaced a few cases of std::vector.size() == 0 with
13273         std::vector.empty().
13274
13275 2001-11-09  Allan Rae  <rae@lyx.org>
13276
13277         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13278         '\n's after tables.  Tabular and ERT inset work now makes this no
13279         longer necessary.
13280
13281 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13282
13283         * minibuffer.h:
13284         * minibuffer.C: fix crash, improve drop-down completion
13285
13286 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
13287
13288         * lyxserver.h:
13289         * lyxserver.C: invalidate fd's when doing endPipe()
13290
13291 2001-11-08  José Matos  <jamatos@fep.up.pt>
13292
13293         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13294         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13295
13296         * paragraph.h:
13297         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13298
13299 2001-11-07  José Matos  <jamatos@fep.up.pt>
13300
13301         * buffer.h:
13302         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13303         const qualifier.
13304
13305         * buffer.C (sgmlOpenTag):
13306         * buffer.C (sgmlCloseTag): removed debug info.
13307
13308         * buffer.h (sgmlOpenTag):
13309         * buffer.h (sgmlCloseTag): made public.
13310
13311 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13312
13313         * buffer.C (saveParamsAsDefaults):
13314         * lyx_cb.C (MenuLayoutSave): remove
13315
13316         * LyXAction.C (init):
13317         * commandtags.h:
13318         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13319
13320 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13321
13322         * buffer.C (setPaperStuff): removed from here...
13323
13324         * bufferparams.C (setPaperStuff): ... and moved there.
13325
13326 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
13327
13328         * minibuffer.h:
13329         * minibuffer.C:
13330         * XFormsView.C: add support for drop-down completion
13331
13332 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
13333
13334         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13335         commands.
13336
13337 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13338
13339         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13340         disabled.
13341
13342 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
13343
13344         * lyx_main.C: change ref to known bugs
13345
13346 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
13347
13348         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13349         to work around older babel problems.
13350
13351 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13352
13353         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13354
13355 2001-10-24  Juergen Vigna  <jug@sad.it>
13356
13357         * tabular-old.C (ReadOld): below variable changes reflected.
13358
13359         * tabular.[Ch]: added ltType struct for longtable header/footer
13360         defines and changed all instances where they are used. Added
13361         future support for double top/bottom rows.
13362
13363 2001-10-24  José Matos  <jamatos@fep.up.pt>
13364
13365         * buffer.h (docbookHandleCaption):
13366         * buffer.C (docbookHandleCaption): removed unused function.
13367         (makeDocBookFile): moved docbook supported version to v4.1.
13368
13369 2001-10-24  José Matos  <jamatos@fep.up.pt>
13370
13371         * tabular.h:
13372         * tabular.C (docbookRow): new function to export docbook code of a row.
13373         (DocBook): now honors the longtable flags.
13374
13375 2001-10-23  José Matos  <jamatos@fep.up.pt>
13376
13377         * LaTeXFeatures.h:
13378         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13379         of the lyx defined sgml entities used in a docbook/linuxdoc document.
13380
13381         * buffer.C (makeLinuxDocFile):
13382         (makeDocBookFile): reworked the preamble, more clean, and with
13383         support for lyx defined entities. Changed the document declaration
13384         to be more XML friendly.
13385
13386         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13387         if we need to output XML that should be done with a filter.
13388
13389 2001-10-22  Juergen Vigna  <jug@sad.it>
13390
13391         * sp_pspell.h (class PSpell): add alive function needed in the
13392         controller to see if the spellchecker could be started.
13393
13394 2001-10-22  Juergen Vigna  <jug@sad.it>
13395
13396         * buffer.C (insertStringAsLines): modify the font for inserting
13397         chars in certain conditions by calling checkInsertChar(font).
13398
13399 2001-10-19  Juergen Vigna  <jug@sad.it>
13400
13401         * text.C (workWidth): use getRow instead of wrong algorithm.
13402         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13403
13404 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
13405
13406         * lyxserver.h:
13407         * lyxserver.C:
13408         * lyx_main.h:
13409         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13410
13411 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13412
13413         * text.C (workWidth): do not search for the exact row when
13414         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13415         optimization for big documents.
13416
13417 2001-10-18  Juergen Vigna  <jug@sad.it>
13418
13419         * text.C (workWidth): new function with added Inset * parameter.
13420
13421 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13422
13423         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13424
13425         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13426         change return type of getColumnNearX.
13427
13428
13429         * text.C (changeRegionCase): use uppercase/lowercase instead of
13430         toupper/tolower.
13431         (leftMargin):
13432         (rightMargin): simplify code by factoring out the uses of
13433         textclasslist.
13434         (labelFill):
13435         (numberOfHfills):
13436         (setHeightOfRow):
13437         (appendParagraph): use Paragraph::size_type
13438
13439 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13440
13441         * vspace.C (asLatexString): add a missing break
13442
13443 2001-10-15  Herbert Voss  <voss@perce.de>
13444
13445         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13446
13447 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13448
13449         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13450         is not available.
13451
13452 2001-10-10  André Pönitz <poenitz@gmx.net>
13453
13454         * lyxfunc.C: removed greek_kb_flag.
13455
13456 2001-10-10  Herbert Voss  <voss@perce.de>
13457
13458         * lyx_main.C: delete global string help_lyxdir.
13459
13460 2001-10-09  Herbert Voss  <voss@perce.de>
13461
13462         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13463
13464         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13465
13466         * lyx_main.C: added global string help_lyxdir.
13467
13468         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13469
13470 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13471
13472         * lyxrc.C (set_font_norm_type): support iso8859-4
13473
13474 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
13475
13476         * LaTeX.C (deplog): add another regex for MikTeX
13477
13478 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13479
13480         * lyxrc.C (set_font_norm_type): support iso8859-3
13481
13482 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13483
13484         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13485
13486         * LaTeXFeatures.C: remove special case of french and index
13487
13488         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13489         before \begin{document}). This solves several incompatibilities.
13490
13491 2001-10-03  Garst Reese  <reese@isn.net>
13492
13493         * lyx_cb.C: change CheckTex error msg.
13494
13495 2001-10-03  José Matos  <jamatos@fep.up.pt>
13496
13497         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13498
13499 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13500
13501         * .cvsignore: update
13502
13503         * lyx_main.C (commandLineVersionInfo): use new style version info.
13504
13505         * buffer.C (writeFile):
13506         (makeLaTeXFile):
13507         (makeLinuxDocFile):
13508         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13509
13510         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13511
13512         * version.h: update to use stuff in version.C
13513
13514         * version.C.in: new file. Contains version information determined
13515         at compile time. This is a merging of version.h and
13516         version_info.h.in.
13517
13518 2001-10-03  Juergen Vigna  <jug@sad.it>
13519
13520         * BufferView_pimpl.C (update): don't change "dirty" status in
13521         updateInset call.
13522
13523 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
13524
13525         * WorkArea.C (c-tor): re-position version string slightly.
13526
13527 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
13528
13529         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13530         revert to previous code.
13531
13532         WorkArea.[Ch]: (show, destroySplash): methods removed.
13533
13534         WorkArea.C: rework code so that it's an amalgam of the codes before and
13535         after the splash screen was moved to WorkArea.
13536
13537 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13538
13539         * lyxrc.C (read):
13540         * vspace.C (inPixels):
13541         (lyx_advance):
13542         * kbmap.C (bind):
13543         * buffer.C (insertStringAsLines):
13544         (asciiParagraph): fix types to be large enough
13545
13546         * lyxlex_pimpl.h: change member status from short to int
13547
13548         * layout.h: fix type of endlabeltype
13549
13550         * kbmap.C (bind):
13551         * kbsequence.C (parse): change return type to string::size_type
13552
13553         * LaTeX.C (updateBibtexDependencies): comment out unneeded
13554         variable
13555
13556         * Bullet.C (bulletSize):
13557         (bulletEntry): do not use short ints as parameters
13558
13559         * BufferView2.C (insertLyXFile): change a char to an int.
13560
13561         * WorkArea.C (WorkArea): remove unneeded floats in computation
13562
13563 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
13564
13565         * buffer.C (asciiParagraph): Treat '\\' as other chars.
13566
13567         * paragraph.C (asString): Do not ignore newline/hfill chars when
13568         copying to the clipboard.
13569
13570 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
13571
13572         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13573         after a multi-line inset.
13574
13575 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
13576
13577         * paragraph.C (validate): Set NeedLyXFootnoteCode
13578
13579 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13580
13581         * lyxfont.C (LyXSizeNames): changed increase-error to increase
13582         and decrease-error to decrease.
13583
13584 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13585
13586         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13587         it more readable (should be equivalent)
13588
13589 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13590
13591         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13592
13593 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13594
13595         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13596         of a cursor (row, etc.) after a character has been deleted
13597         (deleteEmptyParagraphMechanism): call the method above on _all_
13598         cursors held by the LyXText when a double space has been
13599         detected/deleted.
13600
13601 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13602
13603         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13604         pixmap.
13605         (resizeCurrentBuff): remove code to destroy the old splash dialog.
13606
13607         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13608         background. Use greyOut() and the new show() methods to toggle between
13609         the foreground and background. Add code to remove the splash after
13610         its initial showing.
13611
13612         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13613         (create_forms): no longer call Dialogs::showSplash.
13614
13615 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13616
13617         * .cvsignore: add version_info.h
13618
13619 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13620
13621         * version_info.h.in: new file
13622
13623         * Makefile.am: add version_info.h.in
13624
13625         * lyx_main.C (commandLineVersionInfo): use version_info defined in
13626         version_info.h instead of VERSION_INFO
13627
13628 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
13629
13630         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13631         The ERT inset now returns string().
13632
13633 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
13634
13635         * lyxtext.h, text.C (selectNextWord): renamed as
13636         selectNextWordToSpellcheck.
13637
13638         * text.C (selectNextWordToSpellcheck): Modified to not select
13639         words inside an ERT inset.
13640
13641 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13642
13643         * lyx_cb.C (MenuLayoutSave): change a bit the question
13644
13645         * sp_base.h: include <sys/types.h>
13646
13647 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
13648
13649         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13650
13651 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
13652
13653         * several files: fix typos in user-visible strings
13654
13655 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13656
13657         * text2.C (pasteSelection): do not set the selection, since it
13658         will be cleared later. Actually, the intent was to fix the way the
13659         selection was set, but I figured rmoving the code was just as good.
13660
13661 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
13662
13663         * FontLoader.C (available): Check if font is available without
13664         loading the font.
13665
13666 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
13667
13668         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13669
13670 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
13671
13672         * lyxrc.[Ch]: added display_graphics variable and associated code.
13673
13674 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13675
13676         * bufferparams.C (hasClassDefaults): new method. Returns true if
13677         the buffer parameters correspond to known class defaults
13678
13679 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
13680
13681         * XFormsView.C (show): set minimum size to the main window.
13682
13683 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13684
13685         * text2.C (copySelection):
13686         (cutSelection):
13687         * lyxfind.C (LyXReplace):
13688         * BufferView_pimpl.C (Dispatch): pass the correct flag to
13689         LyXText::selectionAsString.
13690
13691         * paragraph.C (asString): add "label" argument to the second form
13692
13693         * text2.C (selectionAsString): add "label" argument and pass it to
13694         Paragraph::asString.
13695
13696 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13697
13698         * lyx_main.C (commandLineHelp): remove version information
13699
13700 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
13701
13702         * lyx_main.C: add -version commandline option
13703
13704 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13705
13706         * paragraph.h: make the optional constructor arg required instead.
13707         some modifications to other files because of this.
13708
13709         * minibuffer.C (C_MiniBuffer_peek_event): make it static
13710
13711         * lyxserver.C (C_LyXComm_callback): make it static
13712
13713         * lyx_main.C (error_handler): make it static
13714
13715         * lyx_gui.C (LyX_XErrHandler): make it static
13716
13717         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13718
13719         * WorkArea.C: make the extern "C" methods static.
13720
13721         * Makefile.am (lyx_LDADD): simplify
13722
13723 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13724
13725         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13726         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13727
13728         * LyXAction.C (init):
13729         * lyxfunc.C (dispatch): associated code removal.
13730
13731 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13732
13733         * lyxfont.h (isSymbolFont): shut off warning
13734
13735         * text.C (setHeightOfRow):
13736         (getVisibleRow): fix crash with empty paragraphs which have a
13737         bottom line
13738
13739 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
13740
13741         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13742         code.
13743
13744 2001-09-04  José Matos  <jamatos@fep.up.pt>
13745         * buffer.C
13746         * buffer.h
13747         * tabular.C (docbook): rename docBook method to docbook.
13748
13749 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13750
13751         * Makefile.am: add dependencies to main.o.
13752
13753 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
13754
13755         * FontLoader.C (available): Return false if !lyxrc.use_gui
13756
13757 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
13758
13759         * FontInfo.C (query):
13760         * converter.C (view):
13761         * importer.C (Import):
13762         * exporter.C (Export): Can not -> cannot.
13763
13764 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
13765
13766         * BufferView_pimpl.C: allow to create index inset even if
13767           string is empty
13768
13769 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13770
13771         * buffer.C (getLists): replace boost::tie code with an explicit pair
13772         as boost::tie can break some compilers.
13773
13774         * iterators.h: Added a std:: declaration to the return type of
13775         ParIterator::size.
13776
13777 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
13778
13779         * lyxrc.C: add help for view_dvi_paper_option, default to safe
13780           case.
13781
13782 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
13783
13784         * iterators.[Ch]: New files. Provide paragraph iterators.
13785
13786         * buffer.C (changeLanguage): Use paragraph iterators.
13787         (isMultiLingual): ditto
13788
13789         * BufferView2.C (ChangeInsets): Use paragraph iterators.
13790
13791 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
13792
13793         * FontLoader.C: Support for cmr font.
13794
13795 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
13796
13797         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13798         (available): New method.
13799
13800         * FontInfo.C (getFontname): Use scalable fonts even when
13801         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13802         found.
13803
13804 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13805
13806         * converter.C (Formats::view): reverted! Incorrect fix.
13807
13808 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13809
13810         * converter.C (Formats::view): only output the -paper option
13811         if the dvi viewer is xdvi, thereby fixing bug #233429.
13812
13813 2001-08-23  Herbert Voss  <voss@perce>
13814
13815         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13816
13817 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
13818
13819         * Spacing.h (Spacing): Set space to Default on in the default
13820         constructor.
13821
13822 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13823
13824         * vc-backend.h (RCS::versionString): add RCS to version
13825         (CVS::versionString): add CVS to version
13826
13827         * vc-backend.C (scanMaster): do not add CVS to version.
13828         (scanMaster): do not add RCS to version
13829
13830         * lyxvc.C (versionString): new method
13831
13832         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13833
13834 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13835
13836         * Spacing.C (set): initialize fval
13837
13838 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
13839
13840         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13841         " or \.
13842
13843 2001-08-16  Juergen Vigna  <jug@sad.it>
13844
13845         * lyxfunc.C (dispatch): implemented the new FINISHED states.
13846
13847 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13848
13849         * BufferView_pimpl.C:
13850         * figureForm.C:
13851         * lyxtext.h:
13852         * text2.C: setParagraph takes linespacing now
13853
13854 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
13855
13856         * LyxAction.C: add internal LFUN_CITATION_INSERT
13857
13858         * LyXView.C: actually apply fix
13859
13860         * bufferlist.C: fix open non-existent file
13861
13862         * lyxfind.C: fix indentation
13863
13864         * lyxfunc.C: remove unneeded assert, fix typo
13865
13866 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13867
13868         * MenuBackend.C: use "Floatname List"
13869
13870 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
13871
13872         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13873         when converting LaTeX layout to insetERT.
13874         Generate a non-collapsed float when reading old float
13875
13876 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13877
13878         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13879         ERT insets.
13880
13881 2001-08-13  Juergen Vigna  <jug@sad.it>
13882
13883         * text.C (fill): return 0 instead of 20 as this seems to be the more
13884         correct value.
13885
13886 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13887
13888         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13889         lyxrc.font_norm.
13890
13891 2001-08-13  Juergen Vigna  <jug@sad.it>
13892
13893         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13894         casesensitive off.
13895         (SearchBackward): comment out the unlocking of the inset_owner this
13896         should not be needed!
13897
13898 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
13899
13900         * Many files: Remove inherit_language, and add latex_language
13901
13902         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13903         collapsible insets.
13904
13905 2001-08-10  Juergen Vigna  <jug@sad.it>
13906
13907         * text.C (prepareToPrint): fixed hfill-width in draw!
13908
13909         * BufferView2.C (selectLastWord): save the selection cursor as this
13910         now is cleared in the function LyXText::clearSelection!
13911
13912 2001-08-08  Juergen Vigna  <jug@sad.it>
13913
13914         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13915         BACKSPACE type functions.
13916
13917         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13918         is only cutted from the document but not put in the cut-buffer, where
13919         still the old stuff should be.
13920
13921         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13922
13923         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13924
13925         * tabular.C (SetWidthOfCell): fixed special case where the width
13926         was not updated!
13927         (LeftLine): handle '|' in align_special.
13928         (RightLine): ditto
13929         (LeftAlreadyDrawed): ditto
13930         (SetWidthOfCell): ditto
13931
13932 2001-08-07  Juergen Vigna  <jug@sad.it>
13933
13934         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13935
13936 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13937
13938         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13939         * lyxlex.[hC]: ditto
13940
13941 2001-08-06  Juergen Vigna  <jug@sad.it>
13942
13943         * text.C (getVisibleRow): fix up row clearing a bit.
13944
13945 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13946
13947         * minibuffer.C: make sure the X server sees the changes in the input.
13948
13949 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13950
13951         * paragraph.C (getFont): split into...
13952         (getLabelFont): this
13953         (getLayoutFont): and this
13954         * paragraph_pimpl.C (realizeFont): calling this
13955
13956         * text2.C (getFont): split into...
13957         (getLayoutFont): this
13958         (getLabelFont): and this
13959         (realizeFont): all three calling this
13960
13961         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13962         files where used.
13963
13964 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13965
13966         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13967
13968 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
13969
13970         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13971         layouts from the Quote inset insertion.
13972
13973 2001-08-03  Juergen Vigna  <jug@sad.it>
13974
13975         * BufferView_pimpl.C (update): do the fitCursor only at the end!
13976
13977         * screen.C (drawFromTo): don't call fitcursor here and do the loop
13978         only if status not is already CHANGED_IN_DRAW (second level).
13979
13980         * text.C (draw): don't set the need_break_row when inside an
13981         InsetText LyXText.
13982
13983 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13984
13985         * buffer.C (parseSingleLyXformat2Token): handle more latex
13986         conversion cases.
13987
13988         * bufferview_funcs.[hC]: change function names to
13989         begin with small char, adjust other files.
13990
13991 2001-08-02  André Pönitz <poenitz@gmx.net>
13992
13993         * lyxfunc.C:
13994         BufferView_pimpl.C: remove broken special code for math-greek
13995
13996 2001-08-02  Juergen Vigna  <jug@sad.it>
13997
13998         * BufferView_pimpl.C (update): redone this function so that we
13999         update the text again if there was a CHANGE_IN_DRAW.
14000
14001         * screen.C (cursorToggle): removed LyXText parameter and recoded.
14002         (drawFromTo): added a new internal bool which is used by draw() and
14003         redraw() function.
14004         (general): some cursor drawing problems fixed.
14005
14006 2001-08-01  Juergen Vigna  <jug@sad.it>
14007
14008         * lyxfind.C (LyXFind): fixed
14009         (SearchForward): ditto
14010         (SearchBackward): ditto
14011
14012         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14013         spurius drawing of the cursor in the main area.
14014
14015         * text2.C (status): small fix which could lead to a segfault!
14016         (clearSelection): remove unneeded BufferView param.
14017
14018 2001-08-01  André Pönitz <poenitz@gmx.net>
14019
14020         * lyxfunc.C: small change due to changed mathed interface
14021
14022 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14023
14024         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14025
14026 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
14027
14028         * lyxfunc.c: fail gracefully if file doesn't exist
14029
14030         * LyXSendto.C:
14031         * buffer.C:
14032         * lyxfunc.C:
14033         * BufferView_pimpl.C: IsDirWriteable() proto changed
14034
14035         * LyXView.C: fix updateWindowTitle() to store the last title
14036
14037 2001-07-31  Juergen Vigna  <jug@sad.it>
14038
14039         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14040         the font (wrong since using of Paragraph::highestFontInRange).
14041
14042         * paragraph.C (highestFontInRange): added a default_size parameter.
14043
14044         * text.C (getVisibleRow): minor clear row changes (still not perfect).
14045         (setHeightOfRow): reformat
14046
14047 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14048
14049         * converter.[hC] + affected files: move to (inital-char)lowercase
14050         function names.
14051
14052         * ParagraphParameters.C (ParagraphParameters): remove commented code
14053
14054         * PainterBase.[Ch]: remove commented code
14055
14056         * LaTeXFeatures.h: add "bool floats" for float.sty
14057
14058         * LaTeXFeatures.C (LaTeXFeatures): init floats
14059         (require): handle float
14060         (getPackages): do it with floats
14061
14062 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14063
14064         * BufferView_pimpl.C (Dispatch): improve handling of
14065         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14066
14067         * commandtags.h: #include lyxfont.h here temporarily to avoid
14068         keybinding bug.
14069
14070         * bufferlist.h: include LString.h here.
14071
14072 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14073
14074         * text2.C (getStringToIndex): new method.
14075
14076 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
14077
14078         * *: Reduced header file dependencies all over.
14079
14080 2001-07-30  Baruch Even  <baruch@lyx.org>
14081
14082         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14083
14084 2001-07-29  Baruch Even  <baruch@lyx.org>
14085
14086         * buffer.C (readInset): Changed GRAPHICS to Graphics.
14087
14088 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14089
14090         * ParameterStruct.h (endif): add a default constructor to make
14091         sure that all variables is initialized.
14092
14093         * ParagraphParameters.C (ParagraphParameters): adjust
14094
14095 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14096
14097         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14098         index; also, check that there is something to index, and that it
14099         does not span over several paragraphs.
14100         (doubleClick): use WHOLE_WORD_STRICT for double click.
14101
14102         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14103
14104         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14105         scheme.
14106
14107 2001-07-26  Baruch Even  <baruch@lyx.org>
14108
14109         * buffer.C (readInset): Changed to call up InsetGraphics when reading
14110         an InsetFig figure, backwards compatible reading of old figure code.
14111
14112 2001-07-27  Juergen Vigna  <jug@sad.it>
14113
14114         * text2.C: font.realize function adaption.
14115
14116         * text.C (draw): add a warnings lyxerr text if needed.
14117
14118         * layout.C: font.realize function adaption.
14119
14120         * language.C: add inherit_language and implement it's handlings
14121
14122         * bufferview_funcs.C (StyleReset): remove language parameter from
14123         font creation (should be language_inherit now).
14124
14125         * bufferparams.C (writeFile): handle ignore_language.
14126
14127         * paragraph.C (getFontSettings): the language has to be resolved
14128         otherwise we have problems in LyXFont!
14129
14130         * lyxfont.C (lyxWriteChanges): added document_language parameter
14131         (update): removed unneeded language parameter
14132
14133         * paragraph.C (validate): fixed wrong output of color-package when
14134         using interface colors for certain fonts in certain environments,
14135         which should not seen as that on the final output.
14136
14137 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
14138
14139         * BufferView_pimpl.C:
14140         * Thesaurus.h:
14141         * Thesaurus.C:
14142         * Makefile.am:
14143         * commandtags.h:
14144         * LyXAction.C: add thesaurus support
14145
14146         * lyxfind.h:
14147         * lyxfind.C: add "once" parameter, for thesaurus, to not
14148           move to the next match
14149
14150 2001-07-26  Juergen Vigna  <jug@sad.it>
14151
14152         * lyxfont.C (realize): honor ignore_language too!
14153         (resolved): ditto.
14154
14155         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14156
14157         * text.C (draw): one place more for ignore_language to not draw
14158         itself!
14159
14160 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
14161
14162         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14163
14164 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14165
14166         * buffer.C (parseSingleLyXformat2Token): a more general fix for
14167         the minipage conversion problem.
14168
14169 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14170
14171         * buffer.C (parseSingleLyXformat2Token): check minipage if we
14172         insert an inset.
14173
14174 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14175
14176         * BufferView.h: don't forward declare WorkArea
14177
14178         * BufferView.C: don't include WorkArea.h
14179
14180 2001-07-25  André Pönitz <poenitz@gmx.net>
14181
14182         * commandtags.h:
14183         * LyXAction.C:
14184         * lyxfunc.C:  new LFUN 'math-space'
14185
14186         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14187
14188 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14189
14190         * text2.C (toggleInset): call open/close
14191
14192 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14193
14194         * lyxfunc.C (dispatch): add debug for the disabled case
14195
14196         * font.C (buttonText): make similar to rectText
14197
14198         * buffer.C (readInset): comment out parsing of insetlist and
14199         insttheorem
14200
14201         * PainterBase.C (rectText): small correction
14202
14203         * BufferView_pimpl.C: comment out insettheorem and insetlist
14204         * LyXAction.C: ditto
14205         * commandtags.h: ditto
14206
14207 2001-07-24  Juergen Vigna  <jug@sad.it>
14208
14209         * text.C (draw): honor the ignore_language.
14210
14211         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14212
14213 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14214
14215         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14216         char inset.
14217
14218 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14219
14220         * lyxtext.h: remove unused (and unimplemented) methods
14221
14222 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14223
14224         * text.C (getVisibleRow): honor background color
14225
14226         * PainterBase.h:
14227         * Painter.h: remove default color argument for fillRectangle
14228
14229         * text.C (backgroundColor): new method
14230
14231 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14232
14233         * text.C (getVisibleRow): adjust
14234
14235         * font.[Ch] (rectText): new method, metrics
14236         (buttonText): new method, metrics
14237
14238         * PainterBase.[hC]: make rectText and buttonText always draw and take
14239         fewer paramteres.
14240
14241 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14242
14243         * ToolbarDefaults.C (read):
14244         * MenuBackend.C (read): allow escaping in all strings
14245
14246         * BufferView_pimpl.C (insertAndEditInset): new method.
14247         (Dispatch): use insertAndEditInset whenever appropriate.
14248
14249         * BufferView_pimpl.C (insertNote): removed
14250
14251         * BufferView_pimpl.C (smartQuote): new method, moved from
14252         BufferView; if an insetquote cannot be inserted, insert a '"'
14253         character instead.
14254
14255         * BufferView2.C: remove insertCorrectQuote();
14256
14257         * lyxfunc.C (getStatus): Add support for all remaingin
14258         inset-insert lfuns.
14259
14260         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14261
14262         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14263         command (necessary to pass " as parameter of self-insert.
14264
14265         * text.C (selectWordWhenUnderCursor):
14266         (selectWord): add word_location parameter
14267         (selectWordWhenUnderCursor): same + remove special code for word
14268         boundary.
14269         (selectNextWord): use kind() to guess type of insetspecialchar,
14270         not latex().
14271
14272         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14273         (insertErtContents): create ert insets as collapsed.
14274         (readInset): better compatibility code for Info inset.
14275
14276 2001-07-20  Juergen Vigna  <jug@sad.it>
14277
14278         * lyxfunc.C (dispatch): use always LyXFind now!
14279
14280         * text2.C (init): add a reinit flag so that the LyXText can be
14281         reinited instead of deleted and reallocated (used in InsetText).
14282
14283         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14284
14285         * text.C: ditto
14286
14287         * text2.C: ditto
14288
14289 2001-07-18  Juergen Vigna  <jug@sad.it>
14290
14291         * text.C (selectNextWord): handle insets inside inset by calling
14292         always the bv->text functions so that we can go up the_locking_inset!
14293
14294         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14295         in strange locations when inside an inset!
14296
14297         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14298         handling to include insets.
14299
14300         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14301
14302 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14303
14304         * LyXAction.C (init):
14305         * commandtags.h:
14306         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14307         LIGATURE_BREAK, since the name is so stupid.
14308
14309 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14310
14311         * buffer.C (readInset): enable reading of new InsetNotes as well as old
14312         InsetInfos.
14313
14314         * FontLoader.C: remove FORMS_H_LOCATION cruft.
14315
14316         * sp_form.[Ch]: remove.
14317
14318         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14319
14320         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14321         InsetInfo.
14322
14323         * src/buffer.C (readInset): ditto.
14324
14325 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14326
14327         * BufferView_pimpl.C (specialChar): new method. Obsoletes
14328         menuSeparator(), endOfSentenceDot(), ldots() and
14329         hyphenationPoint(), which are therefore removed.
14330         (Dispatch): handle LFUN_HYPHENATION_BREAK.
14331
14332         * LyXAction.C (init):
14333         * commandtags.h: add LFUN_HYPHENATION_BREAK.
14334
14335         * paragraph.C (getWord): removed.
14336
14337         * BufferView_pimpl.C (Dispatch): use last word or selection for
14338         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14339
14340         * lyx_main.C (queryUserLyXDir): do not ask before creating
14341         user_dir, except if it has been named explicitely.
14342
14343 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14344
14345         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14346         a document of zero size.
14347
14348 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
14349
14350         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14351         approriately in the c-tor and in require().
14352         (getPackages): output the appropriate LaTeX for natbib support.
14353
14354         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14355         variables "use_natbib" and "use_numerical_citations" when reading the
14356         LyX file.
14357         (readInset): read the various natbib cite commands.
14358         (validate): white-space change.
14359
14360         * bufferparams.[Ch]: new variables "bool use_natbib" and
14361         "bool use_numerical_citations".
14362         (writeFile): output them in the LyX file.
14363
14364 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14365
14366         * lyxfunc.C (getStatus): add support for all the inset insertion
14367         commands.
14368
14369         * text2.C (insertInset):
14370         * paragraph.C (insetAllowed):
14371         * BufferView_pimpl.C (insertInset): update to take in account the
14372         renaming of insertInsetAllowed
14373
14374         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14375
14376         * text2.C (getInset): new method. returns inset at cursor position.
14377
14378         * BufferView_pimpl.C (Dispatch): changes because of this.
14379
14380         * LyXAction.C (init): rename open-stuff to inset-toggle.
14381
14382         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14383
14384         * text2.C (toggleInset): renamed from openStuff; use
14385         Inset::open().
14386
14387 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
14388
14389         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14390
14391         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14392
14393 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
14394
14395         * buffer.C (readLyXformat2): Add filename to the error dialog
14396
14397 2001-07-18  Juergen Vigna  <jug@sad.it>
14398
14399         * tabular.C (GetCellNumber): put an assert here instead of the check!
14400
14401 2001-07-17  Juergen Vigna  <jug@sad.it>
14402
14403         * BufferView_pimpl.C (toggleSelection): adapted too.
14404
14405         * text.C (selectNextWord): adapted for use with insets.
14406         (selectSelectedWord): ditto
14407
14408 2001-07-17  Juergen Vigna  <jug@sad.it>
14409
14410         * sp_spell.C (PSpell): fix initialitation order.
14411
14412 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14413
14414         * paragraph.C: spacing
14415
14416 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
14417
14418         * sp_spell.C: repair language selection for pspell
14419
14420 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14421
14422         * lyxfunc.h: change more methods to begin with lower char.
14423
14424 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
14425
14426         * buffer.C (parseSingleLyXformat2Token): Generate error insets
14427         for unknown layouts.
14428
14429 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
14430
14431         * buffer.C (readLyXformat2): Generate an error dialog if there are
14432         unknown layouts.
14433
14434 2001-07-16  Juergen Vigna  <jug@sad.it>
14435
14436         * sp_spell.C: always compile ISpell part.
14437
14438         * lyxrc.C: added use_pspell entry and it's handling.
14439
14440 2001-07-13  Juergen Vigna  <jug@sad.it>
14441
14442         * sp_spell.C: removed double includes.
14443
14444 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
14445
14446         Consistent use of Lsstream.h:
14447         * Lsstream.h: added using std::stringstream for consistencies sake.
14448
14449         * buffer.C: removed using std::stringstream
14450
14451         * lyxfont.C (stateText):
14452         * paragraph.C (asString):
14453         * text.C (selectNextWord, selectSelectedWord):
14454         * text2.C (setCounter):
14455         * vspace.C (asString, asLatexString):
14456         std::ostringstream -> ostringstream.
14457
14458 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14459
14460         * LyXAction.C: add LFUN_HELP_ABOUTLYX
14461         * commandtags.h: add LFUN_HELP_ABOUTLYX
14462         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14463
14464 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14465
14466         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14467         cursorToggle()
14468         * lyx_gui_misc.C: remove spellchecker
14469         * lyxfunc.C: showSpellchecker
14470         * sp_base.h: added
14471         * sp_ispell.h: added
14472         * sp_pspell.h: added
14473         * sp_spell.C: added
14474         * sp_form.[Ch]: removed
14475         * spellchecker.[Ch]: removed
14476
14477 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
14478
14479         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14480         is set.
14481         (simpleTeXSpecialChars): Simply print the input character without
14482         any special translation if pass_thru is set.
14483
14484         * layout.h: Added bool pass_thru to layout class for being able to
14485         implement pass through of a paragraph for Literate Programming.
14486
14487         * layout.C: add LT_PASS_THRU to LayoutTags enum.
14488         * layout.C (LyXLayout): set pass_thru to flase in constructor.
14489         * layout.C (Read): add "passthru" to list of layout tags and add
14490         code to set the pass_thru boolean when it is read.
14491
14492 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14493
14494         * trans_decl.h: remove allowed from KmodInfo
14495
14496         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14497         remove allowed code
14498         (Load): adjust
14499
14500         * paragraph_pimpl.C (erase): use boost::prior
14501
14502         * Painter.C (text): use data() instead of c_str() when length is
14503         also provided.
14504         * WorkArea.C (putClipboard): ditto
14505         * font.h (width): ditto
14506
14507         * BufferView2.C: use it-> instead of (*it). for iterators
14508         * texrow.C: ditto
14509         * paragraph_pimpl.C: ditto
14510         * paragraph.C: ditto
14511         * minibuffer.C: ditto
14512         * language.C: ditto
14513         * kbmap.C: ditto
14514         * encoding.C: ditto
14515         * counters.C: ditto
14516         * converter.C: ditto
14517         * chset.C: ditto
14518         * Variables.C: ditto
14519         * TextCache.C: ditto
14520         * MenuBackend.C: ditto
14521         * LyXAction.C: ditto
14522         * LColor.C: ditto
14523         * FloatList.C: ditto
14524         * DepTable.C: ditto
14525         * ColorHandler.C (LyXColorHandler): ditto
14526
14527 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14528
14529         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14530
14531         * text2.C (openStuff): reintroduce this method (which had been
14532         nuked in NEW_INSETS frenzy).
14533
14534         * lyxfunc.C (Dispatch): when an action has not been handled, use
14535         its name in the error message, not its number.
14536
14537         * paragraph.C (inInset): change method name to begin with lowercase.
14538
14539         * undo_funcs.C:
14540         * text2.C: updates because of this.
14541
14542 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14543
14544         * ToolbarDefaults.C (add): add spaces in error message
14545
14546 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14547
14548         * buffer.C (readLyXformat2): initialize the ert comp. variables.
14549         (readLyXformat2): rename return_par to first_par, use lyxlex's
14550         pushToken and remove the manual push handling.
14551         (parseSingleLyXformat2Token): add another ert comp. variable:
14552         in_tabular, rename return_par to first_par. handle newlines better
14553
14554 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14555
14556         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14557
14558 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14559
14560         * text2.C (getParFromID): removed
14561
14562         * buffer.C (getParFromID): new method moved form lyxtext.
14563         * BufferView2.C (insertErrors): adjust
14564         (setCursorFromRow): adjust
14565         * BufferView_pimpl.C (restorePosition): adjust
14566         * lyxfunc.C (Dispatch): adjust
14567         * undo_funcs.C (textUndo): adjust
14568         (textRedo): adjust
14569         (textHandleUndo): adjust
14570         (textHandleUndo): adjust
14571
14572 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14573
14574         * buffer.C: up' the LYX_FORMAT
14575
14576         * lyxfont.h: turn NO_LATEX on as default
14577
14578         * buffer.C (insertErtContents): new methods of tex style compability.
14579         (parseSingleLyXformat2Token): use it several places.
14580         * tabular.C (OldFormatRead): and here
14581
14582 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14583
14584         * text2.C: remove some commented code.
14585         reindent file.
14586
14587         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14588         * trans.C: changes because of the above.
14589
14590 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
14591
14592         * text2.C (setCounter): Fix counters bug with bibliography layout.
14593
14594 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14595
14596         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14597         own member functions
14598         (simpleTeXSpecialChars): ditto
14599
14600 2001-07-06  Juergen Vigna  <jug@sad.it>
14601
14602         * a lot of files: changed the access to LyXText::status and the
14603         call of undo-functions.
14604
14605         * undo.[Ch]: added a inset_id to the undo informations.
14606
14607         * undo_funcs.[Ch]: added and moved here all undo functions.
14608
14609         * lyxtext.h: give the status enum a weight, made status_ a private
14610         variable and made accessor functions for it, removed the whole bunch
14611         of undo-functions as they are now in their own file, make some
14612         functions publically available. Added function ownerParagraph with
14613         int parameter.
14614
14615         * paragraph.[Ch]: added "bool same_ids" to the constructor,
14616         made InInset() a const function, added getParFromID() function.
14617
14618         * buffer.[Ch]: added const version for inset_iterator functions,
14619         added getInsetFromID() function.
14620
14621         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14622         changed undo functions for new version.
14623
14624 2001-07-05  Juergen Vigna  <jug@sad.it>
14625
14626         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14627         unknow mechanism does not call the proper constructor but only this
14628         one also if I request the other!?
14629
14630 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14631
14632         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14633
14634         * text2.C (LyXText): use initialization lists.
14635
14636         * lyxtext.h (Selection): initialize set_ and mark_
14637         (init): remove method
14638
14639 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
14640
14641         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14642
14643 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14644
14645         * screen.[Ch]: change method names to begin with lowercase
14646
14647         * BufferView_pimpl.C (updateScrollbar): simplify further and
14648         hopefully make it a bit faster.
14649
14650 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14651
14652         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14653         calling directly xforms functions.
14654
14655         * Painter.C (Painter):
14656         * lyx_cb.C (MenuWrite):
14657         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14658         fl_display.
14659
14660         * lyx_gui.C: remove bogus guiruntime extern declaration.
14661
14662 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14663
14664         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14665         in NEW_INSETS
14666         (redoDrawingOfParagraph): ditto
14667         (redoParagraphs): ditto
14668         (cutSelection): don't create a object for CutAndPaste use the
14669         static method directly
14670         (pasteSelection): ditto
14671
14672         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14673         LyXview (+ rename)
14674
14675 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14676
14677         * modifications to some other files because of this.
14678
14679         * Makefile.am (lyx_SOURCES): add XFormsView
14680
14681         * XFormsView.[Ch]: new files
14682
14683         * LyXView.[Ch]: make LyXView a base class for the gui handling for
14684         the main window. Move the gui dependent stuff to XFormsView
14685
14686 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14687
14688         * tabular.C (GetCellInset): update cur_cell also in the row/col
14689         version of this function.
14690
14691         * lyxfunc.C: no need to include figure_form.h here.
14692
14693         * FontLoader.h:
14694         * lyxfunc.h:
14695         * lyxscreen.h:
14696         * text2.C:
14697         * lyxvc.C: no need to include forms.h here.
14698
14699 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14700
14701         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14702
14703         * lyxfunc.C (Dispatch):
14704         * Spacing.C (set):
14705         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14706         constructor argument.
14707
14708 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14709
14710         * paragraph.C (Paragraph): dont't clear, and just set layout.
14711         (makeSameLayout): use params's copy contructor.
14712
14713         * ParagraphParameters.[Ch] (makeSame): delete method
14714
14715 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
14716
14717         * Variables.[Ch]: fix indentation, rename set to isSet
14718
14719 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14720
14721         * lyxfunc.C (Dispatch): fix typo
14722
14723 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14724
14725         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14726         upper_bound.
14727
14728         * bufferlist.C: include assert.h for emergencyWrite().
14729
14730 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14731
14732         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14733           give up at last (bug #425202) !
14734
14735 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
14736
14737         * lyx_gui_misc.C:
14738         * sp_form.h:
14739         * sp_form.C:
14740         * spellchecker.h:
14741         * spellchecker.C: strip spellchecker options and bring up
14742           preferences tab instead
14743
14744 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14745
14746         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14747         the istringstream constructor
14748
14749 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14750
14751         * paragraph.C (getLayout): fix return value
14752
14753         * paragraph.h: do not declare getLayout as inline.
14754
14755         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14756
14757 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14758
14759         * lyxcursor.h (operator<): new func
14760         (operator>): new func
14761         (operator>=): new func
14762         (operator<=): new func
14763
14764         * text.C (changeCase): use selection.start and selection.end
14765         (changeRegionCase): require from to be <= to. Require par to be a
14766         valid paragraph.
14767
14768         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14769
14770 2001-06-27  Juergen Vigna  <jug@sad.it>
14771
14772         * text.C (cursorLeftOneWord): changed to return the cursor and added
14773         overlay with BufferView * parameter which calls this one.
14774         (getWord): added
14775         (selectWord): use new getWord function.
14776         (changeCase): renamed from changeWordCase as and extended to work
14777         also on selections.
14778
14779         * lyxtext.h: added enum word_location
14780
14781         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14782         changeCase as this operates now also on selections.
14783
14784 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
14785
14786         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14787
14788         * many files: send debug output to Debug::INFO instead of
14789         Debug::ANY.
14790
14791         * converter.C (View):
14792         (Convert):
14793         (Move): send debug output to Debug::FILES instead of console.
14794
14795 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
14796
14797         * lyxfunc.C (getStatus): use func_status
14798
14799         * func_status.h: new header, describing the results of
14800         LyXFunc::getStatus;
14801
14802         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14803         LFUN_MATH_HALIGN.
14804
14805 2001-06-25  The LyX Project  <jug@sad.it>
14806
14807         * buffer.C (sgmlOpenTag):
14808         (sgmlCloseTag):
14809         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
14810
14811 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14812
14813         * text2.C: remove some dead code
14814
14815         * tabular.C (GetCellInset): store the last cell checked (gotten)
14816
14817         * tabular.h: add the helper for the speedup
14818
14819         * lyxtext.h: remove some dead code
14820
14821 2001-06-26  The LyX Project  <Asger>
14822
14823         * paragraph.C: Change export to LaTeX of alignment to
14824         \begin{center} and family for better roundtrip work with reLyX.
14825
14826         * Tune the math drawing a bit.
14827
14828 2001-06-25  The LyX Project  <Asger>
14829
14830         * LColor.C (LColor): New color for math background. New color
14831         for buttons.
14832
14833 2001-06-25  The LyX Project  <jug@sad.it>
14834
14835         * lyxfunc.C (MenuNew): remove extra check for .lyx file
14836
14837         * lyxfunc.C (Open):
14838         * bufferlist.C (newFile): do not restrict to files ending with
14839         .lyx
14840
14841         * BufferView_pimpl.C (MenuInsertLyXFile):
14842
14843 2001-06-24  The LyX Project  <jug@sad.it>
14844
14845         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14846         of compare_no_case
14847
14848 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14849
14850         * lyxtext.h: rename most methods to begin with a small char.
14851         Lots of changes because of this.
14852
14853         * paragraph.C (Paragraph): do not call fitToSize
14854         (erase): call Pimpl::erase
14855         (insertChar): call Pimpl::insertChar
14856         (insertInset): call Pipl::insertInset
14857         (breakParagraph): do not call fitToSize
14858         (breakParagraphConservative): do not call fitToSize
14859         (fitToSize): remove method
14860
14861         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14862
14863 2001-06-24  The LyX Project  <Asger>
14864
14865         * Fix Qt compilation^2
14866
14867 2001-06-24  The LyX Project  <jug@sad.it>
14868
14869         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14870         depthHook(getDepth()-1).
14871
14872         * paragraph.h:
14873         * ParagraphParameters.h:
14874         * ParameterStruct.h: change type of depth to unsigned int ==
14875         depth_type. Many adaptations to other files before of that.
14876
14877 2001-06-24  The LyX Project  <Asger>
14878
14879         * Fix Qt compilation.
14880
14881 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14882
14883         * paragraph.h: renamed several methods to begin with small letter.
14884         several changes to many parts of the code because of this.
14885
14886 2001-06-23  The LyX Project  <jug@sad.it>
14887
14888         * text2.C (InsertStringAsLines): renamed from InsertStringA;
14889         rewritten to discard all double spaces when KeepEmpty is off
14890         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14891         to only handle newlines but not fiddle with spaces and friends.
14892
14893         * lyxfunc.C (MenuNew): when doing 'new from template', use
14894         template_path as default directory
14895
14896 2001-06-23  The LyX Project  <Asger>
14897
14898         * Clean-up of header file includes all over
14899         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14900
14901 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14902
14903         * paragraph.h: renamed from lyxparagraph.h
14904
14905 2001-06-23  Asger  <lyx@violet.home.sad.it>
14906
14907         * Buffer.h: Removed Buffer::resize
14908         * BufferList.h: Removed BufferList::resize
14909         * LyXView.h: Added LyXView::resize. This way, we will only reflow
14910         the document lazily when we change the width, or the font settings.
14911
14912 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14913
14914         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14915
14916 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14917
14918         * buffer.h: remove out of date comment
14919
14920 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14921
14922         * lyxscreen.h:
14923         * screen.C: fix "theoretical" GC leak
14924
14925 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14926
14927         * LaTeX.C (scanAuxFile):
14928         (deplog): remove trailing \r when reading stream (useful under
14929         win32)
14930
14931 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
14932
14933         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14934         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14935         and BufferView::theLockingInset(Inset*), so should use them and not
14936         access bv_->text->the_locking_inset directly.
14937
14938         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14939
14940 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14941
14942         * Makefile.am:
14943         * tex-defs.h: remove old unused file
14944
14945 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
14946
14947         * BufferView_pimpl.C: fix typo, remove minibuffer message
14948           when buffer has loaded
14949
14950 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14951
14952         * lyxfunc.C (Dispatch): use stringstream
14953         (MenuNew): use stringstream
14954         (Open): use stringstream
14955
14956         * importer.C (Import): use stringstream
14957
14958         * bufferview_funcs.C (CurrentState): use stringstream
14959
14960         * LaTeX.C (run): use stringstream
14961
14962         * BufferView_pimpl.C (savePosition): use stringstream
14963         (restorePosition): use stringstream
14964         (MenuInsertLyXFile): use stringstream
14965
14966 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
14967
14968         * BufferView.C:
14969         * Bullet.C:
14970         * ColorHandler.C:
14971         * FontInfo.C:
14972         * FontLoader.C:
14973         * LColor.C:
14974         * LaTeXFeatures.C:
14975         * Painter.C:
14976         * gettext.C:
14977         * lyx_gui_misc.C:
14978         * lyxserver.C:
14979         * vspace.C: removed // -*- C++ -*- as first line.
14980
14981         * lyxfind.h:
14982         * version.h: added // -*- C++ -*- as first line.
14983
14984 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14985
14986         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14987
14988         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14989         of string
14990
14991 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14992
14993         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14994         of floats.
14995
14996 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14997
14998         * gettext.C: include LString.h even when --disable-nls is on.
14999
15000 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
15001
15002         * converter.h (Get): changed argument type from int to
15003         FormatList::size_type to avoid unnecessary conversion.
15004
15005         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15006         before using it.
15007
15008 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15009
15010         * gettext.h: include LString.h even when --disable-nls is on.
15011
15012 2001-06-07  Juergen Vigna  <jug@sad.it>
15013
15014         * text.C (BreakAgain): subst spaces with tabs.
15015
15016         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15017         (resizeInsetsLyXText): set force on resizeLyXText.
15018
15019 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15020
15021         * gettext.h (gettext_init):
15022         (locale_init): use a real definition instead of a macro
15023
15024 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15025
15026         * Bufferview_pimpl.C:
15027         * LColor.h:
15028         * LColor.C: further lcolor tidies
15029
15030 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15031
15032         * BufferView_pimpl.C (updateScrollbar): simplify.
15033
15034         * BufferView2.C: don't include insets/insetinfo.h, change
15035         prototype for insertInset and call the Pimpl version. let
15036         updateInset call Pimpl version.
15037
15038         * BufferView.h: move inset_slept to BufferView::Pimpl, move
15039         gotoInset to BufferView::Pimpl
15040
15041 2001-06-01  Juergen Vigna  <jug@sad.it>
15042
15043         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15044         inside a LockingInset (is the update needed at all?).
15045
15046 2001-05-31  Juergen Vigna  <jug@sad.it>
15047
15048         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15049         here not the old one otherwise how should we compare it afterwards
15050         if it's the same!
15051
15052 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15053
15054         * lyxfont.C:
15055         * tabular.C:
15056         * tabular-old.C:
15057         * FontInfo.C: bring C functions into global namespace when
15058         necessary
15059
15060 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15061
15062         * LString.h: make sure config.h has been loaded before LString.h.
15063
15064         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15065         (one for each char read by EatLine!).
15066
15067         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15068         variables.
15069
15070 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15071
15072         * paragraph.C (BreakParagraph): set the inset_owner in the new par
15073         to the same as the par we break from
15074
15075 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15076
15077         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15078
15079         * MenuBackend.C (expand): also create menu entries for wide
15080         versions of the floats.
15081
15082         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15083
15084         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15085
15086         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15087         frontends/Makefile.am
15088
15089         * text2.C: adjust
15090         * text.C: adjust
15091
15092
15093         * tabular.C (getTokenValue): add std::
15094
15095         * tabular-old.C (getTokenValue): add std::
15096         (getTokenValue): ditto
15097         (getTokenValue): ditto
15098
15099         * screen.C (ToggleSelection): adjust
15100
15101         * lyxtext.h: put selection cursors inside a Selection struct.
15102
15103         * lyxfunc.C (moveCursorUpdate): adjust
15104
15105         * lyxfont.C (latexWriteStartChanges): add std::
15106
15107         * lyxfind.C: adjust
15108
15109         * font.h: delete with(char const *, LyXFont const &)
15110
15111         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15112
15113         * FontInfo.C (getFontname): add std::
15114
15115         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15116         (workAreaButtonPress): adjust
15117         (tripleClick): adjust
15118         (update): adjust
15119         (moveCursorUpdate): adjust
15120         (Dispatch): adjust
15121
15122         * BufferView2.C (gotoInset): adjust
15123
15124 2001-05-30  Juergen Vigna  <jug@sad.it>
15125
15126         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15127         to check pspell I add this as default as I now have new pspell
15128         libraries and they seem to use this.
15129
15130 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15131
15132         * text2.C (CutSelection): make the cursor valid before the call to
15133         ClearSelection.
15134
15135 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15136
15137         * kbsequence.C (parse): de-uglify a bit the parsing code, which
15138         relied on 0 terminated strings and other horrors. Bug found due to
15139         the new assert in lyxstring!
15140
15141         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15142         KP_ keys.
15143
15144 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15145
15146         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15147         to latinkeys.bind.
15148
15149         * lyxfunc.C (processKeySym): change method of getting to the
15150         self-insert char.
15151
15152         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15153         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15154         * BufferView_pimpl.[Ch]: here as private methods.
15155
15156 2001-05-28  Juergen Vigna  <jug@sad.it>
15157
15158         * text.C (SetHeightOfRow): added the update() call again as it is
15159         needed to initialize inset dimensions!
15160
15161 2001-05-16  Juergen Vigna  <jug@sad.it>
15162
15163         * text2.C (SetCharFont): Add new function with BufferView * and
15164         bool toggleall parameters for setting insets internal fonts.
15165         (SetFont): Freeze the undo as we may change fonts in Insets and
15166         all this change should be inside only one Undo!
15167
15168         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15169         setting font's in insets as for them we have the SetFont function!
15170
15171 2001-05-15  Juergen Vigna  <jug@sad.it>
15172
15173         * text2.C (ClearSelection): to be sure we REALLY don't have any
15174         selection anymore!
15175
15176         * tabular.C (TeXCellPreamble): fixed the left border problem for
15177         multicolumn cells.
15178
15179 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
15180
15181         * LaTeX.C (deplog): Make sure that the main .tex file is in the
15182         dependancy file
15183
15184 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15185
15186         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15187         LFUN_BREAKPARAGRAPH.
15188
15189         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15190         help test to "internal only", similar for LFUN_INSERT_URL
15191
15192         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15193         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15194         auto_region_delete and deadkeys.
15195
15196 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
15197
15198         * LColor.h:
15199         * LColor.C: remove some dead entries, tidy a little
15200
15201 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15202
15203         * lyxfunc.C (processKeySym): comment the Escape handling, remove
15204         commented code.
15205         (Dispatch): implement LFUN_ESCAPE
15206
15207         * commandtags.h: add LFUN_ESCAPE
15208
15209         * LyXAction.C (init): add entry for LFUN_ESCAPE
15210
15211         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15212         Remove commented code.
15213         (insertNote): moved here
15214         (open_new_inset): moved here
15215
15216         * BufferView[2].[Ch]: move insertNote and open_new_inset to
15217         BufferView_pimpl
15218
15219 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15220
15221         * kbmap.C (findbinding): clean it up and make it work correctly.
15222
15223         * lyx_main.C (init): do not pass argc and argv as parameters
15224
15225 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
15226
15227         * buffer.C: fix path for OS/2 & Win32
15228
15229         * lyx_gui.C:
15230         * lyx_main:
15231         * lyx_main.C: Added os:: class.
15232
15233         * os2_defines.h: update
15234
15235 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15236
15237         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15238         better by trying again with reduced state.
15239
15240 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15241
15242         * lyxrc.C (read): print error about invalid key sequence only when
15243         debugging (because not all latinX keysyms are known to some X
15244         servers)
15245
15246         * kbsequence.C (getiso): add a few std:: qualifiers
15247         (getiso): comment out extra return statement.
15248
15249 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15250
15251         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15252         handling.
15253         (Dispatch): enhance the accent inset a bit. (not perfect)
15254
15255 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15256
15257         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15258
15259 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15260
15261         * bufferlist.C (emergencyWrite): fix assert() call
15262
15263 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
15264
15265         * text.C (InsertChar): Added trivial patch to only send the "you
15266         can not do multiple spaces this way" message once during a
15267         session.
15268
15269 2001-05-08  Baruch Even  <baruch@lyx.org>
15270
15271         * Makefile.am: Changed order of libraries to get LyX to link properly
15272         with the gnome frontend.
15273
15274 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15275
15276         * LaTeXFeatures.h: add a std:: qualifier
15277
15278 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15279
15280         * paragraph.C (String): use stringstream
15281
15282 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15283
15284         * paragraph.C (writeFile): remove footflag arg
15285
15286         * buffer.C (makeLaTeXFile): use stringstream
15287         (latexParagraphs): remove footnot gurba
15288
15289         * LaTeXFeatures.C (getPackages): use stringstream
15290         (getMacros): likewise
15291         (getTClassPreamble): likewise
15292         (getFloatDefinitions): new method
15293
15294         * paragraph.C (writeFile): reindent
15295         (Erase): reindent
15296
15297         * WorkArea.h: revert the xpos + etc changes.
15298
15299         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15300
15301         * lyxparagraph.[Ch]: add copy constructor, remove Clone
15302
15303         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15304         (pasteSelection): likewise
15305         * text2.C (CreateUndo): likewise
15306
15307 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15308
15309         * minibuffer.C (peek_event): temporarily reduce the functionality
15310         of the minibuffer (to allow args on lfuns)
15311
15312         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15313         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15314
15315         * buffer.C (readInset): add compability reading of old float
15316         lists, add reading of new style float list.
15317         (readInset): avoid reevaluation of inscmd.getCmdName()
15318         (getLists): reindent
15319
15320         * MenuBackend.C (MenuItem): implement parsing of
15321         md_floatlistinsert and md_floatinsert.
15322         (expand::LastFiles): move initalizaton of iterators out of loop,
15323         avoid reevaluation.
15324         (expand::Documents): introduce typdedef vector<string> Strings,
15325         and use it.
15326         (expand::ExportFormats): introduce typedef vector<Format const *>
15327         Formats, and use it.
15328         (expand): implement FloatListInsert and FloatInsert.
15329
15330         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15331         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15332         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15333
15334         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15335         handling.
15336         (Dispatch::LFUN_FLOAT_LIST): implement
15337
15338 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15339
15340         * LaTeX.C (run): Fix problem with --export code.
15341
15342 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15343
15344         * BufferView.[Ch] (workarea): removed.
15345         (getClipboard) new method; wrapper for workarea()->getClipboard()
15346
15347         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15348         bug.
15349
15350         * WorkArea.h (width, height, xpos, ypos): These methods all
15351         returned the dimensions of the work_area sub-area of WorkArea,
15352         resulting in a position error if the WorkArea were resized. Now
15353         return the dimensions of the entire WorkArea.
15354
15355         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15356
15357 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15358
15359         * LaTeX.C (deplog): correct the syntax of regex reg1
15360
15361 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15362
15363         * undo.C: remove !NEW_INSETS cruft
15364
15365 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15366
15367         * text2.C: remove !NEW_INSETS cruft
15368
15369         * text.C: remove !NEW_INSETS cruft
15370
15371         * tabular.C: remove !NEW_INSETS cruft
15372
15373         * spellchecker.C: remove !NEW_INSETS cruft
15374
15375         * lyxtext.h: remove !NEW_INSETS cruft
15376
15377         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15378
15379         * lyxfunc.C: remove !NEW_INSETS cruft
15380
15381         * lyxfind.C: remove !NEW_INSETS cruft
15382
15383         * lyx_cb.C: remove !NEW_INSETS cruft
15384
15385         * figureForm.C: remove  !NEW_INSETS cruft
15386
15387         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15388
15389         * buffer.[Ch]: remove !NEW_INSETS cruft
15390
15391         * ToolbarDefaults.C: remove !NEW_INSETS cruft
15392
15393         * CutAndPaste.C: remove !NEW_INSETS cruft
15394
15395         * BufferView_pimpl.C: remove !NEW_INSETS cruft
15396
15397         * BufferView2.C: remove !NEW_INSETS cruft
15398
15399         * BufferView.h: remove !NEW_INSETS cruft
15400
15401 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15402
15403         * Lsstream.h: include LString.h before the sstream headers to
15404         fix problem with gcc 2.95.3 and lyxstring
15405
15406 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15407
15408         * lyx_main.C: add using directives when needed for C functions
15409         declared in std:: namespace.
15410
15411 2001-04-27  Juergen Vigna  <jug@sad.it>
15412
15413         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15414         (SetHeightOfRow): comment out the update call should not be needed!
15415
15416 2001-04-13  Juergen Vigna  <jug@sad.it>
15417
15418         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15419         (LyXTabular): tried to minimize operator= operations (and realized
15420         hopfully Lars wish).
15421
15422 2001-04-27  Juergen Vigna  <jug@sad.it>
15423
15424         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15425
15426 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15427
15428         * lyxfunc.C (Dispatch): hack to make listof algorithm work
15429
15430         * buffer.C (readInset): hack to make listof algorithm work
15431
15432         * BufferView_pimpl.C: hack to make listof algorithm work
15433
15434 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15435
15436         * LyXAction.C: removed all !NEW_INSETS cruft
15437         (init): moved lfun_item in method
15438
15439         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15440
15441 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15442
15443         * BufferView2.C (theLockingInset): white space.
15444
15445 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15446
15447         * minibuffer.C: include <iostream>
15448
15449         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15450
15451         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15452
15453         * commandtags.h: add LFUN_TRANSPOSE_CHARS
15454
15455         * text.[Ch] (TransposeChars): new method
15456
15457 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15458
15459         * call message directly through LyXView instead of through LyXFunc
15460         * BufferView2.C: adjust
15461         * BufferView_pimpl.C: adjust
15462         * FontLoader.C: adjust
15463         * buffer.C: adjust
15464         * bufferview_funcs.C: adjust
15465         * converter.C: adjust
15466         * figureForm.C: adjust
15467         * importer.C: adjust
15468         * lyx_cb.C: adjust
15469         * lyx_gui_misc.C: adjust
15470         * lyxfunc.C: adjust
15471         * lyxvc.C: adjust
15472         * text2.C: adjust
15473         + more files in subdirs
15474
15475         * lyxparagraph.h (size): move up int file
15476         (GetLayout): ditto
15477
15478         * adjust all uses of Assert to lyx::Assert.
15479
15480         * BufferView2.C (ChangeCitationsIfUnique): adjust for
15481         lyxfunctional in namespace lyx
15482         * layout.C (hasLayout): ditto
15483         (GetLayout): ditto
15484         (GetLayout): ditto
15485         (delete_layout): ditto
15486         (NumberOfClass): ditto
15487         * converter.C (GetFormat): ditto
15488         (GetNumber): ditto
15489         (Add): ditto
15490         (Delete): ditto
15491         (SetViewer): ditto
15492         * bufferlist.C (getFileNames): ditto
15493         (emergencyWriteAll): ditto
15494         (exists): ditto
15495         (getBuffer): ditto
15496         * MenuBackend.C (hasSubmenu): ditto
15497         (hasMenu): ditto
15498         (getMenu): ditto
15499         * BufferView_pimpl.C (getInsetByCode): ditto
15500
15501 2001-04-18  Juergen Vigna  <jug@sad.it>
15502
15503         * vspace.C (asLatexString): fixed the 100% problem.
15504
15505 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15506
15507         * lyxfunc.C (Dispatch):
15508         * minibuffer.C:
15509         * minibuffer.h: add a few std:: qualifiers
15510
15511 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15512
15513         * minibuffer.[Ch]: reimplement so that commands is initiated and
15514         run from lyxfunc, simplified som handling, and made the completion
15515         and history code for complete. wip.
15516
15517         * lyxfunc.C (processKeySym): call message
15518         (miniDispatch): new temporary method
15519         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15520         (LFUN_MESSAGE): implement
15521         (LFUN_MESSAGE_PUSH): implement
15522         (LFUN_MESSAGE_POP): implement
15523         (initMiniBuffer): the initial/defualt minibuffer message.
15524
15525         * lyxfont.[Ch]: inline some more getters
15526
15527         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15528
15529         * lyx_gui_misc.[Ch] (WriteStatus): remove method
15530
15531         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15532         (AutoSave): use LFUN_MESSAGE
15533         (Reconfigure): ditto
15534
15535         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15536
15537         * figureForm.C: use LFUN_MESSAGE
15538
15539         * converter.C (runLaTeX): use LFUN_MESSAGE
15540
15541         * bufferview_funcs.C: use LFUN_MESSAGE
15542         (Melt): ditto
15543         (changeDepth): ditto
15544
15545         * bufferparams.h: use boost::
15546
15547         * bufferlist.h: inherit privately from noncopyable
15548
15549         * bufferlist.C (loadLyXFile): remove some commented code.
15550
15551         * buffer.C (runChktex): use LFUN_MESSAGE
15552
15553         * ShareContainer.h: inherit privately from noncopyable
15554
15555         * ParagraphParameters.[hC] (depth): inline it.
15556
15557         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15558         methods.
15559         (message): new method
15560         (messagePush): ditto
15561         (messagePop): ditto
15562         (show): init minibuffer
15563         (showState): direct call
15564
15565         * LaTeX.[Ch]: inherit privately from noncopyable
15566         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15567         instead of WriteStatus.
15568
15569         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15570
15571         * BufferView_pimpl.C (buffer): don't init minibuffer
15572         (workAreaButtonPress): use LFUN_MESSAGE
15573         (workAreaButtonRelease): ditto
15574         (savePosition): ditto
15575         (restorePosition): ditto
15576         (MenuInsertLyXFile): ditto
15577         (workAreaExpose): don't init minibuffer
15578         (update): remove commented code, simplify
15579
15580         * BufferView2.C (openStuff): use LFUN_MESSAGE
15581         (toggleFloat): ditto
15582         (menuUndo): ditto
15583         (menuRedo): ditto
15584         (copyEnvironment): ditto
15585         (pasteEnvironment): ditto
15586         (copy): ditto
15587         (cut): ditto
15588         (paste): ditto
15589         (gotoInset): ditto
15590         (updateInset): remove some commented code
15591
15592         * lastfiles.h: inherit privately from noncopyable
15593         * layout.h: ditto
15594         * lyx_gui.h: ditto
15595         * lyx_main.h: ditto
15596         * lyxlex.h: ditto
15597         * lyxlex_pimpl.h: ditto
15598
15599         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15600         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15601         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15602
15603         * LyXAction.h: inherit privately from noncopyable, add methods
15604         func_begin, func_end, returning iterators to the func map.
15605
15606         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15607         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15608         (func_begin): new method
15609         (func_end): new method
15610
15611         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15612         and not)
15613         (copySelection): ditto
15614         (pasteSelection): ditto
15615
15616         * BufferView.C: whitespace change
15617         * BufferView.h: inherit privately from noncopyable
15618
15619 2001-04-16  Allan Rae  <rae@lyx.org>
15620
15621         * tabular-old.C (l_getline):
15622         * spellchecker.C (sc_check_word):
15623         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15624         an unrecognised preprocessor directive.  So ensure they're wrapped.
15625
15626 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
15627
15628         * src/exporter.C (Export): Give an error message when path to file
15629         contains spaces.
15630
15631 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
15632
15633         * LaTeX.C (deplog): Always check that foundfile exists.
15634
15635 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15636
15637         * lyx_main.h:
15638         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15639
15640 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15641
15642         * tabular.[Ch] (getLabelList): implement new method
15643
15644         * minibuffer.h: comment ouf setTiimer
15645
15646         * minibuffer.C (ExecutingCB): constify res
15647         (peek_event): constify s
15648         (Set): constify ntext
15649         (Init): constify nicename
15650
15651         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15652
15653         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15654         (savePosition): use two params to Minibuffer::Set
15655         (restorePosition): ditto
15656
15657 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15658
15659         * lyx_main.C: include language.h
15660
15661         * Makefile.am (lyx_main.o): add language.h
15662
15663 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15664
15665         * exporter.C:
15666         * paragraph.C:
15667         * screen.C:
15668         * tabular.C:
15669         * CutAndPaste.C: include gettext.h
15670
15671         * lyxfont.h: remove old hack with ON and OFF.
15672
15673         * lyxparagraph.h:
15674         * lyxfont.h: do not include language.h...
15675
15676         * BufferView2.C:
15677         * LaTeXFeatures.C:
15678         * Painter.C:
15679         * bufferview_funcs.C:
15680         * font.C:
15681         * lyxfont.C:
15682         * text.C:
15683         * text2.C:
15684         * trans_mgr.C:
15685         * paragraph.C: ... but do it here instead
15686
15687 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15688
15689         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15690
15691         * tabular.C: small reformat
15692
15693         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15694         NEW_INSETS version
15695         (GetChar): ditto
15696         (BreakParagraph): ditto
15697         (SetOnlyLayout): ditto
15698         (SetLayout): ditto
15699
15700         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15701         with one arg less.
15702
15703         * lastfiles.C: removed most using decl, add std:: where needed
15704
15705         * buffer.C: ws changes
15706
15707         * MenuBackend.C (class compare_format): put into anon namespace
15708         (expand): constify label, names, action, action2
15709         (expand):
15710
15711         * text.C (SingleWidth): constify font
15712         (IsBoundary): constify rtl2
15713         (GetVisibleRow): constify ww
15714
15715         * LaTeX.C (deplog): constify logfile
15716
15717         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15718         start_x, end_x
15719         (workAreaExpose): constify widthChange, heightChange
15720
15721         * lyxrow.C (par): moved
15722         (height): moved
15723         (next): moved
15724         * lyxrow.h: as inlines here
15725
15726         * lyxfont.h (shape): moved from lyxfont.C
15727         (emph): moved from lyxfont.C
15728
15729         * lyxfont.C (LyXFont): use initialization list for all
15730         constructors
15731         (shape): move to lyxfont.h as inline
15732         (emph): move to lyxfont.h as inline
15733
15734
15735 2001-04-04  Juergen Vigna  <jug@sad.it>
15736
15737         * vspace.C: had to include stdio.h for use of sscanf
15738
15739 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
15740
15741         * BufferView.h:
15742         * BufferView_pimpl.h: remove xforms cruft. Both classes are
15743         independent of xforms.
15744
15745 2001-04-02  Juergen Vigna  <jug@sad.it>
15746
15747         * spellchecker.C: fixed namespace placing!
15748
15749 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
15750
15751         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15752         the LyXParagraph * is 0.
15753
15754 2001-03-29  Juergen Vigna  <jug@sad.it>
15755
15756         * vspace.C: added support for %, c%, p%, l%.
15757         (stringFromUnit): added helper function.
15758         (asLatexString): changed to give right results for the %-values.
15759
15760         * buffer.C: convert the widthp in a width%.
15761
15762 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
15763
15764         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15765         figureForm.[Ch].
15766
15767         * figureForm.[Ch]: stripped the FD_from_figure manipulation
15768         code out of lux_cb.[Ch], ready for its (imminent?) removal.
15769
15770         * lyx_cb.[Ch]: see above.
15771
15772         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15773         form1.[Ch].
15774
15775         * form1.[Ch]:
15776         * lyx.[Ch]: replaced by figure_form.[Ch].
15777
15778         * lyx_gui.C:
15779         * lyx_gui_misc.C:
15780         * lyxfunc.C: changed headers associated with above changes.
15781
15782 2001-03-27  Juergen Vigna  <jug@sad.it>
15783
15784         * BufferView_pimpl.C: set the temporary cursor right!
15785
15786 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
15787
15788         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15789
15790 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
15791
15792         * LString.h: removed "using std::getline"!
15793
15794         * BufferView_pimpl.C (Dispatch): changes due to changes in
15795         InsetInclude::Params.
15796
15797         * buffer.C (tag_name): removed redundant break statements as they were
15798         producing lots of warnings with my compiler.
15799
15800 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15801
15802         * LString.h: add "using std::getline" when using the real <string>.
15803
15804 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
15805
15806         * buffer.C: removed bitset usage.
15807         PAR_TAG moved to an anonymous name space.
15808         (tag_name): new funtion, also in the anonymous namespace.
15809         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15810         (makeDocBookFile): clean code. Completed transition from string arrays
15811         to string vectors.
15812         (SimpleDocBookOnePar): code clean.
15813
15814 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15815
15816         * tabular.C: add some comments.
15817
15818 2001-03-22  Juergen Vigna  <jug@sad.it>
15819
15820         * buffer.C (parseSingleLyXformat2Token): redone the minipage
15821         compatibility read a bit and fixed bug with minipage in different
15822         depth.
15823
15824 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
15825
15826         * buffer.C (pop_tag): removed.
15827         (push_tag): removed.
15828         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15829         array replaced with vector. Added support for CDATA sections.
15830         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15831         at any nest level.
15832         (makeDocBookFile): XML conformant declaration of CDATA section,
15833         fixed bug related to <emphasis> in the first paragraph char.
15834         (sgmlOpenTag): exclude empty tags.
15835         (sgmlCloseTag): ditto.
15836
15837         * buffer.h (pop_tag): removed.
15838         (push_tag): removed.
15839
15840 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
15841
15842         * language.h (Languages): added size_type and size().
15843
15844 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15845
15846         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15847         response on compability reading of minipages. One probliem is that
15848         the old usage of minipages was «flertydig»
15849
15850         * several files here and in subdirs: don't use static at file
15851         scope use anon namespaces instead.
15852
15853 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
15854
15855         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15856         LaTeX output. This is necessary for Literate document
15857         processing.
15858
15859 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15860
15861         * buffer.C: insert hfill when needed.
15862
15863         * tabular.C (l_getline): use string::erase, small whitespace change.
15864
15865         * BufferView_pimpl.C: try the anon namespace.
15866         * WorkArea.C: ditto
15867
15868 2001-03-16  Juergen Vigna  <jug@sad.it>
15869
15870         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15871         otherwise it won't open options-dialogs.
15872
15873         * buffer.C: honor pextraWidth(p) on converting minipages.
15874
15875         * tabular.C (l_getline): changed the functions to strip trailing \r.
15876
15877 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
15878
15879         * BufferView_pimpl.C:
15880         * minibuffer..C: added "using SigC::slot" declaration.
15881
15882 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15883
15884         * lyxlex_pimpl.h: noncopyable is in namespace boost.
15885
15886         * text2.C: ditto
15887
15888         * text.C: ditto
15889
15890         * paragraph.C: ditto
15891
15892         * lyxtext.h: NO_PEXTRA
15893
15894         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15895
15896         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15897         * ParameterStruct.h: ditto
15898         * ParagraphParameters.h: ditto
15899         * lyxparagraph.h: ditto
15900
15901 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15902
15903         * buffer.C: add compability for minipage alignment.
15904         (latexParagraphs): remove unwanted pextra check.
15905
15906         * several files: remove CXX_WORKING_NAMESPACES
15907
15908         * buffer.C (pop_tag): tie is in namespace boost
15909
15910         * BufferView.h: noncopyable is in namespace boost
15911         * lyxlex.h: ditto
15912         * lyx_main.h: ditto
15913         * lyx_gui.h: ditto
15914         * layout.h: ditto
15915         * lastfiles.h: ditto
15916         * bufferlist.h: ditto
15917         * ShareContainer.h: ditto
15918         * LyXView.h: ditto
15919         * LyXAction.h: ditto
15920         * LaTeX.h: ditto
15921
15922 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15923
15924         * Merging changes from BRANCH_MVC back into HEAD.
15925
15926         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15927
15928 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
15929
15930         * BufferView_pimpl.C: change from intl.C
15931
15932         * combox.h:
15933         * combox.C:
15934         * Makefile.am: move combox.*
15935
15936         * form1.h:
15937         * form1.C:
15938         * lyx_gui.C:
15939         * intl.h:
15940         * intl.C: remove dialog (covered by prefs)
15941
15942 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15943
15944         * lyxfunc.C (Dispatch): removed redundant break statement.
15945
15946 2001-03-14  Juergen Vigna  <jug@sad.it>
15947
15948         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15949
15950 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15951
15952         * buffer.C: add hack to fix compability reading of minipages.
15953
15954 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
15955
15956         * buffer.C (getLists): Cleanup.
15957
15958 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15959
15960         * lyxfont.C (update): don't honor toggleall on font size.
15961
15962 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
15963
15964         * bmtable.c:
15965         * bmtable.h:
15966         * Makefile.am: moved to frontends/xforms/
15967
15968         * lyx_gui_misc.C:
15969         * lyxfunc.C:
15970         * BufferView_pimpl.C: changes for moved mathpanel
15971
15972 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15973
15974         * gettext.h: fix gettext_init() in --disable-nls
15975
15976 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15977
15978         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15979
15980 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
15981
15982         * lyx.C:
15983         * lyx.h: strip external form
15984
15985 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15986
15987         * BufferView_pimpl.C: add comment, destroySplash()
15988
15989 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15990
15991         * BufferView_pimpl.C:
15992         * LyXAction.C:
15993         * buffer.C:
15994         * commandtags.h:
15995         * lyxfunc.C: use re-worked insetinclude
15996
15997 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15998
15999         * buffer.C: add using std::stringstream.
16000
16001         * lyx_cb.C: readd using std::ios.
16002
16003         * buffer.C: add using std::map.
16004
16005         * BufferView_pimpl.C: add using std::vector.
16006
16007         * ShareContainer.h: add std:: to swap.
16008
16009         * buffer.h: add some typedefs
16010         * buffer.C (getLists): use them
16011         (getLists): renamed from getTocList.
16012         add a counter for the different float types and use it in the
16013         generated string.
16014         (getLists): use the same counter for the NEW_INSETS and the "non"
16015         NEW_INSETS
16016
16017         * lyx_cb.h: remove unused items, includes, using etc.
16018
16019         * ShareContainer.h: remove some commented code, add more comments
16020         and "documentation".
16021
16022 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16023
16024         * buffer.C (getTocList): make the list also when NEW_INSETS is
16025         defined.
16026
16027         * buffer.h: remove TocType
16028
16029         * buffer.C (getTocList): change to return a map<string,
16030         vector<TocItem> >, implement for dynamic number of list.
16031
16032         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16033         * text2.C (PasteSelection): adjust
16034         * CutAndPaste.C (pasteSelection): adjust
16035
16036         * FloatList.C (FloatList): update from the new_insets branch.
16037         * Floating.[Ch]: ditto
16038         * LaTeXFeatures.C: ditto
16039         * buffer.C: ditto
16040         * lyxlex_pimpl.C: ditto
16041
16042         * paragraph.C (Last): remove when NEW_INSETS is defined.
16043
16044         * other file: changes because of the above.
16045
16046 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16047
16048         * lyxparagraph.h: rename next to next_, previous to previous_,
16049         make them private for NEW_INSETS. Rename Next() to next(),
16050         Previous() to previous().
16051
16052         * other files: changes because of the above.
16053
16054 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
16055
16056         * BufferView.h:
16057         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16058         problem.
16059
16060 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16061
16062         * main.C (main): pass lyx_localedir to gettext_init().
16063
16064         * gettext.h: remove locale_init and gettext_init macros
16065
16066         * gettext.C (locale_init): new function
16067         (gettext_init): new function
16068
16069         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16070         setlocale().
16071
16072 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
16073
16074         * Moved credits to frontends:
16075         * credits.[Ch]: removed
16076         * credits_form.[Ch]: removed
16077         * lyx_gui_misc.C: remove credits stuff
16078         * Makefile.am:
16079
16080 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16081
16082         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16083
16084         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16085         unneeded destructor.
16086
16087         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16088         a standalone pointer again.
16089
16090         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16091
16092 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
16093
16094         * Makefile.am:
16095         * filedlg.h:
16096         * filedlg.C:
16097         * LyXAction.C:
16098         * ToolbarDefaults.C:
16099         * bufferlist.C:
16100         * commandtags.h:
16101         * form1.C:
16102         * form1.h:
16103         * lyx_cb.C:
16104         * lyx_cb.h:
16105         * lyxfunc.h:
16106         * lyxfunc.C:
16107         * BufferView_pimpl.C: use new file dialog in GUII
16108
16109         * lyx_cb.h:
16110         * lyx_cb.C: remove LayoutsCB to Toolbar
16111
16112 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16113
16114         * ShareContainer.h (get): add std:: qualifier
16115
16116 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16117
16118         * ShareContainer.h: define a proper ShareContainer::value_type
16119         type (and use typename to please compaq cxx)
16120
16121 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16122
16123         * lyxparagraph.h: move serveral local vars to
16124         ParameterStruct/ParagraphParameters., use ShareContainer in
16125         FontTable., make vars in FontTable private and add getter and
16126         setter.
16127
16128         * paragraph.C: changes because of the above.
16129
16130         * lyxfont.h: remove copy constructor and copy assignment. (the
16131         default ones is ok), move number inside FontBits. move inlines to
16132         lyxfont.C
16133
16134         * lyxfont.C: add number to initializaton of statics, move several
16135         inlines here. constify several local vars. some whitespace
16136         cleanup. Dont hide outerscope variables.
16137
16138         * Spacing.h: add two new constructors to match the set methods.
16139
16140         * ShareContainer.h: new file, will perhaps be moved to support
16141
16142         * ParameterStruct.h: new file
16143
16144         * ParagraphParameters.h: new file
16145
16146         * ParagraphParameters.C: new file
16147
16148         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16149         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16150
16151         * BufferView_pimpl.C: ParagraphParameter changes.
16152         * buffer.C: Likewise.
16153         * bufferview_funcs.C: Likewise.
16154         * text.C: Likewise.
16155         * text2.C: Likewise.
16156
16157 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16158
16159         * lyxfind.C (LyXReplace): do not redefine default argument in
16160         implementation.
16161         (IsStringInText): ditto
16162         (SearchForward): ditto
16163         (SearchBackward): ditto
16164
16165 2001-03-06  Juergen Vigna  <jug@sad.it>
16166
16167         * lyxfind.C (IsStringInText): put parentes around expressions.
16168
16169 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
16170
16171         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16172
16173 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
16174
16175         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16176
16177         * stl_string_fwd.h: add comment
16178
16179         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16180
16181         * tabular.h:
16182         * tabular.C: remove unused DocBook methods
16183
16184         * intl.C:
16185         * language.C:
16186         * paragraph.C:
16187         * buffer.C:
16188         killed DO_USE_DEFAULT_LANGUAGE
16189
16190 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16191
16192         * lyx_gui.C: do not include language.h.
16193
16194         * bufferview_funcs.C (ToggleAndShow): do not provide optional
16195         arguments in function implementation.
16196
16197 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16198
16199         * BufferView_pimpl.C: add <ctime>
16200
16201 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16202
16203         * BufferView_pimpl.C: add using std::find_if
16204
16205 2001-02-27  José Matos  <jamatos@fep.up.pt>
16206
16207         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16208         by OnlyPath.
16209
16210 2001-02-11  José Matos  <jamatos@fep.up.pt>
16211
16212         * buffer.C (makeDocBookFile): command styles now have a parameter as
16213         "title" by default.
16214
16215 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
16216
16217         * layout_forms.[Ch]: removed
16218         * lyx_cb.[Ch]: out character
16219         * lyx_gui.C: out character
16220         * lyx_gui_misc.C: out character
16221         * bufferview_funcs.C: : out character,
16222         added toggleall as parameter in ToggleAndShow
16223
16224 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
16225
16226         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16227
16228         * text2.C (SetCurrentFont): Disable number property at boundary.
16229
16230 2001-02-26  Juergen Vigna  <jug@sad.it>
16231
16232         * lyxfunc.C (getStatus): added a string argument override function so
16233         that this is correctly called from LyXFunc::Dispatch if it contains a
16234         do_not_use_argument which is used!
16235         (Dispatch): added check for "custom" export and call appropriate func.
16236
16237 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
16238
16239         * lyxrc.C: Add language_command_local, language_use_babel and
16240         language_global_options.
16241
16242         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16243
16244         * buffer.C (makeLaTeXFile): Use language_use_babel and
16245         language_global_options.
16246
16247 2001-02-23  Juergen Vigna  <jug@sad.it>
16248
16249         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16250         which works with LyXText and putted it inside BufferView. Here now we
16251         only call for that part the BufferView::Dispatch() function.
16252
16253         * BufferView.C (Dispatch): added.
16254
16255         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16256         functions which needs to use a LyXText over from LyXFunc.
16257         (MenuInsertLyXFile): added
16258         (getInsetByCode): added
16259         (moveCursorUpdate): added
16260         (static TEXT): added
16261
16262 2001-02-22  Juergen Vigna  <jug@sad.it>
16263
16264         * BufferView_pimpl.C (update): call a status update to see if LyXText
16265         needs it.
16266
16267 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16268
16269         * vc-backend.C (revert): implement for CVS
16270         (getLog): implement for CVS
16271
16272 2001-02-20  Juergen Vigna  <jug@sad.it>
16273
16274         * text2.C (ClearSelection): added BufferView param for inset_owner call
16275
16276         * lyxfunc.C (TEXT): added this function and use it instead of
16277         directly owner->view()-text of getLyXText().
16278
16279 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
16280
16281         * src/layout_forms.C: out preamble
16282         * src/layout_forms.h: out preamble
16283         * src/lyx_cb.C: out preamble
16284         * src/lyx_cb.h: out preamble
16285         * src/lyx_gui.C: out preamble
16286         * src/lyx_gui_misc.C: out preamble
16287         * src/lyxfunc.C: connect with guii preamble
16288
16289 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
16290
16291         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16292
16293 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
16294
16295         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16296         whether to run bibtex.
16297
16298 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
16299
16300         * Makefile.am (lyx_SOURCES): Remove BackStack.h
16301
16302 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
16303
16304         * Makefile.am (lyx_SOURCES): removed bibforms.h
16305
16306         * vspace.h: doxygen
16307
16308         * text.C (GetVisibleRow): make several local vars const
16309
16310         * tabular.C: small cleanup.
16311
16312         * lyxserver.C (callback): use compare instead of strncmp
16313
16314         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16315         inlines to after class or to paragraph.C
16316
16317         * lyxfont.h: remove friend operator!=
16318
16319         * converter.h: move friend bool operator< to non friend and after
16320         class def.
16321
16322         * combox.h: small cleanup
16323
16324         * buffer.h: doxygen, remove unused constructor, move inclas inlies
16325         to inlines after class def.
16326
16327         * buffer.C (pop_tag): use string operations instead of strcmp
16328
16329         * bmtable.c: doxygen, small cleanup
16330
16331         * LaTeX.h: remove friend operator==
16332
16333 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
16334
16335         * screen.C:
16336         * lyxrc.[Ch]:
16337         * lyxfunc.C:
16338         * lyxfont.[Ch]:
16339         * lyx_cb.C:
16340         * intl.[Ch]:
16341         * commandtags.h:
16342         * buffer.C:
16343         * WorkArea.[Ch]:
16344         * LyXAction.C:
16345         * BufferView_pimpl.C:
16346         * BufferView.[Ch]: remove cruft
16347
16348 2001-02-14  Juergen Vigna  <jug@sad.it>
16349
16350         * lyxfunc.C: removed #if 0 unused code
16351
16352         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16353
16354         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16355
16356         * text2.C (SetSelection): added a BufferView * parameter
16357
16358 2001-02-13  Juergen Vigna  <jug@sad.it>
16359
16360         * lyxfunc.C (Dispatch): fixed protected blank problem.
16361         * BufferView2.C (protectedBlank): added LyxText * parameter.
16362
16363         * tabular.C (AppendRow): forgot to set row_info of newly added row.
16364         (AppendColumn): same as above for column_info.
16365
16366         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16367         (moveCursorUpdate): use a LyXText param for support of InsetText.
16368
16369         * BufferView_pimpl.C (doubleClick): added support for InsetText.
16370         (tripleClick): ditto
16371
16372         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16373
16374         * BufferView_pimpl.C (update): added LyXText param to honor insets.
16375
16376         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16377
16378         * text2.C (SetSelection): set correct update status if inset_owner
16379         (ToggleFree): ditto
16380
16381 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
16382
16383         * tabular.C: remove some commented code.
16384
16385 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
16386
16387         * BufferView_pimpl.C: call hideSplash()
16388
16389         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16390
16391         * include_form.h:
16392         * bibforms.h: remove
16393
16394         * lyxfunc.C:
16395         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16396           add LFUN_CHILD_CREATE
16397
16398         * counters.h: fix tiny typo
16399
16400         * lyx_cb.C:
16401         * lyx.h:
16402         * lyx_gui.C:
16403         * lyx.C: move splash to frontends/xforms/
16404
16405         * lyx_gui_misc.C: move Include and Bibform to frontends
16406
16407         * lyxvc.h: clarify comment
16408
16409         * vspace.C: tiny housekeeping
16410
16411 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
16412
16413         * text.C (PrepareToPrint): RTL Fix.
16414
16415         * paragraph.C (GetUChar): New method.
16416         (String):  Use GetUChar.
16417
16418         * buffer.C (asciiParagraph): Use GetUChar.
16419
16420 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
16421
16422         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16423
16424 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
16425
16426         * buffer.h:
16427         * buffer.C: rename to getLogName(), handle
16428           build log / latex log nicely
16429
16430 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16431
16432         * MenuBackend.C:
16433         * MenuBackend.h: remove support for reference menuitem type.
16434
16435 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
16436
16437         * BufferView_pimpl.C: housekeeping
16438         * BufferView_pimpl.h:
16439         * LyXView.h:
16440         * Makefile.am:
16441         * Timeout.C:
16442         * Timeout.h:
16443         * minibuffer.h: move Timeout GUI-I
16444
16445 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
16446
16447         * lyxrc.C (read): Update converters data-structures.
16448
16449 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
16450
16451         * LaTeX.h (operator!=): add operator != for Aux_Info
16452
16453 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
16454
16455         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16456
16457         * LaTeXLog.C: deleted, useful code moved to Buffer
16458
16459         * buffer.h:
16460         * buffer.C: new function getLatexLogName()
16461
16462         * lyx_gui_misc.C:
16463         * lyx_gui.C:
16464         * lyxvc.C:
16465         * lyxvc.h:
16466         * lyxfunc.C: use frontends for LaTeX and VC logs
16467
16468 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16469
16470         * LaTeX.h: yet another std:: that Allan forgot.
16471
16472         * Variables.C (set): renamed from isset(), because this clashes
16473         with some HP-UX macros (grr).
16474
16475 2001-02-06  Allan Rae  <rae@lyx.org>
16476
16477         * LaTeX.h: Another bug fix.  Missing std:: this time.
16478
16479 2001-02-04  Allan Rae  <rae@lyx.org>
16480
16481         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16482         floats problem. I've left it commented out because it's not quite
16483         correct.  It should also test that the current object is a table or
16484         figure inset.  But I haven't gotten around to figuring out how to do
16485         that.  I *think* it'll be something like: "table" == inset.type()
16486
16487         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16488         bool.
16489
16490 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
16491
16492         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16493         all the citation/databases/styles in the auxilary file.
16494         (run): Rerun latex if there was a babel language error.
16495
16496 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
16497
16498         * text.C (Backspace): Preserve the font when changing newline char
16499         with a space.
16500         (BreakParagraph): If the cursor is before a space, delete the space.
16501
16502         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16503
16504 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
16505
16506         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16507         new argument (code).
16508         (ChangeCitationsIfUnique): New method.
16509
16510         * paragraph.C (GetPositionOfInset): Handle bibkey.
16511
16512 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16513
16514         * BufferView_pimpl.h: change type of Position::par_pos to
16515         LyXParagraph::size_type.
16516
16517 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
16518
16519         * BufferView_pimpl.C (savePosition, restorePosition): Write
16520         messages to minibuffer.
16521
16522 2001-01-28  José Matos  <jamatos@fep.up.pt>
16523
16524         * buffer.C (makeDocBookFile): adds support for document language.
16525         A silly restriction on the name of LatexCommand types where removed.
16526         Added support for CDATA sections, allows to chars unescaped, used
16527         among others in code, to avoid escape < and >.
16528
16529 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16530
16531         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16532         saved positions instrad of a stack. Furthermore, a position is
16533         stored using paragraph id/paragraph position.
16534
16535         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16536         Remove LFUN_REF_BACK.
16537
16538 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16539
16540         * converter.C (dvipdfm_options): New method.
16541
16542 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
16543
16544         * vspace.C (isValidLength): Fix for empty input string.
16545
16546 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16547
16548         * LyXAction.C (init): change description of LFUN_FIGURE to
16549         "Insert Graphics"
16550
16551 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16552
16553         * LaTeX.C: add using directive
16554
16555 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16556
16557         * MenuBackend.C (expand): Fix the sorting of the formats.
16558
16559 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
16560
16561         * lyx_main.C: tiny error message fix
16562
16563 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16564
16565         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16566         calling fl_initialize(). This fixes the problem with ',' as
16567         decimal separator in text files.
16568
16569 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16570
16571         * trans.C (process): Fix the keymap bug.
16572
16573 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
16574
16575         * LaTeX.C (scanAuxFiles): New method. Provides support for
16576         multiple bibliographies (when using the bibtopic/bibunits pacakges).
16577         (scanLogFile) Scan for "run BibTeX" messages.
16578
16579         * buffer.C (makeLaTeXFile): Do not load the ae package when using
16580         OT1 font encoding. Also, load the aecompl package if the ae
16581         package is loaded.
16582
16583         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16584
16585 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16586
16587         * texrow.C (increasePos): turn two error messages into debug
16588         messages.
16589
16590 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
16591
16592         * LaTeX.C (scanAux): Handle the \@input macro.
16593         (runBibTeX): Use scanAux().
16594
16595         * language.C (latex_options_): New field.
16596
16597         * LaTeXFeatures.C (getMacros): Add language macros.
16598
16599         * buffer.C (makeLaTeXFile): Small fix.
16600
16601 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16602
16603         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16604
16605         * text2.C: add a using directive.
16606
16607 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
16608
16609         * BufferView2.C:
16610         * lyx_gui_misc.h:
16611         * lyxfr1.C:
16612         * lyxfunc.C: kill LyXBell.
16613
16614 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
16615
16616         * text.C (IsBoundary): Remove the error message
16617
16618         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16619
16620         * lyxrc.C (setDefaults): Correct initialization value for
16621         font_norm_type.
16622
16623 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
16624
16625         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16626         gotoError().
16627
16628         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16629         and GotoNextNote().
16630
16631         * src/LyXAction.C: Added reference-next.
16632
16633         * text.C (InsertChar): Use contains instead of strchr.
16634
16635         * lyx_cb.C (MenuInsertLabel): Enable default value code.
16636
16637 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
16638
16639         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16640         alignment commands (when needed).
16641
16642         * text.C (InsertChar): Add ':' to number separator chars.