]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
861fdf51a586a051a5054f4296e6ac189e7a2eab
[lyx.git] / src / ChangeLog
1 2004-11-25  Angus Leeming  <leeming@lyx.org>
2
3         * BufferView_pimpl.C:
4         * lyx_cb.C:
5         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
6
7 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
8
9         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
10         call BufferView::getStatus if LCursor::getStatus did nothing
11         (setStatusMessage, getStatusMessage): removed.
12
13         * FuncStatus.C (message): new methods. Used to provide an error
14         message indicating why a command is disabled.
15         (clear, |=, FuncStatus): update for message.
16         
17 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
18
19         * lyxfunc.C (dispatch): always call sendDispatchMessage
20         
21 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
22
23         * BufferView.C:
24         * BufferView_pimpl.C:
25         * CutAndPaste.C:
26         * FontIterator.C:
27         * buffer.C:
28         * cursor.C:
29         * cursor_slice.[Ch]:
30         * dociterator.[Ch]:
31         * lyxfind.C:
32         * paragraph_funcs.C:
33         * pariterator.C:
34         * rowpainter.C:
35         * text.C:
36         * text2.C:
37         * text3.C:
38         * undo.C: par->pit renaming
39
40
41 2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
42
43         * tabular.C (cellstruct): use initialization, store a shared_ptr
44         to insettext instead of the insettext directly, adjust to fit.
45         (operator=):  new function
46         (swap): new function
47         (rowstruct): use initialization
48         (columnstruct): use initialization
49         (ltType): use initialization
50         
51
52         * lyxlength.h (swap): new function 
53
54         * LColor.[Ch] (operator=): use the common semantics 
55
56 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
57
58         * lyxfind.C (findNextChange): update the bufferview after setting
59         the selection.
60
61 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
62
63         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
64         number of InsetOptArgs has already been inserted.
65
66         * output_latex.C (latexOptArgInsets): new method. This outputs all
67         the optarg insets, up to the limit defined in the layout file.
68         (optArgInset): removed
69         (TeXOnePar): call latexOptArgInsets; correctly update texrow
70
71 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
72
73         * paragraph.C (isLetter): remove special spellchecker-related
74         code; return true also for digits
75         (isWord, isKomma): remove
76
77         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
78         * lyxfind.C (MatchString()): use isLetter instead of isWord
79
80 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
81
82         * pariterator.h (operatir=): comment out un-implemented member
83         function.
84
85         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
86         static cast.
87
88 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
89
90         * lyxfont.h: include LColor.h to satisfy concept checks.
91
92 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
93
94         * pariterator.h: add typdefs for value_type, difference_type,
95         pointer and reference to satisfy concept checks. Also add default
96         constructor for same reason.
97
98         * pariterator.C (operator++): add post-increment operator to
99         satisfy concept checks.
100
101         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
102         checks.
103
104         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
105
106         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
107         checks. Also rename base_type to BaseType to follow naming
108         standard better.
109
110         * FloatList.h: include Floating.h to satisfy concept checks.
111
112 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
113
114         * lyxfunc.C (getStatus): when the origin of the request is menu or
115         toolbar, and the LyXView does not have focus, do as if there was
116         no buffer (bug 1720)
117
118         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
119         FuncRequest to individual entries of LFUN_SEQUENCE
120
121 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
122
123         * output_latex.C (TeXOnePar): override runparams.moving_arg
124         according to the needprotect value of the current paragraph (bug
125         1739)
126
127         * paragraph.C (simpleTeXOnePar): no need to override
128         runparams.moving_args here
129
130 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
131
132         * vspace.C: fix off-by-one-error, related to fix #1682
133
134 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
135
136         * lengthcommon.C: a more general fix for bug 1682
137
138 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
139
140         * text.C (backspace): fix crash
141
142 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
143
144         * format.[Ch] (getFormatFromFile): new method
145         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
146
147 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
148
149         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
150
151 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
152
153         * lyxfunc.C (dispatch): remove the verbose argument
154         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
155         instead
156
157         * kbmap.C (defkey): set the origin of func to KEYBOARD
158
159         * MenuBackend.C (MenuItem):
160         * ToolbarBackend.C (add): set the origin of func to UI
161
162         * funcrequest.[Ch]: add origin member, which indicates which part
163         of LyX requests an action
164
165 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
166
167         * converter.C (move): don't lie in the error message
168         * converter.h (isReachable, move): document
169
170 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
171
172         * buffer.C: remove unused using lyx::support::atoi
173         * paragraph_funcs.C: ditto
174
175 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
176
177         * bufferlist.C (exists): use bind and equal_to instead of
178         compare_memfun
179         (getBuffer): ditto
180         * lyxtextclasslist.C (NumberOfClass): ditto
181
182         * cursor.C (insert): use for_each instead of explicit for loop
183
184         * bufferlist.C (getFileNames): use std::transform and
185         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
186
187         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
188         for loop
189
190         * buffer.C (changeLanguage): use for_each instead of explicit for
191         loop
192         (hasParWithID): implement using getParFromID
193
194         * LaTeXFeatures.C: ws change only
195
196         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
197         to cleanup a bit.
198
199         * BufferView_pimpl.C (trackChanges): use for_each instead of
200         expilicit for loop
201
202 2004-11-04  André Pönitz  <poenitz@gmx.net>
203
204         * undo.h:
205         * undo.C (textUndoOrRedo): fix crash when creating undo information.
206
207         * dociterator.C (asDocIterator): use hard assert again.
208
209 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
210
211         * lyxlength.C (asLatexString): rewrite so that it does not use
212         snprintf anymore
213
214 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
215
216         * text3.C (specialChar, dispatch): make sure cursor moves to the
217         right after inserting an inset
218
219 2004-11-02  José Matos  <jamatos@lyx.org>
220
221         * output_docbook.C (docbook):
222         * paragraph.C (getID):
223         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
224         garantee that the output is always legal.
225
226         * tabular.C (docbook):
227         * outputprams.[Ch]: remove mixed contents.
228
229 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
230
231         * text2.C (setCounter): prevent endless loop
232
233 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
234
235         * exporter.C (copyFile): use the mover instead of support::copy()
236         * exporter.C (Export): pass format and latex name to copyFile()
237         * exporter.h (addExternalFile): document
238         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
239
240 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
241
242         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
243
244 2004-10-30  José Matos  <jamatos@lyx.org>
245
246         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
247         text and no inset or font change. This allows to use CDATA
248         sections just for the whole paragraph.
249
250 2004-10-30  José Matos  <jamatos@lyx.org>
251
252         * paragraph.C (getFirstWord): remove unused variable.
253
254 2004-10-30  José Matos  <jamatos@lyx.org>
255
256         * paragraph.C (getFirstWord): the content should always be escaped
257         there.
258         (simpleDocBookOnePar):
259         * output_docbook.C (makeEnvironment): replace reference to CDATA
260         to style pass_thru.
261
262 2004-10-30  José Matos  <jamatos@lyx.org>
263
264         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
265
266 2004-10-30  José Matos  <jamatos@lyx.org>
267
268         * output_docbook.C (makeParagraphs):
269         * paragraph.[Ch] (emptyTag): for docbook and company, if the
270         standard paragraph has only a given type of content drop the wrapper.
271
272 2004-10-29  José Matos  <jamatos@lyx.org>
273
274         * output_docbook.C (makeEnvironment):
275         * sgml.C (openTag):
276         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
277
278 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
279
280         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
281         (cleanID): sanitize any id.
282
283 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
284
285         * buffer.C, lyxlex_pimpl.C:
286         * lyxlex_pimpl.C (setFile):
287         s/getExtFromContents/getFormatFromContents/
288
289 2004-10-28  José Matos  <jamatos@lyx.org>
290
291         * output_docbook.C (makeEnvironment): move id to broadest possible
292         scope.
293
294         * sgml.C (openTag): apply substitution of <> for all attributes.
295
296 2004-10-28  José Matos  <jamatos@lyx.org>
297
298         * buffer.C (makeLinuxDocFile, makeDocBookFile):
299         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
300         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
301
302         * sgml.[Ch]: new version for open and closeTag for paragraph and
303         for strings. Now they handle the ids of paragraphs.
304
305 2004-10-26  Angus Leeming  <leeming@lyx.org>
306
307         * Makefile.am: add mover.[Ch].
308
309         * converter.C (convert, move): use the new Movers to move external
310         files to the temp directory.
311
312         * lyx_main.C (init): ensure that the global system_movers data
313         is initialised.
314
315         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
316         preferences file.
317
318         * mover.[Ch]: new files, defining a Mover as a utility to move an
319         external file between directories and, if necessary, manipulate this
320         file using a helper script.
321
322 2004-10-25  José Matos  <jamatos@lyx.org>
323
324         * output_docbook.C (makeCommand): merge two if's that tested the
325         same condition.
326
327 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
328
329         * sgml.C (escapeString): fix warning in a better way
330
331 2004-10-25  José Matos  <jamatos@lyx.org>
332
333         * sgml.C (escapeString): import the require boosts header file for
334         tie, and avoid a signed unsigned comparison.
335
336 2004-10-25  José Matos  <jamatos@lyx.org>
337
338         * sgml.h: add #include <string>
339
340 2004-10-25  José Matos  <jamatos@lyx.org>
341
342         * sgml.[Ch] (escapeString): new function to escape all the string.
343
344 2004-10-24  José Matos  <jamatos@lyx.org>
345
346         * paragraph.[Ch] (getFirstWord): new function to get the first
347         word. Useful for description.
348         (simpleDocBookOnePar): remove depth argument, add another that
349         says where to start the paragraph.
350
351         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
352         use the new functions to fix cleanly the support for descriptions.
353
354 2004-10-24  José Matos  <jamatos@lyx.org>
355
356         * buffer.C (makeLinuxDocFile, makeDocBookFile):
357         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
358         * output_linuxdoc.C (linuxdocParagraphs):
359         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
360         add buffer as argument.
361
362 2004-10-24  José Matos  <jamatos@lyx.org>
363
364         * output_docbook.C (makeEnvironment, searchEnvironment): place
365         CDATA inside paragraphs and fix scope for listitems.
366
367 2004-10-24  José Matos  <jamatos@lyx.org>
368
369         * output_docbook.C: remove using statement for stack.
370
371 2004-10-23  José Matos  <jamatos@lyx.org>
372
373         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
374         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
375         docbook. The new scheme is recursive and makes use of iterators, the
376         same as latex export works.
377         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
378         directly with the paragraph contents. This code was moved up to
379         output_docbook.C (docbookParagraphs).
380         * sgml.C (openTag, closeTag): removed unneeded newlines.
381         (closeEnvTags) removed.
382
383 2004-10-23  André Pönitz  <poenitz@gmx.net>
384
385         * undo.C (textUndoOrRedo):
386         * dociterator.C (asDocIterator): work around crash
387
388         * cursor.C (getStatus): replace ASSERT by more verbose error message
389           and manual correction of the problem. Should increase stability
390           while providing more sensible information.
391
392 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
393
394         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
395
396         * bufferlist.C (previous, next): new methods
397
398         * lfuns.h:
399         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
400
401 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
402
403         * buffer.C (makeDocBookFile): add dsssl stylesheet control
404         entities to preamble.
405
406 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
407
408         * messages.C (Pimpl): strip off translation context information
409
410 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
411
412         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
413         the cursor is correct (bug 1694)
414
415 2004-10-13  José Matos  <jamatos@lyx.org>
416
417         * output_docbook.C (docbookParagraphs): fix closing tags in the
418         end of the document.
419
420 2004-10-09  José Matos  <jamatos@lyx.org>
421
422         * buffer.C: format up to 237.
423         * bufferparams.C (write): use tostr to convert booleans to strings.
424
425 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
426
427         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
428
429 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
430
431         * LaTeX.C: implement use of babel language in xindy.
432
433 2004-10-05  José Matos  <jamatos@lyx.org>
434
435         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
436         Add new translators to help reading and writing the lyx file.
437
438 2004-10-05  José Matos  <jamatos@lyx.org>
439
440         * ParagraphParameters.C (read):
441         * text.C (readParToken): replace nexToken by more appropriate lex
442         methods.
443
444 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
445
446         * LaTeX.C (runMakeIndex):
447         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
448         (usually 'makeindex') configurable.
449
450         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
451         with a variable rather than with a number.
452
453 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
454
455         * output_latex.C (TeXOnePar): make sure font setting is the first
456         thing that gets output (and the last at the end). Should fix bug
457         1404.
458
459 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
460
461         * pch.h: use proper signal include
462
463         * LaTeX.h: Use preferred calling of Boost.Signal
464         * buffer.h: ditto
465
466 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
467
468         * pch.h: dont include <boost/function/function0.hpp>
469
470         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
471
472         * paragraph_pimpl.h: remove usage of ShareContainer
473
474         * paragraph_pimpl.C: remove initialization of ShareContainer.
475
476 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
477
478         Fix bug #1666
479
480         * BufferView.C (putSelectionAt): change the semantics when
481         backwards == true: now, this just swaps cursor and anchor wrt the
482         forward case
483
484         * BufferView.h (putSelectionAt): add some documentation
485
486         * lyxfind.C (findBackwards): rewrite using while(). In particular,
487         make sure backwardChar is done at least once (to avoid getting
488         stuck)
489         (findNextChange): use putSelectionAt in the forward direction
490         (operator()): use Paragraph::isWord
491
492 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
493
494         * Spacing.C (set): c_str fix
495
496 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
497
498         * lyx_cb.C (Reconfigure): quote the name of configure script in
499         case it contains spaces
500
501 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
502
503         * client: new dir
504
505         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
506         (BOOST_LIBS): use top_buildir when looking for the file
507
508 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
509
510         * pch.h: do not use include boost/format.hpp, multiple symbols
511                 will result (gcc bug)
512
513
514 2004-08-23  José Matos  <jamatos@lyx.org>
515
516         * bufferparams.C (readToken): fix reading of the author field.
517
518 2004-08-20  José Matos  <jamatos@lyx.org>
519
520         * lyxrc.C: remove support/translator.h inclusion since it is not used.
521
522 2004-08-20  José Matos  <jamatos@lyx.org>
523
524         * lyxlex.[Ch] (findToken): remove function.
525
526         * ParagraphParameters.C (findToken):
527         * bufferparams.C (findToken): replace call for previous function
528         with local copy. This local function has one more argument, the
529         read string argument.
530
531 2004-08-16  José Matos  <jamatos@lyx.org>
532
533         * ParagraphParameters.C (write):
534         * Spacing.C (writeFile):
535         * bufferparams.C (writeLaTeX):
536         * lyx_cb.C (Reconfigure):
537         * paragraph.C (write):
538         * tabular.C (write): remove unnecessary space at end of line.
539
540
541 2004-08-16  José Matos  <jamatos@lyx.org>
542
543         * text.C (readParagraph): remove debug message.
544
545 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
546
547         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
548         crash
549
550         * output_plaintext.C (asciiParagraph): set depth correctly
551
552         * outputparams.h: add member depth
553
554         * paragraph_funcs.C (ownerPar): remove.
555
556         * text2.C (setCounter): remove first_pit; comment out some
557         non-working code that uses ownerPar
558
559         * BufferView.C (getParentLanguage): remove. Not used anymore, and
560         uses ownerPar
561
562 2004-08-16  José Matos  <jamatos@lyx.org>
563
564         * text.C (readParToken, readParagraph, read): report all unknown tokens.
565         For the same level of importance use the same chanel to report problems.
566         (read): add code to deal with \begin_body and \end_body.
567
568
569 2004-08-15  José Matos  <jamatos@lyx.org>
570
571         * lyxlex.C (getString): fix comment, buffer::readBody is now
572         buffer:readDocument.
573
574         * tex-strings.C (string_papersize): Default -> default,
575         Custom -> custom, for consistency with other options.
576
577 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
578
579         * pch.h: new file
580
581         * Makefile.am: support pch
582
583 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
584
585         * text.C (readParToken): remove the static LyXFont variable and
586         pass it as a parameter instead. This fixes a nasty bug where an
587         inset will be inserted with a bad font in some situations
588         (readParagraph): adapt
589
590         * text2.C (setCounter): reduce number of calls to pars_[pit]
591
592         * text.C (singleWidth): add an assert, fix a test
593
594         * rowpainter.C (paintText): reduce number of calls to singleWidth
595
596         * paragraph.C (isHfill):
597         (isNewline): ws only
598
599 2004-08-14  André Pönitz  <poenitz@gmx.net>
600
601         * text.C:
602         * text2.C:
603         * rowpainter.C:
604         * lyxtext.h (several functions): use a Paragraph & argument
605         instead of par_type
606
607 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
608
609         * metricsinfo.h: add a new field ltr_pos to PainterInfo
610
611         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
612
613         * text.C (singleWidth): remove useless test
614
615 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
616
617         * tabular.h: remove bogus comments
618
619         * tabular.C (getDescentOfRow):
620         (isPartOfMultiColumn): add assertions
621
622         * lyxlength.C (inPixels): remove #warning
623
624 2004-08-14  André Pönitz  <poenitz@gmx.net>
625
626         * paragraph.h: inline getChar()
627
628         * BufferView.h: remove unused declarations
629
630 2004-08-14  José Matos  <jamatos@lyx.org>
631
632         * Buffer.[Ch] (readDocument): new name for old readBody.
633         * Buffer.C: new file format, new keywords: \begin_document,
634         \begin_header, \begin_body, \end_body.
635
636         * bufferparams.C (readToken): replace all calls to lex.nextToken
637         by lex.next(). Do the same to eatLine except where really needed.
638
639         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
640         line when writing to the lyx file.
641
642         * output_plaintext.C (asciiParagraph): fix Bibliography style
643         handling.
644
645         * text.C (read): fix end of file handling.
646
647 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
648
649         * MenuBackend.C (Menu::operator[]): new method to access
650         individual menu items
651         (Menu::hasFunc): new method. search for an item that corresponds
652         to a given func
653         (MenuBackend::specialMenu): new method
654         (MenuBackend::expand): if a special menu has been set, skip
655         entries whose func() appears in this menu
656
657 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
658
659         * text3.C: use Debug::DEBUG a bit more
660
661         * text.C (leftMargin): try to simplify a tiny bit change var x to
662         l_margin. Dont output the wide margins always.
663         (rightMargin): no margin in inner texts
664
665         * rowpainter.h (nestMargin): new func
666         (changebarMargin): new func
667         (rightMargin): new func
668
669         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
670         now functions.
671         (paintLast): ditto
672
673         * factory.C (createInset): modify setDrawFrame
674
675         * cursor.C: use Debug::DEBUG a bit more
676
677 2004-08-14  André Pönitz  <poenitz@gmx.net>
678
679         * coordcache.[Ch]:
680         * Makefile.am: new files to accomodate an 'external' (x,y)-position
681         cache for all insets in (at least partially) visible (top-level)
682         paragraphs.
683
684         * BufferView_pimpl.C: reset external coord cache before every update.
685         This means the coord cache only contains valid entries.
686
687 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
688
689         bug 1096
690         * BufferView_pimpl.C (getInsetByCode): move function out of class
691         and change in to a template in anon namespace. Also fix to do what
692         suits us better.
693
694 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
695
696         bug 1305
697         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
698         of char
699         (breakParagraph): rename par to par_offset and use a local
700         reference. Add code to keep the language over a rebreak.
701         (breakParagraphConservative): rename par to par_offset, use a
702         local reference
703         (mergeParagraph): ditto
704         (outerHook): ditto
705         (isFirstInSequence): ditto
706         (outerFont): rename pit to par_offset
707
708         * paragraph.C: ws change
709         * paragraph.h: ditto
710         * text3.C: ditto
711         * text.C: ditto
712
713 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
714
715         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
716         treatment for ']'
717
718         * paragraph.C (simpleTeXOnePar): when we have a \item with
719         optional argument, enclose the argument with curly brackets (in
720         case it contains a closing square bracket)
721
722         * text2.C (editXY):
723         * text2.C (editXY):
724         * text3.C (checkInsetHit): constify
725
726 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
727
728         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
729         documents (bug 1629)
730
731 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
732
733         Fix toggling of collapsable insets with the mouse (bug 1558)
734
735         * lyxfunc.C (dispatch): adapt to LCursor changes
736
737         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
738         make sure that dispatch is not invoked twice
739
740         * cursor.C (needsUpdate): new method
741         (dispatch): return void
742         (result): new method, to access the DispatchResult of the cursor.
743
744 2004-08-13  José Matos  <jamatos@lyx.org>
745
746         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
747
748 2004-08-13  André Pönitz  <poenitz@gmx.net>
749
750         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
751
752         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
753           multiple cells
754
755 2004-08-12  André Pönitz  <poenitz@gmx.net>
756
757         * text3.C: take out the 'cursor right' form insertInset and only
758         do it in those places when it is really needed. Fixes crash on
759         C-m...
760
761 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
762
763         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
764
765         * BufferView_pimpl.C (setBuffer): initialize the current font of
766         the underlying LyXText
767
768 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
769
770         * kbsequence.C (print): use UI native formatting for menu
771         shortcuts
772
773         * text.C (insertChar): call Paragraph::insertChar with a font
774         argument (cosmetic)
775
776         * paragraph.C (insertInset, insertChar): the version that takes a
777         LyXFont argument is now a wrapper around the other one (the
778         opposite used to be true).
779
780         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
781         argument. Font setting is done in Paragraph now.
782
783 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
784
785         * outputparams.h: add new members intitle and lang.
786
787         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
788         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
789
790 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
791
792         * text3.C (dispatch): remove special handling of button 4 and 5,
793         it is now taken care of in the frontend code.
794
795 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
796
797         * Spacing.h: add <string> (STLPort compile fix)
798
799 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
800
801         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
802
803 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
804
805         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
806         to bool.
807
808         * converter.C (showMessage): inherit from unary_function, make
809         operator() const.
810
811         * buffer.C (writeFile): initialize retval
812
813         * InsetList.h: rename private variable list to list_
814         * InsetList.[Ch]: adjust accordingly.
815
816 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
817
818         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
819         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
820         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
821         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
822         * ParagraphParameters.C, LaTeXFeatures.C: replace
823         "support/std_sstream.h" with <sstream>
824
825 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
826
827         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
828         * lyxsocket.C (LyXServerSocket): ditto
829         (serverCallback): ditto
830
831 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
832
833         * LaTeXFeatures.C: check release date when loading jurabib.
834
835 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
836
837         * lyxserver.C (startPipe): call register_socket_callback
838         (endPipe): call unregister_socket_callback
839
840 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
841
842         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
843         (LyXServerSocket): register the callback
844         (LyXServerSocket): unregister the callback
845         (fd): delete function
846         (serverCallback): improve error checking and setup the callbacks.
847         (dataCallback): change arg to fd.
848         (writeln): new func (copied fro the client socket) used for server
849         write to client.
850         (LyXDataSocket): simplify
851         (~LyXDataSocket): close ann unregiser callback
852         (server): delete function
853         (fd): delete function
854         (readln): small changes, improve some std::string usage
855         (writeln): constify a bit
856
857 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
858
859         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
860         Qt frontend
861
862 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
863
864         * BufferView_pimpl.C (setBuffer): set the layout combox value only
865         after it has been populated
866
867 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
868
869         * text2.C (insertInset): move cursor when inserting inset.
870
871 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
872
873         * kbmap.C (findbindings): a couple of new methods. returns a
874         container of kb_sequence objects. The real work is done by the
875         private recursive version
876         (printbindings): uses findbindings to print out a bracketed list
877         of bindings (renamed from findbinding).
878
879         * MenuBackend.C (binding): use kb_keymap::findbindings
880
881         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
882
883 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
884
885         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
886
887 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
888
889         * paragraph.C (isWord): return true on insets that report
890         isLetter().
891
892         * text.C (getWord): use Paragraph::isWord to decide what is in a
893         word and what is not; fix bug 1609.
894
895 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
896
897         * tex-strings.C: add "none" to string_paperpackages[], fixes
898         off-by-one-error in the paperpackage selection.
899
900         * lyxlex.[Ch]:
901         * tex-strings.[Ch]: char const * string[n]
902         -> char const * const string[]
903
904 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
905
906         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
907         command, return early.
908
909 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
910
911         * debug.h: add DEBUG to enum and fix size of ANY.
912
913         * debug.C: add support for Debug::DEBUG
914         (showTags): cast errorTags.level to unsigned int
915
916         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
917         (redoCurrentBuffer): ditto
918         (updateScrollbar): ditto
919         * cursor.C (dispatch): ditto
920         * text2.C (setLayout): ditto
921         (setFont): ditto
922         (updateCounters): ditto
923         (editXY): ditto
924         (deleteEmptyParagraphMechanism): ditto
925
926 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
927
928         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
929         annotations to cleanup the Makefile slightly.
930
931 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
932
933         * lyxrc.C: do not set user_email to a default value but use empty
934         instead. The entry used to be translated, which does not work
935         since at the point where lyxrc is constructed there is no
936         translation service available
937
938         * messages.C (getLocaleDir): remove and use directly
939         lyx_localedir() instead
940
941 2004-06-02  Angus Leeming  <leeming@lyx.org>
942
943         Fix crash caused by dereferencing null pointer 'exportdata' in
944         OutputParams by creating a new ExportData variable on the heap,
945         storing it in a boost::shared_ptr.
946         The crash was triggered when generating an Instant Preview
947         of an external inset.
948
949         * Makefile.am: add outputparams.C
950
951         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
952         (c-tor): allocate memory to it.
953
954         * exporter.C (c-tor): associated changes.
955
956 2004-06-01  Angus Leeming  <leeming@lyx.org>
957
958         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
959         contains data before calling isInset(0). (Bug 1513.)
960
961 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
962
963         * exporter.C (checkOverwrite): new method
964         * exporter.C (copyFile): new method
965         * exporter.C (Export): copy referenced files to the document dir
966         * exporter.[Ch]: new class ExportedFile
967         * exporter.[Ch]: new class ExportData. Contains currently the
968         names of referenced external files
969         * outputparams.h: add exportdata member.
970
971 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
972
973         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
974         version.C-tmp
975
976 2004-05-19  Angus Leeming  <leeming@lyx.org>
977
978         * LaTeXFeatures.C:
979         * ToolbarBackend.C:
980         * bufferparams.C:
981         * lyxfunc.C: small changes due to the introduction of namespace
982         lyx::frontend and the moving of namespace biblio to lyx::biblio.
983
984 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
985
986         * text3.C (dispatch): supress update when only moving the cursor
987         * cursor.C (selHandle): remove commented code
988
989 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
990
991         * paragraph.C (startTeXParParams): correct column count
992         * CutAndPaste.C (pasteSelection): remove const_cast
993         * output_docbook.C (docbookParagraphs): remove const_cast
994         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
995         const_cast and return ParagraphList::const_iterator
996         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
997         * output_plaintext.C (writeFileAscii): remove const_cast
998         * paragraph.[Ch] (simpleTeXOnePar): make const
999         * paragraph_funcs.C (outerPar): use const iterators
1000         * paragraph_pimpl.C (validate): use const iterators
1001         * text.C (setHeightOfRow): use const iterators
1002
1003 2004-05-17  Angus Leeming  <leeming@lyx.org>
1004
1005         * lfuns.h:
1006         * LyXAction.C (init): new LFUN_INSET_REFRESH.
1007
1008         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1009         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1010         if the citation engine has changed.
1011
1012 2004-05-14  José Matos  <jamatos@lyx.org>
1013
1014         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1015         if the textclass does not provide it. Have it different for sgml and
1016         xml.
1017         support the language of document.
1018         * output_docbook.C (docbookParagraphs):
1019         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1020         first anchor as the id of the paragraph, remove special case code.
1021         * sgml.C (escapeChar): escape only < & >.
1022
1023 2004-05-14  Angus Leeming  <leeming@lyx.org>
1024
1025         * bufferparams.h: move biblio::CiteEngine enum here to minimize
1026         dependencies on src/frontends/controllers/biblio.h. Define a
1027         CiteEngine_enum wrapper class to enable the enum to be forward
1028         declared.
1029
1030 2004-05-12  Angus Leeming  <leeming@lyx.org>
1031
1032         * buffer.C: up LYX_FORMAT to 234.
1033         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1034         use_numerical_citations with a single biblio::CiteEngine cite_engine
1035         variable.
1036         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1037
1038 2004-05-13  José Matos  <jamatos@lyx.org>
1039
1040         * converter.h:
1041         * converter.C (Converter, readFlags): add xml member.
1042         * outputparams.h: add XML flavor.
1043         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1044
1045 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1046
1047         * lyxfunc.C (dispatch):
1048         (getStatus): fix handling of LFUN_SEQUENCE
1049
1050 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1051
1052         * debug.C (showLevel): do not forget the end-of-line marker
1053
1054 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1055
1056         * kbmap.C (read): do not stop parsing a bind file when an error
1057         occurs (bug 1575)
1058
1059 2004-04-29  Angus Leeming  <leeming@lyx.org>
1060
1061         * cursor.C:
1062         * factory.C:
1063         * pariterator.C:
1064         * text2.C: wrap a bunch of #warning statements
1065         inside #ifdef WITH_WARNINGS blocks.
1066
1067 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1068
1069         * buffer.C: increment format to 233.
1070
1071 2004-04-28  Angus Leeming  <leeming@lyx.org>
1072
1073         * BufferView_pimpl.C:
1074         * lyxfunc.C:
1075         * text3.C:
1076         s/updateToolbar()/updateToolbars()/
1077         s/Toolbar.h/Toolbars.h/
1078
1079 2004-04-28  Angus Leeming  <leeming@lyx.org>
1080
1081         * BufferView.[Ch] (c-tor):
1082         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1083         No longer passes these data to the WorkArea generator.
1084
1085 2004-04-28  Angus Leeming  <leeming@lyx.org>
1086
1087         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1088
1089 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1090
1091         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1092
1093 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1094
1095         * output_latex.C (TeXEnvironment): make sure that there is a line
1096         break before \end{foo} for the last paragraph of a document
1097         (TeXOnePar): if the paragraph is at the end of the document (or
1098         inset) and the language has to be reset, then make sure that the
1099         line break is _before_ the language command, not after (fixes bug
1100         1225); also make sure that the language reset command is the first
1101         thing after the paragraph (to ensure proper nesting of
1102         environments and thus fix bug 1404)
1103
1104 2004-04-21  John Levon  <levon@movementarian.org>
1105
1106         * ToolbarBackend.h:
1107         * ToolbarBackend.C: make "name" be a programmatic name
1108         and a gui_name field.
1109
1110         * lyxfunc.C: display the minibuffer on M-x
1111
1112 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1113
1114         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1115         (bug 1526)
1116
1117 2004-04-19  Angus Leeming  <leeming@lyx.org>
1118
1119         * BufferView_pimpl.C (setBuffer): changed preview interface.
1120
1121         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1122         possible values.
1123
1124 2004-04-19  John Levon  <levon@movementarian.org>
1125
1126         * BufferView_pimpl.C:
1127         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1128
1129 2004-04-05  Angus Leeming  <leeming@lyx.org>
1130
1131         * text.C (redoParagraphs): add call to updateCounters(), thereby
1132         fixing the missing "Figure #:" label from the caption of a
1133         figure float.
1134
1135 2004-04-13  Angus Leeming  <leeming@lyx.org>
1136
1137         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1138         cursor is clicked out of an inset.
1139
1140 2004-04-13  Angus Leeming  <leeming@lyx.org>
1141
1142         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1143         than an InsetOld one.
1144
1145 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1146
1147         * format.[Ch]: add editor to Format
1148         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1149         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1150
1151 2004-04-08  André Pönitz  <poenitz@gmx.net>
1152
1153         * metricsinfo.h: remove PainterInfo::width member
1154
1155 2004-04-08  Angus Leeming  <leeming@lyx.org>
1156
1157         * lyx_sty.C (boldsymbol_def): modify so that it outputs
1158         "\providecommand" rather than "\newcommand", thereby preventing
1159         clashes with packages that define "\boldsymbol" themselves.
1160         Eg, beamer.
1161
1162 2004-04-08  Angus Leeming  <leeming@lyx.org>
1163
1164         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1165         thereby squashing an unnecessary warning.
1166
1167 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1168
1169         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1170         setBuffer()
1171
1172 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
1173
1174         * BufferView.C (setCursor): call redoParagraph (some insets could
1175         have been opened)
1176         (putSelectionAt): remove the 'double update' trick
1177
1178         * BufferView_pimpl.C (fitCursor): call refreshPar
1179         (workAreaDispatch): remove an uneeded update call
1180         (dispatch): remove some manual update calls
1181
1182         * cursor.[Ch]: remove cached_y_, updatePos
1183         (selHandle): set noUpdate when appropriate
1184
1185         * lyxfunc.C (dispatch): track if we need an update
1186
1187         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1188
1189         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1190         (paintSelection): cheap optimization, do not call cursorX when not
1191         needed
1192         (paintPars): change signature
1193         (refreshPar): add
1194         (paintText): adjust
1195         (paintTextInset): adjust
1196
1197         * text.C: adjust
1198
1199 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1200
1201         * lengthcommon.C: compilation fix: remove explicit array size from
1202         unit_name[] and friends
1203
1204 2004-04-05  Angus Leeming  <leeming@lyx.org>
1205
1206         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1207
1208         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1209         present only for the preferences dialog.
1210         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1211
1212 2004-04-05  Angus Leeming  <leeming@lyx.org>
1213
1214         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1215         to enable the frontends to export changes to lyxrc correctly.
1216
1217         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1218
1219 2004-04-07  André Pönitz  <poenitz@gmx.net>
1220
1221         * cursor.[Ch] (selClear, adjust): remove math
1222
1223         * cursor_slice.C: more agressive assert
1224
1225         * lyxfunc.C:
1226         * BufferView_pimpl.C: rework mouse event dispatch
1227
1228         * dociterator.C:
1229         * paragraph.C:
1230         * text2.C:
1231         * text3.C: adjust
1232
1233 2004-04-05  André Pönitz  <poenitz@gmx.net>
1234
1235         * cursor.[Ch] (valign, halign...): remove unneeded functions
1236
1237 2004-04-05  Angus Leeming  <leeming@lyx.org>
1238
1239         * lyxlength.[Ch] (unit_name et al.): const-correct.
1240
1241 2004-04-05  Angus Leeming  <leeming@lyx.org>
1242
1243         * BufferView_pimpl.C:
1244         * buffer.C:
1245         * counters.C:
1246         * cursor.C:
1247         * lyxfunc.C
1248         * paragraph.C:
1249         * pariterator.C:
1250         * text.C:
1251         * text2.C:
1252         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1253
1254 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1255
1256         * text3.C (getStatus): add LFUN_BEGINNINGBUF
1257
1258 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1259
1260         * lyxfind.C: add a couple of inTexted() tests + other small fixes
1261         * BufferView_pimpl.[Ch] (getStatus)
1262         * BufferView.[Ch] (getStatus): add
1263         * lyxfunc.C (getStatus): move lfuns handled in
1264         BufferView::dispatch to te function above
1265         * Cursor.C (setSelection): set selection() = true
1266
1267 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1268
1269         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1270
1271 2004-03-31  Angus Leeming  <leeming@lyx.org>
1272
1273         * lyxfunc.C (dispatch): Fall through to the generic
1274         Dialogs::show("preamble").
1275
1276 2004-03-31  Angus Leeming  <leeming@lyx.org>
1277
1278         * lyxfunc.C (dispatch): Fall through to the generic
1279         Dialogs::show("spellchecker").
1280
1281 2004-03-31  Angus Leeming  <leeming@lyx.org>
1282
1283         * lyxfunc.C (getStatus, dispatch): changed invocation of the
1284         preferences dialog.
1285
1286 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1287
1288         * BufferView.C
1289         * cursor.[Ch]
1290         * dociterator.[Ch]:
1291         * insetiterator.[Ch]:
1292         * lyxfind.C:
1293         * lyxfunc.C:
1294         * pariterator.[Ch]:
1295         * text2.C:
1296         * undo.[Ch]: s/DocumentIterator/DocIterator/g
1297
1298 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1299
1300         * BufferView.C (setCursor, putSelectionAt): call edit to open the
1301         insets where we are putting the cursor.
1302
1303 2004-03-31  Angus Leeming  <leeming@lyx.org>
1304
1305         * lfuns.h:
1306         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1307
1308         * lyxrc.[Ch] (read, write): overloaded member functions taking
1309         a std::[io]stream arguments.
1310
1311         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1312
1313 2004-03-31  Angus Leeming  <leeming@lyx.org>
1314
1315         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1316         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1317
1318         * lyxtextclass.C (load): if the text class couldn't be loaded, then
1319         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1320
1321 2004-03-31  Angus Leeming  <leeming@lyx.org>
1322
1323         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1324         the LFUN_ALL_INSETS_TOGGLE code.
1325
1326 2004-03-30  Angus Leeming  <leeming@lyx.org>
1327
1328         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1329         has died. Fall through to the generic Dialogs::show("document").
1330
1331 2004-03-30  Angus Leeming  <leeming@lyx.org>
1332
1333         * lfuns.h:
1334         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1335         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1336
1337         * lyxfunc.C (getStatus, dispatch): define the actions for these
1338         lfuns. Little more than a cut and pste job from ControlDocument.C
1339
1340         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1341
1342 2004-03-30  Angus Leeming  <leeming@lyx.org>
1343
1344         * lfuns.h:
1345         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1346         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1347
1348         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1349         open/closed state of ollapsable insets. Usage:
1350
1351         all-inset-toggle <state> <name>, where
1352         <state> == "open" || "closed" || "toggle" and
1353         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1354
1355         * lyxtext.h, text2.C (toggleInset): removed.
1356
1357         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1358         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1359         now passes LFUN_INSET_TOGGLE to the found inset.
1360
1361         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1362         is now invoked as "all-insets-toggle toggle branch".
1363
1364 2004-03-30  Angus Leeming  <leeming@lyx.org>
1365
1366         * dociterator.C:
1367         * insetiterator.C:
1368         * pariterator.[Ch]: added/corrected header blurb.
1369
1370 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
1371
1372         * dociterator.[Ch]: add an inset_ member
1373         (backwardPos): implemented
1374         (backwardPos, forwardPos): use inset_ when the stack is empty.
1375         (doc_iterator_begin, doc_iterator_end): implemented
1376         * pariterator.[Ch]: adjust, add begin, end
1377         * insetiterator.[Ch]: adjust, add begin, end
1378         * cursor.C:
1379         * document.C:
1380         * BufferView.C:
1381         * BufferView_pimpl.C:
1382         * CutAndPaste.C: adjust
1383
1384 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1385
1386         * buffer.C: increment file format to 232.
1387         * LaTeXFeatures.C: add bibtopic package.
1388         * bufferparams.[Ch]: param \use_bibtopic.
1389
1390         * lyxrc.[Ch]: add lyxrc bibtex_command
1391         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1392
1393         * buffer.C: increment file format to 231.
1394
1395 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1396
1397         * dociterator.C: implement forwardPar
1398         * iterators.[Ch]: remove, replaced by
1399         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1400         * BufferView.C:
1401         * BufferView_pimpl.C:
1402         * CutAndPaste.C:
1403         * buffer.C:
1404         * bufferview_funcs.C:
1405         * cursor.C:
1406         * lyxfind.C
1407         * lyxfunc.C
1408         * paragraph_funcs.C
1409         * toc.C:
1410         * Makefile.am: adjust
1411
1412 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1413
1414         * CutAndPaste.C (pasteSelection): fix 2 crashes
1415         (eraseSelection): fix a crash
1416         * paragraph_funcs.C: remove a warning
1417
1418 2004-03-28  Angus Leeming  <leeming@lyx.org>
1419
1420         * lfuns.h:
1421         * LyXAction.C (init): new LFUN_PRINT.
1422
1423         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1424
1425 2004-03-27  Angus Leeming  <leeming@lyx.org>
1426
1427         * lfuns.h:
1428         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1429
1430         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1431
1432 2004-03-27  Angus Leeming  <leeming@lyx.org>
1433
1434         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1435         insetlist always contains non-null pointers to insets.
1436
1437 2004-03-26  Angus Leeming  <leeming@lyx.org>
1438
1439         * src/BufferView_pimpl.C:
1440         * src/CutAndPaste.C:
1441         * src/buffer.C:
1442         * src/iterators.C:
1443         * src/output_plaintext.C:
1444         * src/outputparams.h:
1445         * src/paragraph_funcs.C:
1446         * src/rowpainter.C:
1447         * src/text.C:
1448         * src/text2.C:
1449         * src/frontends/controllers/ControlErrorList.C:
1450         * src/frontends/gtk/FileDialogPrivate.C:
1451         * src/frontends/gtk/GPainter.C:
1452         * src/frontends/gtk/GToolbar.C:
1453         * src/frontends/qt2/QRef.C:
1454         * src/mathed/math_scriptinset.C: squash compiler warnings.
1455
1456 2004-03-26  Angus Leeming  <leeming@lyx.org>
1457
1458         * ispell.C (LaunchIspell::start):
1459         * lyx_cb.C (AutoSaveBuffer::start):
1460         invoke run(DontWait) rather than runNonBlocking().
1461
1462 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
1463
1464         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1465
1466 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1467
1468         * kbsequence.C (print): adjust
1469
1470         * kbmap.C (printKeySym): rename and change signature
1471         (printKey): use LyXKeySym::print()
1472
1473 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
1474
1475         * undo.C: add using std::advance to compile for stlport
1476
1477 2004-03-24  Angus Leeming  <leeming@lyx.org>
1478
1479         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1480         it leads to a crash when no buffer is present.
1481
1482 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1483             Martin Vermeer  <martin.vermeer@hut.fi>
1484
1485         * lyxfunc.C (dispatch):
1486         * bufferparams.C (readToken): use the new LColor::setColor
1487
1488         * LColor.[Ch] (setColor): new version that takes two strings as
1489         argument and creates a new color entry if necessary
1490
1491 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1492
1493         * buffer.C (makeLaTeXFile): if the main latex file that is
1494         processed is usually a subdocument of some master, then pretend
1495         for a while that it is actually the master
1496
1497 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1498
1499         * buffer.C (getLabelList):
1500         (getBibkeyList): use getMasterBuffer()
1501         (getMasterBuffer): new method. Returns the main document in the
1502         case where one is using included documents.
1503
1504 2004-03-25  André Pönitz  <poenitz@gmx.net>
1505
1506         * Makefile.am:
1507         * iterators.[Ch]:
1508         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1509
1510         * ParagraphList_fwd.h: change ParagraphList to a std::vector
1511
1512         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1513         text*.C over here. Rename namespace CutAndPaste to lyx::cap
1514
1515         * ParameterStruct.h: merge with ParagraphParameters
1516
1517         * lyxtext.h: remove LyXText::parOffset() and getPar()
1518
1519         * text3.C: Remove all 'manual' update calls. We do now one per user
1520         interaction which is completely sufficient.
1521
1522         * Bidi.C:
1523         * BufferView.[Ch]:
1524         * BufferView_pimpl.C:
1525         * FontIterator.[Ch]:
1526         * MenuBackend.C:
1527         * ParagraphParameters.[Ch]:
1528         * buffer.C:
1529         * buffer.h:
1530         * bufferlist.C:
1531         * cursor.[Ch]:
1532         * cursor_slice.[Ch]:
1533         * dociterator.[Ch]:
1534         * errorlist.[Ch]:
1535         * factory.C:
1536         * lfuns.h:
1537         * lyxfind.C:
1538         * lyxfunc.C:
1539         * output_docbook.[Ch]:
1540         * output_latex.[Ch]:
1541         * output_linuxdoc.[Ch]:
1542         * output_plaintext.[Ch]:
1543         * paragraph.[Ch]:
1544         * paragraph_funcs.[Ch]:
1545         * paragraph_pimpl.[Ch]:
1546         * rowpainter.C:
1547         * tabular.[Ch]:
1548         * text.C:
1549         * text2.C:
1550         * toc.C:
1551         * undo.[Ch]: adjust
1552
1553         * frontends/controllers/ControlDocument.C:
1554         * frontends/controllers/ControlErrorList.C:
1555         * frontends/controllers/ControlSpellchecker.C:
1556         * insets/inset.C:
1557         * insets/inset.h:
1558         * insets/insetbase.h:
1559         * insets/insetbibitem.C:
1560         * insets/insetbox.C:
1561         * insets/insetbranch.C:
1562         * insets/insetcaption.C:
1563         * insets/insetcharstyle.C:
1564         * insets/insetcharstyle.h:
1565         * insets/insetcollapsable.C:
1566         * insets/insetcollapsable.h:
1567         * insets/insetert.C:
1568         * insets/insetfloat.C:
1569         * insets/insetfoot.C:
1570         * insets/insetmarginal.C:
1571         * insets/insetnote.C:
1572         * insets/insetoptarg.C:
1573         * insets/insettabular.C:
1574         * insets/insettext.C:
1575         * insets/insettext.h:
1576         * insets/insetwrap.C:
1577         * mathed/math_mboxinset.C:
1578         * mathed/math_nestinset.C:
1579         * mathed/math_scriptinset.C:
1580         * mathed/math_scriptinset.h:
1581         * support/types.h:
1582
1583 2004-03-24  Angus Leeming  <leeming@lyx.org>
1584
1585         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1586         deal with any child processes that have finished but are waiting to
1587         communicate this fact to the rest of LyX.
1588
1589 2004-03-24  Angus Leeming  <leeming@lyx.org>
1590
1591         64-bit compile fixes.
1592
1593         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1594         (c-tor): pass lyx::pos_types rather than ints.
1595
1596         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1597         lyx::pos_type.
1598
1599         * text.C (Delete): compile fix.
1600         (getPar): ensure that function declaration is the same as that in
1601         the header file.
1602
1603 2004-03-23  Angus Leeming  <leeming@lyx.org>
1604
1605         * ispell.C (LaunchIspell):
1606         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1607         a boost::shred_ptr rather than a std::auto_ptr.
1608
1609 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1610
1611         * lyxfunc.C (getStatus): handle read-only buffers correctly;
1612         handle LFUN_FILE_INSERT_*
1613
1614         * lyxrc.C (setDefaults, getDescription, output, read):
1615         * lyxrc.h: remove ps_command
1616
1617 2004-03-22  Angus Leeming  <leeming@lyx.org>
1618
1619         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1620         Ensure that error_handler is processed once only and that all data
1621         is saved before attempting to output any warning messages.
1622
1623         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1624
1625 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
1626
1627         * tabular.C (TeXRow): crash fix (from Kayvan and André)
1628
1629 2004-03-19  André Pönitz  <poenitz@gmx.net>
1630
1631         * cursor.[Ch] (reset): take main text inset as argument
1632
1633         * BufferView: adjust
1634         * BufferView_pimpl.C: adjust
1635
1636         * paragraph.[Ch]: fix completely broken operator=()
1637
1638 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1639
1640         * LColor.C (getFromLyXName): make sure that the color name is used
1641         as lowercase.
1642
1643 2004-03-17  Angus Leeming  <leeming@lyx.org>
1644
1645         * lfuns.h:
1646         * LyXAction.C (init): remove LFUN_FORKS_KILL.
1647
1648         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1649         dialog and to kill a forked process.
1650
1651 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1652
1653         * text2.C (setCursorFromCoordinates): fix font problem
1654
1655 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1656
1657         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1658         bogus "rebuild cursor" code
1659
1660 2004-03-11  André Pönitz  <poenitz@gmx.net>
1661
1662         * buffer.[Ch]: use InsetText instead of LyXText as container for
1663         the main lyx text.
1664
1665         * dociterator.[Ch]: drop the BufferView * member which is not needed
1666         anymore after the change to buffer.C
1667
1668         * paragraph_funcs.C:
1669         * text.C:
1670         * text2.C:
1671         * BufferView.[Ch]:
1672         * BufferView_pimpl.[Ch]:
1673         * cursor.[Ch]:
1674         * cursor_slice.[Ch]: adjust
1675
1676         * text3.C: fix bug in mathDispatch
1677
1678 2004-03-08  André Pönitz  <poenitz@gmx.net>
1679
1680         * undo.[Ch]: use 'StableDocumentIterator' as base for
1681         the Undo struct.
1682
1683 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1684
1685         * LaTeXFeatures.C:
1686         * bufferparams.[Ch]: add jurabib support and param.
1687
1688         * LaTeX.C: add FIXME/comment.
1689
1690 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1691
1692         * buffer.C: increment file format to 230.
1693
1694 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
1695
1696         * cursor.C (dispatch): avoid infinite loops
1697
1698 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1699
1700         * rowpainter.C (paintSelection): fix x coordinates
1701
1702 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1703
1704         * text.C (rowBreakPoint): fix breaking before displayed insets
1705
1706 2004-03-01  André Pönitz  <poenitz@gmx.net>
1707
1708         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1709
1710         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1711
1712         * Makefile.am:
1713         * BufferView.C:
1714         * BufferView_pimpl.C:
1715         * buffer.C:
1716         * lyxfind.C:
1717         * lyxfunc.C:
1718         * text.C:
1719         * text2.C:
1720         * text3.C: adjust
1721
1722 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1723
1724         * lyxtext.h:
1725         * text.C:
1726         * text2.C:
1727         * rowpainter.C:
1728         * BufferView_pimpl.C: rename textwidth -> maxwidth,
1729         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1730
1731 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1732
1733         * Bidi.[Ch] (computeTables): const correctness
1734         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1735         fill_hfill, fill_label_hfill and x from Row
1736         * lyxtext.h: prepareToPrint returns a RowMetrics
1737         * rowPainter.C: adjust
1738         * text.C (prepareToPrint): use width, not textWidth. adjust
1739         (redoParagraphInternal, cursorX): adjust
1740         * text2.C (getColumnNearX): adjust
1741         (init): put a default value to the top LyXText::width
1742
1743 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1744
1745         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1746
1747 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1748
1749         * lyxtext.h: add FontIterator class
1750
1751         * text.C (FontIterator, operator*, operator->, operator++): add
1752         (rowBreakPoint, setRowWidth): adjust (fixing a
1753         rebreaking bug)
1754
1755 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1756
1757         * BufferView_pimpl.C (workAreaDispatch): allow also
1758         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1759
1760 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
1761
1762         * text.C (rowBreakPoint): fix a bug showing with very large insets
1763
1764 2004-02-25  André Pönitz  <poenitz@gmx.net>
1765
1766         * text3.C:
1767         * cursor.[Ch]: move some mathed specific code to mathed
1768
1769 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1770
1771         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1772         use_tempdir in preferences
1773         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1774         tempfile creation
1775         * lyx_main.C: ensure that tempdir is valid
1776         * lyxlex.h: correct typo
1777         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1778         * paragraph.[Ch] (isMultiLingual): make const
1779         * cursor.[Ch] (openable): make const
1780
1781 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1782
1783         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1784
1785 2004-02-20  André Pönitz  <poenitz@gmx.net>
1786
1787         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1788
1789         * cursor.[Ch]: prepare for localized getStatus()
1790
1791         * lyxtext.h:
1792         * tabular.C:
1793         * text.C:
1794         * text2.C:
1795         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
1796
1797 2004-02-20  André Pönitz  <poenitz@gmx.net>
1798
1799         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1800
1801 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1802
1803         * text2.C (setCursorFromCoordinates): switch to absolute coords
1804         (cursorUp): adjust
1805         (cursorDown): adjust
1806         * text3.C (dispatch): adjust
1807
1808 2004-02-16  André Pönitz  <poenitz@gmx.net>
1809
1810         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1811           insets/ChangeLog)
1812
1813         * cursor_slice.[Ch]: remove unneeded acessor function
1814
1815         * lyxtext.h: rename rtl() to isRTL()
1816
1817         * rowpainter.C:
1818         * tabular.C:
1819         * text.C:
1820         * text2.C:
1821         * text3.C: adjust
1822
1823 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1824
1825         * rowpainter.C (paintSelection): coord fix
1826
1827 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
1828
1829         * Spacing.C: compile fix
1830
1831 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1832
1833         * cursor.C (dispatch): restore current_ before returning
1834
1835 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1836
1837         * text2.C (cursorUp, cursorDown): fix coords
1838         (moveUp): fix crash
1839
1840 2004-02-12  André Pönitz  <poenitz@gmx.net>
1841
1842         * lyxtext.h:
1843         * text.C:
1844         * text2.C:
1845         * text3.C: add LCursor & parameter to most cursor movement functions
1846           remove usage of LyXText::cursorRow() and cursorPar()
1847
1848         * cursor.[Ch]: add textRow() needed members
1849
1850         * BufferView.C:
1851         * BufferView_pimpl.C:
1852         * paragraph.[Ch]:
1853         * BufferView.C:
1854         * BufferView_pimpl.C: adjust
1855
1856 2004-02-11  André Pönitz  <poenitz@gmx.net>
1857
1858         * lyxfunc.C:
1859         * BufferView.[Ch]:
1860         * BufferView_pimpl.C: shift undo/redo handling
1861
1862         * cursor.[Ch]: fix mathed crash
1863
1864         * lyxfind.C:
1865         * lyxtext.h: move selectionAsText to LCursor
1866
1867         * output_latex.C:
1868         * paragraph.C:
1869         * text.C:
1870         * text2.C:
1871         * text3.C: adjust
1872
1873         * rowpainter.C: fix excessive drawing
1874
1875 2004-02-06  André Pönitz  <poenitz@gmx.net>
1876
1877         * BufferView.[Ch]:
1878         * BufferView_pimpl.[Ch]:
1879         * text3.C: move some text specific LFUN handling
1880
1881 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
1882
1883         * text3.C (checkInsetHit): adjust coords
1884         * text2.C (getColumnNearX): adjust coords
1885         (edit): adjust coords
1886         * text.C (getRowNearY): add two asserts
1887
1888 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
1889
1890         * converter.C:
1891         * format.C: add using std::distance to compile on gcc 2.95/stlport
1892
1893 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
1894
1895         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1896
1897 2004-02-04  André Pönitz  <poenitz@gmx.net>
1898
1899         * BufferView.[Ch] (insertInset):
1900         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1901
1902         * text2.C:
1903         * text3.C: adjust
1904
1905 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1906
1907         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1908         on the default clause of the switch
1909         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1910         wasn't catched by LCursor::dispatch
1911
1912 2004-02-03  André Pönitz  <poenitz@gmx.net>
1913
1914         * BufferView.C:
1915         * cursor.[Ch]: some additional asserts
1916
1917         * undo.[Ch]: remove LyXText dependency in interface
1918
1919         * lyxfunc.C: adjust
1920
1921         * lyxtext.h (firstPar, lastPar): remove dead functions
1922
1923         * text.C:
1924         * text2.C:
1925         * text3.C:
1926         * paragraph.[Ch]: adjust
1927
1928 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1929
1930         * lyxfind.C (find): fix argument order in call to ::find
1931
1932 2004-02-02  André Pönitz  <poenitz@gmx.net>
1933
1934         * cursor.[Ch]: remove direct access to anchor
1935
1936         * text.C: remove findText() hack
1937
1938 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1939
1940         * iterators.[Ch] (lockPath): remove in favour of...
1941         * BufferView.[Ch] (setCursor): this addition
1942         * BufferView.C (putSelectionAt): adjust
1943         * undo.C (performUndoOrRedo): adjust
1944         * lyxfunc.C (dispatch): adjust
1945
1946 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1947
1948         * iterators.C (lockPath): add a missing slice
1949         * undo.C (performUndoOrRedo): remove redundant positioning code
1950
1951 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1952
1953         * vc-backend.C (scanMaster): ";" -> ';'
1954
1955 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
1956
1957         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1958         std::binary_function
1959
1960         * lyxtextclass.C (compare_name): rename to...
1961         (LayoutNamesEqual): ...this
1962
1963         * lyxlex_pimpl.C (compare_tags): inherit from
1964         std::binary_function, put back into anon namespace
1965
1966         * lyxfind.C (MatchString): inherig from std::binary_function
1967         (findChange): use empty() istead of !size()
1968
1969         * format.C (FormatNamesEqual): new functor
1970         (getFormat): use it
1971         (getNumber): use it
1972         (add): use it
1973         (erase): use it
1974         (setViewer): use it
1975
1976         * converter.C (compare_Converter): rename to...
1977         (ConverterEqual): ...this, and fixup a bit.
1978         (getConverter): use it, and make function const
1979         (getNumber): use it, and make function const
1980         (add): use it
1981         (erase): use it:
1982
1983         * bufferlist.C: add using boost::bind
1984
1985         * MenuBackend.C (MenuNamesEqual): new functor
1986         (hasMenu): use it, and make function const
1987         (hasSubmenu): use nested bind to get rid of compare_memfun.
1988
1989 2004-01-30  André Pönitz  <poenitz@gmx.net>
1990
1991         * BufferView_pimpl.C:
1992         * cursor.C:
1993         * cursor.h:
1994         * cursor_slice.[Ch]:
1995         * lyxfunc.C:
1996         * lyxtext.h:
1997         * paragraph_funcs.C:
1998         * paragraph_funcs.h:
1999         * rowpainter.C:
2000         * text.C:
2001         * text2.C:
2002         * text3.C: move some of the edit(x,y) handling to the insets
2003         some coordinate changes.
2004
2005 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
2006
2007         * text.C: add using statements for std::advance and std::distance
2008
2009         * paragraph.C: add using statement for std::distance
2010
2011         * lyxfind.C: add using statement for std::advance
2012
2013         * cursor.C (region): remove std:: from swap
2014         (openable): use nucleus in stead of operator->
2015
2016         * BufferView.C: add using statements for std::distance and std::swap
2017
2018 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
2019
2020         * iterators.C: Remove the pimple, move the needed structures to
2021         the header file. Create accessor for the positions stack.
2022         (asPosIterator): remove function
2023
2024         * PosIterator.C (PosIterator): move constructors to top of file
2025         (PosIterator): reimplement the constructor taking a ParIterator in
2026         terms of setFrom.
2027         (setFrom): new function
2028         (operator!=): inline it
2029
2030 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
2031
2032         * lyxfind.C (replaceAll): use std::advance
2033
2034         * iterators.h: inherit from std::iterator.
2035
2036         * PosIterator.C (advance, distance): remove
2037         * PosIterator.h: interit from std::iterator.
2038
2039 2004-01-26  André Pönitz  <poenitz@gmx.net>
2040
2041         * BufferView.[Ch]:
2042         * BufferView_pimpl.[Ch]:
2043         * InsetList.[Ch]:
2044         * PosIterator.[Ch]:
2045         * buffer.h:
2046         * bufferview_funcs.C:
2047         * cursor.[Ch]:
2048         * cursor_slice.h:
2049         * factory.[Ch]:
2050         * iterators.[Ch]:
2051         * lyxfind.C:
2052         * lyxfunc.C:
2053         * lyxtext.h:
2054         * output_docbook.C:
2055         * output_latex.C:
2056         * output_linuxdoc.C:
2057         * output_plaintext.C:
2058         * paragraph.[Ch]:
2059         * paragraph_funcs.[Ch]:
2060         * paragraph_pimpl.[Ch]:
2061         * rowpainter.C:
2062         * tabular.C:
2063         * tabular.h:
2064         * text.C:
2065         * text2.C:
2066         * text3.C: more IU:  dumps most of the rest of the mathcursor
2067     implementation into cursor.[Ch]; "globalize" a bit of it.
2068
2069 2004-01-25  Angus Leeming  <leeming@lyx.org>
2070
2071         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2072
2073 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2074
2075         * LaTeXFeatures.h: add nice_ and nice() const
2076         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2077
2078 2004-01-20  André Pönitz  <poenitz@gmx.net>
2079
2080         * BufferView.[Ch]:
2081         * BufferView_pimpl.C:
2082         * PosIterator.C:
2083         * bufferview_funcs.C:
2084         * cursor.[Ch]:
2085         * cursor_slice.[Ch]:
2086         * factory.C:
2087         * iterators.C:
2088         * lyx_cb.C:
2089         * lyxfind.C:
2090         * lyxfunc.C:
2091         * lyxtext.h:
2092         * rowpainter.C:
2093         * text.C:
2094         * text2.C:
2095         * text3.C:
2096         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2097           LCursor and mathcursor parts to LCursor and InsetBase.
2098
2099 2004-01-15  André Pönitz  <poenitz@gmx.net>
2100
2101         * cursor_slice.[Ch]: add a few covienience functions
2102
2103         * funcrequest.[Ch]: remove BufferView * member
2104
2105         * BufferView_pimpl.C:
2106         * cursor.C:
2107         * factory.[Ch]:
2108         * lyxfind.[Ch]:
2109         * lyxfunc.C:
2110         * lyxtext.h:
2111         * text3.C:
2112         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2113
2114 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
2115
2116         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2117         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2118
2119 2004-01-13  André Pönitz  <poenitz@gmx.net>
2120
2121         * textcursor.[Ch]:
2122         * lyxtext.h: hide cursor and selection anchor behind accessor function
2123
2124         * BufferView.C:
2125         * BufferView_pimpl.[Ch]:
2126         * PosIterator.C:
2127         * bufferview_funcs.C:
2128         * cursor.h:
2129         * lyxfind.C:
2130         * lyxfunc.C:
2131         * text.C:
2132         * text2.C:
2133         * text3.C:
2134         * undo.C: adjust
2135
2136         * cursor.h:
2137         * cursor_slice.[Ch]: some integer type changes for inset unification
2138
2139         * lyxcursor.[hC]: remove, it's CursorSlice now.
2140
2141         * Makefile.am:
2142         * BufferView_pimpl.[Ch]:
2143         * bufferview_funcs.C:
2144         * cursor_slice.C:
2145         * lyxtext.h:
2146         * text.C:
2147         * text2.C:
2148         * text3.C:
2149         * textcursor.[Ch]: adjust
2150
2151 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
2152
2153         * text2.C (undoSpan): add and use
2154         * text.C (breakParagraph): use undoSpan (fix bug 578)
2155         * lyxtext.h: adjust
2156
2157 2004-01-08  Angus Leeming  <leeming@lyx.org>
2158
2159         * BufferView_pimpl.C (MenuInsertLyXFile):
2160         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2161         * lyxfunc.C (menuNew, open, doImport):
2162         FileFilterList change to the FileDialog open and save functions.
2163
2164 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
2165
2166         * ShareContainer.h: make isEqual and isUnique adaptable
2167
2168         * CutAndPaste.C: make resetOwnerAndChanges adaptable
2169
2170 2004-01-07  Angus Leeming  <leeming@lyx.org>
2171
2172         * LyXAction.C:
2173         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2174
2175         * BufferView_pimpl.C (dispatch): act on these LFUNs.
2176
2177         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2178         functions replacing find, replace and replaceAll.
2179
2180         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2181         LFUN_WORDFIND(FORWARD|BACKWARD).
2182
2183 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2184
2185         * text.C (breakParagraph): remove an outdated #warning
2186
2187 2004-01-07  André Pönitz  <poenitz@gmx.net>
2188
2189         * lyxfind.C: somewhat clearer logic
2190
2191         * text.C: prevent crash in cursorX on unitialized row cache
2192
2193 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2194
2195         * lyxcursor.[Ch] (operator>): add
2196         * textcursor.C (selStart, selEnd): use std::min and std::max
2197
2198 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
2199
2200         * Chktex.C: include boost/format.hpp
2201
2202 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
2203
2204         * InsetList.C: replace functor MathcIt with adaptable functor
2205         InsetTablePosLess
2206         (insetIterator): modify accordingly
2207
2208         * BranchList.h: move the BranchNamesEqual functor here from...
2209         * BranchList.C: ... to here
2210
2211         * BranchList.C: new BranchListEqual fuctor, use it. Remove
2212         SameName and match.
2213         (add): replace a finding loop with std::find_if.
2214
2215 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
2216
2217         * output_docbook.C: moving LatexParam functionality into
2218         .layout files
2219
2220 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2221
2222         * buffer.C: increment format to 229.
2223
2224 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
2225
2226         * LaTeXFeatures.C:
2227         * lyx_sty.[Ch]: remove minipageindent_def
2228
2229         * LyXAction.C:
2230         * factory.C:
2231         * lfuns.h:
2232         * lyxfunc.C:
2233         * text3.C: remove LFUN_INSET_MINIPAGE
2234
2235 2003-12-28  Angus Leeming  <leeming@lyx.org>
2236
2237         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2238
2239 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
2240
2241         * text2.C (setParagraph): fix off-by-one crash
2242
2243 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
2244
2245         * output_docbook.C: header stuff for AGU
2246
2247 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
2248
2249         * text2.C (redoCursor): remove
2250         * text.C:
2251         * text3.C:
2252         * BufferView_pimpl.C: remove calls to redoCursor and
2253         setCursor(cursor.par(), cursor.pos()) all around
2254
2255 2003-12-15  Angus Leeming  <leeming@lyx.org>
2256
2257         * buffer.C: up the format to 228.
2258
2259 2003-12-15  André Pönitz  <poenitz@gmx.net>
2260
2261         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2262         slices
2263
2264         * Makefile.am:
2265
2266         * BufferView_pimpl.C:
2267         * cursor.[Ch]:
2268         * lyxcursor.[Ch]:
2269         * rowpainter.[Ch]:
2270         * lyxtext.h:
2271         * text.C:
2272         * text2.C:
2273         * text3.C: adjust
2274
2275 2003-12-15  Angus Leeming  <leeming@lyx.org>
2276
2277         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2278         than getFromGUIName to manipulate the color.
2279
2280 2003-12-14  Angus Leeming  <leeming@lyx.org>
2281
2282         * BranchList.[Ch]: minimize the API.
2283         (Branch::getBranch, getColor): now return a 'const &'.
2284         (Branch::setSelected) now returns a bool set to true if the
2285         selection status changes.
2286         (BranchList::clear, size, getColor, setColor, setSelected,
2287         allBranches, allSelected, separator): removed.
2288         (BranchList::find): new functions, returning the Branch with
2289         the given name.
2290         (BranchList::add, remove): return a bool indicating that
2291         the operation was successful.
2292
2293         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2294         new InsetBranch::isBranchSlected member function.
2295
2296         * LColor.[Ch]: mimimize the API.
2297         (fill): renamed as addColor and made private.
2298         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2299         versions of these functions taking a string arg have been removed.
2300
2301         * bufferparams.C (readToken):
2302         * lyxfunc.C (dispatch):
2303         * lyxrc.C (read): changes due to the altered BranchList and
2304         LColor APIs.
2305
2306         * factory.C (createInset, readInset): changes due to altered
2307         InsetBranch c-tor.
2308
2309 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2310
2311         * factory.C:
2312         * lyxfunc.C: remove insetminipage. "minipage-insert"
2313         now produces a frameless minipage box inset.
2314
2315 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2316
2317         * textcursor.[Ch] (selStart,selEnd): add new methods
2318         remove selection::start, end, use LyXCursor::operator<
2319         * lyxcursor.[Ch] (operator<): add
2320         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2321         * BufferView.[Ch] (unsetXSel): add
2322         * text2.C (clearSelection): use unsetXSel,adjust
2323         * text.C: adjust
2324         * text3.C: adjust
2325         * rowpainter.C: adjust
2326         * bufferview_funcs.C (put_selection_at): adjust
2327
2328 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2329
2330         * BufferView_pimpl.C: small coord. correction
2331
2332 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2333
2334         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2335         dragging over the splash screen.
2336
2337 2003-12-11  Angus Leeming  <leeming@lyx.org>
2338
2339         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2340         as it is now handled in LyXText::dispatch.
2341
2342         * text3.C (doInsertInset): remove a level of nesting.
2343
2344 2003-12-11  Angus Leeming  <leeming@lyx.org>
2345
2346         * factory.C (createInset): changes due to the changed interface to
2347         InsetCommandMailer::string2params.
2348
2349 2003-12-10  Angus Leeming  <leeming@lyx.org>
2350
2351         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2352         'dialog-show-new-inset <inset name>'
2353
2354 2003-12-10  Angus Leeming  <leeming@lyx.org>
2355
2356         * buffer.C: up the format to 227.
2357
2358         * factory.C: the box inset is now identified simply by 'Box'.
2359
2360 2003-12-10  Angus Leeming  <leeming@lyx.org>
2361
2362         * buffer.C: up the format to 226.
2363
2364         * factory.C: the note inset is now identified simply by 'Note'.
2365
2366 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
2367
2368         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2369         when a pit is enough. Standarize a couple of loops.
2370
2371 2003-12-05  Angus Leeming  <leeming@lyx.org>
2372
2373         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2374         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2375         data to the re-worked "log" dialog.
2376
2377 2003-12-03  André Pönitz  <poenitz@gmx.net>
2378
2379         * PosIterator.C:
2380         * iterators.C:
2381         * lyxtext.h:
2382         * output_latex.C:
2383         * paragraph_funcs.C:
2384         * text.C:
2385         * text2.C: use Inset::getText instead of Inset::getParagraph
2386
2387 2003-12-03  André Pönitz  <poenitz@gmx.net>
2388
2389         * buffer.[Ch]:
2390         * lyxtext.h:
2391         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2392         InsetText::read() as LyXText::read()
2393
2394 2003-12-02  Angus Leeming  <leeming@lyx.org>
2395
2396         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2397         type. Add a comment in the implementation that the function uses
2398         the stream's bad() function rather than fail() as the std::streams
2399         would do.
2400
2401 2003-12-02  André Pönitz  <poenitz@gmx.net>
2402
2403         * lyxlex.[Ch]: make interface more similar to std::stream
2404
2405         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2406
2407 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
2408
2409         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2410
2411 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
2412
2413         * vspace.[Ch]: remove VSpace::NONE
2414
2415 2003-12-01  André Pönitz  <poenitz@gmx.net>
2416
2417         * buffer.[Ch]:
2418         * lyxtext.h: move ParagraphList member to LyXText
2419         rename LyXText::ownerParagraphs to LyXText::paragraph
2420
2421         * CutAndPaste.C:
2422         * bufferview_funcs.C:
2423         * iterators.[Ch]:
2424         * lyx_cb.C:
2425         * paragraph.C:
2426         * rowpainter.C:
2427         * tabular.C:
2428         * text.C:
2429         * text2.C:
2430         * text3.C: adjust
2431
2432         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2433
2434         * undo.C: fix cursor positioning
2435
2436 2003-12-01  John Levon  <levon@movementarian.org>
2437
2438         * BufferView_pimpl.C: fix a crash on exit with
2439         a buffer open
2440
2441 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
2442
2443         * BranchList.C: fix setSelected() method.
2444
2445 2003-11-28  André Pönitz  <poenitz@gmx.net>
2446
2447         * ParagraphParameters.[Ch]:
2448         * ParameterStruct.h: remove space above/below from Paragraph to
2449          InsetVSpace
2450
2451         * BufferView_pimpl.C:
2452         * factory.C:
2453         * lyxfunc.C:
2454         * lyxtext.h:
2455         * output_latex.C:
2456         * paragraph.C:
2457         * paragraph_funcs.C:
2458         * rowpainter.[Ch]:
2459         * text.C:
2460         * text2.C:
2461         * text3.C: adjust
2462
2463 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
2464
2465         * factory.C: Syntax change for CharStyles
2466
2467 2003-11-28  André Pönitz  <poenitz@gmx.net>
2468
2469         * BufferView.[Ch]:
2470         * BufferView.[Ch]:
2471         * buffer.[Ch]:
2472         * buffer.[Ch]: move LyXText member
2473
2474 2003-11-28  André Pönitz  <poenitz@gmx.net>
2475
2476         * BufferView.[Ch]: make LyXText * text a private member
2477
2478         * BufferView_pimpl.C:
2479         * cursor.C:
2480         * iterators.C:
2481         * lyx_cb.C:
2482         * lyxfind.C:
2483         * lyxtext.h:
2484         * rowpainter.[Ch]:
2485         * text.C:
2486         * text2.C:
2487         * undo.C: adjust
2488
2489         * output_plaintext.C: cleanup
2490
2491 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2492
2493         * buffer.C:
2494         * lyxtextclass.[Ch]: parametrize SGML document header
2495
2496 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2497
2498         * converter.[Ch]:
2499         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2500         getFlavor().
2501
2502 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
2503
2504         * text2.C (setFont): rework using PosIterator (no more recursive)
2505         (setCharFont): no more needed
2506         (setLayout): no more selection cursors fiddling (done by redoCursor)
2507         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2508         destroy remaining ones)
2509
2510 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
2511
2512         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2513         * lyxtext.h: ditto
2514         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2515         selection cursors
2516         * lyxfunc.C: adjust
2517         * text3.C: adjust + re-allow multi par depth changes
2518         * textcursor.C: simplify a bit
2519
2520 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
2521
2522         * src/buffer.C:
2523         * src/lyxlayout.C:
2524         * src/lyxlayout.h:
2525         * src/lyxtext.h:
2526         * src/output_docbook.C:
2527         * src/output_latex.C:
2528         * src/paragraph.C:
2529         * src/paragraph.h:
2530         * src/sgml.C:
2531         * src/sgml.h:
2532         * src/text2.C: Introducing a number of tags parametrizing various
2533         XML formats that we may want to support
2534
2535 2003-11-25  André Pönitz  <poenitz@gmx.net>
2536
2537         * InsetList.[Ch] (begein, end): inline as suggested by profiler
2538
2539         * lyxtext.h (leftMargin/rightMargin): simplify interface
2540
2541         * rowpainter.C:
2542         * text.C:
2543         * text2.C:
2544         * text3.C: adjust
2545
2546 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2547
2548         * lyxfunc.C (dispatch): propogate the bibtex databases from the
2549         master file to any child files. Fixes bug 546.
2550
2551 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2552
2553         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2554
2555 2003-11-24  André Pönitz  <poenitz@gmx.net>
2556
2557         * rowpainter.C: simplification
2558
2559         * text2.C (updateCounters): remove call to redoParagraph on
2560         changed labels as this is far too expensive.
2561
2562 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2563
2564         * converter.C (convert): fix a crash: this function gets
2565         called with buffer == 0 from importer code.
2566
2567 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
2568
2569         * text3.C (cursorPrevious): make sure that we do not compare
2570         iterators form different containers.
2571         (cursorNext): ditto
2572
2573         * rowpainter.C (paintSelection): make sure that we do not compare
2574         iterators from different containers.
2575
2576         * text3.C (dispatch): [PRIOR] make sure that we do not compare
2577         iterators from different ParagraphList containers.
2578         [NEXT] ditto
2579
2580         * text2.C (LyXText): change order of initialization slightly
2581         (operator=): new function. copy all variables except cache_par_
2582         (moveUp): make sure that we do not compare iterators from
2583         different ParagraphList constainers.
2584         (moveDown): ditto
2585
2586         * text.C (firstPar): new function
2587         (lastPar): new function
2588         (endPar): new function
2589
2590         * lyxtext.h: move things around and group public functions, public
2591         variables, private functions, private variables
2592
2593 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
2594
2595         * factory.C: change call to InsetERT constructor to avoid
2596         additional invocation of method status
2597         * text2.C (toggleInset): remove redundant update() call
2598         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2599         instead of a Bufferview pointer
2600
2601 2003-11-21  André Pönitz  <poenitz@gmx.net>
2602
2603         * rowpainter.C: simplification
2604
2605 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2606
2607         * text3.C (dispatch): make possible to extend a word/row selection
2608         with the mouse
2609
2610 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2611
2612         * lyxtext.h: x0_,y0_ -> xo_,yo_
2613         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2614         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2615         * rowpainter.C (paintRows): paint full paragraphs
2616
2617 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2618
2619         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2620         screen coordinates)
2621
2622 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2623
2624         * lyxtext.h: add x0_, y0_
2625         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2626         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2627
2628 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
2629
2630         * text2.C (setCursorIntern): move the x_target update here *
2631         * text3.C: change some bv() to true/false in calls to
2632         cursorUp/Down/Right/Left
2633         * cursor.C: use helper function.
2634
2635 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2636
2637         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2638         * paragraph_funcs.[Ch]: correct comment
2639         * rowpainter.C: do not paint selections away from bv->cursor()
2640         Fix a long standing selection painting bug.
2641         * text3.C: generalize mouse-selection code to LyXTexts other that
2642         top one
2643         * textcursor.C: do not use y coords if we can use par offsets
2644
2645 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2646
2647         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2648         cursor position after e.g. inset insert)
2649
2650 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
2651
2652         * lyxfind.C (replace): adjust to locking removal + some
2653         code simplification
2654
2655 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
2656
2657         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2658         of the path
2659
2660 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
2661
2662         * lyxlayout.[Ch]:
2663         * output_docbook.C: XML sanitation: new layout
2664         parameters InnerTag and CommandDepth
2665
2666 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
2667
2668         * BufferView_pimpl.C:
2669         * factory.C:
2670         * text3.C: Fix the insertion and modification of button-style
2671         insets
2672
2673 2003-11-13  André Pönitz  <poenitz@gmx.net>
2674
2675         * InsetList.[Ch]: remove deleteLyXText
2676
2677         * paragraph.[Ch]: cache beginOfBody position
2678
2679         * Bidi.C:
2680         * text.C:
2681         * text2.C:
2682         * text3.C: remove superfluous update() calls
2683
2684         * vspace.C: cleanup
2685
2686 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
2687
2688         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2689         * BufferView.C (fitLockedInsetCursor): remove
2690         * cursor.[Ch] (getDim): add
2691         * text.C (getRowNearY): add faster version
2692         * text3.C: remove some update calls
2693
2694 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
2695
2696         * LaTeXFeatures.C:
2697         * LyXAction.C:
2698         * MenuBackend.C:
2699         * MenuBackend.h:
2700         * dispatchresult.h:
2701         * factory.C:
2702         * lfuns.h:
2703         * lyxfunc.C:
2704         * lyxtextclass.C:
2705         * lyxtextclass.h:
2706         * text3.C: The Character Style /XML short element patch.
2707
2708 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
2709
2710         * text3.C:
2711         * factory.C: Small step to solving 'unable to insert some insets'
2712         problem
2713
2714 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2715
2716         * cursor.[Ch] (updatePos): new function for updating the y
2717         position of the tip inset
2718         * bufferview_funcs.C (put_selection_at):
2719         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2720
2721 2003-11-11  André Pönitz  <poenitz@gmx.net>
2722
2723         * text.C: remove big comment on invalid Paragraph pointers as it is
2724         not valid anymore
2725
2726 2003-11-11  André Pönitz  <poenitz@gmx.net>
2727
2728         * text_funcs.[Ch]: merge with ...
2729
2730         * text.C: ... this
2731
2732         * lyxtext.h:
2733         * text2.C:
2734         * text3.C: adjust
2735
2736         * Makefile.am: remove text_funcs.[Ch]
2737
2738 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
2739
2740         * cursor.C (getPos): return absolute cached y coord
2741
2742         * BufferView_pimpl.C (fitCursor): new simplistic code
2743         (workAreaDispatch): add a fitCursor call
2744
2745 2003-11-10  André Pönitz  <poenitz@gmx.net>
2746
2747         * BufferView.[Ch]:
2748         * BufferView_pimpl.[Ch]: merge update() and updateInset()
2749
2750 2003-11-10  André Pönitz  <poenitz@gmx.net>
2751
2752         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2753         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2754         indicate that the cursor needs to leave an inset
2755
2756         * lyxtext.h: remove inset locking
2757
2758         * cursor.[Ch]: re-implement functionality provided by inset locking
2759
2760         * BufferView.[Ch]:
2761         * BufferView_pimpl.[Ch]:
2762         * LyXAction.C:
2763         * bufferview_funcs.[Ch]:
2764         * factory.C:
2765         * funcrequest.[Ch]:
2766         * iterators.C:
2767         * lyx_cb.C:
2768         * lyxfind.C:
2769         * lyxfunc.C:
2770         * text.C:
2771         * text2.C:
2772         * text3.C:
2773         * undo.C: adjust
2774
2775 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
2776
2777         * PosIterator.[Ch]: replace the stack with a vector, add inset
2778         accesor
2779         * iterators.[C]: adjust
2780
2781 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2782
2783         * lyxfind.C (replaceAll): mark the buffer dirty if something was
2784         replaced
2785         * paragraph_funcs.C (readParToken): put the correct id in the
2786         error item, not the id of the top paragraph
2787
2788 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2789
2790         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2791         * bufferview_funcs.C (put_selection_at): use the above
2792
2793 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2794
2795         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2796
2797 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2798
2799         * output_linuxdoc.h:
2800         * output_plaintext.h:
2801         * output.h:
2802         * output_docbook.h: add #include statements
2803
2804 2003-11-05  José Matos  <jamatos@lyx.org>
2805
2806         * output_docbook.[Ch]:
2807         * output_latex.[Ch]:
2808         * output_linuxdoc.[Ch]:
2809         * output_plaintext.[Ch]: New files for output formats.
2810         * output.[Ch]: New file for helper functions.
2811
2812         * buffer.[Ch]:
2813         * paragraph_funcs.[Ch]: output functions moved to new files.
2814
2815         * outputparams.h: rename of latexrunparams.h
2816
2817         * LaTeX.[Ch]:
2818         * buffer.[Ch]:
2819         * bufferlist.[Ch]:
2820         * converter.[Ch]:
2821         * exporter.C:
2822         * paragraph.[Ch]:
2823         * paragraph_funcs.[Ch]:
2824         * paragraph_pimpl.[Ch]:
2825         * tabular.[Ch]: rename ascii to plaintext
2826         and LatexRunParams to OutputParams.
2827
2828 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2829
2830         * iterators.[Ch] (text): require bv argument
2831         * undo.C (recordUndo):
2832         * lyxfunc.C (dispatch):
2833         * bufferview_funcs.C (put_selection_at): adjust
2834
2835 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
2836
2837         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2838
2839 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2840
2841         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2842         nestings
2843
2844 2003-11-04  André Pönitz  <poenitz@gmx.net>
2845
2846         * cursor.[Ch]: restructure
2847
2848         * BufferView.[Ch]:
2849         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2850
2851         * iterators.[Ch] (asCursor): remove
2852
2853         * lfuns.h: remove LFUN_INSET_EDIT
2854
2855         * lyxfunc.C:
2856         * tabular.C:
2857         * text.C:
2858         * text2.C:
2859         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2860
2861 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2862
2863         * lyxfind.[Ch]: complete overhaul
2864         * BufferView_pimpl.C:
2865         * lyxfunc.C: adjust
2866         * paragraph.[Ch] (insert): add
2867
2868 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2869
2870         * BufferView.[Ch]:
2871         * lyxtext.h:
2872         * text.C: remove dead spellcheck code
2873
2874 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2875
2876         * dispatchresult.h: add a val setter
2877
2878         * cursor.C (dispatch): use a tempvar for data_[i]
2879
2880 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2881
2882         * PosIterator.[Ch]: compile fix
2883
2884 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2885
2886         * text.C (cursorPar): deactivate the cursor cache
2887
2888 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2889
2890         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2891
2892 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2893
2894         * text3.C (dispatch): adjust for new DisptchResult semantics.
2895
2896         * lyxfunc.C (dispatch): handle update when return from
2897         Cursor::dispatch, adjust for new DispatchResult semantics.
2898
2899         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2900         DispatchResult(true) mean to not update. Add class functions for
2901         setting dispatched and update, as well as reading.
2902
2903         * cursor.C (dispatch): don't handle update here
2904
2905 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2906
2907         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2908         * trans_mgr.C: adjust
2909
2910         * paragraph_funcs.C (readParToken): exception safety
2911
2912         * lyxvc.h: store the vcs pointer in a scoped_ptr
2913         * lyxvc.C: adjust
2914
2915         * lyxsocket.C (serverCallback): exception safety
2916
2917         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2918
2919         * ispell.C (clone): make it return a auto_ptr
2920
2921         * factory.C (createInset): exception safety
2922         (readInset): exception safety
2923
2924         * bufferlist.C (newBuffer): exception safety
2925
2926         * Thesaurus.C (Thesaurus): use initialization for aik_
2927
2928         * MenuBackend.C (expandToc): exception safety.
2929
2930 2003-11-03  André Pönitz  <poenitz@gmx.net>
2931
2932         * buffer.C:
2933         * buffer.h:
2934         * bufferview_funcs.C: remove getInsetFromId()
2935
2936         * lyxcursor.[Ch]:
2937         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2938
2939         * lyxfunc.C:
2940         * text2.C:
2941         * text3.C: adjust
2942
2943 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2944
2945         * PosIterator.C (distance, advance): new
2946         * bufferview_funcs.[Ch] (put_selection_at): new
2947         * iterators.[Ch] (lockPath): new
2948
2949 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
2950
2951         * iterators.[Ch] (asPosIterator): added
2952         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2953         * PosIterator.[Ch]: added
2954
2955 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2956
2957         * text3.C:
2958         * lyxfunc.C:
2959         * cursor.C (dispatch):
2960         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2961
2962         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2963         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2964         contructor, add a class function dispatched. Remove operator>=
2965
2966 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2967
2968         * debug.C: only use the default constructor for debugstream
2969         (lyxerr) here.
2970
2971         * main.C (main): include debug.h and setup the lyxerr streambuf
2972         here.
2973
2974 2003-10-31  José Matos  <jamatos@lyx.org>
2975
2976         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2977
2978         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2979         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2980         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2981         * paragraph_pimpl.C (simpleTeXSpecialC):
2982         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2983         add LatexRunParams argument.
2984
2985         * exporter.C (Export): change call accordingly.
2986
2987         * latexrunparams.h: add new member to take care of the other backends.
2988 2003-10-30  José Matos  <jamatos@lyx.org>
2989
2990         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2991         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2992         factorise code for paragraph output.
2993         * buffer.[Ch]:
2994         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2995         move functions.
2996
2997 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2998
2999         * text3.C (dispatch):
3000         * lyxfunc.C (dispatch):
3001         * cursor.C (dispatch):
3002         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3003
3004         * dispatchresult.h: make the dispatch_result_t ctor explicit
3005
3006 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
3007
3008         * sgml.[Ch]:
3009         * buffer.C: small refactoring of docbook stuff
3010
3011 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3012
3013         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3014         meaning.
3015
3016 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3017
3018         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3019         operator dispatch_result_t, and operators for == != and >=
3020
3021         * cursor.C (dispatch): adjust for operator dispatch_result_t
3022         removal. comment out call to update
3023
3024         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3025
3026 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3027
3028         * text3.C:
3029         * text2.C:
3030         * text.C:
3031         * lyxtext.h:
3032         * lyxfunc.C:
3033         * cursor.C:
3034         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3035         (dispatch):
3036
3037         * dispatchresult.h: new file, DispatchResult broken out of
3038         insets/insetbase.h
3039
3040         * Makefile.am (lyx_SOURCES): add dispatchresult.h
3041
3042 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3043
3044         * text.C (rowBreakPoint): put a hack inside #if 0
3045
3046 2003-10-28  André Pönitz  <poenitz@gmx.net>
3047
3048         * lyxtext.h:
3049         * metricsinfo.C:
3050         * paragraph_funcs.C:
3051         * rowpainter.C:
3052         * text.C:
3053         * text2.C: general cleanup (lots of small stuff)
3054
3055 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3056
3057         * text2.C (cursorEnd): simple fix to the "end key goes to one
3058         before the end on last row" bug
3059
3060 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3061
3062         * text.C (backspace): fix the "zombie characters"
3063
3064 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3065
3066         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3067
3068 2003-10-27  André Pönitz  <poenitz@gmx.net>
3069
3070         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3071
3072         * factory.C: handle new InsetPagebreak, InsetLine
3073
3074         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3075         and move handling into new InsetPagebreak, InsetLine
3076
3077         * BufferView_pimpl.C:
3078         * LyXAction.C:
3079         * ParagraphParameters.C:
3080         * ParameterStruct.h:
3081         * lyxfunc.C:
3082         * lyxtext.h:
3083         * paragraph.C:
3084         * paragraph.h:
3085         * paragraph_funcs.C:
3086         * paragraph_pimpl.C:
3087         * rowpainter.C:
3088         * text.C:
3089         * text2.C:
3090         * text3.C: adjust
3091
3092 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3093
3094         * text.C:
3095         * lyxrow_funcs.[Ch]:
3096         * Bidi.C:
3097         * paragraph.C:
3098         * lyxtext.h:
3099         * rowpainter.C:
3100         * text2.C:
3101         * text3.C: remove lastPos uses in favour of Row::endpos
3102
3103 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3104
3105         * undo.C (performUndoOrRedo): fix two crashes by setting a
3106         cursor by hand and reordering some calls. Use bv->lockInset instead
3107         of inset->edit because the latter loses cursor information
3108
3109 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
3110
3111         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3112         by Martin
3113         (rowBreakPoint): fix width. change point to point + 1.
3114         Add a missing check.
3115
3116 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
3117
3118         * MenuBackend.C:
3119         * lyxfunc.C: fix (at least partly) the problems
3120         with the Nav menu and headers inside branch insets
3121         reported by Kayvan
3122
3123 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
3124
3125         * paragraph.C (getChar): add strong asserts
3126
3127         * lyxrow_funcs.C (lastPos): remove hideous hack
3128
3129         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3130         (fill): adjust to that (avoid an infinite loop)
3131
3132 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3133
3134         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3135
3136 2003-10-23  André Pönitz  <poenitz@gmx.net>
3137
3138         * RowList_fwd.h: change list<> to vector<> to gain speed
3139         after suggestion from Alfredo
3140
3141 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3142
3143         * lyxtext.h: move the bidi stuff from here...
3144         * text.C: and here
3145         * text2.C: and here
3146         * Bidi.[Ch]: ... to here
3147
3148 2003-10-23  André Pönitz  <poenitz@gmx.net>
3149
3150         * lyxtext.h:
3151         * text.C (isLastRow, isFirstRow): new functions
3152
3153         * paragraph.h: new width cache member
3154
3155         * rowpainter.C: replace RowList::iterator with Row & where possible
3156
3157         * lyxfunc.C: replace several view()->text with a single call
3158
3159         * toc.C: fix 'unused' warning
3160
3161 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3162
3163         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3164         when woring with stream::pos_type
3165         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3166
3167 2003-10-22  André Pönitz  <poenitz@gmx.net>
3168
3169         * lyxtext.h:
3170         * text.C: use Row & instead of RowList::iterator
3171
3172         * lyxrow.h: rename end() to endpos()
3173
3174         * rowpainter.C:
3175         * text.C:
3176         * text2.C: adjust
3177
3178 2003-10-22  Angus Leeming  <leeming@lyx.org>
3179
3180         * buffer.[Ch] (fully_loaded): new member function, returning true
3181         only when the file has been loaded fully.
3182         Used to prevent the premature generation of previews and by the
3183         citation inset to prevent computation of the natbib-style label.
3184
3185         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3186         templates are all set up.
3187
3188         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3189
3190 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
3191
3192         * text.C: fixed an "oops" in the "is a bit silly"
3193         bug fix
3194
3195 2003-10-21  André Pönitz  <poenitz@gmx.net>
3196
3197         * FuncStatus.[Ch]: small stuff, whitespace
3198
3199         * lyxfont.[Ch]: operator<<() for debug reasons
3200
3201         * lyxfunc.C:
3202         * lyxrow_funcs.C:
3203         * lyxtext.h: whitespace, spelling
3204
3205         * paragraph.C: naming of variables
3206
3207         * text.C:
3208         * text2.C: small stuff
3209
3210
3211 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
3212
3213         * text.C: (1) finish off the inset display() work;
3214         (2) fix the "is a bit silly" bug (accessing char
3215         past end of par).
3216
3217 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
3218
3219         * text.C: re-introduce display() for insets, fixing the
3220         various bugs (stretch of line above, math inset
3221         positioning, ...)
3222
3223 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3224
3225         * text.C (rightMargin): remove spurious semicolon
3226
3227         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3228         1415)
3229
3230 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
3231
3232         * text3.C: fix one crash due to wrong cursor def
3233
3234 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3235
3236         * vc-backend.C (scanMaster): make the regex static
3237
3238         * LaTeX.C (scanAuxFile): make the regexs static
3239
3240         * text3.C (doInsertInset, dispatch, dispatch):
3241         * text2.C (cursorUp, cursorDown):
3242         * text.C (selectNextWordToSpellcheck):
3243         * BufferView_pimpl.C (dispatch):
3244         * lyxfunc.C (dispatch):  localDispatch -> dispatch
3245
3246 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3247
3248         * lyxsocket.C: include <cerrno>
3249
3250 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3251
3252         * lyxfunc.C (dispatch): remove textcache stuff
3253
3254         * bufferlist.C (release): remove textcache stuff
3255         (closeAll): ditto
3256
3257         * TextCache.C: delete file
3258         * TextCache.h: delete file
3259
3260         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3261
3262         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3263         delete of the bv_->text.
3264         (resizeCurrentBuffer): remove texcache stuff
3265         (workAreaResize): ditto
3266
3267 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3268
3269         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3270         action.
3271
3272 2003-10-16  André Pönitz  <poenitz@gmx.net>
3273
3274         * lyxrow.[Ch]:
3275         * paragraph.h:
3276         * rowpainter.C:
3277         * text.C:
3278         * text2.C:
3279         * text3.C: speed up by storing y positions per paragraph plus per-row
3280         offset instead of having a 'full' y position in the row.
3281
3282 2003-10-15  André Pönitz  <poenitz@gmx.net>
3283
3284         * iterators.[Ch]:
3285         * iterators.[Ch]:
3286         * undo.[Ch]: make undo aware of inner insets
3287
3288 2003-10-14  Angus Leeming  <leeming@lyx.org>
3289
3290         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3291         static member functions LyX::ref() and LyX::cref.
3292         (lastfiles): new accessor functions for the new lastfiles_ member var.
3293         (addLyXView, views_): add a new LyXView to the list of views_.
3294         (updateInset): loop over all LyXViews to call their own updateInset
3295         member function, returning a pointer to the Buffer owning the inset.
3296
3297         * BufferView_pimpl.C (loadLyXFile):
3298         * MenuBackend.C (expandLastfiles):
3299         * bufferlist.C (MenuWrite, QuitLyX):
3300         lastfiles is no longer a global variable.
3301         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3302
3303         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3304         static function. Access through LyX::cref().emergencyCleanup().
3305
3306 2003-10-14  André Pönitz  <poenitz@gmx.net>
3307
3308         * iterators.[Ch]: new direct access to innermost LyXText and Inset
3309
3310         * undo.[Ch]: restoring part of 'undo in insets'
3311
3312         * Makefile.am:
3313         * undo_funcs.[Ch]: merge with undo.[Ch]
3314
3315         * tabular.C: small cleansing stuff
3316
3317 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
3318
3319         * paragraph_funcs.C (readParToken): report unknown insets as error
3320         boxes. Use the outer paragraph as location (also for unknown
3321         tokens).
3322
3323         * factory.C (readInset): do not abort on reading an unknown inset.
3324         Eat it and return 0.
3325
3326 2003-10-13  Angus Leeming  <leeming@lyx.org>
3327
3328         * lyx_main.C (LyX): remove call to setDisplayTranslator().
3329
3330         * lyxrc.C: displayTranslator is now a function,
3331         declared in GraphicsTypes.h.
3332
3333 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3334
3335         * format.C: new placeholder $$a to pass the socket address.
3336
3337         * bufferlist.[Ch]: new function getBufferFromTmp.
3338
3339         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3340           files in the temporary dir.
3341
3342 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3343
3344         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3345
3346         * Makefile.am: add lyxsocket.[Ch].
3347
3348         * lyx_main.C (error_handler): handle SIGPIPE.
3349
3350 2003-10-13  André Pönitz  <poenitz@gmx.net>
3351
3352         * BufferView_pimpl.C:
3353         * lyxtext.h:
3354         * text.C:
3355         * text2.C:
3356         * text3.C:
3357         * undo_funcs.[Ch]: use paroffset_type instead of
3358           ParagraphList::iterators to prevent multiple conversion
3359           (and get a more robust interface)
3360
3361 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3362
3363         * lyxfunc.C (dispatch): RESULT -> dispatch_result
3364         * lyxtext.h: ditto
3365         * text3.C (dispatch): ditto
3366
3367 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3368
3369         * LaTeX.C (handleFoundFile): move the static to smaller scope,
3370         move the onlyfile, use onlyfile instead of foundfile in a couple
3371         of places.
3372
3373         * DepTable.C (update): flush the error stream a bit more
3374
3375 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3376
3377         * lyxserver.C (callback): adjust
3378
3379         * lyxfunc.C (getStatus): add a missing brace in commented code
3380         (ensureBufferClean): reindent
3381         (dispatch): delete version taking a string
3382
3383 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3384
3385         * LaTeX.C (deplog): move found file handlig from here...
3386         (handleFoundFile): .. to new function here.
3387         (deplog): make sure to discover several files mentioned on the
3388         same log line.
3389
3390 2003-10-10  André Pönitz  <poenitz@gmx.net>
3391
3392         * lyxfunc.C:
3393         * lyxtext.h:
3394         * tabular.C:
3395         * text.C:
3396         * text2.C:
3397         * text3.C: fix some of the tabular crashes
3398
3399 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3400
3401         * MenuBackend.C (binding): put debug message into Debug::KBMAP
3402
3403         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3404
3405 2003-10-09  André Pönitz  <poenitz@gmx.net>
3406
3407         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3408
3409         * BufferView.C:
3410         * BufferView_pimpl.C:
3411         * bufferview_funcs.C:
3412         * lyx_cb.C:
3413         * lyxcursor.C:
3414         * lyxfind.C:
3415         * lyxfunc.C:
3416         * lyxtext.h:
3417         * text.C:
3418         * text2.C:
3419         * text3.C:
3420         * text_funcs.[Ch]:
3421         * textcursor.[Ch]:
3422         * undo_funcs.C: adjust
3423
3424 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3425
3426         * text2.C (incrementItemDepth): new function, use a backtracking
3427         algorithm to discover the correct item depth.
3428         (resetEnumCounterIfNeeded): new function, use a backtracking
3429         algorithm to discover if counter reset is needed.
3430         (setCounter): use them. Simplify a bit. Add different labels for
3431         different item depths for itemize.
3432
3433         * paragraph.C (Paragraph): remove initialization of enumdepth
3434         (operator=): ditto
3435
3436         * paragraph.h: get rid of enumdepth, and use itemdepth both for
3437         enumerate and itemize. Change the type of itemdepth to signed char.
3438
3439 2003-10-08  André Pönitz  <poenitz@gmx.net>
3440
3441         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3442           thing assignable.
3443         * text.C:
3444         * text2.C: adjust
3445
3446         * tabular.[Ch]: fix crash after 'row-insert'
3447
3448 2003-10-08  Angus Leeming  <leeming@lyx.org>
3449
3450         Fix doxygen warnings.
3451
3452         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3453         Remove CutAndPaste:: prefix from header file declaration.
3454
3455         * LColor.h (fill): remove LColor:: prefix from declaration.
3456
3457         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3458         use lyx::depth_type rather than Paragraph::depth_type so that
3459         header file and .C file match.
3460
3461         * converter.h (intToFormat): remove Converters:: prefix from declaration.
3462
3463         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3464         * aspell.C: \file aspell_local.C -> \file aspell.C
3465         * gettext.C: \file gettext.C -> \file src/gettext.C
3466         * gettext.h: \file gettext.h -> \file src/gettext.h
3467         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3468         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3469         * text.C: \file text.C -> \file src/text.C
3470
3471         * toc.C: move comment so that doxygen is not confused.
3472
3473 2003-10-07  Angus Leeming  <leeming@lyx.org>
3474
3475         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3476
3477 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3478
3479         * aspell.C:
3480         * aspell_local.h: add forgotten std::string's.
3481
3482 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3483
3484         * LaTeXFeatures.C:
3485         * LyXAction.C:
3486         * factory.C:
3487         * lfuns.h:
3488         * lyxfunc.C:
3489         * text3.C: The Box patch. Fancybox support, minipage, parbox
3490
3491 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3492
3493         * CutAndPaste.h:
3494         * DepTable.h:
3495         * FloatList.h:
3496         * LaTeXFeatures.h:
3497         * ParagraphParameters.h:
3498         * TextCache.h:
3499         * Thesaurus.h:
3500         * bufferlist.h:
3501         * exporter.h:
3502         * importer.h:
3503         * lastfiles.h:
3504         * lyxfind.h:
3505         * lyxfont.h:
3506         * lyxlex.h:
3507         * lyxtextclasslist.h:
3508         * messages.h:
3509         * paragraph.h:
3510         * paragraph_pimpl.C:
3511         * textcursor.h: add <string> and other small fixes to make Lars'
3512         std::string patch compile with STLport.
3513
3514 2003-10-06  Angus Leeming  <leeming@lyx.org>
3515
3516         * LColor.h: Add missing #include <string>.
3517
3518 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3519
3520         * All most all file in all subdirs: Make <string> be the prefered
3521         way of getting to std::string, add using declarations.
3522
3523 2003-10-06  André Pönitz  <poenitz@gmx.net>
3524
3525         * metricsinfo.C: initialize LyXFont before changing attribute.
3526         (fixes the 'math in \emph is upright' bug)
3527
3528 2003-10-06  André Pönitz  <poenitz@gmx.net>
3529
3530         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3531
3532 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
3533
3534         * graph.C:
3535         * paragraph_pimpl.C: Small fixes to build using STLport
3536
3537 2003-10-02  André Pönitz  <poenitz@gmx.net>
3538
3539         * lyxfunc.C:
3540         * text3.C: move handling of LFUN_DEPTH *; fix #1360
3541
3542 2003-10-01  André Pönitz  <poenitz@gmx.net>
3543
3544         * factory.C: assert early
3545
3546 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3547
3548         * lyx_main.C: remove the global debug object
3549
3550         * debug.h: adjust for new debugstream
3551
3552         * debug.C: adjust for new debugstream and keep the global debug
3553         object here.
3554
3555 2003-09-22  Angus Leeming  <leeming@lyx.org>
3556
3557         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3558         of g++ which otherwise complain that the scoped_ptr destructor can't delete
3559         an incomplete class LyXFont.
3560
3561 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
3562
3563         * factory.C: bug fix in branches
3564
3565 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3566
3567         * lyxfunc.C (processKeySym): adjust
3568         (dispatch): adjust
3569         (dispatch): change arg name from ev to func, adjust
3570         (sendDispatchMessage): ditto
3571
3572         * lyx_main.C (defaultKeyBindings): adjust keybindings
3573         (deadKeyBindings): ditto
3574
3575         * kbsequence.C (addkey): return a FuncRequest
3576
3577         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3578
3579         * kbmap.C (bind): take a FuncRequest as arg, adjust
3580         (read): adjust
3581         (lookup): adjust
3582         (defkey): change to take a FuncRequest as arg, adjust
3583         (findbinding): take a FuncRequest as arg, adjust.
3584
3585         * funcrequest.h (operator=): added
3586
3587         * funcrequest.C (FuncRequest): default kb_action changed from
3588         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3589
3590         * buffer.C (dispatch): simplify
3591         (dispatch): adjust to take a FuncRequest as arg, adjust
3592
3593         * boost.C (assertion_failed): change assertion message slightly
3594
3595         * ToolbarBackend.C (read): simplify
3596
3597         * MenuBackend.C (binding): adjust call to findbinding, add a
3598         message if no binding is found.
3599         (read): simplify
3600         (expandToc): correct by adding a empty FuncRequest
3601
3602         * LyXAction.C: include <boost/assert.hpp>
3603         (isPseudoAction): delete function
3604         (LookupFunc): change name to...
3605         (lookupFunc): this. change return type to FuncRequest.
3606         (getActionName): take kb_action as arg, simplify
3607         (funcHasFlag): add an assert, simplify.
3608
3609 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3610
3611         * toc.C (action): return a FuncRequest, simplify
3612
3613         * lyxfunc.C (processKeySym): adjust
3614         (getStatus): delete version that takes an int.
3615         (getStatus): adjust
3616         (dispatch): delete version that takes action as int
3617         (dispatch): adjust
3618         (sendDispatchMessage): simplify and adjust
3619
3620         * funcrequest.C (getArg): take unsigned int as arg
3621
3622         * ToolbarBackend.C (read): adjust
3623         (add): delete version that takes func as a string.
3624         (getIton): take a FuncRequest as arg
3625
3626         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3627         action.
3628
3629         * MenuBackend.C (MenuItem): add a new construct that only takes a
3630         Kind, simplify the constructor use for submenus.
3631         (add): adjust
3632         (expandLastfiles): adjust
3633         (expandDocuments): adjust
3634         (expandFormats): adjust
3635         (expandFloatListInsert): adjust
3636         (expandFloatInsert): adjust
3637         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3638
3639         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3640         Remove class variables lyx_pseudo_map and lyx_arg_map
3641
3642         * LyXAction.C (searchActionArg): delete function
3643         (getPseudoAction): delete function
3644         (retrieveActionArg): delete function
3645         (LookupFunc): make it return kb_action, simplify.
3646         (getActionName): simplify
3647
3648         * factory.C (createInset): fix new bug
3649
3650 2003-09-19  Angus Leeming  <leeming@lyx.org>
3651
3652         * CutAndPaste.C (pasteSelection): remove fudge used to set the
3653         masterFilename_ parameter in the include inset.
3654
3655         * factory.C (createInset): changes due to the changes to InsetInclude.
3656
3657 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3658
3659         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3660
3661 2003-09-18  Angus Leeming  <leeming@lyx.org>
3662
3663         * buffer.C:
3664         * BufferView.C: pass the buffer when calling Inset::getLabelList,
3665         Inset::fillWithBibKeys.
3666         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3667
3668 2003-09-18  Angus Leeming  <leeming@lyx.org>
3669
3670         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3671         variables.
3672         (ctor): pass and store a 'Buffer const &'
3673         (buffer): new member function.
3674
3675         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3676         '*this' to the LaTeXFeatures ctor.
3677
3678 2003-09-18  Angus Leeming  <leeming@lyx.org>
3679
3680         * LColor.h:
3681         * lyxfont.C:
3682         * lyxfont.h:
3683         * lyxtext.h:
3684         * text.C: rename EnumLColor as LColor_color.
3685
3686 2003-09-18  Angus Leeming  <leeming@lyx.org>
3687
3688         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3689         remove #include "insets/insetbase.h" from cursor.h.
3690
3691 2003-09-18  Angus Leeming  <leeming@lyx.org>
3692
3693         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3694         InsetOld_code to remove #include "inset.h".
3695
3696         * iterators.C: add #include "insets/inset.h"
3697
3698 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
3699
3700         * BufferView.C: remove more locking stuff that apparently doesn't
3701         do anything sensible.
3702
3703 2003-09-16  André Pönitz  <poenitz@gmx.net>
3704
3705         * paragraph.[Ch]:
3706         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3707           performance boost.
3708
3709 2003-09-16  Angus Leeming  <leeming@lyx.org>
3710
3711         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3712
3713         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3714         arg/return type.
3715
3716         * paragraph.h: remove #include "lyxfont.h". Forward declare
3717         LyXFont_size.
3718
3719 2003-09-16  Angus Leeming  <leeming@lyx.org>
3720
3721         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3722         of support/textutils.h.
3723         (isWord): move the contents of support/textutils.h's IsWordChar here.
3724
3725         * buffer.C:
3726         * lyxfind.C:
3727         * rowpainter.C:
3728         * text.C:
3729         * text2.C: add #include "paragraph.h".
3730
3731         * rowpainter.C:
3732         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3733
3734 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3735
3736         * main.C:
3737         * lyx_main.C:
3738         * lyx_cb.C:
3739         * buffer.C:
3740         * LaTeX.C: use namespace alias for lyx::support::os
3741
3742 2003-09-16  Angus Leeming  <leeming@lyx.org>
3743
3744         * bufferparams.C:
3745         * bufferview_funcs.C:
3746         * factory.C:
3747         * lyxfunc.C:
3748         * paragraph_pimpl.C:
3749         * rowpainter.C:
3750         * text.C: add #include "LColor.h".
3751
3752 2003-09-16  Angus Leeming  <leeming@lyx.org>
3753
3754         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3755         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3756         return LyXFont &.
3757         Store the FontBits::color variable as an int rather than as an
3758         LColor::colorso that we can move LColor.h out of the lyxfont.h header
3759         file.
3760
3761         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3762         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3763         string calls together.
3764
3765         * lyxrc.C: add #include "LColor.h".
3766
3767 2003-09-15  Angus Leeming  <leeming@lyx.org>
3768
3769         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3770         a cow_ptr.
3771
3772 2003-09-15  Angus Leeming  <leeming@lyx.org>
3773
3774         * LColor.h: add an EnumLColor wrapper for LColor::color.
3775
3776         * lyxfont.[Ch] (color, setColor, realColor):
3777         * lyxtext.h, text.C (backgroundColor):
3778         pass EnumLColor args to/from the functions, rather than LColor::color
3779         ones.
3780
3781         * lyxfont.h:
3782         * lyxtext.h: forward declare EnumLColor.
3783
3784         * lyx_main.C: add #include "LColor.h".
3785
3786 2003-09-15  Angus Leeming  <leeming@lyx.org>
3787
3788         * .cvsignore: add lyx-gtk.
3789
3790 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3791
3792         * Chktex.C
3793         * LaTeX.C
3794         * LaTeXFeatures.C
3795         * ParagraphParameters.C
3796         * Spacing.C
3797         * buffer.C
3798         * bufferparams.C
3799         * bufferview_funcs.C
3800         * chset.C
3801         * counters.C
3802         * funcrequest.C
3803         * lyxfont.C
3804         * lyxgluelength.C
3805         * lyxlength.C
3806         * paragraph.C
3807         * paragraph_funcs.C
3808         * text3.C
3809         * vc-backend.C: remove usage of STRCONV
3810
3811 2003-09-15  Angus Leeming  <leeming@lyx.org>
3812
3813         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3814         explicitly define the color passed to the painter.
3815
3816 2003-09-15  Angus Leeming  <leeming@lyx.org>
3817
3818         * bufferparams.C (BufferParams): reorder member initializers to avoid
3819         compiler warning.
3820
3821 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
3822
3823         * CutAndPaste.C (pasteSelection): remove an outdated #warning
3824         * text.C (updateRowPositions): remove an unusual nop
3825
3826 2003-09-12  André Pönitz  <poenitz@gmx.net>
3827
3828         * BufferView_pimpl.C:
3829         * Bullet.C:
3830         * layout.h:
3831         * lyxfunc.C:
3832         * lyxlayout.[Ch]:
3833         * lyxtextclass.C:
3834         * rowpainter.C:
3835         * text.C:
3836         * text2.C:
3837         * Counters.[Ch]: finish the 'automatic counters' job
3838
3839 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3840
3841         * aspell.C: include <boost/assert.cpp> (compile fix)
3842
3843 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
3844
3845         * boost.C (assertion_failed): use lyx::support::abort instead of
3846         assert.
3847
3848 2003-09-10  Angus Leeming  <leeming@lyx.org>
3849
3850         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3851         with their _fwd progeny.
3852
3853 2003-09-09  Angus Leeming  <leeming@lyx.org>
3854
3855         134 files throughtout the source tree: replace 'using namespace abc;'
3856         directives with the appropriate 'using abc::xyz;' declarations.
3857
3858 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3859
3860         * boost.C (emergencyCleanup): moved here from LAssert.c
3861         (assertion_failed): new function, called by BOOST_ASSERT
3862
3863         * several files: change Assert to BOOST_ASSERT
3864
3865 2003-09-09  Angus Leeming  <leeming@lyx.org>
3866
3867         * buffer.[Ch]: Add an Impl class and move Buffer's member
3868         variables into it. As a result move several header files out of
3869         buffer.h.
3870
3871         Add header files to lots of .C files all over the tree as a result.
3872
3873 2003-09-09  Angus Leeming  <leeming@lyx.org>
3874
3875         * buffer.[Ch]: make Buffer's member variables private. Add
3876         accessor functions.
3877
3878         Lots of changes all over the tree as a result.
3879
3880 2003-09-08  Angus Leeming  <leeming@lyx.org>
3881
3882         * graph.C: #include <config.h>.
3883
3884 2003-09-08  Angus Leeming  <leeming@lyx.org>
3885
3886         * BranchList.C:
3887         * BufferView.C:
3888         * BufferView_pimpl.C:
3889         * CutAndPaste.C:
3890         * DepTable.C:
3891         * LaTeX.C:
3892         * LaTeXFeatures.C:
3893         * LyXAction.C:
3894         * MenuBackend.C:
3895         * TextCache.C:
3896         * aspell.C:
3897         * buffer.C:
3898         * bufferlist.C:
3899         * changes.C:
3900         * chset.C:
3901         * converter.C:
3902         * counters.C:
3903         * debug.C:
3904         * graph.C:
3905         * ispell.C:
3906         * lyx_cb.C:
3907         * lyxfind.C:
3908         * lyxfunc.C:
3909         * lyxlex_pimpl.C:
3910         * lyxrc.C:
3911         * lyxrow.C:
3912         * paragraph.C:
3913         * rowpainter.C:
3914         * texrow.C:
3915         * text.C:
3916         * text2.C:
3917         * toc.C: remove redundant using directives.
3918
3919 2003-09-07  Angus Leeming  <leeming@lyx.org>
3920
3921         * LaTeXFeatures.h: remove #include "support/types.h".
3922         * ToolbarBackend.h: remove #include <algorithm>.
3923         * changes.h: remove #include <ctime>.
3924         * debug.h: remove #include <iosfwd>.
3925         * graph.h: remove #include "support/std_string.h".
3926         * lyx_main.h: remove #include <csignal>.
3927         * lyxlex_pimpl.h: remove #include <fstream>.
3928         * sgml.h: remove #include <algorithm>, <utility>.
3929         * toc.h: remove #include "support/std_ostream.h".
3930         Add #include <iosfwd>.
3931
3932 2003-09-07  Angus Leeming  <leeming@lyx.org>
3933
3934         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3935
3936         * converter.h: forward declare LatexRunParams.
3937         * encoding.h: remove #include "lyxrc.h".
3938         * lyxtext.h: remove #include "LColor.h".
3939         * lyxtextclass.h: remove #include "support/types.h".
3940         * trans.h: remove #include "tex-accent.h".
3941         * trans_mgr.h: remove #include "tex-accent.h".
3942         * insets/inset.h: remove #include "support/types.h", <vector>.
3943         * insets/insetcollapsable.h: remove #include "LColor.h".
3944         * insets/insetinclude.h: remove #include "dimension.h".
3945         * insets/insetlatexaccent.h: remove #include "dimension.h".
3946         * insets/insetoptarg.h:: remove #include "insettext.h".
3947         * insets/insettext.h: remove #include "dimension.h",
3948         <boost/shared_ptr.hpp>
3949
3950         * insets/renderers.h: add #include "dimension.h".
3951         * insets/updatableinset.h: add #include "support/types.h".
3952
3953         * many .C files: Associated changes.
3954
3955 2003-09-06  Angus Leeming  <leeming@lyx.org>
3956
3957         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3958         one, inside testInvariant.
3959
3960         * PrinterParams.C: new file.
3961         * PrinterParams.[Ch]: move the function bodies out of line.
3962
3963 2003-09-06  Angus Leeming  <leeming@lyx.org>
3964
3965         * ParagraphParameters.h: forward declare ParameterStruct rather than
3966         including its header file.
3967         (depth): moved out-of-line.
3968
3969 2003-09-06  Angus Leeming  <leeming@lyx.org>
3970
3971         * BufferView_pimpl.h:
3972         * kbmap.h:
3973         * kbsequence.h:
3974         * lyxfunc.h: forward declare LyXKeySym rather than
3975         #include "frontends/LyXKeySym.h".
3976
3977         * BufferView_pimpl.C:
3978         * kbmap.C:
3979         * kbsequence.C:
3980         * lyxfunc.C: associated changes.
3981
3982 2003-09-06  Angus Leeming  <leeming@lyx.org>
3983
3984         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3985         As a result, can remove the #include "insets/inset.h" from BufferView.h
3986
3987 2003-09-06  Angus Leeming  <leeming@lyx.org>
3988
3989         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3990         As a result, can remove the #include "insets/inset.h" from BufferView.h
3991
3992 2003-09-06  Angus Leeming  <leeming@lyx.org>
3993
3994         * buffer_funcs.C:
3995         * buffer.h:
3996         * bufferlist.C:
3997         * BufferView.C:
3998         * bufferview_funcs.C:
3999         * BufferView_pimpl.C:
4000         * CutAndPaste.C:
4001         * lyx_cb.C:
4002         * lyxfunc.C:
4003         * paragraph.h:
4004         * ParagraphParameters.C:
4005         * tabular.C:
4006         * text3.C:
4007         * toc.C:
4008         * undo_funcs.C:
4009         * frontends/controllers/ControlDocument.C:
4010         * insets/insetcaption.C: rearrange the #includes into some sort of
4011         coherent order.
4012
4013         * buffer.h: remove #includes ErrorList.h, undo.h
4014
4015 2003-09-06  Angus Leeming  <leeming@lyx.org>
4016
4017         * support/types.h: add a 'depth_type' typedef, used to store the
4018         nesting depth of a paragraph.
4019
4020         * paragraph.h:
4021         * ParameterStruct.h: use this lyx::depth_type typedef rather than
4022         defining explicitly.
4023
4024         * buffer.h:
4025         * paragraph_funcs.h:
4026         * ParagraphParameters.h:
4027         * sgml.h: use lyx::depth_type rather than Paragraph or
4028         ParameterStruct's depth_type.
4029
4030         * buffer.h
4031         * paragraph_funcs.h: no need to #include paragraph.h anymore.
4032
4033         * BufferView.C:
4034         * BufferView_pimpl.C:
4035         * CutAndPaste.C:
4036         * ParagraphParameters.C:
4037         * buffer_funcs.C:
4038         * bufferlist.C:
4039         * bufferview_funcs.C:
4040         * lyx_cb.C:
4041         * lyxfunc.C:
4042         * tabular.C:
4043         * text3.C:
4044         * toc.C:
4045         * undo_funcs.C:
4046         * frontends/LyXView.C:
4047         * frontends/controllers/ControlDocument.C:
4048         * frontends/controllers/ControlErrorList.C:
4049         * insets/insetbibitem.C:
4050         * insets/insetbranch.C:
4051         * insets/insetcaption.C:
4052         * insets/insetcollapsable.C:
4053         * insets/insetenv.C:
4054         * insets/insetert.C:
4055         * insets/insetfloat.C:
4056         * insets/insetfoot.C:
4057         * insets/insetfootlike.C:
4058         * insets/insetnewline.C:
4059         * insets/insetquotes.C:
4060         * insets/insettabular.C:
4061         * insets/insettext.C:
4062         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4063
4064         * frontends/controllers/ControlChanges.C: #include "changes.h".
4065
4066 2003-09-06  Angus Leeming  <leeming@lyx.org>
4067
4068         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4069         than #including paragraph.h.
4070
4071         * ParagraphList.h:
4072         * RowList.h: deleted. Superfluous.
4073
4074         * CutAndPaste.h:
4075         * iterators.h:
4076         * lyxcursor.h:
4077         * lyxtext.h:
4078         * text_funcs.h:
4079         * undo.h:
4080         * undo_funcs.h:
4081         * insets/inset.h:
4082         * insets/insettext.h: use ParagraphList_fwd.h rather than
4083         ParagraphList.h.
4084
4085         * paragraph.h: don't forward declare ParagraphList.
4086
4087         * buffer.h:
4088         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4089         rather than ParagraphList.h. paragraph.h is still needed for the
4090         Paragraph::depth_type parameters.
4091
4092         * textcursor.h: enable it to compile stand-alone in light of the
4093         above changes.
4094
4095         * bufferview_funcs.C:
4096         * iterators.C:
4097         * lyxfunc.C:
4098         * lyxrow_funcs.C:
4099         * paragraph.C:
4100         * rowpainter.C:
4101         * text.C:
4102         * text2.C:
4103         * text3.C:
4104         * text_funcs.C:
4105         * textcursor.C:
4106         * undo.C:
4107         * frontends/controllers/ControlParagraph.C:
4108         * frontends/controllers/ControlTabular.C:
4109         * insets/insetmarginal.C:
4110         * insets/insetminipage.C:
4111         * insets/insetnote.C:
4112         * insets/insetoptarg.C: add header files needed to compile again.
4113
4114 2003-09-06  Angus Leeming  <leeming@lyx.org>
4115
4116         * RowList_fwd.h: new file, forward-declaring Row rather than
4117         #including lyxrow.h.
4118
4119         * lyxrow_funcs.h:
4120         * lyxtext.h:
4121         * paragraph.h:
4122         * insets/insettext.h: use it instead of RowList.h
4123
4124         * bufferview_funcs.C:
4125         * lyxfunc.C:
4126         * lyxrow_funcs.C:
4127         * paragraph.C:
4128         * rowpainter.C:
4129         * text.C:
4130         * text2.C:
4131         * text3.C: #include "RowList.h".
4132
4133 2003-09-05  Angus Leeming  <leeming@lyx.org>
4134
4135         * factory.C (createInset):
4136         * vspace.C (c-tor): replace sscanf call with an istringstream.
4137         * ispell.C: re-add missing HP/UX headers.
4138         * lyxserver.C: re-add missing  os2 headers.
4139
4140 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
4141
4142         * BranchList.C:
4143         * graph.C:
4144         * ispell.C:
4145         * lastfiles.C:
4146         * lyx_cb.C:
4147         * lyxserver.C:
4148         * texrow.C:
4149         * text3.C: re-add missing system headers, needed for 2.95.2.
4150
4151 2003-09-05  Angus Leeming  <leeming@lyx.org>
4152
4153         Changes most place everywhere due to the removal of using directives
4154         from support/std_sstream.h.
4155
4156 2003-09-05  Angus Leeming  <leeming@lyx.org>
4157
4158         Replace LString.h with support/std_string.h,
4159         Lsstream.h with support/std_sstream.h,
4160         support/LIstream.h with support/std_istream.h,
4161         support/LOstream.h with support/std_ostream.h.
4162
4163         Changes resulting throughout the tree.
4164
4165 2003-09-05  Angus Leeming  <leeming@lyx.org>
4166
4167         * sgml.h: ensure that the header file can be compiled stand-alone.
4168         * *.C: strip out redundant #includes. (320 in total.)
4169
4170 2003-09-04  Angus Leeming  <leeming@lyx.org>
4171
4172         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4173         here (from getPackages).
4174
4175         * debug.[Ch]: add a new EXTERNAL tag.
4176
4177 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4178
4179         * text2.C (cursorEnd): simplify
4180         (setCursor): adjust
4181         (getColumnNearX): adjust
4182
4183         * text.C (computeBidiTables): adjust
4184         (fill): adjust
4185
4186         * rowpainter.C (paintChars): adjust
4187         (paintSelection): adjust
4188         (paintChangeBar): adjust
4189         (paintText): adjust
4190
4191         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4192         lastPos instead.
4193         (numberOfSeparators): adjust
4194
4195 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4196
4197         * LyXAction.C:
4198         * box.[Ch]:
4199         * lfuns.h:
4200         * lyxfunc.C:
4201         * text3.C: Restricts the mouse click functionality
4202         of insets like bibtex, include, toc and floatlist to the visible
4203         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4204         up the dialogs. Cursor has to be in front of the inset (i.e.
4205         start of row) for this to function.
4206
4207 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4208
4209         * bufferview_funcs.C (currentState): output row information
4210
4211 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4212
4213         * bufferview_funcs.C (currentState): output paragraph position
4214
4215 2003-09-04  Angus Leeming  <leeming@lyx.org>
4216
4217         * FloatList.h: move out #include "Floating.h".
4218         * LaTeX.h: move out #include "DepTable.h".
4219         * LyXAction.h: move out #include "funcrequest.h".
4220         * buffer.h: move out #include "author.h", "iterators.h".
4221         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4222         * lyx_main.h: move out #include "errorlist.h".
4223         * lyxfunc.h: move out #include "FuncStatus.h".
4224         * lyxtext: move out #include "lyxcursor.h".
4225         * paragraph_pimpl.h: move out #include "counters.h".
4226
4227 2003-09-03  Angus Leeming  <leeming@lyx.org>
4228
4229         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4230         preamble_snippets list, enabling us to add snippets to the preamble
4231         only if the snippet was not there already.
4232
4233 2003-09-04  Angus Leeming  <leeming@lyx.org>
4234
4235         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4236
4237 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4238
4239         * lyxfunc.C (dispatch): if fitCursor did something be sure to
4240         update
4241
4242 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4243
4244         * BranchList.C: point fix, earlier forgotten
4245
4246 2003-09-02  Angus Leeming  <leeming@lyx.org>
4247
4248         * box.C (contains): renamed from 'contained' after a fantastic
4249         amount of hot air.
4250
4251 2003-09-02  John Levon  <levon@movementarian.org>
4252
4253         * BufferView.C:
4254         * lyxcursor.h:
4255         * lyxcursor.C:
4256         * lyxfunc.C:
4257         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4258
4259 2003-09-02  John Levon  <levon@movementarian.org>
4260
4261         * text2.C: simplification of cursorEnd(), including partial
4262         fix for bug 1376
4263
4264 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4265
4266         * buffer.C (readFile): add a space
4267
4268 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
4269
4270         * BufferView_pimpl.C (update): remove bogus fitCursor() call
4271
4272 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4273
4274         * buffer.C (readFile): new function, take a filename and a
4275         ParagraphList::iterator
4276         (readFile): adjust
4277         (readFile): adjust, make it private. don't use setStream, make
4278         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4279         always contain the filename.
4280
4281         * BufferView.C (insertLyXFile): simplify and make it work for
4282         gzipped files.
4283
4284 2003-08-30  John Levon  <levon@movementarian.org>
4285
4286         * Makefile.am: fix dist (from Kayvan)
4287
4288 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4289
4290         * most files: change to use const Buffer refs
4291
4292 2003-08-27  André Pönitz  <poenitz@gmx.net>
4293
4294         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4295         on top of ownerPar().
4296
4297 2003-08-27  John Levon  <levon@movementarian.org>
4298
4299         * funcrequest.C: properly initialise POD members
4300
4301 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4302
4303         * lyxtext.h (top_y): move top_y from here
4304         * text.C:
4305         * text2.C:
4306         * text3.C:
4307         * BufferView.[Ch]:
4308         * BufferView_pimpl.[Ch]: to here
4309         * frontends/screen.C:
4310         * insets/insettabular.C:
4311         * insets/insettext.C: adjust
4312         * rowpainter.[Ch] (paintRows): remove LyXText & argument
4313
4314 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4315
4316         * BufferView.[Ch]:
4317         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4318
4319 2003-08-26  André Pönitz  <poenitz@gmx.net>
4320
4321         * paragraph_func.[Ch] (outerPar): new function
4322
4323         * paragraph.C:
4324         * paragraph_funcs.C:
4325         * paragraph_funcs.h:
4326         * paragraph_pimpl.C:
4327         * text2.C: remove Inset::par_owner
4328
4329 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
4330
4331         * lyxrow_funcs.C:
4332         * lyxtext.h:
4333         * text.C:
4334         * text2.C: eliminates the needFullRow/display() stuff
4335         altogether, putting the logic in metrics/draw in the insets.
4336
4337 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
4338
4339         * text2.C (redoParagraphInternal, redoParagraphs):
4340         * text.C (redoParagraph): add a call to updateRowPositions at the
4341         end of each 'metrics-like' call. Remove all others.
4342         (getRow): remove the 'y-computing' version.
4343         (getRowNearY): do not compute nor return the real y. Solve the
4344         'y < 0' problem and simplify.
4345
4346 2003-08-22  Angus Leeming  <leeming@lyx.org>
4347
4348         * *.[Ch]: clean-up of licence and author blurbs.
4349         Also move config.h out of a few .h files and into a few .C files.
4350
4351 2003-08-22  André Pönitz  <poenitz@gmx.net>
4352
4353         * lyxrow.[Ch]: add x_ and *fill_ members
4354
4355         * lyxtext.h:
4356         * text.C:
4357         * rowpainter.C:
4358         * text2.C: adjust/remove prepareToPrint() calls
4359
4360 2003-08-22  André Pönitz  <poenitz@gmx.net>
4361
4362         * lyxrow.[Ch]: add  end_ member
4363
4364         * lyxrow_funcs.C: use LyXRow::end_
4365
4366         * lyxtext.h (singleWidth): add LyXFont parameter
4367
4368         * rowpainter.C:
4369         * text2.C: adjust LyXText::singleWidth() calls
4370
4371         * text.C (redoParagraph): simplify row breaking logic
4372
4373
4374 2003-08-19  André Pönitz  <poenitz@gmx.net>
4375
4376         * funcrequest.C: initialize button_ member
4377
4378         * text3.C:
4379         * rowpainter.[Ch]: interface consolidation
4380
4381 2003-08-18  André Pönitz  <poenitz@gmx.net>
4382
4383         * BufferView.C:
4384         * BufferView_pimpl.C:
4385         * lyxfind.C:
4386         * paragraph_funcs.C:
4387         * rowpainter.C:
4388         * text3.C: remove LyXScreen::draw() and fitCursor calls
4389
4390         * BranchList.h: remove spurious semicolons
4391
4392         * MenuBackend.C: fix branchlist related crash
4393
4394 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
4395
4396         * BranchList.[Ch]:
4397         * InsetList.[Ch]:
4398         * LColor.[Ch]:
4399         * LyXAction.C:
4400         * Makefile.am:
4401         * MenuBackend.[Ch]:
4402         * bufferparams.[Ch]:
4403         * factory.C:
4404         * lfuns.h:
4405         * lyxfunc.C:
4406         * text3.C: implements the 'branch inset'
4407         idea. This allows the output of various versions of a document
4408         from a single source version, selectively outputing or suppressing
4409         output of parts of the text.
4410         This implementation contains a 'branch list editor' in a separate
4411         tab of the document settings dialog. Branches are user definable
4412         and have a "display colour" to distinguish them on-screen.
4413
4414         ColorHandler was somewhat cleaned up.
4415         (1) make possible a dynamically growing LColor list by allowing
4416         the graphic context cache to grow along (vector);
4417         (2) eliminate an IMHO unnecessary step in colour allocation.
4418
4419 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
4420
4421         * BufferView_pimpl.C: compile fix
4422
4423 2003-08-15  André Pönitz  <poenitz@gmx.net>
4424
4425         * rowpainter.C: remove extra metrics calls
4426
4427         * lyxtext.h: merge the two constructors into a single one,
4428           pass reference to owner's par list
4429
4430         * BufferView_pimpl.C:
4431         * text.C:
4432         * text2.C: adjust
4433
4434 2003-08-15  André Pönitz  <poenitz@gmx.net>
4435
4436         * lyxrow_funcs.[Ch]:
4437         * lyxtext.h:
4438         * paragraph.h:
4439         * paragraph_funcs.C:
4440         * rowpainter.C:
4441         * text.C:
4442         * text2.C:
4443         * text3.C:
4444         * text_funcs.C: split LyXText::rowlist_ into individual
4445         Paragraph::rows_ chunks
4446
4447         * BufferView.[Ch]:
4448         * BufferView_pimpl.[Ch]:
4449         * lyxfind.C:
4450         * lyxtext.h:
4451         * text3.C: remove toggleSelection()
4452
4453 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
4454
4455         * bufferlist.C: beautify two alerts (shorter text of buttons)
4456         * buffer.C: Remove redundant ' ' from message
4457         * tabular.h:
4458         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4459         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4460         rename VALIGN_CENTER to VALIGN_MIDDLE
4461
4462 2003-08-11  André Pönitz  <poenitz@gmx.net>
4463
4464         * lyxtext.h (getPar):
4465         * text.C: new function
4466
4467 2003-08-11  André Pönitz  <poenitz@gmx.net>
4468
4469         * Makefile.am:
4470         * tracer.[Ch]: remove unneeded files
4471
4472         * InsetList.[Ch]: remove resizeInsetsLyXText()
4473
4474         * lyxtext.h:
4475         * text.C:
4476         * text2.C:
4477         * text3.C: merge insertParagraphs() and appendParagraph()
4478         remove breakAgain(), update()
4479
4480         * BufferView_pimpl.[Ch]:
4481         * bufferview_funcs.[Ch]:
4482         * lyxfunc.C:
4483         * paragraph.[Ch]:
4484         * rowpainter.C:
4485         * tabular.C: adjust after text & InsetList changes.
4486
4487 2003-08-08  André Pönitz  <poenitz@gmx.net>
4488
4489         * text.C (insertChar, backspace): replace rowlist fiddling
4490         with rebreak of full par
4491
4492         * lyxtext.h:
4493         * text.C (breakAgainOneRow, redoHeightOfParagraph,
4494         checkParagraph, updateInset): removed
4495
4496 2003-08-07  André Pönitz  <poenitz@gmx.net>
4497
4498         * paragraph.C:
4499         * text3.C: merge some LFUN handlers, remove dead code
4500
4501 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4502
4503         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4504
4505 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
4506
4507         * text2.C (DEPM): fix part of bug 1255 and 1256
4508
4509 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4510
4511         * BufferView_pimpl.C (workAreaDispatch): change to use
4512         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4513         that are no mouse related.
4514
4515 2003-08-05  André Pönitz  <poenitz@gmx.net>
4516
4517         * BufferView.[Ch]:
4518         * BufferView_pimpl.[Ch]:
4519         * bufferview_funcs.C:
4520         * text2.C:
4521         * text3.C: rip out "deep update"
4522
4523         * textcursor.[Ch] (last_sel_cursor): remove unused member
4524
4525 2003-08-04  André Pönitz  <poenitz@gmx.net>
4526
4527         * BufferView.[Ch]:
4528         * BufferView_pimpl.[Ch]:
4529         * ParagraphParameters.C:
4530         * bufferview_funcs.C:
4531         * lyx_cb.C:
4532         * lyxfind.C:
4533         * lyxfunc.C:
4534         * text.C:
4535         * text2.C:
4536         * text3.C: replace "complicated" BufferView::update(...) calls with
4537         simpler ones.
4538
4539         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4540
4541 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
4542
4543         * Makefile.am (lyx_SOURCES): add paper.h
4544
4545 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4546
4547         * Makefile.am: move things around so that both lyx-qt and
4548         lyx-xforms can be built (according to --with-frontend). Then lyx
4549         is a symbolic link to lyx-[firstfrontend]
4550
4551 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
4552
4553         * Always use std::endl with lyxerr
4554
4555 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
4556
4557         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4558
4559 2003-08-01  André Pönitz  <poenitz@gmx.net>
4560
4561         * BufferView.[Ch]:
4562         * BufferView_pimpl.[Ch]:
4563         * lyxfunc.C:
4564         * text3.C: merge BufferView::repaint() and BufferView::update()
4565
4566 2003-08-01  José Matos  <jamatos@lyx.org>
4567
4568         * buffer.[Ch]: file_format is no longer a buffer data element.
4569
4570 2003-08-01  André Pönitz  <poenitz@gmx.net>
4571
4572         * BufferView.C:
4573         * lyxtext.h:
4574         * text.C:
4575         * text2.C: make redoParagraph more independent of current cursor
4576
4577         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4578         * text.C:
4579         * text2.C: remove unneeded members
4580
4581 2003-07-30  André Pönitz  <poenitz@gmx.net>
4582
4583         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4584
4585         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4586           create a single function...
4587
4588         * paragraph_funcs.C (moveItem): ... here.
4589
4590         * text.C:
4591           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4592
4593 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
4594
4595         * LColor.[Ch]: Add comment and greyedout logical colors.
4596
4597 2003-07-30  André Pönitz  <poenitz@gmx.net>
4598
4599         * tabular.C: don't use Assert too heavily. This crashes where it
4600           shouldn't
4601
4602 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
4603
4604         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4605         is disabled (bug 1232)
4606
4607 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4608
4609         * factory.C: limited 'arg' scope
4610
4611 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4612
4613         * factory.C: fixed Note submenu issues
4614
4615 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4616
4617         * factory.C: submenu for Note/Comment/Greyedout
4618
4619 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
4620
4621         * lyx_main.C (LyX):
4622         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4623
4624 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
4625
4626         * LaTeXFeatures.C:
4627         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4628         greyedout. Patch provided by Jürgen Spitzmüller.
4629
4630 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4631
4632         * kbmap.C (read): fix error message when reading bind files
4633
4634 2003-07-29  Angus Leeming  <leeming@lyx.org>
4635
4636         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4637         certainly does not do what it purports to do. I am doing it, and
4638         us, a favour by killing it.
4639
4640 2003-07-28  José Matos  <jamatos@lyx.org>
4641
4642         * buffer.C (readBody, do_writeFile):
4643         * paragraph.C(readParagraph): \end_document replaces \the_end.
4644
4645 2003-07-29  André Pönitz  <poenitz@gmx.net>
4646
4647         * BufferView.[Ch]:
4648         * BufferView_pimpl.[Ch]:
4649         * lyxfunc.C:
4650         * text2.C:
4651         * text3.C:
4652         * textcursor.[Ch]: remove toggleToggle & Co
4653
4654 2003-07-28  José Matos  <jamatos@fep.up.pt>
4655
4656         * buffer.C (readParagraph):
4657         * params_func (readParToken, readParagraph):
4658         * paragraph.C (write): \layout -> \begin_layout.
4659
4660 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4661
4662         * lyxlex_pimpl.C (setFile): clean up slightly.
4663
4664         * bufferparams.h: add compressed var
4665
4666         * buffer_funcs.C (readFile): adjust for LyXLex change
4667         (newFile): ditto + simplify
4668
4669         * buffer.C (writeFile): handle writing of compressed files
4670
4671         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4672         Check if the file is compressed and set a bufferparm if so.
4673
4674         * Makefile.am (lyx_LDADD): remove explicit -lz
4675
4676 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4677
4678         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4679         makeDocBookFile): put the real LyX version in the first line of
4680         the file
4681
4682         * version.h:
4683         * version.C.in: remove lyx_docversion
4684
4685         * tabular.C (write_attribute): add a template-based version to
4686         write enums properly
4687
4688 2003-07-28  André Pönitz  <poenitz@gmx.net>
4689
4690         * lyxtext.h:
4691         * text.C:
4692         * text2.C:
4693         * text3.C: use doubles again for x-coordinates. They are needed.
4694
4695 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4696
4697         * messages.C (getLocaleDir): use lyx_localedir()
4698
4699         * lyxlex_pimpl.C (setFile): compress stuff
4700
4701         * buffer.C (writeFile): add some compression stuff
4702         (do_writeFile): new func, dont call expliti close... will this
4703         breake anything?
4704
4705         * Makefile.am (lyx_LDADD): add -lz
4706
4707 2003-07-28  José Matos  <jamatos@fep.up.pt>
4708
4709         * buffer.C: increment file format.
4710         * paragraph_funcs (readParagraph, readParToken):
4711         * paragraph.C (readParagraph): add \end_layout.
4712
4713 2003-07-27  Angus Leeming  <leeming@lyx.org>
4714
4715         * Makefile.am: remove special casing for configure-time setting of
4716         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4717
4718         * lyx_main.C (init): remove all Jean-Marc's magic setting of
4719         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4720
4721 2003-07-26  André Pönitz  <poenitz@gmx.net>
4722
4723         * paragraph_func.[Ch]:
4724         * paragraph.C (realizeFont): inline it whereever it is used
4725
4726         * rowpainter.C:
4727         * text.C:
4728         * text2.C:
4729         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4730
4731
4732 2003-07-26  André Pönitz  <poenitz@gmx.net>
4733
4734         *       lyxtext.h:
4735         * text.C:
4736         * text2.C: get rid of LyXText::need_break_row
4737
4738 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4739
4740         * toc.[Ch]: put namespace toc inside namespace lyx
4741
4742         * MenuBackend.C (expandToc2): adjust for lyx::toc
4743         (expandToc): ditto
4744
4745         * lyxfunc.C (dispatch): adjust for lyx::find
4746
4747         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4748         lyx::find instead. Reorganize a bit.
4749         (LyXReplace): rename to replace
4750         (LyXFind): rename to find
4751
4752         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4753         (dispatch): ditto
4754
4755 2003-07-26  André Pönitz  <poenitz@gmx.net>
4756
4757         * text.C (setHeightOfRow): restrict scope of temporary variable
4758
4759         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
4760           code (never has been used?)
4761
4762 2003-07-27  Asger Alstrup  <alstrup@local>
4763
4764         * text.C (fill): Optimise algorithm to exploit that we can reuse
4765         the LyXFont for many characters.
4766         (setHeightOfRow): Same thing.
4767         (rowBreakPoint): Same thing.
4768
4769 2003-07-26  Asger Alstrup  <alstrup@local>
4770
4771         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4772
4773         * text.C (singleWidth): Spurious font copying in hot-spot
4774         singleWidth avoided. Reorder tests for arabic for efficiency.
4775
4776         * text.C (fill): handle empty paragraphs better.
4777
4778 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4779
4780         * ispell.C:
4781         * encoding.h: add includes
4782
4783         * lyxrc.C: remove reading of bind files
4784
4785         * lyx_main.C (init): setup bindings and menus only if we have a
4786         gui.
4787
4788         * kbmap.C (read): new method. Do the actual reading of bind
4789         files.
4790
4791         * converter.C (dvipdfm_options):
4792         * bufferparams.C:
4793         * lyxrc.C (read):
4794         (output): adapt PAPER_* enums.
4795
4796         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4797
4798         * bufferparams.h: remove paper-related enums from there
4799
4800         * paper.h: New file. A trivial header file to hold paper-related
4801         enums. It should later expand to contain many paper-related
4802         horrors access.
4803
4804         * lyxrc.C: declare extern displayTranslator
4805
4806 2003-07-27  José Matos  <jamatos@fep.up.pt>
4807
4808         * tabular.[Ch] (linuxdoc): add support for tables and figures
4809         (linuxdoc).
4810
4811 2003-07-27  José Matos  <jamatos@fep.up.pt>
4812
4813         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4814         consistency in both functions.
4815         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4816
4817 2003-07-26  Asger Alstrup  <alstrup@local>
4818
4819         * rowpainter.C (paintRows): Change algorithm to work directly on
4820         the insets rather than asking every character in the document
4821         whether its an inset.
4822
4823 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
4824
4825         * buffer.C (openFileWrite): factorize some code
4826
4827 2003-07-26  Angus Leeming  <leeming@lyx.org>
4828
4829         * lyx_cb.C:
4830         * lyx_main.[Ch]: replace occurances of system_tempdir with
4831         os::getTmpDir().
4832
4833 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4834
4835         * rename Inset to InsetOld
4836
4837 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
4838
4839         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4840         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4841         which I think is a bit clearer. EDIT is gone, since it was
4842         premature optimisation, and broken for mathed anyway.
4843         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4844         with cursor positioning in insets as well (math insets still do not
4845         work, but that's a different story anyway.) It mysteriously
4846         crashes sometimes with undo in the first paragraph, but I'm fairly
4847         confident that this is a compiler bug.
4848
4849 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4850
4851         * paragraph.C (Paragraph): adjust for new clone return type
4852         (operator==): ditto
4853         (copyIntoMinibuffer): ditto
4854
4855 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
4856
4857         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4858         by not having a special case, and always doing a full rebreak of
4859         the document after undo.
4860
4861 2003-07-23  Angus Leeming  <leeming@lyx.org>
4862
4863         * factory.C (createInset): InsetExternal::setParams now takes a
4864         Buffer const * arg.
4865
4866 2003-07-23  Angus Leeming  <leeming@lyx.org>
4867
4868         * factory.C (createInset): changed interface to the external and
4869         graphics mailers' string2params functions.
4870
4871 2003-07-23  Angus Leeming  <leeming@lyx.org>
4872
4873         * factory.C (createInset): pass a
4874         Buffer const * parameter to InsetExternalMailer's string2params.
4875
4876 2003-07-22  John Levon  <levon@movementarian.org>
4877
4878         * Thesaurus.h: include the right aiksaurus header
4879
4880 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4881
4882         * MenuBackend.C (expand): check menu shortcuts unconditionally
4883
4884 2003-07-21  Angus Leeming  <leeming@lyx.org>
4885
4886         * factory.C (createInset): pass a
4887         buffer_path parameter to InsetGraphicsMailer's string2params.
4888
4889 2003-07-21  Angus Leeming  <leeming@lyx.org>
4890
4891         * BufferView_pimpl.C (buffer):
4892         * buffer.C (d-tor):
4893         * lyx_main.C (LyX):
4894         * lyxfunc.C (dispatch):
4895         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4896         rather than the grfx shortcut.
4897
4898 2003-07-21  André Pönitz  <poenitz@gmx.net>
4899
4900         * rowpainter.C: remove unused variables
4901
4902         * tabular_funcs.C:
4903         * tabular_funcs.h: move to tabular.C
4904         * Makefile.am: adjust
4905
4906         * tabular.[Ch]: basic optical cleaning
4907
4908         * author.h: pass references, not values
4909
4910 2003-07-18  André Pönitz  <poenitz@gmx.net>
4911
4912         * lyxtext.h:
4913         * metricsinfo.C:
4914         * metricsinfo.h:
4915         * rowpainter.C:
4916         * text.C:
4917         * text2.C:
4918         * text3.C: two-phase drawing for InsetText and InsetTabular
4919         some float -> int changes.
4920
4921 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4922
4923         * lyx_main.C: fix the fix
4924
4925 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4926
4927         * lyx_main.C: fix a crash in batch mode if no files specified
4928         * converter.C: ws
4929
4930 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
4931
4932         * format.[Ch] (papersize): moved to BufferParams
4933         * converter.[Ch] (dvips_options): moved to BufferParams
4934         (dvipdfm_options): moved to anon namespace
4935         * bufferparams.[Ch]: added above functions.
4936
4937 2003-07-17  André Pönitz  <poenitz@gmx.net>
4938
4939         * lyxtext.h:
4940         * rowpainter.C:
4941         * text2.C: don't call inset->update() anymore
4942
4943         * metricsinfo.[Ch]: add convenience constructor
4944
4945 2003-07-16  André Pönitz  <poenitz@gmx.net>
4946
4947         * lyxcursor.[Ch]:
4948         * lyxfunc.[Ch]:
4949         * text.C:
4950         * text2.C: replace the LyXCursor::irow_ member with
4951          on-demand computation of the value
4952
4953 2003-07-16  John Levon  <levon@movementarian.org>
4954
4955         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4956
4957 2003-07-15  André Pönitz  <poenitz@gmx.net>
4958
4959         * text.C:
4960         * text2.C: remove no more needed refresh_row
4961
4962 2003-07-15  André Pönitz  <poenitz@gmx.net>
4963
4964         * lyxtext.h:
4965         * rowpainter.C:
4966         * text2.C:
4967         * text3.C: refresh_status tristate -> need_update bool
4968
4969 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
4970
4971         * lyxtext.h (init): remove reinit argument (act as if always true)
4972         * text2.C: adjust to that
4973
4974 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4975
4976         * bufferview_funcs.[Ch]: introduce function replaceSelection()
4977         * text3.C: use it to delete selections in some cases
4978         (bugs 441, 673, 702, 954).
4979
4980 2003-07-14  André Pönitz  <poenitz@gmx.net>
4981
4982         * rowpainter.[Ch]: reduce interface
4983
4984 2003-07-14  André Pönitz  <poenitz@gmx.net>
4985
4986         * BufferView_pimpl.C:
4987         * text2.C: adjust after removing unused BufferView * argument
4988
4989 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
4990
4991         * text2.C (init): fix a crash fired on resize
4992
4993 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
4994
4995         * buffer.[Ch]: added new closing signal
4996         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4997         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4998         BufferView::Pimpl via the closing the signal
4999
5000 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
5001
5002         * buffer.[Ch]: take out all bv-related from buffer
5003         * BufferView.C:
5004         * BufferView_pimpl.[Ch]: connect to new signals
5005         * CutAndPaste.C: removed useless asserts
5006         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5007         * lyxvc.[Ch]:
5008         * vc-backend.[Ch]:
5009         * lyxfunc.C: moved view-related funciontality from vc here
5010         * paragraph.C: removed outdated comments
5011         * text.C: ws
5012
5013 2003-07-10  André Pönitz  <poenitz@gmx.net>
5014
5015         * BufferView_pimpl.C:
5016         * tabular.h:
5017         * tabular_funcs.C:
5018         * text.C:
5019         * text2.C: remove InsetText::InnerCache, clean up consequences
5020
5021 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
5022
5023         * ispell.C: fix two typos in error messages
5024
5025 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
5026
5027         * Extend Note inset to other forms of annotation like Comment
5028         and Greyedout. Right button click gives dialog.
5029
5030         Files modified or added (+):
5031
5032         * insetnote.[Ch]
5033         * FormNote.[Ch]      +
5034         * ControlNote.[Ch]   +
5035         * form_note.fd       +
5036         * Makefile.am in frontends/xforms, frontends/xforms/forms,
5037         frontends/controllers
5038         * xforms/Dialogs.C
5039         * factory.C
5040
5041 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5042
5043         * aspell.C: add missing namespace lyx::support
5044
5045 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
5046
5047         * BufferView.[Ch] (newFile): Add
5048         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5049         * LaTeX.[Ch] (message): added this signal and use it
5050         * buffer.[Ch] (busy, message): added these signals and use them
5051         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5052         * converter.C:
5053         * exporter.C:
5054         * format.C:
5055         * importer.C: use buffer signals instead of direct bv calling
5056         * lyx_cb.[Ch] (ShowMessage): removed
5057         * lyx_main.C:
5058         * lyxfunc.C:
5059         * paragraph_funcs.C:
5060         * text2.C: use buffer signals
5061
5062 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5063
5064         * introduce namespace lyx::graphics
5065
5066 2003-07-02  André Pönitz  <poenitz@gmx.net>
5067
5068         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5069
5070 2003-07-01  André Pönitz  <poenitz@gmx.net>
5071
5072         * text.C:
5073         * text2.C:
5074         * text3.C:
5075         * text_funcs.[Ch]:
5076         * textcursor.h:
5077         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5078           text*.C to text_func.C
5079
5080 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5081
5082         * introduce namespace lyx::support
5083
5084 2003-06-30  André Pönitz  <poenitz@gmx.net>
5085
5086         * Chktex.C:
5087         * funcrequest.C:
5088         * lyxtext.h:
5089         * text.C: re-enable --with-included-string
5090
5091 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5092
5093         * textcursor.C: add <config.h>
5094
5095         * text.C (getWord): remove const from word_location arg
5096
5097         * lyxvc.C (getLogFile): fix const type order
5098
5099         * lyxtext.h: remove const from word_location arg, add arg name
5100
5101         * lyxlayout.h: currect type on labeltype.
5102
5103         * importer.C: correct \file
5104
5105         * converter.C (intToFormat): use std:: on ret val, ws changes
5106
5107         * bufferlist.h: correct \file
5108
5109         * buffer.C (makeLinuxDocFile): fix const type order
5110         (makeDocBookFile): ditto
5111         (fillWithBibKeys): use std:: on stdlib args.
5112
5113         * CutAndPaste.C: fix authors.
5114         (availableSelections): use std:: on return vector
5115
5116 2003-06-27  André Pönitz  <poenitz@gmx.net>
5117
5118         * BufferView_pimpl.C:
5119         * bufferview_funcs.C:
5120         * lyxcursor.C:
5121         * lyxcursor.h:
5122         * lyxfunc.C:
5123         * lyxtext.h:
5124         * rowpainter.C:
5125         * text.C:
5126         * text2.C:
5127         * text3.C: remove LyXCursor::row_ member
5128
5129         * lyxtext.h:
5130         * text.C: rename fullRebreak() to partialRebreak() and implement
5131           a fullRebreak() that really bereks fully
5132
5133         * textcursor.h: new struct for cursor-related data
5134
5135 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
5136
5137         * lyx_main.C (LyX): get full path of document loaded on the
5138         command line
5139
5140 2003-06-26  André Pönitz  <poenitz@gmx.net>
5141
5142         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5143           remove unused/broken operator>,<,>=.
5144
5145         *       text.C: remove only use of broken operator<= in an Assert().
5146
5147 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5148
5149         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5150         moved errorlist_.clear to showErrorList
5151
5152 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5153
5154         * converter.C (scanLog, runLaTeX):
5155         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5156         move the bv->showErrorList call to the callers
5157         * lyxfunc.C: i.e. here...
5158         * text2.C: and here
5159         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5160         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5161         namespace, the second to...
5162         * buffer_funcs (BufferFormat, parseErrors): added
5163         * errorlist.C (ErrorList(TeXErrors const &)): removed
5164
5165 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5166
5167         * ToolbarBackend.C (getIcon): complain when icon cannot be found
5168
5169 2003-06-24  "Garst R. Reese" <reese@isn.net>
5170
5171         * debug.C: fix typo
5172
5173 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5174
5175         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5176
5177         * version.C.in: change docversion to 1.4
5178
5179 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
5180
5181         * buffer.C: fix a bug just introduced
5182
5183 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
5184
5185         * buffer.[Ch]: added the parseError signal and use it, removed
5186         sgmlError
5187         * BufferView.[Ch] (addError): moved to ...
5188         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5189         to the Buffer::parseError signal to catch (guess what) parse errors
5190         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5191
5192 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
5193
5194         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5195         ability to create a buffer and to return an existing one from
5196         the list. Moved these functions to...
5197         * buffer_funcs.[Ch]: added
5198         * BufferView.[Ch] (loadLyXFile): added
5199         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5200         job removed from bufferlist::loadLyXFile.
5201         * buffer.C (setReadOnly): make it work without view
5202         (i.e added an if (users))
5203
5204 2003-06-19  Angus Leeming  <leeming@lyx.org>
5205
5206         * lfuns.h:
5207         * LyXAction.C (init):
5208         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5209         with LFUN_DIALOG_SHOW <name> <data>.
5210
5211 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5212
5213         * CutAndPaste.C (availableSelections): small compilation fix for
5214         ancient (gcc 2.9x) compilers
5215
5216 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
5217
5218         * text3.C (cursorNext): add tmp var
5219
5220         * text2.C (updateCounters): for function calling out of for clause
5221         (replaceSelectionWithString): ditto
5222         (insertStringAsParagraphs): ditto
5223         (getColumnNearX): add tmp var
5224         (setCursorFromCoordinates): add tmp var
5225         (cursorDownParagraph): add tmp var
5226         (deleteEmptyParagraphMechanism): add tmp var
5227
5228         * text.C (insertChar): add tmp var
5229
5230         * rowpainter.C (paintDepthBar): add tmp var
5231
5232         * CutAndPaste.C (availableSelections): potentially check all
5233         paragraphs in a cut to fill the shown strings.
5234
5235 2003-06-18  André Pönitz  <poenitz@gmx.net>
5236
5237         * kbmap.[Ch]: use vector<> instead of list<>
5238
5239 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
5240
5241         * text3.C (dispatch): handle arg to LFUN_PASTE, call
5242         pasteSelection with index
5243
5244         * text2.C (pasteSelection): modify, call pasteSelection with index
5245
5246         * paragraph.C (asString): reimplement version with no interval to
5247         call the one with interval.
5248
5249         * lyxtext.h: add index arg to pasteSelection
5250
5251         * MenuBackend.C (MenuItem): handle PasteRecent
5252         (Menu::read::Menutags): add md_pasterecent
5253         (read): handle it
5254         (expandPasteRecent): new function
5255         (expand): use it
5256
5257         * MenuBackend.h: add PasteRecent to MenuItem::Kind
5258
5259         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5260         the limited stack
5261         (availableSelections): new function
5262
5263 2003-06-17  Angus Leeming  <leeming@lyx.org>
5264
5265         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5266
5267 2003-06-17  Angus Leeming  <leeming@lyx.org>
5268
5269         * lfuns.h:
5270         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5271
5272         * lyxfunc.C (dispatch): invoke it.
5273
5274 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5275
5276         * iterators.C (operator++, ParPosition): reintroduce some
5277         const_cast for the benefit of older compilers.
5278
5279 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5280
5281         * text3.C (dispatch): do not modify clipboard when doing
5282         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5283         LFUN_DELETE_SKIP on a selection selection
5284
5285 2003-06-16  André Pönitz  <poenitz@gmx.net>
5286
5287         * BufferView.C:
5288         * buffer.C:
5289         * buffer.h:
5290         * paragraph.C:
5291         * tabular.[Ch]: IU of clone() and getLabelList();
5292
5293 2003-06-13  André Pönitz  <poenitz@gmx.net>
5294
5295         * tabular.h: compactification
5296
5297 2003-06-12  André Pönitz  <poenitz@gmx.net>
5298
5299         * tabular.C:
5300         * tabular.h:
5301         * tabular_funcs.h: some renaming plus whitespace
5302
5303 2003-06-12  André Pönitz  <poenitz@gmx.net>
5304
5305         * BufferView.C:
5306         * BufferView_pimpl.C:
5307         * CutAndPaste.C:
5308         * buffer.C:
5309         * iterators.[Ch]:
5310         * lyxfunc.C:
5311         * text.C:
5312         * toc.C: Return a Paragraph & for ParIterator::operator*()
5313
5314 2003-06-11  John Levon  <levon@movementarian.org>
5315
5316         * lyx_main.C:
5317         * ToolbarBackend.h:
5318         * ToolbarBackend.C: add "Toolbars" section and
5319         put the flags there
5320
5321 2003-06-10  Angus Leeming  <leeming@lyx.org>
5322
5323         * lfuns.h:
5324         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5325
5326         * lyxfunc.C (dispatch): invoke it.
5327
5328 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5329
5330         * main.C: protect <ios> with HAVE_IOS
5331         (main): protect sync_with_stdio with HAVE_IOS
5332
5333 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
5334
5335         * text2.C (cutSelection): adjust
5336         (pasteSelection): adjust
5337
5338         * messages.C: handle get of empty string
5339
5340         * main.C (main): use sync_with_stdio(false)
5341
5342         * lyxfunc.C (dispatch): adjust
5343
5344         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5345         (WriteAs): remove unneeded BufferView arg.
5346
5347         * bufferparams.h: use correct types on papersize, papersize2 and
5348         paperpackage.
5349
5350         * bufferparams.C (readToken): adjust for type
5351         (writeLaTeX): add missing cases to switch.
5352
5353         * bufferlist.C (quitWriteBuffer): adjust
5354         (close): adjust
5355
5356         * buffer.C (asciiParagraph): remove some commented code.
5357
5358         * CutAndPaste.C: remove current_view extern variable.
5359         (cutSelection): add BufferParams arg.
5360         (eraseSelection): add BufferParams arg.
5361         (pasteSelection): add Buffer const & arg
5362
5363 2003-06-07  John Levon  <levon@movementarian.org>
5364
5365         * buffer.C:
5366         * paragraph_funcs.C:
5367         * paragraph_pimpl.C:
5368         * text.C:
5369         * text2.C:
5370         * paragraph.h:
5371         * paragraph.C: allow InsetERT to freely space lines,
5372         and some consolidation of code
5373
5374 2003-06-06  José Matos  <jamatos@fep.up.pt>
5375
5376         * buffer.C (makeDocBookFile): fix bug #821
5377
5378 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
5379
5380         * BufferView_pimpl.C (dispatch): use Dialogs::visible
5381
5382 2003-06-04  Angus Leeming  <leeming@lyx.org>
5383
5384         * buffer.C: bump format to 224.
5385
5386 2003-06-05  André Pönitz  <poenitz@gmx.net>
5387
5388         * text2.C (redoParagraphs): remove two const_cast<>
5389
5390 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5391
5392         * ParagraphList.h: remove last remnants of NO_STD_LIST
5393
5394 2003-06-03  Angus Leeming  <leeming@lyx.org>
5395
5396         * factory.C (createInset): small change to the way InsetExternal's params
5397         are set.
5398
5399 2003-06-04  André Pönitz  <poenitz@gmx.net>
5400
5401         * buffer.h: use Undo directly instead of shared_ptr<Undo>
5402
5403         * paragraph_pimpl.h:
5404         * paragraph.[Ch]: some Inset -> UpdatableInset changes
5405
5406         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5407
5408         * undo_funcs.C: make some simple cases of undo work again
5409
5410 2003-06-03  John Levon  <levon@movementarian.org>
5411
5412         * ispell.C: HPUX doesn't have sys/select.h
5413         (from Albert Chin)
5414
5415 2003-06-03  John Levon  <levon@movementarian.org>
5416
5417         * CutAndPaste.C: update tabular and include inset
5418         buffer references
5419
5420         * buffer.h:
5421         * paragraph.h:
5422         * paragraph.C: remove owningBuffer(), don't pass Buffer
5423         to clone()
5424
5425         * factory.C: insetGraphicsParams changed
5426
5427 2003-06-02  John Levon  <levon@movementarian.org>
5428
5429         * LyXAction.C:
5430         * factory.C:
5431         * lfuns.h:
5432         * lyxfunc.C:
5433         * text3.C: remove insetparent
5434
5435 2003-06-02  John Levon  <levon@movementarian.org>
5436
5437         * buffer.h:
5438         * buffer.C: fix inset_iterator.end(), move out of line
5439         (bug 1149)
5440
5441 2003-06-01  John Levon  <levon@movementarian.org>
5442
5443         * text3.C: use a proper cut/paste when doing inset
5444         insert (from Jürgen Spitzmüller)
5445
5446 2003-06-01  John Levon  <levon@movementarian.org>
5447
5448         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5449
5450 2003-05-30  André Pönitz  <poenitz@gmx.net>
5451
5452         * rowpainter.C: unify second drawing phase
5453
5454 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5455
5456         * trans_mgr.C: remove one case of current_view
5457
5458         * text2.C (cursorBottom): delete NO_STD_LIST stuff
5459
5460         * paragraph_funcs.h: remove paragraph.h include
5461
5462         * paragraph.h: delete NO_STD_LIST stuff
5463
5464         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5465
5466         * buffer.h: remove paragraph.h include
5467
5468         * ParagraphList.C: delete file
5469
5470         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5471
5472         * toc.C (getTocList): adjust
5473
5474         * paragraph_pimpl.C (validate): adjust
5475
5476         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5477
5478         * paragraph.C (Paragraph): adjust
5479         (getPositionOfInset): use const_iterator, adjust
5480         (bibitem): use const_iterator, adjust
5481         (setInsetOwner): adjust
5482
5483         * iterators.C (operator++): adjust
5484
5485         * InsetList.[Ch]: Replace selfmade iterator with standard
5486         vector::iterator also introduce const_iterator. Remove getPos,
5487         getInset and setInset from InsetTable. Adjust accordingly.
5488
5489         * BufferView.C (lockInset): adjust
5490         (ChangeInsets): adjust
5491
5492         * tabular.[Ch]: delete commented same_id functions
5493
5494 2003-05-28  John Levon  <levon@movementarian.org>
5495
5496         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5497
5498 2003-05-28  André Pönitz  <poenitz@gmx.net>
5499
5500         * metricsinfo.[Ch]: remove 'fullredraw' member
5501
5502 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
5503
5504         * lyxtextclass.C (operator): remove caching.
5505
5506 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5507
5508         * text3.C: adjust
5509
5510         * text2.C (cursorBottom): adjust
5511         (setCounter): use ParagraphList::find, adjust
5512
5513         * text.C (workWidth): use ParagraphList::find, adjust
5514
5515         * lyxcursor.C (LyXCursor): adjust
5516
5517         * buffer.C (inset_iterator): adjust
5518
5519         * ParagraphList.h: make iterator(value_type) private, make
5520         ParagraphList a friend of iterator.
5521
5522         * ParagraphList.C (find): new function
5523
5524         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5525
5526 2003-05-27  André Pönitz  <poenitz@gmx.net>
5527
5528         * dimension.[Ch]: a -> asc, d -> des, w -> wid
5529
5530 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5531
5532         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5533
5534 2003-05-26  John Levon  <levon@movementarian.org>
5535
5536         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5537
5538 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5539
5540         * remove same_id from function signatures, adjust.
5541
5542 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5543
5544         * undo_funcs.C (createUndo): use the id functions directly, adjust.
5545
5546         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5547
5548         * paragraph.C (Paragraph): get rid of same_ids parameter
5549
5550         * ParagraphList.C (insert): adjust
5551         (push_back): adjust
5552
5553 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5554
5555         * paragraph_funcs.C (breakParagraph): adjust
5556         (breakParagraphConservative): adjust
5557
5558         * buffer.C (readParagraph): adjust
5559
5560         * ParagraphList.C (insert): take a reference instead of a pointer
5561         (insert): adjust
5562
5563         * paragraph.[Ch] (id): new function
5564
5565         * bufferlist.C (newFile): adjust
5566
5567         * ParagraphList.C (ParagraphList): adjust
5568         (assign): adjust
5569         (push_back): take a reference instead of a pointer.
5570
5571         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5572
5573         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5574         instead.
5575
5576         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5577         set else use old code.
5578
5579         * ParagraphList.C: remove all NO_NEXT code and only compile this
5580         code of NO_STD_LIST is set.
5581
5582 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5583
5584         * BufferView_pimpl.C:
5585         * TextCache.C:
5586         * TextCache.h:
5587         * bufferlist.C:
5588         * errorlist.h:
5589         * format.C:
5590         * format.h:
5591         * graph.C:
5592         * lyxfunc.C:
5593         * lyxrc.C:
5594         * graphics/GraphicsConverter.C:
5595         * graphics/PreviewLoader.C: header adjustment
5596
5597 2003-05-23  Angus Leeming  <leeming@lyx.org>
5598
5599         * LaTeXFeatures.[Ch] (useBabel): new method.
5600         * bufferparams.C (writeLaTeX): use it.
5601
5602 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5603
5604         * ParagraphList.h (set): remove unused function.
5605
5606 2003-05-23  André Pönitz  <poenitz@gmx.net>
5607
5608         * BufferView.C:
5609         * BufferView_pimpl.C:
5610         * buffer.C:
5611         * buffer.h:
5612         * lyxfunc.C:
5613         * undo_funcs.C: setUndo reworked
5614
5615         * iterators.[Ch]: add access to topmost ParagraphList
5616
5617         * lyxtext.[Ch] (workWidth): add a const
5618
5619 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5620
5621         * texrow.[Ch] (increasePos): remove function
5622         * exporter.C (export): removed unused var and outdated comment
5623
5624 2003-05-23  Angus Leeming  <leeming@lyx.org>
5625
5626         * latexrunparams.h: rename fragile as moving_arg.
5627         * paragraph.C (simpleTeXOnePar): ditto.
5628         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5629
5630 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5631
5632         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5633         (createUndo): ditto
5634         (textUndoOrRedo): comment out a currently unused var.
5635
5636         * paragraph.h (NO_NEXT): enable NO_NEXT
5637
5638         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5639
5640         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5641
5642         * exporter.C (Export): adjust for removeAutoInsets removal.
5643
5644         * buffer.C (runChktex): adjust for removeAutoInsets removal.
5645
5646         * LyXAction.C (init): remove LFUN_REMOVEERRORS
5647
5648         * BufferView.[Ch] (removeAutoInsets): delete function
5649
5650 2003-05-22  Angus Leeming  <leeming@lyx.org>
5651
5652         * latexrunparams.h: add a free_spacing variable.
5653
5654         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5655         to pass moving_arg, as the data is stored in runparams.fragile.
5656
5657         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5658         to Inset::latexOptional or to simpleTeXOnePar.
5659
5660         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5661         free_spacing arg to Inset::latexOptional.
5662
5663         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5664         free_spacing arg.
5665
5666 2003-05-22  Angus Leeming  <leeming@lyx.org>
5667
5668         * latexrunparams.h: add fragile and use_babel variables.
5669
5670         * bufferparams.[Ch] (writeLaTeX): return use_babel.
5671         * buffer.C (makeLaTeXFile): store this returned value in
5672         runparams.use_babel, thus passing it to the inset::latex methods.
5673
5674         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5675         simpleTeXSpecialChars as it is now stored in runparams.fragile.
5676
5677         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5678         longer has a fragile arg, as it is stored in runparams.fragile.
5679
5680         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5681         moving_arg parameter as the data is stored in runparams.fragile.
5682
5683         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5684         a fragile parameter as the data is stored in runparams.fragile.
5685
5686 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5687
5688         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5689
5690 2003-05-22  Angus Leeming  <leeming@lyx.org>
5691
5692         * latexrunparams.h: add a 'bool nice' which defaults to false.
5693
5694         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5695         now encapsulated within runparams.
5696
5697         * bufferlist.C (updateIncludedTeXfiles):
5698         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5699
5700 2003-05-22  Angus Leeming  <leeming@lyx.org>
5701
5702         * latexrunparams.h: new file containing struct LatexRunParams.
5703         * Makefile.am: add new file.
5704
5705         * LaTeX.[Ch] (c-tor, run):
5706         * buffer.[Ch] (makeLaTeXFile):
5707         * bufferlist.[Ch] (updateIncludedTeXfiles):
5708         * converter.C (convert, scanLog):
5709         * converter.[Ch] (runLaTeX):
5710         * exporter.C (Export):
5711         * paragraph.[Ch] (simpleTeXOnePar):
5712         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5713         * paragraph_funcs.[Ch] (latexParagraphs):
5714         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5715         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5716         pass around a LatexRunParams parameter.
5717
5718 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5719
5720         * paragraph.[Ch]: remove unused constructor
5721
5722         * ParagraphList.C (erase): new function, taking two iterators
5723
5724 2003-05-22  André Pönitz  <poenitz@gmx.net>
5725
5726         * undo_funcs.C: remove duplicated code
5727
5728         * iterator.[Ch]: operator=
5729
5730 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5731
5732         * tabular.C (SetMultiColumn): ws changes
5733
5734         * rowpainter.C (paintFirst): get rid of a ->previous
5735
5736         * lyx_cb.C (getPossibleLabel): parlist simplification
5737
5738         * BufferView.C (ChangeInsets): simplify slightly.
5739
5740 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
5741
5742         * LyXAction.C: new lfun space-insert, kill protected-space-insert
5743         * lfuns.h: new LFUN_SPACE
5744         * lyxfunc.C: protected space has a new lfun
5745         * paragraph_funcs.C: read new space insets
5746         * text3.C:
5747         * factory.C: handle new space insets
5748
5749 2003-05-22  André Pönitz  <poenitz@gmx.net>
5750
5751         * BufferView.C:
5752         * BufferView_pimpl.C:
5753         * buffer.[Ch]:
5754         * lyxfunc.C:
5755         * undo_funcs.C: return a ParIterator from getParFromID.
5756
5757         * iterators.[Ch]: add two const's
5758
5759 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5760
5761         * toc.C (getTocList): adjust
5762
5763         * iterators.[Ch]: rework for parlist
5764
5765         * buffer.C (par_iterator_begin): adjust
5766         (par_iterator_end): adjust
5767
5768         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5769
5770         * BufferView.C (removeAutoInsets): adjust
5771         (ChangeInsets): adjust
5772
5773 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
5774
5775         * text.C (top_y): fix bug 1110
5776
5777 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
5778
5779         * errorlist.[Ch]: added
5780         * buffer.C:
5781         * BufferView.[Ch]:
5782         * BufferView_pimpl.C:
5783         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5784         instead
5785
5786 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5787
5788         * Makefile.am: ensure that lyx is relinked upon changes to the
5789         various "convenience" libs.
5790
5791 2003-05-20  Angus Leeming  <leeming@lyx.org>
5792
5793         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5794         files are compiled in alphabetical order again.
5795
5796         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5797
5798 2003-05-19  Angus Leeming  <leeming@lyx.org>
5799
5800         * gettext.[Ch]: remove "char const * _(char const *)".
5801
5802 2003-05-19  André Pönitz  <poenitz@gmx.net>
5803
5804         * dimension.[Ch]: promote from mathed/dimension.[Ch]
5805
5806         * Makefile.am:
5807         * BufferView.C:
5808         * DepTable.h:
5809         * LaTeXFeatures.C:
5810         * buffer.C:
5811         * lyxfont.C:
5812         * lyxlex.h:
5813         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5814
5815 2003-05-19  André Pönitz  <poenitz@gmx.net>
5816
5817         * buffer.C:
5818         * lyxlayout.[Ch]:
5819         * lyxtextclass.[Ch]:
5820         * paragraph.C:
5821         * paragraph_funcs.[Ch]:
5822         * text2.C:
5823         * text3.C: more insetenv work
5824
5825 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
5826
5827         * ParagraphParameters.C (params2string): small bug fixed
5828
5829 2003-05-16  André Pönitz  <poenitz@gmx.net>
5830
5831         * debug.C:
5832         * bufferview_funcs.C: patch from Kornel Benko to prevent
5833           crash when _(...) is called twice in a statement
5834
5835 2003-05-16  André Pönitz  <poenitz@gmx.net>
5836
5837         * BufferView.C:
5838         * lyxfunc.C:
5839         * text.C:
5840         * text2.C:
5841         * text3.C:
5842         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5843
5844 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
5845
5846         * lyx_main.C (init): remove spurious static_cast
5847
5848 2003-05-14  André Pönitz  <poenitz@gmx.net>
5849
5850         * BufferView.C: fix format string
5851
5852 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
5853
5854         * BufferView.[Ch] (insertErrors): removed
5855         * BufferView.[Ch] (showErrorList): added
5856         * buffer.C (runChkTeX):
5857         * converter.C (scanLog): call showErrorList instead of inserterrors
5858
5859 2003-05-13  André Pönitz  <poenitz@gmx.net>
5860
5861         * BufferView_pimpl.C:
5862         * buffer.C:
5863         * bufferview_func.C:
5864         * MenuBackend.C:
5865         * lyxfunc.C:
5866         * lyxrc.C:
5867         * tex-accent.C:
5868         * text3.C:
5869         * toc.C:
5870         * tabular_funcs.h: tostr() from its own header
5871
5872         * ParagraphParameters.C:
5873         * ToolbarBackend.C:
5874         * bufferparams.C:
5875         * format.C:
5876         * lyxlex_pimpl.C:
5877         * text3.C: STRCONV()
5878
5879 2003-05-12  André Pönitz  <poenitz@gmx.net>
5880
5881         * BufferView.C:
5882         * BufferView_pimpl.C:
5883         * CutAndPaste.C:
5884         * LaTeX.C:
5885         * LaTeXFeatures.C:
5886         * ParagraphParameters.C:
5887         * buffer.C:
5888         * bufferlist.C:
5889         * bufferparams.C:
5890         * bufferview_funcs.C:
5891         * converter.C:
5892         * counters.C:
5893         * debug.C:
5894         * exporter.C:
5895         * format.C:
5896         * importer.C:
5897         * lyx_cb.C:
5898         * lyx_main.C:
5899         * lyxfont.C:
5900         * lyxfunc.C:
5901         * lyxvc.C:
5902         * paragraph.C:
5903         * paragraph_funcs.C:
5904         * tabular.C:
5905         * tabular_funcs.C:
5906         * text2.C:
5907         * text3.C:  boost::format -> bformat  all over the place
5908
5909
5910 2003-05-09  André Pönitz  <poenitz@gmx.net>
5911
5912         * LColor.[Ch]: Pimpl the #include <map> away
5913
5914 2003-05-09  John Levon  <levon@movementarian.org>
5915
5916         * bufferlist.C: never remove emergency saves
5917
5918 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5919
5920         * Makefile.am: better lib building
5921
5922 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
5923
5924         * texrow.[Ch]: remove dependency on Paragraph and just store a id
5925         instead.
5926         * paragraph_pimpl.C (simpleTeXBlanks): adjust
5927         (simpleTeXSpecialChars): adjust
5928         (simpleTeXSpecialChars): adjust
5929         * paragraph.C (simpleTeXOnePar): adjust
5930         * buffer.C (makeLaTeXFile): adjust
5931
5932         * Makefile.am (BOOST_LIBS): allow boost as system lib.
5933
5934         * text2.C (changeDepth): parlist cleanup
5935         (getColumnNearX): ditto
5936
5937         * rowpainter.C (getLabelFont): parlist cleanup
5938
5939         * bufferlist.C (newFile): parlist cleanup
5940
5941         * CutAndPaste.C (eraseSelection): parlist cleanup
5942
5943         * BufferView_pimpl.C (trackChanges): parlist cleanup
5944         (dispatch): ditto
5945
5946         * BufferView.C (lockInset): parlist cleanup.
5947         (ChangeInsets): ditto
5948
5949 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5950
5951         * CutAndPaste.h: Update file header.
5952
5953         * CutAndPaste.C: Update file header.
5954         Store the parts cut out of the Document in a limited_stack.
5955         (copySelection): adjust
5956         (pasteSelection): new function, takes the index in the limited stack.
5957         (nrOfParagraphs): adjust
5958         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5959         simplify error inset insertion.
5960         (checkPastePossible): adjust
5961
5962 2003-05-06  John Levon  <levon@movementarian.org>
5963
5964         * text2.C: don't cast wrap inset to float
5965
5966 2003-05-05  André Pönitz  <poenitz@gmx.net>
5967
5968         * iterator.C:
5969         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5970
5971         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5972           few naked Paragraph *.
5973
5974 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
5975
5976         * bufferparams.C: Output warning if a document with missing
5977         TeX document class is loaded
5978         * exporter.C: Disable TeX exports if the document class is missing
5979         * lyxtextclass.C:
5980         * lyxtextclass.h:
5981         * lyxtextclasslist.C: Handle new textclass.lst format; new method
5982         isTeXClassAvailable()
5983
5984 2003-05-03  John Levon  <levon@movementarian.org>
5985
5986         * BufferView.h:
5987         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5988         explicit cursor show/hide
5989
5990         * BufferView_pimpl.h:
5991         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5992         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5993
5994         * lyxfunc.C: hide cursor before dispatching.
5995
5996         * lyx_cb.C:
5997         * lyxfind.C:
5998         * text.C:
5999         * text3.C: remove explicit cursor hides
6000
6001 2003-05-02  André Pönitz  <poenitz@gmx.net>
6002
6003         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6004
6005         * undo_funcs.C:
6006         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6007           linked lists
6008
6009         * text2.C: tiny whitespace
6010
6011 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6012
6013         * undo_funcs.C: almost only ws changes.
6014
6015         * ParagraphList.C (splice): just return if pl is empty.
6016
6017 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6018
6019         * ParagraphList.C (splice): new function.
6020
6021         * CutAndPaste.C (pasteSelection): use it
6022
6023 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6024
6025         * CutAndPaste.C (pasteSelection): remove the last next and
6026         previous from this file.
6027
6028 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6029
6030         * CutAndPaste.C (pasteSelection): more clean up, user proper
6031         ParagraphList functions for pasteing.
6032
6033         * ParagraphList.C (insert): new function, three arg insert
6034
6035 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6036
6037         * ParagraphList.C (insert): new function, three arg insert
6038
6039         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6040         not on paragraphs.
6041
6042 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6043
6044         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6045
6046 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6047
6048         * CutAndPaste.C (pasteSelection): remove some unneeded code.
6049
6050 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6051
6052         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6053         (copySelection): clean up a bit.
6054         (pasteSelection): use make_pair
6055
6056         * ParagraphList.C (ParagraphList): implement copy constructor
6057         (operator=): implement, base on copy constructor.
6058         (assign): new func
6059
6060         * paragraph.C (erase): return a bool
6061
6062         * paragraph_pimpl.C (erasePos): remove function, move contents...
6063         (erase): ... here. Return a bool.
6064         (erase): call erase instead of erasePos.
6065
6066 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
6067
6068         * ParagraphList.h: define PitPosPair
6069         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6070         ParagraphList, fix a bug on pasting multiple pars
6071         * text2.C: change interface to C&P
6072
6073 2003-04-30  André Pönitz  <poenitz@gmx.net>
6074
6075         * undo_func.C: revert part of yesterday's patch 2
6076
6077 2003-04-30  John Levon  <levon@movementarian.org>
6078
6079         * LColor.C: s/tabular/table/
6080
6081 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6082
6083         * text3.C (dispatch): do not convert iterator -> pointer
6084         * undo_funcs.C (setCursorParUndo): ditto
6085         * text_funcs.C (transposeChars): ditto
6086
6087         * text2.C (setLayout): ws changes only
6088
6089         * text.C (breakParagraph): do not convert iterator -> pointer
6090         (insertChar): ditto
6091         (acceptChange): ditto
6092         (rejectChange): ditto
6093         (changeCase): ditto
6094         (Delete): ditto
6095         (backspace): ditto
6096
6097         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6098         pointer
6099
6100 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6101
6102         * text3.C (gotoInset): YABG (yet another bad getChar)
6103
6104 2003-04-29  André Pönitz  <poenitz@gmx.net>
6105
6106         * paragraph.h: make operator= private unimplemented as long as
6107           it is unusable
6108
6109         * ParagraphList.C: whitespace
6110
6111         * paragraph.[Ch]:
6112         * paragraph_pimpl.[Ch]:
6113         * paragraph_funcs.C:
6114         * CutAndPaste.C:
6115         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
6116
6117         * text2.C:
6118           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6119
6120 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6121
6122         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6123         * paragraph.[Ch] (erase):
6124         * paragraph_pimpl.[Ch] (erase): change return type and value
6125         * text2.C (cutSelection): some rework
6126
6127 2003-04-28  John Levon  <levon@movementarian.org>
6128
6129         * bufferlist.C: changes for unsaved changes dialog
6130
6131 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6132
6133         * bufferlist.C (newFile): set language (messages_) for new
6134         documents also.
6135
6136         * buffer.C (readFile): ws changes only.
6137
6138 2003-04-28  André Pönitz  <poenitz@gmx.net>
6139
6140         * undo_funcs.C:
6141         * lyxfunc.C:
6142         * buffer.[Ch]:
6143         * BufferView_pimpl.C:
6144         * BufferView.C: getParFromID related ParagraphList::iterator changes
6145
6146 2003-04-28  André Pönitz  <poenitz@gmx.net>
6147
6148         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6149           Changes
6150
6151 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6152
6153         * messages.C: remove one more localedir class variable.
6154
6155 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6156
6157         * messages.C (getLocaleDir): singleton generation function
6158         (Pimpl): use it.
6159         (Messages): add a default constructor.
6160
6161         * main.C (main): do not setup localedir here, do not call
6162         gettext_init.
6163
6164         * gettext.C (_): use it.
6165         (gettext_init): delete funciton
6166
6167 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6168
6169         * gettext.C (getLyXMessages): new singleton generating function.
6170
6171         * buffer.C (updateDocLang): adjust
6172
6173         * Makefile.am (messages.o): add target
6174         (main.o): remove target
6175
6176 2003-04-27  John Levon  <levon@movementarian.org>
6177
6178         * bufferlist.C:
6179         * lyx_cb.C:
6180         * lyxfunc.C:
6181         * lyxvc.C: specify cancel button in Alert::prompt
6182
6183 2003-04-26  John Levon  <levon@movementarian.org>
6184
6185         * text3.C:
6186         * lyxfunc.C:
6187         * lfuns.h:
6188         * LyXAction.C: add LFUN_INSET_SETTINGS
6189
6190         * lyxfunc.C: don't enable tabular-feature when there's
6191         just any locking inset
6192
6193 2003-04-26  John Levon  <levon@movementarian.org>
6194
6195         * bufferlist.C: re-add Cancel to buffer close question
6196
6197         * lyxfunc.C: fix import UI a bit
6198
6199 2003-04-25  John Levon  <levon@movementarian.org>
6200
6201         * gettext.C: remove the broken asserts for now
6202
6203 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6204
6205         * messages.C: make case where setlocale cannot comply work better.
6206
6207         * buffer.C (updateDocLang): new function
6208         (changeLanguage): use it
6209         (readFile): use it
6210
6211         * text2.C (setCounter): use B_ a bit.
6212
6213         * lyxlayout.C (Read): be sure to trim the label strings.
6214
6215         * messages.C (Messages): fix typo in comment
6216
6217         * buffer.C (readFile): set message_ after file is loaded.
6218         (makeDocBookFile): remove double return
6219         (changeLanguage): reset message_ upon language change.
6220         (B_): new func, use this to get translated buffer strings.
6221
6222         * main.C: add myself and Jean Marc as authors.
6223
6224 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6225
6226         * messages.[hC]: pimplify Messages, and three different pimpls to be
6227         used in different circumstances.
6228
6229         * gettext.[Ch]: change for use with new message code.
6230
6231 2003-04-24 André Pönitz <poenitz@gmx.net>
6232
6233         * factory.C: support for eqref
6234
6235 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6236
6237         * messages.[Ch]: add missing char
6238
6239         * Makefile.am (lyx_SOURCES): add messages.[Ch]
6240
6241         * messages.[Ch]: New files
6242
6243 2003-04-18  John Levon  <levon@movementarian.org>
6244
6245         * BufferView.h:
6246         * BufferView.C:
6247         * BufferView_pimpl.C:
6248         * lfuns.h:
6249         * LyXAction.C:
6250         * lyxtext.h:
6251         * text2.C: remove layout-copy/paste (bug 778)
6252
6253 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6254
6255         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6256
6257 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6258
6259         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6260         if they succeed. Act accordingly.
6261
6262 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6263
6264         * text2.C (setCharFont): adjust
6265         (setCounter): adjust
6266         (insertStringAsLines): adjust
6267
6268         * text.C (leftMargin): adjust
6269         (setHeightOfRow): adjust
6270
6271         * rowpainter.C (paintFirst): adjust
6272         (paintLast): adjust
6273
6274         * paragraph_funcs.C (depthHook): ParagraphList::iterators
6275         (outerHook): ditto
6276         (isFirstInSequence): ditto
6277         (getEndLabel): ditto
6278         (outerFont): adjust
6279
6280         * paragraph.C (getParLanguage): comment out some hard stuff.
6281
6282         * buffer.C (insertStringAsLines): take a ParagraphList as arg
6283         (sgmlError): ditto
6284         (simpleDocBookOnePar): ditto
6285         (makeDocBookFile): use ParagraphList::iterator
6286
6287         * CutAndPaste.C (pasteSelection): adjust
6288
6289 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6290
6291         * text2.C (getFont): adjust
6292         (getLayoutFont): adjust
6293         (getLabelFont): adjust
6294
6295         * paragraph_funcs.C (TeXOnePar): adjust
6296
6297         * buffer.C (simpleLinuxDocOnePar): adjust
6298         (simpleDocBookOnePar): adjust
6299
6300         * CutAndPaste.C (pasteSelection): adjust
6301
6302         * BufferView.C (getEncoding): adjust
6303
6304         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6305
6306 2003-04-16  John Levon  <levon@movementarian.org>
6307
6308         * lyxfind.C: use parlist stuff for search/changes
6309
6310 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6311
6312         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6313
6314         * text2.C (deleteEmptyParagraphMechanism): adjust
6315
6316         * text2.[Ch] (ownerParagraph): delete func (both of them
6317
6318 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6319
6320         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6321
6322 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6323
6324         * ParagraphList.C: prepare for NO_NEXT
6325
6326 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6327
6328         * text2.C (getFont): adjust
6329         (getLayoutFont): adjust
6330         (getLabelFont): adjust
6331
6332         * paragraph.C (getFont): adjust
6333         (getLabelFont): adjust
6334         (getLayoutFont): adjust
6335
6336         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6337
6338 2003-04-15  John Levon  <levon@movementarian.org>
6339
6340         From Angus Leeming
6341
6342         * lyx_main.C: handle Include in .ui files
6343
6344 2003-04-15  John Levon  <levon@movementarian.org>
6345
6346         * MenuBackend.C: make the doc files length shorter
6347
6348         * ToolbarBackend.h:
6349         * ToolbarBackend.C: handle toolbar placement flags,
6350         Minibuffer
6351
6352 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6353
6354         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6355         adjust
6356
6357         * paragraph_funcs.C (TeXOnePar): adjust
6358
6359         * paragraph.C (getLabelFont): add outerfont arg, adjust
6360         (getLayoutFont): ditto
6361         (simpleTeXOnePar): adjust
6362
6363         * paragraph_pimpl.C (realizeFont): delete func
6364
6365 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
6366
6367         * text2.C (beforeFullRowInset): added a bad getchar check, removed
6368         row argument, constify cur argument.
6369
6370 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6371
6372         * text2.C (getFont): adjust
6373         (getLayoutFont): adjust
6374         (getLabelFont): adjust
6375
6376         * paragraph_funcs.C (TeXOnePar): adjust
6377         (outerFont): new func...
6378         (realizeFont): ...moved out from here, changed this to facilitate
6379         transition
6380
6381         * paragraph.C (getFont): take outerfont as arg, adjust
6382         (simpleTeXOnePar): add outerfont arg, adjust
6383
6384         * buffer.C (simpleLinuxDocOnePar): adjust
6385         (simpleDocBookOnePar): adjust
6386
6387         * CutAndPaste.C (pasteSelection): adjust
6388
6389         * BufferView.C (getEncoding): adjust
6390
6391 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6392
6393         * text2.C (setCharFont): adjust
6394         (setCounter): adjust
6395
6396         * text.C (leftMargin): adjust
6397         (setHeightOfRow): adjust
6398
6399         * rowpainter.C (paintFirst): adjust
6400         (paintLast): adjust
6401
6402         * paragraph_pimpl.C (realizeFont): adjust
6403
6404         * paragraph.C (isFirstInSequence): move from here...
6405         * paragraph_funcs.C (isFirstInSequence): ...to here
6406
6407         * paragraph.C (outerHook): move from here...
6408         * paragraph_funcs.C (outerHook): ...to here
6409
6410         * paragraph.C (depthHook): move from here...
6411         * paragraph_funcs.C (depthHook): ...to here
6412
6413         * paragraph.C (getEndLabel): move from here...
6414         * paragraph_funcs.C (getEndLabel): ...to here
6415
6416         * text2.C (realizeFont): move from here...
6417         * paragraph_funcs.C (realizeFont): ...to here
6418
6419 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6420
6421         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6422
6423 2003-04-14  Angus Leeming  <leeming@lyx.org>
6424
6425         * LColor.[Ch]: scrap LColor mathcursor.
6426
6427 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6428
6429         * lyxlex.[Ch] (text): delete function
6430         * trans.C (Load): adjust
6431         * paragraph_funcs.C (readParToken): adjust
6432
6433 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6434
6435         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6436         vector<char> instead of a char[].
6437
6438         * lyxlex_pimpl.C (getString): adjust
6439         (next): adjust
6440         (lex): use getString
6441         (eatLine): adjust
6442         (nextToken): adjust
6443
6444         * lyxlex.C (text): use pimpl_->getString()
6445         (getBool): ditto
6446         (findToken): ditto
6447
6448 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6449
6450         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6451         (makeFontEntriesLayoutSpecific): temp var for par.size()
6452         (setLayout): temp var for ownerParagraphs().end()
6453         (fullRebreak): temp var for rows().end()
6454         (selectionAsString): temp var for boost::next(startpit), realize
6455         that the while really is a regular for loop.
6456         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6457         setCursor in one place.
6458         (setParagraph): temp vr for ownerParagraphs().end()
6459         (updateCounters): make the while loop a for loop
6460         (cutSelection): temp var for ownerParagraphs().end()
6461         (updateInset): make the do {} while() a regular for loop
6462         (getCursorX): use temp vars
6463         (setCurrentFont): use temp vars
6464         (getColumnNearX): use temp vars
6465
6466 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6467
6468         * text.C (transformChar): use temp var for getChar
6469         (computeBidiTables): use temp var for row->par()
6470         (fill): move temp vars for row->par() and pit->layout() earlier in
6471         the function.
6472         (labelFill): use temp var for row->par()
6473         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6474         asc and desc, realize that pit never changes and that firstpit is
6475         just a duplicate and not needed. Exchange rit->par() with pit in a
6476         lot of places.
6477         (breakAgain): use a temp var for boost::next(rit)
6478         (breakAgainOneRow): ditto
6479         (breakParagraph): use a temp var for rows().begin()
6480         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6481         (cursorRightOneWord): use temp var for cursor.par() and
6482         cursor.pos(), remove usage of tmpcursor.
6483         (cursorLeftOneWord): use temp var for cursor.par() and
6484         cursor.pos() only set cur at end of function.
6485
6486 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6487
6488         * text.C, text2.C: exchange all usage of Paragraph::next with
6489         boost::next(ParagraphList::iterator)
6490
6491         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6492
6493         * text2.C (cursorTop): simplify implementation
6494         (cursorBottom): ditto
6495         (setParagraph): use ParagraphList::iterator
6496         (setCurrentFont): adjust
6497         (getColumnNearX): adjust
6498         (cursorRight): adjust
6499         (cursorLeft): remove usage of Paragraph::previous
6500         (cursorUpParagraph): ditto
6501         (deleteEmptyParagraphMechanism): slight cleanup
6502
6503         * text.C (isBoundary): take a Paragraph const & instead of a
6504         pointer as arg.
6505         (addressBreakPoint): ditto
6506         (leftMargin): remove usage of Paragraph::previous.
6507         (setHeightOfRow): ditto
6508         (cursorLeftOneWord): ditto
6509         (selectNextWordToSpellcheck): ditto
6510         (Delete): ditto
6511         (backspace): ditto
6512         (breakParagraph): remove one usage of Paragraph::next
6513         (redoParagraph): ditto
6514         (acceptChange): ditto
6515         (insertChar): adjust
6516         (rowBreakPoint): adjust
6517
6518         * bufferview_funcs.C (toggleAndShow): adjust
6519
6520 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
6521
6522         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6523         methods to access it.
6524         * lyxtext.h:
6525         * text.C: Added updateRowPositions to compute all row positions.
6526         Make top_y and getRowNearY() to use the cached y position
6527
6528 2003-04-11  John Levon  <levon@movementarian.org>
6529
6530         * text.C (rowBreakPoint): reintroduce the labelEnd
6531         checks, code copied from the row fill stuff. Deep voodoo.
6532
6533         * text.C (fill): add a comment and debugging for the
6534         next poor soul.
6535
6536 2003-04-11  John Levon  <levon@movementarian.org>
6537
6538         * text.C: make sure fullrow insets get wrapped to the next line,
6539         even when they're in a manual label
6540
6541 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6542
6543         * text2.C (insertParagraph): make it take ParagraphList::iterator
6544         as arg.
6545         (setLayout): make it return ParagraphList::iterator
6546         (redoParagraphs): ditto
6547         (setCounter): ditto
6548         (checkParagraph): ditto
6549
6550         * text.C (getRow): make getrow take ParagraphList::iterator as arg
6551
6552         * text2.C: adjust several funcs.
6553         (realizeFont): take a ParagraphList::iterator as arg.
6554         (getLayoutFont): ditto
6555         (getLabelFont): ditto
6556         (setCharFont): ditto
6557
6558         * text.C: adjust several funcs.
6559
6560 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6561
6562         * text.C (selectNextWordToSpellcheck): don't accidentally
6563         skip insets
6564
6565 2003-04-10  John Levon  <levon@movementarian.org>
6566
6567         * ToolbarBackend.C (getIcon): special handling for
6568         LFUN_MATH_DELIM
6569
6570 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6571
6572         * text2.C (cursorRight): a getChar assert fixed
6573
6574 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6575
6576         * text2.C (getFont): change to take a ParagraphList::iterator
6577         instead of Paragraph*
6578         Adjust several functions.
6579
6580         * text.C (transformChar): change to take a ParagraphList::iterator
6581         instead of Paragraph*
6582         (singleWidth): ditto
6583         Adjust several functions.
6584
6585         * rowpainter.C: adjust several functions
6586         * rowpainter.h:store a ParagraphList::iterator and not a
6587         Paragraph&.
6588
6589
6590 2003-04-09  John Levon  <levon@movementarian.org>
6591
6592         * lyxfunc.C:
6593         * lfuns.h:
6594         * LyXAction.h:
6595         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6596         and the "help" bits as well
6597
6598 2003-04-09  John Levon  <levon@movementarian.org>
6599
6600         * ToolbarBackend.h:
6601         * ToolbarBackend.C: allow multiple toolbars
6602
6603 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6604
6605         * undo_funcs.C (setCursorParUndo): adjust
6606
6607         * text_funcs.C (transposeChars): adjust
6608
6609         * text3.C (gotoNextInset): adjust
6610         (dispatch): adjust
6611
6612         * text2.C (setLayout): adjust
6613         (changeDepth): adjust
6614         (setFont): adjust
6615         (redoParagraphs): adjust
6616         (selectionAsString): adjust
6617         (setParagraph): adjust
6618         (insertInset): adjust
6619         (cutSelection): adjust
6620         (copySelection): adjust
6621         (pasteSelection): adjust
6622         (insertStringAsLines): adjust
6623         (updateInset): adjust
6624         (setCursor): change to take a ParagraphList::iterator parameter
6625         (setCursorIntern): change to take a ParagraphList::iterator parameter
6626         (setCurrentFont): adjust
6627         (cursorLeft): adjust
6628         (cursorRight): adjust
6629         (deleteEmptyParagraphMechanism): adjust
6630
6631         * text.C (breakParagraph): adjust
6632         (insertChar): adjust
6633         (acceptChange): adjust
6634         (rejectChange): adjust
6635         (selectNextWordToSpellcheck): adjust
6636         (changeCase): adjust
6637         (Delete): adjust
6638         (backspace): adjust
6639
6640         * lyxfind.C (SearchForward): adjust
6641         (SearchBackward): adjust
6642         (nextChange): adjust
6643
6644         * lyxcursor.C (par): adjust
6645
6646         * lyxcursor.h: store a ParagraphList::iterator instead of a
6647         Paragraph*
6648
6649         * lyx_cb.C (getPossibleLabel): adjust
6650
6651         * bufferview_funcs.C (toggleAndShow): adjust
6652
6653         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6654         (dispatch): adjust
6655
6656         * BufferView.C (removeAutoInsets): adjust
6657         (lockedInsetStoreUndo): adjust
6658
6659 2003-04-09  John Levon  <levon@movementarian.org>
6660
6661         * ToolbarBackend.C: try icon without argument
6662         if with argument fails
6663
6664 2003-04-08  John Levon  <levon@movementarian.org>
6665
6666         * ToolbarBackend.h:
6667         * ToolbarBackend.C: add getIcon(), handle tooltip,
6668         and change from "Icon" to "Item".
6669
6670 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6671
6672         * BufferView.C (lockInset): another bad getchar crunched
6673
6674 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6675
6676         * text2.C (changeDepth): do not setUndo on test_only (make undo work
6677         again)
6678
6679 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
6680
6681         * lyxfind.C (searchForward, searchBackwards): bug 782
6682
6683 2003-04-07  John Levon  <levon@movementarian.org>
6684
6685         * paragraph.C: remove dead comment
6686
6687         * text.C: remove troublesome depth-fiddling code
6688         in leftMargin() and rightMargin() (bug 1017)
6689
6690         * text.C: fix breaking of rows in nested lists
6691         (bug 1004)
6692
6693         * text2.C (updateCounters): fix up depth values
6694         (bug 1013)
6695
6696 2003-04-07  John Levon  <levon@movementarian.org>
6697
6698         * BufferView_pimpl.C: clear message when doc finishes resizing,
6699         and after a mouse event
6700
6701         * lyxfunc.C: clear message after exiting inset
6702
6703 2003-04-07  John Levon  <levon@movementarian.org>
6704
6705         * bufferview_funcs.C: show math status not outside
6706         status in the statusbar
6707
6708 2003-04-07  John Levon  <levon@movementarian.org>
6709
6710         * lyxfunc.C: note status changed after a depth change
6711
6712 2003-04-04  Angus Leeming  <leeming@lyx.org>
6713
6714         * LaTeX.h: move AuxInfo operator==, != out of line.
6715         Remove LaTeX virtual destructor; nothing derives from it.
6716         Move operator()() out of public area and rename it startscript().
6717         Change protected for private.
6718
6719 2003-04-04  Angus Leeming  <leeming@lyx.org>
6720
6721         * lyxfunc.C:
6722         * text2.C: remove unneeded #includes.
6723
6724 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6725
6726         * text2.C (dEPM): fix the heigth of the next row
6727
6728 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6729
6730         * text.C: squashed an invalid getChar requester + some ws changes
6731
6732 2003-04-03  John Levon  <levon@movementarian.org>
6733
6734         * bufferview_funcs.h:
6735         * bufferview_funcs.C:
6736         * lyxfunc.C:
6737         * lyxtext.h:
6738         * text2.C: make getStatus work for the env depth lfuns
6739
6740 2003-04-03  John Levon  <levon@movementarian.org>
6741
6742         * bufferview_funcs.h:
6743         * bufferview_funcs.C:
6744         * lyxfunc.C:
6745         * lyxtext.h:
6746         * text2.C: parlistize decDepth(), by merging it with incDepth()
6747
6748 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6749
6750         * lyxrow.h: store a ParagraphList::iterator instead of a
6751         Paragraph* and adjust other class functions to suit.
6752
6753         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6754         above.
6755
6756 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6757
6758         * text2.C (setCursor): do not anchor to cursor row for the time being
6759
6760 2003-04-02  John Levon  <levon@movementarian.org>
6761
6762         * LyXAction.C:
6763         * lfuns.h:
6764         * lyx_main.C:
6765         * lyxtext.h:
6766         * text.C:
6767         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6768
6769 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6770
6771         * paragraph.h: make ParagraphList and ParagraphList::iterator
6772         friends of Paragraph.
6773
6774         * buffer.C (makeLinuxDocFile): move towards ParagraphList
6775
6776         * ParagraphList.C: Use the private next_ and previous_ from
6777         Paragraph.
6778
6779 2003-04-01  John Levon  <levon@movementarian.org>
6780
6781         * ToolbarBackend.h:
6782         * ToolbarBackend.C:
6783         * Makefile.am: rename, remove defaults gunk
6784
6785         * MenuBackend.h:
6786         * MenuBackend.C: remove defaults gunk
6787
6788         * Languages.h:
6789         * Languages.C: remove defaults gunk
6790
6791         * lyx_main.h:
6792         * lyx_main.C: error out if files couldn't be found.
6793
6794 2003-04-02  John Levon  <levon@movementarian.org>
6795
6796         * text2.C: make incDepth() use parlist
6797
6798 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6799
6800         * undo_funcs.C (firstUndoParagraph): adjust
6801
6802         * text3.C (gotoInset): adjust
6803         (dispatch): adjust, and rewrite loop.
6804
6805         * text2.C (init): adjust, and rewrite loop.
6806         (redoParagraphs): adjust
6807         (updateInset): adjust, and rewrite loop.
6808         (deleteEmptyParagraphMechanism): adjust
6809
6810         * tabular.C (LyXTabular): adjust
6811         (SetMultiColumn): adjust
6812         (TeXRow): adjust
6813
6814         * lyxtext.[Ch] (ownerParagraph): delete function
6815         (ownerParagraphs): new function returns a ParagraphList.
6816
6817         * BufferView.C (removeAutoInsets): adjust
6818         (insertErrors): adjust
6819         (setCursorFromRow): adjust
6820
6821 2003-04-01  Angus Leeming  <leeming@lyx.org>
6822
6823         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6824         in the frontends.
6825
6826 2003-04-02  John Levon  <levon@movementarian.org>
6827
6828         * lyxtext.h:
6829         * text.C:
6830         * Makefile.am:
6831         * text_funcs.h:
6832         * text_funcs.C: make transposeChars a free function
6833
6834         * lyxrow_funcs.C: remove wrong comment
6835
6836 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6837
6838         * lyxtext.h: adjust
6839         * rowpainter.C: adjust
6840         * text.C: adjust
6841         * text2.C: adjust
6842         * text3.C: adjust
6843
6844         * lyxrow_funcs. [Ch]: new files
6845
6846         * lyxrow.[Ch]: remove next and previous pointers
6847         (next,previous): remove accessor functions
6848         (isParEnd): move to lyxrow_funcs
6849         (lastPos): move to lyxrow_funcs
6850         (nextRowIsAllInset): move to lyxrow_funcs
6851         (lastPrintablePos): move to lyxrow_funcs
6852         (numberOfSeparators): move to lyxrow_funcs
6853         (numberOfHfills): move to lyxrow_funcs
6854         (numberOfLabelHfills): move to lyxrow_funcs
6855         (hfillExpansion): move to lyxrow_funcs
6856
6857         * lyxfunc.C: adjust
6858
6859         * bufferview_funcs.C (toggleAndShow): adjust
6860
6861         * RowList.h: Remove class RowList from file leave just a
6862         std::list<Row>.
6863
6864         * RowList.C: delete file
6865
6866         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6867         and lyxrow_funcs.h
6868
6869 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6870
6871         * text3.C (cursorPrevious): adjust
6872         (cursorNext): adjust
6873         (dispatch): adjust
6874
6875         * text2.C (redoHeightOfParagraph): adjust
6876         (redoDrawingOfParagraph): adjust
6877         (setCursor): adjust
6878
6879         * text.C (breakParagraph): adjust
6880         (insertChar): adjust
6881         (backspace): adjust
6882
6883         * rowpainter.C (RowPainter): adjust
6884         (leftMargin): simplify and adjust
6885         (most rowpainter functions): adjust.
6886
6887         * rowpainter.h: store the row as RowList::iterator not as Row*
6888
6889         * lyxcursor.C (row): taka RowList::iterator as arg
6890         (irow): ditto
6891
6892         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6893         of Row*.
6894
6895 2003-04-01  Angus Leeming  <leeming@lyx.org>
6896
6897         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6898         stuff like bool Bool.
6899
6900 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6901
6902         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6903         rewrite a loop
6904
6905 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6906
6907         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6908         RowList::iterator.
6909
6910         * lyxtext.h (rows): drop one version and leve a const variant that
6911         returns a RowList::iterator.
6912
6913 2003-03-31  Angus Leeming  <leeming@lyx.org>
6914
6915         * text.C (fill): ensure that the signature is the same as that in the
6916         header file.
6917
6918 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
6919
6920         * text2.C (redoParagraphs): adjust
6921         (updateCounters): adjust
6922         (checkParagraph): adjust
6923         (getColumnNearX): adjust and reformat a bit.
6924
6925         * text.C (top_y): adjust
6926         (workWidth): adjust
6927         (leftMargin): adjust
6928         (prepareToPrint): adjust
6929         (getRow): adjust
6930         (getRowNearY): adjust
6931
6932         * lyxtext.h: make rowlist_ mutable.
6933
6934         * RowList.h: add const_iterator
6935         * RowList.C: adjust for RowList::const_iterator.
6936
6937         * text2.C (getCursorX): make it take a RowList::iterator as arg,
6938         adjust.
6939
6940 2003-03-31  John Levon  <levon@movementarian.org>
6941
6942         * lyxrc.h:
6943         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6944
6945         * lyx_main.C: set default fonts from using lyx_gui funcs
6946
6947         * exporter.C: pdf_mode moved from lyxrc
6948
6949         * lyx_cb.C:
6950         * lyxfunc.C: changes from above
6951
6952 2003-03-31  John Levon  <levon@movementarian.org>
6953
6954         * lyx_main.C: fix to the last fix
6955
6956 2003-03-31  John Levon  <levon@movementarian.org>
6957
6958         * bufferlist.C: "Load original" -> "Load Original"
6959
6960         * converter.C:
6961         * exporter.C:
6962         * importer.C:
6963         * lyx_main.C:
6964         * format.C: more Alert cleanups
6965
6966 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6967
6968         * text2.C (removeParagraph): make it take a RowList::iterator as
6969         arg, adjust.
6970         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6971         (postRowPaint): make it take a RowList::iterator as arg, adjust.
6972
6973         * text.C (anchor_row): make it take a RowList::iterator as arg,
6974         adjust.
6975         (computeBidiTables): make it take a const reference to Row instead
6976         of Row pointer, adjust.
6977         (leftMargin): make it take a RowList::iterator as arg, adjust.
6978         (rowBreakPoint): adjust
6979         (breakAgainOneRow): make it take a RowList::iterator as arg,
6980         adjust.
6981         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6982
6983         * bufferview_funcs.C (toggleAndShow): adjust
6984
6985 2003-03-30  John Levon  <levon@movementarian.org>
6986
6987         * Makefile.am:
6988         * BoostFormat.h:
6989         * boost-inst.C: moved to support
6990
6991         * several files: changes as a result
6992
6993 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6994
6995         * text2.C (LyXText): adjust.
6996         (init): adjust
6997         (removeRow): make it take a RowList::iterator as arg, adjust.
6998         (fullRebreak): adjust
6999         (deleteEmptyParagraphMechanism): adjust
7000         (clearPaint): adjust
7001         (postPaint): adjust
7002
7003         * text.C (top_y): adjust
7004         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7005         (breakAgain): make it take a RowList::iterator as arg, adjust.
7006         (breakParagraph): adjust
7007         (insertChar): adjust
7008         (backspace): adjust
7009
7010         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7011         need_break_row, and refresh_row.
7012
7013         * text3.C (dispatch): adjust
7014
7015         * text2.C (checkParagraph): adjust
7016         (setCursor): adjust
7017         (setCursorFromCoordinates): adjust
7018
7019         * text.C (top_y): adjust
7020         (workWidth): adjust
7021         (getRow): make it return a RowList::iterator, adjust
7022         (getRowNearY): make it return a RowList::iterator, adjust
7023
7024         * text2.C (init): adjust
7025         (insertRow): remove function
7026         (insertParagraph): adjust
7027         (redoParagraphs): adjust
7028         (fullRebreak): adjust
7029         (updateCounters): adjust
7030
7031         * text.C (top_y): rewrite to use RowList iterators.
7032         (top_y): adjust
7033         (setHeightOfRow): rewrite to sue RowList iterators.
7034         (appendParagraph): adjust
7035         (breakAgain): adjust
7036         (breakAgainOneRow): adjust
7037         (breakParagraph): adjust
7038         (getRow): adjust
7039         (getRowNearY): adjust, and remove commented code.
7040
7041         * lyxtext.h (firstRow): delete function
7042         (lastRow): delete function
7043         (rows): new function (const and non-const versions.)
7044         (insertRow): delete function
7045
7046         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7047
7048 2003-03-29  John Levon  <levon@movementarian.org>
7049
7050         * BufferView_pimpl.C: always update scrollbar top
7051         because pasting text when we're anchored could mean we
7052         miss an update altogether
7053
7054 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7055
7056         * text2.C (init): use rowlist_.end() and not 0.
7057         (insertRow): change to take a RowList::iterator as arg, adjust
7058         for this.
7059         (insertParagraph): change to take a RowList::iterator as arg,
7060         adjust for this.
7061         (redoParagraphs): remove some debug msgs.
7062
7063         * text.C (appendParagraph): change to take a RowList::iterator
7064         arg, adjust for this.
7065         (breakAgain): add an assert
7066         (breakAgainOneRow): ditto
7067
7068 2003-03-29  John Levon  <levon@movementarian.org>
7069
7070         * text2.C: do not clear selection after inc/decDepth
7071         (bug 550)
7072
7073 2003-03-29  John Levon  <levon@movementarian.org>
7074
7075         * BufferView.C:
7076         * buffer.C: fix broken strerrors according to Lars
7077
7078 2003-03-29  John Levon  <levon@movementarian.org>
7079
7080         * converters.C: more Alert cleanups
7081
7082 2003-03-29  John Levon  <levon@movementarian.org>
7083
7084         * bufferview_funcs.C: remove pointless Alert
7085
7086         * buffer.C: fix confusing error message when
7087         a template is chmoded 000
7088
7089 2003-03-29  John Levon  <levon@movementarian.org>
7090
7091         * BufferView.C:
7092         * BufferView.h:
7093         * BufferView_pimpl.C: Alert fixes
7094
7095         * Makefile.am:
7096         * tabular.C:
7097         * tabular-old.C: remove unused table compat reading
7098
7099 2003-03-29  John Levon  <levon@movementarian.org>
7100
7101         * BufferView.C:
7102         * buffer.C:
7103         * lyx_cb.h:
7104         * lyx_cb.C: more Alert cleanups
7105
7106         * lyxfunc.C: don't allow chktex if not latex document
7107
7108 2003-03-29  John Levon  <levon@movementarian.org>
7109
7110         * lyx_cb.C:
7111         * BufferView.C:
7112         * buffer.C: warnings pushed down from support/,
7113         kill err_alert
7114
7115 2003-03-29  John Levon  <levon@movementarian.org>
7116
7117         * lyxfunc.C: safety check for C-r (revert)
7118
7119 2003-03-29  John Levon  <levon@movementarian.org>
7120
7121         * bufferlist.h:
7122         * bufferlist.C: several UI fixes using Alert::prompt.
7123         Fix the pointless looping quit code. Fix stupid revert
7124         behaviour (bug 938)
7125
7126         * lyxvc.h:
7127         * lyxvc.C:
7128         * lyx_cb.C: use Alert::prompt
7129
7130         * lyx_main.C: remove a silly question
7131
7132         * lyxfunc.C: remove a couple of silly questions,
7133         use Alert::prompt
7134
7135 2003-03-28  John Levon  <levon@movementarian.org>
7136
7137         * text2.C: fix bug 974 (End on empty par)
7138
7139 2003-03-28  John Levon  <levon@movementarian.org>
7140
7141         * BufferView_pimpl.C:
7142         * LyXAction.C:
7143         * lfuns.h: remove do-nothing math greek lfuns
7144
7145 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7146
7147         * lyxgluelength.h (isValidGlueLength): add default arg on
7148         parameter 2. Remove default arg from friend in class.
7149
7150         * lyxlength.h (isValidLength): add default arg on parameter 2.
7151         Remove default arg from friend in class.
7152
7153         * text2.C (LyXText): adjust, initialize refresh_row.
7154         (init): adjust
7155         (removeRow): adjust
7156         (insertRow): adjust
7157         (insertParagraph): adjst
7158         (redoParagraphs): adjust
7159         (fullRebreak): adjust
7160         (updateCounters): adjust
7161         (deleteEmptyParagraphMechanism): first attempt at fixing a
7162         crashing bug.
7163
7164         * text.C (top_y): adjust
7165         (setHeightOfRow): adjust
7166         (getRow): adjust
7167         (getRowNearY): adjust
7168
7169         * lyxtext.h: include RowList.h
7170         (~LyXText): not needed anymore, deleted.
7171         (firstRow): modify for RowList
7172         (lastRow): new function
7173         Delete firstrow and lastrow class variables, add a Rowlist
7174         rowlist_ class variable.
7175
7176         * lyxrow.C (lastPos): use empty() and not !size() to check if a
7177         paragraph is empty.
7178
7179         * RowList.C (insert): fix case where it == begin().
7180
7181 2003-03-26  Angus Leeming  <leeming@lyx.org>
7182
7183         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7184         the thesaurus dialog.
7185
7186 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7187
7188         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7189
7190         * RowList.[Ch]: new files
7191
7192         * ParagraphList.C (erase): handle the case where it == begin
7193         correctly.
7194
7195 2003-03-25  John Levon  <levon@movementarian.org>
7196
7197         * Makefile.am:
7198         * aspell_local.h:
7199         * aspell.C: add new aspell support
7200
7201         * lyxrc.h:
7202         * lyxrc.C: Make use_pspell be use_spell_lib. Always
7203         have it accessible.
7204
7205 2003-03-25  Angus Leeming  <leeming@lyx.org>
7206
7207         * lfuns.h:
7208         * LyXAction.C (init): new LFUN_INSET_INSERT.
7209
7210         * BufferView_pimpl.C (dispatch): split out part of the
7211         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7212
7213         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7214         LFUN_INSET_APPLY.
7215
7216 2003-03-25  Angus Leeming  <leeming@lyx.org>
7217
7218         * lyxfunc.C (dispatch): changes to the Dialogs interface.
7219
7220 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
7221
7222         * text2.C:
7223         * text3.C: remove useless row->height(0)
7224
7225 2003-03-25  John Levon  <levon@movementarian.org>
7226
7227         * lyxtext.h:
7228         * text2.C:
7229         * text3.C: rename the refreshing stuff to better names
7230
7231 2003-03-24  John Levon  <levon@movementarian.org>
7232
7233         * BufferView_pimpl.h:
7234         * BufferView_pimpl.C: update layout choice on a mouse
7235         press/release
7236
7237 2003-03-23  John Levon  <levon@movementarian.org>
7238
7239         * Makefile.am: fix commandtags.h reference
7240
7241 2003-03-22  John Levon  <levon@movementarian.org>
7242
7243         * BufferView_pimpl.C:
7244         * lyxtext.h:
7245         * rowpainter.C:
7246         * rowpainter.h:
7247         * text.C:
7248         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7249
7250 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
7251
7252         * lyxtext.h:
7253         * text.C: take the rtl methods out of line
7254
7255 2003-03-21 André Pönitz <poenitz@gmx.net>
7256
7257         * metricsinfo.[Ch]: new files containing structures to be passed around
7258         during the two-phase-drawing...
7259
7260 2003-03-21 André Pönitz <poenitz@gmx.net>
7261
7262         * lyxtextclass.C: read 'environment' tag.
7263
7264 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
7265
7266         * text2.C (removeRow): fix bug 964
7267
7268 2003-03-20  John Levon  <levon@movementarian.org>
7269
7270         * rowpainter.C:
7271         * text.C:
7272         * text2.C: paint cleanups. Inset::update() dropped font
7273         parameter
7274
7275 2003-03-19  John Levon  <levon@movementarian.org>
7276
7277         * lyxfunc.C: only fitcursor/markDirty if available()
7278
7279 2003-03-19  John Levon  <levon@movementarian.org>
7280
7281         * commandtags.h: rename to ...
7282
7283         * lfuns.h: ... this, and renumber / cleanup
7284
7285 2003-03-19  John Levon  <levon@movementarian.org>
7286
7287         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7288         fit the cursor after an lfun
7289
7290         * BufferView.h:
7291         * BufferView.C:
7292         * BufferView_pimpl.h:
7293         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7294
7295         * LyXAction.C: layout-character should have ReadOnly
7296
7297         * ParagraphParameters.C:
7298         * buffer.C:
7299         * bufferview_funcs.C:
7300         * lyx_cb.C:
7301         * lyxfind.C:
7302         * lyxtext.h:
7303         * text.C:
7304         * text2.C:
7305         * text3.C:
7306         * undo_funcs.C: changes from above
7307
7308 2003-03-18  John Levon  <levon@movementarian.org>
7309
7310         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7311         remove it from update()
7312
7313         * lyxfunc.C: update layout choice after an lfun
7314
7315         * text3.C: remove extra updateLayoutChoice()s
7316
7317 2003-03-18  John Levon  <levon@movementarian.org>
7318
7319         * text.C: top_y change means full repaint, fix
7320         a drawing bug with cursor movement
7321
7322 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7323
7324         * lyxtext.h:
7325         * text.C:
7326         * text2.C: anchor row on setCursor
7327
7328 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7329
7330         * lyxtext.h: remove almost all mutable keywords
7331         * text.C:
7332         * text2.C:
7333         * text3.C: remove const keywords accordingly
7334
7335 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7336
7337         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7338         anon namespace
7339         (TeXEnvironment): ditto
7340         (TeXOnePar): ditto
7341
7342 2003-03-17  John Levon  <levon@movementarian.org>
7343
7344         * text.C (rowBreakPoint): remove attempt to fix displayed
7345         math insets inside a manual label
7346
7347 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7348
7349         * lyxtext.h: remove BufferView* as first arg from almost all class
7350         functions.
7351         * other files: adjust.
7352
7353 2003-03-17  John Levon  <levon@movementarian.org>
7354
7355         * lyxtext.h:
7356         * undo_funcs.C:
7357         * text2.C: more paint cleanups
7358
7359         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7360
7361         * rowpainter.h:
7362         * rowpainter.C: remove "smart" background painting code
7363
7364 2003-03-16  John Levon  <levon@movementarian.org>
7365
7366         * lyxtext.h:
7367         * text.C:
7368         * text2.C:
7369         * text3.C: add helper functions for setting refresh_row/y
7370
7371 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
7372
7373         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7374         newline inset which *can* get inserted in the pass_thru layouts.
7375         This is primarily for literate documents.
7376
7377 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
7378
7379         * buffer.C: increment LYX_FORMAT to 223
7380
7381 2003-03-14 André Pönitz <poenitz@gmx.net>
7382
7383         * textclass.h: prepare for environment handling, ws changes
7384         * lyxlayout.C: read latexheader and latexfooter tags
7385
7386 2003-03-14  John Levon  <levon@movementarian.org>
7387
7388         * text2.C: rewrite ::status() a bit
7389
7390 2003-03-13  John Levon  <levon@movementarian.org>
7391
7392         * lyxtext.h: add some docs
7393
7394 2003-03-13  John Levon  <levon@movementarian.org>
7395
7396         * lyxtext.h:
7397         * text.C:
7398         * text2.C:
7399         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7400
7401 2003-03-13  John Levon  <levon@movementarian.org>
7402
7403         * text3.C: fix appendix redrawing
7404
7405 2003-03-13  John Levon  <levon@movementarian.org>
7406
7407         * text.C (setHeightOfRow):
7408         * rowpainter.h:
7409         * rowpainter.C: make appendix mark have the text
7410           "Appendix" so the user knows what it is
7411
7412         * LColor.h:
7413         * LColor.C: s/appendixline/appendix/ from above
7414
7415 2003-03-13  John Levon  <levon@movementarian.org>
7416
7417         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7418
7419         * text.C: fix a getChar(pos) bug properly
7420
7421 2003-03-13  Angus Leeming  <leeming@lyx.org>
7422
7423         * commandtags.h:
7424         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7425         Probably only temporary. Let's see how things pan out.
7426
7427         * BufferView.C (unlockInset):
7428         * BufferView_pimpl.C (fitCursor):
7429         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7430
7431         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7432         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7433
7434         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7435         new functions that convert ParagraphParameters to and from a string.
7436
7437         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7438         BufferView::Pimpl's dispatch.
7439         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7440
7441 2003-03-13 André Pönitz <poenitz@gmx.net>
7442
7443         * lyxfunc.C:
7444         * text3.C:
7445         * factory.C: make it aware of InsetEnv
7446
7447 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7448
7449         * text2.C (setCursor): never ask for one past last
7450         (setCursor): add some debugging messages.
7451
7452         * text.C (singleWidth): never ask for one past last
7453         (singleWidth): ditto
7454         (leftMargin): ditto
7455         (rightMargin): ditto
7456         (rowBreakPoint): ditto
7457         (setHeightOfRow): ditto
7458         (prepareToPrint): ditto
7459
7460         * rowpainter.C (paintBackground): never ask for one past last
7461         (paintText): never ask for one past last
7462
7463         * paragraph_pimpl.C (getChar): make the assert stricter, never
7464         allow the one past last pos to be taken
7465
7466         * paragraph.C (getChar): ws changes only
7467
7468         * lyxrow.C (nextRowIsAllInset): never ask for one past last
7469         (numberOfSeparators): ditto
7470         (numberOfHfills): ditto
7471
7472 2003-03-12  John Levon  <levon@movementarian.org>
7473
7474         * author.h:
7475         * author.C:
7476         * bufferparams.h:
7477         * bufferparams.C:
7478         * paragraph_funcs.C: fix per-buffer authorlists
7479
7480 2003-03-12  John Levon  <levon@movementarian.org>
7481
7482         * text.C: fix newline in right address
7483
7484 2003-03-12  Angus Leeming  <leeming@lyx.org>
7485
7486         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7487         duplicate those in LyXFunc::dispatch.
7488
7489         * commandtags.h:
7490         * LyXAction.C:
7491         * ToolbarDefaults.C:
7492         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7493         Add LFUN_FONTFREE_UPDATE.
7494
7495         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7496         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7497
7498         * bufferview_func.[Ch]: several new functions to facilliate
7499         transfer of data to and from the character dialog.
7500
7501 2003-03-12  John Levon  <levon@movementarian.org>
7502
7503         * buffer.C:
7504         * paragraph.h:
7505         * paragraph.C:
7506         * paragraph_funcs.C:
7507         * paragraph_pimpl.C:
7508         * sgml.C:
7509         * tabular.C:
7510         * text.C:
7511         * text3.C: remove META_NEWLINE in favour of an inset
7512
7513         * rowpainter.h:
7514         * rowpainter.C: remove paintNewline (done by inset)
7515
7516 2003-03-12  John Levon  <levon@movementarian.org>
7517
7518         * paragraph_pimpl.C: complain about bad getChar()s
7519         for a while at least
7520
7521 2003-03-12  John Levon  <levon@movementarian.org>
7522
7523         * buffer.h:
7524         * buffer.C: move paragraph read into a separate function,
7525         a little renaming to reflect that.
7526
7527         * bufferparams.h:
7528         * bufferparams.C: remove the author_ids map, not necessary now
7529
7530         * factory.h:
7531         * factory.C: moved Buffer::readInset to here
7532
7533         * paragraph_funcs.h:
7534         * paragraph_funcs.C: readParagraph free function moved from
7535         buffer.C
7536
7537         * tabular.C: name change
7538
7539 2003-03-12  John Levon  <levon@movementarian.org>
7540
7541         * buffer.C:
7542         * ParagraphParameters.C: move par params input to
7543         a read() method
7544
7545         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7546         behave like a normal read from the stream wrt reading
7547         a line vs. a \\token
7548
7549 2003-03-12  John Levon  <levon@movementarian.org>
7550
7551         * paragraph.C:
7552         * ParagraphParameters.h:
7553         * ParagraphParameters.C: move output code to a
7554         ::write() method
7555
7556 2003-03-12  John Levon  <levon@movementarian.org>
7557
7558         * BufferView.C (insertLyXFile):
7559         * buffer.h:
7560         * buffer.C:
7561         * tabular.C: use a parlist iterator for creating the
7562           document.
7563
7564 2003-03-12  John Levon  <levon@movementarian.org>
7565
7566         * buffer.C: make current_change static local not
7567           static file-scope
7568
7569 2003-03-12  John Levon  <levon@movementarian.org>
7570
7571         * buffer.C: fix insertStringAsLines for change tracking
7572
7573 2003-03-12  John Levon  <levon@movementarian.org>
7574
7575         * BufferView.C:
7576         * tabular.C:
7577         * buffer.h:
7578         * buffer.C:
7579         * bufferparams.h:
7580         * bufferparams.C: move author list into params. Rename some
7581           functions. Move the header reading into a separate token
7582           loop. Move the header token reading into BufferParams.
7583
7584 2003-03-12  John Levon  <levon@movementarian.org>
7585
7586         * changes.C: put debug inside lyxerr.debugging() checks
7587
7588 2003-03-11 André Pönitz <poenitz@gmx.net>
7589
7590         * factory.C: make it aware of InsetHFill
7591
7592 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7593
7594         * buffer.C (latexParagraphs): move function from here...
7595         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7596         args.
7597
7598 2003-03-10  Angus Leeming  <leeming@lyx.org>
7599
7600         * LyXAction.C (init): fix bug in poplating array with multiple entries
7601         with the same LFUN (spotted by JMarc).
7602
7603 2003-03-10  John Levon  <levon@movementarian.org>
7604
7605         * text.C:
7606         * text2.C: move getColumnNearX() near its
7607         only call site
7608
7609 2003-03-10  John Levon  <levon@movementarian.org>
7610
7611         * text.C: fix break before a minipage
7612
7613 2003-03-10  John Levon  <levon@movementarian.org>
7614
7615         * text.C: fix the last commit
7616
7617 2003-03-09  John Levon  <levon@movementarian.org>
7618
7619         * lyxtext.h:
7620         * text.C:
7621         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7622         bug 365 (don't break before insets unless needed). Don't
7623         return a value > last under any circumstances.
7624
7625 2003-03-09  Angus Leeming  <leeming@lyx.org>
7626
7627         * BufferView_pimpl.C (trackChanges, dispatch): call
7628         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7629
7630 2003-03-09  Angus Leeming  <leeming@lyx.org>
7631
7632         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7633         than Dialogs::showAboutlyx().
7634
7635 2003-03-09  Angus Leeming  <leeming@lyx.org>
7636
7637         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7638         than Dialogs::showTabularCreate().
7639
7640 2003-03-09  John Levon  <levon@movementarian.org>
7641
7642         * lyxtext.h:
7643         * text.C:
7644         * text2.C: 3rd arg to nextBreakPoint was always the same.
7645           Use references.
7646
7647 2003-03-08  John Levon  <levon@movementarian.org>
7648
7649         * lyxrow.C:
7650         * paragraph.C:
7651         * paragraph.h:
7652         * rowpainter.C:
7653         * text.C:
7654         * text2.C: Remove the "main" bit from the "main body"
7655           notion.
7656
7657 2003-03-08  John Levon  <levon@movementarian.org>
7658
7659         * text.C (leftMargin): The left margin of an empty
7660         manual label paragraph should not include the label width
7661         string length.
7662
7663         * text.C (prepareToPrint): don't attempt to measure hfills
7664         for empty manual label paragraphs - the answer should be 0
7665
7666 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7667
7668         * CutAndPaste.C: remove commented code and reindent.
7669
7670 2003-03-08  John Levon  <levon@movementarian.org>
7671
7672         * lyxfunc.h:
7673         * lyxfunc.C: move reloadBuffer()
7674
7675         * BufferView.h:
7676         * BufferView.C: to here
7677
7678         * lyxvc.C: add comment
7679
7680         * vc-backend.h:
7681         * vc-backend.C: call bv->reload() to avoid
7682           getStatus() check on MENURELOAD
7683
7684 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
7685
7686         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7687         to an old format .dep file.
7688
7689 2003-03-07  Angus Leeming  <leeming@lyx.org>
7690
7691         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7692         when the LFUN_MOUSE_RELEASE should have been handled by
7693         inset->localDispatch.
7694
7695 2003-03-07  Angus Leeming  <leeming@lyx.org>
7696
7697         * BufferView_pimpl.C (dispatch):
7698         * LyXAction.C (init):
7699         * ToolbarDefaults.C (init):
7700         * commandtags.h:
7701         * lyxfunc.C (getStatus):
7702         remove LFUN_INSET_GRAPHICS.
7703
7704         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7705
7706 2003-03-07  Angus Leeming  <leeming@lyx.org>
7707
7708         * commandtags.h:
7709         * LyXAction.C (init):
7710         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7711
7712         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7713
7714         * commandtags.h:
7715         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7716
7717         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7718         localDispatch method LFUN_INSET_DIALOG_UPDATE.
7719
7720 2003-03-07  Angus Leeming  <leeming@lyx.org>
7721
7722         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7723         remove "ert".
7724
7725 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7726
7727         * ParagraphList.C (front): new function
7728         (back): implement
7729
7730 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
7731
7732         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7733         and top_row_offset_. removed var first_y.
7734         * text.C (top_y):
7735         * text2.C (LyXText, removeRow):
7736         * text3.C:
7737         * BufferView_pimpl.C:
7738         use these methods instead of using first_y
7739
7740 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7741
7742         * text2.C (pasteSelection): adjust for checkPastePossible
7743
7744         * CutAndPaste.C: remove Paragraph * buf and replace with
7745         ParagraphList paragraphs.
7746         (DeleteBuffer): delete
7747         (cutSelection): change the tc type to textclass_type
7748         (copySelection): change the tc type to textclass_type
7749         (copySelection): adjust for ParagraphList
7750         (pasteSelection): change the tc type to textclass_type
7751         (pasteSelection): adjust for Paragraphlist
7752         (nrOfParagraphs): simplify for ParagraphList
7753         (checkPastePossible): simplify for ParagraphList
7754         (checkPastePossible): remove unused arg
7755
7756         * ParagraphList.C (insert): handle the case where there are no
7757         paragraphs yet.
7758
7759         * CutAndPaste.h: make CutAndPaste a namespace.
7760
7761         * text3.C (dispatch): adjust
7762
7763         * text.C (breakParagraph): add a ParagraphList as arg
7764
7765         * paragraph_funcs.C (breakParagraph): change to take a
7766         BufferParams and a ParagraphList as args.
7767         (breakParagraphConservative): ditto
7768         (mergeParagraph): ditto
7769         (TeXDeeper): add a ParagraphList arg
7770         (TeXEnvironment): ditto
7771         (TeXOnePar): ditto
7772
7773         * buffer.C (readLyXformat2): adjust
7774         (insertStringAsLines): adjust
7775         (latexParagraphs): adjust
7776
7777         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7778         (cutSelection): adjust
7779         (pasteSelection): adjust
7780
7781         * BufferView_pimpl.C (insertInset): adjust
7782
7783 2003-03-05  Angus Leeming  <leeming@lyx.org>
7784
7785         * commandtags.h:
7786         * LyXAction.C (init):
7787         * BufferView_pimpl.C (dispatch):
7788         * lyxfunc.C (getStatus):
7789         remove LFUN_CHILD_INSERT.
7790
7791         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7792
7793 2003-03-05  Angus Leeming  <leeming@lyx.org>
7794
7795         * commandtags.h:
7796         * LyXAction.C (init):
7797         * src/factory.C (createInset):
7798         * lyxfunc.C (getStatus):
7799         * text3.C (dispatch):
7800         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7801
7802         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7803
7804 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7805
7806         * ParagraphList.C (insert): handle insert right before end()
7807         (erase): fix cases where it can be first or last paragraph.
7808
7809 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7810
7811         * paragraph_funcs.C (TeXEnvironment): remove all usage of
7812         Paragraph::next and Paragraph::previous
7813         (TeXOnePar): ditto
7814
7815         * text.C (breakParagraph): adjust
7816
7817         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7818         BufferParams& as arg.
7819         (breakParagraph): use ParagraphList::insert
7820         (breakParagraphConservative): take a Buffer* instead of a
7821         BufferParams& as arg.
7822         (breakParagraphConservative): use ParagraphList::insert.
7823
7824         * buffer.C (insertStringAsLines): un-const it
7825         (insertStringAsLines): adjust
7826
7827         * ParagraphList.C (insert): new function
7828
7829         * CutAndPaste.C (pasteSelection): adjust
7830
7831         * text.C (backspace): adjust
7832
7833         * tabular.C (SetMultiColumn): adjust
7834
7835         * CutAndPaste.C (cutSelection): adjust
7836         (pasteSelection): adjust
7837
7838         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7839         Buffer const * as arg
7840
7841         * ParagraphList.C (erase): new function
7842         * paragraph_funcs.C (mergeParagraph): use it
7843         (mergeParagraph): make it take a Buffer* instead of a
7844         BufferParams* as arg
7845
7846         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7847         as arg
7848         (breakParagraphConservative): ditto
7849
7850         * paragraph.h: remove the breakParagraph friend
7851
7852         * paragraph.C (eraseIntern): new function
7853         (setChange): new function
7854
7855         * paragraph_funcs.C (mergeParagraph): make it take a
7856         ParagraphList::iterator instead of a Paragraph *, adjust
7857         accordingly.
7858
7859         * paragraph.h: move an #endif so that the change tracking stuff
7860         also works in the NO_NEXT case.
7861
7862 2003-03-04  Angus Leeming  <leeming@lyx.org>
7863
7864         * commandtags.h:
7865         * LyXAction.C: new LFUN_INSET_MODIFY.
7866
7867         * BufferView_pimpl.C (dispatch): if an inset is found to be open
7868         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7869
7870 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7871
7872         * several files: ws changes only
7873
7874         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7875         (TeXEnvironment): ditto
7876         (TeXDeeper): ditto
7877
7878         * buffer.C (makeLaTeXFile): adjust
7879         (latexParagraphs): make it take ParagraphList::iterator as args
7880
7881 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7882
7883         * buffer.C (latexParagraphs): adjust
7884
7885         * paragraph.C (TeXOnePar): move function...
7886         (optArgInset): move function...
7887         (TeXEnvironment): move function...
7888         * paragraph_pimpl.C (TeXDeeper): move function...
7889         * paragraph_funcs.C: ...here
7890
7891         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7892
7893 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7894
7895         * buffer.C (readInset): remove compability code for old Figure and
7896         InsetInfo insets
7897
7898 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7899
7900         * buffer.C: ws changes
7901         (readInset):
7902
7903         * BufferView_pimpl.C: ditto
7904         * author.C: ditto
7905         * buffer.h: ditto
7906         * bufferlist.h: ditto
7907         * changes.h: ditto
7908         * lyxfunc.C: ditto
7909
7910 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
7911
7912         * converter.[Ch]: split into itself +
7913         * graph.[Ch]
7914         * format.[Ch]
7915         * Makefile.am: += graph.[Ch] + format.[Ch]
7916         * MenuBackend.C
7917         * buffer.C
7918         * exporter.C
7919         * importer.C
7920         * lyx_main.C
7921         * lyxfunc.C
7922         * lyxrc.C: added #include "format.h"
7923
7924 2003-02-27  Angus Leeming  <leeming@lyx.org>
7925
7926         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7927           a label.
7928
7929         * factory.C (createInset): add "label" to the factory.
7930
7931         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7932           string and do no more.
7933
7934 2003-02-27  Angus Leeming  <leeming@lyx.org>
7935
7936         * commandtags.h:
7937         * LyXAction.C (init):
7938         * factory.C (createInset):
7939         * BufferView_pimpl.C (dispatch):
7940           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7941
7942         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7943
7944         * lyxfunc.C (dispatch):
7945         * text3.C (dispatch): pass name to params2string.
7946
7947 2003-02-26  Angus Leeming  <leeming@lyx.org>
7948
7949         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7950           blocks together.
7951           Rearrange the ~includes. Strip out the unnecessary ones.
7952
7953         * factory.C (createInset): reformat.
7954           create new insets for the various LFUN_XYZ_APPLY lfuns.
7955
7956 2003-02-26  John Levon  <levon@movementarian.org>
7957
7958         * lyxrow.h:
7959         * lyxrow.C: add isParStart,isParEnd helpers
7960
7961         * paragraph.h: make isInserted/DeletedText take refs
7962
7963         * paragraph_funcs.h:
7964         * paragraph_funcs.C: remove #if 0'd code
7965
7966         * lyxtext.h:
7967         * text3.C:
7968         * text2.C:
7969         * text.C: use lyxrow helpers above.
7970           Move draw and paint routines to RowPainter.
7971           Make several methods use refs not pointers.
7972           Make backgroundColor() const.
7973           Add markChangeInDraw(), isInInset().
7974           Merge changeRegionCase into changeCase.
7975           Make workWidth() shouldn't-happen code into an Assert.
7976
7977         * rowpainter.h:
7978         * rowpainter.C: new class for painting a row.
7979
7980         * vspace.h:
7981         * vspace.C: make inPixels take a ref
7982
7983 2003-02-26  Angus Leeming  <leeming@lyx.org>
7984
7985         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7986         LFUN_REF_APPLY.
7987
7988 2003-02-25  John Levon  <levon@movementarian.org>
7989
7990         * ispell.C: give the forked command a more accurate name
7991
7992 2003-02-22  John Levon  <levon@movementarian.org>
7993
7994         * toc.h:
7995         * toc.C: make TocItem store an id not a Paragraph *
7996           (bug #913)
7997
7998 2003-02-21  Angus Leeming  <leeming@lyx.org>
7999
8000         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8001           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8002           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8003           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8004           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8005           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8006
8007         * BufferView_pimpl.C (dispatch):
8008         * LyXAction.C (init):
8009         * factory.C (createInset):
8010         * lyxfunc.C (getStatus, dispatch):
8011         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8012
8013 2003-02-21  Angus Leeming  <leeming@lyx.org>
8014
8015         * BufferView_pimpl.C (MenuInsertLyXFile):
8016         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8017         * lyxfunc.C (menuNew, open, doImport):
8018           no longer pass a LyXView & to fileDlg.
8019
8020 2003-02-21  Angus Leeming  <leeming@lyx.org>
8021
8022         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8023         * LyXAction.C: change, BIBKEY to BIBITEM.
8024         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8025         Change InsetBibKey to InsetBibitem.
8026         Change BIBKEY_CODE to BIBITEM_CODE.
8027         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8028         * factory.C: replace insetbib.h with insetbibitem.h.
8029         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8030         * paragraph.C: replace insetbib.h with insetbibitem.h.
8031         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8032         Change bibkey() to bibitem().
8033         * text.C: remove insetbib.h.
8034         * text2.C: replace insetbib.h with insetbibitem.h.
8035         change bibkey() to bibitem().
8036         * text3.C: remove insetbib.h.
8037         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8038
8039 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8040
8041         * lyxrc.C (output): enclose user email in quotes (in case there are
8042         several words)
8043
8044 2003-02-18  John Levon  <levon@movementarian.org>
8045
8046         * buffer.h: add std::
8047
8048 2003-02-17  John Levon  <levon@movementarian.org>
8049
8050         * SpellBase.h:
8051         * ispell.h:
8052         * ispell.C:
8053         * pspell.h:
8054         * pspell.C: reworking. Especially in ispell, a large
8055           number of clean ups and bug fixes.
8056
8057         * lyxfunc.C: fix revert to behave sensibly
8058
8059 2003-02-17 André Pönitz <poenitz@gmx.net>
8060
8061         * LyXAction.C:
8062         * commandtags.h: new LFUN_INSERT_BIBKEY
8063
8064         * layout.h:
8065         * lyxlayout.C:
8066         * buffer.C:
8067         * factory.C:
8068         * text.C:
8069         * text2.C:
8070         * text3.C:
8071         * paragraph.[Ch]:
8072         * paragraph_func.C: remove special bibkey handling
8073
8074 2003-02-17  John Levon  <levon@movementarian.org>
8075
8076         * text.C (Delete): fix case where delete at the end of
8077           the very first paragraph would not merge the pars
8078
8079 2003-02-17  John Levon  <levon@movementarian.org>
8080
8081         * lyxrow.C: fix lastPrintablePos()
8082
8083 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8084
8085         * bufferparams.C (writeLaTeX): add a std:here
8086
8087         * buffer.C: and remove a using directive there
8088
8089 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8090
8091         * buffer.C (makeLaTeXFile): move the code that generates the
8092           preamble...
8093
8094         * bufferparams.C (writeLaTeX): ... in this new method
8095
8096         * LaTeXFeatures.C (getEncodingSet): make const
8097           (getLanguages): make const
8098
8099         * MenuBackend.C (binding): returns the binding associated to this
8100           action
8101           (add): sets the status of each item by calling getStatus. Adds
8102           some intelligence.
8103           (read): add support for OptSubMenu
8104           (expand): remove extra separator at the end of expanded menu
8105
8106 2003-02-15  John Levon  <levon@movementarian.org>
8107
8108         * BufferView.C:
8109         * BufferView_pimpl.C:
8110         * bufferlist.h:
8111         * bufferlist.C: remove pointless BufferStorage bloat. Remove
8112           inset code that had no actual effect. Remove unneeded status
8113           code.
8114
8115 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8116
8117         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8118           in preamble
8119
8120 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
8121
8122         * text.C (drawLengthMarker): also draw an arrow marker for
8123           symbolic lengths (medskip...)
8124
8125 2003-02-14  John Levon  <levon@movementarian.org>
8126
8127         * tabular.h:
8128         * tabular.C: better method names
8129
8130 2003-02-14  John Levon  <levon@movementarian.org>
8131
8132         * BufferView_pimpl.C:
8133         * bufferlist.C:
8134         * buffer.C:
8135         * converter.C:
8136         * lyx_cb.C:
8137         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8138           it's a more accurate name. Remove some pointless uses.
8139
8140 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8141
8142         * text2.C (LyXText): change order of initilizers to shut off
8143           warnings
8144
8145 2003-02-14  John Levon  <levon@movementarian.org>
8146
8147         * buffer.C: use ParIterator for getParFromID()
8148
8149         * paragraph.h:
8150         * paragraph.C:
8151         * paragraph_pimpl.h:
8152         * paragraph_pimpl.C: remove unused getParFromID()
8153
8154 2003-02-14  John Levon  <levon@movementarian.org>
8155
8156         * buffer.C: remove some very old #if 0'd parse code
8157
8158 2003-02-13  John Levon  <levon@movementarian.org>
8159
8160         * text.h:
8161         * text.C:
8162         * text2.C: move hfillExpansion(), numberOfSeparators(),
8163           rowLast(), rowLastPrintable(), numberofHfills(),
8164           numberOfLabelHfills() ...
8165
8166         * lyxrow.h:
8167         * lyxrow.C: ... to member functions here.
8168
8169         * paragraph.h:
8170         * paragraph.C:
8171         * lyxtext.h:
8172         * text.C: remove LyXText::beginningOfMainBody(), and call
8173           p->beginningOfMainBody() directly. Move the check for
8174           LABEL_MANUAL into the latter.
8175
8176         * text.h:
8177         * text.C:
8178         * text2.C:
8179         * vspace.C:
8180         * BufferView.h:
8181         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8182
8183         * text.h:
8184         * text.C:
8185         * text2.C:
8186         * text3.C:
8187         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8188           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8189
8190 2003-02-13  John Levon  <levon@movementarian.org>
8191
8192         * CutAndPaste.C: remove debug
8193
8194 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8195
8196         * paragraph.C (asString): remove two unused variables
8197
8198         * lyxtextclass.C (readTitleType):
8199           (Read):
8200           (LyXTextClass): handle new members titletype_ and titlename_
8201
8202         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8203
8204 2003-02-09  John Levon  <levon@movementarian.org>
8205
8206         * buffer.h:
8207         * buffer.C: replace hand-coded list with a map for the dep clean
8208
8209 2003-02-08  John Levon  <levon@movementarian.org>
8210
8211         * LaTeX.C: consolidate code into showRunMessage() helper
8212
8213 2003-02-08  John Levon  <levon@movementarian.org>
8214
8215         * lyxfind.C:
8216         * lyxtext.h:
8217         * text2.C:
8218         * BufferView.C: change setSelectionOverString() to setSelectionRange()
8219           and pass the size in explicitly
8220
8221         * BufferView_pimpl.h:
8222         * BufferView_pimpl.C:
8223         * BufferView.h:
8224         * BufferView.C: add getCurrentChange()
8225
8226         * BufferView_pimpl.h:
8227         * BufferView_pimpl.C: handle change lfuns
8228
8229         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8230           for changes. Mark pasted paragraphs as new.
8231
8232         * support/lyxtime.h:
8233         * support/lyxtime.C:
8234         * DepTable.C: abstract time_t as lyx::time_type
8235
8236         * LColor.h:
8237         * LColor.C: add colours for new text, deleted text, changebars
8238
8239         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8240           package use "usenames" option.
8241
8242         * commandtags.h:
8243         * lyxfunc.C:
8244         * LyXAction.C: add change lfuns
8245
8246         * Makefile.am:
8247         * author.h:
8248         * author.C: author handling
8249
8250         * buffer.h:
8251         * buffer.C: add a per-buffer author list, with first entry as
8252           current author. Handle new .lyx tokens for change tracking. Output
8253           author list to .lyx file. Output dvipost stuff to .tex preamble.
8254           Bump lyx format to 222.
8255
8256         * bufferlist.h:
8257         * bufferlist.C: add setCurrentAuthor() to reset current author details
8258           in all buffers.
8259
8260         * bufferparams.h:
8261         * bufferparams.C: add param for tracking
8262
8263         * bufferview_funcs.C: output change info in minibuffer
8264
8265         * Makefile.am:
8266         * changes.h:
8267         * changes.C: add change-tracking structure
8268
8269         * debug.h:
8270         * debug.C: add CHANGES debug flag
8271
8272         * lyxfind.h:
8273         * lyxfind.C: add code for finding the next change piece
8274
8275         * lyxrc.h:
8276         * lyxrc.C: add user_name and user_email
8277
8278         * lyxrow.h:
8279         * lyxrow.C: add a metric for the top of the text line
8280
8281         * lyxtext.h:
8282         * text.C: implement accept/rejectChange()
8283
8284         * lyxtext.h:
8285         * text.C: paint changebars. Paint new/deleted text in the chosen
8286         colours. Strike through deleted text.
8287
8288         * paragraph.h:
8289         * paragraph.C:
8290         * paragraph_pimpl.h:
8291         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8292           in the current change to the insert functions. Rework erase to
8293           mark text as deleted, adding an eraseIntern() and a range-based
8294           erase(). Implement per-paragraph change lookup and
8295           accept/reject.
8296
8297         * paragraph_funcs.C: Fixup paste for change tracking.
8298
8299         * tabular.C: mark added row/columns as new.
8300
8301         * text.C: fix rowLast() to never return -1. Don't allow
8302           spellchecking of deleted text. Track transpose changes. Don't
8303           allow paragraph break or merge where appropriate.
8304
8305         * text2.C: leave cursor at end of selection after a cut.
8306
8307 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8308
8309         * text.C (getLengthMarkerHeight):
8310         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8311         visible on screen too.
8312
8313 2003-02-07  John Levon  <levon@movementarian.org>
8314
8315         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8316
8317 2003-02-05  Angus Leeming  <leeming@lyx.org>
8318
8319         * lyxserver.C (read_ready): revert my patch of 11 September last year
8320         as it sends PC cpu through the roof. Presumably this means that
8321         the lyxserver will no longer run on an Alpha...
8322
8323 2003-01-30  Angus Leeming  <leeming@lyx.org>
8324
8325         * factory.C (createInset): create an InsetCommandParam of type "index"
8326         and use it to 'do the right thing'.
8327
8328         * text2.C (getStringToIndex): ensure that cursor position is always
8329         reset to the reset_cursor position.
8330
8331 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8332
8333         * lyxfunc.C (getStatus): "buffer-export custom" should never be
8334         disabled.
8335
8336 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
8337
8338         * bufferview.C:
8339         * lyxcb.C:
8340         * lyxfunc.C: Output messages with identical spelling, punctuation,
8341         and spaces
8342
8343 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
8344
8345         * MenuBackend.C (expandFormats): List only viewable export formats
8346         in "View" menu
8347
8348         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8349         message
8350
8351         * lyxfunc.C (getStatus): Make sure that formats other than
8352         "fax" can also be disabled
8353
8354 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8355
8356         * text3.C (dispatch): put the lfuns that insert insets in 3
8357         groups, and call doInsertInset with appropriate arguments.
8358         (doInsertInset): new function, that creates an inset and inserts
8359         it according to some boolean parameters.
8360
8361 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8362
8363         * buffer.C (readFile): remember to pass on 'par' when calling
8364         readFile recursively.
8365
8366 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8367
8368         * MenuBackend.C (expandFormats): add "..." to import formats.
8369
8370 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
8371
8372         * paragraph.C (asString): Remove XForms RTL hacks.
8373
8374 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
8375         * buffer.C: fix typo
8376
8377 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8378
8379         * Makefile.am (LIBS): delete var
8380         (lyx_LDADD): add @LIBS@ here instead.
8381
8382 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
8383
8384         * Clarify the meaning of "wheel mouse jump"
8385
8386 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8387
8388         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8389         tabular in a float
8390
8391 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8392
8393         * importer.C (Loaders): do not preallocate 3 elements in the
8394         vector, since one ends up with 6 elements otherwise
8395
8396 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8397
8398         * DepTable.C (write): write the file name as last element of the
8399         .dep file (because it may contain spaces)
8400         (read): read info in the right order
8401
8402 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8403
8404         * paragraph_pimpl.C (simpleTeXBlanks):
8405         (simpleTeXSpecialChars):
8406         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8407
8408         * tabular.C (latex): add some missing case statements. Reindent.
8409
8410         * MenuBackend.C (expandToc): remove unused variable.
8411
8412 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
8413
8414         * LColor.C:
8415         * LaTeX.C:
8416         * LyXAction.C:
8417         * MenuBackend.C:
8418         * buffer.C:
8419         * exporter.C:
8420         * lyxfunc.C:
8421         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8422         and the like.
8423
8424 2003-01-05  John Levon  <levon@movementarian.org>
8425
8426         * BufferView.h:
8427         * BufferView.C: add getEncoding()
8428
8429         * kbsequence.h:
8430         * kbsequence.C: do not store last keypress
8431
8432         * lyxfunc.h:
8433         * lyxfunc.C: store last keypress here instead. Pass encoding
8434           to getISOEncoded()
8435
8436 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8437
8438         * lyx_main.C (init): remove annoying error message when following
8439         symbolic links (bug #780)
8440
8441 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8442
8443         * text.C (insertChar):
8444         * lyxrc.C (getDescription): remove extra spaces
8445
8446 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8447
8448         * lyxrc.C (getDescription): remove extra spaces
8449
8450 2002-12-20  John Levon  <levon@movementarian.org>
8451
8452         * text3.C: hack fix for page up/down across tall rows
8453
8454 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8455
8456         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8457         not been invoked
8458
8459 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8460
8461         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8462         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8463         thesaurus is not compiled in
8464
8465 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
8466
8467         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
8468
8469 2002-12-16  Angus Leeming  <leeming@lyx.org>
8470
8471         * lyxrc.[Ch]:
8472         * lyx_main.C (init): remove override_x_deadkeys stuff.
8473
8474 2002-12-12  John Levon  <levon@movementarian.org>
8475
8476         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8477           insert. Only remove shift modifier under strict
8478           circumstances.
8479
8480 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8481
8482         * MenuBackend.C (expandToc): fix crash.
8483
8484 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8485
8486         * MenuBackend.C (expandToc): gettext on float names.
8487
8488 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
8489
8490         * lyxlength.[Ch]: set default unit to UNIT_NONE,
8491         implement bool empty() [bug 490]
8492
8493 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8494
8495         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8496
8497 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8498
8499         * several files: ws changes
8500
8501 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8502
8503         * text2.C (setCounter): clean up a bit, use boost.format.
8504         (updateCounters): initialize par upon declaration.
8505
8506         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8507         if the layout exists. We do not just store the layout any more.
8508         (SwitchLayoutsBetweenClasses): use boost.format
8509
8510 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8511
8512         * converter.C (convert): if from and to files are the same, use a
8513         temporary files as intermediary
8514
8515 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8516
8517         * commandtags.h:
8518         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8519
8520 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
8521
8522         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8523
8524 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8525
8526         * tabular.C (asciiPrintCell): use string(size, char) instead of
8527         explicit loop.
8528
8529         * sgml.C (openTag): fix order of arguments to string constructor
8530         (closeTag): ditto
8531
8532         * lyxfunc.C (dispatch): use boost.format
8533
8534         * lots of files: change "c" -> 'c'
8535
8536 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
8537
8538         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8539
8540 2002-11-25  Angus Leeming  <leeming@lyx.org>
8541
8542         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8543
8544         * lyx_main.C (init): compile fix.
8545
8546 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8547
8548         * lyx_cb.C (start): boost.formatify
8549         do not include <iostream>
8550
8551         * lengthcommon.C: ws only
8552
8553         * boost-inst.C,BoostFormat.h: add more explict instantations
8554
8555 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8556
8557         * lots of files: handle USE_BOOST_FORMAT
8558
8559 2002-11-21  John Levon  <levon@movementarian.org>
8560
8561         * pspell.C: fix compile
8562
8563 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8564
8565         * lyxfunc.C (dispatch): use boost::format
8566         (open): ditto
8567         (doImport): ditto
8568
8569         * lyxfont.C (stateText): use boost::format
8570
8571         * lyx_main.C (LyX): use boost::format
8572         (init): ditto
8573         (queryUserLyXDir): ditto
8574         (readRcFile): ditto
8575         (parse_dbg): ditto
8576         (typedef boost::function): use the recommened syntax.
8577
8578         * importer.C (Import): use boost::format
8579
8580         * debug.C (showLevel): use boost::format
8581
8582         * converter.C (view): use boost::format
8583         (convert): ditto
8584         (move): ditto
8585         (scanLog): ditto
8586
8587         * bufferview_funcs.C (currentState): use boost::format
8588
8589         * bufferlist.C (emergencyWrite): use boost::format
8590
8591         * buffer.C (readLyXformat2): use boost::format
8592         (parseSingleLyXformat2Token): ditto
8593
8594         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8595
8596         * LaTeX.C (run): use boost::format
8597
8598         * Chktex.C (scanLogFile): use boost::format
8599
8600         * BufferView_pimpl.C (savePosition): use boost::format
8601         (restorePosition): ditto
8602         (MenuInsertLyXFile): ditto
8603
8604         * BoostFormat.h: help file for explicit instation.
8605
8606 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
8607
8608         * tabular.C (latex): Support for block alignment in fixed width
8609         columns.
8610
8611 2002-11-17  John Levon  <levon@movementarian.org>
8612
8613         * BufferView_pimpl.C:
8614         * lyx_cb.C:
8615         * lyxfunc.C: split filedialog into open/save
8616
8617 2002-11-08  Juergen Vigna  <jug@sad.it>
8618
8619         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8620         by my last patch (hopefully).
8621
8622 2002-11-08  John Levon  <levon@movementarian.org>
8623
8624         * iterators.h:
8625         * iterators.C:
8626         * buffer.h:
8627         * buffer.C:
8628         * paragraph.h:
8629         * paragraph.C:
8630         * toc.h:
8631         * toc.C: ParConstIterator, and use it (from Lars)
8632
8633 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
8634
8635         * lyxtextclass.[Ch]: revise and add doxygen comments
8636
8637 2002-11-07  John Levon  <levon@movementarian.org>
8638
8639         * text.C: fix progress value for spellchecker
8640
8641         * toc.C: fix navigate menu for insetwrap inside minipage
8642
8643         * paragraph_funcs.C: added FIXME for suspect code
8644
8645 2002-11-07  John Levon  <levon@movementarian.org>
8646
8647         * BufferView_pimpl.C: fix redrawing of insets
8648           on buffer switch
8649
8650 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8651
8652         * text2.C (updateCounters): fix bug 668
8653
8654 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
8655
8656         * text3.C (dispatch): Do not make the buffer dirty when moving the
8657         cursor.
8658
8659 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8660
8661         * vc-backend.C: STRCONV
8662         (scanMaster): ditto
8663
8664         * text2.C (setCounter): STRCONV
8665
8666         * paragraph.C (asString): STRCONV
8667
8668         * lyxlength.C (asString): STRCONV
8669         (asLatexString): ditto
8670
8671         * lyxgluelength.C (asString): STRCONV
8672         (asLatexString): ditto
8673
8674         * lyxfunc.C (dispatch): STRCONV
8675         (open): ditto
8676
8677         * lyxfont.C (stateText): STRCONV
8678
8679         * importer.C (Import): STRCONV
8680
8681         * counters.C (labelItem): STRCONV
8682         (numberLabel): ditto
8683         (numberLabel): remove unused ostringstream o
8684
8685         * chset.C: STRCONV
8686         (loadFile): ditto
8687
8688         * bufferview_funcs.C (currentState): STRCONV
8689
8690         * buffer.C (readFile): STRCONV
8691         (asciiParagraph): ditto
8692         (makeLaTeXFile): ditto
8693
8694         * Spacing.C (writeEnvirBegin): STRCONV
8695
8696         * LaTeXFeatures.C (getLanguages): STRCONV
8697         (getPackages): ditto
8698         (getMacros): ditto
8699         (getBabelOptions): ditto
8700         (getTClassPreamble): ditto
8701         (getLyXSGMLEntities): ditto
8702         (getIncludedFiles): ditto
8703
8704         * LaTeX.C: STRCONV
8705         (run): ditto
8706         (scanAuxFile): ditto
8707         (deplog): ditto
8708
8709         * LString.h: add the STRCONV macros
8710
8711         * BufferView_pimpl.C (savePosition): STRCONV
8712         (restorePosition): ditto
8713         (MenuInsertLyXFile): ditto
8714
8715         * vc-backend.C (scanMaster): change from submatch[...] to
8716         submatch.str(...)
8717
8718         * funcrequest.C: include config.h
8719
8720         * factory.C: include config.h
8721
8722         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8723
8724         * box.C: include config.h
8725
8726         * LaTeX.C (scanAuxFile): change from submatch[...] to
8727         submatch.str(...)
8728         (deplog): ditto
8729
8730 2002-10-25  Angus Leeming  <leeming@lyx.org>
8731
8732         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8733
8734         * ispell.[Ch] (setError): new method.
8735         * ispell.C (c-tor): move out child process into new class LaunchIspell.
8736         Use setError() insetead of goto END.
8737
8738         * lyx_cb.C (AutoSave): move out child process into new class
8739         AutoSaveBuffer.
8740
8741 2002-10-30  John Levon  <levon@movementarian.org>
8742
8743         * text3.C: make start appendix undoable
8744
8745 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
8746
8747         * lyxlength.C (inPixels): Fix returned value.
8748
8749         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8750         environment.
8751
8752 2002-10-24  Angus Leeming  <leeming@lyx.org>
8753
8754         * lyxgluelength.h: no need to forward declare BufferParams
8755         or BufferView, so don't.
8756
8757 2002-10-21  John Levon  <levon@movementarian.org>
8758
8759         * BufferView.C: menuUndo ->undo, redo
8760
8761         * BufferView.h: document, remove dead, make some methods private
8762
8763         * paragraph_funcs.h:
8764         * paragraph_funcs.C:
8765         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8766
8767         * buffer.h:
8768         * buffer.C:
8769         * sgml.h:
8770         * sgml.C: move sgml open/close tag into sgml.C
8771
8772         * bufferview_funcs.h: unused prototype
8773
8774         * lyxfunc.h:
8775         * lyxfunc.C: remove unused
8776
8777         * lyxtext.h:
8778         * text.C: remove unused
8779
8780 2002-10-21  John Levon  <levon@movementarian.org>
8781
8782         * BufferView.h:
8783         * BufferView.C:
8784         * BufferView_pimpl.h:
8785         * BufferView_pimpl.C: fix mouse wheel handling based on
8786           patch from Darren Freeman
8787
8788 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
8789
8790         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8791
8792 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
8793
8794         * lyxlength.C (inPixels): Fix hanfling of negative length.
8795         Fix LyXLength::MU case.
8796
8797 2002-10-16  John Levon  <levon@movementarian.org>
8798
8799         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8800
8801 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8802
8803         * converter.C (view): add support for $$i (file name) and $$p
8804         (file path) for the viewer command. If $$i is not specified, then
8805         it is appended to the command (for compatibility with old syntax)
8806
8807 2002-10-14  Juergen Vigna  <jug@sad.it>
8808
8809         * undo_funcs.C (textHandleUndo): alter the order in which the
8810         new undopar is added to the LyXText, as we have to set first
8811         the right prev/next and then add it as otherwise the rebuild of
8812         LyXText is not correct. Also reset the cursor to the right paragraph,
8813         with this IMO we could remove the hack in "redoParagraphs()".
8814
8815 2002-10-09  Angus Leeming  <leeming@lyx.org>
8816
8817         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8818         to turn off an optimisation if a new inset is to be inserted.
8819
8820 2002-10-11 André Pönitz <poenitz@gmx.net>
8821
8822         * lyxtext.h: make some functions public to allow access
8823         from inset/lyxtext for handling LFUN_PRIOR/NEXT
8824
8825 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8826
8827         * text3.C (dispatch): when changing layout, avoid an infinite loop
8828         [bug #652]
8829
8830 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8831
8832         * lyxrc.C (read): treat a viewer or converter command of "none" as
8833         if it were empty.
8834
8835         * MenuBackend.C (expandFormats): for an update, also allow the
8836         formats that are not viewable
8837
8838         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8839         script if it is newer than the lyxrc.defaults in user directory
8840
8841 2002-10-07 André Pönitz <poenitz@gmx.net>
8842
8843         * text.C: Vitaly Lipatov's small i18n fix
8844
8845 2002-09-25  Angus Leeming  <leeming@lyx.org>
8846
8847         * ispell.h: doxygen fix.
8848
8849 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
8850
8851         * buffer.h (readFile): Add a new argument to the method, to allow
8852         reading of old-format templates.
8853
8854 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
8855
8856         * toc.C (getTocList): Get TOC from InsetWrap.
8857
8858 2002-09-16  John Levon  <levon@movementarian.org>
8859
8860         * lyxfunc.C: check tabular for cut/copy too
8861
8862 2002-09-12  John Levon  <levon@movementarian.org>
8863
8864         * LyXAction.C: tidy
8865
8866         * factory.h:
8867         * factory.C: add header
8868
8869         * paragraph_funcs.h:
8870         * paragraph_funcs.C: cleanup
8871
8872 2002-09-11  John Levon  <levon@movementarian.org>
8873
8874         * PrinterParams.h: odd/even default to true
8875
8876 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
8877
8878         * PrinterParams.h: update printer parameters for new xforms dialog
8879
8880 2002-09-11  Angus Leeming  <leeming@lyx.org>
8881
8882         * lyxserver.C (read_ready): re-write to make it more transparent
8883         and to make it work in coherent fashion under Tru64 Unix.
8884
8885 2002-09-11  André Pönitz <poenitz@gmx.net>
8886
8887         * commandtags.h:
8888         * LyXAction.C:
8889         * text3.C: implement LFUN_WORDSEL
8890
8891 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8892
8893         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8894         make floatlist_ a boost::shared_ptr<FloatList>
8895
8896         * lyxtextclass.C: include FloatList.h
8897         (LyXTextClass): initialize floatlist_
8898         (TextClassTags): add TC_NOFLOAT
8899         (Read): match "nofloat" to TC_NOFLOAT and use it.
8900         (readFloat): modify call to floatlist_
8901         (floats): ditto
8902         (floats): ditto
8903
8904         * FloatList.[Ch] (FloatList): remove commented out float
8905         initialization.
8906         (erase): new function
8907
8908 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8909
8910         * MenuBackend.C (expandToc): fix crash when there is no document
8911         open
8912
8913 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
8914
8915         * many files: Add insetwrap.
8916
8917 2002-09-09  John Levon  <levon@movementarian.org>
8918
8919         * text2.C: remove confusing and awkward depth wraparound
8920
8921 2002-09-09  John Levon  <levon@movementarian.org>
8922
8923         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8924
8925         * buffer.h:
8926         * buffer.C: remove getIncludeonlyList()
8927
8928         * paragraph.C:
8929         * lyxfunc.C: remove headers
8930
8931 2002-09-09  Juergen Vigna  <jug@sad.it>
8932
8933         * text.C (getColumnNearX): fix form Michael this is most
8934         probably a cut&paste bug.
8935
8936 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8937
8938         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8939
8940         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8941         references, ws changes.
8942
8943         * text2.C (init): update counters after init
8944         (insertParagraph): no need to set counter on idividual paragraphs.
8945         (setCounter): access the counters object in the textclass object
8946         on in the buffer object.
8947         (updateCounters): ditto
8948
8949         * lyxtextclass.C: include counters.h, add variable ctrs_ as
8950         shared_ptr<Counters> to avoid loading counters.h in all
8951         compilation units.
8952         (LyXTextClass): initialize ctrs_
8953         (TextClassTags): add TC_COUNTER, and ...
8954         (Read): use it here.
8955         (CounterTags): new tags
8956         (readCounter): new function
8957         (counters): new funtion
8958         (defaultLayoutName): return a const reference
8959
8960         * counters.C (Counters): remove contructor
8961         (newCounter): remove a couple of unneeded statements.
8962         (newCounter): simplify a bit.
8963         (numberLabel): some small formatting changes.
8964
8965         * buffer.[Ch]: remove all traces of counters, move the Counters
8966         object to the LyXTextClass.
8967
8968 2002-09-06  Alain Castera  <castera@in2p3.fr>
8969
8970         * tabular.C: uses \tabularnewline; uses >{...} construct from array
8971         package to set the horizontal alignment on fixed width columns.
8972
8973         * lyx_sty.C:
8974         * lyx_sty.h: added tabularnewline macro def.
8975
8976         * LaTeXFeatures.C: added NeedTabularnewline macro feature
8977
8978 2002-09-06  John Levon  <levon@movementarian.org>
8979
8980         * LyXAction.C: tooltips for sub/superscript
8981
8982         * MenuBackend.C: a bit more verbose
8983
8984         * lyxfunc.C: tiny clean
8985
8986         * undo_funcs.C: document undo_frozen
8987
8988 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8989
8990         * counters.C (Counters): add missing algorithm counter.
8991
8992         * text2.C (setCounter): lookup the counter with layouts latexname
8993         instead of by section number.
8994         (setCounter): use a hackish way to lookup the correct enum
8995         counter.
8996         a float name->type change
8997         reset enum couners with counter name directly instead of depth value.
8998
8999         * counters.C (Counters): remove the push_backs, change to use the
9000         float type not the float name.
9001         (labelItem): remove unused string, float name->type change
9002
9003         * counters.h: don't include vector, loose the enums and sects vectors
9004
9005 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9006
9007         * lyxtextclass.C (TextClassTags): add TC_FLOAT
9008         (Read): add float->TC_FLOAT to textclassTags
9009         (Read): and handle it in the switch
9010         (readFloat): new function
9011
9012         * FloatList.C (FloatList): comment out the hardcoded float
9013         definitions.
9014
9015         * lyxlayout.h: ws change.
9016
9017 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
9018
9019         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9020
9021 2002-09-03  Angus Leeming  <leeming@lyx.org>
9022
9023         * BufferView_pimpl.h: qualified name is not allowed in member
9024         declaration: WorkArea & Pimpl::workarea() const;
9025
9026         * factory.C: added using std::endl directive.
9027
9028         * text3.C: added using std::find and std::vector directives.
9029
9030 2002-08-29  André Pönitz <poenitz@gmx.net>
9031
9032         * lyxtext.h:
9033         * text2.C: remove unused member number_of_rows
9034
9035         * Makefile.am:
9036         * BufferView2.C: remove file, move contents to...
9037         * BufferView.C: ... here
9038
9039         * BufferView_pimpl.C:
9040         * factory.C: move more inset creation to factory
9041
9042         * vspace.C: avoid direct usage of LyXText, ws changes
9043
9044         * BufferView.[Ch]:
9045                 don't provide direct access to WorkArea, use two simple
9046                 acessors haveSelction() and workHeight() instead
9047
9048
9049 2002-08-29  John Levon  <levon@movementarian.org>
9050
9051         * BufferView_pimpl.C (dispatch): do not continue when
9052           no buffer
9053
9054 2002-08-28  André Pönitz <poenitz@gmx.net>
9055
9056         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9057
9058         * BufferView.h:
9059         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9060
9061 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
9062
9063         * buffer.C: increment LYX_FORMAT to 221
9064
9065         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9066         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9067
9068         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9069
9070         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9071
9072 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9073
9074         * factory.C (createInset): use LyXTextClass::floats
9075
9076         * MenuBackend.C (expandFloatListInsert):
9077         (expandFloatInsert):
9078         (expandToc):
9079
9080         * text2.C (setCounter):
9081
9082         * LaTeXFeatures.C (useFloat):
9083         (getFloatDefinitions):
9084
9085         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9086
9087         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9088         floatlist_, with accessor floats().
9089
9090         * FloatList.h: remove global FloatList
9091
9092 2002-08-26  André Pönitz <poenitz@gmx.net>
9093
9094         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9095
9096         * BufferView.h:
9097         * BufferView2.C:
9098         * BufferView_pimpl.C:
9099         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9100
9101 2002-08-25  John Levon  <levon@movementarian.org>
9102
9103         * LyXAction.C: fix margin note description
9104
9105 2002-08-24  John Levon  <levon@movementarian.org>
9106
9107         * buffer.C:
9108         * bufferlist.C:
9109         * bufferview_funcs.C:
9110         * lyxfont.C:
9111         * undo_funcs.C: cleanups
9112
9113         * lyxfunc.C: disable CUT/COPY when no selection
9114
9115 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
9116
9117         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9118         in "enum UNIT"; e.g. PTW for Percent of TextWidth
9119
9120         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9121         Add backward compatibility to "mono", "gray" and "no".
9122
9123 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
9124
9125         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9126         (and file_format >= 200).
9127
9128 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9129
9130         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9131
9132 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9133
9134         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9135
9136 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
9137
9138         * BufferView_pimpl.C:
9139         * LyXAction.C:
9140         * buffer.C:
9141         * commandtags.h:
9142         * lyxfunc.C:
9143         * paragraph.[Ch]:
9144         * text2.C:
9145         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9146         inset and code to make it  work with the paragraph code. The inset
9147         can be anywhere in the paragraph, but will only do the expected
9148         thing in LaTeX if the layout file contains the parameter line
9149                         OptionalArgs    1
9150         (or more generally, a nonzero value) for that layout.
9151
9152 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
9153
9154         * paragraph.h: remove the declaration of undefined counters class
9155         function.
9156
9157 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
9158
9159         * text2.C (setCounter):  fixed enumeration mis-count as reported by
9160         Dr. Richard Hawkins.
9161
9162 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9163
9164         * paragraph_funcs.h: remove some unneeded includes
9165
9166         * text.C (backspace): pasteParagraph now in global scipe
9167
9168         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9169         (pasteSelection): ditto
9170
9171         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9172         * paragraph_funcs.C (pasteParagraph): ... here
9173
9174 2002-08-20  André Pönitz <poenitz@gmx.net>
9175
9176         * commandtags.h: new LFUNs for swapping/copying table row/colums
9177
9178         * LyXAction.C:
9179         * lyxfunc.C: support for new lfuns
9180
9181 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
9182
9183         * tabular.C:
9184         * buffer.[Ch]: remove NO_COMPABILITY stuff
9185
9186 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
9187
9188         * boost.C (throw_exception): new file, with helper function for
9189         boost compiled without exceptions.
9190
9191         * paragraph.h:
9192         * lyxlength.C:
9193         * buffer.C:
9194         * ParameterStruct.h:
9195         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9196
9197         * bufferlist.C (emergencyWriteAll): use boost bind
9198
9199         * BufferView_pimpl.C (moveCursorUpdate): remove inline
9200
9201         * text.C: include paragraph_funcs.h
9202         (breakParagraph): breakParagraph is now in global scope
9203
9204         * paragraph_funcs.[Ch]: new files
9205
9206         * paragraph.C (breakParagraph,breakParagraphConservative): move to
9207         global scope
9208
9209         * buffer.C: include paragraph_funcs.h
9210         (insertStringAsLines): breakParagraph is now in global scope
9211
9212         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9213         paragraph_funcs.C
9214
9215         * CutAndPaste.C: include paragraph_funcs.h
9216         (cutSelection): breakParagraphConservative is now in global scope
9217         (pasteSelection): ditto
9218
9219         * buffer.h: declare oprator== and operator!= for
9220         Buffer::inset_iterator
9221
9222         * bufferlist.C (emergencyWrite): don't use fmt(...)
9223
9224         * text3.C: add using std::endl
9225
9226         * BufferView.C (moveCursorUpdate): remove default arg
9227
9228 2002-08-20  André Pönitz <poenitz@gmx.net>
9229
9230         * buffer.[Ch]: move inline functions to .C
9231
9232         * BufferView2.C:
9233         * BufferView_pimpl.C:
9234         * text.C:
9235         * buffer.[Ch]: use improved inset_iterator
9236
9237         * buffer.C:
9238         * paragraph.[Ch]: write one paragraph at a time
9239
9240 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
9241
9242         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9243         style if style is not specified.
9244
9245 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9246
9247         * text2.C (setCounter): when searching for right label for a
9248         caption, make sure to recurse to parent insets (so that a caption
9249         in a minipage in a figure float works) (bug #568)
9250
9251 2002-08-20  André Pönitz <poenitz@gmx.net>
9252
9253         * text3.C: new file for LyXText::dispatch() and helpers
9254
9255         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9256
9257         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9258
9259 2002-08-19  André Pönitz <poenitz@gmx.net>
9260
9261         * lyxtext.h:
9262         * text.C: new LyXText::dispatch()
9263
9264         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9265
9266 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
9267
9268         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9269
9270         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9271         Hebrew text.
9272
9273 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9274
9275         * Makefile.am: use $(variables) instead of @substitutions@
9276
9277 2002-08-15  André Pönitz <poenitz@gmx.net>
9278
9279         * lyxfunc.C:
9280         * BufferView_pimpl.C: streamlining mathed <-> outer world
9281         interaction
9282
9283         * commandtags.h:
9284         * LyXAction.C: remove unused LFUN_MATH
9285
9286 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9287
9288         * paragraph.[Ch]: add some NO_NEXT ifdefs.
9289
9290 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9291
9292         * paragraph.C (Paragraph): reformat a bit
9293         (cutIntoMinibuffer): use builtin InsetList function instad of
9294         doing it manually.
9295         (getInset): ditto
9296
9297         * buffer.C: include boost/bind.hpp, add using std::for_each
9298         (writeFileAscii): use ParagraphList iterators
9299         (validate): use for_each for validate traversal of paragraphs
9300         (getBibkeyList): use ParagraphList iterators
9301         (resizeInsets): use for_each to resizeInsetsLyXText for all
9302         paragraphs.
9303         (getParFromID): use ParagraphList iterators
9304
9305         * BufferView2.C (lockInset): use paragraph list and iterators
9306
9307 2002-08-14  John Levon  <levon@movementarian.org>
9308
9309         * lyxserver.C: remove spurious xforms include
9310
9311 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9312
9313         * lyxfunc.C (getStatus): disable math-extern outside of math mode
9314
9315 2002-08-13  André Pönitz <poenitz@gmx.net>
9316
9317         * LyXAction.[Ch]:
9318         * lyxfunc.C: further cleaning
9319
9320 2002-08-13  André Pönitz <poenitz@gmx.net>
9321
9322         * funcrequest.h: new constructor
9323
9324         * funcrequest.C: move stuff here from .h
9325
9326         * Makefile.am:
9327         * BufferView_pimpl.C:
9328         * LyXAction.C:
9329         * toc.C:
9330         * lyxfunc.C: subsequent changes
9331
9332         * lyxfunc.h: new view() member function
9333
9334         * lyxfunc.C: subsequent changes
9335
9336 2002-08-13  Angus Leeming  <leeming@lyx.org>
9337
9338         * BufferView2.C:
9339         * BufferView_pimpl.C:
9340         * buffer.C:
9341         * converter.C:
9342         * importer.C:
9343         * lyxfunc.C:
9344         * lyxvc.C:
9345         * toc.C:
9346         * vc-backend.C:
9347         changes due to the changed LyXView interface that now returns references
9348         to member variables not pointers.
9349
9350 2002-08-13  Angus Leeming  <leeming@lyx.org>
9351
9352         * WordLangTuple (word, lang_code): return references to strings,
9353         not strings.
9354
9355         * BufferView.h:
9356         * SpellBase.h:
9357         * lyxtext.h: forward-declare WordLangTuple.
9358
9359         * BufferView2.C:
9360         * ispell.C:
9361         * pspell.C:
9362         * text.C: #include "WordLangTuple.h".
9363
9364         * lyxtext.h:
9365         * text.C: (selectNextWordToSpellcheck): constify return type.
9366
9367 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
9368
9369         * buffer.C:
9370         * buffer.h:
9371         * lyxtext.h:
9372         * paragraph.C:
9373         * paragraph_pimpl.h:
9374         * text.C:
9375         * text2.C:
9376         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9377         suggested by Angus.
9378         Made updateCounter always count from start of buffer, and removed
9379         second argument (par).
9380         Reverted floats number display to '#'. Perhaps I'll try again when the
9381         code base is sanitized a bit.
9382
9383 2002-08-12  Angus Leeming  <leeming@lyx.org>
9384
9385         * buffer.[Ch] (getLabelList): constify.
9386
9387 2002-08-07  André Pönitz <poenitz@gmx.net>
9388
9389         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9390
9391         * funcrequest.h: extension to keep mouse (x,y) position
9392
9393 2002-08-12  Juergen Vigna  <jug@sad.it>
9394
9395         * BufferView2.C (insertErrors): forbid undo when inserting error
9396         insets.
9397
9398         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9399
9400 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9401
9402         * ParagraphList.[Ch]: new files
9403
9404         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9405
9406         * BufferView2.C (lockInset): ParagraphList changes
9407         * toc.C: ditto
9408         * text2.C: ditto
9409         * bufferlist.C: ditto
9410         * buffer.h: ditto
9411         * buffer.C: ditto
9412
9413 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9414
9415         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9416         unused class variable counter_,
9417
9418         * paragraph.[Ch] (getFirstCounter): delete unused function
9419
9420         * counters.C: include LAssert.h
9421         (reset): add a new function with no arg, change other version to
9422         not have def. arg and to not allow empty arg.
9423
9424         * text2.C (setCounter): remove empty arg from call to Counters::reset
9425
9426 2002-08-11  John Levon  <levon@movementarian.org>
9427
9428         * Makefile.am: add WordLangTuple.h
9429
9430 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9431
9432         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9433         lyxfunc.C lyxlex_pimpl.C: ws changes only.
9434
9435         * insets/insettext.C: InsetList changes
9436
9437         * graphics/GraphicsSupport.C (operator()): InsetList changes
9438
9439         * toc.C (getTocList): InsetList changes
9440
9441         * paragraph_pimpl.[Ch]: InsetList changes
9442
9443         * paragraph.[Ch]: InsetList changes
9444
9445         * buffer.C (inset_iterator): InsetList changes
9446         (setParagraph): ditto
9447         * buffer.h (inset_iterator): ditto
9448         * iterators.C (operator++): ditto
9449         * iterators.h: ditto
9450
9451         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9452
9453         * InsetList.[Ch]: new files, most InsetList handling moved out of
9454         paragraph.C.
9455
9456         * BufferView2.C (removeAutoInsets): InsetList changes
9457         (lockInset): ditto
9458         (ChangeInsets): ditto
9459
9460 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
9461
9462         * paragraph_pimpl.h (empty): new function
9463
9464         * paragraph.[Ch] (empty): new function
9465
9466         * other files: use the new Paragraph::empty function
9467
9468 2002-08-09  John Levon  <levon@movementarian.org>
9469
9470         * lyxtext.h: remove unused refresh_height
9471
9472 2002-08-09  John Levon  <levon@movementarian.org>
9473
9474         * Makefile.am:
9475         * sgml.h:
9476         * sgml.C:
9477         * buffer.C:
9478         * paragraph.h:
9479         * paragraph.C: move sgml char escaping out of paragraph
9480
9481         * paragraph.h:
9482         * paragraph.C: remove id setter
9483
9484         * buffer.C:
9485         * paragraph.C:
9486         * paragraph_pimpl.C: remove dead tex_code_break_column
9487
9488         * bufferview_funcs.C: small cleanup
9489
9490         * lyxfunc.C: remove dead proto
9491
9492         * lyxtext.h: make some stuff private. Remove some dead stuff.
9493
9494         * lyxgluelength.C: make as[LyX]String() readable
9495
9496 2002-08-08  John Levon  <levon@movementarian.org>
9497
9498         * LyXAction.h:
9499         * LyXAction.C:
9500         * MenuBackend.C:
9501         * ToolbarDefaults.C:
9502         * lyxfunc.C:
9503         * lyxrc.C:
9504         * toc.C: lyxaction cleanup
9505
9506 2002-08-08  John Levon  <levon@movementarian.org>
9507
9508         * BufferView2.C: small cleanup
9509
9510         * lyxfind.h:
9511         * lyxfind.C: move unnecessary header into the .C
9512
9513 2002-08-08  John Levon  <levon@movementarian.org>
9514
9515         * funcrequest.h: just tedious nonsense
9516
9517         * lyx_main.h:
9518         * lyx_main.C: cleanups
9519
9520         * buffer.C:
9521         * vspace.C: remove dead header lyx_main.h
9522
9523 2002-08-07  Angus Leeming  <leeming@lyx.org>
9524
9525         * Paragraph.[Ch]:
9526         * paragraph_pimpl.h:
9527         Forward declare class Counters in paragraph.h by moving the ctrs member
9528         variable into Paragraph::Pimpl.
9529         (counters): new method, returning a reference to pimpl_->ctrs.
9530
9531         * text2.C: ensuing changes.
9532
9533 2002-08-07  John Levon  <levon@movementarian.org>
9534
9535         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9536
9537         * BufferView_pimpl.C: announce X selection on double/triple
9538           click
9539
9540         * lyx_main.C: use correct bool in batch dispatch
9541
9542         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9543
9544 2002-08-07  André Pönitz <poenitz@gmx.net>
9545
9546         * funcrequest.h: new class to wrap a kb_action and its argument
9547
9548         * BufferView.[Ch]:
9549         * BufferView_pimpl[Ch]:
9550         * LaTeX.C:
9551         * LyXAction.[Ch]:
9552         * lyxfunc.[Ch]:
9553         * lyxrc.C: subsequent changes
9554
9555
9556 2002-08-07  John Levon  <levon@movementarian.org>
9557
9558         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9559           document options change.
9560
9561 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
9562
9563         * counters.[Ch]
9564         * text2.C
9565         * paragraph.[Ch]
9566         * makefile.am: move counters functionality over from
9567         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9568
9569 2002-08-06  John Levon  <levon@movementarian.org>
9570
9571         * WordLangTuple.h: new file for word + language code tuple
9572
9573         * SpellBase.h:
9574         * pspell.h:
9575         * pspell.C:
9576         * ispell.h:
9577         * ispell.C:
9578         * lyxtext.h:
9579         * text.C:
9580         * text2.C:
9581         * BufferView.h:
9582         * BufferView2.C: use WordLangTuple
9583
9584         * layout.h:
9585         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9586
9587 2002-08-06  John Levon  <levon@movementarian.org>
9588
9589         * lyx_main.C: fix cmdline batch handling
9590
9591 2002-08-06  André Pönitz <poenitz@gmx.net>
9592
9593         * lyxrc.C: set default for show_banner to true
9594
9595 2002-08-06  John Levon  <levon@movementarian.org>
9596
9597         * pspell.C: fix a crash, and allow new aspell to work
9598
9599 2002-08-06  John Levon  <levon@movementarian.org>
9600
9601         * lyxfunc.C:
9602         * kbmap.C: small cleanup
9603
9604         * vspace.h:
9605         * vspace.C: add const
9606
9607 2002-08-05  John Levon  <levon@movementarian.org>
9608
9609         * LyXAction.C: back to tabular-insert
9610
9611 2002-08-04  John Levon  <levon@movementarian.org>
9612
9613         * BufferView.h:
9614         * BufferView.C: cosmetic change
9615
9616         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9617
9618         * bufferlist.C:
9619         * buffer.h:
9620         * buffer.C:
9621         * lyxcb.h:
9622         * lyxcb.C:
9623         * lyxserver.C:
9624         * lyxvc.C:
9625         * vc-backend.C:
9626         * BufferView2.C: purge all "Lyx" not "LyX" strings
9627
9628         * lyxcursor.h:
9629         * lyxcursor.C: attempt to add some documentation
9630
9631         * lyxfunc.C:
9632         * commandtags.h:
9633         * LyXAction.C:
9634         * ToolbarDefaults.C:
9635         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9636           merge with LFUN_TABULAR_INSERT
9637
9638         * Makefile.am:
9639         * SpellBase.h:
9640         * ispell.h:
9641         * ispell.C:
9642         * pspell.h:
9643         * pspell.C: split up i/pspell implementations into separate
9644           files, many cleanups
9645
9646         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9647
9648         * text2.C: some cleanup
9649
9650         * lyxfunc.C: don't check for isp_command == "none" any more, it
9651           didn't make any sense
9652
9653 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
9654
9655         * counters.[Ch]
9656         * text2.C
9657         * paragraph.[Ch]
9658         * makefile.am: move counters functionality over
9659         from text2.C/paragraph.[Ch] to counters.[Ch], and
9660         make proper C++.
9661 2002-08-02  John Levon  <levon@movementarian.org>
9662
9663         * buffer.C: s/lyxconvert/lyx2lyx/
9664
9665 2002-08-02  Angus Leeming  <leeming@lyx.org>
9666
9667         * lyxlex.C: revert John's change as it breaks reading of the user
9668         preamble.
9669
9670 2002-08-02  Angus Leeming  <leeming@lyx.org>
9671
9672         * importer.C (Import):
9673         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9674         changes due to LyXView::view() now returning a boost::shared_ptr.
9675
9676 2002-08-02  John Levon  <levon@movementarian.org>
9677
9678         * lyxlex.C: small cleanup
9679
9680 2002-08-02  John Levon  <levon@movementarian.org>
9681
9682         * text2.C (status): small cleanup, no logic change
9683
9684 2002-08-01  John Levon  <levon@movementarian.org>
9685
9686         * buffer.h:
9687         * buffer.C (writeFile): don't output alerts, caller
9688           handles this
9689
9690         * bufferlist.C:
9691         * lyx_cb.C: from above
9692
9693         * lyxfunc.C: allow to open non-existent files
9694
9695 2002-07-31  John Levon  <levon@movementarian.org>
9696
9697         * lyxserver.C: don't let incidental errors get
9698           in the way (errno)
9699
9700 2002-07-30  John Levon  <levon@movementarian.org>
9701
9702         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9703
9704 2002-07-30  John Levon  <levon@movementarian.org>
9705
9706         * lyxserver.h:
9707         * lyxserver.C: remove I/O callback too
9708
9709 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9710
9711         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9712         log.
9713
9714 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9715
9716         * many files: strip,frontStrip -> trim,ltrim,rtrim
9717
9718 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
9719
9720         * PrinterParams.h: remove extern containsOnly, and include
9721         support/lstrings.h instead.
9722
9723         * LaTeX.C (scanAuxFile): modify because of strip changes
9724         (deplog): ditto
9725         * buffer.C (makeLaTeXFile): ditto
9726         * bufferparams.C (writeFile): ditt
9727         * lyxfont.C (stateText): ditto
9728         * lyxserver.C (read_ready): ditto
9729         * vc-backend.C (scanMaster): ditto
9730
9731         * BufferView_pimpl.h: ws changes
9732
9733         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9734
9735 2002-07-26  André Pönitz <poenitz@gmx.net>
9736
9737         * kb_sequence.C: remove unnedred usings
9738
9739 2002-07-26  Juergen Vigna  <jug@sad.it>
9740
9741         * lyxfind.C (LyXReplace): we have to check better if the returned
9742         text is not of theLockingInset()->getLockingInset().
9743
9744 2002-07-25  Juergen Vigna  <jug@sad.it>
9745
9746         * lyxfind.C (LyXReplace): don't replace if we don't get the
9747         right LyXText.
9748
9749         * undo_funcs.C (createUndo): remove debugging code.
9750
9751 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
9752
9753         * buffer.C (parseSingleLyXformat2Token): Use default placement
9754         when reading old floats.
9755
9756         * FloatList.C (FloatList): Change the default placement of figure
9757         and tables to "tbp".
9758
9759 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
9760
9761         * MenuBackend.C: using std::max
9762
9763 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9764
9765         * MenuBackend.C (expandToc):
9766         (expandToc2): code moved from xforms menu frontend. It is now
9767         generic and TOCs are transparent to menu frontends.
9768
9769 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9770
9771         * toc.C (getTocList): protect against buf=0
9772
9773         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9774         Menu as first parameter. Now, this calls itself recursively to
9775         expand a whole tree (this will be useful for TOC handling)
9776         (expandFloatInsert): remove 'wide' version of floats
9777
9778         * MenuBackend.h (submenuname): returns the name of the submenu.
9779         (submenu): returns the submenu itself, provided it has been
9780         created by MenuBackend::expand
9781
9782 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9783
9784         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9785         insets which have noFontChange == true. (bug #172)
9786
9787 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9788
9789         * BufferView_pimpl.C: add connection objects and use them...
9790         (Pimpl): here.
9791
9792 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9793
9794         * MenuBackend.C (expandLastfiles):
9795         (expandDocuments):
9796         (expandFormats):
9797         (expandFloatListInsert):
9798         (expandFloatInsert):
9799         (expand): split expand in parts
9800
9801 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9802
9803         * lyx_gui.C: use lyx_gui::exit()
9804
9805 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9806
9807         * LyXAction.C: show the failing pseudo action
9808
9809 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
9810
9811         * buffer.C (readFile): Run the lyxconvert script in order to read
9812         old files.
9813
9814 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9815
9816         * LyXAction.C:
9817         * commandtags.h:
9818         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9819
9820 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9821
9822         * LyXAction.C:
9823         * commandtags.h:
9824         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9825
9826 2002-07-22  Herbert Voss  <voss@lyx.org>
9827
9828         * lengthcommon.C:
9829         * lyxlength.[Ch]: add support for the vertical lengths
9830
9831 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
9832
9833         * toc.[Ch]: std:: fixes
9834
9835 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9836
9837         * lyxrc.C: do not include lyx_main.h
9838
9839         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9840         for layouts
9841
9842         * lyxrc.C:
9843         * encoding.C:
9844         * bufferlist.C:
9845         * BufferView2.C: include "lyxlex.h"
9846
9847         * tabular.h:
9848         * bufferparams.h: do not #include "lyxlex.h"
9849
9850         * lyxtextclasslist.C (Add): remove method
9851         (classlist): renamed to classlist_
9852
9853         * paragraph_pimpl.C:
9854         * paragraph.C:
9855         * text2.C:
9856         * CutAndPaste.C:
9857         * bufferview_funcs.C:
9858         * bufferlist.C:
9859         * text.C:
9860         * LaTeXFeatures.C:
9861         * buffer.C:
9862         * toc.C (getTocList): use BufferParams::getLyXTextClass
9863
9864         * toc.C (getTocList): use InsetFloat::addToToc
9865
9866         * toc.[Ch]: new files, containing helper functions to handle table
9867         of contents
9868
9869         * lyxfunc.C (dispatch): no need to remove spaces around command
9870         given as a string
9871         (getStatus): handle LFUN_SEQUENCE by returning the status of the
9872         first command of the sequence; it is not very clever, but I do not
9873         have a better idea, actually
9874
9875         * LyXAction.C (LookupFunc): make sure to remove space at the
9876         beginning and end of the command
9877
9878 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9879
9880         * MenuBackend.C (getMenubar): new method: return the menubar of
9881         this menu set
9882         (read): treat differently reading of menu and menubar (in
9883         particular, the menubar has no name now)
9884         (Menu::menubar): remove
9885
9886         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9887         saving is finished
9888
9889 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9890
9891         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9892         a bibitem inset in a RTL paragraph.
9893
9894 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
9895
9896         * paragraph_pimpl.C: constify
9897
9898         * BufferView_pimpl.C:
9899         * LaTeX.C:
9900         * lyxfunc.C: fix dispatch in a nicer way
9901
9902 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9903
9904         * lyxfunc.C (dispatch):
9905         * BufferView_pimpl.C:
9906         * BufferView_pimpl.h:
9907         * BufferView.C:
9908         * BufferView.h: rename Dispatch() to dispatch()
9909
9910         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9911
9912         * lyxlayout.C (Read): honor DependsOn tag
9913
9914         * lyxlayout.[Ch] (depends_on): new method
9915
9916         * version.C.in: update lyx_docversion
9917
9918         * LaTeXFeatures.C (getMacros): only define \LyX when needed
9919
9920         * paragraph.C (validate): remove from here...
9921         * paragraph_pimpl.C (validate): ... and move here
9922         (isTextAt): make it const
9923
9924         * buffer.C (getLists): ws cleanup
9925
9926 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9927
9928         * language.C (read): Use iso8859-1 encoding in latex_lang
9929         (this prevents LyX from crashing when using iso10646-1 encoding).
9930
9931 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9932
9933         * text2.C (toggleInset): if cursor is inside an inset, close the
9934         inset and leave cursor _after_ it
9935
9936 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9937
9938         * lyxfunc.C: move minibuffer completion handling out of here
9939
9940 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9941
9942         * BufferView_pimpl.C:
9943         * LaTeX.C: fix dispatch calls
9944
9945 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
9946
9947         * text.C (drawChars): Fix Arabic text rendering.
9948
9949 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
9950
9951         * LyXAction.C:
9952         * commandtags.h:
9953         * lyxfunc.C: remove message-push/pop
9954
9955         * lyxserver.C:
9956         * lyxfunc.h:
9957         * lyxfunc.C: rationalise some code by removing verboseDispatch
9958           in favour of a bool argument to dispatch()
9959
9960 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9961
9962         * lyx_main.C (init): make sure to read symlinks as absolute paths
9963
9964 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9965
9966         * lyxfunc.h:
9967         * lyxfunc.C: no need for commandshortcut to be a member
9968
9969 2002-07-15  André Pönitz <poenitz@gmx.net>
9970
9971         * converter.C: add support for $$s (scripts from lib/scripts dir)
9972         * lyx_main.C: white space
9973
9974 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9975
9976         * bufferlist.C:
9977         * lyxrc.h:
9978         * lyxrc.C: remove second exit confirmation
9979
9980 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9981
9982         * BufferView.h:
9983         * BufferView.C:
9984         * BufferView2.C:
9985         * BufferView_pimpl.h:
9986         * BufferView_pimpl.C:
9987         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9988
9989 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9990
9991         * MenuBackend.C (expand): add numeric shortcuts to document menu
9992
9993         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9994
9995 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9996
9997         * lyxfont.C (setLyXFamily):
9998         (setLyXSeries):
9999         (setLyXShape):
10000         (setLyXSize):
10001         (setLyXMisc):
10002         (lyxRead):
10003         * debug.C (value):
10004         * buffer.C (asciiParagraph): use ascii_lowercase
10005
10006 2002-07-15  Mike Fabian  <mfabian@suse.de>
10007
10008         * lyxlex_pimpl.C (search_kw):
10009         * lyxlex.C (getLongString):
10010         * converter.h (operator<):
10011         * converter.C (operator<):
10012         * buffer.C (parseSingleLyXformat2Token):
10013         (asciiParagraph):
10014         * ToolbarDefaults.C (read):
10015         * MenuBackend.C (checkShortcuts):
10016         (read):
10017         * LColor.C (getFromGUIName):
10018         (getFromLyXName): use the compare_ascii_no_case instead of
10019         compare_no_case, because in turkish, 'i' is not the lowercase
10020         version of 'I', and thus turkish locale breaks parsing of tags.
10021
10022 2002-07-16  Angus Leeming  <leeming@lyx.org>
10023
10024         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10025         now takes a Buffer const & argument.
10026
10027 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
10028
10029         * BufferView.C (resize): check there's a buffer to resize
10030
10031 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
10032
10033         * lyxfunc.C: remove dead code
10034
10035         * lyxserver.h:
10036         * lyxserver.C: use lyx_guii::set_read_callback
10037
10038 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
10039
10040         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10041         an inset in a RTL paragraph.
10042
10043 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10044
10045         * lyxfunc.C: repaint after a font size update
10046
10047 2002-07-15  André Pönitz <poenitz@gmx.net>
10048
10049         * lyxlength.C: inBP should be able to return negative values
10050
10051 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10052
10053         * lyxfunc.C: use lyx_gui::update_fonts()
10054
10055 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10056
10057         * lyxfunc.C: use lyx_gui::update_color()
10058
10059 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10060
10061         * bufferlist.C:
10062         * lyxfunc.h:
10063         * lyxfunc.C:
10064         * lyxrc.h:
10065         * lyxrc.C: remove file->new asks for name option, and let
10066           buffer-new take an argument
10067
10068 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10069
10070         * BufferView_pimpl.C: remove unneeded extra repaint()
10071
10072 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
10073
10074         * LyXAction.C: allow command-sequence with NoBuffer
10075
10076         * lyxfunc.C: don't insist on trailing ';' for command-sequence
10077
10078 2002-07-10  Angus Leeming  <leeming@lyx.org>
10079
10080         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10081
10082 2002-07-09  Angus Leeming  <leeming@lyx.org>
10083
10084         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10085
10086 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10087
10088         * lengthcommon.h: whitespace
10089
10090         * lyxfunc.C: update scrollbar after goto paragraph
10091
10092         * lyxtext.h: factor out page break drawing, and fix it so
10093           page break/added space paints as selected nicely
10094
10095 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10096
10097         * BufferView_pimpl.C: add FIXMEs, clean up a little
10098
10099 2002-07-09  André Pönitz <poenitz@gmx.net>
10100
10101         * lyxfont.[Ch]: support for wasy symbols
10102
10103 2002-07-08  André Pönitz <poenitz@gmx.net>
10104
10105         * BufferView_pimpl.C: apply John's patch for #93.
10106
10107 2002-07-05  Angus Leeming  <leeming@lyx.org>
10108
10109         * BufferView_pimpl.C (buffer): generate previews if desired.
10110
10111         * LColor.h: add "preview" to the color enum.
10112
10113         * LColor.C (LColor): add a corresponding entry to the items array.
10114
10115         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10116         with this buffer.
10117
10118 2002-07-05  Angus Leeming  <leeming@lyx.org>
10119
10120         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10121         The body of the code is now in the method that is passed an ostream &
10122         rather than a file name.
10123         Pass an additional only_preamble parameter, useful for the forthcoming
10124         preview stuff.
10125
10126 2002-07-03  André Pönitz <poenitz@gmx.net>
10127
10128         * lyxfunc.C: simplify getStatus() a bit for math stuff
10129
10130 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10131
10132         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10133
10134 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10135
10136         * text.C (changeRegionCase): do not change case of all the
10137         document when region ends at paragraph end (bug #461)
10138
10139 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10140
10141         * paragraph.C (startTeXParParams):
10142         (endTeXParParams): add \protect when necessary
10143
10144 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10145
10146         * BufferView_pimpl.C (workAreaExpose): remove warning
10147
10148 2002-06-27  Angus Leeming  <leeming@lyx.org>
10149
10150         * Makefile.am: add lyxlayout_ptr_fwd.h.
10151
10152 2002-06-26  André Pönitz <poenitz@gmx.net>
10153
10154         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10155
10156 2002-06-25  Angus Leeming  <leeming@lyx.org>
10157
10158         * lyxfunc.C (dispatch): Comment out the call to
10159         grfx::GCache::changeDisplay. The method no longer exists now that the
10160         pixmap generation part of the graphics loader has been moved into
10161         InsetGraphics.
10162
10163 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10164
10165         * text2.C: layout as layout
10166
10167         * text.C: layout as layout
10168
10169         * tabular.C (OldFormatRead): layout as layout
10170
10171         * paragraph_pimpl.C (TeXDeeper): layout as layout
10172         (realizeFont): layout as layout
10173
10174         * paragraph.C (writeFile): layout as layout
10175         (validate): layout as layout
10176         (getFont): layout as layout
10177         (getLabelFont): layout as layout
10178         (getLayoutFont): layout as layout
10179         (breakParagraph): layout as layout
10180         (stripLeadingSpaces): layout as layout
10181         (getEndLabel): layout as layout
10182         (getMaxDepthAfter): layout as layout
10183         (applyLayout): layout as layout
10184         (TeXOnePar): layout as layout
10185         (simpleTeXOnePar): layout as layout
10186         (TeXEnvironment): layout as layout
10187         (layout): layout as layout
10188         (layout): layout as layout
10189
10190         * lyxtextclass.C (compare_name): new functor to work with
10191         shared_ptr, layout as layout
10192         (Read): layout as layout
10193         (hasLayout): layout as layout
10194         (operator): layout as layout
10195         (delete_layout): layout as layout
10196         (defaultLayout): layout as layout
10197
10198         * lyxlayout_ptr_fwd.h: new file
10199
10200         * lyxlayout.C (Read): layout as layout
10201
10202         * lyx_cb.C (MenuInsertLabel): layout as layout
10203
10204         * bufferlist.C (newFile): layout as layout
10205
10206         * buffer.C (readLyXformat2): layout as layout
10207         (parseSingleLyXformat2Token): layout as layout
10208         (insertStringAsLines): layout as layout
10209         (asciiParagraph): layout as layout
10210         (latexParagraphs): layout as layout
10211         (makeLinuxDocFile): layout as layout
10212         (simpleLinuxDocOnePar): layout as layout
10213         (makeDocBookFile): layout as layout
10214         (simpleDocBookOnePar): layout as layout
10215         (getLists): layout as layout
10216
10217         * LaTeXFeatures.C (getTClassPreamble): layout as layout
10218
10219         * CutAndPaste.C (cutSelection): layout as layout
10220         (pasteSelection): layout as layout
10221         (SwitchLayoutsBetweenClasses): layout as layout
10222
10223         * BufferView_pimpl.C (Dispatch): layout as layout
10224         (smartQuote): layout as layout
10225
10226         * BufferView2.C (unlockInset): layout as layout
10227
10228 2002-06-24  André Pönitz <poenitz@gmx.net>
10229
10230         * lyxfunc.C: fix #487
10231
10232 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10233
10234         * lyxrc.h:
10235         * lyxrc.C:
10236         * lyxfunc.C: remove display_shortcuts, show_banner
10237
10238 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10239
10240         * Buffer_pimpl.C: oops, update on resize
10241
10242 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10243
10244         * buffer.C:
10245         * converter.C:
10246         * exporter.C:
10247         * lyxfunc.C:
10248         * BufferView.h:
10249         * BufferView.C: use repaint()
10250
10251         * BufferView_pimpl.h:
10252         * BufferView_pimpl.C: s/updateScreen()/repaint()/
10253           as it's a clearer description. Remove superfluous
10254           redraws.
10255
10256 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10257
10258         * text.C: fix bug 488. Not ideal, but getting
10259           getWord() to work properly for the insets that
10260           matter is more difficult ...
10261
10262 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10263
10264         * BufferView_pimpl.C:
10265         * LyXAction.C:
10266         * commandtags.h:
10267         * lyxfunc.C: remove the six million index lyxfuncs to just
10268           one, and DTRT (bug 458)
10269
10270 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10271
10272         * BufferView.h:
10273         * BufferView.C:
10274         * BufferView_pimpl.h:
10275         * BufferView_pimpl.C: clean up resize() stuff,
10276           and unnecessary updateScreen()s
10277
10278 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10279
10280         * BufferView.h:
10281         * BufferView.C:
10282         * BufferView_pimpl.h:
10283         * BufferView_pimpl.C:
10284         * lyxfind.h:
10285         * lyxfind.C:
10286         * minibuffer.C: remove focus management of workarea,
10287           not needed. Use screen's greyOut()
10288
10289 2002-06-17  Herbert Voss  <voss@lyx.org>
10290
10291         * converter.C: (convert) do not post a message, when converting
10292         fails, let the calling function decide what to do in this case
10293
10294 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
10295
10296         * lyxfunc.C: tidy up a little
10297
10298 2002-06-16    <alstrup@diku.dk>
10299
10300         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10301         Got rid of FORMS_H_LOCATION include. Now we are
10302         GUII.
10303
10304 2002-06-15  LyX Development team  <lyx@rilke>
10305
10306         * buffer.[Ch] (sgmlOpenTag):
10307         (sgmlCloseTag): Added support for avoiding pernicious mixed
10308         content. Return number of lines written.
10309
10310         (makeLinuxDocFile):
10311         (makeDocBookFile): Fixed calls to sgml*Tag.
10312         Simple white space clean.
10313
10314         (simpleDocBookOnePar): Simple white space clean.
10315
10316         * tabular.[Ch] (docBook): Renamed to docbook and got another
10317         argument to related with the pernicious mixed content.
10318
10319         (docbookRow): Fixed calls for docbook inset method.
10320
10321 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
10322
10323         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10324         so it's X11 independent.
10325
10326         * kb*.[Ch]: ditto.
10327
10328         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10329
10330 2002-06-15  Lyx Development team  <lyx@electronia>
10331
10332         * intl.h: Renamed getTrans to getTransManager.
10333
10334 2002-06-14  Angus Leeming  <leeming@lyx.org>
10335
10336         * Makefile.am: nuke forgotten stl_string_fwd.h.
10337
10338 2002-06-12  Angus Leeming  <leeming@lyx.org>
10339
10340         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10341
10342 2002-06-13  Angus Leeming  <leeming@lyx.org>
10343
10344         * LaTeX.C:
10345         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10346
10347 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
10348
10349         * kbmap.C (getiso): add support for cyrillic and greek
10350
10351 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10352
10353         * BufferView.h:
10354         * BufferView.C:
10355         * BufferView_pimpl.h:
10356         * BufferView_pimpl.C: move bogus scrolling logic
10357           to xforms
10358
10359 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10360
10361         * lyxfunc.C:
10362         * BufferView_pimpl.C: view->resize() change
10363
10364 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10365
10366         * BufferView_pimpl.C: topCursorVisible
10367           prototype change
10368
10369 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10370
10371         * Makefile.am:
10372         * lyx_gui.h:
10373         * lyx_gui.C: move to frontends/
10374
10375         * main.C:
10376         * lyx_main.h:
10377         * lyx_main.C: changes from above
10378
10379 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10380
10381         * intl.C:
10382         * intl.h:
10383         * kbmap.C:
10384         * kbsequence.C:
10385         * lyx_cb.C:
10386         * lyx_main.C: minor tidy
10387
10388 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10389
10390         * BufferView_pimpl.h:
10391         * BufferView_pimpl.C:
10392         * BufferView.h:
10393         * BufferView.C: make painter() const,
10394           remove dead code
10395
10396         * BufferView2.C: use screen() accessor
10397
10398         * lyx_main.h:
10399         * lyx_main.C: some minor cleanup
10400
10401 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10402
10403         * BufferView_pimpl.h:
10404         * BufferView_pimpl.C: remove enter/leaveView,
10405           use workHeight()
10406
10407 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10408
10409         * BufferView.h:
10410         * BufferView.C:
10411         * BufferView2.C:
10412         * BufferView_pimpl.h:
10413         * BufferView_pimpl.C: only construct screen once,
10414           rename
10415
10416         * lyxrc.C: remove pointless comment
10417
10418 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10419
10420         * BufferView.h:
10421         * BufferView.C: remove active() and belowMouse()
10422
10423         * BufferView_pimpl.h:
10424         * BufferView_pimpl.C: use workarea() not workarea_,
10425           and make it use a scoped_ptr instead
10426
10427 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10428
10429         * lyx_gui.C: add debug message on BadWindow
10430
10431 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10432
10433         * sp_spell.C: fdopen is not part of the C++ standard.
10434
10435         * paragraph.C (InsetIterator): use >= instead of ==
10436
10437 2002-06-07  Angus Leeming  <leeming@lyx.org>
10438
10439         Fixes needed to compile with Compaq cxx 6.5.
10440         * BufferView_pimpl.C:
10441         * DepTable.C:
10442         * buffer.C:
10443         * converter.C:
10444         * encoding.C:
10445         * lyx_gui.C:
10446         * lyx_main.C:
10447         * lyxtextclasslist.C:
10448         * minibuffer.C:
10449         * sp_spell.C:
10450         * tabular_funcs.C:
10451         * vc-backend.C:
10452         all c-library variables have been moved into namespace std. Wrap
10453         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10454
10455         * lyxlength.C:
10456         * tabular-old.C:
10457         * tabular.C:
10458         Add a using std::abs declaration.
10459
10460         * kbmap.h (modifier_pair):
10461         * paragraph.h (InsetTable, InsetList):
10462         * lyxfont.h (FontBits):
10463         type definition made public.
10464
10465         * bufferlist.C (emergencyWriteAll): the compiler complains that
10466         there is more than one possible lyx::class_fun template to choose from.
10467         I re-named the void specialisation as lyx::void_class_fun.
10468
10469         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10470
10471         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10472         the compiler is is unable to find tostr in write_attribute.
10473
10474 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10475
10476         * buffer.C (sgmlError): hide #warning
10477
10478 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10479
10480         * xtl/*: get rid of xtl, which is not in use anyway
10481
10482         * LyXAction.C (init):
10483         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10484         were unimplemented xtl experimentation
10485
10486 2002-06-04  André Pönitz <poenitz@gmx.net>
10487
10488         * lyxfunc.C: disable array operation on simple formulae
10489
10490 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
10491
10492         * converter.C: constify a bit
10493
10494 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
10495
10496         * lyx_gui.C: check xforms version correctly
10497
10498 2002-04-30  Herbert Voss  <voss@lyx.org>
10499
10500         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10501         "keep" option
10502
10503 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
10504
10505         * lyxvc.C: fix bug 416 (make sure buffer is saved before
10506           attempt to register it with a VCS)
10507
10508 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10509
10510         * lyx_main.C (init): honor variables LYX_DIR_13x and
10511         LYX_USERDIR_13x
10512
10513 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10514
10515         * buffer.h:
10516         * buffer.C:
10517         * lyx_main.C: fix a crash on bad command line,
10518           and give a useful exit status on error
10519
10520         * lyxfunc.C (doImport): allow -i lyx to work
10521
10522 2002-03-30  André Pönitz <poenitz@gmx.net>
10523
10524         * lyxfunc.C: mathed font changes
10525
10526 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10527
10528         * LaTeX.C:
10529         * importer.h:
10530         * importer.C:
10531         * lyx_sty.h:
10532         * lyx_sty.C:
10533         * lyxlex.C:
10534         * lyxrow.h:
10535         * lyxtext.h:
10536         * paragraph.h:
10537         * paragraph.C:
10538         * texrow.h:
10539         * texrow.C:
10540         * text.C:
10541         * trans_mgr.h: srcdocs, and some minor cleanups
10542
10543 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10544
10545         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10546         call getFont all the time)
10547
10548 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10549
10550         * switch from SigC signals to boost::signals
10551
10552 2002-05-29  André Pönitz <poenitz@gmx.net>
10553
10554         * paragraph_pimpl.C (getChar): don't call size() too often...
10555
10556 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10557
10558         * paragraph_pimpl.C (insertChar): do not try to update tables when
10559         appending (pos == size())
10560
10561         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10562         in order to reduce drastically the number of comparisons needed to
10563         parse a large document
10564
10565 2002-05-29  André Pönitz <poenitz@gmx.net>
10566
10567         * text.C:
10568         * text2.C:
10569         * lyxtextclass.C:
10570         * sp_pspell.h:
10571         * textclasslist.[Ch]:
10572         * sp_ispell.h: whitespace change
10573
10574 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10575
10576         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10577         lyxaction directly now.
10578
10579 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
10580
10581         * trans.C:
10582         * lyxfont.C:
10583         * lyxvc.C: remove unused headers
10584
10585 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10586
10587         * Makefile.am:
10588         * buffer.h:
10589         * undostack.h:
10590         * undostack.C:
10591         * undo_funcs.h:
10592         * undo_funcs.C: some cleanups. Use shared_ptr
10593           and a template for the undo stacks.
10594
10595 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10596
10597         * BufferView_pimpl.h:
10598         * BufferView_pimpl.C:
10599         * kbmap.h:
10600         * kbmap.C:
10601         * kbsequence.h:
10602         * kbsequence.C:
10603         * lyxfunc.h:
10604         * lyxfunc.C:
10605         * text2.C: use key_state/mouse_state
10606
10607 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10608
10609         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10610         and LSubstring
10611
10612         * chset.C: change include order
10613         (loadFile): use boost regex and get rid of LRegex and LSubstring
10614
10615         * Makefile.am (BOOST_LIBS): new variable
10616         (lyx_LDADD): use it
10617
10618         * LaTeX.C: change include order.
10619         (scanAuxFile): use boost regex and get rid of LRegex and
10620         LSubstring
10621         (deplog): ditto
10622
10623 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10624
10625         * ColorHandler.h:
10626         * ColorHandler.C:
10627         * FontInfo.h:
10628         * FontInfo.C: moved to frontends/xforms/
10629
10630         * FontLoader.h:
10631         * FontLoader.C: moved into frontends for GUIIzation
10632
10633         * Makefile.am:
10634         * lyx_gui.C:
10635         * lyxfont.C:
10636         * lyxfunc.C: changes from above
10637
10638 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10639
10640         * LColor.C: remove spurious X include
10641
10642         * BufferView_pimpl.C:
10643         * Makefile.am:
10644         * font.h:
10645         * font.C:
10646         * text.C:
10647         * text2.C: move font metrics to frontends/
10648
10649 2002-05-24  Juergen Vigna  <jug@sad.it>
10650
10651         * undo_funcs.C (textHandleUndo): fix the cursor selection after
10652         setting the undo_cursor.
10653
10654         * ParagraphParameters.h: include local includes first.
10655
10656 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10657
10658         * BufferView_pimpl.C:
10659         * BufferView_pimpl.h:
10660         * Makefile.am:
10661         * WorkArea.h:
10662         * WorkArea.C:
10663         * screen.C: move WorkArea into frontends/
10664
10665         * lyxscreen.h:
10666         * screen.C:
10667         * text.C:
10668         * BufferView.C:
10669         * BufferView2.C: move LyXScreen into frontends/
10670
10671         * lyxlookup.h:
10672         * lyxlookup.C:
10673         * lyx_gui.C: move lyxlookup into frontends/xforms/
10674
10675 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10676
10677         * BufferView2.C:
10678         * BufferView_pimpl.C:
10679         * FontLoader.C:
10680         * LyXView.h:
10681         * LyXView.C:
10682         * Makefile.am:
10683         * WorkArea.C:
10684         * XFormsView.h:
10685         * XFormsView.C:
10686         * buffer.C:
10687         * bufferlist.C:
10688         * bufferview_funcs.C:
10689         * converter.C:
10690         * importer.C:
10691         * lyx_cb.C:
10692         * lyx_gui.C:
10693         * lyx_main.C:
10694         * lyx_find.C:
10695         * lyxfunc.C:
10696         * lyxvc.C:
10697         * minibuffer.C:
10698         * text.C:
10699         * text2.C:
10700         * trans.C:
10701         * vc-backend.C: move LyX/XFormsView into frontends/
10702
10703 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10704
10705         * Makefile.am:
10706         * PainterBase.C:
10707         * PainterBase.h:
10708         * Painter.C:
10709         * Painter.h:
10710         * WorkArea.C:
10711         * WorkArea.h:
10712         * screen.C:
10713         * tabular.C:
10714         * text.C:
10715         * text2.C: move Painter to frontends/
10716
10717 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10718
10719         * buffer.C: comment out some some code that depend upon lyx_format
10720         < 220
10721
10722         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10723         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10724
10725         * buffer.h (NO_COMPABILITY): turn off compability
10726
10727         * ColorHandler.C: include scoped_array.hpp
10728
10729         * font.C: Use more specific smart_ptr header.
10730         * Painter.C: ditto
10731         * gettext.C: ditto
10732         * ShareContainer.h: ditto
10733         * lyx_main.h: ditto
10734         * kbmap.h: ditto
10735         * FontInfo.h: ditto
10736         * BufferView_pimpl.h: ditto
10737         * ColorHandler.h: ditto
10738
10739         * kbmap.C (defkey): change call to shared_ptr::reset
10740
10741 2002-05-21  Juergen Vigna  <jug@sad.it>
10742
10743         * buffer.C (insertErtContents): fix to insert ert asis if it is
10744         non empty. Skip it completely if it contains only whitespaces.
10745
10746 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
10747
10748         * BufferView_pimpl.C:
10749         * BufferView2.C: clear selection on paste (bug 393)
10750
10751 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10752
10753         * DepTable.C: include ctime
10754
10755 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
10756
10757         * buffer.C (latexParagraphs): Add new argument (moving_arg).
10758
10759 2002-05-14  Juergen Vigna  <jug@sad.it>
10760
10761         * text.C (breakParagraph): fixed function to honor the keepempty
10762         layout in the right maner and also to permit the right breaking
10763         algorithm on empty or non empyt keepempty paragraphs.
10764
10765         * paragraph.C (breakParagraph): we have to check also if the par
10766         is really empty (!size()) for isempty otherwise we do the wrong
10767         paragraph break.
10768
10769 2002-05-10  Juergen Vigna  <jug@sad.it>
10770
10771         * buffer.[Ch] : The following are only changes to the ert
10772         compatibility read reading old LaTeX layout and font stuff and
10773         convert it to ERTInsets.
10774
10775         * buffer.h: added isErtInset().
10776
10777         * buffer.C (struct ErtComp): add a fromlayout bool to check
10778         if we're inside a LaTeX layout.
10779         (isErtInset): new helper function.
10780         (insertErtContents): look for other ert insets before this one
10781         and insert the contents there, so that we don't have subsequent
10782         ERT insets with nothing between them. This way we create only one
10783         inset with multiple paragraphs. Also check if we don't insert only
10784         spaces ' ' as they are ignored anyway afterwards in the .tex file
10785         so if we have only spaces we will ignore this latex part in the
10786         new file.
10787         (parseSingleLyXformat2Token \\layout): better compatibility when
10788         reading layout-latex stuff.
10789         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10790         language tag.
10791         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10792         stuff after reading the inset only get the information back from
10793         the stack.
10794
10795 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
10796
10797         * buffer.C (makeLaTeXFile): Put language options after loading babel.
10798
10799         * LaTeXFeatures.C (getBabelOptions): New method.
10800
10801 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10802
10803         * BufferView_pimpl.C (Dispatch): work around missing argument for
10804         'layout'
10805
10806 2002-05-08  Juergen Vigna  <jug@sad.it>
10807
10808         * text.C (leftMargin): handle paragraph leftindent.
10809
10810         * paragraph.C (writeFile): write the new \\leftindent tag.
10811         (validate): handle leftindent code.
10812         (TeXEnvironment): handle paragraphleftindent code again.
10813
10814         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10815
10816         * buffer.C (parseSingleLyXformat2Token): added compatibility code
10817         for paragrap_extra indent code and new token \\leftindent.
10818         (latexParagraphs): handle the leftindent as environment.
10819
10820         * ParameterStruct.h: added leftindent support.
10821
10822         * ParagraphParameters.C (leftIndent): added support functions for
10823         the paragraph left indent.
10824
10825         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10826         more appropriate.
10827
10828 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
10829
10830         * paragraph.C (isRightToLeftPar): Return false for a paragraph
10831         inside insetERT.
10832
10833         * text.C (computeBidiTables): No bidi in insetERT.
10834
10835         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10836         in RTL documents.
10837
10838 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10839
10840         * version.C.in: pre 5
10841
10842 2002-05-02  José Matos  <jamatos@fep.up.pt>
10843         * buffer.C (makeDocBookFile): white space changes, add newline to
10844         command styles.
10845         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10846
10847         * tabular.C (docBook): fix typo.
10848
10849 2002-05-03  Juergen Vigna  <jug@sad.it>
10850
10851         * screen.C (drawFromTo): recalculate the rowpointer if we had a
10852         change in LyXText as we can not be sure it was not freed.
10853         (drawOneRow): remove unused code.
10854
10855         * text.C (drawInset): redo the calculation of the need_break_row as
10856         it could have a row which was already freed.
10857         (draw): look at the return value of drawInset and return false if
10858         it also returned false.
10859         (paintRowText): look at the return value of draw and return false if
10860         it also returned false.
10861
10862         * lyxtext.h: added bool return type to drawInset() and draw() so that
10863         if we have a change in the row so that the rowbreak has to be redone
10864         we abort drawing as it will be called again.
10865
10866 2002-05-02  Juergen Vigna  <jug@sad.it>
10867
10868         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10869         a change in the maintext also if we're inside an inset.
10870         (Dispatch): set the cursor again after a break line and after the
10871         screen has been updated as it could be we're in a different row.
10872
10873         * text2.C (fixCursorAfterDelete): check to make sure we don't request
10874         to set the cursor behind the pargraph with > size().
10875         (setCursor): check also for the same paragraph when checking where
10876         to put the cursor if we have a NFR inset.
10877
10878         * buffer.C (parseSingleLyXformat2Token): move the compatibility
10879         parts of layout read further up as it still was in the wrong
10880         position.
10881
10882 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10883
10884         * screen.C (drawFromTo): change sine fullRebreak always return
10885         true.
10886
10887         * buffer.C (parseSingleLyXformat2Token): reindent some
10888
10889         * BufferView_pimpl.C (update): change since fullRebreak always
10890         return true.
10891         (Dispatch): git rid of the last hardcoded "Standard"s.
10892
10893 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10894
10895         * text2.[Ch] (fullRebreak): make it return void now that we always
10896         returned true.
10897
10898 2002-04-30  Juergen Vigna  <jug@sad.it>
10899
10900         * buffer.C (parseSingleLyXformat2Token): reset the font before the
10901         ert compatibility check for "latex" layout.
10902
10903 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
10904
10905         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10906         minipages: use col% instead of p%, and also use the current font.
10907         (makeLaTeXFile): Fix use babel condition.
10908         (parseSingleLyXformat2Token): Correct font when reading old floats.
10909
10910 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
10911
10912         * BufferView_pimpl.C (Dispatch): Check that float type exists when
10913         inserting list of floats.
10914
10915 2002-04-25  Herbert Voss  <voss@lyx.org>
10916
10917         * MenuBackend.C (expand): don't add the graphics extensions to the
10918         export menu
10919
10920 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10921
10922         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10923         non-existing layout, do not complain if it was the default layout
10924         of the original class (bug #342)
10925
10926 2002-04-24  Juergen Vigna  <jug@sad.it>
10927
10928         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10929         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10930
10931 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
10932
10933         * buffer.C (getBibkeyList): If using \bibliography, return the
10934         option field with the reference itself. Enables us to provide natbib
10935         support when using \bibliography.
10936
10937 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
10938
10939         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10940
10941         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10942         natbib is provided by the LaTeX class.
10943
10944 2002-04-23  Juergen Vigna  <jug@sad.it>
10945
10946         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10947         Wakeup functions.
10948
10949         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10950
10951 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10952
10953         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10954
10955         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10956         ensuremath around textordmasculine, textordfeminine and
10957         textdegree.
10958
10959 2002-04-19  Juergen Vigna  <jug@sad.it>
10960
10961         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10962         reinitializing the buffer otherwise row-dimensions may be wrong.
10963         (update): reset also the selection cursors if they do exits otherwise
10964         their x/y positions may be wrong.
10965
10966         * text2.C (cursorDown): don't enter the inset if we came from a row
10967         above and are one row over the inset.
10968
10969         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10970         really leaving an inset.
10971
10972 2002-04-18  Juergen Vigna  <jug@sad.it>
10973
10974         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10975         of the selected paragraph does not have the selected layout also if
10976         the last one had!
10977
10978         * text2.C (setLayout): fixed bug which did not change last selected
10979         paragraph.
10980
10981         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10982         changed the read and substituted \\end_float with \\end_inset!
10983
10984         * BufferView_pimpl.C (cursorPrevious):
10985         (cursorNext): fixed to make it work with rows heigher than the work
10986         area without moving the cursor only the draw of the row.
10987         (workAreaMotionNotify): fix jumping over high rows.
10988
10989 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10990
10991         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10992         Ressler.
10993
10994 2002-04-16  Juergen Vigna  <jug@sad.it>
10995
10996         * text2.C (setCursor): set also the irow().
10997         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10998         (cursorUp):
10999         (cursorDown): support for locking an inset if the x_fix value goes
11000         inside it. That way I can transverse insets too with cursor up/down.
11001
11002         * lyxrow.h: added irow helper function same as other (i) functions.
11003
11004         * BufferView_pimpl.C (cursorPrevious):
11005         (cursorNext): fixed for insets!
11006
11007 2002-04-15  Juergen Vigna  <jug@sad.it>
11008
11009         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11010         position otherwise it is wrong in some cases.
11011
11012         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11013         inside the inset before the call.
11014
11015 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
11016
11017         * buffer.[Ch] (getBibkeyList): make it const.
11018
11019 2002-04-12  Juergen Vigna  <jug@sad.it>
11020
11021         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11022
11023         * text2.C (getCursorX): new helper function
11024         (setCursor): compute also ix_
11025         (setCursorFromCoordinates): set also ix.
11026
11027         * lyxcursor.h: added ix_ and helper functions.
11028
11029         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11030
11031         * buffer.C (insertStringAsLines): dont break paragraph if the this
11032         paragraph is inside an inset which does not permit it!
11033
11034         * text.C (breakParagraph): honor keepempty flag and break the paragraph
11035         also with no chars on this paragraph.
11036         (paintRowText): only paint stuff if it's inside the workarea!
11037
11038         * paragraph.C (breakParagraph): honor keepempty flag and break the
11039         paragraph always below not above.
11040
11041         * BufferView2.C (unlockInset): update the paragraph layout on inset
11042         unlock as we changed paragraph in such a case.
11043
11044         * lyxfind.C (LyXFind): clear the former selection if not found!
11045
11046         * text2.C (insertInset): freeze Undo after setUndo so that it is not
11047         again called in insertChar().
11048
11049         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11050         an inset which uses the whole row!
11051         (rightMargin): ditto.
11052         (insertChar): force a rebreak if we inserted an inset!
11053
11054 2002-03-28  Herbert Voss  <voss@lyx.org>
11055
11056         * lyxlength.[Ch]: add inBP() to get the right PS-point
11057         units (BigPoint). With inPixels we have rounding errors
11058
11059 2002-04-11  Juergen Vigna  <jug@sad.it>
11060
11061         * text2.C (setCursorFromCoordinates): set iy to the right value.
11062         (setCursor): add check if row->previous exists!
11063
11064         * buffer.C (parseSingleLyXformat2Token): reset font after read of
11065         an old float_type as this was the case in the old code!
11066
11067         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11068
11069         * BufferView2.C (showLockedInsetCursor): use iy
11070         (fitLockedInsetCursor): ditto
11071
11072         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11073         locked insets as there we have the right value now.
11074
11075         * lyxcursor.C: added iy_ variable and iy functions to set to the
11076         baseline of cursor-y of the locked inset.
11077
11078         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11079         (setCursor): fixed for insets which need a full row.
11080
11081         * text.C (rowLastPrintable): don't ignore the last space when before
11082         an inset which needs a full row.
11083         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11084         as last character of a row when before a inset which needs a full row.
11085
11086 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11087
11088         * version.C.in: update date
11089
11090         * text2.C (fullRebreak): try to always return true and see what
11091         happens...
11092
11093 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11094
11095         * MenuBackend.C (expand): use Floating::listName
11096
11097         * FloatList.C (FloatList): add listName argument to the built-in
11098         floats
11099
11100         * Floating.[Ch]: add listName member, which is the 'List of XXX'
11101         text associated with the float.
11102
11103 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11104
11105         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11106
11107 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11108
11109         * ShareContainer.h: add a couple of missing typenames.
11110
11111 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
11112
11113         * lyxrc.C (getDescription): use _() correctly rather than N_().
11114
11115 2002-03-28  Herbert Voss  <voss@lyx.org>
11116
11117         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11118         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11119
11120 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11121
11122         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11123         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11124
11125 2002-03-29  Juergen Vigna  <jug@sad.it>
11126
11127         * lyxfunc.C (dispatch): add a missing fitCursor call.
11128
11129         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11130         it was scrolled by a cursor move, so return the bool status.
11131
11132         * BufferView.C (fitCursor): return the bool flag also to the outside
11133         world as this is needed.
11134
11135         * screen.C (toggleToggle): don't subtract the offset if it's positive.
11136
11137         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11138         call the edit() as it is not needed (and wrong) IMO.
11139         (workAreaButtonPress): set the screen_first variable before evt.
11140         unlock the inset as this may change screen_first and then we have
11141         a wrong y position for the click!
11142
11143 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11144
11145         * MenuBackend.C (expand): another translation that I missed
11146
11147 2002-03-28  Juergen Vigna  <jug@sad.it>
11148
11149         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11150
11151         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11152
11153 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11154
11155         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11156
11157         * MenuBackend.C (expand): fix export/view/update when there is no
11158         document open.
11159
11160 2002-03-27  Herbert Voss  <voss@lyx.org>
11161
11162         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11163         and text%
11164
11165 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11166
11167         * bufferview_funcs.C (currentState): only show paragraph number
11168         for is DEVEL_VERSION is set.
11169
11170         * lyxfunc.C (dispatch): put warning in INFO channel
11171
11172         * MenuBackend.C (expand): translate the name of floats
11173
11174         * FloatList.C (FloatList): mark the float names for translation
11175
11176         * converter.C (convert): use LibScriptSearch
11177
11178 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11179
11180         * MenuBackend.C (defaults): fix default menu (we might as well get
11181         rid of it...)
11182
11183 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11184
11185         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11186         directory.
11187
11188 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11189
11190         * lyxvc.C: reorder includes.
11191
11192 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
11193
11194         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11195           properly
11196
11197 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
11198
11199         * CutAndPaste.C: change layouts earlier on paste
11200           to avoid crashing when calling getFont()
11201
11202 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
11203
11204         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11205         irritating #error.
11206
11207 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11208
11209         * WorkArea.C: remove 'Pending' debug message.
11210
11211         * most files: ws cleanup
11212
11213         * buffer.[Ch]: ws changes
11214
11215         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11216
11217 2002-03-21  Juergen Vigna  <jug@sad.it>
11218
11219         * tabular.C (SetMultiColumn): collapse also the contents of the
11220         cells and set the last border right. Added a Buffer const * param.
11221
11222 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11223
11224         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11225         linking or not.
11226
11227 2002-03-19  Juergen Vigna  <jug@sad.it>
11228
11229         * text2.C (clearSelection): reset also xsel_cache.
11230
11231         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11232         where it needs to be called (John tells us to do so too :)
11233         (selectionLost): reset sel_cache.
11234
11235         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11236
11237 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11238
11239         * text2.C (setCursorIntern): put debuging code in INSETS channel
11240
11241 2002-03-19  André Pönitz <poenitz@gmx.net>
11242
11243         * lyxfunc.C: tiny whitespace change
11244
11245 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11246
11247         * ToolbarDefaults.C (init):
11248         * LyXAction.C (init):
11249         * commandtags.h:
11250         * BufferView_pimpl.C (Dispatch):
11251         * lyxfunc.C (dispatch): remove LFUN_DEPTH
11252
11253 2002-03-19  Allan Rae  <rae@lyx.org>
11254
11255         * exporter.C (Export): removeAutoInsets before doing anything else.
11256         While I've just introduced a dependency on BufferView this really is
11257         the best place to clean the buffer otherwise you need to cleanup in
11258         a dozen places before calling export or cleanup in a dozen functions
11259         that export calls.
11260
11261         * converter.C (runLaTeX):
11262         (scanLog): Better handling of removeAutoInsets and screen updates.
11263
11264         * lyxfunc.C (dispatch): small whitespace changes
11265
11266 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11267
11268         * WorkArea.C (C_WorkAreaEvent): return a value.
11269         (event_cb): return 1 if we handled the event, 0 otherwise.
11270
11271         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11272
11273 2002-03-18  Juergen Vigna  <jug@sad.it>
11274
11275         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11276         (GetAdditionalWidth): ditto.
11277         (RightLine): ditto.
11278         (LeftLine): ditto.
11279
11280         * BufferView2.C (copy): use getLyXText() so that we do it inside an
11281         inset if we're there actually (probably not used right now but this
11282         is the direction to go for unifying code).
11283         (paste): disable code to clear the selection.
11284
11285         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11286         inside an InsetText and move the check further up as it is in the
11287         wrong place.
11288
11289         * text2.C (pasteSelection): set a selection over the pasted text.
11290
11291 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
11292
11293         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11294         and libgraphics to build on Cygwin.
11295
11296 2002-03-15  Juergen Vigna  <jug@sad.it>
11297
11298         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11299         inserting an Inset into the paragraph. I know this is not the best
11300         fix but we already use current_view in CutAndPaste so we will remove
11301         all of it's using at the same time.
11302
11303         * buffer.C (sgmlError): deactivated function till it is rewritten in
11304         the right mode, now it can create problems.
11305
11306         * paragraph.C (isLineSeparator): check if getInset returns != 0,
11307         before accessing it.
11308
11309 2002-03-14  Juergen Vigna  <jug@sad.it>
11310
11311         * undo_funcs.C (textHandleUndo): do the right thing when updating
11312         the inset after the undo/redo.
11313
11314         * text2.C (setCursor): just some testcode for #44 not ready yet.
11315
11316         * undo_funcs.C (textHandleUndo): set the next() and previous()
11317         pointers of the paragraph to 0 before deleting otherwise we have
11318         problems with the Paragraph::[destructor].
11319
11320         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11321         on a paragraph insertion.
11322
11323 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11324
11325         * buffer.C (asciiParagraph): use += operator for char append to
11326         string.
11327
11328         * paragraph.C (getFontSettings): compare >= not just >
11329         (highestFontInRange): ditto
11330         (setFont): ditto
11331
11332 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11333
11334         * paragraph.C: change several algorithm to be more appripriate for
11335         the problem domain. This is lookip in FontList and in the InsetList.
11336
11337 2002-03-13  André Pönitz <poenitz@gmx.net>
11338
11339         * commandtags.h:
11340         * LyXAction.C: remove unused LFUN_MATH_MACROARG
11341
11342 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
11343
11344         * commandtags.h:
11345         * LyXAction.C:
11346         * lyxfunc.C:
11347         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11348
11349 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11350
11351         * Painter.C (display): anon helper function, adjust code for this
11352         change.
11353         (pixmap): remove function.
11354
11355         * Painter.h: remove private display variable.
11356
11357         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11358
11359 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
11360
11361         * WorkArea.[Ch]: remove figinset_canvas cruft.
11362
11363 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11364
11365         * lyxtextclass.C (operator): add one item cache optimization.
11366
11367         * bufferlist.h: doxy changes
11368
11369         * bufferlist.C: ws changes
11370
11371         * DepTable.[Ch] (ext_exist): place const in the right spot.
11372
11373         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11374         call resizeInsets.
11375         (workAreaExpose): call resizeInsets when the with BufferView changes.
11376         (Dispatch): adjust for protectedBlank removal
11377         (specialChar): call updateInset if the insert went ok.
11378
11379         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11380         specialChar instead.
11381
11382         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11383
11384         * BufferView.h: doxy change
11385
11386         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11387
11388         * lyxtextclass.C (operator[]): remove non-const version
11389         (defaultLayout): remove non-const version
11390
11391 2002-03-12  Juergen Vigna  <jug@sad.it>
11392
11393         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11394         did resize the LyXText too.
11395
11396         * buffer.C (readLyXformat2): set layout information on newly allocated
11397         paragraphs.
11398
11399         * tabular.C (OldFormatRead): set layout information on the paragraph.
11400
11401 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11402
11403         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11404
11405 2002-03-11  Juergen Vigna  <jug@sad.it>
11406
11407         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11408         plainly wrong.
11409         (resizeCurrentBuffer): force also the insets to resize themselfes.
11410         (moveCursorUpdate): fixed up for InsetText.
11411
11412 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
11413
11414         * commandtags.h:
11415         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11416         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11417         value of Dialogs::tooltipsEnabled().
11418         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11419
11420 2002-03-08  Juergen Vigna  <jug@sad.it>
11421
11422         * BufferView_pimpl.C (updateInset): update inset inside inset also
11423         if it isn't inside theLockingInset().
11424
11425 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11426
11427         * buffer.C (asciiParagraph): redo some of the word and line length
11428         handling.
11429         (getLists): look for Caption instead of caption.
11430
11431 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11432
11433         * buffer.C (Buffer): initialize niceFile to true
11434         (makeLaTeXFile):
11435         (makeLinuxDocFile):
11436         (makeDocBookFile): make sure niceFile is true on exit
11437
11438 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11439
11440         * buffer.C (makeLaTeXFile): escape ~ in \input@path
11441
11442 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
11443
11444         * LyXSendto.C: remove.
11445         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11446         * lyx_gui.C: remove now-redundant comment.
11447         * ColorHandler.h: remove forward declaration of class WorkArea.
11448         * lyxfunc.C: remove #include "WorkArea.h".
11449
11450 2002-03-07  Juergen Vigna  <jug@sad.it>
11451
11452         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11453         got moved away with the DEPM and also set the inset_owner always
11454         right which before could have been omitted.
11455
11456 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11457
11458         * buffer.C (parseSingleLyXformat2Token): use default layout is the
11459         wanted layout is not found.
11460
11461 2002-03-07  Juergen Vigna  <jug@sad.it>
11462
11463         * CutAndPaste.C (cutSelection): another layout settings forgotten.
11464
11465 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11466
11467         * paragraph.C (breakParagraph): use default layout not layout of
11468         prev paragraph.
11469         (Paragraph): clear ParagraphParameters.
11470
11471 2002-03-06  Juergen Vigna  <jug@sad.it>
11472
11473         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11474         otherwise it would not be a valid lenght. Fixed a special case in
11475         the minipage compatibility read where we end the document with a
11476         minipage.
11477
11478         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11479         was set as it could be 0 for InsetTexts first entry.
11480
11481 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11482
11483         * paragraph.C (writeFile): if layout is empty write out
11484         defaultLayoutName().
11485
11486         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11487         file without named layout we set layout to defaultLayoutName().
11488
11489 2002-03-06  Juergen Vigna  <jug@sad.it>
11490
11491         * CutAndPaste.C (copySelection): set layout for new paragraph.
11492
11493         * text.C (prepareToPrint): leave ERT inset left aligned
11494         (leftMargin): don't indent paragraphs inside ERT insets
11495
11496 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11497
11498         * paragraph.C (breakParagraph): dont call clear do the work manually
11499
11500         * paragraph.[Ch] (clear): remove function
11501
11502 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11503
11504         * paragraph.C (Paragraph): dont call clear, the work has already
11505         been done.
11506
11507         * lyxtextclass.C (operator): assert if n is empty
11508
11509         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11510         work manually instead.
11511
11512 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11513
11514         * BufferView_pimpl.C: protect selectionLost against text == 0
11515
11516 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11517
11518         * text.C (breakParagraph): fix a setting layout to '0' problem.
11519
11520 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11521
11522         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11523         final location of file, for the included files, and graphics.
11524
11525 2002-03-05  Juergen Vigna  <jug@sad.it>
11526
11527         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11528
11529 2002-03-04  Juergen Vigna  <jug@sad.it>
11530
11531         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11532
11533         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11534         last column of multicolumn cells.
11535         (SetWidthOfMulticolCell): recalculate NMC and real columns.
11536
11537 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11538
11539         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11540         file if it doesn't go to a temporary file.
11541
11542         * buffer.C (sgmlOpenTag):
11543         (sgmlCloseTag):  remove extra newline insertion.
11544
11545 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11546
11547         * text.C (getRowNearY): comment out debug msg
11548
11549 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11550
11551         * text2.C: first -> first_y
11552
11553         * text.C (getRowNearY): add some attemts at a possible
11554         optimization, not working.
11555
11556         * tabular.[Ch]: add BufferParams to several function so that newly
11557         created paragraph can be initialized to he default layotu for the
11558         buffers textclass.
11559
11560         * tabular-old.C (ReadOld): add buf->params to call of Init
11561
11562         * screen.C: rename text->first to text->first_y
11563
11564         * paragraph.C (breakParagraph): always set layout in the broken
11565         paragraph
11566
11567         * lyxtextclass.C (Read): remove lowercase
11568         (hasLayout): ditto
11569         (operator): ditto
11570         (delete_layout): ditto
11571
11572         * lyxtext.h: rename first -> first_y
11573
11574         * lyxlayout.C (Read): remove lowercase
11575         (name): ditto
11576         (setName): ditto
11577         (obsoleted_by): ditto
11578
11579         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11580
11581         * buffer.C (insertErtContents): add params are to InsetERT
11582         (parseSingleLyXformat2Token): add code to check if a paragraphs
11583         layout really exist.
11584         (parseSingleLyXformat2Token): add params to several inset
11585         constructors
11586         (asciiParagraph): remove lowercase, do the layout comparisons with
11587         no_case
11588
11589         * BufferView_pimpl.C (cursorNext): first -> first_y
11590         (resizeCurrentBuffer): first -> first_y
11591         (updateScrollbar): first -> first_y
11592         (scrollCB): first -> first_y
11593         (workAreaMotionNotify): first -> first_y
11594         (workAreaButtonPress): first -> first_y
11595         (checkInsetHit): first -> first_y
11596         (cursorPrevious): first -> first_y
11597         (cursorNext): first -> first_y
11598         (Dispatch): add buffer_->params to severl inset contructors
11599
11600 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11601
11602         * lyxlayout.C (Read): remove some debug info that I forgot.
11603
11604         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11605         clean up the code slightly.
11606         (makeLinuxDocFile): ditto
11607         (makeDocBookFile): ditto
11608
11609         * text2.C: layout as string
11610
11611         * text.C: layout as string
11612
11613         * paragraph_pimpl.C: layout as string
11614
11615         * paragraph.[Ch]: layout as string
11616
11617         * lyxtextclasslist.[Ch]: layout as string
11618
11619         * lyxtextclass.[Ch]: layout as string
11620
11621         * lyxtext.h: layout as string
11622
11623         * lyxlayout.[Ch]: layout as string
11624
11625         * lyx_cb.C: layout as string
11626
11627         * bufferview_funcs.C: layout as string
11628
11629         * bufferparams.C: layout as string
11630
11631         * buffer.C: layout as string
11632
11633         * LyXView.[Ch]: layout as string
11634
11635         * LaTeXFeatures.[Ch]: layout as string
11636
11637         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11638
11639         * BufferView_pimpl.C: change current_layout to string, remove
11640         lyx::layout_type.
11641         (Dispatch):
11642         (smartQuote):
11643         (insertInset):
11644         (workAreaButtonRelease): layout as string
11645
11646         * BufferView2.C (unlockInset): adjust
11647
11648         * vspace.C (asLatexCommand): use an explict temp variable.
11649
11650 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11651
11652         * Makefile.am: use FRONTEND_*
11653
11654 2002-03-01  Juergen Vigna  <jug@sad.it>
11655
11656         * tabular.C (SetWidthOfMulticolCell): changed to something better
11657         I hope but still work in progress.
11658         (recalculateMulticolumnsOfColumn): renamed function from
11659         recalculateMulticolCells as it is more appropriate now.
11660         (SetWidthOfCell): calculate multicols better.
11661
11662 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11663
11664         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11665
11666         * lyxfunc.C (processKeySym): print sequence also if it is
11667         `deleted' (complete)
11668
11669         * kbsequence.C (print): print sequence even if it is deleted
11670         (complete would be a better word, actually).
11671
11672         * lyxfunc.C (dispatch): print complete options after a prefix key
11673
11674         * vspace.C (asLatexCommand): rewrite in a slightly different form.
11675
11676 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
11677
11678         * text2.C (setCharFont): eliminate setCharFont code duplication.
11679
11680 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11681
11682         * BufferView_pimpl.C (Dispatch): remove bogus handling of
11683         LFUN_TABULAR_FEATURE (bug #177)
11684
11685 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
11686
11687         * Makefile.am: remove figure.h
11688
11689 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
11690
11691         * Bufferview_pimpl.C:
11692         * CutAndPasteC:
11693         * LaTeX.C:
11694         * LyXSendto.C:
11695         * buffer.C:
11696         * bufferlist.C:
11697         * converter.C:
11698         * language.C:
11699         * lyxfunc.C:
11700         * lyxvc.C:
11701         * paragraph.C:
11702         * text.C:
11703         * text2.C: remove #include "lyx_gui_misc.h".
11704
11705         * LaTeX.C: added #include <cstdio>
11706
11707 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11708
11709         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11710         that the paragraph following this one can have.
11711
11712         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11713
11714         * vspace.C (asLatexCommand): fix bogus gcc warning
11715
11716         * Makefile.am (lyx_SOURCES): remove vms_defines.h
11717
11718 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
11719
11720         * text2.C (setLayout): get rid of redundant code
11721
11722 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
11723
11724         * text2.C (incDepth): make sure depth cannot be increased beyond
11725         reasonable values.
11726
11727 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
11728
11729         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11730         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11731
11732         * PainterBase.h (image):
11733         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11734         a LyXImage const *.
11735
11736 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11737
11738         * BufferView.C:
11739         * BufferView.h:
11740         * BufferView_pimpl.C:
11741         * BufferView_pimpl.h:
11742         * LaTeXFeatures.C:
11743         * LyXAction.C:
11744         * LyXView.C:
11745         * Makefile.am:
11746         * UpdateList.h:
11747         * UpdateList.C:
11748         * buffer.C:
11749         * figure.h:
11750         * figureForm.C:
11751         * figureForm.h:
11752         * figure_form.C:
11753         * figure_form.h:
11754         * lyx_cb.C:
11755         * lyx_gui.C:
11756         * lyx_gui_misc.C:
11757         * lyxfunc.C:
11758         * sp_base.h:
11759         * sp_ispell.h:
11760         * sp_pspell.h:
11761         * sp_spell.C: remove fig inset, and the crap house of
11762           cards that follows it
11763
11764 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11765
11766         * Makefile.am:
11767         * lyxserver.C:
11768         * os2_defines.h:
11769         * os2_errortable.h:
11770         * nt_defines.h: move .h into support/
11771
11772         * vms_defines.h: remove
11773
11774         * WorkArea.C: add space in debug output
11775
11776         * text2.C:
11777         * paragraph.C:
11778         * buffer.C: add WITH_WARNINGS
11779
11780         * vc-backend.h:
11781         * vc-backend.C:
11782         * bufferlist.C: s/retrive/retrieve/, add docs
11783
11784         * vspace.h:
11785         * vspace.C:
11786         * kbmap.h:
11787         * lyxlength.h:
11788         * lyxgluelength.h:
11789         * length_common.h:
11790         * chset.h:
11791         * chset.C: add docs
11792
11793         * lyxgui.C: add ID to X error handler
11794
11795         * lyxtestclass.c: fix typo
11796
11797 2002-02-26  Juergen Vigna  <jug@sad.it>
11798
11799         * tabular_funcs.C (write_attribute): changed so that some default
11800         attributes are not written at all.
11801         (getTokenValue): set default values before trying to read the
11802         value so we have the return value always set as default if we don't
11803         find the token we search for.
11804
11805         * tabular.C (Write): write bools as bools not as strings!
11806
11807 2002-02-22  Juergen Vigna  <jug@sad.it>
11808
11809         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11810         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11811
11812         * text.C (leftMargin): don't add an indent for paragraphs inside
11813         tabular cells (fix #208).
11814
11815 2002-02-21  José Matos  <jamatos@fep.up.pt>
11816
11817         * tabular.C (docBook): fixed support for long tables.
11818
11819 2002-02-20  Juergen Vigna  <jug@sad.it>
11820
11821         * text2.C (getFont): get the drawing font of the Inset if this
11822         paragraph is inside an inset (only important for InsetERT for now).
11823
11824         * buffer.C (insertErtContents): use new lanugage params in ERT
11825         constructor.
11826
11827         * CutAndPaste.C: commenting out seemingly uneeded code.
11828
11829 2002-02-19  Allan Rae  <rae@lyx.org>
11830
11831         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11832         Iterators might be simple to use but they also get invalidated.
11833         (removeAutoInsets): renamed saved cursor tracking variables and added
11834         some comments to clarify what everything does.
11835
11836 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
11837
11838         * Chktex.C:
11839         * LaTeX.C:
11840         * LyXSendto.C:
11841         * converter.C:
11842         * lyx_cb.C:
11843         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11844         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11845
11846         * lyxfunc.C:
11847         * vc-backend.h: remove #include "support/syscall.h"
11848
11849         * LaTeX.C:
11850         * LyXSendto.C:
11851         * converter.C: rearrange #includes in Lars' approved fashion.
11852
11853         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11854         forward declare class Timeout in the header file.
11855
11856         * XFormsView.C: changes due to the above.
11857
11858         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11859         similar to LyXView.
11860
11861         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11862         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11863
11864 2002-02-18  José Matos  <jamatos@fep.up.pt>
11865
11866         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11867         insets contents.
11868
11869 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
11870
11871         * a lot of small ws changes
11872         * add a lot of using std::XXX
11873         * use std construcs some places where approp.
11874         * use some exisint stuff from lyxfunctional where approp.
11875         * Make file changes to use partial linking (lets test this now...)
11876
11877 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11878
11879         * Chktex.C:
11880         * buffer.C:
11881         remove #include "support/syscontr.h" as it's redundant. Always has been.
11882
11883         * Chktex.C:
11884         * LaTeX.C:
11885         * LyXSendto.C:
11886         * converter.C:
11887         * lyx_cb.C:
11888         * vc-backend.C:
11889         change Systemcalls::System to Systemcalls::Wait and
11890         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11891         No change of functionality, just reflects the stripped down Systemcalls
11892         class.
11893
11894 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11895
11896         * debug.[Ch]: add a GRAPHICS type to the enum.
11897
11898 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11899
11900         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11901
11902         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11903         there is an inset.
11904
11905 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11906
11907         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11908         match the changes below.
11909
11910         * text2.C (toggleInset): if there is not editable inset at cursor
11911         position, try to see if cursor is _inside_ a collapsable inset
11912         and close it.
11913
11914 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11915
11916         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11917         document menu has a nice checkbox
11918
11919 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11920
11921         * lyxlength.C (asLatexString): change PW to output as percent of
11922         \textwidth.
11923
11924         * lengthcommon.C: change '%' to 't%'
11925
11926         * lyxfunc.C (dispatch): a few comments from Martin
11927
11928 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
11929
11930         * WorkArea.h:
11931         * WorkArea.C:
11932         * BufferView_pimpl.h:
11933         * BufferView_pimpl.C: clear our selection when X tells us we've lost
11934           the X selection.
11935
11936 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11937
11938         * vspace.C (inPixels): fix compiler warning
11939
11940 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11941
11942         * lyxfunc.C (getStatus): fix status message for disabled commands.
11943
11944 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
11945
11946         * BufferView_pimpl.C: fix crash on close buffer
11947         during selection (#227)
11948
11949 2002-01-27  Herbert Voss  <voss@lyx.org>
11950
11951         * buffer.C: link old Figure to new graphic inset
11952
11953 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
11954
11955         * FontLoader.C (getFontinfo): Change the latex font names in order
11956         to match the names of type1inst.
11957
11958 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11959
11960         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11961
11962         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11963         (extchanged): ditto
11964         (ext_exist): ditto
11965         (remove_files_with_extension): ditto
11966         (remove_file): ditto
11967         (write): ditto
11968
11969         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11970         document is smaller than the work area height. Do not initialize
11971         static variables to 0.
11972
11973 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11974
11975         * lyx_gui.C (init): give the toolbar tooltips a normal font.
11976
11977         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11978         LFUN_LAYOUT_PARAGRAPHS.
11979
11980         * tabular.C (GetCellFromInset): new method. Finds an inset in a
11981         tabular. It is possible to provide a possible cell, which will
11982         typically be the actcell from the corresponding insettabular
11983
11984         * lyxfunc.C (getStatus): small cleanup; disable
11985         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11986         true
11987
11988 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11989
11990         * tabular.C (Validate): remove broken optimization (fixes bug #201)
11991
11992         * paragraph.C (startTeXParParams):
11993         (endTeXParParams): new methods. The LaTeX code to
11994         start/end paragraph formatting
11995         (simpleTeXOnePar): call startTeXParParams also when paragraph is
11996         empty (fixes bug #200)
11997
11998         * vspace.C (inPixels): adapt to the change below
11999         (inPixels): [later] more cleanups (remove unused variables)
12000
12001         * lyxlength.C (inPixels): change to use a width and a height as
12002         parameter.
12003
12004 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12005
12006         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12007         Replaced with \paperwidth
12008
12009         * DepTable.C (insert): add std:: qualifier
12010
12011 2002-01-18  Allan Rae  <rae@lyx.org>
12012
12013         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
12014         updated also?
12015
12016         * text.C (drawInset): Turned out I didn't know enough about how
12017         rebreaking worked.  This fixes most of the redraw problems.  I see
12018         an occasional cursor trail when a line is broken now and the cursor
12019         placement can seem out by a few pixels also after a rebreak.
12020
12021 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12022
12023         * buffer.C (parseSingleLyXformat2Token): update because minipage
12024         width is now a LyXLength
12025
12026         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12027
12028         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12029         math insets
12030
12031 2002-01-17  Juergen Vigna  <jug@sad.it>
12032
12033         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12034
12035         * BufferView2.C (lockInset): call edit() so that theLockingInset()
12036         is set correctly and the inset is updated correctly.
12037
12038 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12039
12040         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12041         the beginning of the loop.
12042
12043 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
12044
12045         * lyxrc.C: improve help for use_scalable_fonts
12046
12047 2002-01-17  Allan Rae  <rae@lyx.org>
12048
12049         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12050
12051 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12052
12053         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12054         make sure to set their inset_owner to the right value (bug #171)
12055
12056 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
12057
12058         * DepTable.h
12059         * DepTable.C: Implement mtime checking to reduce time spent doing
12060         CRCs.
12061
12062 2002-01-16  Juergen Vigna  <jug@sad.it>
12063
12064         * tabular.C (GetAdditionalHeight): one of error fixed.
12065
12066         * lyxrc.C (output): small fix in writing use_pspell.
12067
12068 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
12069
12070         * sp_base.h: #include LString.h
12071
12072 2002-01-16  Allan Rae  <rae@lyx.org>
12073
12074         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
12075         Can someone check this please?
12076
12077         * text.C (drawInset): It was possible that p.row would be removed by
12078         breakAgainOneRow upsetting a few other settings.  There may be another
12079         small tweak possible by setting need_break_row = 0 when p.row has been
12080         removed but I don't know enough about the logic here.
12081
12082 2002-01-15  Allan Rae  <rae@lyx.org>
12083
12084         * text.C (insertChar): removed conditional truism.
12085
12086         * BufferView2.C (removeAutoInsets): More tweaks.
12087         cur_par_prev could be a stray pointer.  Check for trailing empty line
12088         in case last line was cur_par and only had an error inset on it.
12089
12090 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12091
12092         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12093         absolute
12094
12095         * vc-backend.C (most methods):
12096         * exporter.C (Export):
12097         * converter.C (convert):
12098         (runLaTeX):
12099         * LyXSendto.C (SendtoApplyCB):
12100         * lyxfunc.C (dispatch):
12101         (menuNew):
12102         (open):
12103         (doImport):
12104         * lyx_cb.C (AutoSave):
12105         (InsertAsciiFile):
12106         * BufferView_pimpl.C (MenuInsertLyXFile):
12107         * buffer.C (runChktex): use Buffer::filePath().
12108
12109         * buffer.h: rename filename to filename_; rename filepath to
12110         filepath_ and make it private
12111         (filePath): new method
12112
12113         * buffer.C (writeFile): use fileName()
12114         (getLatexName):
12115
12116         * lyx_main.C (init): fix starting  of LyX when the binary is a
12117         link from so,ewhere else.
12118
12119         * minibuffer.C: include <cctype> for isprint
12120
12121 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12122
12123         * buffer.C (parseSingleLyXformat2Token): changes associated with the
12124         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12125         name clash with InsetCollapsable's width function.
12126
12127 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12128
12129         * lastfiles.C: include <iterator>
12130
12131 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12132
12133         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12134         std::count.
12135
12136         * buffer.C (makeLaTeXFile): ditto.
12137         Also make loop operation more transparent.
12138
12139 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12140
12141         * ToolbarDefaults.C: remove trailing comma closing namespace.
12142
12143         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12144
12145         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12146         as in WorkArea.
12147
12148         * trans.C (Load): comment out unused variable, allowed.
12149
12150 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12151
12152         * minibuffer.[Ch] (append_char): new method to recieve input from the
12153         drop-down completion browser. If a key was pressed, then recieve this
12154         char and append it to the existing string.
12155         (peek_event): modify the positioning data passed to the completion
12156         browser so that it can be placed above the minibuffer rather than below.
12157 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12158
12159         * LyXAction.C (init): alloe error-next for readonly documents.
12160
12161         * BufferView2.C (ChangeRefsIfUnique): use standard version of
12162         count.
12163
12164 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12165
12166         * bufferlist.C (readFile): create the buffer _after_ checking that
12167         the file exists.
12168
12169         * lyxfunc.C (verboseDispatch): fix handling of arguments
12170
12171         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12172
12173         * lyxrc.C: use string::erase() instead of initializing to "".
12174
12175
12176 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12177
12178         * BufferView_pimpl.h:
12179         * BufferView_pimpl.C:
12180         * WorkArea.h:
12181         * WorkArea.C:
12182         * text2.C: tell X when we have made a selection for copying
12183
12184 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12185
12186         * BufferView_pimpl.C (MenuInsertLyXFile):
12187         * lyxfunc.C (menuNew):
12188         (open):
12189         (doImport): add shortcuts to directory buttons
12190
12191         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12192         open a float)
12193
12194         * lyxfunc.C (setStatusMessage):
12195         (getStatusMessage): new methods
12196         (getStatus):use setStatusMessage instead of setErrorMessage
12197         (dispatch): when function is disabled, set error message here
12198         [instead of in getStatus previously]
12199
12200         * BufferView_pimpl.C (workAreaButtonRelease): update
12201         toolbar/menubar here too.
12202
12203 2002-01-13  Allan Rae  <rae@lyx.org>
12204
12205         * BufferView2.C (removeAutoInsets): finished off earlier fix.
12206         Now seems indestructible.  Remaining task is to audit all other
12207         code affected by deleteEmptyParagraphMechanism.  One small quirk
12208         left is that an empty document with an error in the preamble can
12209         be made to report an error but no error box appears.  I don't know
12210         where it goes.
12211         (removeAutoInsets): Improved comments.
12212
12213 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
12214
12215         * Thesaurus.h:
12216         * Thesaurus.C: update for Aiksaurus 0.14
12217
12218 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12219
12220         * text2.C (firstParagraph): removed member function, all uses
12221         replaces with ownerParagraph
12222         (redoParagraphs): here
12223         (updateInset): here
12224         (toggleAppendix): here
12225         * BufferView2.C (insertErrors): here
12226         (setCursorFromRow): here
12227
12228 2002-01-13  Allan Rae  <rae@lyx.org>
12229
12230         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12231         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12232         There is still a way to segfault this although you may have to do this
12233         multiple times: Have an InsetERT with an unknown command in it.
12234         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12235         <down-arrow>, <Enter> again, View->DVI, BANG!
12236
12237         * text2.C (setCursor):
12238         (deleteEmptyParagraphMechanism):
12239         * lyxtext.h (setCursor):
12240         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12241         Making use of the return value may help fix other bugs.
12242
12243 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12244
12245         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12246
12247         * LyXView.C (updateMenubar): call MenuBar::update here
12248         (updateToolbar): but not here
12249         (showState): do not update toolbar/menubar
12250
12251         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12252         should need to care about that.
12253
12254         * lyxfunc.C (verboseDispatch): simplify a bit
12255         (getStatus): have a version which takes a pseudoaction, and
12256         another which requires a (kb_action,string).
12257
12258         * LyXAction.C (retrieveActionArg): make it work also when action
12259         is not a pseudo-action.
12260         (getActionName): simplify a bit
12261         (helpText):
12262
12263 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12264
12265         * lyxfunc.C (verboseDispatch): new families of methods with
12266         several ways to specify a command and a bool to indicate whether
12267         the command name and shortcut should be displayed in minibuffer
12268         (eventually, we could extend that to a finer bitmask like
12269         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12270         (dispatch): the pristine dispatch command which just, well,
12271         dispatchs! Note it still sets its result to minibuffer; I'm not
12272         sure we want that.
12273
12274         * lyxfunc.h: remove setHintMessage
12275
12276         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12277
12278 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12279
12280         * BufferView_pimpl.C (specialChar): delete new inset if we have
12281         not been able to insert it.
12282
12283         * kbmap.C: revert to using int instead of kb_action, since all we
12284         are dealing with is pseudo-actions.
12285
12286         * LyXAction.C (searchActionArg): change to return int instead of
12287         kb_action, since the result is a pseudoaction.
12288
12289 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
12290
12291         * buffer.C (insertErtContents): Fix (partially) the font bug.
12292
12293 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12294
12295         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12296         as the other one is broken on my machine!
12297
12298 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
12299
12300         * commandtags.h:
12301         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12302
12303 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
12304
12305         * lyxrc.[Ch]: change names and descriptions of popup font variables to
12306         reflect their actual use. Provide compatibility code for older lyxrc
12307         files.
12308
12309         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12310         FL_NORMAL_STYLE.
12311         change names of popup font variables in line with the changes to lyxrc.C
12312
12313 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12314
12315         * buffer.C (asciiParagraph): avoid outputing a word twice after
12316         an inset.
12317
12318         * lyxrc.C (getDescription): document that document_path and
12319         template_path can be empty.
12320
12321 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12322
12323         * LaTeXFeatures.C (getMacros):
12324         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12325
12326         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12327
12328         * LaTeXFeatures.C (useFloat): require "float" here instead of in
12329         getPackages.
12330         (getPackages): rename feature "floats" to "float". Use an array to
12331         iterate over 'simple' features (i.e. just a \usepackage). Add
12332         handling of "amsmath" (renamed from "amsstyle").
12333
12334 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
12335
12336         * LaTeXFeatures.C (require): Prevent duplicate entries in the
12337         features list.
12338
12339 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
12340
12341         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12342         FuncStaus::FuncStatus & FuncStaus::some_method().
12343
12344 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
12345
12346         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12347         of the func_satus stuff. Edited and massaged in various ways by
12348         JMarc.
12349
12350         * lyxfunc.C (getStatus): use FuncStatus
12351
12352 2002-01-08  Juergen Vigna  <jug@sad.it>
12353
12354         * text.C (nextBreakPoint): use function Inset::isChar().
12355
12356         * paragraph.C (TeXOnePar): use function
12357         Inset::forceDefaultParagraphs.
12358
12359         * buffer.C (latexParagraphs): use function
12360         Inset::forceDefaultParagraphs.
12361
12362 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12363
12364         * lyx_gui.C (init): set the style of the menu popups to
12365         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12366
12367 2002-01-07  Juergen Vigna  <jug@sad.it>
12368
12369         * text.C (setHeightOfRow): small fix
12370         (prepareToPrint): don't look at alignment if we don't have the place
12371         for doing it.
12372
12373 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12374
12375         * box.C: New file. Move the Box methods and functions out of box.h,
12376         following Lars' suggestion.
12377
12378 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12379
12380         * box.h: #include "support/LOstream.h", needed for inlined function.
12381
12382         * lyxtextclass.C:
12383         * lyxtextclasslist.C: added some using std declarations.
12384
12385 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
12386
12387         * box.h: make signed dimensions to allow insets wider than
12388           the screen (bug #162)
12389
12390         * BufferView_pimpl.C: add some insetHit debug
12391
12392 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
12393
12394         * vc-backend.C: add FIXME
12395
12396 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12397
12398         * lyxfunc.C (getStatus): enable code for showing math font status
12399         in toolbar/menu.
12400
12401 2002-01-07  Juergen Vigna  <jug@sad.it>
12402
12403         * text.C (nextBreakPoint): removed debug output not needed anymore.
12404
12405 2002-01-06  Juergen Vigna  <jug@sad.it>
12406
12407         * text.C (nextBreakPoint): fixed up this function we had this bug
12408         since ever but now hopefully we break row better.
12409         (insertChar): we have to check if an inset is the next char as it
12410         could now happen that a large inset is causing a break.
12411
12412 2002-01-05  Juergen Vigna  <jug@sad.it>
12413
12414         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12415         if it doesn't like to be drawed.
12416
12417 2002-01-04  Juergen Vigna  <jug@sad.it>
12418
12419         * BufferView2.C (lockInset): forgot to set a cursor.
12420
12421         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12422
12423 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
12424
12425         * FormMathsPanel.C:
12426         * FormMathsPanel.h
12427         * MathsSymbols.C:
12428         * form_maths_panel.C:
12429         * form_maths_panel.h:
12430         * form_maths_panel.fd: implemented sub- and super- buttons in math
12431         panel.
12432
12433         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12434         (or ^ space) to be used as in TeX (req'd by André).
12435
12436         * lyxfunc.C: Allow ^ and _ again to be used both as
12437         super/subscript (mathed) and as themselves (in text).
12438
12439 2002-01-03  Allan Rae  <rae@lyx.org>
12440
12441         * LyXView.C (updateWindowTitle): Setup a short icon title of either
12442         "LyX" or the filename of the current buffer if it has one.  This is a
12443         modified form of John Levon's patch.
12444
12445         * XFormsView.C (setWindowTitle): also set icon title.
12446
12447         * LyXView.h (setWindowTitle): signature changed.
12448         * XFormsView.h (setWindowTitle): ditto.
12449
12450 2002-01-02  Juergen Vigna  <jug@sad.it>
12451
12452         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12453
12454 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12455
12456         * screen.C (topCursorVisible): introduce a temp var for
12457         text->cursor.row(), handle the case where this row is null. (kindo
12458         hachish)
12459
12460         * text2.C (setCursor): add a couple of asserts.
12461
12462         * paragraph.h (inset_iterator): add -> operator
12463
12464         * paragraph.[Ch] (autoDeleteInsets): remove member function
12465
12466         * BufferView2.C (removeAutoInsets): rewrite to handle the old
12467         cursor pos correctly and handle inset deletion by itself.
12468         (insertErrors): move iterator declaration out of for expression
12469
12470         * lyxtextclass.C: add <algorithm>
12471
12472         * Makefile.am: added the new files to sources, removed layout.C
12473
12474         * layout.C: removed file
12475
12476         * layout.h: remove LYX_DUMMY_LAYOUT
12477
12478         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12479         layout.
12480
12481         * lyxlayout.[Ch]:
12482         * lyxtextclass.[Ch]:
12483         * lyxtextclasslist.[Ch]: new files
12484
12485         * include order changes to a lot of files, also changes because of
12486         the six new files.
12487
12488 2001-12-27  Juergen Vigna  <jug@sad.it>
12489
12490         * buffer.C (asciiParagraph): more fixes.
12491
12492         * tabular.C (ascii): make ascii export support export of only the
12493         data separated by a column-delimiter.
12494         (ascii): better support for ascii export.
12495
12496         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12497
12498 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12499
12500         * tabular_funcs.C: use a "using std::getline" instead of the
12501         previous fix from Angus (necessary for cxx + lyxstring)
12502
12503 2001-12-24  Juergen Vigna  <jug@sad.it>
12504
12505         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12506
12507         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12508         problems. First check a minipage also if we have some ert-contents
12509         (not only on par->size(), second set the right depth of the paragraph
12510         on the relink to the root-paragraph-list!
12511
12512         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12513         which then did not anymore update the main paragraphs on undo/redo!
12514
12515 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12516
12517         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12518         code. Support all font-changing funcs (even those which are not in
12519         menu currently). Support for reporting font settings in
12520         mathed (disabled until Andre provides a function on mathed's side).
12521
12522         * func_status.h (toggle): small helper function to set toggle
12523         state on a flag.
12524
12525 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
12526
12527         * tabular_funcs.C: getline -> std::getline
12528
12529 2001-12-21  Juergen Vigna  <jug@sad.it>
12530
12531         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12532         accessed and could be 0 (I couldn't generate this but it seems
12533         Michael could!).
12534
12535 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12536
12537         * tabular_funcs.C: add LIstream.h, move write_attribute to..
12538         * tabular_funcs.h: here and include iosfwd
12539
12540 2001-12-20  Juergen Vigna  <jug@sad.it>
12541
12542         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12543         inside inset but undo_par was.
12544
12545 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12546
12547         * Thesaurus.C: always include <config.h> in sources.
12548
12549         * Painter.h:
12550         * lyxlookup.h:
12551         * box.h: do not include <config.h> in header files
12552
12553         * text.C (paintLastRow): remove unused variable
12554
12555         * text.C (transformChar):
12556         (insertChar):
12557         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12558
12559         * Painter.C (text):
12560         * font.C (width): rewrite to use uppercase() instead of
12561         islower/toupper.
12562
12563         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12564
12565 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
12566
12567         * lyxfind.C: clean up of find failure position change
12568
12569 2001-12-20  Juergen Vigna  <jug@sad.it>
12570
12571         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12572
12573         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12574         (TeXRow): added to LaTeX a single tabular row.
12575         (TeXLongtableHeaderFooter): added to output LT-h/f data.
12576         (Latex): simplified and finally good LT-h/f support.
12577         (various_functions): just small adaptions for LT-h/f support.
12578
12579         * tabular_funcs.[hC]: added and moved here all not classfunctions
12580         of LyXTabular.
12581
12582 2001-12-19  Juergen Vigna  <jug@sad.it>
12583
12584         * tabular.[Ch]: better support for longtabular options (not finished
12585         yet!)
12586
12587 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12588
12589         * text.C (paintLastRow): use the label font instead of the font of
12590         the last character to compute the size of *_BOX. This makes more
12591         sense and avoids a crash with empty paragraphs.
12592         Use Painter::rectangle to draw EMPTY_BOX.
12593
12594 2001-12-19  Juergen Vigna  <jug@sad.it>
12595
12596         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12597         the paragraphs if the replaced paragraph is not the first one!
12598         Tried to delete not used paragraphs but does not work yet so for
12599         now it's inside #ifdef's and by default off!
12600
12601 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12602
12603         * MenuBackend.C: include "lyx_main.h" instead of declaring
12604         lastfiles (actually was declared as LastFiles* instead of a
12605         scoped_ptr).
12606
12607 2001-12-17  Juergen Vigna  <jug@sad.it>
12608
12609         * tabular.C (AppendColumn): applied John's fix
12610
12611 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
12612
12613         * BufferView.h:
12614         * BufferView.C:
12615         * BufferView_pimpl.h:
12616         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12617
12618         * Makefile.am:
12619         * box.h: new start of class for above
12620
12621         * lyxfunc.C: ignore space-only minibuffer dispatches.
12622           Show the command name when it doesn't exist
12623
12624         * minibuffer.C: don't add empty lines to the history
12625
12626         * minibuffer.C: add a space on dropdown completion
12627
12628 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
12629
12630         * text.C: fix line above/below drawing in insets
12631
12632 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12633
12634         * lyxlength.C (LyXLength): Initialize private variables.
12635
12636 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
12637
12638         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12639         when inserting error insets.
12640
12641 2001-12-13  Juergen Vigna  <jug@sad.it>
12642
12643         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12644         actually sometimes the before-paragraph.
12645         (setUndo): don't clear the redostack if we're not actually undoing!
12646
12647 2001-12-06  Juergen Vigna  <jug@sad.it>
12648
12649         * undo_funcs.C (textHandleUndo): well after John's hint I got here
12650         and fixed redoing of main paragraph, so we can use it now ;)
12651
12652         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12653
12654 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12655
12656         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12657         Juergen's request
12658
12659 2001-12-13  André Pönitz <poenitz@gmx.net>
12660
12661         * undostack.[Ch]:
12662         * undo_func.C: minor cleanup
12663
12664 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12665
12666         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12667         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12668         font in urw-fonts package which is marked as -urw-fontspecific and
12669         does not work (incidentally, changing the encoding in the
12670         fonts.dir of this package to -adobe-fontspecific fixes the
12671         problem).
12672
12673         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12674         is a crash when undoing first paragraph (Juergen, please take a
12675         look). THis does not mean the undo fix is wrong, just that it
12676         uncovers problems.
12677
12678         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12679         the (Paragraph*) version when needed instead of duplicating the
12680         code.
12681
12682         * text.C (workWidth): use Inset::parOwner to find out where the
12683         inset has been inserted. This is a huge performance gain for large
12684         documents with lots of insets. If Inset::parOwner is not set, fall
12685         back on the brute force method
12686
12687         * paragraph_pimpl.C (insertInset):
12688         * paragraph.C (Paragraph):
12689         (cutIntoMinibuffer): set parOwner of insets when
12690         inserting/removing them
12691
12692         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12693
12694 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
12695
12696         * commandtags.h:
12697         * LyXAction.C:
12698         * lyx_main.C:
12699         * lyxfunc.C:
12700         * mathed/formulabase.C:
12701         * mathed/math_cursor.[Ch]:
12702         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12703
12704
12705 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12706
12707         * lyxlength.[Ch] (operator!=): new function
12708
12709 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12710
12711         * text.C (workWidth): use Inset::parOwner to find out where the
12712         inset has been inserted. This is a huge performance gain for large
12713         documents with lots of insets. If Inset::parOwner is not set, fall
12714         back on the brute force method
12715
12716         * paragraph_pimpl.C (insertInset):
12717         * paragraph.C (Paragraph):
12718         (cutIntoMinibuffer): set parOwner of insets when
12719         inserting/removing them
12720
12721         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12722
12723 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12724
12725         * tabular-old.C (getTokenValue):
12726         * tabular.C (getTokenValue):
12727         (write_attribute): new versions for LyXLength
12728         (everywhere): adjust the use of widths
12729
12730         * tabular.h: change the type of widths from string to LyXLength
12731
12732 2001-12-11  Ben Stanley <bds02@uow.edu.au>
12733
12734         * paragraph.C: fixed missing line number count when exporting
12735         Environments to LaTeX file
12736
12737         * buffer.C: added informational message for checking line numbers.
12738
12739 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12740
12741         * text2.C (deleteEmptyParagraphMechanism): if there is only one
12742         paragraph, do the 'double space' part, but not the 'empty
12743         paragraph' one.
12744
12745         * text.C (workWidth): small optimization
12746         (getLengthMarkerHeight): use minimal size for negative lengths.
12747
12748 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
12749
12750         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12751
12752         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12753
12754 2001-12-11  André Pönitz <poenitz@gmx.net>
12755
12756         * FontLoader.C:
12757         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12758
12759 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12760
12761         * text2.C: keep selection on a setFont()
12762
12763 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12764
12765         * lyx_cb.C: another bv->text misuse, from insert label
12766
12767 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12768
12769         * kbsequence.h:
12770         * kbsequence.C: re-instate nmodifier mask
12771
12772 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
12773
12774         * lyx_main.h: make lyxGUI private.
12775
12776 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12777
12778         * lyxfind.C: place the cursor correctly on failed search
12779
12780 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12781
12782         * text.C (getLengthMarkerHeight): for small heights, the arrows
12783         are not always on top/bottom of the text
12784         (drawLengthMarker): smaller arrows; take the left margin in
12785         account; draw also vfills.
12786         (paintFirstRow):
12787         (paintLastRow): remove special code for vfill and standard spaces,
12788         since everything is handled in drawLengthMarker now.
12789
12790 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12791
12792         * buffer.C (insertErtContents): try to handle font and language
12793         interaction a bit better.g
12794
12795         * ColorHandler.C (updateColor): change the hash to cover the whole
12796         LColor enum, ws cleanup
12797         (getGCLinepars): ditto
12798         (getGCLinepars): only lookup in the linecache once.
12799
12800 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
12801
12802         * iterators.C (operator++): Make the iterator more robust
12803
12804         * BufferView2.C (removeAutoInsets): Use paragraph iterators
12805         (John's patch)
12806         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12807
12808 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12809
12810         * lyxtext.h:
12811         * text.C: better added space drawing
12812
12813 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12814
12815         * LyXView.C:
12816         * BufferView2.C: fix layout combo update on inset unlock
12817
12818 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12819
12820         * Makefile.am: don't compile unused files
12821
12822 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12823
12824         * lyxfunc.C:
12825         * commandtags.h:
12826         * LyXAction.C: remove old LFUN_LAYOUTNO
12827
12828 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12829
12830         * paragraph_pimpl.h:
12831         * paragraph_pimpl.C: isTextAt() doesn't need font param
12832
12833 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12834
12835         * lyxlex.h:
12836         * lyxlex.C: little cleanup
12837
12838 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12839
12840         * BufferView_pimpl.C: fix insertAscii for insets
12841
12842 2001-12-05  Juergen Vigna  <jug@sad.it>
12843
12844         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12845         set the right font on the "multi" paragraph paste!
12846
12847 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12848
12849         * trans_decl.h:
12850         * trans_mgr.[Ch]:
12851         * trans.[Ch]:
12852         * lyxgluelength.C:
12853         * lyxlength.C: remove out-commented code.
12854
12855         * BufferView_pimpl:
12856         * CutAndPaste.C:
12857         * DepTable.C:
12858         * buffer.C:
12859         * chset.C:
12860         * lastfiles.C:
12861         * lyxlex.C:
12862         * lyxlex_pimpl.C:
12863         * lyxserver.C:
12864         * screen.C:
12865         * tabular-old.C:
12866         * tabular.C:
12867         * text.C:
12868         * trans_mgr.C:
12869         * vc-backend.C: change "while(" to "while ("
12870
12871         * lyxlength.[Ch]: add zero function to check if length is zero or
12872         not
12873         * lyxgluelength.C: use it
12874
12875 2001-12-05  Allan Rae  <rae@lyx.org>
12876
12877         * lyxlength.C: Attempted a fix for the abs(int) header selection.
12878         Works for 2.95.3, from what I understand of Garst's reports this should
12879         work for other g++ versions.  We're screwed if the abs(int) definition
12880         changed between bugfix releases of gcc.
12881
12882 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12883
12884         * text.C: fix chapter label offset !
12885
12886 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12887
12888         * lyxtext.h:
12889         * text.C: fix hfill at end of line, clean up
12890
12891 2001-12-04  Juergen Vigna  <jug@sad.it>
12892
12893         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12894         that we force an update of the inset and it's owners if neccessary.
12895
12896 2001-12-03  Juergen Vigna  <jug@sad.it>
12897
12898         * text.C (rowLast): simplified code
12899
12900 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12901
12902         * lyxfunc.C: fix show options on timeout
12903
12904 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12905
12906         * screen.C (topCursorVisible): scroll half a page when the cursor
12907         reached top of bottom of screen
12908
12909 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
12910
12911         * minibuffer.C: deactivate on loss of focus
12912
12913 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12914
12915         * vspace.[Ch] (operator!=): add operator.
12916
12917 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
12918
12919         * BufferView_pimpl.C: refuse to open an inset when
12920         there's a selection.
12921
12922 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
12923
12924         * BufferView_pimpl.C: allow to click on RHS of full row insets
12925
12926 2001-11-30  Juergen Vigna  <jug@sad.it>
12927
12928         * tabular.C (LyXTabular): add a same_id to set the same id's in the
12929         insets for undo reasons.
12930
12931 2001-11-28  André Pönitz <poenitz@gmx.net>
12932
12933         * vspace.[Ch]: cosmetical changes
12934
12935 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12936
12937         * LyXAction.h:
12938         * LyXAction.C:
12939         * lyxfunc.h:
12940         * lyxfunc.C:
12941         * kbmap.h:
12942         * kbmap.C:
12943         * lyxrc.C:
12944         * kbsequence.h:
12945         * kbsequence.C: part re-write of old kb code
12946
12947         * Painter.C:
12948         * WorkArea.C: remove Lgb_bug_find_hack
12949
12950 2001-11-30  José Matos <jamatos@fep.up.pt>
12951
12952         * buffer.C (makeDocBookFile): add a comment to point a hack.
12953         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12954         Fixed a double write of labels.
12955
12956 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12957
12958         * LaTeX.C:
12959         * LaTeX.h Fixed bug in LaTeX class where it would not
12960         re-run latex if no depfiles were changed, but the .dvi was removed.
12961
12962 2001-11-28  André Pönitz <poenitz@gmx.net>
12963
12964         * all the files from the change on 2001/11/26:
12965         use lyx::layout_type instead of LyXTextClass::size_type
12966         use lyx::textclass_type instead of LyXTextClassList::size_type
12967
12968 2001-11-29  Juergen Vigna  <jug@sad.it>
12969
12970         * text.C: added support for paragraph::isFreeSpacing()
12971
12972         * buffer.C: same as above
12973
12974         * paragraph.h: inserted isFreeSpacing() function to enable
12975         FreeSpacing inside InsetERT.
12976
12977         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12978         of the paragraph's in the cut/copy buffer to 0!
12979
12980         * text2.C (removeRow): remove the assert as it can!
12981
12982         * lyxtext.h: added helper function firstRow returning firstrow and
12983         made firstrow private again.
12984
12985         * BufferView2.C (lockInset): don't relock if we're already locked!
12986
12987         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12988         the only paragraph.
12989         (removeRow): added Assert::(firstrow)
12990
12991         * debug.C: forgot to add INSETTEXT here.
12992
12993 2001-11-28  Juergen Vigna  <jug@sad.it>
12994
12995         * sp_spell.C (initialize): changed error text to more general
12996         spellchecker command use (not only ispell!)
12997
12998         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12999
13000         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13001
13002 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13003
13004         * vspace.C: initialise lyxgluelength on failure
13005
13006 2001-11-28  Allan Rae  <rae@lyx.org>
13007
13008         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13009         declaration & definition that looks like a function declaration.
13010
13011 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13012
13013         * BufferView2.C (copy):
13014         (copyEnvironment): do not clear the selection when doing a copy.
13015
13016         * text.C (paintFirstRow): compilation fix
13017
13018 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
13019
13020         * tabular.C (Latex): correct line count when writing latex.
13021
13022 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
13023
13024         * paragraph_pimpl.h:
13025         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13026           bug a bit
13027
13028 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13029
13030         * text.C:
13031         * LColor.h:
13032         * LColor.C: change vfillline->added_space
13033
13034         * text.C: add markers and text for added space
13035
13036         * vspace.C: fix comment
13037
13038 2001-11-28  André Pönitz <poenitz@gmx.net>
13039
13040         * paragraph.C: whitespace changes
13041         * all the other files from the change on 2001/11/26:
13042         change *::pos_type into lyx::pos_type
13043
13044 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
13045
13046         * buffer.C (parseSingleLyXformat2Token): Set the language to the
13047         language of the document when inserting error insets.
13048
13049 2001-11-26  André Pönitz <poenitz@gmx.net>
13050
13051         * BufferView_pimpl.[Ch]:
13052         *       CutAndPaste.C:
13053         * buffer.[Ch]:
13054         * lyxcursor.[Ch]:
13055         * lyxfind.C:
13056         * lyxfunc.C:
13057         * lyxrow.[Ch]:
13058         * paragraph.[Ch]:
13059         * paragraph_pimpl.[Ch]:
13060         * sp_spell.C:
13061         * text.C:
13062         * text2.C: reduce header dependencies, introduce type for positions
13063
13064 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13065
13066         * <various>: change to use Alert.h
13067
13068 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
13069
13070         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13071         when encountering an unknown token.
13072         (readLyXformat2): Show an error message if there were unknown tokens.
13073
13074 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
13075
13076         * BufferView2.C:
13077         * BufferView_pimpl.C:
13078         * buffer.C:
13079         * paragraph.h:
13080         * text.C:
13081         * text2.C: use par->isInset()
13082
13083 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13084
13085         * paragraph_pimpl.h:
13086         * paragraph_pimpl.C: cleanup
13087
13088 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13089
13090         * text2.C (removeRow):
13091         * text.C (setHeightOfRow): remove useless (and costly) call to
13092         getRow.
13093
13094 2001-11-20  Allan Rae  <rae@lyx.org>
13095
13096         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13097         Now need Inset*::checkInsertChar() to return true for appropriate
13098         cases so that the characters in the minibuffer will actually be
13099         inserted.
13100
13101 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13102
13103         * text.C: change the order of the includes.
13104         (workWidth): initialize it at once.
13105         (workWidth): make maxw unsigned
13106         (setHeightOfRow): remove unused variable (inset)
13107         (selectSelectedWord): remove unused variable (inset)
13108         (paintRowText): fix drawing of hfill characters, and clean up a bit.
13109
13110 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13111
13112         * lyxserver.C (emergencyCleanup): do not try to close pipes if
13113         server is not running.
13114         (openConnection):
13115         (closeConnection): add debug info when server is disabled.
13116
13117         * ColorHandler.C (getGCForeground): send debug message to GUI
13118         channel.
13119
13120         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13121
13122         * kbmap.C (bind): modify because return conventions of
13123         kb_sequence::parse have changed.
13124
13125         * kbsequence.C (parse): only ignore spaces and not any stupid
13126         control character. This avoids tests like s[i] <= ' ', which are
13127         guaranteed to fail with 8bit characters and signed chars.
13128         Change return code to string::npos when there have been no error
13129         (0 was a bad idea when error is at first character)
13130
13131 2001-11-14  José Matos  <jamatos@fep.up.pt>
13132
13133         * buffer.h:
13134         * buffer.C (simpleDocBookOnePar): removed unused argument.
13135
13136 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13137
13138         * text.C (selectNextWordToSpellcheck): do not test explicitely for
13139         insets which are part of a word. Paragraph::isLetter takes care of
13140         that now. Use Paragraph::isInset to identify insets.
13141         (selectSelectedWord): do not test for hyphenation break.
13142
13143         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13144         that protected spaces are considered as spaces.
13145
13146         * paragraph.C (isLetter): cleanup the code for ispell extras; use
13147         Inset::isLetter.
13148
13149 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
13150
13151         * lyxserver.h:
13152         * lyxserver.C: fix it. and small cleanup.
13153
13154 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13155
13156         * BufferView_pimpl.C: use inline helpers
13157
13158         * LaTeXFeatures.h:
13159         * LaTeXFeatures.C: fix typos
13160
13161         * Spacing.h:
13162         * Spacing.C: move spacing_string into class
13163
13164         * ToolbarDefaults.C: move stuff into namespace anon
13165
13166         * layout.h: update enum
13167
13168         * lyxfunc.C: use better debug
13169
13170         * minibuffer.h: fix typo
13171
13172         * debug.h:
13173         * debug.C:
13174         * WorkArea.C: add and use Debug::WORKAREA
13175
13176         * lyxtext.h:
13177         * text.C:
13178         * text2.C: code re-organisation, inline helpers
13179
13180 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
13181
13182         * Layout.C: replaced a few cases of std::vector.size() == 0 with
13183         std::vector.empty().
13184
13185 2001-11-09  Allan Rae  <rae@lyx.org>
13186
13187         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13188         '\n's after tables.  Tabular and ERT inset work now makes this no
13189         longer necessary.
13190
13191 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13192
13193         * minibuffer.h:
13194         * minibuffer.C: fix crash, improve drop-down completion
13195
13196 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
13197
13198         * lyxserver.h:
13199         * lyxserver.C: invalidate fd's when doing endPipe()
13200
13201 2001-11-08  José Matos  <jamatos@fep.up.pt>
13202
13203         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13204         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13205
13206         * paragraph.h:
13207         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13208
13209 2001-11-07  José Matos  <jamatos@fep.up.pt>
13210
13211         * buffer.h:
13212         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13213         const qualifier.
13214
13215         * buffer.C (sgmlOpenTag):
13216         * buffer.C (sgmlCloseTag): removed debug info.
13217
13218         * buffer.h (sgmlOpenTag):
13219         * buffer.h (sgmlCloseTag): made public.
13220
13221 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13222
13223         * buffer.C (saveParamsAsDefaults):
13224         * lyx_cb.C (MenuLayoutSave): remove
13225
13226         * LyXAction.C (init):
13227         * commandtags.h:
13228         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13229
13230 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13231
13232         * buffer.C (setPaperStuff): removed from here...
13233
13234         * bufferparams.C (setPaperStuff): ... and moved there.
13235
13236 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
13237
13238         * minibuffer.h:
13239         * minibuffer.C:
13240         * XFormsView.C: add support for drop-down completion
13241
13242 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
13243
13244         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13245         commands.
13246
13247 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13248
13249         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13250         disabled.
13251
13252 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
13253
13254         * lyx_main.C: change ref to known bugs
13255
13256 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
13257
13258         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13259         to work around older babel problems.
13260
13261 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13262
13263         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13264
13265 2001-10-24  Juergen Vigna  <jug@sad.it>
13266
13267         * tabular-old.C (ReadOld): below variable changes reflected.
13268
13269         * tabular.[Ch]: added ltType struct for longtable header/footer
13270         defines and changed all instances where they are used. Added
13271         future support for double top/bottom rows.
13272
13273 2001-10-24  José Matos  <jamatos@fep.up.pt>
13274
13275         * buffer.h (docbookHandleCaption):
13276         * buffer.C (docbookHandleCaption): removed unused function.
13277         (makeDocBookFile): moved docbook supported version to v4.1.
13278
13279 2001-10-24  José Matos  <jamatos@fep.up.pt>
13280
13281         * tabular.h:
13282         * tabular.C (docbookRow): new function to export docbook code of a row.
13283         (DocBook): now honors the longtable flags.
13284
13285 2001-10-23  José Matos  <jamatos@fep.up.pt>
13286
13287         * LaTeXFeatures.h:
13288         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13289         of the lyx defined sgml entities used in a docbook/linuxdoc document.
13290
13291         * buffer.C (makeLinuxDocFile):
13292         (makeDocBookFile): reworked the preamble, more clean, and with
13293         support for lyx defined entities. Changed the document declaration
13294         to be more XML friendly.
13295
13296         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13297         if we need to output XML that should be done with a filter.
13298
13299 2001-10-22  Juergen Vigna  <jug@sad.it>
13300
13301         * sp_pspell.h (class PSpell): add alive function needed in the
13302         controller to see if the spellchecker could be started.
13303
13304 2001-10-22  Juergen Vigna  <jug@sad.it>
13305
13306         * buffer.C (insertStringAsLines): modify the font for inserting
13307         chars in certain conditions by calling checkInsertChar(font).
13308
13309 2001-10-19  Juergen Vigna  <jug@sad.it>
13310
13311         * text.C (workWidth): use getRow instead of wrong algorithm.
13312         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13313
13314 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
13315
13316         * lyxserver.h:
13317         * lyxserver.C:
13318         * lyx_main.h:
13319         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13320
13321 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13322
13323         * text.C (workWidth): do not search for the exact row when
13324         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13325         optimization for big documents.
13326
13327 2001-10-18  Juergen Vigna  <jug@sad.it>
13328
13329         * text.C (workWidth): new function with added Inset * parameter.
13330
13331 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13332
13333         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13334
13335         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13336         change return type of getColumnNearX.
13337
13338
13339         * text.C (changeRegionCase): use uppercase/lowercase instead of
13340         toupper/tolower.
13341         (leftMargin):
13342         (rightMargin): simplify code by factoring out the uses of
13343         textclasslist.
13344         (labelFill):
13345         (numberOfHfills):
13346         (setHeightOfRow):
13347         (appendParagraph): use Paragraph::size_type
13348
13349 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13350
13351         * vspace.C (asLatexString): add a missing break
13352
13353 2001-10-15  Herbert Voss  <voss@perce.de>
13354
13355         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13356
13357 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13358
13359         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13360         is not available.
13361
13362 2001-10-10  André Pönitz <poenitz@gmx.net>
13363
13364         * lyxfunc.C: removed greek_kb_flag.
13365
13366 2001-10-10  Herbert Voss  <voss@perce.de>
13367
13368         * lyx_main.C: delete global string help_lyxdir.
13369
13370 2001-10-09  Herbert Voss  <voss@perce.de>
13371
13372         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13373
13374         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13375
13376         * lyx_main.C: added global string help_lyxdir.
13377
13378         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13379
13380 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13381
13382         * lyxrc.C (set_font_norm_type): support iso8859-4
13383
13384 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
13385
13386         * LaTeX.C (deplog): add another regex for MikTeX
13387
13388 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13389
13390         * lyxrc.C (set_font_norm_type): support iso8859-3
13391
13392 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13393
13394         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13395
13396         * LaTeXFeatures.C: remove special case of french and index
13397
13398         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13399         before \begin{document}). This solves several incompatibilities.
13400
13401 2001-10-03  Garst Reese  <reese@isn.net>
13402
13403         * lyx_cb.C: change CheckTex error msg.
13404
13405 2001-10-03  José Matos  <jamatos@fep.up.pt>
13406
13407         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13408
13409 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13410
13411         * .cvsignore: update
13412
13413         * lyx_main.C (commandLineVersionInfo): use new style version info.
13414
13415         * buffer.C (writeFile):
13416         (makeLaTeXFile):
13417         (makeLinuxDocFile):
13418         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13419
13420         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13421
13422         * version.h: update to use stuff in version.C
13423
13424         * version.C.in: new file. Contains version information determined
13425         at compile time. This is a merging of version.h and
13426         version_info.h.in.
13427
13428 2001-10-03  Juergen Vigna  <jug@sad.it>
13429
13430         * BufferView_pimpl.C (update): don't change "dirty" status in
13431         updateInset call.
13432
13433 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
13434
13435         * WorkArea.C (c-tor): re-position version string slightly.
13436
13437 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
13438
13439         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13440         revert to previous code.
13441
13442         WorkArea.[Ch]: (show, destroySplash): methods removed.
13443
13444         WorkArea.C: rework code so that it's an amalgam of the codes before and
13445         after the splash screen was moved to WorkArea.
13446
13447 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13448
13449         * lyxrc.C (read):
13450         * vspace.C (inPixels):
13451         (lyx_advance):
13452         * kbmap.C (bind):
13453         * buffer.C (insertStringAsLines):
13454         (asciiParagraph): fix types to be large enough
13455
13456         * lyxlex_pimpl.h: change member status from short to int
13457
13458         * layout.h: fix type of endlabeltype
13459
13460         * kbmap.C (bind):
13461         * kbsequence.C (parse): change return type to string::size_type
13462
13463         * LaTeX.C (updateBibtexDependencies): comment out unneeded
13464         variable
13465
13466         * Bullet.C (bulletSize):
13467         (bulletEntry): do not use short ints as parameters
13468
13469         * BufferView2.C (insertLyXFile): change a char to an int.
13470
13471         * WorkArea.C (WorkArea): remove unneeded floats in computation
13472
13473 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
13474
13475         * buffer.C (asciiParagraph): Treat '\\' as other chars.
13476
13477         * paragraph.C (asString): Do not ignore newline/hfill chars when
13478         copying to the clipboard.
13479
13480 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
13481
13482         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13483         after a multi-line inset.
13484
13485 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
13486
13487         * paragraph.C (validate): Set NeedLyXFootnoteCode
13488
13489 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13490
13491         * lyxfont.C (LyXSizeNames): changed increase-error to increase
13492         and decrease-error to decrease.
13493
13494 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13495
13496         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13497         it more readable (should be equivalent)
13498
13499 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13500
13501         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13502
13503 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13504
13505         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13506         of a cursor (row, etc.) after a character has been deleted
13507         (deleteEmptyParagraphMechanism): call the method above on _all_
13508         cursors held by the LyXText when a double space has been
13509         detected/deleted.
13510
13511 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13512
13513         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13514         pixmap.
13515         (resizeCurrentBuff): remove code to destroy the old splash dialog.
13516
13517         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13518         background. Use greyOut() and the new show() methods to toggle between
13519         the foreground and background. Add code to remove the splash after
13520         its initial showing.
13521
13522         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13523         (create_forms): no longer call Dialogs::showSplash.
13524
13525 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13526
13527         * .cvsignore: add version_info.h
13528
13529 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13530
13531         * version_info.h.in: new file
13532
13533         * Makefile.am: add version_info.h.in
13534
13535         * lyx_main.C (commandLineVersionInfo): use version_info defined in
13536         version_info.h instead of VERSION_INFO
13537
13538 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
13539
13540         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13541         The ERT inset now returns string().
13542
13543 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
13544
13545         * lyxtext.h, text.C (selectNextWord): renamed as
13546         selectNextWordToSpellcheck.
13547
13548         * text.C (selectNextWordToSpellcheck): Modified to not select
13549         words inside an ERT inset.
13550
13551 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13552
13553         * lyx_cb.C (MenuLayoutSave): change a bit the question
13554
13555         * sp_base.h: include <sys/types.h>
13556
13557 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
13558
13559         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13560
13561 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
13562
13563         * several files: fix typos in user-visible strings
13564
13565 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13566
13567         * text2.C (pasteSelection): do not set the selection, since it
13568         will be cleared later. Actually, the intent was to fix the way the
13569         selection was set, but I figured rmoving the code was just as good.
13570
13571 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
13572
13573         * FontLoader.C (available): Check if font is available without
13574         loading the font.
13575
13576 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
13577
13578         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13579
13580 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
13581
13582         * lyxrc.[Ch]: added display_graphics variable and associated code.
13583
13584 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13585
13586         * bufferparams.C (hasClassDefaults): new method. Returns true if
13587         the buffer parameters correspond to known class defaults
13588
13589 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
13590
13591         * XFormsView.C (show): set minimum size to the main window.
13592
13593 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13594
13595         * text2.C (copySelection):
13596         (cutSelection):
13597         * lyxfind.C (LyXReplace):
13598         * BufferView_pimpl.C (Dispatch): pass the correct flag to
13599         LyXText::selectionAsString.
13600
13601         * paragraph.C (asString): add "label" argument to the second form
13602
13603         * text2.C (selectionAsString): add "label" argument and pass it to
13604         Paragraph::asString.
13605
13606 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13607
13608         * lyx_main.C (commandLineHelp): remove version information
13609
13610 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
13611
13612         * lyx_main.C: add -version commandline option
13613
13614 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13615
13616         * paragraph.h: make the optional constructor arg required instead.
13617         some modifications to other files because of this.
13618
13619         * minibuffer.C (C_MiniBuffer_peek_event): make it static
13620
13621         * lyxserver.C (C_LyXComm_callback): make it static
13622
13623         * lyx_main.C (error_handler): make it static
13624
13625         * lyx_gui.C (LyX_XErrHandler): make it static
13626
13627         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13628
13629         * WorkArea.C: make the extern "C" methods static.
13630
13631         * Makefile.am (lyx_LDADD): simplify
13632
13633 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13634
13635         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13636         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13637
13638         * LyXAction.C (init):
13639         * lyxfunc.C (dispatch): associated code removal.
13640
13641 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13642
13643         * lyxfont.h (isSymbolFont): shut off warning
13644
13645         * text.C (setHeightOfRow):
13646         (getVisibleRow): fix crash with empty paragraphs which have a
13647         bottom line
13648
13649 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
13650
13651         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13652         code.
13653
13654 2001-09-04  José Matos  <jamatos@fep.up.pt>
13655         * buffer.C
13656         * buffer.h
13657         * tabular.C (docbook): rename docBook method to docbook.
13658
13659 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13660
13661         * Makefile.am: add dependencies to main.o.
13662
13663 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
13664
13665         * FontLoader.C (available): Return false if !lyxrc.use_gui
13666
13667 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
13668
13669         * FontInfo.C (query):
13670         * converter.C (view):
13671         * importer.C (Import):
13672         * exporter.C (Export): Can not -> cannot.
13673
13674 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
13675
13676         * BufferView_pimpl.C: allow to create index inset even if
13677           string is empty
13678
13679 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13680
13681         * buffer.C (getLists): replace boost::tie code with an explicit pair
13682         as boost::tie can break some compilers.
13683
13684         * iterators.h: Added a std:: declaration to the return type of
13685         ParIterator::size.
13686
13687 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
13688
13689         * lyxrc.C: add help for view_dvi_paper_option, default to safe
13690           case.
13691
13692 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
13693
13694         * iterators.[Ch]: New files. Provide paragraph iterators.
13695
13696         * buffer.C (changeLanguage): Use paragraph iterators.
13697         (isMultiLingual): ditto
13698
13699         * BufferView2.C (ChangeInsets): Use paragraph iterators.
13700
13701 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
13702
13703         * FontLoader.C: Support for cmr font.
13704
13705 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
13706
13707         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13708         (available): New method.
13709
13710         * FontInfo.C (getFontname): Use scalable fonts even when
13711         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13712         found.
13713
13714 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13715
13716         * converter.C (Formats::view): reverted! Incorrect fix.
13717
13718 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13719
13720         * converter.C (Formats::view): only output the -paper option
13721         if the dvi viewer is xdvi, thereby fixing bug #233429.
13722
13723 2001-08-23  Herbert Voss  <voss@perce>
13724
13725         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13726
13727 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
13728
13729         * Spacing.h (Spacing): Set space to Default on in the default
13730         constructor.
13731
13732 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13733
13734         * vc-backend.h (RCS::versionString): add RCS to version
13735         (CVS::versionString): add CVS to version
13736
13737         * vc-backend.C (scanMaster): do not add CVS to version.
13738         (scanMaster): do not add RCS to version
13739
13740         * lyxvc.C (versionString): new method
13741
13742         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13743
13744 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13745
13746         * Spacing.C (set): initialize fval
13747
13748 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
13749
13750         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13751         " or \.
13752
13753 2001-08-16  Juergen Vigna  <jug@sad.it>
13754
13755         * lyxfunc.C (dispatch): implemented the new FINISHED states.
13756
13757 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13758
13759         * BufferView_pimpl.C:
13760         * figureForm.C:
13761         * lyxtext.h:
13762         * text2.C: setParagraph takes linespacing now
13763
13764 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
13765
13766         * LyxAction.C: add internal LFUN_CITATION_INSERT
13767
13768         * LyXView.C: actually apply fix
13769
13770         * bufferlist.C: fix open non-existent file
13771
13772         * lyxfind.C: fix indentation
13773
13774         * lyxfunc.C: remove unneeded assert, fix typo
13775
13776 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13777
13778         * MenuBackend.C: use "Floatname List"
13779
13780 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
13781
13782         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13783         when converting LaTeX layout to insetERT.
13784         Generate a non-collapsed float when reading old float
13785
13786 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13787
13788         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13789         ERT insets.
13790
13791 2001-08-13  Juergen Vigna  <jug@sad.it>
13792
13793         * text.C (fill): return 0 instead of 20 as this seems to be the more
13794         correct value.
13795
13796 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13797
13798         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13799         lyxrc.font_norm.
13800
13801 2001-08-13  Juergen Vigna  <jug@sad.it>
13802
13803         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13804         casesensitive off.
13805         (SearchBackward): comment out the unlocking of the inset_owner this
13806         should not be needed!
13807
13808 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
13809
13810         * Many files: Remove inherit_language, and add latex_language
13811
13812         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13813         collapsible insets.
13814
13815 2001-08-10  Juergen Vigna  <jug@sad.it>
13816
13817         * text.C (prepareToPrint): fixed hfill-width in draw!
13818
13819         * BufferView2.C (selectLastWord): save the selection cursor as this
13820         now is cleared in the function LyXText::clearSelection!
13821
13822 2001-08-08  Juergen Vigna  <jug@sad.it>
13823
13824         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13825         BACKSPACE type functions.
13826
13827         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13828         is only cutted from the document but not put in the cut-buffer, where
13829         still the old stuff should be.
13830
13831         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13832
13833         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13834
13835         * tabular.C (SetWidthOfCell): fixed special case where the width
13836         was not updated!
13837         (LeftLine): handle '|' in align_special.
13838         (RightLine): ditto
13839         (LeftAlreadyDrawed): ditto
13840         (SetWidthOfCell): ditto
13841
13842 2001-08-07  Juergen Vigna  <jug@sad.it>
13843
13844         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13845
13846 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13847
13848         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13849         * lyxlex.[hC]: ditto
13850
13851 2001-08-06  Juergen Vigna  <jug@sad.it>
13852
13853         * text.C (getVisibleRow): fix up row clearing a bit.
13854
13855 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13856
13857         * minibuffer.C: make sure the X server sees the changes in the input.
13858
13859 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13860
13861         * paragraph.C (getFont): split into...
13862         (getLabelFont): this
13863         (getLayoutFont): and this
13864         * paragraph_pimpl.C (realizeFont): calling this
13865
13866         * text2.C (getFont): split into...
13867         (getLayoutFont): this
13868         (getLabelFont): and this
13869         (realizeFont): all three calling this
13870
13871         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13872         files where used.
13873
13874 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13875
13876         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13877
13878 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
13879
13880         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13881         layouts from the Quote inset insertion.
13882
13883 2001-08-03  Juergen Vigna  <jug@sad.it>
13884
13885         * BufferView_pimpl.C (update): do the fitCursor only at the end!
13886
13887         * screen.C (drawFromTo): don't call fitcursor here and do the loop
13888         only if status not is already CHANGED_IN_DRAW (second level).
13889
13890         * text.C (draw): don't set the need_break_row when inside an
13891         InsetText LyXText.
13892
13893 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13894
13895         * buffer.C (parseSingleLyXformat2Token): handle more latex
13896         conversion cases.
13897
13898         * bufferview_funcs.[hC]: change function names to
13899         begin with small char, adjust other files.
13900
13901 2001-08-02  André Pönitz <poenitz@gmx.net>
13902
13903         * lyxfunc.C:
13904         BufferView_pimpl.C: remove broken special code for math-greek
13905
13906 2001-08-02  Juergen Vigna  <jug@sad.it>
13907
13908         * BufferView_pimpl.C (update): redone this function so that we
13909         update the text again if there was a CHANGE_IN_DRAW.
13910
13911         * screen.C (cursorToggle): removed LyXText parameter and recoded.
13912         (drawFromTo): added a new internal bool which is used by draw() and
13913         redraw() function.
13914         (general): some cursor drawing problems fixed.
13915
13916 2001-08-01  Juergen Vigna  <jug@sad.it>
13917
13918         * lyxfind.C (LyXFind): fixed
13919         (SearchForward): ditto
13920         (SearchBackward): ditto
13921
13922         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13923         spurius drawing of the cursor in the main area.
13924
13925         * text2.C (status): small fix which could lead to a segfault!
13926         (clearSelection): remove unneeded BufferView param.
13927
13928 2001-08-01  André Pönitz <poenitz@gmx.net>
13929
13930         * lyxfunc.C: small change due to changed mathed interface
13931
13932 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13933
13934         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13935
13936 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
13937
13938         * lyxfunc.c: fail gracefully if file doesn't exist
13939
13940         * LyXSendto.C:
13941         * buffer.C:
13942         * lyxfunc.C:
13943         * BufferView_pimpl.C: IsDirWriteable() proto changed
13944
13945         * LyXView.C: fix updateWindowTitle() to store the last title
13946
13947 2001-07-31  Juergen Vigna  <jug@sad.it>
13948
13949         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13950         the font (wrong since using of Paragraph::highestFontInRange).
13951
13952         * paragraph.C (highestFontInRange): added a default_size parameter.
13953
13954         * text.C (getVisibleRow): minor clear row changes (still not perfect).
13955         (setHeightOfRow): reformat
13956
13957 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13958
13959         * converter.[hC] + affected files: move to (inital-char)lowercase
13960         function names.
13961
13962         * ParagraphParameters.C (ParagraphParameters): remove commented code
13963
13964         * PainterBase.[Ch]: remove commented code
13965
13966         * LaTeXFeatures.h: add "bool floats" for float.sty
13967
13968         * LaTeXFeatures.C (LaTeXFeatures): init floats
13969         (require): handle float
13970         (getPackages): do it with floats
13971
13972 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13973
13974         * BufferView_pimpl.C (Dispatch): improve handling of
13975         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13976
13977         * commandtags.h: #include lyxfont.h here temporarily to avoid
13978         keybinding bug.
13979
13980         * bufferlist.h: include LString.h here.
13981
13982 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13983
13984         * text2.C (getStringToIndex): new method.
13985
13986 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
13987
13988         * *: Reduced header file dependencies all over.
13989
13990 2001-07-30  Baruch Even  <baruch@lyx.org>
13991
13992         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13993
13994 2001-07-29  Baruch Even  <baruch@lyx.org>
13995
13996         * buffer.C (readInset): Changed GRAPHICS to Graphics.
13997
13998 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13999
14000         * ParameterStruct.h (endif): add a default constructor to make
14001         sure that all variables is initialized.
14002
14003         * ParagraphParameters.C (ParagraphParameters): adjust
14004
14005 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14006
14007         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14008         index; also, check that there is something to index, and that it
14009         does not span over several paragraphs.
14010         (doubleClick): use WHOLE_WORD_STRICT for double click.
14011
14012         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14013
14014         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14015         scheme.
14016
14017 2001-07-26  Baruch Even  <baruch@lyx.org>
14018
14019         * buffer.C (readInset): Changed to call up InsetGraphics when reading
14020         an InsetFig figure, backwards compatible reading of old figure code.
14021
14022 2001-07-27  Juergen Vigna  <jug@sad.it>
14023
14024         * text2.C: font.realize function adaption.
14025
14026         * text.C (draw): add a warnings lyxerr text if needed.
14027
14028         * layout.C: font.realize function adaption.
14029
14030         * language.C: add inherit_language and implement it's handlings
14031
14032         * bufferview_funcs.C (StyleReset): remove language parameter from
14033         font creation (should be language_inherit now).
14034
14035         * bufferparams.C (writeFile): handle ignore_language.
14036
14037         * paragraph.C (getFontSettings): the language has to be resolved
14038         otherwise we have problems in LyXFont!
14039
14040         * lyxfont.C (lyxWriteChanges): added document_language parameter
14041         (update): removed unneeded language parameter
14042
14043         * paragraph.C (validate): fixed wrong output of color-package when
14044         using interface colors for certain fonts in certain environments,
14045         which should not seen as that on the final output.
14046
14047 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
14048
14049         * BufferView_pimpl.C:
14050         * Thesaurus.h:
14051         * Thesaurus.C:
14052         * Makefile.am:
14053         * commandtags.h:
14054         * LyXAction.C: add thesaurus support
14055
14056         * lyxfind.h:
14057         * lyxfind.C: add "once" parameter, for thesaurus, to not
14058           move to the next match
14059
14060 2001-07-26  Juergen Vigna  <jug@sad.it>
14061
14062         * lyxfont.C (realize): honor ignore_language too!
14063         (resolved): ditto.
14064
14065         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14066
14067         * text.C (draw): one place more for ignore_language to not draw
14068         itself!
14069
14070 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
14071
14072         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14073
14074 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14075
14076         * buffer.C (parseSingleLyXformat2Token): a more general fix for
14077         the minipage conversion problem.
14078
14079 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14080
14081         * buffer.C (parseSingleLyXformat2Token): check minipage if we
14082         insert an inset.
14083
14084 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14085
14086         * BufferView.h: don't forward declare WorkArea
14087
14088         * BufferView.C: don't include WorkArea.h
14089
14090 2001-07-25  André Pönitz <poenitz@gmx.net>
14091
14092         * commandtags.h:
14093         * LyXAction.C:
14094         * lyxfunc.C:  new LFUN 'math-space'
14095
14096         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14097
14098 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14099
14100         * text2.C (toggleInset): call open/close
14101
14102 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14103
14104         * lyxfunc.C (dispatch): add debug for the disabled case
14105
14106         * font.C (buttonText): make similar to rectText
14107
14108         * buffer.C (readInset): comment out parsing of insetlist and
14109         insttheorem
14110
14111         * PainterBase.C (rectText): small correction
14112
14113         * BufferView_pimpl.C: comment out insettheorem and insetlist
14114         * LyXAction.C: ditto
14115         * commandtags.h: ditto
14116
14117 2001-07-24  Juergen Vigna  <jug@sad.it>
14118
14119         * text.C (draw): honor the ignore_language.
14120
14121         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14122
14123 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14124
14125         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14126         char inset.
14127
14128 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14129
14130         * lyxtext.h: remove unused (and unimplemented) methods
14131
14132 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14133
14134         * text.C (getVisibleRow): honor background color
14135
14136         * PainterBase.h:
14137         * Painter.h: remove default color argument for fillRectangle
14138
14139         * text.C (backgroundColor): new method
14140
14141 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14142
14143         * text.C (getVisibleRow): adjust
14144
14145         * font.[Ch] (rectText): new method, metrics
14146         (buttonText): new method, metrics
14147
14148         * PainterBase.[hC]: make rectText and buttonText always draw and take
14149         fewer paramteres.
14150
14151 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14152
14153         * ToolbarDefaults.C (read):
14154         * MenuBackend.C (read): allow escaping in all strings
14155
14156         * BufferView_pimpl.C (insertAndEditInset): new method.
14157         (Dispatch): use insertAndEditInset whenever appropriate.
14158
14159         * BufferView_pimpl.C (insertNote): removed
14160
14161         * BufferView_pimpl.C (smartQuote): new method, moved from
14162         BufferView; if an insetquote cannot be inserted, insert a '"'
14163         character instead.
14164
14165         * BufferView2.C: remove insertCorrectQuote();
14166
14167         * lyxfunc.C (getStatus): Add support for all remaingin
14168         inset-insert lfuns.
14169
14170         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14171
14172         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14173         command (necessary to pass " as parameter of self-insert.
14174
14175         * text.C (selectWordWhenUnderCursor):
14176         (selectWord): add word_location parameter
14177         (selectWordWhenUnderCursor): same + remove special code for word
14178         boundary.
14179         (selectNextWord): use kind() to guess type of insetspecialchar,
14180         not latex().
14181
14182         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14183         (insertErtContents): create ert insets as collapsed.
14184         (readInset): better compatibility code for Info inset.
14185
14186 2001-07-20  Juergen Vigna  <jug@sad.it>
14187
14188         * lyxfunc.C (dispatch): use always LyXFind now!
14189
14190         * text2.C (init): add a reinit flag so that the LyXText can be
14191         reinited instead of deleted and reallocated (used in InsetText).
14192
14193         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14194
14195         * text.C: ditto
14196
14197         * text2.C: ditto
14198
14199 2001-07-18  Juergen Vigna  <jug@sad.it>
14200
14201         * text.C (selectNextWord): handle insets inside inset by calling
14202         always the bv->text functions so that we can go up the_locking_inset!
14203
14204         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14205         in strange locations when inside an inset!
14206
14207         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14208         handling to include insets.
14209
14210         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14211
14212 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14213
14214         * LyXAction.C (init):
14215         * commandtags.h:
14216         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14217         LIGATURE_BREAK, since the name is so stupid.
14218
14219 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14220
14221         * buffer.C (readInset): enable reading of new InsetNotes as well as old
14222         InsetInfos.
14223
14224         * FontLoader.C: remove FORMS_H_LOCATION cruft.
14225
14226         * sp_form.[Ch]: remove.
14227
14228         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14229
14230         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14231         InsetInfo.
14232
14233         * src/buffer.C (readInset): ditto.
14234
14235 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14236
14237         * BufferView_pimpl.C (specialChar): new method. Obsoletes
14238         menuSeparator(), endOfSentenceDot(), ldots() and
14239         hyphenationPoint(), which are therefore removed.
14240         (Dispatch): handle LFUN_HYPHENATION_BREAK.
14241
14242         * LyXAction.C (init):
14243         * commandtags.h: add LFUN_HYPHENATION_BREAK.
14244
14245         * paragraph.C (getWord): removed.
14246
14247         * BufferView_pimpl.C (Dispatch): use last word or selection for
14248         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14249
14250         * lyx_main.C (queryUserLyXDir): do not ask before creating
14251         user_dir, except if it has been named explicitely.
14252
14253 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14254
14255         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14256         a document of zero size.
14257
14258 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
14259
14260         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14261         approriately in the c-tor and in require().
14262         (getPackages): output the appropriate LaTeX for natbib support.
14263
14264         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14265         variables "use_natbib" and "use_numerical_citations" when reading the
14266         LyX file.
14267         (readInset): read the various natbib cite commands.
14268         (validate): white-space change.
14269
14270         * bufferparams.[Ch]: new variables "bool use_natbib" and
14271         "bool use_numerical_citations".
14272         (writeFile): output them in the LyX file.
14273
14274 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14275
14276         * lyxfunc.C (getStatus): add support for all the inset insertion
14277         commands.
14278
14279         * text2.C (insertInset):
14280         * paragraph.C (insetAllowed):
14281         * BufferView_pimpl.C (insertInset): update to take in account the
14282         renaming of insertInsetAllowed
14283
14284         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14285
14286         * text2.C (getInset): new method. returns inset at cursor position.
14287
14288         * BufferView_pimpl.C (Dispatch): changes because of this.
14289
14290         * LyXAction.C (init): rename open-stuff to inset-toggle.
14291
14292         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14293
14294         * text2.C (toggleInset): renamed from openStuff; use
14295         Inset::open().
14296
14297 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
14298
14299         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14300
14301         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14302
14303 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
14304
14305         * buffer.C (readLyXformat2): Add filename to the error dialog
14306
14307 2001-07-18  Juergen Vigna  <jug@sad.it>
14308
14309         * tabular.C (GetCellNumber): put an assert here instead of the check!
14310
14311 2001-07-17  Juergen Vigna  <jug@sad.it>
14312
14313         * BufferView_pimpl.C (toggleSelection): adapted too.
14314
14315         * text.C (selectNextWord): adapted for use with insets.
14316         (selectSelectedWord): ditto
14317
14318 2001-07-17  Juergen Vigna  <jug@sad.it>
14319
14320         * sp_spell.C (PSpell): fix initialitation order.
14321
14322 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14323
14324         * paragraph.C: spacing
14325
14326 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
14327
14328         * sp_spell.C: repair language selection for pspell
14329
14330 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14331
14332         * lyxfunc.h: change more methods to begin with lower char.
14333
14334 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
14335
14336         * buffer.C (parseSingleLyXformat2Token): Generate error insets
14337         for unknown layouts.
14338
14339 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
14340
14341         * buffer.C (readLyXformat2): Generate an error dialog if there are
14342         unknown layouts.
14343
14344 2001-07-16  Juergen Vigna  <jug@sad.it>
14345
14346         * sp_spell.C: always compile ISpell part.
14347
14348         * lyxrc.C: added use_pspell entry and it's handling.
14349
14350 2001-07-13  Juergen Vigna  <jug@sad.it>
14351
14352         * sp_spell.C: removed double includes.
14353
14354 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
14355
14356         Consistent use of Lsstream.h:
14357         * Lsstream.h: added using std::stringstream for consistencies sake.
14358
14359         * buffer.C: removed using std::stringstream
14360
14361         * lyxfont.C (stateText):
14362         * paragraph.C (asString):
14363         * text.C (selectNextWord, selectSelectedWord):
14364         * text2.C (setCounter):
14365         * vspace.C (asString, asLatexString):
14366         std::ostringstream -> ostringstream.
14367
14368 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14369
14370         * LyXAction.C: add LFUN_HELP_ABOUTLYX
14371         * commandtags.h: add LFUN_HELP_ABOUTLYX
14372         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14373
14374 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14375
14376         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14377         cursorToggle()
14378         * lyx_gui_misc.C: remove spellchecker
14379         * lyxfunc.C: showSpellchecker
14380         * sp_base.h: added
14381         * sp_ispell.h: added
14382         * sp_pspell.h: added
14383         * sp_spell.C: added
14384         * sp_form.[Ch]: removed
14385         * spellchecker.[Ch]: removed
14386
14387 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
14388
14389         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14390         is set.
14391         (simpleTeXSpecialChars): Simply print the input character without
14392         any special translation if pass_thru is set.
14393
14394         * layout.h: Added bool pass_thru to layout class for being able to
14395         implement pass through of a paragraph for Literate Programming.
14396
14397         * layout.C: add LT_PASS_THRU to LayoutTags enum.
14398         * layout.C (LyXLayout): set pass_thru to flase in constructor.
14399         * layout.C (Read): add "passthru" to list of layout tags and add
14400         code to set the pass_thru boolean when it is read.
14401
14402 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14403
14404         * trans_decl.h: remove allowed from KmodInfo
14405
14406         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14407         remove allowed code
14408         (Load): adjust
14409
14410         * paragraph_pimpl.C (erase): use boost::prior
14411
14412         * Painter.C (text): use data() instead of c_str() when length is
14413         also provided.
14414         * WorkArea.C (putClipboard): ditto
14415         * font.h (width): ditto
14416
14417         * BufferView2.C: use it-> instead of (*it). for iterators
14418         * texrow.C: ditto
14419         * paragraph_pimpl.C: ditto
14420         * paragraph.C: ditto
14421         * minibuffer.C: ditto
14422         * language.C: ditto
14423         * kbmap.C: ditto
14424         * encoding.C: ditto
14425         * counters.C: ditto
14426         * converter.C: ditto
14427         * chset.C: ditto
14428         * Variables.C: ditto
14429         * TextCache.C: ditto
14430         * MenuBackend.C: ditto
14431         * LyXAction.C: ditto
14432         * LColor.C: ditto
14433         * FloatList.C: ditto
14434         * DepTable.C: ditto
14435         * ColorHandler.C (LyXColorHandler): ditto
14436
14437 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14438
14439         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14440
14441         * text2.C (openStuff): reintroduce this method (which had been
14442         nuked in NEW_INSETS frenzy).
14443
14444         * lyxfunc.C (Dispatch): when an action has not been handled, use
14445         its name in the error message, not its number.
14446
14447         * paragraph.C (inInset): change method name to begin with lowercase.
14448
14449         * undo_funcs.C:
14450         * text2.C: updates because of this.
14451
14452 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14453
14454         * ToolbarDefaults.C (add): add spaces in error message
14455
14456 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14457
14458         * buffer.C (readLyXformat2): initialize the ert comp. variables.
14459         (readLyXformat2): rename return_par to first_par, use lyxlex's
14460         pushToken and remove the manual push handling.
14461         (parseSingleLyXformat2Token): add another ert comp. variable:
14462         in_tabular, rename return_par to first_par. handle newlines better
14463
14464 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14465
14466         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14467
14468 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14469
14470         * text2.C (getParFromID): removed
14471
14472         * buffer.C (getParFromID): new method moved form lyxtext.
14473         * BufferView2.C (insertErrors): adjust
14474         (setCursorFromRow): adjust
14475         * BufferView_pimpl.C (restorePosition): adjust
14476         * lyxfunc.C (Dispatch): adjust
14477         * undo_funcs.C (textUndo): adjust
14478         (textRedo): adjust
14479         (textHandleUndo): adjust
14480         (textHandleUndo): adjust
14481
14482 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14483
14484         * buffer.C: up' the LYX_FORMAT
14485
14486         * lyxfont.h: turn NO_LATEX on as default
14487
14488         * buffer.C (insertErtContents): new methods of tex style compability.
14489         (parseSingleLyXformat2Token): use it several places.
14490         * tabular.C (OldFormatRead): and here
14491
14492 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14493
14494         * text2.C: remove some commented code.
14495         reindent file.
14496
14497         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14498         * trans.C: changes because of the above.
14499
14500 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
14501
14502         * text2.C (setCounter): Fix counters bug with bibliography layout.
14503
14504 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14505
14506         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14507         own member functions
14508         (simpleTeXSpecialChars): ditto
14509
14510 2001-07-06  Juergen Vigna  <jug@sad.it>
14511
14512         * a lot of files: changed the access to LyXText::status and the
14513         call of undo-functions.
14514
14515         * undo.[Ch]: added a inset_id to the undo informations.
14516
14517         * undo_funcs.[Ch]: added and moved here all undo functions.
14518
14519         * lyxtext.h: give the status enum a weight, made status_ a private
14520         variable and made accessor functions for it, removed the whole bunch
14521         of undo-functions as they are now in their own file, make some
14522         functions publically available. Added function ownerParagraph with
14523         int parameter.
14524
14525         * paragraph.[Ch]: added "bool same_ids" to the constructor,
14526         made InInset() a const function, added getParFromID() function.
14527
14528         * buffer.[Ch]: added const version for inset_iterator functions,
14529         added getInsetFromID() function.
14530
14531         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14532         changed undo functions for new version.
14533
14534 2001-07-05  Juergen Vigna  <jug@sad.it>
14535
14536         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14537         unknow mechanism does not call the proper constructor but only this
14538         one also if I request the other!?
14539
14540 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14541
14542         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14543
14544         * text2.C (LyXText): use initialization lists.
14545
14546         * lyxtext.h (Selection): initialize set_ and mark_
14547         (init): remove method
14548
14549 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
14550
14551         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14552
14553 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14554
14555         * screen.[Ch]: change method names to begin with lowercase
14556
14557         * BufferView_pimpl.C (updateScrollbar): simplify further and
14558         hopefully make it a bit faster.
14559
14560 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14561
14562         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14563         calling directly xforms functions.
14564
14565         * Painter.C (Painter):
14566         * lyx_cb.C (MenuWrite):
14567         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14568         fl_display.
14569
14570         * lyx_gui.C: remove bogus guiruntime extern declaration.
14571
14572 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14573
14574         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14575         in NEW_INSETS
14576         (redoDrawingOfParagraph): ditto
14577         (redoParagraphs): ditto
14578         (cutSelection): don't create a object for CutAndPaste use the
14579         static method directly
14580         (pasteSelection): ditto
14581
14582         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14583         LyXview (+ rename)
14584
14585 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14586
14587         * modifications to some other files because of this.
14588
14589         * Makefile.am (lyx_SOURCES): add XFormsView
14590
14591         * XFormsView.[Ch]: new files
14592
14593         * LyXView.[Ch]: make LyXView a base class for the gui handling for
14594         the main window. Move the gui dependent stuff to XFormsView
14595
14596 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14597
14598         * tabular.C (GetCellInset): update cur_cell also in the row/col
14599         version of this function.
14600
14601         * lyxfunc.C: no need to include figure_form.h here.
14602
14603         * FontLoader.h:
14604         * lyxfunc.h:
14605         * lyxscreen.h:
14606         * text2.C:
14607         * lyxvc.C: no need to include forms.h here.
14608
14609 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14610
14611         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14612
14613         * lyxfunc.C (Dispatch):
14614         * Spacing.C (set):
14615         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14616         constructor argument.
14617
14618 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14619
14620         * paragraph.C (Paragraph): dont't clear, and just set layout.
14621         (makeSameLayout): use params's copy contructor.
14622
14623         * ParagraphParameters.[Ch] (makeSame): delete method
14624
14625 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
14626
14627         * Variables.[Ch]: fix indentation, rename set to isSet
14628
14629 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14630
14631         * lyxfunc.C (Dispatch): fix typo
14632
14633 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14634
14635         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14636         upper_bound.
14637
14638         * bufferlist.C: include assert.h for emergencyWrite().
14639
14640 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14641
14642         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14643           give up at last (bug #425202) !
14644
14645 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
14646
14647         * lyx_gui_misc.C:
14648         * sp_form.h:
14649         * sp_form.C:
14650         * spellchecker.h:
14651         * spellchecker.C: strip spellchecker options and bring up
14652           preferences tab instead
14653
14654 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14655
14656         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14657         the istringstream constructor
14658
14659 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14660
14661         * paragraph.C (getLayout): fix return value
14662
14663         * paragraph.h: do not declare getLayout as inline.
14664
14665         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14666
14667 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14668
14669         * lyxcursor.h (operator<): new func
14670         (operator>): new func
14671         (operator>=): new func
14672         (operator<=): new func
14673
14674         * text.C (changeCase): use selection.start and selection.end
14675         (changeRegionCase): require from to be <= to. Require par to be a
14676         valid paragraph.
14677
14678         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14679
14680 2001-06-27  Juergen Vigna  <jug@sad.it>
14681
14682         * text.C (cursorLeftOneWord): changed to return the cursor and added
14683         overlay with BufferView * parameter which calls this one.
14684         (getWord): added
14685         (selectWord): use new getWord function.
14686         (changeCase): renamed from changeWordCase as and extended to work
14687         also on selections.
14688
14689         * lyxtext.h: added enum word_location
14690
14691         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14692         changeCase as this operates now also on selections.
14693
14694 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
14695
14696         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14697
14698         * many files: send debug output to Debug::INFO instead of
14699         Debug::ANY.
14700
14701         * converter.C (View):
14702         (Convert):
14703         (Move): send debug output to Debug::FILES instead of console.
14704
14705 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
14706
14707         * lyxfunc.C (getStatus): use func_status
14708
14709         * func_status.h: new header, describing the results of
14710         LyXFunc::getStatus;
14711
14712         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14713         LFUN_MATH_HALIGN.
14714
14715 2001-06-25  The LyX Project  <jug@sad.it>
14716
14717         * buffer.C (sgmlOpenTag):
14718         (sgmlCloseTag):
14719         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
14720
14721 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14722
14723         * text2.C: remove some dead code
14724
14725         * tabular.C (GetCellInset): store the last cell checked (gotten)
14726
14727         * tabular.h: add the helper for the speedup
14728
14729         * lyxtext.h: remove some dead code
14730
14731 2001-06-26  The LyX Project  <Asger>
14732
14733         * paragraph.C: Change export to LaTeX of alignment to
14734         \begin{center} and family for better roundtrip work with reLyX.
14735
14736         * Tune the math drawing a bit.
14737
14738 2001-06-25  The LyX Project  <Asger>
14739
14740         * LColor.C (LColor): New color for math background. New color
14741         for buttons.
14742
14743 2001-06-25  The LyX Project  <jug@sad.it>
14744
14745         * lyxfunc.C (MenuNew): remove extra check for .lyx file
14746
14747         * lyxfunc.C (Open):
14748         * bufferlist.C (newFile): do not restrict to files ending with
14749         .lyx
14750
14751         * BufferView_pimpl.C (MenuInsertLyXFile):
14752
14753 2001-06-24  The LyX Project  <jug@sad.it>
14754
14755         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14756         of compare_no_case
14757
14758 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14759
14760         * lyxtext.h: rename most methods to begin with a small char.
14761         Lots of changes because of this.
14762
14763         * paragraph.C (Paragraph): do not call fitToSize
14764         (erase): call Pimpl::erase
14765         (insertChar): call Pimpl::insertChar
14766         (insertInset): call Pipl::insertInset
14767         (breakParagraph): do not call fitToSize
14768         (breakParagraphConservative): do not call fitToSize
14769         (fitToSize): remove method
14770
14771         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14772
14773 2001-06-24  The LyX Project  <Asger>
14774
14775         * Fix Qt compilation^2
14776
14777 2001-06-24  The LyX Project  <jug@sad.it>
14778
14779         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14780         depthHook(getDepth()-1).
14781
14782         * paragraph.h:
14783         * ParagraphParameters.h:
14784         * ParameterStruct.h: change type of depth to unsigned int ==
14785         depth_type. Many adaptations to other files before of that.
14786
14787 2001-06-24  The LyX Project  <Asger>
14788
14789         * Fix Qt compilation.
14790
14791 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14792
14793         * paragraph.h: renamed several methods to begin with small letter.
14794         several changes to many parts of the code because of this.
14795
14796 2001-06-23  The LyX Project  <jug@sad.it>
14797
14798         * text2.C (InsertStringAsLines): renamed from InsertStringA;
14799         rewritten to discard all double spaces when KeepEmpty is off
14800         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14801         to only handle newlines but not fiddle with spaces and friends.
14802
14803         * lyxfunc.C (MenuNew): when doing 'new from template', use
14804         template_path as default directory
14805
14806 2001-06-23  The LyX Project  <Asger>
14807
14808         * Clean-up of header file includes all over
14809         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14810
14811 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14812
14813         * paragraph.h: renamed from lyxparagraph.h
14814
14815 2001-06-23  Asger  <lyx@violet.home.sad.it>
14816
14817         * Buffer.h: Removed Buffer::resize
14818         * BufferList.h: Removed BufferList::resize
14819         * LyXView.h: Added LyXView::resize. This way, we will only reflow
14820         the document lazily when we change the width, or the font settings.
14821
14822 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14823
14824         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14825
14826 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14827
14828         * buffer.h: remove out of date comment
14829
14830 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14831
14832         * lyxscreen.h:
14833         * screen.C: fix "theoretical" GC leak
14834
14835 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14836
14837         * LaTeX.C (scanAuxFile):
14838         (deplog): remove trailing \r when reading stream (useful under
14839         win32)
14840
14841 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
14842
14843         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14844         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14845         and BufferView::theLockingInset(Inset*), so should use them and not
14846         access bv_->text->the_locking_inset directly.
14847
14848         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14849
14850 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14851
14852         * Makefile.am:
14853         * tex-defs.h: remove old unused file
14854
14855 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
14856
14857         * BufferView_pimpl.C: fix typo, remove minibuffer message
14858           when buffer has loaded
14859
14860 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14861
14862         * lyxfunc.C (Dispatch): use stringstream
14863         (MenuNew): use stringstream
14864         (Open): use stringstream
14865
14866         * importer.C (Import): use stringstream
14867
14868         * bufferview_funcs.C (CurrentState): use stringstream
14869
14870         * LaTeX.C (run): use stringstream
14871
14872         * BufferView_pimpl.C (savePosition): use stringstream
14873         (restorePosition): use stringstream
14874         (MenuInsertLyXFile): use stringstream
14875
14876 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
14877
14878         * BufferView.C:
14879         * Bullet.C:
14880         * ColorHandler.C:
14881         * FontInfo.C:
14882         * FontLoader.C:
14883         * LColor.C:
14884         * LaTeXFeatures.C:
14885         * Painter.C:
14886         * gettext.C:
14887         * lyx_gui_misc.C:
14888         * lyxserver.C:
14889         * vspace.C: removed // -*- C++ -*- as first line.
14890
14891         * lyxfind.h:
14892         * version.h: added // -*- C++ -*- as first line.
14893
14894 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14895
14896         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14897
14898         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14899         of string
14900
14901 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14902
14903         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14904         of floats.
14905
14906 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14907
14908         * gettext.C: include LString.h even when --disable-nls is on.
14909
14910 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
14911
14912         * converter.h (Get): changed argument type from int to
14913         FormatList::size_type to avoid unnecessary conversion.
14914
14915         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14916         before using it.
14917
14918 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14919
14920         * gettext.h: include LString.h even when --disable-nls is on.
14921
14922 2001-06-07  Juergen Vigna  <jug@sad.it>
14923
14924         * text.C (BreakAgain): subst spaces with tabs.
14925
14926         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14927         (resizeInsetsLyXText): set force on resizeLyXText.
14928
14929 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14930
14931         * gettext.h (gettext_init):
14932         (locale_init): use a real definition instead of a macro
14933
14934 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14935
14936         * Bufferview_pimpl.C:
14937         * LColor.h:
14938         * LColor.C: further lcolor tidies
14939
14940 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14941
14942         * BufferView_pimpl.C (updateScrollbar): simplify.
14943
14944         * BufferView2.C: don't include insets/insetinfo.h, change
14945         prototype for insertInset and call the Pimpl version. let
14946         updateInset call Pimpl version.
14947
14948         * BufferView.h: move inset_slept to BufferView::Pimpl, move
14949         gotoInset to BufferView::Pimpl
14950
14951 2001-06-01  Juergen Vigna  <jug@sad.it>
14952
14953         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14954         inside a LockingInset (is the update needed at all?).
14955
14956 2001-05-31  Juergen Vigna  <jug@sad.it>
14957
14958         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14959         here not the old one otherwise how should we compare it afterwards
14960         if it's the same!
14961
14962 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14963
14964         * lyxfont.C:
14965         * tabular.C:
14966         * tabular-old.C:
14967         * FontInfo.C: bring C functions into global namespace when
14968         necessary
14969
14970 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14971
14972         * LString.h: make sure config.h has been loaded before LString.h.
14973
14974         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14975         (one for each char read by EatLine!).
14976
14977         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14978         variables.
14979
14980 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14981
14982         * paragraph.C (BreakParagraph): set the inset_owner in the new par
14983         to the same as the par we break from
14984
14985 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14986
14987         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14988
14989         * MenuBackend.C (expand): also create menu entries for wide
14990         versions of the floats.
14991
14992         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14993
14994         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14995
14996         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14997         frontends/Makefile.am
14998
14999         * text2.C: adjust
15000         * text.C: adjust
15001
15002
15003         * tabular.C (getTokenValue): add std::
15004
15005         * tabular-old.C (getTokenValue): add std::
15006         (getTokenValue): ditto
15007         (getTokenValue): ditto
15008
15009         * screen.C (ToggleSelection): adjust
15010
15011         * lyxtext.h: put selection cursors inside a Selection struct.
15012
15013         * lyxfunc.C (moveCursorUpdate): adjust
15014
15015         * lyxfont.C (latexWriteStartChanges): add std::
15016
15017         * lyxfind.C: adjust
15018
15019         * font.h: delete with(char const *, LyXFont const &)
15020
15021         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15022
15023         * FontInfo.C (getFontname): add std::
15024
15025         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15026         (workAreaButtonPress): adjust
15027         (tripleClick): adjust
15028         (update): adjust
15029         (moveCursorUpdate): adjust
15030         (Dispatch): adjust
15031
15032         * BufferView2.C (gotoInset): adjust
15033
15034 2001-05-30  Juergen Vigna  <jug@sad.it>
15035
15036         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15037         to check pspell I add this as default as I now have new pspell
15038         libraries and they seem to use this.
15039
15040 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15041
15042         * text2.C (CutSelection): make the cursor valid before the call to
15043         ClearSelection.
15044
15045 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15046
15047         * kbsequence.C (parse): de-uglify a bit the parsing code, which
15048         relied on 0 terminated strings and other horrors. Bug found due to
15049         the new assert in lyxstring!
15050
15051         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15052         KP_ keys.
15053
15054 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15055
15056         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15057         to latinkeys.bind.
15058
15059         * lyxfunc.C (processKeySym): change method of getting to the
15060         self-insert char.
15061
15062         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15063         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15064         * BufferView_pimpl.[Ch]: here as private methods.
15065
15066 2001-05-28  Juergen Vigna  <jug@sad.it>
15067
15068         * text.C (SetHeightOfRow): added the update() call again as it is
15069         needed to initialize inset dimensions!
15070
15071 2001-05-16  Juergen Vigna  <jug@sad.it>
15072
15073         * text2.C (SetCharFont): Add new function with BufferView * and
15074         bool toggleall parameters for setting insets internal fonts.
15075         (SetFont): Freeze the undo as we may change fonts in Insets and
15076         all this change should be inside only one Undo!
15077
15078         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15079         setting font's in insets as for them we have the SetFont function!
15080
15081 2001-05-15  Juergen Vigna  <jug@sad.it>
15082
15083         * text2.C (ClearSelection): to be sure we REALLY don't have any
15084         selection anymore!
15085
15086         * tabular.C (TeXCellPreamble): fixed the left border problem for
15087         multicolumn cells.
15088
15089 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
15090
15091         * LaTeX.C (deplog): Make sure that the main .tex file is in the
15092         dependancy file
15093
15094 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15095
15096         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15097         LFUN_BREAKPARAGRAPH.
15098
15099         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15100         help test to "internal only", similar for LFUN_INSERT_URL
15101
15102         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15103         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15104         auto_region_delete and deadkeys.
15105
15106 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
15107
15108         * LColor.h:
15109         * LColor.C: remove some dead entries, tidy a little
15110
15111 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15112
15113         * lyxfunc.C (processKeySym): comment the Escape handling, remove
15114         commented code.
15115         (Dispatch): implement LFUN_ESCAPE
15116
15117         * commandtags.h: add LFUN_ESCAPE
15118
15119         * LyXAction.C (init): add entry for LFUN_ESCAPE
15120
15121         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15122         Remove commented code.
15123         (insertNote): moved here
15124         (open_new_inset): moved here
15125
15126         * BufferView[2].[Ch]: move insertNote and open_new_inset to
15127         BufferView_pimpl
15128
15129 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15130
15131         * kbmap.C (findbinding): clean it up and make it work correctly.
15132
15133         * lyx_main.C (init): do not pass argc and argv as parameters
15134
15135 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
15136
15137         * buffer.C: fix path for OS/2 & Win32
15138
15139         * lyx_gui.C:
15140         * lyx_main:
15141         * lyx_main.C: Added os:: class.
15142
15143         * os2_defines.h: update
15144
15145 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15146
15147         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15148         better by trying again with reduced state.
15149
15150 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15151
15152         * lyxrc.C (read): print error about invalid key sequence only when
15153         debugging (because not all latinX keysyms are known to some X
15154         servers)
15155
15156         * kbsequence.C (getiso): add a few std:: qualifiers
15157         (getiso): comment out extra return statement.
15158
15159 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15160
15161         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15162         handling.
15163         (Dispatch): enhance the accent inset a bit. (not perfect)
15164
15165 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15166
15167         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15168
15169 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15170
15171         * bufferlist.C (emergencyWrite): fix assert() call
15172
15173 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
15174
15175         * text.C (InsertChar): Added trivial patch to only send the "you
15176         can not do multiple spaces this way" message once during a
15177         session.
15178
15179 2001-05-08  Baruch Even  <baruch@lyx.org>
15180
15181         * Makefile.am: Changed order of libraries to get LyX to link properly
15182         with the gnome frontend.
15183
15184 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15185
15186         * LaTeXFeatures.h: add a std:: qualifier
15187
15188 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15189
15190         * paragraph.C (String): use stringstream
15191
15192 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15193
15194         * paragraph.C (writeFile): remove footflag arg
15195
15196         * buffer.C (makeLaTeXFile): use stringstream
15197         (latexParagraphs): remove footnot gurba
15198
15199         * LaTeXFeatures.C (getPackages): use stringstream
15200         (getMacros): likewise
15201         (getTClassPreamble): likewise
15202         (getFloatDefinitions): new method
15203
15204         * paragraph.C (writeFile): reindent
15205         (Erase): reindent
15206
15207         * WorkArea.h: revert the xpos + etc changes.
15208
15209         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15210
15211         * lyxparagraph.[Ch]: add copy constructor, remove Clone
15212
15213         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15214         (pasteSelection): likewise
15215         * text2.C (CreateUndo): likewise
15216
15217 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15218
15219         * minibuffer.C (peek_event): temporarily reduce the functionality
15220         of the minibuffer (to allow args on lfuns)
15221
15222         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15223         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15224
15225         * buffer.C (readInset): add compability reading of old float
15226         lists, add reading of new style float list.
15227         (readInset): avoid reevaluation of inscmd.getCmdName()
15228         (getLists): reindent
15229
15230         * MenuBackend.C (MenuItem): implement parsing of
15231         md_floatlistinsert and md_floatinsert.
15232         (expand::LastFiles): move initalizaton of iterators out of loop,
15233         avoid reevaluation.
15234         (expand::Documents): introduce typdedef vector<string> Strings,
15235         and use it.
15236         (expand::ExportFormats): introduce typedef vector<Format const *>
15237         Formats, and use it.
15238         (expand): implement FloatListInsert and FloatInsert.
15239
15240         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15241         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15242         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15243
15244         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15245         handling.
15246         (Dispatch::LFUN_FLOAT_LIST): implement
15247
15248 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15249
15250         * LaTeX.C (run): Fix problem with --export code.
15251
15252 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15253
15254         * BufferView.[Ch] (workarea): removed.
15255         (getClipboard) new method; wrapper for workarea()->getClipboard()
15256
15257         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15258         bug.
15259
15260         * WorkArea.h (width, height, xpos, ypos): These methods all
15261         returned the dimensions of the work_area sub-area of WorkArea,
15262         resulting in a position error if the WorkArea were resized. Now
15263         return the dimensions of the entire WorkArea.
15264
15265         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15266
15267 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15268
15269         * LaTeX.C (deplog): correct the syntax of regex reg1
15270
15271 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15272
15273         * undo.C: remove !NEW_INSETS cruft
15274
15275 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15276
15277         * text2.C: remove !NEW_INSETS cruft
15278
15279         * text.C: remove !NEW_INSETS cruft
15280
15281         * tabular.C: remove !NEW_INSETS cruft
15282
15283         * spellchecker.C: remove !NEW_INSETS cruft
15284
15285         * lyxtext.h: remove !NEW_INSETS cruft
15286
15287         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15288
15289         * lyxfunc.C: remove !NEW_INSETS cruft
15290
15291         * lyxfind.C: remove !NEW_INSETS cruft
15292
15293         * lyx_cb.C: remove !NEW_INSETS cruft
15294
15295         * figureForm.C: remove  !NEW_INSETS cruft
15296
15297         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15298
15299         * buffer.[Ch]: remove !NEW_INSETS cruft
15300
15301         * ToolbarDefaults.C: remove !NEW_INSETS cruft
15302
15303         * CutAndPaste.C: remove !NEW_INSETS cruft
15304
15305         * BufferView_pimpl.C: remove !NEW_INSETS cruft
15306
15307         * BufferView2.C: remove !NEW_INSETS cruft
15308
15309         * BufferView.h: remove !NEW_INSETS cruft
15310
15311 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15312
15313         * Lsstream.h: include LString.h before the sstream headers to
15314         fix problem with gcc 2.95.3 and lyxstring
15315
15316 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15317
15318         * lyx_main.C: add using directives when needed for C functions
15319         declared in std:: namespace.
15320
15321 2001-04-27  Juergen Vigna  <jug@sad.it>
15322
15323         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15324         (SetHeightOfRow): comment out the update call should not be needed!
15325
15326 2001-04-13  Juergen Vigna  <jug@sad.it>
15327
15328         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15329         (LyXTabular): tried to minimize operator= operations (and realized
15330         hopfully Lars wish).
15331
15332 2001-04-27  Juergen Vigna  <jug@sad.it>
15333
15334         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15335
15336 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15337
15338         * lyxfunc.C (Dispatch): hack to make listof algorithm work
15339
15340         * buffer.C (readInset): hack to make listof algorithm work
15341
15342         * BufferView_pimpl.C: hack to make listof algorithm work
15343
15344 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15345
15346         * LyXAction.C: removed all !NEW_INSETS cruft
15347         (init): moved lfun_item in method
15348
15349         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15350
15351 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15352
15353         * BufferView2.C (theLockingInset): white space.
15354
15355 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15356
15357         * minibuffer.C: include <iostream>
15358
15359         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15360
15361         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15362
15363         * commandtags.h: add LFUN_TRANSPOSE_CHARS
15364
15365         * text.[Ch] (TransposeChars): new method
15366
15367 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15368
15369         * call message directly through LyXView instead of through LyXFunc
15370         * BufferView2.C: adjust
15371         * BufferView_pimpl.C: adjust
15372         * FontLoader.C: adjust
15373         * buffer.C: adjust
15374         * bufferview_funcs.C: adjust
15375         * converter.C: adjust
15376         * figureForm.C: adjust
15377         * importer.C: adjust
15378         * lyx_cb.C: adjust
15379         * lyx_gui_misc.C: adjust
15380         * lyxfunc.C: adjust
15381         * lyxvc.C: adjust
15382         * text2.C: adjust
15383         + more files in subdirs
15384
15385         * lyxparagraph.h (size): move up int file
15386         (GetLayout): ditto
15387
15388         * adjust all uses of Assert to lyx::Assert.
15389
15390         * BufferView2.C (ChangeCitationsIfUnique): adjust for
15391         lyxfunctional in namespace lyx
15392         * layout.C (hasLayout): ditto
15393         (GetLayout): ditto
15394         (GetLayout): ditto
15395         (delete_layout): ditto
15396         (NumberOfClass): ditto
15397         * converter.C (GetFormat): ditto
15398         (GetNumber): ditto
15399         (Add): ditto
15400         (Delete): ditto
15401         (SetViewer): ditto
15402         * bufferlist.C (getFileNames): ditto
15403         (emergencyWriteAll): ditto
15404         (exists): ditto
15405         (getBuffer): ditto
15406         * MenuBackend.C (hasSubmenu): ditto
15407         (hasMenu): ditto
15408         (getMenu): ditto
15409         * BufferView_pimpl.C (getInsetByCode): ditto
15410
15411 2001-04-18  Juergen Vigna  <jug@sad.it>
15412
15413         * vspace.C (asLatexString): fixed the 100% problem.
15414
15415 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15416
15417         * lyxfunc.C (Dispatch):
15418         * minibuffer.C:
15419         * minibuffer.h: add a few std:: qualifiers
15420
15421 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15422
15423         * minibuffer.[Ch]: reimplement so that commands is initiated and
15424         run from lyxfunc, simplified som handling, and made the completion
15425         and history code for complete. wip.
15426
15427         * lyxfunc.C (processKeySym): call message
15428         (miniDispatch): new temporary method
15429         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15430         (LFUN_MESSAGE): implement
15431         (LFUN_MESSAGE_PUSH): implement
15432         (LFUN_MESSAGE_POP): implement
15433         (initMiniBuffer): the initial/defualt minibuffer message.
15434
15435         * lyxfont.[Ch]: inline some more getters
15436
15437         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15438
15439         * lyx_gui_misc.[Ch] (WriteStatus): remove method
15440
15441         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15442         (AutoSave): use LFUN_MESSAGE
15443         (Reconfigure): ditto
15444
15445         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15446
15447         * figureForm.C: use LFUN_MESSAGE
15448
15449         * converter.C (runLaTeX): use LFUN_MESSAGE
15450
15451         * bufferview_funcs.C: use LFUN_MESSAGE
15452         (Melt): ditto
15453         (changeDepth): ditto
15454
15455         * bufferparams.h: use boost::
15456
15457         * bufferlist.h: inherit privately from noncopyable
15458
15459         * bufferlist.C (loadLyXFile): remove some commented code.
15460
15461         * buffer.C (runChktex): use LFUN_MESSAGE
15462
15463         * ShareContainer.h: inherit privately from noncopyable
15464
15465         * ParagraphParameters.[hC] (depth): inline it.
15466
15467         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15468         methods.
15469         (message): new method
15470         (messagePush): ditto
15471         (messagePop): ditto
15472         (show): init minibuffer
15473         (showState): direct call
15474
15475         * LaTeX.[Ch]: inherit privately from noncopyable
15476         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15477         instead of WriteStatus.
15478
15479         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15480
15481         * BufferView_pimpl.C (buffer): don't init minibuffer
15482         (workAreaButtonPress): use LFUN_MESSAGE
15483         (workAreaButtonRelease): ditto
15484         (savePosition): ditto
15485         (restorePosition): ditto
15486         (MenuInsertLyXFile): ditto
15487         (workAreaExpose): don't init minibuffer
15488         (update): remove commented code, simplify
15489
15490         * BufferView2.C (openStuff): use LFUN_MESSAGE
15491         (toggleFloat): ditto
15492         (menuUndo): ditto
15493         (menuRedo): ditto
15494         (copyEnvironment): ditto
15495         (pasteEnvironment): ditto
15496         (copy): ditto
15497         (cut): ditto
15498         (paste): ditto
15499         (gotoInset): ditto
15500         (updateInset): remove some commented code
15501
15502         * lastfiles.h: inherit privately from noncopyable
15503         * layout.h: ditto
15504         * lyx_gui.h: ditto
15505         * lyx_main.h: ditto
15506         * lyxlex.h: ditto
15507         * lyxlex_pimpl.h: ditto
15508
15509         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15510         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15511         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15512
15513         * LyXAction.h: inherit privately from noncopyable, add methods
15514         func_begin, func_end, returning iterators to the func map.
15515
15516         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15517         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15518         (func_begin): new method
15519         (func_end): new method
15520
15521         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15522         and not)
15523         (copySelection): ditto
15524         (pasteSelection): ditto
15525
15526         * BufferView.C: whitespace change
15527         * BufferView.h: inherit privately from noncopyable
15528
15529 2001-04-16  Allan Rae  <rae@lyx.org>
15530
15531         * tabular-old.C (l_getline):
15532         * spellchecker.C (sc_check_word):
15533         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15534         an unrecognised preprocessor directive.  So ensure they're wrapped.
15535
15536 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
15537
15538         * src/exporter.C (Export): Give an error message when path to file
15539         contains spaces.
15540
15541 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
15542
15543         * LaTeX.C (deplog): Always check that foundfile exists.
15544
15545 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15546
15547         * lyx_main.h:
15548         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15549
15550 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15551
15552         * tabular.[Ch] (getLabelList): implement new method
15553
15554         * minibuffer.h: comment ouf setTiimer
15555
15556         * minibuffer.C (ExecutingCB): constify res
15557         (peek_event): constify s
15558         (Set): constify ntext
15559         (Init): constify nicename
15560
15561         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15562
15563         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15564         (savePosition): use two params to Minibuffer::Set
15565         (restorePosition): ditto
15566
15567 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15568
15569         * lyx_main.C: include language.h
15570
15571         * Makefile.am (lyx_main.o): add language.h
15572
15573 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15574
15575         * exporter.C:
15576         * paragraph.C:
15577         * screen.C:
15578         * tabular.C:
15579         * CutAndPaste.C: include gettext.h
15580
15581         * lyxfont.h: remove old hack with ON and OFF.
15582
15583         * lyxparagraph.h:
15584         * lyxfont.h: do not include language.h...
15585
15586         * BufferView2.C:
15587         * LaTeXFeatures.C:
15588         * Painter.C:
15589         * bufferview_funcs.C:
15590         * font.C:
15591         * lyxfont.C:
15592         * text.C:
15593         * text2.C:
15594         * trans_mgr.C:
15595         * paragraph.C: ... but do it here instead
15596
15597 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15598
15599         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15600
15601         * tabular.C: small reformat
15602
15603         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15604         NEW_INSETS version
15605         (GetChar): ditto
15606         (BreakParagraph): ditto
15607         (SetOnlyLayout): ditto
15608         (SetLayout): ditto
15609
15610         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15611         with one arg less.
15612
15613         * lastfiles.C: removed most using decl, add std:: where needed
15614
15615         * buffer.C: ws changes
15616
15617         * MenuBackend.C (class compare_format): put into anon namespace
15618         (expand): constify label, names, action, action2
15619         (expand):
15620
15621         * text.C (SingleWidth): constify font
15622         (IsBoundary): constify rtl2
15623         (GetVisibleRow): constify ww
15624
15625         * LaTeX.C (deplog): constify logfile
15626
15627         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15628         start_x, end_x
15629         (workAreaExpose): constify widthChange, heightChange
15630
15631         * lyxrow.C (par): moved
15632         (height): moved
15633         (next): moved
15634         * lyxrow.h: as inlines here
15635
15636         * lyxfont.h (shape): moved from lyxfont.C
15637         (emph): moved from lyxfont.C
15638
15639         * lyxfont.C (LyXFont): use initialization list for all
15640         constructors
15641         (shape): move to lyxfont.h as inline
15642         (emph): move to lyxfont.h as inline
15643
15644
15645 2001-04-04  Juergen Vigna  <jug@sad.it>
15646
15647         * vspace.C: had to include stdio.h for use of sscanf
15648
15649 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
15650
15651         * BufferView.h:
15652         * BufferView_pimpl.h: remove xforms cruft. Both classes are
15653         independent of xforms.
15654
15655 2001-04-02  Juergen Vigna  <jug@sad.it>
15656
15657         * spellchecker.C: fixed namespace placing!
15658
15659 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
15660
15661         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15662         the LyXParagraph * is 0.
15663
15664 2001-03-29  Juergen Vigna  <jug@sad.it>
15665
15666         * vspace.C: added support for %, c%, p%, l%.
15667         (stringFromUnit): added helper function.
15668         (asLatexString): changed to give right results for the %-values.
15669
15670         * buffer.C: convert the widthp in a width%.
15671
15672 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
15673
15674         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15675         figureForm.[Ch].
15676
15677         * figureForm.[Ch]: stripped the FD_from_figure manipulation
15678         code out of lux_cb.[Ch], ready for its (imminent?) removal.
15679
15680         * lyx_cb.[Ch]: see above.
15681
15682         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15683         form1.[Ch].
15684
15685         * form1.[Ch]:
15686         * lyx.[Ch]: replaced by figure_form.[Ch].
15687
15688         * lyx_gui.C:
15689         * lyx_gui_misc.C:
15690         * lyxfunc.C: changed headers associated with above changes.
15691
15692 2001-03-27  Juergen Vigna  <jug@sad.it>
15693
15694         * BufferView_pimpl.C: set the temporary cursor right!
15695
15696 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
15697
15698         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15699
15700 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
15701
15702         * LString.h: removed "using std::getline"!
15703
15704         * BufferView_pimpl.C (Dispatch): changes due to changes in
15705         InsetInclude::Params.
15706
15707         * buffer.C (tag_name): removed redundant break statements as they were
15708         producing lots of warnings with my compiler.
15709
15710 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15711
15712         * LString.h: add "using std::getline" when using the real <string>.
15713
15714 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
15715
15716         * buffer.C: removed bitset usage.
15717         PAR_TAG moved to an anonymous name space.
15718         (tag_name): new funtion, also in the anonymous namespace.
15719         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15720         (makeDocBookFile): clean code. Completed transition from string arrays
15721         to string vectors.
15722         (SimpleDocBookOnePar): code clean.
15723
15724 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15725
15726         * tabular.C: add some comments.
15727
15728 2001-03-22  Juergen Vigna  <jug@sad.it>
15729
15730         * buffer.C (parseSingleLyXformat2Token): redone the minipage
15731         compatibility read a bit and fixed bug with minipage in different
15732         depth.
15733
15734 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
15735
15736         * buffer.C (pop_tag): removed.
15737         (push_tag): removed.
15738         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15739         array replaced with vector. Added support for CDATA sections.
15740         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15741         at any nest level.
15742         (makeDocBookFile): XML conformant declaration of CDATA section,
15743         fixed bug related to <emphasis> in the first paragraph char.
15744         (sgmlOpenTag): exclude empty tags.
15745         (sgmlCloseTag): ditto.
15746
15747         * buffer.h (pop_tag): removed.
15748         (push_tag): removed.
15749
15750 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
15751
15752         * language.h (Languages): added size_type and size().
15753
15754 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15755
15756         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15757         response on compability reading of minipages. One probliem is that
15758         the old usage of minipages was «flertydig»
15759
15760         * several files here and in subdirs: don't use static at file
15761         scope use anon namespaces instead.
15762
15763 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
15764
15765         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15766         LaTeX output. This is necessary for Literate document
15767         processing.
15768
15769 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15770
15771         * buffer.C: insert hfill when needed.
15772
15773         * tabular.C (l_getline): use string::erase, small whitespace change.
15774
15775         * BufferView_pimpl.C: try the anon namespace.
15776         * WorkArea.C: ditto
15777
15778 2001-03-16  Juergen Vigna  <jug@sad.it>
15779
15780         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15781         otherwise it won't open options-dialogs.
15782
15783         * buffer.C: honor pextraWidth(p) on converting minipages.
15784
15785         * tabular.C (l_getline): changed the functions to strip trailing \r.
15786
15787 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
15788
15789         * BufferView_pimpl.C:
15790         * minibuffer..C: added "using SigC::slot" declaration.
15791
15792 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15793
15794         * lyxlex_pimpl.h: noncopyable is in namespace boost.
15795
15796         * text2.C: ditto
15797
15798         * text.C: ditto
15799
15800         * paragraph.C: ditto
15801
15802         * lyxtext.h: NO_PEXTRA
15803
15804         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15805
15806         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15807         * ParameterStruct.h: ditto
15808         * ParagraphParameters.h: ditto
15809         * lyxparagraph.h: ditto
15810
15811 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15812
15813         * buffer.C: add compability for minipage alignment.
15814         (latexParagraphs): remove unwanted pextra check.
15815
15816         * several files: remove CXX_WORKING_NAMESPACES
15817
15818         * buffer.C (pop_tag): tie is in namespace boost
15819
15820         * BufferView.h: noncopyable is in namespace boost
15821         * lyxlex.h: ditto
15822         * lyx_main.h: ditto
15823         * lyx_gui.h: ditto
15824         * layout.h: ditto
15825         * lastfiles.h: ditto
15826         * bufferlist.h: ditto
15827         * ShareContainer.h: ditto
15828         * LyXView.h: ditto
15829         * LyXAction.h: ditto
15830         * LaTeX.h: ditto
15831
15832 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15833
15834         * Merging changes from BRANCH_MVC back into HEAD.
15835
15836         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15837
15838 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
15839
15840         * BufferView_pimpl.C: change from intl.C
15841
15842         * combox.h:
15843         * combox.C:
15844         * Makefile.am: move combox.*
15845
15846         * form1.h:
15847         * form1.C:
15848         * lyx_gui.C:
15849         * intl.h:
15850         * intl.C: remove dialog (covered by prefs)
15851
15852 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15853
15854         * lyxfunc.C (Dispatch): removed redundant break statement.
15855
15856 2001-03-14  Juergen Vigna  <jug@sad.it>
15857
15858         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15859
15860 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15861
15862         * buffer.C: add hack to fix compability reading of minipages.
15863
15864 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
15865
15866         * buffer.C (getLists): Cleanup.
15867
15868 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15869
15870         * lyxfont.C (update): don't honor toggleall on font size.
15871
15872 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
15873
15874         * bmtable.c:
15875         * bmtable.h:
15876         * Makefile.am: moved to frontends/xforms/
15877
15878         * lyx_gui_misc.C:
15879         * lyxfunc.C:
15880         * BufferView_pimpl.C: changes for moved mathpanel
15881
15882 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15883
15884         * gettext.h: fix gettext_init() in --disable-nls
15885
15886 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15887
15888         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15889
15890 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
15891
15892         * lyx.C:
15893         * lyx.h: strip external form
15894
15895 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15896
15897         * BufferView_pimpl.C: add comment, destroySplash()
15898
15899 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15900
15901         * BufferView_pimpl.C:
15902         * LyXAction.C:
15903         * buffer.C:
15904         * commandtags.h:
15905         * lyxfunc.C: use re-worked insetinclude
15906
15907 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15908
15909         * buffer.C: add using std::stringstream.
15910
15911         * lyx_cb.C: readd using std::ios.
15912
15913         * buffer.C: add using std::map.
15914
15915         * BufferView_pimpl.C: add using std::vector.
15916
15917         * ShareContainer.h: add std:: to swap.
15918
15919         * buffer.h: add some typedefs
15920         * buffer.C (getLists): use them
15921         (getLists): renamed from getTocList.
15922         add a counter for the different float types and use it in the
15923         generated string.
15924         (getLists): use the same counter for the NEW_INSETS and the "non"
15925         NEW_INSETS
15926
15927         * lyx_cb.h: remove unused items, includes, using etc.
15928
15929         * ShareContainer.h: remove some commented code, add more comments
15930         and "documentation".
15931
15932 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15933
15934         * buffer.C (getTocList): make the list also when NEW_INSETS is
15935         defined.
15936
15937         * buffer.h: remove TocType
15938
15939         * buffer.C (getTocList): change to return a map<string,
15940         vector<TocItem> >, implement for dynamic number of list.
15941
15942         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15943         * text2.C (PasteSelection): adjust
15944         * CutAndPaste.C (pasteSelection): adjust
15945
15946         * FloatList.C (FloatList): update from the new_insets branch.
15947         * Floating.[Ch]: ditto
15948         * LaTeXFeatures.C: ditto
15949         * buffer.C: ditto
15950         * lyxlex_pimpl.C: ditto
15951
15952         * paragraph.C (Last): remove when NEW_INSETS is defined.
15953
15954         * other file: changes because of the above.
15955
15956 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15957
15958         * lyxparagraph.h: rename next to next_, previous to previous_,
15959         make them private for NEW_INSETS. Rename Next() to next(),
15960         Previous() to previous().
15961
15962         * other files: changes because of the above.
15963
15964 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
15965
15966         * BufferView.h:
15967         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15968         problem.
15969
15970 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15971
15972         * main.C (main): pass lyx_localedir to gettext_init().
15973
15974         * gettext.h: remove locale_init and gettext_init macros
15975
15976         * gettext.C (locale_init): new function
15977         (gettext_init): new function
15978
15979         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15980         setlocale().
15981
15982 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
15983
15984         * Moved credits to frontends:
15985         * credits.[Ch]: removed
15986         * credits_form.[Ch]: removed
15987         * lyx_gui_misc.C: remove credits stuff
15988         * Makefile.am:
15989
15990 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15991
15992         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15993
15994         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15995         unneeded destructor.
15996
15997         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15998         a standalone pointer again.
15999
16000         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16001
16002 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
16003
16004         * Makefile.am:
16005         * filedlg.h:
16006         * filedlg.C:
16007         * LyXAction.C:
16008         * ToolbarDefaults.C:
16009         * bufferlist.C:
16010         * commandtags.h:
16011         * form1.C:
16012         * form1.h:
16013         * lyx_cb.C:
16014         * lyx_cb.h:
16015         * lyxfunc.h:
16016         * lyxfunc.C:
16017         * BufferView_pimpl.C: use new file dialog in GUII
16018
16019         * lyx_cb.h:
16020         * lyx_cb.C: remove LayoutsCB to Toolbar
16021
16022 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16023
16024         * ShareContainer.h (get): add std:: qualifier
16025
16026 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16027
16028         * ShareContainer.h: define a proper ShareContainer::value_type
16029         type (and use typename to please compaq cxx)
16030
16031 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16032
16033         * lyxparagraph.h: move serveral local vars to
16034         ParameterStruct/ParagraphParameters., use ShareContainer in
16035         FontTable., make vars in FontTable private and add getter and
16036         setter.
16037
16038         * paragraph.C: changes because of the above.
16039
16040         * lyxfont.h: remove copy constructor and copy assignment. (the
16041         default ones is ok), move number inside FontBits. move inlines to
16042         lyxfont.C
16043
16044         * lyxfont.C: add number to initializaton of statics, move several
16045         inlines here. constify several local vars. some whitespace
16046         cleanup. Dont hide outerscope variables.
16047
16048         * Spacing.h: add two new constructors to match the set methods.
16049
16050         * ShareContainer.h: new file, will perhaps be moved to support
16051
16052         * ParameterStruct.h: new file
16053
16054         * ParagraphParameters.h: new file
16055
16056         * ParagraphParameters.C: new file
16057
16058         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16059         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16060
16061         * BufferView_pimpl.C: ParagraphParameter changes.
16062         * buffer.C: Likewise.
16063         * bufferview_funcs.C: Likewise.
16064         * text.C: Likewise.
16065         * text2.C: Likewise.
16066
16067 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16068
16069         * lyxfind.C (LyXReplace): do not redefine default argument in
16070         implementation.
16071         (IsStringInText): ditto
16072         (SearchForward): ditto
16073         (SearchBackward): ditto
16074
16075 2001-03-06  Juergen Vigna  <jug@sad.it>
16076
16077         * lyxfind.C (IsStringInText): put parentes around expressions.
16078
16079 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
16080
16081         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16082
16083 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
16084
16085         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16086
16087         * stl_string_fwd.h: add comment
16088
16089         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16090
16091         * tabular.h:
16092         * tabular.C: remove unused DocBook methods
16093
16094         * intl.C:
16095         * language.C:
16096         * paragraph.C:
16097         * buffer.C:
16098         killed DO_USE_DEFAULT_LANGUAGE
16099
16100 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16101
16102         * lyx_gui.C: do not include language.h.
16103
16104         * bufferview_funcs.C (ToggleAndShow): do not provide optional
16105         arguments in function implementation.
16106
16107 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16108
16109         * BufferView_pimpl.C: add <ctime>
16110
16111 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16112
16113         * BufferView_pimpl.C: add using std::find_if
16114
16115 2001-02-27  José Matos  <jamatos@fep.up.pt>
16116
16117         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16118         by OnlyPath.
16119
16120 2001-02-11  José Matos  <jamatos@fep.up.pt>
16121
16122         * buffer.C (makeDocBookFile): command styles now have a parameter as
16123         "title" by default.
16124
16125 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
16126
16127         * layout_forms.[Ch]: removed
16128         * lyx_cb.[Ch]: out character
16129         * lyx_gui.C: out character
16130         * lyx_gui_misc.C: out character
16131         * bufferview_funcs.C: : out character,
16132         added toggleall as parameter in ToggleAndShow
16133
16134 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
16135
16136         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16137
16138         * text2.C (SetCurrentFont): Disable number property at boundary.
16139
16140 2001-02-26  Juergen Vigna  <jug@sad.it>
16141
16142         * lyxfunc.C (getStatus): added a string argument override function so
16143         that this is correctly called from LyXFunc::Dispatch if it contains a
16144         do_not_use_argument which is used!
16145         (Dispatch): added check for "custom" export and call appropriate func.
16146
16147 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
16148
16149         * lyxrc.C: Add language_command_local, language_use_babel and
16150         language_global_options.
16151
16152         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16153
16154         * buffer.C (makeLaTeXFile): Use language_use_babel and
16155         language_global_options.
16156
16157 2001-02-23  Juergen Vigna  <jug@sad.it>
16158
16159         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16160         which works with LyXText and putted it inside BufferView. Here now we
16161         only call for that part the BufferView::Dispatch() function.
16162
16163         * BufferView.C (Dispatch): added.
16164
16165         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16166         functions which needs to use a LyXText over from LyXFunc.
16167         (MenuInsertLyXFile): added
16168         (getInsetByCode): added
16169         (moveCursorUpdate): added
16170         (static TEXT): added
16171
16172 2001-02-22  Juergen Vigna  <jug@sad.it>
16173
16174         * BufferView_pimpl.C (update): call a status update to see if LyXText
16175         needs it.
16176
16177 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16178
16179         * vc-backend.C (revert): implement for CVS
16180         (getLog): implement for CVS
16181
16182 2001-02-20  Juergen Vigna  <jug@sad.it>
16183
16184         * text2.C (ClearSelection): added BufferView param for inset_owner call
16185
16186         * lyxfunc.C (TEXT): added this function and use it instead of
16187         directly owner->view()-text of getLyXText().
16188
16189 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
16190
16191         * src/layout_forms.C: out preamble
16192         * src/layout_forms.h: out preamble
16193         * src/lyx_cb.C: out preamble
16194         * src/lyx_cb.h: out preamble
16195         * src/lyx_gui.C: out preamble
16196         * src/lyx_gui_misc.C: out preamble
16197         * src/lyxfunc.C: connect with guii preamble
16198
16199 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
16200
16201         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16202
16203 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
16204
16205         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16206         whether to run bibtex.
16207
16208 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
16209
16210         * Makefile.am (lyx_SOURCES): Remove BackStack.h
16211
16212 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
16213
16214         * Makefile.am (lyx_SOURCES): removed bibforms.h
16215
16216         * vspace.h: doxygen
16217
16218         * text.C (GetVisibleRow): make several local vars const
16219
16220         * tabular.C: small cleanup.
16221
16222         * lyxserver.C (callback): use compare instead of strncmp
16223
16224         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16225         inlines to after class or to paragraph.C
16226
16227         * lyxfont.h: remove friend operator!=
16228
16229         * converter.h: move friend bool operator< to non friend and after
16230         class def.
16231
16232         * combox.h: small cleanup
16233
16234         * buffer.h: doxygen, remove unused constructor, move inclas inlies
16235         to inlines after class def.
16236
16237         * buffer.C (pop_tag): use string operations instead of strcmp
16238
16239         * bmtable.c: doxygen, small cleanup
16240
16241         * LaTeX.h: remove friend operator==
16242
16243 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
16244
16245         * screen.C:
16246         * lyxrc.[Ch]:
16247         * lyxfunc.C:
16248         * lyxfont.[Ch]:
16249         * lyx_cb.C:
16250         * intl.[Ch]:
16251         * commandtags.h:
16252         * buffer.C:
16253         * WorkArea.[Ch]:
16254         * LyXAction.C:
16255         * BufferView_pimpl.C:
16256         * BufferView.[Ch]: remove cruft
16257
16258 2001-02-14  Juergen Vigna  <jug@sad.it>
16259
16260         * lyxfunc.C: removed #if 0 unused code
16261
16262         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16263
16264         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16265
16266         * text2.C (SetSelection): added a BufferView * parameter
16267
16268 2001-02-13  Juergen Vigna  <jug@sad.it>
16269
16270         * lyxfunc.C (Dispatch): fixed protected blank problem.
16271         * BufferView2.C (protectedBlank): added LyxText * parameter.
16272
16273         * tabular.C (AppendRow): forgot to set row_info of newly added row.
16274         (AppendColumn): same as above for column_info.
16275
16276         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16277         (moveCursorUpdate): use a LyXText param for support of InsetText.
16278
16279         * BufferView_pimpl.C (doubleClick): added support for InsetText.
16280         (tripleClick): ditto
16281
16282         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16283
16284         * BufferView_pimpl.C (update): added LyXText param to honor insets.
16285
16286         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16287
16288         * text2.C (SetSelection): set correct update status if inset_owner
16289         (ToggleFree): ditto
16290
16291 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
16292
16293         * tabular.C: remove some commented code.
16294
16295 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
16296
16297         * BufferView_pimpl.C: call hideSplash()
16298
16299         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16300
16301         * include_form.h:
16302         * bibforms.h: remove
16303
16304         * lyxfunc.C:
16305         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16306           add LFUN_CHILD_CREATE
16307
16308         * counters.h: fix tiny typo
16309
16310         * lyx_cb.C:
16311         * lyx.h:
16312         * lyx_gui.C:
16313         * lyx.C: move splash to frontends/xforms/
16314
16315         * lyx_gui_misc.C: move Include and Bibform to frontends
16316
16317         * lyxvc.h: clarify comment
16318
16319         * vspace.C: tiny housekeeping
16320
16321 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
16322
16323         * text.C (PrepareToPrint): RTL Fix.
16324
16325         * paragraph.C (GetUChar): New method.
16326         (String):  Use GetUChar.
16327
16328         * buffer.C (asciiParagraph): Use GetUChar.
16329
16330 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
16331
16332         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16333
16334 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
16335
16336         * buffer.h:
16337         * buffer.C: rename to getLogName(), handle
16338           build log / latex log nicely
16339
16340 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16341
16342         * MenuBackend.C:
16343         * MenuBackend.h: remove support for reference menuitem type.
16344
16345 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
16346
16347         * BufferView_pimpl.C: housekeeping
16348         * BufferView_pimpl.h:
16349         * LyXView.h:
16350         * Makefile.am:
16351         * Timeout.C:
16352         * Timeout.h:
16353         * minibuffer.h: move Timeout GUI-I
16354
16355 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
16356
16357         * lyxrc.C (read): Update converters data-structures.
16358
16359 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
16360
16361         * LaTeX.h (operator!=): add operator != for Aux_Info
16362
16363 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
16364
16365         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16366
16367         * LaTeXLog.C: deleted, useful code moved to Buffer
16368
16369         * buffer.h:
16370         * buffer.C: new function getLatexLogName()
16371
16372         * lyx_gui_misc.C:
16373         * lyx_gui.C:
16374         * lyxvc.C:
16375         * lyxvc.h:
16376         * lyxfunc.C: use frontends for LaTeX and VC logs
16377
16378 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16379
16380         * LaTeX.h: yet another std:: that Allan forgot.
16381
16382         * Variables.C (set): renamed from isset(), because this clashes
16383         with some HP-UX macros (grr).
16384
16385 2001-02-06  Allan Rae  <rae@lyx.org>
16386
16387         * LaTeX.h: Another bug fix.  Missing std:: this time.
16388
16389 2001-02-04  Allan Rae  <rae@lyx.org>
16390
16391         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16392         floats problem. I've left it commented out because it's not quite
16393         correct.  It should also test that the current object is a table or
16394         figure inset.  But I haven't gotten around to figuring out how to do
16395         that.  I *think* it'll be something like: "table" == inset.type()
16396
16397         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16398         bool.
16399
16400 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
16401
16402         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16403         all the citation/databases/styles in the auxilary file.
16404         (run): Rerun latex if there was a babel language error.
16405
16406 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
16407
16408         * text.C (Backspace): Preserve the font when changing newline char
16409         with a space.
16410         (BreakParagraph): If the cursor is before a space, delete the space.
16411
16412         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16413
16414 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
16415
16416         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16417         new argument (code).
16418         (ChangeCitationsIfUnique): New method.
16419
16420         * paragraph.C (GetPositionOfInset): Handle bibkey.
16421
16422 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16423
16424         * BufferView_pimpl.h: change type of Position::par_pos to
16425         LyXParagraph::size_type.
16426
16427 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
16428
16429         * BufferView_pimpl.C (savePosition, restorePosition): Write
16430         messages to minibuffer.
16431
16432 2001-01-28  José Matos  <jamatos@fep.up.pt>
16433
16434         * buffer.C (makeDocBookFile): adds support for document language.
16435         A silly restriction on the name of LatexCommand types where removed.
16436         Added support for CDATA sections, allows to chars unescaped, used
16437         among others in code, to avoid escape < and >.
16438
16439 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16440
16441         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16442         saved positions instrad of a stack. Furthermore, a position is
16443         stored using paragraph id/paragraph position.
16444
16445         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16446         Remove LFUN_REF_BACK.
16447
16448 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16449
16450         * converter.C (dvipdfm_options): New method.
16451
16452 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
16453
16454         * vspace.C (isValidLength): Fix for empty input string.
16455
16456 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16457
16458         * LyXAction.C (init): change description of LFUN_FIGURE to
16459         "Insert Graphics"
16460
16461 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16462
16463         * LaTeX.C: add using directive
16464
16465 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16466
16467         * MenuBackend.C (expand): Fix the sorting of the formats.
16468
16469 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
16470
16471         * lyx_main.C: tiny error message fix
16472
16473 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16474
16475         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16476         calling fl_initialize(). This fixes the problem with ',' as
16477         decimal separator in text files.
16478
16479 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16480
16481         * trans.C (process): Fix the keymap bug.
16482
16483 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
16484
16485         * LaTeX.C (scanAuxFiles): New method. Provides support for
16486         multiple bibliographies (when using the bibtopic/bibunits pacakges).
16487         (scanLogFile) Scan for "run BibTeX" messages.
16488
16489         * buffer.C (makeLaTeXFile): Do not load the ae package when using
16490         OT1 font encoding. Also, load the aecompl package if the ae
16491         package is loaded.
16492
16493         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16494
16495 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16496
16497         * texrow.C (increasePos): turn two error messages into debug
16498         messages.
16499
16500 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
16501
16502         * LaTeX.C (scanAux): Handle the \@input macro.
16503         (runBibTeX): Use scanAux().
16504
16505         * language.C (latex_options_): New field.
16506
16507         * LaTeXFeatures.C (getMacros): Add language macros.
16508
16509         * buffer.C (makeLaTeXFile): Small fix.
16510
16511 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16512
16513         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16514
16515         * text2.C: add a using directive.
16516
16517 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
16518
16519         * BufferView2.C:
16520         * lyx_gui_misc.h:
16521         * lyxfr1.C:
16522         * lyxfunc.C: kill LyXBell.
16523
16524 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
16525
16526         * text.C (IsBoundary): Remove the error message
16527
16528         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16529
16530         * lyxrc.C (setDefaults): Correct initialization value for
16531         font_norm_type.
16532
16533 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
16534
16535         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16536         gotoError().
16537
16538         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16539         and GotoNextNote().
16540
16541         * src/LyXAction.C: Added reference-next.
16542
16543         * text.C (InsertChar): Use contains instead of strchr.
16544
16545         * lyx_cb.C (MenuInsertLabel): Enable default value code.
16546
16547 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
16548
16549         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16550         alignment commands (when needed).
16551
16552         * text.C (InsertChar): Add ':' to number separator chars.