]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
9b0ab7b4378eee898b26880e481ddafba23e1b3e
[lyx.git] / src / ChangeLog
1 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2
3         * tabular.[Ch]: use size_t-like types for cell, row and column
4         indices
5
6 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7
8         * lyxfunc.C (getStatus): do not lose previous information when
9         calling BufferView::getStatus; do not set a default "Command
10         disabled" message at the beginning, but just before returning.
11
12 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
13
14         * cursor.h (getStatus): add better comment from src/cursor.C
15
16 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
17
18         * text3.C (getStatus): return false when the lfun is not handled
19
20 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
21
22         * broken_headers.h: remove
23         
24         * Makefile.am (lyx_SOURCES): remove broken_headers.h
25
26 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
27
28         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
29         offset_ref accessors
30
31         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
32         top_y_, merge fitcursor with update
33         (updateScrollbar, scrollDocView, fitCursor, center, update): new
34         coord scheme
35         (metrics): introduce
36         (workAreaDispatch): adapt to new coord scheme
37         (redoCurrentBuffer): remove
38
39         * FontIterator.[Ch]: Use Paragraph & instead of pit_type 
40
41         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
42         CurStatus enum.
43
44         * coordcache.[Ch]: add paragraph cache and helpers
45
46         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
47         adjust everywhere
48
49         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
50         (targetX, setTargetX): introduce
51
52         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
53         baseline -> ascent, as the rest of lyx
54
55         * lyxtext.h: remove redoParagraphs, updateParPositions,
56         fullRebreak, redoParagraphInternal. move dist to anon namespace in
57         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
58         have ascent/descent (ascent is ascent of first par)
59
60         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
61         step of BufferView
62
63         * paragraph.[Ch]: unify dimension handling with the rest of lyx
64
65         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
66
67         * pariterator.C: fix infinite loop introduced in par->pit renaming
68
69         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
70         in insets and LyXText, draw two off-screen paragraphs using
71         NullPainter, and adapt to new coord scheme
72
73         * text.C: 
74         * text2.C: 
75         * text3.C: adapt lfun handlers to the new coord scheme, which
76         means: there's only guaranteed coord information for onscreen pars
77         plus one above and one below. This implies that one can do search
78         from y coordinates in the range [-1,workHeight]
79
80 2004-11-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
81
82         * rename a lot of InsetOld to InsetBase
83
84 2004-11-25  Angus Leeming  <leeming@lyx.org>
85
86         * BufferView_pimpl.C:
87         * lyx_cb.C:
88         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
89
90 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
91
92         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
93         call BufferView::getStatus if LCursor::getStatus did nothing
94         (setStatusMessage, getStatusMessage): removed.
95
96         * FuncStatus.C (message): new methods. Used to provide an error
97         message indicating why a command is disabled.
98         (clear, |=, FuncStatus): update for message.
99
100 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
101
102         * lyxfunc.C (dispatch): always call sendDispatchMessage
103
104 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
105
106         * BufferView.C:
107         * BufferView_pimpl.C:
108         * CutAndPaste.C:
109         * FontIterator.C:
110         * buffer.C:
111         * cursor.C:
112         * cursor_slice.[Ch]:
113         * dociterator.[Ch]:
114         * lyxfind.C:
115         * paragraph_funcs.C:
116         * pariterator.C:
117         * rowpainter.C:
118         * text.C:
119         * text2.C:
120         * text3.C:
121         * undo.C: par->pit renaming
122
123 2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
124
125         * tabular.C (cellstruct): use initialization, store a shared_ptr
126         to insettext instead of the insettext directly, adjust to fit.
127         (operator=):  new function
128         (swap): new function
129         (rowstruct): use initialization
130         (columnstruct): use initialization
131         (ltType): use initialization
132
133
134         * lyxlength.h (swap): new function
135
136         * LColor.[Ch] (operator=): use the common semantics
137
138 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
139
140         * lyxfind.C (findNextChange): update the bufferview after setting
141         the selection.
142
143 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
144
145         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
146         number of InsetOptArgs has already been inserted.
147
148         * output_latex.C (latexOptArgInsets): new method. This outputs all
149         the optarg insets, up to the limit defined in the layout file.
150         (optArgInset): removed
151         (TeXOnePar): call latexOptArgInsets; correctly update texrow
152
153 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
154
155         * paragraph.C (isLetter): remove special spellchecker-related
156         code; return true also for digits
157         (isWord, isKomma): remove
158
159         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
160         * lyxfind.C (MatchString()): use isLetter instead of isWord
161
162 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
163
164         * pariterator.h (operatir=): comment out un-implemented member
165         function.
166
167         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
168         static cast.
169
170 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
171
172         * lyxfont.h: include LColor.h to satisfy concept checks.
173
174 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
175
176         * pariterator.h: add typdefs for value_type, difference_type,
177         pointer and reference to satisfy concept checks. Also add default
178         constructor for same reason.
179
180         * pariterator.C (operator++): add post-increment operator to
181         satisfy concept checks.
182
183         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
184         checks.
185
186         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
187
188         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
189         checks. Also rename base_type to BaseType to follow naming
190         standard better.
191
192         * FloatList.h: include Floating.h to satisfy concept checks.
193
194 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
195
196         * lyxfunc.C (getStatus): when the origin of the request is menu or
197         toolbar, and the LyXView does not have focus, do as if there was
198         no buffer (bug 1720)
199
200         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
201         FuncRequest to individual entries of LFUN_SEQUENCE
202
203 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
204
205         * output_latex.C (TeXOnePar): override runparams.moving_arg
206         according to the needprotect value of the current paragraph (bug
207         1739)
208
209         * paragraph.C (simpleTeXOnePar): no need to override
210         runparams.moving_args here
211
212 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
213
214         * vspace.C: fix off-by-one-error, related to fix #1682
215
216 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
217
218         * lengthcommon.C: a more general fix for bug 1682
219
220 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
221
222         * text.C (backspace): fix crash
223
224 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
225
226         * format.[Ch] (getFormatFromFile): new method
227         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
228
229 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
230
231         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
232
233 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
234
235         * lyxfunc.C (dispatch): remove the verbose argument
236         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
237         instead
238
239         * kbmap.C (defkey): set the origin of func to KEYBOARD
240
241         * MenuBackend.C (MenuItem):
242         * ToolbarBackend.C (add): set the origin of func to UI
243
244         * funcrequest.[Ch]: add origin member, which indicates which part
245         of LyX requests an action
246
247 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
248
249         * converter.C (move): don't lie in the error message
250         * converter.h (isReachable, move): document
251
252 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
253
254         * buffer.C: remove unused using lyx::support::atoi
255         * paragraph_funcs.C: ditto
256
257 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
258
259         * bufferlist.C (exists): use bind and equal_to instead of
260         compare_memfun
261         (getBuffer): ditto
262         * lyxtextclasslist.C (NumberOfClass): ditto
263
264         * cursor.C (insert): use for_each instead of explicit for loop
265
266         * bufferlist.C (getFileNames): use std::transform and
267         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
268
269         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
270         for loop
271
272         * buffer.C (changeLanguage): use for_each instead of explicit for
273         loop
274         (hasParWithID): implement using getParFromID
275
276         * LaTeXFeatures.C: ws change only
277
278         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
279         to cleanup a bit.
280
281         * BufferView_pimpl.C (trackChanges): use for_each instead of
282         expilicit for loop
283
284 2004-11-04  André Pönitz  <poenitz@gmx.net>
285
286         * undo.h:
287         * undo.C (textUndoOrRedo): fix crash when creating undo information.
288
289         * dociterator.C (asDocIterator): use hard assert again.
290
291 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
292
293         * lyxlength.C (asLatexString): rewrite so that it does not use
294         snprintf anymore
295
296 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
297
298         * text3.C (specialChar, dispatch): make sure cursor moves to the
299         right after inserting an inset
300
301 2004-11-02  José Matos  <jamatos@lyx.org>
302
303         * output_docbook.C (docbook):
304         * paragraph.C (getID):
305         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
306         garantee that the output is always legal.
307
308         * tabular.C (docbook):
309         * outputprams.[Ch]: remove mixed contents.
310
311 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
312
313         * text2.C (setCounter): prevent endless loop
314
315 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
316
317         * exporter.C (copyFile): use the mover instead of support::copy()
318         * exporter.C (Export): pass format and latex name to copyFile()
319         * exporter.h (addExternalFile): document
320         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
321
322 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
323
324         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
325
326 2004-10-30  José Matos  <jamatos@lyx.org>
327
328         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
329         text and no inset or font change. This allows to use CDATA
330         sections just for the whole paragraph.
331
332 2004-10-30  José Matos  <jamatos@lyx.org>
333
334         * paragraph.C (getFirstWord): remove unused variable.
335
336 2004-10-30  José Matos  <jamatos@lyx.org>
337
338         * paragraph.C (getFirstWord): the content should always be escaped
339         there.
340         (simpleDocBookOnePar):
341         * output_docbook.C (makeEnvironment): replace reference to CDATA
342         to style pass_thru.
343
344 2004-10-30  José Matos  <jamatos@lyx.org>
345
346         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
347
348 2004-10-30  José Matos  <jamatos@lyx.org>
349
350         * output_docbook.C (makeParagraphs):
351         * paragraph.[Ch] (emptyTag): for docbook and company, if the
352         standard paragraph has only a given type of content drop the wrapper.
353
354 2004-10-29  José Matos  <jamatos@lyx.org>
355
356         * output_docbook.C (makeEnvironment):
357         * sgml.C (openTag):
358         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
359
360 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
361
362         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
363         (cleanID): sanitize any id.
364
365 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
366
367         * buffer.C, lyxlex_pimpl.C:
368         * lyxlex_pimpl.C (setFile):
369         s/getExtFromContents/getFormatFromContents/
370
371 2004-10-28  José Matos  <jamatos@lyx.org>
372
373         * output_docbook.C (makeEnvironment): move id to broadest possible
374         scope.
375
376         * sgml.C (openTag): apply substitution of <> for all attributes.
377
378 2004-10-28  José Matos  <jamatos@lyx.org>
379
380         * buffer.C (makeLinuxDocFile, makeDocBookFile):
381         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
382         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
383
384         * sgml.[Ch]: new version for open and closeTag for paragraph and
385         for strings. Now they handle the ids of paragraphs.
386
387 2004-10-26  Angus Leeming  <leeming@lyx.org>
388
389         * Makefile.am: add mover.[Ch].
390
391         * converter.C (convert, move): use the new Movers to move external
392         files to the temp directory.
393
394         * lyx_main.C (init): ensure that the global system_movers data
395         is initialised.
396
397         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
398         preferences file.
399
400         * mover.[Ch]: new files, defining a Mover as a utility to move an
401         external file between directories and, if necessary, manipulate this
402         file using a helper script.
403
404 2004-10-25  José Matos  <jamatos@lyx.org>
405
406         * output_docbook.C (makeCommand): merge two if's that tested the
407         same condition.
408
409 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
410
411         * sgml.C (escapeString): fix warning in a better way
412
413 2004-10-25  José Matos  <jamatos@lyx.org>
414
415         * sgml.C (escapeString): import the require boosts header file for
416         tie, and avoid a signed unsigned comparison.
417
418 2004-10-25  José Matos  <jamatos@lyx.org>
419
420         * sgml.h: add #include <string>
421
422 2004-10-25  José Matos  <jamatos@lyx.org>
423
424         * sgml.[Ch] (escapeString): new function to escape all the string.
425
426 2004-10-24  José Matos  <jamatos@lyx.org>
427
428         * paragraph.[Ch] (getFirstWord): new function to get the first
429         word. Useful for description.
430         (simpleDocBookOnePar): remove depth argument, add another that
431         says where to start the paragraph.
432
433         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
434         use the new functions to fix cleanly the support for descriptions.
435
436 2004-10-24  José Matos  <jamatos@lyx.org>
437
438         * buffer.C (makeLinuxDocFile, makeDocBookFile):
439         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
440         * output_linuxdoc.C (linuxdocParagraphs):
441         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
442         add buffer as argument.
443
444 2004-10-24  José Matos  <jamatos@lyx.org>
445
446         * output_docbook.C (makeEnvironment, searchEnvironment): place
447         CDATA inside paragraphs and fix scope for listitems.
448
449 2004-10-24  José Matos  <jamatos@lyx.org>
450
451         * output_docbook.C: remove using statement for stack.
452
453 2004-10-23  José Matos  <jamatos@lyx.org>
454
455         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
456         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
457         docbook. The new scheme is recursive and makes use of iterators, the
458         same as latex export works.
459         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
460         directly with the paragraph contents. This code was moved up to
461         output_docbook.C (docbookParagraphs).
462         * sgml.C (openTag, closeTag): removed unneeded newlines.
463         (closeEnvTags) removed.
464
465 2004-10-23  André Pönitz  <poenitz@gmx.net>
466
467         * undo.C (textUndoOrRedo):
468         * dociterator.C (asDocIterator): work around crash
469
470         * cursor.C (getStatus): replace ASSERT by more verbose error message
471           and manual correction of the problem. Should increase stability
472           while providing more sensible information.
473
474 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
475
476         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
477
478         * bufferlist.C (previous, next): new methods
479
480         * lfuns.h:
481         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
482
483 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
484
485         * buffer.C (makeDocBookFile): add dsssl stylesheet control
486         entities to preamble.
487
488 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
489
490         * messages.C (Pimpl): strip off translation context information
491
492 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
493
494         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
495         the cursor is correct (bug 1694)
496
497 2004-10-13  José Matos  <jamatos@lyx.org>
498
499         * output_docbook.C (docbookParagraphs): fix closing tags in the
500         end of the document.
501
502 2004-10-09  José Matos  <jamatos@lyx.org>
503
504         * buffer.C: format up to 237.
505         * bufferparams.C (write): use tostr to convert booleans to strings.
506
507 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
508
509         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
510
511 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
512
513         * LaTeX.C: implement use of babel language in xindy.
514
515 2004-10-05  José Matos  <jamatos@lyx.org>
516
517         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
518         Add new translators to help reading and writing the lyx file.
519
520 2004-10-05  José Matos  <jamatos@lyx.org>
521
522         * ParagraphParameters.C (read):
523         * text.C (readParToken): replace nexToken by more appropriate lex
524         methods.
525
526 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
527
528         * LaTeX.C (runMakeIndex):
529         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
530         (usually 'makeindex') configurable.
531
532         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
533         with a variable rather than with a number.
534
535 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
536
537         * output_latex.C (TeXOnePar): make sure font setting is the first
538         thing that gets output (and the last at the end). Should fix bug
539         1404.
540
541 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
542
543         * pch.h: use proper signal include
544
545         * LaTeX.h: Use preferred calling of Boost.Signal
546         * buffer.h: ditto
547
548 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
549
550         * pch.h: dont include <boost/function/function0.hpp>
551
552         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
553
554         * paragraph_pimpl.h: remove usage of ShareContainer
555
556         * paragraph_pimpl.C: remove initialization of ShareContainer.
557
558 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
559
560         Fix bug #1666
561
562         * BufferView.C (putSelectionAt): change the semantics when
563         backwards == true: now, this just swaps cursor and anchor wrt the
564         forward case
565
566         * BufferView.h (putSelectionAt): add some documentation
567
568         * lyxfind.C (findBackwards): rewrite using while(). In particular,
569         make sure backwardChar is done at least once (to avoid getting
570         stuck)
571         (findNextChange): use putSelectionAt in the forward direction
572         (operator()): use Paragraph::isWord
573
574 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
575
576         * Spacing.C (set): c_str fix
577
578 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
579
580         * lyx_cb.C (Reconfigure): quote the name of configure script in
581         case it contains spaces
582
583 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
584
585         * client: new dir
586
587         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
588         (BOOST_LIBS): use top_buildir when looking for the file
589
590 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
591
592         * pch.h: do not use include boost/format.hpp, multiple symbols
593                 will result (gcc bug)
594
595
596 2004-08-23  José Matos  <jamatos@lyx.org>
597
598         * bufferparams.C (readToken): fix reading of the author field.
599
600 2004-08-20  José Matos  <jamatos@lyx.org>
601
602         * lyxrc.C: remove support/translator.h inclusion since it is not used.
603
604 2004-08-20  José Matos  <jamatos@lyx.org>
605
606         * lyxlex.[Ch] (findToken): remove function.
607
608         * ParagraphParameters.C (findToken):
609         * bufferparams.C (findToken): replace call for previous function
610         with local copy. This local function has one more argument, the
611         read string argument.
612
613 2004-08-16  José Matos  <jamatos@lyx.org>
614
615         * ParagraphParameters.C (write):
616         * Spacing.C (writeFile):
617         * bufferparams.C (writeLaTeX):
618         * lyx_cb.C (Reconfigure):
619         * paragraph.C (write):
620         * tabular.C (write): remove unnecessary space at end of line.
621
622
623 2004-08-16  José Matos  <jamatos@lyx.org>
624
625         * text.C (readParagraph): remove debug message.
626
627 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
628
629         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
630         crash
631
632         * output_plaintext.C (asciiParagraph): set depth correctly
633
634         * outputparams.h: add member depth
635
636         * paragraph_funcs.C (ownerPar): remove.
637
638         * text2.C (setCounter): remove first_pit; comment out some
639         non-working code that uses ownerPar
640
641         * BufferView.C (getParentLanguage): remove. Not used anymore, and
642         uses ownerPar
643
644 2004-08-16  José Matos  <jamatos@lyx.org>
645
646         * text.C (readParToken, readParagraph, read): report all unknown tokens.
647         For the same level of importance use the same chanel to report problems.
648         (read): add code to deal with \begin_body and \end_body.
649
650
651 2004-08-15  José Matos  <jamatos@lyx.org>
652
653         * lyxlex.C (getString): fix comment, buffer::readBody is now
654         buffer:readDocument.
655
656         * tex-strings.C (string_papersize): Default -> default,
657         Custom -> custom, for consistency with other options.
658
659 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
660
661         * pch.h: new file
662
663         * Makefile.am: support pch
664
665 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
666
667         * text.C (readParToken): remove the static LyXFont variable and
668         pass it as a parameter instead. This fixes a nasty bug where an
669         inset will be inserted with a bad font in some situations
670         (readParagraph): adapt
671
672         * text2.C (setCounter): reduce number of calls to pars_[pit]
673
674         * text.C (singleWidth): add an assert, fix a test
675
676         * rowpainter.C (paintText): reduce number of calls to singleWidth
677
678         * paragraph.C (isHfill):
679         (isNewline): ws only
680
681 2004-08-14  André Pönitz  <poenitz@gmx.net>
682
683         * text.C:
684         * text2.C:
685         * rowpainter.C:
686         * lyxtext.h (several functions): use a Paragraph & argument
687         instead of par_type
688
689 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
690
691         * metricsinfo.h: add a new field ltr_pos to PainterInfo
692
693         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
694
695         * text.C (singleWidth): remove useless test
696
697 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
698
699         * tabular.h: remove bogus comments
700
701         * tabular.C (getDescentOfRow):
702         (isPartOfMultiColumn): add assertions
703
704         * lyxlength.C (inPixels): remove #warning
705
706 2004-08-14  André Pönitz  <poenitz@gmx.net>
707
708         * paragraph.h: inline getChar()
709
710         * BufferView.h: remove unused declarations
711
712 2004-08-14  José Matos  <jamatos@lyx.org>
713
714         * Buffer.[Ch] (readDocument): new name for old readBody.
715         * Buffer.C: new file format, new keywords: \begin_document,
716         \begin_header, \begin_body, \end_body.
717
718         * bufferparams.C (readToken): replace all calls to lex.nextToken
719         by lex.next(). Do the same to eatLine except where really needed.
720
721         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
722         line when writing to the lyx file.
723
724         * output_plaintext.C (asciiParagraph): fix Bibliography style
725         handling.
726
727         * text.C (read): fix end of file handling.
728
729 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
730
731         * MenuBackend.C (Menu::operator[]): new method to access
732         individual menu items
733         (Menu::hasFunc): new method. search for an item that corresponds
734         to a given func
735         (MenuBackend::specialMenu): new method
736         (MenuBackend::expand): if a special menu has been set, skip
737         entries whose func() appears in this menu
738
739 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
740
741         * text3.C: use Debug::DEBUG a bit more
742
743         * text.C (leftMargin): try to simplify a tiny bit change var x to
744         l_margin. Dont output the wide margins always.
745         (rightMargin): no margin in inner texts
746
747         * rowpainter.h (nestMargin): new func
748         (changebarMargin): new func
749         (rightMargin): new func
750
751         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
752         now functions.
753         (paintLast): ditto
754
755         * factory.C (createInset): modify setDrawFrame
756
757         * cursor.C: use Debug::DEBUG a bit more
758
759 2004-08-14  André Pönitz  <poenitz@gmx.net>
760
761         * coordcache.[Ch]:
762         * Makefile.am: new files to accomodate an 'external' (x,y)-position
763         cache for all insets in (at least partially) visible (top-level)
764         paragraphs.
765
766         * BufferView_pimpl.C: reset external coord cache before every update.
767         This means the coord cache only contains valid entries.
768
769 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
770
771         bug 1096
772         * BufferView_pimpl.C (getInsetByCode): move function out of class
773         and change in to a template in anon namespace. Also fix to do what
774         suits us better.
775
776 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
777
778         bug 1305
779         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
780         of char
781         (breakParagraph): rename par to par_offset and use a local
782         reference. Add code to keep the language over a rebreak.
783         (breakParagraphConservative): rename par to par_offset, use a
784         local reference
785         (mergeParagraph): ditto
786         (outerHook): ditto
787         (isFirstInSequence): ditto
788         (outerFont): rename pit to par_offset
789
790         * paragraph.C: ws change
791         * paragraph.h: ditto
792         * text3.C: ditto
793         * text.C: ditto
794
795 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
796
797         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
798         treatment for ']'
799
800         * paragraph.C (simpleTeXOnePar): when we have a \item with
801         optional argument, enclose the argument with curly brackets (in
802         case it contains a closing square bracket)
803
804         * text2.C (editXY):
805         * text2.C (editXY):
806         * text3.C (checkInsetHit): constify
807
808 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
809
810         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
811         documents (bug 1629)
812
813 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
814
815         Fix toggling of collapsable insets with the mouse (bug 1558)
816
817         * lyxfunc.C (dispatch): adapt to LCursor changes
818
819         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
820         make sure that dispatch is not invoked twice
821
822         * cursor.C (needsUpdate): new method
823         (dispatch): return void
824         (result): new method, to access the DispatchResult of the cursor.
825
826 2004-08-13  José Matos  <jamatos@lyx.org>
827
828         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
829
830 2004-08-13  André Pönitz  <poenitz@gmx.net>
831
832         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
833
834         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
835           multiple cells
836
837 2004-08-12  André Pönitz  <poenitz@gmx.net>
838
839         * text3.C: take out the 'cursor right' form insertInset and only
840         do it in those places when it is really needed. Fixes crash on
841         C-m...
842
843 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
844
845         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
846
847         * BufferView_pimpl.C (setBuffer): initialize the current font of
848         the underlying LyXText
849
850 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
851
852         * kbsequence.C (print): use UI native formatting for menu
853         shortcuts
854
855         * text.C (insertChar): call Paragraph::insertChar with a font
856         argument (cosmetic)
857
858         * paragraph.C (insertInset, insertChar): the version that takes a
859         LyXFont argument is now a wrapper around the other one (the
860         opposite used to be true).
861
862         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
863         argument. Font setting is done in Paragraph now.
864
865 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
866
867         * outputparams.h: add new members intitle and lang.
868
869         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
870         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
871
872 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
873
874         * text3.C (dispatch): remove special handling of button 4 and 5,
875         it is now taken care of in the frontend code.
876
877 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
878
879         * Spacing.h: add <string> (STLPort compile fix)
880
881 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
882
883         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
884
885 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
886
887         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
888         to bool.
889
890         * converter.C (showMessage): inherit from unary_function, make
891         operator() const.
892
893         * buffer.C (writeFile): initialize retval
894
895         * InsetList.h: rename private variable list to list_
896         * InsetList.[Ch]: adjust accordingly.
897
898 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
899
900         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
901         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
902         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
903         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
904         * ParagraphParameters.C, LaTeXFeatures.C: replace
905         "support/std_sstream.h" with <sstream>
906
907 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
908
909         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
910         * lyxsocket.C (LyXServerSocket): ditto
911         (serverCallback): ditto
912
913 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
914
915         * LaTeXFeatures.C: check release date when loading jurabib.
916
917 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
918
919         * lyxserver.C (startPipe): call register_socket_callback
920         (endPipe): call unregister_socket_callback
921
922 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
923
924         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
925         (LyXServerSocket): register the callback
926         (LyXServerSocket): unregister the callback
927         (fd): delete function
928         (serverCallback): improve error checking and setup the callbacks.
929         (dataCallback): change arg to fd.
930         (writeln): new func (copied fro the client socket) used for server
931         write to client.
932         (LyXDataSocket): simplify
933         (~LyXDataSocket): close ann unregiser callback
934         (server): delete function
935         (fd): delete function
936         (readln): small changes, improve some std::string usage
937         (writeln): constify a bit
938
939 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
940
941         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
942         Qt frontend
943
944 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
945
946         * BufferView_pimpl.C (setBuffer): set the layout combox value only
947         after it has been populated
948
949 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
950
951         * text2.C (insertInset): move cursor when inserting inset.
952
953 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
954
955         * kbmap.C (findbindings): a couple of new methods. returns a
956         container of kb_sequence objects. The real work is done by the
957         private recursive version
958         (printbindings): uses findbindings to print out a bracketed list
959         of bindings (renamed from findbinding).
960
961         * MenuBackend.C (binding): use kb_keymap::findbindings
962
963         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
964
965 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
966
967         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
968
969 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
970
971         * paragraph.C (isWord): return true on insets that report
972         isLetter().
973
974         * text.C (getWord): use Paragraph::isWord to decide what is in a
975         word and what is not; fix bug 1609.
976
977 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
978
979         * tex-strings.C: add "none" to string_paperpackages[], fixes
980         off-by-one-error in the paperpackage selection.
981
982         * lyxlex.[Ch]:
983         * tex-strings.[Ch]: char const * string[n]
984         -> char const * const string[]
985
986 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
987
988         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
989         command, return early.
990
991 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
992
993         * debug.h: add DEBUG to enum and fix size of ANY.
994
995         * debug.C: add support for Debug::DEBUG
996         (showTags): cast errorTags.level to unsigned int
997
998         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
999         (redoCurrentBuffer): ditto
1000         (updateScrollbar): ditto
1001         * cursor.C (dispatch): ditto
1002         * text2.C (setLayout): ditto
1003         (setFont): ditto
1004         (updateCounters): ditto
1005         (editXY): ditto
1006         (deleteEmptyParagraphMechanism): ditto
1007
1008 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
1009
1010         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1011         annotations to cleanup the Makefile slightly.
1012
1013 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1014
1015         * lyxrc.C: do not set user_email to a default value but use empty
1016         instead. The entry used to be translated, which does not work
1017         since at the point where lyxrc is constructed there is no
1018         translation service available
1019
1020         * messages.C (getLocaleDir): remove and use directly
1021         lyx_localedir() instead
1022
1023 2004-06-02  Angus Leeming  <leeming@lyx.org>
1024
1025         Fix crash caused by dereferencing null pointer 'exportdata' in
1026         OutputParams by creating a new ExportData variable on the heap,
1027         storing it in a boost::shared_ptr.
1028         The crash was triggered when generating an Instant Preview
1029         of an external inset.
1030
1031         * Makefile.am: add outputparams.C
1032
1033         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1034         (c-tor): allocate memory to it.
1035
1036         * exporter.C (c-tor): associated changes.
1037
1038 2004-06-01  Angus Leeming  <leeming@lyx.org>
1039
1040         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1041         contains data before calling isInset(0). (Bug 1513.)
1042
1043 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1044
1045         * exporter.C (checkOverwrite): new method
1046         * exporter.C (copyFile): new method
1047         * exporter.C (Export): copy referenced files to the document dir
1048         * exporter.[Ch]: new class ExportedFile
1049         * exporter.[Ch]: new class ExportData. Contains currently the
1050         names of referenced external files
1051         * outputparams.h: add exportdata member.
1052
1053 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1054
1055         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1056         version.C-tmp
1057
1058 2004-05-19  Angus Leeming  <leeming@lyx.org>
1059
1060         * LaTeXFeatures.C:
1061         * ToolbarBackend.C:
1062         * bufferparams.C:
1063         * lyxfunc.C: small changes due to the introduction of namespace
1064         lyx::frontend and the moving of namespace biblio to lyx::biblio.
1065
1066 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
1067
1068         * text3.C (dispatch): supress update when only moving the cursor
1069         * cursor.C (selHandle): remove commented code
1070
1071 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1072
1073         * paragraph.C (startTeXParParams): correct column count
1074         * CutAndPaste.C (pasteSelection): remove const_cast
1075         * output_docbook.C (docbookParagraphs): remove const_cast
1076         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1077         const_cast and return ParagraphList::const_iterator
1078         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1079         * output_plaintext.C (writeFileAscii): remove const_cast
1080         * paragraph.[Ch] (simpleTeXOnePar): make const
1081         * paragraph_funcs.C (outerPar): use const iterators
1082         * paragraph_pimpl.C (validate): use const iterators
1083         * text.C (setHeightOfRow): use const iterators
1084
1085 2004-05-17  Angus Leeming  <leeming@lyx.org>
1086
1087         * lfuns.h:
1088         * LyXAction.C (init): new LFUN_INSET_REFRESH.
1089
1090         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1091         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1092         if the citation engine has changed.
1093
1094 2004-05-14  José Matos  <jamatos@lyx.org>
1095
1096         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1097         if the textclass does not provide it. Have it different for sgml and
1098         xml.
1099         support the language of document.
1100         * output_docbook.C (docbookParagraphs):
1101         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1102         first anchor as the id of the paragraph, remove special case code.
1103         * sgml.C (escapeChar): escape only < & >.
1104
1105 2004-05-14  Angus Leeming  <leeming@lyx.org>
1106
1107         * bufferparams.h: move biblio::CiteEngine enum here to minimize
1108         dependencies on src/frontends/controllers/biblio.h. Define a
1109         CiteEngine_enum wrapper class to enable the enum to be forward
1110         declared.
1111
1112 2004-05-12  Angus Leeming  <leeming@lyx.org>
1113
1114         * buffer.C: up LYX_FORMAT to 234.
1115         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1116         use_numerical_citations with a single biblio::CiteEngine cite_engine
1117         variable.
1118         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1119
1120 2004-05-13  José Matos  <jamatos@lyx.org>
1121
1122         * converter.h:
1123         * converter.C (Converter, readFlags): add xml member.
1124         * outputparams.h: add XML flavor.
1125         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1126
1127 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1128
1129         * lyxfunc.C (dispatch):
1130         (getStatus): fix handling of LFUN_SEQUENCE
1131
1132 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1133
1134         * debug.C (showLevel): do not forget the end-of-line marker
1135
1136 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1137
1138         * kbmap.C (read): do not stop parsing a bind file when an error
1139         occurs (bug 1575)
1140
1141 2004-04-29  Angus Leeming  <leeming@lyx.org>
1142
1143         * cursor.C:
1144         * factory.C:
1145         * pariterator.C:
1146         * text2.C: wrap a bunch of #warning statements
1147         inside #ifdef WITH_WARNINGS blocks.
1148
1149 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1150
1151         * buffer.C: increment format to 233.
1152
1153 2004-04-28  Angus Leeming  <leeming@lyx.org>
1154
1155         * BufferView_pimpl.C:
1156         * lyxfunc.C:
1157         * text3.C:
1158         s/updateToolbar()/updateToolbars()/
1159         s/Toolbar.h/Toolbars.h/
1160
1161 2004-04-28  Angus Leeming  <leeming@lyx.org>
1162
1163         * BufferView.[Ch] (c-tor):
1164         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1165         No longer passes these data to the WorkArea generator.
1166
1167 2004-04-28  Angus Leeming  <leeming@lyx.org>
1168
1169         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1170
1171 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1172
1173         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1174
1175 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1176
1177         * output_latex.C (TeXEnvironment): make sure that there is a line
1178         break before \end{foo} for the last paragraph of a document
1179         (TeXOnePar): if the paragraph is at the end of the document (or
1180         inset) and the language has to be reset, then make sure that the
1181         line break is _before_ the language command, not after (fixes bug
1182         1225); also make sure that the language reset command is the first
1183         thing after the paragraph (to ensure proper nesting of
1184         environments and thus fix bug 1404)
1185
1186 2004-04-21  John Levon  <levon@movementarian.org>
1187
1188         * ToolbarBackend.h:
1189         * ToolbarBackend.C: make "name" be a programmatic name
1190         and a gui_name field.
1191
1192         * lyxfunc.C: display the minibuffer on M-x
1193
1194 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1195
1196         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1197         (bug 1526)
1198
1199 2004-04-19  Angus Leeming  <leeming@lyx.org>
1200
1201         * BufferView_pimpl.C (setBuffer): changed preview interface.
1202
1203         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1204         possible values.
1205
1206 2004-04-19  John Levon  <levon@movementarian.org>
1207
1208         * BufferView_pimpl.C:
1209         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1210
1211 2004-04-05  Angus Leeming  <leeming@lyx.org>
1212
1213         * text.C (redoParagraphs): add call to updateCounters(), thereby
1214         fixing the missing "Figure #:" label from the caption of a
1215         figure float.
1216
1217 2004-04-13  Angus Leeming  <leeming@lyx.org>
1218
1219         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1220         cursor is clicked out of an inset.
1221
1222 2004-04-13  Angus Leeming  <leeming@lyx.org>
1223
1224         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1225         than an InsetOld one.
1226
1227 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1228
1229         * format.[Ch]: add editor to Format
1230         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1231         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1232
1233 2004-04-08  André Pönitz  <poenitz@gmx.net>
1234
1235         * metricsinfo.h: remove PainterInfo::width member
1236
1237 2004-04-08  Angus Leeming  <leeming@lyx.org>
1238
1239         * lyx_sty.C (boldsymbol_def): modify so that it outputs
1240         "\providecommand" rather than "\newcommand", thereby preventing
1241         clashes with packages that define "\boldsymbol" themselves.
1242         Eg, beamer.
1243
1244 2004-04-08  Angus Leeming  <leeming@lyx.org>
1245
1246         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1247         thereby squashing an unnecessary warning.
1248
1249 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1250
1251         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1252         setBuffer()
1253
1254 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
1255
1256         * BufferView.C (setCursor): call redoParagraph (some insets could
1257         have been opened)
1258         (putSelectionAt): remove the 'double update' trick
1259
1260         * BufferView_pimpl.C (fitCursor): call refreshPar
1261         (workAreaDispatch): remove an uneeded update call
1262         (dispatch): remove some manual update calls
1263
1264         * cursor.[Ch]: remove cached_y_, updatePos
1265         (selHandle): set noUpdate when appropriate
1266
1267         * lyxfunc.C (dispatch): track if we need an update
1268
1269         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1270
1271         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1272         (paintSelection): cheap optimization, do not call cursorX when not
1273         needed
1274         (paintPars): change signature
1275         (refreshPar): add
1276         (paintText): adjust
1277         (paintTextInset): adjust
1278
1279         * text.C: adjust
1280
1281 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1282
1283         * lengthcommon.C: compilation fix: remove explicit array size from
1284         unit_name[] and friends
1285
1286 2004-04-05  Angus Leeming  <leeming@lyx.org>
1287
1288         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1289
1290         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1291         present only for the preferences dialog.
1292         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1293
1294 2004-04-05  Angus Leeming  <leeming@lyx.org>
1295
1296         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1297         to enable the frontends to export changes to lyxrc correctly.
1298
1299         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1300
1301 2004-04-07  André Pönitz  <poenitz@gmx.net>
1302
1303         * cursor.[Ch] (selClear, adjust): remove math
1304
1305         * cursor_slice.C: more agressive assert
1306
1307         * lyxfunc.C:
1308         * BufferView_pimpl.C: rework mouse event dispatch
1309
1310         * dociterator.C:
1311         * paragraph.C:
1312         * text2.C:
1313         * text3.C: adjust
1314
1315 2004-04-05  André Pönitz  <poenitz@gmx.net>
1316
1317         * cursor.[Ch] (valign, halign...): remove unneeded functions
1318
1319 2004-04-05  Angus Leeming  <leeming@lyx.org>
1320
1321         * lyxlength.[Ch] (unit_name et al.): const-correct.
1322
1323 2004-04-05  Angus Leeming  <leeming@lyx.org>
1324
1325         * BufferView_pimpl.C:
1326         * buffer.C:
1327         * counters.C:
1328         * cursor.C:
1329         * lyxfunc.C
1330         * paragraph.C:
1331         * pariterator.C:
1332         * text.C:
1333         * text2.C:
1334         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1335
1336 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1337
1338         * text3.C (getStatus): add LFUN_BEGINNINGBUF
1339
1340 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1341
1342         * lyxfind.C: add a couple of inTexted() tests + other small fixes
1343         * BufferView_pimpl.[Ch] (getStatus)
1344         * BufferView.[Ch] (getStatus): add
1345         * lyxfunc.C (getStatus): move lfuns handled in
1346         BufferView::dispatch to te function above
1347         * Cursor.C (setSelection): set selection() = true
1348
1349 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1350
1351         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1352
1353 2004-03-31  Angus Leeming  <leeming@lyx.org>
1354
1355         * lyxfunc.C (dispatch): Fall through to the generic
1356         Dialogs::show("preamble").
1357
1358 2004-03-31  Angus Leeming  <leeming@lyx.org>
1359
1360         * lyxfunc.C (dispatch): Fall through to the generic
1361         Dialogs::show("spellchecker").
1362
1363 2004-03-31  Angus Leeming  <leeming@lyx.org>
1364
1365         * lyxfunc.C (getStatus, dispatch): changed invocation of the
1366         preferences dialog.
1367
1368 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1369
1370         * BufferView.C
1371         * cursor.[Ch]
1372         * dociterator.[Ch]:
1373         * insetiterator.[Ch]:
1374         * lyxfind.C:
1375         * lyxfunc.C:
1376         * pariterator.[Ch]:
1377         * text2.C:
1378         * undo.[Ch]: s/DocumentIterator/DocIterator/g
1379
1380 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1381
1382         * BufferView.C (setCursor, putSelectionAt): call edit to open the
1383         insets where we are putting the cursor.
1384
1385 2004-03-31  Angus Leeming  <leeming@lyx.org>
1386
1387         * lfuns.h:
1388         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1389
1390         * lyxrc.[Ch] (read, write): overloaded member functions taking
1391         a std::[io]stream arguments.
1392
1393         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1394
1395 2004-03-31  Angus Leeming  <leeming@lyx.org>
1396
1397         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1398         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1399
1400         * lyxtextclass.C (load): if the text class couldn't be loaded, then
1401         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1402
1403 2004-03-31  Angus Leeming  <leeming@lyx.org>
1404
1405         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1406         the LFUN_ALL_INSETS_TOGGLE code.
1407
1408 2004-03-30  Angus Leeming  <leeming@lyx.org>
1409
1410         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1411         has died. Fall through to the generic Dialogs::show("document").
1412
1413 2004-03-30  Angus Leeming  <leeming@lyx.org>
1414
1415         * lfuns.h:
1416         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1417         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1418
1419         * lyxfunc.C (getStatus, dispatch): define the actions for these
1420         lfuns. Little more than a cut and pste job from ControlDocument.C
1421
1422         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1423
1424 2004-03-30  Angus Leeming  <leeming@lyx.org>
1425
1426         * lfuns.h:
1427         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1428         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1429
1430         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1431         open/closed state of ollapsable insets. Usage:
1432
1433         all-inset-toggle <state> <name>, where
1434         <state> == "open" || "closed" || "toggle" and
1435         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1436
1437         * lyxtext.h, text2.C (toggleInset): removed.
1438
1439         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1440         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1441         now passes LFUN_INSET_TOGGLE to the found inset.
1442
1443         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1444         is now invoked as "all-insets-toggle toggle branch".
1445
1446 2004-03-30  Angus Leeming  <leeming@lyx.org>
1447
1448         * dociterator.C:
1449         * insetiterator.C:
1450         * pariterator.[Ch]: added/corrected header blurb.
1451
1452 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
1453
1454         * dociterator.[Ch]: add an inset_ member
1455         (backwardPos): implemented
1456         (backwardPos, forwardPos): use inset_ when the stack is empty.
1457         (doc_iterator_begin, doc_iterator_end): implemented
1458         * pariterator.[Ch]: adjust, add begin, end
1459         * insetiterator.[Ch]: adjust, add begin, end
1460         * cursor.C:
1461         * document.C:
1462         * BufferView.C:
1463         * BufferView_pimpl.C:
1464         * CutAndPaste.C: adjust
1465
1466 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1467
1468         * buffer.C: increment file format to 232.
1469         * LaTeXFeatures.C: add bibtopic package.
1470         * bufferparams.[Ch]: param \use_bibtopic.
1471
1472         * lyxrc.[Ch]: add lyxrc bibtex_command
1473         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1474
1475         * buffer.C: increment file format to 231.
1476
1477 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1478
1479         * dociterator.C: implement forwardPar
1480         * iterators.[Ch]: remove, replaced by
1481         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1482         * BufferView.C:
1483         * BufferView_pimpl.C:
1484         * CutAndPaste.C:
1485         * buffer.C:
1486         * bufferview_funcs.C:
1487         * cursor.C:
1488         * lyxfind.C
1489         * lyxfunc.C
1490         * paragraph_funcs.C
1491         * toc.C:
1492         * Makefile.am: adjust
1493
1494 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1495
1496         * CutAndPaste.C (pasteSelection): fix 2 crashes
1497         (eraseSelection): fix a crash
1498         * paragraph_funcs.C: remove a warning
1499
1500 2004-03-28  Angus Leeming  <leeming@lyx.org>
1501
1502         * lfuns.h:
1503         * LyXAction.C (init): new LFUN_PRINT.
1504
1505         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1506
1507 2004-03-27  Angus Leeming  <leeming@lyx.org>
1508
1509         * lfuns.h:
1510         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1511
1512         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1513
1514 2004-03-27  Angus Leeming  <leeming@lyx.org>
1515
1516         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1517         insetlist always contains non-null pointers to insets.
1518
1519 2004-03-26  Angus Leeming  <leeming@lyx.org>
1520
1521         * src/BufferView_pimpl.C:
1522         * src/CutAndPaste.C:
1523         * src/buffer.C:
1524         * src/iterators.C:
1525         * src/output_plaintext.C:
1526         * src/outputparams.h:
1527         * src/paragraph_funcs.C:
1528         * src/rowpainter.C:
1529         * src/text.C:
1530         * src/text2.C:
1531         * src/frontends/controllers/ControlErrorList.C:
1532         * src/frontends/gtk/FileDialogPrivate.C:
1533         * src/frontends/gtk/GPainter.C:
1534         * src/frontends/gtk/GToolbar.C:
1535         * src/frontends/qt2/QRef.C:
1536         * src/mathed/math_scriptinset.C: squash compiler warnings.
1537
1538 2004-03-26  Angus Leeming  <leeming@lyx.org>
1539
1540         * ispell.C (LaunchIspell::start):
1541         * lyx_cb.C (AutoSaveBuffer::start):
1542         invoke run(DontWait) rather than runNonBlocking().
1543
1544 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
1545
1546         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1547
1548 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1549
1550         * kbsequence.C (print): adjust
1551
1552         * kbmap.C (printKeySym): rename and change signature
1553         (printKey): use LyXKeySym::print()
1554
1555 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
1556
1557         * undo.C: add using std::advance to compile for stlport
1558
1559 2004-03-24  Angus Leeming  <leeming@lyx.org>
1560
1561         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1562         it leads to a crash when no buffer is present.
1563
1564 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1565             Martin Vermeer  <martin.vermeer@hut.fi>
1566
1567         * lyxfunc.C (dispatch):
1568         * bufferparams.C (readToken): use the new LColor::setColor
1569
1570         * LColor.[Ch] (setColor): new version that takes two strings as
1571         argument and creates a new color entry if necessary
1572
1573 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1574
1575         * buffer.C (makeLaTeXFile): if the main latex file that is
1576         processed is usually a subdocument of some master, then pretend
1577         for a while that it is actually the master
1578
1579 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1580
1581         * buffer.C (getLabelList):
1582         (getBibkeyList): use getMasterBuffer()
1583         (getMasterBuffer): new method. Returns the main document in the
1584         case where one is using included documents.
1585
1586 2004-03-25  André Pönitz  <poenitz@gmx.net>
1587
1588         * Makefile.am:
1589         * iterators.[Ch]:
1590         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1591
1592         * ParagraphList_fwd.h: change ParagraphList to a std::vector
1593
1594         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1595         text*.C over here. Rename namespace CutAndPaste to lyx::cap
1596
1597         * ParameterStruct.h: merge with ParagraphParameters
1598
1599         * lyxtext.h: remove LyXText::parOffset() and getPar()
1600
1601         * text3.C: Remove all 'manual' update calls. We do now one per user
1602         interaction which is completely sufficient.
1603
1604         * Bidi.C:
1605         * BufferView.[Ch]:
1606         * BufferView_pimpl.C:
1607         * FontIterator.[Ch]:
1608         * MenuBackend.C:
1609         * ParagraphParameters.[Ch]:
1610         * buffer.C:
1611         * buffer.h:
1612         * bufferlist.C:
1613         * cursor.[Ch]:
1614         * cursor_slice.[Ch]:
1615         * dociterator.[Ch]:
1616         * errorlist.[Ch]:
1617         * factory.C:
1618         * lfuns.h:
1619         * lyxfind.C:
1620         * lyxfunc.C:
1621         * output_docbook.[Ch]:
1622         * output_latex.[Ch]:
1623         * output_linuxdoc.[Ch]:
1624         * output_plaintext.[Ch]:
1625         * paragraph.[Ch]:
1626         * paragraph_funcs.[Ch]:
1627         * paragraph_pimpl.[Ch]:
1628         * rowpainter.C:
1629         * tabular.[Ch]:
1630         * text.C:
1631         * text2.C:
1632         * toc.C:
1633         * undo.[Ch]: adjust
1634
1635         * frontends/controllers/ControlDocument.C:
1636         * frontends/controllers/ControlErrorList.C:
1637         * frontends/controllers/ControlSpellchecker.C:
1638         * insets/inset.C:
1639         * insets/inset.h:
1640         * insets/insetbase.h:
1641         * insets/insetbibitem.C:
1642         * insets/insetbox.C:
1643         * insets/insetbranch.C:
1644         * insets/insetcaption.C:
1645         * insets/insetcharstyle.C:
1646         * insets/insetcharstyle.h:
1647         * insets/insetcollapsable.C:
1648         * insets/insetcollapsable.h:
1649         * insets/insetert.C:
1650         * insets/insetfloat.C:
1651         * insets/insetfoot.C:
1652         * insets/insetmarginal.C:
1653         * insets/insetnote.C:
1654         * insets/insetoptarg.C:
1655         * insets/insettabular.C:
1656         * insets/insettext.C:
1657         * insets/insettext.h:
1658         * insets/insetwrap.C:
1659         * mathed/math_mboxinset.C:
1660         * mathed/math_nestinset.C:
1661         * mathed/math_scriptinset.C:
1662         * mathed/math_scriptinset.h:
1663         * support/types.h:
1664
1665 2004-03-24  Angus Leeming  <leeming@lyx.org>
1666
1667         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1668         deal with any child processes that have finished but are waiting to
1669         communicate this fact to the rest of LyX.
1670
1671 2004-03-24  Angus Leeming  <leeming@lyx.org>
1672
1673         64-bit compile fixes.
1674
1675         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1676         (c-tor): pass lyx::pos_types rather than ints.
1677
1678         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1679         lyx::pos_type.
1680
1681         * text.C (Delete): compile fix.
1682         (getPar): ensure that function declaration is the same as that in
1683         the header file.
1684
1685 2004-03-23  Angus Leeming  <leeming@lyx.org>
1686
1687         * ispell.C (LaunchIspell):
1688         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1689         a boost::shred_ptr rather than a std::auto_ptr.
1690
1691 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1692
1693         * lyxfunc.C (getStatus): handle read-only buffers correctly;
1694         handle LFUN_FILE_INSERT_*
1695
1696         * lyxrc.C (setDefaults, getDescription, output, read):
1697         * lyxrc.h: remove ps_command
1698
1699 2004-03-22  Angus Leeming  <leeming@lyx.org>
1700
1701         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1702         Ensure that error_handler is processed once only and that all data
1703         is saved before attempting to output any warning messages.
1704
1705         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1706
1707 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
1708
1709         * tabular.C (TeXRow): crash fix (from Kayvan and André)
1710
1711 2004-03-19  André Pönitz  <poenitz@gmx.net>
1712
1713         * cursor.[Ch] (reset): take main text inset as argument
1714
1715         * BufferView: adjust
1716         * BufferView_pimpl.C: adjust
1717
1718         * paragraph.[Ch]: fix completely broken operator=()
1719
1720 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1721
1722         * LColor.C (getFromLyXName): make sure that the color name is used
1723         as lowercase.
1724
1725 2004-03-17  Angus Leeming  <leeming@lyx.org>
1726
1727         * lfuns.h:
1728         * LyXAction.C (init): remove LFUN_FORKS_KILL.
1729
1730         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1731         dialog and to kill a forked process.
1732
1733 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1734
1735         * text2.C (setCursorFromCoordinates): fix font problem
1736
1737 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1738
1739         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1740         bogus "rebuild cursor" code
1741
1742 2004-03-11  André Pönitz  <poenitz@gmx.net>
1743
1744         * buffer.[Ch]: use InsetText instead of LyXText as container for
1745         the main lyx text.
1746
1747         * dociterator.[Ch]: drop the BufferView * member which is not needed
1748         anymore after the change to buffer.C
1749
1750         * paragraph_funcs.C:
1751         * text.C:
1752         * text2.C:
1753         * BufferView.[Ch]:
1754         * BufferView_pimpl.[Ch]:
1755         * cursor.[Ch]:
1756         * cursor_slice.[Ch]: adjust
1757
1758         * text3.C: fix bug in mathDispatch
1759
1760 2004-03-08  André Pönitz  <poenitz@gmx.net>
1761
1762         * undo.[Ch]: use 'StableDocumentIterator' as base for
1763         the Undo struct.
1764
1765 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1766
1767         * LaTeXFeatures.C:
1768         * bufferparams.[Ch]: add jurabib support and param.
1769
1770         * LaTeX.C: add FIXME/comment.
1771
1772 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1773
1774         * buffer.C: increment file format to 230.
1775
1776 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
1777
1778         * cursor.C (dispatch): avoid infinite loops
1779
1780 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1781
1782         * rowpainter.C (paintSelection): fix x coordinates
1783
1784 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1785
1786         * text.C (rowBreakPoint): fix breaking before displayed insets
1787
1788 2004-03-01  André Pönitz  <poenitz@gmx.net>
1789
1790         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1791
1792         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1793
1794         * Makefile.am:
1795         * BufferView.C:
1796         * BufferView_pimpl.C:
1797         * buffer.C:
1798         * lyxfind.C:
1799         * lyxfunc.C:
1800         * text.C:
1801         * text2.C:
1802         * text3.C: adjust
1803
1804 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1805
1806         * lyxtext.h:
1807         * text.C:
1808         * text2.C:
1809         * rowpainter.C:
1810         * BufferView_pimpl.C: rename textwidth -> maxwidth,
1811         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1812
1813 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1814
1815         * Bidi.[Ch] (computeTables): const correctness
1816         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1817         fill_hfill, fill_label_hfill and x from Row
1818         * lyxtext.h: prepareToPrint returns a RowMetrics
1819         * rowPainter.C: adjust
1820         * text.C (prepareToPrint): use width, not textWidth. adjust
1821         (redoParagraphInternal, cursorX): adjust
1822         * text2.C (getColumnNearX): adjust
1823         (init): put a default value to the top LyXText::width
1824
1825 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1826
1827         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1828
1829 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1830
1831         * lyxtext.h: add FontIterator class
1832
1833         * text.C (FontIterator, operator*, operator->, operator++): add
1834         (rowBreakPoint, setRowWidth): adjust (fixing a
1835         rebreaking bug)
1836
1837 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1838
1839         * BufferView_pimpl.C (workAreaDispatch): allow also
1840         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1841
1842 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
1843
1844         * text.C (rowBreakPoint): fix a bug showing with very large insets
1845
1846 2004-02-25  André Pönitz  <poenitz@gmx.net>
1847
1848         * text3.C:
1849         * cursor.[Ch]: move some mathed specific code to mathed
1850
1851 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1852
1853         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1854         use_tempdir in preferences
1855         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1856         tempfile creation
1857         * lyx_main.C: ensure that tempdir is valid
1858         * lyxlex.h: correct typo
1859         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1860         * paragraph.[Ch] (isMultiLingual): make const
1861         * cursor.[Ch] (openable): make const
1862
1863 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1864
1865         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1866
1867 2004-02-20  André Pönitz  <poenitz@gmx.net>
1868
1869         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1870
1871         * cursor.[Ch]: prepare for localized getStatus()
1872
1873         * lyxtext.h:
1874         * tabular.C:
1875         * text.C:
1876         * text2.C:
1877         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
1878
1879 2004-02-20  André Pönitz  <poenitz@gmx.net>
1880
1881         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1882
1883 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1884
1885         * text2.C (setCursorFromCoordinates): switch to absolute coords
1886         (cursorUp): adjust
1887         (cursorDown): adjust
1888         * text3.C (dispatch): adjust
1889
1890 2004-02-16  André Pönitz  <poenitz@gmx.net>
1891
1892         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1893           insets/ChangeLog)
1894
1895         * cursor_slice.[Ch]: remove unneeded acessor function
1896
1897         * lyxtext.h: rename rtl() to isRTL()
1898
1899         * rowpainter.C:
1900         * tabular.C:
1901         * text.C:
1902         * text2.C:
1903         * text3.C: adjust
1904
1905 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1906
1907         * rowpainter.C (paintSelection): coord fix
1908
1909 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
1910
1911         * Spacing.C: compile fix
1912
1913 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1914
1915         * cursor.C (dispatch): restore current_ before returning
1916
1917 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1918
1919         * text2.C (cursorUp, cursorDown): fix coords
1920         (moveUp): fix crash
1921
1922 2004-02-12  André Pönitz  <poenitz@gmx.net>
1923
1924         * lyxtext.h:
1925         * text.C:
1926         * text2.C:
1927         * text3.C: add LCursor & parameter to most cursor movement functions
1928           remove usage of LyXText::cursorRow() and cursorPar()
1929
1930         * cursor.[Ch]: add textRow() needed members
1931
1932         * BufferView.C:
1933         * BufferView_pimpl.C:
1934         * paragraph.[Ch]:
1935         * BufferView.C:
1936         * BufferView_pimpl.C: adjust
1937
1938 2004-02-11  André Pönitz  <poenitz@gmx.net>
1939
1940         * lyxfunc.C:
1941         * BufferView.[Ch]:
1942         * BufferView_pimpl.C: shift undo/redo handling
1943
1944         * cursor.[Ch]: fix mathed crash
1945
1946         * lyxfind.C:
1947         * lyxtext.h: move selectionAsText to LCursor
1948
1949         * output_latex.C:
1950         * paragraph.C:
1951         * text.C:
1952         * text2.C:
1953         * text3.C: adjust
1954
1955         * rowpainter.C: fix excessive drawing
1956
1957 2004-02-06  André Pönitz  <poenitz@gmx.net>
1958
1959         * BufferView.[Ch]:
1960         * BufferView_pimpl.[Ch]:
1961         * text3.C: move some text specific LFUN handling
1962
1963 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
1964
1965         * text3.C (checkInsetHit): adjust coords
1966         * text2.C (getColumnNearX): adjust coords
1967         (edit): adjust coords
1968         * text.C (getRowNearY): add two asserts
1969
1970 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
1971
1972         * converter.C:
1973         * format.C: add using std::distance to compile on gcc 2.95/stlport
1974
1975 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
1976
1977         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1978
1979 2004-02-04  André Pönitz  <poenitz@gmx.net>
1980
1981         * BufferView.[Ch] (insertInset):
1982         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1983
1984         * text2.C:
1985         * text3.C: adjust
1986
1987 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1988
1989         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1990         on the default clause of the switch
1991         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1992         wasn't catched by LCursor::dispatch
1993
1994 2004-02-03  André Pönitz  <poenitz@gmx.net>
1995
1996         * BufferView.C:
1997         * cursor.[Ch]: some additional asserts
1998
1999         * undo.[Ch]: remove LyXText dependency in interface
2000
2001         * lyxfunc.C: adjust
2002
2003         * lyxtext.h (firstPar, lastPar): remove dead functions
2004
2005         * text.C:
2006         * text2.C:
2007         * text3.C:
2008         * paragraph.[Ch]: adjust
2009
2010 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2011
2012         * lyxfind.C (find): fix argument order in call to ::find
2013
2014 2004-02-02  André Pönitz  <poenitz@gmx.net>
2015
2016         * cursor.[Ch]: remove direct access to anchor
2017
2018         * text.C: remove findText() hack
2019
2020 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2021
2022         * iterators.[Ch] (lockPath): remove in favour of...
2023         * BufferView.[Ch] (setCursor): this addition
2024         * BufferView.C (putSelectionAt): adjust
2025         * undo.C (performUndoOrRedo): adjust
2026         * lyxfunc.C (dispatch): adjust
2027
2028 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2029
2030         * iterators.C (lockPath): add a missing slice
2031         * undo.C (performUndoOrRedo): remove redundant positioning code
2032
2033 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
2034
2035         * vc-backend.C (scanMaster): ";" -> ';'
2036
2037 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
2038
2039         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2040         std::binary_function
2041
2042         * lyxtextclass.C (compare_name): rename to...
2043         (LayoutNamesEqual): ...this
2044
2045         * lyxlex_pimpl.C (compare_tags): inherit from
2046         std::binary_function, put back into anon namespace
2047
2048         * lyxfind.C (MatchString): inherig from std::binary_function
2049         (findChange): use empty() istead of !size()
2050
2051         * format.C (FormatNamesEqual): new functor
2052         (getFormat): use it
2053         (getNumber): use it
2054         (add): use it
2055         (erase): use it
2056         (setViewer): use it
2057
2058         * converter.C (compare_Converter): rename to...
2059         (ConverterEqual): ...this, and fixup a bit.
2060         (getConverter): use it, and make function const
2061         (getNumber): use it, and make function const
2062         (add): use it
2063         (erase): use it:
2064
2065         * bufferlist.C: add using boost::bind
2066
2067         * MenuBackend.C (MenuNamesEqual): new functor
2068         (hasMenu): use it, and make function const
2069         (hasSubmenu): use nested bind to get rid of compare_memfun.
2070
2071 2004-01-30  André Pönitz  <poenitz@gmx.net>
2072
2073         * BufferView_pimpl.C:
2074         * cursor.C:
2075         * cursor.h:
2076         * cursor_slice.[Ch]:
2077         * lyxfunc.C:
2078         * lyxtext.h:
2079         * paragraph_funcs.C:
2080         * paragraph_funcs.h:
2081         * rowpainter.C:
2082         * text.C:
2083         * text2.C:
2084         * text3.C: move some of the edit(x,y) handling to the insets
2085         some coordinate changes.
2086
2087 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
2088
2089         * text.C: add using statements for std::advance and std::distance
2090
2091         * paragraph.C: add using statement for std::distance
2092
2093         * lyxfind.C: add using statement for std::advance
2094
2095         * cursor.C (region): remove std:: from swap
2096         (openable): use nucleus in stead of operator->
2097
2098         * BufferView.C: add using statements for std::distance and std::swap
2099
2100 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
2101
2102         * iterators.C: Remove the pimple, move the needed structures to
2103         the header file. Create accessor for the positions stack.
2104         (asPosIterator): remove function
2105
2106         * PosIterator.C (PosIterator): move constructors to top of file
2107         (PosIterator): reimplement the constructor taking a ParIterator in
2108         terms of setFrom.
2109         (setFrom): new function
2110         (operator!=): inline it
2111
2112 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
2113
2114         * lyxfind.C (replaceAll): use std::advance
2115
2116         * iterators.h: inherit from std::iterator.
2117
2118         * PosIterator.C (advance, distance): remove
2119         * PosIterator.h: interit from std::iterator.
2120
2121 2004-01-26  André Pönitz  <poenitz@gmx.net>
2122
2123         * BufferView.[Ch]:
2124         * BufferView_pimpl.[Ch]:
2125         * InsetList.[Ch]:
2126         * PosIterator.[Ch]:
2127         * buffer.h:
2128         * bufferview_funcs.C:
2129         * cursor.[Ch]:
2130         * cursor_slice.h:
2131         * factory.[Ch]:
2132         * iterators.[Ch]:
2133         * lyxfind.C:
2134         * lyxfunc.C:
2135         * lyxtext.h:
2136         * output_docbook.C:
2137         * output_latex.C:
2138         * output_linuxdoc.C:
2139         * output_plaintext.C:
2140         * paragraph.[Ch]:
2141         * paragraph_funcs.[Ch]:
2142         * paragraph_pimpl.[Ch]:
2143         * rowpainter.C:
2144         * tabular.C:
2145         * tabular.h:
2146         * text.C:
2147         * text2.C:
2148         * text3.C: more IU:  dumps most of the rest of the mathcursor
2149     implementation into cursor.[Ch]; "globalize" a bit of it.
2150
2151 2004-01-25  Angus Leeming  <leeming@lyx.org>
2152
2153         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2154
2155 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2156
2157         * LaTeXFeatures.h: add nice_ and nice() const
2158         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2159
2160 2004-01-20  André Pönitz  <poenitz@gmx.net>
2161
2162         * BufferView.[Ch]:
2163         * BufferView_pimpl.C:
2164         * PosIterator.C:
2165         * bufferview_funcs.C:
2166         * cursor.[Ch]:
2167         * cursor_slice.[Ch]:
2168         * factory.C:
2169         * iterators.C:
2170         * lyx_cb.C:
2171         * lyxfind.C:
2172         * lyxfunc.C:
2173         * lyxtext.h:
2174         * rowpainter.C:
2175         * text.C:
2176         * text2.C:
2177         * text3.C:
2178         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2179           LCursor and mathcursor parts to LCursor and InsetBase.
2180
2181 2004-01-15  André Pönitz  <poenitz@gmx.net>
2182
2183         * cursor_slice.[Ch]: add a few covienience functions
2184
2185         * funcrequest.[Ch]: remove BufferView * member
2186
2187         * BufferView_pimpl.C:
2188         * cursor.C:
2189         * factory.[Ch]:
2190         * lyxfind.[Ch]:
2191         * lyxfunc.C:
2192         * lyxtext.h:
2193         * text3.C:
2194         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2195
2196 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
2197
2198         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2199         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2200
2201 2004-01-13  André Pönitz  <poenitz@gmx.net>
2202
2203         * textcursor.[Ch]:
2204         * lyxtext.h: hide cursor and selection anchor behind accessor function
2205
2206         * BufferView.C:
2207         * BufferView_pimpl.[Ch]:
2208         * PosIterator.C:
2209         * bufferview_funcs.C:
2210         * cursor.h:
2211         * lyxfind.C:
2212         * lyxfunc.C:
2213         * text.C:
2214         * text2.C:
2215         * text3.C:
2216         * undo.C: adjust
2217
2218         * cursor.h:
2219         * cursor_slice.[Ch]: some integer type changes for inset unification
2220
2221         * lyxcursor.[hC]: remove, it's CursorSlice now.
2222
2223         * Makefile.am:
2224         * BufferView_pimpl.[Ch]:
2225         * bufferview_funcs.C:
2226         * cursor_slice.C:
2227         * lyxtext.h:
2228         * text.C:
2229         * text2.C:
2230         * text3.C:
2231         * textcursor.[Ch]: adjust
2232
2233 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
2234
2235         * text2.C (undoSpan): add and use
2236         * text.C (breakParagraph): use undoSpan (fix bug 578)
2237         * lyxtext.h: adjust
2238
2239 2004-01-08  Angus Leeming  <leeming@lyx.org>
2240
2241         * BufferView_pimpl.C (MenuInsertLyXFile):
2242         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2243         * lyxfunc.C (menuNew, open, doImport):
2244         FileFilterList change to the FileDialog open and save functions.
2245
2246 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
2247
2248         * ShareContainer.h: make isEqual and isUnique adaptable
2249
2250         * CutAndPaste.C: make resetOwnerAndChanges adaptable
2251
2252 2004-01-07  Angus Leeming  <leeming@lyx.org>
2253
2254         * LyXAction.C:
2255         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2256
2257         * BufferView_pimpl.C (dispatch): act on these LFUNs.
2258
2259         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2260         functions replacing find, replace and replaceAll.
2261
2262         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2263         LFUN_WORDFIND(FORWARD|BACKWARD).
2264
2265 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2266
2267         * text.C (breakParagraph): remove an outdated #warning
2268
2269 2004-01-07  André Pönitz  <poenitz@gmx.net>
2270
2271         * lyxfind.C: somewhat clearer logic
2272
2273         * text.C: prevent crash in cursorX on unitialized row cache
2274
2275 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2276
2277         * lyxcursor.[Ch] (operator>): add
2278         * textcursor.C (selStart, selEnd): use std::min and std::max
2279
2280 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
2281
2282         * Chktex.C: include boost/format.hpp
2283
2284 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
2285
2286         * InsetList.C: replace functor MathcIt with adaptable functor
2287         InsetTablePosLess
2288         (insetIterator): modify accordingly
2289
2290         * BranchList.h: move the BranchNamesEqual functor here from...
2291         * BranchList.C: ... to here
2292
2293         * BranchList.C: new BranchListEqual fuctor, use it. Remove
2294         SameName and match.
2295         (add): replace a finding loop with std::find_if.
2296
2297 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
2298
2299         * output_docbook.C: moving LatexParam functionality into
2300         .layout files
2301
2302 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2303
2304         * buffer.C: increment format to 229.
2305
2306 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
2307
2308         * LaTeXFeatures.C:
2309         * lyx_sty.[Ch]: remove minipageindent_def
2310
2311         * LyXAction.C:
2312         * factory.C:
2313         * lfuns.h:
2314         * lyxfunc.C:
2315         * text3.C: remove LFUN_INSET_MINIPAGE
2316
2317 2003-12-28  Angus Leeming  <leeming@lyx.org>
2318
2319         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2320
2321 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
2322
2323         * text2.C (setParagraph): fix off-by-one crash
2324
2325 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
2326
2327         * output_docbook.C: header stuff for AGU
2328
2329 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
2330
2331         * text2.C (redoCursor): remove
2332         * text.C:
2333         * text3.C:
2334         * BufferView_pimpl.C: remove calls to redoCursor and
2335         setCursor(cursor.par(), cursor.pos()) all around
2336
2337 2003-12-15  Angus Leeming  <leeming@lyx.org>
2338
2339         * buffer.C: up the format to 228.
2340
2341 2003-12-15  André Pönitz  <poenitz@gmx.net>
2342
2343         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2344         slices
2345
2346         * Makefile.am:
2347
2348         * BufferView_pimpl.C:
2349         * cursor.[Ch]:
2350         * lyxcursor.[Ch]:
2351         * rowpainter.[Ch]:
2352         * lyxtext.h:
2353         * text.C:
2354         * text2.C:
2355         * text3.C: adjust
2356
2357 2003-12-15  Angus Leeming  <leeming@lyx.org>
2358
2359         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2360         than getFromGUIName to manipulate the color.
2361
2362 2003-12-14  Angus Leeming  <leeming@lyx.org>
2363
2364         * BranchList.[Ch]: minimize the API.
2365         (Branch::getBranch, getColor): now return a 'const &'.
2366         (Branch::setSelected) now returns a bool set to true if the
2367         selection status changes.
2368         (BranchList::clear, size, getColor, setColor, setSelected,
2369         allBranches, allSelected, separator): removed.
2370         (BranchList::find): new functions, returning the Branch with
2371         the given name.
2372         (BranchList::add, remove): return a bool indicating that
2373         the operation was successful.
2374
2375         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2376         new InsetBranch::isBranchSlected member function.
2377
2378         * LColor.[Ch]: mimimize the API.
2379         (fill): renamed as addColor and made private.
2380         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2381         versions of these functions taking a string arg have been removed.
2382
2383         * bufferparams.C (readToken):
2384         * lyxfunc.C (dispatch):
2385         * lyxrc.C (read): changes due to the altered BranchList and
2386         LColor APIs.
2387
2388         * factory.C (createInset, readInset): changes due to altered
2389         InsetBranch c-tor.
2390
2391 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2392
2393         * factory.C:
2394         * lyxfunc.C: remove insetminipage. "minipage-insert"
2395         now produces a frameless minipage box inset.
2396
2397 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2398
2399         * textcursor.[Ch] (selStart,selEnd): add new methods
2400         remove selection::start, end, use LyXCursor::operator<
2401         * lyxcursor.[Ch] (operator<): add
2402         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2403         * BufferView.[Ch] (unsetXSel): add
2404         * text2.C (clearSelection): use unsetXSel,adjust
2405         * text.C: adjust
2406         * text3.C: adjust
2407         * rowpainter.C: adjust
2408         * bufferview_funcs.C (put_selection_at): adjust
2409
2410 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2411
2412         * BufferView_pimpl.C: small coord. correction
2413
2414 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2415
2416         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2417         dragging over the splash screen.
2418
2419 2003-12-11  Angus Leeming  <leeming@lyx.org>
2420
2421         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2422         as it is now handled in LyXText::dispatch.
2423
2424         * text3.C (doInsertInset): remove a level of nesting.
2425
2426 2003-12-11  Angus Leeming  <leeming@lyx.org>
2427
2428         * factory.C (createInset): changes due to the changed interface to
2429         InsetCommandMailer::string2params.
2430
2431 2003-12-10  Angus Leeming  <leeming@lyx.org>
2432
2433         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2434         'dialog-show-new-inset <inset name>'
2435
2436 2003-12-10  Angus Leeming  <leeming@lyx.org>
2437
2438         * buffer.C: up the format to 227.
2439
2440         * factory.C: the box inset is now identified simply by 'Box'.
2441
2442 2003-12-10  Angus Leeming  <leeming@lyx.org>
2443
2444         * buffer.C: up the format to 226.
2445
2446         * factory.C: the note inset is now identified simply by 'Note'.
2447
2448 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
2449
2450         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2451         when a pit is enough. Standarize a couple of loops.
2452
2453 2003-12-05  Angus Leeming  <leeming@lyx.org>
2454
2455         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2456         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2457         data to the re-worked "log" dialog.
2458
2459 2003-12-03  André Pönitz  <poenitz@gmx.net>
2460
2461         * PosIterator.C:
2462         * iterators.C:
2463         * lyxtext.h:
2464         * output_latex.C:
2465         * paragraph_funcs.C:
2466         * text.C:
2467         * text2.C: use Inset::getText instead of Inset::getParagraph
2468
2469 2003-12-03  André Pönitz  <poenitz@gmx.net>
2470
2471         * buffer.[Ch]:
2472         * lyxtext.h:
2473         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2474         InsetText::read() as LyXText::read()
2475
2476 2003-12-02  Angus Leeming  <leeming@lyx.org>
2477
2478         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2479         type. Add a comment in the implementation that the function uses
2480         the stream's bad() function rather than fail() as the std::streams
2481         would do.
2482
2483 2003-12-02  André Pönitz  <poenitz@gmx.net>
2484
2485         * lyxlex.[Ch]: make interface more similar to std::stream
2486
2487         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2488
2489 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
2490
2491         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2492
2493 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
2494
2495         * vspace.[Ch]: remove VSpace::NONE
2496
2497 2003-12-01  André Pönitz  <poenitz@gmx.net>
2498
2499         * buffer.[Ch]:
2500         * lyxtext.h: move ParagraphList member to LyXText
2501         rename LyXText::ownerParagraphs to LyXText::paragraph
2502
2503         * CutAndPaste.C:
2504         * bufferview_funcs.C:
2505         * iterators.[Ch]:
2506         * lyx_cb.C:
2507         * paragraph.C:
2508         * rowpainter.C:
2509         * tabular.C:
2510         * text.C:
2511         * text2.C:
2512         * text3.C: adjust
2513
2514         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2515
2516         * undo.C: fix cursor positioning
2517
2518 2003-12-01  John Levon  <levon@movementarian.org>
2519
2520         * BufferView_pimpl.C: fix a crash on exit with
2521         a buffer open
2522
2523 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
2524
2525         * BranchList.C: fix setSelected() method.
2526
2527 2003-11-28  André Pönitz  <poenitz@gmx.net>
2528
2529         * ParagraphParameters.[Ch]:
2530         * ParameterStruct.h: remove space above/below from Paragraph to
2531          InsetVSpace
2532
2533         * BufferView_pimpl.C:
2534         * factory.C:
2535         * lyxfunc.C:
2536         * lyxtext.h:
2537         * output_latex.C:
2538         * paragraph.C:
2539         * paragraph_funcs.C:
2540         * rowpainter.[Ch]:
2541         * text.C:
2542         * text2.C:
2543         * text3.C: adjust
2544
2545 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
2546
2547         * factory.C: Syntax change for CharStyles
2548
2549 2003-11-28  André Pönitz  <poenitz@gmx.net>
2550
2551         * BufferView.[Ch]:
2552         * BufferView.[Ch]:
2553         * buffer.[Ch]:
2554         * buffer.[Ch]: move LyXText member
2555
2556 2003-11-28  André Pönitz  <poenitz@gmx.net>
2557
2558         * BufferView.[Ch]: make LyXText * text a private member
2559
2560         * BufferView_pimpl.C:
2561         * cursor.C:
2562         * iterators.C:
2563         * lyx_cb.C:
2564         * lyxfind.C:
2565         * lyxtext.h:
2566         * rowpainter.[Ch]:
2567         * text.C:
2568         * text2.C:
2569         * undo.C: adjust
2570
2571         * output_plaintext.C: cleanup
2572
2573 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2574
2575         * buffer.C:
2576         * lyxtextclass.[Ch]: parametrize SGML document header
2577
2578 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2579
2580         * converter.[Ch]:
2581         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2582         getFlavor().
2583
2584 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
2585
2586         * text2.C (setFont): rework using PosIterator (no more recursive)
2587         (setCharFont): no more needed
2588         (setLayout): no more selection cursors fiddling (done by redoCursor)
2589         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2590         destroy remaining ones)
2591
2592 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
2593
2594         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2595         * lyxtext.h: ditto
2596         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2597         selection cursors
2598         * lyxfunc.C: adjust
2599         * text3.C: adjust + re-allow multi par depth changes
2600         * textcursor.C: simplify a bit
2601
2602 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
2603
2604         * src/buffer.C:
2605         * src/lyxlayout.C:
2606         * src/lyxlayout.h:
2607         * src/lyxtext.h:
2608         * src/output_docbook.C:
2609         * src/output_latex.C:
2610         * src/paragraph.C:
2611         * src/paragraph.h:
2612         * src/sgml.C:
2613         * src/sgml.h:
2614         * src/text2.C: Introducing a number of tags parametrizing various
2615         XML formats that we may want to support
2616
2617 2003-11-25  André Pönitz  <poenitz@gmx.net>
2618
2619         * InsetList.[Ch] (begein, end): inline as suggested by profiler
2620
2621         * lyxtext.h (leftMargin/rightMargin): simplify interface
2622
2623         * rowpainter.C:
2624         * text.C:
2625         * text2.C:
2626         * text3.C: adjust
2627
2628 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2629
2630         * lyxfunc.C (dispatch): propogate the bibtex databases from the
2631         master file to any child files. Fixes bug 546.
2632
2633 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2634
2635         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2636
2637 2003-11-24  André Pönitz  <poenitz@gmx.net>
2638
2639         * rowpainter.C: simplification
2640
2641         * text2.C (updateCounters): remove call to redoParagraph on
2642         changed labels as this is far too expensive.
2643
2644 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2645
2646         * converter.C (convert): fix a crash: this function gets
2647         called with buffer == 0 from importer code.
2648
2649 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
2650
2651         * text3.C (cursorPrevious): make sure that we do not compare
2652         iterators form different containers.
2653         (cursorNext): ditto
2654
2655         * rowpainter.C (paintSelection): make sure that we do not compare
2656         iterators from different containers.
2657
2658         * text3.C (dispatch): [PRIOR] make sure that we do not compare
2659         iterators from different ParagraphList containers.
2660         [NEXT] ditto
2661
2662         * text2.C (LyXText): change order of initialization slightly
2663         (operator=): new function. copy all variables except cache_par_
2664         (moveUp): make sure that we do not compare iterators from
2665         different ParagraphList constainers.
2666         (moveDown): ditto
2667
2668         * text.C (firstPar): new function
2669         (lastPar): new function
2670         (endPar): new function
2671
2672         * lyxtext.h: move things around and group public functions, public
2673         variables, private functions, private variables
2674
2675 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
2676
2677         * factory.C: change call to InsetERT constructor to avoid
2678         additional invocation of method status
2679         * text2.C (toggleInset): remove redundant update() call
2680         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2681         instead of a Bufferview pointer
2682
2683 2003-11-21  André Pönitz  <poenitz@gmx.net>
2684
2685         * rowpainter.C: simplification
2686
2687 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2688
2689         * text3.C (dispatch): make possible to extend a word/row selection
2690         with the mouse
2691
2692 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2693
2694         * lyxtext.h: x0_,y0_ -> xo_,yo_
2695         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2696         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2697         * rowpainter.C (paintRows): paint full paragraphs
2698
2699 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2700
2701         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2702         screen coordinates)
2703
2704 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2705
2706         * lyxtext.h: add x0_, y0_
2707         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2708         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2709
2710 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
2711
2712         * text2.C (setCursorIntern): move the x_target update here *
2713         * text3.C: change some bv() to true/false in calls to
2714         cursorUp/Down/Right/Left
2715         * cursor.C: use helper function.
2716
2717 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2718
2719         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2720         * paragraph_funcs.[Ch]: correct comment
2721         * rowpainter.C: do not paint selections away from bv->cursor()
2722         Fix a long standing selection painting bug.
2723         * text3.C: generalize mouse-selection code to LyXTexts other that
2724         top one
2725         * textcursor.C: do not use y coords if we can use par offsets
2726
2727 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2728
2729         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2730         cursor position after e.g. inset insert)
2731
2732 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
2733
2734         * lyxfind.C (replace): adjust to locking removal + some
2735         code simplification
2736
2737 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
2738
2739         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2740         of the path
2741
2742 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
2743
2744         * lyxlayout.[Ch]:
2745         * output_docbook.C: XML sanitation: new layout
2746         parameters InnerTag and CommandDepth
2747
2748 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
2749
2750         * BufferView_pimpl.C:
2751         * factory.C:
2752         * text3.C: Fix the insertion and modification of button-style
2753         insets
2754
2755 2003-11-13  André Pönitz  <poenitz@gmx.net>
2756
2757         * InsetList.[Ch]: remove deleteLyXText
2758
2759         * paragraph.[Ch]: cache beginOfBody position
2760
2761         * Bidi.C:
2762         * text.C:
2763         * text2.C:
2764         * text3.C: remove superfluous update() calls
2765
2766         * vspace.C: cleanup
2767
2768 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
2769
2770         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2771         * BufferView.C (fitLockedInsetCursor): remove
2772         * cursor.[Ch] (getDim): add
2773         * text.C (getRowNearY): add faster version
2774         * text3.C: remove some update calls
2775
2776 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
2777
2778         * LaTeXFeatures.C:
2779         * LyXAction.C:
2780         * MenuBackend.C:
2781         * MenuBackend.h:
2782         * dispatchresult.h:
2783         * factory.C:
2784         * lfuns.h:
2785         * lyxfunc.C:
2786         * lyxtextclass.C:
2787         * lyxtextclass.h:
2788         * text3.C: The Character Style /XML short element patch.
2789
2790 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
2791
2792         * text3.C:
2793         * factory.C: Small step to solving 'unable to insert some insets'
2794         problem
2795
2796 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2797
2798         * cursor.[Ch] (updatePos): new function for updating the y
2799         position of the tip inset
2800         * bufferview_funcs.C (put_selection_at):
2801         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2802
2803 2003-11-11  André Pönitz  <poenitz@gmx.net>
2804
2805         * text.C: remove big comment on invalid Paragraph pointers as it is
2806         not valid anymore
2807
2808 2003-11-11  André Pönitz  <poenitz@gmx.net>
2809
2810         * text_funcs.[Ch]: merge with ...
2811
2812         * text.C: ... this
2813
2814         * lyxtext.h:
2815         * text2.C:
2816         * text3.C: adjust
2817
2818         * Makefile.am: remove text_funcs.[Ch]
2819
2820 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
2821
2822         * cursor.C (getPos): return absolute cached y coord
2823
2824         * BufferView_pimpl.C (fitCursor): new simplistic code
2825         (workAreaDispatch): add a fitCursor call
2826
2827 2003-11-10  André Pönitz  <poenitz@gmx.net>
2828
2829         * BufferView.[Ch]:
2830         * BufferView_pimpl.[Ch]: merge update() and updateInset()
2831
2832 2003-11-10  André Pönitz  <poenitz@gmx.net>
2833
2834         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2835         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2836         indicate that the cursor needs to leave an inset
2837
2838         * lyxtext.h: remove inset locking
2839
2840         * cursor.[Ch]: re-implement functionality provided by inset locking
2841
2842         * BufferView.[Ch]:
2843         * BufferView_pimpl.[Ch]:
2844         * LyXAction.C:
2845         * bufferview_funcs.[Ch]:
2846         * factory.C:
2847         * funcrequest.[Ch]:
2848         * iterators.C:
2849         * lyx_cb.C:
2850         * lyxfind.C:
2851         * lyxfunc.C:
2852         * text.C:
2853         * text2.C:
2854         * text3.C:
2855         * undo.C: adjust
2856
2857 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
2858
2859         * PosIterator.[Ch]: replace the stack with a vector, add inset
2860         accesor
2861         * iterators.[C]: adjust
2862
2863 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2864
2865         * lyxfind.C (replaceAll): mark the buffer dirty if something was
2866         replaced
2867         * paragraph_funcs.C (readParToken): put the correct id in the
2868         error item, not the id of the top paragraph
2869
2870 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2871
2872         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2873         * bufferview_funcs.C (put_selection_at): use the above
2874
2875 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2876
2877         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2878
2879 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2880
2881         * output_linuxdoc.h:
2882         * output_plaintext.h:
2883         * output.h:
2884         * output_docbook.h: add #include statements
2885
2886 2003-11-05  José Matos  <jamatos@lyx.org>
2887
2888         * output_docbook.[Ch]:
2889         * output_latex.[Ch]:
2890         * output_linuxdoc.[Ch]:
2891         * output_plaintext.[Ch]: New files for output formats.
2892         * output.[Ch]: New file for helper functions.
2893
2894         * buffer.[Ch]:
2895         * paragraph_funcs.[Ch]: output functions moved to new files.
2896
2897         * outputparams.h: rename of latexrunparams.h
2898
2899         * LaTeX.[Ch]:
2900         * buffer.[Ch]:
2901         * bufferlist.[Ch]:
2902         * converter.[Ch]:
2903         * exporter.C:
2904         * paragraph.[Ch]:
2905         * paragraph_funcs.[Ch]:
2906         * paragraph_pimpl.[Ch]:
2907         * tabular.[Ch]: rename ascii to plaintext
2908         and LatexRunParams to OutputParams.
2909
2910 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2911
2912         * iterators.[Ch] (text): require bv argument
2913         * undo.C (recordUndo):
2914         * lyxfunc.C (dispatch):
2915         * bufferview_funcs.C (put_selection_at): adjust
2916
2917 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
2918
2919         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2920
2921 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2922
2923         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2924         nestings
2925
2926 2003-11-04  André Pönitz  <poenitz@gmx.net>
2927
2928         * cursor.[Ch]: restructure
2929
2930         * BufferView.[Ch]:
2931         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2932
2933         * iterators.[Ch] (asCursor): remove
2934
2935         * lfuns.h: remove LFUN_INSET_EDIT
2936
2937         * lyxfunc.C:
2938         * tabular.C:
2939         * text.C:
2940         * text2.C:
2941         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2942
2943 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2944
2945         * lyxfind.[Ch]: complete overhaul
2946         * BufferView_pimpl.C:
2947         * lyxfunc.C: adjust
2948         * paragraph.[Ch] (insert): add
2949
2950 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2951
2952         * BufferView.[Ch]:
2953         * lyxtext.h:
2954         * text.C: remove dead spellcheck code
2955
2956 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2957
2958         * dispatchresult.h: add a val setter
2959
2960         * cursor.C (dispatch): use a tempvar for data_[i]
2961
2962 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2963
2964         * PosIterator.[Ch]: compile fix
2965
2966 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2967
2968         * text.C (cursorPar): deactivate the cursor cache
2969
2970 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2971
2972         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2973
2974 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2975
2976         * text3.C (dispatch): adjust for new DisptchResult semantics.
2977
2978         * lyxfunc.C (dispatch): handle update when return from
2979         Cursor::dispatch, adjust for new DispatchResult semantics.
2980
2981         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2982         DispatchResult(true) mean to not update. Add class functions for
2983         setting dispatched and update, as well as reading.
2984
2985         * cursor.C (dispatch): don't handle update here
2986
2987 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2988
2989         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2990         * trans_mgr.C: adjust
2991
2992         * paragraph_funcs.C (readParToken): exception safety
2993
2994         * lyxvc.h: store the vcs pointer in a scoped_ptr
2995         * lyxvc.C: adjust
2996
2997         * lyxsocket.C (serverCallback): exception safety
2998
2999         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3000
3001         * ispell.C (clone): make it return a auto_ptr
3002
3003         * factory.C (createInset): exception safety
3004         (readInset): exception safety
3005
3006         * bufferlist.C (newBuffer): exception safety
3007
3008         * Thesaurus.C (Thesaurus): use initialization for aik_
3009
3010         * MenuBackend.C (expandToc): exception safety.
3011
3012 2003-11-03  André Pönitz  <poenitz@gmx.net>
3013
3014         * buffer.C:
3015         * buffer.h:
3016         * bufferview_funcs.C: remove getInsetFromId()
3017
3018         * lyxcursor.[Ch]:
3019         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3020
3021         * lyxfunc.C:
3022         * text2.C:
3023         * text3.C: adjust
3024
3025 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3026
3027         * PosIterator.C (distance, advance): new
3028         * bufferview_funcs.[Ch] (put_selection_at): new
3029         * iterators.[Ch] (lockPath): new
3030
3031 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
3032
3033         * iterators.[Ch] (asPosIterator): added
3034         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3035         * PosIterator.[Ch]: added
3036
3037 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3038
3039         * text3.C:
3040         * lyxfunc.C:
3041         * cursor.C (dispatch):
3042         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3043
3044         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3045         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3046         contructor, add a class function dispatched. Remove operator>=
3047
3048 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3049
3050         * debug.C: only use the default constructor for debugstream
3051         (lyxerr) here.
3052
3053         * main.C (main): include debug.h and setup the lyxerr streambuf
3054         here.
3055
3056 2003-10-31  José Matos  <jamatos@lyx.org>
3057
3058         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3059
3060         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3061         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3062         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3063         * paragraph_pimpl.C (simpleTeXSpecialC):
3064         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3065         add LatexRunParams argument.
3066
3067         * exporter.C (Export): change call accordingly.
3068
3069         * latexrunparams.h: add new member to take care of the other backends.
3070 2003-10-30  José Matos  <jamatos@lyx.org>
3071
3072         * buffer.C (makeLinuxDocFile, makeDocBookFile):
3073         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3074         factorise code for paragraph output.
3075         * buffer.[Ch]:
3076         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3077         move functions.
3078
3079 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3080
3081         * text3.C (dispatch):
3082         * lyxfunc.C (dispatch):
3083         * cursor.C (dispatch):
3084         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3085
3086         * dispatchresult.h: make the dispatch_result_t ctor explicit
3087
3088 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
3089
3090         * sgml.[Ch]:
3091         * buffer.C: small refactoring of docbook stuff
3092
3093 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3094
3095         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3096         meaning.
3097
3098 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3099
3100         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3101         operator dispatch_result_t, and operators for == != and >=
3102
3103         * cursor.C (dispatch): adjust for operator dispatch_result_t
3104         removal. comment out call to update
3105
3106         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3107
3108 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3109
3110         * text3.C:
3111         * text2.C:
3112         * text.C:
3113         * lyxtext.h:
3114         * lyxfunc.C:
3115         * cursor.C:
3116         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3117         (dispatch):
3118
3119         * dispatchresult.h: new file, DispatchResult broken out of
3120         insets/insetbase.h
3121
3122         * Makefile.am (lyx_SOURCES): add dispatchresult.h
3123
3124 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3125
3126         * text.C (rowBreakPoint): put a hack inside #if 0
3127
3128 2003-10-28  André Pönitz  <poenitz@gmx.net>
3129
3130         * lyxtext.h:
3131         * metricsinfo.C:
3132         * paragraph_funcs.C:
3133         * rowpainter.C:
3134         * text.C:
3135         * text2.C: general cleanup (lots of small stuff)
3136
3137 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3138
3139         * text2.C (cursorEnd): simple fix to the "end key goes to one
3140         before the end on last row" bug
3141
3142 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3143
3144         * text.C (backspace): fix the "zombie characters"
3145
3146 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3147
3148         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3149
3150 2003-10-27  André Pönitz  <poenitz@gmx.net>
3151
3152         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3153
3154         * factory.C: handle new InsetPagebreak, InsetLine
3155
3156         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3157         and move handling into new InsetPagebreak, InsetLine
3158
3159         * BufferView_pimpl.C:
3160         * LyXAction.C:
3161         * ParagraphParameters.C:
3162         * ParameterStruct.h:
3163         * lyxfunc.C:
3164         * lyxtext.h:
3165         * paragraph.C:
3166         * paragraph.h:
3167         * paragraph_funcs.C:
3168         * paragraph_pimpl.C:
3169         * rowpainter.C:
3170         * text.C:
3171         * text2.C:
3172         * text3.C: adjust
3173
3174 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3175
3176         * text.C:
3177         * lyxrow_funcs.[Ch]:
3178         * Bidi.C:
3179         * paragraph.C:
3180         * lyxtext.h:
3181         * rowpainter.C:
3182         * text2.C:
3183         * text3.C: remove lastPos uses in favour of Row::endpos
3184
3185 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3186
3187         * undo.C (performUndoOrRedo): fix two crashes by setting a
3188         cursor by hand and reordering some calls. Use bv->lockInset instead
3189         of inset->edit because the latter loses cursor information
3190
3191 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
3192
3193         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3194         by Martin
3195         (rowBreakPoint): fix width. change point to point + 1.
3196         Add a missing check.
3197
3198 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
3199
3200         * MenuBackend.C:
3201         * lyxfunc.C: fix (at least partly) the problems
3202         with the Nav menu and headers inside branch insets
3203         reported by Kayvan
3204
3205 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
3206
3207         * paragraph.C (getChar): add strong asserts
3208
3209         * lyxrow_funcs.C (lastPos): remove hideous hack
3210
3211         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3212         (fill): adjust to that (avoid an infinite loop)
3213
3214 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3215
3216         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3217
3218 2003-10-23  André Pönitz  <poenitz@gmx.net>
3219
3220         * RowList_fwd.h: change list<> to vector<> to gain speed
3221         after suggestion from Alfredo
3222
3223 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3224
3225         * lyxtext.h: move the bidi stuff from here...
3226         * text.C: and here
3227         * text2.C: and here
3228         * Bidi.[Ch]: ... to here
3229
3230 2003-10-23  André Pönitz  <poenitz@gmx.net>
3231
3232         * lyxtext.h:
3233         * text.C (isLastRow, isFirstRow): new functions
3234
3235         * paragraph.h: new width cache member
3236
3237         * rowpainter.C: replace RowList::iterator with Row & where possible
3238
3239         * lyxfunc.C: replace several view()->text with a single call
3240
3241         * toc.C: fix 'unused' warning
3242
3243 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3244
3245         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3246         when woring with stream::pos_type
3247         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3248
3249 2003-10-22  André Pönitz  <poenitz@gmx.net>
3250
3251         * lyxtext.h:
3252         * text.C: use Row & instead of RowList::iterator
3253
3254         * lyxrow.h: rename end() to endpos()
3255
3256         * rowpainter.C:
3257         * text.C:
3258         * text2.C: adjust
3259
3260 2003-10-22  Angus Leeming  <leeming@lyx.org>
3261
3262         * buffer.[Ch] (fully_loaded): new member function, returning true
3263         only when the file has been loaded fully.
3264         Used to prevent the premature generation of previews and by the
3265         citation inset to prevent computation of the natbib-style label.
3266
3267         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3268         templates are all set up.
3269
3270         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3271
3272 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
3273
3274         * text.C: fixed an "oops" in the "is a bit silly"
3275         bug fix
3276
3277 2003-10-21  André Pönitz  <poenitz@gmx.net>
3278
3279         * FuncStatus.[Ch]: small stuff, whitespace
3280
3281         * lyxfont.[Ch]: operator<<() for debug reasons
3282
3283         * lyxfunc.C:
3284         * lyxrow_funcs.C:
3285         * lyxtext.h: whitespace, spelling
3286
3287         * paragraph.C: naming of variables
3288
3289         * text.C:
3290         * text2.C: small stuff
3291
3292
3293 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
3294
3295         * text.C: (1) finish off the inset display() work;
3296         (2) fix the "is a bit silly" bug (accessing char
3297         past end of par).
3298
3299 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
3300
3301         * text.C: re-introduce display() for insets, fixing the
3302         various bugs (stretch of line above, math inset
3303         positioning, ...)
3304
3305 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3306
3307         * text.C (rightMargin): remove spurious semicolon
3308
3309         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3310         1415)
3311
3312 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
3313
3314         * text3.C: fix one crash due to wrong cursor def
3315
3316 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3317
3318         * vc-backend.C (scanMaster): make the regex static
3319
3320         * LaTeX.C (scanAuxFile): make the regexs static
3321
3322         * text3.C (doInsertInset, dispatch, dispatch):
3323         * text2.C (cursorUp, cursorDown):
3324         * text.C (selectNextWordToSpellcheck):
3325         * BufferView_pimpl.C (dispatch):
3326         * lyxfunc.C (dispatch):  localDispatch -> dispatch
3327
3328 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3329
3330         * lyxsocket.C: include <cerrno>
3331
3332 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3333
3334         * lyxfunc.C (dispatch): remove textcache stuff
3335
3336         * bufferlist.C (release): remove textcache stuff
3337         (closeAll): ditto
3338
3339         * TextCache.C: delete file
3340         * TextCache.h: delete file
3341
3342         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3343
3344         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3345         delete of the bv_->text.
3346         (resizeCurrentBuffer): remove texcache stuff
3347         (workAreaResize): ditto
3348
3349 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3350
3351         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3352         action.
3353
3354 2003-10-16  André Pönitz  <poenitz@gmx.net>
3355
3356         * lyxrow.[Ch]:
3357         * paragraph.h:
3358         * rowpainter.C:
3359         * text.C:
3360         * text2.C:
3361         * text3.C: speed up by storing y positions per paragraph plus per-row
3362         offset instead of having a 'full' y position in the row.
3363
3364 2003-10-15  André Pönitz  <poenitz@gmx.net>
3365
3366         * iterators.[Ch]:
3367         * iterators.[Ch]:
3368         * undo.[Ch]: make undo aware of inner insets
3369
3370 2003-10-14  Angus Leeming  <leeming@lyx.org>
3371
3372         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3373         static member functions LyX::ref() and LyX::cref.
3374         (lastfiles): new accessor functions for the new lastfiles_ member var.
3375         (addLyXView, views_): add a new LyXView to the list of views_.
3376         (updateInset): loop over all LyXViews to call their own updateInset
3377         member function, returning a pointer to the Buffer owning the inset.
3378
3379         * BufferView_pimpl.C (loadLyXFile):
3380         * MenuBackend.C (expandLastfiles):
3381         * bufferlist.C (MenuWrite, QuitLyX):
3382         lastfiles is no longer a global variable.
3383         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3384
3385         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3386         static function. Access through LyX::cref().emergencyCleanup().
3387
3388 2003-10-14  André Pönitz  <poenitz@gmx.net>
3389
3390         * iterators.[Ch]: new direct access to innermost LyXText and Inset
3391
3392         * undo.[Ch]: restoring part of 'undo in insets'
3393
3394         * Makefile.am:
3395         * undo_funcs.[Ch]: merge with undo.[Ch]
3396
3397         * tabular.C: small cleansing stuff
3398
3399 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
3400
3401         * paragraph_funcs.C (readParToken): report unknown insets as error
3402         boxes. Use the outer paragraph as location (also for unknown
3403         tokens).
3404
3405         * factory.C (readInset): do not abort on reading an unknown inset.
3406         Eat it and return 0.
3407
3408 2003-10-13  Angus Leeming  <leeming@lyx.org>
3409
3410         * lyx_main.C (LyX): remove call to setDisplayTranslator().
3411
3412         * lyxrc.C: displayTranslator is now a function,
3413         declared in GraphicsTypes.h.
3414
3415 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3416
3417         * format.C: new placeholder $$a to pass the socket address.
3418
3419         * bufferlist.[Ch]: new function getBufferFromTmp.
3420
3421         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3422           files in the temporary dir.
3423
3424 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3425
3426         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3427
3428         * Makefile.am: add lyxsocket.[Ch].
3429
3430         * lyx_main.C (error_handler): handle SIGPIPE.
3431
3432 2003-10-13  André Pönitz  <poenitz@gmx.net>
3433
3434         * BufferView_pimpl.C:
3435         * lyxtext.h:
3436         * text.C:
3437         * text2.C:
3438         * text3.C:
3439         * undo_funcs.[Ch]: use paroffset_type instead of
3440           ParagraphList::iterators to prevent multiple conversion
3441           (and get a more robust interface)
3442
3443 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3444
3445         * lyxfunc.C (dispatch): RESULT -> dispatch_result
3446         * lyxtext.h: ditto
3447         * text3.C (dispatch): ditto
3448
3449 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3450
3451         * LaTeX.C (handleFoundFile): move the static to smaller scope,
3452         move the onlyfile, use onlyfile instead of foundfile in a couple
3453         of places.
3454
3455         * DepTable.C (update): flush the error stream a bit more
3456
3457 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3458
3459         * lyxserver.C (callback): adjust
3460
3461         * lyxfunc.C (getStatus): add a missing brace in commented code
3462         (ensureBufferClean): reindent
3463         (dispatch): delete version taking a string
3464
3465 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3466
3467         * LaTeX.C (deplog): move found file handlig from here...
3468         (handleFoundFile): .. to new function here.
3469         (deplog): make sure to discover several files mentioned on the
3470         same log line.
3471
3472 2003-10-10  André Pönitz  <poenitz@gmx.net>
3473
3474         * lyxfunc.C:
3475         * lyxtext.h:
3476         * tabular.C:
3477         * text.C:
3478         * text2.C:
3479         * text3.C: fix some of the tabular crashes
3480
3481 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3482
3483         * MenuBackend.C (binding): put debug message into Debug::KBMAP
3484
3485         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3486
3487 2003-10-09  André Pönitz  <poenitz@gmx.net>
3488
3489         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3490
3491         * BufferView.C:
3492         * BufferView_pimpl.C:
3493         * bufferview_funcs.C:
3494         * lyx_cb.C:
3495         * lyxcursor.C:
3496         * lyxfind.C:
3497         * lyxfunc.C:
3498         * lyxtext.h:
3499         * text.C:
3500         * text2.C:
3501         * text3.C:
3502         * text_funcs.[Ch]:
3503         * textcursor.[Ch]:
3504         * undo_funcs.C: adjust
3505
3506 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3507
3508         * text2.C (incrementItemDepth): new function, use a backtracking
3509         algorithm to discover the correct item depth.
3510         (resetEnumCounterIfNeeded): new function, use a backtracking
3511         algorithm to discover if counter reset is needed.
3512         (setCounter): use them. Simplify a bit. Add different labels for
3513         different item depths for itemize.
3514
3515         * paragraph.C (Paragraph): remove initialization of enumdepth
3516         (operator=): ditto
3517
3518         * paragraph.h: get rid of enumdepth, and use itemdepth both for
3519         enumerate and itemize. Change the type of itemdepth to signed char.
3520
3521 2003-10-08  André Pönitz  <poenitz@gmx.net>
3522
3523         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3524           thing assignable.
3525         * text.C:
3526         * text2.C: adjust
3527
3528         * tabular.[Ch]: fix crash after 'row-insert'
3529
3530 2003-10-08  Angus Leeming  <leeming@lyx.org>
3531
3532         Fix doxygen warnings.
3533
3534         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3535         Remove CutAndPaste:: prefix from header file declaration.
3536
3537         * LColor.h (fill): remove LColor:: prefix from declaration.
3538
3539         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3540         use lyx::depth_type rather than Paragraph::depth_type so that
3541         header file and .C file match.
3542
3543         * converter.h (intToFormat): remove Converters:: prefix from declaration.
3544
3545         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3546         * aspell.C: \file aspell_local.C -> \file aspell.C
3547         * gettext.C: \file gettext.C -> \file src/gettext.C
3548         * gettext.h: \file gettext.h -> \file src/gettext.h
3549         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3550         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3551         * text.C: \file text.C -> \file src/text.C
3552
3553         * toc.C: move comment so that doxygen is not confused.
3554
3555 2003-10-07  Angus Leeming  <leeming@lyx.org>
3556
3557         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3558
3559 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3560
3561         * aspell.C:
3562         * aspell_local.h: add forgotten std::string's.
3563
3564 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3565
3566         * LaTeXFeatures.C:
3567         * LyXAction.C:
3568         * factory.C:
3569         * lfuns.h:
3570         * lyxfunc.C:
3571         * text3.C: The Box patch. Fancybox support, minipage, parbox
3572
3573 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3574
3575         * CutAndPaste.h:
3576         * DepTable.h:
3577         * FloatList.h:
3578         * LaTeXFeatures.h:
3579         * ParagraphParameters.h:
3580         * TextCache.h:
3581         * Thesaurus.h:
3582         * bufferlist.h:
3583         * exporter.h:
3584         * importer.h:
3585         * lastfiles.h:
3586         * lyxfind.h:
3587         * lyxfont.h:
3588         * lyxlex.h:
3589         * lyxtextclasslist.h:
3590         * messages.h:
3591         * paragraph.h:
3592         * paragraph_pimpl.C:
3593         * textcursor.h: add <string> and other small fixes to make Lars'
3594         std::string patch compile with STLport.
3595
3596 2003-10-06  Angus Leeming  <leeming@lyx.org>
3597
3598         * LColor.h: Add missing #include <string>.
3599
3600 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3601
3602         * All most all file in all subdirs: Make <string> be the prefered
3603         way of getting to std::string, add using declarations.
3604
3605 2003-10-06  André Pönitz  <poenitz@gmx.net>
3606
3607         * metricsinfo.C: initialize LyXFont before changing attribute.
3608         (fixes the 'math in \emph is upright' bug)
3609
3610 2003-10-06  André Pönitz  <poenitz@gmx.net>
3611
3612         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3613
3614 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
3615
3616         * graph.C:
3617         * paragraph_pimpl.C: Small fixes to build using STLport
3618
3619 2003-10-02  André Pönitz  <poenitz@gmx.net>
3620
3621         * lyxfunc.C:
3622         * text3.C: move handling of LFUN_DEPTH *; fix #1360
3623
3624 2003-10-01  André Pönitz  <poenitz@gmx.net>
3625
3626         * factory.C: assert early
3627
3628 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3629
3630         * lyx_main.C: remove the global debug object
3631
3632         * debug.h: adjust for new debugstream
3633
3634         * debug.C: adjust for new debugstream and keep the global debug
3635         object here.
3636
3637 2003-09-22  Angus Leeming  <leeming@lyx.org>
3638
3639         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3640         of g++ which otherwise complain that the scoped_ptr destructor can't delete
3641         an incomplete class LyXFont.
3642
3643 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
3644
3645         * factory.C: bug fix in branches
3646
3647 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3648
3649         * lyxfunc.C (processKeySym): adjust
3650         (dispatch): adjust
3651         (dispatch): change arg name from ev to func, adjust
3652         (sendDispatchMessage): ditto
3653
3654         * lyx_main.C (defaultKeyBindings): adjust keybindings
3655         (deadKeyBindings): ditto
3656
3657         * kbsequence.C (addkey): return a FuncRequest
3658
3659         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3660
3661         * kbmap.C (bind): take a FuncRequest as arg, adjust
3662         (read): adjust
3663         (lookup): adjust
3664         (defkey): change to take a FuncRequest as arg, adjust
3665         (findbinding): take a FuncRequest as arg, adjust.
3666
3667         * funcrequest.h (operator=): added
3668
3669         * funcrequest.C (FuncRequest): default kb_action changed from
3670         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3671
3672         * buffer.C (dispatch): simplify
3673         (dispatch): adjust to take a FuncRequest as arg, adjust
3674
3675         * boost.C (assertion_failed): change assertion message slightly
3676
3677         * ToolbarBackend.C (read): simplify
3678
3679         * MenuBackend.C (binding): adjust call to findbinding, add a
3680         message if no binding is found.
3681         (read): simplify
3682         (expandToc): correct by adding a empty FuncRequest
3683
3684         * LyXAction.C: include <boost/assert.hpp>
3685         (isPseudoAction): delete function
3686         (LookupFunc): change name to...
3687         (lookupFunc): this. change return type to FuncRequest.
3688         (getActionName): take kb_action as arg, simplify
3689         (funcHasFlag): add an assert, simplify.
3690
3691 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3692
3693         * toc.C (action): return a FuncRequest, simplify
3694
3695         * lyxfunc.C (processKeySym): adjust
3696         (getStatus): delete version that takes an int.
3697         (getStatus): adjust
3698         (dispatch): delete version that takes action as int
3699         (dispatch): adjust
3700         (sendDispatchMessage): simplify and adjust
3701
3702         * funcrequest.C (getArg): take unsigned int as arg
3703
3704         * ToolbarBackend.C (read): adjust
3705         (add): delete version that takes func as a string.
3706         (getIton): take a FuncRequest as arg
3707
3708         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3709         action.
3710
3711         * MenuBackend.C (MenuItem): add a new construct that only takes a
3712         Kind, simplify the constructor use for submenus.
3713         (add): adjust
3714         (expandLastfiles): adjust
3715         (expandDocuments): adjust
3716         (expandFormats): adjust
3717         (expandFloatListInsert): adjust
3718         (expandFloatInsert): adjust
3719         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3720
3721         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3722         Remove class variables lyx_pseudo_map and lyx_arg_map
3723
3724         * LyXAction.C (searchActionArg): delete function
3725         (getPseudoAction): delete function
3726         (retrieveActionArg): delete function
3727         (LookupFunc): make it return kb_action, simplify.
3728         (getActionName): simplify
3729
3730         * factory.C (createInset): fix new bug
3731
3732 2003-09-19  Angus Leeming  <leeming@lyx.org>
3733
3734         * CutAndPaste.C (pasteSelection): remove fudge used to set the
3735         masterFilename_ parameter in the include inset.
3736
3737         * factory.C (createInset): changes due to the changes to InsetInclude.
3738
3739 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3740
3741         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3742
3743 2003-09-18  Angus Leeming  <leeming@lyx.org>
3744
3745         * buffer.C:
3746         * BufferView.C: pass the buffer when calling Inset::getLabelList,
3747         Inset::fillWithBibKeys.
3748         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3749
3750 2003-09-18  Angus Leeming  <leeming@lyx.org>
3751
3752         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3753         variables.
3754         (ctor): pass and store a 'Buffer const &'
3755         (buffer): new member function.
3756
3757         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3758         '*this' to the LaTeXFeatures ctor.
3759
3760 2003-09-18  Angus Leeming  <leeming@lyx.org>
3761
3762         * LColor.h:
3763         * lyxfont.C:
3764         * lyxfont.h:
3765         * lyxtext.h:
3766         * text.C: rename EnumLColor as LColor_color.
3767
3768 2003-09-18  Angus Leeming  <leeming@lyx.org>
3769
3770         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3771         remove #include "insets/insetbase.h" from cursor.h.
3772
3773 2003-09-18  Angus Leeming  <leeming@lyx.org>
3774
3775         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3776         InsetOld_code to remove #include "inset.h".
3777
3778         * iterators.C: add #include "insets/inset.h"
3779
3780 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
3781
3782         * BufferView.C: remove more locking stuff that apparently doesn't
3783         do anything sensible.
3784
3785 2003-09-16  André Pönitz  <poenitz@gmx.net>
3786
3787         * paragraph.[Ch]:
3788         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3789           performance boost.
3790
3791 2003-09-16  Angus Leeming  <leeming@lyx.org>
3792
3793         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3794
3795         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3796         arg/return type.
3797
3798         * paragraph.h: remove #include "lyxfont.h". Forward declare
3799         LyXFont_size.
3800
3801 2003-09-16  Angus Leeming  <leeming@lyx.org>
3802
3803         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3804         of support/textutils.h.
3805         (isWord): move the contents of support/textutils.h's IsWordChar here.
3806
3807         * buffer.C:
3808         * lyxfind.C:
3809         * rowpainter.C:
3810         * text.C:
3811         * text2.C: add #include "paragraph.h".
3812
3813         * rowpainter.C:
3814         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3815
3816 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3817
3818         * main.C:
3819         * lyx_main.C:
3820         * lyx_cb.C:
3821         * buffer.C:
3822         * LaTeX.C: use namespace alias for lyx::support::os
3823
3824 2003-09-16  Angus Leeming  <leeming@lyx.org>
3825
3826         * bufferparams.C:
3827         * bufferview_funcs.C:
3828         * factory.C:
3829         * lyxfunc.C:
3830         * paragraph_pimpl.C:
3831         * rowpainter.C:
3832         * text.C: add #include "LColor.h".
3833
3834 2003-09-16  Angus Leeming  <leeming@lyx.org>
3835
3836         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3837         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3838         return LyXFont &.
3839         Store the FontBits::color variable as an int rather than as an
3840         LColor::colorso that we can move LColor.h out of the lyxfont.h header
3841         file.
3842
3843         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3844         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3845         string calls together.
3846
3847         * lyxrc.C: add #include "LColor.h".
3848
3849 2003-09-15  Angus Leeming  <leeming@lyx.org>
3850
3851         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3852         a cow_ptr.
3853
3854 2003-09-15  Angus Leeming  <leeming@lyx.org>
3855
3856         * LColor.h: add an EnumLColor wrapper for LColor::color.
3857
3858         * lyxfont.[Ch] (color, setColor, realColor):
3859         * lyxtext.h, text.C (backgroundColor):
3860         pass EnumLColor args to/from the functions, rather than LColor::color
3861         ones.
3862
3863         * lyxfont.h:
3864         * lyxtext.h: forward declare EnumLColor.
3865
3866         * lyx_main.C: add #include "LColor.h".
3867
3868 2003-09-15  Angus Leeming  <leeming@lyx.org>
3869
3870         * .cvsignore: add lyx-gtk.
3871
3872 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3873
3874         * Chktex.C
3875         * LaTeX.C
3876         * LaTeXFeatures.C
3877         * ParagraphParameters.C
3878         * Spacing.C
3879         * buffer.C
3880         * bufferparams.C
3881         * bufferview_funcs.C
3882         * chset.C
3883         * counters.C
3884         * funcrequest.C
3885         * lyxfont.C
3886         * lyxgluelength.C
3887         * lyxlength.C
3888         * paragraph.C
3889         * paragraph_funcs.C
3890         * text3.C
3891         * vc-backend.C: remove usage of STRCONV
3892
3893 2003-09-15  Angus Leeming  <leeming@lyx.org>
3894
3895         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3896         explicitly define the color passed to the painter.
3897
3898 2003-09-15  Angus Leeming  <leeming@lyx.org>
3899
3900         * bufferparams.C (BufferParams): reorder member initializers to avoid
3901         compiler warning.
3902
3903 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
3904
3905         * CutAndPaste.C (pasteSelection): remove an outdated #warning
3906         * text.C (updateRowPositions): remove an unusual nop
3907
3908 2003-09-12  André Pönitz  <poenitz@gmx.net>
3909
3910         * BufferView_pimpl.C:
3911         * Bullet.C:
3912         * layout.h:
3913         * lyxfunc.C:
3914         * lyxlayout.[Ch]:
3915         * lyxtextclass.C:
3916         * rowpainter.C:
3917         * text.C:
3918         * text2.C:
3919         * Counters.[Ch]: finish the 'automatic counters' job
3920
3921 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3922
3923         * aspell.C: include <boost/assert.cpp> (compile fix)
3924
3925 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
3926
3927         * boost.C (assertion_failed): use lyx::support::abort instead of
3928         assert.
3929
3930 2003-09-10  Angus Leeming  <leeming@lyx.org>
3931
3932         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3933         with their _fwd progeny.
3934
3935 2003-09-09  Angus Leeming  <leeming@lyx.org>
3936
3937         134 files throughtout the source tree: replace 'using namespace abc;'
3938         directives with the appropriate 'using abc::xyz;' declarations.
3939
3940 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3941
3942         * boost.C (emergencyCleanup): moved here from LAssert.c
3943         (assertion_failed): new function, called by BOOST_ASSERT
3944
3945         * several files: change Assert to BOOST_ASSERT
3946
3947 2003-09-09  Angus Leeming  <leeming@lyx.org>
3948
3949         * buffer.[Ch]: Add an Impl class and move Buffer's member
3950         variables into it. As a result move several header files out of
3951         buffer.h.
3952
3953         Add header files to lots of .C files all over the tree as a result.
3954
3955 2003-09-09  Angus Leeming  <leeming@lyx.org>
3956
3957         * buffer.[Ch]: make Buffer's member variables private. Add
3958         accessor functions.
3959
3960         Lots of changes all over the tree as a result.
3961
3962 2003-09-08  Angus Leeming  <leeming@lyx.org>
3963
3964         * graph.C: #include <config.h>.
3965
3966 2003-09-08  Angus Leeming  <leeming@lyx.org>
3967
3968         * BranchList.C:
3969         * BufferView.C:
3970         * BufferView_pimpl.C:
3971         * CutAndPaste.C:
3972         * DepTable.C:
3973         * LaTeX.C:
3974         * LaTeXFeatures.C:
3975         * LyXAction.C:
3976         * MenuBackend.C:
3977         * TextCache.C:
3978         * aspell.C:
3979         * buffer.C:
3980         * bufferlist.C:
3981         * changes.C:
3982         * chset.C:
3983         * converter.C:
3984         * counters.C:
3985         * debug.C:
3986         * graph.C:
3987         * ispell.C:
3988         * lyx_cb.C:
3989         * lyxfind.C:
3990         * lyxfunc.C:
3991         * lyxlex_pimpl.C:
3992         * lyxrc.C:
3993         * lyxrow.C:
3994         * paragraph.C:
3995         * rowpainter.C:
3996         * texrow.C:
3997         * text.C:
3998         * text2.C:
3999         * toc.C: remove redundant using directives.
4000
4001 2003-09-07  Angus Leeming  <leeming@lyx.org>
4002
4003         * LaTeXFeatures.h: remove #include "support/types.h".
4004         * ToolbarBackend.h: remove #include <algorithm>.
4005         * changes.h: remove #include <ctime>.
4006         * debug.h: remove #include <iosfwd>.
4007         * graph.h: remove #include "support/std_string.h".
4008         * lyx_main.h: remove #include <csignal>.
4009         * lyxlex_pimpl.h: remove #include <fstream>.
4010         * sgml.h: remove #include <algorithm>, <utility>.
4011         * toc.h: remove #include "support/std_ostream.h".
4012         Add #include <iosfwd>.
4013
4014 2003-09-07  Angus Leeming  <leeming@lyx.org>
4015
4016         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4017
4018         * converter.h: forward declare LatexRunParams.
4019         * encoding.h: remove #include "lyxrc.h".
4020         * lyxtext.h: remove #include "LColor.h".
4021         * lyxtextclass.h: remove #include "support/types.h".
4022         * trans.h: remove #include "tex-accent.h".
4023         * trans_mgr.h: remove #include "tex-accent.h".
4024         * insets/inset.h: remove #include "support/types.h", <vector>.
4025         * insets/insetcollapsable.h: remove #include "LColor.h".
4026         * insets/insetinclude.h: remove #include "dimension.h".
4027         * insets/insetlatexaccent.h: remove #include "dimension.h".
4028         * insets/insetoptarg.h:: remove #include "insettext.h".
4029         * insets/insettext.h: remove #include "dimension.h",
4030         <boost/shared_ptr.hpp>
4031
4032         * insets/renderers.h: add #include "dimension.h".
4033         * insets/updatableinset.h: add #include "support/types.h".
4034
4035         * many .C files: Associated changes.
4036
4037 2003-09-06  Angus Leeming  <leeming@lyx.org>
4038
4039         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4040         one, inside testInvariant.
4041
4042         * PrinterParams.C: new file.
4043         * PrinterParams.[Ch]: move the function bodies out of line.
4044
4045 2003-09-06  Angus Leeming  <leeming@lyx.org>
4046
4047         * ParagraphParameters.h: forward declare ParameterStruct rather than
4048         including its header file.
4049         (depth): moved out-of-line.
4050
4051 2003-09-06  Angus Leeming  <leeming@lyx.org>
4052
4053         * BufferView_pimpl.h:
4054         * kbmap.h:
4055         * kbsequence.h:
4056         * lyxfunc.h: forward declare LyXKeySym rather than
4057         #include "frontends/LyXKeySym.h".
4058
4059         * BufferView_pimpl.C:
4060         * kbmap.C:
4061         * kbsequence.C:
4062         * lyxfunc.C: associated changes.
4063
4064 2003-09-06  Angus Leeming  <leeming@lyx.org>
4065
4066         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4067         As a result, can remove the #include "insets/inset.h" from BufferView.h
4068
4069 2003-09-06  Angus Leeming  <leeming@lyx.org>
4070
4071         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4072         As a result, can remove the #include "insets/inset.h" from BufferView.h
4073
4074 2003-09-06  Angus Leeming  <leeming@lyx.org>
4075
4076         * buffer_funcs.C:
4077         * buffer.h:
4078         * bufferlist.C:
4079         * BufferView.C:
4080         * bufferview_funcs.C:
4081         * BufferView_pimpl.C:
4082         * CutAndPaste.C:
4083         * lyx_cb.C:
4084         * lyxfunc.C:
4085         * paragraph.h:
4086         * ParagraphParameters.C:
4087         * tabular.C:
4088         * text3.C:
4089         * toc.C:
4090         * undo_funcs.C:
4091         * frontends/controllers/ControlDocument.C:
4092         * insets/insetcaption.C: rearrange the #includes into some sort of
4093         coherent order.
4094
4095         * buffer.h: remove #includes ErrorList.h, undo.h
4096
4097 2003-09-06  Angus Leeming  <leeming@lyx.org>
4098
4099         * support/types.h: add a 'depth_type' typedef, used to store the
4100         nesting depth of a paragraph.
4101
4102         * paragraph.h:
4103         * ParameterStruct.h: use this lyx::depth_type typedef rather than
4104         defining explicitly.
4105
4106         * buffer.h:
4107         * paragraph_funcs.h:
4108         * ParagraphParameters.h:
4109         * sgml.h: use lyx::depth_type rather than Paragraph or
4110         ParameterStruct's depth_type.
4111
4112         * buffer.h
4113         * paragraph_funcs.h: no need to #include paragraph.h anymore.
4114
4115         * BufferView.C:
4116         * BufferView_pimpl.C:
4117         * CutAndPaste.C:
4118         * ParagraphParameters.C:
4119         * buffer_funcs.C:
4120         * bufferlist.C:
4121         * bufferview_funcs.C:
4122         * lyx_cb.C:
4123         * lyxfunc.C:
4124         * tabular.C:
4125         * text3.C:
4126         * toc.C:
4127         * undo_funcs.C:
4128         * frontends/LyXView.C:
4129         * frontends/controllers/ControlDocument.C:
4130         * frontends/controllers/ControlErrorList.C:
4131         * insets/insetbibitem.C:
4132         * insets/insetbranch.C:
4133         * insets/insetcaption.C:
4134         * insets/insetcollapsable.C:
4135         * insets/insetenv.C:
4136         * insets/insetert.C:
4137         * insets/insetfloat.C:
4138         * insets/insetfoot.C:
4139         * insets/insetfootlike.C:
4140         * insets/insetnewline.C:
4141         * insets/insetquotes.C:
4142         * insets/insettabular.C:
4143         * insets/insettext.C:
4144         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4145
4146         * frontends/controllers/ControlChanges.C: #include "changes.h".
4147
4148 2003-09-06  Angus Leeming  <leeming@lyx.org>
4149
4150         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4151         than #including paragraph.h.
4152
4153         * ParagraphList.h:
4154         * RowList.h: deleted. Superfluous.
4155
4156         * CutAndPaste.h:
4157         * iterators.h:
4158         * lyxcursor.h:
4159         * lyxtext.h:
4160         * text_funcs.h:
4161         * undo.h:
4162         * undo_funcs.h:
4163         * insets/inset.h:
4164         * insets/insettext.h: use ParagraphList_fwd.h rather than
4165         ParagraphList.h.
4166
4167         * paragraph.h: don't forward declare ParagraphList.
4168
4169         * buffer.h:
4170         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4171         rather than ParagraphList.h. paragraph.h is still needed for the
4172         Paragraph::depth_type parameters.
4173
4174         * textcursor.h: enable it to compile stand-alone in light of the
4175         above changes.
4176
4177         * bufferview_funcs.C:
4178         * iterators.C:
4179         * lyxfunc.C:
4180         * lyxrow_funcs.C:
4181         * paragraph.C:
4182         * rowpainter.C:
4183         * text.C:
4184         * text2.C:
4185         * text3.C:
4186         * text_funcs.C:
4187         * textcursor.C:
4188         * undo.C:
4189         * frontends/controllers/ControlParagraph.C:
4190         * frontends/controllers/ControlTabular.C:
4191         * insets/insetmarginal.C:
4192         * insets/insetminipage.C:
4193         * insets/insetnote.C:
4194         * insets/insetoptarg.C: add header files needed to compile again.
4195
4196 2003-09-06  Angus Leeming  <leeming@lyx.org>
4197
4198         * RowList_fwd.h: new file, forward-declaring Row rather than
4199         #including lyxrow.h.
4200
4201         * lyxrow_funcs.h:
4202         * lyxtext.h:
4203         * paragraph.h:
4204         * insets/insettext.h: use it instead of RowList.h
4205
4206         * bufferview_funcs.C:
4207         * lyxfunc.C:
4208         * lyxrow_funcs.C:
4209         * paragraph.C:
4210         * rowpainter.C:
4211         * text.C:
4212         * text2.C:
4213         * text3.C: #include "RowList.h".
4214
4215 2003-09-05  Angus Leeming  <leeming@lyx.org>
4216
4217         * factory.C (createInset):
4218         * vspace.C (c-tor): replace sscanf call with an istringstream.
4219         * ispell.C: re-add missing HP/UX headers.
4220         * lyxserver.C: re-add missing  os2 headers.
4221
4222 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
4223
4224         * BranchList.C:
4225         * graph.C:
4226         * ispell.C:
4227         * lastfiles.C:
4228         * lyx_cb.C:
4229         * lyxserver.C:
4230         * texrow.C:
4231         * text3.C: re-add missing system headers, needed for 2.95.2.
4232
4233 2003-09-05  Angus Leeming  <leeming@lyx.org>
4234
4235         Changes most place everywhere due to the removal of using directives
4236         from support/std_sstream.h.
4237
4238 2003-09-05  Angus Leeming  <leeming@lyx.org>
4239
4240         Replace LString.h with support/std_string.h,
4241         Lsstream.h with support/std_sstream.h,
4242         support/LIstream.h with support/std_istream.h,
4243         support/LOstream.h with support/std_ostream.h.
4244
4245         Changes resulting throughout the tree.
4246
4247 2003-09-05  Angus Leeming  <leeming@lyx.org>
4248
4249         * sgml.h: ensure that the header file can be compiled stand-alone.
4250         * *.C: strip out redundant #includes. (320 in total.)
4251
4252 2003-09-04  Angus Leeming  <leeming@lyx.org>
4253
4254         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4255         here (from getPackages).
4256
4257         * debug.[Ch]: add a new EXTERNAL tag.
4258
4259 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4260
4261         * text2.C (cursorEnd): simplify
4262         (setCursor): adjust
4263         (getColumnNearX): adjust
4264
4265         * text.C (computeBidiTables): adjust
4266         (fill): adjust
4267
4268         * rowpainter.C (paintChars): adjust
4269         (paintSelection): adjust
4270         (paintChangeBar): adjust
4271         (paintText): adjust
4272
4273         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4274         lastPos instead.
4275         (numberOfSeparators): adjust
4276
4277 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4278
4279         * LyXAction.C:
4280         * box.[Ch]:
4281         * lfuns.h:
4282         * lyxfunc.C:
4283         * text3.C: Restricts the mouse click functionality
4284         of insets like bibtex, include, toc and floatlist to the visible
4285         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4286         up the dialogs. Cursor has to be in front of the inset (i.e.
4287         start of row) for this to function.
4288
4289 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4290
4291         * bufferview_funcs.C (currentState): output row information
4292
4293 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4294
4295         * bufferview_funcs.C (currentState): output paragraph position
4296
4297 2003-09-04  Angus Leeming  <leeming@lyx.org>
4298
4299         * FloatList.h: move out #include "Floating.h".
4300         * LaTeX.h: move out #include "DepTable.h".
4301         * LyXAction.h: move out #include "funcrequest.h".
4302         * buffer.h: move out #include "author.h", "iterators.h".
4303         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4304         * lyx_main.h: move out #include "errorlist.h".
4305         * lyxfunc.h: move out #include "FuncStatus.h".
4306         * lyxtext: move out #include "lyxcursor.h".
4307         * paragraph_pimpl.h: move out #include "counters.h".
4308
4309 2003-09-03  Angus Leeming  <leeming@lyx.org>
4310
4311         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4312         preamble_snippets list, enabling us to add snippets to the preamble
4313         only if the snippet was not there already.
4314
4315 2003-09-04  Angus Leeming  <leeming@lyx.org>
4316
4317         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4318
4319 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4320
4321         * lyxfunc.C (dispatch): if fitCursor did something be sure to
4322         update
4323
4324 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4325
4326         * BranchList.C: point fix, earlier forgotten
4327
4328 2003-09-02  Angus Leeming  <leeming@lyx.org>
4329
4330         * box.C (contains): renamed from 'contained' after a fantastic
4331         amount of hot air.
4332
4333 2003-09-02  John Levon  <levon@movementarian.org>
4334
4335         * BufferView.C:
4336         * lyxcursor.h:
4337         * lyxcursor.C:
4338         * lyxfunc.C:
4339         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4340
4341 2003-09-02  John Levon  <levon@movementarian.org>
4342
4343         * text2.C: simplification of cursorEnd(), including partial
4344         fix for bug 1376
4345
4346 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4347
4348         * buffer.C (readFile): add a space
4349
4350 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
4351
4352         * BufferView_pimpl.C (update): remove bogus fitCursor() call
4353
4354 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4355
4356         * buffer.C (readFile): new function, take a filename and a
4357         ParagraphList::iterator
4358         (readFile): adjust
4359         (readFile): adjust, make it private. don't use setStream, make
4360         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4361         always contain the filename.
4362
4363         * BufferView.C (insertLyXFile): simplify and make it work for
4364         gzipped files.
4365
4366 2003-08-30  John Levon  <levon@movementarian.org>
4367
4368         * Makefile.am: fix dist (from Kayvan)
4369
4370 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4371
4372         * most files: change to use const Buffer refs
4373
4374 2003-08-27  André Pönitz  <poenitz@gmx.net>
4375
4376         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4377         on top of ownerPar().
4378
4379 2003-08-27  John Levon  <levon@movementarian.org>
4380
4381         * funcrequest.C: properly initialise POD members
4382
4383 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4384
4385         * lyxtext.h (top_y): move top_y from here
4386         * text.C:
4387         * text2.C:
4388         * text3.C:
4389         * BufferView.[Ch]:
4390         * BufferView_pimpl.[Ch]: to here
4391         * frontends/screen.C:
4392         * insets/insettabular.C:
4393         * insets/insettext.C: adjust
4394         * rowpainter.[Ch] (paintRows): remove LyXText & argument
4395
4396 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4397
4398         * BufferView.[Ch]:
4399         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4400
4401 2003-08-26  André Pönitz  <poenitz@gmx.net>
4402
4403         * paragraph_func.[Ch] (outerPar): new function
4404
4405         * paragraph.C:
4406         * paragraph_funcs.C:
4407         * paragraph_funcs.h:
4408         * paragraph_pimpl.C:
4409         * text2.C: remove Inset::par_owner
4410
4411 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
4412
4413         * lyxrow_funcs.C:
4414         * lyxtext.h:
4415         * text.C:
4416         * text2.C: eliminates the needFullRow/display() stuff
4417         altogether, putting the logic in metrics/draw in the insets.
4418
4419 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
4420
4421         * text2.C (redoParagraphInternal, redoParagraphs):
4422         * text.C (redoParagraph): add a call to updateRowPositions at the
4423         end of each 'metrics-like' call. Remove all others.
4424         (getRow): remove the 'y-computing' version.
4425         (getRowNearY): do not compute nor return the real y. Solve the
4426         'y < 0' problem and simplify.
4427
4428 2003-08-22  Angus Leeming  <leeming@lyx.org>
4429
4430         * *.[Ch]: clean-up of licence and author blurbs.
4431         Also move config.h out of a few .h files and into a few .C files.
4432
4433 2003-08-22  André Pönitz  <poenitz@gmx.net>
4434
4435         * lyxrow.[Ch]: add x_ and *fill_ members
4436
4437         * lyxtext.h:
4438         * text.C:
4439         * rowpainter.C:
4440         * text2.C: adjust/remove prepareToPrint() calls
4441
4442 2003-08-22  André Pönitz  <poenitz@gmx.net>
4443
4444         * lyxrow.[Ch]: add  end_ member
4445
4446         * lyxrow_funcs.C: use LyXRow::end_
4447
4448         * lyxtext.h (singleWidth): add LyXFont parameter
4449
4450         * rowpainter.C:
4451         * text2.C: adjust LyXText::singleWidth() calls
4452
4453         * text.C (redoParagraph): simplify row breaking logic
4454
4455
4456 2003-08-19  André Pönitz  <poenitz@gmx.net>
4457
4458         * funcrequest.C: initialize button_ member
4459
4460         * text3.C:
4461         * rowpainter.[Ch]: interface consolidation
4462
4463 2003-08-18  André Pönitz  <poenitz@gmx.net>
4464
4465         * BufferView.C:
4466         * BufferView_pimpl.C:
4467         * lyxfind.C:
4468         * paragraph_funcs.C:
4469         * rowpainter.C:
4470         * text3.C: remove LyXScreen::draw() and fitCursor calls
4471
4472         * BranchList.h: remove spurious semicolons
4473
4474         * MenuBackend.C: fix branchlist related crash
4475
4476 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
4477
4478         * BranchList.[Ch]:
4479         * InsetList.[Ch]:
4480         * LColor.[Ch]:
4481         * LyXAction.C:
4482         * Makefile.am:
4483         * MenuBackend.[Ch]:
4484         * bufferparams.[Ch]:
4485         * factory.C:
4486         * lfuns.h:
4487         * lyxfunc.C:
4488         * text3.C: implements the 'branch inset'
4489         idea. This allows the output of various versions of a document
4490         from a single source version, selectively outputing or suppressing
4491         output of parts of the text.
4492         This implementation contains a 'branch list editor' in a separate
4493         tab of the document settings dialog. Branches are user definable
4494         and have a "display colour" to distinguish them on-screen.
4495
4496         ColorHandler was somewhat cleaned up.
4497         (1) make possible a dynamically growing LColor list by allowing
4498         the graphic context cache to grow along (vector);
4499         (2) eliminate an IMHO unnecessary step in colour allocation.
4500
4501 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
4502
4503         * BufferView_pimpl.C: compile fix
4504
4505 2003-08-15  André Pönitz  <poenitz@gmx.net>
4506
4507         * rowpainter.C: remove extra metrics calls
4508
4509         * lyxtext.h: merge the two constructors into a single one,
4510           pass reference to owner's par list
4511
4512         * BufferView_pimpl.C:
4513         * text.C:
4514         * text2.C: adjust
4515
4516 2003-08-15  André Pönitz  <poenitz@gmx.net>
4517
4518         * lyxrow_funcs.[Ch]:
4519         * lyxtext.h:
4520         * paragraph.h:
4521         * paragraph_funcs.C:
4522         * rowpainter.C:
4523         * text.C:
4524         * text2.C:
4525         * text3.C:
4526         * text_funcs.C: split LyXText::rowlist_ into individual
4527         Paragraph::rows_ chunks
4528
4529         * BufferView.[Ch]:
4530         * BufferView_pimpl.[Ch]:
4531         * lyxfind.C:
4532         * lyxtext.h:
4533         * text3.C: remove toggleSelection()
4534
4535 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
4536
4537         * bufferlist.C: beautify two alerts (shorter text of buttons)
4538         * buffer.C: Remove redundant ' ' from message
4539         * tabular.h:
4540         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4541         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4542         rename VALIGN_CENTER to VALIGN_MIDDLE
4543
4544 2003-08-11  André Pönitz  <poenitz@gmx.net>
4545
4546         * lyxtext.h (getPar):
4547         * text.C: new function
4548
4549 2003-08-11  André Pönitz  <poenitz@gmx.net>
4550
4551         * Makefile.am:
4552         * tracer.[Ch]: remove unneeded files
4553
4554         * InsetList.[Ch]: remove resizeInsetsLyXText()
4555
4556         * lyxtext.h:
4557         * text.C:
4558         * text2.C:
4559         * text3.C: merge insertParagraphs() and appendParagraph()
4560         remove breakAgain(), update()
4561
4562         * BufferView_pimpl.[Ch]:
4563         * bufferview_funcs.[Ch]:
4564         * lyxfunc.C:
4565         * paragraph.[Ch]:
4566         * rowpainter.C:
4567         * tabular.C: adjust after text & InsetList changes.
4568
4569 2003-08-08  André Pönitz  <poenitz@gmx.net>
4570
4571         * text.C (insertChar, backspace): replace rowlist fiddling
4572         with rebreak of full par
4573
4574         * lyxtext.h:
4575         * text.C (breakAgainOneRow, redoHeightOfParagraph,
4576         checkParagraph, updateInset): removed
4577
4578 2003-08-07  André Pönitz  <poenitz@gmx.net>
4579
4580         * paragraph.C:
4581         * text3.C: merge some LFUN handlers, remove dead code
4582
4583 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4584
4585         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4586
4587 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
4588
4589         * text2.C (DEPM): fix part of bug 1255 and 1256
4590
4591 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4592
4593         * BufferView_pimpl.C (workAreaDispatch): change to use
4594         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4595         that are no mouse related.
4596
4597 2003-08-05  André Pönitz  <poenitz@gmx.net>
4598
4599         * BufferView.[Ch]:
4600         * BufferView_pimpl.[Ch]:
4601         * bufferview_funcs.C:
4602         * text2.C:
4603         * text3.C: rip out "deep update"
4604
4605         * textcursor.[Ch] (last_sel_cursor): remove unused member
4606
4607 2003-08-04  André Pönitz  <poenitz@gmx.net>
4608
4609         * BufferView.[Ch]:
4610         * BufferView_pimpl.[Ch]:
4611         * ParagraphParameters.C:
4612         * bufferview_funcs.C:
4613         * lyx_cb.C:
4614         * lyxfind.C:
4615         * lyxfunc.C:
4616         * text.C:
4617         * text2.C:
4618         * text3.C: replace "complicated" BufferView::update(...) calls with
4619         simpler ones.
4620
4621         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4622
4623 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
4624
4625         * Makefile.am (lyx_SOURCES): add paper.h
4626
4627 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4628
4629         * Makefile.am: move things around so that both lyx-qt and
4630         lyx-xforms can be built (according to --with-frontend). Then lyx
4631         is a symbolic link to lyx-[firstfrontend]
4632
4633 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
4634
4635         * Always use std::endl with lyxerr
4636
4637 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
4638
4639         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4640
4641 2003-08-01  André Pönitz  <poenitz@gmx.net>
4642
4643         * BufferView.[Ch]:
4644         * BufferView_pimpl.[Ch]:
4645         * lyxfunc.C:
4646         * text3.C: merge BufferView::repaint() and BufferView::update()
4647
4648 2003-08-01  José Matos  <jamatos@lyx.org>
4649
4650         * buffer.[Ch]: file_format is no longer a buffer data element.
4651
4652 2003-08-01  André Pönitz  <poenitz@gmx.net>
4653
4654         * BufferView.C:
4655         * lyxtext.h:
4656         * text.C:
4657         * text2.C: make redoParagraph more independent of current cursor
4658
4659         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4660         * text.C:
4661         * text2.C: remove unneeded members
4662
4663 2003-07-30  André Pönitz  <poenitz@gmx.net>
4664
4665         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4666
4667         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4668           create a single function...
4669
4670         * paragraph_funcs.C (moveItem): ... here.
4671
4672         * text.C:
4673           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4674
4675 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
4676
4677         * LColor.[Ch]: Add comment and greyedout logical colors.
4678
4679 2003-07-30  André Pönitz  <poenitz@gmx.net>
4680
4681         * tabular.C: don't use Assert too heavily. This crashes where it
4682           shouldn't
4683
4684 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
4685
4686         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4687         is disabled (bug 1232)
4688
4689 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4690
4691         * factory.C: limited 'arg' scope
4692
4693 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4694
4695         * factory.C: fixed Note submenu issues
4696
4697 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4698
4699         * factory.C: submenu for Note/Comment/Greyedout
4700
4701 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
4702
4703         * lyx_main.C (LyX):
4704         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4705
4706 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
4707
4708         * LaTeXFeatures.C:
4709         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4710         greyedout. Patch provided by Jürgen Spitzmüller.
4711
4712 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4713
4714         * kbmap.C (read): fix error message when reading bind files
4715
4716 2003-07-29  Angus Leeming  <leeming@lyx.org>
4717
4718         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4719         certainly does not do what it purports to do. I am doing it, and
4720         us, a favour by killing it.
4721
4722 2003-07-28  José Matos  <jamatos@lyx.org>
4723
4724         * buffer.C (readBody, do_writeFile):
4725         * paragraph.C(readParagraph): \end_document replaces \the_end.
4726
4727 2003-07-29  André Pönitz  <poenitz@gmx.net>
4728
4729         * BufferView.[Ch]:
4730         * BufferView_pimpl.[Ch]:
4731         * lyxfunc.C:
4732         * text2.C:
4733         * text3.C:
4734         * textcursor.[Ch]: remove toggleToggle & Co
4735
4736 2003-07-28  José Matos  <jamatos@fep.up.pt>
4737
4738         * buffer.C (readParagraph):
4739         * params_func (readParToken, readParagraph):
4740         * paragraph.C (write): \layout -> \begin_layout.
4741
4742 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4743
4744         * lyxlex_pimpl.C (setFile): clean up slightly.
4745
4746         * bufferparams.h: add compressed var
4747
4748         * buffer_funcs.C (readFile): adjust for LyXLex change
4749         (newFile): ditto + simplify
4750
4751         * buffer.C (writeFile): handle writing of compressed files
4752
4753         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4754         Check if the file is compressed and set a bufferparm if so.
4755
4756         * Makefile.am (lyx_LDADD): remove explicit -lz
4757
4758 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4759
4760         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4761         makeDocBookFile): put the real LyX version in the first line of
4762         the file
4763
4764         * version.h:
4765         * version.C.in: remove lyx_docversion
4766
4767         * tabular.C (write_attribute): add a template-based version to
4768         write enums properly
4769
4770 2003-07-28  André Pönitz  <poenitz@gmx.net>
4771
4772         * lyxtext.h:
4773         * text.C:
4774         * text2.C:
4775         * text3.C: use doubles again for x-coordinates. They are needed.
4776
4777 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4778
4779         * messages.C (getLocaleDir): use lyx_localedir()
4780
4781         * lyxlex_pimpl.C (setFile): compress stuff
4782
4783         * buffer.C (writeFile): add some compression stuff
4784         (do_writeFile): new func, dont call expliti close... will this
4785         breake anything?
4786
4787         * Makefile.am (lyx_LDADD): add -lz
4788
4789 2003-07-28  José Matos  <jamatos@fep.up.pt>
4790
4791         * buffer.C: increment file format.
4792         * paragraph_funcs (readParagraph, readParToken):
4793         * paragraph.C (readParagraph): add \end_layout.
4794
4795 2003-07-27  Angus Leeming  <leeming@lyx.org>
4796
4797         * Makefile.am: remove special casing for configure-time setting of
4798         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4799
4800         * lyx_main.C (init): remove all Jean-Marc's magic setting of
4801         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4802
4803 2003-07-26  André Pönitz  <poenitz@gmx.net>
4804
4805         * paragraph_func.[Ch]:
4806         * paragraph.C (realizeFont): inline it whereever it is used
4807
4808         * rowpainter.C:
4809         * text.C:
4810         * text2.C:
4811         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4812
4813
4814 2003-07-26  André Pönitz  <poenitz@gmx.net>
4815
4816         *       lyxtext.h:
4817         * text.C:
4818         * text2.C: get rid of LyXText::need_break_row
4819
4820 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4821
4822         * toc.[Ch]: put namespace toc inside namespace lyx
4823
4824         * MenuBackend.C (expandToc2): adjust for lyx::toc
4825         (expandToc): ditto
4826
4827         * lyxfunc.C (dispatch): adjust for lyx::find
4828
4829         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4830         lyx::find instead. Reorganize a bit.
4831         (LyXReplace): rename to replace
4832         (LyXFind): rename to find
4833
4834         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4835         (dispatch): ditto
4836
4837 2003-07-26  André Pönitz  <poenitz@gmx.net>
4838
4839         * text.C (setHeightOfRow): restrict scope of temporary variable
4840
4841         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
4842           code (never has been used?)
4843
4844 2003-07-27  Asger Alstrup  <alstrup@local>
4845
4846         * text.C (fill): Optimise algorithm to exploit that we can reuse
4847         the LyXFont for many characters.
4848         (setHeightOfRow): Same thing.
4849         (rowBreakPoint): Same thing.
4850
4851 2003-07-26  Asger Alstrup  <alstrup@local>
4852
4853         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4854
4855         * text.C (singleWidth): Spurious font copying in hot-spot
4856         singleWidth avoided. Reorder tests for arabic for efficiency.
4857
4858         * text.C (fill): handle empty paragraphs better.
4859
4860 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4861
4862         * ispell.C:
4863         * encoding.h: add includes
4864
4865         * lyxrc.C: remove reading of bind files
4866
4867         * lyx_main.C (init): setup bindings and menus only if we have a
4868         gui.
4869
4870         * kbmap.C (read): new method. Do the actual reading of bind
4871         files.
4872
4873         * converter.C (dvipdfm_options):
4874         * bufferparams.C:
4875         * lyxrc.C (read):
4876         (output): adapt PAPER_* enums.
4877
4878         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4879
4880         * bufferparams.h: remove paper-related enums from there
4881
4882         * paper.h: New file. A trivial header file to hold paper-related
4883         enums. It should later expand to contain many paper-related
4884         horrors access.
4885
4886         * lyxrc.C: declare extern displayTranslator
4887
4888 2003-07-27  José Matos  <jamatos@fep.up.pt>
4889
4890         * tabular.[Ch] (linuxdoc): add support for tables and figures
4891         (linuxdoc).
4892
4893 2003-07-27  José Matos  <jamatos@fep.up.pt>
4894
4895         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4896         consistency in both functions.
4897         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4898
4899 2003-07-26  Asger Alstrup  <alstrup@local>
4900
4901         * rowpainter.C (paintRows): Change algorithm to work directly on
4902         the insets rather than asking every character in the document
4903         whether its an inset.
4904
4905 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
4906
4907         * buffer.C (openFileWrite): factorize some code
4908
4909 2003-07-26  Angus Leeming  <leeming@lyx.org>
4910
4911         * lyx_cb.C:
4912         * lyx_main.[Ch]: replace occurances of system_tempdir with
4913         os::getTmpDir().
4914
4915 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4916
4917         * rename Inset to InsetOld
4918
4919 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
4920
4921         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4922         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4923         which I think is a bit clearer. EDIT is gone, since it was
4924         premature optimisation, and broken for mathed anyway.
4925         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4926         with cursor positioning in insets as well (math insets still do not
4927         work, but that's a different story anyway.) It mysteriously
4928         crashes sometimes with undo in the first paragraph, but I'm fairly
4929         confident that this is a compiler bug.
4930
4931 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4932
4933         * paragraph.C (Paragraph): adjust for new clone return type
4934         (operator==): ditto
4935         (copyIntoMinibuffer): ditto
4936
4937 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
4938
4939         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4940         by not having a special case, and always doing a full rebreak of
4941         the document after undo.
4942
4943 2003-07-23  Angus Leeming  <leeming@lyx.org>
4944
4945         * factory.C (createInset): InsetExternal::setParams now takes a
4946         Buffer const * arg.
4947
4948 2003-07-23  Angus Leeming  <leeming@lyx.org>
4949
4950         * factory.C (createInset): changed interface to the external and
4951         graphics mailers' string2params functions.
4952
4953 2003-07-23  Angus Leeming  <leeming@lyx.org>
4954
4955         * factory.C (createInset): pass a
4956         Buffer const * parameter to InsetExternalMailer's string2params.
4957
4958 2003-07-22  John Levon  <levon@movementarian.org>
4959
4960         * Thesaurus.h: include the right aiksaurus header
4961
4962 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4963
4964         * MenuBackend.C (expand): check menu shortcuts unconditionally
4965
4966 2003-07-21  Angus Leeming  <leeming@lyx.org>
4967
4968         * factory.C (createInset): pass a
4969         buffer_path parameter to InsetGraphicsMailer's string2params.
4970
4971 2003-07-21  Angus Leeming  <leeming@lyx.org>
4972
4973         * BufferView_pimpl.C (buffer):
4974         * buffer.C (d-tor):
4975         * lyx_main.C (LyX):
4976         * lyxfunc.C (dispatch):
4977         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4978         rather than the grfx shortcut.
4979
4980 2003-07-21  André Pönitz  <poenitz@gmx.net>
4981
4982         * rowpainter.C: remove unused variables
4983
4984         * tabular_funcs.C:
4985         * tabular_funcs.h: move to tabular.C
4986         * Makefile.am: adjust
4987
4988         * tabular.[Ch]: basic optical cleaning
4989
4990         * author.h: pass references, not values
4991
4992 2003-07-18  André Pönitz  <poenitz@gmx.net>
4993
4994         * lyxtext.h:
4995         * metricsinfo.C:
4996         * metricsinfo.h:
4997         * rowpainter.C:
4998         * text.C:
4999         * text2.C:
5000         * text3.C: two-phase drawing for InsetText and InsetTabular
5001         some float -> int changes.
5002
5003 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5004
5005         * lyx_main.C: fix the fix
5006
5007 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5008
5009         * lyx_main.C: fix a crash in batch mode if no files specified
5010         * converter.C: ws
5011
5012 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
5013
5014         * format.[Ch] (papersize): moved to BufferParams
5015         * converter.[Ch] (dvips_options): moved to BufferParams
5016         (dvipdfm_options): moved to anon namespace
5017         * bufferparams.[Ch]: added above functions.
5018
5019 2003-07-17  André Pönitz  <poenitz@gmx.net>
5020
5021         * lyxtext.h:
5022         * rowpainter.C:
5023         * text2.C: don't call inset->update() anymore
5024
5025         * metricsinfo.[Ch]: add convenience constructor
5026
5027 2003-07-16  André Pönitz  <poenitz@gmx.net>
5028
5029         * lyxcursor.[Ch]:
5030         * lyxfunc.[Ch]:
5031         * text.C:
5032         * text2.C: replace the LyXCursor::irow_ member with
5033          on-demand computation of the value
5034
5035 2003-07-16  John Levon  <levon@movementarian.org>
5036
5037         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5038
5039 2003-07-15  André Pönitz  <poenitz@gmx.net>
5040
5041         * text.C:
5042         * text2.C: remove no more needed refresh_row
5043
5044 2003-07-15  André Pönitz  <poenitz@gmx.net>
5045
5046         * lyxtext.h:
5047         * rowpainter.C:
5048         * text2.C:
5049         * text3.C: refresh_status tristate -> need_update bool
5050
5051 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
5052
5053         * lyxtext.h (init): remove reinit argument (act as if always true)
5054         * text2.C: adjust to that
5055
5056 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5057
5058         * bufferview_funcs.[Ch]: introduce function replaceSelection()
5059         * text3.C: use it to delete selections in some cases
5060         (bugs 441, 673, 702, 954).
5061
5062 2003-07-14  André Pönitz  <poenitz@gmx.net>
5063
5064         * rowpainter.[Ch]: reduce interface
5065
5066 2003-07-14  André Pönitz  <poenitz@gmx.net>
5067
5068         * BufferView_pimpl.C:
5069         * text2.C: adjust after removing unused BufferView * argument
5070
5071 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
5072
5073         * text2.C (init): fix a crash fired on resize
5074
5075 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
5076
5077         * buffer.[Ch]: added new closing signal
5078         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5079         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5080         BufferView::Pimpl via the closing the signal
5081
5082 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
5083
5084         * buffer.[Ch]: take out all bv-related from buffer
5085         * BufferView.C:
5086         * BufferView_pimpl.[Ch]: connect to new signals
5087         * CutAndPaste.C: removed useless asserts
5088         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5089         * lyxvc.[Ch]:
5090         * vc-backend.[Ch]:
5091         * lyxfunc.C: moved view-related funciontality from vc here
5092         * paragraph.C: removed outdated comments
5093         * text.C: ws
5094
5095 2003-07-10  André Pönitz  <poenitz@gmx.net>
5096
5097         * BufferView_pimpl.C:
5098         * tabular.h:
5099         * tabular_funcs.C:
5100         * text.C:
5101         * text2.C: remove InsetText::InnerCache, clean up consequences
5102
5103 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
5104
5105         * ispell.C: fix two typos in error messages
5106
5107 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
5108
5109         * Extend Note inset to other forms of annotation like Comment
5110         and Greyedout. Right button click gives dialog.
5111
5112         Files modified or added (+):
5113
5114         * insetnote.[Ch]
5115         * FormNote.[Ch]      +
5116         * ControlNote.[Ch]   +
5117         * form_note.fd       +
5118         * Makefile.am in frontends/xforms, frontends/xforms/forms,
5119         frontends/controllers
5120         * xforms/Dialogs.C
5121         * factory.C
5122
5123 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5124
5125         * aspell.C: add missing namespace lyx::support
5126
5127 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
5128
5129         * BufferView.[Ch] (newFile): Add
5130         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5131         * LaTeX.[Ch] (message): added this signal and use it
5132         * buffer.[Ch] (busy, message): added these signals and use them
5133         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5134         * converter.C:
5135         * exporter.C:
5136         * format.C:
5137         * importer.C: use buffer signals instead of direct bv calling
5138         * lyx_cb.[Ch] (ShowMessage): removed
5139         * lyx_main.C:
5140         * lyxfunc.C:
5141         * paragraph_funcs.C:
5142         * text2.C: use buffer signals
5143
5144 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5145
5146         * introduce namespace lyx::graphics
5147
5148 2003-07-02  André Pönitz  <poenitz@gmx.net>
5149
5150         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5151
5152 2003-07-01  André Pönitz  <poenitz@gmx.net>
5153
5154         * text.C:
5155         * text2.C:
5156         * text3.C:
5157         * text_funcs.[Ch]:
5158         * textcursor.h:
5159         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5160           text*.C to text_func.C
5161
5162 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5163
5164         * introduce namespace lyx::support
5165
5166 2003-06-30  André Pönitz  <poenitz@gmx.net>
5167
5168         * Chktex.C:
5169         * funcrequest.C:
5170         * lyxtext.h:
5171         * text.C: re-enable --with-included-string
5172
5173 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5174
5175         * textcursor.C: add <config.h>
5176
5177         * text.C (getWord): remove const from word_location arg
5178
5179         * lyxvc.C (getLogFile): fix const type order
5180
5181         * lyxtext.h: remove const from word_location arg, add arg name
5182
5183         * lyxlayout.h: currect type on labeltype.
5184
5185         * importer.C: correct \file
5186
5187         * converter.C (intToFormat): use std:: on ret val, ws changes
5188
5189         * bufferlist.h: correct \file
5190
5191         * buffer.C (makeLinuxDocFile): fix const type order
5192         (makeDocBookFile): ditto
5193         (fillWithBibKeys): use std:: on stdlib args.
5194
5195         * CutAndPaste.C: fix authors.
5196         (availableSelections): use std:: on return vector
5197
5198 2003-06-27  André Pönitz  <poenitz@gmx.net>
5199
5200         * BufferView_pimpl.C:
5201         * bufferview_funcs.C:
5202         * lyxcursor.C:
5203         * lyxcursor.h:
5204         * lyxfunc.C:
5205         * lyxtext.h:
5206         * rowpainter.C:
5207         * text.C:
5208         * text2.C:
5209         * text3.C: remove LyXCursor::row_ member
5210
5211         * lyxtext.h:
5212         * text.C: rename fullRebreak() to partialRebreak() and implement
5213           a fullRebreak() that really bereks fully
5214
5215         * textcursor.h: new struct for cursor-related data
5216
5217 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
5218
5219         * lyx_main.C (LyX): get full path of document loaded on the
5220         command line
5221
5222 2003-06-26  André Pönitz  <poenitz@gmx.net>
5223
5224         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5225           remove unused/broken operator>,<,>=.
5226
5227         *       text.C: remove only use of broken operator<= in an Assert().
5228
5229 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5230
5231         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5232         moved errorlist_.clear to showErrorList
5233
5234 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5235
5236         * converter.C (scanLog, runLaTeX):
5237         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5238         move the bv->showErrorList call to the callers
5239         * lyxfunc.C: i.e. here...
5240         * text2.C: and here
5241         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5242         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5243         namespace, the second to...
5244         * buffer_funcs (BufferFormat, parseErrors): added
5245         * errorlist.C (ErrorList(TeXErrors const &)): removed
5246
5247 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5248
5249         * ToolbarBackend.C (getIcon): complain when icon cannot be found
5250
5251 2003-06-24  "Garst R. Reese" <reese@isn.net>
5252
5253         * debug.C: fix typo
5254
5255 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5256
5257         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5258
5259         * version.C.in: change docversion to 1.4
5260
5261 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
5262
5263         * buffer.C: fix a bug just introduced
5264
5265 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
5266
5267         * buffer.[Ch]: added the parseError signal and use it, removed
5268         sgmlError
5269         * BufferView.[Ch] (addError): moved to ...
5270         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5271         to the Buffer::parseError signal to catch (guess what) parse errors
5272         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5273
5274 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
5275
5276         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5277         ability to create a buffer and to return an existing one from
5278         the list. Moved these functions to...
5279         * buffer_funcs.[Ch]: added
5280         * BufferView.[Ch] (loadLyXFile): added
5281         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5282         job removed from bufferlist::loadLyXFile.
5283         * buffer.C (setReadOnly): make it work without view
5284         (i.e added an if (users))
5285
5286 2003-06-19  Angus Leeming  <leeming@lyx.org>
5287
5288         * lfuns.h:
5289         * LyXAction.C (init):
5290         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5291         with LFUN_DIALOG_SHOW <name> <data>.
5292
5293 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5294
5295         * CutAndPaste.C (availableSelections): small compilation fix for
5296         ancient (gcc 2.9x) compilers
5297
5298 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
5299
5300         * text3.C (cursorNext): add tmp var
5301
5302         * text2.C (updateCounters): for function calling out of for clause
5303         (replaceSelectionWithString): ditto
5304         (insertStringAsParagraphs): ditto
5305         (getColumnNearX): add tmp var
5306         (setCursorFromCoordinates): add tmp var
5307         (cursorDownParagraph): add tmp var
5308         (deleteEmptyParagraphMechanism): add tmp var
5309
5310         * text.C (insertChar): add tmp var
5311
5312         * rowpainter.C (paintDepthBar): add tmp var
5313
5314         * CutAndPaste.C (availableSelections): potentially check all
5315         paragraphs in a cut to fill the shown strings.
5316
5317 2003-06-18  André Pönitz  <poenitz@gmx.net>
5318
5319         * kbmap.[Ch]: use vector<> instead of list<>
5320
5321 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
5322
5323         * text3.C (dispatch): handle arg to LFUN_PASTE, call
5324         pasteSelection with index
5325
5326         * text2.C (pasteSelection): modify, call pasteSelection with index
5327
5328         * paragraph.C (asString): reimplement version with no interval to
5329         call the one with interval.
5330
5331         * lyxtext.h: add index arg to pasteSelection
5332
5333         * MenuBackend.C (MenuItem): handle PasteRecent
5334         (Menu::read::Menutags): add md_pasterecent
5335         (read): handle it
5336         (expandPasteRecent): new function
5337         (expand): use it
5338
5339         * MenuBackend.h: add PasteRecent to MenuItem::Kind
5340
5341         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5342         the limited stack
5343         (availableSelections): new function
5344
5345 2003-06-17  Angus Leeming  <leeming@lyx.org>
5346
5347         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5348
5349 2003-06-17  Angus Leeming  <leeming@lyx.org>
5350
5351         * lfuns.h:
5352         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5353
5354         * lyxfunc.C (dispatch): invoke it.
5355
5356 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5357
5358         * iterators.C (operator++, ParPosition): reintroduce some
5359         const_cast for the benefit of older compilers.
5360
5361 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5362
5363         * text3.C (dispatch): do not modify clipboard when doing
5364         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5365         LFUN_DELETE_SKIP on a selection selection
5366
5367 2003-06-16  André Pönitz  <poenitz@gmx.net>
5368
5369         * BufferView.C:
5370         * buffer.C:
5371         * buffer.h:
5372         * paragraph.C:
5373         * tabular.[Ch]: IU of clone() and getLabelList();
5374
5375 2003-06-13  André Pönitz  <poenitz@gmx.net>
5376
5377         * tabular.h: compactification
5378
5379 2003-06-12  André Pönitz  <poenitz@gmx.net>
5380
5381         * tabular.C:
5382         * tabular.h:
5383         * tabular_funcs.h: some renaming plus whitespace
5384
5385 2003-06-12  André Pönitz  <poenitz@gmx.net>
5386
5387         * BufferView.C:
5388         * BufferView_pimpl.C:
5389         * CutAndPaste.C:
5390         * buffer.C:
5391         * iterators.[Ch]:
5392         * lyxfunc.C:
5393         * text.C:
5394         * toc.C: Return a Paragraph & for ParIterator::operator*()
5395
5396 2003-06-11  John Levon  <levon@movementarian.org>
5397
5398         * lyx_main.C:
5399         * ToolbarBackend.h:
5400         * ToolbarBackend.C: add "Toolbars" section and
5401         put the flags there
5402
5403 2003-06-10  Angus Leeming  <leeming@lyx.org>
5404
5405         * lfuns.h:
5406         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5407
5408         * lyxfunc.C (dispatch): invoke it.
5409
5410 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5411
5412         * main.C: protect <ios> with HAVE_IOS
5413         (main): protect sync_with_stdio with HAVE_IOS
5414
5415 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
5416
5417         * text2.C (cutSelection): adjust
5418         (pasteSelection): adjust
5419
5420         * messages.C: handle get of empty string
5421
5422         * main.C (main): use sync_with_stdio(false)
5423
5424         * lyxfunc.C (dispatch): adjust
5425
5426         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5427         (WriteAs): remove unneeded BufferView arg.
5428
5429         * bufferparams.h: use correct types on papersize, papersize2 and
5430         paperpackage.
5431
5432         * bufferparams.C (readToken): adjust for type
5433         (writeLaTeX): add missing cases to switch.
5434
5435         * bufferlist.C (quitWriteBuffer): adjust
5436         (close): adjust
5437
5438         * buffer.C (asciiParagraph): remove some commented code.
5439
5440         * CutAndPaste.C: remove current_view extern variable.
5441         (cutSelection): add BufferParams arg.
5442         (eraseSelection): add BufferParams arg.
5443         (pasteSelection): add Buffer const & arg
5444
5445 2003-06-07  John Levon  <levon@movementarian.org>
5446
5447         * buffer.C:
5448         * paragraph_funcs.C:
5449         * paragraph_pimpl.C:
5450         * text.C:
5451         * text2.C:
5452         * paragraph.h:
5453         * paragraph.C: allow InsetERT to freely space lines,
5454         and some consolidation of code
5455
5456 2003-06-06  José Matos  <jamatos@fep.up.pt>
5457
5458         * buffer.C (makeDocBookFile): fix bug #821
5459
5460 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
5461
5462         * BufferView_pimpl.C (dispatch): use Dialogs::visible
5463
5464 2003-06-04  Angus Leeming  <leeming@lyx.org>
5465
5466         * buffer.C: bump format to 224.
5467
5468 2003-06-05  André Pönitz  <poenitz@gmx.net>
5469
5470         * text2.C (redoParagraphs): remove two const_cast<>
5471
5472 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5473
5474         * ParagraphList.h: remove last remnants of NO_STD_LIST
5475
5476 2003-06-03  Angus Leeming  <leeming@lyx.org>
5477
5478         * factory.C (createInset): small change to the way InsetExternal's params
5479         are set.
5480
5481 2003-06-04  André Pönitz  <poenitz@gmx.net>
5482
5483         * buffer.h: use Undo directly instead of shared_ptr<Undo>
5484
5485         * paragraph_pimpl.h:
5486         * paragraph.[Ch]: some Inset -> UpdatableInset changes
5487
5488         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5489
5490         * undo_funcs.C: make some simple cases of undo work again
5491
5492 2003-06-03  John Levon  <levon@movementarian.org>
5493
5494         * ispell.C: HPUX doesn't have sys/select.h
5495         (from Albert Chin)
5496
5497 2003-06-03  John Levon  <levon@movementarian.org>
5498
5499         * CutAndPaste.C: update tabular and include inset
5500         buffer references
5501
5502         * buffer.h:
5503         * paragraph.h:
5504         * paragraph.C: remove owningBuffer(), don't pass Buffer
5505         to clone()
5506
5507         * factory.C: insetGraphicsParams changed
5508
5509 2003-06-02  John Levon  <levon@movementarian.org>
5510
5511         * LyXAction.C:
5512         * factory.C:
5513         * lfuns.h:
5514         * lyxfunc.C:
5515         * text3.C: remove insetparent
5516
5517 2003-06-02  John Levon  <levon@movementarian.org>
5518
5519         * buffer.h:
5520         * buffer.C: fix inset_iterator.end(), move out of line
5521         (bug 1149)
5522
5523 2003-06-01  John Levon  <levon@movementarian.org>
5524
5525         * text3.C: use a proper cut/paste when doing inset
5526         insert (from Jürgen Spitzmüller)
5527
5528 2003-06-01  John Levon  <levon@movementarian.org>
5529
5530         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5531
5532 2003-05-30  André Pönitz  <poenitz@gmx.net>
5533
5534         * rowpainter.C: unify second drawing phase
5535
5536 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5537
5538         * trans_mgr.C: remove one case of current_view
5539
5540         * text2.C (cursorBottom): delete NO_STD_LIST stuff
5541
5542         * paragraph_funcs.h: remove paragraph.h include
5543
5544         * paragraph.h: delete NO_STD_LIST stuff
5545
5546         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5547
5548         * buffer.h: remove paragraph.h include
5549
5550         * ParagraphList.C: delete file
5551
5552         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5553
5554         * toc.C (getTocList): adjust
5555
5556         * paragraph_pimpl.C (validate): adjust
5557
5558         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5559
5560         * paragraph.C (Paragraph): adjust
5561         (getPositionOfInset): use const_iterator, adjust
5562         (bibitem): use const_iterator, adjust
5563         (setInsetOwner): adjust
5564
5565         * iterators.C (operator++): adjust
5566
5567         * InsetList.[Ch]: Replace selfmade iterator with standard
5568         vector::iterator also introduce const_iterator. Remove getPos,
5569         getInset and setInset from InsetTable. Adjust accordingly.
5570
5571         * BufferView.C (lockInset): adjust
5572         (ChangeInsets): adjust
5573
5574         * tabular.[Ch]: delete commented same_id functions
5575
5576 2003-05-28  John Levon  <levon@movementarian.org>
5577
5578         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5579
5580 2003-05-28  André Pönitz  <poenitz@gmx.net>
5581
5582         * metricsinfo.[Ch]: remove 'fullredraw' member
5583
5584 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
5585
5586         * lyxtextclass.C (operator): remove caching.
5587
5588 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5589
5590         * text3.C: adjust
5591
5592         * text2.C (cursorBottom): adjust
5593         (setCounter): use ParagraphList::find, adjust
5594
5595         * text.C (workWidth): use ParagraphList::find, adjust
5596
5597         * lyxcursor.C (LyXCursor): adjust
5598
5599         * buffer.C (inset_iterator): adjust
5600
5601         * ParagraphList.h: make iterator(value_type) private, make
5602         ParagraphList a friend of iterator.
5603
5604         * ParagraphList.C (find): new function
5605
5606         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5607
5608 2003-05-27  André Pönitz  <poenitz@gmx.net>
5609
5610         * dimension.[Ch]: a -> asc, d -> des, w -> wid
5611
5612 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5613
5614         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5615
5616 2003-05-26  John Levon  <levon@movementarian.org>
5617
5618         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5619
5620 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5621
5622         * remove same_id from function signatures, adjust.
5623
5624 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5625
5626         * undo_funcs.C (createUndo): use the id functions directly, adjust.
5627
5628         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5629
5630         * paragraph.C (Paragraph): get rid of same_ids parameter
5631
5632         * ParagraphList.C (insert): adjust
5633         (push_back): adjust
5634
5635 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5636
5637         * paragraph_funcs.C (breakParagraph): adjust
5638         (breakParagraphConservative): adjust
5639
5640         * buffer.C (readParagraph): adjust
5641
5642         * ParagraphList.C (insert): take a reference instead of a pointer
5643         (insert): adjust
5644
5645         * paragraph.[Ch] (id): new function
5646
5647         * bufferlist.C (newFile): adjust
5648
5649         * ParagraphList.C (ParagraphList): adjust
5650         (assign): adjust
5651         (push_back): take a reference instead of a pointer.
5652
5653         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5654
5655         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5656         instead.
5657
5658         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5659         set else use old code.
5660
5661         * ParagraphList.C: remove all NO_NEXT code and only compile this
5662         code of NO_STD_LIST is set.
5663
5664 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5665
5666         * BufferView_pimpl.C:
5667         * TextCache.C:
5668         * TextCache.h:
5669         * bufferlist.C:
5670         * errorlist.h:
5671         * format.C:
5672         * format.h:
5673         * graph.C:
5674         * lyxfunc.C:
5675         * lyxrc.C:
5676         * graphics/GraphicsConverter.C:
5677         * graphics/PreviewLoader.C: header adjustment
5678
5679 2003-05-23  Angus Leeming  <leeming@lyx.org>
5680
5681         * LaTeXFeatures.[Ch] (useBabel): new method.
5682         * bufferparams.C (writeLaTeX): use it.
5683
5684 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5685
5686         * ParagraphList.h (set): remove unused function.
5687
5688 2003-05-23  André Pönitz  <poenitz@gmx.net>
5689
5690         * BufferView.C:
5691         * BufferView_pimpl.C:
5692         * buffer.C:
5693         * buffer.h:
5694         * lyxfunc.C:
5695         * undo_funcs.C: setUndo reworked
5696
5697         * iterators.[Ch]: add access to topmost ParagraphList
5698
5699         * lyxtext.[Ch] (workWidth): add a const
5700
5701 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5702
5703         * texrow.[Ch] (increasePos): remove function
5704         * exporter.C (export): removed unused var and outdated comment
5705
5706 2003-05-23  Angus Leeming  <leeming@lyx.org>
5707
5708         * latexrunparams.h: rename fragile as moving_arg.
5709         * paragraph.C (simpleTeXOnePar): ditto.
5710         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5711
5712 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5713
5714         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5715         (createUndo): ditto
5716         (textUndoOrRedo): comment out a currently unused var.
5717
5718         * paragraph.h (NO_NEXT): enable NO_NEXT
5719
5720         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5721
5722         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5723
5724         * exporter.C (Export): adjust for removeAutoInsets removal.
5725
5726         * buffer.C (runChktex): adjust for removeAutoInsets removal.
5727
5728         * LyXAction.C (init): remove LFUN_REMOVEERRORS
5729
5730         * BufferView.[Ch] (removeAutoInsets): delete function
5731
5732 2003-05-22  Angus Leeming  <leeming@lyx.org>
5733
5734         * latexrunparams.h: add a free_spacing variable.
5735
5736         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5737         to pass moving_arg, as the data is stored in runparams.fragile.
5738
5739         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5740         to Inset::latexOptional or to simpleTeXOnePar.
5741
5742         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5743         free_spacing arg to Inset::latexOptional.
5744
5745         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5746         free_spacing arg.
5747
5748 2003-05-22  Angus Leeming  <leeming@lyx.org>
5749
5750         * latexrunparams.h: add fragile and use_babel variables.
5751
5752         * bufferparams.[Ch] (writeLaTeX): return use_babel.
5753         * buffer.C (makeLaTeXFile): store this returned value in
5754         runparams.use_babel, thus passing it to the inset::latex methods.
5755
5756         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5757         simpleTeXSpecialChars as it is now stored in runparams.fragile.
5758
5759         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5760         longer has a fragile arg, as it is stored in runparams.fragile.
5761
5762         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5763         moving_arg parameter as the data is stored in runparams.fragile.
5764
5765         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5766         a fragile parameter as the data is stored in runparams.fragile.
5767
5768 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5769
5770         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5771
5772 2003-05-22  Angus Leeming  <leeming@lyx.org>
5773
5774         * latexrunparams.h: add a 'bool nice' which defaults to false.
5775
5776         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5777         now encapsulated within runparams.
5778
5779         * bufferlist.C (updateIncludedTeXfiles):
5780         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5781
5782 2003-05-22  Angus Leeming  <leeming@lyx.org>
5783
5784         * latexrunparams.h: new file containing struct LatexRunParams.
5785         * Makefile.am: add new file.
5786
5787         * LaTeX.[Ch] (c-tor, run):
5788         * buffer.[Ch] (makeLaTeXFile):
5789         * bufferlist.[Ch] (updateIncludedTeXfiles):
5790         * converter.C (convert, scanLog):
5791         * converter.[Ch] (runLaTeX):
5792         * exporter.C (Export):
5793         * paragraph.[Ch] (simpleTeXOnePar):
5794         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5795         * paragraph_funcs.[Ch] (latexParagraphs):
5796         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5797         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5798         pass around a LatexRunParams parameter.
5799
5800 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5801
5802         * paragraph.[Ch]: remove unused constructor
5803
5804         * ParagraphList.C (erase): new function, taking two iterators
5805
5806 2003-05-22  André Pönitz  <poenitz@gmx.net>
5807
5808         * undo_funcs.C: remove duplicated code
5809
5810         * iterator.[Ch]: operator=
5811
5812 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5813
5814         * tabular.C (SetMultiColumn): ws changes
5815
5816         * rowpainter.C (paintFirst): get rid of a ->previous
5817
5818         * lyx_cb.C (getPossibleLabel): parlist simplification
5819
5820         * BufferView.C (ChangeInsets): simplify slightly.
5821
5822 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
5823
5824         * LyXAction.C: new lfun space-insert, kill protected-space-insert
5825         * lfuns.h: new LFUN_SPACE
5826         * lyxfunc.C: protected space has a new lfun
5827         * paragraph_funcs.C: read new space insets
5828         * text3.C:
5829         * factory.C: handle new space insets
5830
5831 2003-05-22  André Pönitz  <poenitz@gmx.net>
5832
5833         * BufferView.C:
5834         * BufferView_pimpl.C:
5835         * buffer.[Ch]:
5836         * lyxfunc.C:
5837         * undo_funcs.C: return a ParIterator from getParFromID.
5838
5839         * iterators.[Ch]: add two const's
5840
5841 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5842
5843         * toc.C (getTocList): adjust
5844
5845         * iterators.[Ch]: rework for parlist
5846
5847         * buffer.C (par_iterator_begin): adjust
5848         (par_iterator_end): adjust
5849
5850         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5851
5852         * BufferView.C (removeAutoInsets): adjust
5853         (ChangeInsets): adjust
5854
5855 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
5856
5857         * text.C (top_y): fix bug 1110
5858
5859 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
5860
5861         * errorlist.[Ch]: added
5862         * buffer.C:
5863         * BufferView.[Ch]:
5864         * BufferView_pimpl.C:
5865         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5866         instead
5867
5868 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5869
5870         * Makefile.am: ensure that lyx is relinked upon changes to the
5871         various "convenience" libs.
5872
5873 2003-05-20  Angus Leeming  <leeming@lyx.org>
5874
5875         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5876         files are compiled in alphabetical order again.
5877
5878         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5879
5880 2003-05-19  Angus Leeming  <leeming@lyx.org>
5881
5882         * gettext.[Ch]: remove "char const * _(char const *)".
5883
5884 2003-05-19  André Pönitz  <poenitz@gmx.net>
5885
5886         * dimension.[Ch]: promote from mathed/dimension.[Ch]
5887
5888         * Makefile.am:
5889         * BufferView.C:
5890         * DepTable.h:
5891         * LaTeXFeatures.C:
5892         * buffer.C:
5893         * lyxfont.C:
5894         * lyxlex.h:
5895         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5896
5897 2003-05-19  André Pönitz  <poenitz@gmx.net>
5898
5899         * buffer.C:
5900         * lyxlayout.[Ch]:
5901         * lyxtextclass.[Ch]:
5902         * paragraph.C:
5903         * paragraph_funcs.[Ch]:
5904         * text2.C:
5905         * text3.C: more insetenv work
5906
5907 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
5908
5909         * ParagraphParameters.C (params2string): small bug fixed
5910
5911 2003-05-16  André Pönitz  <poenitz@gmx.net>
5912
5913         * debug.C:
5914         * bufferview_funcs.C: patch from Kornel Benko to prevent
5915           crash when _(...) is called twice in a statement
5916
5917 2003-05-16  André Pönitz  <poenitz@gmx.net>
5918
5919         * BufferView.C:
5920         * lyxfunc.C:
5921         * text.C:
5922         * text2.C:
5923         * text3.C:
5924         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5925
5926 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
5927
5928         * lyx_main.C (init): remove spurious static_cast
5929
5930 2003-05-14  André Pönitz  <poenitz@gmx.net>
5931
5932         * BufferView.C: fix format string
5933
5934 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
5935
5936         * BufferView.[Ch] (insertErrors): removed
5937         * BufferView.[Ch] (showErrorList): added
5938         * buffer.C (runChkTeX):
5939         * converter.C (scanLog): call showErrorList instead of inserterrors
5940
5941 2003-05-13  André Pönitz  <poenitz@gmx.net>
5942
5943         * BufferView_pimpl.C:
5944         * buffer.C:
5945         * bufferview_func.C:
5946         * MenuBackend.C:
5947         * lyxfunc.C:
5948         * lyxrc.C:
5949         * tex-accent.C:
5950         * text3.C:
5951         * toc.C:
5952         * tabular_funcs.h: tostr() from its own header
5953
5954         * ParagraphParameters.C:
5955         * ToolbarBackend.C:
5956         * bufferparams.C:
5957         * format.C:
5958         * lyxlex_pimpl.C:
5959         * text3.C: STRCONV()
5960
5961 2003-05-12  André Pönitz  <poenitz@gmx.net>
5962
5963         * BufferView.C:
5964         * BufferView_pimpl.C:
5965         * CutAndPaste.C:
5966         * LaTeX.C:
5967         * LaTeXFeatures.C:
5968         * ParagraphParameters.C:
5969         * buffer.C:
5970         * bufferlist.C:
5971         * bufferparams.C:
5972         * bufferview_funcs.C:
5973         * converter.C:
5974         * counters.C:
5975         * debug.C:
5976         * exporter.C:
5977         * format.C:
5978         * importer.C:
5979         * lyx_cb.C:
5980         * lyx_main.C:
5981         * lyxfont.C:
5982         * lyxfunc.C:
5983         * lyxvc.C:
5984         * paragraph.C:
5985         * paragraph_funcs.C:
5986         * tabular.C:
5987         * tabular_funcs.C:
5988         * text2.C:
5989         * text3.C:  boost::format -> bformat  all over the place
5990
5991
5992 2003-05-09  André Pönitz  <poenitz@gmx.net>
5993
5994         * LColor.[Ch]: Pimpl the #include <map> away
5995
5996 2003-05-09  John Levon  <levon@movementarian.org>
5997
5998         * bufferlist.C: never remove emergency saves
5999
6000 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6001
6002         * Makefile.am: better lib building
6003
6004 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
6005
6006         * texrow.[Ch]: remove dependency on Paragraph and just store a id
6007         instead.
6008         * paragraph_pimpl.C (simpleTeXBlanks): adjust
6009         (simpleTeXSpecialChars): adjust
6010         (simpleTeXSpecialChars): adjust
6011         * paragraph.C (simpleTeXOnePar): adjust
6012         * buffer.C (makeLaTeXFile): adjust
6013
6014         * Makefile.am (BOOST_LIBS): allow boost as system lib.
6015
6016         * text2.C (changeDepth): parlist cleanup
6017         (getColumnNearX): ditto
6018
6019         * rowpainter.C (getLabelFont): parlist cleanup
6020
6021         * bufferlist.C (newFile): parlist cleanup
6022
6023         * CutAndPaste.C (eraseSelection): parlist cleanup
6024
6025         * BufferView_pimpl.C (trackChanges): parlist cleanup
6026         (dispatch): ditto
6027
6028         * BufferView.C (lockInset): parlist cleanup.
6029         (ChangeInsets): ditto
6030
6031 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6032
6033         * CutAndPaste.h: Update file header.
6034
6035         * CutAndPaste.C: Update file header.
6036         Store the parts cut out of the Document in a limited_stack.
6037         (copySelection): adjust
6038         (pasteSelection): new function, takes the index in the limited stack.
6039         (nrOfParagraphs): adjust
6040         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6041         simplify error inset insertion.
6042         (checkPastePossible): adjust
6043
6044 2003-05-06  John Levon  <levon@movementarian.org>
6045
6046         * text2.C: don't cast wrap inset to float
6047
6048 2003-05-05  André Pönitz  <poenitz@gmx.net>
6049
6050         * iterator.C:
6051         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6052
6053         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6054           few naked Paragraph *.
6055
6056 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
6057
6058         * bufferparams.C: Output warning if a document with missing
6059         TeX document class is loaded
6060         * exporter.C: Disable TeX exports if the document class is missing
6061         * lyxtextclass.C:
6062         * lyxtextclass.h:
6063         * lyxtextclasslist.C: Handle new textclass.lst format; new method
6064         isTeXClassAvailable()
6065
6066 2003-05-03  John Levon  <levon@movementarian.org>
6067
6068         * BufferView.h:
6069         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6070         explicit cursor show/hide
6071
6072         * BufferView_pimpl.h:
6073         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6074         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6075
6076         * lyxfunc.C: hide cursor before dispatching.
6077
6078         * lyx_cb.C:
6079         * lyxfind.C:
6080         * text.C:
6081         * text3.C: remove explicit cursor hides
6082
6083 2003-05-02  André Pönitz  <poenitz@gmx.net>
6084
6085         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6086
6087         * undo_funcs.C:
6088         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6089           linked lists
6090
6091         * text2.C: tiny whitespace
6092
6093 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6094
6095         * undo_funcs.C: almost only ws changes.
6096
6097         * ParagraphList.C (splice): just return if pl is empty.
6098
6099 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6100
6101         * ParagraphList.C (splice): new function.
6102
6103         * CutAndPaste.C (pasteSelection): use it
6104
6105 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6106
6107         * CutAndPaste.C (pasteSelection): remove the last next and
6108         previous from this file.
6109
6110 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6111
6112         * CutAndPaste.C (pasteSelection): more clean up, user proper
6113         ParagraphList functions for pasteing.
6114
6115         * ParagraphList.C (insert): new function, three arg insert
6116
6117 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6118
6119         * ParagraphList.C (insert): new function, three arg insert
6120
6121         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6122         not on paragraphs.
6123
6124 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6125
6126         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6127
6128 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6129
6130         * CutAndPaste.C (pasteSelection): remove some unneeded code.
6131
6132 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6133
6134         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6135         (copySelection): clean up a bit.
6136         (pasteSelection): use make_pair
6137
6138         * ParagraphList.C (ParagraphList): implement copy constructor
6139         (operator=): implement, base on copy constructor.
6140         (assign): new func
6141
6142         * paragraph.C (erase): return a bool
6143
6144         * paragraph_pimpl.C (erasePos): remove function, move contents...
6145         (erase): ... here. Return a bool.
6146         (erase): call erase instead of erasePos.
6147
6148 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
6149
6150         * ParagraphList.h: define PitPosPair
6151         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6152         ParagraphList, fix a bug on pasting multiple pars
6153         * text2.C: change interface to C&P
6154
6155 2003-04-30  André Pönitz  <poenitz@gmx.net>
6156
6157         * undo_func.C: revert part of yesterday's patch 2
6158
6159 2003-04-30  John Levon  <levon@movementarian.org>
6160
6161         * LColor.C: s/tabular/table/
6162
6163 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6164
6165         * text3.C (dispatch): do not convert iterator -> pointer
6166         * undo_funcs.C (setCursorParUndo): ditto
6167         * text_funcs.C (transposeChars): ditto
6168
6169         * text2.C (setLayout): ws changes only
6170
6171         * text.C (breakParagraph): do not convert iterator -> pointer
6172         (insertChar): ditto
6173         (acceptChange): ditto
6174         (rejectChange): ditto
6175         (changeCase): ditto
6176         (Delete): ditto
6177         (backspace): ditto
6178
6179         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6180         pointer
6181
6182 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6183
6184         * text3.C (gotoInset): YABG (yet another bad getChar)
6185
6186 2003-04-29  André Pönitz  <poenitz@gmx.net>
6187
6188         * paragraph.h: make operator= private unimplemented as long as
6189           it is unusable
6190
6191         * ParagraphList.C: whitespace
6192
6193         * paragraph.[Ch]:
6194         * paragraph_pimpl.[Ch]:
6195         * paragraph_funcs.C:
6196         * CutAndPaste.C:
6197         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
6198
6199         * text2.C:
6200           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6201
6202 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6203
6204         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6205         * paragraph.[Ch] (erase):
6206         * paragraph_pimpl.[Ch] (erase): change return type and value
6207         * text2.C (cutSelection): some rework
6208
6209 2003-04-28  John Levon  <levon@movementarian.org>
6210
6211         * bufferlist.C: changes for unsaved changes dialog
6212
6213 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6214
6215         * bufferlist.C (newFile): set language (messages_) for new
6216         documents also.
6217
6218         * buffer.C (readFile): ws changes only.
6219
6220 2003-04-28  André Pönitz  <poenitz@gmx.net>
6221
6222         * undo_funcs.C:
6223         * lyxfunc.C:
6224         * buffer.[Ch]:
6225         * BufferView_pimpl.C:
6226         * BufferView.C: getParFromID related ParagraphList::iterator changes
6227
6228 2003-04-28  André Pönitz  <poenitz@gmx.net>
6229
6230         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6231           Changes
6232
6233 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6234
6235         * messages.C: remove one more localedir class variable.
6236
6237 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6238
6239         * messages.C (getLocaleDir): singleton generation function
6240         (Pimpl): use it.
6241         (Messages): add a default constructor.
6242
6243         * main.C (main): do not setup localedir here, do not call
6244         gettext_init.
6245
6246         * gettext.C (_): use it.
6247         (gettext_init): delete funciton
6248
6249 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6250
6251         * gettext.C (getLyXMessages): new singleton generating function.
6252
6253         * buffer.C (updateDocLang): adjust
6254
6255         * Makefile.am (messages.o): add target
6256         (main.o): remove target
6257
6258 2003-04-27  John Levon  <levon@movementarian.org>
6259
6260         * bufferlist.C:
6261         * lyx_cb.C:
6262         * lyxfunc.C:
6263         * lyxvc.C: specify cancel button in Alert::prompt
6264
6265 2003-04-26  John Levon  <levon@movementarian.org>
6266
6267         * text3.C:
6268         * lyxfunc.C:
6269         * lfuns.h:
6270         * LyXAction.C: add LFUN_INSET_SETTINGS
6271
6272         * lyxfunc.C: don't enable tabular-feature when there's
6273         just any locking inset
6274
6275 2003-04-26  John Levon  <levon@movementarian.org>
6276
6277         * bufferlist.C: re-add Cancel to buffer close question
6278
6279         * lyxfunc.C: fix import UI a bit
6280
6281 2003-04-25  John Levon  <levon@movementarian.org>
6282
6283         * gettext.C: remove the broken asserts for now
6284
6285 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6286
6287         * messages.C: make case where setlocale cannot comply work better.
6288
6289         * buffer.C (updateDocLang): new function
6290         (changeLanguage): use it
6291         (readFile): use it
6292
6293         * text2.C (setCounter): use B_ a bit.
6294
6295         * lyxlayout.C (Read): be sure to trim the label strings.
6296
6297         * messages.C (Messages): fix typo in comment
6298
6299         * buffer.C (readFile): set message_ after file is loaded.
6300         (makeDocBookFile): remove double return
6301         (changeLanguage): reset message_ upon language change.
6302         (B_): new func, use this to get translated buffer strings.
6303
6304         * main.C: add myself and Jean Marc as authors.
6305
6306 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6307
6308         * messages.[hC]: pimplify Messages, and three different pimpls to be
6309         used in different circumstances.
6310
6311         * gettext.[Ch]: change for use with new message code.
6312
6313 2003-04-24 André Pönitz <poenitz@gmx.net>
6314
6315         * factory.C: support for eqref
6316
6317 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6318
6319         * messages.[Ch]: add missing char
6320
6321         * Makefile.am (lyx_SOURCES): add messages.[Ch]
6322
6323         * messages.[Ch]: New files
6324
6325 2003-04-18  John Levon  <levon@movementarian.org>
6326
6327         * BufferView.h:
6328         * BufferView.C:
6329         * BufferView_pimpl.C:
6330         * lfuns.h:
6331         * LyXAction.C:
6332         * lyxtext.h:
6333         * text2.C: remove layout-copy/paste (bug 778)
6334
6335 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6336
6337         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6338
6339 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6340
6341         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6342         if they succeed. Act accordingly.
6343
6344 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6345
6346         * text2.C (setCharFont): adjust
6347         (setCounter): adjust
6348         (insertStringAsLines): adjust
6349
6350         * text.C (leftMargin): adjust
6351         (setHeightOfRow): adjust
6352
6353         * rowpainter.C (paintFirst): adjust
6354         (paintLast): adjust
6355
6356         * paragraph_funcs.C (depthHook): ParagraphList::iterators
6357         (outerHook): ditto
6358         (isFirstInSequence): ditto
6359         (getEndLabel): ditto
6360         (outerFont): adjust
6361
6362         * paragraph.C (getParLanguage): comment out some hard stuff.
6363
6364         * buffer.C (insertStringAsLines): take a ParagraphList as arg
6365         (sgmlError): ditto
6366         (simpleDocBookOnePar): ditto
6367         (makeDocBookFile): use ParagraphList::iterator
6368
6369         * CutAndPaste.C (pasteSelection): adjust
6370
6371 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6372
6373         * text2.C (getFont): adjust
6374         (getLayoutFont): adjust
6375         (getLabelFont): adjust
6376
6377         * paragraph_funcs.C (TeXOnePar): adjust
6378
6379         * buffer.C (simpleLinuxDocOnePar): adjust
6380         (simpleDocBookOnePar): adjust
6381
6382         * CutAndPaste.C (pasteSelection): adjust
6383
6384         * BufferView.C (getEncoding): adjust
6385
6386         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6387
6388 2003-04-16  John Levon  <levon@movementarian.org>
6389
6390         * lyxfind.C: use parlist stuff for search/changes
6391
6392 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6393
6394         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6395
6396         * text2.C (deleteEmptyParagraphMechanism): adjust
6397
6398         * text2.[Ch] (ownerParagraph): delete func (both of them
6399
6400 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6401
6402         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6403
6404 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6405
6406         * ParagraphList.C: prepare for NO_NEXT
6407
6408 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6409
6410         * text2.C (getFont): adjust
6411         (getLayoutFont): adjust
6412         (getLabelFont): adjust
6413
6414         * paragraph.C (getFont): adjust
6415         (getLabelFont): adjust
6416         (getLayoutFont): adjust
6417
6418         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6419
6420 2003-04-15  John Levon  <levon@movementarian.org>
6421
6422         From Angus Leeming
6423
6424         * lyx_main.C: handle Include in .ui files
6425
6426 2003-04-15  John Levon  <levon@movementarian.org>
6427
6428         * MenuBackend.C: make the doc files length shorter
6429
6430         * ToolbarBackend.h:
6431         * ToolbarBackend.C: handle toolbar placement flags,
6432         Minibuffer
6433
6434 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6435
6436         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6437         adjust
6438
6439         * paragraph_funcs.C (TeXOnePar): adjust
6440
6441         * paragraph.C (getLabelFont): add outerfont arg, adjust
6442         (getLayoutFont): ditto
6443         (simpleTeXOnePar): adjust
6444
6445         * paragraph_pimpl.C (realizeFont): delete func
6446
6447 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
6448
6449         * text2.C (beforeFullRowInset): added a bad getchar check, removed
6450         row argument, constify cur argument.
6451
6452 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6453
6454         * text2.C (getFont): adjust
6455         (getLayoutFont): adjust
6456         (getLabelFont): adjust
6457
6458         * paragraph_funcs.C (TeXOnePar): adjust
6459         (outerFont): new func...
6460         (realizeFont): ...moved out from here, changed this to facilitate
6461         transition
6462
6463         * paragraph.C (getFont): take outerfont as arg, adjust
6464         (simpleTeXOnePar): add outerfont arg, adjust
6465
6466         * buffer.C (simpleLinuxDocOnePar): adjust
6467         (simpleDocBookOnePar): adjust
6468
6469         * CutAndPaste.C (pasteSelection): adjust
6470
6471         * BufferView.C (getEncoding): adjust
6472
6473 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6474
6475         * text2.C (setCharFont): adjust
6476         (setCounter): adjust
6477
6478         * text.C (leftMargin): adjust
6479         (setHeightOfRow): adjust
6480
6481         * rowpainter.C (paintFirst): adjust
6482         (paintLast): adjust
6483
6484         * paragraph_pimpl.C (realizeFont): adjust
6485
6486         * paragraph.C (isFirstInSequence): move from here...
6487         * paragraph_funcs.C (isFirstInSequence): ...to here
6488
6489         * paragraph.C (outerHook): move from here...
6490         * paragraph_funcs.C (outerHook): ...to here
6491
6492         * paragraph.C (depthHook): move from here...
6493         * paragraph_funcs.C (depthHook): ...to here
6494
6495         * paragraph.C (getEndLabel): move from here...
6496         * paragraph_funcs.C (getEndLabel): ...to here
6497
6498         * text2.C (realizeFont): move from here...
6499         * paragraph_funcs.C (realizeFont): ...to here
6500
6501 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6502
6503         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6504
6505 2003-04-14  Angus Leeming  <leeming@lyx.org>
6506
6507         * LColor.[Ch]: scrap LColor mathcursor.
6508
6509 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6510
6511         * lyxlex.[Ch] (text): delete function
6512         * trans.C (Load): adjust
6513         * paragraph_funcs.C (readParToken): adjust
6514
6515 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6516
6517         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6518         vector<char> instead of a char[].
6519
6520         * lyxlex_pimpl.C (getString): adjust
6521         (next): adjust
6522         (lex): use getString
6523         (eatLine): adjust
6524         (nextToken): adjust
6525
6526         * lyxlex.C (text): use pimpl_->getString()
6527         (getBool): ditto
6528         (findToken): ditto
6529
6530 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6531
6532         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6533         (makeFontEntriesLayoutSpecific): temp var for par.size()
6534         (setLayout): temp var for ownerParagraphs().end()
6535         (fullRebreak): temp var for rows().end()
6536         (selectionAsString): temp var for boost::next(startpit), realize
6537         that the while really is a regular for loop.
6538         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6539         setCursor in one place.
6540         (setParagraph): temp vr for ownerParagraphs().end()
6541         (updateCounters): make the while loop a for loop
6542         (cutSelection): temp var for ownerParagraphs().end()
6543         (updateInset): make the do {} while() a regular for loop
6544         (getCursorX): use temp vars
6545         (setCurrentFont): use temp vars
6546         (getColumnNearX): use temp vars
6547
6548 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6549
6550         * text.C (transformChar): use temp var for getChar
6551         (computeBidiTables): use temp var for row->par()
6552         (fill): move temp vars for row->par() and pit->layout() earlier in
6553         the function.
6554         (labelFill): use temp var for row->par()
6555         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6556         asc and desc, realize that pit never changes and that firstpit is
6557         just a duplicate and not needed. Exchange rit->par() with pit in a
6558         lot of places.
6559         (breakAgain): use a temp var for boost::next(rit)
6560         (breakAgainOneRow): ditto
6561         (breakParagraph): use a temp var for rows().begin()
6562         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6563         (cursorRightOneWord): use temp var for cursor.par() and
6564         cursor.pos(), remove usage of tmpcursor.
6565         (cursorLeftOneWord): use temp var for cursor.par() and
6566         cursor.pos() only set cur at end of function.
6567
6568 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6569
6570         * text.C, text2.C: exchange all usage of Paragraph::next with
6571         boost::next(ParagraphList::iterator)
6572
6573         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6574
6575         * text2.C (cursorTop): simplify implementation
6576         (cursorBottom): ditto
6577         (setParagraph): use ParagraphList::iterator
6578         (setCurrentFont): adjust
6579         (getColumnNearX): adjust
6580         (cursorRight): adjust
6581         (cursorLeft): remove usage of Paragraph::previous
6582         (cursorUpParagraph): ditto
6583         (deleteEmptyParagraphMechanism): slight cleanup
6584
6585         * text.C (isBoundary): take a Paragraph const & instead of a
6586         pointer as arg.
6587         (addressBreakPoint): ditto
6588         (leftMargin): remove usage of Paragraph::previous.
6589         (setHeightOfRow): ditto
6590         (cursorLeftOneWord): ditto
6591         (selectNextWordToSpellcheck): ditto
6592         (Delete): ditto
6593         (backspace): ditto
6594         (breakParagraph): remove one usage of Paragraph::next
6595         (redoParagraph): ditto
6596         (acceptChange): ditto
6597         (insertChar): adjust
6598         (rowBreakPoint): adjust
6599
6600         * bufferview_funcs.C (toggleAndShow): adjust
6601
6602 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
6603
6604         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6605         methods to access it.
6606         * lyxtext.h:
6607         * text.C: Added updateRowPositions to compute all row positions.
6608         Make top_y and getRowNearY() to use the cached y position
6609
6610 2003-04-11  John Levon  <levon@movementarian.org>
6611
6612         * text.C (rowBreakPoint): reintroduce the labelEnd
6613         checks, code copied from the row fill stuff. Deep voodoo.
6614
6615         * text.C (fill): add a comment and debugging for the
6616         next poor soul.
6617
6618 2003-04-11  John Levon  <levon@movementarian.org>
6619
6620         * text.C: make sure fullrow insets get wrapped to the next line,
6621         even when they're in a manual label
6622
6623 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6624
6625         * text2.C (insertParagraph): make it take ParagraphList::iterator
6626         as arg.
6627         (setLayout): make it return ParagraphList::iterator
6628         (redoParagraphs): ditto
6629         (setCounter): ditto
6630         (checkParagraph): ditto
6631
6632         * text.C (getRow): make getrow take ParagraphList::iterator as arg
6633
6634         * text2.C: adjust several funcs.
6635         (realizeFont): take a ParagraphList::iterator as arg.
6636         (getLayoutFont): ditto
6637         (getLabelFont): ditto
6638         (setCharFont): ditto
6639
6640         * text.C: adjust several funcs.
6641
6642 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6643
6644         * text.C (selectNextWordToSpellcheck): don't accidentally
6645         skip insets
6646
6647 2003-04-10  John Levon  <levon@movementarian.org>
6648
6649         * ToolbarBackend.C (getIcon): special handling for
6650         LFUN_MATH_DELIM
6651
6652 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6653
6654         * text2.C (cursorRight): a getChar assert fixed
6655
6656 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6657
6658         * text2.C (getFont): change to take a ParagraphList::iterator
6659         instead of Paragraph*
6660         Adjust several functions.
6661
6662         * text.C (transformChar): change to take a ParagraphList::iterator
6663         instead of Paragraph*
6664         (singleWidth): ditto
6665         Adjust several functions.
6666
6667         * rowpainter.C: adjust several functions
6668         * rowpainter.h:store a ParagraphList::iterator and not a
6669         Paragraph&.
6670
6671
6672 2003-04-09  John Levon  <levon@movementarian.org>
6673
6674         * lyxfunc.C:
6675         * lfuns.h:
6676         * LyXAction.h:
6677         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6678         and the "help" bits as well
6679
6680 2003-04-09  John Levon  <levon@movementarian.org>
6681
6682         * ToolbarBackend.h:
6683         * ToolbarBackend.C: allow multiple toolbars
6684
6685 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6686
6687         * undo_funcs.C (setCursorParUndo): adjust
6688
6689         * text_funcs.C (transposeChars): adjust
6690
6691         * text3.C (gotoNextInset): adjust
6692         (dispatch): adjust
6693
6694         * text2.C (setLayout): adjust
6695         (changeDepth): adjust
6696         (setFont): adjust
6697         (redoParagraphs): adjust
6698         (selectionAsString): adjust
6699         (setParagraph): adjust
6700         (insertInset): adjust
6701         (cutSelection): adjust
6702         (copySelection): adjust
6703         (pasteSelection): adjust
6704         (insertStringAsLines): adjust
6705         (updateInset): adjust
6706         (setCursor): change to take a ParagraphList::iterator parameter
6707         (setCursorIntern): change to take a ParagraphList::iterator parameter
6708         (setCurrentFont): adjust
6709         (cursorLeft): adjust
6710         (cursorRight): adjust
6711         (deleteEmptyParagraphMechanism): adjust
6712
6713         * text.C (breakParagraph): adjust
6714         (insertChar): adjust
6715         (acceptChange): adjust
6716         (rejectChange): adjust
6717         (selectNextWordToSpellcheck): adjust
6718         (changeCase): adjust
6719         (Delete): adjust
6720         (backspace): adjust
6721
6722         * lyxfind.C (SearchForward): adjust
6723         (SearchBackward): adjust
6724         (nextChange): adjust
6725
6726         * lyxcursor.C (par): adjust
6727
6728         * lyxcursor.h: store a ParagraphList::iterator instead of a
6729         Paragraph*
6730
6731         * lyx_cb.C (getPossibleLabel): adjust
6732
6733         * bufferview_funcs.C (toggleAndShow): adjust
6734
6735         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6736         (dispatch): adjust
6737
6738         * BufferView.C (removeAutoInsets): adjust
6739         (lockedInsetStoreUndo): adjust
6740
6741 2003-04-09  John Levon  <levon@movementarian.org>
6742
6743         * ToolbarBackend.C: try icon without argument
6744         if with argument fails
6745
6746 2003-04-08  John Levon  <levon@movementarian.org>
6747
6748         * ToolbarBackend.h:
6749         * ToolbarBackend.C: add getIcon(), handle tooltip,
6750         and change from "Icon" to "Item".
6751
6752 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6753
6754         * BufferView.C (lockInset): another bad getchar crunched
6755
6756 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6757
6758         * text2.C (changeDepth): do not setUndo on test_only (make undo work
6759         again)
6760
6761 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
6762
6763         * lyxfind.C (searchForward, searchBackwards): bug 782
6764
6765 2003-04-07  John Levon  <levon@movementarian.org>
6766
6767         * paragraph.C: remove dead comment
6768
6769         * text.C: remove troublesome depth-fiddling code
6770         in leftMargin() and rightMargin() (bug 1017)
6771
6772         * text.C: fix breaking of rows in nested lists
6773         (bug 1004)
6774
6775         * text2.C (updateCounters): fix up depth values
6776         (bug 1013)
6777
6778 2003-04-07  John Levon  <levon@movementarian.org>
6779
6780         * BufferView_pimpl.C: clear message when doc finishes resizing,
6781         and after a mouse event
6782
6783         * lyxfunc.C: clear message after exiting inset
6784
6785 2003-04-07  John Levon  <levon@movementarian.org>
6786
6787         * bufferview_funcs.C: show math status not outside
6788         status in the statusbar
6789
6790 2003-04-07  John Levon  <levon@movementarian.org>
6791
6792         * lyxfunc.C: note status changed after a depth change
6793
6794 2003-04-04  Angus Leeming  <leeming@lyx.org>
6795
6796         * LaTeX.h: move AuxInfo operator==, != out of line.
6797         Remove LaTeX virtual destructor; nothing derives from it.
6798         Move operator()() out of public area and rename it startscript().
6799         Change protected for private.
6800
6801 2003-04-04  Angus Leeming  <leeming@lyx.org>
6802
6803         * lyxfunc.C:
6804         * text2.C: remove unneeded #includes.
6805
6806 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6807
6808         * text2.C (dEPM): fix the heigth of the next row
6809
6810 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6811
6812         * text.C: squashed an invalid getChar requester + some ws changes
6813
6814 2003-04-03  John Levon  <levon@movementarian.org>
6815
6816         * bufferview_funcs.h:
6817         * bufferview_funcs.C:
6818         * lyxfunc.C:
6819         * lyxtext.h:
6820         * text2.C: make getStatus work for the env depth lfuns
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: parlistize decDepth(), by merging it with incDepth()
6829
6830 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6831
6832         * lyxrow.h: store a ParagraphList::iterator instead of a
6833         Paragraph* and adjust other class functions to suit.
6834
6835         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6836         above.
6837
6838 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6839
6840         * text2.C (setCursor): do not anchor to cursor row for the time being
6841
6842 2003-04-02  John Levon  <levon@movementarian.org>
6843
6844         * LyXAction.C:
6845         * lfuns.h:
6846         * lyx_main.C:
6847         * lyxtext.h:
6848         * text.C:
6849         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6850
6851 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6852
6853         * paragraph.h: make ParagraphList and ParagraphList::iterator
6854         friends of Paragraph.
6855
6856         * buffer.C (makeLinuxDocFile): move towards ParagraphList
6857
6858         * ParagraphList.C: Use the private next_ and previous_ from
6859         Paragraph.
6860
6861 2003-04-01  John Levon  <levon@movementarian.org>
6862
6863         * ToolbarBackend.h:
6864         * ToolbarBackend.C:
6865         * Makefile.am: rename, remove defaults gunk
6866
6867         * MenuBackend.h:
6868         * MenuBackend.C: remove defaults gunk
6869
6870         * Languages.h:
6871         * Languages.C: remove defaults gunk
6872
6873         * lyx_main.h:
6874         * lyx_main.C: error out if files couldn't be found.
6875
6876 2003-04-02  John Levon  <levon@movementarian.org>
6877
6878         * text2.C: make incDepth() use parlist
6879
6880 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6881
6882         * undo_funcs.C (firstUndoParagraph): adjust
6883
6884         * text3.C (gotoInset): adjust
6885         (dispatch): adjust, and rewrite loop.
6886
6887         * text2.C (init): adjust, and rewrite loop.
6888         (redoParagraphs): adjust
6889         (updateInset): adjust, and rewrite loop.
6890         (deleteEmptyParagraphMechanism): adjust
6891
6892         * tabular.C (LyXTabular): adjust
6893         (SetMultiColumn): adjust
6894         (TeXRow): adjust
6895
6896         * lyxtext.[Ch] (ownerParagraph): delete function
6897         (ownerParagraphs): new function returns a ParagraphList.
6898
6899         * BufferView.C (removeAutoInsets): adjust
6900         (insertErrors): adjust
6901         (setCursorFromRow): adjust
6902
6903 2003-04-01  Angus Leeming  <leeming@lyx.org>
6904
6905         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6906         in the frontends.
6907
6908 2003-04-02  John Levon  <levon@movementarian.org>
6909
6910         * lyxtext.h:
6911         * text.C:
6912         * Makefile.am:
6913         * text_funcs.h:
6914         * text_funcs.C: make transposeChars a free function
6915
6916         * lyxrow_funcs.C: remove wrong comment
6917
6918 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6919
6920         * lyxtext.h: adjust
6921         * rowpainter.C: adjust
6922         * text.C: adjust
6923         * text2.C: adjust
6924         * text3.C: adjust
6925
6926         * lyxrow_funcs. [Ch]: new files
6927
6928         * lyxrow.[Ch]: remove next and previous pointers
6929         (next,previous): remove accessor functions
6930         (isParEnd): move to lyxrow_funcs
6931         (lastPos): move to lyxrow_funcs
6932         (nextRowIsAllInset): move to lyxrow_funcs
6933         (lastPrintablePos): move to lyxrow_funcs
6934         (numberOfSeparators): move to lyxrow_funcs
6935         (numberOfHfills): move to lyxrow_funcs
6936         (numberOfLabelHfills): move to lyxrow_funcs
6937         (hfillExpansion): move to lyxrow_funcs
6938
6939         * lyxfunc.C: adjust
6940
6941         * bufferview_funcs.C (toggleAndShow): adjust
6942
6943         * RowList.h: Remove class RowList from file leave just a
6944         std::list<Row>.
6945
6946         * RowList.C: delete file
6947
6948         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6949         and lyxrow_funcs.h
6950
6951 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6952
6953         * text3.C (cursorPrevious): adjust
6954         (cursorNext): adjust
6955         (dispatch): adjust
6956
6957         * text2.C (redoHeightOfParagraph): adjust
6958         (redoDrawingOfParagraph): adjust
6959         (setCursor): adjust
6960
6961         * text.C (breakParagraph): adjust
6962         (insertChar): adjust
6963         (backspace): adjust
6964
6965         * rowpainter.C (RowPainter): adjust
6966         (leftMargin): simplify and adjust
6967         (most rowpainter functions): adjust.
6968
6969         * rowpainter.h: store the row as RowList::iterator not as Row*
6970
6971         * lyxcursor.C (row): taka RowList::iterator as arg
6972         (irow): ditto
6973
6974         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6975         of Row*.
6976
6977 2003-04-01  Angus Leeming  <leeming@lyx.org>
6978
6979         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6980         stuff like bool Bool.
6981
6982 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6983
6984         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6985         rewrite a loop
6986
6987 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6988
6989         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6990         RowList::iterator.
6991
6992         * lyxtext.h (rows): drop one version and leve a const variant that
6993         returns a RowList::iterator.
6994
6995 2003-03-31  Angus Leeming  <leeming@lyx.org>
6996
6997         * text.C (fill): ensure that the signature is the same as that in the
6998         header file.
6999
7000 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
7001
7002         * text2.C (redoParagraphs): adjust
7003         (updateCounters): adjust
7004         (checkParagraph): adjust
7005         (getColumnNearX): adjust and reformat a bit.
7006
7007         * text.C (top_y): adjust
7008         (workWidth): adjust
7009         (leftMargin): adjust
7010         (prepareToPrint): adjust
7011         (getRow): adjust
7012         (getRowNearY): adjust
7013
7014         * lyxtext.h: make rowlist_ mutable.
7015
7016         * RowList.h: add const_iterator
7017         * RowList.C: adjust for RowList::const_iterator.
7018
7019         * text2.C (getCursorX): make it take a RowList::iterator as arg,
7020         adjust.
7021
7022 2003-03-31  John Levon  <levon@movementarian.org>
7023
7024         * lyxrc.h:
7025         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7026
7027         * lyx_main.C: set default fonts from using lyx_gui funcs
7028
7029         * exporter.C: pdf_mode moved from lyxrc
7030
7031         * lyx_cb.C:
7032         * lyxfunc.C: changes from above
7033
7034 2003-03-31  John Levon  <levon@movementarian.org>
7035
7036         * lyx_main.C: fix to the last fix
7037
7038 2003-03-31  John Levon  <levon@movementarian.org>
7039
7040         * bufferlist.C: "Load original" -> "Load Original"
7041
7042         * converter.C:
7043         * exporter.C:
7044         * importer.C:
7045         * lyx_main.C:
7046         * format.C: more Alert cleanups
7047
7048 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7049
7050         * text2.C (removeParagraph): make it take a RowList::iterator as
7051         arg, adjust.
7052         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7053         (postRowPaint): make it take a RowList::iterator as arg, adjust.
7054
7055         * text.C (anchor_row): make it take a RowList::iterator as arg,
7056         adjust.
7057         (computeBidiTables): make it take a const reference to Row instead
7058         of Row pointer, adjust.
7059         (leftMargin): make it take a RowList::iterator as arg, adjust.
7060         (rowBreakPoint): adjust
7061         (breakAgainOneRow): make it take a RowList::iterator as arg,
7062         adjust.
7063         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7064
7065         * bufferview_funcs.C (toggleAndShow): adjust
7066
7067 2003-03-30  John Levon  <levon@movementarian.org>
7068
7069         * Makefile.am:
7070         * BoostFormat.h:
7071         * boost-inst.C: moved to support
7072
7073         * several files: changes as a result
7074
7075 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7076
7077         * text2.C (LyXText): adjust.
7078         (init): adjust
7079         (removeRow): make it take a RowList::iterator as arg, adjust.
7080         (fullRebreak): adjust
7081         (deleteEmptyParagraphMechanism): adjust
7082         (clearPaint): adjust
7083         (postPaint): adjust
7084
7085         * text.C (top_y): adjust
7086         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7087         (breakAgain): make it take a RowList::iterator as arg, adjust.
7088         (breakParagraph): adjust
7089         (insertChar): adjust
7090         (backspace): adjust
7091
7092         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7093         need_break_row, and refresh_row.
7094
7095         * text3.C (dispatch): adjust
7096
7097         * text2.C (checkParagraph): adjust
7098         (setCursor): adjust
7099         (setCursorFromCoordinates): adjust
7100
7101         * text.C (top_y): adjust
7102         (workWidth): adjust
7103         (getRow): make it return a RowList::iterator, adjust
7104         (getRowNearY): make it return a RowList::iterator, adjust
7105
7106         * text2.C (init): adjust
7107         (insertRow): remove function
7108         (insertParagraph): adjust
7109         (redoParagraphs): adjust
7110         (fullRebreak): adjust
7111         (updateCounters): adjust
7112
7113         * text.C (top_y): rewrite to use RowList iterators.
7114         (top_y): adjust
7115         (setHeightOfRow): rewrite to sue RowList iterators.
7116         (appendParagraph): adjust
7117         (breakAgain): adjust
7118         (breakAgainOneRow): adjust
7119         (breakParagraph): adjust
7120         (getRow): adjust
7121         (getRowNearY): adjust, and remove commented code.
7122
7123         * lyxtext.h (firstRow): delete function
7124         (lastRow): delete function
7125         (rows): new function (const and non-const versions.)
7126         (insertRow): delete function
7127
7128         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7129
7130 2003-03-29  John Levon  <levon@movementarian.org>
7131
7132         * BufferView_pimpl.C: always update scrollbar top
7133         because pasting text when we're anchored could mean we
7134         miss an update altogether
7135
7136 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7137
7138         * text2.C (init): use rowlist_.end() and not 0.
7139         (insertRow): change to take a RowList::iterator as arg, adjust
7140         for this.
7141         (insertParagraph): change to take a RowList::iterator as arg,
7142         adjust for this.
7143         (redoParagraphs): remove some debug msgs.
7144
7145         * text.C (appendParagraph): change to take a RowList::iterator
7146         arg, adjust for this.
7147         (breakAgain): add an assert
7148         (breakAgainOneRow): ditto
7149
7150 2003-03-29  John Levon  <levon@movementarian.org>
7151
7152         * text2.C: do not clear selection after inc/decDepth
7153         (bug 550)
7154
7155 2003-03-29  John Levon  <levon@movementarian.org>
7156
7157         * BufferView.C:
7158         * buffer.C: fix broken strerrors according to Lars
7159
7160 2003-03-29  John Levon  <levon@movementarian.org>
7161
7162         * converters.C: more Alert cleanups
7163
7164 2003-03-29  John Levon  <levon@movementarian.org>
7165
7166         * bufferview_funcs.C: remove pointless Alert
7167
7168         * buffer.C: fix confusing error message when
7169         a template is chmoded 000
7170
7171 2003-03-29  John Levon  <levon@movementarian.org>
7172
7173         * BufferView.C:
7174         * BufferView.h:
7175         * BufferView_pimpl.C: Alert fixes
7176
7177         * Makefile.am:
7178         * tabular.C:
7179         * tabular-old.C: remove unused table compat reading
7180
7181 2003-03-29  John Levon  <levon@movementarian.org>
7182
7183         * BufferView.C:
7184         * buffer.C:
7185         * lyx_cb.h:
7186         * lyx_cb.C: more Alert cleanups
7187
7188         * lyxfunc.C: don't allow chktex if not latex document
7189
7190 2003-03-29  John Levon  <levon@movementarian.org>
7191
7192         * lyx_cb.C:
7193         * BufferView.C:
7194         * buffer.C: warnings pushed down from support/,
7195         kill err_alert
7196
7197 2003-03-29  John Levon  <levon@movementarian.org>
7198
7199         * lyxfunc.C: safety check for C-r (revert)
7200
7201 2003-03-29  John Levon  <levon@movementarian.org>
7202
7203         * bufferlist.h:
7204         * bufferlist.C: several UI fixes using Alert::prompt.
7205         Fix the pointless looping quit code. Fix stupid revert
7206         behaviour (bug 938)
7207
7208         * lyxvc.h:
7209         * lyxvc.C:
7210         * lyx_cb.C: use Alert::prompt
7211
7212         * lyx_main.C: remove a silly question
7213
7214         * lyxfunc.C: remove a couple of silly questions,
7215         use Alert::prompt
7216
7217 2003-03-28  John Levon  <levon@movementarian.org>
7218
7219         * text2.C: fix bug 974 (End on empty par)
7220
7221 2003-03-28  John Levon  <levon@movementarian.org>
7222
7223         * BufferView_pimpl.C:
7224         * LyXAction.C:
7225         * lfuns.h: remove do-nothing math greek lfuns
7226
7227 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7228
7229         * lyxgluelength.h (isValidGlueLength): add default arg on
7230         parameter 2. Remove default arg from friend in class.
7231
7232         * lyxlength.h (isValidLength): add default arg on parameter 2.
7233         Remove default arg from friend in class.
7234
7235         * text2.C (LyXText): adjust, initialize refresh_row.
7236         (init): adjust
7237         (removeRow): adjust
7238         (insertRow): adjust
7239         (insertParagraph): adjst
7240         (redoParagraphs): adjust
7241         (fullRebreak): adjust
7242         (updateCounters): adjust
7243         (deleteEmptyParagraphMechanism): first attempt at fixing a
7244         crashing bug.
7245
7246         * text.C (top_y): adjust
7247         (setHeightOfRow): adjust
7248         (getRow): adjust
7249         (getRowNearY): adjust
7250
7251         * lyxtext.h: include RowList.h
7252         (~LyXText): not needed anymore, deleted.
7253         (firstRow): modify for RowList
7254         (lastRow): new function
7255         Delete firstrow and lastrow class variables, add a Rowlist
7256         rowlist_ class variable.
7257
7258         * lyxrow.C (lastPos): use empty() and not !size() to check if a
7259         paragraph is empty.
7260
7261         * RowList.C (insert): fix case where it == begin().
7262
7263 2003-03-26  Angus Leeming  <leeming@lyx.org>
7264
7265         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7266         the thesaurus dialog.
7267
7268 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7269
7270         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7271
7272         * RowList.[Ch]: new files
7273
7274         * ParagraphList.C (erase): handle the case where it == begin
7275         correctly.
7276
7277 2003-03-25  John Levon  <levon@movementarian.org>
7278
7279         * Makefile.am:
7280         * aspell_local.h:
7281         * aspell.C: add new aspell support
7282
7283         * lyxrc.h:
7284         * lyxrc.C: Make use_pspell be use_spell_lib. Always
7285         have it accessible.
7286
7287 2003-03-25  Angus Leeming  <leeming@lyx.org>
7288
7289         * lfuns.h:
7290         * LyXAction.C (init): new LFUN_INSET_INSERT.
7291
7292         * BufferView_pimpl.C (dispatch): split out part of the
7293         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7294
7295         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7296         LFUN_INSET_APPLY.
7297
7298 2003-03-25  Angus Leeming  <leeming@lyx.org>
7299
7300         * lyxfunc.C (dispatch): changes to the Dialogs interface.
7301
7302 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
7303
7304         * text2.C:
7305         * text3.C: remove useless row->height(0)
7306
7307 2003-03-25  John Levon  <levon@movementarian.org>
7308
7309         * lyxtext.h:
7310         * text2.C:
7311         * text3.C: rename the refreshing stuff to better names
7312
7313 2003-03-24  John Levon  <levon@movementarian.org>
7314
7315         * BufferView_pimpl.h:
7316         * BufferView_pimpl.C: update layout choice on a mouse
7317         press/release
7318
7319 2003-03-23  John Levon  <levon@movementarian.org>
7320
7321         * Makefile.am: fix commandtags.h reference
7322
7323 2003-03-22  John Levon  <levon@movementarian.org>
7324
7325         * BufferView_pimpl.C:
7326         * lyxtext.h:
7327         * rowpainter.C:
7328         * rowpainter.h:
7329         * text.C:
7330         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7331
7332 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
7333
7334         * lyxtext.h:
7335         * text.C: take the rtl methods out of line
7336
7337 2003-03-21 André Pönitz <poenitz@gmx.net>
7338
7339         * metricsinfo.[Ch]: new files containing structures to be passed around
7340         during the two-phase-drawing...
7341
7342 2003-03-21 André Pönitz <poenitz@gmx.net>
7343
7344         * lyxtextclass.C: read 'environment' tag.
7345
7346 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
7347
7348         * text2.C (removeRow): fix bug 964
7349
7350 2003-03-20  John Levon  <levon@movementarian.org>
7351
7352         * rowpainter.C:
7353         * text.C:
7354         * text2.C: paint cleanups. Inset::update() dropped font
7355         parameter
7356
7357 2003-03-19  John Levon  <levon@movementarian.org>
7358
7359         * lyxfunc.C: only fitcursor/markDirty if available()
7360
7361 2003-03-19  John Levon  <levon@movementarian.org>
7362
7363         * commandtags.h: rename to ...
7364
7365         * lfuns.h: ... this, and renumber / cleanup
7366
7367 2003-03-19  John Levon  <levon@movementarian.org>
7368
7369         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7370         fit the cursor after an lfun
7371
7372         * BufferView.h:
7373         * BufferView.C:
7374         * BufferView_pimpl.h:
7375         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7376
7377         * LyXAction.C: layout-character should have ReadOnly
7378
7379         * ParagraphParameters.C:
7380         * buffer.C:
7381         * bufferview_funcs.C:
7382         * lyx_cb.C:
7383         * lyxfind.C:
7384         * lyxtext.h:
7385         * text.C:
7386         * text2.C:
7387         * text3.C:
7388         * undo_funcs.C: changes from above
7389
7390 2003-03-18  John Levon  <levon@movementarian.org>
7391
7392         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7393         remove it from update()
7394
7395         * lyxfunc.C: update layout choice after an lfun
7396
7397         * text3.C: remove extra updateLayoutChoice()s
7398
7399 2003-03-18  John Levon  <levon@movementarian.org>
7400
7401         * text.C: top_y change means full repaint, fix
7402         a drawing bug with cursor movement
7403
7404 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7405
7406         * lyxtext.h:
7407         * text.C:
7408         * text2.C: anchor row on setCursor
7409
7410 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7411
7412         * lyxtext.h: remove almost all mutable keywords
7413         * text.C:
7414         * text2.C:
7415         * text3.C: remove const keywords accordingly
7416
7417 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7418
7419         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7420         anon namespace
7421         (TeXEnvironment): ditto
7422         (TeXOnePar): ditto
7423
7424 2003-03-17  John Levon  <levon@movementarian.org>
7425
7426         * text.C (rowBreakPoint): remove attempt to fix displayed
7427         math insets inside a manual label
7428
7429 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7430
7431         * lyxtext.h: remove BufferView* as first arg from almost all class
7432         functions.
7433         * other files: adjust.
7434
7435 2003-03-17  John Levon  <levon@movementarian.org>
7436
7437         * lyxtext.h:
7438         * undo_funcs.C:
7439         * text2.C: more paint cleanups
7440
7441         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7442
7443         * rowpainter.h:
7444         * rowpainter.C: remove "smart" background painting code
7445
7446 2003-03-16  John Levon  <levon@movementarian.org>
7447
7448         * lyxtext.h:
7449         * text.C:
7450         * text2.C:
7451         * text3.C: add helper functions for setting refresh_row/y
7452
7453 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
7454
7455         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7456         newline inset which *can* get inserted in the pass_thru layouts.
7457         This is primarily for literate documents.
7458
7459 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
7460
7461         * buffer.C: increment LYX_FORMAT to 223
7462
7463 2003-03-14 André Pönitz <poenitz@gmx.net>
7464
7465         * textclass.h: prepare for environment handling, ws changes
7466         * lyxlayout.C: read latexheader and latexfooter tags
7467
7468 2003-03-14  John Levon  <levon@movementarian.org>
7469
7470         * text2.C: rewrite ::status() a bit
7471
7472 2003-03-13  John Levon  <levon@movementarian.org>
7473
7474         * lyxtext.h: add some docs
7475
7476 2003-03-13  John Levon  <levon@movementarian.org>
7477
7478         * lyxtext.h:
7479         * text.C:
7480         * text2.C:
7481         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7482
7483 2003-03-13  John Levon  <levon@movementarian.org>
7484
7485         * text3.C: fix appendix redrawing
7486
7487 2003-03-13  John Levon  <levon@movementarian.org>
7488
7489         * text.C (setHeightOfRow):
7490         * rowpainter.h:
7491         * rowpainter.C: make appendix mark have the text
7492           "Appendix" so the user knows what it is
7493
7494         * LColor.h:
7495         * LColor.C: s/appendixline/appendix/ from above
7496
7497 2003-03-13  John Levon  <levon@movementarian.org>
7498
7499         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7500
7501         * text.C: fix a getChar(pos) bug properly
7502
7503 2003-03-13  Angus Leeming  <leeming@lyx.org>
7504
7505         * commandtags.h:
7506         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7507         Probably only temporary. Let's see how things pan out.
7508
7509         * BufferView.C (unlockInset):
7510         * BufferView_pimpl.C (fitCursor):
7511         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7512
7513         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7514         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7515
7516         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7517         new functions that convert ParagraphParameters to and from a string.
7518
7519         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7520         BufferView::Pimpl's dispatch.
7521         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7522
7523 2003-03-13 André Pönitz <poenitz@gmx.net>
7524
7525         * lyxfunc.C:
7526         * text3.C:
7527         * factory.C: make it aware of InsetEnv
7528
7529 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7530
7531         * text2.C (setCursor): never ask for one past last
7532         (setCursor): add some debugging messages.
7533
7534         * text.C (singleWidth): never ask for one past last
7535         (singleWidth): ditto
7536         (leftMargin): ditto
7537         (rightMargin): ditto
7538         (rowBreakPoint): ditto
7539         (setHeightOfRow): ditto
7540         (prepareToPrint): ditto
7541
7542         * rowpainter.C (paintBackground): never ask for one past last
7543         (paintText): never ask for one past last
7544
7545         * paragraph_pimpl.C (getChar): make the assert stricter, never
7546         allow the one past last pos to be taken
7547
7548         * paragraph.C (getChar): ws changes only
7549
7550         * lyxrow.C (nextRowIsAllInset): never ask for one past last
7551         (numberOfSeparators): ditto
7552         (numberOfHfills): ditto
7553
7554 2003-03-12  John Levon  <levon@movementarian.org>
7555
7556         * author.h:
7557         * author.C:
7558         * bufferparams.h:
7559         * bufferparams.C:
7560         * paragraph_funcs.C: fix per-buffer authorlists
7561
7562 2003-03-12  John Levon  <levon@movementarian.org>
7563
7564         * text.C: fix newline in right address
7565
7566 2003-03-12  Angus Leeming  <leeming@lyx.org>
7567
7568         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7569         duplicate those in LyXFunc::dispatch.
7570
7571         * commandtags.h:
7572         * LyXAction.C:
7573         * ToolbarDefaults.C:
7574         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7575         Add LFUN_FONTFREE_UPDATE.
7576
7577         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7578         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7579
7580         * bufferview_func.[Ch]: several new functions to facilliate
7581         transfer of data to and from the character dialog.
7582
7583 2003-03-12  John Levon  <levon@movementarian.org>
7584
7585         * buffer.C:
7586         * paragraph.h:
7587         * paragraph.C:
7588         * paragraph_funcs.C:
7589         * paragraph_pimpl.C:
7590         * sgml.C:
7591         * tabular.C:
7592         * text.C:
7593         * text3.C: remove META_NEWLINE in favour of an inset
7594
7595         * rowpainter.h:
7596         * rowpainter.C: remove paintNewline (done by inset)
7597
7598 2003-03-12  John Levon  <levon@movementarian.org>
7599
7600         * paragraph_pimpl.C: complain about bad getChar()s
7601         for a while at least
7602
7603 2003-03-12  John Levon  <levon@movementarian.org>
7604
7605         * buffer.h:
7606         * buffer.C: move paragraph read into a separate function,
7607         a little renaming to reflect that.
7608
7609         * bufferparams.h:
7610         * bufferparams.C: remove the author_ids map, not necessary now
7611
7612         * factory.h:
7613         * factory.C: moved Buffer::readInset to here
7614
7615         * paragraph_funcs.h:
7616         * paragraph_funcs.C: readParagraph free function moved from
7617         buffer.C
7618
7619         * tabular.C: name change
7620
7621 2003-03-12  John Levon  <levon@movementarian.org>
7622
7623         * buffer.C:
7624         * ParagraphParameters.C: move par params input to
7625         a read() method
7626
7627         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7628         behave like a normal read from the stream wrt reading
7629         a line vs. a \\token
7630
7631 2003-03-12  John Levon  <levon@movementarian.org>
7632
7633         * paragraph.C:
7634         * ParagraphParameters.h:
7635         * ParagraphParameters.C: move output code to a
7636         ::write() method
7637
7638 2003-03-12  John Levon  <levon@movementarian.org>
7639
7640         * BufferView.C (insertLyXFile):
7641         * buffer.h:
7642         * buffer.C:
7643         * tabular.C: use a parlist iterator for creating the
7644           document.
7645
7646 2003-03-12  John Levon  <levon@movementarian.org>
7647
7648         * buffer.C: make current_change static local not
7649           static file-scope
7650
7651 2003-03-12  John Levon  <levon@movementarian.org>
7652
7653         * buffer.C: fix insertStringAsLines for change tracking
7654
7655 2003-03-12  John Levon  <levon@movementarian.org>
7656
7657         * BufferView.C:
7658         * tabular.C:
7659         * buffer.h:
7660         * buffer.C:
7661         * bufferparams.h:
7662         * bufferparams.C: move author list into params. Rename some
7663           functions. Move the header reading into a separate token
7664           loop. Move the header token reading into BufferParams.
7665
7666 2003-03-12  John Levon  <levon@movementarian.org>
7667
7668         * changes.C: put debug inside lyxerr.debugging() checks
7669
7670 2003-03-11 André Pönitz <poenitz@gmx.net>
7671
7672         * factory.C: make it aware of InsetHFill
7673
7674 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7675
7676         * buffer.C (latexParagraphs): move function from here...
7677         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7678         args.
7679
7680 2003-03-10  Angus Leeming  <leeming@lyx.org>
7681
7682         * LyXAction.C (init): fix bug in poplating array with multiple entries
7683         with the same LFUN (spotted by JMarc).
7684
7685 2003-03-10  John Levon  <levon@movementarian.org>
7686
7687         * text.C:
7688         * text2.C: move getColumnNearX() near its
7689         only call site
7690
7691 2003-03-10  John Levon  <levon@movementarian.org>
7692
7693         * text.C: fix break before a minipage
7694
7695 2003-03-10  John Levon  <levon@movementarian.org>
7696
7697         * text.C: fix the last commit
7698
7699 2003-03-09  John Levon  <levon@movementarian.org>
7700
7701         * lyxtext.h:
7702         * text.C:
7703         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7704         bug 365 (don't break before insets unless needed). Don't
7705         return a value > last under any circumstances.
7706
7707 2003-03-09  Angus Leeming  <leeming@lyx.org>
7708
7709         * BufferView_pimpl.C (trackChanges, dispatch): call
7710         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7711
7712 2003-03-09  Angus Leeming  <leeming@lyx.org>
7713
7714         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7715         than Dialogs::showAboutlyx().
7716
7717 2003-03-09  Angus Leeming  <leeming@lyx.org>
7718
7719         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7720         than Dialogs::showTabularCreate().
7721
7722 2003-03-09  John Levon  <levon@movementarian.org>
7723
7724         * lyxtext.h:
7725         * text.C:
7726         * text2.C: 3rd arg to nextBreakPoint was always the same.
7727           Use references.
7728
7729 2003-03-08  John Levon  <levon@movementarian.org>
7730
7731         * lyxrow.C:
7732         * paragraph.C:
7733         * paragraph.h:
7734         * rowpainter.C:
7735         * text.C:
7736         * text2.C: Remove the "main" bit from the "main body"
7737           notion.
7738
7739 2003-03-08  John Levon  <levon@movementarian.org>
7740
7741         * text.C (leftMargin): The left margin of an empty
7742         manual label paragraph should not include the label width
7743         string length.
7744
7745         * text.C (prepareToPrint): don't attempt to measure hfills
7746         for empty manual label paragraphs - the answer should be 0
7747
7748 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7749
7750         * CutAndPaste.C: remove commented code and reindent.
7751
7752 2003-03-08  John Levon  <levon@movementarian.org>
7753
7754         * lyxfunc.h:
7755         * lyxfunc.C: move reloadBuffer()
7756
7757         * BufferView.h:
7758         * BufferView.C: to here
7759
7760         * lyxvc.C: add comment
7761
7762         * vc-backend.h:
7763         * vc-backend.C: call bv->reload() to avoid
7764           getStatus() check on MENURELOAD
7765
7766 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
7767
7768         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7769         to an old format .dep file.
7770
7771 2003-03-07  Angus Leeming  <leeming@lyx.org>
7772
7773         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7774         when the LFUN_MOUSE_RELEASE should have been handled by
7775         inset->localDispatch.
7776
7777 2003-03-07  Angus Leeming  <leeming@lyx.org>
7778
7779         * BufferView_pimpl.C (dispatch):
7780         * LyXAction.C (init):
7781         * ToolbarDefaults.C (init):
7782         * commandtags.h:
7783         * lyxfunc.C (getStatus):
7784         remove LFUN_INSET_GRAPHICS.
7785
7786         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7787
7788 2003-03-07  Angus Leeming  <leeming@lyx.org>
7789
7790         * commandtags.h:
7791         * LyXAction.C (init):
7792         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7793
7794         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7795
7796         * commandtags.h:
7797         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7798
7799         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7800         localDispatch method LFUN_INSET_DIALOG_UPDATE.
7801
7802 2003-03-07  Angus Leeming  <leeming@lyx.org>
7803
7804         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7805         remove "ert".
7806
7807 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7808
7809         * ParagraphList.C (front): new function
7810         (back): implement
7811
7812 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
7813
7814         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7815         and top_row_offset_. removed var first_y.
7816         * text.C (top_y):
7817         * text2.C (LyXText, removeRow):
7818         * text3.C:
7819         * BufferView_pimpl.C:
7820         use these methods instead of using first_y
7821
7822 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7823
7824         * text2.C (pasteSelection): adjust for checkPastePossible
7825
7826         * CutAndPaste.C: remove Paragraph * buf and replace with
7827         ParagraphList paragraphs.
7828         (DeleteBuffer): delete
7829         (cutSelection): change the tc type to textclass_type
7830         (copySelection): change the tc type to textclass_type
7831         (copySelection): adjust for ParagraphList
7832         (pasteSelection): change the tc type to textclass_type
7833         (pasteSelection): adjust for Paragraphlist
7834         (nrOfParagraphs): simplify for ParagraphList
7835         (checkPastePossible): simplify for ParagraphList
7836         (checkPastePossible): remove unused arg
7837
7838         * ParagraphList.C (insert): handle the case where there are no
7839         paragraphs yet.
7840
7841         * CutAndPaste.h: make CutAndPaste a namespace.
7842
7843         * text3.C (dispatch): adjust
7844
7845         * text.C (breakParagraph): add a ParagraphList as arg
7846
7847         * paragraph_funcs.C (breakParagraph): change to take a
7848         BufferParams and a ParagraphList as args.
7849         (breakParagraphConservative): ditto
7850         (mergeParagraph): ditto
7851         (TeXDeeper): add a ParagraphList arg
7852         (TeXEnvironment): ditto
7853         (TeXOnePar): ditto
7854
7855         * buffer.C (readLyXformat2): adjust
7856         (insertStringAsLines): adjust
7857         (latexParagraphs): adjust
7858
7859         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7860         (cutSelection): adjust
7861         (pasteSelection): adjust
7862
7863         * BufferView_pimpl.C (insertInset): adjust
7864
7865 2003-03-05  Angus Leeming  <leeming@lyx.org>
7866
7867         * commandtags.h:
7868         * LyXAction.C (init):
7869         * BufferView_pimpl.C (dispatch):
7870         * lyxfunc.C (getStatus):
7871         remove LFUN_CHILD_INSERT.
7872
7873         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7874
7875 2003-03-05  Angus Leeming  <leeming@lyx.org>
7876
7877         * commandtags.h:
7878         * LyXAction.C (init):
7879         * src/factory.C (createInset):
7880         * lyxfunc.C (getStatus):
7881         * text3.C (dispatch):
7882         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7883
7884         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7885
7886 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7887
7888         * ParagraphList.C (insert): handle insert right before end()
7889         (erase): fix cases where it can be first or last paragraph.
7890
7891 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7892
7893         * paragraph_funcs.C (TeXEnvironment): remove all usage of
7894         Paragraph::next and Paragraph::previous
7895         (TeXOnePar): ditto
7896
7897         * text.C (breakParagraph): adjust
7898
7899         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7900         BufferParams& as arg.
7901         (breakParagraph): use ParagraphList::insert
7902         (breakParagraphConservative): take a Buffer* instead of a
7903         BufferParams& as arg.
7904         (breakParagraphConservative): use ParagraphList::insert.
7905
7906         * buffer.C (insertStringAsLines): un-const it
7907         (insertStringAsLines): adjust
7908
7909         * ParagraphList.C (insert): new function
7910
7911         * CutAndPaste.C (pasteSelection): adjust
7912
7913         * text.C (backspace): adjust
7914
7915         * tabular.C (SetMultiColumn): adjust
7916
7917         * CutAndPaste.C (cutSelection): adjust
7918         (pasteSelection): adjust
7919
7920         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7921         Buffer const * as arg
7922
7923         * ParagraphList.C (erase): new function
7924         * paragraph_funcs.C (mergeParagraph): use it
7925         (mergeParagraph): make it take a Buffer* instead of a
7926         BufferParams* as arg
7927
7928         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7929         as arg
7930         (breakParagraphConservative): ditto
7931
7932         * paragraph.h: remove the breakParagraph friend
7933
7934         * paragraph.C (eraseIntern): new function
7935         (setChange): new function
7936
7937         * paragraph_funcs.C (mergeParagraph): make it take a
7938         ParagraphList::iterator instead of a Paragraph *, adjust
7939         accordingly.
7940
7941         * paragraph.h: move an #endif so that the change tracking stuff
7942         also works in the NO_NEXT case.
7943
7944 2003-03-04  Angus Leeming  <leeming@lyx.org>
7945
7946         * commandtags.h:
7947         * LyXAction.C: new LFUN_INSET_MODIFY.
7948
7949         * BufferView_pimpl.C (dispatch): if an inset is found to be open
7950         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7951
7952 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7953
7954         * several files: ws changes only
7955
7956         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7957         (TeXEnvironment): ditto
7958         (TeXDeeper): ditto
7959
7960         * buffer.C (makeLaTeXFile): adjust
7961         (latexParagraphs): make it take ParagraphList::iterator as args
7962
7963 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7964
7965         * buffer.C (latexParagraphs): adjust
7966
7967         * paragraph.C (TeXOnePar): move function...
7968         (optArgInset): move function...
7969         (TeXEnvironment): move function...
7970         * paragraph_pimpl.C (TeXDeeper): move function...
7971         * paragraph_funcs.C: ...here
7972
7973         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7974
7975 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7976
7977         * buffer.C (readInset): remove compability code for old Figure and
7978         InsetInfo insets
7979
7980 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7981
7982         * buffer.C: ws changes
7983         (readInset):
7984
7985         * BufferView_pimpl.C: ditto
7986         * author.C: ditto
7987         * buffer.h: ditto
7988         * bufferlist.h: ditto
7989         * changes.h: ditto
7990         * lyxfunc.C: ditto
7991
7992 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
7993
7994         * converter.[Ch]: split into itself +
7995         * graph.[Ch]
7996         * format.[Ch]
7997         * Makefile.am: += graph.[Ch] + format.[Ch]
7998         * MenuBackend.C
7999         * buffer.C
8000         * exporter.C
8001         * importer.C
8002         * lyx_main.C
8003         * lyxfunc.C
8004         * lyxrc.C: added #include "format.h"
8005
8006 2003-02-27  Angus Leeming  <leeming@lyx.org>
8007
8008         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8009           a label.
8010
8011         * factory.C (createInset): add "label" to the factory.
8012
8013         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8014           string and do no more.
8015
8016 2003-02-27  Angus Leeming  <leeming@lyx.org>
8017
8018         * commandtags.h:
8019         * LyXAction.C (init):
8020         * factory.C (createInset):
8021         * BufferView_pimpl.C (dispatch):
8022           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8023
8024         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8025
8026         * lyxfunc.C (dispatch):
8027         * text3.C (dispatch): pass name to params2string.
8028
8029 2003-02-26  Angus Leeming  <leeming@lyx.org>
8030
8031         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8032           blocks together.
8033           Rearrange the ~includes. Strip out the unnecessary ones.
8034
8035         * factory.C (createInset): reformat.
8036           create new insets for the various LFUN_XYZ_APPLY lfuns.
8037
8038 2003-02-26  John Levon  <levon@movementarian.org>
8039
8040         * lyxrow.h:
8041         * lyxrow.C: add isParStart,isParEnd helpers
8042
8043         * paragraph.h: make isInserted/DeletedText take refs
8044
8045         * paragraph_funcs.h:
8046         * paragraph_funcs.C: remove #if 0'd code
8047
8048         * lyxtext.h:
8049         * text3.C:
8050         * text2.C:
8051         * text.C: use lyxrow helpers above.
8052           Move draw and paint routines to RowPainter.
8053           Make several methods use refs not pointers.
8054           Make backgroundColor() const.
8055           Add markChangeInDraw(), isInInset().
8056           Merge changeRegionCase into changeCase.
8057           Make workWidth() shouldn't-happen code into an Assert.
8058
8059         * rowpainter.h:
8060         * rowpainter.C: new class for painting a row.
8061
8062         * vspace.h:
8063         * vspace.C: make inPixels take a ref
8064
8065 2003-02-26  Angus Leeming  <leeming@lyx.org>
8066
8067         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8068         LFUN_REF_APPLY.
8069
8070 2003-02-25  John Levon  <levon@movementarian.org>
8071
8072         * ispell.C: give the forked command a more accurate name
8073
8074 2003-02-22  John Levon  <levon@movementarian.org>
8075
8076         * toc.h:
8077         * toc.C: make TocItem store an id not a Paragraph *
8078           (bug #913)
8079
8080 2003-02-21  Angus Leeming  <leeming@lyx.org>
8081
8082         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8083           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8084           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8085           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8086           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8087           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8088
8089         * BufferView_pimpl.C (dispatch):
8090         * LyXAction.C (init):
8091         * factory.C (createInset):
8092         * lyxfunc.C (getStatus, dispatch):
8093         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8094
8095 2003-02-21  Angus Leeming  <leeming@lyx.org>
8096
8097         * BufferView_pimpl.C (MenuInsertLyXFile):
8098         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8099         * lyxfunc.C (menuNew, open, doImport):
8100           no longer pass a LyXView & to fileDlg.
8101
8102 2003-02-21  Angus Leeming  <leeming@lyx.org>
8103
8104         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8105         * LyXAction.C: change, BIBKEY to BIBITEM.
8106         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8107         Change InsetBibKey to InsetBibitem.
8108         Change BIBKEY_CODE to BIBITEM_CODE.
8109         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8110         * factory.C: replace insetbib.h with insetbibitem.h.
8111         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8112         * paragraph.C: replace insetbib.h with insetbibitem.h.
8113         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8114         Change bibkey() to bibitem().
8115         * text.C: remove insetbib.h.
8116         * text2.C: replace insetbib.h with insetbibitem.h.
8117         change bibkey() to bibitem().
8118         * text3.C: remove insetbib.h.
8119         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8120
8121 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8122
8123         * lyxrc.C (output): enclose user email in quotes (in case there are
8124         several words)
8125
8126 2003-02-18  John Levon  <levon@movementarian.org>
8127
8128         * buffer.h: add std::
8129
8130 2003-02-17  John Levon  <levon@movementarian.org>
8131
8132         * SpellBase.h:
8133         * ispell.h:
8134         * ispell.C:
8135         * pspell.h:
8136         * pspell.C: reworking. Especially in ispell, a large
8137           number of clean ups and bug fixes.
8138
8139         * lyxfunc.C: fix revert to behave sensibly
8140
8141 2003-02-17 André Pönitz <poenitz@gmx.net>
8142
8143         * LyXAction.C:
8144         * commandtags.h: new LFUN_INSERT_BIBKEY
8145
8146         * layout.h:
8147         * lyxlayout.C:
8148         * buffer.C:
8149         * factory.C:
8150         * text.C:
8151         * text2.C:
8152         * text3.C:
8153         * paragraph.[Ch]:
8154         * paragraph_func.C: remove special bibkey handling
8155
8156 2003-02-17  John Levon  <levon@movementarian.org>
8157
8158         * text.C (Delete): fix case where delete at the end of
8159           the very first paragraph would not merge the pars
8160
8161 2003-02-17  John Levon  <levon@movementarian.org>
8162
8163         * lyxrow.C: fix lastPrintablePos()
8164
8165 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8166
8167         * bufferparams.C (writeLaTeX): add a std:here
8168
8169         * buffer.C: and remove a using directive there
8170
8171 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8172
8173         * buffer.C (makeLaTeXFile): move the code that generates the
8174           preamble...
8175
8176         * bufferparams.C (writeLaTeX): ... in this new method
8177
8178         * LaTeXFeatures.C (getEncodingSet): make const
8179           (getLanguages): make const
8180
8181         * MenuBackend.C (binding): returns the binding associated to this
8182           action
8183           (add): sets the status of each item by calling getStatus. Adds
8184           some intelligence.
8185           (read): add support for OptSubMenu
8186           (expand): remove extra separator at the end of expanded menu
8187
8188 2003-02-15  John Levon  <levon@movementarian.org>
8189
8190         * BufferView.C:
8191         * BufferView_pimpl.C:
8192         * bufferlist.h:
8193         * bufferlist.C: remove pointless BufferStorage bloat. Remove
8194           inset code that had no actual effect. Remove unneeded status
8195           code.
8196
8197 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8198
8199         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8200           in preamble
8201
8202 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
8203
8204         * text.C (drawLengthMarker): also draw an arrow marker for
8205           symbolic lengths (medskip...)
8206
8207 2003-02-14  John Levon  <levon@movementarian.org>
8208
8209         * tabular.h:
8210         * tabular.C: better method names
8211
8212 2003-02-14  John Levon  <levon@movementarian.org>
8213
8214         * BufferView_pimpl.C:
8215         * bufferlist.C:
8216         * buffer.C:
8217         * converter.C:
8218         * lyx_cb.C:
8219         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8220           it's a more accurate name. Remove some pointless uses.
8221
8222 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8223
8224         * text2.C (LyXText): change order of initilizers to shut off
8225           warnings
8226
8227 2003-02-14  John Levon  <levon@movementarian.org>
8228
8229         * buffer.C: use ParIterator for getParFromID()
8230
8231         * paragraph.h:
8232         * paragraph.C:
8233         * paragraph_pimpl.h:
8234         * paragraph_pimpl.C: remove unused getParFromID()
8235
8236 2003-02-14  John Levon  <levon@movementarian.org>
8237
8238         * buffer.C: remove some very old #if 0'd parse code
8239
8240 2003-02-13  John Levon  <levon@movementarian.org>
8241
8242         * text.h:
8243         * text.C:
8244         * text2.C: move hfillExpansion(), numberOfSeparators(),
8245           rowLast(), rowLastPrintable(), numberofHfills(),
8246           numberOfLabelHfills() ...
8247
8248         * lyxrow.h:
8249         * lyxrow.C: ... to member functions here.
8250
8251         * paragraph.h:
8252         * paragraph.C:
8253         * lyxtext.h:
8254         * text.C: remove LyXText::beginningOfMainBody(), and call
8255           p->beginningOfMainBody() directly. Move the check for
8256           LABEL_MANUAL into the latter.
8257
8258         * text.h:
8259         * text.C:
8260         * text2.C:
8261         * vspace.C:
8262         * BufferView.h:
8263         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8264
8265         * text.h:
8266         * text.C:
8267         * text2.C:
8268         * text3.C:
8269         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8270           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8271
8272 2003-02-13  John Levon  <levon@movementarian.org>
8273
8274         * CutAndPaste.C: remove debug
8275
8276 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8277
8278         * paragraph.C (asString): remove two unused variables
8279
8280         * lyxtextclass.C (readTitleType):
8281           (Read):
8282           (LyXTextClass): handle new members titletype_ and titlename_
8283
8284         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8285
8286 2003-02-09  John Levon  <levon@movementarian.org>
8287
8288         * buffer.h:
8289         * buffer.C: replace hand-coded list with a map for the dep clean
8290
8291 2003-02-08  John Levon  <levon@movementarian.org>
8292
8293         * LaTeX.C: consolidate code into showRunMessage() helper
8294
8295 2003-02-08  John Levon  <levon@movementarian.org>
8296
8297         * lyxfind.C:
8298         * lyxtext.h:
8299         * text2.C:
8300         * BufferView.C: change setSelectionOverString() to setSelectionRange()
8301           and pass the size in explicitly
8302
8303         * BufferView_pimpl.h:
8304         * BufferView_pimpl.C:
8305         * BufferView.h:
8306         * BufferView.C: add getCurrentChange()
8307
8308         * BufferView_pimpl.h:
8309         * BufferView_pimpl.C: handle change lfuns
8310
8311         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8312           for changes. Mark pasted paragraphs as new.
8313
8314         * support/lyxtime.h:
8315         * support/lyxtime.C:
8316         * DepTable.C: abstract time_t as lyx::time_type
8317
8318         * LColor.h:
8319         * LColor.C: add colours for new text, deleted text, changebars
8320
8321         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8322           package use "usenames" option.
8323
8324         * commandtags.h:
8325         * lyxfunc.C:
8326         * LyXAction.C: add change lfuns
8327
8328         * Makefile.am:
8329         * author.h:
8330         * author.C: author handling
8331
8332         * buffer.h:
8333         * buffer.C: add a per-buffer author list, with first entry as
8334           current author. Handle new .lyx tokens for change tracking. Output
8335           author list to .lyx file. Output dvipost stuff to .tex preamble.
8336           Bump lyx format to 222.
8337
8338         * bufferlist.h:
8339         * bufferlist.C: add setCurrentAuthor() to reset current author details
8340           in all buffers.
8341
8342         * bufferparams.h:
8343         * bufferparams.C: add param for tracking
8344
8345         * bufferview_funcs.C: output change info in minibuffer
8346
8347         * Makefile.am:
8348         * changes.h:
8349         * changes.C: add change-tracking structure
8350
8351         * debug.h:
8352         * debug.C: add CHANGES debug flag
8353
8354         * lyxfind.h:
8355         * lyxfind.C: add code for finding the next change piece
8356
8357         * lyxrc.h:
8358         * lyxrc.C: add user_name and user_email
8359
8360         * lyxrow.h:
8361         * lyxrow.C: add a metric for the top of the text line
8362
8363         * lyxtext.h:
8364         * text.C: implement accept/rejectChange()
8365
8366         * lyxtext.h:
8367         * text.C: paint changebars. Paint new/deleted text in the chosen
8368         colours. Strike through deleted text.
8369
8370         * paragraph.h:
8371         * paragraph.C:
8372         * paragraph_pimpl.h:
8373         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8374           in the current change to the insert functions. Rework erase to
8375           mark text as deleted, adding an eraseIntern() and a range-based
8376           erase(). Implement per-paragraph change lookup and
8377           accept/reject.
8378
8379         * paragraph_funcs.C: Fixup paste for change tracking.
8380
8381         * tabular.C: mark added row/columns as new.
8382
8383         * text.C: fix rowLast() to never return -1. Don't allow
8384           spellchecking of deleted text. Track transpose changes. Don't
8385           allow paragraph break or merge where appropriate.
8386
8387         * text2.C: leave cursor at end of selection after a cut.
8388
8389 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8390
8391         * text.C (getLengthMarkerHeight):
8392         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8393         visible on screen too.
8394
8395 2003-02-07  John Levon  <levon@movementarian.org>
8396
8397         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8398
8399 2003-02-05  Angus Leeming  <leeming@lyx.org>
8400
8401         * lyxserver.C (read_ready): revert my patch of 11 September last year
8402         as it sends PC cpu through the roof. Presumably this means that
8403         the lyxserver will no longer run on an Alpha...
8404
8405 2003-01-30  Angus Leeming  <leeming@lyx.org>
8406
8407         * factory.C (createInset): create an InsetCommandParam of type "index"
8408         and use it to 'do the right thing'.
8409
8410         * text2.C (getStringToIndex): ensure that cursor position is always
8411         reset to the reset_cursor position.
8412
8413 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8414
8415         * lyxfunc.C (getStatus): "buffer-export custom" should never be
8416         disabled.
8417
8418 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
8419
8420         * bufferview.C:
8421         * lyxcb.C:
8422         * lyxfunc.C: Output messages with identical spelling, punctuation,
8423         and spaces
8424
8425 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
8426
8427         * MenuBackend.C (expandFormats): List only viewable export formats
8428         in "View" menu
8429
8430         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8431         message
8432
8433         * lyxfunc.C (getStatus): Make sure that formats other than
8434         "fax" can also be disabled
8435
8436 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8437
8438         * text3.C (dispatch): put the lfuns that insert insets in 3
8439         groups, and call doInsertInset with appropriate arguments.
8440         (doInsertInset): new function, that creates an inset and inserts
8441         it according to some boolean parameters.
8442
8443 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8444
8445         * buffer.C (readFile): remember to pass on 'par' when calling
8446         readFile recursively.
8447
8448 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8449
8450         * MenuBackend.C (expandFormats): add "..." to import formats.
8451
8452 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
8453
8454         * paragraph.C (asString): Remove XForms RTL hacks.
8455
8456 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
8457         * buffer.C: fix typo
8458
8459 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8460
8461         * Makefile.am (LIBS): delete var
8462         (lyx_LDADD): add @LIBS@ here instead.
8463
8464 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
8465
8466         * Clarify the meaning of "wheel mouse jump"
8467
8468 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8469
8470         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8471         tabular in a float
8472
8473 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8474
8475         * importer.C (Loaders): do not preallocate 3 elements in the
8476         vector, since one ends up with 6 elements otherwise
8477
8478 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8479
8480         * DepTable.C (write): write the file name as last element of the
8481         .dep file (because it may contain spaces)
8482         (read): read info in the right order
8483
8484 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8485
8486         * paragraph_pimpl.C (simpleTeXBlanks):
8487         (simpleTeXSpecialChars):
8488         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8489
8490         * tabular.C (latex): add some missing case statements. Reindent.
8491
8492         * MenuBackend.C (expandToc): remove unused variable.
8493
8494 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
8495
8496         * LColor.C:
8497         * LaTeX.C:
8498         * LyXAction.C:
8499         * MenuBackend.C:
8500         * buffer.C:
8501         * exporter.C:
8502         * lyxfunc.C:
8503         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8504         and the like.
8505
8506 2003-01-05  John Levon  <levon@movementarian.org>
8507
8508         * BufferView.h:
8509         * BufferView.C: add getEncoding()
8510
8511         * kbsequence.h:
8512         * kbsequence.C: do not store last keypress
8513
8514         * lyxfunc.h:
8515         * lyxfunc.C: store last keypress here instead. Pass encoding
8516           to getISOEncoded()
8517
8518 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8519
8520         * lyx_main.C (init): remove annoying error message when following
8521         symbolic links (bug #780)
8522
8523 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8524
8525         * text.C (insertChar):
8526         * lyxrc.C (getDescription): remove extra spaces
8527
8528 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8529
8530         * lyxrc.C (getDescription): remove extra spaces
8531
8532 2002-12-20  John Levon  <levon@movementarian.org>
8533
8534         * text3.C: hack fix for page up/down across tall rows
8535
8536 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8537
8538         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8539         not been invoked
8540
8541 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8542
8543         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8544         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8545         thesaurus is not compiled in
8546
8547 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
8548
8549         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
8550
8551 2002-12-16  Angus Leeming  <leeming@lyx.org>
8552
8553         * lyxrc.[Ch]:
8554         * lyx_main.C (init): remove override_x_deadkeys stuff.
8555
8556 2002-12-12  John Levon  <levon@movementarian.org>
8557
8558         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8559           insert. Only remove shift modifier under strict
8560           circumstances.
8561
8562 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8563
8564         * MenuBackend.C (expandToc): fix crash.
8565
8566 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8567
8568         * MenuBackend.C (expandToc): gettext on float names.
8569
8570 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
8571
8572         * lyxlength.[Ch]: set default unit to UNIT_NONE,
8573         implement bool empty() [bug 490]
8574
8575 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8576
8577         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8578
8579 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8580
8581         * several files: ws changes
8582
8583 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8584
8585         * text2.C (setCounter): clean up a bit, use boost.format.
8586         (updateCounters): initialize par upon declaration.
8587
8588         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8589         if the layout exists. We do not just store the layout any more.
8590         (SwitchLayoutsBetweenClasses): use boost.format
8591
8592 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8593
8594         * converter.C (convert): if from and to files are the same, use a
8595         temporary files as intermediary
8596
8597 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8598
8599         * commandtags.h:
8600         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8601
8602 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
8603
8604         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8605
8606 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8607
8608         * tabular.C (asciiPrintCell): use string(size, char) instead of
8609         explicit loop.
8610
8611         * sgml.C (openTag): fix order of arguments to string constructor
8612         (closeTag): ditto
8613
8614         * lyxfunc.C (dispatch): use boost.format
8615
8616         * lots of files: change "c" -> 'c'
8617
8618 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
8619
8620         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8621
8622 2002-11-25  Angus Leeming  <leeming@lyx.org>
8623
8624         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8625
8626         * lyx_main.C (init): compile fix.
8627
8628 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8629
8630         * lyx_cb.C (start): boost.formatify
8631         do not include <iostream>
8632
8633         * lengthcommon.C: ws only
8634
8635         * boost-inst.C,BoostFormat.h: add more explict instantations
8636
8637 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8638
8639         * lots of files: handle USE_BOOST_FORMAT
8640
8641 2002-11-21  John Levon  <levon@movementarian.org>
8642
8643         * pspell.C: fix compile
8644
8645 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8646
8647         * lyxfunc.C (dispatch): use boost::format
8648         (open): ditto
8649         (doImport): ditto
8650
8651         * lyxfont.C (stateText): use boost::format
8652
8653         * lyx_main.C (LyX): use boost::format
8654         (init): ditto
8655         (queryUserLyXDir): ditto
8656         (readRcFile): ditto
8657         (parse_dbg): ditto
8658         (typedef boost::function): use the recommened syntax.
8659
8660         * importer.C (Import): use boost::format
8661
8662         * debug.C (showLevel): use boost::format
8663
8664         * converter.C (view): use boost::format
8665         (convert): ditto
8666         (move): ditto
8667         (scanLog): ditto
8668
8669         * bufferview_funcs.C (currentState): use boost::format
8670
8671         * bufferlist.C (emergencyWrite): use boost::format
8672
8673         * buffer.C (readLyXformat2): use boost::format
8674         (parseSingleLyXformat2Token): ditto
8675
8676         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8677
8678         * LaTeX.C (run): use boost::format
8679
8680         * Chktex.C (scanLogFile): use boost::format
8681
8682         * BufferView_pimpl.C (savePosition): use boost::format
8683         (restorePosition): ditto
8684         (MenuInsertLyXFile): ditto
8685
8686         * BoostFormat.h: help file for explicit instation.
8687
8688 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
8689
8690         * tabular.C (latex): Support for block alignment in fixed width
8691         columns.
8692
8693 2002-11-17  John Levon  <levon@movementarian.org>
8694
8695         * BufferView_pimpl.C:
8696         * lyx_cb.C:
8697         * lyxfunc.C: split filedialog into open/save
8698
8699 2002-11-08  Juergen Vigna  <jug@sad.it>
8700
8701         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8702         by my last patch (hopefully).
8703
8704 2002-11-08  John Levon  <levon@movementarian.org>
8705
8706         * iterators.h:
8707         * iterators.C:
8708         * buffer.h:
8709         * buffer.C:
8710         * paragraph.h:
8711         * paragraph.C:
8712         * toc.h:
8713         * toc.C: ParConstIterator, and use it (from Lars)
8714
8715 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
8716
8717         * lyxtextclass.[Ch]: revise and add doxygen comments
8718
8719 2002-11-07  John Levon  <levon@movementarian.org>
8720
8721         * text.C: fix progress value for spellchecker
8722
8723         * toc.C: fix navigate menu for insetwrap inside minipage
8724
8725         * paragraph_funcs.C: added FIXME for suspect code
8726
8727 2002-11-07  John Levon  <levon@movementarian.org>
8728
8729         * BufferView_pimpl.C: fix redrawing of insets
8730           on buffer switch
8731
8732 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8733
8734         * text2.C (updateCounters): fix bug 668
8735
8736 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
8737
8738         * text3.C (dispatch): Do not make the buffer dirty when moving the
8739         cursor.
8740
8741 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8742
8743         * vc-backend.C: STRCONV
8744         (scanMaster): ditto
8745
8746         * text2.C (setCounter): STRCONV
8747
8748         * paragraph.C (asString): STRCONV
8749
8750         * lyxlength.C (asString): STRCONV
8751         (asLatexString): ditto
8752
8753         * lyxgluelength.C (asString): STRCONV
8754         (asLatexString): ditto
8755
8756         * lyxfunc.C (dispatch): STRCONV
8757         (open): ditto
8758
8759         * lyxfont.C (stateText): STRCONV
8760
8761         * importer.C (Import): STRCONV
8762
8763         * counters.C (labelItem): STRCONV
8764         (numberLabel): ditto
8765         (numberLabel): remove unused ostringstream o
8766
8767         * chset.C: STRCONV
8768         (loadFile): ditto
8769
8770         * bufferview_funcs.C (currentState): STRCONV
8771
8772         * buffer.C (readFile): STRCONV
8773         (asciiParagraph): ditto
8774         (makeLaTeXFile): ditto
8775
8776         * Spacing.C (writeEnvirBegin): STRCONV
8777
8778         * LaTeXFeatures.C (getLanguages): STRCONV
8779         (getPackages): ditto
8780         (getMacros): ditto
8781         (getBabelOptions): ditto
8782         (getTClassPreamble): ditto
8783         (getLyXSGMLEntities): ditto
8784         (getIncludedFiles): ditto
8785
8786         * LaTeX.C: STRCONV
8787         (run): ditto
8788         (scanAuxFile): ditto
8789         (deplog): ditto
8790
8791         * LString.h: add the STRCONV macros
8792
8793         * BufferView_pimpl.C (savePosition): STRCONV
8794         (restorePosition): ditto
8795         (MenuInsertLyXFile): ditto
8796
8797         * vc-backend.C (scanMaster): change from submatch[...] to
8798         submatch.str(...)
8799
8800         * funcrequest.C: include config.h
8801
8802         * factory.C: include config.h
8803
8804         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8805
8806         * box.C: include config.h
8807
8808         * LaTeX.C (scanAuxFile): change from submatch[...] to
8809         submatch.str(...)
8810         (deplog): ditto
8811
8812 2002-10-25  Angus Leeming  <leeming@lyx.org>
8813
8814         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8815
8816         * ispell.[Ch] (setError): new method.
8817         * ispell.C (c-tor): move out child process into new class LaunchIspell.
8818         Use setError() insetead of goto END.
8819
8820         * lyx_cb.C (AutoSave): move out child process into new class
8821         AutoSaveBuffer.
8822
8823 2002-10-30  John Levon  <levon@movementarian.org>
8824
8825         * text3.C: make start appendix undoable
8826
8827 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
8828
8829         * lyxlength.C (inPixels): Fix returned value.
8830
8831         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8832         environment.
8833
8834 2002-10-24  Angus Leeming  <leeming@lyx.org>
8835
8836         * lyxgluelength.h: no need to forward declare BufferParams
8837         or BufferView, so don't.
8838
8839 2002-10-21  John Levon  <levon@movementarian.org>
8840
8841         * BufferView.C: menuUndo ->undo, redo
8842
8843         * BufferView.h: document, remove dead, make some methods private
8844
8845         * paragraph_funcs.h:
8846         * paragraph_funcs.C:
8847         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8848
8849         * buffer.h:
8850         * buffer.C:
8851         * sgml.h:
8852         * sgml.C: move sgml open/close tag into sgml.C
8853
8854         * bufferview_funcs.h: unused prototype
8855
8856         * lyxfunc.h:
8857         * lyxfunc.C: remove unused
8858
8859         * lyxtext.h:
8860         * text.C: remove unused
8861
8862 2002-10-21  John Levon  <levon@movementarian.org>
8863
8864         * BufferView.h:
8865         * BufferView.C:
8866         * BufferView_pimpl.h:
8867         * BufferView_pimpl.C: fix mouse wheel handling based on
8868           patch from Darren Freeman
8869
8870 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
8871
8872         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8873
8874 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
8875
8876         * lyxlength.C (inPixels): Fix hanfling of negative length.
8877         Fix LyXLength::MU case.
8878
8879 2002-10-16  John Levon  <levon@movementarian.org>
8880
8881         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8882
8883 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8884
8885         * converter.C (view): add support for $$i (file name) and $$p
8886         (file path) for the viewer command. If $$i is not specified, then
8887         it is appended to the command (for compatibility with old syntax)
8888
8889 2002-10-14  Juergen Vigna  <jug@sad.it>
8890
8891         * undo_funcs.C (textHandleUndo): alter the order in which the
8892         new undopar is added to the LyXText, as we have to set first
8893         the right prev/next and then add it as otherwise the rebuild of
8894         LyXText is not correct. Also reset the cursor to the right paragraph,
8895         with this IMO we could remove the hack in "redoParagraphs()".
8896
8897 2002-10-09  Angus Leeming  <leeming@lyx.org>
8898
8899         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8900         to turn off an optimisation if a new inset is to be inserted.
8901
8902 2002-10-11 André Pönitz <poenitz@gmx.net>
8903
8904         * lyxtext.h: make some functions public to allow access
8905         from inset/lyxtext for handling LFUN_PRIOR/NEXT
8906
8907 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8908
8909         * text3.C (dispatch): when changing layout, avoid an infinite loop
8910         [bug #652]
8911
8912 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8913
8914         * lyxrc.C (read): treat a viewer or converter command of "none" as
8915         if it were empty.
8916
8917         * MenuBackend.C (expandFormats): for an update, also allow the
8918         formats that are not viewable
8919
8920         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8921         script if it is newer than the lyxrc.defaults in user directory
8922
8923 2002-10-07 André Pönitz <poenitz@gmx.net>
8924
8925         * text.C: Vitaly Lipatov's small i18n fix
8926
8927 2002-09-25  Angus Leeming  <leeming@lyx.org>
8928
8929         * ispell.h: doxygen fix.
8930
8931 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
8932
8933         * buffer.h (readFile): Add a new argument to the method, to allow
8934         reading of old-format templates.
8935
8936 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
8937
8938         * toc.C (getTocList): Get TOC from InsetWrap.
8939
8940 2002-09-16  John Levon  <levon@movementarian.org>
8941
8942         * lyxfunc.C: check tabular for cut/copy too
8943
8944 2002-09-12  John Levon  <levon@movementarian.org>
8945
8946         * LyXAction.C: tidy
8947
8948         * factory.h:
8949         * factory.C: add header
8950
8951         * paragraph_funcs.h:
8952         * paragraph_funcs.C: cleanup
8953
8954 2002-09-11  John Levon  <levon@movementarian.org>
8955
8956         * PrinterParams.h: odd/even default to true
8957
8958 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
8959
8960         * PrinterParams.h: update printer parameters for new xforms dialog
8961
8962 2002-09-11  Angus Leeming  <leeming@lyx.org>
8963
8964         * lyxserver.C (read_ready): re-write to make it more transparent
8965         and to make it work in coherent fashion under Tru64 Unix.
8966
8967 2002-09-11  André Pönitz <poenitz@gmx.net>
8968
8969         * commandtags.h:
8970         * LyXAction.C:
8971         * text3.C: implement LFUN_WORDSEL
8972
8973 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8974
8975         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8976         make floatlist_ a boost::shared_ptr<FloatList>
8977
8978         * lyxtextclass.C: include FloatList.h
8979         (LyXTextClass): initialize floatlist_
8980         (TextClassTags): add TC_NOFLOAT
8981         (Read): match "nofloat" to TC_NOFLOAT and use it.
8982         (readFloat): modify call to floatlist_
8983         (floats): ditto
8984         (floats): ditto
8985
8986         * FloatList.[Ch] (FloatList): remove commented out float
8987         initialization.
8988         (erase): new function
8989
8990 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8991
8992         * MenuBackend.C (expandToc): fix crash when there is no document
8993         open
8994
8995 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
8996
8997         * many files: Add insetwrap.
8998
8999 2002-09-09  John Levon  <levon@movementarian.org>
9000
9001         * text2.C: remove confusing and awkward depth wraparound
9002
9003 2002-09-09  John Levon  <levon@movementarian.org>
9004
9005         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9006
9007         * buffer.h:
9008         * buffer.C: remove getIncludeonlyList()
9009
9010         * paragraph.C:
9011         * lyxfunc.C: remove headers
9012
9013 2002-09-09  Juergen Vigna  <jug@sad.it>
9014
9015         * text.C (getColumnNearX): fix form Michael this is most
9016         probably a cut&paste bug.
9017
9018 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9019
9020         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9021
9022         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9023         references, ws changes.
9024
9025         * text2.C (init): update counters after init
9026         (insertParagraph): no need to set counter on idividual paragraphs.
9027         (setCounter): access the counters object in the textclass object
9028         on in the buffer object.
9029         (updateCounters): ditto
9030
9031         * lyxtextclass.C: include counters.h, add variable ctrs_ as
9032         shared_ptr<Counters> to avoid loading counters.h in all
9033         compilation units.
9034         (LyXTextClass): initialize ctrs_
9035         (TextClassTags): add TC_COUNTER, and ...
9036         (Read): use it here.
9037         (CounterTags): new tags
9038         (readCounter): new function
9039         (counters): new funtion
9040         (defaultLayoutName): return a const reference
9041
9042         * counters.C (Counters): remove contructor
9043         (newCounter): remove a couple of unneeded statements.
9044         (newCounter): simplify a bit.
9045         (numberLabel): some small formatting changes.
9046
9047         * buffer.[Ch]: remove all traces of counters, move the Counters
9048         object to the LyXTextClass.
9049
9050 2002-09-06  Alain Castera  <castera@in2p3.fr>
9051
9052         * tabular.C: uses \tabularnewline; uses >{...} construct from array
9053         package to set the horizontal alignment on fixed width columns.
9054
9055         * lyx_sty.C:
9056         * lyx_sty.h: added tabularnewline macro def.
9057
9058         * LaTeXFeatures.C: added NeedTabularnewline macro feature
9059
9060 2002-09-06  John Levon  <levon@movementarian.org>
9061
9062         * LyXAction.C: tooltips for sub/superscript
9063
9064         * MenuBackend.C: a bit more verbose
9065
9066         * lyxfunc.C: tiny clean
9067
9068         * undo_funcs.C: document undo_frozen
9069
9070 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9071
9072         * counters.C (Counters): add missing algorithm counter.
9073
9074         * text2.C (setCounter): lookup the counter with layouts latexname
9075         instead of by section number.
9076         (setCounter): use a hackish way to lookup the correct enum
9077         counter.
9078         a float name->type change
9079         reset enum couners with counter name directly instead of depth value.
9080
9081         * counters.C (Counters): remove the push_backs, change to use the
9082         float type not the float name.
9083         (labelItem): remove unused string, float name->type change
9084
9085         * counters.h: don't include vector, loose the enums and sects vectors
9086
9087 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9088
9089         * lyxtextclass.C (TextClassTags): add TC_FLOAT
9090         (Read): add float->TC_FLOAT to textclassTags
9091         (Read): and handle it in the switch
9092         (readFloat): new function
9093
9094         * FloatList.C (FloatList): comment out the hardcoded float
9095         definitions.
9096
9097         * lyxlayout.h: ws change.
9098
9099 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
9100
9101         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9102
9103 2002-09-03  Angus Leeming  <leeming@lyx.org>
9104
9105         * BufferView_pimpl.h: qualified name is not allowed in member
9106         declaration: WorkArea & Pimpl::workarea() const;
9107
9108         * factory.C: added using std::endl directive.
9109
9110         * text3.C: added using std::find and std::vector directives.
9111
9112 2002-08-29  André Pönitz <poenitz@gmx.net>
9113
9114         * lyxtext.h:
9115         * text2.C: remove unused member number_of_rows
9116
9117         * Makefile.am:
9118         * BufferView2.C: remove file, move contents to...
9119         * BufferView.C: ... here
9120
9121         * BufferView_pimpl.C:
9122         * factory.C: move more inset creation to factory
9123
9124         * vspace.C: avoid direct usage of LyXText, ws changes
9125
9126         * BufferView.[Ch]:
9127                 don't provide direct access to WorkArea, use two simple
9128                 acessors haveSelction() and workHeight() instead
9129
9130
9131 2002-08-29  John Levon  <levon@movementarian.org>
9132
9133         * BufferView_pimpl.C (dispatch): do not continue when
9134           no buffer
9135
9136 2002-08-28  André Pönitz <poenitz@gmx.net>
9137
9138         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9139
9140         * BufferView.h:
9141         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9142
9143 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
9144
9145         * buffer.C: increment LYX_FORMAT to 221
9146
9147         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9148         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9149
9150         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9151
9152         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9153
9154 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9155
9156         * factory.C (createInset): use LyXTextClass::floats
9157
9158         * MenuBackend.C (expandFloatListInsert):
9159         (expandFloatInsert):
9160         (expandToc):
9161
9162         * text2.C (setCounter):
9163
9164         * LaTeXFeatures.C (useFloat):
9165         (getFloatDefinitions):
9166
9167         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9168
9169         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9170         floatlist_, with accessor floats().
9171
9172         * FloatList.h: remove global FloatList
9173
9174 2002-08-26  André Pönitz <poenitz@gmx.net>
9175
9176         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9177
9178         * BufferView.h:
9179         * BufferView2.C:
9180         * BufferView_pimpl.C:
9181         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9182
9183 2002-08-25  John Levon  <levon@movementarian.org>
9184
9185         * LyXAction.C: fix margin note description
9186
9187 2002-08-24  John Levon  <levon@movementarian.org>
9188
9189         * buffer.C:
9190         * bufferlist.C:
9191         * bufferview_funcs.C:
9192         * lyxfont.C:
9193         * undo_funcs.C: cleanups
9194
9195         * lyxfunc.C: disable CUT/COPY when no selection
9196
9197 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
9198
9199         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9200         in "enum UNIT"; e.g. PTW for Percent of TextWidth
9201
9202         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9203         Add backward compatibility to "mono", "gray" and "no".
9204
9205 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
9206
9207         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9208         (and file_format >= 200).
9209
9210 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9211
9212         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9213
9214 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9215
9216         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9217
9218 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
9219
9220         * BufferView_pimpl.C:
9221         * LyXAction.C:
9222         * buffer.C:
9223         * commandtags.h:
9224         * lyxfunc.C:
9225         * paragraph.[Ch]:
9226         * text2.C:
9227         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9228         inset and code to make it  work with the paragraph code. The inset
9229         can be anywhere in the paragraph, but will only do the expected
9230         thing in LaTeX if the layout file contains the parameter line
9231                         OptionalArgs    1
9232         (or more generally, a nonzero value) for that layout.
9233
9234 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
9235
9236         * paragraph.h: remove the declaration of undefined counters class
9237         function.
9238
9239 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
9240
9241         * text2.C (setCounter):  fixed enumeration mis-count as reported by
9242         Dr. Richard Hawkins.
9243
9244 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9245
9246         * paragraph_funcs.h: remove some unneeded includes
9247
9248         * text.C (backspace): pasteParagraph now in global scipe
9249
9250         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9251         (pasteSelection): ditto
9252
9253         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9254         * paragraph_funcs.C (pasteParagraph): ... here
9255
9256 2002-08-20  André Pönitz <poenitz@gmx.net>
9257
9258         * commandtags.h: new LFUNs for swapping/copying table row/colums
9259
9260         * LyXAction.C:
9261         * lyxfunc.C: support for new lfuns
9262
9263 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
9264
9265         * tabular.C:
9266         * buffer.[Ch]: remove NO_COMPABILITY stuff
9267
9268 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
9269
9270         * boost.C (throw_exception): new file, with helper function for
9271         boost compiled without exceptions.
9272
9273         * paragraph.h:
9274         * lyxlength.C:
9275         * buffer.C:
9276         * ParameterStruct.h:
9277         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9278
9279         * bufferlist.C (emergencyWriteAll): use boost bind
9280
9281         * BufferView_pimpl.C (moveCursorUpdate): remove inline
9282
9283         * text.C: include paragraph_funcs.h
9284         (breakParagraph): breakParagraph is now in global scope
9285
9286         * paragraph_funcs.[Ch]: new files
9287
9288         * paragraph.C (breakParagraph,breakParagraphConservative): move to
9289         global scope
9290
9291         * buffer.C: include paragraph_funcs.h
9292         (insertStringAsLines): breakParagraph is now in global scope
9293
9294         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9295         paragraph_funcs.C
9296
9297         * CutAndPaste.C: include paragraph_funcs.h
9298         (cutSelection): breakParagraphConservative is now in global scope
9299         (pasteSelection): ditto
9300
9301         * buffer.h: declare oprator== and operator!= for
9302         Buffer::inset_iterator
9303
9304         * bufferlist.C (emergencyWrite): don't use fmt(...)
9305
9306         * text3.C: add using std::endl
9307
9308         * BufferView.C (moveCursorUpdate): remove default arg
9309
9310 2002-08-20  André Pönitz <poenitz@gmx.net>
9311
9312         * buffer.[Ch]: move inline functions to .C
9313
9314         * BufferView2.C:
9315         * BufferView_pimpl.C:
9316         * text.C:
9317         * buffer.[Ch]: use improved inset_iterator
9318
9319         * buffer.C:
9320         * paragraph.[Ch]: write one paragraph at a time
9321
9322 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
9323
9324         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9325         style if style is not specified.
9326
9327 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9328
9329         * text2.C (setCounter): when searching for right label for a
9330         caption, make sure to recurse to parent insets (so that a caption
9331         in a minipage in a figure float works) (bug #568)
9332
9333 2002-08-20  André Pönitz <poenitz@gmx.net>
9334
9335         * text3.C: new file for LyXText::dispatch() and helpers
9336
9337         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9338
9339         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9340
9341 2002-08-19  André Pönitz <poenitz@gmx.net>
9342
9343         * lyxtext.h:
9344         * text.C: new LyXText::dispatch()
9345
9346         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9347
9348 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
9349
9350         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9351
9352         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9353         Hebrew text.
9354
9355 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9356
9357         * Makefile.am: use $(variables) instead of @substitutions@
9358
9359 2002-08-15  André Pönitz <poenitz@gmx.net>
9360
9361         * lyxfunc.C:
9362         * BufferView_pimpl.C: streamlining mathed <-> outer world
9363         interaction
9364
9365         * commandtags.h:
9366         * LyXAction.C: remove unused LFUN_MATH
9367
9368 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9369
9370         * paragraph.[Ch]: add some NO_NEXT ifdefs.
9371
9372 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9373
9374         * paragraph.C (Paragraph): reformat a bit
9375         (cutIntoMinibuffer): use builtin InsetList function instad of
9376         doing it manually.
9377         (getInset): ditto
9378
9379         * buffer.C: include boost/bind.hpp, add using std::for_each
9380         (writeFileAscii): use ParagraphList iterators
9381         (validate): use for_each for validate traversal of paragraphs
9382         (getBibkeyList): use ParagraphList iterators
9383         (resizeInsets): use for_each to resizeInsetsLyXText for all
9384         paragraphs.
9385         (getParFromID): use ParagraphList iterators
9386
9387         * BufferView2.C (lockInset): use paragraph list and iterators
9388
9389 2002-08-14  John Levon  <levon@movementarian.org>
9390
9391         * lyxserver.C: remove spurious xforms include
9392
9393 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9394
9395         * lyxfunc.C (getStatus): disable math-extern outside of math mode
9396
9397 2002-08-13  André Pönitz <poenitz@gmx.net>
9398
9399         * LyXAction.[Ch]:
9400         * lyxfunc.C: further cleaning
9401
9402 2002-08-13  André Pönitz <poenitz@gmx.net>
9403
9404         * funcrequest.h: new constructor
9405
9406         * funcrequest.C: move stuff here from .h
9407
9408         * Makefile.am:
9409         * BufferView_pimpl.C:
9410         * LyXAction.C:
9411         * toc.C:
9412         * lyxfunc.C: subsequent changes
9413
9414         * lyxfunc.h: new view() member function
9415
9416         * lyxfunc.C: subsequent changes
9417
9418 2002-08-13  Angus Leeming  <leeming@lyx.org>
9419
9420         * BufferView2.C:
9421         * BufferView_pimpl.C:
9422         * buffer.C:
9423         * converter.C:
9424         * importer.C:
9425         * lyxfunc.C:
9426         * lyxvc.C:
9427         * toc.C:
9428         * vc-backend.C:
9429         changes due to the changed LyXView interface that now returns references
9430         to member variables not pointers.
9431
9432 2002-08-13  Angus Leeming  <leeming@lyx.org>
9433
9434         * WordLangTuple (word, lang_code): return references to strings,
9435         not strings.
9436
9437         * BufferView.h:
9438         * SpellBase.h:
9439         * lyxtext.h: forward-declare WordLangTuple.
9440
9441         * BufferView2.C:
9442         * ispell.C:
9443         * pspell.C:
9444         * text.C: #include "WordLangTuple.h".
9445
9446         * lyxtext.h:
9447         * text.C: (selectNextWordToSpellcheck): constify return type.
9448
9449 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
9450
9451         * buffer.C:
9452         * buffer.h:
9453         * lyxtext.h:
9454         * paragraph.C:
9455         * paragraph_pimpl.h:
9456         * text.C:
9457         * text2.C:
9458         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9459         suggested by Angus.
9460         Made updateCounter always count from start of buffer, and removed
9461         second argument (par).
9462         Reverted floats number display to '#'. Perhaps I'll try again when the
9463         code base is sanitized a bit.
9464
9465 2002-08-12  Angus Leeming  <leeming@lyx.org>
9466
9467         * buffer.[Ch] (getLabelList): constify.
9468
9469 2002-08-07  André Pönitz <poenitz@gmx.net>
9470
9471         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9472
9473         * funcrequest.h: extension to keep mouse (x,y) position
9474
9475 2002-08-12  Juergen Vigna  <jug@sad.it>
9476
9477         * BufferView2.C (insertErrors): forbid undo when inserting error
9478         insets.
9479
9480         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9481
9482 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9483
9484         * ParagraphList.[Ch]: new files
9485
9486         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9487
9488         * BufferView2.C (lockInset): ParagraphList changes
9489         * toc.C: ditto
9490         * text2.C: ditto
9491         * bufferlist.C: ditto
9492         * buffer.h: ditto
9493         * buffer.C: ditto
9494
9495 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9496
9497         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9498         unused class variable counter_,
9499
9500         * paragraph.[Ch] (getFirstCounter): delete unused function
9501
9502         * counters.C: include LAssert.h
9503         (reset): add a new function with no arg, change other version to
9504         not have def. arg and to not allow empty arg.
9505
9506         * text2.C (setCounter): remove empty arg from call to Counters::reset
9507
9508 2002-08-11  John Levon  <levon@movementarian.org>
9509
9510         * Makefile.am: add WordLangTuple.h
9511
9512 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9513
9514         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9515         lyxfunc.C lyxlex_pimpl.C: ws changes only.
9516
9517         * insets/insettext.C: InsetList changes
9518
9519         * graphics/GraphicsSupport.C (operator()): InsetList changes
9520
9521         * toc.C (getTocList): InsetList changes
9522
9523         * paragraph_pimpl.[Ch]: InsetList changes
9524
9525         * paragraph.[Ch]: InsetList changes
9526
9527         * buffer.C (inset_iterator): InsetList changes
9528         (setParagraph): ditto
9529         * buffer.h (inset_iterator): ditto
9530         * iterators.C (operator++): ditto
9531         * iterators.h: ditto
9532
9533         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9534
9535         * InsetList.[Ch]: new files, most InsetList handling moved out of
9536         paragraph.C.
9537
9538         * BufferView2.C (removeAutoInsets): InsetList changes
9539         (lockInset): ditto
9540         (ChangeInsets): ditto
9541
9542 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
9543
9544         * paragraph_pimpl.h (empty): new function
9545
9546         * paragraph.[Ch] (empty): new function
9547
9548         * other files: use the new Paragraph::empty function
9549
9550 2002-08-09  John Levon  <levon@movementarian.org>
9551
9552         * lyxtext.h: remove unused refresh_height
9553
9554 2002-08-09  John Levon  <levon@movementarian.org>
9555
9556         * Makefile.am:
9557         * sgml.h:
9558         * sgml.C:
9559         * buffer.C:
9560         * paragraph.h:
9561         * paragraph.C: move sgml char escaping out of paragraph
9562
9563         * paragraph.h:
9564         * paragraph.C: remove id setter
9565
9566         * buffer.C:
9567         * paragraph.C:
9568         * paragraph_pimpl.C: remove dead tex_code_break_column
9569
9570         * bufferview_funcs.C: small cleanup
9571
9572         * lyxfunc.C: remove dead proto
9573
9574         * lyxtext.h: make some stuff private. Remove some dead stuff.
9575
9576         * lyxgluelength.C: make as[LyX]String() readable
9577
9578 2002-08-08  John Levon  <levon@movementarian.org>
9579
9580         * LyXAction.h:
9581         * LyXAction.C:
9582         * MenuBackend.C:
9583         * ToolbarDefaults.C:
9584         * lyxfunc.C:
9585         * lyxrc.C:
9586         * toc.C: lyxaction cleanup
9587
9588 2002-08-08  John Levon  <levon@movementarian.org>
9589
9590         * BufferView2.C: small cleanup
9591
9592         * lyxfind.h:
9593         * lyxfind.C: move unnecessary header into the .C
9594
9595 2002-08-08  John Levon  <levon@movementarian.org>
9596
9597         * funcrequest.h: just tedious nonsense
9598
9599         * lyx_main.h:
9600         * lyx_main.C: cleanups
9601
9602         * buffer.C:
9603         * vspace.C: remove dead header lyx_main.h
9604
9605 2002-08-07  Angus Leeming  <leeming@lyx.org>
9606
9607         * Paragraph.[Ch]:
9608         * paragraph_pimpl.h:
9609         Forward declare class Counters in paragraph.h by moving the ctrs member
9610         variable into Paragraph::Pimpl.
9611         (counters): new method, returning a reference to pimpl_->ctrs.
9612
9613         * text2.C: ensuing changes.
9614
9615 2002-08-07  John Levon  <levon@movementarian.org>
9616
9617         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9618
9619         * BufferView_pimpl.C: announce X selection on double/triple
9620           click
9621
9622         * lyx_main.C: use correct bool in batch dispatch
9623
9624         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9625
9626 2002-08-07  André Pönitz <poenitz@gmx.net>
9627
9628         * funcrequest.h: new class to wrap a kb_action and its argument
9629
9630         * BufferView.[Ch]:
9631         * BufferView_pimpl[Ch]:
9632         * LaTeX.C:
9633         * LyXAction.[Ch]:
9634         * lyxfunc.[Ch]:
9635         * lyxrc.C: subsequent changes
9636
9637
9638 2002-08-07  John Levon  <levon@movementarian.org>
9639
9640         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9641           document options change.
9642
9643 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
9644
9645         * counters.[Ch]
9646         * text2.C
9647         * paragraph.[Ch]
9648         * makefile.am: move counters functionality over from
9649         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9650
9651 2002-08-06  John Levon  <levon@movementarian.org>
9652
9653         * WordLangTuple.h: new file for word + language code tuple
9654
9655         * SpellBase.h:
9656         * pspell.h:
9657         * pspell.C:
9658         * ispell.h:
9659         * ispell.C:
9660         * lyxtext.h:
9661         * text.C:
9662         * text2.C:
9663         * BufferView.h:
9664         * BufferView2.C: use WordLangTuple
9665
9666         * layout.h:
9667         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9668
9669 2002-08-06  John Levon  <levon@movementarian.org>
9670
9671         * lyx_main.C: fix cmdline batch handling
9672
9673 2002-08-06  André Pönitz <poenitz@gmx.net>
9674
9675         * lyxrc.C: set default for show_banner to true
9676
9677 2002-08-06  John Levon  <levon@movementarian.org>
9678
9679         * pspell.C: fix a crash, and allow new aspell to work
9680
9681 2002-08-06  John Levon  <levon@movementarian.org>
9682
9683         * lyxfunc.C:
9684         * kbmap.C: small cleanup
9685
9686         * vspace.h:
9687         * vspace.C: add const
9688
9689 2002-08-05  John Levon  <levon@movementarian.org>
9690
9691         * LyXAction.C: back to tabular-insert
9692
9693 2002-08-04  John Levon  <levon@movementarian.org>
9694
9695         * BufferView.h:
9696         * BufferView.C: cosmetic change
9697
9698         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9699
9700         * bufferlist.C:
9701         * buffer.h:
9702         * buffer.C:
9703         * lyxcb.h:
9704         * lyxcb.C:
9705         * lyxserver.C:
9706         * lyxvc.C:
9707         * vc-backend.C:
9708         * BufferView2.C: purge all "Lyx" not "LyX" strings
9709
9710         * lyxcursor.h:
9711         * lyxcursor.C: attempt to add some documentation
9712
9713         * lyxfunc.C:
9714         * commandtags.h:
9715         * LyXAction.C:
9716         * ToolbarDefaults.C:
9717         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9718           merge with LFUN_TABULAR_INSERT
9719
9720         * Makefile.am:
9721         * SpellBase.h:
9722         * ispell.h:
9723         * ispell.C:
9724         * pspell.h:
9725         * pspell.C: split up i/pspell implementations into separate
9726           files, many cleanups
9727
9728         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9729
9730         * text2.C: some cleanup
9731
9732         * lyxfunc.C: don't check for isp_command == "none" any more, it
9733           didn't make any sense
9734
9735 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
9736
9737         * counters.[Ch]
9738         * text2.C
9739         * paragraph.[Ch]
9740         * makefile.am: move counters functionality over
9741         from text2.C/paragraph.[Ch] to counters.[Ch], and
9742         make proper C++.
9743 2002-08-02  John Levon  <levon@movementarian.org>
9744
9745         * buffer.C: s/lyxconvert/lyx2lyx/
9746
9747 2002-08-02  Angus Leeming  <leeming@lyx.org>
9748
9749         * lyxlex.C: revert John's change as it breaks reading of the user
9750         preamble.
9751
9752 2002-08-02  Angus Leeming  <leeming@lyx.org>
9753
9754         * importer.C (Import):
9755         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9756         changes due to LyXView::view() now returning a boost::shared_ptr.
9757
9758 2002-08-02  John Levon  <levon@movementarian.org>
9759
9760         * lyxlex.C: small cleanup
9761
9762 2002-08-02  John Levon  <levon@movementarian.org>
9763
9764         * text2.C (status): small cleanup, no logic change
9765
9766 2002-08-01  John Levon  <levon@movementarian.org>
9767
9768         * buffer.h:
9769         * buffer.C (writeFile): don't output alerts, caller
9770           handles this
9771
9772         * bufferlist.C:
9773         * lyx_cb.C: from above
9774
9775         * lyxfunc.C: allow to open non-existent files
9776
9777 2002-07-31  John Levon  <levon@movementarian.org>
9778
9779         * lyxserver.C: don't let incidental errors get
9780           in the way (errno)
9781
9782 2002-07-30  John Levon  <levon@movementarian.org>
9783
9784         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9785
9786 2002-07-30  John Levon  <levon@movementarian.org>
9787
9788         * lyxserver.h:
9789         * lyxserver.C: remove I/O callback too
9790
9791 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9792
9793         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9794         log.
9795
9796 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9797
9798         * many files: strip,frontStrip -> trim,ltrim,rtrim
9799
9800 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
9801
9802         * PrinterParams.h: remove extern containsOnly, and include
9803         support/lstrings.h instead.
9804
9805         * LaTeX.C (scanAuxFile): modify because of strip changes
9806         (deplog): ditto
9807         * buffer.C (makeLaTeXFile): ditto
9808         * bufferparams.C (writeFile): ditt
9809         * lyxfont.C (stateText): ditto
9810         * lyxserver.C (read_ready): ditto
9811         * vc-backend.C (scanMaster): ditto
9812
9813         * BufferView_pimpl.h: ws changes
9814
9815         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9816
9817 2002-07-26  André Pönitz <poenitz@gmx.net>
9818
9819         * kb_sequence.C: remove unnedred usings
9820
9821 2002-07-26  Juergen Vigna  <jug@sad.it>
9822
9823         * lyxfind.C (LyXReplace): we have to check better if the returned
9824         text is not of theLockingInset()->getLockingInset().
9825
9826 2002-07-25  Juergen Vigna  <jug@sad.it>
9827
9828         * lyxfind.C (LyXReplace): don't replace if we don't get the
9829         right LyXText.
9830
9831         * undo_funcs.C (createUndo): remove debugging code.
9832
9833 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
9834
9835         * buffer.C (parseSingleLyXformat2Token): Use default placement
9836         when reading old floats.
9837
9838         * FloatList.C (FloatList): Change the default placement of figure
9839         and tables to "tbp".
9840
9841 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
9842
9843         * MenuBackend.C: using std::max
9844
9845 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9846
9847         * MenuBackend.C (expandToc):
9848         (expandToc2): code moved from xforms menu frontend. It is now
9849         generic and TOCs are transparent to menu frontends.
9850
9851 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9852
9853         * toc.C (getTocList): protect against buf=0
9854
9855         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9856         Menu as first parameter. Now, this calls itself recursively to
9857         expand a whole tree (this will be useful for TOC handling)
9858         (expandFloatInsert): remove 'wide' version of floats
9859
9860         * MenuBackend.h (submenuname): returns the name of the submenu.
9861         (submenu): returns the submenu itself, provided it has been
9862         created by MenuBackend::expand
9863
9864 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9865
9866         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9867         insets which have noFontChange == true. (bug #172)
9868
9869 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9870
9871         * BufferView_pimpl.C: add connection objects and use them...
9872         (Pimpl): here.
9873
9874 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9875
9876         * MenuBackend.C (expandLastfiles):
9877         (expandDocuments):
9878         (expandFormats):
9879         (expandFloatListInsert):
9880         (expandFloatInsert):
9881         (expand): split expand in parts
9882
9883 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9884
9885         * lyx_gui.C: use lyx_gui::exit()
9886
9887 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9888
9889         * LyXAction.C: show the failing pseudo action
9890
9891 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
9892
9893         * buffer.C (readFile): Run the lyxconvert script in order to read
9894         old files.
9895
9896 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9897
9898         * LyXAction.C:
9899         * commandtags.h:
9900         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9901
9902 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9903
9904         * LyXAction.C:
9905         * commandtags.h:
9906         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9907
9908 2002-07-22  Herbert Voss  <voss@lyx.org>
9909
9910         * lengthcommon.C:
9911         * lyxlength.[Ch]: add support for the vertical lengths
9912
9913 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
9914
9915         * toc.[Ch]: std:: fixes
9916
9917 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9918
9919         * lyxrc.C: do not include lyx_main.h
9920
9921         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9922         for layouts
9923
9924         * lyxrc.C:
9925         * encoding.C:
9926         * bufferlist.C:
9927         * BufferView2.C: include "lyxlex.h"
9928
9929         * tabular.h:
9930         * bufferparams.h: do not #include "lyxlex.h"
9931
9932         * lyxtextclasslist.C (Add): remove method
9933         (classlist): renamed to classlist_
9934
9935         * paragraph_pimpl.C:
9936         * paragraph.C:
9937         * text2.C:
9938         * CutAndPaste.C:
9939         * bufferview_funcs.C:
9940         * bufferlist.C:
9941         * text.C:
9942         * LaTeXFeatures.C:
9943         * buffer.C:
9944         * toc.C (getTocList): use BufferParams::getLyXTextClass
9945
9946         * toc.C (getTocList): use InsetFloat::addToToc
9947
9948         * toc.[Ch]: new files, containing helper functions to handle table
9949         of contents
9950
9951         * lyxfunc.C (dispatch): no need to remove spaces around command
9952         given as a string
9953         (getStatus): handle LFUN_SEQUENCE by returning the status of the
9954         first command of the sequence; it is not very clever, but I do not
9955         have a better idea, actually
9956
9957         * LyXAction.C (LookupFunc): make sure to remove space at the
9958         beginning and end of the command
9959
9960 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9961
9962         * MenuBackend.C (getMenubar): new method: return the menubar of
9963         this menu set
9964         (read): treat differently reading of menu and menubar (in
9965         particular, the menubar has no name now)
9966         (Menu::menubar): remove
9967
9968         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9969         saving is finished
9970
9971 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9972
9973         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9974         a bibitem inset in a RTL paragraph.
9975
9976 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
9977
9978         * paragraph_pimpl.C: constify
9979
9980         * BufferView_pimpl.C:
9981         * LaTeX.C:
9982         * lyxfunc.C: fix dispatch in a nicer way
9983
9984 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9985
9986         * lyxfunc.C (dispatch):
9987         * BufferView_pimpl.C:
9988         * BufferView_pimpl.h:
9989         * BufferView.C:
9990         * BufferView.h: rename Dispatch() to dispatch()
9991
9992         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9993
9994         * lyxlayout.C (Read): honor DependsOn tag
9995
9996         * lyxlayout.[Ch] (depends_on): new method
9997
9998         * version.C.in: update lyx_docversion
9999
10000         * LaTeXFeatures.C (getMacros): only define \LyX when needed
10001
10002         * paragraph.C (validate): remove from here...
10003         * paragraph_pimpl.C (validate): ... and move here
10004         (isTextAt): make it const
10005
10006         * buffer.C (getLists): ws cleanup
10007
10008 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10009
10010         * language.C (read): Use iso8859-1 encoding in latex_lang
10011         (this prevents LyX from crashing when using iso10646-1 encoding).
10012
10013 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10014
10015         * text2.C (toggleInset): if cursor is inside an inset, close the
10016         inset and leave cursor _after_ it
10017
10018 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10019
10020         * lyxfunc.C: move minibuffer completion handling out of here
10021
10022 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10023
10024         * BufferView_pimpl.C:
10025         * LaTeX.C: fix dispatch calls
10026
10027 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
10028
10029         * text.C (drawChars): Fix Arabic text rendering.
10030
10031 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
10032
10033         * LyXAction.C:
10034         * commandtags.h:
10035         * lyxfunc.C: remove message-push/pop
10036
10037         * lyxserver.C:
10038         * lyxfunc.h:
10039         * lyxfunc.C: rationalise some code by removing verboseDispatch
10040           in favour of a bool argument to dispatch()
10041
10042 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10043
10044         * lyx_main.C (init): make sure to read symlinks as absolute paths
10045
10046 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10047
10048         * lyxfunc.h:
10049         * lyxfunc.C: no need for commandshortcut to be a member
10050
10051 2002-07-15  André Pönitz <poenitz@gmx.net>
10052
10053         * converter.C: add support for $$s (scripts from lib/scripts dir)
10054         * lyx_main.C: white space
10055
10056 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10057
10058         * bufferlist.C:
10059         * lyxrc.h:
10060         * lyxrc.C: remove second exit confirmation
10061
10062 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10063
10064         * BufferView.h:
10065         * BufferView.C:
10066         * BufferView2.C:
10067         * BufferView_pimpl.h:
10068         * BufferView_pimpl.C:
10069         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10070
10071 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10072
10073         * MenuBackend.C (expand): add numeric shortcuts to document menu
10074
10075         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10076
10077 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10078
10079         * lyxfont.C (setLyXFamily):
10080         (setLyXSeries):
10081         (setLyXShape):
10082         (setLyXSize):
10083         (setLyXMisc):
10084         (lyxRead):
10085         * debug.C (value):
10086         * buffer.C (asciiParagraph): use ascii_lowercase
10087
10088 2002-07-15  Mike Fabian  <mfabian@suse.de>
10089
10090         * lyxlex_pimpl.C (search_kw):
10091         * lyxlex.C (getLongString):
10092         * converter.h (operator<):
10093         * converter.C (operator<):
10094         * buffer.C (parseSingleLyXformat2Token):
10095         (asciiParagraph):
10096         * ToolbarDefaults.C (read):
10097         * MenuBackend.C (checkShortcuts):
10098         (read):
10099         * LColor.C (getFromGUIName):
10100         (getFromLyXName): use the compare_ascii_no_case instead of
10101         compare_no_case, because in turkish, 'i' is not the lowercase
10102         version of 'I', and thus turkish locale breaks parsing of tags.
10103
10104 2002-07-16  Angus Leeming  <leeming@lyx.org>
10105
10106         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10107         now takes a Buffer const & argument.
10108
10109 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
10110
10111         * BufferView.C (resize): check there's a buffer to resize
10112
10113 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
10114
10115         * lyxfunc.C: remove dead code
10116
10117         * lyxserver.h:
10118         * lyxserver.C: use lyx_guii::set_read_callback
10119
10120 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
10121
10122         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10123         an inset in a RTL paragraph.
10124
10125 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10126
10127         * lyxfunc.C: repaint after a font size update
10128
10129 2002-07-15  André Pönitz <poenitz@gmx.net>
10130
10131         * lyxlength.C: inBP should be able to return negative values
10132
10133 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10134
10135         * lyxfunc.C: use lyx_gui::update_fonts()
10136
10137 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10138
10139         * lyxfunc.C: use lyx_gui::update_color()
10140
10141 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10142
10143         * bufferlist.C:
10144         * lyxfunc.h:
10145         * lyxfunc.C:
10146         * lyxrc.h:
10147         * lyxrc.C: remove file->new asks for name option, and let
10148           buffer-new take an argument
10149
10150 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10151
10152         * BufferView_pimpl.C: remove unneeded extra repaint()
10153
10154 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
10155
10156         * LyXAction.C: allow command-sequence with NoBuffer
10157
10158         * lyxfunc.C: don't insist on trailing ';' for command-sequence
10159
10160 2002-07-10  Angus Leeming  <leeming@lyx.org>
10161
10162         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10163
10164 2002-07-09  Angus Leeming  <leeming@lyx.org>
10165
10166         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10167
10168 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10169
10170         * lengthcommon.h: whitespace
10171
10172         * lyxfunc.C: update scrollbar after goto paragraph
10173
10174         * lyxtext.h: factor out page break drawing, and fix it so
10175           page break/added space paints as selected nicely
10176
10177 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10178
10179         * BufferView_pimpl.C: add FIXMEs, clean up a little
10180
10181 2002-07-09  André Pönitz <poenitz@gmx.net>
10182
10183         * lyxfont.[Ch]: support for wasy symbols
10184
10185 2002-07-08  André Pönitz <poenitz@gmx.net>
10186
10187         * BufferView_pimpl.C: apply John's patch for #93.
10188
10189 2002-07-05  Angus Leeming  <leeming@lyx.org>
10190
10191         * BufferView_pimpl.C (buffer): generate previews if desired.
10192
10193         * LColor.h: add "preview" to the color enum.
10194
10195         * LColor.C (LColor): add a corresponding entry to the items array.
10196
10197         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10198         with this buffer.
10199
10200 2002-07-05  Angus Leeming  <leeming@lyx.org>
10201
10202         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10203         The body of the code is now in the method that is passed an ostream &
10204         rather than a file name.
10205         Pass an additional only_preamble parameter, useful for the forthcoming
10206         preview stuff.
10207
10208 2002-07-03  André Pönitz <poenitz@gmx.net>
10209
10210         * lyxfunc.C: simplify getStatus() a bit for math stuff
10211
10212 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10213
10214         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10215
10216 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10217
10218         * text.C (changeRegionCase): do not change case of all the
10219         document when region ends at paragraph end (bug #461)
10220
10221 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10222
10223         * paragraph.C (startTeXParParams):
10224         (endTeXParParams): add \protect when necessary
10225
10226 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10227
10228         * BufferView_pimpl.C (workAreaExpose): remove warning
10229
10230 2002-06-27  Angus Leeming  <leeming@lyx.org>
10231
10232         * Makefile.am: add lyxlayout_ptr_fwd.h.
10233
10234 2002-06-26  André Pönitz <poenitz@gmx.net>
10235
10236         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10237
10238 2002-06-25  Angus Leeming  <leeming@lyx.org>
10239
10240         * lyxfunc.C (dispatch): Comment out the call to
10241         grfx::GCache::changeDisplay. The method no longer exists now that the
10242         pixmap generation part of the graphics loader has been moved into
10243         InsetGraphics.
10244
10245 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10246
10247         * text2.C: layout as layout
10248
10249         * text.C: layout as layout
10250
10251         * tabular.C (OldFormatRead): layout as layout
10252
10253         * paragraph_pimpl.C (TeXDeeper): layout as layout
10254         (realizeFont): layout as layout
10255
10256         * paragraph.C (writeFile): layout as layout
10257         (validate): layout as layout
10258         (getFont): layout as layout
10259         (getLabelFont): layout as layout
10260         (getLayoutFont): layout as layout
10261         (breakParagraph): layout as layout
10262         (stripLeadingSpaces): layout as layout
10263         (getEndLabel): layout as layout
10264         (getMaxDepthAfter): layout as layout
10265         (applyLayout): layout as layout
10266         (TeXOnePar): layout as layout
10267         (simpleTeXOnePar): layout as layout
10268         (TeXEnvironment): layout as layout
10269         (layout): layout as layout
10270         (layout): layout as layout
10271
10272         * lyxtextclass.C (compare_name): new functor to work with
10273         shared_ptr, layout as layout
10274         (Read): layout as layout
10275         (hasLayout): layout as layout
10276         (operator): layout as layout
10277         (delete_layout): layout as layout
10278         (defaultLayout): layout as layout
10279
10280         * lyxlayout_ptr_fwd.h: new file
10281
10282         * lyxlayout.C (Read): layout as layout
10283
10284         * lyx_cb.C (MenuInsertLabel): layout as layout
10285
10286         * bufferlist.C (newFile): layout as layout
10287
10288         * buffer.C (readLyXformat2): layout as layout
10289         (parseSingleLyXformat2Token): layout as layout
10290         (insertStringAsLines): layout as layout
10291         (asciiParagraph): layout as layout
10292         (latexParagraphs): layout as layout
10293         (makeLinuxDocFile): layout as layout
10294         (simpleLinuxDocOnePar): layout as layout
10295         (makeDocBookFile): layout as layout
10296         (simpleDocBookOnePar): layout as layout
10297         (getLists): layout as layout
10298
10299         * LaTeXFeatures.C (getTClassPreamble): layout as layout
10300
10301         * CutAndPaste.C (cutSelection): layout as layout
10302         (pasteSelection): layout as layout
10303         (SwitchLayoutsBetweenClasses): layout as layout
10304
10305         * BufferView_pimpl.C (Dispatch): layout as layout
10306         (smartQuote): layout as layout
10307
10308         * BufferView2.C (unlockInset): layout as layout
10309
10310 2002-06-24  André Pönitz <poenitz@gmx.net>
10311
10312         * lyxfunc.C: fix #487
10313
10314 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10315
10316         * lyxrc.h:
10317         * lyxrc.C:
10318         * lyxfunc.C: remove display_shortcuts, show_banner
10319
10320 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10321
10322         * Buffer_pimpl.C: oops, update on resize
10323
10324 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10325
10326         * buffer.C:
10327         * converter.C:
10328         * exporter.C:
10329         * lyxfunc.C:
10330         * BufferView.h:
10331         * BufferView.C: use repaint()
10332
10333         * BufferView_pimpl.h:
10334         * BufferView_pimpl.C: s/updateScreen()/repaint()/
10335           as it's a clearer description. Remove superfluous
10336           redraws.
10337
10338 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10339
10340         * text.C: fix bug 488. Not ideal, but getting
10341           getWord() to work properly for the insets that
10342           matter is more difficult ...
10343
10344 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10345
10346         * BufferView_pimpl.C:
10347         * LyXAction.C:
10348         * commandtags.h:
10349         * lyxfunc.C: remove the six million index lyxfuncs to just
10350           one, and DTRT (bug 458)
10351
10352 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10353
10354         * BufferView.h:
10355         * BufferView.C:
10356         * BufferView_pimpl.h:
10357         * BufferView_pimpl.C: clean up resize() stuff,
10358           and unnecessary updateScreen()s
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:
10366         * lyxfind.h:
10367         * lyxfind.C:
10368         * minibuffer.C: remove focus management of workarea,
10369           not needed. Use screen's greyOut()
10370
10371 2002-06-17  Herbert Voss  <voss@lyx.org>
10372
10373         * converter.C: (convert) do not post a message, when converting
10374         fails, let the calling function decide what to do in this case
10375
10376 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
10377
10378         * lyxfunc.C: tidy up a little
10379
10380 2002-06-16    <alstrup@diku.dk>
10381
10382         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10383         Got rid of FORMS_H_LOCATION include. Now we are
10384         GUII.
10385
10386 2002-06-15  LyX Development team  <lyx@rilke>
10387
10388         * buffer.[Ch] (sgmlOpenTag):
10389         (sgmlCloseTag): Added support for avoiding pernicious mixed
10390         content. Return number of lines written.
10391
10392         (makeLinuxDocFile):
10393         (makeDocBookFile): Fixed calls to sgml*Tag.
10394         Simple white space clean.
10395
10396         (simpleDocBookOnePar): Simple white space clean.
10397
10398         * tabular.[Ch] (docBook): Renamed to docbook and got another
10399         argument to related with the pernicious mixed content.
10400
10401         (docbookRow): Fixed calls for docbook inset method.
10402
10403 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
10404
10405         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10406         so it's X11 independent.
10407
10408         * kb*.[Ch]: ditto.
10409
10410         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10411
10412 2002-06-15  Lyx Development team  <lyx@electronia>
10413
10414         * intl.h: Renamed getTrans to getTransManager.
10415
10416 2002-06-14  Angus Leeming  <leeming@lyx.org>
10417
10418         * Makefile.am: nuke forgotten stl_string_fwd.h.
10419
10420 2002-06-12  Angus Leeming  <leeming@lyx.org>
10421
10422         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10423
10424 2002-06-13  Angus Leeming  <leeming@lyx.org>
10425
10426         * LaTeX.C:
10427         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10428
10429 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
10430
10431         * kbmap.C (getiso): add support for cyrillic and greek
10432
10433 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10434
10435         * BufferView.h:
10436         * BufferView.C:
10437         * BufferView_pimpl.h:
10438         * BufferView_pimpl.C: move bogus scrolling logic
10439           to xforms
10440
10441 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10442
10443         * lyxfunc.C:
10444         * BufferView_pimpl.C: view->resize() change
10445
10446 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10447
10448         * BufferView_pimpl.C: topCursorVisible
10449           prototype change
10450
10451 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10452
10453         * Makefile.am:
10454         * lyx_gui.h:
10455         * lyx_gui.C: move to frontends/
10456
10457         * main.C:
10458         * lyx_main.h:
10459         * lyx_main.C: changes from above
10460
10461 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10462
10463         * intl.C:
10464         * intl.h:
10465         * kbmap.C:
10466         * kbsequence.C:
10467         * lyx_cb.C:
10468         * lyx_main.C: minor tidy
10469
10470 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10471
10472         * BufferView_pimpl.h:
10473         * BufferView_pimpl.C:
10474         * BufferView.h:
10475         * BufferView.C: make painter() const,
10476           remove dead code
10477
10478         * BufferView2.C: use screen() accessor
10479
10480         * lyx_main.h:
10481         * lyx_main.C: some minor cleanup
10482
10483 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10484
10485         * BufferView_pimpl.h:
10486         * BufferView_pimpl.C: remove enter/leaveView,
10487           use workHeight()
10488
10489 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10490
10491         * BufferView.h:
10492         * BufferView.C:
10493         * BufferView2.C:
10494         * BufferView_pimpl.h:
10495         * BufferView_pimpl.C: only construct screen once,
10496           rename
10497
10498         * lyxrc.C: remove pointless comment
10499
10500 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10501
10502         * BufferView.h:
10503         * BufferView.C: remove active() and belowMouse()
10504
10505         * BufferView_pimpl.h:
10506         * BufferView_pimpl.C: use workarea() not workarea_,
10507           and make it use a scoped_ptr instead
10508
10509 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10510
10511         * lyx_gui.C: add debug message on BadWindow
10512
10513 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10514
10515         * sp_spell.C: fdopen is not part of the C++ standard.
10516
10517         * paragraph.C (InsetIterator): use >= instead of ==
10518
10519 2002-06-07  Angus Leeming  <leeming@lyx.org>
10520
10521         Fixes needed to compile with Compaq cxx 6.5.
10522         * BufferView_pimpl.C:
10523         * DepTable.C:
10524         * buffer.C:
10525         * converter.C:
10526         * encoding.C:
10527         * lyx_gui.C:
10528         * lyx_main.C:
10529         * lyxtextclasslist.C:
10530         * minibuffer.C:
10531         * sp_spell.C:
10532         * tabular_funcs.C:
10533         * vc-backend.C:
10534         all c-library variables have been moved into namespace std. Wrap
10535         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10536
10537         * lyxlength.C:
10538         * tabular-old.C:
10539         * tabular.C:
10540         Add a using std::abs declaration.
10541
10542         * kbmap.h (modifier_pair):
10543         * paragraph.h (InsetTable, InsetList):
10544         * lyxfont.h (FontBits):
10545         type definition made public.
10546
10547         * bufferlist.C (emergencyWriteAll): the compiler complains that
10548         there is more than one possible lyx::class_fun template to choose from.
10549         I re-named the void specialisation as lyx::void_class_fun.
10550
10551         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10552
10553         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10554         the compiler is is unable to find tostr in write_attribute.
10555
10556 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10557
10558         * buffer.C (sgmlError): hide #warning
10559
10560 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10561
10562         * xtl/*: get rid of xtl, which is not in use anyway
10563
10564         * LyXAction.C (init):
10565         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10566         were unimplemented xtl experimentation
10567
10568 2002-06-04  André Pönitz <poenitz@gmx.net>
10569
10570         * lyxfunc.C: disable array operation on simple formulae
10571
10572 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
10573
10574         * converter.C: constify a bit
10575
10576 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
10577
10578         * lyx_gui.C: check xforms version correctly
10579
10580 2002-04-30  Herbert Voss  <voss@lyx.org>
10581
10582         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10583         "keep" option
10584
10585 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
10586
10587         * lyxvc.C: fix bug 416 (make sure buffer is saved before
10588           attempt to register it with a VCS)
10589
10590 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10591
10592         * lyx_main.C (init): honor variables LYX_DIR_13x and
10593         LYX_USERDIR_13x
10594
10595 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10596
10597         * buffer.h:
10598         * buffer.C:
10599         * lyx_main.C: fix a crash on bad command line,
10600           and give a useful exit status on error
10601
10602         * lyxfunc.C (doImport): allow -i lyx to work
10603
10604 2002-03-30  André Pönitz <poenitz@gmx.net>
10605
10606         * lyxfunc.C: mathed font changes
10607
10608 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10609
10610         * LaTeX.C:
10611         * importer.h:
10612         * importer.C:
10613         * lyx_sty.h:
10614         * lyx_sty.C:
10615         * lyxlex.C:
10616         * lyxrow.h:
10617         * lyxtext.h:
10618         * paragraph.h:
10619         * paragraph.C:
10620         * texrow.h:
10621         * texrow.C:
10622         * text.C:
10623         * trans_mgr.h: srcdocs, and some minor cleanups
10624
10625 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10626
10627         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10628         call getFont all the time)
10629
10630 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10631
10632         * switch from SigC signals to boost::signals
10633
10634 2002-05-29  André Pönitz <poenitz@gmx.net>
10635
10636         * paragraph_pimpl.C (getChar): don't call size() too often...
10637
10638 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10639
10640         * paragraph_pimpl.C (insertChar): do not try to update tables when
10641         appending (pos == size())
10642
10643         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10644         in order to reduce drastically the number of comparisons needed to
10645         parse a large document
10646
10647 2002-05-29  André Pönitz <poenitz@gmx.net>
10648
10649         * text.C:
10650         * text2.C:
10651         * lyxtextclass.C:
10652         * sp_pspell.h:
10653         * textclasslist.[Ch]:
10654         * sp_ispell.h: whitespace change
10655
10656 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10657
10658         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10659         lyxaction directly now.
10660
10661 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
10662
10663         * trans.C:
10664         * lyxfont.C:
10665         * lyxvc.C: remove unused headers
10666
10667 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10668
10669         * Makefile.am:
10670         * buffer.h:
10671         * undostack.h:
10672         * undostack.C:
10673         * undo_funcs.h:
10674         * undo_funcs.C: some cleanups. Use shared_ptr
10675           and a template for the undo stacks.
10676
10677 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10678
10679         * BufferView_pimpl.h:
10680         * BufferView_pimpl.C:
10681         * kbmap.h:
10682         * kbmap.C:
10683         * kbsequence.h:
10684         * kbsequence.C:
10685         * lyxfunc.h:
10686         * lyxfunc.C:
10687         * text2.C: use key_state/mouse_state
10688
10689 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10690
10691         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10692         and LSubstring
10693
10694         * chset.C: change include order
10695         (loadFile): use boost regex and get rid of LRegex and LSubstring
10696
10697         * Makefile.am (BOOST_LIBS): new variable
10698         (lyx_LDADD): use it
10699
10700         * LaTeX.C: change include order.
10701         (scanAuxFile): use boost regex and get rid of LRegex and
10702         LSubstring
10703         (deplog): ditto
10704
10705 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10706
10707         * ColorHandler.h:
10708         * ColorHandler.C:
10709         * FontInfo.h:
10710         * FontInfo.C: moved to frontends/xforms/
10711
10712         * FontLoader.h:
10713         * FontLoader.C: moved into frontends for GUIIzation
10714
10715         * Makefile.am:
10716         * lyx_gui.C:
10717         * lyxfont.C:
10718         * lyxfunc.C: changes from above
10719
10720 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10721
10722         * LColor.C: remove spurious X include
10723
10724         * BufferView_pimpl.C:
10725         * Makefile.am:
10726         * font.h:
10727         * font.C:
10728         * text.C:
10729         * text2.C: move font metrics to frontends/
10730
10731 2002-05-24  Juergen Vigna  <jug@sad.it>
10732
10733         * undo_funcs.C (textHandleUndo): fix the cursor selection after
10734         setting the undo_cursor.
10735
10736         * ParagraphParameters.h: include local includes first.
10737
10738 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10739
10740         * BufferView_pimpl.C:
10741         * BufferView_pimpl.h:
10742         * Makefile.am:
10743         * WorkArea.h:
10744         * WorkArea.C:
10745         * screen.C: move WorkArea into frontends/
10746
10747         * lyxscreen.h:
10748         * screen.C:
10749         * text.C:
10750         * BufferView.C:
10751         * BufferView2.C: move LyXScreen into frontends/
10752
10753         * lyxlookup.h:
10754         * lyxlookup.C:
10755         * lyx_gui.C: move lyxlookup into frontends/xforms/
10756
10757 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10758
10759         * BufferView2.C:
10760         * BufferView_pimpl.C:
10761         * FontLoader.C:
10762         * LyXView.h:
10763         * LyXView.C:
10764         * Makefile.am:
10765         * WorkArea.C:
10766         * XFormsView.h:
10767         * XFormsView.C:
10768         * buffer.C:
10769         * bufferlist.C:
10770         * bufferview_funcs.C:
10771         * converter.C:
10772         * importer.C:
10773         * lyx_cb.C:
10774         * lyx_gui.C:
10775         * lyx_main.C:
10776         * lyx_find.C:
10777         * lyxfunc.C:
10778         * lyxvc.C:
10779         * minibuffer.C:
10780         * text.C:
10781         * text2.C:
10782         * trans.C:
10783         * vc-backend.C: move LyX/XFormsView into frontends/
10784
10785 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10786
10787         * Makefile.am:
10788         * PainterBase.C:
10789         * PainterBase.h:
10790         * Painter.C:
10791         * Painter.h:
10792         * WorkArea.C:
10793         * WorkArea.h:
10794         * screen.C:
10795         * tabular.C:
10796         * text.C:
10797         * text2.C: move Painter to frontends/
10798
10799 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10800
10801         * buffer.C: comment out some some code that depend upon lyx_format
10802         < 220
10803
10804         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10805         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10806
10807         * buffer.h (NO_COMPABILITY): turn off compability
10808
10809         * ColorHandler.C: include scoped_array.hpp
10810
10811         * font.C: Use more specific smart_ptr header.
10812         * Painter.C: ditto
10813         * gettext.C: ditto
10814         * ShareContainer.h: ditto
10815         * lyx_main.h: ditto
10816         * kbmap.h: ditto
10817         * FontInfo.h: ditto
10818         * BufferView_pimpl.h: ditto
10819         * ColorHandler.h: ditto
10820
10821         * kbmap.C (defkey): change call to shared_ptr::reset
10822
10823 2002-05-21  Juergen Vigna  <jug@sad.it>
10824
10825         * buffer.C (insertErtContents): fix to insert ert asis if it is
10826         non empty. Skip it completely if it contains only whitespaces.
10827
10828 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
10829
10830         * BufferView_pimpl.C:
10831         * BufferView2.C: clear selection on paste (bug 393)
10832
10833 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10834
10835         * DepTable.C: include ctime
10836
10837 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
10838
10839         * buffer.C (latexParagraphs): Add new argument (moving_arg).
10840
10841 2002-05-14  Juergen Vigna  <jug@sad.it>
10842
10843         * text.C (breakParagraph): fixed function to honor the keepempty
10844         layout in the right maner and also to permit the right breaking
10845         algorithm on empty or non empyt keepempty paragraphs.
10846
10847         * paragraph.C (breakParagraph): we have to check also if the par
10848         is really empty (!size()) for isempty otherwise we do the wrong
10849         paragraph break.
10850
10851 2002-05-10  Juergen Vigna  <jug@sad.it>
10852
10853         * buffer.[Ch] : The following are only changes to the ert
10854         compatibility read reading old LaTeX layout and font stuff and
10855         convert it to ERTInsets.
10856
10857         * buffer.h: added isErtInset().
10858
10859         * buffer.C (struct ErtComp): add a fromlayout bool to check
10860         if we're inside a LaTeX layout.
10861         (isErtInset): new helper function.
10862         (insertErtContents): look for other ert insets before this one
10863         and insert the contents there, so that we don't have subsequent
10864         ERT insets with nothing between them. This way we create only one
10865         inset with multiple paragraphs. Also check if we don't insert only
10866         spaces ' ' as they are ignored anyway afterwards in the .tex file
10867         so if we have only spaces we will ignore this latex part in the
10868         new file.
10869         (parseSingleLyXformat2Token \\layout): better compatibility when
10870         reading layout-latex stuff.
10871         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10872         language tag.
10873         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10874         stuff after reading the inset only get the information back from
10875         the stack.
10876
10877 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
10878
10879         * buffer.C (makeLaTeXFile): Put language options after loading babel.
10880
10881         * LaTeXFeatures.C (getBabelOptions): New method.
10882
10883 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10884
10885         * BufferView_pimpl.C (Dispatch): work around missing argument for
10886         'layout'
10887
10888 2002-05-08  Juergen Vigna  <jug@sad.it>
10889
10890         * text.C (leftMargin): handle paragraph leftindent.
10891
10892         * paragraph.C (writeFile): write the new \\leftindent tag.
10893         (validate): handle leftindent code.
10894         (TeXEnvironment): handle paragraphleftindent code again.
10895
10896         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10897
10898         * buffer.C (parseSingleLyXformat2Token): added compatibility code
10899         for paragrap_extra indent code and new token \\leftindent.
10900         (latexParagraphs): handle the leftindent as environment.
10901
10902         * ParameterStruct.h: added leftindent support.
10903
10904         * ParagraphParameters.C (leftIndent): added support functions for
10905         the paragraph left indent.
10906
10907         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10908         more appropriate.
10909
10910 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
10911
10912         * paragraph.C (isRightToLeftPar): Return false for a paragraph
10913         inside insetERT.
10914
10915         * text.C (computeBidiTables): No bidi in insetERT.
10916
10917         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10918         in RTL documents.
10919
10920 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10921
10922         * version.C.in: pre 5
10923
10924 2002-05-02  José Matos  <jamatos@fep.up.pt>
10925         * buffer.C (makeDocBookFile): white space changes, add newline to
10926         command styles.
10927         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10928
10929         * tabular.C (docBook): fix typo.
10930
10931 2002-05-03  Juergen Vigna  <jug@sad.it>
10932
10933         * screen.C (drawFromTo): recalculate the rowpointer if we had a
10934         change in LyXText as we can not be sure it was not freed.
10935         (drawOneRow): remove unused code.
10936
10937         * text.C (drawInset): redo the calculation of the need_break_row as
10938         it could have a row which was already freed.
10939         (draw): look at the return value of drawInset and return false if
10940         it also returned false.
10941         (paintRowText): look at the return value of draw and return false if
10942         it also returned false.
10943
10944         * lyxtext.h: added bool return type to drawInset() and draw() so that
10945         if we have a change in the row so that the rowbreak has to be redone
10946         we abort drawing as it will be called again.
10947
10948 2002-05-02  Juergen Vigna  <jug@sad.it>
10949
10950         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10951         a change in the maintext also if we're inside an inset.
10952         (Dispatch): set the cursor again after a break line and after the
10953         screen has been updated as it could be we're in a different row.
10954
10955         * text2.C (fixCursorAfterDelete): check to make sure we don't request
10956         to set the cursor behind the pargraph with > size().
10957         (setCursor): check also for the same paragraph when checking where
10958         to put the cursor if we have a NFR inset.
10959
10960         * buffer.C (parseSingleLyXformat2Token): move the compatibility
10961         parts of layout read further up as it still was in the wrong
10962         position.
10963
10964 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10965
10966         * screen.C (drawFromTo): change sine fullRebreak always return
10967         true.
10968
10969         * buffer.C (parseSingleLyXformat2Token): reindent some
10970
10971         * BufferView_pimpl.C (update): change since fullRebreak always
10972         return true.
10973         (Dispatch): git rid of the last hardcoded "Standard"s.
10974
10975 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10976
10977         * text2.[Ch] (fullRebreak): make it return void now that we always
10978         returned true.
10979
10980 2002-04-30  Juergen Vigna  <jug@sad.it>
10981
10982         * buffer.C (parseSingleLyXformat2Token): reset the font before the
10983         ert compatibility check for "latex" layout.
10984
10985 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
10986
10987         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10988         minipages: use col% instead of p%, and also use the current font.
10989         (makeLaTeXFile): Fix use babel condition.
10990         (parseSingleLyXformat2Token): Correct font when reading old floats.
10991
10992 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
10993
10994         * BufferView_pimpl.C (Dispatch): Check that float type exists when
10995         inserting list of floats.
10996
10997 2002-04-25  Herbert Voss  <voss@lyx.org>
10998
10999         * MenuBackend.C (expand): don't add the graphics extensions to the
11000         export menu
11001
11002 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11003
11004         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11005         non-existing layout, do not complain if it was the default layout
11006         of the original class (bug #342)
11007
11008 2002-04-24  Juergen Vigna  <jug@sad.it>
11009
11010         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11011         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11012
11013 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
11014
11015         * buffer.C (getBibkeyList): If using \bibliography, return the
11016         option field with the reference itself. Enables us to provide natbib
11017         support when using \bibliography.
11018
11019 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
11020
11021         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11022
11023         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11024         natbib is provided by the LaTeX class.
11025
11026 2002-04-23  Juergen Vigna  <jug@sad.it>
11027
11028         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11029         Wakeup functions.
11030
11031         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11032
11033 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11034
11035         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11036
11037         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11038         ensuremath around textordmasculine, textordfeminine and
11039         textdegree.
11040
11041 2002-04-19  Juergen Vigna  <jug@sad.it>
11042
11043         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11044         reinitializing the buffer otherwise row-dimensions may be wrong.
11045         (update): reset also the selection cursors if they do exits otherwise
11046         their x/y positions may be wrong.
11047
11048         * text2.C (cursorDown): don't enter the inset if we came from a row
11049         above and are one row over the inset.
11050
11051         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11052         really leaving an inset.
11053
11054 2002-04-18  Juergen Vigna  <jug@sad.it>
11055
11056         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11057         of the selected paragraph does not have the selected layout also if
11058         the last one had!
11059
11060         * text2.C (setLayout): fixed bug which did not change last selected
11061         paragraph.
11062
11063         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11064         changed the read and substituted \\end_float with \\end_inset!
11065
11066         * BufferView_pimpl.C (cursorPrevious):
11067         (cursorNext): fixed to make it work with rows heigher than the work
11068         area without moving the cursor only the draw of the row.
11069         (workAreaMotionNotify): fix jumping over high rows.
11070
11071 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11072
11073         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11074         Ressler.
11075
11076 2002-04-16  Juergen Vigna  <jug@sad.it>
11077
11078         * text2.C (setCursor): set also the irow().
11079         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11080         (cursorUp):
11081         (cursorDown): support for locking an inset if the x_fix value goes
11082         inside it. That way I can transverse insets too with cursor up/down.
11083
11084         * lyxrow.h: added irow helper function same as other (i) functions.
11085
11086         * BufferView_pimpl.C (cursorPrevious):
11087         (cursorNext): fixed for insets!
11088
11089 2002-04-15  Juergen Vigna  <jug@sad.it>
11090
11091         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11092         position otherwise it is wrong in some cases.
11093
11094         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11095         inside the inset before the call.
11096
11097 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
11098
11099         * buffer.[Ch] (getBibkeyList): make it const.
11100
11101 2002-04-12  Juergen Vigna  <jug@sad.it>
11102
11103         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11104
11105         * text2.C (getCursorX): new helper function
11106         (setCursor): compute also ix_
11107         (setCursorFromCoordinates): set also ix.
11108
11109         * lyxcursor.h: added ix_ and helper functions.
11110
11111         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11112
11113         * buffer.C (insertStringAsLines): dont break paragraph if the this
11114         paragraph is inside an inset which does not permit it!
11115
11116         * text.C (breakParagraph): honor keepempty flag and break the paragraph
11117         also with no chars on this paragraph.
11118         (paintRowText): only paint stuff if it's inside the workarea!
11119
11120         * paragraph.C (breakParagraph): honor keepempty flag and break the
11121         paragraph always below not above.
11122
11123         * BufferView2.C (unlockInset): update the paragraph layout on inset
11124         unlock as we changed paragraph in such a case.
11125
11126         * lyxfind.C (LyXFind): clear the former selection if not found!
11127
11128         * text2.C (insertInset): freeze Undo after setUndo so that it is not
11129         again called in insertChar().
11130
11131         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11132         an inset which uses the whole row!
11133         (rightMargin): ditto.
11134         (insertChar): force a rebreak if we inserted an inset!
11135
11136 2002-03-28  Herbert Voss  <voss@lyx.org>
11137
11138         * lyxlength.[Ch]: add inBP() to get the right PS-point
11139         units (BigPoint). With inPixels we have rounding errors
11140
11141 2002-04-11  Juergen Vigna  <jug@sad.it>
11142
11143         * text2.C (setCursorFromCoordinates): set iy to the right value.
11144         (setCursor): add check if row->previous exists!
11145
11146         * buffer.C (parseSingleLyXformat2Token): reset font after read of
11147         an old float_type as this was the case in the old code!
11148
11149         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11150
11151         * BufferView2.C (showLockedInsetCursor): use iy
11152         (fitLockedInsetCursor): ditto
11153
11154         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11155         locked insets as there we have the right value now.
11156
11157         * lyxcursor.C: added iy_ variable and iy functions to set to the
11158         baseline of cursor-y of the locked inset.
11159
11160         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11161         (setCursor): fixed for insets which need a full row.
11162
11163         * text.C (rowLastPrintable): don't ignore the last space when before
11164         an inset which needs a full row.
11165         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11166         as last character of a row when before a inset which needs a full row.
11167
11168 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11169
11170         * version.C.in: update date
11171
11172         * text2.C (fullRebreak): try to always return true and see what
11173         happens...
11174
11175 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11176
11177         * MenuBackend.C (expand): use Floating::listName
11178
11179         * FloatList.C (FloatList): add listName argument to the built-in
11180         floats
11181
11182         * Floating.[Ch]: add listName member, which is the 'List of XXX'
11183         text associated with the float.
11184
11185 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11186
11187         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11188
11189 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11190
11191         * ShareContainer.h: add a couple of missing typenames.
11192
11193 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
11194
11195         * lyxrc.C (getDescription): use _() correctly rather than N_().
11196
11197 2002-03-28  Herbert Voss  <voss@lyx.org>
11198
11199         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11200         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11201
11202 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11203
11204         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11205         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11206
11207 2002-03-29  Juergen Vigna  <jug@sad.it>
11208
11209         * lyxfunc.C (dispatch): add a missing fitCursor call.
11210
11211         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11212         it was scrolled by a cursor move, so return the bool status.
11213
11214         * BufferView.C (fitCursor): return the bool flag also to the outside
11215         world as this is needed.
11216
11217         * screen.C (toggleToggle): don't subtract the offset if it's positive.
11218
11219         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11220         call the edit() as it is not needed (and wrong) IMO.
11221         (workAreaButtonPress): set the screen_first variable before evt.
11222         unlock the inset as this may change screen_first and then we have
11223         a wrong y position for the click!
11224
11225 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11226
11227         * MenuBackend.C (expand): another translation that I missed
11228
11229 2002-03-28  Juergen Vigna  <jug@sad.it>
11230
11231         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11232
11233         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11234
11235 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11236
11237         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11238
11239         * MenuBackend.C (expand): fix export/view/update when there is no
11240         document open.
11241
11242 2002-03-27  Herbert Voss  <voss@lyx.org>
11243
11244         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11245         and text%
11246
11247 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11248
11249         * bufferview_funcs.C (currentState): only show paragraph number
11250         for is DEVEL_VERSION is set.
11251
11252         * lyxfunc.C (dispatch): put warning in INFO channel
11253
11254         * MenuBackend.C (expand): translate the name of floats
11255
11256         * FloatList.C (FloatList): mark the float names for translation
11257
11258         * converter.C (convert): use LibScriptSearch
11259
11260 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11261
11262         * MenuBackend.C (defaults): fix default menu (we might as well get
11263         rid of it...)
11264
11265 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11266
11267         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11268         directory.
11269
11270 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11271
11272         * lyxvc.C: reorder includes.
11273
11274 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
11275
11276         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11277           properly
11278
11279 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
11280
11281         * CutAndPaste.C: change layouts earlier on paste
11282           to avoid crashing when calling getFont()
11283
11284 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
11285
11286         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11287         irritating #error.
11288
11289 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11290
11291         * WorkArea.C: remove 'Pending' debug message.
11292
11293         * most files: ws cleanup
11294
11295         * buffer.[Ch]: ws changes
11296
11297         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11298
11299 2002-03-21  Juergen Vigna  <jug@sad.it>
11300
11301         * tabular.C (SetMultiColumn): collapse also the contents of the
11302         cells and set the last border right. Added a Buffer const * param.
11303
11304 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11305
11306         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11307         linking or not.
11308
11309 2002-03-19  Juergen Vigna  <jug@sad.it>
11310
11311         * text2.C (clearSelection): reset also xsel_cache.
11312
11313         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11314         where it needs to be called (John tells us to do so too :)
11315         (selectionLost): reset sel_cache.
11316
11317         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11318
11319 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11320
11321         * text2.C (setCursorIntern): put debuging code in INSETS channel
11322
11323 2002-03-19  André Pönitz <poenitz@gmx.net>
11324
11325         * lyxfunc.C: tiny whitespace change
11326
11327 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11328
11329         * ToolbarDefaults.C (init):
11330         * LyXAction.C (init):
11331         * commandtags.h:
11332         * BufferView_pimpl.C (Dispatch):
11333         * lyxfunc.C (dispatch): remove LFUN_DEPTH
11334
11335 2002-03-19  Allan Rae  <rae@lyx.org>
11336
11337         * exporter.C (Export): removeAutoInsets before doing anything else.
11338         While I've just introduced a dependency on BufferView this really is
11339         the best place to clean the buffer otherwise you need to cleanup in
11340         a dozen places before calling export or cleanup in a dozen functions
11341         that export calls.
11342
11343         * converter.C (runLaTeX):
11344         (scanLog): Better handling of removeAutoInsets and screen updates.
11345
11346         * lyxfunc.C (dispatch): small whitespace changes
11347
11348 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11349
11350         * WorkArea.C (C_WorkAreaEvent): return a value.
11351         (event_cb): return 1 if we handled the event, 0 otherwise.
11352
11353         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11354
11355 2002-03-18  Juergen Vigna  <jug@sad.it>
11356
11357         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11358         (GetAdditionalWidth): ditto.
11359         (RightLine): ditto.
11360         (LeftLine): ditto.
11361
11362         * BufferView2.C (copy): use getLyXText() so that we do it inside an
11363         inset if we're there actually (probably not used right now but this
11364         is the direction to go for unifying code).
11365         (paste): disable code to clear the selection.
11366
11367         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11368         inside an InsetText and move the check further up as it is in the
11369         wrong place.
11370
11371         * text2.C (pasteSelection): set a selection over the pasted text.
11372
11373 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
11374
11375         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11376         and libgraphics to build on Cygwin.
11377
11378 2002-03-15  Juergen Vigna  <jug@sad.it>
11379
11380         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11381         inserting an Inset into the paragraph. I know this is not the best
11382         fix but we already use current_view in CutAndPaste so we will remove
11383         all of it's using at the same time.
11384
11385         * buffer.C (sgmlError): deactivated function till it is rewritten in
11386         the right mode, now it can create problems.
11387
11388         * paragraph.C (isLineSeparator): check if getInset returns != 0,
11389         before accessing it.
11390
11391 2002-03-14  Juergen Vigna  <jug@sad.it>
11392
11393         * undo_funcs.C (textHandleUndo): do the right thing when updating
11394         the inset after the undo/redo.
11395
11396         * text2.C (setCursor): just some testcode for #44 not ready yet.
11397
11398         * undo_funcs.C (textHandleUndo): set the next() and previous()
11399         pointers of the paragraph to 0 before deleting otherwise we have
11400         problems with the Paragraph::[destructor].
11401
11402         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11403         on a paragraph insertion.
11404
11405 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11406
11407         * buffer.C (asciiParagraph): use += operator for char append to
11408         string.
11409
11410         * paragraph.C (getFontSettings): compare >= not just >
11411         (highestFontInRange): ditto
11412         (setFont): ditto
11413
11414 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11415
11416         * paragraph.C: change several algorithm to be more appripriate for
11417         the problem domain. This is lookip in FontList and in the InsetList.
11418
11419 2002-03-13  André Pönitz <poenitz@gmx.net>
11420
11421         * commandtags.h:
11422         * LyXAction.C: remove unused LFUN_MATH_MACROARG
11423
11424 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
11425
11426         * commandtags.h:
11427         * LyXAction.C:
11428         * lyxfunc.C:
11429         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11430
11431 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11432
11433         * Painter.C (display): anon helper function, adjust code for this
11434         change.
11435         (pixmap): remove function.
11436
11437         * Painter.h: remove private display variable.
11438
11439         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11440
11441 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
11442
11443         * WorkArea.[Ch]: remove figinset_canvas cruft.
11444
11445 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11446
11447         * lyxtextclass.C (operator): add one item cache optimization.
11448
11449         * bufferlist.h: doxy changes
11450
11451         * bufferlist.C: ws changes
11452
11453         * DepTable.[Ch] (ext_exist): place const in the right spot.
11454
11455         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11456         call resizeInsets.
11457         (workAreaExpose): call resizeInsets when the with BufferView changes.
11458         (Dispatch): adjust for protectedBlank removal
11459         (specialChar): call updateInset if the insert went ok.
11460
11461         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11462         specialChar instead.
11463
11464         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11465
11466         * BufferView.h: doxy change
11467
11468         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11469
11470         * lyxtextclass.C (operator[]): remove non-const version
11471         (defaultLayout): remove non-const version
11472
11473 2002-03-12  Juergen Vigna  <jug@sad.it>
11474
11475         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11476         did resize the LyXText too.
11477
11478         * buffer.C (readLyXformat2): set layout information on newly allocated
11479         paragraphs.
11480
11481         * tabular.C (OldFormatRead): set layout information on the paragraph.
11482
11483 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11484
11485         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11486
11487 2002-03-11  Juergen Vigna  <jug@sad.it>
11488
11489         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11490         plainly wrong.
11491         (resizeCurrentBuffer): force also the insets to resize themselfes.
11492         (moveCursorUpdate): fixed up for InsetText.
11493
11494 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
11495
11496         * commandtags.h:
11497         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11498         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11499         value of Dialogs::tooltipsEnabled().
11500         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11501
11502 2002-03-08  Juergen Vigna  <jug@sad.it>
11503
11504         * BufferView_pimpl.C (updateInset): update inset inside inset also
11505         if it isn't inside theLockingInset().
11506
11507 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11508
11509         * buffer.C (asciiParagraph): redo some of the word and line length
11510         handling.
11511         (getLists): look for Caption instead of caption.
11512
11513 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11514
11515         * buffer.C (Buffer): initialize niceFile to true
11516         (makeLaTeXFile):
11517         (makeLinuxDocFile):
11518         (makeDocBookFile): make sure niceFile is true on exit
11519
11520 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11521
11522         * buffer.C (makeLaTeXFile): escape ~ in \input@path
11523
11524 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
11525
11526         * LyXSendto.C: remove.
11527         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11528         * lyx_gui.C: remove now-redundant comment.
11529         * ColorHandler.h: remove forward declaration of class WorkArea.
11530         * lyxfunc.C: remove #include "WorkArea.h".
11531
11532 2002-03-07  Juergen Vigna  <jug@sad.it>
11533
11534         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11535         got moved away with the DEPM and also set the inset_owner always
11536         right which before could have been omitted.
11537
11538 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11539
11540         * buffer.C (parseSingleLyXformat2Token): use default layout is the
11541         wanted layout is not found.
11542
11543 2002-03-07  Juergen Vigna  <jug@sad.it>
11544
11545         * CutAndPaste.C (cutSelection): another layout settings forgotten.
11546
11547 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11548
11549         * paragraph.C (breakParagraph): use default layout not layout of
11550         prev paragraph.
11551         (Paragraph): clear ParagraphParameters.
11552
11553 2002-03-06  Juergen Vigna  <jug@sad.it>
11554
11555         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11556         otherwise it would not be a valid lenght. Fixed a special case in
11557         the minipage compatibility read where we end the document with a
11558         minipage.
11559
11560         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11561         was set as it could be 0 for InsetTexts first entry.
11562
11563 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11564
11565         * paragraph.C (writeFile): if layout is empty write out
11566         defaultLayoutName().
11567
11568         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11569         file without named layout we set layout to defaultLayoutName().
11570
11571 2002-03-06  Juergen Vigna  <jug@sad.it>
11572
11573         * CutAndPaste.C (copySelection): set layout for new paragraph.
11574
11575         * text.C (prepareToPrint): leave ERT inset left aligned
11576         (leftMargin): don't indent paragraphs inside ERT insets
11577
11578 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11579
11580         * paragraph.C (breakParagraph): dont call clear do the work manually
11581
11582         * paragraph.[Ch] (clear): remove function
11583
11584 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11585
11586         * paragraph.C (Paragraph): dont call clear, the work has already
11587         been done.
11588
11589         * lyxtextclass.C (operator): assert if n is empty
11590
11591         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11592         work manually instead.
11593
11594 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11595
11596         * BufferView_pimpl.C: protect selectionLost against text == 0
11597
11598 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11599
11600         * text.C (breakParagraph): fix a setting layout to '0' problem.
11601
11602 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11603
11604         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11605         final location of file, for the included files, and graphics.
11606
11607 2002-03-05  Juergen Vigna  <jug@sad.it>
11608
11609         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11610
11611 2002-03-04  Juergen Vigna  <jug@sad.it>
11612
11613         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11614
11615         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11616         last column of multicolumn cells.
11617         (SetWidthOfMulticolCell): recalculate NMC and real columns.
11618
11619 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11620
11621         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11622         file if it doesn't go to a temporary file.
11623
11624         * buffer.C (sgmlOpenTag):
11625         (sgmlCloseTag):  remove extra newline insertion.
11626
11627 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11628
11629         * text.C (getRowNearY): comment out debug msg
11630
11631 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11632
11633         * text2.C: first -> first_y
11634
11635         * text.C (getRowNearY): add some attemts at a possible
11636         optimization, not working.
11637
11638         * tabular.[Ch]: add BufferParams to several function so that newly
11639         created paragraph can be initialized to he default layotu for the
11640         buffers textclass.
11641
11642         * tabular-old.C (ReadOld): add buf->params to call of Init
11643
11644         * screen.C: rename text->first to text->first_y
11645
11646         * paragraph.C (breakParagraph): always set layout in the broken
11647         paragraph
11648
11649         * lyxtextclass.C (Read): remove lowercase
11650         (hasLayout): ditto
11651         (operator): ditto
11652         (delete_layout): ditto
11653
11654         * lyxtext.h: rename first -> first_y
11655
11656         * lyxlayout.C (Read): remove lowercase
11657         (name): ditto
11658         (setName): ditto
11659         (obsoleted_by): ditto
11660
11661         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11662
11663         * buffer.C (insertErtContents): add params are to InsetERT
11664         (parseSingleLyXformat2Token): add code to check if a paragraphs
11665         layout really exist.
11666         (parseSingleLyXformat2Token): add params to several inset
11667         constructors
11668         (asciiParagraph): remove lowercase, do the layout comparisons with
11669         no_case
11670
11671         * BufferView_pimpl.C (cursorNext): first -> first_y
11672         (resizeCurrentBuffer): first -> first_y
11673         (updateScrollbar): first -> first_y
11674         (scrollCB): first -> first_y
11675         (workAreaMotionNotify): first -> first_y
11676         (workAreaButtonPress): first -> first_y
11677         (checkInsetHit): first -> first_y
11678         (cursorPrevious): first -> first_y
11679         (cursorNext): first -> first_y
11680         (Dispatch): add buffer_->params to severl inset contructors
11681
11682 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11683
11684         * lyxlayout.C (Read): remove some debug info that I forgot.
11685
11686         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11687         clean up the code slightly.
11688         (makeLinuxDocFile): ditto
11689         (makeDocBookFile): ditto
11690
11691         * text2.C: layout as string
11692
11693         * text.C: layout as string
11694
11695         * paragraph_pimpl.C: layout as string
11696
11697         * paragraph.[Ch]: layout as string
11698
11699         * lyxtextclasslist.[Ch]: layout as string
11700
11701         * lyxtextclass.[Ch]: layout as string
11702
11703         * lyxtext.h: layout as string
11704
11705         * lyxlayout.[Ch]: layout as string
11706
11707         * lyx_cb.C: layout as string
11708
11709         * bufferview_funcs.C: layout as string
11710
11711         * bufferparams.C: layout as string
11712
11713         * buffer.C: layout as string
11714
11715         * LyXView.[Ch]: layout as string
11716
11717         * LaTeXFeatures.[Ch]: layout as string
11718
11719         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11720
11721         * BufferView_pimpl.C: change current_layout to string, remove
11722         lyx::layout_type.
11723         (Dispatch):
11724         (smartQuote):
11725         (insertInset):
11726         (workAreaButtonRelease): layout as string
11727
11728         * BufferView2.C (unlockInset): adjust
11729
11730         * vspace.C (asLatexCommand): use an explict temp variable.
11731
11732 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11733
11734         * Makefile.am: use FRONTEND_*
11735
11736 2002-03-01  Juergen Vigna  <jug@sad.it>
11737
11738         * tabular.C (SetWidthOfMulticolCell): changed to something better
11739         I hope but still work in progress.
11740         (recalculateMulticolumnsOfColumn): renamed function from
11741         recalculateMulticolCells as it is more appropriate now.
11742         (SetWidthOfCell): calculate multicols better.
11743
11744 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11745
11746         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11747
11748         * lyxfunc.C (processKeySym): print sequence also if it is
11749         `deleted' (complete)
11750
11751         * kbsequence.C (print): print sequence even if it is deleted
11752         (complete would be a better word, actually).
11753
11754         * lyxfunc.C (dispatch): print complete options after a prefix key
11755
11756         * vspace.C (asLatexCommand): rewrite in a slightly different form.
11757
11758 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
11759
11760         * text2.C (setCharFont): eliminate setCharFont code duplication.
11761
11762 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11763
11764         * BufferView_pimpl.C (Dispatch): remove bogus handling of
11765         LFUN_TABULAR_FEATURE (bug #177)
11766
11767 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
11768
11769         * Makefile.am: remove figure.h
11770
11771 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
11772
11773         * Bufferview_pimpl.C:
11774         * CutAndPasteC:
11775         * LaTeX.C:
11776         * LyXSendto.C:
11777         * buffer.C:
11778         * bufferlist.C:
11779         * converter.C:
11780         * language.C:
11781         * lyxfunc.C:
11782         * lyxvc.C:
11783         * paragraph.C:
11784         * text.C:
11785         * text2.C: remove #include "lyx_gui_misc.h".
11786
11787         * LaTeX.C: added #include <cstdio>
11788
11789 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11790
11791         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11792         that the paragraph following this one can have.
11793
11794         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11795
11796         * vspace.C (asLatexCommand): fix bogus gcc warning
11797
11798         * Makefile.am (lyx_SOURCES): remove vms_defines.h
11799
11800 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
11801
11802         * text2.C (setLayout): get rid of redundant code
11803
11804 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
11805
11806         * text2.C (incDepth): make sure depth cannot be increased beyond
11807         reasonable values.
11808
11809 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
11810
11811         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11812         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11813
11814         * PainterBase.h (image):
11815         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11816         a LyXImage const *.
11817
11818 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11819
11820         * BufferView.C:
11821         * BufferView.h:
11822         * BufferView_pimpl.C:
11823         * BufferView_pimpl.h:
11824         * LaTeXFeatures.C:
11825         * LyXAction.C:
11826         * LyXView.C:
11827         * Makefile.am:
11828         * UpdateList.h:
11829         * UpdateList.C:
11830         * buffer.C:
11831         * figure.h:
11832         * figureForm.C:
11833         * figureForm.h:
11834         * figure_form.C:
11835         * figure_form.h:
11836         * lyx_cb.C:
11837         * lyx_gui.C:
11838         * lyx_gui_misc.C:
11839         * lyxfunc.C:
11840         * sp_base.h:
11841         * sp_ispell.h:
11842         * sp_pspell.h:
11843         * sp_spell.C: remove fig inset, and the crap house of
11844           cards that follows it
11845
11846 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11847
11848         * Makefile.am:
11849         * lyxserver.C:
11850         * os2_defines.h:
11851         * os2_errortable.h:
11852         * nt_defines.h: move .h into support/
11853
11854         * vms_defines.h: remove
11855
11856         * WorkArea.C: add space in debug output
11857
11858         * text2.C:
11859         * paragraph.C:
11860         * buffer.C: add WITH_WARNINGS
11861
11862         * vc-backend.h:
11863         * vc-backend.C:
11864         * bufferlist.C: s/retrive/retrieve/, add docs
11865
11866         * vspace.h:
11867         * vspace.C:
11868         * kbmap.h:
11869         * lyxlength.h:
11870         * lyxgluelength.h:
11871         * length_common.h:
11872         * chset.h:
11873         * chset.C: add docs
11874
11875         * lyxgui.C: add ID to X error handler
11876
11877         * lyxtestclass.c: fix typo
11878
11879 2002-02-26  Juergen Vigna  <jug@sad.it>
11880
11881         * tabular_funcs.C (write_attribute): changed so that some default
11882         attributes are not written at all.
11883         (getTokenValue): set default values before trying to read the
11884         value so we have the return value always set as default if we don't
11885         find the token we search for.
11886
11887         * tabular.C (Write): write bools as bools not as strings!
11888
11889 2002-02-22  Juergen Vigna  <jug@sad.it>
11890
11891         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11892         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11893
11894         * text.C (leftMargin): don't add an indent for paragraphs inside
11895         tabular cells (fix #208).
11896
11897 2002-02-21  José Matos  <jamatos@fep.up.pt>
11898
11899         * tabular.C (docBook): fixed support for long tables.
11900
11901 2002-02-20  Juergen Vigna  <jug@sad.it>
11902
11903         * text2.C (getFont): get the drawing font of the Inset if this
11904         paragraph is inside an inset (only important for InsetERT for now).
11905
11906         * buffer.C (insertErtContents): use new lanugage params in ERT
11907         constructor.
11908
11909         * CutAndPaste.C: commenting out seemingly uneeded code.
11910
11911 2002-02-19  Allan Rae  <rae@lyx.org>
11912
11913         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11914         Iterators might be simple to use but they also get invalidated.
11915         (removeAutoInsets): renamed saved cursor tracking variables and added
11916         some comments to clarify what everything does.
11917
11918 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
11919
11920         * Chktex.C:
11921         * LaTeX.C:
11922         * LyXSendto.C:
11923         * converter.C:
11924         * lyx_cb.C:
11925         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11926         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11927
11928         * lyxfunc.C:
11929         * vc-backend.h: remove #include "support/syscall.h"
11930
11931         * LaTeX.C:
11932         * LyXSendto.C:
11933         * converter.C: rearrange #includes in Lars' approved fashion.
11934
11935         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11936         forward declare class Timeout in the header file.
11937
11938         * XFormsView.C: changes due to the above.
11939
11940         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11941         similar to LyXView.
11942
11943         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11944         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11945
11946 2002-02-18  José Matos  <jamatos@fep.up.pt>
11947
11948         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11949         insets contents.
11950
11951 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
11952
11953         * a lot of small ws changes
11954         * add a lot of using std::XXX
11955         * use std construcs some places where approp.
11956         * use some exisint stuff from lyxfunctional where approp.
11957         * Make file changes to use partial linking (lets test this now...)
11958
11959 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11960
11961         * Chktex.C:
11962         * buffer.C:
11963         remove #include "support/syscontr.h" as it's redundant. Always has been.
11964
11965         * Chktex.C:
11966         * LaTeX.C:
11967         * LyXSendto.C:
11968         * converter.C:
11969         * lyx_cb.C:
11970         * vc-backend.C:
11971         change Systemcalls::System to Systemcalls::Wait and
11972         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11973         No change of functionality, just reflects the stripped down Systemcalls
11974         class.
11975
11976 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11977
11978         * debug.[Ch]: add a GRAPHICS type to the enum.
11979
11980 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11981
11982         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11983
11984         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11985         there is an inset.
11986
11987 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11988
11989         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11990         match the changes below.
11991
11992         * text2.C (toggleInset): if there is not editable inset at cursor
11993         position, try to see if cursor is _inside_ a collapsable inset
11994         and close it.
11995
11996 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11997
11998         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11999         document menu has a nice checkbox
12000
12001 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12002
12003         * lyxlength.C (asLatexString): change PW to output as percent of
12004         \textwidth.
12005
12006         * lengthcommon.C: change '%' to 't%'
12007
12008         * lyxfunc.C (dispatch): a few comments from Martin
12009
12010 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
12011
12012         * WorkArea.h:
12013         * WorkArea.C:
12014         * BufferView_pimpl.h:
12015         * BufferView_pimpl.C: clear our selection when X tells us we've lost
12016           the X selection.
12017
12018 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12019
12020         * vspace.C (inPixels): fix compiler warning
12021
12022 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12023
12024         * lyxfunc.C (getStatus): fix status message for disabled commands.
12025
12026 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
12027
12028         * BufferView_pimpl.C: fix crash on close buffer
12029         during selection (#227)
12030
12031 2002-01-27  Herbert Voss  <voss@lyx.org>
12032
12033         * buffer.C: link old Figure to new graphic inset
12034
12035 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
12036
12037         * FontLoader.C (getFontinfo): Change the latex font names in order
12038         to match the names of type1inst.
12039
12040 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12041
12042         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12043
12044         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12045         (extchanged): ditto
12046         (ext_exist): ditto
12047         (remove_files_with_extension): ditto
12048         (remove_file): ditto
12049         (write): ditto
12050
12051         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12052         document is smaller than the work area height. Do not initialize
12053         static variables to 0.
12054
12055 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12056
12057         * lyx_gui.C (init): give the toolbar tooltips a normal font.
12058
12059         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12060         LFUN_LAYOUT_PARAGRAPHS.
12061
12062         * tabular.C (GetCellFromInset): new method. Finds an inset in a
12063         tabular. It is possible to provide a possible cell, which will
12064         typically be the actcell from the corresponding insettabular
12065
12066         * lyxfunc.C (getStatus): small cleanup; disable
12067         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12068         true
12069
12070 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12071
12072         * tabular.C (Validate): remove broken optimization (fixes bug #201)
12073
12074         * paragraph.C (startTeXParParams):
12075         (endTeXParParams): new methods. The LaTeX code to
12076         start/end paragraph formatting
12077         (simpleTeXOnePar): call startTeXParParams also when paragraph is
12078         empty (fixes bug #200)
12079
12080         * vspace.C (inPixels): adapt to the change below
12081         (inPixels): [later] more cleanups (remove unused variables)
12082
12083         * lyxlength.C (inPixels): change to use a width and a height as
12084         parameter.
12085
12086 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12087
12088         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12089         Replaced with \paperwidth
12090
12091         * DepTable.C (insert): add std:: qualifier
12092
12093 2002-01-18  Allan Rae  <rae@lyx.org>
12094
12095         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
12096         updated also?
12097
12098         * text.C (drawInset): Turned out I didn't know enough about how
12099         rebreaking worked.  This fixes most of the redraw problems.  I see
12100         an occasional cursor trail when a line is broken now and the cursor
12101         placement can seem out by a few pixels also after a rebreak.
12102
12103 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12104
12105         * buffer.C (parseSingleLyXformat2Token): update because minipage
12106         width is now a LyXLength
12107
12108         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12109
12110         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12111         math insets
12112
12113 2002-01-17  Juergen Vigna  <jug@sad.it>
12114
12115         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12116
12117         * BufferView2.C (lockInset): call edit() so that theLockingInset()
12118         is set correctly and the inset is updated correctly.
12119
12120 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12121
12122         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12123         the beginning of the loop.
12124
12125 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
12126
12127         * lyxrc.C: improve help for use_scalable_fonts
12128
12129 2002-01-17  Allan Rae  <rae@lyx.org>
12130
12131         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12132
12133 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12134
12135         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12136         make sure to set their inset_owner to the right value (bug #171)
12137
12138 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
12139
12140         * DepTable.h
12141         * DepTable.C: Implement mtime checking to reduce time spent doing
12142         CRCs.
12143
12144 2002-01-16  Juergen Vigna  <jug@sad.it>
12145
12146         * tabular.C (GetAdditionalHeight): one of error fixed.
12147
12148         * lyxrc.C (output): small fix in writing use_pspell.
12149
12150 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
12151
12152         * sp_base.h: #include LString.h
12153
12154 2002-01-16  Allan Rae  <rae@lyx.org>
12155
12156         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
12157         Can someone check this please?
12158
12159         * text.C (drawInset): It was possible that p.row would be removed by
12160         breakAgainOneRow upsetting a few other settings.  There may be another
12161         small tweak possible by setting need_break_row = 0 when p.row has been
12162         removed but I don't know enough about the logic here.
12163
12164 2002-01-15  Allan Rae  <rae@lyx.org>
12165
12166         * text.C (insertChar): removed conditional truism.
12167
12168         * BufferView2.C (removeAutoInsets): More tweaks.
12169         cur_par_prev could be a stray pointer.  Check for trailing empty line
12170         in case last line was cur_par and only had an error inset on it.
12171
12172 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12173
12174         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12175         absolute
12176
12177         * vc-backend.C (most methods):
12178         * exporter.C (Export):
12179         * converter.C (convert):
12180         (runLaTeX):
12181         * LyXSendto.C (SendtoApplyCB):
12182         * lyxfunc.C (dispatch):
12183         (menuNew):
12184         (open):
12185         (doImport):
12186         * lyx_cb.C (AutoSave):
12187         (InsertAsciiFile):
12188         * BufferView_pimpl.C (MenuInsertLyXFile):
12189         * buffer.C (runChktex): use Buffer::filePath().
12190
12191         * buffer.h: rename filename to filename_; rename filepath to
12192         filepath_ and make it private
12193         (filePath): new method
12194
12195         * buffer.C (writeFile): use fileName()
12196         (getLatexName):
12197
12198         * lyx_main.C (init): fix starting  of LyX when the binary is a
12199         link from so,ewhere else.
12200
12201         * minibuffer.C: include <cctype> for isprint
12202
12203 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12204
12205         * buffer.C (parseSingleLyXformat2Token): changes associated with the
12206         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12207         name clash with InsetCollapsable's width function.
12208
12209 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12210
12211         * lastfiles.C: include <iterator>
12212
12213 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12214
12215         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12216         std::count.
12217
12218         * buffer.C (makeLaTeXFile): ditto.
12219         Also make loop operation more transparent.
12220
12221 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12222
12223         * ToolbarDefaults.C: remove trailing comma closing namespace.
12224
12225         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12226
12227         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12228         as in WorkArea.
12229
12230         * trans.C (Load): comment out unused variable, allowed.
12231
12232 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12233
12234         * minibuffer.[Ch] (append_char): new method to recieve input from the
12235         drop-down completion browser. If a key was pressed, then recieve this
12236         char and append it to the existing string.
12237         (peek_event): modify the positioning data passed to the completion
12238         browser so that it can be placed above the minibuffer rather than below.
12239 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12240
12241         * LyXAction.C (init): alloe error-next for readonly documents.
12242
12243         * BufferView2.C (ChangeRefsIfUnique): use standard version of
12244         count.
12245
12246 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12247
12248         * bufferlist.C (readFile): create the buffer _after_ checking that
12249         the file exists.
12250
12251         * lyxfunc.C (verboseDispatch): fix handling of arguments
12252
12253         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12254
12255         * lyxrc.C: use string::erase() instead of initializing to "".
12256
12257
12258 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12259
12260         * BufferView_pimpl.h:
12261         * BufferView_pimpl.C:
12262         * WorkArea.h:
12263         * WorkArea.C:
12264         * text2.C: tell X when we have made a selection for copying
12265
12266 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12267
12268         * BufferView_pimpl.C (MenuInsertLyXFile):
12269         * lyxfunc.C (menuNew):
12270         (open):
12271         (doImport): add shortcuts to directory buttons
12272
12273         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12274         open a float)
12275
12276         * lyxfunc.C (setStatusMessage):
12277         (getStatusMessage): new methods
12278         (getStatus):use setStatusMessage instead of setErrorMessage
12279         (dispatch): when function is disabled, set error message here
12280         [instead of in getStatus previously]
12281
12282         * BufferView_pimpl.C (workAreaButtonRelease): update
12283         toolbar/menubar here too.
12284
12285 2002-01-13  Allan Rae  <rae@lyx.org>
12286
12287         * BufferView2.C (removeAutoInsets): finished off earlier fix.
12288         Now seems indestructible.  Remaining task is to audit all other
12289         code affected by deleteEmptyParagraphMechanism.  One small quirk
12290         left is that an empty document with an error in the preamble can
12291         be made to report an error but no error box appears.  I don't know
12292         where it goes.
12293         (removeAutoInsets): Improved comments.
12294
12295 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
12296
12297         * Thesaurus.h:
12298         * Thesaurus.C: update for Aiksaurus 0.14
12299
12300 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12301
12302         * text2.C (firstParagraph): removed member function, all uses
12303         replaces with ownerParagraph
12304         (redoParagraphs): here
12305         (updateInset): here
12306         (toggleAppendix): here
12307         * BufferView2.C (insertErrors): here
12308         (setCursorFromRow): here
12309
12310 2002-01-13  Allan Rae  <rae@lyx.org>
12311
12312         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12313         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12314         There is still a way to segfault this although you may have to do this
12315         multiple times: Have an InsetERT with an unknown command in it.
12316         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12317         <down-arrow>, <Enter> again, View->DVI, BANG!
12318
12319         * text2.C (setCursor):
12320         (deleteEmptyParagraphMechanism):
12321         * lyxtext.h (setCursor):
12322         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12323         Making use of the return value may help fix other bugs.
12324
12325 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12326
12327         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12328
12329         * LyXView.C (updateMenubar): call MenuBar::update here
12330         (updateToolbar): but not here
12331         (showState): do not update toolbar/menubar
12332
12333         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12334         should need to care about that.
12335
12336         * lyxfunc.C (verboseDispatch): simplify a bit
12337         (getStatus): have a version which takes a pseudoaction, and
12338         another which requires a (kb_action,string).
12339
12340         * LyXAction.C (retrieveActionArg): make it work also when action
12341         is not a pseudo-action.
12342         (getActionName): simplify a bit
12343         (helpText):
12344
12345 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12346
12347         * lyxfunc.C (verboseDispatch): new families of methods with
12348         several ways to specify a command and a bool to indicate whether
12349         the command name and shortcut should be displayed in minibuffer
12350         (eventually, we could extend that to a finer bitmask like
12351         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12352         (dispatch): the pristine dispatch command which just, well,
12353         dispatchs! Note it still sets its result to minibuffer; I'm not
12354         sure we want that.
12355
12356         * lyxfunc.h: remove setHintMessage
12357
12358         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12359
12360 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12361
12362         * BufferView_pimpl.C (specialChar): delete new inset if we have
12363         not been able to insert it.
12364
12365         * kbmap.C: revert to using int instead of kb_action, since all we
12366         are dealing with is pseudo-actions.
12367
12368         * LyXAction.C (searchActionArg): change to return int instead of
12369         kb_action, since the result is a pseudoaction.
12370
12371 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
12372
12373         * buffer.C (insertErtContents): Fix (partially) the font bug.
12374
12375 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12376
12377         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12378         as the other one is broken on my machine!
12379
12380 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
12381
12382         * commandtags.h:
12383         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12384
12385 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
12386
12387         * lyxrc.[Ch]: change names and descriptions of popup font variables to
12388         reflect their actual use. Provide compatibility code for older lyxrc
12389         files.
12390
12391         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12392         FL_NORMAL_STYLE.
12393         change names of popup font variables in line with the changes to lyxrc.C
12394
12395 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12396
12397         * buffer.C (asciiParagraph): avoid outputing a word twice after
12398         an inset.
12399
12400         * lyxrc.C (getDescription): document that document_path and
12401         template_path can be empty.
12402
12403 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12404
12405         * LaTeXFeatures.C (getMacros):
12406         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12407
12408         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12409
12410         * LaTeXFeatures.C (useFloat): require "float" here instead of in
12411         getPackages.
12412         (getPackages): rename feature "floats" to "float". Use an array to
12413         iterate over 'simple' features (i.e. just a \usepackage). Add
12414         handling of "amsmath" (renamed from "amsstyle").
12415
12416 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
12417
12418         * LaTeXFeatures.C (require): Prevent duplicate entries in the
12419         features list.
12420
12421 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
12422
12423         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12424         FuncStaus::FuncStatus & FuncStaus::some_method().
12425
12426 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
12427
12428         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12429         of the func_satus stuff. Edited and massaged in various ways by
12430         JMarc.
12431
12432         * lyxfunc.C (getStatus): use FuncStatus
12433
12434 2002-01-08  Juergen Vigna  <jug@sad.it>
12435
12436         * text.C (nextBreakPoint): use function Inset::isChar().
12437
12438         * paragraph.C (TeXOnePar): use function
12439         Inset::forceDefaultParagraphs.
12440
12441         * buffer.C (latexParagraphs): use function
12442         Inset::forceDefaultParagraphs.
12443
12444 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12445
12446         * lyx_gui.C (init): set the style of the menu popups to
12447         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12448
12449 2002-01-07  Juergen Vigna  <jug@sad.it>
12450
12451         * text.C (setHeightOfRow): small fix
12452         (prepareToPrint): don't look at alignment if we don't have the place
12453         for doing it.
12454
12455 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12456
12457         * box.C: New file. Move the Box methods and functions out of box.h,
12458         following Lars' suggestion.
12459
12460 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12461
12462         * box.h: #include "support/LOstream.h", needed for inlined function.
12463
12464         * lyxtextclass.C:
12465         * lyxtextclasslist.C: added some using std declarations.
12466
12467 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
12468
12469         * box.h: make signed dimensions to allow insets wider than
12470           the screen (bug #162)
12471
12472         * BufferView_pimpl.C: add some insetHit debug
12473
12474 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
12475
12476         * vc-backend.C: add FIXME
12477
12478 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12479
12480         * lyxfunc.C (getStatus): enable code for showing math font status
12481         in toolbar/menu.
12482
12483 2002-01-07  Juergen Vigna  <jug@sad.it>
12484
12485         * text.C (nextBreakPoint): removed debug output not needed anymore.
12486
12487 2002-01-06  Juergen Vigna  <jug@sad.it>
12488
12489         * text.C (nextBreakPoint): fixed up this function we had this bug
12490         since ever but now hopefully we break row better.
12491         (insertChar): we have to check if an inset is the next char as it
12492         could now happen that a large inset is causing a break.
12493
12494 2002-01-05  Juergen Vigna  <jug@sad.it>
12495
12496         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12497         if it doesn't like to be drawed.
12498
12499 2002-01-04  Juergen Vigna  <jug@sad.it>
12500
12501         * BufferView2.C (lockInset): forgot to set a cursor.
12502
12503         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12504
12505 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
12506
12507         * FormMathsPanel.C:
12508         * FormMathsPanel.h
12509         * MathsSymbols.C:
12510         * form_maths_panel.C:
12511         * form_maths_panel.h:
12512         * form_maths_panel.fd: implemented sub- and super- buttons in math
12513         panel.
12514
12515         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12516         (or ^ space) to be used as in TeX (req'd by André).
12517
12518         * lyxfunc.C: Allow ^ and _ again to be used both as
12519         super/subscript (mathed) and as themselves (in text).
12520
12521 2002-01-03  Allan Rae  <rae@lyx.org>
12522
12523         * LyXView.C (updateWindowTitle): Setup a short icon title of either
12524         "LyX" or the filename of the current buffer if it has one.  This is a
12525         modified form of John Levon's patch.
12526
12527         * XFormsView.C (setWindowTitle): also set icon title.
12528
12529         * LyXView.h (setWindowTitle): signature changed.
12530         * XFormsView.h (setWindowTitle): ditto.
12531
12532 2002-01-02  Juergen Vigna  <jug@sad.it>
12533
12534         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12535
12536 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12537
12538         * screen.C (topCursorVisible): introduce a temp var for
12539         text->cursor.row(), handle the case where this row is null. (kindo
12540         hachish)
12541
12542         * text2.C (setCursor): add a couple of asserts.
12543
12544         * paragraph.h (inset_iterator): add -> operator
12545
12546         * paragraph.[Ch] (autoDeleteInsets): remove member function
12547
12548         * BufferView2.C (removeAutoInsets): rewrite to handle the old
12549         cursor pos correctly and handle inset deletion by itself.
12550         (insertErrors): move iterator declaration out of for expression
12551
12552         * lyxtextclass.C: add <algorithm>
12553
12554         * Makefile.am: added the new files to sources, removed layout.C
12555
12556         * layout.C: removed file
12557
12558         * layout.h: remove LYX_DUMMY_LAYOUT
12559
12560         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12561         layout.
12562
12563         * lyxlayout.[Ch]:
12564         * lyxtextclass.[Ch]:
12565         * lyxtextclasslist.[Ch]: new files
12566
12567         * include order changes to a lot of files, also changes because of
12568         the six new files.
12569
12570 2001-12-27  Juergen Vigna  <jug@sad.it>
12571
12572         * buffer.C (asciiParagraph): more fixes.
12573
12574         * tabular.C (ascii): make ascii export support export of only the
12575         data separated by a column-delimiter.
12576         (ascii): better support for ascii export.
12577
12578         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12579
12580 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12581
12582         * tabular_funcs.C: use a "using std::getline" instead of the
12583         previous fix from Angus (necessary for cxx + lyxstring)
12584
12585 2001-12-24  Juergen Vigna  <jug@sad.it>
12586
12587         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12588
12589         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12590         problems. First check a minipage also if we have some ert-contents
12591         (not only on par->size(), second set the right depth of the paragraph
12592         on the relink to the root-paragraph-list!
12593
12594         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12595         which then did not anymore update the main paragraphs on undo/redo!
12596
12597 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12598
12599         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12600         code. Support all font-changing funcs (even those which are not in
12601         menu currently). Support for reporting font settings in
12602         mathed (disabled until Andre provides a function on mathed's side).
12603
12604         * func_status.h (toggle): small helper function to set toggle
12605         state on a flag.
12606
12607 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
12608
12609         * tabular_funcs.C: getline -> std::getline
12610
12611 2001-12-21  Juergen Vigna  <jug@sad.it>
12612
12613         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12614         accessed and could be 0 (I couldn't generate this but it seems
12615         Michael could!).
12616
12617 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12618
12619         * tabular_funcs.C: add LIstream.h, move write_attribute to..
12620         * tabular_funcs.h: here and include iosfwd
12621
12622 2001-12-20  Juergen Vigna  <jug@sad.it>
12623
12624         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12625         inside inset but undo_par was.
12626
12627 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12628
12629         * Thesaurus.C: always include <config.h> in sources.
12630
12631         * Painter.h:
12632         * lyxlookup.h:
12633         * box.h: do not include <config.h> in header files
12634
12635         * text.C (paintLastRow): remove unused variable
12636
12637         * text.C (transformChar):
12638         (insertChar):
12639         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12640
12641         * Painter.C (text):
12642         * font.C (width): rewrite to use uppercase() instead of
12643         islower/toupper.
12644
12645         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12646
12647 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
12648
12649         * lyxfind.C: clean up of find failure position change
12650
12651 2001-12-20  Juergen Vigna  <jug@sad.it>
12652
12653         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12654
12655         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12656         (TeXRow): added to LaTeX a single tabular row.
12657         (TeXLongtableHeaderFooter): added to output LT-h/f data.
12658         (Latex): simplified and finally good LT-h/f support.
12659         (various_functions): just small adaptions for LT-h/f support.
12660
12661         * tabular_funcs.[hC]: added and moved here all not classfunctions
12662         of LyXTabular.
12663
12664 2001-12-19  Juergen Vigna  <jug@sad.it>
12665
12666         * tabular.[Ch]: better support for longtabular options (not finished
12667         yet!)
12668
12669 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12670
12671         * text.C (paintLastRow): use the label font instead of the font of
12672         the last character to compute the size of *_BOX. This makes more
12673         sense and avoids a crash with empty paragraphs.
12674         Use Painter::rectangle to draw EMPTY_BOX.
12675
12676 2001-12-19  Juergen Vigna  <jug@sad.it>
12677
12678         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12679         the paragraphs if the replaced paragraph is not the first one!
12680         Tried to delete not used paragraphs but does not work yet so for
12681         now it's inside #ifdef's and by default off!
12682
12683 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12684
12685         * MenuBackend.C: include "lyx_main.h" instead of declaring
12686         lastfiles (actually was declared as LastFiles* instead of a
12687         scoped_ptr).
12688
12689 2001-12-17  Juergen Vigna  <jug@sad.it>
12690
12691         * tabular.C (AppendColumn): applied John's fix
12692
12693 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
12694
12695         * BufferView.h:
12696         * BufferView.C:
12697         * BufferView_pimpl.h:
12698         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12699
12700         * Makefile.am:
12701         * box.h: new start of class for above
12702
12703         * lyxfunc.C: ignore space-only minibuffer dispatches.
12704           Show the command name when it doesn't exist
12705
12706         * minibuffer.C: don't add empty lines to the history
12707
12708         * minibuffer.C: add a space on dropdown completion
12709
12710 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
12711
12712         * text.C: fix line above/below drawing in insets
12713
12714 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12715
12716         * lyxlength.C (LyXLength): Initialize private variables.
12717
12718 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
12719
12720         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12721         when inserting error insets.
12722
12723 2001-12-13  Juergen Vigna  <jug@sad.it>
12724
12725         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12726         actually sometimes the before-paragraph.
12727         (setUndo): don't clear the redostack if we're not actually undoing!
12728
12729 2001-12-06  Juergen Vigna  <jug@sad.it>
12730
12731         * undo_funcs.C (textHandleUndo): well after John's hint I got here
12732         and fixed redoing of main paragraph, so we can use it now ;)
12733
12734         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12735
12736 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12737
12738         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12739         Juergen's request
12740
12741 2001-12-13  André Pönitz <poenitz@gmx.net>
12742
12743         * undostack.[Ch]:
12744         * undo_func.C: minor cleanup
12745
12746 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12747
12748         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12749         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12750         font in urw-fonts package which is marked as -urw-fontspecific and
12751         does not work (incidentally, changing the encoding in the
12752         fonts.dir of this package to -adobe-fontspecific fixes the
12753         problem).
12754
12755         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12756         is a crash when undoing first paragraph (Juergen, please take a
12757         look). THis does not mean the undo fix is wrong, just that it
12758         uncovers problems.
12759
12760         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12761         the (Paragraph*) version when needed instead of duplicating the
12762         code.
12763
12764         * text.C (workWidth): use Inset::parOwner to find out where the
12765         inset has been inserted. This is a huge performance gain for large
12766         documents with lots of insets. If Inset::parOwner is not set, fall
12767         back on the brute force method
12768
12769         * paragraph_pimpl.C (insertInset):
12770         * paragraph.C (Paragraph):
12771         (cutIntoMinibuffer): set parOwner of insets when
12772         inserting/removing them
12773
12774         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12775
12776 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
12777
12778         * commandtags.h:
12779         * LyXAction.C:
12780         * lyx_main.C:
12781         * lyxfunc.C:
12782         * mathed/formulabase.C:
12783         * mathed/math_cursor.[Ch]:
12784         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12785
12786
12787 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12788
12789         * lyxlength.[Ch] (operator!=): new function
12790
12791 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12792
12793         * text.C (workWidth): use Inset::parOwner to find out where the
12794         inset has been inserted. This is a huge performance gain for large
12795         documents with lots of insets. If Inset::parOwner is not set, fall
12796         back on the brute force method
12797
12798         * paragraph_pimpl.C (insertInset):
12799         * paragraph.C (Paragraph):
12800         (cutIntoMinibuffer): set parOwner of insets when
12801         inserting/removing them
12802
12803         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12804
12805 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12806
12807         * tabular-old.C (getTokenValue):
12808         * tabular.C (getTokenValue):
12809         (write_attribute): new versions for LyXLength
12810         (everywhere): adjust the use of widths
12811
12812         * tabular.h: change the type of widths from string to LyXLength
12813
12814 2001-12-11  Ben Stanley <bds02@uow.edu.au>
12815
12816         * paragraph.C: fixed missing line number count when exporting
12817         Environments to LaTeX file
12818
12819         * buffer.C: added informational message for checking line numbers.
12820
12821 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12822
12823         * text2.C (deleteEmptyParagraphMechanism): if there is only one
12824         paragraph, do the 'double space' part, but not the 'empty
12825         paragraph' one.
12826
12827         * text.C (workWidth): small optimization
12828         (getLengthMarkerHeight): use minimal size for negative lengths.
12829
12830 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
12831
12832         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12833
12834         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12835
12836 2001-12-11  André Pönitz <poenitz@gmx.net>
12837
12838         * FontLoader.C:
12839         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12840
12841 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12842
12843         * text2.C: keep selection on a setFont()
12844
12845 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12846
12847         * lyx_cb.C: another bv->text misuse, from insert label
12848
12849 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12850
12851         * kbsequence.h:
12852         * kbsequence.C: re-instate nmodifier mask
12853
12854 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
12855
12856         * lyx_main.h: make lyxGUI private.
12857
12858 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12859
12860         * lyxfind.C: place the cursor correctly on failed search
12861
12862 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12863
12864         * text.C (getLengthMarkerHeight): for small heights, the arrows
12865         are not always on top/bottom of the text
12866         (drawLengthMarker): smaller arrows; take the left margin in
12867         account; draw also vfills.
12868         (paintFirstRow):
12869         (paintLastRow): remove special code for vfill and standard spaces,
12870         since everything is handled in drawLengthMarker now.
12871
12872 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12873
12874         * buffer.C (insertErtContents): try to handle font and language
12875         interaction a bit better.g
12876
12877         * ColorHandler.C (updateColor): change the hash to cover the whole
12878         LColor enum, ws cleanup
12879         (getGCLinepars): ditto
12880         (getGCLinepars): only lookup in the linecache once.
12881
12882 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
12883
12884         * iterators.C (operator++): Make the iterator more robust
12885
12886         * BufferView2.C (removeAutoInsets): Use paragraph iterators
12887         (John's patch)
12888         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12889
12890 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12891
12892         * lyxtext.h:
12893         * text.C: better added space drawing
12894
12895 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12896
12897         * LyXView.C:
12898         * BufferView2.C: fix layout combo update on inset unlock
12899
12900 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12901
12902         * Makefile.am: don't compile unused files
12903
12904 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12905
12906         * lyxfunc.C:
12907         * commandtags.h:
12908         * LyXAction.C: remove old LFUN_LAYOUTNO
12909
12910 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12911
12912         * paragraph_pimpl.h:
12913         * paragraph_pimpl.C: isTextAt() doesn't need font param
12914
12915 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12916
12917         * lyxlex.h:
12918         * lyxlex.C: little cleanup
12919
12920 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12921
12922         * BufferView_pimpl.C: fix insertAscii for insets
12923
12924 2001-12-05  Juergen Vigna  <jug@sad.it>
12925
12926         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12927         set the right font on the "multi" paragraph paste!
12928
12929 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12930
12931         * trans_decl.h:
12932         * trans_mgr.[Ch]:
12933         * trans.[Ch]:
12934         * lyxgluelength.C:
12935         * lyxlength.C: remove out-commented code.
12936
12937         * BufferView_pimpl:
12938         * CutAndPaste.C:
12939         * DepTable.C:
12940         * buffer.C:
12941         * chset.C:
12942         * lastfiles.C:
12943         * lyxlex.C:
12944         * lyxlex_pimpl.C:
12945         * lyxserver.C:
12946         * screen.C:
12947         * tabular-old.C:
12948         * tabular.C:
12949         * text.C:
12950         * trans_mgr.C:
12951         * vc-backend.C: change "while(" to "while ("
12952
12953         * lyxlength.[Ch]: add zero function to check if length is zero or
12954         not
12955         * lyxgluelength.C: use it
12956
12957 2001-12-05  Allan Rae  <rae@lyx.org>
12958
12959         * lyxlength.C: Attempted a fix for the abs(int) header selection.
12960         Works for 2.95.3, from what I understand of Garst's reports this should
12961         work for other g++ versions.  We're screwed if the abs(int) definition
12962         changed between bugfix releases of gcc.
12963
12964 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12965
12966         * text.C: fix chapter label offset !
12967
12968 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12969
12970         * lyxtext.h:
12971         * text.C: fix hfill at end of line, clean up
12972
12973 2001-12-04  Juergen Vigna  <jug@sad.it>
12974
12975         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12976         that we force an update of the inset and it's owners if neccessary.
12977
12978 2001-12-03  Juergen Vigna  <jug@sad.it>
12979
12980         * text.C (rowLast): simplified code
12981
12982 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12983
12984         * lyxfunc.C: fix show options on timeout
12985
12986 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12987
12988         * screen.C (topCursorVisible): scroll half a page when the cursor
12989         reached top of bottom of screen
12990
12991 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
12992
12993         * minibuffer.C: deactivate on loss of focus
12994
12995 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12996
12997         * vspace.[Ch] (operator!=): add operator.
12998
12999 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
13000
13001         * BufferView_pimpl.C: refuse to open an inset when
13002         there's a selection.
13003
13004 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
13005
13006         * BufferView_pimpl.C: allow to click on RHS of full row insets
13007
13008 2001-11-30  Juergen Vigna  <jug@sad.it>
13009
13010         * tabular.C (LyXTabular): add a same_id to set the same id's in the
13011         insets for undo reasons.
13012
13013 2001-11-28  André Pönitz <poenitz@gmx.net>
13014
13015         * vspace.[Ch]: cosmetical changes
13016
13017 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13018
13019         * LyXAction.h:
13020         * LyXAction.C:
13021         * lyxfunc.h:
13022         * lyxfunc.C:
13023         * kbmap.h:
13024         * kbmap.C:
13025         * lyxrc.C:
13026         * kbsequence.h:
13027         * kbsequence.C: part re-write of old kb code
13028
13029         * Painter.C:
13030         * WorkArea.C: remove Lgb_bug_find_hack
13031
13032 2001-11-30  José Matos <jamatos@fep.up.pt>
13033
13034         * buffer.C (makeDocBookFile): add a comment to point a hack.
13035         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13036         Fixed a double write of labels.
13037
13038 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13039
13040         * LaTeX.C:
13041         * LaTeX.h Fixed bug in LaTeX class where it would not
13042         re-run latex if no depfiles were changed, but the .dvi was removed.
13043
13044 2001-11-28  André Pönitz <poenitz@gmx.net>
13045
13046         * all the files from the change on 2001/11/26:
13047         use lyx::layout_type instead of LyXTextClass::size_type
13048         use lyx::textclass_type instead of LyXTextClassList::size_type
13049
13050 2001-11-29  Juergen Vigna  <jug@sad.it>
13051
13052         * text.C: added support for paragraph::isFreeSpacing()
13053
13054         * buffer.C: same as above
13055
13056         * paragraph.h: inserted isFreeSpacing() function to enable
13057         FreeSpacing inside InsetERT.
13058
13059         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13060         of the paragraph's in the cut/copy buffer to 0!
13061
13062         * text2.C (removeRow): remove the assert as it can!
13063
13064         * lyxtext.h: added helper function firstRow returning firstrow and
13065         made firstrow private again.
13066
13067         * BufferView2.C (lockInset): don't relock if we're already locked!
13068
13069         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13070         the only paragraph.
13071         (removeRow): added Assert::(firstrow)
13072
13073         * debug.C: forgot to add INSETTEXT here.
13074
13075 2001-11-28  Juergen Vigna  <jug@sad.it>
13076
13077         * sp_spell.C (initialize): changed error text to more general
13078         spellchecker command use (not only ispell!)
13079
13080         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13081
13082         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13083
13084 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13085
13086         * vspace.C: initialise lyxgluelength on failure
13087
13088 2001-11-28  Allan Rae  <rae@lyx.org>
13089
13090         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13091         declaration & definition that looks like a function declaration.
13092
13093 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13094
13095         * BufferView2.C (copy):
13096         (copyEnvironment): do not clear the selection when doing a copy.
13097
13098         * text.C (paintFirstRow): compilation fix
13099
13100 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
13101
13102         * tabular.C (Latex): correct line count when writing latex.
13103
13104 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
13105
13106         * paragraph_pimpl.h:
13107         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13108           bug a bit
13109
13110 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13111
13112         * text.C:
13113         * LColor.h:
13114         * LColor.C: change vfillline->added_space
13115
13116         * text.C: add markers and text for added space
13117
13118         * vspace.C: fix comment
13119
13120 2001-11-28  André Pönitz <poenitz@gmx.net>
13121
13122         * paragraph.C: whitespace changes
13123         * all the other files from the change on 2001/11/26:
13124         change *::pos_type into lyx::pos_type
13125
13126 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
13127
13128         * buffer.C (parseSingleLyXformat2Token): Set the language to the
13129         language of the document when inserting error insets.
13130
13131 2001-11-26  André Pönitz <poenitz@gmx.net>
13132
13133         * BufferView_pimpl.[Ch]:
13134         *       CutAndPaste.C:
13135         * buffer.[Ch]:
13136         * lyxcursor.[Ch]:
13137         * lyxfind.C:
13138         * lyxfunc.C:
13139         * lyxrow.[Ch]:
13140         * paragraph.[Ch]:
13141         * paragraph_pimpl.[Ch]:
13142         * sp_spell.C:
13143         * text.C:
13144         * text2.C: reduce header dependencies, introduce type for positions
13145
13146 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13147
13148         * <various>: change to use Alert.h
13149
13150 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
13151
13152         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13153         when encountering an unknown token.
13154         (readLyXformat2): Show an error message if there were unknown tokens.
13155
13156 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
13157
13158         * BufferView2.C:
13159         * BufferView_pimpl.C:
13160         * buffer.C:
13161         * paragraph.h:
13162         * text.C:
13163         * text2.C: use par->isInset()
13164
13165 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13166
13167         * paragraph_pimpl.h:
13168         * paragraph_pimpl.C: cleanup
13169
13170 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13171
13172         * text2.C (removeRow):
13173         * text.C (setHeightOfRow): remove useless (and costly) call to
13174         getRow.
13175
13176 2001-11-20  Allan Rae  <rae@lyx.org>
13177
13178         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13179         Now need Inset*::checkInsertChar() to return true for appropriate
13180         cases so that the characters in the minibuffer will actually be
13181         inserted.
13182
13183 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13184
13185         * text.C: change the order of the includes.
13186         (workWidth): initialize it at once.
13187         (workWidth): make maxw unsigned
13188         (setHeightOfRow): remove unused variable (inset)
13189         (selectSelectedWord): remove unused variable (inset)
13190         (paintRowText): fix drawing of hfill characters, and clean up a bit.
13191
13192 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13193
13194         * lyxserver.C (emergencyCleanup): do not try to close pipes if
13195         server is not running.
13196         (openConnection):
13197         (closeConnection): add debug info when server is disabled.
13198
13199         * ColorHandler.C (getGCForeground): send debug message to GUI
13200         channel.
13201
13202         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13203
13204         * kbmap.C (bind): modify because return conventions of
13205         kb_sequence::parse have changed.
13206
13207         * kbsequence.C (parse): only ignore spaces and not any stupid
13208         control character. This avoids tests like s[i] <= ' ', which are
13209         guaranteed to fail with 8bit characters and signed chars.
13210         Change return code to string::npos when there have been no error
13211         (0 was a bad idea when error is at first character)
13212
13213 2001-11-14  José Matos  <jamatos@fep.up.pt>
13214
13215         * buffer.h:
13216         * buffer.C (simpleDocBookOnePar): removed unused argument.
13217
13218 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13219
13220         * text.C (selectNextWordToSpellcheck): do not test explicitely for
13221         insets which are part of a word. Paragraph::isLetter takes care of
13222         that now. Use Paragraph::isInset to identify insets.
13223         (selectSelectedWord): do not test for hyphenation break.
13224
13225         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13226         that protected spaces are considered as spaces.
13227
13228         * paragraph.C (isLetter): cleanup the code for ispell extras; use
13229         Inset::isLetter.
13230
13231 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
13232
13233         * lyxserver.h:
13234         * lyxserver.C: fix it. and small cleanup.
13235
13236 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13237
13238         * BufferView_pimpl.C: use inline helpers
13239
13240         * LaTeXFeatures.h:
13241         * LaTeXFeatures.C: fix typos
13242
13243         * Spacing.h:
13244         * Spacing.C: move spacing_string into class
13245
13246         * ToolbarDefaults.C: move stuff into namespace anon
13247
13248         * layout.h: update enum
13249
13250         * lyxfunc.C: use better debug
13251
13252         * minibuffer.h: fix typo
13253
13254         * debug.h:
13255         * debug.C:
13256         * WorkArea.C: add and use Debug::WORKAREA
13257
13258         * lyxtext.h:
13259         * text.C:
13260         * text2.C: code re-organisation, inline helpers
13261
13262 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
13263
13264         * Layout.C: replaced a few cases of std::vector.size() == 0 with
13265         std::vector.empty().
13266
13267 2001-11-09  Allan Rae  <rae@lyx.org>
13268
13269         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13270         '\n's after tables.  Tabular and ERT inset work now makes this no
13271         longer necessary.
13272
13273 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13274
13275         * minibuffer.h:
13276         * minibuffer.C: fix crash, improve drop-down completion
13277
13278 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
13279
13280         * lyxserver.h:
13281         * lyxserver.C: invalidate fd's when doing endPipe()
13282
13283 2001-11-08  José Matos  <jamatos@fep.up.pt>
13284
13285         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13286         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13287
13288         * paragraph.h:
13289         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13290
13291 2001-11-07  José Matos  <jamatos@fep.up.pt>
13292
13293         * buffer.h:
13294         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13295         const qualifier.
13296
13297         * buffer.C (sgmlOpenTag):
13298         * buffer.C (sgmlCloseTag): removed debug info.
13299
13300         * buffer.h (sgmlOpenTag):
13301         * buffer.h (sgmlCloseTag): made public.
13302
13303 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13304
13305         * buffer.C (saveParamsAsDefaults):
13306         * lyx_cb.C (MenuLayoutSave): remove
13307
13308         * LyXAction.C (init):
13309         * commandtags.h:
13310         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13311
13312 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13313
13314         * buffer.C (setPaperStuff): removed from here...
13315
13316         * bufferparams.C (setPaperStuff): ... and moved there.
13317
13318 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
13319
13320         * minibuffer.h:
13321         * minibuffer.C:
13322         * XFormsView.C: add support for drop-down completion
13323
13324 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
13325
13326         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13327         commands.
13328
13329 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13330
13331         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13332         disabled.
13333
13334 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
13335
13336         * lyx_main.C: change ref to known bugs
13337
13338 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
13339
13340         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13341         to work around older babel problems.
13342
13343 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13344
13345         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13346
13347 2001-10-24  Juergen Vigna  <jug@sad.it>
13348
13349         * tabular-old.C (ReadOld): below variable changes reflected.
13350
13351         * tabular.[Ch]: added ltType struct for longtable header/footer
13352         defines and changed all instances where they are used. Added
13353         future support for double top/bottom rows.
13354
13355 2001-10-24  José Matos  <jamatos@fep.up.pt>
13356
13357         * buffer.h (docbookHandleCaption):
13358         * buffer.C (docbookHandleCaption): removed unused function.
13359         (makeDocBookFile): moved docbook supported version to v4.1.
13360
13361 2001-10-24  José Matos  <jamatos@fep.up.pt>
13362
13363         * tabular.h:
13364         * tabular.C (docbookRow): new function to export docbook code of a row.
13365         (DocBook): now honors the longtable flags.
13366
13367 2001-10-23  José Matos  <jamatos@fep.up.pt>
13368
13369         * LaTeXFeatures.h:
13370         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13371         of the lyx defined sgml entities used in a docbook/linuxdoc document.
13372
13373         * buffer.C (makeLinuxDocFile):
13374         (makeDocBookFile): reworked the preamble, more clean, and with
13375         support for lyx defined entities. Changed the document declaration
13376         to be more XML friendly.
13377
13378         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13379         if we need to output XML that should be done with a filter.
13380
13381 2001-10-22  Juergen Vigna  <jug@sad.it>
13382
13383         * sp_pspell.h (class PSpell): add alive function needed in the
13384         controller to see if the spellchecker could be started.
13385
13386 2001-10-22  Juergen Vigna  <jug@sad.it>
13387
13388         * buffer.C (insertStringAsLines): modify the font for inserting
13389         chars in certain conditions by calling checkInsertChar(font).
13390
13391 2001-10-19  Juergen Vigna  <jug@sad.it>
13392
13393         * text.C (workWidth): use getRow instead of wrong algorithm.
13394         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13395
13396 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
13397
13398         * lyxserver.h:
13399         * lyxserver.C:
13400         * lyx_main.h:
13401         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13402
13403 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13404
13405         * text.C (workWidth): do not search for the exact row when
13406         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13407         optimization for big documents.
13408
13409 2001-10-18  Juergen Vigna  <jug@sad.it>
13410
13411         * text.C (workWidth): new function with added Inset * parameter.
13412
13413 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13414
13415         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13416
13417         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13418         change return type of getColumnNearX.
13419
13420
13421         * text.C (changeRegionCase): use uppercase/lowercase instead of
13422         toupper/tolower.
13423         (leftMargin):
13424         (rightMargin): simplify code by factoring out the uses of
13425         textclasslist.
13426         (labelFill):
13427         (numberOfHfills):
13428         (setHeightOfRow):
13429         (appendParagraph): use Paragraph::size_type
13430
13431 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13432
13433         * vspace.C (asLatexString): add a missing break
13434
13435 2001-10-15  Herbert Voss  <voss@perce.de>
13436
13437         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13438
13439 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13440
13441         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13442         is not available.
13443
13444 2001-10-10  André Pönitz <poenitz@gmx.net>
13445
13446         * lyxfunc.C: removed greek_kb_flag.
13447
13448 2001-10-10  Herbert Voss  <voss@perce.de>
13449
13450         * lyx_main.C: delete global string help_lyxdir.
13451
13452 2001-10-09  Herbert Voss  <voss@perce.de>
13453
13454         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13455
13456         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13457
13458         * lyx_main.C: added global string help_lyxdir.
13459
13460         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13461
13462 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13463
13464         * lyxrc.C (set_font_norm_type): support iso8859-4
13465
13466 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
13467
13468         * LaTeX.C (deplog): add another regex for MikTeX
13469
13470 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13471
13472         * lyxrc.C (set_font_norm_type): support iso8859-3
13473
13474 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13475
13476         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13477
13478         * LaTeXFeatures.C: remove special case of french and index
13479
13480         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13481         before \begin{document}). This solves several incompatibilities.
13482
13483 2001-10-03  Garst Reese  <reese@isn.net>
13484
13485         * lyx_cb.C: change CheckTex error msg.
13486
13487 2001-10-03  José Matos  <jamatos@fep.up.pt>
13488
13489         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13490
13491 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13492
13493         * .cvsignore: update
13494
13495         * lyx_main.C (commandLineVersionInfo): use new style version info.
13496
13497         * buffer.C (writeFile):
13498         (makeLaTeXFile):
13499         (makeLinuxDocFile):
13500         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13501
13502         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13503
13504         * version.h: update to use stuff in version.C
13505
13506         * version.C.in: new file. Contains version information determined
13507         at compile time. This is a merging of version.h and
13508         version_info.h.in.
13509
13510 2001-10-03  Juergen Vigna  <jug@sad.it>
13511
13512         * BufferView_pimpl.C (update): don't change "dirty" status in
13513         updateInset call.
13514
13515 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
13516
13517         * WorkArea.C (c-tor): re-position version string slightly.
13518
13519 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
13520
13521         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13522         revert to previous code.
13523
13524         WorkArea.[Ch]: (show, destroySplash): methods removed.
13525
13526         WorkArea.C: rework code so that it's an amalgam of the codes before and
13527         after the splash screen was moved to WorkArea.
13528
13529 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13530
13531         * lyxrc.C (read):
13532         * vspace.C (inPixels):
13533         (lyx_advance):
13534         * kbmap.C (bind):
13535         * buffer.C (insertStringAsLines):
13536         (asciiParagraph): fix types to be large enough
13537
13538         * lyxlex_pimpl.h: change member status from short to int
13539
13540         * layout.h: fix type of endlabeltype
13541
13542         * kbmap.C (bind):
13543         * kbsequence.C (parse): change return type to string::size_type
13544
13545         * LaTeX.C (updateBibtexDependencies): comment out unneeded
13546         variable
13547
13548         * Bullet.C (bulletSize):
13549         (bulletEntry): do not use short ints as parameters
13550
13551         * BufferView2.C (insertLyXFile): change a char to an int.
13552
13553         * WorkArea.C (WorkArea): remove unneeded floats in computation
13554
13555 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
13556
13557         * buffer.C (asciiParagraph): Treat '\\' as other chars.
13558
13559         * paragraph.C (asString): Do not ignore newline/hfill chars when
13560         copying to the clipboard.
13561
13562 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
13563
13564         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13565         after a multi-line inset.
13566
13567 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
13568
13569         * paragraph.C (validate): Set NeedLyXFootnoteCode
13570
13571 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13572
13573         * lyxfont.C (LyXSizeNames): changed increase-error to increase
13574         and decrease-error to decrease.
13575
13576 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13577
13578         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13579         it more readable (should be equivalent)
13580
13581 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13582
13583         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13584
13585 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13586
13587         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13588         of a cursor (row, etc.) after a character has been deleted
13589         (deleteEmptyParagraphMechanism): call the method above on _all_
13590         cursors held by the LyXText when a double space has been
13591         detected/deleted.
13592
13593 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13594
13595         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13596         pixmap.
13597         (resizeCurrentBuff): remove code to destroy the old splash dialog.
13598
13599         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13600         background. Use greyOut() and the new show() methods to toggle between
13601         the foreground and background. Add code to remove the splash after
13602         its initial showing.
13603
13604         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13605         (create_forms): no longer call Dialogs::showSplash.
13606
13607 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13608
13609         * .cvsignore: add version_info.h
13610
13611 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13612
13613         * version_info.h.in: new file
13614
13615         * Makefile.am: add version_info.h.in
13616
13617         * lyx_main.C (commandLineVersionInfo): use version_info defined in
13618         version_info.h instead of VERSION_INFO
13619
13620 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
13621
13622         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13623         The ERT inset now returns string().
13624
13625 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
13626
13627         * lyxtext.h, text.C (selectNextWord): renamed as
13628         selectNextWordToSpellcheck.
13629
13630         * text.C (selectNextWordToSpellcheck): Modified to not select
13631         words inside an ERT inset.
13632
13633 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13634
13635         * lyx_cb.C (MenuLayoutSave): change a bit the question
13636
13637         * sp_base.h: include <sys/types.h>
13638
13639 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
13640
13641         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13642
13643 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
13644
13645         * several files: fix typos in user-visible strings
13646
13647 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13648
13649         * text2.C (pasteSelection): do not set the selection, since it
13650         will be cleared later. Actually, the intent was to fix the way the
13651         selection was set, but I figured rmoving the code was just as good.
13652
13653 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
13654
13655         * FontLoader.C (available): Check if font is available without
13656         loading the font.
13657
13658 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
13659
13660         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13661
13662 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
13663
13664         * lyxrc.[Ch]: added display_graphics variable and associated code.
13665
13666 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13667
13668         * bufferparams.C (hasClassDefaults): new method. Returns true if
13669         the buffer parameters correspond to known class defaults
13670
13671 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
13672
13673         * XFormsView.C (show): set minimum size to the main window.
13674
13675 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13676
13677         * text2.C (copySelection):
13678         (cutSelection):
13679         * lyxfind.C (LyXReplace):
13680         * BufferView_pimpl.C (Dispatch): pass the correct flag to
13681         LyXText::selectionAsString.
13682
13683         * paragraph.C (asString): add "label" argument to the second form
13684
13685         * text2.C (selectionAsString): add "label" argument and pass it to
13686         Paragraph::asString.
13687
13688 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13689
13690         * lyx_main.C (commandLineHelp): remove version information
13691
13692 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
13693
13694         * lyx_main.C: add -version commandline option
13695
13696 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13697
13698         * paragraph.h: make the optional constructor arg required instead.
13699         some modifications to other files because of this.
13700
13701         * minibuffer.C (C_MiniBuffer_peek_event): make it static
13702
13703         * lyxserver.C (C_LyXComm_callback): make it static
13704
13705         * lyx_main.C (error_handler): make it static
13706
13707         * lyx_gui.C (LyX_XErrHandler): make it static
13708
13709         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13710
13711         * WorkArea.C: make the extern "C" methods static.
13712
13713         * Makefile.am (lyx_LDADD): simplify
13714
13715 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13716
13717         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13718         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13719
13720         * LyXAction.C (init):
13721         * lyxfunc.C (dispatch): associated code removal.
13722
13723 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13724
13725         * lyxfont.h (isSymbolFont): shut off warning
13726
13727         * text.C (setHeightOfRow):
13728         (getVisibleRow): fix crash with empty paragraphs which have a
13729         bottom line
13730
13731 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
13732
13733         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13734         code.
13735
13736 2001-09-04  José Matos  <jamatos@fep.up.pt>
13737         * buffer.C
13738         * buffer.h
13739         * tabular.C (docbook): rename docBook method to docbook.
13740
13741 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13742
13743         * Makefile.am: add dependencies to main.o.
13744
13745 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
13746
13747         * FontLoader.C (available): Return false if !lyxrc.use_gui
13748
13749 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
13750
13751         * FontInfo.C (query):
13752         * converter.C (view):
13753         * importer.C (Import):
13754         * exporter.C (Export): Can not -> cannot.
13755
13756 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
13757
13758         * BufferView_pimpl.C: allow to create index inset even if
13759           string is empty
13760
13761 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13762
13763         * buffer.C (getLists): replace boost::tie code with an explicit pair
13764         as boost::tie can break some compilers.
13765
13766         * iterators.h: Added a std:: declaration to the return type of
13767         ParIterator::size.
13768
13769 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
13770
13771         * lyxrc.C: add help for view_dvi_paper_option, default to safe
13772           case.
13773
13774 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
13775
13776         * iterators.[Ch]: New files. Provide paragraph iterators.
13777
13778         * buffer.C (changeLanguage): Use paragraph iterators.
13779         (isMultiLingual): ditto
13780
13781         * BufferView2.C (ChangeInsets): Use paragraph iterators.
13782
13783 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
13784
13785         * FontLoader.C: Support for cmr font.
13786
13787 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
13788
13789         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13790         (available): New method.
13791
13792         * FontInfo.C (getFontname): Use scalable fonts even when
13793         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13794         found.
13795
13796 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13797
13798         * converter.C (Formats::view): reverted! Incorrect fix.
13799
13800 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13801
13802         * converter.C (Formats::view): only output the -paper option
13803         if the dvi viewer is xdvi, thereby fixing bug #233429.
13804
13805 2001-08-23  Herbert Voss  <voss@perce>
13806
13807         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13808
13809 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
13810
13811         * Spacing.h (Spacing): Set space to Default on in the default
13812         constructor.
13813
13814 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13815
13816         * vc-backend.h (RCS::versionString): add RCS to version
13817         (CVS::versionString): add CVS to version
13818
13819         * vc-backend.C (scanMaster): do not add CVS to version.
13820         (scanMaster): do not add RCS to version
13821
13822         * lyxvc.C (versionString): new method
13823
13824         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13825
13826 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13827
13828         * Spacing.C (set): initialize fval
13829
13830 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
13831
13832         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13833         " or \.
13834
13835 2001-08-16  Juergen Vigna  <jug@sad.it>
13836
13837         * lyxfunc.C (dispatch): implemented the new FINISHED states.
13838
13839 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13840
13841         * BufferView_pimpl.C:
13842         * figureForm.C:
13843         * lyxtext.h:
13844         * text2.C: setParagraph takes linespacing now
13845
13846 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
13847
13848         * LyxAction.C: add internal LFUN_CITATION_INSERT
13849
13850         * LyXView.C: actually apply fix
13851
13852         * bufferlist.C: fix open non-existent file
13853
13854         * lyxfind.C: fix indentation
13855
13856         * lyxfunc.C: remove unneeded assert, fix typo
13857
13858 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13859
13860         * MenuBackend.C: use "Floatname List"
13861
13862 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
13863
13864         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13865         when converting LaTeX layout to insetERT.
13866         Generate a non-collapsed float when reading old float
13867
13868 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13869
13870         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13871         ERT insets.
13872
13873 2001-08-13  Juergen Vigna  <jug@sad.it>
13874
13875         * text.C (fill): return 0 instead of 20 as this seems to be the more
13876         correct value.
13877
13878 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13879
13880         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13881         lyxrc.font_norm.
13882
13883 2001-08-13  Juergen Vigna  <jug@sad.it>
13884
13885         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13886         casesensitive off.
13887         (SearchBackward): comment out the unlocking of the inset_owner this
13888         should not be needed!
13889
13890 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
13891
13892         * Many files: Remove inherit_language, and add latex_language
13893
13894         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13895         collapsible insets.
13896
13897 2001-08-10  Juergen Vigna  <jug@sad.it>
13898
13899         * text.C (prepareToPrint): fixed hfill-width in draw!
13900
13901         * BufferView2.C (selectLastWord): save the selection cursor as this
13902         now is cleared in the function LyXText::clearSelection!
13903
13904 2001-08-08  Juergen Vigna  <jug@sad.it>
13905
13906         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13907         BACKSPACE type functions.
13908
13909         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13910         is only cutted from the document but not put in the cut-buffer, where
13911         still the old stuff should be.
13912
13913         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13914
13915         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13916
13917         * tabular.C (SetWidthOfCell): fixed special case where the width
13918         was not updated!
13919         (LeftLine): handle '|' in align_special.
13920         (RightLine): ditto
13921         (LeftAlreadyDrawed): ditto
13922         (SetWidthOfCell): ditto
13923
13924 2001-08-07  Juergen Vigna  <jug@sad.it>
13925
13926         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13927
13928 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13929
13930         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13931         * lyxlex.[hC]: ditto
13932
13933 2001-08-06  Juergen Vigna  <jug@sad.it>
13934
13935         * text.C (getVisibleRow): fix up row clearing a bit.
13936
13937 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13938
13939         * minibuffer.C: make sure the X server sees the changes in the input.
13940
13941 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13942
13943         * paragraph.C (getFont): split into...
13944         (getLabelFont): this
13945         (getLayoutFont): and this
13946         * paragraph_pimpl.C (realizeFont): calling this
13947
13948         * text2.C (getFont): split into...
13949         (getLayoutFont): this
13950         (getLabelFont): and this
13951         (realizeFont): all three calling this
13952
13953         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13954         files where used.
13955
13956 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13957
13958         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13959
13960 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
13961
13962         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13963         layouts from the Quote inset insertion.
13964
13965 2001-08-03  Juergen Vigna  <jug@sad.it>
13966
13967         * BufferView_pimpl.C (update): do the fitCursor only at the end!
13968
13969         * screen.C (drawFromTo): don't call fitcursor here and do the loop
13970         only if status not is already CHANGED_IN_DRAW (second level).
13971
13972         * text.C (draw): don't set the need_break_row when inside an
13973         InsetText LyXText.
13974
13975 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13976
13977         * buffer.C (parseSingleLyXformat2Token): handle more latex
13978         conversion cases.
13979
13980         * bufferview_funcs.[hC]: change function names to
13981         begin with small char, adjust other files.
13982
13983 2001-08-02  André Pönitz <poenitz@gmx.net>
13984
13985         * lyxfunc.C:
13986         BufferView_pimpl.C: remove broken special code for math-greek
13987
13988 2001-08-02  Juergen Vigna  <jug@sad.it>
13989
13990         * BufferView_pimpl.C (update): redone this function so that we
13991         update the text again if there was a CHANGE_IN_DRAW.
13992
13993         * screen.C (cursorToggle): removed LyXText parameter and recoded.
13994         (drawFromTo): added a new internal bool which is used by draw() and
13995         redraw() function.
13996         (general): some cursor drawing problems fixed.
13997
13998 2001-08-01  Juergen Vigna  <jug@sad.it>
13999
14000         * lyxfind.C (LyXFind): fixed
14001         (SearchForward): ditto
14002         (SearchBackward): ditto
14003
14004         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14005         spurius drawing of the cursor in the main area.
14006
14007         * text2.C (status): small fix which could lead to a segfault!
14008         (clearSelection): remove unneeded BufferView param.
14009
14010 2001-08-01  André Pönitz <poenitz@gmx.net>
14011
14012         * lyxfunc.C: small change due to changed mathed interface
14013
14014 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14015
14016         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14017
14018 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
14019
14020         * lyxfunc.c: fail gracefully if file doesn't exist
14021
14022         * LyXSendto.C:
14023         * buffer.C:
14024         * lyxfunc.C:
14025         * BufferView_pimpl.C: IsDirWriteable() proto changed
14026
14027         * LyXView.C: fix updateWindowTitle() to store the last title
14028
14029 2001-07-31  Juergen Vigna  <jug@sad.it>
14030
14031         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14032         the font (wrong since using of Paragraph::highestFontInRange).
14033
14034         * paragraph.C (highestFontInRange): added a default_size parameter.
14035
14036         * text.C (getVisibleRow): minor clear row changes (still not perfect).
14037         (setHeightOfRow): reformat
14038
14039 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14040
14041         * converter.[hC] + affected files: move to (inital-char)lowercase
14042         function names.
14043
14044         * ParagraphParameters.C (ParagraphParameters): remove commented code
14045
14046         * PainterBase.[Ch]: remove commented code
14047
14048         * LaTeXFeatures.h: add "bool floats" for float.sty
14049
14050         * LaTeXFeatures.C (LaTeXFeatures): init floats
14051         (require): handle float
14052         (getPackages): do it with floats
14053
14054 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14055
14056         * BufferView_pimpl.C (Dispatch): improve handling of
14057         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14058
14059         * commandtags.h: #include lyxfont.h here temporarily to avoid
14060         keybinding bug.
14061
14062         * bufferlist.h: include LString.h here.
14063
14064 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14065
14066         * text2.C (getStringToIndex): new method.
14067
14068 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
14069
14070         * *: Reduced header file dependencies all over.
14071
14072 2001-07-30  Baruch Even  <baruch@lyx.org>
14073
14074         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14075
14076 2001-07-29  Baruch Even  <baruch@lyx.org>
14077
14078         * buffer.C (readInset): Changed GRAPHICS to Graphics.
14079
14080 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14081
14082         * ParameterStruct.h (endif): add a default constructor to make
14083         sure that all variables is initialized.
14084
14085         * ParagraphParameters.C (ParagraphParameters): adjust
14086
14087 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14088
14089         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14090         index; also, check that there is something to index, and that it
14091         does not span over several paragraphs.
14092         (doubleClick): use WHOLE_WORD_STRICT for double click.
14093
14094         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14095
14096         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14097         scheme.
14098
14099 2001-07-26  Baruch Even  <baruch@lyx.org>
14100
14101         * buffer.C (readInset): Changed to call up InsetGraphics when reading
14102         an InsetFig figure, backwards compatible reading of old figure code.
14103
14104 2001-07-27  Juergen Vigna  <jug@sad.it>
14105
14106         * text2.C: font.realize function adaption.
14107
14108         * text.C (draw): add a warnings lyxerr text if needed.
14109
14110         * layout.C: font.realize function adaption.
14111
14112         * language.C: add inherit_language and implement it's handlings
14113
14114         * bufferview_funcs.C (StyleReset): remove language parameter from
14115         font creation (should be language_inherit now).
14116
14117         * bufferparams.C (writeFile): handle ignore_language.
14118
14119         * paragraph.C (getFontSettings): the language has to be resolved
14120         otherwise we have problems in LyXFont!
14121
14122         * lyxfont.C (lyxWriteChanges): added document_language parameter
14123         (update): removed unneeded language parameter
14124
14125         * paragraph.C (validate): fixed wrong output of color-package when
14126         using interface colors for certain fonts in certain environments,
14127         which should not seen as that on the final output.
14128
14129 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
14130
14131         * BufferView_pimpl.C:
14132         * Thesaurus.h:
14133         * Thesaurus.C:
14134         * Makefile.am:
14135         * commandtags.h:
14136         * LyXAction.C: add thesaurus support
14137
14138         * lyxfind.h:
14139         * lyxfind.C: add "once" parameter, for thesaurus, to not
14140           move to the next match
14141
14142 2001-07-26  Juergen Vigna  <jug@sad.it>
14143
14144         * lyxfont.C (realize): honor ignore_language too!
14145         (resolved): ditto.
14146
14147         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14148
14149         * text.C (draw): one place more for ignore_language to not draw
14150         itself!
14151
14152 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
14153
14154         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14155
14156 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14157
14158         * buffer.C (parseSingleLyXformat2Token): a more general fix for
14159         the minipage conversion problem.
14160
14161 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14162
14163         * buffer.C (parseSingleLyXformat2Token): check minipage if we
14164         insert an inset.
14165
14166 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14167
14168         * BufferView.h: don't forward declare WorkArea
14169
14170         * BufferView.C: don't include WorkArea.h
14171
14172 2001-07-25  André Pönitz <poenitz@gmx.net>
14173
14174         * commandtags.h:
14175         * LyXAction.C:
14176         * lyxfunc.C:  new LFUN 'math-space'
14177
14178         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14179
14180 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14181
14182         * text2.C (toggleInset): call open/close
14183
14184 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14185
14186         * lyxfunc.C (dispatch): add debug for the disabled case
14187
14188         * font.C (buttonText): make similar to rectText
14189
14190         * buffer.C (readInset): comment out parsing of insetlist and
14191         insttheorem
14192
14193         * PainterBase.C (rectText): small correction
14194
14195         * BufferView_pimpl.C: comment out insettheorem and insetlist
14196         * LyXAction.C: ditto
14197         * commandtags.h: ditto
14198
14199 2001-07-24  Juergen Vigna  <jug@sad.it>
14200
14201         * text.C (draw): honor the ignore_language.
14202
14203         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14204
14205 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14206
14207         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14208         char inset.
14209
14210 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14211
14212         * lyxtext.h: remove unused (and unimplemented) methods
14213
14214 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14215
14216         * text.C (getVisibleRow): honor background color
14217
14218         * PainterBase.h:
14219         * Painter.h: remove default color argument for fillRectangle
14220
14221         * text.C (backgroundColor): new method
14222
14223 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14224
14225         * text.C (getVisibleRow): adjust
14226
14227         * font.[Ch] (rectText): new method, metrics
14228         (buttonText): new method, metrics
14229
14230         * PainterBase.[hC]: make rectText and buttonText always draw and take
14231         fewer paramteres.
14232
14233 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14234
14235         * ToolbarDefaults.C (read):
14236         * MenuBackend.C (read): allow escaping in all strings
14237
14238         * BufferView_pimpl.C (insertAndEditInset): new method.
14239         (Dispatch): use insertAndEditInset whenever appropriate.
14240
14241         * BufferView_pimpl.C (insertNote): removed
14242
14243         * BufferView_pimpl.C (smartQuote): new method, moved from
14244         BufferView; if an insetquote cannot be inserted, insert a '"'
14245         character instead.
14246
14247         * BufferView2.C: remove insertCorrectQuote();
14248
14249         * lyxfunc.C (getStatus): Add support for all remaingin
14250         inset-insert lfuns.
14251
14252         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14253
14254         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14255         command (necessary to pass " as parameter of self-insert.
14256
14257         * text.C (selectWordWhenUnderCursor):
14258         (selectWord): add word_location parameter
14259         (selectWordWhenUnderCursor): same + remove special code for word
14260         boundary.
14261         (selectNextWord): use kind() to guess type of insetspecialchar,
14262         not latex().
14263
14264         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14265         (insertErtContents): create ert insets as collapsed.
14266         (readInset): better compatibility code for Info inset.
14267
14268 2001-07-20  Juergen Vigna  <jug@sad.it>
14269
14270         * lyxfunc.C (dispatch): use always LyXFind now!
14271
14272         * text2.C (init): add a reinit flag so that the LyXText can be
14273         reinited instead of deleted and reallocated (used in InsetText).
14274
14275         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14276
14277         * text.C: ditto
14278
14279         * text2.C: ditto
14280
14281 2001-07-18  Juergen Vigna  <jug@sad.it>
14282
14283         * text.C (selectNextWord): handle insets inside inset by calling
14284         always the bv->text functions so that we can go up the_locking_inset!
14285
14286         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14287         in strange locations when inside an inset!
14288
14289         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14290         handling to include insets.
14291
14292         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14293
14294 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14295
14296         * LyXAction.C (init):
14297         * commandtags.h:
14298         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14299         LIGATURE_BREAK, since the name is so stupid.
14300
14301 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14302
14303         * buffer.C (readInset): enable reading of new InsetNotes as well as old
14304         InsetInfos.
14305
14306         * FontLoader.C: remove FORMS_H_LOCATION cruft.
14307
14308         * sp_form.[Ch]: remove.
14309
14310         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14311
14312         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14313         InsetInfo.
14314
14315         * src/buffer.C (readInset): ditto.
14316
14317 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14318
14319         * BufferView_pimpl.C (specialChar): new method. Obsoletes
14320         menuSeparator(), endOfSentenceDot(), ldots() and
14321         hyphenationPoint(), which are therefore removed.
14322         (Dispatch): handle LFUN_HYPHENATION_BREAK.
14323
14324         * LyXAction.C (init):
14325         * commandtags.h: add LFUN_HYPHENATION_BREAK.
14326
14327         * paragraph.C (getWord): removed.
14328
14329         * BufferView_pimpl.C (Dispatch): use last word or selection for
14330         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14331
14332         * lyx_main.C (queryUserLyXDir): do not ask before creating
14333         user_dir, except if it has been named explicitely.
14334
14335 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14336
14337         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14338         a document of zero size.
14339
14340 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
14341
14342         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14343         approriately in the c-tor and in require().
14344         (getPackages): output the appropriate LaTeX for natbib support.
14345
14346         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14347         variables "use_natbib" and "use_numerical_citations" when reading the
14348         LyX file.
14349         (readInset): read the various natbib cite commands.
14350         (validate): white-space change.
14351
14352         * bufferparams.[Ch]: new variables "bool use_natbib" and
14353         "bool use_numerical_citations".
14354         (writeFile): output them in the LyX file.
14355
14356 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14357
14358         * lyxfunc.C (getStatus): add support for all the inset insertion
14359         commands.
14360
14361         * text2.C (insertInset):
14362         * paragraph.C (insetAllowed):
14363         * BufferView_pimpl.C (insertInset): update to take in account the
14364         renaming of insertInsetAllowed
14365
14366         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14367
14368         * text2.C (getInset): new method. returns inset at cursor position.
14369
14370         * BufferView_pimpl.C (Dispatch): changes because of this.
14371
14372         * LyXAction.C (init): rename open-stuff to inset-toggle.
14373
14374         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14375
14376         * text2.C (toggleInset): renamed from openStuff; use
14377         Inset::open().
14378
14379 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
14380
14381         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14382
14383         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14384
14385 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
14386
14387         * buffer.C (readLyXformat2): Add filename to the error dialog
14388
14389 2001-07-18  Juergen Vigna  <jug@sad.it>
14390
14391         * tabular.C (GetCellNumber): put an assert here instead of the check!
14392
14393 2001-07-17  Juergen Vigna  <jug@sad.it>
14394
14395         * BufferView_pimpl.C (toggleSelection): adapted too.
14396
14397         * text.C (selectNextWord): adapted for use with insets.
14398         (selectSelectedWord): ditto
14399
14400 2001-07-17  Juergen Vigna  <jug@sad.it>
14401
14402         * sp_spell.C (PSpell): fix initialitation order.
14403
14404 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14405
14406         * paragraph.C: spacing
14407
14408 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
14409
14410         * sp_spell.C: repair language selection for pspell
14411
14412 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14413
14414         * lyxfunc.h: change more methods to begin with lower char.
14415
14416 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
14417
14418         * buffer.C (parseSingleLyXformat2Token): Generate error insets
14419         for unknown layouts.
14420
14421 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
14422
14423         * buffer.C (readLyXformat2): Generate an error dialog if there are
14424         unknown layouts.
14425
14426 2001-07-16  Juergen Vigna  <jug@sad.it>
14427
14428         * sp_spell.C: always compile ISpell part.
14429
14430         * lyxrc.C: added use_pspell entry and it's handling.
14431
14432 2001-07-13  Juergen Vigna  <jug@sad.it>
14433
14434         * sp_spell.C: removed double includes.
14435
14436 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
14437
14438         Consistent use of Lsstream.h:
14439         * Lsstream.h: added using std::stringstream for consistencies sake.
14440
14441         * buffer.C: removed using std::stringstream
14442
14443         * lyxfont.C (stateText):
14444         * paragraph.C (asString):
14445         * text.C (selectNextWord, selectSelectedWord):
14446         * text2.C (setCounter):
14447         * vspace.C (asString, asLatexString):
14448         std::ostringstream -> ostringstream.
14449
14450 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14451
14452         * LyXAction.C: add LFUN_HELP_ABOUTLYX
14453         * commandtags.h: add LFUN_HELP_ABOUTLYX
14454         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14455
14456 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14457
14458         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14459         cursorToggle()
14460         * lyx_gui_misc.C: remove spellchecker
14461         * lyxfunc.C: showSpellchecker
14462         * sp_base.h: added
14463         * sp_ispell.h: added
14464         * sp_pspell.h: added
14465         * sp_spell.C: added
14466         * sp_form.[Ch]: removed
14467         * spellchecker.[Ch]: removed
14468
14469 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
14470
14471         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14472         is set.
14473         (simpleTeXSpecialChars): Simply print the input character without
14474         any special translation if pass_thru is set.
14475
14476         * layout.h: Added bool pass_thru to layout class for being able to
14477         implement pass through of a paragraph for Literate Programming.
14478
14479         * layout.C: add LT_PASS_THRU to LayoutTags enum.
14480         * layout.C (LyXLayout): set pass_thru to flase in constructor.
14481         * layout.C (Read): add "passthru" to list of layout tags and add
14482         code to set the pass_thru boolean when it is read.
14483
14484 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14485
14486         * trans_decl.h: remove allowed from KmodInfo
14487
14488         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14489         remove allowed code
14490         (Load): adjust
14491
14492         * paragraph_pimpl.C (erase): use boost::prior
14493
14494         * Painter.C (text): use data() instead of c_str() when length is
14495         also provided.
14496         * WorkArea.C (putClipboard): ditto
14497         * font.h (width): ditto
14498
14499         * BufferView2.C: use it-> instead of (*it). for iterators
14500         * texrow.C: ditto
14501         * paragraph_pimpl.C: ditto
14502         * paragraph.C: ditto
14503         * minibuffer.C: ditto
14504         * language.C: ditto
14505         * kbmap.C: ditto
14506         * encoding.C: ditto
14507         * counters.C: ditto
14508         * converter.C: ditto
14509         * chset.C: ditto
14510         * Variables.C: ditto
14511         * TextCache.C: ditto
14512         * MenuBackend.C: ditto
14513         * LyXAction.C: ditto
14514         * LColor.C: ditto
14515         * FloatList.C: ditto
14516         * DepTable.C: ditto
14517         * ColorHandler.C (LyXColorHandler): ditto
14518
14519 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14520
14521         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14522
14523         * text2.C (openStuff): reintroduce this method (which had been
14524         nuked in NEW_INSETS frenzy).
14525
14526         * lyxfunc.C (Dispatch): when an action has not been handled, use
14527         its name in the error message, not its number.
14528
14529         * paragraph.C (inInset): change method name to begin with lowercase.
14530
14531         * undo_funcs.C:
14532         * text2.C: updates because of this.
14533
14534 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14535
14536         * ToolbarDefaults.C (add): add spaces in error message
14537
14538 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14539
14540         * buffer.C (readLyXformat2): initialize the ert comp. variables.
14541         (readLyXformat2): rename return_par to first_par, use lyxlex's
14542         pushToken and remove the manual push handling.
14543         (parseSingleLyXformat2Token): add another ert comp. variable:
14544         in_tabular, rename return_par to first_par. handle newlines better
14545
14546 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14547
14548         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14549
14550 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14551
14552         * text2.C (getParFromID): removed
14553
14554         * buffer.C (getParFromID): new method moved form lyxtext.
14555         * BufferView2.C (insertErrors): adjust
14556         (setCursorFromRow): adjust
14557         * BufferView_pimpl.C (restorePosition): adjust
14558         * lyxfunc.C (Dispatch): adjust
14559         * undo_funcs.C (textUndo): adjust
14560         (textRedo): adjust
14561         (textHandleUndo): adjust
14562         (textHandleUndo): adjust
14563
14564 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14565
14566         * buffer.C: up' the LYX_FORMAT
14567
14568         * lyxfont.h: turn NO_LATEX on as default
14569
14570         * buffer.C (insertErtContents): new methods of tex style compability.
14571         (parseSingleLyXformat2Token): use it several places.
14572         * tabular.C (OldFormatRead): and here
14573
14574 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14575
14576         * text2.C: remove some commented code.
14577         reindent file.
14578
14579         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14580         * trans.C: changes because of the above.
14581
14582 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
14583
14584         * text2.C (setCounter): Fix counters bug with bibliography layout.
14585
14586 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14587
14588         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14589         own member functions
14590         (simpleTeXSpecialChars): ditto
14591
14592 2001-07-06  Juergen Vigna  <jug@sad.it>
14593
14594         * a lot of files: changed the access to LyXText::status and the
14595         call of undo-functions.
14596
14597         * undo.[Ch]: added a inset_id to the undo informations.
14598
14599         * undo_funcs.[Ch]: added and moved here all undo functions.
14600
14601         * lyxtext.h: give the status enum a weight, made status_ a private
14602         variable and made accessor functions for it, removed the whole bunch
14603         of undo-functions as they are now in their own file, make some
14604         functions publically available. Added function ownerParagraph with
14605         int parameter.
14606
14607         * paragraph.[Ch]: added "bool same_ids" to the constructor,
14608         made InInset() a const function, added getParFromID() function.
14609
14610         * buffer.[Ch]: added const version for inset_iterator functions,
14611         added getInsetFromID() function.
14612
14613         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14614         changed undo functions for new version.
14615
14616 2001-07-05  Juergen Vigna  <jug@sad.it>
14617
14618         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14619         unknow mechanism does not call the proper constructor but only this
14620         one also if I request the other!?
14621
14622 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14623
14624         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14625
14626         * text2.C (LyXText): use initialization lists.
14627
14628         * lyxtext.h (Selection): initialize set_ and mark_
14629         (init): remove method
14630
14631 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
14632
14633         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14634
14635 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14636
14637         * screen.[Ch]: change method names to begin with lowercase
14638
14639         * BufferView_pimpl.C (updateScrollbar): simplify further and
14640         hopefully make it a bit faster.
14641
14642 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14643
14644         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14645         calling directly xforms functions.
14646
14647         * Painter.C (Painter):
14648         * lyx_cb.C (MenuWrite):
14649         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14650         fl_display.
14651
14652         * lyx_gui.C: remove bogus guiruntime extern declaration.
14653
14654 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14655
14656         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14657         in NEW_INSETS
14658         (redoDrawingOfParagraph): ditto
14659         (redoParagraphs): ditto
14660         (cutSelection): don't create a object for CutAndPaste use the
14661         static method directly
14662         (pasteSelection): ditto
14663
14664         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14665         LyXview (+ rename)
14666
14667 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14668
14669         * modifications to some other files because of this.
14670
14671         * Makefile.am (lyx_SOURCES): add XFormsView
14672
14673         * XFormsView.[Ch]: new files
14674
14675         * LyXView.[Ch]: make LyXView a base class for the gui handling for
14676         the main window. Move the gui dependent stuff to XFormsView
14677
14678 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14679
14680         * tabular.C (GetCellInset): update cur_cell also in the row/col
14681         version of this function.
14682
14683         * lyxfunc.C: no need to include figure_form.h here.
14684
14685         * FontLoader.h:
14686         * lyxfunc.h:
14687         * lyxscreen.h:
14688         * text2.C:
14689         * lyxvc.C: no need to include forms.h here.
14690
14691 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14692
14693         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14694
14695         * lyxfunc.C (Dispatch):
14696         * Spacing.C (set):
14697         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14698         constructor argument.
14699
14700 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14701
14702         * paragraph.C (Paragraph): dont't clear, and just set layout.
14703         (makeSameLayout): use params's copy contructor.
14704
14705         * ParagraphParameters.[Ch] (makeSame): delete method
14706
14707 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
14708
14709         * Variables.[Ch]: fix indentation, rename set to isSet
14710
14711 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14712
14713         * lyxfunc.C (Dispatch): fix typo
14714
14715 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14716
14717         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14718         upper_bound.
14719
14720         * bufferlist.C: include assert.h for emergencyWrite().
14721
14722 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14723
14724         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14725           give up at last (bug #425202) !
14726
14727 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
14728
14729         * lyx_gui_misc.C:
14730         * sp_form.h:
14731         * sp_form.C:
14732         * spellchecker.h:
14733         * spellchecker.C: strip spellchecker options and bring up
14734           preferences tab instead
14735
14736 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14737
14738         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14739         the istringstream constructor
14740
14741 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14742
14743         * paragraph.C (getLayout): fix return value
14744
14745         * paragraph.h: do not declare getLayout as inline.
14746
14747         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14748
14749 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14750
14751         * lyxcursor.h (operator<): new func
14752         (operator>): new func
14753         (operator>=): new func
14754         (operator<=): new func
14755
14756         * text.C (changeCase): use selection.start and selection.end
14757         (changeRegionCase): require from to be <= to. Require par to be a
14758         valid paragraph.
14759
14760         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14761
14762 2001-06-27  Juergen Vigna  <jug@sad.it>
14763
14764         * text.C (cursorLeftOneWord): changed to return the cursor and added
14765         overlay with BufferView * parameter which calls this one.
14766         (getWord): added
14767         (selectWord): use new getWord function.
14768         (changeCase): renamed from changeWordCase as and extended to work
14769         also on selections.
14770
14771         * lyxtext.h: added enum word_location
14772
14773         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14774         changeCase as this operates now also on selections.
14775
14776 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
14777
14778         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14779
14780         * many files: send debug output to Debug::INFO instead of
14781         Debug::ANY.
14782
14783         * converter.C (View):
14784         (Convert):
14785         (Move): send debug output to Debug::FILES instead of console.
14786
14787 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
14788
14789         * lyxfunc.C (getStatus): use func_status
14790
14791         * func_status.h: new header, describing the results of
14792         LyXFunc::getStatus;
14793
14794         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14795         LFUN_MATH_HALIGN.
14796
14797 2001-06-25  The LyX Project  <jug@sad.it>
14798
14799         * buffer.C (sgmlOpenTag):
14800         (sgmlCloseTag):
14801         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
14802
14803 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14804
14805         * text2.C: remove some dead code
14806
14807         * tabular.C (GetCellInset): store the last cell checked (gotten)
14808
14809         * tabular.h: add the helper for the speedup
14810
14811         * lyxtext.h: remove some dead code
14812
14813 2001-06-26  The LyX Project  <Asger>
14814
14815         * paragraph.C: Change export to LaTeX of alignment to
14816         \begin{center} and family for better roundtrip work with reLyX.
14817
14818         * Tune the math drawing a bit.
14819
14820 2001-06-25  The LyX Project  <Asger>
14821
14822         * LColor.C (LColor): New color for math background. New color
14823         for buttons.
14824
14825 2001-06-25  The LyX Project  <jug@sad.it>
14826
14827         * lyxfunc.C (MenuNew): remove extra check for .lyx file
14828
14829         * lyxfunc.C (Open):
14830         * bufferlist.C (newFile): do not restrict to files ending with
14831         .lyx
14832
14833         * BufferView_pimpl.C (MenuInsertLyXFile):
14834
14835 2001-06-24  The LyX Project  <jug@sad.it>
14836
14837         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14838         of compare_no_case
14839
14840 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14841
14842         * lyxtext.h: rename most methods to begin with a small char.
14843         Lots of changes because of this.
14844
14845         * paragraph.C (Paragraph): do not call fitToSize
14846         (erase): call Pimpl::erase
14847         (insertChar): call Pimpl::insertChar
14848         (insertInset): call Pipl::insertInset
14849         (breakParagraph): do not call fitToSize
14850         (breakParagraphConservative): do not call fitToSize
14851         (fitToSize): remove method
14852
14853         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14854
14855 2001-06-24  The LyX Project  <Asger>
14856
14857         * Fix Qt compilation^2
14858
14859 2001-06-24  The LyX Project  <jug@sad.it>
14860
14861         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14862         depthHook(getDepth()-1).
14863
14864         * paragraph.h:
14865         * ParagraphParameters.h:
14866         * ParameterStruct.h: change type of depth to unsigned int ==
14867         depth_type. Many adaptations to other files before of that.
14868
14869 2001-06-24  The LyX Project  <Asger>
14870
14871         * Fix Qt compilation.
14872
14873 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14874
14875         * paragraph.h: renamed several methods to begin with small letter.
14876         several changes to many parts of the code because of this.
14877
14878 2001-06-23  The LyX Project  <jug@sad.it>
14879
14880         * text2.C (InsertStringAsLines): renamed from InsertStringA;
14881         rewritten to discard all double spaces when KeepEmpty is off
14882         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14883         to only handle newlines but not fiddle with spaces and friends.
14884
14885         * lyxfunc.C (MenuNew): when doing 'new from template', use
14886         template_path as default directory
14887
14888 2001-06-23  The LyX Project  <Asger>
14889
14890         * Clean-up of header file includes all over
14891         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14892
14893 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14894
14895         * paragraph.h: renamed from lyxparagraph.h
14896
14897 2001-06-23  Asger  <lyx@violet.home.sad.it>
14898
14899         * Buffer.h: Removed Buffer::resize
14900         * BufferList.h: Removed BufferList::resize
14901         * LyXView.h: Added LyXView::resize. This way, we will only reflow
14902         the document lazily when we change the width, or the font settings.
14903
14904 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14905
14906         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14907
14908 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14909
14910         * buffer.h: remove out of date comment
14911
14912 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14913
14914         * lyxscreen.h:
14915         * screen.C: fix "theoretical" GC leak
14916
14917 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14918
14919         * LaTeX.C (scanAuxFile):
14920         (deplog): remove trailing \r when reading stream (useful under
14921         win32)
14922
14923 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
14924
14925         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14926         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14927         and BufferView::theLockingInset(Inset*), so should use them and not
14928         access bv_->text->the_locking_inset directly.
14929
14930         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14931
14932 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14933
14934         * Makefile.am:
14935         * tex-defs.h: remove old unused file
14936
14937 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
14938
14939         * BufferView_pimpl.C: fix typo, remove minibuffer message
14940           when buffer has loaded
14941
14942 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14943
14944         * lyxfunc.C (Dispatch): use stringstream
14945         (MenuNew): use stringstream
14946         (Open): use stringstream
14947
14948         * importer.C (Import): use stringstream
14949
14950         * bufferview_funcs.C (CurrentState): use stringstream
14951
14952         * LaTeX.C (run): use stringstream
14953
14954         * BufferView_pimpl.C (savePosition): use stringstream
14955         (restorePosition): use stringstream
14956         (MenuInsertLyXFile): use stringstream
14957
14958 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
14959
14960         * BufferView.C:
14961         * Bullet.C:
14962         * ColorHandler.C:
14963         * FontInfo.C:
14964         * FontLoader.C:
14965         * LColor.C:
14966         * LaTeXFeatures.C:
14967         * Painter.C:
14968         * gettext.C:
14969         * lyx_gui_misc.C:
14970         * lyxserver.C:
14971         * vspace.C: removed // -*- C++ -*- as first line.
14972
14973         * lyxfind.h:
14974         * version.h: added // -*- C++ -*- as first line.
14975
14976 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14977
14978         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14979
14980         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14981         of string
14982
14983 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14984
14985         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14986         of floats.
14987
14988 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14989
14990         * gettext.C: include LString.h even when --disable-nls is on.
14991
14992 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
14993
14994         * converter.h (Get): changed argument type from int to
14995         FormatList::size_type to avoid unnecessary conversion.
14996
14997         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14998         before using it.
14999
15000 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15001
15002         * gettext.h: include LString.h even when --disable-nls is on.
15003
15004 2001-06-07  Juergen Vigna  <jug@sad.it>
15005
15006         * text.C (BreakAgain): subst spaces with tabs.
15007
15008         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15009         (resizeInsetsLyXText): set force on resizeLyXText.
15010
15011 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15012
15013         * gettext.h (gettext_init):
15014         (locale_init): use a real definition instead of a macro
15015
15016 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15017
15018         * Bufferview_pimpl.C:
15019         * LColor.h:
15020         * LColor.C: further lcolor tidies
15021
15022 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15023
15024         * BufferView_pimpl.C (updateScrollbar): simplify.
15025
15026         * BufferView2.C: don't include insets/insetinfo.h, change
15027         prototype for insertInset and call the Pimpl version. let
15028         updateInset call Pimpl version.
15029
15030         * BufferView.h: move inset_slept to BufferView::Pimpl, move
15031         gotoInset to BufferView::Pimpl
15032
15033 2001-06-01  Juergen Vigna  <jug@sad.it>
15034
15035         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15036         inside a LockingInset (is the update needed at all?).
15037
15038 2001-05-31  Juergen Vigna  <jug@sad.it>
15039
15040         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15041         here not the old one otherwise how should we compare it afterwards
15042         if it's the same!
15043
15044 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15045
15046         * lyxfont.C:
15047         * tabular.C:
15048         * tabular-old.C:
15049         * FontInfo.C: bring C functions into global namespace when
15050         necessary
15051
15052 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15053
15054         * LString.h: make sure config.h has been loaded before LString.h.
15055
15056         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15057         (one for each char read by EatLine!).
15058
15059         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15060         variables.
15061
15062 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15063
15064         * paragraph.C (BreakParagraph): set the inset_owner in the new par
15065         to the same as the par we break from
15066
15067 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15068
15069         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15070
15071         * MenuBackend.C (expand): also create menu entries for wide
15072         versions of the floats.
15073
15074         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15075
15076         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15077
15078         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15079         frontends/Makefile.am
15080
15081         * text2.C: adjust
15082         * text.C: adjust
15083
15084
15085         * tabular.C (getTokenValue): add std::
15086
15087         * tabular-old.C (getTokenValue): add std::
15088         (getTokenValue): ditto
15089         (getTokenValue): ditto
15090
15091         * screen.C (ToggleSelection): adjust
15092
15093         * lyxtext.h: put selection cursors inside a Selection struct.
15094
15095         * lyxfunc.C (moveCursorUpdate): adjust
15096
15097         * lyxfont.C (latexWriteStartChanges): add std::
15098
15099         * lyxfind.C: adjust
15100
15101         * font.h: delete with(char const *, LyXFont const &)
15102
15103         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15104
15105         * FontInfo.C (getFontname): add std::
15106
15107         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15108         (workAreaButtonPress): adjust
15109         (tripleClick): adjust
15110         (update): adjust
15111         (moveCursorUpdate): adjust
15112         (Dispatch): adjust
15113
15114         * BufferView2.C (gotoInset): adjust
15115
15116 2001-05-30  Juergen Vigna  <jug@sad.it>
15117
15118         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15119         to check pspell I add this as default as I now have new pspell
15120         libraries and they seem to use this.
15121
15122 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15123
15124         * text2.C (CutSelection): make the cursor valid before the call to
15125         ClearSelection.
15126
15127 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15128
15129         * kbsequence.C (parse): de-uglify a bit the parsing code, which
15130         relied on 0 terminated strings and other horrors. Bug found due to
15131         the new assert in lyxstring!
15132
15133         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15134         KP_ keys.
15135
15136 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15137
15138         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15139         to latinkeys.bind.
15140
15141         * lyxfunc.C (processKeySym): change method of getting to the
15142         self-insert char.
15143
15144         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15145         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15146         * BufferView_pimpl.[Ch]: here as private methods.
15147
15148 2001-05-28  Juergen Vigna  <jug@sad.it>
15149
15150         * text.C (SetHeightOfRow): added the update() call again as it is
15151         needed to initialize inset dimensions!
15152
15153 2001-05-16  Juergen Vigna  <jug@sad.it>
15154
15155         * text2.C (SetCharFont): Add new function with BufferView * and
15156         bool toggleall parameters for setting insets internal fonts.
15157         (SetFont): Freeze the undo as we may change fonts in Insets and
15158         all this change should be inside only one Undo!
15159
15160         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15161         setting font's in insets as for them we have the SetFont function!
15162
15163 2001-05-15  Juergen Vigna  <jug@sad.it>
15164
15165         * text2.C (ClearSelection): to be sure we REALLY don't have any
15166         selection anymore!
15167
15168         * tabular.C (TeXCellPreamble): fixed the left border problem for
15169         multicolumn cells.
15170
15171 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
15172
15173         * LaTeX.C (deplog): Make sure that the main .tex file is in the
15174         dependancy file
15175
15176 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15177
15178         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15179         LFUN_BREAKPARAGRAPH.
15180
15181         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15182         help test to "internal only", similar for LFUN_INSERT_URL
15183
15184         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15185         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15186         auto_region_delete and deadkeys.
15187
15188 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
15189
15190         * LColor.h:
15191         * LColor.C: remove some dead entries, tidy a little
15192
15193 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15194
15195         * lyxfunc.C (processKeySym): comment the Escape handling, remove
15196         commented code.
15197         (Dispatch): implement LFUN_ESCAPE
15198
15199         * commandtags.h: add LFUN_ESCAPE
15200
15201         * LyXAction.C (init): add entry for LFUN_ESCAPE
15202
15203         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15204         Remove commented code.
15205         (insertNote): moved here
15206         (open_new_inset): moved here
15207
15208         * BufferView[2].[Ch]: move insertNote and open_new_inset to
15209         BufferView_pimpl
15210
15211 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15212
15213         * kbmap.C (findbinding): clean it up and make it work correctly.
15214
15215         * lyx_main.C (init): do not pass argc and argv as parameters
15216
15217 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
15218
15219         * buffer.C: fix path for OS/2 & Win32
15220
15221         * lyx_gui.C:
15222         * lyx_main:
15223         * lyx_main.C: Added os:: class.
15224
15225         * os2_defines.h: update
15226
15227 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15228
15229         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15230         better by trying again with reduced state.
15231
15232 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15233
15234         * lyxrc.C (read): print error about invalid key sequence only when
15235         debugging (because not all latinX keysyms are known to some X
15236         servers)
15237
15238         * kbsequence.C (getiso): add a few std:: qualifiers
15239         (getiso): comment out extra return statement.
15240
15241 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15242
15243         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15244         handling.
15245         (Dispatch): enhance the accent inset a bit. (not perfect)
15246
15247 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15248
15249         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15250
15251 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15252
15253         * bufferlist.C (emergencyWrite): fix assert() call
15254
15255 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
15256
15257         * text.C (InsertChar): Added trivial patch to only send the "you
15258         can not do multiple spaces this way" message once during a
15259         session.
15260
15261 2001-05-08  Baruch Even  <baruch@lyx.org>
15262
15263         * Makefile.am: Changed order of libraries to get LyX to link properly
15264         with the gnome frontend.
15265
15266 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15267
15268         * LaTeXFeatures.h: add a std:: qualifier
15269
15270 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15271
15272         * paragraph.C (String): use stringstream
15273
15274 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15275
15276         * paragraph.C (writeFile): remove footflag arg
15277
15278         * buffer.C (makeLaTeXFile): use stringstream
15279         (latexParagraphs): remove footnot gurba
15280
15281         * LaTeXFeatures.C (getPackages): use stringstream
15282         (getMacros): likewise
15283         (getTClassPreamble): likewise
15284         (getFloatDefinitions): new method
15285
15286         * paragraph.C (writeFile): reindent
15287         (Erase): reindent
15288
15289         * WorkArea.h: revert the xpos + etc changes.
15290
15291         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15292
15293         * lyxparagraph.[Ch]: add copy constructor, remove Clone
15294
15295         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15296         (pasteSelection): likewise
15297         * text2.C (CreateUndo): likewise
15298
15299 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15300
15301         * minibuffer.C (peek_event): temporarily reduce the functionality
15302         of the minibuffer (to allow args on lfuns)
15303
15304         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15305         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15306
15307         * buffer.C (readInset): add compability reading of old float
15308         lists, add reading of new style float list.
15309         (readInset): avoid reevaluation of inscmd.getCmdName()
15310         (getLists): reindent
15311
15312         * MenuBackend.C (MenuItem): implement parsing of
15313         md_floatlistinsert and md_floatinsert.
15314         (expand::LastFiles): move initalizaton of iterators out of loop,
15315         avoid reevaluation.
15316         (expand::Documents): introduce typdedef vector<string> Strings,
15317         and use it.
15318         (expand::ExportFormats): introduce typedef vector<Format const *>
15319         Formats, and use it.
15320         (expand): implement FloatListInsert and FloatInsert.
15321
15322         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15323         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15324         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15325
15326         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15327         handling.
15328         (Dispatch::LFUN_FLOAT_LIST): implement
15329
15330 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15331
15332         * LaTeX.C (run): Fix problem with --export code.
15333
15334 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15335
15336         * BufferView.[Ch] (workarea): removed.
15337         (getClipboard) new method; wrapper for workarea()->getClipboard()
15338
15339         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15340         bug.
15341
15342         * WorkArea.h (width, height, xpos, ypos): These methods all
15343         returned the dimensions of the work_area sub-area of WorkArea,
15344         resulting in a position error if the WorkArea were resized. Now
15345         return the dimensions of the entire WorkArea.
15346
15347         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15348
15349 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15350
15351         * LaTeX.C (deplog): correct the syntax of regex reg1
15352
15353 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15354
15355         * undo.C: remove !NEW_INSETS cruft
15356
15357 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15358
15359         * text2.C: remove !NEW_INSETS cruft
15360
15361         * text.C: remove !NEW_INSETS cruft
15362
15363         * tabular.C: remove !NEW_INSETS cruft
15364
15365         * spellchecker.C: remove !NEW_INSETS cruft
15366
15367         * lyxtext.h: remove !NEW_INSETS cruft
15368
15369         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15370
15371         * lyxfunc.C: remove !NEW_INSETS cruft
15372
15373         * lyxfind.C: remove !NEW_INSETS cruft
15374
15375         * lyx_cb.C: remove !NEW_INSETS cruft
15376
15377         * figureForm.C: remove  !NEW_INSETS cruft
15378
15379         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15380
15381         * buffer.[Ch]: remove !NEW_INSETS cruft
15382
15383         * ToolbarDefaults.C: remove !NEW_INSETS cruft
15384
15385         * CutAndPaste.C: remove !NEW_INSETS cruft
15386
15387         * BufferView_pimpl.C: remove !NEW_INSETS cruft
15388
15389         * BufferView2.C: remove !NEW_INSETS cruft
15390
15391         * BufferView.h: remove !NEW_INSETS cruft
15392
15393 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15394
15395         * Lsstream.h: include LString.h before the sstream headers to
15396         fix problem with gcc 2.95.3 and lyxstring
15397
15398 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15399
15400         * lyx_main.C: add using directives when needed for C functions
15401         declared in std:: namespace.
15402
15403 2001-04-27  Juergen Vigna  <jug@sad.it>
15404
15405         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15406         (SetHeightOfRow): comment out the update call should not be needed!
15407
15408 2001-04-13  Juergen Vigna  <jug@sad.it>
15409
15410         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15411         (LyXTabular): tried to minimize operator= operations (and realized
15412         hopfully Lars wish).
15413
15414 2001-04-27  Juergen Vigna  <jug@sad.it>
15415
15416         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15417
15418 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15419
15420         * lyxfunc.C (Dispatch): hack to make listof algorithm work
15421
15422         * buffer.C (readInset): hack to make listof algorithm work
15423
15424         * BufferView_pimpl.C: hack to make listof algorithm work
15425
15426 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15427
15428         * LyXAction.C: removed all !NEW_INSETS cruft
15429         (init): moved lfun_item in method
15430
15431         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15432
15433 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15434
15435         * BufferView2.C (theLockingInset): white space.
15436
15437 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15438
15439         * minibuffer.C: include <iostream>
15440
15441         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15442
15443         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15444
15445         * commandtags.h: add LFUN_TRANSPOSE_CHARS
15446
15447         * text.[Ch] (TransposeChars): new method
15448
15449 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15450
15451         * call message directly through LyXView instead of through LyXFunc
15452         * BufferView2.C: adjust
15453         * BufferView_pimpl.C: adjust
15454         * FontLoader.C: adjust
15455         * buffer.C: adjust
15456         * bufferview_funcs.C: adjust
15457         * converter.C: adjust
15458         * figureForm.C: adjust
15459         * importer.C: adjust
15460         * lyx_cb.C: adjust
15461         * lyx_gui_misc.C: adjust
15462         * lyxfunc.C: adjust
15463         * lyxvc.C: adjust
15464         * text2.C: adjust
15465         + more files in subdirs
15466
15467         * lyxparagraph.h (size): move up int file
15468         (GetLayout): ditto
15469
15470         * adjust all uses of Assert to lyx::Assert.
15471
15472         * BufferView2.C (ChangeCitationsIfUnique): adjust for
15473         lyxfunctional in namespace lyx
15474         * layout.C (hasLayout): ditto
15475         (GetLayout): ditto
15476         (GetLayout): ditto
15477         (delete_layout): ditto
15478         (NumberOfClass): ditto
15479         * converter.C (GetFormat): ditto
15480         (GetNumber): ditto
15481         (Add): ditto
15482         (Delete): ditto
15483         (SetViewer): ditto
15484         * bufferlist.C (getFileNames): ditto
15485         (emergencyWriteAll): ditto
15486         (exists): ditto
15487         (getBuffer): ditto
15488         * MenuBackend.C (hasSubmenu): ditto
15489         (hasMenu): ditto
15490         (getMenu): ditto
15491         * BufferView_pimpl.C (getInsetByCode): ditto
15492
15493 2001-04-18  Juergen Vigna  <jug@sad.it>
15494
15495         * vspace.C (asLatexString): fixed the 100% problem.
15496
15497 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15498
15499         * lyxfunc.C (Dispatch):
15500         * minibuffer.C:
15501         * minibuffer.h: add a few std:: qualifiers
15502
15503 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15504
15505         * minibuffer.[Ch]: reimplement so that commands is initiated and
15506         run from lyxfunc, simplified som handling, and made the completion
15507         and history code for complete. wip.
15508
15509         * lyxfunc.C (processKeySym): call message
15510         (miniDispatch): new temporary method
15511         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15512         (LFUN_MESSAGE): implement
15513         (LFUN_MESSAGE_PUSH): implement
15514         (LFUN_MESSAGE_POP): implement
15515         (initMiniBuffer): the initial/defualt minibuffer message.
15516
15517         * lyxfont.[Ch]: inline some more getters
15518
15519         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15520
15521         * lyx_gui_misc.[Ch] (WriteStatus): remove method
15522
15523         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15524         (AutoSave): use LFUN_MESSAGE
15525         (Reconfigure): ditto
15526
15527         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15528
15529         * figureForm.C: use LFUN_MESSAGE
15530
15531         * converter.C (runLaTeX): use LFUN_MESSAGE
15532
15533         * bufferview_funcs.C: use LFUN_MESSAGE
15534         (Melt): ditto
15535         (changeDepth): ditto
15536
15537         * bufferparams.h: use boost::
15538
15539         * bufferlist.h: inherit privately from noncopyable
15540
15541         * bufferlist.C (loadLyXFile): remove some commented code.
15542
15543         * buffer.C (runChktex): use LFUN_MESSAGE
15544
15545         * ShareContainer.h: inherit privately from noncopyable
15546
15547         * ParagraphParameters.[hC] (depth): inline it.
15548
15549         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15550         methods.
15551         (message): new method
15552         (messagePush): ditto
15553         (messagePop): ditto
15554         (show): init minibuffer
15555         (showState): direct call
15556
15557         * LaTeX.[Ch]: inherit privately from noncopyable
15558         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15559         instead of WriteStatus.
15560
15561         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15562
15563         * BufferView_pimpl.C (buffer): don't init minibuffer
15564         (workAreaButtonPress): use LFUN_MESSAGE
15565         (workAreaButtonRelease): ditto
15566         (savePosition): ditto
15567         (restorePosition): ditto
15568         (MenuInsertLyXFile): ditto
15569         (workAreaExpose): don't init minibuffer
15570         (update): remove commented code, simplify
15571
15572         * BufferView2.C (openStuff): use LFUN_MESSAGE
15573         (toggleFloat): ditto
15574         (menuUndo): ditto
15575         (menuRedo): ditto
15576         (copyEnvironment): ditto
15577         (pasteEnvironment): ditto
15578         (copy): ditto
15579         (cut): ditto
15580         (paste): ditto
15581         (gotoInset): ditto
15582         (updateInset): remove some commented code
15583
15584         * lastfiles.h: inherit privately from noncopyable
15585         * layout.h: ditto
15586         * lyx_gui.h: ditto
15587         * lyx_main.h: ditto
15588         * lyxlex.h: ditto
15589         * lyxlex_pimpl.h: ditto
15590
15591         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15592         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15593         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15594
15595         * LyXAction.h: inherit privately from noncopyable, add methods
15596         func_begin, func_end, returning iterators to the func map.
15597
15598         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15599         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15600         (func_begin): new method
15601         (func_end): new method
15602
15603         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15604         and not)
15605         (copySelection): ditto
15606         (pasteSelection): ditto
15607
15608         * BufferView.C: whitespace change
15609         * BufferView.h: inherit privately from noncopyable
15610
15611 2001-04-16  Allan Rae  <rae@lyx.org>
15612
15613         * tabular-old.C (l_getline):
15614         * spellchecker.C (sc_check_word):
15615         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15616         an unrecognised preprocessor directive.  So ensure they're wrapped.
15617
15618 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
15619
15620         * src/exporter.C (Export): Give an error message when path to file
15621         contains spaces.
15622
15623 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
15624
15625         * LaTeX.C (deplog): Always check that foundfile exists.
15626
15627 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15628
15629         * lyx_main.h:
15630         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15631
15632 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15633
15634         * tabular.[Ch] (getLabelList): implement new method
15635
15636         * minibuffer.h: comment ouf setTiimer
15637
15638         * minibuffer.C (ExecutingCB): constify res
15639         (peek_event): constify s
15640         (Set): constify ntext
15641         (Init): constify nicename
15642
15643         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15644
15645         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15646         (savePosition): use two params to Minibuffer::Set
15647         (restorePosition): ditto
15648
15649 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15650
15651         * lyx_main.C: include language.h
15652
15653         * Makefile.am (lyx_main.o): add language.h
15654
15655 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15656
15657         * exporter.C:
15658         * paragraph.C:
15659         * screen.C:
15660         * tabular.C:
15661         * CutAndPaste.C: include gettext.h
15662
15663         * lyxfont.h: remove old hack with ON and OFF.
15664
15665         * lyxparagraph.h:
15666         * lyxfont.h: do not include language.h...
15667
15668         * BufferView2.C:
15669         * LaTeXFeatures.C:
15670         * Painter.C:
15671         * bufferview_funcs.C:
15672         * font.C:
15673         * lyxfont.C:
15674         * text.C:
15675         * text2.C:
15676         * trans_mgr.C:
15677         * paragraph.C: ... but do it here instead
15678
15679 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15680
15681         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15682
15683         * tabular.C: small reformat
15684
15685         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15686         NEW_INSETS version
15687         (GetChar): ditto
15688         (BreakParagraph): ditto
15689         (SetOnlyLayout): ditto
15690         (SetLayout): ditto
15691
15692         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15693         with one arg less.
15694
15695         * lastfiles.C: removed most using decl, add std:: where needed
15696
15697         * buffer.C: ws changes
15698
15699         * MenuBackend.C (class compare_format): put into anon namespace
15700         (expand): constify label, names, action, action2
15701         (expand):
15702
15703         * text.C (SingleWidth): constify font
15704         (IsBoundary): constify rtl2
15705         (GetVisibleRow): constify ww
15706
15707         * LaTeX.C (deplog): constify logfile
15708
15709         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15710         start_x, end_x
15711         (workAreaExpose): constify widthChange, heightChange
15712
15713         * lyxrow.C (par): moved
15714         (height): moved
15715         (next): moved
15716         * lyxrow.h: as inlines here
15717
15718         * lyxfont.h (shape): moved from lyxfont.C
15719         (emph): moved from lyxfont.C
15720
15721         * lyxfont.C (LyXFont): use initialization list for all
15722         constructors
15723         (shape): move to lyxfont.h as inline
15724         (emph): move to lyxfont.h as inline
15725
15726
15727 2001-04-04  Juergen Vigna  <jug@sad.it>
15728
15729         * vspace.C: had to include stdio.h for use of sscanf
15730
15731 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
15732
15733         * BufferView.h:
15734         * BufferView_pimpl.h: remove xforms cruft. Both classes are
15735         independent of xforms.
15736
15737 2001-04-02  Juergen Vigna  <jug@sad.it>
15738
15739         * spellchecker.C: fixed namespace placing!
15740
15741 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
15742
15743         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15744         the LyXParagraph * is 0.
15745
15746 2001-03-29  Juergen Vigna  <jug@sad.it>
15747
15748         * vspace.C: added support for %, c%, p%, l%.
15749         (stringFromUnit): added helper function.
15750         (asLatexString): changed to give right results for the %-values.
15751
15752         * buffer.C: convert the widthp in a width%.
15753
15754 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
15755
15756         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15757         figureForm.[Ch].
15758
15759         * figureForm.[Ch]: stripped the FD_from_figure manipulation
15760         code out of lux_cb.[Ch], ready for its (imminent?) removal.
15761
15762         * lyx_cb.[Ch]: see above.
15763
15764         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15765         form1.[Ch].
15766
15767         * form1.[Ch]:
15768         * lyx.[Ch]: replaced by figure_form.[Ch].
15769
15770         * lyx_gui.C:
15771         * lyx_gui_misc.C:
15772         * lyxfunc.C: changed headers associated with above changes.
15773
15774 2001-03-27  Juergen Vigna  <jug@sad.it>
15775
15776         * BufferView_pimpl.C: set the temporary cursor right!
15777
15778 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
15779
15780         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15781
15782 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
15783
15784         * LString.h: removed "using std::getline"!
15785
15786         * BufferView_pimpl.C (Dispatch): changes due to changes in
15787         InsetInclude::Params.
15788
15789         * buffer.C (tag_name): removed redundant break statements as they were
15790         producing lots of warnings with my compiler.
15791
15792 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15793
15794         * LString.h: add "using std::getline" when using the real <string>.
15795
15796 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
15797
15798         * buffer.C: removed bitset usage.
15799         PAR_TAG moved to an anonymous name space.
15800         (tag_name): new funtion, also in the anonymous namespace.
15801         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15802         (makeDocBookFile): clean code. Completed transition from string arrays
15803         to string vectors.
15804         (SimpleDocBookOnePar): code clean.
15805
15806 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15807
15808         * tabular.C: add some comments.
15809
15810 2001-03-22  Juergen Vigna  <jug@sad.it>
15811
15812         * buffer.C (parseSingleLyXformat2Token): redone the minipage
15813         compatibility read a bit and fixed bug with minipage in different
15814         depth.
15815
15816 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
15817
15818         * buffer.C (pop_tag): removed.
15819         (push_tag): removed.
15820         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15821         array replaced with vector. Added support for CDATA sections.
15822         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15823         at any nest level.
15824         (makeDocBookFile): XML conformant declaration of CDATA section,
15825         fixed bug related to <emphasis> in the first paragraph char.
15826         (sgmlOpenTag): exclude empty tags.
15827         (sgmlCloseTag): ditto.
15828
15829         * buffer.h (pop_tag): removed.
15830         (push_tag): removed.
15831
15832 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
15833
15834         * language.h (Languages): added size_type and size().
15835
15836 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15837
15838         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15839         response on compability reading of minipages. One probliem is that
15840         the old usage of minipages was «flertydig»
15841
15842         * several files here and in subdirs: don't use static at file
15843         scope use anon namespaces instead.
15844
15845 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
15846
15847         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15848         LaTeX output. This is necessary for Literate document
15849         processing.
15850
15851 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15852
15853         * buffer.C: insert hfill when needed.
15854
15855         * tabular.C (l_getline): use string::erase, small whitespace change.
15856
15857         * BufferView_pimpl.C: try the anon namespace.
15858         * WorkArea.C: ditto
15859
15860 2001-03-16  Juergen Vigna  <jug@sad.it>
15861
15862         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15863         otherwise it won't open options-dialogs.
15864
15865         * buffer.C: honor pextraWidth(p) on converting minipages.
15866
15867         * tabular.C (l_getline): changed the functions to strip trailing \r.
15868
15869 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
15870
15871         * BufferView_pimpl.C:
15872         * minibuffer..C: added "using SigC::slot" declaration.
15873
15874 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15875
15876         * lyxlex_pimpl.h: noncopyable is in namespace boost.
15877
15878         * text2.C: ditto
15879
15880         * text.C: ditto
15881
15882         * paragraph.C: ditto
15883
15884         * lyxtext.h: NO_PEXTRA
15885
15886         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15887
15888         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15889         * ParameterStruct.h: ditto
15890         * ParagraphParameters.h: ditto
15891         * lyxparagraph.h: ditto
15892
15893 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15894
15895         * buffer.C: add compability for minipage alignment.
15896         (latexParagraphs): remove unwanted pextra check.
15897
15898         * several files: remove CXX_WORKING_NAMESPACES
15899
15900         * buffer.C (pop_tag): tie is in namespace boost
15901
15902         * BufferView.h: noncopyable is in namespace boost
15903         * lyxlex.h: ditto
15904         * lyx_main.h: ditto
15905         * lyx_gui.h: ditto
15906         * layout.h: ditto
15907         * lastfiles.h: ditto
15908         * bufferlist.h: ditto
15909         * ShareContainer.h: ditto
15910         * LyXView.h: ditto
15911         * LyXAction.h: ditto
15912         * LaTeX.h: ditto
15913
15914 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15915
15916         * Merging changes from BRANCH_MVC back into HEAD.
15917
15918         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15919
15920 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
15921
15922         * BufferView_pimpl.C: change from intl.C
15923
15924         * combox.h:
15925         * combox.C:
15926         * Makefile.am: move combox.*
15927
15928         * form1.h:
15929         * form1.C:
15930         * lyx_gui.C:
15931         * intl.h:
15932         * intl.C: remove dialog (covered by prefs)
15933
15934 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15935
15936         * lyxfunc.C (Dispatch): removed redundant break statement.
15937
15938 2001-03-14  Juergen Vigna  <jug@sad.it>
15939
15940         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15941
15942 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15943
15944         * buffer.C: add hack to fix compability reading of minipages.
15945
15946 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
15947
15948         * buffer.C (getLists): Cleanup.
15949
15950 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15951
15952         * lyxfont.C (update): don't honor toggleall on font size.
15953
15954 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
15955
15956         * bmtable.c:
15957         * bmtable.h:
15958         * Makefile.am: moved to frontends/xforms/
15959
15960         * lyx_gui_misc.C:
15961         * lyxfunc.C:
15962         * BufferView_pimpl.C: changes for moved mathpanel
15963
15964 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15965
15966         * gettext.h: fix gettext_init() in --disable-nls
15967
15968 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15969
15970         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15971
15972 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
15973
15974         * lyx.C:
15975         * lyx.h: strip external form
15976
15977 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15978
15979         * BufferView_pimpl.C: add comment, destroySplash()
15980
15981 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15982
15983         * BufferView_pimpl.C:
15984         * LyXAction.C:
15985         * buffer.C:
15986         * commandtags.h:
15987         * lyxfunc.C: use re-worked insetinclude
15988
15989 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15990
15991         * buffer.C: add using std::stringstream.
15992
15993         * lyx_cb.C: readd using std::ios.
15994
15995         * buffer.C: add using std::map.
15996
15997         * BufferView_pimpl.C: add using std::vector.
15998
15999         * ShareContainer.h: add std:: to swap.
16000
16001         * buffer.h: add some typedefs
16002         * buffer.C (getLists): use them
16003         (getLists): renamed from getTocList.
16004         add a counter for the different float types and use it in the
16005         generated string.
16006         (getLists): use the same counter for the NEW_INSETS and the "non"
16007         NEW_INSETS
16008
16009         * lyx_cb.h: remove unused items, includes, using etc.
16010
16011         * ShareContainer.h: remove some commented code, add more comments
16012         and "documentation".
16013
16014 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16015
16016         * buffer.C (getTocList): make the list also when NEW_INSETS is
16017         defined.
16018
16019         * buffer.h: remove TocType
16020
16021         * buffer.C (getTocList): change to return a map<string,
16022         vector<TocItem> >, implement for dynamic number of list.
16023
16024         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16025         * text2.C (PasteSelection): adjust
16026         * CutAndPaste.C (pasteSelection): adjust
16027
16028         * FloatList.C (FloatList): update from the new_insets branch.
16029         * Floating.[Ch]: ditto
16030         * LaTeXFeatures.C: ditto
16031         * buffer.C: ditto
16032         * lyxlex_pimpl.C: ditto
16033
16034         * paragraph.C (Last): remove when NEW_INSETS is defined.
16035
16036         * other file: changes because of the above.
16037
16038 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16039
16040         * lyxparagraph.h: rename next to next_, previous to previous_,
16041         make them private for NEW_INSETS. Rename Next() to next(),
16042         Previous() to previous().
16043
16044         * other files: changes because of the above.
16045
16046 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
16047
16048         * BufferView.h:
16049         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16050         problem.
16051
16052 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16053
16054         * main.C (main): pass lyx_localedir to gettext_init().
16055
16056         * gettext.h: remove locale_init and gettext_init macros
16057
16058         * gettext.C (locale_init): new function
16059         (gettext_init): new function
16060
16061         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16062         setlocale().
16063
16064 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
16065
16066         * Moved credits to frontends:
16067         * credits.[Ch]: removed
16068         * credits_form.[Ch]: removed
16069         * lyx_gui_misc.C: remove credits stuff
16070         * Makefile.am:
16071
16072 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16073
16074         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16075
16076         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16077         unneeded destructor.
16078
16079         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16080         a standalone pointer again.
16081
16082         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16083
16084 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
16085
16086         * Makefile.am:
16087         * filedlg.h:
16088         * filedlg.C:
16089         * LyXAction.C:
16090         * ToolbarDefaults.C:
16091         * bufferlist.C:
16092         * commandtags.h:
16093         * form1.C:
16094         * form1.h:
16095         * lyx_cb.C:
16096         * lyx_cb.h:
16097         * lyxfunc.h:
16098         * lyxfunc.C:
16099         * BufferView_pimpl.C: use new file dialog in GUII
16100
16101         * lyx_cb.h:
16102         * lyx_cb.C: remove LayoutsCB to Toolbar
16103
16104 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16105
16106         * ShareContainer.h (get): add std:: qualifier
16107
16108 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16109
16110         * ShareContainer.h: define a proper ShareContainer::value_type
16111         type (and use typename to please compaq cxx)
16112
16113 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16114
16115         * lyxparagraph.h: move serveral local vars to
16116         ParameterStruct/ParagraphParameters., use ShareContainer in
16117         FontTable., make vars in FontTable private and add getter and
16118         setter.
16119
16120         * paragraph.C: changes because of the above.
16121
16122         * lyxfont.h: remove copy constructor and copy assignment. (the
16123         default ones is ok), move number inside FontBits. move inlines to
16124         lyxfont.C
16125
16126         * lyxfont.C: add number to initializaton of statics, move several
16127         inlines here. constify several local vars. some whitespace
16128         cleanup. Dont hide outerscope variables.
16129
16130         * Spacing.h: add two new constructors to match the set methods.
16131
16132         * ShareContainer.h: new file, will perhaps be moved to support
16133
16134         * ParameterStruct.h: new file
16135
16136         * ParagraphParameters.h: new file
16137
16138         * ParagraphParameters.C: new file
16139
16140         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16141         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16142
16143         * BufferView_pimpl.C: ParagraphParameter changes.
16144         * buffer.C: Likewise.
16145         * bufferview_funcs.C: Likewise.
16146         * text.C: Likewise.
16147         * text2.C: Likewise.
16148
16149 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16150
16151         * lyxfind.C (LyXReplace): do not redefine default argument in
16152         implementation.
16153         (IsStringInText): ditto
16154         (SearchForward): ditto
16155         (SearchBackward): ditto
16156
16157 2001-03-06  Juergen Vigna  <jug@sad.it>
16158
16159         * lyxfind.C (IsStringInText): put parentes around expressions.
16160
16161 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
16162
16163         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16164
16165 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
16166
16167         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16168
16169         * stl_string_fwd.h: add comment
16170
16171         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16172
16173         * tabular.h:
16174         * tabular.C: remove unused DocBook methods
16175
16176         * intl.C:
16177         * language.C:
16178         * paragraph.C:
16179         * buffer.C:
16180         killed DO_USE_DEFAULT_LANGUAGE
16181
16182 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16183
16184         * lyx_gui.C: do not include language.h.
16185
16186         * bufferview_funcs.C (ToggleAndShow): do not provide optional
16187         arguments in function implementation.
16188
16189 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16190
16191         * BufferView_pimpl.C: add <ctime>
16192
16193 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16194
16195         * BufferView_pimpl.C: add using std::find_if
16196
16197 2001-02-27  José Matos  <jamatos@fep.up.pt>
16198
16199         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16200         by OnlyPath.
16201
16202 2001-02-11  José Matos  <jamatos@fep.up.pt>
16203
16204         * buffer.C (makeDocBookFile): command styles now have a parameter as
16205         "title" by default.
16206
16207 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
16208
16209         * layout_forms.[Ch]: removed
16210         * lyx_cb.[Ch]: out character
16211         * lyx_gui.C: out character
16212         * lyx_gui_misc.C: out character
16213         * bufferview_funcs.C: : out character,
16214         added toggleall as parameter in ToggleAndShow
16215
16216 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
16217
16218         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16219
16220         * text2.C (SetCurrentFont): Disable number property at boundary.
16221
16222 2001-02-26  Juergen Vigna  <jug@sad.it>
16223
16224         * lyxfunc.C (getStatus): added a string argument override function so
16225         that this is correctly called from LyXFunc::Dispatch if it contains a
16226         do_not_use_argument which is used!
16227         (Dispatch): added check for "custom" export and call appropriate func.
16228
16229 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
16230
16231         * lyxrc.C: Add language_command_local, language_use_babel and
16232         language_global_options.
16233
16234         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16235
16236         * buffer.C (makeLaTeXFile): Use language_use_babel and
16237         language_global_options.
16238
16239 2001-02-23  Juergen Vigna  <jug@sad.it>
16240
16241         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16242         which works with LyXText and putted it inside BufferView. Here now we
16243         only call for that part the BufferView::Dispatch() function.
16244
16245         * BufferView.C (Dispatch): added.
16246
16247         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16248         functions which needs to use a LyXText over from LyXFunc.
16249         (MenuInsertLyXFile): added
16250         (getInsetByCode): added
16251         (moveCursorUpdate): added
16252         (static TEXT): added
16253
16254 2001-02-22  Juergen Vigna  <jug@sad.it>
16255
16256         * BufferView_pimpl.C (update): call a status update to see if LyXText
16257         needs it.
16258
16259 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16260
16261         * vc-backend.C (revert): implement for CVS
16262         (getLog): implement for CVS
16263
16264 2001-02-20  Juergen Vigna  <jug@sad.it>
16265
16266         * text2.C (ClearSelection): added BufferView param for inset_owner call
16267
16268         * lyxfunc.C (TEXT): added this function and use it instead of
16269         directly owner->view()-text of getLyXText().
16270
16271 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
16272
16273         * src/layout_forms.C: out preamble
16274         * src/layout_forms.h: out preamble
16275         * src/lyx_cb.C: out preamble
16276         * src/lyx_cb.h: out preamble
16277         * src/lyx_gui.C: out preamble
16278         * src/lyx_gui_misc.C: out preamble
16279         * src/lyxfunc.C: connect with guii preamble
16280
16281 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
16282
16283         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16284
16285 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
16286
16287         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16288         whether to run bibtex.
16289
16290 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
16291
16292         * Makefile.am (lyx_SOURCES): Remove BackStack.h
16293
16294 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
16295
16296         * Makefile.am (lyx_SOURCES): removed bibforms.h
16297
16298         * vspace.h: doxygen
16299
16300         * text.C (GetVisibleRow): make several local vars const
16301
16302         * tabular.C: small cleanup.
16303
16304         * lyxserver.C (callback): use compare instead of strncmp
16305
16306         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16307         inlines to after class or to paragraph.C
16308
16309         * lyxfont.h: remove friend operator!=
16310
16311         * converter.h: move friend bool operator< to non friend and after
16312         class def.
16313
16314         * combox.h: small cleanup
16315
16316         * buffer.h: doxygen, remove unused constructor, move inclas inlies
16317         to inlines after class def.
16318
16319         * buffer.C (pop_tag): use string operations instead of strcmp
16320
16321         * bmtable.c: doxygen, small cleanup
16322
16323         * LaTeX.h: remove friend operator==
16324
16325 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
16326
16327         * screen.C:
16328         * lyxrc.[Ch]:
16329         * lyxfunc.C:
16330         * lyxfont.[Ch]:
16331         * lyx_cb.C:
16332         * intl.[Ch]:
16333         * commandtags.h:
16334         * buffer.C:
16335         * WorkArea.[Ch]:
16336         * LyXAction.C:
16337         * BufferView_pimpl.C:
16338         * BufferView.[Ch]: remove cruft
16339
16340 2001-02-14  Juergen Vigna  <jug@sad.it>
16341
16342         * lyxfunc.C: removed #if 0 unused code
16343
16344         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16345
16346         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16347
16348         * text2.C (SetSelection): added a BufferView * parameter
16349
16350 2001-02-13  Juergen Vigna  <jug@sad.it>
16351
16352         * lyxfunc.C (Dispatch): fixed protected blank problem.
16353         * BufferView2.C (protectedBlank): added LyxText * parameter.
16354
16355         * tabular.C (AppendRow): forgot to set row_info of newly added row.
16356         (AppendColumn): same as above for column_info.
16357
16358         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16359         (moveCursorUpdate): use a LyXText param for support of InsetText.
16360
16361         * BufferView_pimpl.C (doubleClick): added support for InsetText.
16362         (tripleClick): ditto
16363
16364         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16365
16366         * BufferView_pimpl.C (update): added LyXText param to honor insets.
16367
16368         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16369
16370         * text2.C (SetSelection): set correct update status if inset_owner
16371         (ToggleFree): ditto
16372
16373 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
16374
16375         * tabular.C: remove some commented code.
16376
16377 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
16378
16379         * BufferView_pimpl.C: call hideSplash()
16380
16381         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16382
16383         * include_form.h:
16384         * bibforms.h: remove
16385
16386         * lyxfunc.C:
16387         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16388           add LFUN_CHILD_CREATE
16389
16390         * counters.h: fix tiny typo
16391
16392         * lyx_cb.C:
16393         * lyx.h:
16394         * lyx_gui.C:
16395         * lyx.C: move splash to frontends/xforms/
16396
16397         * lyx_gui_misc.C: move Include and Bibform to frontends
16398
16399         * lyxvc.h: clarify comment
16400
16401         * vspace.C: tiny housekeeping
16402
16403 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
16404
16405         * text.C (PrepareToPrint): RTL Fix.
16406
16407         * paragraph.C (GetUChar): New method.
16408         (String):  Use GetUChar.
16409
16410         * buffer.C (asciiParagraph): Use GetUChar.
16411
16412 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
16413
16414         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16415
16416 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
16417
16418         * buffer.h:
16419         * buffer.C: rename to getLogName(), handle
16420           build log / latex log nicely
16421
16422 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16423
16424         * MenuBackend.C:
16425         * MenuBackend.h: remove support for reference menuitem type.
16426
16427 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
16428
16429         * BufferView_pimpl.C: housekeeping
16430         * BufferView_pimpl.h:
16431         * LyXView.h:
16432         * Makefile.am:
16433         * Timeout.C:
16434         * Timeout.h:
16435         * minibuffer.h: move Timeout GUI-I
16436
16437 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
16438
16439         * lyxrc.C (read): Update converters data-structures.
16440
16441 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
16442
16443         * LaTeX.h (operator!=): add operator != for Aux_Info
16444
16445 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
16446
16447         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16448
16449         * LaTeXLog.C: deleted, useful code moved to Buffer
16450
16451         * buffer.h:
16452         * buffer.C: new function getLatexLogName()
16453
16454         * lyx_gui_misc.C:
16455         * lyx_gui.C:
16456         * lyxvc.C:
16457         * lyxvc.h:
16458         * lyxfunc.C: use frontends for LaTeX and VC logs
16459
16460 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16461
16462         * LaTeX.h: yet another std:: that Allan forgot.
16463
16464         * Variables.C (set): renamed from isset(), because this clashes
16465         with some HP-UX macros (grr).
16466
16467 2001-02-06  Allan Rae  <rae@lyx.org>
16468
16469         * LaTeX.h: Another bug fix.  Missing std:: this time.
16470
16471 2001-02-04  Allan Rae  <rae@lyx.org>
16472
16473         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16474         floats problem. I've left it commented out because it's not quite
16475         correct.  It should also test that the current object is a table or
16476         figure inset.  But I haven't gotten around to figuring out how to do
16477         that.  I *think* it'll be something like: "table" == inset.type()
16478
16479         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16480         bool.
16481
16482 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
16483
16484         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16485         all the citation/databases/styles in the auxilary file.
16486         (run): Rerun latex if there was a babel language error.
16487
16488 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
16489
16490         * text.C (Backspace): Preserve the font when changing newline char
16491         with a space.
16492         (BreakParagraph): If the cursor is before a space, delete the space.
16493
16494         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16495
16496 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
16497
16498         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16499         new argument (code).
16500         (ChangeCitationsIfUnique): New method.
16501
16502         * paragraph.C (GetPositionOfInset): Handle bibkey.
16503
16504 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16505
16506         * BufferView_pimpl.h: change type of Position::par_pos to
16507         LyXParagraph::size_type.
16508
16509 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
16510
16511         * BufferView_pimpl.C (savePosition, restorePosition): Write
16512         messages to minibuffer.
16513
16514 2001-01-28  José Matos  <jamatos@fep.up.pt>
16515
16516         * buffer.C (makeDocBookFile): adds support for document language.
16517         A silly restriction on the name of LatexCommand types where removed.
16518         Added support for CDATA sections, allows to chars unescaped, used
16519         among others in code, to avoid escape < and >.
16520
16521 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16522
16523         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16524         saved positions instrad of a stack. Furthermore, a position is
16525         stored using paragraph id/paragraph position.
16526
16527         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16528         Remove LFUN_REF_BACK.
16529
16530 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16531
16532         * converter.C (dvipdfm_options): New method.
16533
16534 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
16535
16536         * vspace.C (isValidLength): Fix for empty input string.
16537
16538 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16539
16540         * LyXAction.C (init): change description of LFUN_FIGURE to
16541         "Insert Graphics"
16542
16543 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16544
16545         * LaTeX.C: add using directive
16546
16547 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16548
16549         * MenuBackend.C (expand): Fix the sorting of the formats.
16550
16551 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
16552
16553         * lyx_main.C: tiny error message fix
16554
16555 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16556
16557         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16558         calling fl_initialize(). This fixes the problem with ',' as
16559         decimal separator in text files.
16560
16561 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16562
16563         * trans.C (process): Fix the keymap bug.
16564
16565 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
16566
16567         * LaTeX.C (scanAuxFiles): New method. Provides support for
16568         multiple bibliographies (when using the bibtopic/bibunits pacakges).
16569         (scanLogFile) Scan for "run BibTeX" messages.
16570
16571         * buffer.C (makeLaTeXFile): Do not load the ae package when using
16572         OT1 font encoding. Also, load the aecompl package if the ae
16573         package is loaded.
16574
16575         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16576
16577 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16578
16579         * texrow.C (increasePos): turn two error messages into debug
16580         messages.
16581
16582 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
16583
16584         * LaTeX.C (scanAux): Handle the \@input macro.
16585         (runBibTeX): Use scanAux().
16586
16587         * language.C (latex_options_): New field.
16588
16589         * LaTeXFeatures.C (getMacros): Add language macros.
16590
16591         * buffer.C (makeLaTeXFile): Small fix.
16592
16593 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16594
16595         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16596
16597         * text2.C: add a using directive.
16598
16599 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
16600
16601         * BufferView2.C:
16602         * lyx_gui_misc.h:
16603         * lyxfr1.C:
16604         * lyxfunc.C: kill LyXBell.
16605
16606 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
16607
16608         * text.C (IsBoundary): Remove the error message
16609
16610         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16611
16612         * lyxrc.C (setDefaults): Correct initialization value for
16613         font_norm_type.
16614
16615 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
16616
16617         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16618         gotoError().
16619
16620         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16621         and GotoNextNote().
16622
16623         * src/LyXAction.C: Added reference-next.
16624
16625         * text.C (InsertChar): Use contains instead of strchr.
16626
16627         * lyx_cb.C (MenuInsertLabel): Enable default value code.
16628
16629 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
16630
16631         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16632         alignment commands (when needed).
16633
16634         * text.C (InsertChar): Add ':' to number separator chars.