]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
6b41ac6c0f76b16082755ea408158848016f435c
[lyx.git] / src / ChangeLog
1 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2
3         * paragraph.C (isLetter): remove special spellchecker-related
4         code; return true also for digits
5         (isWord, isKomma): remove
6
7         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord): 
8         * lyxfind.C (MatchString()): use isLetter instead of isWord
9
10 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
11
12         * pariterator.h (operatir=): comment out un-implemented member
13         function. 
14
15         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
16         static cast.
17
18 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
19
20         * lyxfont.h: include LColor.h to satisfy concept checks.
21
22 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
23
24         * pariterator.h: add typdefs for value_type, difference_type,
25         pointer and reference to satisfy concept checks. Also add default
26         constructor for same reason.
27
28         * pariterator.C (operator++): add post-increment operator to
29         satisfy concept checks.
30
31         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
32         checks.
33
34         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
35
36         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
37         checks. Also rename base_type to BaseType to follow naming
38         standard better.
39
40         * FloatList.h: include Floating.h to satisfy concept checks.
41
42 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
43
44         * lyxfunc.C (getStatus): when the origin of the request is menu or
45         toolbar, and the LyXView does not have focus, do as if there was
46         no buffer (bug 1720)
47
48         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
49         FuncRequest to individual entries of LFUN_SEQUENCE
50
51 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
52
53         * output_latex.C (TeXOnePar): override runparams.moving_arg
54         according to the needprotect value of the current paragraph (bug
55         1739)
56
57         * paragraph.C (simpleTeXOnePar): no need to override
58         runparams.moving_args here
59
60 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
61
62         * vspace.C: fix off-by-one-error, related to fix #1682
63
64 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
65
66         * lengthcommon.C: a more general fix for bug 1682
67
68 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
69
70         * text.C (backspace): fix crash
71
72 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
73
74         * format.[Ch] (getFormatFromFile): new method
75         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
76
77 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
78
79         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
80
81 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
82
83         * lyxfunc.C (dispatch): remove the verbose argument
84         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
85         instead
86
87         * kbmap.C (defkey): set the origin of func to KEYBOARD
88
89         * MenuBackend.C (MenuItem):
90         * ToolbarBackend.C (add): set the origin of func to UI
91
92         * funcrequest.[Ch]: add origin member, which indicates which part
93         of LyX requests an action
94
95 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
96
97         * converter.C (move): don't lie in the error message
98         * converter.h (isReachable, move): document
99
100 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
101
102         * buffer.C: remove unused using lyx::support::atoi
103         * paragraph_funcs.C: ditto
104
105 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
106
107         * bufferlist.C (exists): use bind and equal_to instead of
108         compare_memfun
109         (getBuffer): ditto
110         * lyxtextclasslist.C (NumberOfClass): ditto
111
112         * cursor.C (insert): use for_each instead of explicit for loop
113
114         * bufferlist.C (getFileNames): use std::transform and
115         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
116
117         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
118         for loop
119
120         * buffer.C (changeLanguage): use for_each instead of explicit for
121         loop
122         (hasParWithID): implement using getParFromID
123
124         * LaTeXFeatures.C: ws change only
125
126         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
127         to cleanup a bit.
128
129         * BufferView_pimpl.C (trackChanges): use for_each instead of
130         expilicit for loop
131
132 2004-11-04  André Pönitz  <poenitz@gmx.net>
133
134         * undo.h:
135         * undo.C (textUndoOrRedo): fix crash when creating undo information.
136
137         * dociterator.C (asDocIterator): use hard assert again.
138
139 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
140
141         * lyxlength.C (asLatexString): rewrite so that it does not use
142         snprintf anymore
143
144 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
145
146         * text3.C (specialChar, dispatch): make sure cursor moves to the
147         right after inserting an inset
148
149 2004-11-02  José Matos  <jamatos@lyx.org>
150
151         * output_docbook.C (docbook):
152         * paragraph.C (getID):
153         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
154         garantee that the output is always legal.
155
156         * tabular.C (docbook):
157         * outputprams.[Ch]: remove mixed contents.
158
159 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
160
161         * text2.C (setCounter): prevent endless loop
162
163 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
164
165         * exporter.C (copyFile): use the mover instead of support::copy()
166         * exporter.C (Export): pass format and latex name to copyFile()
167         * exporter.h (addExternalFile): document
168         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
169
170 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
171
172         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
173
174 2004-10-30  José Matos  <jamatos@lyx.org>
175
176         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
177         text and no inset or font change. This allows to use CDATA
178         sections just for the whole paragraph.
179
180 2004-10-30  José Matos  <jamatos@lyx.org>
181
182         * paragraph.C (getFirstWord): remove unused variable.
183
184 2004-10-30  José Matos  <jamatos@lyx.org>
185
186         * paragraph.C (getFirstWord): the content should always be escaped
187         there.
188         (simpleDocBookOnePar):
189         * output_docbook.C (makeEnvironment): replace reference to CDATA
190         to style pass_thru.
191
192 2004-10-30  José Matos  <jamatos@lyx.org>
193
194         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
195
196 2004-10-30  José Matos  <jamatos@lyx.org>
197
198         * output_docbook.C (makeParagraphs):
199         * paragraph.[Ch] (emptyTag): for docbook and company, if the
200         standard paragraph has only a given type of content drop the wrapper.
201
202 2004-10-29  José Matos  <jamatos@lyx.org>
203
204         * output_docbook.C (makeEnvironment):
205         * sgml.C (openTag):
206         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
207
208 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
209
210         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
211         (cleanID): sanitize any id.
212
213 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
214
215         * buffer.C, lyxlex_pimpl.C:
216         * lyxlex_pimpl.C (setFile):
217         s/getExtFromContents/getFormatFromContents/
218
219 2004-10-28  José Matos  <jamatos@lyx.org>
220
221         * output_docbook.C (makeEnvironment): move id to broadest possible
222         scope.
223
224         * sgml.C (openTag): apply substitution of <> for all attributes.
225
226 2004-10-28  José Matos  <jamatos@lyx.org>
227
228         * buffer.C (makeLinuxDocFile, makeDocBookFile):
229         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
230         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
231
232         * sgml.[Ch]: new version for open and closeTag for paragraph and
233         for strings. Now they handle the ids of paragraphs.
234
235 2004-10-26  Angus Leeming  <leeming@lyx.org>
236
237         * Makefile.am: add mover.[Ch].
238
239         * converter.C (convert, move): use the new Movers to move external
240         files to the temp directory.
241
242         * lyx_main.C (init): ensure that the global system_movers data
243         is initialised.
244
245         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
246         preferences file.
247
248         * mover.[Ch]: new files, defining a Mover as a utility to move an
249         external file between directories and, if necessary, manipulate this
250         file using a helper script.
251
252 2004-10-25  José Matos  <jamatos@lyx.org>
253
254         * output_docbook.C (makeCommand): merge two if's that tested the
255         same condition.
256
257 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
258
259         * sgml.C (escapeString): fix warning in a better way
260
261 2004-10-25  José Matos  <jamatos@lyx.org>
262
263         * sgml.C (escapeString): import the require boosts header file for
264         tie, and avoid a signed unsigned comparison.
265
266 2004-10-25  José Matos  <jamatos@lyx.org>
267
268         * sgml.h: add #include <string>
269
270 2004-10-25  José Matos  <jamatos@lyx.org>
271
272         * sgml.[Ch] (escapeString): new function to escape all the string.
273
274 2004-10-24  José Matos  <jamatos@lyx.org>
275
276         * paragraph.[Ch] (getFirstWord): new function to get the first
277         word. Useful for description.
278         (simpleDocBookOnePar): remove depth argument, add another that
279         says where to start the paragraph.
280
281         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
282         use the new functions to fix cleanly the support for descriptions.
283
284 2004-10-24  José Matos  <jamatos@lyx.org>
285
286         * buffer.C (makeLinuxDocFile, makeDocBookFile):
287         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
288         * output_linuxdoc.C (linuxdocParagraphs):
289         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
290         add buffer as argument.
291
292 2004-10-24  José Matos  <jamatos@lyx.org>
293
294         * output_docbook.C (makeEnvironment, searchEnvironment): place
295         CDATA inside paragraphs and fix scope for listitems.
296
297 2004-10-24  José Matos  <jamatos@lyx.org>
298
299         * output_docbook.C: remove using statement for stack.
300
301 2004-10-23  José Matos  <jamatos@lyx.org>
302
303         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
304         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
305         docbook. The new scheme is recursive and makes use of iterators, the
306         same as latex export works.
307         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
308         directly with the paragraph contents. This code was moved up to
309         output_docbook.C (docbookParagraphs).
310         * sgml.C (openTag, closeTag): removed unneeded newlines.
311         (closeEnvTags) removed.
312
313 2004-10-23  André Pönitz  <poenitz@gmx.net>
314
315         * undo.C (textUndoOrRedo):
316         * dociterator.C (asDocIterator): work around crash
317
318         * cursor.C (getStatus): replace ASSERT by more verbose error message
319           and manual correction of the problem. Should increase stability
320           while providing more sensible information.
321
322 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
323
324         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
325
326         * bufferlist.C (previous, next): new methods
327
328         * lfuns.h:
329         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
330
331 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
332
333         * buffer.C (makeDocBookFile): add dsssl stylesheet control
334         entities to preamble.
335
336 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
337
338         * messages.C (Pimpl): strip off translation context information
339
340 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
341
342         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
343         the cursor is correct (bug 1694)
344
345 2004-10-13  José Matos  <jamatos@lyx.org>
346
347         * output_docbook.C (docbookParagraphs): fix closing tags in the
348         end of the document.
349
350 2004-10-09  José Matos  <jamatos@lyx.org>
351
352         * buffer.C: format up to 237.
353         * bufferparams.C (write): use tostr to convert booleans to strings.
354
355 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
356
357         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
358
359 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
360
361         * LaTeX.C: implement use of babel language in xindy.
362
363 2004-10-05  José Matos  <jamatos@lyx.org>
364
365         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
366         Add new translators to help reading and writing the lyx file.
367
368 2004-10-05  José Matos  <jamatos@lyx.org>
369
370         * ParagraphParameters.C (read):
371         * text.C (readParToken): replace nexToken by more appropriate lex
372         methods.
373
374 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
375
376         * LaTeX.C (runMakeIndex):
377         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
378         (usually 'makeindex') configurable.
379
380         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
381         with a variable rather than with a number.
382
383 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
384
385         * output_latex.C (TeXOnePar): make sure font setting is the first
386         thing that gets output (and the last at the end). Should fix bug
387         1404.
388
389 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
390
391         * pch.h: use proper signal include
392
393         * LaTeX.h: Use preferred calling of Boost.Signal
394         * buffer.h: ditto
395
396 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
397
398         * pch.h: dont include <boost/function/function0.hpp>
399
400         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
401
402         * paragraph_pimpl.h: remove usage of ShareContainer
403
404         * paragraph_pimpl.C: remove initialization of ShareContainer.
405
406 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
407
408         Fix bug #1666
409
410         * BufferView.C (putSelectionAt): change the semantics when
411         backwards == true: now, this just swaps cursor and anchor wrt the
412         forward case
413
414         * BufferView.h (putSelectionAt): add some documentation
415
416         * lyxfind.C (findBackwards): rewrite using while(). In particular,
417         make sure backwardChar is done at least once (to avoid getting
418         stuck)
419         (findNextChange): use putSelectionAt in the forward direction
420         (operator()): use Paragraph::isWord
421
422 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
423
424         * Spacing.C (set): c_str fix
425
426 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
427
428         * lyx_cb.C (Reconfigure): quote the name of configure script in
429         case it contains spaces
430
431 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
432
433         * client: new dir
434
435         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
436         (BOOST_LIBS): use top_buildir when looking for the file
437
438 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
439
440         * pch.h: do not use include boost/format.hpp, multiple symbols
441                 will result (gcc bug)
442
443
444 2004-08-23  José Matos  <jamatos@lyx.org>
445
446         * bufferparams.C (readToken): fix reading of the author field.
447
448 2004-08-20  José Matos  <jamatos@lyx.org>
449
450         * lyxrc.C: remove support/translator.h inclusion since it is not used.
451
452 2004-08-20  José Matos  <jamatos@lyx.org>
453
454         * lyxlex.[Ch] (findToken): remove function.
455
456         * ParagraphParameters.C (findToken):
457         * bufferparams.C (findToken): replace call for previous function
458         with local copy. This local function has one more argument, the
459         read string argument.
460
461 2004-08-16  José Matos  <jamatos@lyx.org>
462
463         * ParagraphParameters.C (write):
464         * Spacing.C (writeFile):
465         * bufferparams.C (writeLaTeX):
466         * lyx_cb.C (Reconfigure):
467         * paragraph.C (write):
468         * tabular.C (write): remove unnecessary space at end of line.
469
470
471 2004-08-16  José Matos  <jamatos@lyx.org>
472
473         * text.C (readParagraph): remove debug message.
474
475 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
476
477         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
478         crash
479
480         * output_plaintext.C (asciiParagraph): set depth correctly
481
482         * outputparams.h: add member depth
483
484         * paragraph_funcs.C (ownerPar): remove.
485
486         * text2.C (setCounter): remove first_pit; comment out some
487         non-working code that uses ownerPar
488
489         * BufferView.C (getParentLanguage): remove. Not used anymore, and
490         uses ownerPar
491
492 2004-08-16  José Matos  <jamatos@lyx.org>
493
494         * text.C (readParToken, readParagraph, read): report all unknown tokens.
495         For the same level of importance use the same chanel to report problems.
496         (read): add code to deal with \begin_body and \end_body.
497
498
499 2004-08-15  José Matos  <jamatos@lyx.org>
500
501         * lyxlex.C (getString): fix comment, buffer::readBody is now
502         buffer:readDocument.
503
504         * tex-strings.C (string_papersize): Default -> default,
505         Custom -> custom, for consistency with other options.
506
507 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
508
509         * pch.h: new file
510
511         * Makefile.am: support pch
512
513 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
514
515         * text.C (readParToken): remove the static LyXFont variable and
516         pass it as a parameter instead. This fixes a nasty bug where an
517         inset will be inserted with a bad font in some situations
518         (readParagraph): adapt
519
520         * text2.C (setCounter): reduce number of calls to pars_[pit]
521
522         * text.C (singleWidth): add an assert, fix a test
523
524         * rowpainter.C (paintText): reduce number of calls to singleWidth
525
526         * paragraph.C (isHfill):
527         (isNewline): ws only
528
529 2004-08-14  André Pönitz  <poenitz@gmx.net>
530
531         * text.C:
532         * text2.C:
533         * rowpainter.C:
534         * lyxtext.h (several functions): use a Paragraph & argument
535         instead of par_type
536
537 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
538
539         * metricsinfo.h: add a new field ltr_pos to PainterInfo
540
541         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
542
543         * text.C (singleWidth): remove useless test
544
545 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
546
547         * tabular.h: remove bogus comments
548
549         * tabular.C (getDescentOfRow):
550         (isPartOfMultiColumn): add assertions
551
552         * lyxlength.C (inPixels): remove #warning
553
554 2004-08-14  André Pönitz  <poenitz@gmx.net>
555
556         * paragraph.h: inline getChar()
557
558         * BufferView.h: remove unused declarations
559
560 2004-08-14  José Matos  <jamatos@lyx.org>
561
562         * Buffer.[Ch] (readDocument): new name for old readBody.
563         * Buffer.C: new file format, new keywords: \begin_document,
564         \begin_header, \begin_body, \end_body.
565
566         * bufferparams.C (readToken): replace all calls to lex.nextToken
567         by lex.next(). Do the same to eatLine except where really needed.
568
569         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
570         line when writing to the lyx file.
571
572         * output_plaintext.C (asciiParagraph): fix Bibliography style
573         handling.
574
575         * text.C (read): fix end of file handling.
576
577 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
578
579         * MenuBackend.C (Menu::operator[]): new method to access
580         individual menu items
581         (Menu::hasFunc): new method. search for an item that corresponds
582         to a given func
583         (MenuBackend::specialMenu): new method
584         (MenuBackend::expand): if a special menu has been set, skip
585         entries whose func() appears in this menu
586
587 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
588
589         * text3.C: use Debug::DEBUG a bit more
590
591         * text.C (leftMargin): try to simplify a tiny bit change var x to
592         l_margin. Dont output the wide margins always.
593         (rightMargin): no margin in inner texts
594
595         * rowpainter.h (nestMargin): new func
596         (changebarMargin): new func
597         (rightMargin): new func
598
599         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
600         now functions.
601         (paintLast): ditto
602
603         * factory.C (createInset): modify setDrawFrame
604
605         * cursor.C: use Debug::DEBUG a bit more
606
607 2004-08-14  André Pönitz  <poenitz@gmx.net>
608
609         * coordcache.[Ch]:
610         * Makefile.am: new files to accomodate an 'external' (x,y)-position
611         cache for all insets in (at least partially) visible (top-level)
612         paragraphs.
613
614         * BufferView_pimpl.C: reset external coord cache before every update.
615         This means the coord cache only contains valid entries.
616
617 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
618
619         bug 1096
620         * BufferView_pimpl.C (getInsetByCode): move function out of class
621         and change in to a template in anon namespace. Also fix to do what
622         suits us better.
623
624 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
625
626         bug 1305
627         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
628         of char
629         (breakParagraph): rename par to par_offset and use a local
630         reference. Add code to keep the language over a rebreak.
631         (breakParagraphConservative): rename par to par_offset, use a
632         local reference
633         (mergeParagraph): ditto
634         (outerHook): ditto
635         (isFirstInSequence): ditto
636         (outerFont): rename pit to par_offset
637
638         * paragraph.C: ws change
639         * paragraph.h: ditto
640         * text3.C: ditto
641         * text.C: ditto
642
643 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
644
645         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
646         treatment for ']'
647
648         * paragraph.C (simpleTeXOnePar): when we have a \item with
649         optional argument, enclose the argument with curly brackets (in
650         case it contains a closing square bracket)
651
652         * text2.C (editXY):
653         * text2.C (editXY):
654         * text3.C (checkInsetHit): constify
655
656 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
657
658         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
659         documents (bug 1629)
660
661 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
662
663         Fix toggling of collapsable insets with the mouse (bug 1558)
664
665         * lyxfunc.C (dispatch): adapt to LCursor changes
666
667         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
668         make sure that dispatch is not invoked twice
669
670         * cursor.C (needsUpdate): new method
671         (dispatch): return void
672         (result): new method, to access the DispatchResult of the cursor.
673
674 2004-08-13  José Matos  <jamatos@lyx.org>
675
676         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
677
678 2004-08-13  André Pönitz  <poenitz@gmx.net>
679
680         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
681
682         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
683           multiple cells
684
685 2004-08-12  André Pönitz  <poenitz@gmx.net>
686
687         * text3.C: take out the 'cursor right' form insertInset and only
688         do it in those places when it is really needed. Fixes crash on
689         C-m...
690
691 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
692
693         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
694
695         * BufferView_pimpl.C (setBuffer): initialize the current font of
696         the underlying LyXText
697
698 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
699
700         * kbsequence.C (print): use UI native formatting for menu
701         shortcuts
702
703         * text.C (insertChar): call Paragraph::insertChar with a font
704         argument (cosmetic)
705
706         * paragraph.C (insertInset, insertChar): the version that takes a
707         LyXFont argument is now a wrapper around the other one (the
708         opposite used to be true).
709
710         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
711         argument. Font setting is done in Paragraph now.
712
713 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
714
715         * outputparams.h: add new members intitle and lang.
716
717         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
718         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
719
720 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
721
722         * text3.C (dispatch): remove special handling of button 4 and 5,
723         it is now taken care of in the frontend code.
724
725 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
726
727         * Spacing.h: add <string> (STLPort compile fix)
728
729 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
730
731         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
732
733 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
734
735         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
736         to bool.
737
738         * converter.C (showMessage): inherit from unary_function, make
739         operator() const.
740
741         * buffer.C (writeFile): initialize retval
742
743         * InsetList.h: rename private variable list to list_
744         * InsetList.[Ch]: adjust accordingly.
745
746 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
747
748         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
749         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
750         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
751         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
752         * ParagraphParameters.C, LaTeXFeatures.C: replace
753         "support/std_sstream.h" with <sstream>
754
755 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
756
757         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
758         * lyxsocket.C (LyXServerSocket): ditto
759         (serverCallback): ditto
760
761 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
762
763         * LaTeXFeatures.C: check release date when loading jurabib.
764
765 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
766
767         * lyxserver.C (startPipe): call register_socket_callback
768         (endPipe): call unregister_socket_callback
769
770 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
771
772         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
773         (LyXServerSocket): register the callback
774         (LyXServerSocket): unregister the callback
775         (fd): delete function
776         (serverCallback): improve error checking and setup the callbacks.
777         (dataCallback): change arg to fd.
778         (writeln): new func (copied fro the client socket) used for server
779         write to client.
780         (LyXDataSocket): simplify
781         (~LyXDataSocket): close ann unregiser callback
782         (server): delete function
783         (fd): delete function
784         (readln): small changes, improve some std::string usage
785         (writeln): constify a bit
786
787 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
788
789         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
790         Qt frontend
791
792 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
793
794         * BufferView_pimpl.C (setBuffer): set the layout combox value only
795         after it has been populated
796
797 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
798
799         * text2.C (insertInset): move cursor when inserting inset.
800
801 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
802
803         * kbmap.C (findbindings): a couple of new methods. returns a
804         container of kb_sequence objects. The real work is done by the
805         private recursive version
806         (printbindings): uses findbindings to print out a bracketed list
807         of bindings (renamed from findbinding).
808
809         * MenuBackend.C (binding): use kb_keymap::findbindings
810
811         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
812
813 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
814
815         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
816
817 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
818
819         * paragraph.C (isWord): return true on insets that report
820         isLetter().
821
822         * text.C (getWord): use Paragraph::isWord to decide what is in a
823         word and what is not; fix bug 1609.
824
825 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
826
827         * tex-strings.C: add "none" to string_paperpackages[], fixes
828         off-by-one-error in the paperpackage selection.
829
830         * lyxlex.[Ch]:
831         * tex-strings.[Ch]: char const * string[n]
832         -> char const * const string[]
833
834 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
835
836         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
837         command, return early.
838
839 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
840
841         * debug.h: add DEBUG to enum and fix size of ANY.
842
843         * debug.C: add support for Debug::DEBUG
844         (showTags): cast errorTags.level to unsigned int
845
846         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
847         (redoCurrentBuffer): ditto
848         (updateScrollbar): ditto
849         * cursor.C (dispatch): ditto
850         * text2.C (setLayout): ditto
851         (setFont): ditto
852         (updateCounters): ditto
853         (editXY): ditto
854         (deleteEmptyParagraphMechanism): ditto
855
856 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
857
858         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
859         annotations to cleanup the Makefile slightly.
860
861 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
862
863         * lyxrc.C: do not set user_email to a default value but use empty
864         instead. The entry used to be translated, which does not work
865         since at the point where lyxrc is constructed there is no
866         translation service available
867
868         * messages.C (getLocaleDir): remove and use directly
869         lyx_localedir() instead
870
871 2004-06-02  Angus Leeming  <leeming@lyx.org>
872
873         Fix crash caused by dereferencing null pointer 'exportdata' in
874         OutputParams by creating a new ExportData variable on the heap,
875         storing it in a boost::shared_ptr.
876         The crash was triggered when generating an Instant Preview
877         of an external inset.
878
879         * Makefile.am: add outputparams.C
880
881         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
882         (c-tor): allocate memory to it.
883
884         * exporter.C (c-tor): associated changes.
885
886 2004-06-01  Angus Leeming  <leeming@lyx.org>
887
888         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
889         contains data before calling isInset(0). (Bug 1513.)
890
891 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
892
893         * exporter.C (checkOverwrite): new method
894         * exporter.C (copyFile): new method
895         * exporter.C (Export): copy referenced files to the document dir
896         * exporter.[Ch]: new class ExportedFile
897         * exporter.[Ch]: new class ExportData. Contains currently the
898         names of referenced external files
899         * outputparams.h: add exportdata member.
900
901 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
902
903         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
904         version.C-tmp
905
906 2004-05-19  Angus Leeming  <leeming@lyx.org>
907
908         * LaTeXFeatures.C:
909         * ToolbarBackend.C:
910         * bufferparams.C:
911         * lyxfunc.C: small changes due to the introduction of namespace
912         lyx::frontend and the moving of namespace biblio to lyx::biblio.
913
914 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
915
916         * text3.C (dispatch): supress update when only moving the cursor
917         * cursor.C (selHandle): remove commented code
918
919 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
920
921         * paragraph.C (startTeXParParams): correct column count
922         * CutAndPaste.C (pasteSelection): remove const_cast
923         * output_docbook.C (docbookParagraphs): remove const_cast
924         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
925         const_cast and return ParagraphList::const_iterator
926         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
927         * output_plaintext.C (writeFileAscii): remove const_cast
928         * paragraph.[Ch] (simpleTeXOnePar): make const
929         * paragraph_funcs.C (outerPar): use const iterators
930         * paragraph_pimpl.C (validate): use const iterators
931         * text.C (setHeightOfRow): use const iterators
932
933 2004-05-17  Angus Leeming  <leeming@lyx.org>
934
935         * lfuns.h:
936         * LyXAction.C (init): new LFUN_INSET_REFRESH.
937
938         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
939         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
940         if the citation engine has changed.
941
942 2004-05-14  José Matos  <jamatos@lyx.org>
943
944         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
945         if the textclass does not provide it. Have it different for sgml and
946         xml.
947         support the language of document.
948         * output_docbook.C (docbookParagraphs):
949         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
950         first anchor as the id of the paragraph, remove special case code.
951         * sgml.C (escapeChar): escape only < & >.
952
953 2004-05-14  Angus Leeming  <leeming@lyx.org>
954
955         * bufferparams.h: move biblio::CiteEngine enum here to minimize
956         dependencies on src/frontends/controllers/biblio.h. Define a
957         CiteEngine_enum wrapper class to enable the enum to be forward
958         declared.
959
960 2004-05-12  Angus Leeming  <leeming@lyx.org>
961
962         * buffer.C: up LYX_FORMAT to 234.
963         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
964         use_numerical_citations with a single biblio::CiteEngine cite_engine
965         variable.
966         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
967
968 2004-05-13  José Matos  <jamatos@lyx.org>
969
970         * converter.h:
971         * converter.C (Converter, readFlags): add xml member.
972         * outputparams.h: add XML flavor.
973         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
974
975 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
976
977         * lyxfunc.C (dispatch):
978         (getStatus): fix handling of LFUN_SEQUENCE
979
980 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
981
982         * debug.C (showLevel): do not forget the end-of-line marker
983
984 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
985
986         * kbmap.C (read): do not stop parsing a bind file when an error
987         occurs (bug 1575)
988
989 2004-04-29  Angus Leeming  <leeming@lyx.org>
990
991         * cursor.C:
992         * factory.C:
993         * pariterator.C:
994         * text2.C: wrap a bunch of #warning statements
995         inside #ifdef WITH_WARNINGS blocks.
996
997 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
998
999         * buffer.C: increment format to 233.
1000
1001 2004-04-28  Angus Leeming  <leeming@lyx.org>
1002
1003         * BufferView_pimpl.C:
1004         * lyxfunc.C:
1005         * text3.C:
1006         s/updateToolbar()/updateToolbars()/
1007         s/Toolbar.h/Toolbars.h/
1008
1009 2004-04-28  Angus Leeming  <leeming@lyx.org>
1010
1011         * BufferView.[Ch] (c-tor):
1012         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1013         No longer passes these data to the WorkArea generator.
1014
1015 2004-04-28  Angus Leeming  <leeming@lyx.org>
1016
1017         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1018
1019 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1020
1021         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1022
1023 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1024
1025         * output_latex.C (TeXEnvironment): make sure that there is a line
1026         break before \end{foo} for the last paragraph of a document
1027         (TeXOnePar): if the paragraph is at the end of the document (or
1028         inset) and the language has to be reset, then make sure that the
1029         line break is _before_ the language command, not after (fixes bug
1030         1225); also make sure that the language reset command is the first
1031         thing after the paragraph (to ensure proper nesting of
1032         environments and thus fix bug 1404)
1033
1034 2004-04-21  John Levon  <levon@movementarian.org>
1035
1036         * ToolbarBackend.h:
1037         * ToolbarBackend.C: make "name" be a programmatic name
1038         and a gui_name field.
1039
1040         * lyxfunc.C: display the minibuffer on M-x
1041
1042 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1043
1044         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1045         (bug 1526)
1046
1047 2004-04-19  Angus Leeming  <leeming@lyx.org>
1048
1049         * BufferView_pimpl.C (setBuffer): changed preview interface.
1050
1051         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1052         possible values.
1053
1054 2004-04-19  John Levon  <levon@movementarian.org>
1055
1056         * BufferView_pimpl.C:
1057         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1058
1059 2004-04-05  Angus Leeming  <leeming@lyx.org>
1060
1061         * text.C (redoParagraphs): add call to updateCounters(), thereby
1062         fixing the missing "Figure #:" label from the caption of a
1063         figure float.
1064
1065 2004-04-13  Angus Leeming  <leeming@lyx.org>
1066
1067         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1068         cursor is clicked out of an inset.
1069
1070 2004-04-13  Angus Leeming  <leeming@lyx.org>
1071
1072         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1073         than an InsetOld one.
1074
1075 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1076
1077         * format.[Ch]: add editor to Format
1078         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1079         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1080
1081 2004-04-08  André Pönitz  <poenitz@gmx.net>
1082
1083         * metricsinfo.h: remove PainterInfo::width member
1084
1085 2004-04-08  Angus Leeming  <leeming@lyx.org>
1086
1087         * lyx_sty.C (boldsymbol_def): modify so that it outputs
1088         "\providecommand" rather than "\newcommand", thereby preventing
1089         clashes with packages that define "\boldsymbol" themselves.
1090         Eg, beamer.
1091
1092 2004-04-08  Angus Leeming  <leeming@lyx.org>
1093
1094         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1095         thereby squashing an unnecessary warning.
1096
1097 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1098
1099         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1100         setBuffer()
1101
1102 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
1103
1104         * BufferView.C (setCursor): call redoParagraph (some insets could
1105         have been opened)
1106         (putSelectionAt): remove the 'double update' trick
1107
1108         * BufferView_pimpl.C (fitCursor): call refreshPar
1109         (workAreaDispatch): remove an uneeded update call
1110         (dispatch): remove some manual update calls
1111
1112         * cursor.[Ch]: remove cached_y_, updatePos
1113         (selHandle): set noUpdate when appropriate
1114
1115         * lyxfunc.C (dispatch): track if we need an update
1116
1117         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1118
1119         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1120         (paintSelection): cheap optimization, do not call cursorX when not
1121         needed
1122         (paintPars): change signature
1123         (refreshPar): add
1124         (paintText): adjust
1125         (paintTextInset): adjust
1126
1127         * text.C: adjust
1128
1129 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1130
1131         * lengthcommon.C: compilation fix: remove explicit array size from
1132         unit_name[] and friends
1133
1134 2004-04-05  Angus Leeming  <leeming@lyx.org>
1135
1136         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1137
1138         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1139         present only for the preferences dialog.
1140         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1141
1142 2004-04-05  Angus Leeming  <leeming@lyx.org>
1143
1144         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1145         to enable the frontends to export changes to lyxrc correctly.
1146
1147         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1148
1149 2004-04-07  André Pönitz  <poenitz@gmx.net>
1150
1151         * cursor.[Ch] (selClear, adjust): remove math
1152
1153         * cursor_slice.C: more agressive assert
1154
1155         * lyxfunc.C:
1156         * BufferView_pimpl.C: rework mouse event dispatch
1157
1158         * dociterator.C:
1159         * paragraph.C:
1160         * text2.C:
1161         * text3.C: adjust
1162
1163 2004-04-05  André Pönitz  <poenitz@gmx.net>
1164
1165         * cursor.[Ch] (valign, halign...): remove unneeded functions
1166
1167 2004-04-05  Angus Leeming  <leeming@lyx.org>
1168
1169         * lyxlength.[Ch] (unit_name et al.): const-correct.
1170
1171 2004-04-05  Angus Leeming  <leeming@lyx.org>
1172
1173         * BufferView_pimpl.C:
1174         * buffer.C:
1175         * counters.C:
1176         * cursor.C:
1177         * lyxfunc.C
1178         * paragraph.C:
1179         * pariterator.C:
1180         * text.C:
1181         * text2.C:
1182         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1183
1184 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1185
1186         * text3.C (getStatus): add LFUN_BEGINNINGBUF
1187
1188 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1189
1190         * lyxfind.C: add a couple of inTexted() tests + other small fixes
1191         * BufferView_pimpl.[Ch] (getStatus)
1192         * BufferView.[Ch] (getStatus): add
1193         * lyxfunc.C (getStatus): move lfuns handled in
1194         BufferView::dispatch to te function above
1195         * Cursor.C (setSelection): set selection() = true
1196
1197 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1198
1199         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1200
1201 2004-03-31  Angus Leeming  <leeming@lyx.org>
1202
1203         * lyxfunc.C (dispatch): Fall through to the generic
1204         Dialogs::show("preamble").
1205
1206 2004-03-31  Angus Leeming  <leeming@lyx.org>
1207
1208         * lyxfunc.C (dispatch): Fall through to the generic
1209         Dialogs::show("spellchecker").
1210
1211 2004-03-31  Angus Leeming  <leeming@lyx.org>
1212
1213         * lyxfunc.C (getStatus, dispatch): changed invocation of the
1214         preferences dialog.
1215
1216 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1217
1218         * BufferView.C
1219         * cursor.[Ch]
1220         * dociterator.[Ch]:
1221         * insetiterator.[Ch]:
1222         * lyxfind.C:
1223         * lyxfunc.C:
1224         * pariterator.[Ch]:
1225         * text2.C:
1226         * undo.[Ch]: s/DocumentIterator/DocIterator/g
1227
1228 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1229
1230         * BufferView.C (setCursor, putSelectionAt): call edit to open the
1231         insets where we are putting the cursor.
1232
1233 2004-03-31  Angus Leeming  <leeming@lyx.org>
1234
1235         * lfuns.h:
1236         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1237
1238         * lyxrc.[Ch] (read, write): overloaded member functions taking
1239         a std::[io]stream arguments.
1240
1241         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1242
1243 2004-03-31  Angus Leeming  <leeming@lyx.org>
1244
1245         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1246         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1247
1248         * lyxtextclass.C (load): if the text class couldn't be loaded, then
1249         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1250
1251 2004-03-31  Angus Leeming  <leeming@lyx.org>
1252
1253         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1254         the LFUN_ALL_INSETS_TOGGLE code.
1255
1256 2004-03-30  Angus Leeming  <leeming@lyx.org>
1257
1258         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1259         has died. Fall through to the generic Dialogs::show("document").
1260
1261 2004-03-30  Angus Leeming  <leeming@lyx.org>
1262
1263         * lfuns.h:
1264         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1265         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1266
1267         * lyxfunc.C (getStatus, dispatch): define the actions for these
1268         lfuns. Little more than a cut and pste job from ControlDocument.C
1269
1270         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1271
1272 2004-03-30  Angus Leeming  <leeming@lyx.org>
1273
1274         * lfuns.h:
1275         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1276         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1277
1278         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1279         open/closed state of ollapsable insets. Usage:
1280
1281         all-inset-toggle <state> <name>, where
1282         <state> == "open" || "closed" || "toggle" and
1283         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1284
1285         * lyxtext.h, text2.C (toggleInset): removed.
1286
1287         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1288         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1289         now passes LFUN_INSET_TOGGLE to the found inset.
1290
1291         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1292         is now invoked as "all-insets-toggle toggle branch".
1293
1294 2004-03-30  Angus Leeming  <leeming@lyx.org>
1295
1296         * dociterator.C:
1297         * insetiterator.C:
1298         * pariterator.[Ch]: added/corrected header blurb.
1299
1300 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
1301
1302         * dociterator.[Ch]: add an inset_ member
1303         (backwardPos): implemented
1304         (backwardPos, forwardPos): use inset_ when the stack is empty.
1305         (doc_iterator_begin, doc_iterator_end): implemented
1306         * pariterator.[Ch]: adjust, add begin, end
1307         * insetiterator.[Ch]: adjust, add begin, end
1308         * cursor.C:
1309         * document.C:
1310         * BufferView.C:
1311         * BufferView_pimpl.C:
1312         * CutAndPaste.C: adjust
1313
1314 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1315
1316         * buffer.C: increment file format to 232.
1317         * LaTeXFeatures.C: add bibtopic package.
1318         * bufferparams.[Ch]: param \use_bibtopic.
1319
1320         * lyxrc.[Ch]: add lyxrc bibtex_command
1321         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1322
1323         * buffer.C: increment file format to 231.
1324
1325 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1326
1327         * dociterator.C: implement forwardPar
1328         * iterators.[Ch]: remove, replaced by
1329         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1330         * BufferView.C:
1331         * BufferView_pimpl.C:
1332         * CutAndPaste.C:
1333         * buffer.C:
1334         * bufferview_funcs.C:
1335         * cursor.C:
1336         * lyxfind.C
1337         * lyxfunc.C
1338         * paragraph_funcs.C
1339         * toc.C:
1340         * Makefile.am: adjust
1341
1342 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1343
1344         * CutAndPaste.C (pasteSelection): fix 2 crashes
1345         (eraseSelection): fix a crash
1346         * paragraph_funcs.C: remove a warning
1347
1348 2004-03-28  Angus Leeming  <leeming@lyx.org>
1349
1350         * lfuns.h:
1351         * LyXAction.C (init): new LFUN_PRINT.
1352
1353         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1354
1355 2004-03-27  Angus Leeming  <leeming@lyx.org>
1356
1357         * lfuns.h:
1358         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1359
1360         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1361
1362 2004-03-27  Angus Leeming  <leeming@lyx.org>
1363
1364         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1365         insetlist always contains non-null pointers to insets.
1366
1367 2004-03-26  Angus Leeming  <leeming@lyx.org>
1368
1369         * src/BufferView_pimpl.C:
1370         * src/CutAndPaste.C:
1371         * src/buffer.C:
1372         * src/iterators.C:
1373         * src/output_plaintext.C:
1374         * src/outputparams.h:
1375         * src/paragraph_funcs.C:
1376         * src/rowpainter.C:
1377         * src/text.C:
1378         * src/text2.C:
1379         * src/frontends/controllers/ControlErrorList.C:
1380         * src/frontends/gtk/FileDialogPrivate.C:
1381         * src/frontends/gtk/GPainter.C:
1382         * src/frontends/gtk/GToolbar.C:
1383         * src/frontends/qt2/QRef.C:
1384         * src/mathed/math_scriptinset.C: squash compiler warnings.
1385
1386 2004-03-26  Angus Leeming  <leeming@lyx.org>
1387
1388         * ispell.C (LaunchIspell::start):
1389         * lyx_cb.C (AutoSaveBuffer::start):
1390         invoke run(DontWait) rather than runNonBlocking().
1391
1392 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
1393
1394         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1395
1396 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1397
1398         * kbsequence.C (print): adjust
1399
1400         * kbmap.C (printKeySym): rename and change signature
1401         (printKey): use LyXKeySym::print()
1402
1403 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
1404
1405         * undo.C: add using std::advance to compile for stlport
1406
1407 2004-03-24  Angus Leeming  <leeming@lyx.org>
1408
1409         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1410         it leads to a crash when no buffer is present.
1411
1412 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1413             Martin Vermeer  <martin.vermeer@hut.fi>
1414
1415         * lyxfunc.C (dispatch):
1416         * bufferparams.C (readToken): use the new LColor::setColor
1417
1418         * LColor.[Ch] (setColor): new version that takes two strings as
1419         argument and creates a new color entry if necessary
1420
1421 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1422
1423         * buffer.C (makeLaTeXFile): if the main latex file that is
1424         processed is usually a subdocument of some master, then pretend
1425         for a while that it is actually the master
1426
1427 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1428
1429         * buffer.C (getLabelList):
1430         (getBibkeyList): use getMasterBuffer()
1431         (getMasterBuffer): new method. Returns the main document in the
1432         case where one is using included documents.
1433
1434 2004-03-25  André Pönitz  <poenitz@gmx.net>
1435
1436         * Makefile.am:
1437         * iterators.[Ch]:
1438         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1439
1440         * ParagraphList_fwd.h: change ParagraphList to a std::vector
1441
1442         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1443         text*.C over here. Rename namespace CutAndPaste to lyx::cap
1444
1445         * ParameterStruct.h: merge with ParagraphParameters
1446
1447         * lyxtext.h: remove LyXText::parOffset() and getPar()
1448
1449         * text3.C: Remove all 'manual' update calls. We do now one per user
1450         interaction which is completely sufficient.
1451
1452         * Bidi.C:
1453         * BufferView.[Ch]:
1454         * BufferView_pimpl.C:
1455         * FontIterator.[Ch]:
1456         * MenuBackend.C:
1457         * ParagraphParameters.[Ch]:
1458         * buffer.C:
1459         * buffer.h:
1460         * bufferlist.C:
1461         * cursor.[Ch]:
1462         * cursor_slice.[Ch]:
1463         * dociterator.[Ch]:
1464         * errorlist.[Ch]:
1465         * factory.C:
1466         * lfuns.h:
1467         * lyxfind.C:
1468         * lyxfunc.C:
1469         * output_docbook.[Ch]:
1470         * output_latex.[Ch]:
1471         * output_linuxdoc.[Ch]:
1472         * output_plaintext.[Ch]:
1473         * paragraph.[Ch]:
1474         * paragraph_funcs.[Ch]:
1475         * paragraph_pimpl.[Ch]:
1476         * rowpainter.C:
1477         * tabular.[Ch]:
1478         * text.C:
1479         * text2.C:
1480         * toc.C:
1481         * undo.[Ch]: adjust
1482
1483         * frontends/controllers/ControlDocument.C:
1484         * frontends/controllers/ControlErrorList.C:
1485         * frontends/controllers/ControlSpellchecker.C:
1486         * insets/inset.C:
1487         * insets/inset.h:
1488         * insets/insetbase.h:
1489         * insets/insetbibitem.C:
1490         * insets/insetbox.C:
1491         * insets/insetbranch.C:
1492         * insets/insetcaption.C:
1493         * insets/insetcharstyle.C:
1494         * insets/insetcharstyle.h:
1495         * insets/insetcollapsable.C:
1496         * insets/insetcollapsable.h:
1497         * insets/insetert.C:
1498         * insets/insetfloat.C:
1499         * insets/insetfoot.C:
1500         * insets/insetmarginal.C:
1501         * insets/insetnote.C:
1502         * insets/insetoptarg.C:
1503         * insets/insettabular.C:
1504         * insets/insettext.C:
1505         * insets/insettext.h:
1506         * insets/insetwrap.C:
1507         * mathed/math_mboxinset.C:
1508         * mathed/math_nestinset.C:
1509         * mathed/math_scriptinset.C:
1510         * mathed/math_scriptinset.h:
1511         * support/types.h:
1512
1513 2004-03-24  Angus Leeming  <leeming@lyx.org>
1514
1515         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1516         deal with any child processes that have finished but are waiting to
1517         communicate this fact to the rest of LyX.
1518
1519 2004-03-24  Angus Leeming  <leeming@lyx.org>
1520
1521         64-bit compile fixes.
1522
1523         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1524         (c-tor): pass lyx::pos_types rather than ints.
1525
1526         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1527         lyx::pos_type.
1528
1529         * text.C (Delete): compile fix.
1530         (getPar): ensure that function declaration is the same as that in
1531         the header file.
1532
1533 2004-03-23  Angus Leeming  <leeming@lyx.org>
1534
1535         * ispell.C (LaunchIspell):
1536         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1537         a boost::shred_ptr rather than a std::auto_ptr.
1538
1539 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1540
1541         * lyxfunc.C (getStatus): handle read-only buffers correctly;
1542         handle LFUN_FILE_INSERT_*
1543
1544         * lyxrc.C (setDefaults, getDescription, output, read):
1545         * lyxrc.h: remove ps_command
1546
1547 2004-03-22  Angus Leeming  <leeming@lyx.org>
1548
1549         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1550         Ensure that error_handler is processed once only and that all data
1551         is saved before attempting to output any warning messages.
1552
1553         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1554
1555 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
1556
1557         * tabular.C (TeXRow): crash fix (from Kayvan and André)
1558
1559 2004-03-19  André Pönitz  <poenitz@gmx.net>
1560
1561         * cursor.[Ch] (reset): take main text inset as argument
1562
1563         * BufferView: adjust
1564         * BufferView_pimpl.C: adjust
1565
1566         * paragraph.[Ch]: fix completely broken operator=()
1567
1568 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1569
1570         * LColor.C (getFromLyXName): make sure that the color name is used
1571         as lowercase.
1572
1573 2004-03-17  Angus Leeming  <leeming@lyx.org>
1574
1575         * lfuns.h:
1576         * LyXAction.C (init): remove LFUN_FORKS_KILL.
1577
1578         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1579         dialog and to kill a forked process.
1580
1581 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1582
1583         * text2.C (setCursorFromCoordinates): fix font problem
1584
1585 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1586
1587         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1588         bogus "rebuild cursor" code
1589
1590 2004-03-11  André Pönitz  <poenitz@gmx.net>
1591
1592         * buffer.[Ch]: use InsetText instead of LyXText as container for
1593         the main lyx text.
1594
1595         * dociterator.[Ch]: drop the BufferView * member which is not needed
1596         anymore after the change to buffer.C
1597
1598         * paragraph_funcs.C:
1599         * text.C:
1600         * text2.C:
1601         * BufferView.[Ch]:
1602         * BufferView_pimpl.[Ch]:
1603         * cursor.[Ch]:
1604         * cursor_slice.[Ch]: adjust
1605
1606         * text3.C: fix bug in mathDispatch
1607
1608 2004-03-08  André Pönitz  <poenitz@gmx.net>
1609
1610         * undo.[Ch]: use 'StableDocumentIterator' as base for
1611         the Undo struct.
1612
1613 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1614
1615         * LaTeXFeatures.C:
1616         * bufferparams.[Ch]: add jurabib support and param.
1617
1618         * LaTeX.C: add FIXME/comment.
1619
1620 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1621
1622         * buffer.C: increment file format to 230.
1623
1624 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
1625
1626         * cursor.C (dispatch): avoid infinite loops
1627
1628 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1629
1630         * rowpainter.C (paintSelection): fix x coordinates
1631
1632 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1633
1634         * text.C (rowBreakPoint): fix breaking before displayed insets
1635
1636 2004-03-01  André Pönitz  <poenitz@gmx.net>
1637
1638         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1639
1640         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1641
1642         * Makefile.am:
1643         * BufferView.C:
1644         * BufferView_pimpl.C:
1645         * buffer.C:
1646         * lyxfind.C:
1647         * lyxfunc.C:
1648         * text.C:
1649         * text2.C:
1650         * text3.C: adjust
1651
1652 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1653
1654         * lyxtext.h:
1655         * text.C:
1656         * text2.C:
1657         * rowpainter.C:
1658         * BufferView_pimpl.C: rename textwidth -> maxwidth,
1659         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1660
1661 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1662
1663         * Bidi.[Ch] (computeTables): const correctness
1664         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1665         fill_hfill, fill_label_hfill and x from Row
1666         * lyxtext.h: prepareToPrint returns a RowMetrics
1667         * rowPainter.C: adjust
1668         * text.C (prepareToPrint): use width, not textWidth. adjust
1669         (redoParagraphInternal, cursorX): adjust
1670         * text2.C (getColumnNearX): adjust
1671         (init): put a default value to the top LyXText::width
1672
1673 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1674
1675         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1676
1677 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1678
1679         * lyxtext.h: add FontIterator class
1680
1681         * text.C (FontIterator, operator*, operator->, operator++): add
1682         (rowBreakPoint, setRowWidth): adjust (fixing a
1683         rebreaking bug)
1684
1685 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1686
1687         * BufferView_pimpl.C (workAreaDispatch): allow also
1688         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1689
1690 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
1691
1692         * text.C (rowBreakPoint): fix a bug showing with very large insets
1693
1694 2004-02-25  André Pönitz  <poenitz@gmx.net>
1695
1696         * text3.C:
1697         * cursor.[Ch]: move some mathed specific code to mathed
1698
1699 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1700
1701         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1702         use_tempdir in preferences
1703         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1704         tempfile creation
1705         * lyx_main.C: ensure that tempdir is valid
1706         * lyxlex.h: correct typo
1707         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1708         * paragraph.[Ch] (isMultiLingual): make const
1709         * cursor.[Ch] (openable): make const
1710
1711 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1712
1713         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1714
1715 2004-02-20  André Pönitz  <poenitz@gmx.net>
1716
1717         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1718
1719         * cursor.[Ch]: prepare for localized getStatus()
1720
1721         * lyxtext.h:
1722         * tabular.C:
1723         * text.C:
1724         * text2.C:
1725         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
1726
1727 2004-02-20  André Pönitz  <poenitz@gmx.net>
1728
1729         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1730
1731 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1732
1733         * text2.C (setCursorFromCoordinates): switch to absolute coords
1734         (cursorUp): adjust
1735         (cursorDown): adjust
1736         * text3.C (dispatch): adjust
1737
1738 2004-02-16  André Pönitz  <poenitz@gmx.net>
1739
1740         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1741           insets/ChangeLog)
1742
1743         * cursor_slice.[Ch]: remove unneeded acessor function
1744
1745         * lyxtext.h: rename rtl() to isRTL()
1746
1747         * rowpainter.C:
1748         * tabular.C:
1749         * text.C:
1750         * text2.C:
1751         * text3.C: adjust
1752
1753 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1754
1755         * rowpainter.C (paintSelection): coord fix
1756
1757 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
1758
1759         * Spacing.C: compile fix
1760
1761 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1762
1763         * cursor.C (dispatch): restore current_ before returning
1764
1765 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1766
1767         * text2.C (cursorUp, cursorDown): fix coords
1768         (moveUp): fix crash
1769
1770 2004-02-12  André Pönitz  <poenitz@gmx.net>
1771
1772         * lyxtext.h:
1773         * text.C:
1774         * text2.C:
1775         * text3.C: add LCursor & parameter to most cursor movement functions
1776           remove usage of LyXText::cursorRow() and cursorPar()
1777
1778         * cursor.[Ch]: add textRow() needed members
1779
1780         * BufferView.C:
1781         * BufferView_pimpl.C:
1782         * paragraph.[Ch]:
1783         * BufferView.C:
1784         * BufferView_pimpl.C: adjust
1785
1786 2004-02-11  André Pönitz  <poenitz@gmx.net>
1787
1788         * lyxfunc.C:
1789         * BufferView.[Ch]:
1790         * BufferView_pimpl.C: shift undo/redo handling
1791
1792         * cursor.[Ch]: fix mathed crash
1793
1794         * lyxfind.C:
1795         * lyxtext.h: move selectionAsText to LCursor
1796
1797         * output_latex.C:
1798         * paragraph.C:
1799         * text.C:
1800         * text2.C:
1801         * text3.C: adjust
1802
1803         * rowpainter.C: fix excessive drawing
1804
1805 2004-02-06  André Pönitz  <poenitz@gmx.net>
1806
1807         * BufferView.[Ch]:
1808         * BufferView_pimpl.[Ch]:
1809         * text3.C: move some text specific LFUN handling
1810
1811 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
1812
1813         * text3.C (checkInsetHit): adjust coords
1814         * text2.C (getColumnNearX): adjust coords
1815         (edit): adjust coords
1816         * text.C (getRowNearY): add two asserts
1817
1818 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
1819
1820         * converter.C:
1821         * format.C: add using std::distance to compile on gcc 2.95/stlport
1822
1823 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
1824
1825         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1826
1827 2004-02-04  André Pönitz  <poenitz@gmx.net>
1828
1829         * BufferView.[Ch] (insertInset):
1830         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1831
1832         * text2.C:
1833         * text3.C: adjust
1834
1835 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1836
1837         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1838         on the default clause of the switch
1839         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1840         wasn't catched by LCursor::dispatch
1841
1842 2004-02-03  André Pönitz  <poenitz@gmx.net>
1843
1844         * BufferView.C:
1845         * cursor.[Ch]: some additional asserts
1846
1847         * undo.[Ch]: remove LyXText dependency in interface
1848
1849         * lyxfunc.C: adjust
1850
1851         * lyxtext.h (firstPar, lastPar): remove dead functions
1852
1853         * text.C:
1854         * text2.C:
1855         * text3.C:
1856         * paragraph.[Ch]: adjust
1857
1858 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1859
1860         * lyxfind.C (find): fix argument order in call to ::find
1861
1862 2004-02-02  André Pönitz  <poenitz@gmx.net>
1863
1864         * cursor.[Ch]: remove direct access to anchor
1865
1866         * text.C: remove findText() hack
1867
1868 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1869
1870         * iterators.[Ch] (lockPath): remove in favour of...
1871         * BufferView.[Ch] (setCursor): this addition
1872         * BufferView.C (putSelectionAt): adjust
1873         * undo.C (performUndoOrRedo): adjust
1874         * lyxfunc.C (dispatch): adjust
1875
1876 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1877
1878         * iterators.C (lockPath): add a missing slice
1879         * undo.C (performUndoOrRedo): remove redundant positioning code
1880
1881 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1882
1883         * vc-backend.C (scanMaster): ";" -> ';'
1884
1885 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
1886
1887         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1888         std::binary_function
1889
1890         * lyxtextclass.C (compare_name): rename to...
1891         (LayoutNamesEqual): ...this
1892
1893         * lyxlex_pimpl.C (compare_tags): inherit from
1894         std::binary_function, put back into anon namespace
1895
1896         * lyxfind.C (MatchString): inherig from std::binary_function
1897         (findChange): use empty() istead of !size()
1898
1899         * format.C (FormatNamesEqual): new functor
1900         (getFormat): use it
1901         (getNumber): use it
1902         (add): use it
1903         (erase): use it
1904         (setViewer): use it
1905
1906         * converter.C (compare_Converter): rename to...
1907         (ConverterEqual): ...this, and fixup a bit.
1908         (getConverter): use it, and make function const
1909         (getNumber): use it, and make function const
1910         (add): use it
1911         (erase): use it:
1912
1913         * bufferlist.C: add using boost::bind
1914
1915         * MenuBackend.C (MenuNamesEqual): new functor
1916         (hasMenu): use it, and make function const
1917         (hasSubmenu): use nested bind to get rid of compare_memfun.
1918
1919 2004-01-30  André Pönitz  <poenitz@gmx.net>
1920
1921         * BufferView_pimpl.C:
1922         * cursor.C:
1923         * cursor.h:
1924         * cursor_slice.[Ch]:
1925         * lyxfunc.C:
1926         * lyxtext.h:
1927         * paragraph_funcs.C:
1928         * paragraph_funcs.h:
1929         * rowpainter.C:
1930         * text.C:
1931         * text2.C:
1932         * text3.C: move some of the edit(x,y) handling to the insets
1933         some coordinate changes.
1934
1935 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1936
1937         * text.C: add using statements for std::advance and std::distance
1938
1939         * paragraph.C: add using statement for std::distance
1940
1941         * lyxfind.C: add using statement for std::advance
1942
1943         * cursor.C (region): remove std:: from swap
1944         (openable): use nucleus in stead of operator->
1945
1946         * BufferView.C: add using statements for std::distance and std::swap
1947
1948 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
1949
1950         * iterators.C: Remove the pimple, move the needed structures to
1951         the header file. Create accessor for the positions stack.
1952         (asPosIterator): remove function
1953
1954         * PosIterator.C (PosIterator): move constructors to top of file
1955         (PosIterator): reimplement the constructor taking a ParIterator in
1956         terms of setFrom.
1957         (setFrom): new function
1958         (operator!=): inline it
1959
1960 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1961
1962         * lyxfind.C (replaceAll): use std::advance
1963
1964         * iterators.h: inherit from std::iterator.
1965
1966         * PosIterator.C (advance, distance): remove
1967         * PosIterator.h: interit from std::iterator.
1968
1969 2004-01-26  André Pönitz  <poenitz@gmx.net>
1970
1971         * BufferView.[Ch]:
1972         * BufferView_pimpl.[Ch]:
1973         * InsetList.[Ch]:
1974         * PosIterator.[Ch]:
1975         * buffer.h:
1976         * bufferview_funcs.C:
1977         * cursor.[Ch]:
1978         * cursor_slice.h:
1979         * factory.[Ch]:
1980         * iterators.[Ch]:
1981         * lyxfind.C:
1982         * lyxfunc.C:
1983         * lyxtext.h:
1984         * output_docbook.C:
1985         * output_latex.C:
1986         * output_linuxdoc.C:
1987         * output_plaintext.C:
1988         * paragraph.[Ch]:
1989         * paragraph_funcs.[Ch]:
1990         * paragraph_pimpl.[Ch]:
1991         * rowpainter.C:
1992         * tabular.C:
1993         * tabular.h:
1994         * text.C:
1995         * text2.C:
1996         * text3.C: more IU:  dumps most of the rest of the mathcursor
1997     implementation into cursor.[Ch]; "globalize" a bit of it.
1998
1999 2004-01-25  Angus Leeming  <leeming@lyx.org>
2000
2001         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2002
2003 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2004
2005         * LaTeXFeatures.h: add nice_ and nice() const
2006         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2007
2008 2004-01-20  André Pönitz  <poenitz@gmx.net>
2009
2010         * BufferView.[Ch]:
2011         * BufferView_pimpl.C:
2012         * PosIterator.C:
2013         * bufferview_funcs.C:
2014         * cursor.[Ch]:
2015         * cursor_slice.[Ch]:
2016         * factory.C:
2017         * iterators.C:
2018         * lyx_cb.C:
2019         * lyxfind.C:
2020         * lyxfunc.C:
2021         * lyxtext.h:
2022         * rowpainter.C:
2023         * text.C:
2024         * text2.C:
2025         * text3.C:
2026         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2027           LCursor and mathcursor parts to LCursor and InsetBase.
2028
2029 2004-01-15  André Pönitz  <poenitz@gmx.net>
2030
2031         * cursor_slice.[Ch]: add a few covienience functions
2032
2033         * funcrequest.[Ch]: remove BufferView * member
2034
2035         * BufferView_pimpl.C:
2036         * cursor.C:
2037         * factory.[Ch]:
2038         * lyxfind.[Ch]:
2039         * lyxfunc.C:
2040         * lyxtext.h:
2041         * text3.C:
2042         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2043
2044 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
2045
2046         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2047         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2048
2049 2004-01-13  André Pönitz  <poenitz@gmx.net>
2050
2051         * textcursor.[Ch]:
2052         * lyxtext.h: hide cursor and selection anchor behind accessor function
2053
2054         * BufferView.C:
2055         * BufferView_pimpl.[Ch]:
2056         * PosIterator.C:
2057         * bufferview_funcs.C:
2058         * cursor.h:
2059         * lyxfind.C:
2060         * lyxfunc.C:
2061         * text.C:
2062         * text2.C:
2063         * text3.C:
2064         * undo.C: adjust
2065
2066         * cursor.h:
2067         * cursor_slice.[Ch]: some integer type changes for inset unification
2068
2069         * lyxcursor.[hC]: remove, it's CursorSlice now.
2070
2071         * Makefile.am:
2072         * BufferView_pimpl.[Ch]:
2073         * bufferview_funcs.C:
2074         * cursor_slice.C:
2075         * lyxtext.h:
2076         * text.C:
2077         * text2.C:
2078         * text3.C:
2079         * textcursor.[Ch]: adjust
2080
2081 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
2082
2083         * text2.C (undoSpan): add and use
2084         * text.C (breakParagraph): use undoSpan (fix bug 578)
2085         * lyxtext.h: adjust
2086
2087 2004-01-08  Angus Leeming  <leeming@lyx.org>
2088
2089         * BufferView_pimpl.C (MenuInsertLyXFile):
2090         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2091         * lyxfunc.C (menuNew, open, doImport):
2092         FileFilterList change to the FileDialog open and save functions.
2093
2094 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
2095
2096         * ShareContainer.h: make isEqual and isUnique adaptable
2097
2098         * CutAndPaste.C: make resetOwnerAndChanges adaptable
2099
2100 2004-01-07  Angus Leeming  <leeming@lyx.org>
2101
2102         * LyXAction.C:
2103         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2104
2105         * BufferView_pimpl.C (dispatch): act on these LFUNs.
2106
2107         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2108         functions replacing find, replace and replaceAll.
2109
2110         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2111         LFUN_WORDFIND(FORWARD|BACKWARD).
2112
2113 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2114
2115         * text.C (breakParagraph): remove an outdated #warning
2116
2117 2004-01-07  André Pönitz  <poenitz@gmx.net>
2118
2119         * lyxfind.C: somewhat clearer logic
2120
2121         * text.C: prevent crash in cursorX on unitialized row cache
2122
2123 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2124
2125         * lyxcursor.[Ch] (operator>): add
2126         * textcursor.C (selStart, selEnd): use std::min and std::max
2127
2128 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
2129
2130         * Chktex.C: include boost/format.hpp
2131
2132 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
2133
2134         * InsetList.C: replace functor MathcIt with adaptable functor
2135         InsetTablePosLess
2136         (insetIterator): modify accordingly
2137
2138         * BranchList.h: move the BranchNamesEqual functor here from...
2139         * BranchList.C: ... to here
2140
2141         * BranchList.C: new BranchListEqual fuctor, use it. Remove
2142         SameName and match.
2143         (add): replace a finding loop with std::find_if.
2144
2145 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
2146
2147         * output_docbook.C: moving LatexParam functionality into
2148         .layout files
2149
2150 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2151
2152         * buffer.C: increment format to 229.
2153
2154 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
2155
2156         * LaTeXFeatures.C:
2157         * lyx_sty.[Ch]: remove minipageindent_def
2158
2159         * LyXAction.C:
2160         * factory.C:
2161         * lfuns.h:
2162         * lyxfunc.C:
2163         * text3.C: remove LFUN_INSET_MINIPAGE
2164
2165 2003-12-28  Angus Leeming  <leeming@lyx.org>
2166
2167         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2168
2169 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
2170
2171         * text2.C (setParagraph): fix off-by-one crash
2172
2173 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
2174
2175         * output_docbook.C: header stuff for AGU
2176
2177 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
2178
2179         * text2.C (redoCursor): remove
2180         * text.C:
2181         * text3.C:
2182         * BufferView_pimpl.C: remove calls to redoCursor and
2183         setCursor(cursor.par(), cursor.pos()) all around
2184
2185 2003-12-15  Angus Leeming  <leeming@lyx.org>
2186
2187         * buffer.C: up the format to 228.
2188
2189 2003-12-15  André Pönitz  <poenitz@gmx.net>
2190
2191         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2192         slices
2193
2194         * Makefile.am:
2195
2196         * BufferView_pimpl.C:
2197         * cursor.[Ch]:
2198         * lyxcursor.[Ch]:
2199         * rowpainter.[Ch]:
2200         * lyxtext.h:
2201         * text.C:
2202         * text2.C:
2203         * text3.C: adjust
2204
2205 2003-12-15  Angus Leeming  <leeming@lyx.org>
2206
2207         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2208         than getFromGUIName to manipulate the color.
2209
2210 2003-12-14  Angus Leeming  <leeming@lyx.org>
2211
2212         * BranchList.[Ch]: minimize the API.
2213         (Branch::getBranch, getColor): now return a 'const &'.
2214         (Branch::setSelected) now returns a bool set to true if the
2215         selection status changes.
2216         (BranchList::clear, size, getColor, setColor, setSelected,
2217         allBranches, allSelected, separator): removed.
2218         (BranchList::find): new functions, returning the Branch with
2219         the given name.
2220         (BranchList::add, remove): return a bool indicating that
2221         the operation was successful.
2222
2223         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2224         new InsetBranch::isBranchSlected member function.
2225
2226         * LColor.[Ch]: mimimize the API.
2227         (fill): renamed as addColor and made private.
2228         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2229         versions of these functions taking a string arg have been removed.
2230
2231         * bufferparams.C (readToken):
2232         * lyxfunc.C (dispatch):
2233         * lyxrc.C (read): changes due to the altered BranchList and
2234         LColor APIs.
2235
2236         * factory.C (createInset, readInset): changes due to altered
2237         InsetBranch c-tor.
2238
2239 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2240
2241         * factory.C:
2242         * lyxfunc.C: remove insetminipage. "minipage-insert"
2243         now produces a frameless minipage box inset.
2244
2245 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2246
2247         * textcursor.[Ch] (selStart,selEnd): add new methods
2248         remove selection::start, end, use LyXCursor::operator<
2249         * lyxcursor.[Ch] (operator<): add
2250         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2251         * BufferView.[Ch] (unsetXSel): add
2252         * text2.C (clearSelection): use unsetXSel,adjust
2253         * text.C: adjust
2254         * text3.C: adjust
2255         * rowpainter.C: adjust
2256         * bufferview_funcs.C (put_selection_at): adjust
2257
2258 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2259
2260         * BufferView_pimpl.C: small coord. correction
2261
2262 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2263
2264         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2265         dragging over the splash screen.
2266
2267 2003-12-11  Angus Leeming  <leeming@lyx.org>
2268
2269         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2270         as it is now handled in LyXText::dispatch.
2271
2272         * text3.C (doInsertInset): remove a level of nesting.
2273
2274 2003-12-11  Angus Leeming  <leeming@lyx.org>
2275
2276         * factory.C (createInset): changes due to the changed interface to
2277         InsetCommandMailer::string2params.
2278
2279 2003-12-10  Angus Leeming  <leeming@lyx.org>
2280
2281         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2282         'dialog-show-new-inset <inset name>'
2283
2284 2003-12-10  Angus Leeming  <leeming@lyx.org>
2285
2286         * buffer.C: up the format to 227.
2287
2288         * factory.C: the box inset is now identified simply by 'Box'.
2289
2290 2003-12-10  Angus Leeming  <leeming@lyx.org>
2291
2292         * buffer.C: up the format to 226.
2293
2294         * factory.C: the note inset is now identified simply by 'Note'.
2295
2296 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
2297
2298         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2299         when a pit is enough. Standarize a couple of loops.
2300
2301 2003-12-05  Angus Leeming  <leeming@lyx.org>
2302
2303         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2304         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2305         data to the re-worked "log" dialog.
2306
2307 2003-12-03  André Pönitz  <poenitz@gmx.net>
2308
2309         * PosIterator.C:
2310         * iterators.C:
2311         * lyxtext.h:
2312         * output_latex.C:
2313         * paragraph_funcs.C:
2314         * text.C:
2315         * text2.C: use Inset::getText instead of Inset::getParagraph
2316
2317 2003-12-03  André Pönitz  <poenitz@gmx.net>
2318
2319         * buffer.[Ch]:
2320         * lyxtext.h:
2321         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2322         InsetText::read() as LyXText::read()
2323
2324 2003-12-02  Angus Leeming  <leeming@lyx.org>
2325
2326         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2327         type. Add a comment in the implementation that the function uses
2328         the stream's bad() function rather than fail() as the std::streams
2329         would do.
2330
2331 2003-12-02  André Pönitz  <poenitz@gmx.net>
2332
2333         * lyxlex.[Ch]: make interface more similar to std::stream
2334
2335         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2336
2337 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
2338
2339         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2340
2341 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
2342
2343         * vspace.[Ch]: remove VSpace::NONE
2344
2345 2003-12-01  André Pönitz  <poenitz@gmx.net>
2346
2347         * buffer.[Ch]:
2348         * lyxtext.h: move ParagraphList member to LyXText
2349         rename LyXText::ownerParagraphs to LyXText::paragraph
2350
2351         * CutAndPaste.C:
2352         * bufferview_funcs.C:
2353         * iterators.[Ch]:
2354         * lyx_cb.C:
2355         * paragraph.C:
2356         * rowpainter.C:
2357         * tabular.C:
2358         * text.C:
2359         * text2.C:
2360         * text3.C: adjust
2361
2362         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2363
2364         * undo.C: fix cursor positioning
2365
2366 2003-12-01  John Levon  <levon@movementarian.org>
2367
2368         * BufferView_pimpl.C: fix a crash on exit with
2369         a buffer open
2370
2371 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
2372
2373         * BranchList.C: fix setSelected() method.
2374
2375 2003-11-28  André Pönitz  <poenitz@gmx.net>
2376
2377         * ParagraphParameters.[Ch]:
2378         * ParameterStruct.h: remove space above/below from Paragraph to
2379          InsetVSpace
2380
2381         * BufferView_pimpl.C:
2382         * factory.C:
2383         * lyxfunc.C:
2384         * lyxtext.h:
2385         * output_latex.C:
2386         * paragraph.C:
2387         * paragraph_funcs.C:
2388         * rowpainter.[Ch]:
2389         * text.C:
2390         * text2.C:
2391         * text3.C: adjust
2392
2393 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
2394
2395         * factory.C: Syntax change for CharStyles
2396
2397 2003-11-28  André Pönitz  <poenitz@gmx.net>
2398
2399         * BufferView.[Ch]:
2400         * BufferView.[Ch]:
2401         * buffer.[Ch]:
2402         * buffer.[Ch]: move LyXText member
2403
2404 2003-11-28  André Pönitz  <poenitz@gmx.net>
2405
2406         * BufferView.[Ch]: make LyXText * text a private member
2407
2408         * BufferView_pimpl.C:
2409         * cursor.C:
2410         * iterators.C:
2411         * lyx_cb.C:
2412         * lyxfind.C:
2413         * lyxtext.h:
2414         * rowpainter.[Ch]:
2415         * text.C:
2416         * text2.C:
2417         * undo.C: adjust
2418
2419         * output_plaintext.C: cleanup
2420
2421 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2422
2423         * buffer.C:
2424         * lyxtextclass.[Ch]: parametrize SGML document header
2425
2426 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2427
2428         * converter.[Ch]:
2429         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2430         getFlavor().
2431
2432 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
2433
2434         * text2.C (setFont): rework using PosIterator (no more recursive)
2435         (setCharFont): no more needed
2436         (setLayout): no more selection cursors fiddling (done by redoCursor)
2437         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2438         destroy remaining ones)
2439
2440 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
2441
2442         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2443         * lyxtext.h: ditto
2444         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2445         selection cursors
2446         * lyxfunc.C: adjust
2447         * text3.C: adjust + re-allow multi par depth changes
2448         * textcursor.C: simplify a bit
2449
2450 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
2451
2452         * src/buffer.C:
2453         * src/lyxlayout.C:
2454         * src/lyxlayout.h:
2455         * src/lyxtext.h:
2456         * src/output_docbook.C:
2457         * src/output_latex.C:
2458         * src/paragraph.C:
2459         * src/paragraph.h:
2460         * src/sgml.C:
2461         * src/sgml.h:
2462         * src/text2.C: Introducing a number of tags parametrizing various
2463         XML formats that we may want to support
2464
2465 2003-11-25  André Pönitz  <poenitz@gmx.net>
2466
2467         * InsetList.[Ch] (begein, end): inline as suggested by profiler
2468
2469         * lyxtext.h (leftMargin/rightMargin): simplify interface
2470
2471         * rowpainter.C:
2472         * text.C:
2473         * text2.C:
2474         * text3.C: adjust
2475
2476 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2477
2478         * lyxfunc.C (dispatch): propogate the bibtex databases from the
2479         master file to any child files. Fixes bug 546.
2480
2481 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2482
2483         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2484
2485 2003-11-24  André Pönitz  <poenitz@gmx.net>
2486
2487         * rowpainter.C: simplification
2488
2489         * text2.C (updateCounters): remove call to redoParagraph on
2490         changed labels as this is far too expensive.
2491
2492 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2493
2494         * converter.C (convert): fix a crash: this function gets
2495         called with buffer == 0 from importer code.
2496
2497 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
2498
2499         * text3.C (cursorPrevious): make sure that we do not compare
2500         iterators form different containers.
2501         (cursorNext): ditto
2502
2503         * rowpainter.C (paintSelection): make sure that we do not compare
2504         iterators from different containers.
2505
2506         * text3.C (dispatch): [PRIOR] make sure that we do not compare
2507         iterators from different ParagraphList containers.
2508         [NEXT] ditto
2509
2510         * text2.C (LyXText): change order of initialization slightly
2511         (operator=): new function. copy all variables except cache_par_
2512         (moveUp): make sure that we do not compare iterators from
2513         different ParagraphList constainers.
2514         (moveDown): ditto
2515
2516         * text.C (firstPar): new function
2517         (lastPar): new function
2518         (endPar): new function
2519
2520         * lyxtext.h: move things around and group public functions, public
2521         variables, private functions, private variables
2522
2523 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
2524
2525         * factory.C: change call to InsetERT constructor to avoid
2526         additional invocation of method status
2527         * text2.C (toggleInset): remove redundant update() call
2528         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2529         instead of a Bufferview pointer
2530
2531 2003-11-21  André Pönitz  <poenitz@gmx.net>
2532
2533         * rowpainter.C: simplification
2534
2535 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2536
2537         * text3.C (dispatch): make possible to extend a word/row selection
2538         with the mouse
2539
2540 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2541
2542         * lyxtext.h: x0_,y0_ -> xo_,yo_
2543         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2544         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2545         * rowpainter.C (paintRows): paint full paragraphs
2546
2547 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2548
2549         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2550         screen coordinates)
2551
2552 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2553
2554         * lyxtext.h: add x0_, y0_
2555         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2556         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2557
2558 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
2559
2560         * text2.C (setCursorIntern): move the x_target update here *
2561         * text3.C: change some bv() to true/false in calls to
2562         cursorUp/Down/Right/Left
2563         * cursor.C: use helper function.
2564
2565 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2566
2567         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2568         * paragraph_funcs.[Ch]: correct comment
2569         * rowpainter.C: do not paint selections away from bv->cursor()
2570         Fix a long standing selection painting bug.
2571         * text3.C: generalize mouse-selection code to LyXTexts other that
2572         top one
2573         * textcursor.C: do not use y coords if we can use par offsets
2574
2575 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2576
2577         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2578         cursor position after e.g. inset insert)
2579
2580 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
2581
2582         * lyxfind.C (replace): adjust to locking removal + some
2583         code simplification
2584
2585 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
2586
2587         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2588         of the path
2589
2590 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
2591
2592         * lyxlayout.[Ch]:
2593         * output_docbook.C: XML sanitation: new layout
2594         parameters InnerTag and CommandDepth
2595
2596 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
2597
2598         * BufferView_pimpl.C:
2599         * factory.C:
2600         * text3.C: Fix the insertion and modification of button-style
2601         insets
2602
2603 2003-11-13  André Pönitz  <poenitz@gmx.net>
2604
2605         * InsetList.[Ch]: remove deleteLyXText
2606
2607         * paragraph.[Ch]: cache beginOfBody position
2608
2609         * Bidi.C:
2610         * text.C:
2611         * text2.C:
2612         * text3.C: remove superfluous update() calls
2613
2614         * vspace.C: cleanup
2615
2616 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
2617
2618         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2619         * BufferView.C (fitLockedInsetCursor): remove
2620         * cursor.[Ch] (getDim): add
2621         * text.C (getRowNearY): add faster version
2622         * text3.C: remove some update calls
2623
2624 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
2625
2626         * LaTeXFeatures.C:
2627         * LyXAction.C:
2628         * MenuBackend.C:
2629         * MenuBackend.h:
2630         * dispatchresult.h:
2631         * factory.C:
2632         * lfuns.h:
2633         * lyxfunc.C:
2634         * lyxtextclass.C:
2635         * lyxtextclass.h:
2636         * text3.C: The Character Style /XML short element patch.
2637
2638 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
2639
2640         * text3.C:
2641         * factory.C: Small step to solving 'unable to insert some insets'
2642         problem
2643
2644 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2645
2646         * cursor.[Ch] (updatePos): new function for updating the y
2647         position of the tip inset
2648         * bufferview_funcs.C (put_selection_at):
2649         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2650
2651 2003-11-11  André Pönitz  <poenitz@gmx.net>
2652
2653         * text.C: remove big comment on invalid Paragraph pointers as it is
2654         not valid anymore
2655
2656 2003-11-11  André Pönitz  <poenitz@gmx.net>
2657
2658         * text_funcs.[Ch]: merge with ...
2659
2660         * text.C: ... this
2661
2662         * lyxtext.h:
2663         * text2.C:
2664         * text3.C: adjust
2665
2666         * Makefile.am: remove text_funcs.[Ch]
2667
2668 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
2669
2670         * cursor.C (getPos): return absolute cached y coord
2671
2672         * BufferView_pimpl.C (fitCursor): new simplistic code
2673         (workAreaDispatch): add a fitCursor call
2674
2675 2003-11-10  André Pönitz  <poenitz@gmx.net>
2676
2677         * BufferView.[Ch]:
2678         * BufferView_pimpl.[Ch]: merge update() and updateInset()
2679
2680 2003-11-10  André Pönitz  <poenitz@gmx.net>
2681
2682         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2683         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2684         indicate that the cursor needs to leave an inset
2685
2686         * lyxtext.h: remove inset locking
2687
2688         * cursor.[Ch]: re-implement functionality provided by inset locking
2689
2690         * BufferView.[Ch]:
2691         * BufferView_pimpl.[Ch]:
2692         * LyXAction.C:
2693         * bufferview_funcs.[Ch]:
2694         * factory.C:
2695         * funcrequest.[Ch]:
2696         * iterators.C:
2697         * lyx_cb.C:
2698         * lyxfind.C:
2699         * lyxfunc.C:
2700         * text.C:
2701         * text2.C:
2702         * text3.C:
2703         * undo.C: adjust
2704
2705 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
2706
2707         * PosIterator.[Ch]: replace the stack with a vector, add inset
2708         accesor
2709         * iterators.[C]: adjust
2710
2711 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2712
2713         * lyxfind.C (replaceAll): mark the buffer dirty if something was
2714         replaced
2715         * paragraph_funcs.C (readParToken): put the correct id in the
2716         error item, not the id of the top paragraph
2717
2718 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2719
2720         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2721         * bufferview_funcs.C (put_selection_at): use the above
2722
2723 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2724
2725         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2726
2727 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2728
2729         * output_linuxdoc.h:
2730         * output_plaintext.h:
2731         * output.h:
2732         * output_docbook.h: add #include statements
2733
2734 2003-11-05  José Matos  <jamatos@lyx.org>
2735
2736         * output_docbook.[Ch]:
2737         * output_latex.[Ch]:
2738         * output_linuxdoc.[Ch]:
2739         * output_plaintext.[Ch]: New files for output formats.
2740         * output.[Ch]: New file for helper functions.
2741
2742         * buffer.[Ch]:
2743         * paragraph_funcs.[Ch]: output functions moved to new files.
2744
2745         * outputparams.h: rename of latexrunparams.h
2746
2747         * LaTeX.[Ch]:
2748         * buffer.[Ch]:
2749         * bufferlist.[Ch]:
2750         * converter.[Ch]:
2751         * exporter.C:
2752         * paragraph.[Ch]:
2753         * paragraph_funcs.[Ch]:
2754         * paragraph_pimpl.[Ch]:
2755         * tabular.[Ch]: rename ascii to plaintext
2756         and LatexRunParams to OutputParams.
2757
2758 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2759
2760         * iterators.[Ch] (text): require bv argument
2761         * undo.C (recordUndo):
2762         * lyxfunc.C (dispatch):
2763         * bufferview_funcs.C (put_selection_at): adjust
2764
2765 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
2766
2767         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2768
2769 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2770
2771         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2772         nestings
2773
2774 2003-11-04  André Pönitz  <poenitz@gmx.net>
2775
2776         * cursor.[Ch]: restructure
2777
2778         * BufferView.[Ch]:
2779         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2780
2781         * iterators.[Ch] (asCursor): remove
2782
2783         * lfuns.h: remove LFUN_INSET_EDIT
2784
2785         * lyxfunc.C:
2786         * tabular.C:
2787         * text.C:
2788         * text2.C:
2789         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2790
2791 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2792
2793         * lyxfind.[Ch]: complete overhaul
2794         * BufferView_pimpl.C:
2795         * lyxfunc.C: adjust
2796         * paragraph.[Ch] (insert): add
2797
2798 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2799
2800         * BufferView.[Ch]:
2801         * lyxtext.h:
2802         * text.C: remove dead spellcheck code
2803
2804 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2805
2806         * dispatchresult.h: add a val setter
2807
2808         * cursor.C (dispatch): use a tempvar for data_[i]
2809
2810 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2811
2812         * PosIterator.[Ch]: compile fix
2813
2814 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2815
2816         * text.C (cursorPar): deactivate the cursor cache
2817
2818 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2819
2820         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2821
2822 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2823
2824         * text3.C (dispatch): adjust for new DisptchResult semantics.
2825
2826         * lyxfunc.C (dispatch): handle update when return from
2827         Cursor::dispatch, adjust for new DispatchResult semantics.
2828
2829         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2830         DispatchResult(true) mean to not update. Add class functions for
2831         setting dispatched and update, as well as reading.
2832
2833         * cursor.C (dispatch): don't handle update here
2834
2835 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2836
2837         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2838         * trans_mgr.C: adjust
2839
2840         * paragraph_funcs.C (readParToken): exception safety
2841
2842         * lyxvc.h: store the vcs pointer in a scoped_ptr
2843         * lyxvc.C: adjust
2844
2845         * lyxsocket.C (serverCallback): exception safety
2846
2847         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2848
2849         * ispell.C (clone): make it return a auto_ptr
2850
2851         * factory.C (createInset): exception safety
2852         (readInset): exception safety
2853
2854         * bufferlist.C (newBuffer): exception safety
2855
2856         * Thesaurus.C (Thesaurus): use initialization for aik_
2857
2858         * MenuBackend.C (expandToc): exception safety.
2859
2860 2003-11-03  André Pönitz  <poenitz@gmx.net>
2861
2862         * buffer.C:
2863         * buffer.h:
2864         * bufferview_funcs.C: remove getInsetFromId()
2865
2866         * lyxcursor.[Ch]:
2867         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2868
2869         * lyxfunc.C:
2870         * text2.C:
2871         * text3.C: adjust
2872
2873 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2874
2875         * PosIterator.C (distance, advance): new
2876         * bufferview_funcs.[Ch] (put_selection_at): new
2877         * iterators.[Ch] (lockPath): new
2878
2879 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
2880
2881         * iterators.[Ch] (asPosIterator): added
2882         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2883         * PosIterator.[Ch]: added
2884
2885 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2886
2887         * text3.C:
2888         * lyxfunc.C:
2889         * cursor.C (dispatch):
2890         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2891
2892         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2893         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2894         contructor, add a class function dispatched. Remove operator>=
2895
2896 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2897
2898         * debug.C: only use the default constructor for debugstream
2899         (lyxerr) here.
2900
2901         * main.C (main): include debug.h and setup the lyxerr streambuf
2902         here.
2903
2904 2003-10-31  José Matos  <jamatos@lyx.org>
2905
2906         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2907
2908         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2909         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2910         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2911         * paragraph_pimpl.C (simpleTeXSpecialC):
2912         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2913         add LatexRunParams argument.
2914
2915         * exporter.C (Export): change call accordingly.
2916
2917         * latexrunparams.h: add new member to take care of the other backends.
2918 2003-10-30  José Matos  <jamatos@lyx.org>
2919
2920         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2921         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2922         factorise code for paragraph output.
2923         * buffer.[Ch]:
2924         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2925         move functions.
2926
2927 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2928
2929         * text3.C (dispatch):
2930         * lyxfunc.C (dispatch):
2931         * cursor.C (dispatch):
2932         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2933
2934         * dispatchresult.h: make the dispatch_result_t ctor explicit
2935
2936 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
2937
2938         * sgml.[Ch]:
2939         * buffer.C: small refactoring of docbook stuff
2940
2941 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2942
2943         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2944         meaning.
2945
2946 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2947
2948         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2949         operator dispatch_result_t, and operators for == != and >=
2950
2951         * cursor.C (dispatch): adjust for operator dispatch_result_t
2952         removal. comment out call to update
2953
2954         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2955
2956 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2957
2958         * text3.C:
2959         * text2.C:
2960         * text.C:
2961         * lyxtext.h:
2962         * lyxfunc.C:
2963         * cursor.C:
2964         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2965         (dispatch):
2966
2967         * dispatchresult.h: new file, DispatchResult broken out of
2968         insets/insetbase.h
2969
2970         * Makefile.am (lyx_SOURCES): add dispatchresult.h
2971
2972 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2973
2974         * text.C (rowBreakPoint): put a hack inside #if 0
2975
2976 2003-10-28  André Pönitz  <poenitz@gmx.net>
2977
2978         * lyxtext.h:
2979         * metricsinfo.C:
2980         * paragraph_funcs.C:
2981         * rowpainter.C:
2982         * text.C:
2983         * text2.C: general cleanup (lots of small stuff)
2984
2985 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2986
2987         * text2.C (cursorEnd): simple fix to the "end key goes to one
2988         before the end on last row" bug
2989
2990 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2991
2992         * text.C (backspace): fix the "zombie characters"
2993
2994 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2995
2996         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2997
2998 2003-10-27  André Pönitz  <poenitz@gmx.net>
2999
3000         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3001
3002         * factory.C: handle new InsetPagebreak, InsetLine
3003
3004         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3005         and move handling into new InsetPagebreak, InsetLine
3006
3007         * BufferView_pimpl.C:
3008         * LyXAction.C:
3009         * ParagraphParameters.C:
3010         * ParameterStruct.h:
3011         * lyxfunc.C:
3012         * lyxtext.h:
3013         * paragraph.C:
3014         * paragraph.h:
3015         * paragraph_funcs.C:
3016         * paragraph_pimpl.C:
3017         * rowpainter.C:
3018         * text.C:
3019         * text2.C:
3020         * text3.C: adjust
3021
3022 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3023
3024         * text.C:
3025         * lyxrow_funcs.[Ch]:
3026         * Bidi.C:
3027         * paragraph.C:
3028         * lyxtext.h:
3029         * rowpainter.C:
3030         * text2.C:
3031         * text3.C: remove lastPos uses in favour of Row::endpos
3032
3033 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3034
3035         * undo.C (performUndoOrRedo): fix two crashes by setting a
3036         cursor by hand and reordering some calls. Use bv->lockInset instead
3037         of inset->edit because the latter loses cursor information
3038
3039 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
3040
3041         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3042         by Martin
3043         (rowBreakPoint): fix width. change point to point + 1.
3044         Add a missing check.
3045
3046 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
3047
3048         * MenuBackend.C:
3049         * lyxfunc.C: fix (at least partly) the problems
3050         with the Nav menu and headers inside branch insets
3051         reported by Kayvan
3052
3053 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
3054
3055         * paragraph.C (getChar): add strong asserts
3056
3057         * lyxrow_funcs.C (lastPos): remove hideous hack
3058
3059         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3060         (fill): adjust to that (avoid an infinite loop)
3061
3062 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3063
3064         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3065
3066 2003-10-23  André Pönitz  <poenitz@gmx.net>
3067
3068         * RowList_fwd.h: change list<> to vector<> to gain speed
3069         after suggestion from Alfredo
3070
3071 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3072
3073         * lyxtext.h: move the bidi stuff from here...
3074         * text.C: and here
3075         * text2.C: and here
3076         * Bidi.[Ch]: ... to here
3077
3078 2003-10-23  André Pönitz  <poenitz@gmx.net>
3079
3080         * lyxtext.h:
3081         * text.C (isLastRow, isFirstRow): new functions
3082
3083         * paragraph.h: new width cache member
3084
3085         * rowpainter.C: replace RowList::iterator with Row & where possible
3086
3087         * lyxfunc.C: replace several view()->text with a single call
3088
3089         * toc.C: fix 'unused' warning
3090
3091 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3092
3093         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3094         when woring with stream::pos_type
3095         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3096
3097 2003-10-22  André Pönitz  <poenitz@gmx.net>
3098
3099         * lyxtext.h:
3100         * text.C: use Row & instead of RowList::iterator
3101
3102         * lyxrow.h: rename end() to endpos()
3103
3104         * rowpainter.C:
3105         * text.C:
3106         * text2.C: adjust
3107
3108 2003-10-22  Angus Leeming  <leeming@lyx.org>
3109
3110         * buffer.[Ch] (fully_loaded): new member function, returning true
3111         only when the file has been loaded fully.
3112         Used to prevent the premature generation of previews and by the
3113         citation inset to prevent computation of the natbib-style label.
3114
3115         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3116         templates are all set up.
3117
3118         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3119
3120 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
3121
3122         * text.C: fixed an "oops" in the "is a bit silly"
3123         bug fix
3124
3125 2003-10-21  André Pönitz  <poenitz@gmx.net>
3126
3127         * FuncStatus.[Ch]: small stuff, whitespace
3128
3129         * lyxfont.[Ch]: operator<<() for debug reasons
3130
3131         * lyxfunc.C:
3132         * lyxrow_funcs.C:
3133         * lyxtext.h: whitespace, spelling
3134
3135         * paragraph.C: naming of variables
3136
3137         * text.C:
3138         * text2.C: small stuff
3139
3140
3141 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
3142
3143         * text.C: (1) finish off the inset display() work;
3144         (2) fix the "is a bit silly" bug (accessing char
3145         past end of par).
3146
3147 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
3148
3149         * text.C: re-introduce display() for insets, fixing the
3150         various bugs (stretch of line above, math inset
3151         positioning, ...)
3152
3153 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3154
3155         * text.C (rightMargin): remove spurious semicolon
3156
3157         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3158         1415)
3159
3160 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
3161
3162         * text3.C: fix one crash due to wrong cursor def
3163
3164 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3165
3166         * vc-backend.C (scanMaster): make the regex static
3167
3168         * LaTeX.C (scanAuxFile): make the regexs static
3169
3170         * text3.C (doInsertInset, dispatch, dispatch):
3171         * text2.C (cursorUp, cursorDown):
3172         * text.C (selectNextWordToSpellcheck):
3173         * BufferView_pimpl.C (dispatch):
3174         * lyxfunc.C (dispatch):  localDispatch -> dispatch
3175
3176 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3177
3178         * lyxsocket.C: include <cerrno>
3179
3180 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3181
3182         * lyxfunc.C (dispatch): remove textcache stuff
3183
3184         * bufferlist.C (release): remove textcache stuff
3185         (closeAll): ditto
3186
3187         * TextCache.C: delete file
3188         * TextCache.h: delete file
3189
3190         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3191
3192         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3193         delete of the bv_->text.
3194         (resizeCurrentBuffer): remove texcache stuff
3195         (workAreaResize): ditto
3196
3197 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3198
3199         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3200         action.
3201
3202 2003-10-16  André Pönitz  <poenitz@gmx.net>
3203
3204         * lyxrow.[Ch]:
3205         * paragraph.h:
3206         * rowpainter.C:
3207         * text.C:
3208         * text2.C:
3209         * text3.C: speed up by storing y positions per paragraph plus per-row
3210         offset instead of having a 'full' y position in the row.
3211
3212 2003-10-15  André Pönitz  <poenitz@gmx.net>
3213
3214         * iterators.[Ch]:
3215         * iterators.[Ch]:
3216         * undo.[Ch]: make undo aware of inner insets
3217
3218 2003-10-14  Angus Leeming  <leeming@lyx.org>
3219
3220         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3221         static member functions LyX::ref() and LyX::cref.
3222         (lastfiles): new accessor functions for the new lastfiles_ member var.
3223         (addLyXView, views_): add a new LyXView to the list of views_.
3224         (updateInset): loop over all LyXViews to call their own updateInset
3225         member function, returning a pointer to the Buffer owning the inset.
3226
3227         * BufferView_pimpl.C (loadLyXFile):
3228         * MenuBackend.C (expandLastfiles):
3229         * bufferlist.C (MenuWrite, QuitLyX):
3230         lastfiles is no longer a global variable.
3231         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3232
3233         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3234         static function. Access through LyX::cref().emergencyCleanup().
3235
3236 2003-10-14  André Pönitz  <poenitz@gmx.net>
3237
3238         * iterators.[Ch]: new direct access to innermost LyXText and Inset
3239
3240         * undo.[Ch]: restoring part of 'undo in insets'
3241
3242         * Makefile.am:
3243         * undo_funcs.[Ch]: merge with undo.[Ch]
3244
3245         * tabular.C: small cleansing stuff
3246
3247 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
3248
3249         * paragraph_funcs.C (readParToken): report unknown insets as error
3250         boxes. Use the outer paragraph as location (also for unknown
3251         tokens).
3252
3253         * factory.C (readInset): do not abort on reading an unknown inset.
3254         Eat it and return 0.
3255
3256 2003-10-13  Angus Leeming  <leeming@lyx.org>
3257
3258         * lyx_main.C (LyX): remove call to setDisplayTranslator().
3259
3260         * lyxrc.C: displayTranslator is now a function,
3261         declared in GraphicsTypes.h.
3262
3263 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3264
3265         * format.C: new placeholder $$a to pass the socket address.
3266
3267         * bufferlist.[Ch]: new function getBufferFromTmp.
3268
3269         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3270           files in the temporary dir.
3271
3272 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3273
3274         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3275
3276         * Makefile.am: add lyxsocket.[Ch].
3277
3278         * lyx_main.C (error_handler): handle SIGPIPE.
3279
3280 2003-10-13  André Pönitz  <poenitz@gmx.net>
3281
3282         * BufferView_pimpl.C:
3283         * lyxtext.h:
3284         * text.C:
3285         * text2.C:
3286         * text3.C:
3287         * undo_funcs.[Ch]: use paroffset_type instead of
3288           ParagraphList::iterators to prevent multiple conversion
3289           (and get a more robust interface)
3290
3291 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3292
3293         * lyxfunc.C (dispatch): RESULT -> dispatch_result
3294         * lyxtext.h: ditto
3295         * text3.C (dispatch): ditto
3296
3297 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3298
3299         * LaTeX.C (handleFoundFile): move the static to smaller scope,
3300         move the onlyfile, use onlyfile instead of foundfile in a couple
3301         of places.
3302
3303         * DepTable.C (update): flush the error stream a bit more
3304
3305 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3306
3307         * lyxserver.C (callback): adjust
3308
3309         * lyxfunc.C (getStatus): add a missing brace in commented code
3310         (ensureBufferClean): reindent
3311         (dispatch): delete version taking a string
3312
3313 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3314
3315         * LaTeX.C (deplog): move found file handlig from here...
3316         (handleFoundFile): .. to new function here.
3317         (deplog): make sure to discover several files mentioned on the
3318         same log line.
3319
3320 2003-10-10  André Pönitz  <poenitz@gmx.net>
3321
3322         * lyxfunc.C:
3323         * lyxtext.h:
3324         * tabular.C:
3325         * text.C:
3326         * text2.C:
3327         * text3.C: fix some of the tabular crashes
3328
3329 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3330
3331         * MenuBackend.C (binding): put debug message into Debug::KBMAP
3332
3333         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3334
3335 2003-10-09  André Pönitz  <poenitz@gmx.net>
3336
3337         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3338
3339         * BufferView.C:
3340         * BufferView_pimpl.C:
3341         * bufferview_funcs.C:
3342         * lyx_cb.C:
3343         * lyxcursor.C:
3344         * lyxfind.C:
3345         * lyxfunc.C:
3346         * lyxtext.h:
3347         * text.C:
3348         * text2.C:
3349         * text3.C:
3350         * text_funcs.[Ch]:
3351         * textcursor.[Ch]:
3352         * undo_funcs.C: adjust
3353
3354 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3355
3356         * text2.C (incrementItemDepth): new function, use a backtracking
3357         algorithm to discover the correct item depth.
3358         (resetEnumCounterIfNeeded): new function, use a backtracking
3359         algorithm to discover if counter reset is needed.
3360         (setCounter): use them. Simplify a bit. Add different labels for
3361         different item depths for itemize.
3362
3363         * paragraph.C (Paragraph): remove initialization of enumdepth
3364         (operator=): ditto
3365
3366         * paragraph.h: get rid of enumdepth, and use itemdepth both for
3367         enumerate and itemize. Change the type of itemdepth to signed char.
3368
3369 2003-10-08  André Pönitz  <poenitz@gmx.net>
3370
3371         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3372           thing assignable.
3373         * text.C:
3374         * text2.C: adjust
3375
3376         * tabular.[Ch]: fix crash after 'row-insert'
3377
3378 2003-10-08  Angus Leeming  <leeming@lyx.org>
3379
3380         Fix doxygen warnings.
3381
3382         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3383         Remove CutAndPaste:: prefix from header file declaration.
3384
3385         * LColor.h (fill): remove LColor:: prefix from declaration.
3386
3387         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3388         use lyx::depth_type rather than Paragraph::depth_type so that
3389         header file and .C file match.
3390
3391         * converter.h (intToFormat): remove Converters:: prefix from declaration.
3392
3393         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3394         * aspell.C: \file aspell_local.C -> \file aspell.C
3395         * gettext.C: \file gettext.C -> \file src/gettext.C
3396         * gettext.h: \file gettext.h -> \file src/gettext.h
3397         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3398         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3399         * text.C: \file text.C -> \file src/text.C
3400
3401         * toc.C: move comment so that doxygen is not confused.
3402
3403 2003-10-07  Angus Leeming  <leeming@lyx.org>
3404
3405         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3406
3407 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3408
3409         * aspell.C:
3410         * aspell_local.h: add forgotten std::string's.
3411
3412 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3413
3414         * LaTeXFeatures.C:
3415         * LyXAction.C:
3416         * factory.C:
3417         * lfuns.h:
3418         * lyxfunc.C:
3419         * text3.C: The Box patch. Fancybox support, minipage, parbox
3420
3421 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3422
3423         * CutAndPaste.h:
3424         * DepTable.h:
3425         * FloatList.h:
3426         * LaTeXFeatures.h:
3427         * ParagraphParameters.h:
3428         * TextCache.h:
3429         * Thesaurus.h:
3430         * bufferlist.h:
3431         * exporter.h:
3432         * importer.h:
3433         * lastfiles.h:
3434         * lyxfind.h:
3435         * lyxfont.h:
3436         * lyxlex.h:
3437         * lyxtextclasslist.h:
3438         * messages.h:
3439         * paragraph.h:
3440         * paragraph_pimpl.C:
3441         * textcursor.h: add <string> and other small fixes to make Lars'
3442         std::string patch compile with STLport.
3443
3444 2003-10-06  Angus Leeming  <leeming@lyx.org>
3445
3446         * LColor.h: Add missing #include <string>.
3447
3448 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3449
3450         * All most all file in all subdirs: Make <string> be the prefered
3451         way of getting to std::string, add using declarations.
3452
3453 2003-10-06  André Pönitz  <poenitz@gmx.net>
3454
3455         * metricsinfo.C: initialize LyXFont before changing attribute.
3456         (fixes the 'math in \emph is upright' bug)
3457
3458 2003-10-06  André Pönitz  <poenitz@gmx.net>
3459
3460         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3461
3462 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
3463
3464         * graph.C:
3465         * paragraph_pimpl.C: Small fixes to build using STLport
3466
3467 2003-10-02  André Pönitz  <poenitz@gmx.net>
3468
3469         * lyxfunc.C:
3470         * text3.C: move handling of LFUN_DEPTH *; fix #1360
3471
3472 2003-10-01  André Pönitz  <poenitz@gmx.net>
3473
3474         * factory.C: assert early
3475
3476 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3477
3478         * lyx_main.C: remove the global debug object
3479
3480         * debug.h: adjust for new debugstream
3481
3482         * debug.C: adjust for new debugstream and keep the global debug
3483         object here.
3484
3485 2003-09-22  Angus Leeming  <leeming@lyx.org>
3486
3487         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3488         of g++ which otherwise complain that the scoped_ptr destructor can't delete
3489         an incomplete class LyXFont.
3490
3491 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
3492
3493         * factory.C: bug fix in branches
3494
3495 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3496
3497         * lyxfunc.C (processKeySym): adjust
3498         (dispatch): adjust
3499         (dispatch): change arg name from ev to func, adjust
3500         (sendDispatchMessage): ditto
3501
3502         * lyx_main.C (defaultKeyBindings): adjust keybindings
3503         (deadKeyBindings): ditto
3504
3505         * kbsequence.C (addkey): return a FuncRequest
3506
3507         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3508
3509         * kbmap.C (bind): take a FuncRequest as arg, adjust
3510         (read): adjust
3511         (lookup): adjust
3512         (defkey): change to take a FuncRequest as arg, adjust
3513         (findbinding): take a FuncRequest as arg, adjust.
3514
3515         * funcrequest.h (operator=): added
3516
3517         * funcrequest.C (FuncRequest): default kb_action changed from
3518         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3519
3520         * buffer.C (dispatch): simplify
3521         (dispatch): adjust to take a FuncRequest as arg, adjust
3522
3523         * boost.C (assertion_failed): change assertion message slightly
3524
3525         * ToolbarBackend.C (read): simplify
3526
3527         * MenuBackend.C (binding): adjust call to findbinding, add a
3528         message if no binding is found.
3529         (read): simplify
3530         (expandToc): correct by adding a empty FuncRequest
3531
3532         * LyXAction.C: include <boost/assert.hpp>
3533         (isPseudoAction): delete function
3534         (LookupFunc): change name to...
3535         (lookupFunc): this. change return type to FuncRequest.
3536         (getActionName): take kb_action as arg, simplify
3537         (funcHasFlag): add an assert, simplify.
3538
3539 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3540
3541         * toc.C (action): return a FuncRequest, simplify
3542
3543         * lyxfunc.C (processKeySym): adjust
3544         (getStatus): delete version that takes an int.
3545         (getStatus): adjust
3546         (dispatch): delete version that takes action as int
3547         (dispatch): adjust
3548         (sendDispatchMessage): simplify and adjust
3549
3550         * funcrequest.C (getArg): take unsigned int as arg
3551
3552         * ToolbarBackend.C (read): adjust
3553         (add): delete version that takes func as a string.
3554         (getIton): take a FuncRequest as arg
3555
3556         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3557         action.
3558
3559         * MenuBackend.C (MenuItem): add a new construct that only takes a
3560         Kind, simplify the constructor use for submenus.
3561         (add): adjust
3562         (expandLastfiles): adjust
3563         (expandDocuments): adjust
3564         (expandFormats): adjust
3565         (expandFloatListInsert): adjust
3566         (expandFloatInsert): adjust
3567         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3568
3569         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3570         Remove class variables lyx_pseudo_map and lyx_arg_map
3571
3572         * LyXAction.C (searchActionArg): delete function
3573         (getPseudoAction): delete function
3574         (retrieveActionArg): delete function
3575         (LookupFunc): make it return kb_action, simplify.
3576         (getActionName): simplify
3577
3578         * factory.C (createInset): fix new bug
3579
3580 2003-09-19  Angus Leeming  <leeming@lyx.org>
3581
3582         * CutAndPaste.C (pasteSelection): remove fudge used to set the
3583         masterFilename_ parameter in the include inset.
3584
3585         * factory.C (createInset): changes due to the changes to InsetInclude.
3586
3587 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3588
3589         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3590
3591 2003-09-18  Angus Leeming  <leeming@lyx.org>
3592
3593         * buffer.C:
3594         * BufferView.C: pass the buffer when calling Inset::getLabelList,
3595         Inset::fillWithBibKeys.
3596         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3597
3598 2003-09-18  Angus Leeming  <leeming@lyx.org>
3599
3600         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3601         variables.
3602         (ctor): pass and store a 'Buffer const &'
3603         (buffer): new member function.
3604
3605         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3606         '*this' to the LaTeXFeatures ctor.
3607
3608 2003-09-18  Angus Leeming  <leeming@lyx.org>
3609
3610         * LColor.h:
3611         * lyxfont.C:
3612         * lyxfont.h:
3613         * lyxtext.h:
3614         * text.C: rename EnumLColor as LColor_color.
3615
3616 2003-09-18  Angus Leeming  <leeming@lyx.org>
3617
3618         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3619         remove #include "insets/insetbase.h" from cursor.h.
3620
3621 2003-09-18  Angus Leeming  <leeming@lyx.org>
3622
3623         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3624         InsetOld_code to remove #include "inset.h".
3625
3626         * iterators.C: add #include "insets/inset.h"
3627
3628 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
3629
3630         * BufferView.C: remove more locking stuff that apparently doesn't
3631         do anything sensible.
3632
3633 2003-09-16  André Pönitz  <poenitz@gmx.net>
3634
3635         * paragraph.[Ch]:
3636         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3637           performance boost.
3638
3639 2003-09-16  Angus Leeming  <leeming@lyx.org>
3640
3641         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3642
3643         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3644         arg/return type.
3645
3646         * paragraph.h: remove #include "lyxfont.h". Forward declare
3647         LyXFont_size.
3648
3649 2003-09-16  Angus Leeming  <leeming@lyx.org>
3650
3651         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3652         of support/textutils.h.
3653         (isWord): move the contents of support/textutils.h's IsWordChar here.
3654
3655         * buffer.C:
3656         * lyxfind.C:
3657         * rowpainter.C:
3658         * text.C:
3659         * text2.C: add #include "paragraph.h".
3660
3661         * rowpainter.C:
3662         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3663
3664 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3665
3666         * main.C:
3667         * lyx_main.C:
3668         * lyx_cb.C:
3669         * buffer.C:
3670         * LaTeX.C: use namespace alias for lyx::support::os
3671
3672 2003-09-16  Angus Leeming  <leeming@lyx.org>
3673
3674         * bufferparams.C:
3675         * bufferview_funcs.C:
3676         * factory.C:
3677         * lyxfunc.C:
3678         * paragraph_pimpl.C:
3679         * rowpainter.C:
3680         * text.C: add #include "LColor.h".
3681
3682 2003-09-16  Angus Leeming  <leeming@lyx.org>
3683
3684         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3685         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3686         return LyXFont &.
3687         Store the FontBits::color variable as an int rather than as an
3688         LColor::colorso that we can move LColor.h out of the lyxfont.h header
3689         file.
3690
3691         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3692         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3693         string calls together.
3694
3695         * lyxrc.C: add #include "LColor.h".
3696
3697 2003-09-15  Angus Leeming  <leeming@lyx.org>
3698
3699         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3700         a cow_ptr.
3701
3702 2003-09-15  Angus Leeming  <leeming@lyx.org>
3703
3704         * LColor.h: add an EnumLColor wrapper for LColor::color.
3705
3706         * lyxfont.[Ch] (color, setColor, realColor):
3707         * lyxtext.h, text.C (backgroundColor):
3708         pass EnumLColor args to/from the functions, rather than LColor::color
3709         ones.
3710
3711         * lyxfont.h:
3712         * lyxtext.h: forward declare EnumLColor.
3713
3714         * lyx_main.C: add #include "LColor.h".
3715
3716 2003-09-15  Angus Leeming  <leeming@lyx.org>
3717
3718         * .cvsignore: add lyx-gtk.
3719
3720 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3721
3722         * Chktex.C
3723         * LaTeX.C
3724         * LaTeXFeatures.C
3725         * ParagraphParameters.C
3726         * Spacing.C
3727         * buffer.C
3728         * bufferparams.C
3729         * bufferview_funcs.C
3730         * chset.C
3731         * counters.C
3732         * funcrequest.C
3733         * lyxfont.C
3734         * lyxgluelength.C
3735         * lyxlength.C
3736         * paragraph.C
3737         * paragraph_funcs.C
3738         * text3.C
3739         * vc-backend.C: remove usage of STRCONV
3740
3741 2003-09-15  Angus Leeming  <leeming@lyx.org>
3742
3743         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3744         explicitly define the color passed to the painter.
3745
3746 2003-09-15  Angus Leeming  <leeming@lyx.org>
3747
3748         * bufferparams.C (BufferParams): reorder member initializers to avoid
3749         compiler warning.
3750
3751 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
3752
3753         * CutAndPaste.C (pasteSelection): remove an outdated #warning
3754         * text.C (updateRowPositions): remove an unusual nop
3755
3756 2003-09-12  André Pönitz  <poenitz@gmx.net>
3757
3758         * BufferView_pimpl.C:
3759         * Bullet.C:
3760         * layout.h:
3761         * lyxfunc.C:
3762         * lyxlayout.[Ch]:
3763         * lyxtextclass.C:
3764         * rowpainter.C:
3765         * text.C:
3766         * text2.C:
3767         * Counters.[Ch]: finish the 'automatic counters' job
3768
3769 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3770
3771         * aspell.C: include <boost/assert.cpp> (compile fix)
3772
3773 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
3774
3775         * boost.C (assertion_failed): use lyx::support::abort instead of
3776         assert.
3777
3778 2003-09-10  Angus Leeming  <leeming@lyx.org>
3779
3780         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3781         with their _fwd progeny.
3782
3783 2003-09-09  Angus Leeming  <leeming@lyx.org>
3784
3785         134 files throughtout the source tree: replace 'using namespace abc;'
3786         directives with the appropriate 'using abc::xyz;' declarations.
3787
3788 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3789
3790         * boost.C (emergencyCleanup): moved here from LAssert.c
3791         (assertion_failed): new function, called by BOOST_ASSERT
3792
3793         * several files: change Assert to BOOST_ASSERT
3794
3795 2003-09-09  Angus Leeming  <leeming@lyx.org>
3796
3797         * buffer.[Ch]: Add an Impl class and move Buffer's member
3798         variables into it. As a result move several header files out of
3799         buffer.h.
3800
3801         Add header files to lots of .C files all over the tree as a result.
3802
3803 2003-09-09  Angus Leeming  <leeming@lyx.org>
3804
3805         * buffer.[Ch]: make Buffer's member variables private. Add
3806         accessor functions.
3807
3808         Lots of changes all over the tree as a result.
3809
3810 2003-09-08  Angus Leeming  <leeming@lyx.org>
3811
3812         * graph.C: #include <config.h>.
3813
3814 2003-09-08  Angus Leeming  <leeming@lyx.org>
3815
3816         * BranchList.C:
3817         * BufferView.C:
3818         * BufferView_pimpl.C:
3819         * CutAndPaste.C:
3820         * DepTable.C:
3821         * LaTeX.C:
3822         * LaTeXFeatures.C:
3823         * LyXAction.C:
3824         * MenuBackend.C:
3825         * TextCache.C:
3826         * aspell.C:
3827         * buffer.C:
3828         * bufferlist.C:
3829         * changes.C:
3830         * chset.C:
3831         * converter.C:
3832         * counters.C:
3833         * debug.C:
3834         * graph.C:
3835         * ispell.C:
3836         * lyx_cb.C:
3837         * lyxfind.C:
3838         * lyxfunc.C:
3839         * lyxlex_pimpl.C:
3840         * lyxrc.C:
3841         * lyxrow.C:
3842         * paragraph.C:
3843         * rowpainter.C:
3844         * texrow.C:
3845         * text.C:
3846         * text2.C:
3847         * toc.C: remove redundant using directives.
3848
3849 2003-09-07  Angus Leeming  <leeming@lyx.org>
3850
3851         * LaTeXFeatures.h: remove #include "support/types.h".
3852         * ToolbarBackend.h: remove #include <algorithm>.
3853         * changes.h: remove #include <ctime>.
3854         * debug.h: remove #include <iosfwd>.
3855         * graph.h: remove #include "support/std_string.h".
3856         * lyx_main.h: remove #include <csignal>.
3857         * lyxlex_pimpl.h: remove #include <fstream>.
3858         * sgml.h: remove #include <algorithm>, <utility>.
3859         * toc.h: remove #include "support/std_ostream.h".
3860         Add #include <iosfwd>.
3861
3862 2003-09-07  Angus Leeming  <leeming@lyx.org>
3863
3864         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3865
3866         * converter.h: forward declare LatexRunParams.
3867         * encoding.h: remove #include "lyxrc.h".
3868         * lyxtext.h: remove #include "LColor.h".
3869         * lyxtextclass.h: remove #include "support/types.h".
3870         * trans.h: remove #include "tex-accent.h".
3871         * trans_mgr.h: remove #include "tex-accent.h".
3872         * insets/inset.h: remove #include "support/types.h", <vector>.
3873         * insets/insetcollapsable.h: remove #include "LColor.h".
3874         * insets/insetinclude.h: remove #include "dimension.h".
3875         * insets/insetlatexaccent.h: remove #include "dimension.h".
3876         * insets/insetoptarg.h:: remove #include "insettext.h".
3877         * insets/insettext.h: remove #include "dimension.h",
3878         <boost/shared_ptr.hpp>
3879
3880         * insets/renderers.h: add #include "dimension.h".
3881         * insets/updatableinset.h: add #include "support/types.h".
3882
3883         * many .C files: Associated changes.
3884
3885 2003-09-06  Angus Leeming  <leeming@lyx.org>
3886
3887         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3888         one, inside testInvariant.
3889
3890         * PrinterParams.C: new file.
3891         * PrinterParams.[Ch]: move the function bodies out of line.
3892
3893 2003-09-06  Angus Leeming  <leeming@lyx.org>
3894
3895         * ParagraphParameters.h: forward declare ParameterStruct rather than
3896         including its header file.
3897         (depth): moved out-of-line.
3898
3899 2003-09-06  Angus Leeming  <leeming@lyx.org>
3900
3901         * BufferView_pimpl.h:
3902         * kbmap.h:
3903         * kbsequence.h:
3904         * lyxfunc.h: forward declare LyXKeySym rather than
3905         #include "frontends/LyXKeySym.h".
3906
3907         * BufferView_pimpl.C:
3908         * kbmap.C:
3909         * kbsequence.C:
3910         * lyxfunc.C: associated changes.
3911
3912 2003-09-06  Angus Leeming  <leeming@lyx.org>
3913
3914         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3915         As a result, can remove the #include "insets/inset.h" from BufferView.h
3916
3917 2003-09-06  Angus Leeming  <leeming@lyx.org>
3918
3919         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3920         As a result, can remove the #include "insets/inset.h" from BufferView.h
3921
3922 2003-09-06  Angus Leeming  <leeming@lyx.org>
3923
3924         * buffer_funcs.C:
3925         * buffer.h:
3926         * bufferlist.C:
3927         * BufferView.C:
3928         * bufferview_funcs.C:
3929         * BufferView_pimpl.C:
3930         * CutAndPaste.C:
3931         * lyx_cb.C:
3932         * lyxfunc.C:
3933         * paragraph.h:
3934         * ParagraphParameters.C:
3935         * tabular.C:
3936         * text3.C:
3937         * toc.C:
3938         * undo_funcs.C:
3939         * frontends/controllers/ControlDocument.C:
3940         * insets/insetcaption.C: rearrange the #includes into some sort of
3941         coherent order.
3942
3943         * buffer.h: remove #includes ErrorList.h, undo.h
3944
3945 2003-09-06  Angus Leeming  <leeming@lyx.org>
3946
3947         * support/types.h: add a 'depth_type' typedef, used to store the
3948         nesting depth of a paragraph.
3949
3950         * paragraph.h:
3951         * ParameterStruct.h: use this lyx::depth_type typedef rather than
3952         defining explicitly.
3953
3954         * buffer.h:
3955         * paragraph_funcs.h:
3956         * ParagraphParameters.h:
3957         * sgml.h: use lyx::depth_type rather than Paragraph or
3958         ParameterStruct's depth_type.
3959
3960         * buffer.h
3961         * paragraph_funcs.h: no need to #include paragraph.h anymore.
3962
3963         * BufferView.C:
3964         * BufferView_pimpl.C:
3965         * CutAndPaste.C:
3966         * ParagraphParameters.C:
3967         * buffer_funcs.C:
3968         * bufferlist.C:
3969         * bufferview_funcs.C:
3970         * lyx_cb.C:
3971         * lyxfunc.C:
3972         * tabular.C:
3973         * text3.C:
3974         * toc.C:
3975         * undo_funcs.C:
3976         * frontends/LyXView.C:
3977         * frontends/controllers/ControlDocument.C:
3978         * frontends/controllers/ControlErrorList.C:
3979         * insets/insetbibitem.C:
3980         * insets/insetbranch.C:
3981         * insets/insetcaption.C:
3982         * insets/insetcollapsable.C:
3983         * insets/insetenv.C:
3984         * insets/insetert.C:
3985         * insets/insetfloat.C:
3986         * insets/insetfoot.C:
3987         * insets/insetfootlike.C:
3988         * insets/insetnewline.C:
3989         * insets/insetquotes.C:
3990         * insets/insettabular.C:
3991         * insets/insettext.C:
3992         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3993
3994         * frontends/controllers/ControlChanges.C: #include "changes.h".
3995
3996 2003-09-06  Angus Leeming  <leeming@lyx.org>
3997
3998         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3999         than #including paragraph.h.
4000
4001         * ParagraphList.h:
4002         * RowList.h: deleted. Superfluous.
4003
4004         * CutAndPaste.h:
4005         * iterators.h:
4006         * lyxcursor.h:
4007         * lyxtext.h:
4008         * text_funcs.h:
4009         * undo.h:
4010         * undo_funcs.h:
4011         * insets/inset.h:
4012         * insets/insettext.h: use ParagraphList_fwd.h rather than
4013         ParagraphList.h.
4014
4015         * paragraph.h: don't forward declare ParagraphList.
4016
4017         * buffer.h:
4018         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4019         rather than ParagraphList.h. paragraph.h is still needed for the
4020         Paragraph::depth_type parameters.
4021
4022         * textcursor.h: enable it to compile stand-alone in light of the
4023         above changes.
4024
4025         * bufferview_funcs.C:
4026         * iterators.C:
4027         * lyxfunc.C:
4028         * lyxrow_funcs.C:
4029         * paragraph.C:
4030         * rowpainter.C:
4031         * text.C:
4032         * text2.C:
4033         * text3.C:
4034         * text_funcs.C:
4035         * textcursor.C:
4036         * undo.C:
4037         * frontends/controllers/ControlParagraph.C:
4038         * frontends/controllers/ControlTabular.C:
4039         * insets/insetmarginal.C:
4040         * insets/insetminipage.C:
4041         * insets/insetnote.C:
4042         * insets/insetoptarg.C: add header files needed to compile again.
4043
4044 2003-09-06  Angus Leeming  <leeming@lyx.org>
4045
4046         * RowList_fwd.h: new file, forward-declaring Row rather than
4047         #including lyxrow.h.
4048
4049         * lyxrow_funcs.h:
4050         * lyxtext.h:
4051         * paragraph.h:
4052         * insets/insettext.h: use it instead of RowList.h
4053
4054         * bufferview_funcs.C:
4055         * lyxfunc.C:
4056         * lyxrow_funcs.C:
4057         * paragraph.C:
4058         * rowpainter.C:
4059         * text.C:
4060         * text2.C:
4061         * text3.C: #include "RowList.h".
4062
4063 2003-09-05  Angus Leeming  <leeming@lyx.org>
4064
4065         * factory.C (createInset):
4066         * vspace.C (c-tor): replace sscanf call with an istringstream.
4067         * ispell.C: re-add missing HP/UX headers.
4068         * lyxserver.C: re-add missing  os2 headers.
4069
4070 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
4071
4072         * BranchList.C:
4073         * graph.C:
4074         * ispell.C:
4075         * lastfiles.C:
4076         * lyx_cb.C:
4077         * lyxserver.C:
4078         * texrow.C:
4079         * text3.C: re-add missing system headers, needed for 2.95.2.
4080
4081 2003-09-05  Angus Leeming  <leeming@lyx.org>
4082
4083         Changes most place everywhere due to the removal of using directives
4084         from support/std_sstream.h.
4085
4086 2003-09-05  Angus Leeming  <leeming@lyx.org>
4087
4088         Replace LString.h with support/std_string.h,
4089         Lsstream.h with support/std_sstream.h,
4090         support/LIstream.h with support/std_istream.h,
4091         support/LOstream.h with support/std_ostream.h.
4092
4093         Changes resulting throughout the tree.
4094
4095 2003-09-05  Angus Leeming  <leeming@lyx.org>
4096
4097         * sgml.h: ensure that the header file can be compiled stand-alone.
4098         * *.C: strip out redundant #includes. (320 in total.)
4099
4100 2003-09-04  Angus Leeming  <leeming@lyx.org>
4101
4102         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4103         here (from getPackages).
4104
4105         * debug.[Ch]: add a new EXTERNAL tag.
4106
4107 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4108
4109         * text2.C (cursorEnd): simplify
4110         (setCursor): adjust
4111         (getColumnNearX): adjust
4112
4113         * text.C (computeBidiTables): adjust
4114         (fill): adjust
4115
4116         * rowpainter.C (paintChars): adjust
4117         (paintSelection): adjust
4118         (paintChangeBar): adjust
4119         (paintText): adjust
4120
4121         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4122         lastPos instead.
4123         (numberOfSeparators): adjust
4124
4125 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4126
4127         * LyXAction.C:
4128         * box.[Ch]:
4129         * lfuns.h:
4130         * lyxfunc.C:
4131         * text3.C: Restricts the mouse click functionality
4132         of insets like bibtex, include, toc and floatlist to the visible
4133         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4134         up the dialogs. Cursor has to be in front of the inset (i.e.
4135         start of row) for this to function.
4136
4137 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4138
4139         * bufferview_funcs.C (currentState): output row information
4140
4141 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4142
4143         * bufferview_funcs.C (currentState): output paragraph position
4144
4145 2003-09-04  Angus Leeming  <leeming@lyx.org>
4146
4147         * FloatList.h: move out #include "Floating.h".
4148         * LaTeX.h: move out #include "DepTable.h".
4149         * LyXAction.h: move out #include "funcrequest.h".
4150         * buffer.h: move out #include "author.h", "iterators.h".
4151         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4152         * lyx_main.h: move out #include "errorlist.h".
4153         * lyxfunc.h: move out #include "FuncStatus.h".
4154         * lyxtext: move out #include "lyxcursor.h".
4155         * paragraph_pimpl.h: move out #include "counters.h".
4156
4157 2003-09-03  Angus Leeming  <leeming@lyx.org>
4158
4159         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4160         preamble_snippets list, enabling us to add snippets to the preamble
4161         only if the snippet was not there already.
4162
4163 2003-09-04  Angus Leeming  <leeming@lyx.org>
4164
4165         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4166
4167 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4168
4169         * lyxfunc.C (dispatch): if fitCursor did something be sure to
4170         update
4171
4172 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4173
4174         * BranchList.C: point fix, earlier forgotten
4175
4176 2003-09-02  Angus Leeming  <leeming@lyx.org>
4177
4178         * box.C (contains): renamed from 'contained' after a fantastic
4179         amount of hot air.
4180
4181 2003-09-02  John Levon  <levon@movementarian.org>
4182
4183         * BufferView.C:
4184         * lyxcursor.h:
4185         * lyxcursor.C:
4186         * lyxfunc.C:
4187         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4188
4189 2003-09-02  John Levon  <levon@movementarian.org>
4190
4191         * text2.C: simplification of cursorEnd(), including partial
4192         fix for bug 1376
4193
4194 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4195
4196         * buffer.C (readFile): add a space
4197
4198 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
4199
4200         * BufferView_pimpl.C (update): remove bogus fitCursor() call
4201
4202 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4203
4204         * buffer.C (readFile): new function, take a filename and a
4205         ParagraphList::iterator
4206         (readFile): adjust
4207         (readFile): adjust, make it private. don't use setStream, make
4208         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4209         always contain the filename.
4210
4211         * BufferView.C (insertLyXFile): simplify and make it work for
4212         gzipped files.
4213
4214 2003-08-30  John Levon  <levon@movementarian.org>
4215
4216         * Makefile.am: fix dist (from Kayvan)
4217
4218 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4219
4220         * most files: change to use const Buffer refs
4221
4222 2003-08-27  André Pönitz  <poenitz@gmx.net>
4223
4224         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4225         on top of ownerPar().
4226
4227 2003-08-27  John Levon  <levon@movementarian.org>
4228
4229         * funcrequest.C: properly initialise POD members
4230
4231 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4232
4233         * lyxtext.h (top_y): move top_y from here
4234         * text.C:
4235         * text2.C:
4236         * text3.C:
4237         * BufferView.[Ch]:
4238         * BufferView_pimpl.[Ch]: to here
4239         * frontends/screen.C:
4240         * insets/insettabular.C:
4241         * insets/insettext.C: adjust
4242         * rowpainter.[Ch] (paintRows): remove LyXText & argument
4243
4244 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4245
4246         * BufferView.[Ch]:
4247         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4248
4249 2003-08-26  André Pönitz  <poenitz@gmx.net>
4250
4251         * paragraph_func.[Ch] (outerPar): new function
4252
4253         * paragraph.C:
4254         * paragraph_funcs.C:
4255         * paragraph_funcs.h:
4256         * paragraph_pimpl.C:
4257         * text2.C: remove Inset::par_owner
4258
4259 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
4260
4261         * lyxrow_funcs.C:
4262         * lyxtext.h:
4263         * text.C:
4264         * text2.C: eliminates the needFullRow/display() stuff
4265         altogether, putting the logic in metrics/draw in the insets.
4266
4267 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
4268
4269         * text2.C (redoParagraphInternal, redoParagraphs):
4270         * text.C (redoParagraph): add a call to updateRowPositions at the
4271         end of each 'metrics-like' call. Remove all others.
4272         (getRow): remove the 'y-computing' version.
4273         (getRowNearY): do not compute nor return the real y. Solve the
4274         'y < 0' problem and simplify.
4275
4276 2003-08-22  Angus Leeming  <leeming@lyx.org>
4277
4278         * *.[Ch]: clean-up of licence and author blurbs.
4279         Also move config.h out of a few .h files and into a few .C files.
4280
4281 2003-08-22  André Pönitz  <poenitz@gmx.net>
4282
4283         * lyxrow.[Ch]: add x_ and *fill_ members
4284
4285         * lyxtext.h:
4286         * text.C:
4287         * rowpainter.C:
4288         * text2.C: adjust/remove prepareToPrint() calls
4289
4290 2003-08-22  André Pönitz  <poenitz@gmx.net>
4291
4292         * lyxrow.[Ch]: add  end_ member
4293
4294         * lyxrow_funcs.C: use LyXRow::end_
4295
4296         * lyxtext.h (singleWidth): add LyXFont parameter
4297
4298         * rowpainter.C:
4299         * text2.C: adjust LyXText::singleWidth() calls
4300
4301         * text.C (redoParagraph): simplify row breaking logic
4302
4303
4304 2003-08-19  André Pönitz  <poenitz@gmx.net>
4305
4306         * funcrequest.C: initialize button_ member
4307
4308         * text3.C:
4309         * rowpainter.[Ch]: interface consolidation
4310
4311 2003-08-18  André Pönitz  <poenitz@gmx.net>
4312
4313         * BufferView.C:
4314         * BufferView_pimpl.C:
4315         * lyxfind.C:
4316         * paragraph_funcs.C:
4317         * rowpainter.C:
4318         * text3.C: remove LyXScreen::draw() and fitCursor calls
4319
4320         * BranchList.h: remove spurious semicolons
4321
4322         * MenuBackend.C: fix branchlist related crash
4323
4324 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
4325
4326         * BranchList.[Ch]:
4327         * InsetList.[Ch]:
4328         * LColor.[Ch]:
4329         * LyXAction.C:
4330         * Makefile.am:
4331         * MenuBackend.[Ch]:
4332         * bufferparams.[Ch]:
4333         * factory.C:
4334         * lfuns.h:
4335         * lyxfunc.C:
4336         * text3.C: implements the 'branch inset'
4337         idea. This allows the output of various versions of a document
4338         from a single source version, selectively outputing or suppressing
4339         output of parts of the text.
4340         This implementation contains a 'branch list editor' in a separate
4341         tab of the document settings dialog. Branches are user definable
4342         and have a "display colour" to distinguish them on-screen.
4343
4344         ColorHandler was somewhat cleaned up.
4345         (1) make possible a dynamically growing LColor list by allowing
4346         the graphic context cache to grow along (vector);
4347         (2) eliminate an IMHO unnecessary step in colour allocation.
4348
4349 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
4350
4351         * BufferView_pimpl.C: compile fix
4352
4353 2003-08-15  André Pönitz  <poenitz@gmx.net>
4354
4355         * rowpainter.C: remove extra metrics calls
4356
4357         * lyxtext.h: merge the two constructors into a single one,
4358           pass reference to owner's par list
4359
4360         * BufferView_pimpl.C:
4361         * text.C:
4362         * text2.C: adjust
4363
4364 2003-08-15  André Pönitz  <poenitz@gmx.net>
4365
4366         * lyxrow_funcs.[Ch]:
4367         * lyxtext.h:
4368         * paragraph.h:
4369         * paragraph_funcs.C:
4370         * rowpainter.C:
4371         * text.C:
4372         * text2.C:
4373         * text3.C:
4374         * text_funcs.C: split LyXText::rowlist_ into individual
4375         Paragraph::rows_ chunks
4376
4377         * BufferView.[Ch]:
4378         * BufferView_pimpl.[Ch]:
4379         * lyxfind.C:
4380         * lyxtext.h:
4381         * text3.C: remove toggleSelection()
4382
4383 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
4384
4385         * bufferlist.C: beautify two alerts (shorter text of buttons)
4386         * buffer.C: Remove redundant ' ' from message
4387         * tabular.h:
4388         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4389         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4390         rename VALIGN_CENTER to VALIGN_MIDDLE
4391
4392 2003-08-11  André Pönitz  <poenitz@gmx.net>
4393
4394         * lyxtext.h (getPar):
4395         * text.C: new function
4396
4397 2003-08-11  André Pönitz  <poenitz@gmx.net>
4398
4399         * Makefile.am:
4400         * tracer.[Ch]: remove unneeded files
4401
4402         * InsetList.[Ch]: remove resizeInsetsLyXText()
4403
4404         * lyxtext.h:
4405         * text.C:
4406         * text2.C:
4407         * text3.C: merge insertParagraphs() and appendParagraph()
4408         remove breakAgain(), update()
4409
4410         * BufferView_pimpl.[Ch]:
4411         * bufferview_funcs.[Ch]:
4412         * lyxfunc.C:
4413         * paragraph.[Ch]:
4414         * rowpainter.C:
4415         * tabular.C: adjust after text & InsetList changes.
4416
4417 2003-08-08  André Pönitz  <poenitz@gmx.net>
4418
4419         * text.C (insertChar, backspace): replace rowlist fiddling
4420         with rebreak of full par
4421
4422         * lyxtext.h:
4423         * text.C (breakAgainOneRow, redoHeightOfParagraph,
4424         checkParagraph, updateInset): removed
4425
4426 2003-08-07  André Pönitz  <poenitz@gmx.net>
4427
4428         * paragraph.C:
4429         * text3.C: merge some LFUN handlers, remove dead code
4430
4431 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4432
4433         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4434
4435 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
4436
4437         * text2.C (DEPM): fix part of bug 1255 and 1256
4438
4439 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4440
4441         * BufferView_pimpl.C (workAreaDispatch): change to use
4442         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4443         that are no mouse related.
4444
4445 2003-08-05  André Pönitz  <poenitz@gmx.net>
4446
4447         * BufferView.[Ch]:
4448         * BufferView_pimpl.[Ch]:
4449         * bufferview_funcs.C:
4450         * text2.C:
4451         * text3.C: rip out "deep update"
4452
4453         * textcursor.[Ch] (last_sel_cursor): remove unused member
4454
4455 2003-08-04  André Pönitz  <poenitz@gmx.net>
4456
4457         * BufferView.[Ch]:
4458         * BufferView_pimpl.[Ch]:
4459         * ParagraphParameters.C:
4460         * bufferview_funcs.C:
4461         * lyx_cb.C:
4462         * lyxfind.C:
4463         * lyxfunc.C:
4464         * text.C:
4465         * text2.C:
4466         * text3.C: replace "complicated" BufferView::update(...) calls with
4467         simpler ones.
4468
4469         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4470
4471 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
4472
4473         * Makefile.am (lyx_SOURCES): add paper.h
4474
4475 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4476
4477         * Makefile.am: move things around so that both lyx-qt and
4478         lyx-xforms can be built (according to --with-frontend). Then lyx
4479         is a symbolic link to lyx-[firstfrontend]
4480
4481 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
4482
4483         * Always use std::endl with lyxerr
4484
4485 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
4486
4487         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4488
4489 2003-08-01  André Pönitz  <poenitz@gmx.net>
4490
4491         * BufferView.[Ch]:
4492         * BufferView_pimpl.[Ch]:
4493         * lyxfunc.C:
4494         * text3.C: merge BufferView::repaint() and BufferView::update()
4495
4496 2003-08-01  José Matos  <jamatos@lyx.org>
4497
4498         * buffer.[Ch]: file_format is no longer a buffer data element.
4499
4500 2003-08-01  André Pönitz  <poenitz@gmx.net>
4501
4502         * BufferView.C:
4503         * lyxtext.h:
4504         * text.C:
4505         * text2.C: make redoParagraph more independent of current cursor
4506
4507         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4508         * text.C:
4509         * text2.C: remove unneeded members
4510
4511 2003-07-30  André Pönitz  <poenitz@gmx.net>
4512
4513         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4514
4515         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4516           create a single function...
4517
4518         * paragraph_funcs.C (moveItem): ... here.
4519
4520         * text.C:
4521           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4522
4523 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
4524
4525         * LColor.[Ch]: Add comment and greyedout logical colors.
4526
4527 2003-07-30  André Pönitz  <poenitz@gmx.net>
4528
4529         * tabular.C: don't use Assert too heavily. This crashes where it
4530           shouldn't
4531
4532 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
4533
4534         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4535         is disabled (bug 1232)
4536
4537 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4538
4539         * factory.C: limited 'arg' scope
4540
4541 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4542
4543         * factory.C: fixed Note submenu issues
4544
4545 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4546
4547         * factory.C: submenu for Note/Comment/Greyedout
4548
4549 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
4550
4551         * lyx_main.C (LyX):
4552         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4553
4554 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
4555
4556         * LaTeXFeatures.C:
4557         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4558         greyedout. Patch provided by Jürgen Spitzmüller.
4559
4560 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4561
4562         * kbmap.C (read): fix error message when reading bind files
4563
4564 2003-07-29  Angus Leeming  <leeming@lyx.org>
4565
4566         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4567         certainly does not do what it purports to do. I am doing it, and
4568         us, a favour by killing it.
4569
4570 2003-07-28  José Matos  <jamatos@lyx.org>
4571
4572         * buffer.C (readBody, do_writeFile):
4573         * paragraph.C(readParagraph): \end_document replaces \the_end.
4574
4575 2003-07-29  André Pönitz  <poenitz@gmx.net>
4576
4577         * BufferView.[Ch]:
4578         * BufferView_pimpl.[Ch]:
4579         * lyxfunc.C:
4580         * text2.C:
4581         * text3.C:
4582         * textcursor.[Ch]: remove toggleToggle & Co
4583
4584 2003-07-28  José Matos  <jamatos@fep.up.pt>
4585
4586         * buffer.C (readParagraph):
4587         * params_func (readParToken, readParagraph):
4588         * paragraph.C (write): \layout -> \begin_layout.
4589
4590 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4591
4592         * lyxlex_pimpl.C (setFile): clean up slightly.
4593
4594         * bufferparams.h: add compressed var
4595
4596         * buffer_funcs.C (readFile): adjust for LyXLex change
4597         (newFile): ditto + simplify
4598
4599         * buffer.C (writeFile): handle writing of compressed files
4600
4601         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4602         Check if the file is compressed and set a bufferparm if so.
4603
4604         * Makefile.am (lyx_LDADD): remove explicit -lz
4605
4606 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4607
4608         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4609         makeDocBookFile): put the real LyX version in the first line of
4610         the file
4611
4612         * version.h:
4613         * version.C.in: remove lyx_docversion
4614
4615         * tabular.C (write_attribute): add a template-based version to
4616         write enums properly
4617
4618 2003-07-28  André Pönitz  <poenitz@gmx.net>
4619
4620         * lyxtext.h:
4621         * text.C:
4622         * text2.C:
4623         * text3.C: use doubles again for x-coordinates. They are needed.
4624
4625 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4626
4627         * messages.C (getLocaleDir): use lyx_localedir()
4628
4629         * lyxlex_pimpl.C (setFile): compress stuff
4630
4631         * buffer.C (writeFile): add some compression stuff
4632         (do_writeFile): new func, dont call expliti close... will this
4633         breake anything?
4634
4635         * Makefile.am (lyx_LDADD): add -lz
4636
4637 2003-07-28  José Matos  <jamatos@fep.up.pt>
4638
4639         * buffer.C: increment file format.
4640         * paragraph_funcs (readParagraph, readParToken):
4641         * paragraph.C (readParagraph): add \end_layout.
4642
4643 2003-07-27  Angus Leeming  <leeming@lyx.org>
4644
4645         * Makefile.am: remove special casing for configure-time setting of
4646         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4647
4648         * lyx_main.C (init): remove all Jean-Marc's magic setting of
4649         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4650
4651 2003-07-26  André Pönitz  <poenitz@gmx.net>
4652
4653         * paragraph_func.[Ch]:
4654         * paragraph.C (realizeFont): inline it whereever it is used
4655
4656         * rowpainter.C:
4657         * text.C:
4658         * text2.C:
4659         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4660
4661
4662 2003-07-26  André Pönitz  <poenitz@gmx.net>
4663
4664         *       lyxtext.h:
4665         * text.C:
4666         * text2.C: get rid of LyXText::need_break_row
4667
4668 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4669
4670         * toc.[Ch]: put namespace toc inside namespace lyx
4671
4672         * MenuBackend.C (expandToc2): adjust for lyx::toc
4673         (expandToc): ditto
4674
4675         * lyxfunc.C (dispatch): adjust for lyx::find
4676
4677         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4678         lyx::find instead. Reorganize a bit.
4679         (LyXReplace): rename to replace
4680         (LyXFind): rename to find
4681
4682         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4683         (dispatch): ditto
4684
4685 2003-07-26  André Pönitz  <poenitz@gmx.net>
4686
4687         * text.C (setHeightOfRow): restrict scope of temporary variable
4688
4689         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
4690           code (never has been used?)
4691
4692 2003-07-27  Asger Alstrup  <alstrup@local>
4693
4694         * text.C (fill): Optimise algorithm to exploit that we can reuse
4695         the LyXFont for many characters.
4696         (setHeightOfRow): Same thing.
4697         (rowBreakPoint): Same thing.
4698
4699 2003-07-26  Asger Alstrup  <alstrup@local>
4700
4701         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4702
4703         * text.C (singleWidth): Spurious font copying in hot-spot
4704         singleWidth avoided. Reorder tests for arabic for efficiency.
4705
4706         * text.C (fill): handle empty paragraphs better.
4707
4708 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4709
4710         * ispell.C:
4711         * encoding.h: add includes
4712
4713         * lyxrc.C: remove reading of bind files
4714
4715         * lyx_main.C (init): setup bindings and menus only if we have a
4716         gui.
4717
4718         * kbmap.C (read): new method. Do the actual reading of bind
4719         files.
4720
4721         * converter.C (dvipdfm_options):
4722         * bufferparams.C:
4723         * lyxrc.C (read):
4724         (output): adapt PAPER_* enums.
4725
4726         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4727
4728         * bufferparams.h: remove paper-related enums from there
4729
4730         * paper.h: New file. A trivial header file to hold paper-related
4731         enums. It should later expand to contain many paper-related
4732         horrors access.
4733
4734         * lyxrc.C: declare extern displayTranslator
4735
4736 2003-07-27  José Matos  <jamatos@fep.up.pt>
4737
4738         * tabular.[Ch] (linuxdoc): add support for tables and figures
4739         (linuxdoc).
4740
4741 2003-07-27  José Matos  <jamatos@fep.up.pt>
4742
4743         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4744         consistency in both functions.
4745         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4746
4747 2003-07-26  Asger Alstrup  <alstrup@local>
4748
4749         * rowpainter.C (paintRows): Change algorithm to work directly on
4750         the insets rather than asking every character in the document
4751         whether its an inset.
4752
4753 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
4754
4755         * buffer.C (openFileWrite): factorize some code
4756
4757 2003-07-26  Angus Leeming  <leeming@lyx.org>
4758
4759         * lyx_cb.C:
4760         * lyx_main.[Ch]: replace occurances of system_tempdir with
4761         os::getTmpDir().
4762
4763 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4764
4765         * rename Inset to InsetOld
4766
4767 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
4768
4769         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4770         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4771         which I think is a bit clearer. EDIT is gone, since it was
4772         premature optimisation, and broken for mathed anyway.
4773         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4774         with cursor positioning in insets as well (math insets still do not
4775         work, but that's a different story anyway.) It mysteriously
4776         crashes sometimes with undo in the first paragraph, but I'm fairly
4777         confident that this is a compiler bug.
4778
4779 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4780
4781         * paragraph.C (Paragraph): adjust for new clone return type
4782         (operator==): ditto
4783         (copyIntoMinibuffer): ditto
4784
4785 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
4786
4787         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4788         by not having a special case, and always doing a full rebreak of
4789         the document after undo.
4790
4791 2003-07-23  Angus Leeming  <leeming@lyx.org>
4792
4793         * factory.C (createInset): InsetExternal::setParams now takes a
4794         Buffer const * arg.
4795
4796 2003-07-23  Angus Leeming  <leeming@lyx.org>
4797
4798         * factory.C (createInset): changed interface to the external and
4799         graphics mailers' string2params functions.
4800
4801 2003-07-23  Angus Leeming  <leeming@lyx.org>
4802
4803         * factory.C (createInset): pass a
4804         Buffer const * parameter to InsetExternalMailer's string2params.
4805
4806 2003-07-22  John Levon  <levon@movementarian.org>
4807
4808         * Thesaurus.h: include the right aiksaurus header
4809
4810 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4811
4812         * MenuBackend.C (expand): check menu shortcuts unconditionally
4813
4814 2003-07-21  Angus Leeming  <leeming@lyx.org>
4815
4816         * factory.C (createInset): pass a
4817         buffer_path parameter to InsetGraphicsMailer's string2params.
4818
4819 2003-07-21  Angus Leeming  <leeming@lyx.org>
4820
4821         * BufferView_pimpl.C (buffer):
4822         * buffer.C (d-tor):
4823         * lyx_main.C (LyX):
4824         * lyxfunc.C (dispatch):
4825         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4826         rather than the grfx shortcut.
4827
4828 2003-07-21  André Pönitz  <poenitz@gmx.net>
4829
4830         * rowpainter.C: remove unused variables
4831
4832         * tabular_funcs.C:
4833         * tabular_funcs.h: move to tabular.C
4834         * Makefile.am: adjust
4835
4836         * tabular.[Ch]: basic optical cleaning
4837
4838         * author.h: pass references, not values
4839
4840 2003-07-18  André Pönitz  <poenitz@gmx.net>
4841
4842         * lyxtext.h:
4843         * metricsinfo.C:
4844         * metricsinfo.h:
4845         * rowpainter.C:
4846         * text.C:
4847         * text2.C:
4848         * text3.C: two-phase drawing for InsetText and InsetTabular
4849         some float -> int changes.
4850
4851 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4852
4853         * lyx_main.C: fix the fix
4854
4855 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4856
4857         * lyx_main.C: fix a crash in batch mode if no files specified
4858         * converter.C: ws
4859
4860 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
4861
4862         * format.[Ch] (papersize): moved to BufferParams
4863         * converter.[Ch] (dvips_options): moved to BufferParams
4864         (dvipdfm_options): moved to anon namespace
4865         * bufferparams.[Ch]: added above functions.
4866
4867 2003-07-17  André Pönitz  <poenitz@gmx.net>
4868
4869         * lyxtext.h:
4870         * rowpainter.C:
4871         * text2.C: don't call inset->update() anymore
4872
4873         * metricsinfo.[Ch]: add convenience constructor
4874
4875 2003-07-16  André Pönitz  <poenitz@gmx.net>
4876
4877         * lyxcursor.[Ch]:
4878         * lyxfunc.[Ch]:
4879         * text.C:
4880         * text2.C: replace the LyXCursor::irow_ member with
4881          on-demand computation of the value
4882
4883 2003-07-16  John Levon  <levon@movementarian.org>
4884
4885         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4886
4887 2003-07-15  André Pönitz  <poenitz@gmx.net>
4888
4889         * text.C:
4890         * text2.C: remove no more needed refresh_row
4891
4892 2003-07-15  André Pönitz  <poenitz@gmx.net>
4893
4894         * lyxtext.h:
4895         * rowpainter.C:
4896         * text2.C:
4897         * text3.C: refresh_status tristate -> need_update bool
4898
4899 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
4900
4901         * lyxtext.h (init): remove reinit argument (act as if always true)
4902         * text2.C: adjust to that
4903
4904 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4905
4906         * bufferview_funcs.[Ch]: introduce function replaceSelection()
4907         * text3.C: use it to delete selections in some cases
4908         (bugs 441, 673, 702, 954).
4909
4910 2003-07-14  André Pönitz  <poenitz@gmx.net>
4911
4912         * rowpainter.[Ch]: reduce interface
4913
4914 2003-07-14  André Pönitz  <poenitz@gmx.net>
4915
4916         * BufferView_pimpl.C:
4917         * text2.C: adjust after removing unused BufferView * argument
4918
4919 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
4920
4921         * text2.C (init): fix a crash fired on resize
4922
4923 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
4924
4925         * buffer.[Ch]: added new closing signal
4926         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4927         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4928         BufferView::Pimpl via the closing the signal
4929
4930 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
4931
4932         * buffer.[Ch]: take out all bv-related from buffer
4933         * BufferView.C:
4934         * BufferView_pimpl.[Ch]: connect to new signals
4935         * CutAndPaste.C: removed useless asserts
4936         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4937         * lyxvc.[Ch]:
4938         * vc-backend.[Ch]:
4939         * lyxfunc.C: moved view-related funciontality from vc here
4940         * paragraph.C: removed outdated comments
4941         * text.C: ws
4942
4943 2003-07-10  André Pönitz  <poenitz@gmx.net>
4944
4945         * BufferView_pimpl.C:
4946         * tabular.h:
4947         * tabular_funcs.C:
4948         * text.C:
4949         * text2.C: remove InsetText::InnerCache, clean up consequences
4950
4951 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
4952
4953         * ispell.C: fix two typos in error messages
4954
4955 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
4956
4957         * Extend Note inset to other forms of annotation like Comment
4958         and Greyedout. Right button click gives dialog.
4959
4960         Files modified or added (+):
4961
4962         * insetnote.[Ch]
4963         * FormNote.[Ch]      +
4964         * ControlNote.[Ch]   +
4965         * form_note.fd       +
4966         * Makefile.am in frontends/xforms, frontends/xforms/forms,
4967         frontends/controllers
4968         * xforms/Dialogs.C
4969         * factory.C
4970
4971 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4972
4973         * aspell.C: add missing namespace lyx::support
4974
4975 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
4976
4977         * BufferView.[Ch] (newFile): Add
4978         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4979         * LaTeX.[Ch] (message): added this signal and use it
4980         * buffer.[Ch] (busy, message): added these signals and use them
4981         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4982         * converter.C:
4983         * exporter.C:
4984         * format.C:
4985         * importer.C: use buffer signals instead of direct bv calling
4986         * lyx_cb.[Ch] (ShowMessage): removed
4987         * lyx_main.C:
4988         * lyxfunc.C:
4989         * paragraph_funcs.C:
4990         * text2.C: use buffer signals
4991
4992 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4993
4994         * introduce namespace lyx::graphics
4995
4996 2003-07-02  André Pönitz  <poenitz@gmx.net>
4997
4998         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4999
5000 2003-07-01  André Pönitz  <poenitz@gmx.net>
5001
5002         * text.C:
5003         * text2.C:
5004         * text3.C:
5005         * text_funcs.[Ch]:
5006         * textcursor.h:
5007         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5008           text*.C to text_func.C
5009
5010 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5011
5012         * introduce namespace lyx::support
5013
5014 2003-06-30  André Pönitz  <poenitz@gmx.net>
5015
5016         * Chktex.C:
5017         * funcrequest.C:
5018         * lyxtext.h:
5019         * text.C: re-enable --with-included-string
5020
5021 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5022
5023         * textcursor.C: add <config.h>
5024
5025         * text.C (getWord): remove const from word_location arg
5026
5027         * lyxvc.C (getLogFile): fix const type order
5028
5029         * lyxtext.h: remove const from word_location arg, add arg name
5030
5031         * lyxlayout.h: currect type on labeltype.
5032
5033         * importer.C: correct \file
5034
5035         * converter.C (intToFormat): use std:: on ret val, ws changes
5036
5037         * bufferlist.h: correct \file
5038
5039         * buffer.C (makeLinuxDocFile): fix const type order
5040         (makeDocBookFile): ditto
5041         (fillWithBibKeys): use std:: on stdlib args.
5042
5043         * CutAndPaste.C: fix authors.
5044         (availableSelections): use std:: on return vector
5045
5046 2003-06-27  André Pönitz  <poenitz@gmx.net>
5047
5048         * BufferView_pimpl.C:
5049         * bufferview_funcs.C:
5050         * lyxcursor.C:
5051         * lyxcursor.h:
5052         * lyxfunc.C:
5053         * lyxtext.h:
5054         * rowpainter.C:
5055         * text.C:
5056         * text2.C:
5057         * text3.C: remove LyXCursor::row_ member
5058
5059         * lyxtext.h:
5060         * text.C: rename fullRebreak() to partialRebreak() and implement
5061           a fullRebreak() that really bereks fully
5062
5063         * textcursor.h: new struct for cursor-related data
5064
5065 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
5066
5067         * lyx_main.C (LyX): get full path of document loaded on the
5068         command line
5069
5070 2003-06-26  André Pönitz  <poenitz@gmx.net>
5071
5072         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5073           remove unused/broken operator>,<,>=.
5074
5075         *       text.C: remove only use of broken operator<= in an Assert().
5076
5077 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5078
5079         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5080         moved errorlist_.clear to showErrorList
5081
5082 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5083
5084         * converter.C (scanLog, runLaTeX):
5085         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5086         move the bv->showErrorList call to the callers
5087         * lyxfunc.C: i.e. here...
5088         * text2.C: and here
5089         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5090         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5091         namespace, the second to...
5092         * buffer_funcs (BufferFormat, parseErrors): added
5093         * errorlist.C (ErrorList(TeXErrors const &)): removed
5094
5095 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5096
5097         * ToolbarBackend.C (getIcon): complain when icon cannot be found
5098
5099 2003-06-24  "Garst R. Reese" <reese@isn.net>
5100
5101         * debug.C: fix typo
5102
5103 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5104
5105         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5106
5107         * version.C.in: change docversion to 1.4
5108
5109 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
5110
5111         * buffer.C: fix a bug just introduced
5112
5113 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
5114
5115         * buffer.[Ch]: added the parseError signal and use it, removed
5116         sgmlError
5117         * BufferView.[Ch] (addError): moved to ...
5118         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5119         to the Buffer::parseError signal to catch (guess what) parse errors
5120         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5121
5122 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
5123
5124         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5125         ability to create a buffer and to return an existing one from
5126         the list. Moved these functions to...
5127         * buffer_funcs.[Ch]: added
5128         * BufferView.[Ch] (loadLyXFile): added
5129         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5130         job removed from bufferlist::loadLyXFile.
5131         * buffer.C (setReadOnly): make it work without view
5132         (i.e added an if (users))
5133
5134 2003-06-19  Angus Leeming  <leeming@lyx.org>
5135
5136         * lfuns.h:
5137         * LyXAction.C (init):
5138         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5139         with LFUN_DIALOG_SHOW <name> <data>.
5140
5141 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5142
5143         * CutAndPaste.C (availableSelections): small compilation fix for
5144         ancient (gcc 2.9x) compilers
5145
5146 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
5147
5148         * text3.C (cursorNext): add tmp var
5149
5150         * text2.C (updateCounters): for function calling out of for clause
5151         (replaceSelectionWithString): ditto
5152         (insertStringAsParagraphs): ditto
5153         (getColumnNearX): add tmp var
5154         (setCursorFromCoordinates): add tmp var
5155         (cursorDownParagraph): add tmp var
5156         (deleteEmptyParagraphMechanism): add tmp var
5157
5158         * text.C (insertChar): add tmp var
5159
5160         * rowpainter.C (paintDepthBar): add tmp var
5161
5162         * CutAndPaste.C (availableSelections): potentially check all
5163         paragraphs in a cut to fill the shown strings.
5164
5165 2003-06-18  André Pönitz  <poenitz@gmx.net>
5166
5167         * kbmap.[Ch]: use vector<> instead of list<>
5168
5169 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
5170
5171         * text3.C (dispatch): handle arg to LFUN_PASTE, call
5172         pasteSelection with index
5173
5174         * text2.C (pasteSelection): modify, call pasteSelection with index
5175
5176         * paragraph.C (asString): reimplement version with no interval to
5177         call the one with interval.
5178
5179         * lyxtext.h: add index arg to pasteSelection
5180
5181         * MenuBackend.C (MenuItem): handle PasteRecent
5182         (Menu::read::Menutags): add md_pasterecent
5183         (read): handle it
5184         (expandPasteRecent): new function
5185         (expand): use it
5186
5187         * MenuBackend.h: add PasteRecent to MenuItem::Kind
5188
5189         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5190         the limited stack
5191         (availableSelections): new function
5192
5193 2003-06-17  Angus Leeming  <leeming@lyx.org>
5194
5195         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5196
5197 2003-06-17  Angus Leeming  <leeming@lyx.org>
5198
5199         * lfuns.h:
5200         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5201
5202         * lyxfunc.C (dispatch): invoke it.
5203
5204 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5205
5206         * iterators.C (operator++, ParPosition): reintroduce some
5207         const_cast for the benefit of older compilers.
5208
5209 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5210
5211         * text3.C (dispatch): do not modify clipboard when doing
5212         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5213         LFUN_DELETE_SKIP on a selection selection
5214
5215 2003-06-16  André Pönitz  <poenitz@gmx.net>
5216
5217         * BufferView.C:
5218         * buffer.C:
5219         * buffer.h:
5220         * paragraph.C:
5221         * tabular.[Ch]: IU of clone() and getLabelList();
5222
5223 2003-06-13  André Pönitz  <poenitz@gmx.net>
5224
5225         * tabular.h: compactification
5226
5227 2003-06-12  André Pönitz  <poenitz@gmx.net>
5228
5229         * tabular.C:
5230         * tabular.h:
5231         * tabular_funcs.h: some renaming plus whitespace
5232
5233 2003-06-12  André Pönitz  <poenitz@gmx.net>
5234
5235         * BufferView.C:
5236         * BufferView_pimpl.C:
5237         * CutAndPaste.C:
5238         * buffer.C:
5239         * iterators.[Ch]:
5240         * lyxfunc.C:
5241         * text.C:
5242         * toc.C: Return a Paragraph & for ParIterator::operator*()
5243
5244 2003-06-11  John Levon  <levon@movementarian.org>
5245
5246         * lyx_main.C:
5247         * ToolbarBackend.h:
5248         * ToolbarBackend.C: add "Toolbars" section and
5249         put the flags there
5250
5251 2003-06-10  Angus Leeming  <leeming@lyx.org>
5252
5253         * lfuns.h:
5254         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5255
5256         * lyxfunc.C (dispatch): invoke it.
5257
5258 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5259
5260         * main.C: protect <ios> with HAVE_IOS
5261         (main): protect sync_with_stdio with HAVE_IOS
5262
5263 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
5264
5265         * text2.C (cutSelection): adjust
5266         (pasteSelection): adjust
5267
5268         * messages.C: handle get of empty string
5269
5270         * main.C (main): use sync_with_stdio(false)
5271
5272         * lyxfunc.C (dispatch): adjust
5273
5274         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5275         (WriteAs): remove unneeded BufferView arg.
5276
5277         * bufferparams.h: use correct types on papersize, papersize2 and
5278         paperpackage.
5279
5280         * bufferparams.C (readToken): adjust for type
5281         (writeLaTeX): add missing cases to switch.
5282
5283         * bufferlist.C (quitWriteBuffer): adjust
5284         (close): adjust
5285
5286         * buffer.C (asciiParagraph): remove some commented code.
5287
5288         * CutAndPaste.C: remove current_view extern variable.
5289         (cutSelection): add BufferParams arg.
5290         (eraseSelection): add BufferParams arg.
5291         (pasteSelection): add Buffer const & arg
5292
5293 2003-06-07  John Levon  <levon@movementarian.org>
5294
5295         * buffer.C:
5296         * paragraph_funcs.C:
5297         * paragraph_pimpl.C:
5298         * text.C:
5299         * text2.C:
5300         * paragraph.h:
5301         * paragraph.C: allow InsetERT to freely space lines,
5302         and some consolidation of code
5303
5304 2003-06-06  José Matos  <jamatos@fep.up.pt>
5305
5306         * buffer.C (makeDocBookFile): fix bug #821
5307
5308 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
5309
5310         * BufferView_pimpl.C (dispatch): use Dialogs::visible
5311
5312 2003-06-04  Angus Leeming  <leeming@lyx.org>
5313
5314         * buffer.C: bump format to 224.
5315
5316 2003-06-05  André Pönitz  <poenitz@gmx.net>
5317
5318         * text2.C (redoParagraphs): remove two const_cast<>
5319
5320 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5321
5322         * ParagraphList.h: remove last remnants of NO_STD_LIST
5323
5324 2003-06-03  Angus Leeming  <leeming@lyx.org>
5325
5326         * factory.C (createInset): small change to the way InsetExternal's params
5327         are set.
5328
5329 2003-06-04  André Pönitz  <poenitz@gmx.net>
5330
5331         * buffer.h: use Undo directly instead of shared_ptr<Undo>
5332
5333         * paragraph_pimpl.h:
5334         * paragraph.[Ch]: some Inset -> UpdatableInset changes
5335
5336         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5337
5338         * undo_funcs.C: make some simple cases of undo work again
5339
5340 2003-06-03  John Levon  <levon@movementarian.org>
5341
5342         * ispell.C: HPUX doesn't have sys/select.h
5343         (from Albert Chin)
5344
5345 2003-06-03  John Levon  <levon@movementarian.org>
5346
5347         * CutAndPaste.C: update tabular and include inset
5348         buffer references
5349
5350         * buffer.h:
5351         * paragraph.h:
5352         * paragraph.C: remove owningBuffer(), don't pass Buffer
5353         to clone()
5354
5355         * factory.C: insetGraphicsParams changed
5356
5357 2003-06-02  John Levon  <levon@movementarian.org>
5358
5359         * LyXAction.C:
5360         * factory.C:
5361         * lfuns.h:
5362         * lyxfunc.C:
5363         * text3.C: remove insetparent
5364
5365 2003-06-02  John Levon  <levon@movementarian.org>
5366
5367         * buffer.h:
5368         * buffer.C: fix inset_iterator.end(), move out of line
5369         (bug 1149)
5370
5371 2003-06-01  John Levon  <levon@movementarian.org>
5372
5373         * text3.C: use a proper cut/paste when doing inset
5374         insert (from Jürgen Spitzmüller)
5375
5376 2003-06-01  John Levon  <levon@movementarian.org>
5377
5378         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5379
5380 2003-05-30  André Pönitz  <poenitz@gmx.net>
5381
5382         * rowpainter.C: unify second drawing phase
5383
5384 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5385
5386         * trans_mgr.C: remove one case of current_view
5387
5388         * text2.C (cursorBottom): delete NO_STD_LIST stuff
5389
5390         * paragraph_funcs.h: remove paragraph.h include
5391
5392         * paragraph.h: delete NO_STD_LIST stuff
5393
5394         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5395
5396         * buffer.h: remove paragraph.h include
5397
5398         * ParagraphList.C: delete file
5399
5400         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5401
5402         * toc.C (getTocList): adjust
5403
5404         * paragraph_pimpl.C (validate): adjust
5405
5406         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5407
5408         * paragraph.C (Paragraph): adjust
5409         (getPositionOfInset): use const_iterator, adjust
5410         (bibitem): use const_iterator, adjust
5411         (setInsetOwner): adjust
5412
5413         * iterators.C (operator++): adjust
5414
5415         * InsetList.[Ch]: Replace selfmade iterator with standard
5416         vector::iterator also introduce const_iterator. Remove getPos,
5417         getInset and setInset from InsetTable. Adjust accordingly.
5418
5419         * BufferView.C (lockInset): adjust
5420         (ChangeInsets): adjust
5421
5422         * tabular.[Ch]: delete commented same_id functions
5423
5424 2003-05-28  John Levon  <levon@movementarian.org>
5425
5426         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5427
5428 2003-05-28  André Pönitz  <poenitz@gmx.net>
5429
5430         * metricsinfo.[Ch]: remove 'fullredraw' member
5431
5432 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
5433
5434         * lyxtextclass.C (operator): remove caching.
5435
5436 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5437
5438         * text3.C: adjust
5439
5440         * text2.C (cursorBottom): adjust
5441         (setCounter): use ParagraphList::find, adjust
5442
5443         * text.C (workWidth): use ParagraphList::find, adjust
5444
5445         * lyxcursor.C (LyXCursor): adjust
5446
5447         * buffer.C (inset_iterator): adjust
5448
5449         * ParagraphList.h: make iterator(value_type) private, make
5450         ParagraphList a friend of iterator.
5451
5452         * ParagraphList.C (find): new function
5453
5454         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5455
5456 2003-05-27  André Pönitz  <poenitz@gmx.net>
5457
5458         * dimension.[Ch]: a -> asc, d -> des, w -> wid
5459
5460 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5461
5462         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5463
5464 2003-05-26  John Levon  <levon@movementarian.org>
5465
5466         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5467
5468 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5469
5470         * remove same_id from function signatures, adjust.
5471
5472 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5473
5474         * undo_funcs.C (createUndo): use the id functions directly, adjust.
5475
5476         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5477
5478         * paragraph.C (Paragraph): get rid of same_ids parameter
5479
5480         * ParagraphList.C (insert): adjust
5481         (push_back): adjust
5482
5483 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5484
5485         * paragraph_funcs.C (breakParagraph): adjust
5486         (breakParagraphConservative): adjust
5487
5488         * buffer.C (readParagraph): adjust
5489
5490         * ParagraphList.C (insert): take a reference instead of a pointer
5491         (insert): adjust
5492
5493         * paragraph.[Ch] (id): new function
5494
5495         * bufferlist.C (newFile): adjust
5496
5497         * ParagraphList.C (ParagraphList): adjust
5498         (assign): adjust
5499         (push_back): take a reference instead of a pointer.
5500
5501         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5502
5503         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5504         instead.
5505
5506         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5507         set else use old code.
5508
5509         * ParagraphList.C: remove all NO_NEXT code and only compile this
5510         code of NO_STD_LIST is set.
5511
5512 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5513
5514         * BufferView_pimpl.C:
5515         * TextCache.C:
5516         * TextCache.h:
5517         * bufferlist.C:
5518         * errorlist.h:
5519         * format.C:
5520         * format.h:
5521         * graph.C:
5522         * lyxfunc.C:
5523         * lyxrc.C:
5524         * graphics/GraphicsConverter.C:
5525         * graphics/PreviewLoader.C: header adjustment
5526
5527 2003-05-23  Angus Leeming  <leeming@lyx.org>
5528
5529         * LaTeXFeatures.[Ch] (useBabel): new method.
5530         * bufferparams.C (writeLaTeX): use it.
5531
5532 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5533
5534         * ParagraphList.h (set): remove unused function.
5535
5536 2003-05-23  André Pönitz  <poenitz@gmx.net>
5537
5538         * BufferView.C:
5539         * BufferView_pimpl.C:
5540         * buffer.C:
5541         * buffer.h:
5542         * lyxfunc.C:
5543         * undo_funcs.C: setUndo reworked
5544
5545         * iterators.[Ch]: add access to topmost ParagraphList
5546
5547         * lyxtext.[Ch] (workWidth): add a const
5548
5549 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5550
5551         * texrow.[Ch] (increasePos): remove function
5552         * exporter.C (export): removed unused var and outdated comment
5553
5554 2003-05-23  Angus Leeming  <leeming@lyx.org>
5555
5556         * latexrunparams.h: rename fragile as moving_arg.
5557         * paragraph.C (simpleTeXOnePar): ditto.
5558         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5559
5560 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5561
5562         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5563         (createUndo): ditto
5564         (textUndoOrRedo): comment out a currently unused var.
5565
5566         * paragraph.h (NO_NEXT): enable NO_NEXT
5567
5568         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5569
5570         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5571
5572         * exporter.C (Export): adjust for removeAutoInsets removal.
5573
5574         * buffer.C (runChktex): adjust for removeAutoInsets removal.
5575
5576         * LyXAction.C (init): remove LFUN_REMOVEERRORS
5577
5578         * BufferView.[Ch] (removeAutoInsets): delete function
5579
5580 2003-05-22  Angus Leeming  <leeming@lyx.org>
5581
5582         * latexrunparams.h: add a free_spacing variable.
5583
5584         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5585         to pass moving_arg, as the data is stored in runparams.fragile.
5586
5587         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5588         to Inset::latexOptional or to simpleTeXOnePar.
5589
5590         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5591         free_spacing arg to Inset::latexOptional.
5592
5593         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5594         free_spacing arg.
5595
5596 2003-05-22  Angus Leeming  <leeming@lyx.org>
5597
5598         * latexrunparams.h: add fragile and use_babel variables.
5599
5600         * bufferparams.[Ch] (writeLaTeX): return use_babel.
5601         * buffer.C (makeLaTeXFile): store this returned value in
5602         runparams.use_babel, thus passing it to the inset::latex methods.
5603
5604         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5605         simpleTeXSpecialChars as it is now stored in runparams.fragile.
5606
5607         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5608         longer has a fragile arg, as it is stored in runparams.fragile.
5609
5610         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5611         moving_arg parameter as the data is stored in runparams.fragile.
5612
5613         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5614         a fragile parameter as the data is stored in runparams.fragile.
5615
5616 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5617
5618         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5619
5620 2003-05-22  Angus Leeming  <leeming@lyx.org>
5621
5622         * latexrunparams.h: add a 'bool nice' which defaults to false.
5623
5624         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5625         now encapsulated within runparams.
5626
5627         * bufferlist.C (updateIncludedTeXfiles):
5628         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5629
5630 2003-05-22  Angus Leeming  <leeming@lyx.org>
5631
5632         * latexrunparams.h: new file containing struct LatexRunParams.
5633         * Makefile.am: add new file.
5634
5635         * LaTeX.[Ch] (c-tor, run):
5636         * buffer.[Ch] (makeLaTeXFile):
5637         * bufferlist.[Ch] (updateIncludedTeXfiles):
5638         * converter.C (convert, scanLog):
5639         * converter.[Ch] (runLaTeX):
5640         * exporter.C (Export):
5641         * paragraph.[Ch] (simpleTeXOnePar):
5642         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5643         * paragraph_funcs.[Ch] (latexParagraphs):
5644         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5645         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5646         pass around a LatexRunParams parameter.
5647
5648 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5649
5650         * paragraph.[Ch]: remove unused constructor
5651
5652         * ParagraphList.C (erase): new function, taking two iterators
5653
5654 2003-05-22  André Pönitz  <poenitz@gmx.net>
5655
5656         * undo_funcs.C: remove duplicated code
5657
5658         * iterator.[Ch]: operator=
5659
5660 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5661
5662         * tabular.C (SetMultiColumn): ws changes
5663
5664         * rowpainter.C (paintFirst): get rid of a ->previous
5665
5666         * lyx_cb.C (getPossibleLabel): parlist simplification
5667
5668         * BufferView.C (ChangeInsets): simplify slightly.
5669
5670 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
5671
5672         * LyXAction.C: new lfun space-insert, kill protected-space-insert
5673         * lfuns.h: new LFUN_SPACE
5674         * lyxfunc.C: protected space has a new lfun
5675         * paragraph_funcs.C: read new space insets
5676         * text3.C:
5677         * factory.C: handle new space insets
5678
5679 2003-05-22  André Pönitz  <poenitz@gmx.net>
5680
5681         * BufferView.C:
5682         * BufferView_pimpl.C:
5683         * buffer.[Ch]:
5684         * lyxfunc.C:
5685         * undo_funcs.C: return a ParIterator from getParFromID.
5686
5687         * iterators.[Ch]: add two const's
5688
5689 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5690
5691         * toc.C (getTocList): adjust
5692
5693         * iterators.[Ch]: rework for parlist
5694
5695         * buffer.C (par_iterator_begin): adjust
5696         (par_iterator_end): adjust
5697
5698         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5699
5700         * BufferView.C (removeAutoInsets): adjust
5701         (ChangeInsets): adjust
5702
5703 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
5704
5705         * text.C (top_y): fix bug 1110
5706
5707 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
5708
5709         * errorlist.[Ch]: added
5710         * buffer.C:
5711         * BufferView.[Ch]:
5712         * BufferView_pimpl.C:
5713         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5714         instead
5715
5716 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5717
5718         * Makefile.am: ensure that lyx is relinked upon changes to the
5719         various "convenience" libs.
5720
5721 2003-05-20  Angus Leeming  <leeming@lyx.org>
5722
5723         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5724         files are compiled in alphabetical order again.
5725
5726         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5727
5728 2003-05-19  Angus Leeming  <leeming@lyx.org>
5729
5730         * gettext.[Ch]: remove "char const * _(char const *)".
5731
5732 2003-05-19  André Pönitz  <poenitz@gmx.net>
5733
5734         * dimension.[Ch]: promote from mathed/dimension.[Ch]
5735
5736         * Makefile.am:
5737         * BufferView.C:
5738         * DepTable.h:
5739         * LaTeXFeatures.C:
5740         * buffer.C:
5741         * lyxfont.C:
5742         * lyxlex.h:
5743         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5744
5745 2003-05-19  André Pönitz  <poenitz@gmx.net>
5746
5747         * buffer.C:
5748         * lyxlayout.[Ch]:
5749         * lyxtextclass.[Ch]:
5750         * paragraph.C:
5751         * paragraph_funcs.[Ch]:
5752         * text2.C:
5753         * text3.C: more insetenv work
5754
5755 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
5756
5757         * ParagraphParameters.C (params2string): small bug fixed
5758
5759 2003-05-16  André Pönitz  <poenitz@gmx.net>
5760
5761         * debug.C:
5762         * bufferview_funcs.C: patch from Kornel Benko to prevent
5763           crash when _(...) is called twice in a statement
5764
5765 2003-05-16  André Pönitz  <poenitz@gmx.net>
5766
5767         * BufferView.C:
5768         * lyxfunc.C:
5769         * text.C:
5770         * text2.C:
5771         * text3.C:
5772         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5773
5774 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
5775
5776         * lyx_main.C (init): remove spurious static_cast
5777
5778 2003-05-14  André Pönitz  <poenitz@gmx.net>
5779
5780         * BufferView.C: fix format string
5781
5782 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
5783
5784         * BufferView.[Ch] (insertErrors): removed
5785         * BufferView.[Ch] (showErrorList): added
5786         * buffer.C (runChkTeX):
5787         * converter.C (scanLog): call showErrorList instead of inserterrors
5788
5789 2003-05-13  André Pönitz  <poenitz@gmx.net>
5790
5791         * BufferView_pimpl.C:
5792         * buffer.C:
5793         * bufferview_func.C:
5794         * MenuBackend.C:
5795         * lyxfunc.C:
5796         * lyxrc.C:
5797         * tex-accent.C:
5798         * text3.C:
5799         * toc.C:
5800         * tabular_funcs.h: tostr() from its own header
5801
5802         * ParagraphParameters.C:
5803         * ToolbarBackend.C:
5804         * bufferparams.C:
5805         * format.C:
5806         * lyxlex_pimpl.C:
5807         * text3.C: STRCONV()
5808
5809 2003-05-12  André Pönitz  <poenitz@gmx.net>
5810
5811         * BufferView.C:
5812         * BufferView_pimpl.C:
5813         * CutAndPaste.C:
5814         * LaTeX.C:
5815         * LaTeXFeatures.C:
5816         * ParagraphParameters.C:
5817         * buffer.C:
5818         * bufferlist.C:
5819         * bufferparams.C:
5820         * bufferview_funcs.C:
5821         * converter.C:
5822         * counters.C:
5823         * debug.C:
5824         * exporter.C:
5825         * format.C:
5826         * importer.C:
5827         * lyx_cb.C:
5828         * lyx_main.C:
5829         * lyxfont.C:
5830         * lyxfunc.C:
5831         * lyxvc.C:
5832         * paragraph.C:
5833         * paragraph_funcs.C:
5834         * tabular.C:
5835         * tabular_funcs.C:
5836         * text2.C:
5837         * text3.C:  boost::format -> bformat  all over the place
5838
5839
5840 2003-05-09  André Pönitz  <poenitz@gmx.net>
5841
5842         * LColor.[Ch]: Pimpl the #include <map> away
5843
5844 2003-05-09  John Levon  <levon@movementarian.org>
5845
5846         * bufferlist.C: never remove emergency saves
5847
5848 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5849
5850         * Makefile.am: better lib building
5851
5852 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
5853
5854         * texrow.[Ch]: remove dependency on Paragraph and just store a id
5855         instead.
5856         * paragraph_pimpl.C (simpleTeXBlanks): adjust
5857         (simpleTeXSpecialChars): adjust
5858         (simpleTeXSpecialChars): adjust
5859         * paragraph.C (simpleTeXOnePar): adjust
5860         * buffer.C (makeLaTeXFile): adjust
5861
5862         * Makefile.am (BOOST_LIBS): allow boost as system lib.
5863
5864         * text2.C (changeDepth): parlist cleanup
5865         (getColumnNearX): ditto
5866
5867         * rowpainter.C (getLabelFont): parlist cleanup
5868
5869         * bufferlist.C (newFile): parlist cleanup
5870
5871         * CutAndPaste.C (eraseSelection): parlist cleanup
5872
5873         * BufferView_pimpl.C (trackChanges): parlist cleanup
5874         (dispatch): ditto
5875
5876         * BufferView.C (lockInset): parlist cleanup.
5877         (ChangeInsets): ditto
5878
5879 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5880
5881         * CutAndPaste.h: Update file header.
5882
5883         * CutAndPaste.C: Update file header.
5884         Store the parts cut out of the Document in a limited_stack.
5885         (copySelection): adjust
5886         (pasteSelection): new function, takes the index in the limited stack.
5887         (nrOfParagraphs): adjust
5888         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5889         simplify error inset insertion.
5890         (checkPastePossible): adjust
5891
5892 2003-05-06  John Levon  <levon@movementarian.org>
5893
5894         * text2.C: don't cast wrap inset to float
5895
5896 2003-05-05  André Pönitz  <poenitz@gmx.net>
5897
5898         * iterator.C:
5899         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5900
5901         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5902           few naked Paragraph *.
5903
5904 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
5905
5906         * bufferparams.C: Output warning if a document with missing
5907         TeX document class is loaded
5908         * exporter.C: Disable TeX exports if the document class is missing
5909         * lyxtextclass.C:
5910         * lyxtextclass.h:
5911         * lyxtextclasslist.C: Handle new textclass.lst format; new method
5912         isTeXClassAvailable()
5913
5914 2003-05-03  John Levon  <levon@movementarian.org>
5915
5916         * BufferView.h:
5917         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5918         explicit cursor show/hide
5919
5920         * BufferView_pimpl.h:
5921         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5922         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5923
5924         * lyxfunc.C: hide cursor before dispatching.
5925
5926         * lyx_cb.C:
5927         * lyxfind.C:
5928         * text.C:
5929         * text3.C: remove explicit cursor hides
5930
5931 2003-05-02  André Pönitz  <poenitz@gmx.net>
5932
5933         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5934
5935         * undo_funcs.C:
5936         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5937           linked lists
5938
5939         * text2.C: tiny whitespace
5940
5941 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5942
5943         * undo_funcs.C: almost only ws changes.
5944
5945         * ParagraphList.C (splice): just return if pl is empty.
5946
5947 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5948
5949         * ParagraphList.C (splice): new function.
5950
5951         * CutAndPaste.C (pasteSelection): use it
5952
5953 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5954
5955         * CutAndPaste.C (pasteSelection): remove the last next and
5956         previous from this file.
5957
5958 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5959
5960         * CutAndPaste.C (pasteSelection): more clean up, user proper
5961         ParagraphList functions for pasteing.
5962
5963         * ParagraphList.C (insert): new function, three arg insert
5964
5965 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5966
5967         * ParagraphList.C (insert): new function, three arg insert
5968
5969         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5970         not on paragraphs.
5971
5972 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5973
5974         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5975
5976 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5977
5978         * CutAndPaste.C (pasteSelection): remove some unneeded code.
5979
5980 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5981
5982         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5983         (copySelection): clean up a bit.
5984         (pasteSelection): use make_pair
5985
5986         * ParagraphList.C (ParagraphList): implement copy constructor
5987         (operator=): implement, base on copy constructor.
5988         (assign): new func
5989
5990         * paragraph.C (erase): return a bool
5991
5992         * paragraph_pimpl.C (erasePos): remove function, move contents...
5993         (erase): ... here. Return a bool.
5994         (erase): call erase instead of erasePos.
5995
5996 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
5997
5998         * ParagraphList.h: define PitPosPair
5999         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6000         ParagraphList, fix a bug on pasting multiple pars
6001         * text2.C: change interface to C&P
6002
6003 2003-04-30  André Pönitz  <poenitz@gmx.net>
6004
6005         * undo_func.C: revert part of yesterday's patch 2
6006
6007 2003-04-30  John Levon  <levon@movementarian.org>
6008
6009         * LColor.C: s/tabular/table/
6010
6011 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6012
6013         * text3.C (dispatch): do not convert iterator -> pointer
6014         * undo_funcs.C (setCursorParUndo): ditto
6015         * text_funcs.C (transposeChars): ditto
6016
6017         * text2.C (setLayout): ws changes only
6018
6019         * text.C (breakParagraph): do not convert iterator -> pointer
6020         (insertChar): ditto
6021         (acceptChange): ditto
6022         (rejectChange): ditto
6023         (changeCase): ditto
6024         (Delete): ditto
6025         (backspace): ditto
6026
6027         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6028         pointer
6029
6030 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6031
6032         * text3.C (gotoInset): YABG (yet another bad getChar)
6033
6034 2003-04-29  André Pönitz  <poenitz@gmx.net>
6035
6036         * paragraph.h: make operator= private unimplemented as long as
6037           it is unusable
6038
6039         * ParagraphList.C: whitespace
6040
6041         * paragraph.[Ch]:
6042         * paragraph_pimpl.[Ch]:
6043         * paragraph_funcs.C:
6044         * CutAndPaste.C:
6045         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
6046
6047         * text2.C:
6048           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6049
6050 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6051
6052         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6053         * paragraph.[Ch] (erase):
6054         * paragraph_pimpl.[Ch] (erase): change return type and value
6055         * text2.C (cutSelection): some rework
6056
6057 2003-04-28  John Levon  <levon@movementarian.org>
6058
6059         * bufferlist.C: changes for unsaved changes dialog
6060
6061 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6062
6063         * bufferlist.C (newFile): set language (messages_) for new
6064         documents also.
6065
6066         * buffer.C (readFile): ws changes only.
6067
6068 2003-04-28  André Pönitz  <poenitz@gmx.net>
6069
6070         * undo_funcs.C:
6071         * lyxfunc.C:
6072         * buffer.[Ch]:
6073         * BufferView_pimpl.C:
6074         * BufferView.C: getParFromID related ParagraphList::iterator changes
6075
6076 2003-04-28  André Pönitz  <poenitz@gmx.net>
6077
6078         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6079           Changes
6080
6081 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6082
6083         * messages.C: remove one more localedir class variable.
6084
6085 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6086
6087         * messages.C (getLocaleDir): singleton generation function
6088         (Pimpl): use it.
6089         (Messages): add a default constructor.
6090
6091         * main.C (main): do not setup localedir here, do not call
6092         gettext_init.
6093
6094         * gettext.C (_): use it.
6095         (gettext_init): delete funciton
6096
6097 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6098
6099         * gettext.C (getLyXMessages): new singleton generating function.
6100
6101         * buffer.C (updateDocLang): adjust
6102
6103         * Makefile.am (messages.o): add target
6104         (main.o): remove target
6105
6106 2003-04-27  John Levon  <levon@movementarian.org>
6107
6108         * bufferlist.C:
6109         * lyx_cb.C:
6110         * lyxfunc.C:
6111         * lyxvc.C: specify cancel button in Alert::prompt
6112
6113 2003-04-26  John Levon  <levon@movementarian.org>
6114
6115         * text3.C:
6116         * lyxfunc.C:
6117         * lfuns.h:
6118         * LyXAction.C: add LFUN_INSET_SETTINGS
6119
6120         * lyxfunc.C: don't enable tabular-feature when there's
6121         just any locking inset
6122
6123 2003-04-26  John Levon  <levon@movementarian.org>
6124
6125         * bufferlist.C: re-add Cancel to buffer close question
6126
6127         * lyxfunc.C: fix import UI a bit
6128
6129 2003-04-25  John Levon  <levon@movementarian.org>
6130
6131         * gettext.C: remove the broken asserts for now
6132
6133 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6134
6135         * messages.C: make case where setlocale cannot comply work better.
6136
6137         * buffer.C (updateDocLang): new function
6138         (changeLanguage): use it
6139         (readFile): use it
6140
6141         * text2.C (setCounter): use B_ a bit.
6142
6143         * lyxlayout.C (Read): be sure to trim the label strings.
6144
6145         * messages.C (Messages): fix typo in comment
6146
6147         * buffer.C (readFile): set message_ after file is loaded.
6148         (makeDocBookFile): remove double return
6149         (changeLanguage): reset message_ upon language change.
6150         (B_): new func, use this to get translated buffer strings.
6151
6152         * main.C: add myself and Jean Marc as authors.
6153
6154 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6155
6156         * messages.[hC]: pimplify Messages, and three different pimpls to be
6157         used in different circumstances.
6158
6159         * gettext.[Ch]: change for use with new message code.
6160
6161 2003-04-24 André Pönitz <poenitz@gmx.net>
6162
6163         * factory.C: support for eqref
6164
6165 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6166
6167         * messages.[Ch]: add missing char
6168
6169         * Makefile.am (lyx_SOURCES): add messages.[Ch]
6170
6171         * messages.[Ch]: New files
6172
6173 2003-04-18  John Levon  <levon@movementarian.org>
6174
6175         * BufferView.h:
6176         * BufferView.C:
6177         * BufferView_pimpl.C:
6178         * lfuns.h:
6179         * LyXAction.C:
6180         * lyxtext.h:
6181         * text2.C: remove layout-copy/paste (bug 778)
6182
6183 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6184
6185         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6186
6187 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6188
6189         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6190         if they succeed. Act accordingly.
6191
6192 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6193
6194         * text2.C (setCharFont): adjust
6195         (setCounter): adjust
6196         (insertStringAsLines): adjust
6197
6198         * text.C (leftMargin): adjust
6199         (setHeightOfRow): adjust
6200
6201         * rowpainter.C (paintFirst): adjust
6202         (paintLast): adjust
6203
6204         * paragraph_funcs.C (depthHook): ParagraphList::iterators
6205         (outerHook): ditto
6206         (isFirstInSequence): ditto
6207         (getEndLabel): ditto
6208         (outerFont): adjust
6209
6210         * paragraph.C (getParLanguage): comment out some hard stuff.
6211
6212         * buffer.C (insertStringAsLines): take a ParagraphList as arg
6213         (sgmlError): ditto
6214         (simpleDocBookOnePar): ditto
6215         (makeDocBookFile): use ParagraphList::iterator
6216
6217         * CutAndPaste.C (pasteSelection): adjust
6218
6219 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6220
6221         * text2.C (getFont): adjust
6222         (getLayoutFont): adjust
6223         (getLabelFont): adjust
6224
6225         * paragraph_funcs.C (TeXOnePar): adjust
6226
6227         * buffer.C (simpleLinuxDocOnePar): adjust
6228         (simpleDocBookOnePar): adjust
6229
6230         * CutAndPaste.C (pasteSelection): adjust
6231
6232         * BufferView.C (getEncoding): adjust
6233
6234         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6235
6236 2003-04-16  John Levon  <levon@movementarian.org>
6237
6238         * lyxfind.C: use parlist stuff for search/changes
6239
6240 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6241
6242         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6243
6244         * text2.C (deleteEmptyParagraphMechanism): adjust
6245
6246         * text2.[Ch] (ownerParagraph): delete func (both of them
6247
6248 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6249
6250         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6251
6252 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6253
6254         * ParagraphList.C: prepare for NO_NEXT
6255
6256 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6257
6258         * text2.C (getFont): adjust
6259         (getLayoutFont): adjust
6260         (getLabelFont): adjust
6261
6262         * paragraph.C (getFont): adjust
6263         (getLabelFont): adjust
6264         (getLayoutFont): adjust
6265
6266         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6267
6268 2003-04-15  John Levon  <levon@movementarian.org>
6269
6270         From Angus Leeming
6271
6272         * lyx_main.C: handle Include in .ui files
6273
6274 2003-04-15  John Levon  <levon@movementarian.org>
6275
6276         * MenuBackend.C: make the doc files length shorter
6277
6278         * ToolbarBackend.h:
6279         * ToolbarBackend.C: handle toolbar placement flags,
6280         Minibuffer
6281
6282 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6283
6284         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6285         adjust
6286
6287         * paragraph_funcs.C (TeXOnePar): adjust
6288
6289         * paragraph.C (getLabelFont): add outerfont arg, adjust
6290         (getLayoutFont): ditto
6291         (simpleTeXOnePar): adjust
6292
6293         * paragraph_pimpl.C (realizeFont): delete func
6294
6295 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
6296
6297         * text2.C (beforeFullRowInset): added a bad getchar check, removed
6298         row argument, constify cur argument.
6299
6300 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6301
6302         * text2.C (getFont): adjust
6303         (getLayoutFont): adjust
6304         (getLabelFont): adjust
6305
6306         * paragraph_funcs.C (TeXOnePar): adjust
6307         (outerFont): new func...
6308         (realizeFont): ...moved out from here, changed this to facilitate
6309         transition
6310
6311         * paragraph.C (getFont): take outerfont as arg, adjust
6312         (simpleTeXOnePar): add outerfont arg, adjust
6313
6314         * buffer.C (simpleLinuxDocOnePar): adjust
6315         (simpleDocBookOnePar): adjust
6316
6317         * CutAndPaste.C (pasteSelection): adjust
6318
6319         * BufferView.C (getEncoding): adjust
6320
6321 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6322
6323         * text2.C (setCharFont): adjust
6324         (setCounter): adjust
6325
6326         * text.C (leftMargin): adjust
6327         (setHeightOfRow): adjust
6328
6329         * rowpainter.C (paintFirst): adjust
6330         (paintLast): adjust
6331
6332         * paragraph_pimpl.C (realizeFont): adjust
6333
6334         * paragraph.C (isFirstInSequence): move from here...
6335         * paragraph_funcs.C (isFirstInSequence): ...to here
6336
6337         * paragraph.C (outerHook): move from here...
6338         * paragraph_funcs.C (outerHook): ...to here
6339
6340         * paragraph.C (depthHook): move from here...
6341         * paragraph_funcs.C (depthHook): ...to here
6342
6343         * paragraph.C (getEndLabel): move from here...
6344         * paragraph_funcs.C (getEndLabel): ...to here
6345
6346         * text2.C (realizeFont): move from here...
6347         * paragraph_funcs.C (realizeFont): ...to here
6348
6349 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6350
6351         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6352
6353 2003-04-14  Angus Leeming  <leeming@lyx.org>
6354
6355         * LColor.[Ch]: scrap LColor mathcursor.
6356
6357 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6358
6359         * lyxlex.[Ch] (text): delete function
6360         * trans.C (Load): adjust
6361         * paragraph_funcs.C (readParToken): adjust
6362
6363 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6364
6365         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6366         vector<char> instead of a char[].
6367
6368         * lyxlex_pimpl.C (getString): adjust
6369         (next): adjust
6370         (lex): use getString
6371         (eatLine): adjust
6372         (nextToken): adjust
6373
6374         * lyxlex.C (text): use pimpl_->getString()
6375         (getBool): ditto
6376         (findToken): ditto
6377
6378 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6379
6380         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6381         (makeFontEntriesLayoutSpecific): temp var for par.size()
6382         (setLayout): temp var for ownerParagraphs().end()
6383         (fullRebreak): temp var for rows().end()
6384         (selectionAsString): temp var for boost::next(startpit), realize
6385         that the while really is a regular for loop.
6386         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6387         setCursor in one place.
6388         (setParagraph): temp vr for ownerParagraphs().end()
6389         (updateCounters): make the while loop a for loop
6390         (cutSelection): temp var for ownerParagraphs().end()
6391         (updateInset): make the do {} while() a regular for loop
6392         (getCursorX): use temp vars
6393         (setCurrentFont): use temp vars
6394         (getColumnNearX): use temp vars
6395
6396 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6397
6398         * text.C (transformChar): use temp var for getChar
6399         (computeBidiTables): use temp var for row->par()
6400         (fill): move temp vars for row->par() and pit->layout() earlier in
6401         the function.
6402         (labelFill): use temp var for row->par()
6403         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6404         asc and desc, realize that pit never changes and that firstpit is
6405         just a duplicate and not needed. Exchange rit->par() with pit in a
6406         lot of places.
6407         (breakAgain): use a temp var for boost::next(rit)
6408         (breakAgainOneRow): ditto
6409         (breakParagraph): use a temp var for rows().begin()
6410         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6411         (cursorRightOneWord): use temp var for cursor.par() and
6412         cursor.pos(), remove usage of tmpcursor.
6413         (cursorLeftOneWord): use temp var for cursor.par() and
6414         cursor.pos() only set cur at end of function.
6415
6416 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6417
6418         * text.C, text2.C: exchange all usage of Paragraph::next with
6419         boost::next(ParagraphList::iterator)
6420
6421         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6422
6423         * text2.C (cursorTop): simplify implementation
6424         (cursorBottom): ditto
6425         (setParagraph): use ParagraphList::iterator
6426         (setCurrentFont): adjust
6427         (getColumnNearX): adjust
6428         (cursorRight): adjust
6429         (cursorLeft): remove usage of Paragraph::previous
6430         (cursorUpParagraph): ditto
6431         (deleteEmptyParagraphMechanism): slight cleanup
6432
6433         * text.C (isBoundary): take a Paragraph const & instead of a
6434         pointer as arg.
6435         (addressBreakPoint): ditto
6436         (leftMargin): remove usage of Paragraph::previous.
6437         (setHeightOfRow): ditto
6438         (cursorLeftOneWord): ditto
6439         (selectNextWordToSpellcheck): ditto
6440         (Delete): ditto
6441         (backspace): ditto
6442         (breakParagraph): remove one usage of Paragraph::next
6443         (redoParagraph): ditto
6444         (acceptChange): ditto
6445         (insertChar): adjust
6446         (rowBreakPoint): adjust
6447
6448         * bufferview_funcs.C (toggleAndShow): adjust
6449
6450 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
6451
6452         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6453         methods to access it.
6454         * lyxtext.h:
6455         * text.C: Added updateRowPositions to compute all row positions.
6456         Make top_y and getRowNearY() to use the cached y position
6457
6458 2003-04-11  John Levon  <levon@movementarian.org>
6459
6460         * text.C (rowBreakPoint): reintroduce the labelEnd
6461         checks, code copied from the row fill stuff. Deep voodoo.
6462
6463         * text.C (fill): add a comment and debugging for the
6464         next poor soul.
6465
6466 2003-04-11  John Levon  <levon@movementarian.org>
6467
6468         * text.C: make sure fullrow insets get wrapped to the next line,
6469         even when they're in a manual label
6470
6471 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6472
6473         * text2.C (insertParagraph): make it take ParagraphList::iterator
6474         as arg.
6475         (setLayout): make it return ParagraphList::iterator
6476         (redoParagraphs): ditto
6477         (setCounter): ditto
6478         (checkParagraph): ditto
6479
6480         * text.C (getRow): make getrow take ParagraphList::iterator as arg
6481
6482         * text2.C: adjust several funcs.
6483         (realizeFont): take a ParagraphList::iterator as arg.
6484         (getLayoutFont): ditto
6485         (getLabelFont): ditto
6486         (setCharFont): ditto
6487
6488         * text.C: adjust several funcs.
6489
6490 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6491
6492         * text.C (selectNextWordToSpellcheck): don't accidentally
6493         skip insets
6494
6495 2003-04-10  John Levon  <levon@movementarian.org>
6496
6497         * ToolbarBackend.C (getIcon): special handling for
6498         LFUN_MATH_DELIM
6499
6500 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6501
6502         * text2.C (cursorRight): a getChar assert fixed
6503
6504 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6505
6506         * text2.C (getFont): change to take a ParagraphList::iterator
6507         instead of Paragraph*
6508         Adjust several functions.
6509
6510         * text.C (transformChar): change to take a ParagraphList::iterator
6511         instead of Paragraph*
6512         (singleWidth): ditto
6513         Adjust several functions.
6514
6515         * rowpainter.C: adjust several functions
6516         * rowpainter.h:store a ParagraphList::iterator and not a
6517         Paragraph&.
6518
6519
6520 2003-04-09  John Levon  <levon@movementarian.org>
6521
6522         * lyxfunc.C:
6523         * lfuns.h:
6524         * LyXAction.h:
6525         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6526         and the "help" bits as well
6527
6528 2003-04-09  John Levon  <levon@movementarian.org>
6529
6530         * ToolbarBackend.h:
6531         * ToolbarBackend.C: allow multiple toolbars
6532
6533 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6534
6535         * undo_funcs.C (setCursorParUndo): adjust
6536
6537         * text_funcs.C (transposeChars): adjust
6538
6539         * text3.C (gotoNextInset): adjust
6540         (dispatch): adjust
6541
6542         * text2.C (setLayout): adjust
6543         (changeDepth): adjust
6544         (setFont): adjust
6545         (redoParagraphs): adjust
6546         (selectionAsString): adjust
6547         (setParagraph): adjust
6548         (insertInset): adjust
6549         (cutSelection): adjust
6550         (copySelection): adjust
6551         (pasteSelection): adjust
6552         (insertStringAsLines): adjust
6553         (updateInset): adjust
6554         (setCursor): change to take a ParagraphList::iterator parameter
6555         (setCursorIntern): change to take a ParagraphList::iterator parameter
6556         (setCurrentFont): adjust
6557         (cursorLeft): adjust
6558         (cursorRight): adjust
6559         (deleteEmptyParagraphMechanism): adjust
6560
6561         * text.C (breakParagraph): adjust
6562         (insertChar): adjust
6563         (acceptChange): adjust
6564         (rejectChange): adjust
6565         (selectNextWordToSpellcheck): adjust
6566         (changeCase): adjust
6567         (Delete): adjust
6568         (backspace): adjust
6569
6570         * lyxfind.C (SearchForward): adjust
6571         (SearchBackward): adjust
6572         (nextChange): adjust
6573
6574         * lyxcursor.C (par): adjust
6575
6576         * lyxcursor.h: store a ParagraphList::iterator instead of a
6577         Paragraph*
6578
6579         * lyx_cb.C (getPossibleLabel): adjust
6580
6581         * bufferview_funcs.C (toggleAndShow): adjust
6582
6583         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6584         (dispatch): adjust
6585
6586         * BufferView.C (removeAutoInsets): adjust
6587         (lockedInsetStoreUndo): adjust
6588
6589 2003-04-09  John Levon  <levon@movementarian.org>
6590
6591         * ToolbarBackend.C: try icon without argument
6592         if with argument fails
6593
6594 2003-04-08  John Levon  <levon@movementarian.org>
6595
6596         * ToolbarBackend.h:
6597         * ToolbarBackend.C: add getIcon(), handle tooltip,
6598         and change from "Icon" to "Item".
6599
6600 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6601
6602         * BufferView.C (lockInset): another bad getchar crunched
6603
6604 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6605
6606         * text2.C (changeDepth): do not setUndo on test_only (make undo work
6607         again)
6608
6609 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
6610
6611         * lyxfind.C (searchForward, searchBackwards): bug 782
6612
6613 2003-04-07  John Levon  <levon@movementarian.org>
6614
6615         * paragraph.C: remove dead comment
6616
6617         * text.C: remove troublesome depth-fiddling code
6618         in leftMargin() and rightMargin() (bug 1017)
6619
6620         * text.C: fix breaking of rows in nested lists
6621         (bug 1004)
6622
6623         * text2.C (updateCounters): fix up depth values
6624         (bug 1013)
6625
6626 2003-04-07  John Levon  <levon@movementarian.org>
6627
6628         * BufferView_pimpl.C: clear message when doc finishes resizing,
6629         and after a mouse event
6630
6631         * lyxfunc.C: clear message after exiting inset
6632
6633 2003-04-07  John Levon  <levon@movementarian.org>
6634
6635         * bufferview_funcs.C: show math status not outside
6636         status in the statusbar
6637
6638 2003-04-07  John Levon  <levon@movementarian.org>
6639
6640         * lyxfunc.C: note status changed after a depth change
6641
6642 2003-04-04  Angus Leeming  <leeming@lyx.org>
6643
6644         * LaTeX.h: move AuxInfo operator==, != out of line.
6645         Remove LaTeX virtual destructor; nothing derives from it.
6646         Move operator()() out of public area and rename it startscript().
6647         Change protected for private.
6648
6649 2003-04-04  Angus Leeming  <leeming@lyx.org>
6650
6651         * lyxfunc.C:
6652         * text2.C: remove unneeded #includes.
6653
6654 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6655
6656         * text2.C (dEPM): fix the heigth of the next row
6657
6658 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6659
6660         * text.C: squashed an invalid getChar requester + some ws changes
6661
6662 2003-04-03  John Levon  <levon@movementarian.org>
6663
6664         * bufferview_funcs.h:
6665         * bufferview_funcs.C:
6666         * lyxfunc.C:
6667         * lyxtext.h:
6668         * text2.C: make getStatus work for the env depth lfuns
6669
6670 2003-04-03  John Levon  <levon@movementarian.org>
6671
6672         * bufferview_funcs.h:
6673         * bufferview_funcs.C:
6674         * lyxfunc.C:
6675         * lyxtext.h:
6676         * text2.C: parlistize decDepth(), by merging it with incDepth()
6677
6678 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6679
6680         * lyxrow.h: store a ParagraphList::iterator instead of a
6681         Paragraph* and adjust other class functions to suit.
6682
6683         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6684         above.
6685
6686 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6687
6688         * text2.C (setCursor): do not anchor to cursor row for the time being
6689
6690 2003-04-02  John Levon  <levon@movementarian.org>
6691
6692         * LyXAction.C:
6693         * lfuns.h:
6694         * lyx_main.C:
6695         * lyxtext.h:
6696         * text.C:
6697         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6698
6699 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6700
6701         * paragraph.h: make ParagraphList and ParagraphList::iterator
6702         friends of Paragraph.
6703
6704         * buffer.C (makeLinuxDocFile): move towards ParagraphList
6705
6706         * ParagraphList.C: Use the private next_ and previous_ from
6707         Paragraph.
6708
6709 2003-04-01  John Levon  <levon@movementarian.org>
6710
6711         * ToolbarBackend.h:
6712         * ToolbarBackend.C:
6713         * Makefile.am: rename, remove defaults gunk
6714
6715         * MenuBackend.h:
6716         * MenuBackend.C: remove defaults gunk
6717
6718         * Languages.h:
6719         * Languages.C: remove defaults gunk
6720
6721         * lyx_main.h:
6722         * lyx_main.C: error out if files couldn't be found.
6723
6724 2003-04-02  John Levon  <levon@movementarian.org>
6725
6726         * text2.C: make incDepth() use parlist
6727
6728 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6729
6730         * undo_funcs.C (firstUndoParagraph): adjust
6731
6732         * text3.C (gotoInset): adjust
6733         (dispatch): adjust, and rewrite loop.
6734
6735         * text2.C (init): adjust, and rewrite loop.
6736         (redoParagraphs): adjust
6737         (updateInset): adjust, and rewrite loop.
6738         (deleteEmptyParagraphMechanism): adjust
6739
6740         * tabular.C (LyXTabular): adjust
6741         (SetMultiColumn): adjust
6742         (TeXRow): adjust
6743
6744         * lyxtext.[Ch] (ownerParagraph): delete function
6745         (ownerParagraphs): new function returns a ParagraphList.
6746
6747         * BufferView.C (removeAutoInsets): adjust
6748         (insertErrors): adjust
6749         (setCursorFromRow): adjust
6750
6751 2003-04-01  Angus Leeming  <leeming@lyx.org>
6752
6753         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6754         in the frontends.
6755
6756 2003-04-02  John Levon  <levon@movementarian.org>
6757
6758         * lyxtext.h:
6759         * text.C:
6760         * Makefile.am:
6761         * text_funcs.h:
6762         * text_funcs.C: make transposeChars a free function
6763
6764         * lyxrow_funcs.C: remove wrong comment
6765
6766 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6767
6768         * lyxtext.h: adjust
6769         * rowpainter.C: adjust
6770         * text.C: adjust
6771         * text2.C: adjust
6772         * text3.C: adjust
6773
6774         * lyxrow_funcs. [Ch]: new files
6775
6776         * lyxrow.[Ch]: remove next and previous pointers
6777         (next,previous): remove accessor functions
6778         (isParEnd): move to lyxrow_funcs
6779         (lastPos): move to lyxrow_funcs
6780         (nextRowIsAllInset): move to lyxrow_funcs
6781         (lastPrintablePos): move to lyxrow_funcs
6782         (numberOfSeparators): move to lyxrow_funcs
6783         (numberOfHfills): move to lyxrow_funcs
6784         (numberOfLabelHfills): move to lyxrow_funcs
6785         (hfillExpansion): move to lyxrow_funcs
6786
6787         * lyxfunc.C: adjust
6788
6789         * bufferview_funcs.C (toggleAndShow): adjust
6790
6791         * RowList.h: Remove class RowList from file leave just a
6792         std::list<Row>.
6793
6794         * RowList.C: delete file
6795
6796         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6797         and lyxrow_funcs.h
6798
6799 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6800
6801         * text3.C (cursorPrevious): adjust
6802         (cursorNext): adjust
6803         (dispatch): adjust
6804
6805         * text2.C (redoHeightOfParagraph): adjust
6806         (redoDrawingOfParagraph): adjust
6807         (setCursor): adjust
6808
6809         * text.C (breakParagraph): adjust
6810         (insertChar): adjust
6811         (backspace): adjust
6812
6813         * rowpainter.C (RowPainter): adjust
6814         (leftMargin): simplify and adjust
6815         (most rowpainter functions): adjust.
6816
6817         * rowpainter.h: store the row as RowList::iterator not as Row*
6818
6819         * lyxcursor.C (row): taka RowList::iterator as arg
6820         (irow): ditto
6821
6822         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6823         of Row*.
6824
6825 2003-04-01  Angus Leeming  <leeming@lyx.org>
6826
6827         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6828         stuff like bool Bool.
6829
6830 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6831
6832         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6833         rewrite a loop
6834
6835 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6836
6837         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6838         RowList::iterator.
6839
6840         * lyxtext.h (rows): drop one version and leve a const variant that
6841         returns a RowList::iterator.
6842
6843 2003-03-31  Angus Leeming  <leeming@lyx.org>
6844
6845         * text.C (fill): ensure that the signature is the same as that in the
6846         header file.
6847
6848 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
6849
6850         * text2.C (redoParagraphs): adjust
6851         (updateCounters): adjust
6852         (checkParagraph): adjust
6853         (getColumnNearX): adjust and reformat a bit.
6854
6855         * text.C (top_y): adjust
6856         (workWidth): adjust
6857         (leftMargin): adjust
6858         (prepareToPrint): adjust
6859         (getRow): adjust
6860         (getRowNearY): adjust
6861
6862         * lyxtext.h: make rowlist_ mutable.
6863
6864         * RowList.h: add const_iterator
6865         * RowList.C: adjust for RowList::const_iterator.
6866
6867         * text2.C (getCursorX): make it take a RowList::iterator as arg,
6868         adjust.
6869
6870 2003-03-31  John Levon  <levon@movementarian.org>
6871
6872         * lyxrc.h:
6873         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6874
6875         * lyx_main.C: set default fonts from using lyx_gui funcs
6876
6877         * exporter.C: pdf_mode moved from lyxrc
6878
6879         * lyx_cb.C:
6880         * lyxfunc.C: changes from above
6881
6882 2003-03-31  John Levon  <levon@movementarian.org>
6883
6884         * lyx_main.C: fix to the last fix
6885
6886 2003-03-31  John Levon  <levon@movementarian.org>
6887
6888         * bufferlist.C: "Load original" -> "Load Original"
6889
6890         * converter.C:
6891         * exporter.C:
6892         * importer.C:
6893         * lyx_main.C:
6894         * format.C: more Alert cleanups
6895
6896 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6897
6898         * text2.C (removeParagraph): make it take a RowList::iterator as
6899         arg, adjust.
6900         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6901         (postRowPaint): make it take a RowList::iterator as arg, adjust.
6902
6903         * text.C (anchor_row): make it take a RowList::iterator as arg,
6904         adjust.
6905         (computeBidiTables): make it take a const reference to Row instead
6906         of Row pointer, adjust.
6907         (leftMargin): make it take a RowList::iterator as arg, adjust.
6908         (rowBreakPoint): adjust
6909         (breakAgainOneRow): make it take a RowList::iterator as arg,
6910         adjust.
6911         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6912
6913         * bufferview_funcs.C (toggleAndShow): adjust
6914
6915 2003-03-30  John Levon  <levon@movementarian.org>
6916
6917         * Makefile.am:
6918         * BoostFormat.h:
6919         * boost-inst.C: moved to support
6920
6921         * several files: changes as a result
6922
6923 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6924
6925         * text2.C (LyXText): adjust.
6926         (init): adjust
6927         (removeRow): make it take a RowList::iterator as arg, adjust.
6928         (fullRebreak): adjust
6929         (deleteEmptyParagraphMechanism): adjust
6930         (clearPaint): adjust
6931         (postPaint): adjust
6932
6933         * text.C (top_y): adjust
6934         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6935         (breakAgain): make it take a RowList::iterator as arg, adjust.
6936         (breakParagraph): adjust
6937         (insertChar): adjust
6938         (backspace): adjust
6939
6940         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6941         need_break_row, and refresh_row.
6942
6943         * text3.C (dispatch): adjust
6944
6945         * text2.C (checkParagraph): adjust
6946         (setCursor): adjust
6947         (setCursorFromCoordinates): adjust
6948
6949         * text.C (top_y): adjust
6950         (workWidth): adjust
6951         (getRow): make it return a RowList::iterator, adjust
6952         (getRowNearY): make it return a RowList::iterator, adjust
6953
6954         * text2.C (init): adjust
6955         (insertRow): remove function
6956         (insertParagraph): adjust
6957         (redoParagraphs): adjust
6958         (fullRebreak): adjust
6959         (updateCounters): adjust
6960
6961         * text.C (top_y): rewrite to use RowList iterators.
6962         (top_y): adjust
6963         (setHeightOfRow): rewrite to sue RowList iterators.
6964         (appendParagraph): adjust
6965         (breakAgain): adjust
6966         (breakAgainOneRow): adjust
6967         (breakParagraph): adjust
6968         (getRow): adjust
6969         (getRowNearY): adjust, and remove commented code.
6970
6971         * lyxtext.h (firstRow): delete function
6972         (lastRow): delete function
6973         (rows): new function (const and non-const versions.)
6974         (insertRow): delete function
6975
6976         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6977
6978 2003-03-29  John Levon  <levon@movementarian.org>
6979
6980         * BufferView_pimpl.C: always update scrollbar top
6981         because pasting text when we're anchored could mean we
6982         miss an update altogether
6983
6984 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6985
6986         * text2.C (init): use rowlist_.end() and not 0.
6987         (insertRow): change to take a RowList::iterator as arg, adjust
6988         for this.
6989         (insertParagraph): change to take a RowList::iterator as arg,
6990         adjust for this.
6991         (redoParagraphs): remove some debug msgs.
6992
6993         * text.C (appendParagraph): change to take a RowList::iterator
6994         arg, adjust for this.
6995         (breakAgain): add an assert
6996         (breakAgainOneRow): ditto
6997
6998 2003-03-29  John Levon  <levon@movementarian.org>
6999
7000         * text2.C: do not clear selection after inc/decDepth
7001         (bug 550)
7002
7003 2003-03-29  John Levon  <levon@movementarian.org>
7004
7005         * BufferView.C:
7006         * buffer.C: fix broken strerrors according to Lars
7007
7008 2003-03-29  John Levon  <levon@movementarian.org>
7009
7010         * converters.C: more Alert cleanups
7011
7012 2003-03-29  John Levon  <levon@movementarian.org>
7013
7014         * bufferview_funcs.C: remove pointless Alert
7015
7016         * buffer.C: fix confusing error message when
7017         a template is chmoded 000
7018
7019 2003-03-29  John Levon  <levon@movementarian.org>
7020
7021         * BufferView.C:
7022         * BufferView.h:
7023         * BufferView_pimpl.C: Alert fixes
7024
7025         * Makefile.am:
7026         * tabular.C:
7027         * tabular-old.C: remove unused table compat reading
7028
7029 2003-03-29  John Levon  <levon@movementarian.org>
7030
7031         * BufferView.C:
7032         * buffer.C:
7033         * lyx_cb.h:
7034         * lyx_cb.C: more Alert cleanups
7035
7036         * lyxfunc.C: don't allow chktex if not latex document
7037
7038 2003-03-29  John Levon  <levon@movementarian.org>
7039
7040         * lyx_cb.C:
7041         * BufferView.C:
7042         * buffer.C: warnings pushed down from support/,
7043         kill err_alert
7044
7045 2003-03-29  John Levon  <levon@movementarian.org>
7046
7047         * lyxfunc.C: safety check for C-r (revert)
7048
7049 2003-03-29  John Levon  <levon@movementarian.org>
7050
7051         * bufferlist.h:
7052         * bufferlist.C: several UI fixes using Alert::prompt.
7053         Fix the pointless looping quit code. Fix stupid revert
7054         behaviour (bug 938)
7055
7056         * lyxvc.h:
7057         * lyxvc.C:
7058         * lyx_cb.C: use Alert::prompt
7059
7060         * lyx_main.C: remove a silly question
7061
7062         * lyxfunc.C: remove a couple of silly questions,
7063         use Alert::prompt
7064
7065 2003-03-28  John Levon  <levon@movementarian.org>
7066
7067         * text2.C: fix bug 974 (End on empty par)
7068
7069 2003-03-28  John Levon  <levon@movementarian.org>
7070
7071         * BufferView_pimpl.C:
7072         * LyXAction.C:
7073         * lfuns.h: remove do-nothing math greek lfuns
7074
7075 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7076
7077         * lyxgluelength.h (isValidGlueLength): add default arg on
7078         parameter 2. Remove default arg from friend in class.
7079
7080         * lyxlength.h (isValidLength): add default arg on parameter 2.
7081         Remove default arg from friend in class.
7082
7083         * text2.C (LyXText): adjust, initialize refresh_row.
7084         (init): adjust
7085         (removeRow): adjust
7086         (insertRow): adjust
7087         (insertParagraph): adjst
7088         (redoParagraphs): adjust
7089         (fullRebreak): adjust
7090         (updateCounters): adjust
7091         (deleteEmptyParagraphMechanism): first attempt at fixing a
7092         crashing bug.
7093
7094         * text.C (top_y): adjust
7095         (setHeightOfRow): adjust
7096         (getRow): adjust
7097         (getRowNearY): adjust
7098
7099         * lyxtext.h: include RowList.h
7100         (~LyXText): not needed anymore, deleted.
7101         (firstRow): modify for RowList
7102         (lastRow): new function
7103         Delete firstrow and lastrow class variables, add a Rowlist
7104         rowlist_ class variable.
7105
7106         * lyxrow.C (lastPos): use empty() and not !size() to check if a
7107         paragraph is empty.
7108
7109         * RowList.C (insert): fix case where it == begin().
7110
7111 2003-03-26  Angus Leeming  <leeming@lyx.org>
7112
7113         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7114         the thesaurus dialog.
7115
7116 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7117
7118         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7119
7120         * RowList.[Ch]: new files
7121
7122         * ParagraphList.C (erase): handle the case where it == begin
7123         correctly.
7124
7125 2003-03-25  John Levon  <levon@movementarian.org>
7126
7127         * Makefile.am:
7128         * aspell_local.h:
7129         * aspell.C: add new aspell support
7130
7131         * lyxrc.h:
7132         * lyxrc.C: Make use_pspell be use_spell_lib. Always
7133         have it accessible.
7134
7135 2003-03-25  Angus Leeming  <leeming@lyx.org>
7136
7137         * lfuns.h:
7138         * LyXAction.C (init): new LFUN_INSET_INSERT.
7139
7140         * BufferView_pimpl.C (dispatch): split out part of the
7141         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7142
7143         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7144         LFUN_INSET_APPLY.
7145
7146 2003-03-25  Angus Leeming  <leeming@lyx.org>
7147
7148         * lyxfunc.C (dispatch): changes to the Dialogs interface.
7149
7150 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
7151
7152         * text2.C:
7153         * text3.C: remove useless row->height(0)
7154
7155 2003-03-25  John Levon  <levon@movementarian.org>
7156
7157         * lyxtext.h:
7158         * text2.C:
7159         * text3.C: rename the refreshing stuff to better names
7160
7161 2003-03-24  John Levon  <levon@movementarian.org>
7162
7163         * BufferView_pimpl.h:
7164         * BufferView_pimpl.C: update layout choice on a mouse
7165         press/release
7166
7167 2003-03-23  John Levon  <levon@movementarian.org>
7168
7169         * Makefile.am: fix commandtags.h reference
7170
7171 2003-03-22  John Levon  <levon@movementarian.org>
7172
7173         * BufferView_pimpl.C:
7174         * lyxtext.h:
7175         * rowpainter.C:
7176         * rowpainter.h:
7177         * text.C:
7178         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7179
7180 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
7181
7182         * lyxtext.h:
7183         * text.C: take the rtl methods out of line
7184
7185 2003-03-21 André Pönitz <poenitz@gmx.net>
7186
7187         * metricsinfo.[Ch]: new files containing structures to be passed around
7188         during the two-phase-drawing...
7189
7190 2003-03-21 André Pönitz <poenitz@gmx.net>
7191
7192         * lyxtextclass.C: read 'environment' tag.
7193
7194 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
7195
7196         * text2.C (removeRow): fix bug 964
7197
7198 2003-03-20  John Levon  <levon@movementarian.org>
7199
7200         * rowpainter.C:
7201         * text.C:
7202         * text2.C: paint cleanups. Inset::update() dropped font
7203         parameter
7204
7205 2003-03-19  John Levon  <levon@movementarian.org>
7206
7207         * lyxfunc.C: only fitcursor/markDirty if available()
7208
7209 2003-03-19  John Levon  <levon@movementarian.org>
7210
7211         * commandtags.h: rename to ...
7212
7213         * lfuns.h: ... this, and renumber / cleanup
7214
7215 2003-03-19  John Levon  <levon@movementarian.org>
7216
7217         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7218         fit the cursor after an lfun
7219
7220         * BufferView.h:
7221         * BufferView.C:
7222         * BufferView_pimpl.h:
7223         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7224
7225         * LyXAction.C: layout-character should have ReadOnly
7226
7227         * ParagraphParameters.C:
7228         * buffer.C:
7229         * bufferview_funcs.C:
7230         * lyx_cb.C:
7231         * lyxfind.C:
7232         * lyxtext.h:
7233         * text.C:
7234         * text2.C:
7235         * text3.C:
7236         * undo_funcs.C: changes from above
7237
7238 2003-03-18  John Levon  <levon@movementarian.org>
7239
7240         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7241         remove it from update()
7242
7243         * lyxfunc.C: update layout choice after an lfun
7244
7245         * text3.C: remove extra updateLayoutChoice()s
7246
7247 2003-03-18  John Levon  <levon@movementarian.org>
7248
7249         * text.C: top_y change means full repaint, fix
7250         a drawing bug with cursor movement
7251
7252 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7253
7254         * lyxtext.h:
7255         * text.C:
7256         * text2.C: anchor row on setCursor
7257
7258 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7259
7260         * lyxtext.h: remove almost all mutable keywords
7261         * text.C:
7262         * text2.C:
7263         * text3.C: remove const keywords accordingly
7264
7265 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7266
7267         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7268         anon namespace
7269         (TeXEnvironment): ditto
7270         (TeXOnePar): ditto
7271
7272 2003-03-17  John Levon  <levon@movementarian.org>
7273
7274         * text.C (rowBreakPoint): remove attempt to fix displayed
7275         math insets inside a manual label
7276
7277 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7278
7279         * lyxtext.h: remove BufferView* as first arg from almost all class
7280         functions.
7281         * other files: adjust.
7282
7283 2003-03-17  John Levon  <levon@movementarian.org>
7284
7285         * lyxtext.h:
7286         * undo_funcs.C:
7287         * text2.C: more paint cleanups
7288
7289         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7290
7291         * rowpainter.h:
7292         * rowpainter.C: remove "smart" background painting code
7293
7294 2003-03-16  John Levon  <levon@movementarian.org>
7295
7296         * lyxtext.h:
7297         * text.C:
7298         * text2.C:
7299         * text3.C: add helper functions for setting refresh_row/y
7300
7301 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
7302
7303         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7304         newline inset which *can* get inserted in the pass_thru layouts.
7305         This is primarily for literate documents.
7306
7307 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
7308
7309         * buffer.C: increment LYX_FORMAT to 223
7310
7311 2003-03-14 André Pönitz <poenitz@gmx.net>
7312
7313         * textclass.h: prepare for environment handling, ws changes
7314         * lyxlayout.C: read latexheader and latexfooter tags
7315
7316 2003-03-14  John Levon  <levon@movementarian.org>
7317
7318         * text2.C: rewrite ::status() a bit
7319
7320 2003-03-13  John Levon  <levon@movementarian.org>
7321
7322         * lyxtext.h: add some docs
7323
7324 2003-03-13  John Levon  <levon@movementarian.org>
7325
7326         * lyxtext.h:
7327         * text.C:
7328         * text2.C:
7329         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7330
7331 2003-03-13  John Levon  <levon@movementarian.org>
7332
7333         * text3.C: fix appendix redrawing
7334
7335 2003-03-13  John Levon  <levon@movementarian.org>
7336
7337         * text.C (setHeightOfRow):
7338         * rowpainter.h:
7339         * rowpainter.C: make appendix mark have the text
7340           "Appendix" so the user knows what it is
7341
7342         * LColor.h:
7343         * LColor.C: s/appendixline/appendix/ from above
7344
7345 2003-03-13  John Levon  <levon@movementarian.org>
7346
7347         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7348
7349         * text.C: fix a getChar(pos) bug properly
7350
7351 2003-03-13  Angus Leeming  <leeming@lyx.org>
7352
7353         * commandtags.h:
7354         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7355         Probably only temporary. Let's see how things pan out.
7356
7357         * BufferView.C (unlockInset):
7358         * BufferView_pimpl.C (fitCursor):
7359         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7360
7361         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7362         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7363
7364         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7365         new functions that convert ParagraphParameters to and from a string.
7366
7367         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7368         BufferView::Pimpl's dispatch.
7369         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7370
7371 2003-03-13 André Pönitz <poenitz@gmx.net>
7372
7373         * lyxfunc.C:
7374         * text3.C:
7375         * factory.C: make it aware of InsetEnv
7376
7377 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7378
7379         * text2.C (setCursor): never ask for one past last
7380         (setCursor): add some debugging messages.
7381
7382         * text.C (singleWidth): never ask for one past last
7383         (singleWidth): ditto
7384         (leftMargin): ditto
7385         (rightMargin): ditto
7386         (rowBreakPoint): ditto
7387         (setHeightOfRow): ditto
7388         (prepareToPrint): ditto
7389
7390         * rowpainter.C (paintBackground): never ask for one past last
7391         (paintText): never ask for one past last
7392
7393         * paragraph_pimpl.C (getChar): make the assert stricter, never
7394         allow the one past last pos to be taken
7395
7396         * paragraph.C (getChar): ws changes only
7397
7398         * lyxrow.C (nextRowIsAllInset): never ask for one past last
7399         (numberOfSeparators): ditto
7400         (numberOfHfills): ditto
7401
7402 2003-03-12  John Levon  <levon@movementarian.org>
7403
7404         * author.h:
7405         * author.C:
7406         * bufferparams.h:
7407         * bufferparams.C:
7408         * paragraph_funcs.C: fix per-buffer authorlists
7409
7410 2003-03-12  John Levon  <levon@movementarian.org>
7411
7412         * text.C: fix newline in right address
7413
7414 2003-03-12  Angus Leeming  <leeming@lyx.org>
7415
7416         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7417         duplicate those in LyXFunc::dispatch.
7418
7419         * commandtags.h:
7420         * LyXAction.C:
7421         * ToolbarDefaults.C:
7422         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7423         Add LFUN_FONTFREE_UPDATE.
7424
7425         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7426         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7427
7428         * bufferview_func.[Ch]: several new functions to facilliate
7429         transfer of data to and from the character dialog.
7430
7431 2003-03-12  John Levon  <levon@movementarian.org>
7432
7433         * buffer.C:
7434         * paragraph.h:
7435         * paragraph.C:
7436         * paragraph_funcs.C:
7437         * paragraph_pimpl.C:
7438         * sgml.C:
7439         * tabular.C:
7440         * text.C:
7441         * text3.C: remove META_NEWLINE in favour of an inset
7442
7443         * rowpainter.h:
7444         * rowpainter.C: remove paintNewline (done by inset)
7445
7446 2003-03-12  John Levon  <levon@movementarian.org>
7447
7448         * paragraph_pimpl.C: complain about bad getChar()s
7449         for a while at least
7450
7451 2003-03-12  John Levon  <levon@movementarian.org>
7452
7453         * buffer.h:
7454         * buffer.C: move paragraph read into a separate function,
7455         a little renaming to reflect that.
7456
7457         * bufferparams.h:
7458         * bufferparams.C: remove the author_ids map, not necessary now
7459
7460         * factory.h:
7461         * factory.C: moved Buffer::readInset to here
7462
7463         * paragraph_funcs.h:
7464         * paragraph_funcs.C: readParagraph free function moved from
7465         buffer.C
7466
7467         * tabular.C: name change
7468
7469 2003-03-12  John Levon  <levon@movementarian.org>
7470
7471         * buffer.C:
7472         * ParagraphParameters.C: move par params input to
7473         a read() method
7474
7475         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7476         behave like a normal read from the stream wrt reading
7477         a line vs. a \\token
7478
7479 2003-03-12  John Levon  <levon@movementarian.org>
7480
7481         * paragraph.C:
7482         * ParagraphParameters.h:
7483         * ParagraphParameters.C: move output code to a
7484         ::write() method
7485
7486 2003-03-12  John Levon  <levon@movementarian.org>
7487
7488         * BufferView.C (insertLyXFile):
7489         * buffer.h:
7490         * buffer.C:
7491         * tabular.C: use a parlist iterator for creating the
7492           document.
7493
7494 2003-03-12  John Levon  <levon@movementarian.org>
7495
7496         * buffer.C: make current_change static local not
7497           static file-scope
7498
7499 2003-03-12  John Levon  <levon@movementarian.org>
7500
7501         * buffer.C: fix insertStringAsLines for change tracking
7502
7503 2003-03-12  John Levon  <levon@movementarian.org>
7504
7505         * BufferView.C:
7506         * tabular.C:
7507         * buffer.h:
7508         * buffer.C:
7509         * bufferparams.h:
7510         * bufferparams.C: move author list into params. Rename some
7511           functions. Move the header reading into a separate token
7512           loop. Move the header token reading into BufferParams.
7513
7514 2003-03-12  John Levon  <levon@movementarian.org>
7515
7516         * changes.C: put debug inside lyxerr.debugging() checks
7517
7518 2003-03-11 André Pönitz <poenitz@gmx.net>
7519
7520         * factory.C: make it aware of InsetHFill
7521
7522 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7523
7524         * buffer.C (latexParagraphs): move function from here...
7525         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7526         args.
7527
7528 2003-03-10  Angus Leeming  <leeming@lyx.org>
7529
7530         * LyXAction.C (init): fix bug in poplating array with multiple entries
7531         with the same LFUN (spotted by JMarc).
7532
7533 2003-03-10  John Levon  <levon@movementarian.org>
7534
7535         * text.C:
7536         * text2.C: move getColumnNearX() near its
7537         only call site
7538
7539 2003-03-10  John Levon  <levon@movementarian.org>
7540
7541         * text.C: fix break before a minipage
7542
7543 2003-03-10  John Levon  <levon@movementarian.org>
7544
7545         * text.C: fix the last commit
7546
7547 2003-03-09  John Levon  <levon@movementarian.org>
7548
7549         * lyxtext.h:
7550         * text.C:
7551         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7552         bug 365 (don't break before insets unless needed). Don't
7553         return a value > last under any circumstances.
7554
7555 2003-03-09  Angus Leeming  <leeming@lyx.org>
7556
7557         * BufferView_pimpl.C (trackChanges, dispatch): call
7558         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7559
7560 2003-03-09  Angus Leeming  <leeming@lyx.org>
7561
7562         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7563         than Dialogs::showAboutlyx().
7564
7565 2003-03-09  Angus Leeming  <leeming@lyx.org>
7566
7567         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7568         than Dialogs::showTabularCreate().
7569
7570 2003-03-09  John Levon  <levon@movementarian.org>
7571
7572         * lyxtext.h:
7573         * text.C:
7574         * text2.C: 3rd arg to nextBreakPoint was always the same.
7575           Use references.
7576
7577 2003-03-08  John Levon  <levon@movementarian.org>
7578
7579         * lyxrow.C:
7580         * paragraph.C:
7581         * paragraph.h:
7582         * rowpainter.C:
7583         * text.C:
7584         * text2.C: Remove the "main" bit from the "main body"
7585           notion.
7586
7587 2003-03-08  John Levon  <levon@movementarian.org>
7588
7589         * text.C (leftMargin): The left margin of an empty
7590         manual label paragraph should not include the label width
7591         string length.
7592
7593         * text.C (prepareToPrint): don't attempt to measure hfills
7594         for empty manual label paragraphs - the answer should be 0
7595
7596 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7597
7598         * CutAndPaste.C: remove commented code and reindent.
7599
7600 2003-03-08  John Levon  <levon@movementarian.org>
7601
7602         * lyxfunc.h:
7603         * lyxfunc.C: move reloadBuffer()
7604
7605         * BufferView.h:
7606         * BufferView.C: to here
7607
7608         * lyxvc.C: add comment
7609
7610         * vc-backend.h:
7611         * vc-backend.C: call bv->reload() to avoid
7612           getStatus() check on MENURELOAD
7613
7614 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
7615
7616         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7617         to an old format .dep file.
7618
7619 2003-03-07  Angus Leeming  <leeming@lyx.org>
7620
7621         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7622         when the LFUN_MOUSE_RELEASE should have been handled by
7623         inset->localDispatch.
7624
7625 2003-03-07  Angus Leeming  <leeming@lyx.org>
7626
7627         * BufferView_pimpl.C (dispatch):
7628         * LyXAction.C (init):
7629         * ToolbarDefaults.C (init):
7630         * commandtags.h:
7631         * lyxfunc.C (getStatus):
7632         remove LFUN_INSET_GRAPHICS.
7633
7634         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7635
7636 2003-03-07  Angus Leeming  <leeming@lyx.org>
7637
7638         * commandtags.h:
7639         * LyXAction.C (init):
7640         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7641
7642         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7643
7644         * commandtags.h:
7645         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7646
7647         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7648         localDispatch method LFUN_INSET_DIALOG_UPDATE.
7649
7650 2003-03-07  Angus Leeming  <leeming@lyx.org>
7651
7652         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7653         remove "ert".
7654
7655 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7656
7657         * ParagraphList.C (front): new function
7658         (back): implement
7659
7660 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
7661
7662         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7663         and top_row_offset_. removed var first_y.
7664         * text.C (top_y):
7665         * text2.C (LyXText, removeRow):
7666         * text3.C:
7667         * BufferView_pimpl.C:
7668         use these methods instead of using first_y
7669
7670 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7671
7672         * text2.C (pasteSelection): adjust for checkPastePossible
7673
7674         * CutAndPaste.C: remove Paragraph * buf and replace with
7675         ParagraphList paragraphs.
7676         (DeleteBuffer): delete
7677         (cutSelection): change the tc type to textclass_type
7678         (copySelection): change the tc type to textclass_type
7679         (copySelection): adjust for ParagraphList
7680         (pasteSelection): change the tc type to textclass_type
7681         (pasteSelection): adjust for Paragraphlist
7682         (nrOfParagraphs): simplify for ParagraphList
7683         (checkPastePossible): simplify for ParagraphList
7684         (checkPastePossible): remove unused arg
7685
7686         * ParagraphList.C (insert): handle the case where there are no
7687         paragraphs yet.
7688
7689         * CutAndPaste.h: make CutAndPaste a namespace.
7690
7691         * text3.C (dispatch): adjust
7692
7693         * text.C (breakParagraph): add a ParagraphList as arg
7694
7695         * paragraph_funcs.C (breakParagraph): change to take a
7696         BufferParams and a ParagraphList as args.
7697         (breakParagraphConservative): ditto
7698         (mergeParagraph): ditto
7699         (TeXDeeper): add a ParagraphList arg
7700         (TeXEnvironment): ditto
7701         (TeXOnePar): ditto
7702
7703         * buffer.C (readLyXformat2): adjust
7704         (insertStringAsLines): adjust
7705         (latexParagraphs): adjust
7706
7707         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7708         (cutSelection): adjust
7709         (pasteSelection): adjust
7710
7711         * BufferView_pimpl.C (insertInset): adjust
7712
7713 2003-03-05  Angus Leeming  <leeming@lyx.org>
7714
7715         * commandtags.h:
7716         * LyXAction.C (init):
7717         * BufferView_pimpl.C (dispatch):
7718         * lyxfunc.C (getStatus):
7719         remove LFUN_CHILD_INSERT.
7720
7721         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7722
7723 2003-03-05  Angus Leeming  <leeming@lyx.org>
7724
7725         * commandtags.h:
7726         * LyXAction.C (init):
7727         * src/factory.C (createInset):
7728         * lyxfunc.C (getStatus):
7729         * text3.C (dispatch):
7730         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7731
7732         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7733
7734 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7735
7736         * ParagraphList.C (insert): handle insert right before end()
7737         (erase): fix cases where it can be first or last paragraph.
7738
7739 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7740
7741         * paragraph_funcs.C (TeXEnvironment): remove all usage of
7742         Paragraph::next and Paragraph::previous
7743         (TeXOnePar): ditto
7744
7745         * text.C (breakParagraph): adjust
7746
7747         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7748         BufferParams& as arg.
7749         (breakParagraph): use ParagraphList::insert
7750         (breakParagraphConservative): take a Buffer* instead of a
7751         BufferParams& as arg.
7752         (breakParagraphConservative): use ParagraphList::insert.
7753
7754         * buffer.C (insertStringAsLines): un-const it
7755         (insertStringAsLines): adjust
7756
7757         * ParagraphList.C (insert): new function
7758
7759         * CutAndPaste.C (pasteSelection): adjust
7760
7761         * text.C (backspace): adjust
7762
7763         * tabular.C (SetMultiColumn): adjust
7764
7765         * CutAndPaste.C (cutSelection): adjust
7766         (pasteSelection): adjust
7767
7768         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7769         Buffer const * as arg
7770
7771         * ParagraphList.C (erase): new function
7772         * paragraph_funcs.C (mergeParagraph): use it
7773         (mergeParagraph): make it take a Buffer* instead of a
7774         BufferParams* as arg
7775
7776         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7777         as arg
7778         (breakParagraphConservative): ditto
7779
7780         * paragraph.h: remove the breakParagraph friend
7781
7782         * paragraph.C (eraseIntern): new function
7783         (setChange): new function
7784
7785         * paragraph_funcs.C (mergeParagraph): make it take a
7786         ParagraphList::iterator instead of a Paragraph *, adjust
7787         accordingly.
7788
7789         * paragraph.h: move an #endif so that the change tracking stuff
7790         also works in the NO_NEXT case.
7791
7792 2003-03-04  Angus Leeming  <leeming@lyx.org>
7793
7794         * commandtags.h:
7795         * LyXAction.C: new LFUN_INSET_MODIFY.
7796
7797         * BufferView_pimpl.C (dispatch): if an inset is found to be open
7798         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7799
7800 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7801
7802         * several files: ws changes only
7803
7804         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7805         (TeXEnvironment): ditto
7806         (TeXDeeper): ditto
7807
7808         * buffer.C (makeLaTeXFile): adjust
7809         (latexParagraphs): make it take ParagraphList::iterator as args
7810
7811 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7812
7813         * buffer.C (latexParagraphs): adjust
7814
7815         * paragraph.C (TeXOnePar): move function...
7816         (optArgInset): move function...
7817         (TeXEnvironment): move function...
7818         * paragraph_pimpl.C (TeXDeeper): move function...
7819         * paragraph_funcs.C: ...here
7820
7821         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7822
7823 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7824
7825         * buffer.C (readInset): remove compability code for old Figure and
7826         InsetInfo insets
7827
7828 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7829
7830         * buffer.C: ws changes
7831         (readInset):
7832
7833         * BufferView_pimpl.C: ditto
7834         * author.C: ditto
7835         * buffer.h: ditto
7836         * bufferlist.h: ditto
7837         * changes.h: ditto
7838         * lyxfunc.C: ditto
7839
7840 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
7841
7842         * converter.[Ch]: split into itself +
7843         * graph.[Ch]
7844         * format.[Ch]
7845         * Makefile.am: += graph.[Ch] + format.[Ch]
7846         * MenuBackend.C
7847         * buffer.C
7848         * exporter.C
7849         * importer.C
7850         * lyx_main.C
7851         * lyxfunc.C
7852         * lyxrc.C: added #include "format.h"
7853
7854 2003-02-27  Angus Leeming  <leeming@lyx.org>
7855
7856         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7857           a label.
7858
7859         * factory.C (createInset): add "label" to the factory.
7860
7861         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7862           string and do no more.
7863
7864 2003-02-27  Angus Leeming  <leeming@lyx.org>
7865
7866         * commandtags.h:
7867         * LyXAction.C (init):
7868         * factory.C (createInset):
7869         * BufferView_pimpl.C (dispatch):
7870           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7871
7872         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7873
7874         * lyxfunc.C (dispatch):
7875         * text3.C (dispatch): pass name to params2string.
7876
7877 2003-02-26  Angus Leeming  <leeming@lyx.org>
7878
7879         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7880           blocks together.
7881           Rearrange the ~includes. Strip out the unnecessary ones.
7882
7883         * factory.C (createInset): reformat.
7884           create new insets for the various LFUN_XYZ_APPLY lfuns.
7885
7886 2003-02-26  John Levon  <levon@movementarian.org>
7887
7888         * lyxrow.h:
7889         * lyxrow.C: add isParStart,isParEnd helpers
7890
7891         * paragraph.h: make isInserted/DeletedText take refs
7892
7893         * paragraph_funcs.h:
7894         * paragraph_funcs.C: remove #if 0'd code
7895
7896         * lyxtext.h:
7897         * text3.C:
7898         * text2.C:
7899         * text.C: use lyxrow helpers above.
7900           Move draw and paint routines to RowPainter.
7901           Make several methods use refs not pointers.
7902           Make backgroundColor() const.
7903           Add markChangeInDraw(), isInInset().
7904           Merge changeRegionCase into changeCase.
7905           Make workWidth() shouldn't-happen code into an Assert.
7906
7907         * rowpainter.h:
7908         * rowpainter.C: new class for painting a row.
7909
7910         * vspace.h:
7911         * vspace.C: make inPixels take a ref
7912
7913 2003-02-26  Angus Leeming  <leeming@lyx.org>
7914
7915         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7916         LFUN_REF_APPLY.
7917
7918 2003-02-25  John Levon  <levon@movementarian.org>
7919
7920         * ispell.C: give the forked command a more accurate name
7921
7922 2003-02-22  John Levon  <levon@movementarian.org>
7923
7924         * toc.h:
7925         * toc.C: make TocItem store an id not a Paragraph *
7926           (bug #913)
7927
7928 2003-02-21  Angus Leeming  <leeming@lyx.org>
7929
7930         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7931           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7932           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7933           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7934           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7935           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7936
7937         * BufferView_pimpl.C (dispatch):
7938         * LyXAction.C (init):
7939         * factory.C (createInset):
7940         * lyxfunc.C (getStatus, dispatch):
7941         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7942
7943 2003-02-21  Angus Leeming  <leeming@lyx.org>
7944
7945         * BufferView_pimpl.C (MenuInsertLyXFile):
7946         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7947         * lyxfunc.C (menuNew, open, doImport):
7948           no longer pass a LyXView & to fileDlg.
7949
7950 2003-02-21  Angus Leeming  <leeming@lyx.org>
7951
7952         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7953         * LyXAction.C: change, BIBKEY to BIBITEM.
7954         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7955         Change InsetBibKey to InsetBibitem.
7956         Change BIBKEY_CODE to BIBITEM_CODE.
7957         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7958         * factory.C: replace insetbib.h with insetbibitem.h.
7959         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7960         * paragraph.C: replace insetbib.h with insetbibitem.h.
7961         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7962         Change bibkey() to bibitem().
7963         * text.C: remove insetbib.h.
7964         * text2.C: replace insetbib.h with insetbibitem.h.
7965         change bibkey() to bibitem().
7966         * text3.C: remove insetbib.h.
7967         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7968
7969 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7970
7971         * lyxrc.C (output): enclose user email in quotes (in case there are
7972         several words)
7973
7974 2003-02-18  John Levon  <levon@movementarian.org>
7975
7976         * buffer.h: add std::
7977
7978 2003-02-17  John Levon  <levon@movementarian.org>
7979
7980         * SpellBase.h:
7981         * ispell.h:
7982         * ispell.C:
7983         * pspell.h:
7984         * pspell.C: reworking. Especially in ispell, a large
7985           number of clean ups and bug fixes.
7986
7987         * lyxfunc.C: fix revert to behave sensibly
7988
7989 2003-02-17 André Pönitz <poenitz@gmx.net>
7990
7991         * LyXAction.C:
7992         * commandtags.h: new LFUN_INSERT_BIBKEY
7993
7994         * layout.h:
7995         * lyxlayout.C:
7996         * buffer.C:
7997         * factory.C:
7998         * text.C:
7999         * text2.C:
8000         * text3.C:
8001         * paragraph.[Ch]:
8002         * paragraph_func.C: remove special bibkey handling
8003
8004 2003-02-17  John Levon  <levon@movementarian.org>
8005
8006         * text.C (Delete): fix case where delete at the end of
8007           the very first paragraph would not merge the pars
8008
8009 2003-02-17  John Levon  <levon@movementarian.org>
8010
8011         * lyxrow.C: fix lastPrintablePos()
8012
8013 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8014
8015         * bufferparams.C (writeLaTeX): add a std:here
8016
8017         * buffer.C: and remove a using directive there
8018
8019 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8020
8021         * buffer.C (makeLaTeXFile): move the code that generates the
8022           preamble...
8023
8024         * bufferparams.C (writeLaTeX): ... in this new method
8025
8026         * LaTeXFeatures.C (getEncodingSet): make const
8027           (getLanguages): make const
8028
8029         * MenuBackend.C (binding): returns the binding associated to this
8030           action
8031           (add): sets the status of each item by calling getStatus. Adds
8032           some intelligence.
8033           (read): add support for OptSubMenu
8034           (expand): remove extra separator at the end of expanded menu
8035
8036 2003-02-15  John Levon  <levon@movementarian.org>
8037
8038         * BufferView.C:
8039         * BufferView_pimpl.C:
8040         * bufferlist.h:
8041         * bufferlist.C: remove pointless BufferStorage bloat. Remove
8042           inset code that had no actual effect. Remove unneeded status
8043           code.
8044
8045 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8046
8047         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8048           in preamble
8049
8050 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
8051
8052         * text.C (drawLengthMarker): also draw an arrow marker for
8053           symbolic lengths (medskip...)
8054
8055 2003-02-14  John Levon  <levon@movementarian.org>
8056
8057         * tabular.h:
8058         * tabular.C: better method names
8059
8060 2003-02-14  John Levon  <levon@movementarian.org>
8061
8062         * BufferView_pimpl.C:
8063         * bufferlist.C:
8064         * buffer.C:
8065         * converter.C:
8066         * lyx_cb.C:
8067         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8068           it's a more accurate name. Remove some pointless uses.
8069
8070 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8071
8072         * text2.C (LyXText): change order of initilizers to shut off
8073           warnings
8074
8075 2003-02-14  John Levon  <levon@movementarian.org>
8076
8077         * buffer.C: use ParIterator for getParFromID()
8078
8079         * paragraph.h:
8080         * paragraph.C:
8081         * paragraph_pimpl.h:
8082         * paragraph_pimpl.C: remove unused getParFromID()
8083
8084 2003-02-14  John Levon  <levon@movementarian.org>
8085
8086         * buffer.C: remove some very old #if 0'd parse code
8087
8088 2003-02-13  John Levon  <levon@movementarian.org>
8089
8090         * text.h:
8091         * text.C:
8092         * text2.C: move hfillExpansion(), numberOfSeparators(),
8093           rowLast(), rowLastPrintable(), numberofHfills(),
8094           numberOfLabelHfills() ...
8095
8096         * lyxrow.h:
8097         * lyxrow.C: ... to member functions here.
8098
8099         * paragraph.h:
8100         * paragraph.C:
8101         * lyxtext.h:
8102         * text.C: remove LyXText::beginningOfMainBody(), and call
8103           p->beginningOfMainBody() directly. Move the check for
8104           LABEL_MANUAL into the latter.
8105
8106         * text.h:
8107         * text.C:
8108         * text2.C:
8109         * vspace.C:
8110         * BufferView.h:
8111         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8112
8113         * text.h:
8114         * text.C:
8115         * text2.C:
8116         * text3.C:
8117         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8118           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8119
8120 2003-02-13  John Levon  <levon@movementarian.org>
8121
8122         * CutAndPaste.C: remove debug
8123
8124 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8125
8126         * paragraph.C (asString): remove two unused variables
8127
8128         * lyxtextclass.C (readTitleType):
8129           (Read):
8130           (LyXTextClass): handle new members titletype_ and titlename_
8131
8132         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8133
8134 2003-02-09  John Levon  <levon@movementarian.org>
8135
8136         * buffer.h:
8137         * buffer.C: replace hand-coded list with a map for the dep clean
8138
8139 2003-02-08  John Levon  <levon@movementarian.org>
8140
8141         * LaTeX.C: consolidate code into showRunMessage() helper
8142
8143 2003-02-08  John Levon  <levon@movementarian.org>
8144
8145         * lyxfind.C:
8146         * lyxtext.h:
8147         * text2.C:
8148         * BufferView.C: change setSelectionOverString() to setSelectionRange()
8149           and pass the size in explicitly
8150
8151         * BufferView_pimpl.h:
8152         * BufferView_pimpl.C:
8153         * BufferView.h:
8154         * BufferView.C: add getCurrentChange()
8155
8156         * BufferView_pimpl.h:
8157         * BufferView_pimpl.C: handle change lfuns
8158
8159         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8160           for changes. Mark pasted paragraphs as new.
8161
8162         * support/lyxtime.h:
8163         * support/lyxtime.C:
8164         * DepTable.C: abstract time_t as lyx::time_type
8165
8166         * LColor.h:
8167         * LColor.C: add colours for new text, deleted text, changebars
8168
8169         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8170           package use "usenames" option.
8171
8172         * commandtags.h:
8173         * lyxfunc.C:
8174         * LyXAction.C: add change lfuns
8175
8176         * Makefile.am:
8177         * author.h:
8178         * author.C: author handling
8179
8180         * buffer.h:
8181         * buffer.C: add a per-buffer author list, with first entry as
8182           current author. Handle new .lyx tokens for change tracking. Output
8183           author list to .lyx file. Output dvipost stuff to .tex preamble.
8184           Bump lyx format to 222.
8185
8186         * bufferlist.h:
8187         * bufferlist.C: add setCurrentAuthor() to reset current author details
8188           in all buffers.
8189
8190         * bufferparams.h:
8191         * bufferparams.C: add param for tracking
8192
8193         * bufferview_funcs.C: output change info in minibuffer
8194
8195         * Makefile.am:
8196         * changes.h:
8197         * changes.C: add change-tracking structure
8198
8199         * debug.h:
8200         * debug.C: add CHANGES debug flag
8201
8202         * lyxfind.h:
8203         * lyxfind.C: add code for finding the next change piece
8204
8205         * lyxrc.h:
8206         * lyxrc.C: add user_name and user_email
8207
8208         * lyxrow.h:
8209         * lyxrow.C: add a metric for the top of the text line
8210
8211         * lyxtext.h:
8212         * text.C: implement accept/rejectChange()
8213
8214         * lyxtext.h:
8215         * text.C: paint changebars. Paint new/deleted text in the chosen
8216         colours. Strike through deleted text.
8217
8218         * paragraph.h:
8219         * paragraph.C:
8220         * paragraph_pimpl.h:
8221         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8222           in the current change to the insert functions. Rework erase to
8223           mark text as deleted, adding an eraseIntern() and a range-based
8224           erase(). Implement per-paragraph change lookup and
8225           accept/reject.
8226
8227         * paragraph_funcs.C: Fixup paste for change tracking.
8228
8229         * tabular.C: mark added row/columns as new.
8230
8231         * text.C: fix rowLast() to never return -1. Don't allow
8232           spellchecking of deleted text. Track transpose changes. Don't
8233           allow paragraph break or merge where appropriate.
8234
8235         * text2.C: leave cursor at end of selection after a cut.
8236
8237 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8238
8239         * text.C (getLengthMarkerHeight):
8240         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8241         visible on screen too.
8242
8243 2003-02-07  John Levon  <levon@movementarian.org>
8244
8245         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8246
8247 2003-02-05  Angus Leeming  <leeming@lyx.org>
8248
8249         * lyxserver.C (read_ready): revert my patch of 11 September last year
8250         as it sends PC cpu through the roof. Presumably this means that
8251         the lyxserver will no longer run on an Alpha...
8252
8253 2003-01-30  Angus Leeming  <leeming@lyx.org>
8254
8255         * factory.C (createInset): create an InsetCommandParam of type "index"
8256         and use it to 'do the right thing'.
8257
8258         * text2.C (getStringToIndex): ensure that cursor position is always
8259         reset to the reset_cursor position.
8260
8261 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8262
8263         * lyxfunc.C (getStatus): "buffer-export custom" should never be
8264         disabled.
8265
8266 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
8267
8268         * bufferview.C:
8269         * lyxcb.C:
8270         * lyxfunc.C: Output messages with identical spelling, punctuation,
8271         and spaces
8272
8273 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
8274
8275         * MenuBackend.C (expandFormats): List only viewable export formats
8276         in "View" menu
8277
8278         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8279         message
8280
8281         * lyxfunc.C (getStatus): Make sure that formats other than
8282         "fax" can also be disabled
8283
8284 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8285
8286         * text3.C (dispatch): put the lfuns that insert insets in 3
8287         groups, and call doInsertInset with appropriate arguments.
8288         (doInsertInset): new function, that creates an inset and inserts
8289         it according to some boolean parameters.
8290
8291 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8292
8293         * buffer.C (readFile): remember to pass on 'par' when calling
8294         readFile recursively.
8295
8296 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8297
8298         * MenuBackend.C (expandFormats): add "..." to import formats.
8299
8300 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
8301
8302         * paragraph.C (asString): Remove XForms RTL hacks.
8303
8304 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
8305         * buffer.C: fix typo
8306
8307 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8308
8309         * Makefile.am (LIBS): delete var
8310         (lyx_LDADD): add @LIBS@ here instead.
8311
8312 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
8313
8314         * Clarify the meaning of "wheel mouse jump"
8315
8316 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8317
8318         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8319         tabular in a float
8320
8321 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8322
8323         * importer.C (Loaders): do not preallocate 3 elements in the
8324         vector, since one ends up with 6 elements otherwise
8325
8326 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8327
8328         * DepTable.C (write): write the file name as last element of the
8329         .dep file (because it may contain spaces)
8330         (read): read info in the right order
8331
8332 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8333
8334         * paragraph_pimpl.C (simpleTeXBlanks):
8335         (simpleTeXSpecialChars):
8336         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8337
8338         * tabular.C (latex): add some missing case statements. Reindent.
8339
8340         * MenuBackend.C (expandToc): remove unused variable.
8341
8342 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
8343
8344         * LColor.C:
8345         * LaTeX.C:
8346         * LyXAction.C:
8347         * MenuBackend.C:
8348         * buffer.C:
8349         * exporter.C:
8350         * lyxfunc.C:
8351         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8352         and the like.
8353
8354 2003-01-05  John Levon  <levon@movementarian.org>
8355
8356         * BufferView.h:
8357         * BufferView.C: add getEncoding()
8358
8359         * kbsequence.h:
8360         * kbsequence.C: do not store last keypress
8361
8362         * lyxfunc.h:
8363         * lyxfunc.C: store last keypress here instead. Pass encoding
8364           to getISOEncoded()
8365
8366 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8367
8368         * lyx_main.C (init): remove annoying error message when following
8369         symbolic links (bug #780)
8370
8371 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8372
8373         * text.C (insertChar):
8374         * lyxrc.C (getDescription): remove extra spaces
8375
8376 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8377
8378         * lyxrc.C (getDescription): remove extra spaces
8379
8380 2002-12-20  John Levon  <levon@movementarian.org>
8381
8382         * text3.C: hack fix for page up/down across tall rows
8383
8384 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8385
8386         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8387         not been invoked
8388
8389 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8390
8391         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8392         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8393         thesaurus is not compiled in
8394
8395 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
8396
8397         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
8398
8399 2002-12-16  Angus Leeming  <leeming@lyx.org>
8400
8401         * lyxrc.[Ch]:
8402         * lyx_main.C (init): remove override_x_deadkeys stuff.
8403
8404 2002-12-12  John Levon  <levon@movementarian.org>
8405
8406         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8407           insert. Only remove shift modifier under strict
8408           circumstances.
8409
8410 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8411
8412         * MenuBackend.C (expandToc): fix crash.
8413
8414 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8415
8416         * MenuBackend.C (expandToc): gettext on float names.
8417
8418 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
8419
8420         * lyxlength.[Ch]: set default unit to UNIT_NONE,
8421         implement bool empty() [bug 490]
8422
8423 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8424
8425         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8426
8427 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8428
8429         * several files: ws changes
8430
8431 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8432
8433         * text2.C (setCounter): clean up a bit, use boost.format.
8434         (updateCounters): initialize par upon declaration.
8435
8436         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8437         if the layout exists. We do not just store the layout any more.
8438         (SwitchLayoutsBetweenClasses): use boost.format
8439
8440 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8441
8442         * converter.C (convert): if from and to files are the same, use a
8443         temporary files as intermediary
8444
8445 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8446
8447         * commandtags.h:
8448         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8449
8450 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
8451
8452         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8453
8454 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8455
8456         * tabular.C (asciiPrintCell): use string(size, char) instead of
8457         explicit loop.
8458
8459         * sgml.C (openTag): fix order of arguments to string constructor
8460         (closeTag): ditto
8461
8462         * lyxfunc.C (dispatch): use boost.format
8463
8464         * lots of files: change "c" -> 'c'
8465
8466 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
8467
8468         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8469
8470 2002-11-25  Angus Leeming  <leeming@lyx.org>
8471
8472         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8473
8474         * lyx_main.C (init): compile fix.
8475
8476 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8477
8478         * lyx_cb.C (start): boost.formatify
8479         do not include <iostream>
8480
8481         * lengthcommon.C: ws only
8482
8483         * boost-inst.C,BoostFormat.h: add more explict instantations
8484
8485 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8486
8487         * lots of files: handle USE_BOOST_FORMAT
8488
8489 2002-11-21  John Levon  <levon@movementarian.org>
8490
8491         * pspell.C: fix compile
8492
8493 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8494
8495         * lyxfunc.C (dispatch): use boost::format
8496         (open): ditto
8497         (doImport): ditto
8498
8499         * lyxfont.C (stateText): use boost::format
8500
8501         * lyx_main.C (LyX): use boost::format
8502         (init): ditto
8503         (queryUserLyXDir): ditto
8504         (readRcFile): ditto
8505         (parse_dbg): ditto
8506         (typedef boost::function): use the recommened syntax.
8507
8508         * importer.C (Import): use boost::format
8509
8510         * debug.C (showLevel): use boost::format
8511
8512         * converter.C (view): use boost::format
8513         (convert): ditto
8514         (move): ditto
8515         (scanLog): ditto
8516
8517         * bufferview_funcs.C (currentState): use boost::format
8518
8519         * bufferlist.C (emergencyWrite): use boost::format
8520
8521         * buffer.C (readLyXformat2): use boost::format
8522         (parseSingleLyXformat2Token): ditto
8523
8524         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8525
8526         * LaTeX.C (run): use boost::format
8527
8528         * Chktex.C (scanLogFile): use boost::format
8529
8530         * BufferView_pimpl.C (savePosition): use boost::format
8531         (restorePosition): ditto
8532         (MenuInsertLyXFile): ditto
8533
8534         * BoostFormat.h: help file for explicit instation.
8535
8536 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
8537
8538         * tabular.C (latex): Support for block alignment in fixed width
8539         columns.
8540
8541 2002-11-17  John Levon  <levon@movementarian.org>
8542
8543         * BufferView_pimpl.C:
8544         * lyx_cb.C:
8545         * lyxfunc.C: split filedialog into open/save
8546
8547 2002-11-08  Juergen Vigna  <jug@sad.it>
8548
8549         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8550         by my last patch (hopefully).
8551
8552 2002-11-08  John Levon  <levon@movementarian.org>
8553
8554         * iterators.h:
8555         * iterators.C:
8556         * buffer.h:
8557         * buffer.C:
8558         * paragraph.h:
8559         * paragraph.C:
8560         * toc.h:
8561         * toc.C: ParConstIterator, and use it (from Lars)
8562
8563 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
8564
8565         * lyxtextclass.[Ch]: revise and add doxygen comments
8566
8567 2002-11-07  John Levon  <levon@movementarian.org>
8568
8569         * text.C: fix progress value for spellchecker
8570
8571         * toc.C: fix navigate menu for insetwrap inside minipage
8572
8573         * paragraph_funcs.C: added FIXME for suspect code
8574
8575 2002-11-07  John Levon  <levon@movementarian.org>
8576
8577         * BufferView_pimpl.C: fix redrawing of insets
8578           on buffer switch
8579
8580 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8581
8582         * text2.C (updateCounters): fix bug 668
8583
8584 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
8585
8586         * text3.C (dispatch): Do not make the buffer dirty when moving the
8587         cursor.
8588
8589 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8590
8591         * vc-backend.C: STRCONV
8592         (scanMaster): ditto
8593
8594         * text2.C (setCounter): STRCONV
8595
8596         * paragraph.C (asString): STRCONV
8597
8598         * lyxlength.C (asString): STRCONV
8599         (asLatexString): ditto
8600
8601         * lyxgluelength.C (asString): STRCONV
8602         (asLatexString): ditto
8603
8604         * lyxfunc.C (dispatch): STRCONV
8605         (open): ditto
8606
8607         * lyxfont.C (stateText): STRCONV
8608
8609         * importer.C (Import): STRCONV
8610
8611         * counters.C (labelItem): STRCONV
8612         (numberLabel): ditto
8613         (numberLabel): remove unused ostringstream o
8614
8615         * chset.C: STRCONV
8616         (loadFile): ditto
8617
8618         * bufferview_funcs.C (currentState): STRCONV
8619
8620         * buffer.C (readFile): STRCONV
8621         (asciiParagraph): ditto
8622         (makeLaTeXFile): ditto
8623
8624         * Spacing.C (writeEnvirBegin): STRCONV
8625
8626         * LaTeXFeatures.C (getLanguages): STRCONV
8627         (getPackages): ditto
8628         (getMacros): ditto
8629         (getBabelOptions): ditto
8630         (getTClassPreamble): ditto
8631         (getLyXSGMLEntities): ditto
8632         (getIncludedFiles): ditto
8633
8634         * LaTeX.C: STRCONV
8635         (run): ditto
8636         (scanAuxFile): ditto
8637         (deplog): ditto
8638
8639         * LString.h: add the STRCONV macros
8640
8641         * BufferView_pimpl.C (savePosition): STRCONV
8642         (restorePosition): ditto
8643         (MenuInsertLyXFile): ditto
8644
8645         * vc-backend.C (scanMaster): change from submatch[...] to
8646         submatch.str(...)
8647
8648         * funcrequest.C: include config.h
8649
8650         * factory.C: include config.h
8651
8652         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8653
8654         * box.C: include config.h
8655
8656         * LaTeX.C (scanAuxFile): change from submatch[...] to
8657         submatch.str(...)
8658         (deplog): ditto
8659
8660 2002-10-25  Angus Leeming  <leeming@lyx.org>
8661
8662         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8663
8664         * ispell.[Ch] (setError): new method.
8665         * ispell.C (c-tor): move out child process into new class LaunchIspell.
8666         Use setError() insetead of goto END.
8667
8668         * lyx_cb.C (AutoSave): move out child process into new class
8669         AutoSaveBuffer.
8670
8671 2002-10-30  John Levon  <levon@movementarian.org>
8672
8673         * text3.C: make start appendix undoable
8674
8675 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
8676
8677         * lyxlength.C (inPixels): Fix returned value.
8678
8679         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8680         environment.
8681
8682 2002-10-24  Angus Leeming  <leeming@lyx.org>
8683
8684         * lyxgluelength.h: no need to forward declare BufferParams
8685         or BufferView, so don't.
8686
8687 2002-10-21  John Levon  <levon@movementarian.org>
8688
8689         * BufferView.C: menuUndo ->undo, redo
8690
8691         * BufferView.h: document, remove dead, make some methods private
8692
8693         * paragraph_funcs.h:
8694         * paragraph_funcs.C:
8695         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8696
8697         * buffer.h:
8698         * buffer.C:
8699         * sgml.h:
8700         * sgml.C: move sgml open/close tag into sgml.C
8701
8702         * bufferview_funcs.h: unused prototype
8703
8704         * lyxfunc.h:
8705         * lyxfunc.C: remove unused
8706
8707         * lyxtext.h:
8708         * text.C: remove unused
8709
8710 2002-10-21  John Levon  <levon@movementarian.org>
8711
8712         * BufferView.h:
8713         * BufferView.C:
8714         * BufferView_pimpl.h:
8715         * BufferView_pimpl.C: fix mouse wheel handling based on
8716           patch from Darren Freeman
8717
8718 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
8719
8720         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8721
8722 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
8723
8724         * lyxlength.C (inPixels): Fix hanfling of negative length.
8725         Fix LyXLength::MU case.
8726
8727 2002-10-16  John Levon  <levon@movementarian.org>
8728
8729         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8730
8731 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8732
8733         * converter.C (view): add support for $$i (file name) and $$p
8734         (file path) for the viewer command. If $$i is not specified, then
8735         it is appended to the command (for compatibility with old syntax)
8736
8737 2002-10-14  Juergen Vigna  <jug@sad.it>
8738
8739         * undo_funcs.C (textHandleUndo): alter the order in which the
8740         new undopar is added to the LyXText, as we have to set first
8741         the right prev/next and then add it as otherwise the rebuild of
8742         LyXText is not correct. Also reset the cursor to the right paragraph,
8743         with this IMO we could remove the hack in "redoParagraphs()".
8744
8745 2002-10-09  Angus Leeming  <leeming@lyx.org>
8746
8747         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8748         to turn off an optimisation if a new inset is to be inserted.
8749
8750 2002-10-11 André Pönitz <poenitz@gmx.net>
8751
8752         * lyxtext.h: make some functions public to allow access
8753         from inset/lyxtext for handling LFUN_PRIOR/NEXT
8754
8755 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8756
8757         * text3.C (dispatch): when changing layout, avoid an infinite loop
8758         [bug #652]
8759
8760 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8761
8762         * lyxrc.C (read): treat a viewer or converter command of "none" as
8763         if it were empty.
8764
8765         * MenuBackend.C (expandFormats): for an update, also allow the
8766         formats that are not viewable
8767
8768         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8769         script if it is newer than the lyxrc.defaults in user directory
8770
8771 2002-10-07 André Pönitz <poenitz@gmx.net>
8772
8773         * text.C: Vitaly Lipatov's small i18n fix
8774
8775 2002-09-25  Angus Leeming  <leeming@lyx.org>
8776
8777         * ispell.h: doxygen fix.
8778
8779 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
8780
8781         * buffer.h (readFile): Add a new argument to the method, to allow
8782         reading of old-format templates.
8783
8784 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
8785
8786         * toc.C (getTocList): Get TOC from InsetWrap.
8787
8788 2002-09-16  John Levon  <levon@movementarian.org>
8789
8790         * lyxfunc.C: check tabular for cut/copy too
8791
8792 2002-09-12  John Levon  <levon@movementarian.org>
8793
8794         * LyXAction.C: tidy
8795
8796         * factory.h:
8797         * factory.C: add header
8798
8799         * paragraph_funcs.h:
8800         * paragraph_funcs.C: cleanup
8801
8802 2002-09-11  John Levon  <levon@movementarian.org>
8803
8804         * PrinterParams.h: odd/even default to true
8805
8806 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
8807
8808         * PrinterParams.h: update printer parameters for new xforms dialog
8809
8810 2002-09-11  Angus Leeming  <leeming@lyx.org>
8811
8812         * lyxserver.C (read_ready): re-write to make it more transparent
8813         and to make it work in coherent fashion under Tru64 Unix.
8814
8815 2002-09-11  André Pönitz <poenitz@gmx.net>
8816
8817         * commandtags.h:
8818         * LyXAction.C:
8819         * text3.C: implement LFUN_WORDSEL
8820
8821 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8822
8823         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8824         make floatlist_ a boost::shared_ptr<FloatList>
8825
8826         * lyxtextclass.C: include FloatList.h
8827         (LyXTextClass): initialize floatlist_
8828         (TextClassTags): add TC_NOFLOAT
8829         (Read): match "nofloat" to TC_NOFLOAT and use it.
8830         (readFloat): modify call to floatlist_
8831         (floats): ditto
8832         (floats): ditto
8833
8834         * FloatList.[Ch] (FloatList): remove commented out float
8835         initialization.
8836         (erase): new function
8837
8838 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8839
8840         * MenuBackend.C (expandToc): fix crash when there is no document
8841         open
8842
8843 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
8844
8845         * many files: Add insetwrap.
8846
8847 2002-09-09  John Levon  <levon@movementarian.org>
8848
8849         * text2.C: remove confusing and awkward depth wraparound
8850
8851 2002-09-09  John Levon  <levon@movementarian.org>
8852
8853         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8854
8855         * buffer.h:
8856         * buffer.C: remove getIncludeonlyList()
8857
8858         * paragraph.C:
8859         * lyxfunc.C: remove headers
8860
8861 2002-09-09  Juergen Vigna  <jug@sad.it>
8862
8863         * text.C (getColumnNearX): fix form Michael this is most
8864         probably a cut&paste bug.
8865
8866 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8867
8868         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8869
8870         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8871         references, ws changes.
8872
8873         * text2.C (init): update counters after init
8874         (insertParagraph): no need to set counter on idividual paragraphs.
8875         (setCounter): access the counters object in the textclass object
8876         on in the buffer object.
8877         (updateCounters): ditto
8878
8879         * lyxtextclass.C: include counters.h, add variable ctrs_ as
8880         shared_ptr<Counters> to avoid loading counters.h in all
8881         compilation units.
8882         (LyXTextClass): initialize ctrs_
8883         (TextClassTags): add TC_COUNTER, and ...
8884         (Read): use it here.
8885         (CounterTags): new tags
8886         (readCounter): new function
8887         (counters): new funtion
8888         (defaultLayoutName): return a const reference
8889
8890         * counters.C (Counters): remove contructor
8891         (newCounter): remove a couple of unneeded statements.
8892         (newCounter): simplify a bit.
8893         (numberLabel): some small formatting changes.
8894
8895         * buffer.[Ch]: remove all traces of counters, move the Counters
8896         object to the LyXTextClass.
8897
8898 2002-09-06  Alain Castera  <castera@in2p3.fr>
8899
8900         * tabular.C: uses \tabularnewline; uses >{...} construct from array
8901         package to set the horizontal alignment on fixed width columns.
8902
8903         * lyx_sty.C:
8904         * lyx_sty.h: added tabularnewline macro def.
8905
8906         * LaTeXFeatures.C: added NeedTabularnewline macro feature
8907
8908 2002-09-06  John Levon  <levon@movementarian.org>
8909
8910         * LyXAction.C: tooltips for sub/superscript
8911
8912         * MenuBackend.C: a bit more verbose
8913
8914         * lyxfunc.C: tiny clean
8915
8916         * undo_funcs.C: document undo_frozen
8917
8918 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8919
8920         * counters.C (Counters): add missing algorithm counter.
8921
8922         * text2.C (setCounter): lookup the counter with layouts latexname
8923         instead of by section number.
8924         (setCounter): use a hackish way to lookup the correct enum
8925         counter.
8926         a float name->type change
8927         reset enum couners with counter name directly instead of depth value.
8928
8929         * counters.C (Counters): remove the push_backs, change to use the
8930         float type not the float name.
8931         (labelItem): remove unused string, float name->type change
8932
8933         * counters.h: don't include vector, loose the enums and sects vectors
8934
8935 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8936
8937         * lyxtextclass.C (TextClassTags): add TC_FLOAT
8938         (Read): add float->TC_FLOAT to textclassTags
8939         (Read): and handle it in the switch
8940         (readFloat): new function
8941
8942         * FloatList.C (FloatList): comment out the hardcoded float
8943         definitions.
8944
8945         * lyxlayout.h: ws change.
8946
8947 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
8948
8949         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8950
8951 2002-09-03  Angus Leeming  <leeming@lyx.org>
8952
8953         * BufferView_pimpl.h: qualified name is not allowed in member
8954         declaration: WorkArea & Pimpl::workarea() const;
8955
8956         * factory.C: added using std::endl directive.
8957
8958         * text3.C: added using std::find and std::vector directives.
8959
8960 2002-08-29  André Pönitz <poenitz@gmx.net>
8961
8962         * lyxtext.h:
8963         * text2.C: remove unused member number_of_rows
8964
8965         * Makefile.am:
8966         * BufferView2.C: remove file, move contents to...
8967         * BufferView.C: ... here
8968
8969         * BufferView_pimpl.C:
8970         * factory.C: move more inset creation to factory
8971
8972         * vspace.C: avoid direct usage of LyXText, ws changes
8973
8974         * BufferView.[Ch]:
8975                 don't provide direct access to WorkArea, use two simple
8976                 acessors haveSelction() and workHeight() instead
8977
8978
8979 2002-08-29  John Levon  <levon@movementarian.org>
8980
8981         * BufferView_pimpl.C (dispatch): do not continue when
8982           no buffer
8983
8984 2002-08-28  André Pönitz <poenitz@gmx.net>
8985
8986         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8987
8988         * BufferView.h:
8989         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8990
8991 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
8992
8993         * buffer.C: increment LYX_FORMAT to 221
8994
8995         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8996         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8997
8998         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8999
9000         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9001
9002 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9003
9004         * factory.C (createInset): use LyXTextClass::floats
9005
9006         * MenuBackend.C (expandFloatListInsert):
9007         (expandFloatInsert):
9008         (expandToc):
9009
9010         * text2.C (setCounter):
9011
9012         * LaTeXFeatures.C (useFloat):
9013         (getFloatDefinitions):
9014
9015         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9016
9017         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9018         floatlist_, with accessor floats().
9019
9020         * FloatList.h: remove global FloatList
9021
9022 2002-08-26  André Pönitz <poenitz@gmx.net>
9023
9024         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9025
9026         * BufferView.h:
9027         * BufferView2.C:
9028         * BufferView_pimpl.C:
9029         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9030
9031 2002-08-25  John Levon  <levon@movementarian.org>
9032
9033         * LyXAction.C: fix margin note description
9034
9035 2002-08-24  John Levon  <levon@movementarian.org>
9036
9037         * buffer.C:
9038         * bufferlist.C:
9039         * bufferview_funcs.C:
9040         * lyxfont.C:
9041         * undo_funcs.C: cleanups
9042
9043         * lyxfunc.C: disable CUT/COPY when no selection
9044
9045 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
9046
9047         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9048         in "enum UNIT"; e.g. PTW for Percent of TextWidth
9049
9050         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9051         Add backward compatibility to "mono", "gray" and "no".
9052
9053 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
9054
9055         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9056         (and file_format >= 200).
9057
9058 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9059
9060         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9061
9062 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9063
9064         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9065
9066 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
9067
9068         * BufferView_pimpl.C:
9069         * LyXAction.C:
9070         * buffer.C:
9071         * commandtags.h:
9072         * lyxfunc.C:
9073         * paragraph.[Ch]:
9074         * text2.C:
9075         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9076         inset and code to make it  work with the paragraph code. The inset
9077         can be anywhere in the paragraph, but will only do the expected
9078         thing in LaTeX if the layout file contains the parameter line
9079                         OptionalArgs    1
9080         (or more generally, a nonzero value) for that layout.
9081
9082 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
9083
9084         * paragraph.h: remove the declaration of undefined counters class
9085         function.
9086
9087 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
9088
9089         * text2.C (setCounter):  fixed enumeration mis-count as reported by
9090         Dr. Richard Hawkins.
9091
9092 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9093
9094         * paragraph_funcs.h: remove some unneeded includes
9095
9096         * text.C (backspace): pasteParagraph now in global scipe
9097
9098         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9099         (pasteSelection): ditto
9100
9101         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9102         * paragraph_funcs.C (pasteParagraph): ... here
9103
9104 2002-08-20  André Pönitz <poenitz@gmx.net>
9105
9106         * commandtags.h: new LFUNs for swapping/copying table row/colums
9107
9108         * LyXAction.C:
9109         * lyxfunc.C: support for new lfuns
9110
9111 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
9112
9113         * tabular.C:
9114         * buffer.[Ch]: remove NO_COMPABILITY stuff
9115
9116 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
9117
9118         * boost.C (throw_exception): new file, with helper function for
9119         boost compiled without exceptions.
9120
9121         * paragraph.h:
9122         * lyxlength.C:
9123         * buffer.C:
9124         * ParameterStruct.h:
9125         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9126
9127         * bufferlist.C (emergencyWriteAll): use boost bind
9128
9129         * BufferView_pimpl.C (moveCursorUpdate): remove inline
9130
9131         * text.C: include paragraph_funcs.h
9132         (breakParagraph): breakParagraph is now in global scope
9133
9134         * paragraph_funcs.[Ch]: new files
9135
9136         * paragraph.C (breakParagraph,breakParagraphConservative): move to
9137         global scope
9138
9139         * buffer.C: include paragraph_funcs.h
9140         (insertStringAsLines): breakParagraph is now in global scope
9141
9142         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9143         paragraph_funcs.C
9144
9145         * CutAndPaste.C: include paragraph_funcs.h
9146         (cutSelection): breakParagraphConservative is now in global scope
9147         (pasteSelection): ditto
9148
9149         * buffer.h: declare oprator== and operator!= for
9150         Buffer::inset_iterator
9151
9152         * bufferlist.C (emergencyWrite): don't use fmt(...)
9153
9154         * text3.C: add using std::endl
9155
9156         * BufferView.C (moveCursorUpdate): remove default arg
9157
9158 2002-08-20  André Pönitz <poenitz@gmx.net>
9159
9160         * buffer.[Ch]: move inline functions to .C
9161
9162         * BufferView2.C:
9163         * BufferView_pimpl.C:
9164         * text.C:
9165         * buffer.[Ch]: use improved inset_iterator
9166
9167         * buffer.C:
9168         * paragraph.[Ch]: write one paragraph at a time
9169
9170 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
9171
9172         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9173         style if style is not specified.
9174
9175 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9176
9177         * text2.C (setCounter): when searching for right label for a
9178         caption, make sure to recurse to parent insets (so that a caption
9179         in a minipage in a figure float works) (bug #568)
9180
9181 2002-08-20  André Pönitz <poenitz@gmx.net>
9182
9183         * text3.C: new file for LyXText::dispatch() and helpers
9184
9185         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9186
9187         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9188
9189 2002-08-19  André Pönitz <poenitz@gmx.net>
9190
9191         * lyxtext.h:
9192         * text.C: new LyXText::dispatch()
9193
9194         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9195
9196 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
9197
9198         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9199
9200         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9201         Hebrew text.
9202
9203 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9204
9205         * Makefile.am: use $(variables) instead of @substitutions@
9206
9207 2002-08-15  André Pönitz <poenitz@gmx.net>
9208
9209         * lyxfunc.C:
9210         * BufferView_pimpl.C: streamlining mathed <-> outer world
9211         interaction
9212
9213         * commandtags.h:
9214         * LyXAction.C: remove unused LFUN_MATH
9215
9216 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9217
9218         * paragraph.[Ch]: add some NO_NEXT ifdefs.
9219
9220 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9221
9222         * paragraph.C (Paragraph): reformat a bit
9223         (cutIntoMinibuffer): use builtin InsetList function instad of
9224         doing it manually.
9225         (getInset): ditto
9226
9227         * buffer.C: include boost/bind.hpp, add using std::for_each
9228         (writeFileAscii): use ParagraphList iterators
9229         (validate): use for_each for validate traversal of paragraphs
9230         (getBibkeyList): use ParagraphList iterators
9231         (resizeInsets): use for_each to resizeInsetsLyXText for all
9232         paragraphs.
9233         (getParFromID): use ParagraphList iterators
9234
9235         * BufferView2.C (lockInset): use paragraph list and iterators
9236
9237 2002-08-14  John Levon  <levon@movementarian.org>
9238
9239         * lyxserver.C: remove spurious xforms include
9240
9241 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9242
9243         * lyxfunc.C (getStatus): disable math-extern outside of math mode
9244
9245 2002-08-13  André Pönitz <poenitz@gmx.net>
9246
9247         * LyXAction.[Ch]:
9248         * lyxfunc.C: further cleaning
9249
9250 2002-08-13  André Pönitz <poenitz@gmx.net>
9251
9252         * funcrequest.h: new constructor
9253
9254         * funcrequest.C: move stuff here from .h
9255
9256         * Makefile.am:
9257         * BufferView_pimpl.C:
9258         * LyXAction.C:
9259         * toc.C:
9260         * lyxfunc.C: subsequent changes
9261
9262         * lyxfunc.h: new view() member function
9263
9264         * lyxfunc.C: subsequent changes
9265
9266 2002-08-13  Angus Leeming  <leeming@lyx.org>
9267
9268         * BufferView2.C:
9269         * BufferView_pimpl.C:
9270         * buffer.C:
9271         * converter.C:
9272         * importer.C:
9273         * lyxfunc.C:
9274         * lyxvc.C:
9275         * toc.C:
9276         * vc-backend.C:
9277         changes due to the changed LyXView interface that now returns references
9278         to member variables not pointers.
9279
9280 2002-08-13  Angus Leeming  <leeming@lyx.org>
9281
9282         * WordLangTuple (word, lang_code): return references to strings,
9283         not strings.
9284
9285         * BufferView.h:
9286         * SpellBase.h:
9287         * lyxtext.h: forward-declare WordLangTuple.
9288
9289         * BufferView2.C:
9290         * ispell.C:
9291         * pspell.C:
9292         * text.C: #include "WordLangTuple.h".
9293
9294         * lyxtext.h:
9295         * text.C: (selectNextWordToSpellcheck): constify return type.
9296
9297 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
9298
9299         * buffer.C:
9300         * buffer.h:
9301         * lyxtext.h:
9302         * paragraph.C:
9303         * paragraph_pimpl.h:
9304         * text.C:
9305         * text2.C:
9306         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9307         suggested by Angus.
9308         Made updateCounter always count from start of buffer, and removed
9309         second argument (par).
9310         Reverted floats number display to '#'. Perhaps I'll try again when the
9311         code base is sanitized a bit.
9312
9313 2002-08-12  Angus Leeming  <leeming@lyx.org>
9314
9315         * buffer.[Ch] (getLabelList): constify.
9316
9317 2002-08-07  André Pönitz <poenitz@gmx.net>
9318
9319         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9320
9321         * funcrequest.h: extension to keep mouse (x,y) position
9322
9323 2002-08-12  Juergen Vigna  <jug@sad.it>
9324
9325         * BufferView2.C (insertErrors): forbid undo when inserting error
9326         insets.
9327
9328         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9329
9330 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9331
9332         * ParagraphList.[Ch]: new files
9333
9334         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9335
9336         * BufferView2.C (lockInset): ParagraphList changes
9337         * toc.C: ditto
9338         * text2.C: ditto
9339         * bufferlist.C: ditto
9340         * buffer.h: ditto
9341         * buffer.C: ditto
9342
9343 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9344
9345         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9346         unused class variable counter_,
9347
9348         * paragraph.[Ch] (getFirstCounter): delete unused function
9349
9350         * counters.C: include LAssert.h
9351         (reset): add a new function with no arg, change other version to
9352         not have def. arg and to not allow empty arg.
9353
9354         * text2.C (setCounter): remove empty arg from call to Counters::reset
9355
9356 2002-08-11  John Levon  <levon@movementarian.org>
9357
9358         * Makefile.am: add WordLangTuple.h
9359
9360 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9361
9362         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9363         lyxfunc.C lyxlex_pimpl.C: ws changes only.
9364
9365         * insets/insettext.C: InsetList changes
9366
9367         * graphics/GraphicsSupport.C (operator()): InsetList changes
9368
9369         * toc.C (getTocList): InsetList changes
9370
9371         * paragraph_pimpl.[Ch]: InsetList changes
9372
9373         * paragraph.[Ch]: InsetList changes
9374
9375         * buffer.C (inset_iterator): InsetList changes
9376         (setParagraph): ditto
9377         * buffer.h (inset_iterator): ditto
9378         * iterators.C (operator++): ditto
9379         * iterators.h: ditto
9380
9381         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9382
9383         * InsetList.[Ch]: new files, most InsetList handling moved out of
9384         paragraph.C.
9385
9386         * BufferView2.C (removeAutoInsets): InsetList changes
9387         (lockInset): ditto
9388         (ChangeInsets): ditto
9389
9390 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
9391
9392         * paragraph_pimpl.h (empty): new function
9393
9394         * paragraph.[Ch] (empty): new function
9395
9396         * other files: use the new Paragraph::empty function
9397
9398 2002-08-09  John Levon  <levon@movementarian.org>
9399
9400         * lyxtext.h: remove unused refresh_height
9401
9402 2002-08-09  John Levon  <levon@movementarian.org>
9403
9404         * Makefile.am:
9405         * sgml.h:
9406         * sgml.C:
9407         * buffer.C:
9408         * paragraph.h:
9409         * paragraph.C: move sgml char escaping out of paragraph
9410
9411         * paragraph.h:
9412         * paragraph.C: remove id setter
9413
9414         * buffer.C:
9415         * paragraph.C:
9416         * paragraph_pimpl.C: remove dead tex_code_break_column
9417
9418         * bufferview_funcs.C: small cleanup
9419
9420         * lyxfunc.C: remove dead proto
9421
9422         * lyxtext.h: make some stuff private. Remove some dead stuff.
9423
9424         * lyxgluelength.C: make as[LyX]String() readable
9425
9426 2002-08-08  John Levon  <levon@movementarian.org>
9427
9428         * LyXAction.h:
9429         * LyXAction.C:
9430         * MenuBackend.C:
9431         * ToolbarDefaults.C:
9432         * lyxfunc.C:
9433         * lyxrc.C:
9434         * toc.C: lyxaction cleanup
9435
9436 2002-08-08  John Levon  <levon@movementarian.org>
9437
9438         * BufferView2.C: small cleanup
9439
9440         * lyxfind.h:
9441         * lyxfind.C: move unnecessary header into the .C
9442
9443 2002-08-08  John Levon  <levon@movementarian.org>
9444
9445         * funcrequest.h: just tedious nonsense
9446
9447         * lyx_main.h:
9448         * lyx_main.C: cleanups
9449
9450         * buffer.C:
9451         * vspace.C: remove dead header lyx_main.h
9452
9453 2002-08-07  Angus Leeming  <leeming@lyx.org>
9454
9455         * Paragraph.[Ch]:
9456         * paragraph_pimpl.h:
9457         Forward declare class Counters in paragraph.h by moving the ctrs member
9458         variable into Paragraph::Pimpl.
9459         (counters): new method, returning a reference to pimpl_->ctrs.
9460
9461         * text2.C: ensuing changes.
9462
9463 2002-08-07  John Levon  <levon@movementarian.org>
9464
9465         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9466
9467         * BufferView_pimpl.C: announce X selection on double/triple
9468           click
9469
9470         * lyx_main.C: use correct bool in batch dispatch
9471
9472         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9473
9474 2002-08-07  André Pönitz <poenitz@gmx.net>
9475
9476         * funcrequest.h: new class to wrap a kb_action and its argument
9477
9478         * BufferView.[Ch]:
9479         * BufferView_pimpl[Ch]:
9480         * LaTeX.C:
9481         * LyXAction.[Ch]:
9482         * lyxfunc.[Ch]:
9483         * lyxrc.C: subsequent changes
9484
9485
9486 2002-08-07  John Levon  <levon@movementarian.org>
9487
9488         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9489           document options change.
9490
9491 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
9492
9493         * counters.[Ch]
9494         * text2.C
9495         * paragraph.[Ch]
9496         * makefile.am: move counters functionality over from
9497         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9498
9499 2002-08-06  John Levon  <levon@movementarian.org>
9500
9501         * WordLangTuple.h: new file for word + language code tuple
9502
9503         * SpellBase.h:
9504         * pspell.h:
9505         * pspell.C:
9506         * ispell.h:
9507         * ispell.C:
9508         * lyxtext.h:
9509         * text.C:
9510         * text2.C:
9511         * BufferView.h:
9512         * BufferView2.C: use WordLangTuple
9513
9514         * layout.h:
9515         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9516
9517 2002-08-06  John Levon  <levon@movementarian.org>
9518
9519         * lyx_main.C: fix cmdline batch handling
9520
9521 2002-08-06  André Pönitz <poenitz@gmx.net>
9522
9523         * lyxrc.C: set default for show_banner to true
9524
9525 2002-08-06  John Levon  <levon@movementarian.org>
9526
9527         * pspell.C: fix a crash, and allow new aspell to work
9528
9529 2002-08-06  John Levon  <levon@movementarian.org>
9530
9531         * lyxfunc.C:
9532         * kbmap.C: small cleanup
9533
9534         * vspace.h:
9535         * vspace.C: add const
9536
9537 2002-08-05  John Levon  <levon@movementarian.org>
9538
9539         * LyXAction.C: back to tabular-insert
9540
9541 2002-08-04  John Levon  <levon@movementarian.org>
9542
9543         * BufferView.h:
9544         * BufferView.C: cosmetic change
9545
9546         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9547
9548         * bufferlist.C:
9549         * buffer.h:
9550         * buffer.C:
9551         * lyxcb.h:
9552         * lyxcb.C:
9553         * lyxserver.C:
9554         * lyxvc.C:
9555         * vc-backend.C:
9556         * BufferView2.C: purge all "Lyx" not "LyX" strings
9557
9558         * lyxcursor.h:
9559         * lyxcursor.C: attempt to add some documentation
9560
9561         * lyxfunc.C:
9562         * commandtags.h:
9563         * LyXAction.C:
9564         * ToolbarDefaults.C:
9565         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9566           merge with LFUN_TABULAR_INSERT
9567
9568         * Makefile.am:
9569         * SpellBase.h:
9570         * ispell.h:
9571         * ispell.C:
9572         * pspell.h:
9573         * pspell.C: split up i/pspell implementations into separate
9574           files, many cleanups
9575
9576         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9577
9578         * text2.C: some cleanup
9579
9580         * lyxfunc.C: don't check for isp_command == "none" any more, it
9581           didn't make any sense
9582
9583 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
9584
9585         * counters.[Ch]
9586         * text2.C
9587         * paragraph.[Ch]
9588         * makefile.am: move counters functionality over
9589         from text2.C/paragraph.[Ch] to counters.[Ch], and
9590         make proper C++.
9591 2002-08-02  John Levon  <levon@movementarian.org>
9592
9593         * buffer.C: s/lyxconvert/lyx2lyx/
9594
9595 2002-08-02  Angus Leeming  <leeming@lyx.org>
9596
9597         * lyxlex.C: revert John's change as it breaks reading of the user
9598         preamble.
9599
9600 2002-08-02  Angus Leeming  <leeming@lyx.org>
9601
9602         * importer.C (Import):
9603         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9604         changes due to LyXView::view() now returning a boost::shared_ptr.
9605
9606 2002-08-02  John Levon  <levon@movementarian.org>
9607
9608         * lyxlex.C: small cleanup
9609
9610 2002-08-02  John Levon  <levon@movementarian.org>
9611
9612         * text2.C (status): small cleanup, no logic change
9613
9614 2002-08-01  John Levon  <levon@movementarian.org>
9615
9616         * buffer.h:
9617         * buffer.C (writeFile): don't output alerts, caller
9618           handles this
9619
9620         * bufferlist.C:
9621         * lyx_cb.C: from above
9622
9623         * lyxfunc.C: allow to open non-existent files
9624
9625 2002-07-31  John Levon  <levon@movementarian.org>
9626
9627         * lyxserver.C: don't let incidental errors get
9628           in the way (errno)
9629
9630 2002-07-30  John Levon  <levon@movementarian.org>
9631
9632         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9633
9634 2002-07-30  John Levon  <levon@movementarian.org>
9635
9636         * lyxserver.h:
9637         * lyxserver.C: remove I/O callback too
9638
9639 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9640
9641         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9642         log.
9643
9644 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9645
9646         * many files: strip,frontStrip -> trim,ltrim,rtrim
9647
9648 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
9649
9650         * PrinterParams.h: remove extern containsOnly, and include
9651         support/lstrings.h instead.
9652
9653         * LaTeX.C (scanAuxFile): modify because of strip changes
9654         (deplog): ditto
9655         * buffer.C (makeLaTeXFile): ditto
9656         * bufferparams.C (writeFile): ditt
9657         * lyxfont.C (stateText): ditto
9658         * lyxserver.C (read_ready): ditto
9659         * vc-backend.C (scanMaster): ditto
9660
9661         * BufferView_pimpl.h: ws changes
9662
9663         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9664
9665 2002-07-26  André Pönitz <poenitz@gmx.net>
9666
9667         * kb_sequence.C: remove unnedred usings
9668
9669 2002-07-26  Juergen Vigna  <jug@sad.it>
9670
9671         * lyxfind.C (LyXReplace): we have to check better if the returned
9672         text is not of theLockingInset()->getLockingInset().
9673
9674 2002-07-25  Juergen Vigna  <jug@sad.it>
9675
9676         * lyxfind.C (LyXReplace): don't replace if we don't get the
9677         right LyXText.
9678
9679         * undo_funcs.C (createUndo): remove debugging code.
9680
9681 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
9682
9683         * buffer.C (parseSingleLyXformat2Token): Use default placement
9684         when reading old floats.
9685
9686         * FloatList.C (FloatList): Change the default placement of figure
9687         and tables to "tbp".
9688
9689 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
9690
9691         * MenuBackend.C: using std::max
9692
9693 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9694
9695         * MenuBackend.C (expandToc):
9696         (expandToc2): code moved from xforms menu frontend. It is now
9697         generic and TOCs are transparent to menu frontends.
9698
9699 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9700
9701         * toc.C (getTocList): protect against buf=0
9702
9703         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9704         Menu as first parameter. Now, this calls itself recursively to
9705         expand a whole tree (this will be useful for TOC handling)
9706         (expandFloatInsert): remove 'wide' version of floats
9707
9708         * MenuBackend.h (submenuname): returns the name of the submenu.
9709         (submenu): returns the submenu itself, provided it has been
9710         created by MenuBackend::expand
9711
9712 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9713
9714         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9715         insets which have noFontChange == true. (bug #172)
9716
9717 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9718
9719         * BufferView_pimpl.C: add connection objects and use them...
9720         (Pimpl): here.
9721
9722 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9723
9724         * MenuBackend.C (expandLastfiles):
9725         (expandDocuments):
9726         (expandFormats):
9727         (expandFloatListInsert):
9728         (expandFloatInsert):
9729         (expand): split expand in parts
9730
9731 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9732
9733         * lyx_gui.C: use lyx_gui::exit()
9734
9735 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9736
9737         * LyXAction.C: show the failing pseudo action
9738
9739 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
9740
9741         * buffer.C (readFile): Run the lyxconvert script in order to read
9742         old files.
9743
9744 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9745
9746         * LyXAction.C:
9747         * commandtags.h:
9748         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9749
9750 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9751
9752         * LyXAction.C:
9753         * commandtags.h:
9754         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9755
9756 2002-07-22  Herbert Voss  <voss@lyx.org>
9757
9758         * lengthcommon.C:
9759         * lyxlength.[Ch]: add support for the vertical lengths
9760
9761 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
9762
9763         * toc.[Ch]: std:: fixes
9764
9765 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9766
9767         * lyxrc.C: do not include lyx_main.h
9768
9769         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9770         for layouts
9771
9772         * lyxrc.C:
9773         * encoding.C:
9774         * bufferlist.C:
9775         * BufferView2.C: include "lyxlex.h"
9776
9777         * tabular.h:
9778         * bufferparams.h: do not #include "lyxlex.h"
9779
9780         * lyxtextclasslist.C (Add): remove method
9781         (classlist): renamed to classlist_
9782
9783         * paragraph_pimpl.C:
9784         * paragraph.C:
9785         * text2.C:
9786         * CutAndPaste.C:
9787         * bufferview_funcs.C:
9788         * bufferlist.C:
9789         * text.C:
9790         * LaTeXFeatures.C:
9791         * buffer.C:
9792         * toc.C (getTocList): use BufferParams::getLyXTextClass
9793
9794         * toc.C (getTocList): use InsetFloat::addToToc
9795
9796         * toc.[Ch]: new files, containing helper functions to handle table
9797         of contents
9798
9799         * lyxfunc.C (dispatch): no need to remove spaces around command
9800         given as a string
9801         (getStatus): handle LFUN_SEQUENCE by returning the status of the
9802         first command of the sequence; it is not very clever, but I do not
9803         have a better idea, actually
9804
9805         * LyXAction.C (LookupFunc): make sure to remove space at the
9806         beginning and end of the command
9807
9808 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9809
9810         * MenuBackend.C (getMenubar): new method: return the menubar of
9811         this menu set
9812         (read): treat differently reading of menu and menubar (in
9813         particular, the menubar has no name now)
9814         (Menu::menubar): remove
9815
9816         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9817         saving is finished
9818
9819 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9820
9821         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9822         a bibitem inset in a RTL paragraph.
9823
9824 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
9825
9826         * paragraph_pimpl.C: constify
9827
9828         * BufferView_pimpl.C:
9829         * LaTeX.C:
9830         * lyxfunc.C: fix dispatch in a nicer way
9831
9832 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9833
9834         * lyxfunc.C (dispatch):
9835         * BufferView_pimpl.C:
9836         * BufferView_pimpl.h:
9837         * BufferView.C:
9838         * BufferView.h: rename Dispatch() to dispatch()
9839
9840         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9841
9842         * lyxlayout.C (Read): honor DependsOn tag
9843
9844         * lyxlayout.[Ch] (depends_on): new method
9845
9846         * version.C.in: update lyx_docversion
9847
9848         * LaTeXFeatures.C (getMacros): only define \LyX when needed
9849
9850         * paragraph.C (validate): remove from here...
9851         * paragraph_pimpl.C (validate): ... and move here
9852         (isTextAt): make it const
9853
9854         * buffer.C (getLists): ws cleanup
9855
9856 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9857
9858         * language.C (read): Use iso8859-1 encoding in latex_lang
9859         (this prevents LyX from crashing when using iso10646-1 encoding).
9860
9861 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9862
9863         * text2.C (toggleInset): if cursor is inside an inset, close the
9864         inset and leave cursor _after_ it
9865
9866 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9867
9868         * lyxfunc.C: move minibuffer completion handling out of here
9869
9870 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9871
9872         * BufferView_pimpl.C:
9873         * LaTeX.C: fix dispatch calls
9874
9875 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
9876
9877         * text.C (drawChars): Fix Arabic text rendering.
9878
9879 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
9880
9881         * LyXAction.C:
9882         * commandtags.h:
9883         * lyxfunc.C: remove message-push/pop
9884
9885         * lyxserver.C:
9886         * lyxfunc.h:
9887         * lyxfunc.C: rationalise some code by removing verboseDispatch
9888           in favour of a bool argument to dispatch()
9889
9890 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9891
9892         * lyx_main.C (init): make sure to read symlinks as absolute paths
9893
9894 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9895
9896         * lyxfunc.h:
9897         * lyxfunc.C: no need for commandshortcut to be a member
9898
9899 2002-07-15  André Pönitz <poenitz@gmx.net>
9900
9901         * converter.C: add support for $$s (scripts from lib/scripts dir)
9902         * lyx_main.C: white space
9903
9904 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9905
9906         * bufferlist.C:
9907         * lyxrc.h:
9908         * lyxrc.C: remove second exit confirmation
9909
9910 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9911
9912         * BufferView.h:
9913         * BufferView.C:
9914         * BufferView2.C:
9915         * BufferView_pimpl.h:
9916         * BufferView_pimpl.C:
9917         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9918
9919 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9920
9921         * MenuBackend.C (expand): add numeric shortcuts to document menu
9922
9923         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9924
9925 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9926
9927         * lyxfont.C (setLyXFamily):
9928         (setLyXSeries):
9929         (setLyXShape):
9930         (setLyXSize):
9931         (setLyXMisc):
9932         (lyxRead):
9933         * debug.C (value):
9934         * buffer.C (asciiParagraph): use ascii_lowercase
9935
9936 2002-07-15  Mike Fabian  <mfabian@suse.de>
9937
9938         * lyxlex_pimpl.C (search_kw):
9939         * lyxlex.C (getLongString):
9940         * converter.h (operator<):
9941         * converter.C (operator<):
9942         * buffer.C (parseSingleLyXformat2Token):
9943         (asciiParagraph):
9944         * ToolbarDefaults.C (read):
9945         * MenuBackend.C (checkShortcuts):
9946         (read):
9947         * LColor.C (getFromGUIName):
9948         (getFromLyXName): use the compare_ascii_no_case instead of
9949         compare_no_case, because in turkish, 'i' is not the lowercase
9950         version of 'I', and thus turkish locale breaks parsing of tags.
9951
9952 2002-07-16  Angus Leeming  <leeming@lyx.org>
9953
9954         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9955         now takes a Buffer const & argument.
9956
9957 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
9958
9959         * BufferView.C (resize): check there's a buffer to resize
9960
9961 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
9962
9963         * lyxfunc.C: remove dead code
9964
9965         * lyxserver.h:
9966         * lyxserver.C: use lyx_guii::set_read_callback
9967
9968 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
9969
9970         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9971         an inset in a RTL paragraph.
9972
9973 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9974
9975         * lyxfunc.C: repaint after a font size update
9976
9977 2002-07-15  André Pönitz <poenitz@gmx.net>
9978
9979         * lyxlength.C: inBP should be able to return negative values
9980
9981 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9982
9983         * lyxfunc.C: use lyx_gui::update_fonts()
9984
9985 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9986
9987         * lyxfunc.C: use lyx_gui::update_color()
9988
9989 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9990
9991         * bufferlist.C:
9992         * lyxfunc.h:
9993         * lyxfunc.C:
9994         * lyxrc.h:
9995         * lyxrc.C: remove file->new asks for name option, and let
9996           buffer-new take an argument
9997
9998 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9999
10000         * BufferView_pimpl.C: remove unneeded extra repaint()
10001
10002 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
10003
10004         * LyXAction.C: allow command-sequence with NoBuffer
10005
10006         * lyxfunc.C: don't insist on trailing ';' for command-sequence
10007
10008 2002-07-10  Angus Leeming  <leeming@lyx.org>
10009
10010         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10011
10012 2002-07-09  Angus Leeming  <leeming@lyx.org>
10013
10014         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10015
10016 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10017
10018         * lengthcommon.h: whitespace
10019
10020         * lyxfunc.C: update scrollbar after goto paragraph
10021
10022         * lyxtext.h: factor out page break drawing, and fix it so
10023           page break/added space paints as selected nicely
10024
10025 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10026
10027         * BufferView_pimpl.C: add FIXMEs, clean up a little
10028
10029 2002-07-09  André Pönitz <poenitz@gmx.net>
10030
10031         * lyxfont.[Ch]: support for wasy symbols
10032
10033 2002-07-08  André Pönitz <poenitz@gmx.net>
10034
10035         * BufferView_pimpl.C: apply John's patch for #93.
10036
10037 2002-07-05  Angus Leeming  <leeming@lyx.org>
10038
10039         * BufferView_pimpl.C (buffer): generate previews if desired.
10040
10041         * LColor.h: add "preview" to the color enum.
10042
10043         * LColor.C (LColor): add a corresponding entry to the items array.
10044
10045         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10046         with this buffer.
10047
10048 2002-07-05  Angus Leeming  <leeming@lyx.org>
10049
10050         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10051         The body of the code is now in the method that is passed an ostream &
10052         rather than a file name.
10053         Pass an additional only_preamble parameter, useful for the forthcoming
10054         preview stuff.
10055
10056 2002-07-03  André Pönitz <poenitz@gmx.net>
10057
10058         * lyxfunc.C: simplify getStatus() a bit for math stuff
10059
10060 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10061
10062         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10063
10064 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10065
10066         * text.C (changeRegionCase): do not change case of all the
10067         document when region ends at paragraph end (bug #461)
10068
10069 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10070
10071         * paragraph.C (startTeXParParams):
10072         (endTeXParParams): add \protect when necessary
10073
10074 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10075
10076         * BufferView_pimpl.C (workAreaExpose): remove warning
10077
10078 2002-06-27  Angus Leeming  <leeming@lyx.org>
10079
10080         * Makefile.am: add lyxlayout_ptr_fwd.h.
10081
10082 2002-06-26  André Pönitz <poenitz@gmx.net>
10083
10084         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10085
10086 2002-06-25  Angus Leeming  <leeming@lyx.org>
10087
10088         * lyxfunc.C (dispatch): Comment out the call to
10089         grfx::GCache::changeDisplay. The method no longer exists now that the
10090         pixmap generation part of the graphics loader has been moved into
10091         InsetGraphics.
10092
10093 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10094
10095         * text2.C: layout as layout
10096
10097         * text.C: layout as layout
10098
10099         * tabular.C (OldFormatRead): layout as layout
10100
10101         * paragraph_pimpl.C (TeXDeeper): layout as layout
10102         (realizeFont): layout as layout
10103
10104         * paragraph.C (writeFile): layout as layout
10105         (validate): layout as layout
10106         (getFont): layout as layout
10107         (getLabelFont): layout as layout
10108         (getLayoutFont): layout as layout
10109         (breakParagraph): layout as layout
10110         (stripLeadingSpaces): layout as layout
10111         (getEndLabel): layout as layout
10112         (getMaxDepthAfter): layout as layout
10113         (applyLayout): layout as layout
10114         (TeXOnePar): layout as layout
10115         (simpleTeXOnePar): layout as layout
10116         (TeXEnvironment): layout as layout
10117         (layout): layout as layout
10118         (layout): layout as layout
10119
10120         * lyxtextclass.C (compare_name): new functor to work with
10121         shared_ptr, layout as layout
10122         (Read): layout as layout
10123         (hasLayout): layout as layout
10124         (operator): layout as layout
10125         (delete_layout): layout as layout
10126         (defaultLayout): layout as layout
10127
10128         * lyxlayout_ptr_fwd.h: new file
10129
10130         * lyxlayout.C (Read): layout as layout
10131
10132         * lyx_cb.C (MenuInsertLabel): layout as layout
10133
10134         * bufferlist.C (newFile): layout as layout
10135
10136         * buffer.C (readLyXformat2): layout as layout
10137         (parseSingleLyXformat2Token): layout as layout
10138         (insertStringAsLines): layout as layout
10139         (asciiParagraph): layout as layout
10140         (latexParagraphs): layout as layout
10141         (makeLinuxDocFile): layout as layout
10142         (simpleLinuxDocOnePar): layout as layout
10143         (makeDocBookFile): layout as layout
10144         (simpleDocBookOnePar): layout as layout
10145         (getLists): layout as layout
10146
10147         * LaTeXFeatures.C (getTClassPreamble): layout as layout
10148
10149         * CutAndPaste.C (cutSelection): layout as layout
10150         (pasteSelection): layout as layout
10151         (SwitchLayoutsBetweenClasses): layout as layout
10152
10153         * BufferView_pimpl.C (Dispatch): layout as layout
10154         (smartQuote): layout as layout
10155
10156         * BufferView2.C (unlockInset): layout as layout
10157
10158 2002-06-24  André Pönitz <poenitz@gmx.net>
10159
10160         * lyxfunc.C: fix #487
10161
10162 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10163
10164         * lyxrc.h:
10165         * lyxrc.C:
10166         * lyxfunc.C: remove display_shortcuts, show_banner
10167
10168 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10169
10170         * Buffer_pimpl.C: oops, update on resize
10171
10172 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10173
10174         * buffer.C:
10175         * converter.C:
10176         * exporter.C:
10177         * lyxfunc.C:
10178         * BufferView.h:
10179         * BufferView.C: use repaint()
10180
10181         * BufferView_pimpl.h:
10182         * BufferView_pimpl.C: s/updateScreen()/repaint()/
10183           as it's a clearer description. Remove superfluous
10184           redraws.
10185
10186 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10187
10188         * text.C: fix bug 488. Not ideal, but getting
10189           getWord() to work properly for the insets that
10190           matter is more difficult ...
10191
10192 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10193
10194         * BufferView_pimpl.C:
10195         * LyXAction.C:
10196         * commandtags.h:
10197         * lyxfunc.C: remove the six million index lyxfuncs to just
10198           one, and DTRT (bug 458)
10199
10200 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10201
10202         * BufferView.h:
10203         * BufferView.C:
10204         * BufferView_pimpl.h:
10205         * BufferView_pimpl.C: clean up resize() stuff,
10206           and unnecessary updateScreen()s
10207
10208 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10209
10210         * BufferView.h:
10211         * BufferView.C:
10212         * BufferView_pimpl.h:
10213         * BufferView_pimpl.C:
10214         * lyxfind.h:
10215         * lyxfind.C:
10216         * minibuffer.C: remove focus management of workarea,
10217           not needed. Use screen's greyOut()
10218
10219 2002-06-17  Herbert Voss  <voss@lyx.org>
10220
10221         * converter.C: (convert) do not post a message, when converting
10222         fails, let the calling function decide what to do in this case
10223
10224 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
10225
10226         * lyxfunc.C: tidy up a little
10227
10228 2002-06-16    <alstrup@diku.dk>
10229
10230         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10231         Got rid of FORMS_H_LOCATION include. Now we are
10232         GUII.
10233
10234 2002-06-15  LyX Development team  <lyx@rilke>
10235
10236         * buffer.[Ch] (sgmlOpenTag):
10237         (sgmlCloseTag): Added support for avoiding pernicious mixed
10238         content. Return number of lines written.
10239
10240         (makeLinuxDocFile):
10241         (makeDocBookFile): Fixed calls to sgml*Tag.
10242         Simple white space clean.
10243
10244         (simpleDocBookOnePar): Simple white space clean.
10245
10246         * tabular.[Ch] (docBook): Renamed to docbook and got another
10247         argument to related with the pernicious mixed content.
10248
10249         (docbookRow): Fixed calls for docbook inset method.
10250
10251 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
10252
10253         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10254         so it's X11 independent.
10255
10256         * kb*.[Ch]: ditto.
10257
10258         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10259
10260 2002-06-15  Lyx Development team  <lyx@electronia>
10261
10262         * intl.h: Renamed getTrans to getTransManager.
10263
10264 2002-06-14  Angus Leeming  <leeming@lyx.org>
10265
10266         * Makefile.am: nuke forgotten stl_string_fwd.h.
10267
10268 2002-06-12  Angus Leeming  <leeming@lyx.org>
10269
10270         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10271
10272 2002-06-13  Angus Leeming  <leeming@lyx.org>
10273
10274         * LaTeX.C:
10275         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10276
10277 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
10278
10279         * kbmap.C (getiso): add support for cyrillic and greek
10280
10281 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10282
10283         * BufferView.h:
10284         * BufferView.C:
10285         * BufferView_pimpl.h:
10286         * BufferView_pimpl.C: move bogus scrolling logic
10287           to xforms
10288
10289 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10290
10291         * lyxfunc.C:
10292         * BufferView_pimpl.C: view->resize() change
10293
10294 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10295
10296         * BufferView_pimpl.C: topCursorVisible
10297           prototype change
10298
10299 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10300
10301         * Makefile.am:
10302         * lyx_gui.h:
10303         * lyx_gui.C: move to frontends/
10304
10305         * main.C:
10306         * lyx_main.h:
10307         * lyx_main.C: changes from above
10308
10309 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10310
10311         * intl.C:
10312         * intl.h:
10313         * kbmap.C:
10314         * kbsequence.C:
10315         * lyx_cb.C:
10316         * lyx_main.C: minor tidy
10317
10318 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10319
10320         * BufferView_pimpl.h:
10321         * BufferView_pimpl.C:
10322         * BufferView.h:
10323         * BufferView.C: make painter() const,
10324           remove dead code
10325
10326         * BufferView2.C: use screen() accessor
10327
10328         * lyx_main.h:
10329         * lyx_main.C: some minor cleanup
10330
10331 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10332
10333         * BufferView_pimpl.h:
10334         * BufferView_pimpl.C: remove enter/leaveView,
10335           use workHeight()
10336
10337 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10338
10339         * BufferView.h:
10340         * BufferView.C:
10341         * BufferView2.C:
10342         * BufferView_pimpl.h:
10343         * BufferView_pimpl.C: only construct screen once,
10344           rename
10345
10346         * lyxrc.C: remove pointless comment
10347
10348 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10349
10350         * BufferView.h:
10351         * BufferView.C: remove active() and belowMouse()
10352
10353         * BufferView_pimpl.h:
10354         * BufferView_pimpl.C: use workarea() not workarea_,
10355           and make it use a scoped_ptr instead
10356
10357 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10358
10359         * lyx_gui.C: add debug message on BadWindow
10360
10361 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10362
10363         * sp_spell.C: fdopen is not part of the C++ standard.
10364
10365         * paragraph.C (InsetIterator): use >= instead of ==
10366
10367 2002-06-07  Angus Leeming  <leeming@lyx.org>
10368
10369         Fixes needed to compile with Compaq cxx 6.5.
10370         * BufferView_pimpl.C:
10371         * DepTable.C:
10372         * buffer.C:
10373         * converter.C:
10374         * encoding.C:
10375         * lyx_gui.C:
10376         * lyx_main.C:
10377         * lyxtextclasslist.C:
10378         * minibuffer.C:
10379         * sp_spell.C:
10380         * tabular_funcs.C:
10381         * vc-backend.C:
10382         all c-library variables have been moved into namespace std. Wrap
10383         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10384
10385         * lyxlength.C:
10386         * tabular-old.C:
10387         * tabular.C:
10388         Add a using std::abs declaration.
10389
10390         * kbmap.h (modifier_pair):
10391         * paragraph.h (InsetTable, InsetList):
10392         * lyxfont.h (FontBits):
10393         type definition made public.
10394
10395         * bufferlist.C (emergencyWriteAll): the compiler complains that
10396         there is more than one possible lyx::class_fun template to choose from.
10397         I re-named the void specialisation as lyx::void_class_fun.
10398
10399         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10400
10401         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10402         the compiler is is unable to find tostr in write_attribute.
10403
10404 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10405
10406         * buffer.C (sgmlError): hide #warning
10407
10408 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10409
10410         * xtl/*: get rid of xtl, which is not in use anyway
10411
10412         * LyXAction.C (init):
10413         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10414         were unimplemented xtl experimentation
10415
10416 2002-06-04  André Pönitz <poenitz@gmx.net>
10417
10418         * lyxfunc.C: disable array operation on simple formulae
10419
10420 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
10421
10422         * converter.C: constify a bit
10423
10424 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
10425
10426         * lyx_gui.C: check xforms version correctly
10427
10428 2002-04-30  Herbert Voss  <voss@lyx.org>
10429
10430         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10431         "keep" option
10432
10433 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
10434
10435         * lyxvc.C: fix bug 416 (make sure buffer is saved before
10436           attempt to register it with a VCS)
10437
10438 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10439
10440         * lyx_main.C (init): honor variables LYX_DIR_13x and
10441         LYX_USERDIR_13x
10442
10443 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10444
10445         * buffer.h:
10446         * buffer.C:
10447         * lyx_main.C: fix a crash on bad command line,
10448           and give a useful exit status on error
10449
10450         * lyxfunc.C (doImport): allow -i lyx to work
10451
10452 2002-03-30  André Pönitz <poenitz@gmx.net>
10453
10454         * lyxfunc.C: mathed font changes
10455
10456 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10457
10458         * LaTeX.C:
10459         * importer.h:
10460         * importer.C:
10461         * lyx_sty.h:
10462         * lyx_sty.C:
10463         * lyxlex.C:
10464         * lyxrow.h:
10465         * lyxtext.h:
10466         * paragraph.h:
10467         * paragraph.C:
10468         * texrow.h:
10469         * texrow.C:
10470         * text.C:
10471         * trans_mgr.h: srcdocs, and some minor cleanups
10472
10473 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10474
10475         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10476         call getFont all the time)
10477
10478 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10479
10480         * switch from SigC signals to boost::signals
10481
10482 2002-05-29  André Pönitz <poenitz@gmx.net>
10483
10484         * paragraph_pimpl.C (getChar): don't call size() too often...
10485
10486 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10487
10488         * paragraph_pimpl.C (insertChar): do not try to update tables when
10489         appending (pos == size())
10490
10491         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10492         in order to reduce drastically the number of comparisons needed to
10493         parse a large document
10494
10495 2002-05-29  André Pönitz <poenitz@gmx.net>
10496
10497         * text.C:
10498         * text2.C:
10499         * lyxtextclass.C:
10500         * sp_pspell.h:
10501         * textclasslist.[Ch]:
10502         * sp_ispell.h: whitespace change
10503
10504 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10505
10506         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10507         lyxaction directly now.
10508
10509 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
10510
10511         * trans.C:
10512         * lyxfont.C:
10513         * lyxvc.C: remove unused headers
10514
10515 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10516
10517         * Makefile.am:
10518         * buffer.h:
10519         * undostack.h:
10520         * undostack.C:
10521         * undo_funcs.h:
10522         * undo_funcs.C: some cleanups. Use shared_ptr
10523           and a template for the undo stacks.
10524
10525 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10526
10527         * BufferView_pimpl.h:
10528         * BufferView_pimpl.C:
10529         * kbmap.h:
10530         * kbmap.C:
10531         * kbsequence.h:
10532         * kbsequence.C:
10533         * lyxfunc.h:
10534         * lyxfunc.C:
10535         * text2.C: use key_state/mouse_state
10536
10537 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10538
10539         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10540         and LSubstring
10541
10542         * chset.C: change include order
10543         (loadFile): use boost regex and get rid of LRegex and LSubstring
10544
10545         * Makefile.am (BOOST_LIBS): new variable
10546         (lyx_LDADD): use it
10547
10548         * LaTeX.C: change include order.
10549         (scanAuxFile): use boost regex and get rid of LRegex and
10550         LSubstring
10551         (deplog): ditto
10552
10553 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10554
10555         * ColorHandler.h:
10556         * ColorHandler.C:
10557         * FontInfo.h:
10558         * FontInfo.C: moved to frontends/xforms/
10559
10560         * FontLoader.h:
10561         * FontLoader.C: moved into frontends for GUIIzation
10562
10563         * Makefile.am:
10564         * lyx_gui.C:
10565         * lyxfont.C:
10566         * lyxfunc.C: changes from above
10567
10568 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10569
10570         * LColor.C: remove spurious X include
10571
10572         * BufferView_pimpl.C:
10573         * Makefile.am:
10574         * font.h:
10575         * font.C:
10576         * text.C:
10577         * text2.C: move font metrics to frontends/
10578
10579 2002-05-24  Juergen Vigna  <jug@sad.it>
10580
10581         * undo_funcs.C (textHandleUndo): fix the cursor selection after
10582         setting the undo_cursor.
10583
10584         * ParagraphParameters.h: include local includes first.
10585
10586 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10587
10588         * BufferView_pimpl.C:
10589         * BufferView_pimpl.h:
10590         * Makefile.am:
10591         * WorkArea.h:
10592         * WorkArea.C:
10593         * screen.C: move WorkArea into frontends/
10594
10595         * lyxscreen.h:
10596         * screen.C:
10597         * text.C:
10598         * BufferView.C:
10599         * BufferView2.C: move LyXScreen into frontends/
10600
10601         * lyxlookup.h:
10602         * lyxlookup.C:
10603         * lyx_gui.C: move lyxlookup into frontends/xforms/
10604
10605 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10606
10607         * BufferView2.C:
10608         * BufferView_pimpl.C:
10609         * FontLoader.C:
10610         * LyXView.h:
10611         * LyXView.C:
10612         * Makefile.am:
10613         * WorkArea.C:
10614         * XFormsView.h:
10615         * XFormsView.C:
10616         * buffer.C:
10617         * bufferlist.C:
10618         * bufferview_funcs.C:
10619         * converter.C:
10620         * importer.C:
10621         * lyx_cb.C:
10622         * lyx_gui.C:
10623         * lyx_main.C:
10624         * lyx_find.C:
10625         * lyxfunc.C:
10626         * lyxvc.C:
10627         * minibuffer.C:
10628         * text.C:
10629         * text2.C:
10630         * trans.C:
10631         * vc-backend.C: move LyX/XFormsView into frontends/
10632
10633 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10634
10635         * Makefile.am:
10636         * PainterBase.C:
10637         * PainterBase.h:
10638         * Painter.C:
10639         * Painter.h:
10640         * WorkArea.C:
10641         * WorkArea.h:
10642         * screen.C:
10643         * tabular.C:
10644         * text.C:
10645         * text2.C: move Painter to frontends/
10646
10647 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10648
10649         * buffer.C: comment out some some code that depend upon lyx_format
10650         < 220
10651
10652         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10653         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10654
10655         * buffer.h (NO_COMPABILITY): turn off compability
10656
10657         * ColorHandler.C: include scoped_array.hpp
10658
10659         * font.C: Use more specific smart_ptr header.
10660         * Painter.C: ditto
10661         * gettext.C: ditto
10662         * ShareContainer.h: ditto
10663         * lyx_main.h: ditto
10664         * kbmap.h: ditto
10665         * FontInfo.h: ditto
10666         * BufferView_pimpl.h: ditto
10667         * ColorHandler.h: ditto
10668
10669         * kbmap.C (defkey): change call to shared_ptr::reset
10670
10671 2002-05-21  Juergen Vigna  <jug@sad.it>
10672
10673         * buffer.C (insertErtContents): fix to insert ert asis if it is
10674         non empty. Skip it completely if it contains only whitespaces.
10675
10676 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
10677
10678         * BufferView_pimpl.C:
10679         * BufferView2.C: clear selection on paste (bug 393)
10680
10681 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10682
10683         * DepTable.C: include ctime
10684
10685 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
10686
10687         * buffer.C (latexParagraphs): Add new argument (moving_arg).
10688
10689 2002-05-14  Juergen Vigna  <jug@sad.it>
10690
10691         * text.C (breakParagraph): fixed function to honor the keepempty
10692         layout in the right maner and also to permit the right breaking
10693         algorithm on empty or non empyt keepempty paragraphs.
10694
10695         * paragraph.C (breakParagraph): we have to check also if the par
10696         is really empty (!size()) for isempty otherwise we do the wrong
10697         paragraph break.
10698
10699 2002-05-10  Juergen Vigna  <jug@sad.it>
10700
10701         * buffer.[Ch] : The following are only changes to the ert
10702         compatibility read reading old LaTeX layout and font stuff and
10703         convert it to ERTInsets.
10704
10705         * buffer.h: added isErtInset().
10706
10707         * buffer.C (struct ErtComp): add a fromlayout bool to check
10708         if we're inside a LaTeX layout.
10709         (isErtInset): new helper function.
10710         (insertErtContents): look for other ert insets before this one
10711         and insert the contents there, so that we don't have subsequent
10712         ERT insets with nothing between them. This way we create only one
10713         inset with multiple paragraphs. Also check if we don't insert only
10714         spaces ' ' as they are ignored anyway afterwards in the .tex file
10715         so if we have only spaces we will ignore this latex part in the
10716         new file.
10717         (parseSingleLyXformat2Token \\layout): better compatibility when
10718         reading layout-latex stuff.
10719         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10720         language tag.
10721         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10722         stuff after reading the inset only get the information back from
10723         the stack.
10724
10725 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
10726
10727         * buffer.C (makeLaTeXFile): Put language options after loading babel.
10728
10729         * LaTeXFeatures.C (getBabelOptions): New method.
10730
10731 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10732
10733         * BufferView_pimpl.C (Dispatch): work around missing argument for
10734         'layout'
10735
10736 2002-05-08  Juergen Vigna  <jug@sad.it>
10737
10738         * text.C (leftMargin): handle paragraph leftindent.
10739
10740         * paragraph.C (writeFile): write the new \\leftindent tag.
10741         (validate): handle leftindent code.
10742         (TeXEnvironment): handle paragraphleftindent code again.
10743
10744         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10745
10746         * buffer.C (parseSingleLyXformat2Token): added compatibility code
10747         for paragrap_extra indent code and new token \\leftindent.
10748         (latexParagraphs): handle the leftindent as environment.
10749
10750         * ParameterStruct.h: added leftindent support.
10751
10752         * ParagraphParameters.C (leftIndent): added support functions for
10753         the paragraph left indent.
10754
10755         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10756         more appropriate.
10757
10758 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
10759
10760         * paragraph.C (isRightToLeftPar): Return false for a paragraph
10761         inside insetERT.
10762
10763         * text.C (computeBidiTables): No bidi in insetERT.
10764
10765         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10766         in RTL documents.
10767
10768 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10769
10770         * version.C.in: pre 5
10771
10772 2002-05-02  José Matos  <jamatos@fep.up.pt>
10773         * buffer.C (makeDocBookFile): white space changes, add newline to
10774         command styles.
10775         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10776
10777         * tabular.C (docBook): fix typo.
10778
10779 2002-05-03  Juergen Vigna  <jug@sad.it>
10780
10781         * screen.C (drawFromTo): recalculate the rowpointer if we had a
10782         change in LyXText as we can not be sure it was not freed.
10783         (drawOneRow): remove unused code.
10784
10785         * text.C (drawInset): redo the calculation of the need_break_row as
10786         it could have a row which was already freed.
10787         (draw): look at the return value of drawInset and return false if
10788         it also returned false.
10789         (paintRowText): look at the return value of draw and return false if
10790         it also returned false.
10791
10792         * lyxtext.h: added bool return type to drawInset() and draw() so that
10793         if we have a change in the row so that the rowbreak has to be redone
10794         we abort drawing as it will be called again.
10795
10796 2002-05-02  Juergen Vigna  <jug@sad.it>
10797
10798         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10799         a change in the maintext also if we're inside an inset.
10800         (Dispatch): set the cursor again after a break line and after the
10801         screen has been updated as it could be we're in a different row.
10802
10803         * text2.C (fixCursorAfterDelete): check to make sure we don't request
10804         to set the cursor behind the pargraph with > size().
10805         (setCursor): check also for the same paragraph when checking where
10806         to put the cursor if we have a NFR inset.
10807
10808         * buffer.C (parseSingleLyXformat2Token): move the compatibility
10809         parts of layout read further up as it still was in the wrong
10810         position.
10811
10812 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10813
10814         * screen.C (drawFromTo): change sine fullRebreak always return
10815         true.
10816
10817         * buffer.C (parseSingleLyXformat2Token): reindent some
10818
10819         * BufferView_pimpl.C (update): change since fullRebreak always
10820         return true.
10821         (Dispatch): git rid of the last hardcoded "Standard"s.
10822
10823 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10824
10825         * text2.[Ch] (fullRebreak): make it return void now that we always
10826         returned true.
10827
10828 2002-04-30  Juergen Vigna  <jug@sad.it>
10829
10830         * buffer.C (parseSingleLyXformat2Token): reset the font before the
10831         ert compatibility check for "latex" layout.
10832
10833 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
10834
10835         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10836         minipages: use col% instead of p%, and also use the current font.
10837         (makeLaTeXFile): Fix use babel condition.
10838         (parseSingleLyXformat2Token): Correct font when reading old floats.
10839
10840 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
10841
10842         * BufferView_pimpl.C (Dispatch): Check that float type exists when
10843         inserting list of floats.
10844
10845 2002-04-25  Herbert Voss  <voss@lyx.org>
10846
10847         * MenuBackend.C (expand): don't add the graphics extensions to the
10848         export menu
10849
10850 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10851
10852         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10853         non-existing layout, do not complain if it was the default layout
10854         of the original class (bug #342)
10855
10856 2002-04-24  Juergen Vigna  <jug@sad.it>
10857
10858         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10859         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10860
10861 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
10862
10863         * buffer.C (getBibkeyList): If using \bibliography, return the
10864         option field with the reference itself. Enables us to provide natbib
10865         support when using \bibliography.
10866
10867 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
10868
10869         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10870
10871         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10872         natbib is provided by the LaTeX class.
10873
10874 2002-04-23  Juergen Vigna  <jug@sad.it>
10875
10876         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10877         Wakeup functions.
10878
10879         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10880
10881 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10882
10883         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10884
10885         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10886         ensuremath around textordmasculine, textordfeminine and
10887         textdegree.
10888
10889 2002-04-19  Juergen Vigna  <jug@sad.it>
10890
10891         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10892         reinitializing the buffer otherwise row-dimensions may be wrong.
10893         (update): reset also the selection cursors if they do exits otherwise
10894         their x/y positions may be wrong.
10895
10896         * text2.C (cursorDown): don't enter the inset if we came from a row
10897         above and are one row over the inset.
10898
10899         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10900         really leaving an inset.
10901
10902 2002-04-18  Juergen Vigna  <jug@sad.it>
10903
10904         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10905         of the selected paragraph does not have the selected layout also if
10906         the last one had!
10907
10908         * text2.C (setLayout): fixed bug which did not change last selected
10909         paragraph.
10910
10911         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10912         changed the read and substituted \\end_float with \\end_inset!
10913
10914         * BufferView_pimpl.C (cursorPrevious):
10915         (cursorNext): fixed to make it work with rows heigher than the work
10916         area without moving the cursor only the draw of the row.
10917         (workAreaMotionNotify): fix jumping over high rows.
10918
10919 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10920
10921         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10922         Ressler.
10923
10924 2002-04-16  Juergen Vigna  <jug@sad.it>
10925
10926         * text2.C (setCursor): set also the irow().
10927         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10928         (cursorUp):
10929         (cursorDown): support for locking an inset if the x_fix value goes
10930         inside it. That way I can transverse insets too with cursor up/down.
10931
10932         * lyxrow.h: added irow helper function same as other (i) functions.
10933
10934         * BufferView_pimpl.C (cursorPrevious):
10935         (cursorNext): fixed for insets!
10936
10937 2002-04-15  Juergen Vigna  <jug@sad.it>
10938
10939         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10940         position otherwise it is wrong in some cases.
10941
10942         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10943         inside the inset before the call.
10944
10945 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
10946
10947         * buffer.[Ch] (getBibkeyList): make it const.
10948
10949 2002-04-12  Juergen Vigna  <jug@sad.it>
10950
10951         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10952
10953         * text2.C (getCursorX): new helper function
10954         (setCursor): compute also ix_
10955         (setCursorFromCoordinates): set also ix.
10956
10957         * lyxcursor.h: added ix_ and helper functions.
10958
10959         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10960
10961         * buffer.C (insertStringAsLines): dont break paragraph if the this
10962         paragraph is inside an inset which does not permit it!
10963
10964         * text.C (breakParagraph): honor keepempty flag and break the paragraph
10965         also with no chars on this paragraph.
10966         (paintRowText): only paint stuff if it's inside the workarea!
10967
10968         * paragraph.C (breakParagraph): honor keepempty flag and break the
10969         paragraph always below not above.
10970
10971         * BufferView2.C (unlockInset): update the paragraph layout on inset
10972         unlock as we changed paragraph in such a case.
10973
10974         * lyxfind.C (LyXFind): clear the former selection if not found!
10975
10976         * text2.C (insertInset): freeze Undo after setUndo so that it is not
10977         again called in insertChar().
10978
10979         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10980         an inset which uses the whole row!
10981         (rightMargin): ditto.
10982         (insertChar): force a rebreak if we inserted an inset!
10983
10984 2002-03-28  Herbert Voss  <voss@lyx.org>
10985
10986         * lyxlength.[Ch]: add inBP() to get the right PS-point
10987         units (BigPoint). With inPixels we have rounding errors
10988
10989 2002-04-11  Juergen Vigna  <jug@sad.it>
10990
10991         * text2.C (setCursorFromCoordinates): set iy to the right value.
10992         (setCursor): add check if row->previous exists!
10993
10994         * buffer.C (parseSingleLyXformat2Token): reset font after read of
10995         an old float_type as this was the case in the old code!
10996
10997         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10998
10999         * BufferView2.C (showLockedInsetCursor): use iy
11000         (fitLockedInsetCursor): ditto
11001
11002         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11003         locked insets as there we have the right value now.
11004
11005         * lyxcursor.C: added iy_ variable and iy functions to set to the
11006         baseline of cursor-y of the locked inset.
11007
11008         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11009         (setCursor): fixed for insets which need a full row.
11010
11011         * text.C (rowLastPrintable): don't ignore the last space when before
11012         an inset which needs a full row.
11013         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11014         as last character of a row when before a inset which needs a full row.
11015
11016 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11017
11018         * version.C.in: update date
11019
11020         * text2.C (fullRebreak): try to always return true and see what
11021         happens...
11022
11023 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11024
11025         * MenuBackend.C (expand): use Floating::listName
11026
11027         * FloatList.C (FloatList): add listName argument to the built-in
11028         floats
11029
11030         * Floating.[Ch]: add listName member, which is the 'List of XXX'
11031         text associated with the float.
11032
11033 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11034
11035         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11036
11037 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11038
11039         * ShareContainer.h: add a couple of missing typenames.
11040
11041 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
11042
11043         * lyxrc.C (getDescription): use _() correctly rather than N_().
11044
11045 2002-03-28  Herbert Voss  <voss@lyx.org>
11046
11047         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11048         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11049
11050 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11051
11052         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11053         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11054
11055 2002-03-29  Juergen Vigna  <jug@sad.it>
11056
11057         * lyxfunc.C (dispatch): add a missing fitCursor call.
11058
11059         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11060         it was scrolled by a cursor move, so return the bool status.
11061
11062         * BufferView.C (fitCursor): return the bool flag also to the outside
11063         world as this is needed.
11064
11065         * screen.C (toggleToggle): don't subtract the offset if it's positive.
11066
11067         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11068         call the edit() as it is not needed (and wrong) IMO.
11069         (workAreaButtonPress): set the screen_first variable before evt.
11070         unlock the inset as this may change screen_first and then we have
11071         a wrong y position for the click!
11072
11073 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11074
11075         * MenuBackend.C (expand): another translation that I missed
11076
11077 2002-03-28  Juergen Vigna  <jug@sad.it>
11078
11079         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11080
11081         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11082
11083 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11084
11085         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11086
11087         * MenuBackend.C (expand): fix export/view/update when there is no
11088         document open.
11089
11090 2002-03-27  Herbert Voss  <voss@lyx.org>
11091
11092         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11093         and text%
11094
11095 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11096
11097         * bufferview_funcs.C (currentState): only show paragraph number
11098         for is DEVEL_VERSION is set.
11099
11100         * lyxfunc.C (dispatch): put warning in INFO channel
11101
11102         * MenuBackend.C (expand): translate the name of floats
11103
11104         * FloatList.C (FloatList): mark the float names for translation
11105
11106         * converter.C (convert): use LibScriptSearch
11107
11108 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11109
11110         * MenuBackend.C (defaults): fix default menu (we might as well get
11111         rid of it...)
11112
11113 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11114
11115         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11116         directory.
11117
11118 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11119
11120         * lyxvc.C: reorder includes.
11121
11122 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
11123
11124         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11125           properly
11126
11127 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
11128
11129         * CutAndPaste.C: change layouts earlier on paste
11130           to avoid crashing when calling getFont()
11131
11132 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
11133
11134         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11135         irritating #error.
11136
11137 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11138
11139         * WorkArea.C: remove 'Pending' debug message.
11140
11141         * most files: ws cleanup
11142
11143         * buffer.[Ch]: ws changes
11144
11145         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11146
11147 2002-03-21  Juergen Vigna  <jug@sad.it>
11148
11149         * tabular.C (SetMultiColumn): collapse also the contents of the
11150         cells and set the last border right. Added a Buffer const * param.
11151
11152 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11153
11154         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11155         linking or not.
11156
11157 2002-03-19  Juergen Vigna  <jug@sad.it>
11158
11159         * text2.C (clearSelection): reset also xsel_cache.
11160
11161         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11162         where it needs to be called (John tells us to do so too :)
11163         (selectionLost): reset sel_cache.
11164
11165         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11166
11167 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11168
11169         * text2.C (setCursorIntern): put debuging code in INSETS channel
11170
11171 2002-03-19  André Pönitz <poenitz@gmx.net>
11172
11173         * lyxfunc.C: tiny whitespace change
11174
11175 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11176
11177         * ToolbarDefaults.C (init):
11178         * LyXAction.C (init):
11179         * commandtags.h:
11180         * BufferView_pimpl.C (Dispatch):
11181         * lyxfunc.C (dispatch): remove LFUN_DEPTH
11182
11183 2002-03-19  Allan Rae  <rae@lyx.org>
11184
11185         * exporter.C (Export): removeAutoInsets before doing anything else.
11186         While I've just introduced a dependency on BufferView this really is
11187         the best place to clean the buffer otherwise you need to cleanup in
11188         a dozen places before calling export or cleanup in a dozen functions
11189         that export calls.
11190
11191         * converter.C (runLaTeX):
11192         (scanLog): Better handling of removeAutoInsets and screen updates.
11193
11194         * lyxfunc.C (dispatch): small whitespace changes
11195
11196 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11197
11198         * WorkArea.C (C_WorkAreaEvent): return a value.
11199         (event_cb): return 1 if we handled the event, 0 otherwise.
11200
11201         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11202
11203 2002-03-18  Juergen Vigna  <jug@sad.it>
11204
11205         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11206         (GetAdditionalWidth): ditto.
11207         (RightLine): ditto.
11208         (LeftLine): ditto.
11209
11210         * BufferView2.C (copy): use getLyXText() so that we do it inside an
11211         inset if we're there actually (probably not used right now but this
11212         is the direction to go for unifying code).
11213         (paste): disable code to clear the selection.
11214
11215         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11216         inside an InsetText and move the check further up as it is in the
11217         wrong place.
11218
11219         * text2.C (pasteSelection): set a selection over the pasted text.
11220
11221 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
11222
11223         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11224         and libgraphics to build on Cygwin.
11225
11226 2002-03-15  Juergen Vigna  <jug@sad.it>
11227
11228         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11229         inserting an Inset into the paragraph. I know this is not the best
11230         fix but we already use current_view in CutAndPaste so we will remove
11231         all of it's using at the same time.
11232
11233         * buffer.C (sgmlError): deactivated function till it is rewritten in
11234         the right mode, now it can create problems.
11235
11236         * paragraph.C (isLineSeparator): check if getInset returns != 0,
11237         before accessing it.
11238
11239 2002-03-14  Juergen Vigna  <jug@sad.it>
11240
11241         * undo_funcs.C (textHandleUndo): do the right thing when updating
11242         the inset after the undo/redo.
11243
11244         * text2.C (setCursor): just some testcode for #44 not ready yet.
11245
11246         * undo_funcs.C (textHandleUndo): set the next() and previous()
11247         pointers of the paragraph to 0 before deleting otherwise we have
11248         problems with the Paragraph::[destructor].
11249
11250         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11251         on a paragraph insertion.
11252
11253 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11254
11255         * buffer.C (asciiParagraph): use += operator for char append to
11256         string.
11257
11258         * paragraph.C (getFontSettings): compare >= not just >
11259         (highestFontInRange): ditto
11260         (setFont): ditto
11261
11262 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11263
11264         * paragraph.C: change several algorithm to be more appripriate for
11265         the problem domain. This is lookip in FontList and in the InsetList.
11266
11267 2002-03-13  André Pönitz <poenitz@gmx.net>
11268
11269         * commandtags.h:
11270         * LyXAction.C: remove unused LFUN_MATH_MACROARG
11271
11272 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
11273
11274         * commandtags.h:
11275         * LyXAction.C:
11276         * lyxfunc.C:
11277         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11278
11279 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11280
11281         * Painter.C (display): anon helper function, adjust code for this
11282         change.
11283         (pixmap): remove function.
11284
11285         * Painter.h: remove private display variable.
11286
11287         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11288
11289 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
11290
11291         * WorkArea.[Ch]: remove figinset_canvas cruft.
11292
11293 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11294
11295         * lyxtextclass.C (operator): add one item cache optimization.
11296
11297         * bufferlist.h: doxy changes
11298
11299         * bufferlist.C: ws changes
11300
11301         * DepTable.[Ch] (ext_exist): place const in the right spot.
11302
11303         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11304         call resizeInsets.
11305         (workAreaExpose): call resizeInsets when the with BufferView changes.
11306         (Dispatch): adjust for protectedBlank removal
11307         (specialChar): call updateInset if the insert went ok.
11308
11309         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11310         specialChar instead.
11311
11312         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11313
11314         * BufferView.h: doxy change
11315
11316         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11317
11318         * lyxtextclass.C (operator[]): remove non-const version
11319         (defaultLayout): remove non-const version
11320
11321 2002-03-12  Juergen Vigna  <jug@sad.it>
11322
11323         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11324         did resize the LyXText too.
11325
11326         * buffer.C (readLyXformat2): set layout information on newly allocated
11327         paragraphs.
11328
11329         * tabular.C (OldFormatRead): set layout information on the paragraph.
11330
11331 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11332
11333         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11334
11335 2002-03-11  Juergen Vigna  <jug@sad.it>
11336
11337         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11338         plainly wrong.
11339         (resizeCurrentBuffer): force also the insets to resize themselfes.
11340         (moveCursorUpdate): fixed up for InsetText.
11341
11342 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
11343
11344         * commandtags.h:
11345         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11346         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11347         value of Dialogs::tooltipsEnabled().
11348         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11349
11350 2002-03-08  Juergen Vigna  <jug@sad.it>
11351
11352         * BufferView_pimpl.C (updateInset): update inset inside inset also
11353         if it isn't inside theLockingInset().
11354
11355 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11356
11357         * buffer.C (asciiParagraph): redo some of the word and line length
11358         handling.
11359         (getLists): look for Caption instead of caption.
11360
11361 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11362
11363         * buffer.C (Buffer): initialize niceFile to true
11364         (makeLaTeXFile):
11365         (makeLinuxDocFile):
11366         (makeDocBookFile): make sure niceFile is true on exit
11367
11368 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11369
11370         * buffer.C (makeLaTeXFile): escape ~ in \input@path
11371
11372 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
11373
11374         * LyXSendto.C: remove.
11375         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11376         * lyx_gui.C: remove now-redundant comment.
11377         * ColorHandler.h: remove forward declaration of class WorkArea.
11378         * lyxfunc.C: remove #include "WorkArea.h".
11379
11380 2002-03-07  Juergen Vigna  <jug@sad.it>
11381
11382         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11383         got moved away with the DEPM and also set the inset_owner always
11384         right which before could have been omitted.
11385
11386 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11387
11388         * buffer.C (parseSingleLyXformat2Token): use default layout is the
11389         wanted layout is not found.
11390
11391 2002-03-07  Juergen Vigna  <jug@sad.it>
11392
11393         * CutAndPaste.C (cutSelection): another layout settings forgotten.
11394
11395 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11396
11397         * paragraph.C (breakParagraph): use default layout not layout of
11398         prev paragraph.
11399         (Paragraph): clear ParagraphParameters.
11400
11401 2002-03-06  Juergen Vigna  <jug@sad.it>
11402
11403         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11404         otherwise it would not be a valid lenght. Fixed a special case in
11405         the minipage compatibility read where we end the document with a
11406         minipage.
11407
11408         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11409         was set as it could be 0 for InsetTexts first entry.
11410
11411 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11412
11413         * paragraph.C (writeFile): if layout is empty write out
11414         defaultLayoutName().
11415
11416         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11417         file without named layout we set layout to defaultLayoutName().
11418
11419 2002-03-06  Juergen Vigna  <jug@sad.it>
11420
11421         * CutAndPaste.C (copySelection): set layout for new paragraph.
11422
11423         * text.C (prepareToPrint): leave ERT inset left aligned
11424         (leftMargin): don't indent paragraphs inside ERT insets
11425
11426 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11427
11428         * paragraph.C (breakParagraph): dont call clear do the work manually
11429
11430         * paragraph.[Ch] (clear): remove function
11431
11432 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11433
11434         * paragraph.C (Paragraph): dont call clear, the work has already
11435         been done.
11436
11437         * lyxtextclass.C (operator): assert if n is empty
11438
11439         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11440         work manually instead.
11441
11442 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11443
11444         * BufferView_pimpl.C: protect selectionLost against text == 0
11445
11446 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11447
11448         * text.C (breakParagraph): fix a setting layout to '0' problem.
11449
11450 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11451
11452         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11453         final location of file, for the included files, and graphics.
11454
11455 2002-03-05  Juergen Vigna  <jug@sad.it>
11456
11457         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11458
11459 2002-03-04  Juergen Vigna  <jug@sad.it>
11460
11461         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11462
11463         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11464         last column of multicolumn cells.
11465         (SetWidthOfMulticolCell): recalculate NMC and real columns.
11466
11467 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11468
11469         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11470         file if it doesn't go to a temporary file.
11471
11472         * buffer.C (sgmlOpenTag):
11473         (sgmlCloseTag):  remove extra newline insertion.
11474
11475 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11476
11477         * text.C (getRowNearY): comment out debug msg
11478
11479 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11480
11481         * text2.C: first -> first_y
11482
11483         * text.C (getRowNearY): add some attemts at a possible
11484         optimization, not working.
11485
11486         * tabular.[Ch]: add BufferParams to several function so that newly
11487         created paragraph can be initialized to he default layotu for the
11488         buffers textclass.
11489
11490         * tabular-old.C (ReadOld): add buf->params to call of Init
11491
11492         * screen.C: rename text->first to text->first_y
11493
11494         * paragraph.C (breakParagraph): always set layout in the broken
11495         paragraph
11496
11497         * lyxtextclass.C (Read): remove lowercase
11498         (hasLayout): ditto
11499         (operator): ditto
11500         (delete_layout): ditto
11501
11502         * lyxtext.h: rename first -> first_y
11503
11504         * lyxlayout.C (Read): remove lowercase
11505         (name): ditto
11506         (setName): ditto
11507         (obsoleted_by): ditto
11508
11509         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11510
11511         * buffer.C (insertErtContents): add params are to InsetERT
11512         (parseSingleLyXformat2Token): add code to check if a paragraphs
11513         layout really exist.
11514         (parseSingleLyXformat2Token): add params to several inset
11515         constructors
11516         (asciiParagraph): remove lowercase, do the layout comparisons with
11517         no_case
11518
11519         * BufferView_pimpl.C (cursorNext): first -> first_y
11520         (resizeCurrentBuffer): first -> first_y
11521         (updateScrollbar): first -> first_y
11522         (scrollCB): first -> first_y
11523         (workAreaMotionNotify): first -> first_y
11524         (workAreaButtonPress): first -> first_y
11525         (checkInsetHit): first -> first_y
11526         (cursorPrevious): first -> first_y
11527         (cursorNext): first -> first_y
11528         (Dispatch): add buffer_->params to severl inset contructors
11529
11530 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11531
11532         * lyxlayout.C (Read): remove some debug info that I forgot.
11533
11534         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11535         clean up the code slightly.
11536         (makeLinuxDocFile): ditto
11537         (makeDocBookFile): ditto
11538
11539         * text2.C: layout as string
11540
11541         * text.C: layout as string
11542
11543         * paragraph_pimpl.C: layout as string
11544
11545         * paragraph.[Ch]: layout as string
11546
11547         * lyxtextclasslist.[Ch]: layout as string
11548
11549         * lyxtextclass.[Ch]: layout as string
11550
11551         * lyxtext.h: layout as string
11552
11553         * lyxlayout.[Ch]: layout as string
11554
11555         * lyx_cb.C: layout as string
11556
11557         * bufferview_funcs.C: layout as string
11558
11559         * bufferparams.C: layout as string
11560
11561         * buffer.C: layout as string
11562
11563         * LyXView.[Ch]: layout as string
11564
11565         * LaTeXFeatures.[Ch]: layout as string
11566
11567         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11568
11569         * BufferView_pimpl.C: change current_layout to string, remove
11570         lyx::layout_type.
11571         (Dispatch):
11572         (smartQuote):
11573         (insertInset):
11574         (workAreaButtonRelease): layout as string
11575
11576         * BufferView2.C (unlockInset): adjust
11577
11578         * vspace.C (asLatexCommand): use an explict temp variable.
11579
11580 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11581
11582         * Makefile.am: use FRONTEND_*
11583
11584 2002-03-01  Juergen Vigna  <jug@sad.it>
11585
11586         * tabular.C (SetWidthOfMulticolCell): changed to something better
11587         I hope but still work in progress.
11588         (recalculateMulticolumnsOfColumn): renamed function from
11589         recalculateMulticolCells as it is more appropriate now.
11590         (SetWidthOfCell): calculate multicols better.
11591
11592 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11593
11594         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11595
11596         * lyxfunc.C (processKeySym): print sequence also if it is
11597         `deleted' (complete)
11598
11599         * kbsequence.C (print): print sequence even if it is deleted
11600         (complete would be a better word, actually).
11601
11602         * lyxfunc.C (dispatch): print complete options after a prefix key
11603
11604         * vspace.C (asLatexCommand): rewrite in a slightly different form.
11605
11606 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
11607
11608         * text2.C (setCharFont): eliminate setCharFont code duplication.
11609
11610 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11611
11612         * BufferView_pimpl.C (Dispatch): remove bogus handling of
11613         LFUN_TABULAR_FEATURE (bug #177)
11614
11615 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
11616
11617         * Makefile.am: remove figure.h
11618
11619 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
11620
11621         * Bufferview_pimpl.C:
11622         * CutAndPasteC:
11623         * LaTeX.C:
11624         * LyXSendto.C:
11625         * buffer.C:
11626         * bufferlist.C:
11627         * converter.C:
11628         * language.C:
11629         * lyxfunc.C:
11630         * lyxvc.C:
11631         * paragraph.C:
11632         * text.C:
11633         * text2.C: remove #include "lyx_gui_misc.h".
11634
11635         * LaTeX.C: added #include <cstdio>
11636
11637 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11638
11639         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11640         that the paragraph following this one can have.
11641
11642         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11643
11644         * vspace.C (asLatexCommand): fix bogus gcc warning
11645
11646         * Makefile.am (lyx_SOURCES): remove vms_defines.h
11647
11648 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
11649
11650         * text2.C (setLayout): get rid of redundant code
11651
11652 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
11653
11654         * text2.C (incDepth): make sure depth cannot be increased beyond
11655         reasonable values.
11656
11657 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
11658
11659         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11660         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11661
11662         * PainterBase.h (image):
11663         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11664         a LyXImage const *.
11665
11666 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11667
11668         * BufferView.C:
11669         * BufferView.h:
11670         * BufferView_pimpl.C:
11671         * BufferView_pimpl.h:
11672         * LaTeXFeatures.C:
11673         * LyXAction.C:
11674         * LyXView.C:
11675         * Makefile.am:
11676         * UpdateList.h:
11677         * UpdateList.C:
11678         * buffer.C:
11679         * figure.h:
11680         * figureForm.C:
11681         * figureForm.h:
11682         * figure_form.C:
11683         * figure_form.h:
11684         * lyx_cb.C:
11685         * lyx_gui.C:
11686         * lyx_gui_misc.C:
11687         * lyxfunc.C:
11688         * sp_base.h:
11689         * sp_ispell.h:
11690         * sp_pspell.h:
11691         * sp_spell.C: remove fig inset, and the crap house of
11692           cards that follows it
11693
11694 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11695
11696         * Makefile.am:
11697         * lyxserver.C:
11698         * os2_defines.h:
11699         * os2_errortable.h:
11700         * nt_defines.h: move .h into support/
11701
11702         * vms_defines.h: remove
11703
11704         * WorkArea.C: add space in debug output
11705
11706         * text2.C:
11707         * paragraph.C:
11708         * buffer.C: add WITH_WARNINGS
11709
11710         * vc-backend.h:
11711         * vc-backend.C:
11712         * bufferlist.C: s/retrive/retrieve/, add docs
11713
11714         * vspace.h:
11715         * vspace.C:
11716         * kbmap.h:
11717         * lyxlength.h:
11718         * lyxgluelength.h:
11719         * length_common.h:
11720         * chset.h:
11721         * chset.C: add docs
11722
11723         * lyxgui.C: add ID to X error handler
11724
11725         * lyxtestclass.c: fix typo
11726
11727 2002-02-26  Juergen Vigna  <jug@sad.it>
11728
11729         * tabular_funcs.C (write_attribute): changed so that some default
11730         attributes are not written at all.
11731         (getTokenValue): set default values before trying to read the
11732         value so we have the return value always set as default if we don't
11733         find the token we search for.
11734
11735         * tabular.C (Write): write bools as bools not as strings!
11736
11737 2002-02-22  Juergen Vigna  <jug@sad.it>
11738
11739         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11740         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11741
11742         * text.C (leftMargin): don't add an indent for paragraphs inside
11743         tabular cells (fix #208).
11744
11745 2002-02-21  José Matos  <jamatos@fep.up.pt>
11746
11747         * tabular.C (docBook): fixed support for long tables.
11748
11749 2002-02-20  Juergen Vigna  <jug@sad.it>
11750
11751         * text2.C (getFont): get the drawing font of the Inset if this
11752         paragraph is inside an inset (only important for InsetERT for now).
11753
11754         * buffer.C (insertErtContents): use new lanugage params in ERT
11755         constructor.
11756
11757         * CutAndPaste.C: commenting out seemingly uneeded code.
11758
11759 2002-02-19  Allan Rae  <rae@lyx.org>
11760
11761         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11762         Iterators might be simple to use but they also get invalidated.
11763         (removeAutoInsets): renamed saved cursor tracking variables and added
11764         some comments to clarify what everything does.
11765
11766 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
11767
11768         * Chktex.C:
11769         * LaTeX.C:
11770         * LyXSendto.C:
11771         * converter.C:
11772         * lyx_cb.C:
11773         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11774         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11775
11776         * lyxfunc.C:
11777         * vc-backend.h: remove #include "support/syscall.h"
11778
11779         * LaTeX.C:
11780         * LyXSendto.C:
11781         * converter.C: rearrange #includes in Lars' approved fashion.
11782
11783         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11784         forward declare class Timeout in the header file.
11785
11786         * XFormsView.C: changes due to the above.
11787
11788         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11789         similar to LyXView.
11790
11791         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11792         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11793
11794 2002-02-18  José Matos  <jamatos@fep.up.pt>
11795
11796         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11797         insets contents.
11798
11799 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
11800
11801         * a lot of small ws changes
11802         * add a lot of using std::XXX
11803         * use std construcs some places where approp.
11804         * use some exisint stuff from lyxfunctional where approp.
11805         * Make file changes to use partial linking (lets test this now...)
11806
11807 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11808
11809         * Chktex.C:
11810         * buffer.C:
11811         remove #include "support/syscontr.h" as it's redundant. Always has been.
11812
11813         * Chktex.C:
11814         * LaTeX.C:
11815         * LyXSendto.C:
11816         * converter.C:
11817         * lyx_cb.C:
11818         * vc-backend.C:
11819         change Systemcalls::System to Systemcalls::Wait and
11820         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11821         No change of functionality, just reflects the stripped down Systemcalls
11822         class.
11823
11824 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11825
11826         * debug.[Ch]: add a GRAPHICS type to the enum.
11827
11828 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11829
11830         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11831
11832         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11833         there is an inset.
11834
11835 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11836
11837         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11838         match the changes below.
11839
11840         * text2.C (toggleInset): if there is not editable inset at cursor
11841         position, try to see if cursor is _inside_ a collapsable inset
11842         and close it.
11843
11844 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11845
11846         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11847         document menu has a nice checkbox
11848
11849 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11850
11851         * lyxlength.C (asLatexString): change PW to output as percent of
11852         \textwidth.
11853
11854         * lengthcommon.C: change '%' to 't%'
11855
11856         * lyxfunc.C (dispatch): a few comments from Martin
11857
11858 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
11859
11860         * WorkArea.h:
11861         * WorkArea.C:
11862         * BufferView_pimpl.h:
11863         * BufferView_pimpl.C: clear our selection when X tells us we've lost
11864           the X selection.
11865
11866 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11867
11868         * vspace.C (inPixels): fix compiler warning
11869
11870 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11871
11872         * lyxfunc.C (getStatus): fix status message for disabled commands.
11873
11874 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
11875
11876         * BufferView_pimpl.C: fix crash on close buffer
11877         during selection (#227)
11878
11879 2002-01-27  Herbert Voss  <voss@lyx.org>
11880
11881         * buffer.C: link old Figure to new graphic inset
11882
11883 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
11884
11885         * FontLoader.C (getFontinfo): Change the latex font names in order
11886         to match the names of type1inst.
11887
11888 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11889
11890         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11891
11892         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11893         (extchanged): ditto
11894         (ext_exist): ditto
11895         (remove_files_with_extension): ditto
11896         (remove_file): ditto
11897         (write): ditto
11898
11899         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11900         document is smaller than the work area height. Do not initialize
11901         static variables to 0.
11902
11903 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11904
11905         * lyx_gui.C (init): give the toolbar tooltips a normal font.
11906
11907         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11908         LFUN_LAYOUT_PARAGRAPHS.
11909
11910         * tabular.C (GetCellFromInset): new method. Finds an inset in a
11911         tabular. It is possible to provide a possible cell, which will
11912         typically be the actcell from the corresponding insettabular
11913
11914         * lyxfunc.C (getStatus): small cleanup; disable
11915         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11916         true
11917
11918 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11919
11920         * tabular.C (Validate): remove broken optimization (fixes bug #201)
11921
11922         * paragraph.C (startTeXParParams):
11923         (endTeXParParams): new methods. The LaTeX code to
11924         start/end paragraph formatting
11925         (simpleTeXOnePar): call startTeXParParams also when paragraph is
11926         empty (fixes bug #200)
11927
11928         * vspace.C (inPixels): adapt to the change below
11929         (inPixels): [later] more cleanups (remove unused variables)
11930
11931         * lyxlength.C (inPixels): change to use a width and a height as
11932         parameter.
11933
11934 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11935
11936         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11937         Replaced with \paperwidth
11938
11939         * DepTable.C (insert): add std:: qualifier
11940
11941 2002-01-18  Allan Rae  <rae@lyx.org>
11942
11943         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
11944         updated also?
11945
11946         * text.C (drawInset): Turned out I didn't know enough about how
11947         rebreaking worked.  This fixes most of the redraw problems.  I see
11948         an occasional cursor trail when a line is broken now and the cursor
11949         placement can seem out by a few pixels also after a rebreak.
11950
11951 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11952
11953         * buffer.C (parseSingleLyXformat2Token): update because minipage
11954         width is now a LyXLength
11955
11956         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11957
11958         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11959         math insets
11960
11961 2002-01-17  Juergen Vigna  <jug@sad.it>
11962
11963         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11964
11965         * BufferView2.C (lockInset): call edit() so that theLockingInset()
11966         is set correctly and the inset is updated correctly.
11967
11968 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11969
11970         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11971         the beginning of the loop.
11972
11973 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
11974
11975         * lyxrc.C: improve help for use_scalable_fonts
11976
11977 2002-01-17  Allan Rae  <rae@lyx.org>
11978
11979         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11980
11981 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11982
11983         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11984         make sure to set their inset_owner to the right value (bug #171)
11985
11986 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
11987
11988         * DepTable.h
11989         * DepTable.C: Implement mtime checking to reduce time spent doing
11990         CRCs.
11991
11992 2002-01-16  Juergen Vigna  <jug@sad.it>
11993
11994         * tabular.C (GetAdditionalHeight): one of error fixed.
11995
11996         * lyxrc.C (output): small fix in writing use_pspell.
11997
11998 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
11999
12000         * sp_base.h: #include LString.h
12001
12002 2002-01-16  Allan Rae  <rae@lyx.org>
12003
12004         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
12005         Can someone check this please?
12006
12007         * text.C (drawInset): It was possible that p.row would be removed by
12008         breakAgainOneRow upsetting a few other settings.  There may be another
12009         small tweak possible by setting need_break_row = 0 when p.row has been
12010         removed but I don't know enough about the logic here.
12011
12012 2002-01-15  Allan Rae  <rae@lyx.org>
12013
12014         * text.C (insertChar): removed conditional truism.
12015
12016         * BufferView2.C (removeAutoInsets): More tweaks.
12017         cur_par_prev could be a stray pointer.  Check for trailing empty line
12018         in case last line was cur_par and only had an error inset on it.
12019
12020 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12021
12022         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12023         absolute
12024
12025         * vc-backend.C (most methods):
12026         * exporter.C (Export):
12027         * converter.C (convert):
12028         (runLaTeX):
12029         * LyXSendto.C (SendtoApplyCB):
12030         * lyxfunc.C (dispatch):
12031         (menuNew):
12032         (open):
12033         (doImport):
12034         * lyx_cb.C (AutoSave):
12035         (InsertAsciiFile):
12036         * BufferView_pimpl.C (MenuInsertLyXFile):
12037         * buffer.C (runChktex): use Buffer::filePath().
12038
12039         * buffer.h: rename filename to filename_; rename filepath to
12040         filepath_ and make it private
12041         (filePath): new method
12042
12043         * buffer.C (writeFile): use fileName()
12044         (getLatexName):
12045
12046         * lyx_main.C (init): fix starting  of LyX when the binary is a
12047         link from so,ewhere else.
12048
12049         * minibuffer.C: include <cctype> for isprint
12050
12051 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12052
12053         * buffer.C (parseSingleLyXformat2Token): changes associated with the
12054         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12055         name clash with InsetCollapsable's width function.
12056
12057 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12058
12059         * lastfiles.C: include <iterator>
12060
12061 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12062
12063         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12064         std::count.
12065
12066         * buffer.C (makeLaTeXFile): ditto.
12067         Also make loop operation more transparent.
12068
12069 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12070
12071         * ToolbarDefaults.C: remove trailing comma closing namespace.
12072
12073         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12074
12075         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12076         as in WorkArea.
12077
12078         * trans.C (Load): comment out unused variable, allowed.
12079
12080 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12081
12082         * minibuffer.[Ch] (append_char): new method to recieve input from the
12083         drop-down completion browser. If a key was pressed, then recieve this
12084         char and append it to the existing string.
12085         (peek_event): modify the positioning data passed to the completion
12086         browser so that it can be placed above the minibuffer rather than below.
12087 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12088
12089         * LyXAction.C (init): alloe error-next for readonly documents.
12090
12091         * BufferView2.C (ChangeRefsIfUnique): use standard version of
12092         count.
12093
12094 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12095
12096         * bufferlist.C (readFile): create the buffer _after_ checking that
12097         the file exists.
12098
12099         * lyxfunc.C (verboseDispatch): fix handling of arguments
12100
12101         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12102
12103         * lyxrc.C: use string::erase() instead of initializing to "".
12104
12105
12106 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12107
12108         * BufferView_pimpl.h:
12109         * BufferView_pimpl.C:
12110         * WorkArea.h:
12111         * WorkArea.C:
12112         * text2.C: tell X when we have made a selection for copying
12113
12114 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12115
12116         * BufferView_pimpl.C (MenuInsertLyXFile):
12117         * lyxfunc.C (menuNew):
12118         (open):
12119         (doImport): add shortcuts to directory buttons
12120
12121         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12122         open a float)
12123
12124         * lyxfunc.C (setStatusMessage):
12125         (getStatusMessage): new methods
12126         (getStatus):use setStatusMessage instead of setErrorMessage
12127         (dispatch): when function is disabled, set error message here
12128         [instead of in getStatus previously]
12129
12130         * BufferView_pimpl.C (workAreaButtonRelease): update
12131         toolbar/menubar here too.
12132
12133 2002-01-13  Allan Rae  <rae@lyx.org>
12134
12135         * BufferView2.C (removeAutoInsets): finished off earlier fix.
12136         Now seems indestructible.  Remaining task is to audit all other
12137         code affected by deleteEmptyParagraphMechanism.  One small quirk
12138         left is that an empty document with an error in the preamble can
12139         be made to report an error but no error box appears.  I don't know
12140         where it goes.
12141         (removeAutoInsets): Improved comments.
12142
12143 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
12144
12145         * Thesaurus.h:
12146         * Thesaurus.C: update for Aiksaurus 0.14
12147
12148 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12149
12150         * text2.C (firstParagraph): removed member function, all uses
12151         replaces with ownerParagraph
12152         (redoParagraphs): here
12153         (updateInset): here
12154         (toggleAppendix): here
12155         * BufferView2.C (insertErrors): here
12156         (setCursorFromRow): here
12157
12158 2002-01-13  Allan Rae  <rae@lyx.org>
12159
12160         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12161         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12162         There is still a way to segfault this although you may have to do this
12163         multiple times: Have an InsetERT with an unknown command in it.
12164         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12165         <down-arrow>, <Enter> again, View->DVI, BANG!
12166
12167         * text2.C (setCursor):
12168         (deleteEmptyParagraphMechanism):
12169         * lyxtext.h (setCursor):
12170         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12171         Making use of the return value may help fix other bugs.
12172
12173 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12174
12175         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12176
12177         * LyXView.C (updateMenubar): call MenuBar::update here
12178         (updateToolbar): but not here
12179         (showState): do not update toolbar/menubar
12180
12181         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12182         should need to care about that.
12183
12184         * lyxfunc.C (verboseDispatch): simplify a bit
12185         (getStatus): have a version which takes a pseudoaction, and
12186         another which requires a (kb_action,string).
12187
12188         * LyXAction.C (retrieveActionArg): make it work also when action
12189         is not a pseudo-action.
12190         (getActionName): simplify a bit
12191         (helpText):
12192
12193 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12194
12195         * lyxfunc.C (verboseDispatch): new families of methods with
12196         several ways to specify a command and a bool to indicate whether
12197         the command name and shortcut should be displayed in minibuffer
12198         (eventually, we could extend that to a finer bitmask like
12199         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12200         (dispatch): the pristine dispatch command which just, well,
12201         dispatchs! Note it still sets its result to minibuffer; I'm not
12202         sure we want that.
12203
12204         * lyxfunc.h: remove setHintMessage
12205
12206         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12207
12208 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12209
12210         * BufferView_pimpl.C (specialChar): delete new inset if we have
12211         not been able to insert it.
12212
12213         * kbmap.C: revert to using int instead of kb_action, since all we
12214         are dealing with is pseudo-actions.
12215
12216         * LyXAction.C (searchActionArg): change to return int instead of
12217         kb_action, since the result is a pseudoaction.
12218
12219 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
12220
12221         * buffer.C (insertErtContents): Fix (partially) the font bug.
12222
12223 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12224
12225         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12226         as the other one is broken on my machine!
12227
12228 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
12229
12230         * commandtags.h:
12231         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12232
12233 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
12234
12235         * lyxrc.[Ch]: change names and descriptions of popup font variables to
12236         reflect their actual use. Provide compatibility code for older lyxrc
12237         files.
12238
12239         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12240         FL_NORMAL_STYLE.
12241         change names of popup font variables in line with the changes to lyxrc.C
12242
12243 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12244
12245         * buffer.C (asciiParagraph): avoid outputing a word twice after
12246         an inset.
12247
12248         * lyxrc.C (getDescription): document that document_path and
12249         template_path can be empty.
12250
12251 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12252
12253         * LaTeXFeatures.C (getMacros):
12254         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12255
12256         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12257
12258         * LaTeXFeatures.C (useFloat): require "float" here instead of in
12259         getPackages.
12260         (getPackages): rename feature "floats" to "float". Use an array to
12261         iterate over 'simple' features (i.e. just a \usepackage). Add
12262         handling of "amsmath" (renamed from "amsstyle").
12263
12264 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
12265
12266         * LaTeXFeatures.C (require): Prevent duplicate entries in the
12267         features list.
12268
12269 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
12270
12271         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12272         FuncStaus::FuncStatus & FuncStaus::some_method().
12273
12274 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
12275
12276         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12277         of the func_satus stuff. Edited and massaged in various ways by
12278         JMarc.
12279
12280         * lyxfunc.C (getStatus): use FuncStatus
12281
12282 2002-01-08  Juergen Vigna  <jug@sad.it>
12283
12284         * text.C (nextBreakPoint): use function Inset::isChar().
12285
12286         * paragraph.C (TeXOnePar): use function
12287         Inset::forceDefaultParagraphs.
12288
12289         * buffer.C (latexParagraphs): use function
12290         Inset::forceDefaultParagraphs.
12291
12292 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12293
12294         * lyx_gui.C (init): set the style of the menu popups to
12295         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12296
12297 2002-01-07  Juergen Vigna  <jug@sad.it>
12298
12299         * text.C (setHeightOfRow): small fix
12300         (prepareToPrint): don't look at alignment if we don't have the place
12301         for doing it.
12302
12303 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12304
12305         * box.C: New file. Move the Box methods and functions out of box.h,
12306         following Lars' suggestion.
12307
12308 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12309
12310         * box.h: #include "support/LOstream.h", needed for inlined function.
12311
12312         * lyxtextclass.C:
12313         * lyxtextclasslist.C: added some using std declarations.
12314
12315 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
12316
12317         * box.h: make signed dimensions to allow insets wider than
12318           the screen (bug #162)
12319
12320         * BufferView_pimpl.C: add some insetHit debug
12321
12322 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
12323
12324         * vc-backend.C: add FIXME
12325
12326 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12327
12328         * lyxfunc.C (getStatus): enable code for showing math font status
12329         in toolbar/menu.
12330
12331 2002-01-07  Juergen Vigna  <jug@sad.it>
12332
12333         * text.C (nextBreakPoint): removed debug output not needed anymore.
12334
12335 2002-01-06  Juergen Vigna  <jug@sad.it>
12336
12337         * text.C (nextBreakPoint): fixed up this function we had this bug
12338         since ever but now hopefully we break row better.
12339         (insertChar): we have to check if an inset is the next char as it
12340         could now happen that a large inset is causing a break.
12341
12342 2002-01-05  Juergen Vigna  <jug@sad.it>
12343
12344         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12345         if it doesn't like to be drawed.
12346
12347 2002-01-04  Juergen Vigna  <jug@sad.it>
12348
12349         * BufferView2.C (lockInset): forgot to set a cursor.
12350
12351         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12352
12353 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
12354
12355         * FormMathsPanel.C:
12356         * FormMathsPanel.h
12357         * MathsSymbols.C:
12358         * form_maths_panel.C:
12359         * form_maths_panel.h:
12360         * form_maths_panel.fd: implemented sub- and super- buttons in math
12361         panel.
12362
12363         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12364         (or ^ space) to be used as in TeX (req'd by André).
12365
12366         * lyxfunc.C: Allow ^ and _ again to be used both as
12367         super/subscript (mathed) and as themselves (in text).
12368
12369 2002-01-03  Allan Rae  <rae@lyx.org>
12370
12371         * LyXView.C (updateWindowTitle): Setup a short icon title of either
12372         "LyX" or the filename of the current buffer if it has one.  This is a
12373         modified form of John Levon's patch.
12374
12375         * XFormsView.C (setWindowTitle): also set icon title.
12376
12377         * LyXView.h (setWindowTitle): signature changed.
12378         * XFormsView.h (setWindowTitle): ditto.
12379
12380 2002-01-02  Juergen Vigna  <jug@sad.it>
12381
12382         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12383
12384 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12385
12386         * screen.C (topCursorVisible): introduce a temp var for
12387         text->cursor.row(), handle the case where this row is null. (kindo
12388         hachish)
12389
12390         * text2.C (setCursor): add a couple of asserts.
12391
12392         * paragraph.h (inset_iterator): add -> operator
12393
12394         * paragraph.[Ch] (autoDeleteInsets): remove member function
12395
12396         * BufferView2.C (removeAutoInsets): rewrite to handle the old
12397         cursor pos correctly and handle inset deletion by itself.
12398         (insertErrors): move iterator declaration out of for expression
12399
12400         * lyxtextclass.C: add <algorithm>
12401
12402         * Makefile.am: added the new files to sources, removed layout.C
12403
12404         * layout.C: removed file
12405
12406         * layout.h: remove LYX_DUMMY_LAYOUT
12407
12408         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12409         layout.
12410
12411         * lyxlayout.[Ch]:
12412         * lyxtextclass.[Ch]:
12413         * lyxtextclasslist.[Ch]: new files
12414
12415         * include order changes to a lot of files, also changes because of
12416         the six new files.
12417
12418 2001-12-27  Juergen Vigna  <jug@sad.it>
12419
12420         * buffer.C (asciiParagraph): more fixes.
12421
12422         * tabular.C (ascii): make ascii export support export of only the
12423         data separated by a column-delimiter.
12424         (ascii): better support for ascii export.
12425
12426         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12427
12428 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12429
12430         * tabular_funcs.C: use a "using std::getline" instead of the
12431         previous fix from Angus (necessary for cxx + lyxstring)
12432
12433 2001-12-24  Juergen Vigna  <jug@sad.it>
12434
12435         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12436
12437         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12438         problems. First check a minipage also if we have some ert-contents
12439         (not only on par->size(), second set the right depth of the paragraph
12440         on the relink to the root-paragraph-list!
12441
12442         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12443         which then did not anymore update the main paragraphs on undo/redo!
12444
12445 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12446
12447         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12448         code. Support all font-changing funcs (even those which are not in
12449         menu currently). Support for reporting font settings in
12450         mathed (disabled until Andre provides a function on mathed's side).
12451
12452         * func_status.h (toggle): small helper function to set toggle
12453         state on a flag.
12454
12455 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
12456
12457         * tabular_funcs.C: getline -> std::getline
12458
12459 2001-12-21  Juergen Vigna  <jug@sad.it>
12460
12461         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12462         accessed and could be 0 (I couldn't generate this but it seems
12463         Michael could!).
12464
12465 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12466
12467         * tabular_funcs.C: add LIstream.h, move write_attribute to..
12468         * tabular_funcs.h: here and include iosfwd
12469
12470 2001-12-20  Juergen Vigna  <jug@sad.it>
12471
12472         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12473         inside inset but undo_par was.
12474
12475 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12476
12477         * Thesaurus.C: always include <config.h> in sources.
12478
12479         * Painter.h:
12480         * lyxlookup.h:
12481         * box.h: do not include <config.h> in header files
12482
12483         * text.C (paintLastRow): remove unused variable
12484
12485         * text.C (transformChar):
12486         (insertChar):
12487         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12488
12489         * Painter.C (text):
12490         * font.C (width): rewrite to use uppercase() instead of
12491         islower/toupper.
12492
12493         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12494
12495 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
12496
12497         * lyxfind.C: clean up of find failure position change
12498
12499 2001-12-20  Juergen Vigna  <jug@sad.it>
12500
12501         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12502
12503         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12504         (TeXRow): added to LaTeX a single tabular row.
12505         (TeXLongtableHeaderFooter): added to output LT-h/f data.
12506         (Latex): simplified and finally good LT-h/f support.
12507         (various_functions): just small adaptions for LT-h/f support.
12508
12509         * tabular_funcs.[hC]: added and moved here all not classfunctions
12510         of LyXTabular.
12511
12512 2001-12-19  Juergen Vigna  <jug@sad.it>
12513
12514         * tabular.[Ch]: better support for longtabular options (not finished
12515         yet!)
12516
12517 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12518
12519         * text.C (paintLastRow): use the label font instead of the font of
12520         the last character to compute the size of *_BOX. This makes more
12521         sense and avoids a crash with empty paragraphs.
12522         Use Painter::rectangle to draw EMPTY_BOX.
12523
12524 2001-12-19  Juergen Vigna  <jug@sad.it>
12525
12526         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12527         the paragraphs if the replaced paragraph is not the first one!
12528         Tried to delete not used paragraphs but does not work yet so for
12529         now it's inside #ifdef's and by default off!
12530
12531 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12532
12533         * MenuBackend.C: include "lyx_main.h" instead of declaring
12534         lastfiles (actually was declared as LastFiles* instead of a
12535         scoped_ptr).
12536
12537 2001-12-17  Juergen Vigna  <jug@sad.it>
12538
12539         * tabular.C (AppendColumn): applied John's fix
12540
12541 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
12542
12543         * BufferView.h:
12544         * BufferView.C:
12545         * BufferView_pimpl.h:
12546         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12547
12548         * Makefile.am:
12549         * box.h: new start of class for above
12550
12551         * lyxfunc.C: ignore space-only minibuffer dispatches.
12552           Show the command name when it doesn't exist
12553
12554         * minibuffer.C: don't add empty lines to the history
12555
12556         * minibuffer.C: add a space on dropdown completion
12557
12558 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
12559
12560         * text.C: fix line above/below drawing in insets
12561
12562 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12563
12564         * lyxlength.C (LyXLength): Initialize private variables.
12565
12566 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
12567
12568         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12569         when inserting error insets.
12570
12571 2001-12-13  Juergen Vigna  <jug@sad.it>
12572
12573         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12574         actually sometimes the before-paragraph.
12575         (setUndo): don't clear the redostack if we're not actually undoing!
12576
12577 2001-12-06  Juergen Vigna  <jug@sad.it>
12578
12579         * undo_funcs.C (textHandleUndo): well after John's hint I got here
12580         and fixed redoing of main paragraph, so we can use it now ;)
12581
12582         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12583
12584 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12585
12586         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12587         Juergen's request
12588
12589 2001-12-13  André Pönitz <poenitz@gmx.net>
12590
12591         * undostack.[Ch]:
12592         * undo_func.C: minor cleanup
12593
12594 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12595
12596         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12597         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12598         font in urw-fonts package which is marked as -urw-fontspecific and
12599         does not work (incidentally, changing the encoding in the
12600         fonts.dir of this package to -adobe-fontspecific fixes the
12601         problem).
12602
12603         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12604         is a crash when undoing first paragraph (Juergen, please take a
12605         look). THis does not mean the undo fix is wrong, just that it
12606         uncovers problems.
12607
12608         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12609         the (Paragraph*) version when needed instead of duplicating the
12610         code.
12611
12612         * text.C (workWidth): use Inset::parOwner to find out where the
12613         inset has been inserted. This is a huge performance gain for large
12614         documents with lots of insets. If Inset::parOwner is not set, fall
12615         back on the brute force method
12616
12617         * paragraph_pimpl.C (insertInset):
12618         * paragraph.C (Paragraph):
12619         (cutIntoMinibuffer): set parOwner of insets when
12620         inserting/removing them
12621
12622         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12623
12624 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
12625
12626         * commandtags.h:
12627         * LyXAction.C:
12628         * lyx_main.C:
12629         * lyxfunc.C:
12630         * mathed/formulabase.C:
12631         * mathed/math_cursor.[Ch]:
12632         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12633
12634
12635 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12636
12637         * lyxlength.[Ch] (operator!=): new function
12638
12639 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12640
12641         * text.C (workWidth): use Inset::parOwner to find out where the
12642         inset has been inserted. This is a huge performance gain for large
12643         documents with lots of insets. If Inset::parOwner is not set, fall
12644         back on the brute force method
12645
12646         * paragraph_pimpl.C (insertInset):
12647         * paragraph.C (Paragraph):
12648         (cutIntoMinibuffer): set parOwner of insets when
12649         inserting/removing them
12650
12651         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12652
12653 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12654
12655         * tabular-old.C (getTokenValue):
12656         * tabular.C (getTokenValue):
12657         (write_attribute): new versions for LyXLength
12658         (everywhere): adjust the use of widths
12659
12660         * tabular.h: change the type of widths from string to LyXLength
12661
12662 2001-12-11  Ben Stanley <bds02@uow.edu.au>
12663
12664         * paragraph.C: fixed missing line number count when exporting
12665         Environments to LaTeX file
12666
12667         * buffer.C: added informational message for checking line numbers.
12668
12669 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12670
12671         * text2.C (deleteEmptyParagraphMechanism): if there is only one
12672         paragraph, do the 'double space' part, but not the 'empty
12673         paragraph' one.
12674
12675         * text.C (workWidth): small optimization
12676         (getLengthMarkerHeight): use minimal size for negative lengths.
12677
12678 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
12679
12680         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12681
12682         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12683
12684 2001-12-11  André Pönitz <poenitz@gmx.net>
12685
12686         * FontLoader.C:
12687         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12688
12689 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12690
12691         * text2.C: keep selection on a setFont()
12692
12693 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12694
12695         * lyx_cb.C: another bv->text misuse, from insert label
12696
12697 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12698
12699         * kbsequence.h:
12700         * kbsequence.C: re-instate nmodifier mask
12701
12702 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
12703
12704         * lyx_main.h: make lyxGUI private.
12705
12706 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12707
12708         * lyxfind.C: place the cursor correctly on failed search
12709
12710 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12711
12712         * text.C (getLengthMarkerHeight): for small heights, the arrows
12713         are not always on top/bottom of the text
12714         (drawLengthMarker): smaller arrows; take the left margin in
12715         account; draw also vfills.
12716         (paintFirstRow):
12717         (paintLastRow): remove special code for vfill and standard spaces,
12718         since everything is handled in drawLengthMarker now.
12719
12720 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12721
12722         * buffer.C (insertErtContents): try to handle font and language
12723         interaction a bit better.g
12724
12725         * ColorHandler.C (updateColor): change the hash to cover the whole
12726         LColor enum, ws cleanup
12727         (getGCLinepars): ditto
12728         (getGCLinepars): only lookup in the linecache once.
12729
12730 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
12731
12732         * iterators.C (operator++): Make the iterator more robust
12733
12734         * BufferView2.C (removeAutoInsets): Use paragraph iterators
12735         (John's patch)
12736         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12737
12738 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12739
12740         * lyxtext.h:
12741         * text.C: better added space drawing
12742
12743 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12744
12745         * LyXView.C:
12746         * BufferView2.C: fix layout combo update on inset unlock
12747
12748 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12749
12750         * Makefile.am: don't compile unused files
12751
12752 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12753
12754         * lyxfunc.C:
12755         * commandtags.h:
12756         * LyXAction.C: remove old LFUN_LAYOUTNO
12757
12758 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12759
12760         * paragraph_pimpl.h:
12761         * paragraph_pimpl.C: isTextAt() doesn't need font param
12762
12763 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12764
12765         * lyxlex.h:
12766         * lyxlex.C: little cleanup
12767
12768 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12769
12770         * BufferView_pimpl.C: fix insertAscii for insets
12771
12772 2001-12-05  Juergen Vigna  <jug@sad.it>
12773
12774         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12775         set the right font on the "multi" paragraph paste!
12776
12777 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12778
12779         * trans_decl.h:
12780         * trans_mgr.[Ch]:
12781         * trans.[Ch]:
12782         * lyxgluelength.C:
12783         * lyxlength.C: remove out-commented code.
12784
12785         * BufferView_pimpl:
12786         * CutAndPaste.C:
12787         * DepTable.C:
12788         * buffer.C:
12789         * chset.C:
12790         * lastfiles.C:
12791         * lyxlex.C:
12792         * lyxlex_pimpl.C:
12793         * lyxserver.C:
12794         * screen.C:
12795         * tabular-old.C:
12796         * tabular.C:
12797         * text.C:
12798         * trans_mgr.C:
12799         * vc-backend.C: change "while(" to "while ("
12800
12801         * lyxlength.[Ch]: add zero function to check if length is zero or
12802         not
12803         * lyxgluelength.C: use it
12804
12805 2001-12-05  Allan Rae  <rae@lyx.org>
12806
12807         * lyxlength.C: Attempted a fix for the abs(int) header selection.
12808         Works for 2.95.3, from what I understand of Garst's reports this should
12809         work for other g++ versions.  We're screwed if the abs(int) definition
12810         changed between bugfix releases of gcc.
12811
12812 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12813
12814         * text.C: fix chapter label offset !
12815
12816 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12817
12818         * lyxtext.h:
12819         * text.C: fix hfill at end of line, clean up
12820
12821 2001-12-04  Juergen Vigna  <jug@sad.it>
12822
12823         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12824         that we force an update of the inset and it's owners if neccessary.
12825
12826 2001-12-03  Juergen Vigna  <jug@sad.it>
12827
12828         * text.C (rowLast): simplified code
12829
12830 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12831
12832         * lyxfunc.C: fix show options on timeout
12833
12834 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12835
12836         * screen.C (topCursorVisible): scroll half a page when the cursor
12837         reached top of bottom of screen
12838
12839 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
12840
12841         * minibuffer.C: deactivate on loss of focus
12842
12843 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12844
12845         * vspace.[Ch] (operator!=): add operator.
12846
12847 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
12848
12849         * BufferView_pimpl.C: refuse to open an inset when
12850         there's a selection.
12851
12852 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
12853
12854         * BufferView_pimpl.C: allow to click on RHS of full row insets
12855
12856 2001-11-30  Juergen Vigna  <jug@sad.it>
12857
12858         * tabular.C (LyXTabular): add a same_id to set the same id's in the
12859         insets for undo reasons.
12860
12861 2001-11-28  André Pönitz <poenitz@gmx.net>
12862
12863         * vspace.[Ch]: cosmetical changes
12864
12865 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12866
12867         * LyXAction.h:
12868         * LyXAction.C:
12869         * lyxfunc.h:
12870         * lyxfunc.C:
12871         * kbmap.h:
12872         * kbmap.C:
12873         * lyxrc.C:
12874         * kbsequence.h:
12875         * kbsequence.C: part re-write of old kb code
12876
12877         * Painter.C:
12878         * WorkArea.C: remove Lgb_bug_find_hack
12879
12880 2001-11-30  José Matos <jamatos@fep.up.pt>
12881
12882         * buffer.C (makeDocBookFile): add a comment to point a hack.
12883         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12884         Fixed a double write of labels.
12885
12886 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12887
12888         * LaTeX.C:
12889         * LaTeX.h Fixed bug in LaTeX class where it would not
12890         re-run latex if no depfiles were changed, but the .dvi was removed.
12891
12892 2001-11-28  André Pönitz <poenitz@gmx.net>
12893
12894         * all the files from the change on 2001/11/26:
12895         use lyx::layout_type instead of LyXTextClass::size_type
12896         use lyx::textclass_type instead of LyXTextClassList::size_type
12897
12898 2001-11-29  Juergen Vigna  <jug@sad.it>
12899
12900         * text.C: added support for paragraph::isFreeSpacing()
12901
12902         * buffer.C: same as above
12903
12904         * paragraph.h: inserted isFreeSpacing() function to enable
12905         FreeSpacing inside InsetERT.
12906
12907         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12908         of the paragraph's in the cut/copy buffer to 0!
12909
12910         * text2.C (removeRow): remove the assert as it can!
12911
12912         * lyxtext.h: added helper function firstRow returning firstrow and
12913         made firstrow private again.
12914
12915         * BufferView2.C (lockInset): don't relock if we're already locked!
12916
12917         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12918         the only paragraph.
12919         (removeRow): added Assert::(firstrow)
12920
12921         * debug.C: forgot to add INSETTEXT here.
12922
12923 2001-11-28  Juergen Vigna  <jug@sad.it>
12924
12925         * sp_spell.C (initialize): changed error text to more general
12926         spellchecker command use (not only ispell!)
12927
12928         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12929
12930         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12931
12932 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12933
12934         * vspace.C: initialise lyxgluelength on failure
12935
12936 2001-11-28  Allan Rae  <rae@lyx.org>
12937
12938         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12939         declaration & definition that looks like a function declaration.
12940
12941 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12942
12943         * BufferView2.C (copy):
12944         (copyEnvironment): do not clear the selection when doing a copy.
12945
12946         * text.C (paintFirstRow): compilation fix
12947
12948 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
12949
12950         * tabular.C (Latex): correct line count when writing latex.
12951
12952 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
12953
12954         * paragraph_pimpl.h:
12955         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12956           bug a bit
12957
12958 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12959
12960         * text.C:
12961         * LColor.h:
12962         * LColor.C: change vfillline->added_space
12963
12964         * text.C: add markers and text for added space
12965
12966         * vspace.C: fix comment
12967
12968 2001-11-28  André Pönitz <poenitz@gmx.net>
12969
12970         * paragraph.C: whitespace changes
12971         * all the other files from the change on 2001/11/26:
12972         change *::pos_type into lyx::pos_type
12973
12974 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
12975
12976         * buffer.C (parseSingleLyXformat2Token): Set the language to the
12977         language of the document when inserting error insets.
12978
12979 2001-11-26  André Pönitz <poenitz@gmx.net>
12980
12981         * BufferView_pimpl.[Ch]:
12982         *       CutAndPaste.C:
12983         * buffer.[Ch]:
12984         * lyxcursor.[Ch]:
12985         * lyxfind.C:
12986         * lyxfunc.C:
12987         * lyxrow.[Ch]:
12988         * paragraph.[Ch]:
12989         * paragraph_pimpl.[Ch]:
12990         * sp_spell.C:
12991         * text.C:
12992         * text2.C: reduce header dependencies, introduce type for positions
12993
12994 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12995
12996         * <various>: change to use Alert.h
12997
12998 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
12999
13000         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13001         when encountering an unknown token.
13002         (readLyXformat2): Show an error message if there were unknown tokens.
13003
13004 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
13005
13006         * BufferView2.C:
13007         * BufferView_pimpl.C:
13008         * buffer.C:
13009         * paragraph.h:
13010         * text.C:
13011         * text2.C: use par->isInset()
13012
13013 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13014
13015         * paragraph_pimpl.h:
13016         * paragraph_pimpl.C: cleanup
13017
13018 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13019
13020         * text2.C (removeRow):
13021         * text.C (setHeightOfRow): remove useless (and costly) call to
13022         getRow.
13023
13024 2001-11-20  Allan Rae  <rae@lyx.org>
13025
13026         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13027         Now need Inset*::checkInsertChar() to return true for appropriate
13028         cases so that the characters in the minibuffer will actually be
13029         inserted.
13030
13031 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13032
13033         * text.C: change the order of the includes.
13034         (workWidth): initialize it at once.
13035         (workWidth): make maxw unsigned
13036         (setHeightOfRow): remove unused variable (inset)
13037         (selectSelectedWord): remove unused variable (inset)
13038         (paintRowText): fix drawing of hfill characters, and clean up a bit.
13039
13040 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13041
13042         * lyxserver.C (emergencyCleanup): do not try to close pipes if
13043         server is not running.
13044         (openConnection):
13045         (closeConnection): add debug info when server is disabled.
13046
13047         * ColorHandler.C (getGCForeground): send debug message to GUI
13048         channel.
13049
13050         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13051
13052         * kbmap.C (bind): modify because return conventions of
13053         kb_sequence::parse have changed.
13054
13055         * kbsequence.C (parse): only ignore spaces and not any stupid
13056         control character. This avoids tests like s[i] <= ' ', which are
13057         guaranteed to fail with 8bit characters and signed chars.
13058         Change return code to string::npos when there have been no error
13059         (0 was a bad idea when error is at first character)
13060
13061 2001-11-14  José Matos  <jamatos@fep.up.pt>
13062
13063         * buffer.h:
13064         * buffer.C (simpleDocBookOnePar): removed unused argument.
13065
13066 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13067
13068         * text.C (selectNextWordToSpellcheck): do not test explicitely for
13069         insets which are part of a word. Paragraph::isLetter takes care of
13070         that now. Use Paragraph::isInset to identify insets.
13071         (selectSelectedWord): do not test for hyphenation break.
13072
13073         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13074         that protected spaces are considered as spaces.
13075
13076         * paragraph.C (isLetter): cleanup the code for ispell extras; use
13077         Inset::isLetter.
13078
13079 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
13080
13081         * lyxserver.h:
13082         * lyxserver.C: fix it. and small cleanup.
13083
13084 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13085
13086         * BufferView_pimpl.C: use inline helpers
13087
13088         * LaTeXFeatures.h:
13089         * LaTeXFeatures.C: fix typos
13090
13091         * Spacing.h:
13092         * Spacing.C: move spacing_string into class
13093
13094         * ToolbarDefaults.C: move stuff into namespace anon
13095
13096         * layout.h: update enum
13097
13098         * lyxfunc.C: use better debug
13099
13100         * minibuffer.h: fix typo
13101
13102         * debug.h:
13103         * debug.C:
13104         * WorkArea.C: add and use Debug::WORKAREA
13105
13106         * lyxtext.h:
13107         * text.C:
13108         * text2.C: code re-organisation, inline helpers
13109
13110 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
13111
13112         * Layout.C: replaced a few cases of std::vector.size() == 0 with
13113         std::vector.empty().
13114
13115 2001-11-09  Allan Rae  <rae@lyx.org>
13116
13117         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13118         '\n's after tables.  Tabular and ERT inset work now makes this no
13119         longer necessary.
13120
13121 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13122
13123         * minibuffer.h:
13124         * minibuffer.C: fix crash, improve drop-down completion
13125
13126 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
13127
13128         * lyxserver.h:
13129         * lyxserver.C: invalidate fd's when doing endPipe()
13130
13131 2001-11-08  José Matos  <jamatos@fep.up.pt>
13132
13133         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13134         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13135
13136         * paragraph.h:
13137         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13138
13139 2001-11-07  José Matos  <jamatos@fep.up.pt>
13140
13141         * buffer.h:
13142         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13143         const qualifier.
13144
13145         * buffer.C (sgmlOpenTag):
13146         * buffer.C (sgmlCloseTag): removed debug info.
13147
13148         * buffer.h (sgmlOpenTag):
13149         * buffer.h (sgmlCloseTag): made public.
13150
13151 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13152
13153         * buffer.C (saveParamsAsDefaults):
13154         * lyx_cb.C (MenuLayoutSave): remove
13155
13156         * LyXAction.C (init):
13157         * commandtags.h:
13158         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13159
13160 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13161
13162         * buffer.C (setPaperStuff): removed from here...
13163
13164         * bufferparams.C (setPaperStuff): ... and moved there.
13165
13166 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
13167
13168         * minibuffer.h:
13169         * minibuffer.C:
13170         * XFormsView.C: add support for drop-down completion
13171
13172 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
13173
13174         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13175         commands.
13176
13177 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13178
13179         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13180         disabled.
13181
13182 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
13183
13184         * lyx_main.C: change ref to known bugs
13185
13186 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
13187
13188         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13189         to work around older babel problems.
13190
13191 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13192
13193         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13194
13195 2001-10-24  Juergen Vigna  <jug@sad.it>
13196
13197         * tabular-old.C (ReadOld): below variable changes reflected.
13198
13199         * tabular.[Ch]: added ltType struct for longtable header/footer
13200         defines and changed all instances where they are used. Added
13201         future support for double top/bottom rows.
13202
13203 2001-10-24  José Matos  <jamatos@fep.up.pt>
13204
13205         * buffer.h (docbookHandleCaption):
13206         * buffer.C (docbookHandleCaption): removed unused function.
13207         (makeDocBookFile): moved docbook supported version to v4.1.
13208
13209 2001-10-24  José Matos  <jamatos@fep.up.pt>
13210
13211         * tabular.h:
13212         * tabular.C (docbookRow): new function to export docbook code of a row.
13213         (DocBook): now honors the longtable flags.
13214
13215 2001-10-23  José Matos  <jamatos@fep.up.pt>
13216
13217         * LaTeXFeatures.h:
13218         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13219         of the lyx defined sgml entities used in a docbook/linuxdoc document.
13220
13221         * buffer.C (makeLinuxDocFile):
13222         (makeDocBookFile): reworked the preamble, more clean, and with
13223         support for lyx defined entities. Changed the document declaration
13224         to be more XML friendly.
13225
13226         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13227         if we need to output XML that should be done with a filter.
13228
13229 2001-10-22  Juergen Vigna  <jug@sad.it>
13230
13231         * sp_pspell.h (class PSpell): add alive function needed in the
13232         controller to see if the spellchecker could be started.
13233
13234 2001-10-22  Juergen Vigna  <jug@sad.it>
13235
13236         * buffer.C (insertStringAsLines): modify the font for inserting
13237         chars in certain conditions by calling checkInsertChar(font).
13238
13239 2001-10-19  Juergen Vigna  <jug@sad.it>
13240
13241         * text.C (workWidth): use getRow instead of wrong algorithm.
13242         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13243
13244 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
13245
13246         * lyxserver.h:
13247         * lyxserver.C:
13248         * lyx_main.h:
13249         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13250
13251 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13252
13253         * text.C (workWidth): do not search for the exact row when
13254         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13255         optimization for big documents.
13256
13257 2001-10-18  Juergen Vigna  <jug@sad.it>
13258
13259         * text.C (workWidth): new function with added Inset * parameter.
13260
13261 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13262
13263         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13264
13265         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13266         change return type of getColumnNearX.
13267
13268
13269         * text.C (changeRegionCase): use uppercase/lowercase instead of
13270         toupper/tolower.
13271         (leftMargin):
13272         (rightMargin): simplify code by factoring out the uses of
13273         textclasslist.
13274         (labelFill):
13275         (numberOfHfills):
13276         (setHeightOfRow):
13277         (appendParagraph): use Paragraph::size_type
13278
13279 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13280
13281         * vspace.C (asLatexString): add a missing break
13282
13283 2001-10-15  Herbert Voss  <voss@perce.de>
13284
13285         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13286
13287 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13288
13289         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13290         is not available.
13291
13292 2001-10-10  André Pönitz <poenitz@gmx.net>
13293
13294         * lyxfunc.C: removed greek_kb_flag.
13295
13296 2001-10-10  Herbert Voss  <voss@perce.de>
13297
13298         * lyx_main.C: delete global string help_lyxdir.
13299
13300 2001-10-09  Herbert Voss  <voss@perce.de>
13301
13302         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13303
13304         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13305
13306         * lyx_main.C: added global string help_lyxdir.
13307
13308         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13309
13310 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13311
13312         * lyxrc.C (set_font_norm_type): support iso8859-4
13313
13314 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
13315
13316         * LaTeX.C (deplog): add another regex for MikTeX
13317
13318 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13319
13320         * lyxrc.C (set_font_norm_type): support iso8859-3
13321
13322 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13323
13324         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13325
13326         * LaTeXFeatures.C: remove special case of french and index
13327
13328         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13329         before \begin{document}). This solves several incompatibilities.
13330
13331 2001-10-03  Garst Reese  <reese@isn.net>
13332
13333         * lyx_cb.C: change CheckTex error msg.
13334
13335 2001-10-03  José Matos  <jamatos@fep.up.pt>
13336
13337         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13338
13339 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13340
13341         * .cvsignore: update
13342
13343         * lyx_main.C (commandLineVersionInfo): use new style version info.
13344
13345         * buffer.C (writeFile):
13346         (makeLaTeXFile):
13347         (makeLinuxDocFile):
13348         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13349
13350         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13351
13352         * version.h: update to use stuff in version.C
13353
13354         * version.C.in: new file. Contains version information determined
13355         at compile time. This is a merging of version.h and
13356         version_info.h.in.
13357
13358 2001-10-03  Juergen Vigna  <jug@sad.it>
13359
13360         * BufferView_pimpl.C (update): don't change "dirty" status in
13361         updateInset call.
13362
13363 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
13364
13365         * WorkArea.C (c-tor): re-position version string slightly.
13366
13367 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
13368
13369         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13370         revert to previous code.
13371
13372         WorkArea.[Ch]: (show, destroySplash): methods removed.
13373
13374         WorkArea.C: rework code so that it's an amalgam of the codes before and
13375         after the splash screen was moved to WorkArea.
13376
13377 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13378
13379         * lyxrc.C (read):
13380         * vspace.C (inPixels):
13381         (lyx_advance):
13382         * kbmap.C (bind):
13383         * buffer.C (insertStringAsLines):
13384         (asciiParagraph): fix types to be large enough
13385
13386         * lyxlex_pimpl.h: change member status from short to int
13387
13388         * layout.h: fix type of endlabeltype
13389
13390         * kbmap.C (bind):
13391         * kbsequence.C (parse): change return type to string::size_type
13392
13393         * LaTeX.C (updateBibtexDependencies): comment out unneeded
13394         variable
13395
13396         * Bullet.C (bulletSize):
13397         (bulletEntry): do not use short ints as parameters
13398
13399         * BufferView2.C (insertLyXFile): change a char to an int.
13400
13401         * WorkArea.C (WorkArea): remove unneeded floats in computation
13402
13403 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
13404
13405         * buffer.C (asciiParagraph): Treat '\\' as other chars.
13406
13407         * paragraph.C (asString): Do not ignore newline/hfill chars when
13408         copying to the clipboard.
13409
13410 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
13411
13412         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13413         after a multi-line inset.
13414
13415 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
13416
13417         * paragraph.C (validate): Set NeedLyXFootnoteCode
13418
13419 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13420
13421         * lyxfont.C (LyXSizeNames): changed increase-error to increase
13422         and decrease-error to decrease.
13423
13424 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13425
13426         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13427         it more readable (should be equivalent)
13428
13429 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13430
13431         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13432
13433 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13434
13435         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13436         of a cursor (row, etc.) after a character has been deleted
13437         (deleteEmptyParagraphMechanism): call the method above on _all_
13438         cursors held by the LyXText when a double space has been
13439         detected/deleted.
13440
13441 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13442
13443         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13444         pixmap.
13445         (resizeCurrentBuff): remove code to destroy the old splash dialog.
13446
13447         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13448         background. Use greyOut() and the new show() methods to toggle between
13449         the foreground and background. Add code to remove the splash after
13450         its initial showing.
13451
13452         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13453         (create_forms): no longer call Dialogs::showSplash.
13454
13455 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13456
13457         * .cvsignore: add version_info.h
13458
13459 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13460
13461         * version_info.h.in: new file
13462
13463         * Makefile.am: add version_info.h.in
13464
13465         * lyx_main.C (commandLineVersionInfo): use version_info defined in
13466         version_info.h instead of VERSION_INFO
13467
13468 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
13469
13470         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13471         The ERT inset now returns string().
13472
13473 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
13474
13475         * lyxtext.h, text.C (selectNextWord): renamed as
13476         selectNextWordToSpellcheck.
13477
13478         * text.C (selectNextWordToSpellcheck): Modified to not select
13479         words inside an ERT inset.
13480
13481 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13482
13483         * lyx_cb.C (MenuLayoutSave): change a bit the question
13484
13485         * sp_base.h: include <sys/types.h>
13486
13487 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
13488
13489         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13490
13491 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
13492
13493         * several files: fix typos in user-visible strings
13494
13495 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13496
13497         * text2.C (pasteSelection): do not set the selection, since it
13498         will be cleared later. Actually, the intent was to fix the way the
13499         selection was set, but I figured rmoving the code was just as good.
13500
13501 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
13502
13503         * FontLoader.C (available): Check if font is available without
13504         loading the font.
13505
13506 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
13507
13508         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13509
13510 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
13511
13512         * lyxrc.[Ch]: added display_graphics variable and associated code.
13513
13514 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13515
13516         * bufferparams.C (hasClassDefaults): new method. Returns true if
13517         the buffer parameters correspond to known class defaults
13518
13519 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
13520
13521         * XFormsView.C (show): set minimum size to the main window.
13522
13523 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13524
13525         * text2.C (copySelection):
13526         (cutSelection):
13527         * lyxfind.C (LyXReplace):
13528         * BufferView_pimpl.C (Dispatch): pass the correct flag to
13529         LyXText::selectionAsString.
13530
13531         * paragraph.C (asString): add "label" argument to the second form
13532
13533         * text2.C (selectionAsString): add "label" argument and pass it to
13534         Paragraph::asString.
13535
13536 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13537
13538         * lyx_main.C (commandLineHelp): remove version information
13539
13540 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
13541
13542         * lyx_main.C: add -version commandline option
13543
13544 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13545
13546         * paragraph.h: make the optional constructor arg required instead.
13547         some modifications to other files because of this.
13548
13549         * minibuffer.C (C_MiniBuffer_peek_event): make it static
13550
13551         * lyxserver.C (C_LyXComm_callback): make it static
13552
13553         * lyx_main.C (error_handler): make it static
13554
13555         * lyx_gui.C (LyX_XErrHandler): make it static
13556
13557         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13558
13559         * WorkArea.C: make the extern "C" methods static.
13560
13561         * Makefile.am (lyx_LDADD): simplify
13562
13563 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13564
13565         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13566         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13567
13568         * LyXAction.C (init):
13569         * lyxfunc.C (dispatch): associated code removal.
13570
13571 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13572
13573         * lyxfont.h (isSymbolFont): shut off warning
13574
13575         * text.C (setHeightOfRow):
13576         (getVisibleRow): fix crash with empty paragraphs which have a
13577         bottom line
13578
13579 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
13580
13581         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13582         code.
13583
13584 2001-09-04  José Matos  <jamatos@fep.up.pt>
13585         * buffer.C
13586         * buffer.h
13587         * tabular.C (docbook): rename docBook method to docbook.
13588
13589 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13590
13591         * Makefile.am: add dependencies to main.o.
13592
13593 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
13594
13595         * FontLoader.C (available): Return false if !lyxrc.use_gui
13596
13597 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
13598
13599         * FontInfo.C (query):
13600         * converter.C (view):
13601         * importer.C (Import):
13602         * exporter.C (Export): Can not -> cannot.
13603
13604 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
13605
13606         * BufferView_pimpl.C: allow to create index inset even if
13607           string is empty
13608
13609 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13610
13611         * buffer.C (getLists): replace boost::tie code with an explicit pair
13612         as boost::tie can break some compilers.
13613
13614         * iterators.h: Added a std:: declaration to the return type of
13615         ParIterator::size.
13616
13617 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
13618
13619         * lyxrc.C: add help for view_dvi_paper_option, default to safe
13620           case.
13621
13622 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
13623
13624         * iterators.[Ch]: New files. Provide paragraph iterators.
13625
13626         * buffer.C (changeLanguage): Use paragraph iterators.
13627         (isMultiLingual): ditto
13628
13629         * BufferView2.C (ChangeInsets): Use paragraph iterators.
13630
13631 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
13632
13633         * FontLoader.C: Support for cmr font.
13634
13635 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
13636
13637         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13638         (available): New method.
13639
13640         * FontInfo.C (getFontname): Use scalable fonts even when
13641         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13642         found.
13643
13644 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13645
13646         * converter.C (Formats::view): reverted! Incorrect fix.
13647
13648 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13649
13650         * converter.C (Formats::view): only output the -paper option
13651         if the dvi viewer is xdvi, thereby fixing bug #233429.
13652
13653 2001-08-23  Herbert Voss  <voss@perce>
13654
13655         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13656
13657 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
13658
13659         * Spacing.h (Spacing): Set space to Default on in the default
13660         constructor.
13661
13662 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13663
13664         * vc-backend.h (RCS::versionString): add RCS to version
13665         (CVS::versionString): add CVS to version
13666
13667         * vc-backend.C (scanMaster): do not add CVS to version.
13668         (scanMaster): do not add RCS to version
13669
13670         * lyxvc.C (versionString): new method
13671
13672         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13673
13674 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13675
13676         * Spacing.C (set): initialize fval
13677
13678 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
13679
13680         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13681         " or \.
13682
13683 2001-08-16  Juergen Vigna  <jug@sad.it>
13684
13685         * lyxfunc.C (dispatch): implemented the new FINISHED states.
13686
13687 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13688
13689         * BufferView_pimpl.C:
13690         * figureForm.C:
13691         * lyxtext.h:
13692         * text2.C: setParagraph takes linespacing now
13693
13694 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
13695
13696         * LyxAction.C: add internal LFUN_CITATION_INSERT
13697
13698         * LyXView.C: actually apply fix
13699
13700         * bufferlist.C: fix open non-existent file
13701
13702         * lyxfind.C: fix indentation
13703
13704         * lyxfunc.C: remove unneeded assert, fix typo
13705
13706 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13707
13708         * MenuBackend.C: use "Floatname List"
13709
13710 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
13711
13712         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13713         when converting LaTeX layout to insetERT.
13714         Generate a non-collapsed float when reading old float
13715
13716 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13717
13718         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13719         ERT insets.
13720
13721 2001-08-13  Juergen Vigna  <jug@sad.it>
13722
13723         * text.C (fill): return 0 instead of 20 as this seems to be the more
13724         correct value.
13725
13726 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13727
13728         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13729         lyxrc.font_norm.
13730
13731 2001-08-13  Juergen Vigna  <jug@sad.it>
13732
13733         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13734         casesensitive off.
13735         (SearchBackward): comment out the unlocking of the inset_owner this
13736         should not be needed!
13737
13738 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
13739
13740         * Many files: Remove inherit_language, and add latex_language
13741
13742         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13743         collapsible insets.
13744
13745 2001-08-10  Juergen Vigna  <jug@sad.it>
13746
13747         * text.C (prepareToPrint): fixed hfill-width in draw!
13748
13749         * BufferView2.C (selectLastWord): save the selection cursor as this
13750         now is cleared in the function LyXText::clearSelection!
13751
13752 2001-08-08  Juergen Vigna  <jug@sad.it>
13753
13754         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13755         BACKSPACE type functions.
13756
13757         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13758         is only cutted from the document but not put in the cut-buffer, where
13759         still the old stuff should be.
13760
13761         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13762
13763         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13764
13765         * tabular.C (SetWidthOfCell): fixed special case where the width
13766         was not updated!
13767         (LeftLine): handle '|' in align_special.
13768         (RightLine): ditto
13769         (LeftAlreadyDrawed): ditto
13770         (SetWidthOfCell): ditto
13771
13772 2001-08-07  Juergen Vigna  <jug@sad.it>
13773
13774         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13775
13776 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13777
13778         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13779         * lyxlex.[hC]: ditto
13780
13781 2001-08-06  Juergen Vigna  <jug@sad.it>
13782
13783         * text.C (getVisibleRow): fix up row clearing a bit.
13784
13785 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13786
13787         * minibuffer.C: make sure the X server sees the changes in the input.
13788
13789 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13790
13791         * paragraph.C (getFont): split into...
13792         (getLabelFont): this
13793         (getLayoutFont): and this
13794         * paragraph_pimpl.C (realizeFont): calling this
13795
13796         * text2.C (getFont): split into...
13797         (getLayoutFont): this
13798         (getLabelFont): and this
13799         (realizeFont): all three calling this
13800
13801         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13802         files where used.
13803
13804 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13805
13806         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13807
13808 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
13809
13810         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13811         layouts from the Quote inset insertion.
13812
13813 2001-08-03  Juergen Vigna  <jug@sad.it>
13814
13815         * BufferView_pimpl.C (update): do the fitCursor only at the end!
13816
13817         * screen.C (drawFromTo): don't call fitcursor here and do the loop
13818         only if status not is already CHANGED_IN_DRAW (second level).
13819
13820         * text.C (draw): don't set the need_break_row when inside an
13821         InsetText LyXText.
13822
13823 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13824
13825         * buffer.C (parseSingleLyXformat2Token): handle more latex
13826         conversion cases.
13827
13828         * bufferview_funcs.[hC]: change function names to
13829         begin with small char, adjust other files.
13830
13831 2001-08-02  André Pönitz <poenitz@gmx.net>
13832
13833         * lyxfunc.C:
13834         BufferView_pimpl.C: remove broken special code for math-greek
13835
13836 2001-08-02  Juergen Vigna  <jug@sad.it>
13837
13838         * BufferView_pimpl.C (update): redone this function so that we
13839         update the text again if there was a CHANGE_IN_DRAW.
13840
13841         * screen.C (cursorToggle): removed LyXText parameter and recoded.
13842         (drawFromTo): added a new internal bool which is used by draw() and
13843         redraw() function.
13844         (general): some cursor drawing problems fixed.
13845
13846 2001-08-01  Juergen Vigna  <jug@sad.it>
13847
13848         * lyxfind.C (LyXFind): fixed
13849         (SearchForward): ditto
13850         (SearchBackward): ditto
13851
13852         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13853         spurius drawing of the cursor in the main area.
13854
13855         * text2.C (status): small fix which could lead to a segfault!
13856         (clearSelection): remove unneeded BufferView param.
13857
13858 2001-08-01  André Pönitz <poenitz@gmx.net>
13859
13860         * lyxfunc.C: small change due to changed mathed interface
13861
13862 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13863
13864         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13865
13866 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
13867
13868         * lyxfunc.c: fail gracefully if file doesn't exist
13869
13870         * LyXSendto.C:
13871         * buffer.C:
13872         * lyxfunc.C:
13873         * BufferView_pimpl.C: IsDirWriteable() proto changed
13874
13875         * LyXView.C: fix updateWindowTitle() to store the last title
13876
13877 2001-07-31  Juergen Vigna  <jug@sad.it>
13878
13879         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13880         the font (wrong since using of Paragraph::highestFontInRange).
13881
13882         * paragraph.C (highestFontInRange): added a default_size parameter.
13883
13884         * text.C (getVisibleRow): minor clear row changes (still not perfect).
13885         (setHeightOfRow): reformat
13886
13887 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13888
13889         * converter.[hC] + affected files: move to (inital-char)lowercase
13890         function names.
13891
13892         * ParagraphParameters.C (ParagraphParameters): remove commented code
13893
13894         * PainterBase.[Ch]: remove commented code
13895
13896         * LaTeXFeatures.h: add "bool floats" for float.sty
13897
13898         * LaTeXFeatures.C (LaTeXFeatures): init floats
13899         (require): handle float
13900         (getPackages): do it with floats
13901
13902 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13903
13904         * BufferView_pimpl.C (Dispatch): improve handling of
13905         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13906
13907         * commandtags.h: #include lyxfont.h here temporarily to avoid
13908         keybinding bug.
13909
13910         * bufferlist.h: include LString.h here.
13911
13912 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13913
13914         * text2.C (getStringToIndex): new method.
13915
13916 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
13917
13918         * *: Reduced header file dependencies all over.
13919
13920 2001-07-30  Baruch Even  <baruch@lyx.org>
13921
13922         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13923
13924 2001-07-29  Baruch Even  <baruch@lyx.org>
13925
13926         * buffer.C (readInset): Changed GRAPHICS to Graphics.
13927
13928 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13929
13930         * ParameterStruct.h (endif): add a default constructor to make
13931         sure that all variables is initialized.
13932
13933         * ParagraphParameters.C (ParagraphParameters): adjust
13934
13935 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13936
13937         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13938         index; also, check that there is something to index, and that it
13939         does not span over several paragraphs.
13940         (doubleClick): use WHOLE_WORD_STRICT for double click.
13941
13942         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13943
13944         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13945         scheme.
13946
13947 2001-07-26  Baruch Even  <baruch@lyx.org>
13948
13949         * buffer.C (readInset): Changed to call up InsetGraphics when reading
13950         an InsetFig figure, backwards compatible reading of old figure code.
13951
13952 2001-07-27  Juergen Vigna  <jug@sad.it>
13953
13954         * text2.C: font.realize function adaption.
13955
13956         * text.C (draw): add a warnings lyxerr text if needed.
13957
13958         * layout.C: font.realize function adaption.
13959
13960         * language.C: add inherit_language and implement it's handlings
13961
13962         * bufferview_funcs.C (StyleReset): remove language parameter from
13963         font creation (should be language_inherit now).
13964
13965         * bufferparams.C (writeFile): handle ignore_language.
13966
13967         * paragraph.C (getFontSettings): the language has to be resolved
13968         otherwise we have problems in LyXFont!
13969
13970         * lyxfont.C (lyxWriteChanges): added document_language parameter
13971         (update): removed unneeded language parameter
13972
13973         * paragraph.C (validate): fixed wrong output of color-package when
13974         using interface colors for certain fonts in certain environments,
13975         which should not seen as that on the final output.
13976
13977 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
13978
13979         * BufferView_pimpl.C:
13980         * Thesaurus.h:
13981         * Thesaurus.C:
13982         * Makefile.am:
13983         * commandtags.h:
13984         * LyXAction.C: add thesaurus support
13985
13986         * lyxfind.h:
13987         * lyxfind.C: add "once" parameter, for thesaurus, to not
13988           move to the next match
13989
13990 2001-07-26  Juergen Vigna  <jug@sad.it>
13991
13992         * lyxfont.C (realize): honor ignore_language too!
13993         (resolved): ditto.
13994
13995         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13996
13997         * text.C (draw): one place more for ignore_language to not draw
13998         itself!
13999
14000 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
14001
14002         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14003
14004 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14005
14006         * buffer.C (parseSingleLyXformat2Token): a more general fix for
14007         the minipage conversion problem.
14008
14009 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14010
14011         * buffer.C (parseSingleLyXformat2Token): check minipage if we
14012         insert an inset.
14013
14014 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14015
14016         * BufferView.h: don't forward declare WorkArea
14017
14018         * BufferView.C: don't include WorkArea.h
14019
14020 2001-07-25  André Pönitz <poenitz@gmx.net>
14021
14022         * commandtags.h:
14023         * LyXAction.C:
14024         * lyxfunc.C:  new LFUN 'math-space'
14025
14026         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14027
14028 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14029
14030         * text2.C (toggleInset): call open/close
14031
14032 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14033
14034         * lyxfunc.C (dispatch): add debug for the disabled case
14035
14036         * font.C (buttonText): make similar to rectText
14037
14038         * buffer.C (readInset): comment out parsing of insetlist and
14039         insttheorem
14040
14041         * PainterBase.C (rectText): small correction
14042
14043         * BufferView_pimpl.C: comment out insettheorem and insetlist
14044         * LyXAction.C: ditto
14045         * commandtags.h: ditto
14046
14047 2001-07-24  Juergen Vigna  <jug@sad.it>
14048
14049         * text.C (draw): honor the ignore_language.
14050
14051         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14052
14053 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14054
14055         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14056         char inset.
14057
14058 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14059
14060         * lyxtext.h: remove unused (and unimplemented) methods
14061
14062 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14063
14064         * text.C (getVisibleRow): honor background color
14065
14066         * PainterBase.h:
14067         * Painter.h: remove default color argument for fillRectangle
14068
14069         * text.C (backgroundColor): new method
14070
14071 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14072
14073         * text.C (getVisibleRow): adjust
14074
14075         * font.[Ch] (rectText): new method, metrics
14076         (buttonText): new method, metrics
14077
14078         * PainterBase.[hC]: make rectText and buttonText always draw and take
14079         fewer paramteres.
14080
14081 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14082
14083         * ToolbarDefaults.C (read):
14084         * MenuBackend.C (read): allow escaping in all strings
14085
14086         * BufferView_pimpl.C (insertAndEditInset): new method.
14087         (Dispatch): use insertAndEditInset whenever appropriate.
14088
14089         * BufferView_pimpl.C (insertNote): removed
14090
14091         * BufferView_pimpl.C (smartQuote): new method, moved from
14092         BufferView; if an insetquote cannot be inserted, insert a '"'
14093         character instead.
14094
14095         * BufferView2.C: remove insertCorrectQuote();
14096
14097         * lyxfunc.C (getStatus): Add support for all remaingin
14098         inset-insert lfuns.
14099
14100         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14101
14102         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14103         command (necessary to pass " as parameter of self-insert.
14104
14105         * text.C (selectWordWhenUnderCursor):
14106         (selectWord): add word_location parameter
14107         (selectWordWhenUnderCursor): same + remove special code for word
14108         boundary.
14109         (selectNextWord): use kind() to guess type of insetspecialchar,
14110         not latex().
14111
14112         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14113         (insertErtContents): create ert insets as collapsed.
14114         (readInset): better compatibility code for Info inset.
14115
14116 2001-07-20  Juergen Vigna  <jug@sad.it>
14117
14118         * lyxfunc.C (dispatch): use always LyXFind now!
14119
14120         * text2.C (init): add a reinit flag so that the LyXText can be
14121         reinited instead of deleted and reallocated (used in InsetText).
14122
14123         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14124
14125         * text.C: ditto
14126
14127         * text2.C: ditto
14128
14129 2001-07-18  Juergen Vigna  <jug@sad.it>
14130
14131         * text.C (selectNextWord): handle insets inside inset by calling
14132         always the bv->text functions so that we can go up the_locking_inset!
14133
14134         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14135         in strange locations when inside an inset!
14136
14137         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14138         handling to include insets.
14139
14140         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14141
14142 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14143
14144         * LyXAction.C (init):
14145         * commandtags.h:
14146         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14147         LIGATURE_BREAK, since the name is so stupid.
14148
14149 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14150
14151         * buffer.C (readInset): enable reading of new InsetNotes as well as old
14152         InsetInfos.
14153
14154         * FontLoader.C: remove FORMS_H_LOCATION cruft.
14155
14156         * sp_form.[Ch]: remove.
14157
14158         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14159
14160         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14161         InsetInfo.
14162
14163         * src/buffer.C (readInset): ditto.
14164
14165 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14166
14167         * BufferView_pimpl.C (specialChar): new method. Obsoletes
14168         menuSeparator(), endOfSentenceDot(), ldots() and
14169         hyphenationPoint(), which are therefore removed.
14170         (Dispatch): handle LFUN_HYPHENATION_BREAK.
14171
14172         * LyXAction.C (init):
14173         * commandtags.h: add LFUN_HYPHENATION_BREAK.
14174
14175         * paragraph.C (getWord): removed.
14176
14177         * BufferView_pimpl.C (Dispatch): use last word or selection for
14178         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14179
14180         * lyx_main.C (queryUserLyXDir): do not ask before creating
14181         user_dir, except if it has been named explicitely.
14182
14183 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14184
14185         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14186         a document of zero size.
14187
14188 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
14189
14190         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14191         approriately in the c-tor and in require().
14192         (getPackages): output the appropriate LaTeX for natbib support.
14193
14194         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14195         variables "use_natbib" and "use_numerical_citations" when reading the
14196         LyX file.
14197         (readInset): read the various natbib cite commands.
14198         (validate): white-space change.
14199
14200         * bufferparams.[Ch]: new variables "bool use_natbib" and
14201         "bool use_numerical_citations".
14202         (writeFile): output them in the LyX file.
14203
14204 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14205
14206         * lyxfunc.C (getStatus): add support for all the inset insertion
14207         commands.
14208
14209         * text2.C (insertInset):
14210         * paragraph.C (insetAllowed):
14211         * BufferView_pimpl.C (insertInset): update to take in account the
14212         renaming of insertInsetAllowed
14213
14214         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14215
14216         * text2.C (getInset): new method. returns inset at cursor position.
14217
14218         * BufferView_pimpl.C (Dispatch): changes because of this.
14219
14220         * LyXAction.C (init): rename open-stuff to inset-toggle.
14221
14222         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14223
14224         * text2.C (toggleInset): renamed from openStuff; use
14225         Inset::open().
14226
14227 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
14228
14229         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14230
14231         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14232
14233 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
14234
14235         * buffer.C (readLyXformat2): Add filename to the error dialog
14236
14237 2001-07-18  Juergen Vigna  <jug@sad.it>
14238
14239         * tabular.C (GetCellNumber): put an assert here instead of the check!
14240
14241 2001-07-17  Juergen Vigna  <jug@sad.it>
14242
14243         * BufferView_pimpl.C (toggleSelection): adapted too.
14244
14245         * text.C (selectNextWord): adapted for use with insets.
14246         (selectSelectedWord): ditto
14247
14248 2001-07-17  Juergen Vigna  <jug@sad.it>
14249
14250         * sp_spell.C (PSpell): fix initialitation order.
14251
14252 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14253
14254         * paragraph.C: spacing
14255
14256 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
14257
14258         * sp_spell.C: repair language selection for pspell
14259
14260 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14261
14262         * lyxfunc.h: change more methods to begin with lower char.
14263
14264 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
14265
14266         * buffer.C (parseSingleLyXformat2Token): Generate error insets
14267         for unknown layouts.
14268
14269 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
14270
14271         * buffer.C (readLyXformat2): Generate an error dialog if there are
14272         unknown layouts.
14273
14274 2001-07-16  Juergen Vigna  <jug@sad.it>
14275
14276         * sp_spell.C: always compile ISpell part.
14277
14278         * lyxrc.C: added use_pspell entry and it's handling.
14279
14280 2001-07-13  Juergen Vigna  <jug@sad.it>
14281
14282         * sp_spell.C: removed double includes.
14283
14284 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
14285
14286         Consistent use of Lsstream.h:
14287         * Lsstream.h: added using std::stringstream for consistencies sake.
14288
14289         * buffer.C: removed using std::stringstream
14290
14291         * lyxfont.C (stateText):
14292         * paragraph.C (asString):
14293         * text.C (selectNextWord, selectSelectedWord):
14294         * text2.C (setCounter):
14295         * vspace.C (asString, asLatexString):
14296         std::ostringstream -> ostringstream.
14297
14298 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14299
14300         * LyXAction.C: add LFUN_HELP_ABOUTLYX
14301         * commandtags.h: add LFUN_HELP_ABOUTLYX
14302         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14303
14304 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14305
14306         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14307         cursorToggle()
14308         * lyx_gui_misc.C: remove spellchecker
14309         * lyxfunc.C: showSpellchecker
14310         * sp_base.h: added
14311         * sp_ispell.h: added
14312         * sp_pspell.h: added
14313         * sp_spell.C: added
14314         * sp_form.[Ch]: removed
14315         * spellchecker.[Ch]: removed
14316
14317 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
14318
14319         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14320         is set.
14321         (simpleTeXSpecialChars): Simply print the input character without
14322         any special translation if pass_thru is set.
14323
14324         * layout.h: Added bool pass_thru to layout class for being able to
14325         implement pass through of a paragraph for Literate Programming.
14326
14327         * layout.C: add LT_PASS_THRU to LayoutTags enum.
14328         * layout.C (LyXLayout): set pass_thru to flase in constructor.
14329         * layout.C (Read): add "passthru" to list of layout tags and add
14330         code to set the pass_thru boolean when it is read.
14331
14332 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14333
14334         * trans_decl.h: remove allowed from KmodInfo
14335
14336         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14337         remove allowed code
14338         (Load): adjust
14339
14340         * paragraph_pimpl.C (erase): use boost::prior
14341
14342         * Painter.C (text): use data() instead of c_str() when length is
14343         also provided.
14344         * WorkArea.C (putClipboard): ditto
14345         * font.h (width): ditto
14346
14347         * BufferView2.C: use it-> instead of (*it). for iterators
14348         * texrow.C: ditto
14349         * paragraph_pimpl.C: ditto
14350         * paragraph.C: ditto
14351         * minibuffer.C: ditto
14352         * language.C: ditto
14353         * kbmap.C: ditto
14354         * encoding.C: ditto
14355         * counters.C: ditto
14356         * converter.C: ditto
14357         * chset.C: ditto
14358         * Variables.C: ditto
14359         * TextCache.C: ditto
14360         * MenuBackend.C: ditto
14361         * LyXAction.C: ditto
14362         * LColor.C: ditto
14363         * FloatList.C: ditto
14364         * DepTable.C: ditto
14365         * ColorHandler.C (LyXColorHandler): ditto
14366
14367 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14368
14369         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14370
14371         * text2.C (openStuff): reintroduce this method (which had been
14372         nuked in NEW_INSETS frenzy).
14373
14374         * lyxfunc.C (Dispatch): when an action has not been handled, use
14375         its name in the error message, not its number.
14376
14377         * paragraph.C (inInset): change method name to begin with lowercase.
14378
14379         * undo_funcs.C:
14380         * text2.C: updates because of this.
14381
14382 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14383
14384         * ToolbarDefaults.C (add): add spaces in error message
14385
14386 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14387
14388         * buffer.C (readLyXformat2): initialize the ert comp. variables.
14389         (readLyXformat2): rename return_par to first_par, use lyxlex's
14390         pushToken and remove the manual push handling.
14391         (parseSingleLyXformat2Token): add another ert comp. variable:
14392         in_tabular, rename return_par to first_par. handle newlines better
14393
14394 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14395
14396         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14397
14398 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14399
14400         * text2.C (getParFromID): removed
14401
14402         * buffer.C (getParFromID): new method moved form lyxtext.
14403         * BufferView2.C (insertErrors): adjust
14404         (setCursorFromRow): adjust
14405         * BufferView_pimpl.C (restorePosition): adjust
14406         * lyxfunc.C (Dispatch): adjust
14407         * undo_funcs.C (textUndo): adjust
14408         (textRedo): adjust
14409         (textHandleUndo): adjust
14410         (textHandleUndo): adjust
14411
14412 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14413
14414         * buffer.C: up' the LYX_FORMAT
14415
14416         * lyxfont.h: turn NO_LATEX on as default
14417
14418         * buffer.C (insertErtContents): new methods of tex style compability.
14419         (parseSingleLyXformat2Token): use it several places.
14420         * tabular.C (OldFormatRead): and here
14421
14422 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14423
14424         * text2.C: remove some commented code.
14425         reindent file.
14426
14427         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14428         * trans.C: changes because of the above.
14429
14430 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
14431
14432         * text2.C (setCounter): Fix counters bug with bibliography layout.
14433
14434 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14435
14436         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14437         own member functions
14438         (simpleTeXSpecialChars): ditto
14439
14440 2001-07-06  Juergen Vigna  <jug@sad.it>
14441
14442         * a lot of files: changed the access to LyXText::status and the
14443         call of undo-functions.
14444
14445         * undo.[Ch]: added a inset_id to the undo informations.
14446
14447         * undo_funcs.[Ch]: added and moved here all undo functions.
14448
14449         * lyxtext.h: give the status enum a weight, made status_ a private
14450         variable and made accessor functions for it, removed the whole bunch
14451         of undo-functions as they are now in their own file, make some
14452         functions publically available. Added function ownerParagraph with
14453         int parameter.
14454
14455         * paragraph.[Ch]: added "bool same_ids" to the constructor,
14456         made InInset() a const function, added getParFromID() function.
14457
14458         * buffer.[Ch]: added const version for inset_iterator functions,
14459         added getInsetFromID() function.
14460
14461         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14462         changed undo functions for new version.
14463
14464 2001-07-05  Juergen Vigna  <jug@sad.it>
14465
14466         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14467         unknow mechanism does not call the proper constructor but only this
14468         one also if I request the other!?
14469
14470 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14471
14472         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14473
14474         * text2.C (LyXText): use initialization lists.
14475
14476         * lyxtext.h (Selection): initialize set_ and mark_
14477         (init): remove method
14478
14479 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
14480
14481         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14482
14483 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14484
14485         * screen.[Ch]: change method names to begin with lowercase
14486
14487         * BufferView_pimpl.C (updateScrollbar): simplify further and
14488         hopefully make it a bit faster.
14489
14490 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14491
14492         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14493         calling directly xforms functions.
14494
14495         * Painter.C (Painter):
14496         * lyx_cb.C (MenuWrite):
14497         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14498         fl_display.
14499
14500         * lyx_gui.C: remove bogus guiruntime extern declaration.
14501
14502 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14503
14504         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14505         in NEW_INSETS
14506         (redoDrawingOfParagraph): ditto
14507         (redoParagraphs): ditto
14508         (cutSelection): don't create a object for CutAndPaste use the
14509         static method directly
14510         (pasteSelection): ditto
14511
14512         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14513         LyXview (+ rename)
14514
14515 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14516
14517         * modifications to some other files because of this.
14518
14519         * Makefile.am (lyx_SOURCES): add XFormsView
14520
14521         * XFormsView.[Ch]: new files
14522
14523         * LyXView.[Ch]: make LyXView a base class for the gui handling for
14524         the main window. Move the gui dependent stuff to XFormsView
14525
14526 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14527
14528         * tabular.C (GetCellInset): update cur_cell also in the row/col
14529         version of this function.
14530
14531         * lyxfunc.C: no need to include figure_form.h here.
14532
14533         * FontLoader.h:
14534         * lyxfunc.h:
14535         * lyxscreen.h:
14536         * text2.C:
14537         * lyxvc.C: no need to include forms.h here.
14538
14539 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14540
14541         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14542
14543         * lyxfunc.C (Dispatch):
14544         * Spacing.C (set):
14545         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14546         constructor argument.
14547
14548 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14549
14550         * paragraph.C (Paragraph): dont't clear, and just set layout.
14551         (makeSameLayout): use params's copy contructor.
14552
14553         * ParagraphParameters.[Ch] (makeSame): delete method
14554
14555 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
14556
14557         * Variables.[Ch]: fix indentation, rename set to isSet
14558
14559 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14560
14561         * lyxfunc.C (Dispatch): fix typo
14562
14563 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14564
14565         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14566         upper_bound.
14567
14568         * bufferlist.C: include assert.h for emergencyWrite().
14569
14570 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14571
14572         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14573           give up at last (bug #425202) !
14574
14575 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
14576
14577         * lyx_gui_misc.C:
14578         * sp_form.h:
14579         * sp_form.C:
14580         * spellchecker.h:
14581         * spellchecker.C: strip spellchecker options and bring up
14582           preferences tab instead
14583
14584 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14585
14586         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14587         the istringstream constructor
14588
14589 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14590
14591         * paragraph.C (getLayout): fix return value
14592
14593         * paragraph.h: do not declare getLayout as inline.
14594
14595         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14596
14597 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14598
14599         * lyxcursor.h (operator<): new func
14600         (operator>): new func
14601         (operator>=): new func
14602         (operator<=): new func
14603
14604         * text.C (changeCase): use selection.start and selection.end
14605         (changeRegionCase): require from to be <= to. Require par to be a
14606         valid paragraph.
14607
14608         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14609
14610 2001-06-27  Juergen Vigna  <jug@sad.it>
14611
14612         * text.C (cursorLeftOneWord): changed to return the cursor and added
14613         overlay with BufferView * parameter which calls this one.
14614         (getWord): added
14615         (selectWord): use new getWord function.
14616         (changeCase): renamed from changeWordCase as and extended to work
14617         also on selections.
14618
14619         * lyxtext.h: added enum word_location
14620
14621         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14622         changeCase as this operates now also on selections.
14623
14624 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
14625
14626         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14627
14628         * many files: send debug output to Debug::INFO instead of
14629         Debug::ANY.
14630
14631         * converter.C (View):
14632         (Convert):
14633         (Move): send debug output to Debug::FILES instead of console.
14634
14635 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
14636
14637         * lyxfunc.C (getStatus): use func_status
14638
14639         * func_status.h: new header, describing the results of
14640         LyXFunc::getStatus;
14641
14642         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14643         LFUN_MATH_HALIGN.
14644
14645 2001-06-25  The LyX Project  <jug@sad.it>
14646
14647         * buffer.C (sgmlOpenTag):
14648         (sgmlCloseTag):
14649         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
14650
14651 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14652
14653         * text2.C: remove some dead code
14654
14655         * tabular.C (GetCellInset): store the last cell checked (gotten)
14656
14657         * tabular.h: add the helper for the speedup
14658
14659         * lyxtext.h: remove some dead code
14660
14661 2001-06-26  The LyX Project  <Asger>
14662
14663         * paragraph.C: Change export to LaTeX of alignment to
14664         \begin{center} and family for better roundtrip work with reLyX.
14665
14666         * Tune the math drawing a bit.
14667
14668 2001-06-25  The LyX Project  <Asger>
14669
14670         * LColor.C (LColor): New color for math background. New color
14671         for buttons.
14672
14673 2001-06-25  The LyX Project  <jug@sad.it>
14674
14675         * lyxfunc.C (MenuNew): remove extra check for .lyx file
14676
14677         * lyxfunc.C (Open):
14678         * bufferlist.C (newFile): do not restrict to files ending with
14679         .lyx
14680
14681         * BufferView_pimpl.C (MenuInsertLyXFile):
14682
14683 2001-06-24  The LyX Project  <jug@sad.it>
14684
14685         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14686         of compare_no_case
14687
14688 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14689
14690         * lyxtext.h: rename most methods to begin with a small char.
14691         Lots of changes because of this.
14692
14693         * paragraph.C (Paragraph): do not call fitToSize
14694         (erase): call Pimpl::erase
14695         (insertChar): call Pimpl::insertChar
14696         (insertInset): call Pipl::insertInset
14697         (breakParagraph): do not call fitToSize
14698         (breakParagraphConservative): do not call fitToSize
14699         (fitToSize): remove method
14700
14701         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14702
14703 2001-06-24  The LyX Project  <Asger>
14704
14705         * Fix Qt compilation^2
14706
14707 2001-06-24  The LyX Project  <jug@sad.it>
14708
14709         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14710         depthHook(getDepth()-1).
14711
14712         * paragraph.h:
14713         * ParagraphParameters.h:
14714         * ParameterStruct.h: change type of depth to unsigned int ==
14715         depth_type. Many adaptations to other files before of that.
14716
14717 2001-06-24  The LyX Project  <Asger>
14718
14719         * Fix Qt compilation.
14720
14721 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14722
14723         * paragraph.h: renamed several methods to begin with small letter.
14724         several changes to many parts of the code because of this.
14725
14726 2001-06-23  The LyX Project  <jug@sad.it>
14727
14728         * text2.C (InsertStringAsLines): renamed from InsertStringA;
14729         rewritten to discard all double spaces when KeepEmpty is off
14730         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14731         to only handle newlines but not fiddle with spaces and friends.
14732
14733         * lyxfunc.C (MenuNew): when doing 'new from template', use
14734         template_path as default directory
14735
14736 2001-06-23  The LyX Project  <Asger>
14737
14738         * Clean-up of header file includes all over
14739         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14740
14741 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14742
14743         * paragraph.h: renamed from lyxparagraph.h
14744
14745 2001-06-23  Asger  <lyx@violet.home.sad.it>
14746
14747         * Buffer.h: Removed Buffer::resize
14748         * BufferList.h: Removed BufferList::resize
14749         * LyXView.h: Added LyXView::resize. This way, we will only reflow
14750         the document lazily when we change the width, or the font settings.
14751
14752 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14753
14754         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14755
14756 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14757
14758         * buffer.h: remove out of date comment
14759
14760 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14761
14762         * lyxscreen.h:
14763         * screen.C: fix "theoretical" GC leak
14764
14765 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14766
14767         * LaTeX.C (scanAuxFile):
14768         (deplog): remove trailing \r when reading stream (useful under
14769         win32)
14770
14771 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
14772
14773         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14774         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14775         and BufferView::theLockingInset(Inset*), so should use them and not
14776         access bv_->text->the_locking_inset directly.
14777
14778         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14779
14780 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14781
14782         * Makefile.am:
14783         * tex-defs.h: remove old unused file
14784
14785 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
14786
14787         * BufferView_pimpl.C: fix typo, remove minibuffer message
14788           when buffer has loaded
14789
14790 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14791
14792         * lyxfunc.C (Dispatch): use stringstream
14793         (MenuNew): use stringstream
14794         (Open): use stringstream
14795
14796         * importer.C (Import): use stringstream
14797
14798         * bufferview_funcs.C (CurrentState): use stringstream
14799
14800         * LaTeX.C (run): use stringstream
14801
14802         * BufferView_pimpl.C (savePosition): use stringstream
14803         (restorePosition): use stringstream
14804         (MenuInsertLyXFile): use stringstream
14805
14806 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
14807
14808         * BufferView.C:
14809         * Bullet.C:
14810         * ColorHandler.C:
14811         * FontInfo.C:
14812         * FontLoader.C:
14813         * LColor.C:
14814         * LaTeXFeatures.C:
14815         * Painter.C:
14816         * gettext.C:
14817         * lyx_gui_misc.C:
14818         * lyxserver.C:
14819         * vspace.C: removed // -*- C++ -*- as first line.
14820
14821         * lyxfind.h:
14822         * version.h: added // -*- C++ -*- as first line.
14823
14824 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14825
14826         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14827
14828         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14829         of string
14830
14831 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14832
14833         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14834         of floats.
14835
14836 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14837
14838         * gettext.C: include LString.h even when --disable-nls is on.
14839
14840 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
14841
14842         * converter.h (Get): changed argument type from int to
14843         FormatList::size_type to avoid unnecessary conversion.
14844
14845         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14846         before using it.
14847
14848 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14849
14850         * gettext.h: include LString.h even when --disable-nls is on.
14851
14852 2001-06-07  Juergen Vigna  <jug@sad.it>
14853
14854         * text.C (BreakAgain): subst spaces with tabs.
14855
14856         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14857         (resizeInsetsLyXText): set force on resizeLyXText.
14858
14859 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14860
14861         * gettext.h (gettext_init):
14862         (locale_init): use a real definition instead of a macro
14863
14864 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14865
14866         * Bufferview_pimpl.C:
14867         * LColor.h:
14868         * LColor.C: further lcolor tidies
14869
14870 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14871
14872         * BufferView_pimpl.C (updateScrollbar): simplify.
14873
14874         * BufferView2.C: don't include insets/insetinfo.h, change
14875         prototype for insertInset and call the Pimpl version. let
14876         updateInset call Pimpl version.
14877
14878         * BufferView.h: move inset_slept to BufferView::Pimpl, move
14879         gotoInset to BufferView::Pimpl
14880
14881 2001-06-01  Juergen Vigna  <jug@sad.it>
14882
14883         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14884         inside a LockingInset (is the update needed at all?).
14885
14886 2001-05-31  Juergen Vigna  <jug@sad.it>
14887
14888         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14889         here not the old one otherwise how should we compare it afterwards
14890         if it's the same!
14891
14892 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14893
14894         * lyxfont.C:
14895         * tabular.C:
14896         * tabular-old.C:
14897         * FontInfo.C: bring C functions into global namespace when
14898         necessary
14899
14900 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14901
14902         * LString.h: make sure config.h has been loaded before LString.h.
14903
14904         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14905         (one for each char read by EatLine!).
14906
14907         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14908         variables.
14909
14910 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14911
14912         * paragraph.C (BreakParagraph): set the inset_owner in the new par
14913         to the same as the par we break from
14914
14915 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14916
14917         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14918
14919         * MenuBackend.C (expand): also create menu entries for wide
14920         versions of the floats.
14921
14922         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14923
14924         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14925
14926         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14927         frontends/Makefile.am
14928
14929         * text2.C: adjust
14930         * text.C: adjust
14931
14932
14933         * tabular.C (getTokenValue): add std::
14934
14935         * tabular-old.C (getTokenValue): add std::
14936         (getTokenValue): ditto
14937         (getTokenValue): ditto
14938
14939         * screen.C (ToggleSelection): adjust
14940
14941         * lyxtext.h: put selection cursors inside a Selection struct.
14942
14943         * lyxfunc.C (moveCursorUpdate): adjust
14944
14945         * lyxfont.C (latexWriteStartChanges): add std::
14946
14947         * lyxfind.C: adjust
14948
14949         * font.h: delete with(char const *, LyXFont const &)
14950
14951         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14952
14953         * FontInfo.C (getFontname): add std::
14954
14955         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14956         (workAreaButtonPress): adjust
14957         (tripleClick): adjust
14958         (update): adjust
14959         (moveCursorUpdate): adjust
14960         (Dispatch): adjust
14961
14962         * BufferView2.C (gotoInset): adjust
14963
14964 2001-05-30  Juergen Vigna  <jug@sad.it>
14965
14966         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14967         to check pspell I add this as default as I now have new pspell
14968         libraries and they seem to use this.
14969
14970 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14971
14972         * text2.C (CutSelection): make the cursor valid before the call to
14973         ClearSelection.
14974
14975 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14976
14977         * kbsequence.C (parse): de-uglify a bit the parsing code, which
14978         relied on 0 terminated strings and other horrors. Bug found due to
14979         the new assert in lyxstring!
14980
14981         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14982         KP_ keys.
14983
14984 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14985
14986         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14987         to latinkeys.bind.
14988
14989         * lyxfunc.C (processKeySym): change method of getting to the
14990         self-insert char.
14991
14992         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14993         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14994         * BufferView_pimpl.[Ch]: here as private methods.
14995
14996 2001-05-28  Juergen Vigna  <jug@sad.it>
14997
14998         * text.C (SetHeightOfRow): added the update() call again as it is
14999         needed to initialize inset dimensions!
15000
15001 2001-05-16  Juergen Vigna  <jug@sad.it>
15002
15003         * text2.C (SetCharFont): Add new function with BufferView * and
15004         bool toggleall parameters for setting insets internal fonts.
15005         (SetFont): Freeze the undo as we may change fonts in Insets and
15006         all this change should be inside only one Undo!
15007
15008         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15009         setting font's in insets as for them we have the SetFont function!
15010
15011 2001-05-15  Juergen Vigna  <jug@sad.it>
15012
15013         * text2.C (ClearSelection): to be sure we REALLY don't have any
15014         selection anymore!
15015
15016         * tabular.C (TeXCellPreamble): fixed the left border problem for
15017         multicolumn cells.
15018
15019 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
15020
15021         * LaTeX.C (deplog): Make sure that the main .tex file is in the
15022         dependancy file
15023
15024 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15025
15026         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15027         LFUN_BREAKPARAGRAPH.
15028
15029         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15030         help test to "internal only", similar for LFUN_INSERT_URL
15031
15032         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15033         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15034         auto_region_delete and deadkeys.
15035
15036 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
15037
15038         * LColor.h:
15039         * LColor.C: remove some dead entries, tidy a little
15040
15041 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15042
15043         * lyxfunc.C (processKeySym): comment the Escape handling, remove
15044         commented code.
15045         (Dispatch): implement LFUN_ESCAPE
15046
15047         * commandtags.h: add LFUN_ESCAPE
15048
15049         * LyXAction.C (init): add entry for LFUN_ESCAPE
15050
15051         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15052         Remove commented code.
15053         (insertNote): moved here
15054         (open_new_inset): moved here
15055
15056         * BufferView[2].[Ch]: move insertNote and open_new_inset to
15057         BufferView_pimpl
15058
15059 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15060
15061         * kbmap.C (findbinding): clean it up and make it work correctly.
15062
15063         * lyx_main.C (init): do not pass argc and argv as parameters
15064
15065 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
15066
15067         * buffer.C: fix path for OS/2 & Win32
15068
15069         * lyx_gui.C:
15070         * lyx_main:
15071         * lyx_main.C: Added os:: class.
15072
15073         * os2_defines.h: update
15074
15075 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15076
15077         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15078         better by trying again with reduced state.
15079
15080 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15081
15082         * lyxrc.C (read): print error about invalid key sequence only when
15083         debugging (because not all latinX keysyms are known to some X
15084         servers)
15085
15086         * kbsequence.C (getiso): add a few std:: qualifiers
15087         (getiso): comment out extra return statement.
15088
15089 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15090
15091         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15092         handling.
15093         (Dispatch): enhance the accent inset a bit. (not perfect)
15094
15095 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15096
15097         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15098
15099 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15100
15101         * bufferlist.C (emergencyWrite): fix assert() call
15102
15103 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
15104
15105         * text.C (InsertChar): Added trivial patch to only send the "you
15106         can not do multiple spaces this way" message once during a
15107         session.
15108
15109 2001-05-08  Baruch Even  <baruch@lyx.org>
15110
15111         * Makefile.am: Changed order of libraries to get LyX to link properly
15112         with the gnome frontend.
15113
15114 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15115
15116         * LaTeXFeatures.h: add a std:: qualifier
15117
15118 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15119
15120         * paragraph.C (String): use stringstream
15121
15122 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15123
15124         * paragraph.C (writeFile): remove footflag arg
15125
15126         * buffer.C (makeLaTeXFile): use stringstream
15127         (latexParagraphs): remove footnot gurba
15128
15129         * LaTeXFeatures.C (getPackages): use stringstream
15130         (getMacros): likewise
15131         (getTClassPreamble): likewise
15132         (getFloatDefinitions): new method
15133
15134         * paragraph.C (writeFile): reindent
15135         (Erase): reindent
15136
15137         * WorkArea.h: revert the xpos + etc changes.
15138
15139         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15140
15141         * lyxparagraph.[Ch]: add copy constructor, remove Clone
15142
15143         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15144         (pasteSelection): likewise
15145         * text2.C (CreateUndo): likewise
15146
15147 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15148
15149         * minibuffer.C (peek_event): temporarily reduce the functionality
15150         of the minibuffer (to allow args on lfuns)
15151
15152         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15153         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15154
15155         * buffer.C (readInset): add compability reading of old float
15156         lists, add reading of new style float list.
15157         (readInset): avoid reevaluation of inscmd.getCmdName()
15158         (getLists): reindent
15159
15160         * MenuBackend.C (MenuItem): implement parsing of
15161         md_floatlistinsert and md_floatinsert.
15162         (expand::LastFiles): move initalizaton of iterators out of loop,
15163         avoid reevaluation.
15164         (expand::Documents): introduce typdedef vector<string> Strings,
15165         and use it.
15166         (expand::ExportFormats): introduce typedef vector<Format const *>
15167         Formats, and use it.
15168         (expand): implement FloatListInsert and FloatInsert.
15169
15170         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15171         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15172         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15173
15174         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15175         handling.
15176         (Dispatch::LFUN_FLOAT_LIST): implement
15177
15178 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15179
15180         * LaTeX.C (run): Fix problem with --export code.
15181
15182 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15183
15184         * BufferView.[Ch] (workarea): removed.
15185         (getClipboard) new method; wrapper for workarea()->getClipboard()
15186
15187         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15188         bug.
15189
15190         * WorkArea.h (width, height, xpos, ypos): These methods all
15191         returned the dimensions of the work_area sub-area of WorkArea,
15192         resulting in a position error if the WorkArea were resized. Now
15193         return the dimensions of the entire WorkArea.
15194
15195         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15196
15197 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15198
15199         * LaTeX.C (deplog): correct the syntax of regex reg1
15200
15201 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15202
15203         * undo.C: remove !NEW_INSETS cruft
15204
15205 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15206
15207         * text2.C: remove !NEW_INSETS cruft
15208
15209         * text.C: remove !NEW_INSETS cruft
15210
15211         * tabular.C: remove !NEW_INSETS cruft
15212
15213         * spellchecker.C: remove !NEW_INSETS cruft
15214
15215         * lyxtext.h: remove !NEW_INSETS cruft
15216
15217         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15218
15219         * lyxfunc.C: remove !NEW_INSETS cruft
15220
15221         * lyxfind.C: remove !NEW_INSETS cruft
15222
15223         * lyx_cb.C: remove !NEW_INSETS cruft
15224
15225         * figureForm.C: remove  !NEW_INSETS cruft
15226
15227         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15228
15229         * buffer.[Ch]: remove !NEW_INSETS cruft
15230
15231         * ToolbarDefaults.C: remove !NEW_INSETS cruft
15232
15233         * CutAndPaste.C: remove !NEW_INSETS cruft
15234
15235         * BufferView_pimpl.C: remove !NEW_INSETS cruft
15236
15237         * BufferView2.C: remove !NEW_INSETS cruft
15238
15239         * BufferView.h: remove !NEW_INSETS cruft
15240
15241 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15242
15243         * Lsstream.h: include LString.h before the sstream headers to
15244         fix problem with gcc 2.95.3 and lyxstring
15245
15246 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15247
15248         * lyx_main.C: add using directives when needed for C functions
15249         declared in std:: namespace.
15250
15251 2001-04-27  Juergen Vigna  <jug@sad.it>
15252
15253         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15254         (SetHeightOfRow): comment out the update call should not be needed!
15255
15256 2001-04-13  Juergen Vigna  <jug@sad.it>
15257
15258         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15259         (LyXTabular): tried to minimize operator= operations (and realized
15260         hopfully Lars wish).
15261
15262 2001-04-27  Juergen Vigna  <jug@sad.it>
15263
15264         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15265
15266 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15267
15268         * lyxfunc.C (Dispatch): hack to make listof algorithm work
15269
15270         * buffer.C (readInset): hack to make listof algorithm work
15271
15272         * BufferView_pimpl.C: hack to make listof algorithm work
15273
15274 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15275
15276         * LyXAction.C: removed all !NEW_INSETS cruft
15277         (init): moved lfun_item in method
15278
15279         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15280
15281 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15282
15283         * BufferView2.C (theLockingInset): white space.
15284
15285 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15286
15287         * minibuffer.C: include <iostream>
15288
15289         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15290
15291         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15292
15293         * commandtags.h: add LFUN_TRANSPOSE_CHARS
15294
15295         * text.[Ch] (TransposeChars): new method
15296
15297 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15298
15299         * call message directly through LyXView instead of through LyXFunc
15300         * BufferView2.C: adjust
15301         * BufferView_pimpl.C: adjust
15302         * FontLoader.C: adjust
15303         * buffer.C: adjust
15304         * bufferview_funcs.C: adjust
15305         * converter.C: adjust
15306         * figureForm.C: adjust
15307         * importer.C: adjust
15308         * lyx_cb.C: adjust
15309         * lyx_gui_misc.C: adjust
15310         * lyxfunc.C: adjust
15311         * lyxvc.C: adjust
15312         * text2.C: adjust
15313         + more files in subdirs
15314
15315         * lyxparagraph.h (size): move up int file
15316         (GetLayout): ditto
15317
15318         * adjust all uses of Assert to lyx::Assert.
15319
15320         * BufferView2.C (ChangeCitationsIfUnique): adjust for
15321         lyxfunctional in namespace lyx
15322         * layout.C (hasLayout): ditto
15323         (GetLayout): ditto
15324         (GetLayout): ditto
15325         (delete_layout): ditto
15326         (NumberOfClass): ditto
15327         * converter.C (GetFormat): ditto
15328         (GetNumber): ditto
15329         (Add): ditto
15330         (Delete): ditto
15331         (SetViewer): ditto
15332         * bufferlist.C (getFileNames): ditto
15333         (emergencyWriteAll): ditto
15334         (exists): ditto
15335         (getBuffer): ditto
15336         * MenuBackend.C (hasSubmenu): ditto
15337         (hasMenu): ditto
15338         (getMenu): ditto
15339         * BufferView_pimpl.C (getInsetByCode): ditto
15340
15341 2001-04-18  Juergen Vigna  <jug@sad.it>
15342
15343         * vspace.C (asLatexString): fixed the 100% problem.
15344
15345 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15346
15347         * lyxfunc.C (Dispatch):
15348         * minibuffer.C:
15349         * minibuffer.h: add a few std:: qualifiers
15350
15351 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15352
15353         * minibuffer.[Ch]: reimplement so that commands is initiated and
15354         run from lyxfunc, simplified som handling, and made the completion
15355         and history code for complete. wip.
15356
15357         * lyxfunc.C (processKeySym): call message
15358         (miniDispatch): new temporary method
15359         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15360         (LFUN_MESSAGE): implement
15361         (LFUN_MESSAGE_PUSH): implement
15362         (LFUN_MESSAGE_POP): implement
15363         (initMiniBuffer): the initial/defualt minibuffer message.
15364
15365         * lyxfont.[Ch]: inline some more getters
15366
15367         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15368
15369         * lyx_gui_misc.[Ch] (WriteStatus): remove method
15370
15371         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15372         (AutoSave): use LFUN_MESSAGE
15373         (Reconfigure): ditto
15374
15375         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15376
15377         * figureForm.C: use LFUN_MESSAGE
15378
15379         * converter.C (runLaTeX): use LFUN_MESSAGE
15380
15381         * bufferview_funcs.C: use LFUN_MESSAGE
15382         (Melt): ditto
15383         (changeDepth): ditto
15384
15385         * bufferparams.h: use boost::
15386
15387         * bufferlist.h: inherit privately from noncopyable
15388
15389         * bufferlist.C (loadLyXFile): remove some commented code.
15390
15391         * buffer.C (runChktex): use LFUN_MESSAGE
15392
15393         * ShareContainer.h: inherit privately from noncopyable
15394
15395         * ParagraphParameters.[hC] (depth): inline it.
15396
15397         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15398         methods.
15399         (message): new method
15400         (messagePush): ditto
15401         (messagePop): ditto
15402         (show): init minibuffer
15403         (showState): direct call
15404
15405         * LaTeX.[Ch]: inherit privately from noncopyable
15406         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15407         instead of WriteStatus.
15408
15409         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15410
15411         * BufferView_pimpl.C (buffer): don't init minibuffer
15412         (workAreaButtonPress): use LFUN_MESSAGE
15413         (workAreaButtonRelease): ditto
15414         (savePosition): ditto
15415         (restorePosition): ditto
15416         (MenuInsertLyXFile): ditto
15417         (workAreaExpose): don't init minibuffer
15418         (update): remove commented code, simplify
15419
15420         * BufferView2.C (openStuff): use LFUN_MESSAGE
15421         (toggleFloat): ditto
15422         (menuUndo): ditto
15423         (menuRedo): ditto
15424         (copyEnvironment): ditto
15425         (pasteEnvironment): ditto
15426         (copy): ditto
15427         (cut): ditto
15428         (paste): ditto
15429         (gotoInset): ditto
15430         (updateInset): remove some commented code
15431
15432         * lastfiles.h: inherit privately from noncopyable
15433         * layout.h: ditto
15434         * lyx_gui.h: ditto
15435         * lyx_main.h: ditto
15436         * lyxlex.h: ditto
15437         * lyxlex_pimpl.h: ditto
15438
15439         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15440         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15441         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15442
15443         * LyXAction.h: inherit privately from noncopyable, add methods
15444         func_begin, func_end, returning iterators to the func map.
15445
15446         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15447         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15448         (func_begin): new method
15449         (func_end): new method
15450
15451         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15452         and not)
15453         (copySelection): ditto
15454         (pasteSelection): ditto
15455
15456         * BufferView.C: whitespace change
15457         * BufferView.h: inherit privately from noncopyable
15458
15459 2001-04-16  Allan Rae  <rae@lyx.org>
15460
15461         * tabular-old.C (l_getline):
15462         * spellchecker.C (sc_check_word):
15463         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15464         an unrecognised preprocessor directive.  So ensure they're wrapped.
15465
15466 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
15467
15468         * src/exporter.C (Export): Give an error message when path to file
15469         contains spaces.
15470
15471 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
15472
15473         * LaTeX.C (deplog): Always check that foundfile exists.
15474
15475 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15476
15477         * lyx_main.h:
15478         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15479
15480 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15481
15482         * tabular.[Ch] (getLabelList): implement new method
15483
15484         * minibuffer.h: comment ouf setTiimer
15485
15486         * minibuffer.C (ExecutingCB): constify res
15487         (peek_event): constify s
15488         (Set): constify ntext
15489         (Init): constify nicename
15490
15491         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15492
15493         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15494         (savePosition): use two params to Minibuffer::Set
15495         (restorePosition): ditto
15496
15497 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15498
15499         * lyx_main.C: include language.h
15500
15501         * Makefile.am (lyx_main.o): add language.h
15502
15503 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15504
15505         * exporter.C:
15506         * paragraph.C:
15507         * screen.C:
15508         * tabular.C:
15509         * CutAndPaste.C: include gettext.h
15510
15511         * lyxfont.h: remove old hack with ON and OFF.
15512
15513         * lyxparagraph.h:
15514         * lyxfont.h: do not include language.h...
15515
15516         * BufferView2.C:
15517         * LaTeXFeatures.C:
15518         * Painter.C:
15519         * bufferview_funcs.C:
15520         * font.C:
15521         * lyxfont.C:
15522         * text.C:
15523         * text2.C:
15524         * trans_mgr.C:
15525         * paragraph.C: ... but do it here instead
15526
15527 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15528
15529         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15530
15531         * tabular.C: small reformat
15532
15533         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15534         NEW_INSETS version
15535         (GetChar): ditto
15536         (BreakParagraph): ditto
15537         (SetOnlyLayout): ditto
15538         (SetLayout): ditto
15539
15540         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15541         with one arg less.
15542
15543         * lastfiles.C: removed most using decl, add std:: where needed
15544
15545         * buffer.C: ws changes
15546
15547         * MenuBackend.C (class compare_format): put into anon namespace
15548         (expand): constify label, names, action, action2
15549         (expand):
15550
15551         * text.C (SingleWidth): constify font
15552         (IsBoundary): constify rtl2
15553         (GetVisibleRow): constify ww
15554
15555         * LaTeX.C (deplog): constify logfile
15556
15557         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15558         start_x, end_x
15559         (workAreaExpose): constify widthChange, heightChange
15560
15561         * lyxrow.C (par): moved
15562         (height): moved
15563         (next): moved
15564         * lyxrow.h: as inlines here
15565
15566         * lyxfont.h (shape): moved from lyxfont.C
15567         (emph): moved from lyxfont.C
15568
15569         * lyxfont.C (LyXFont): use initialization list for all
15570         constructors
15571         (shape): move to lyxfont.h as inline
15572         (emph): move to lyxfont.h as inline
15573
15574
15575 2001-04-04  Juergen Vigna  <jug@sad.it>
15576
15577         * vspace.C: had to include stdio.h for use of sscanf
15578
15579 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
15580
15581         * BufferView.h:
15582         * BufferView_pimpl.h: remove xforms cruft. Both classes are
15583         independent of xforms.
15584
15585 2001-04-02  Juergen Vigna  <jug@sad.it>
15586
15587         * spellchecker.C: fixed namespace placing!
15588
15589 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
15590
15591         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15592         the LyXParagraph * is 0.
15593
15594 2001-03-29  Juergen Vigna  <jug@sad.it>
15595
15596         * vspace.C: added support for %, c%, p%, l%.
15597         (stringFromUnit): added helper function.
15598         (asLatexString): changed to give right results for the %-values.
15599
15600         * buffer.C: convert the widthp in a width%.
15601
15602 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
15603
15604         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15605         figureForm.[Ch].
15606
15607         * figureForm.[Ch]: stripped the FD_from_figure manipulation
15608         code out of lux_cb.[Ch], ready for its (imminent?) removal.
15609
15610         * lyx_cb.[Ch]: see above.
15611
15612         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15613         form1.[Ch].
15614
15615         * form1.[Ch]:
15616         * lyx.[Ch]: replaced by figure_form.[Ch].
15617
15618         * lyx_gui.C:
15619         * lyx_gui_misc.C:
15620         * lyxfunc.C: changed headers associated with above changes.
15621
15622 2001-03-27  Juergen Vigna  <jug@sad.it>
15623
15624         * BufferView_pimpl.C: set the temporary cursor right!
15625
15626 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
15627
15628         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15629
15630 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
15631
15632         * LString.h: removed "using std::getline"!
15633
15634         * BufferView_pimpl.C (Dispatch): changes due to changes in
15635         InsetInclude::Params.
15636
15637         * buffer.C (tag_name): removed redundant break statements as they were
15638         producing lots of warnings with my compiler.
15639
15640 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15641
15642         * LString.h: add "using std::getline" when using the real <string>.
15643
15644 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
15645
15646         * buffer.C: removed bitset usage.
15647         PAR_TAG moved to an anonymous name space.
15648         (tag_name): new funtion, also in the anonymous namespace.
15649         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15650         (makeDocBookFile): clean code. Completed transition from string arrays
15651         to string vectors.
15652         (SimpleDocBookOnePar): code clean.
15653
15654 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15655
15656         * tabular.C: add some comments.
15657
15658 2001-03-22  Juergen Vigna  <jug@sad.it>
15659
15660         * buffer.C (parseSingleLyXformat2Token): redone the minipage
15661         compatibility read a bit and fixed bug with minipage in different
15662         depth.
15663
15664 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
15665
15666         * buffer.C (pop_tag): removed.
15667         (push_tag): removed.
15668         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15669         array replaced with vector. Added support for CDATA sections.
15670         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15671         at any nest level.
15672         (makeDocBookFile): XML conformant declaration of CDATA section,
15673         fixed bug related to <emphasis> in the first paragraph char.
15674         (sgmlOpenTag): exclude empty tags.
15675         (sgmlCloseTag): ditto.
15676
15677         * buffer.h (pop_tag): removed.
15678         (push_tag): removed.
15679
15680 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
15681
15682         * language.h (Languages): added size_type and size().
15683
15684 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15685
15686         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15687         response on compability reading of minipages. One probliem is that
15688         the old usage of minipages was «flertydig»
15689
15690         * several files here and in subdirs: don't use static at file
15691         scope use anon namespaces instead.
15692
15693 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
15694
15695         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15696         LaTeX output. This is necessary for Literate document
15697         processing.
15698
15699 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15700
15701         * buffer.C: insert hfill when needed.
15702
15703         * tabular.C (l_getline): use string::erase, small whitespace change.
15704
15705         * BufferView_pimpl.C: try the anon namespace.
15706         * WorkArea.C: ditto
15707
15708 2001-03-16  Juergen Vigna  <jug@sad.it>
15709
15710         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15711         otherwise it won't open options-dialogs.
15712
15713         * buffer.C: honor pextraWidth(p) on converting minipages.
15714
15715         * tabular.C (l_getline): changed the functions to strip trailing \r.
15716
15717 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
15718
15719         * BufferView_pimpl.C:
15720         * minibuffer..C: added "using SigC::slot" declaration.
15721
15722 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15723
15724         * lyxlex_pimpl.h: noncopyable is in namespace boost.
15725
15726         * text2.C: ditto
15727
15728         * text.C: ditto
15729
15730         * paragraph.C: ditto
15731
15732         * lyxtext.h: NO_PEXTRA
15733
15734         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15735
15736         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15737         * ParameterStruct.h: ditto
15738         * ParagraphParameters.h: ditto
15739         * lyxparagraph.h: ditto
15740
15741 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15742
15743         * buffer.C: add compability for minipage alignment.
15744         (latexParagraphs): remove unwanted pextra check.
15745
15746         * several files: remove CXX_WORKING_NAMESPACES
15747
15748         * buffer.C (pop_tag): tie is in namespace boost
15749
15750         * BufferView.h: noncopyable is in namespace boost
15751         * lyxlex.h: ditto
15752         * lyx_main.h: ditto
15753         * lyx_gui.h: ditto
15754         * layout.h: ditto
15755         * lastfiles.h: ditto
15756         * bufferlist.h: ditto
15757         * ShareContainer.h: ditto
15758         * LyXView.h: ditto
15759         * LyXAction.h: ditto
15760         * LaTeX.h: ditto
15761
15762 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15763
15764         * Merging changes from BRANCH_MVC back into HEAD.
15765
15766         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15767
15768 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
15769
15770         * BufferView_pimpl.C: change from intl.C
15771
15772         * combox.h:
15773         * combox.C:
15774         * Makefile.am: move combox.*
15775
15776         * form1.h:
15777         * form1.C:
15778         * lyx_gui.C:
15779         * intl.h:
15780         * intl.C: remove dialog (covered by prefs)
15781
15782 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15783
15784         * lyxfunc.C (Dispatch): removed redundant break statement.
15785
15786 2001-03-14  Juergen Vigna  <jug@sad.it>
15787
15788         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15789
15790 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15791
15792         * buffer.C: add hack to fix compability reading of minipages.
15793
15794 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
15795
15796         * buffer.C (getLists): Cleanup.
15797
15798 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15799
15800         * lyxfont.C (update): don't honor toggleall on font size.
15801
15802 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
15803
15804         * bmtable.c:
15805         * bmtable.h:
15806         * Makefile.am: moved to frontends/xforms/
15807
15808         * lyx_gui_misc.C:
15809         * lyxfunc.C:
15810         * BufferView_pimpl.C: changes for moved mathpanel
15811
15812 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15813
15814         * gettext.h: fix gettext_init() in --disable-nls
15815
15816 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15817
15818         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15819
15820 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
15821
15822         * lyx.C:
15823         * lyx.h: strip external form
15824
15825 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15826
15827         * BufferView_pimpl.C: add comment, destroySplash()
15828
15829 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15830
15831         * BufferView_pimpl.C:
15832         * LyXAction.C:
15833         * buffer.C:
15834         * commandtags.h:
15835         * lyxfunc.C: use re-worked insetinclude
15836
15837 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15838
15839         * buffer.C: add using std::stringstream.
15840
15841         * lyx_cb.C: readd using std::ios.
15842
15843         * buffer.C: add using std::map.
15844
15845         * BufferView_pimpl.C: add using std::vector.
15846
15847         * ShareContainer.h: add std:: to swap.
15848
15849         * buffer.h: add some typedefs
15850         * buffer.C (getLists): use them
15851         (getLists): renamed from getTocList.
15852         add a counter for the different float types and use it in the
15853         generated string.
15854         (getLists): use the same counter for the NEW_INSETS and the "non"
15855         NEW_INSETS
15856
15857         * lyx_cb.h: remove unused items, includes, using etc.
15858
15859         * ShareContainer.h: remove some commented code, add more comments
15860         and "documentation".
15861
15862 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15863
15864         * buffer.C (getTocList): make the list also when NEW_INSETS is
15865         defined.
15866
15867         * buffer.h: remove TocType
15868
15869         * buffer.C (getTocList): change to return a map<string,
15870         vector<TocItem> >, implement for dynamic number of list.
15871
15872         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15873         * text2.C (PasteSelection): adjust
15874         * CutAndPaste.C (pasteSelection): adjust
15875
15876         * FloatList.C (FloatList): update from the new_insets branch.
15877         * Floating.[Ch]: ditto
15878         * LaTeXFeatures.C: ditto
15879         * buffer.C: ditto
15880         * lyxlex_pimpl.C: ditto
15881
15882         * paragraph.C (Last): remove when NEW_INSETS is defined.
15883
15884         * other file: changes because of the above.
15885
15886 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15887
15888         * lyxparagraph.h: rename next to next_, previous to previous_,
15889         make them private for NEW_INSETS. Rename Next() to next(),
15890         Previous() to previous().
15891
15892         * other files: changes because of the above.
15893
15894 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
15895
15896         * BufferView.h:
15897         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15898         problem.
15899
15900 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15901
15902         * main.C (main): pass lyx_localedir to gettext_init().
15903
15904         * gettext.h: remove locale_init and gettext_init macros
15905
15906         * gettext.C (locale_init): new function
15907         (gettext_init): new function
15908
15909         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15910         setlocale().
15911
15912 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
15913
15914         * Moved credits to frontends:
15915         * credits.[Ch]: removed
15916         * credits_form.[Ch]: removed
15917         * lyx_gui_misc.C: remove credits stuff
15918         * Makefile.am:
15919
15920 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15921
15922         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15923
15924         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15925         unneeded destructor.
15926
15927         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15928         a standalone pointer again.
15929
15930         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15931
15932 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
15933
15934         * Makefile.am:
15935         * filedlg.h:
15936         * filedlg.C:
15937         * LyXAction.C:
15938         * ToolbarDefaults.C:
15939         * bufferlist.C:
15940         * commandtags.h:
15941         * form1.C:
15942         * form1.h:
15943         * lyx_cb.C:
15944         * lyx_cb.h:
15945         * lyxfunc.h:
15946         * lyxfunc.C:
15947         * BufferView_pimpl.C: use new file dialog in GUII
15948
15949         * lyx_cb.h:
15950         * lyx_cb.C: remove LayoutsCB to Toolbar
15951
15952 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15953
15954         * ShareContainer.h (get): add std:: qualifier
15955
15956 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15957
15958         * ShareContainer.h: define a proper ShareContainer::value_type
15959         type (and use typename to please compaq cxx)
15960
15961 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15962
15963         * lyxparagraph.h: move serveral local vars to
15964         ParameterStruct/ParagraphParameters., use ShareContainer in
15965         FontTable., make vars in FontTable private and add getter and
15966         setter.
15967
15968         * paragraph.C: changes because of the above.
15969
15970         * lyxfont.h: remove copy constructor and copy assignment. (the
15971         default ones is ok), move number inside FontBits. move inlines to
15972         lyxfont.C
15973
15974         * lyxfont.C: add number to initializaton of statics, move several
15975         inlines here. constify several local vars. some whitespace
15976         cleanup. Dont hide outerscope variables.
15977
15978         * Spacing.h: add two new constructors to match the set methods.
15979
15980         * ShareContainer.h: new file, will perhaps be moved to support
15981
15982         * ParameterStruct.h: new file
15983
15984         * ParagraphParameters.h: new file
15985
15986         * ParagraphParameters.C: new file
15987
15988         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15989         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15990
15991         * BufferView_pimpl.C: ParagraphParameter changes.
15992         * buffer.C: Likewise.
15993         * bufferview_funcs.C: Likewise.
15994         * text.C: Likewise.
15995         * text2.C: Likewise.
15996
15997 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15998
15999         * lyxfind.C (LyXReplace): do not redefine default argument in
16000         implementation.
16001         (IsStringInText): ditto
16002         (SearchForward): ditto
16003         (SearchBackward): ditto
16004
16005 2001-03-06  Juergen Vigna  <jug@sad.it>
16006
16007         * lyxfind.C (IsStringInText): put parentes around expressions.
16008
16009 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
16010
16011         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16012
16013 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
16014
16015         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16016
16017         * stl_string_fwd.h: add comment
16018
16019         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16020
16021         * tabular.h:
16022         * tabular.C: remove unused DocBook methods
16023
16024         * intl.C:
16025         * language.C:
16026         * paragraph.C:
16027         * buffer.C:
16028         killed DO_USE_DEFAULT_LANGUAGE
16029
16030 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16031
16032         * lyx_gui.C: do not include language.h.
16033
16034         * bufferview_funcs.C (ToggleAndShow): do not provide optional
16035         arguments in function implementation.
16036
16037 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16038
16039         * BufferView_pimpl.C: add <ctime>
16040
16041 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16042
16043         * BufferView_pimpl.C: add using std::find_if
16044
16045 2001-02-27  José Matos  <jamatos@fep.up.pt>
16046
16047         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16048         by OnlyPath.
16049
16050 2001-02-11  José Matos  <jamatos@fep.up.pt>
16051
16052         * buffer.C (makeDocBookFile): command styles now have a parameter as
16053         "title" by default.
16054
16055 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
16056
16057         * layout_forms.[Ch]: removed
16058         * lyx_cb.[Ch]: out character
16059         * lyx_gui.C: out character
16060         * lyx_gui_misc.C: out character
16061         * bufferview_funcs.C: : out character,
16062         added toggleall as parameter in ToggleAndShow
16063
16064 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
16065
16066         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16067
16068         * text2.C (SetCurrentFont): Disable number property at boundary.
16069
16070 2001-02-26  Juergen Vigna  <jug@sad.it>
16071
16072         * lyxfunc.C (getStatus): added a string argument override function so
16073         that this is correctly called from LyXFunc::Dispatch if it contains a
16074         do_not_use_argument which is used!
16075         (Dispatch): added check for "custom" export and call appropriate func.
16076
16077 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
16078
16079         * lyxrc.C: Add language_command_local, language_use_babel and
16080         language_global_options.
16081
16082         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16083
16084         * buffer.C (makeLaTeXFile): Use language_use_babel and
16085         language_global_options.
16086
16087 2001-02-23  Juergen Vigna  <jug@sad.it>
16088
16089         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16090         which works with LyXText and putted it inside BufferView. Here now we
16091         only call for that part the BufferView::Dispatch() function.
16092
16093         * BufferView.C (Dispatch): added.
16094
16095         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16096         functions which needs to use a LyXText over from LyXFunc.
16097         (MenuInsertLyXFile): added
16098         (getInsetByCode): added
16099         (moveCursorUpdate): added
16100         (static TEXT): added
16101
16102 2001-02-22  Juergen Vigna  <jug@sad.it>
16103
16104         * BufferView_pimpl.C (update): call a status update to see if LyXText
16105         needs it.
16106
16107 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16108
16109         * vc-backend.C (revert): implement for CVS
16110         (getLog): implement for CVS
16111
16112 2001-02-20  Juergen Vigna  <jug@sad.it>
16113
16114         * text2.C (ClearSelection): added BufferView param for inset_owner call
16115
16116         * lyxfunc.C (TEXT): added this function and use it instead of
16117         directly owner->view()-text of getLyXText().
16118
16119 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
16120
16121         * src/layout_forms.C: out preamble
16122         * src/layout_forms.h: out preamble
16123         * src/lyx_cb.C: out preamble
16124         * src/lyx_cb.h: out preamble
16125         * src/lyx_gui.C: out preamble
16126         * src/lyx_gui_misc.C: out preamble
16127         * src/lyxfunc.C: connect with guii preamble
16128
16129 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
16130
16131         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16132
16133 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
16134
16135         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16136         whether to run bibtex.
16137
16138 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
16139
16140         * Makefile.am (lyx_SOURCES): Remove BackStack.h
16141
16142 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
16143
16144         * Makefile.am (lyx_SOURCES): removed bibforms.h
16145
16146         * vspace.h: doxygen
16147
16148         * text.C (GetVisibleRow): make several local vars const
16149
16150         * tabular.C: small cleanup.
16151
16152         * lyxserver.C (callback): use compare instead of strncmp
16153
16154         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16155         inlines to after class or to paragraph.C
16156
16157         * lyxfont.h: remove friend operator!=
16158
16159         * converter.h: move friend bool operator< to non friend and after
16160         class def.
16161
16162         * combox.h: small cleanup
16163
16164         * buffer.h: doxygen, remove unused constructor, move inclas inlies
16165         to inlines after class def.
16166
16167         * buffer.C (pop_tag): use string operations instead of strcmp
16168
16169         * bmtable.c: doxygen, small cleanup
16170
16171         * LaTeX.h: remove friend operator==
16172
16173 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
16174
16175         * screen.C:
16176         * lyxrc.[Ch]:
16177         * lyxfunc.C:
16178         * lyxfont.[Ch]:
16179         * lyx_cb.C:
16180         * intl.[Ch]:
16181         * commandtags.h:
16182         * buffer.C:
16183         * WorkArea.[Ch]:
16184         * LyXAction.C:
16185         * BufferView_pimpl.C:
16186         * BufferView.[Ch]: remove cruft
16187
16188 2001-02-14  Juergen Vigna  <jug@sad.it>
16189
16190         * lyxfunc.C: removed #if 0 unused code
16191
16192         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16193
16194         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16195
16196         * text2.C (SetSelection): added a BufferView * parameter
16197
16198 2001-02-13  Juergen Vigna  <jug@sad.it>
16199
16200         * lyxfunc.C (Dispatch): fixed protected blank problem.
16201         * BufferView2.C (protectedBlank): added LyxText * parameter.
16202
16203         * tabular.C (AppendRow): forgot to set row_info of newly added row.
16204         (AppendColumn): same as above for column_info.
16205
16206         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16207         (moveCursorUpdate): use a LyXText param for support of InsetText.
16208
16209         * BufferView_pimpl.C (doubleClick): added support for InsetText.
16210         (tripleClick): ditto
16211
16212         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16213
16214         * BufferView_pimpl.C (update): added LyXText param to honor insets.
16215
16216         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16217
16218         * text2.C (SetSelection): set correct update status if inset_owner
16219         (ToggleFree): ditto
16220
16221 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
16222
16223         * tabular.C: remove some commented code.
16224
16225 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
16226
16227         * BufferView_pimpl.C: call hideSplash()
16228
16229         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16230
16231         * include_form.h:
16232         * bibforms.h: remove
16233
16234         * lyxfunc.C:
16235         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16236           add LFUN_CHILD_CREATE
16237
16238         * counters.h: fix tiny typo
16239
16240         * lyx_cb.C:
16241         * lyx.h:
16242         * lyx_gui.C:
16243         * lyx.C: move splash to frontends/xforms/
16244
16245         * lyx_gui_misc.C: move Include and Bibform to frontends
16246
16247         * lyxvc.h: clarify comment
16248
16249         * vspace.C: tiny housekeeping
16250
16251 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
16252
16253         * text.C (PrepareToPrint): RTL Fix.
16254
16255         * paragraph.C (GetUChar): New method.
16256         (String):  Use GetUChar.
16257
16258         * buffer.C (asciiParagraph): Use GetUChar.
16259
16260 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
16261
16262         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16263
16264 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
16265
16266         * buffer.h:
16267         * buffer.C: rename to getLogName(), handle
16268           build log / latex log nicely
16269
16270 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16271
16272         * MenuBackend.C:
16273         * MenuBackend.h: remove support for reference menuitem type.
16274
16275 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
16276
16277         * BufferView_pimpl.C: housekeeping
16278         * BufferView_pimpl.h:
16279         * LyXView.h:
16280         * Makefile.am:
16281         * Timeout.C:
16282         * Timeout.h:
16283         * minibuffer.h: move Timeout GUI-I
16284
16285 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
16286
16287         * lyxrc.C (read): Update converters data-structures.
16288
16289 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
16290
16291         * LaTeX.h (operator!=): add operator != for Aux_Info
16292
16293 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
16294
16295         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16296
16297         * LaTeXLog.C: deleted, useful code moved to Buffer
16298
16299         * buffer.h:
16300         * buffer.C: new function getLatexLogName()
16301
16302         * lyx_gui_misc.C:
16303         * lyx_gui.C:
16304         * lyxvc.C:
16305         * lyxvc.h:
16306         * lyxfunc.C: use frontends for LaTeX and VC logs
16307
16308 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16309
16310         * LaTeX.h: yet another std:: that Allan forgot.
16311
16312         * Variables.C (set): renamed from isset(), because this clashes
16313         with some HP-UX macros (grr).
16314
16315 2001-02-06  Allan Rae  <rae@lyx.org>
16316
16317         * LaTeX.h: Another bug fix.  Missing std:: this time.
16318
16319 2001-02-04  Allan Rae  <rae@lyx.org>
16320
16321         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16322         floats problem. I've left it commented out because it's not quite
16323         correct.  It should also test that the current object is a table or
16324         figure inset.  But I haven't gotten around to figuring out how to do
16325         that.  I *think* it'll be something like: "table" == inset.type()
16326
16327         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16328         bool.
16329
16330 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
16331
16332         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16333         all the citation/databases/styles in the auxilary file.
16334         (run): Rerun latex if there was a babel language error.
16335
16336 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
16337
16338         * text.C (Backspace): Preserve the font when changing newline char
16339         with a space.
16340         (BreakParagraph): If the cursor is before a space, delete the space.
16341
16342         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16343
16344 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
16345
16346         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16347         new argument (code).
16348         (ChangeCitationsIfUnique): New method.
16349
16350         * paragraph.C (GetPositionOfInset): Handle bibkey.
16351
16352 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16353
16354         * BufferView_pimpl.h: change type of Position::par_pos to
16355         LyXParagraph::size_type.
16356
16357 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
16358
16359         * BufferView_pimpl.C (savePosition, restorePosition): Write
16360         messages to minibuffer.
16361
16362 2001-01-28  José Matos  <jamatos@fep.up.pt>
16363
16364         * buffer.C (makeDocBookFile): adds support for document language.
16365         A silly restriction on the name of LatexCommand types where removed.
16366         Added support for CDATA sections, allows to chars unescaped, used
16367         among others in code, to avoid escape < and >.
16368
16369 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16370
16371         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16372         saved positions instrad of a stack. Furthermore, a position is
16373         stored using paragraph id/paragraph position.
16374
16375         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16376         Remove LFUN_REF_BACK.
16377
16378 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16379
16380         * converter.C (dvipdfm_options): New method.
16381
16382 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
16383
16384         * vspace.C (isValidLength): Fix for empty input string.
16385
16386 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16387
16388         * LyXAction.C (init): change description of LFUN_FIGURE to
16389         "Insert Graphics"
16390
16391 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16392
16393         * LaTeX.C: add using directive
16394
16395 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16396
16397         * MenuBackend.C (expand): Fix the sorting of the formats.
16398
16399 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
16400
16401         * lyx_main.C: tiny error message fix
16402
16403 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16404
16405         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16406         calling fl_initialize(). This fixes the problem with ',' as
16407         decimal separator in text files.
16408
16409 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16410
16411         * trans.C (process): Fix the keymap bug.
16412
16413 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
16414
16415         * LaTeX.C (scanAuxFiles): New method. Provides support for
16416         multiple bibliographies (when using the bibtopic/bibunits pacakges).
16417         (scanLogFile) Scan for "run BibTeX" messages.
16418
16419         * buffer.C (makeLaTeXFile): Do not load the ae package when using
16420         OT1 font encoding. Also, load the aecompl package if the ae
16421         package is loaded.
16422
16423         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16424
16425 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16426
16427         * texrow.C (increasePos): turn two error messages into debug
16428         messages.
16429
16430 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
16431
16432         * LaTeX.C (scanAux): Handle the \@input macro.
16433         (runBibTeX): Use scanAux().
16434
16435         * language.C (latex_options_): New field.
16436
16437         * LaTeXFeatures.C (getMacros): Add language macros.
16438
16439         * buffer.C (makeLaTeXFile): Small fix.
16440
16441 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16442
16443         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16444
16445         * text2.C: add a using directive.
16446
16447 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
16448
16449         * BufferView2.C:
16450         * lyx_gui_misc.h:
16451         * lyxfr1.C:
16452         * lyxfunc.C: kill LyXBell.
16453
16454 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
16455
16456         * text.C (IsBoundary): Remove the error message
16457
16458         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16459
16460         * lyxrc.C (setDefaults): Correct initialization value for
16461         font_norm_type.
16462
16463 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
16464
16465         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16466         gotoError().
16467
16468         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16469         and GotoNextNote().
16470
16471         * src/LyXAction.C: Added reference-next.
16472
16473         * text.C (InsertChar): Use contains instead of strchr.
16474
16475         * lyx_cb.C (MenuInsertLabel): Enable default value code.
16476
16477 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
16478
16479         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16480         alignment commands (when needed).
16481
16482         * text.C (InsertChar): Add ':' to number separator chars.