]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
fix one ambiguity, and comment out a un-implemented operator
[lyx.git] / src / ChangeLog
1 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
2
3         * pariterator.h (operatir=): comment out un-implemented member
4         function. 
5
6         * paragraph.h: resolv ambiguity found by gcc 4.0 with the use of a
7         static cast.
8
9 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
10
11         * lyxfont.h: include LColor.h to satisfy concept checks.
12
13 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
14
15         * pariterator.h: add typdefs for value_type, difference_type,
16         pointer and reference to satisfy concept checks. Also add default
17         constructor for same reason.
18
19         * pariterator.C (operator++): add post-increment operator to
20         satisfy concept checks.
21
22         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
23         checks.
24
25         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
26
27         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
28         checks. Also rename base_type to BaseType to follow naming
29         standard better.
30
31         * FloatList.h: include Floating.h to satisfy concept checks.
32
33 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
34
35         * lyxfunc.C (getStatus): when the origin of the request is menu or
36         toolbar, and the LyXView does not have focus, do as if there was
37         no buffer (bug 1720)
38
39         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
40         FuncRequest to individual entries of LFUN_SEQUENCE
41
42 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
43
44         * output_latex.C (TeXOnePar): override runparams.moving_arg
45         according to the needprotect value of the current paragraph (bug
46         1739)
47
48         * paragraph.C (simpleTeXOnePar): no need to override
49         runparams.moving_args here
50
51 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
52
53         * vspace.C: fix off-by-one-error, related to fix #1682
54
55 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
56
57         * lengthcommon.C: a more general fix for bug 1682
58
59 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
60
61         * text.C (backspace): fix crash
62
63 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
64
65         * format.[Ch] (getFormatFromFile): new method
66         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
67
68 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
69
70         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
71
72 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
73
74         * lyxfunc.C (dispatch): remove the verbose argument
75         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
76         instead
77
78         * kbmap.C (defkey): set the origin of func to KEYBOARD
79
80         * MenuBackend.C (MenuItem):
81         * ToolbarBackend.C (add): set the origin of func to UI
82
83         * funcrequest.[Ch]: add origin member, which indicates which part
84         of LyX requests an action
85
86 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
87
88         * converter.C (move): don't lie in the error message
89         * converter.h (isReachable, move): document
90
91 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
92
93         * buffer.C: remove unused using lyx::support::atoi
94         * paragraph_funcs.C: ditto
95
96 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
97
98         * bufferlist.C (exists): use bind and equal_to instead of
99         compare_memfun
100         (getBuffer): ditto
101         * lyxtextclasslist.C (NumberOfClass): ditto
102
103         * cursor.C (insert): use for_each instead of explicit for loop
104
105         * bufferlist.C (getFileNames): use std::transform and
106         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
107
108         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
109         for loop
110
111         * buffer.C (changeLanguage): use for_each instead of explicit for
112         loop
113         (hasParWithID): implement using getParFromID
114
115         * LaTeXFeatures.C: ws change only
116
117         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
118         to cleanup a bit.
119
120         * BufferView_pimpl.C (trackChanges): use for_each instead of
121         expilicit for loop
122
123 2004-11-04  André Pönitz  <poenitz@gmx.net>
124
125         * undo.h:
126         * undo.C (textUndoOrRedo): fix crash when creating undo information.
127
128         * dociterator.C (asDocIterator): use hard assert again.
129
130 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
131
132         * lyxlength.C (asLatexString): rewrite so that it does not use
133         snprintf anymore
134
135 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
136
137         * text3.C (specialChar, dispatch): make sure cursor moves to the
138         right after inserting an inset
139
140 2004-11-02  José Matos  <jamatos@lyx.org>
141
142         * output_docbook.C (docbook):
143         * paragraph.C (getID):
144         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
145         garantee that the output is always legal.
146
147         * tabular.C (docbook):
148         * outputprams.[Ch]: remove mixed contents.
149
150 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
151
152         * text2.C (setCounter): prevent endless loop
153
154 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
155
156         * exporter.C (copyFile): use the mover instead of support::copy()
157         * exporter.C (Export): pass format and latex name to copyFile()
158         * exporter.h (addExternalFile): document
159         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
160
161 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
162
163         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
164
165 2004-10-30  José Matos  <jamatos@lyx.org>
166
167         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
168         text and no inset or font change. This allows to use CDATA
169         sections just for the whole paragraph.
170
171 2004-10-30  José Matos  <jamatos@lyx.org>
172
173         * paragraph.C (getFirstWord): remove unused variable.
174
175 2004-10-30  José Matos  <jamatos@lyx.org>
176
177         * paragraph.C (getFirstWord): the content should always be escaped
178         there.
179         (simpleDocBookOnePar):
180         * output_docbook.C (makeEnvironment): replace reference to CDATA
181         to style pass_thru.
182
183 2004-10-30  José Matos  <jamatos@lyx.org>
184
185         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
186
187 2004-10-30  José Matos  <jamatos@lyx.org>
188
189         * output_docbook.C (makeParagraphs):
190         * paragraph.[Ch] (emptyTag): for docbook and company, if the
191         standard paragraph has only a given type of content drop the wrapper.
192
193 2004-10-29  José Matos  <jamatos@lyx.org>
194
195         * output_docbook.C (makeEnvironment):
196         * sgml.C (openTag):
197         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
198
199 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
200
201         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
202         (cleanID): sanitize any id.
203
204 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
205
206         * buffer.C, lyxlex_pimpl.C:
207         * lyxlex_pimpl.C (setFile):
208         s/getExtFromContents/getFormatFromContents/
209
210 2004-10-28  José Matos  <jamatos@lyx.org>
211
212         * output_docbook.C (makeEnvironment): move id to broadest possible
213         scope.
214
215         * sgml.C (openTag): apply substitution of <> for all attributes.
216
217 2004-10-28  José Matos  <jamatos@lyx.org>
218
219         * buffer.C (makeLinuxDocFile, makeDocBookFile):
220         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
221         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
222
223         * sgml.[Ch]: new version for open and closeTag for paragraph and
224         for strings. Now they handle the ids of paragraphs.
225
226 2004-10-26  Angus Leeming  <leeming@lyx.org>
227
228         * Makefile.am: add mover.[Ch].
229
230         * converter.C (convert, move): use the new Movers to move external
231         files to the temp directory.
232
233         * lyx_main.C (init): ensure that the global system_movers data
234         is initialised.
235
236         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
237         preferences file.
238
239         * mover.[Ch]: new files, defining a Mover as a utility to move an
240         external file between directories and, if necessary, manipulate this
241         file using a helper script.
242
243 2004-10-25  José Matos  <jamatos@lyx.org>
244
245         * output_docbook.C (makeCommand): merge two if's that tested the
246         same condition.
247
248 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
249
250         * sgml.C (escapeString): fix warning in a better way
251
252 2004-10-25  José Matos  <jamatos@lyx.org>
253
254         * sgml.C (escapeString): import the require boosts header file for
255         tie, and avoid a signed unsigned comparison.
256
257 2004-10-25  José Matos  <jamatos@lyx.org>
258
259         * sgml.h: add #include <string>
260
261 2004-10-25  José Matos  <jamatos@lyx.org>
262
263         * sgml.[Ch] (escapeString): new function to escape all the string.
264
265 2004-10-24  José Matos  <jamatos@lyx.org>
266
267         * paragraph.[Ch] (getFirstWord): new function to get the first
268         word. Useful for description.
269         (simpleDocBookOnePar): remove depth argument, add another that
270         says where to start the paragraph.
271
272         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
273         use the new functions to fix cleanly the support for descriptions.
274
275 2004-10-24  José Matos  <jamatos@lyx.org>
276
277         * buffer.C (makeLinuxDocFile, makeDocBookFile):
278         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
279         * output_linuxdoc.C (linuxdocParagraphs):
280         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
281         add buffer as argument.
282
283 2004-10-24  José Matos  <jamatos@lyx.org>
284
285         * output_docbook.C (makeEnvironment, searchEnvironment): place
286         CDATA inside paragraphs and fix scope for listitems.
287
288 2004-10-24  José Matos  <jamatos@lyx.org>
289
290         * output_docbook.C: remove using statement for stack.
291
292 2004-10-23  José Matos  <jamatos@lyx.org>
293
294         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
295         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
296         docbook. The new scheme is recursive and makes use of iterators, the
297         same as latex export works.
298         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
299         directly with the paragraph contents. This code was moved up to
300         output_docbook.C (docbookParagraphs).
301         * sgml.C (openTag, closeTag): removed unneeded newlines.
302         (closeEnvTags) removed.
303
304 2004-10-23  André Pönitz  <poenitz@gmx.net>
305
306         * undo.C (textUndoOrRedo):
307         * dociterator.C (asDocIterator): work around crash
308
309         * cursor.C (getStatus): replace ASSERT by more verbose error message
310           and manual correction of the problem. Should increase stability
311           while providing more sensible information.
312
313 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
314
315         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
316
317         * bufferlist.C (previous, next): new methods
318
319         * lfuns.h:
320         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
321
322 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
323
324         * buffer.C (makeDocBookFile): add dsssl stylesheet control
325         entities to preamble.
326
327 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
328
329         * messages.C (Pimpl): strip off translation context information
330
331 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
332
333         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
334         the cursor is correct (bug 1694)
335
336 2004-10-13  José Matos  <jamatos@lyx.org>
337
338         * output_docbook.C (docbookParagraphs): fix closing tags in the
339         end of the document.
340
341 2004-10-09  José Matos  <jamatos@lyx.org>
342
343         * buffer.C: format up to 237.
344         * bufferparams.C (write): use tostr to convert booleans to strings.
345
346 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
347
348         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
349
350 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
351
352         * LaTeX.C: implement use of babel language in xindy.
353
354 2004-10-05  José Matos  <jamatos@lyx.org>
355
356         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
357         Add new translators to help reading and writing the lyx file.
358
359 2004-10-05  José Matos  <jamatos@lyx.org>
360
361         * ParagraphParameters.C (read):
362         * text.C (readParToken): replace nexToken by more appropriate lex
363         methods.
364
365 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
366
367         * LaTeX.C (runMakeIndex):
368         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
369         (usually 'makeindex') configurable.
370
371         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
372         with a variable rather than with a number.
373
374 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
375
376         * output_latex.C (TeXOnePar): make sure font setting is the first
377         thing that gets output (and the last at the end). Should fix bug
378         1404.
379
380 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
381
382         * pch.h: use proper signal include
383
384         * LaTeX.h: Use preferred calling of Boost.Signal
385         * buffer.h: ditto
386
387 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
388
389         * pch.h: dont include <boost/function/function0.hpp>
390
391         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
392
393         * paragraph_pimpl.h: remove usage of ShareContainer
394
395         * paragraph_pimpl.C: remove initialization of ShareContainer.
396
397 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
398
399         Fix bug #1666
400
401         * BufferView.C (putSelectionAt): change the semantics when
402         backwards == true: now, this just swaps cursor and anchor wrt the
403         forward case
404
405         * BufferView.h (putSelectionAt): add some documentation
406
407         * lyxfind.C (findBackwards): rewrite using while(). In particular,
408         make sure backwardChar is done at least once (to avoid getting
409         stuck)
410         (findNextChange): use putSelectionAt in the forward direction
411         (operator()): use Paragraph::isWord
412
413 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
414
415         * Spacing.C (set): c_str fix
416
417 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
418
419         * lyx_cb.C (Reconfigure): quote the name of configure script in
420         case it contains spaces
421
422 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
423
424         * client: new dir
425
426         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
427         (BOOST_LIBS): use top_buildir when looking for the file
428
429 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
430
431         * pch.h: do not use include boost/format.hpp, multiple symbols
432                 will result (gcc bug)
433
434
435 2004-08-23  José Matos  <jamatos@lyx.org>
436
437         * bufferparams.C (readToken): fix reading of the author field.
438
439 2004-08-20  José Matos  <jamatos@lyx.org>
440
441         * lyxrc.C: remove support/translator.h inclusion since it is not used.
442
443 2004-08-20  José Matos  <jamatos@lyx.org>
444
445         * lyxlex.[Ch] (findToken): remove function.
446
447         * ParagraphParameters.C (findToken):
448         * bufferparams.C (findToken): replace call for previous function
449         with local copy. This local function has one more argument, the
450         read string argument.
451
452 2004-08-16  José Matos  <jamatos@lyx.org>
453
454         * ParagraphParameters.C (write):
455         * Spacing.C (writeFile):
456         * bufferparams.C (writeLaTeX):
457         * lyx_cb.C (Reconfigure):
458         * paragraph.C (write):
459         * tabular.C (write): remove unnecessary space at end of line.
460
461
462 2004-08-16  José Matos  <jamatos@lyx.org>
463
464         * text.C (readParagraph): remove debug message.
465
466 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
467
468         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
469         crash
470
471         * output_plaintext.C (asciiParagraph): set depth correctly
472
473         * outputparams.h: add member depth
474
475         * paragraph_funcs.C (ownerPar): remove.
476
477         * text2.C (setCounter): remove first_pit; comment out some
478         non-working code that uses ownerPar
479
480         * BufferView.C (getParentLanguage): remove. Not used anymore, and
481         uses ownerPar
482
483 2004-08-16  José Matos  <jamatos@lyx.org>
484
485         * text.C (readParToken, readParagraph, read): report all unknown tokens.
486         For the same level of importance use the same chanel to report problems.
487         (read): add code to deal with \begin_body and \end_body.
488
489
490 2004-08-15  José Matos  <jamatos@lyx.org>
491
492         * lyxlex.C (getString): fix comment, buffer::readBody is now
493         buffer:readDocument.
494
495         * tex-strings.C (string_papersize): Default -> default,
496         Custom -> custom, for consistency with other options.
497
498 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
499
500         * pch.h: new file
501
502         * Makefile.am: support pch
503
504 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
505
506         * text.C (readParToken): remove the static LyXFont variable and
507         pass it as a parameter instead. This fixes a nasty bug where an
508         inset will be inserted with a bad font in some situations
509         (readParagraph): adapt
510
511         * text2.C (setCounter): reduce number of calls to pars_[pit]
512
513         * text.C (singleWidth): add an assert, fix a test
514
515         * rowpainter.C (paintText): reduce number of calls to singleWidth
516
517         * paragraph.C (isHfill):
518         (isNewline): ws only
519
520 2004-08-14  André Pönitz  <poenitz@gmx.net>
521
522         * text.C:
523         * text2.C:
524         * rowpainter.C:
525         * lyxtext.h (several functions): use a Paragraph & argument
526         instead of par_type
527
528 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
529
530         * metricsinfo.h: add a new field ltr_pos to PainterInfo
531
532         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
533
534         * text.C (singleWidth): remove useless test
535
536 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
537
538         * tabular.h: remove bogus comments
539
540         * tabular.C (getDescentOfRow):
541         (isPartOfMultiColumn): add assertions
542
543         * lyxlength.C (inPixels): remove #warning
544
545 2004-08-14  André Pönitz  <poenitz@gmx.net>
546
547         * paragraph.h: inline getChar()
548
549         * BufferView.h: remove unused declarations
550
551 2004-08-14  José Matos  <jamatos@lyx.org>
552
553         * Buffer.[Ch] (readDocument): new name for old readBody.
554         * Buffer.C: new file format, new keywords: \begin_document,
555         \begin_header, \begin_body, \end_body.
556
557         * bufferparams.C (readToken): replace all calls to lex.nextToken
558         by lex.next(). Do the same to eatLine except where really needed.
559
560         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
561         line when writing to the lyx file.
562
563         * output_plaintext.C (asciiParagraph): fix Bibliography style
564         handling.
565
566         * text.C (read): fix end of file handling.
567
568 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
569
570         * MenuBackend.C (Menu::operator[]): new method to access
571         individual menu items
572         (Menu::hasFunc): new method. search for an item that corresponds
573         to a given func
574         (MenuBackend::specialMenu): new method
575         (MenuBackend::expand): if a special menu has been set, skip
576         entries whose func() appears in this menu
577
578 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
579
580         * text3.C: use Debug::DEBUG a bit more
581
582         * text.C (leftMargin): try to simplify a tiny bit change var x to
583         l_margin. Dont output the wide margins always.
584         (rightMargin): no margin in inner texts
585
586         * rowpainter.h (nestMargin): new func
587         (changebarMargin): new func
588         (rightMargin): new func
589
590         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
591         now functions.
592         (paintLast): ditto
593
594         * factory.C (createInset): modify setDrawFrame
595
596         * cursor.C: use Debug::DEBUG a bit more
597
598 2004-08-14  André Pönitz  <poenitz@gmx.net>
599
600         * coordcache.[Ch]:
601         * Makefile.am: new files to accomodate an 'external' (x,y)-position
602         cache for all insets in (at least partially) visible (top-level)
603         paragraphs.
604
605         * BufferView_pimpl.C: reset external coord cache before every update.
606         This means the coord cache only contains valid entries.
607
608 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
609
610         bug 1096
611         * BufferView_pimpl.C (getInsetByCode): move function out of class
612         and change in to a template in anon namespace. Also fix to do what
613         suits us better.
614
615 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
616
617         bug 1305
618         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
619         of char
620         (breakParagraph): rename par to par_offset and use a local
621         reference. Add code to keep the language over a rebreak.
622         (breakParagraphConservative): rename par to par_offset, use a
623         local reference
624         (mergeParagraph): ditto
625         (outerHook): ditto
626         (isFirstInSequence): ditto
627         (outerFont): rename pit to par_offset
628
629         * paragraph.C: ws change
630         * paragraph.h: ditto
631         * text3.C: ditto
632         * text.C: ditto
633
634 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
635
636         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
637         treatment for ']'
638
639         * paragraph.C (simpleTeXOnePar): when we have a \item with
640         optional argument, enclose the argument with curly brackets (in
641         case it contains a closing square bracket)
642
643         * text2.C (editXY):
644         * text2.C (editXY):
645         * text3.C (checkInsetHit): constify
646
647 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
648
649         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
650         documents (bug 1629)
651
652 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
653
654         Fix toggling of collapsable insets with the mouse (bug 1558)
655
656         * lyxfunc.C (dispatch): adapt to LCursor changes
657
658         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
659         make sure that dispatch is not invoked twice
660
661         * cursor.C (needsUpdate): new method
662         (dispatch): return void
663         (result): new method, to access the DispatchResult of the cursor.
664
665 2004-08-13  José Matos  <jamatos@lyx.org>
666
667         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
668
669 2004-08-13  André Pönitz  <poenitz@gmx.net>
670
671         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
672
673         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
674           multiple cells
675
676 2004-08-12  André Pönitz  <poenitz@gmx.net>
677
678         * text3.C: take out the 'cursor right' form insertInset and only
679         do it in those places when it is really needed. Fixes crash on
680         C-m...
681
682 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
683
684         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
685
686         * BufferView_pimpl.C (setBuffer): initialize the current font of
687         the underlying LyXText
688
689 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
690
691         * kbsequence.C (print): use UI native formatting for menu
692         shortcuts
693
694         * text.C (insertChar): call Paragraph::insertChar with a font
695         argument (cosmetic)
696
697         * paragraph.C (insertInset, insertChar): the version that takes a
698         LyXFont argument is now a wrapper around the other one (the
699         opposite used to be true).
700
701         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
702         argument. Font setting is done in Paragraph now.
703
704 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
705
706         * outputparams.h: add new members intitle and lang.
707
708         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
709         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
710
711 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
712
713         * text3.C (dispatch): remove special handling of button 4 and 5,
714         it is now taken care of in the frontend code.
715
716 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
717
718         * Spacing.h: add <string> (STLPort compile fix)
719
720 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
721
722         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
723
724 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
725
726         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
727         to bool.
728
729         * converter.C (showMessage): inherit from unary_function, make
730         operator() const.
731
732         * buffer.C (writeFile): initialize retval
733
734         * InsetList.h: rename private variable list to list_
735         * InsetList.[Ch]: adjust accordingly.
736
737 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
738
739         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
740         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
741         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
742         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
743         * ParagraphParameters.C, LaTeXFeatures.C: replace
744         "support/std_sstream.h" with <sstream>
745
746 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
747
748         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
749         * lyxsocket.C (LyXServerSocket): ditto
750         (serverCallback): ditto
751
752 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
753
754         * LaTeXFeatures.C: check release date when loading jurabib.
755
756 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
757
758         * lyxserver.C (startPipe): call register_socket_callback
759         (endPipe): call unregister_socket_callback
760
761 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
762
763         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
764         (LyXServerSocket): register the callback
765         (LyXServerSocket): unregister the callback
766         (fd): delete function
767         (serverCallback): improve error checking and setup the callbacks.
768         (dataCallback): change arg to fd.
769         (writeln): new func (copied fro the client socket) used for server
770         write to client.
771         (LyXDataSocket): simplify
772         (~LyXDataSocket): close ann unregiser callback
773         (server): delete function
774         (fd): delete function
775         (readln): small changes, improve some std::string usage
776         (writeln): constify a bit
777
778 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
779
780         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
781         Qt frontend
782
783 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
784
785         * BufferView_pimpl.C (setBuffer): set the layout combox value only
786         after it has been populated
787
788 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
789
790         * text2.C (insertInset): move cursor when inserting inset.
791
792 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
793
794         * kbmap.C (findbindings): a couple of new methods. returns a
795         container of kb_sequence objects. The real work is done by the
796         private recursive version
797         (printbindings): uses findbindings to print out a bracketed list
798         of bindings (renamed from findbinding).
799
800         * MenuBackend.C (binding): use kb_keymap::findbindings
801
802         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
803
804 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
805
806         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
807
808 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
809
810         * paragraph.C (isWord): return true on insets that report
811         isLetter().
812
813         * text.C (getWord): use Paragraph::isWord to decide what is in a
814         word and what is not; fix bug 1609.
815
816 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
817
818         * tex-strings.C: add "none" to string_paperpackages[], fixes
819         off-by-one-error in the paperpackage selection.
820
821         * lyxlex.[Ch]:
822         * tex-strings.[Ch]: char const * string[n]
823         -> char const * const string[]
824
825 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
826
827         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
828         command, return early.
829
830 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
831
832         * debug.h: add DEBUG to enum and fix size of ANY.
833
834         * debug.C: add support for Debug::DEBUG
835         (showTags): cast errorTags.level to unsigned int
836
837         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
838         (redoCurrentBuffer): ditto
839         (updateScrollbar): ditto
840         * cursor.C (dispatch): ditto
841         * text2.C (setLayout): ditto
842         (setFont): ditto
843         (updateCounters): ditto
844         (editXY): ditto
845         (deleteEmptyParagraphMechanism): ditto
846
847 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
848
849         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
850         annotations to cleanup the Makefile slightly.
851
852 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
853
854         * lyxrc.C: do not set user_email to a default value but use empty
855         instead. The entry used to be translated, which does not work
856         since at the point where lyxrc is constructed there is no
857         translation service available
858
859         * messages.C (getLocaleDir): remove and use directly
860         lyx_localedir() instead
861
862 2004-06-02  Angus Leeming  <leeming@lyx.org>
863
864         Fix crash caused by dereferencing null pointer 'exportdata' in
865         OutputParams by creating a new ExportData variable on the heap,
866         storing it in a boost::shared_ptr.
867         The crash was triggered when generating an Instant Preview
868         of an external inset.
869
870         * Makefile.am: add outputparams.C
871
872         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
873         (c-tor): allocate memory to it.
874
875         * exporter.C (c-tor): associated changes.
876
877 2004-06-01  Angus Leeming  <leeming@lyx.org>
878
879         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
880         contains data before calling isInset(0). (Bug 1513.)
881
882 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
883
884         * exporter.C (checkOverwrite): new method
885         * exporter.C (copyFile): new method
886         * exporter.C (Export): copy referenced files to the document dir
887         * exporter.[Ch]: new class ExportedFile
888         * exporter.[Ch]: new class ExportData. Contains currently the
889         names of referenced external files
890         * outputparams.h: add exportdata member.
891
892 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
893
894         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
895         version.C-tmp
896
897 2004-05-19  Angus Leeming  <leeming@lyx.org>
898
899         * LaTeXFeatures.C:
900         * ToolbarBackend.C:
901         * bufferparams.C:
902         * lyxfunc.C: small changes due to the introduction of namespace
903         lyx::frontend and the moving of namespace biblio to lyx::biblio.
904
905 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
906
907         * text3.C (dispatch): supress update when only moving the cursor
908         * cursor.C (selHandle): remove commented code
909
910 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
911
912         * paragraph.C (startTeXParParams): correct column count
913         * CutAndPaste.C (pasteSelection): remove const_cast
914         * output_docbook.C (docbookParagraphs): remove const_cast
915         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
916         const_cast and return ParagraphList::const_iterator
917         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
918         * output_plaintext.C (writeFileAscii): remove const_cast
919         * paragraph.[Ch] (simpleTeXOnePar): make const
920         * paragraph_funcs.C (outerPar): use const iterators
921         * paragraph_pimpl.C (validate): use const iterators
922         * text.C (setHeightOfRow): use const iterators
923
924 2004-05-17  Angus Leeming  <leeming@lyx.org>
925
926         * lfuns.h:
927         * LyXAction.C (init): new LFUN_INSET_REFRESH.
928
929         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
930         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
931         if the citation engine has changed.
932
933 2004-05-14  José Matos  <jamatos@lyx.org>
934
935         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
936         if the textclass does not provide it. Have it different for sgml and
937         xml.
938         support the language of document.
939         * output_docbook.C (docbookParagraphs):
940         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
941         first anchor as the id of the paragraph, remove special case code.
942         * sgml.C (escapeChar): escape only < & >.
943
944 2004-05-14  Angus Leeming  <leeming@lyx.org>
945
946         * bufferparams.h: move biblio::CiteEngine enum here to minimize
947         dependencies on src/frontends/controllers/biblio.h. Define a
948         CiteEngine_enum wrapper class to enable the enum to be forward
949         declared.
950
951 2004-05-12  Angus Leeming  <leeming@lyx.org>
952
953         * buffer.C: up LYX_FORMAT to 234.
954         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
955         use_numerical_citations with a single biblio::CiteEngine cite_engine
956         variable.
957         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
958
959 2004-05-13  José Matos  <jamatos@lyx.org>
960
961         * converter.h:
962         * converter.C (Converter, readFlags): add xml member.
963         * outputparams.h: add XML flavor.
964         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
965
966 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
967
968         * lyxfunc.C (dispatch):
969         (getStatus): fix handling of LFUN_SEQUENCE
970
971 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
972
973         * debug.C (showLevel): do not forget the end-of-line marker
974
975 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
976
977         * kbmap.C (read): do not stop parsing a bind file when an error
978         occurs (bug 1575)
979
980 2004-04-29  Angus Leeming  <leeming@lyx.org>
981
982         * cursor.C:
983         * factory.C:
984         * pariterator.C:
985         * text2.C: wrap a bunch of #warning statements
986         inside #ifdef WITH_WARNINGS blocks.
987
988 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
989
990         * buffer.C: increment format to 233.
991
992 2004-04-28  Angus Leeming  <leeming@lyx.org>
993
994         * BufferView_pimpl.C:
995         * lyxfunc.C:
996         * text3.C:
997         s/updateToolbar()/updateToolbars()/
998         s/Toolbar.h/Toolbars.h/
999
1000 2004-04-28  Angus Leeming  <leeming@lyx.org>
1001
1002         * BufferView.[Ch] (c-tor):
1003         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1004         No longer passes these data to the WorkArea generator.
1005
1006 2004-04-28  Angus Leeming  <leeming@lyx.org>
1007
1008         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1009
1010 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1011
1012         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1013
1014 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1015
1016         * output_latex.C (TeXEnvironment): make sure that there is a line
1017         break before \end{foo} for the last paragraph of a document
1018         (TeXOnePar): if the paragraph is at the end of the document (or
1019         inset) and the language has to be reset, then make sure that the
1020         line break is _before_ the language command, not after (fixes bug
1021         1225); also make sure that the language reset command is the first
1022         thing after the paragraph (to ensure proper nesting of
1023         environments and thus fix bug 1404)
1024
1025 2004-04-21  John Levon  <levon@movementarian.org>
1026
1027         * ToolbarBackend.h:
1028         * ToolbarBackend.C: make "name" be a programmatic name
1029         and a gui_name field.
1030
1031         * lyxfunc.C: display the minibuffer on M-x
1032
1033 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1034
1035         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1036         (bug 1526)
1037
1038 2004-04-19  Angus Leeming  <leeming@lyx.org>
1039
1040         * BufferView_pimpl.C (setBuffer): changed preview interface.
1041
1042         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1043         possible values.
1044
1045 2004-04-19  John Levon  <levon@movementarian.org>
1046
1047         * BufferView_pimpl.C:
1048         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1049
1050 2004-04-05  Angus Leeming  <leeming@lyx.org>
1051
1052         * text.C (redoParagraphs): add call to updateCounters(), thereby
1053         fixing the missing "Figure #:" label from the caption of a
1054         figure float.
1055
1056 2004-04-13  Angus Leeming  <leeming@lyx.org>
1057
1058         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1059         cursor is clicked out of an inset.
1060
1061 2004-04-13  Angus Leeming  <leeming@lyx.org>
1062
1063         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1064         than an InsetOld one.
1065
1066 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1067
1068         * format.[Ch]: add editor to Format
1069         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1070         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1071
1072 2004-04-08  André Pönitz  <poenitz@gmx.net>
1073
1074         * metricsinfo.h: remove PainterInfo::width member
1075
1076 2004-04-08  Angus Leeming  <leeming@lyx.org>
1077
1078         * lyx_sty.C (boldsymbol_def): modify so that it outputs
1079         "\providecommand" rather than "\newcommand", thereby preventing
1080         clashes with packages that define "\boldsymbol" themselves.
1081         Eg, beamer.
1082
1083 2004-04-08  Angus Leeming  <leeming@lyx.org>
1084
1085         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1086         thereby squashing an unnecessary warning.
1087
1088 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1089
1090         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1091         setBuffer()
1092
1093 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
1094
1095         * BufferView.C (setCursor): call redoParagraph (some insets could
1096         have been opened)
1097         (putSelectionAt): remove the 'double update' trick
1098
1099         * BufferView_pimpl.C (fitCursor): call refreshPar
1100         (workAreaDispatch): remove an uneeded update call
1101         (dispatch): remove some manual update calls
1102
1103         * cursor.[Ch]: remove cached_y_, updatePos
1104         (selHandle): set noUpdate when appropriate
1105
1106         * lyxfunc.C (dispatch): track if we need an update
1107
1108         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1109
1110         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1111         (paintSelection): cheap optimization, do not call cursorX when not
1112         needed
1113         (paintPars): change signature
1114         (refreshPar): add
1115         (paintText): adjust
1116         (paintTextInset): adjust
1117
1118         * text.C: adjust
1119
1120 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1121
1122         * lengthcommon.C: compilation fix: remove explicit array size from
1123         unit_name[] and friends
1124
1125 2004-04-05  Angus Leeming  <leeming@lyx.org>
1126
1127         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1128
1129         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1130         present only for the preferences dialog.
1131         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1132
1133 2004-04-05  Angus Leeming  <leeming@lyx.org>
1134
1135         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1136         to enable the frontends to export changes to lyxrc correctly.
1137
1138         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1139
1140 2004-04-07  André Pönitz  <poenitz@gmx.net>
1141
1142         * cursor.[Ch] (selClear, adjust): remove math
1143
1144         * cursor_slice.C: more agressive assert
1145
1146         * lyxfunc.C:
1147         * BufferView_pimpl.C: rework mouse event dispatch
1148
1149         * dociterator.C:
1150         * paragraph.C:
1151         * text2.C:
1152         * text3.C: adjust
1153
1154 2004-04-05  André Pönitz  <poenitz@gmx.net>
1155
1156         * cursor.[Ch] (valign, halign...): remove unneeded functions
1157
1158 2004-04-05  Angus Leeming  <leeming@lyx.org>
1159
1160         * lyxlength.[Ch] (unit_name et al.): const-correct.
1161
1162 2004-04-05  Angus Leeming  <leeming@lyx.org>
1163
1164         * BufferView_pimpl.C:
1165         * buffer.C:
1166         * counters.C:
1167         * cursor.C:
1168         * lyxfunc.C
1169         * paragraph.C:
1170         * pariterator.C:
1171         * text.C:
1172         * text2.C:
1173         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1174
1175 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1176
1177         * text3.C (getStatus): add LFUN_BEGINNINGBUF
1178
1179 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1180
1181         * lyxfind.C: add a couple of inTexted() tests + other small fixes
1182         * BufferView_pimpl.[Ch] (getStatus)
1183         * BufferView.[Ch] (getStatus): add
1184         * lyxfunc.C (getStatus): move lfuns handled in
1185         BufferView::dispatch to te function above
1186         * Cursor.C (setSelection): set selection() = true
1187
1188 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1189
1190         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1191
1192 2004-03-31  Angus Leeming  <leeming@lyx.org>
1193
1194         * lyxfunc.C (dispatch): Fall through to the generic
1195         Dialogs::show("preamble").
1196
1197 2004-03-31  Angus Leeming  <leeming@lyx.org>
1198
1199         * lyxfunc.C (dispatch): Fall through to the generic
1200         Dialogs::show("spellchecker").
1201
1202 2004-03-31  Angus Leeming  <leeming@lyx.org>
1203
1204         * lyxfunc.C (getStatus, dispatch): changed invocation of the
1205         preferences dialog.
1206
1207 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1208
1209         * BufferView.C
1210         * cursor.[Ch]
1211         * dociterator.[Ch]:
1212         * insetiterator.[Ch]:
1213         * lyxfind.C:
1214         * lyxfunc.C:
1215         * pariterator.[Ch]:
1216         * text2.C:
1217         * undo.[Ch]: s/DocumentIterator/DocIterator/g
1218
1219 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1220
1221         * BufferView.C (setCursor, putSelectionAt): call edit to open the
1222         insets where we are putting the cursor.
1223
1224 2004-03-31  Angus Leeming  <leeming@lyx.org>
1225
1226         * lfuns.h:
1227         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1228
1229         * lyxrc.[Ch] (read, write): overloaded member functions taking
1230         a std::[io]stream arguments.
1231
1232         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1233
1234 2004-03-31  Angus Leeming  <leeming@lyx.org>
1235
1236         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1237         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1238
1239         * lyxtextclass.C (load): if the text class couldn't be loaded, then
1240         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1241
1242 2004-03-31  Angus Leeming  <leeming@lyx.org>
1243
1244         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1245         the LFUN_ALL_INSETS_TOGGLE code.
1246
1247 2004-03-30  Angus Leeming  <leeming@lyx.org>
1248
1249         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1250         has died. Fall through to the generic Dialogs::show("document").
1251
1252 2004-03-30  Angus Leeming  <leeming@lyx.org>
1253
1254         * lfuns.h:
1255         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1256         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1257
1258         * lyxfunc.C (getStatus, dispatch): define the actions for these
1259         lfuns. Little more than a cut and pste job from ControlDocument.C
1260
1261         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1262
1263 2004-03-30  Angus Leeming  <leeming@lyx.org>
1264
1265         * lfuns.h:
1266         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1267         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1268
1269         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1270         open/closed state of ollapsable insets. Usage:
1271
1272         all-inset-toggle <state> <name>, where
1273         <state> == "open" || "closed" || "toggle" and
1274         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1275
1276         * lyxtext.h, text2.C (toggleInset): removed.
1277
1278         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1279         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1280         now passes LFUN_INSET_TOGGLE to the found inset.
1281
1282         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1283         is now invoked as "all-insets-toggle toggle branch".
1284
1285 2004-03-30  Angus Leeming  <leeming@lyx.org>
1286
1287         * dociterator.C:
1288         * insetiterator.C:
1289         * pariterator.[Ch]: added/corrected header blurb.
1290
1291 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
1292
1293         * dociterator.[Ch]: add an inset_ member
1294         (backwardPos): implemented
1295         (backwardPos, forwardPos): use inset_ when the stack is empty.
1296         (doc_iterator_begin, doc_iterator_end): implemented
1297         * pariterator.[Ch]: adjust, add begin, end
1298         * insetiterator.[Ch]: adjust, add begin, end
1299         * cursor.C:
1300         * document.C:
1301         * BufferView.C:
1302         * BufferView_pimpl.C:
1303         * CutAndPaste.C: adjust
1304
1305 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1306
1307         * buffer.C: increment file format to 232.
1308         * LaTeXFeatures.C: add bibtopic package.
1309         * bufferparams.[Ch]: param \use_bibtopic.
1310
1311         * lyxrc.[Ch]: add lyxrc bibtex_command
1312         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1313
1314         * buffer.C: increment file format to 231.
1315
1316 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1317
1318         * dociterator.C: implement forwardPar
1319         * iterators.[Ch]: remove, replaced by
1320         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1321         * BufferView.C:
1322         * BufferView_pimpl.C:
1323         * CutAndPaste.C:
1324         * buffer.C:
1325         * bufferview_funcs.C:
1326         * cursor.C:
1327         * lyxfind.C
1328         * lyxfunc.C
1329         * paragraph_funcs.C
1330         * toc.C:
1331         * Makefile.am: adjust
1332
1333 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1334
1335         * CutAndPaste.C (pasteSelection): fix 2 crashes
1336         (eraseSelection): fix a crash
1337         * paragraph_funcs.C: remove a warning
1338
1339 2004-03-28  Angus Leeming  <leeming@lyx.org>
1340
1341         * lfuns.h:
1342         * LyXAction.C (init): new LFUN_PRINT.
1343
1344         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1345
1346 2004-03-27  Angus Leeming  <leeming@lyx.org>
1347
1348         * lfuns.h:
1349         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1350
1351         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1352
1353 2004-03-27  Angus Leeming  <leeming@lyx.org>
1354
1355         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1356         insetlist always contains non-null pointers to insets.
1357
1358 2004-03-26  Angus Leeming  <leeming@lyx.org>
1359
1360         * src/BufferView_pimpl.C:
1361         * src/CutAndPaste.C:
1362         * src/buffer.C:
1363         * src/iterators.C:
1364         * src/output_plaintext.C:
1365         * src/outputparams.h:
1366         * src/paragraph_funcs.C:
1367         * src/rowpainter.C:
1368         * src/text.C:
1369         * src/text2.C:
1370         * src/frontends/controllers/ControlErrorList.C:
1371         * src/frontends/gtk/FileDialogPrivate.C:
1372         * src/frontends/gtk/GPainter.C:
1373         * src/frontends/gtk/GToolbar.C:
1374         * src/frontends/qt2/QRef.C:
1375         * src/mathed/math_scriptinset.C: squash compiler warnings.
1376
1377 2004-03-26  Angus Leeming  <leeming@lyx.org>
1378
1379         * ispell.C (LaunchIspell::start):
1380         * lyx_cb.C (AutoSaveBuffer::start):
1381         invoke run(DontWait) rather than runNonBlocking().
1382
1383 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
1384
1385         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1386
1387 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1388
1389         * kbsequence.C (print): adjust
1390
1391         * kbmap.C (printKeySym): rename and change signature
1392         (printKey): use LyXKeySym::print()
1393
1394 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
1395
1396         * undo.C: add using std::advance to compile for stlport
1397
1398 2004-03-24  Angus Leeming  <leeming@lyx.org>
1399
1400         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1401         it leads to a crash when no buffer is present.
1402
1403 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1404             Martin Vermeer  <martin.vermeer@hut.fi>
1405
1406         * lyxfunc.C (dispatch):
1407         * bufferparams.C (readToken): use the new LColor::setColor
1408
1409         * LColor.[Ch] (setColor): new version that takes two strings as
1410         argument and creates a new color entry if necessary
1411
1412 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1413
1414         * buffer.C (makeLaTeXFile): if the main latex file that is
1415         processed is usually a subdocument of some master, then pretend
1416         for a while that it is actually the master
1417
1418 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1419
1420         * buffer.C (getLabelList):
1421         (getBibkeyList): use getMasterBuffer()
1422         (getMasterBuffer): new method. Returns the main document in the
1423         case where one is using included documents.
1424
1425 2004-03-25  André Pönitz  <poenitz@gmx.net>
1426
1427         * Makefile.am:
1428         * iterators.[Ch]:
1429         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1430
1431         * ParagraphList_fwd.h: change ParagraphList to a std::vector
1432
1433         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1434         text*.C over here. Rename namespace CutAndPaste to lyx::cap
1435
1436         * ParameterStruct.h: merge with ParagraphParameters
1437
1438         * lyxtext.h: remove LyXText::parOffset() and getPar()
1439
1440         * text3.C: Remove all 'manual' update calls. We do now one per user
1441         interaction which is completely sufficient.
1442
1443         * Bidi.C:
1444         * BufferView.[Ch]:
1445         * BufferView_pimpl.C:
1446         * FontIterator.[Ch]:
1447         * MenuBackend.C:
1448         * ParagraphParameters.[Ch]:
1449         * buffer.C:
1450         * buffer.h:
1451         * bufferlist.C:
1452         * cursor.[Ch]:
1453         * cursor_slice.[Ch]:
1454         * dociterator.[Ch]:
1455         * errorlist.[Ch]:
1456         * factory.C:
1457         * lfuns.h:
1458         * lyxfind.C:
1459         * lyxfunc.C:
1460         * output_docbook.[Ch]:
1461         * output_latex.[Ch]:
1462         * output_linuxdoc.[Ch]:
1463         * output_plaintext.[Ch]:
1464         * paragraph.[Ch]:
1465         * paragraph_funcs.[Ch]:
1466         * paragraph_pimpl.[Ch]:
1467         * rowpainter.C:
1468         * tabular.[Ch]:
1469         * text.C:
1470         * text2.C:
1471         * toc.C:
1472         * undo.[Ch]: adjust
1473
1474         * frontends/controllers/ControlDocument.C:
1475         * frontends/controllers/ControlErrorList.C:
1476         * frontends/controllers/ControlSpellchecker.C:
1477         * insets/inset.C:
1478         * insets/inset.h:
1479         * insets/insetbase.h:
1480         * insets/insetbibitem.C:
1481         * insets/insetbox.C:
1482         * insets/insetbranch.C:
1483         * insets/insetcaption.C:
1484         * insets/insetcharstyle.C:
1485         * insets/insetcharstyle.h:
1486         * insets/insetcollapsable.C:
1487         * insets/insetcollapsable.h:
1488         * insets/insetert.C:
1489         * insets/insetfloat.C:
1490         * insets/insetfoot.C:
1491         * insets/insetmarginal.C:
1492         * insets/insetnote.C:
1493         * insets/insetoptarg.C:
1494         * insets/insettabular.C:
1495         * insets/insettext.C:
1496         * insets/insettext.h:
1497         * insets/insetwrap.C:
1498         * mathed/math_mboxinset.C:
1499         * mathed/math_nestinset.C:
1500         * mathed/math_scriptinset.C:
1501         * mathed/math_scriptinset.h:
1502         * support/types.h:
1503
1504 2004-03-24  Angus Leeming  <leeming@lyx.org>
1505
1506         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1507         deal with any child processes that have finished but are waiting to
1508         communicate this fact to the rest of LyX.
1509
1510 2004-03-24  Angus Leeming  <leeming@lyx.org>
1511
1512         64-bit compile fixes.
1513
1514         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1515         (c-tor): pass lyx::pos_types rather than ints.
1516
1517         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1518         lyx::pos_type.
1519
1520         * text.C (Delete): compile fix.
1521         (getPar): ensure that function declaration is the same as that in
1522         the header file.
1523
1524 2004-03-23  Angus Leeming  <leeming@lyx.org>
1525
1526         * ispell.C (LaunchIspell):
1527         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1528         a boost::shred_ptr rather than a std::auto_ptr.
1529
1530 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1531
1532         * lyxfunc.C (getStatus): handle read-only buffers correctly;
1533         handle LFUN_FILE_INSERT_*
1534
1535         * lyxrc.C (setDefaults, getDescription, output, read):
1536         * lyxrc.h: remove ps_command
1537
1538 2004-03-22  Angus Leeming  <leeming@lyx.org>
1539
1540         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1541         Ensure that error_handler is processed once only and that all data
1542         is saved before attempting to output any warning messages.
1543
1544         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1545
1546 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
1547
1548         * tabular.C (TeXRow): crash fix (from Kayvan and André)
1549
1550 2004-03-19  André Pönitz  <poenitz@gmx.net>
1551
1552         * cursor.[Ch] (reset): take main text inset as argument
1553
1554         * BufferView: adjust
1555         * BufferView_pimpl.C: adjust
1556
1557         * paragraph.[Ch]: fix completely broken operator=()
1558
1559 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1560
1561         * LColor.C (getFromLyXName): make sure that the color name is used
1562         as lowercase.
1563
1564 2004-03-17  Angus Leeming  <leeming@lyx.org>
1565
1566         * lfuns.h:
1567         * LyXAction.C (init): remove LFUN_FORKS_KILL.
1568
1569         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1570         dialog and to kill a forked process.
1571
1572 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1573
1574         * text2.C (setCursorFromCoordinates): fix font problem
1575
1576 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1577
1578         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1579         bogus "rebuild cursor" code
1580
1581 2004-03-11  André Pönitz  <poenitz@gmx.net>
1582
1583         * buffer.[Ch]: use InsetText instead of LyXText as container for
1584         the main lyx text.
1585
1586         * dociterator.[Ch]: drop the BufferView * member which is not needed
1587         anymore after the change to buffer.C
1588
1589         * paragraph_funcs.C:
1590         * text.C:
1591         * text2.C:
1592         * BufferView.[Ch]:
1593         * BufferView_pimpl.[Ch]:
1594         * cursor.[Ch]:
1595         * cursor_slice.[Ch]: adjust
1596
1597         * text3.C: fix bug in mathDispatch
1598
1599 2004-03-08  André Pönitz  <poenitz@gmx.net>
1600
1601         * undo.[Ch]: use 'StableDocumentIterator' as base for
1602         the Undo struct.
1603
1604 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1605
1606         * LaTeXFeatures.C:
1607         * bufferparams.[Ch]: add jurabib support and param.
1608
1609         * LaTeX.C: add FIXME/comment.
1610
1611 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1612
1613         * buffer.C: increment file format to 230.
1614
1615 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
1616
1617         * cursor.C (dispatch): avoid infinite loops
1618
1619 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1620
1621         * rowpainter.C (paintSelection): fix x coordinates
1622
1623 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1624
1625         * text.C (rowBreakPoint): fix breaking before displayed insets
1626
1627 2004-03-01  André Pönitz  <poenitz@gmx.net>
1628
1629         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1630
1631         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1632
1633         * Makefile.am:
1634         * BufferView.C:
1635         * BufferView_pimpl.C:
1636         * buffer.C:
1637         * lyxfind.C:
1638         * lyxfunc.C:
1639         * text.C:
1640         * text2.C:
1641         * text3.C: adjust
1642
1643 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1644
1645         * lyxtext.h:
1646         * text.C:
1647         * text2.C:
1648         * rowpainter.C:
1649         * BufferView_pimpl.C: rename textwidth -> maxwidth,
1650         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1651
1652 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1653
1654         * Bidi.[Ch] (computeTables): const correctness
1655         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1656         fill_hfill, fill_label_hfill and x from Row
1657         * lyxtext.h: prepareToPrint returns a RowMetrics
1658         * rowPainter.C: adjust
1659         * text.C (prepareToPrint): use width, not textWidth. adjust
1660         (redoParagraphInternal, cursorX): adjust
1661         * text2.C (getColumnNearX): adjust
1662         (init): put a default value to the top LyXText::width
1663
1664 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1665
1666         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1667
1668 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1669
1670         * lyxtext.h: add FontIterator class
1671
1672         * text.C (FontIterator, operator*, operator->, operator++): add
1673         (rowBreakPoint, setRowWidth): adjust (fixing a
1674         rebreaking bug)
1675
1676 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1677
1678         * BufferView_pimpl.C (workAreaDispatch): allow also
1679         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1680
1681 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
1682
1683         * text.C (rowBreakPoint): fix a bug showing with very large insets
1684
1685 2004-02-25  André Pönitz  <poenitz@gmx.net>
1686
1687         * text3.C:
1688         * cursor.[Ch]: move some mathed specific code to mathed
1689
1690 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1691
1692         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1693         use_tempdir in preferences
1694         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1695         tempfile creation
1696         * lyx_main.C: ensure that tempdir is valid
1697         * lyxlex.h: correct typo
1698         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1699         * paragraph.[Ch] (isMultiLingual): make const
1700         * cursor.[Ch] (openable): make const
1701
1702 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1703
1704         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1705
1706 2004-02-20  André Pönitz  <poenitz@gmx.net>
1707
1708         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1709
1710         * cursor.[Ch]: prepare for localized getStatus()
1711
1712         * lyxtext.h:
1713         * tabular.C:
1714         * text.C:
1715         * text2.C:
1716         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
1717
1718 2004-02-20  André Pönitz  <poenitz@gmx.net>
1719
1720         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1721
1722 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1723
1724         * text2.C (setCursorFromCoordinates): switch to absolute coords
1725         (cursorUp): adjust
1726         (cursorDown): adjust
1727         * text3.C (dispatch): adjust
1728
1729 2004-02-16  André Pönitz  <poenitz@gmx.net>
1730
1731         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1732           insets/ChangeLog)
1733
1734         * cursor_slice.[Ch]: remove unneeded acessor function
1735
1736         * lyxtext.h: rename rtl() to isRTL()
1737
1738         * rowpainter.C:
1739         * tabular.C:
1740         * text.C:
1741         * text2.C:
1742         * text3.C: adjust
1743
1744 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1745
1746         * rowpainter.C (paintSelection): coord fix
1747
1748 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
1749
1750         * Spacing.C: compile fix
1751
1752 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1753
1754         * cursor.C (dispatch): restore current_ before returning
1755
1756 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1757
1758         * text2.C (cursorUp, cursorDown): fix coords
1759         (moveUp): fix crash
1760
1761 2004-02-12  André Pönitz  <poenitz@gmx.net>
1762
1763         * lyxtext.h:
1764         * text.C:
1765         * text2.C:
1766         * text3.C: add LCursor & parameter to most cursor movement functions
1767           remove usage of LyXText::cursorRow() and cursorPar()
1768
1769         * cursor.[Ch]: add textRow() needed members
1770
1771         * BufferView.C:
1772         * BufferView_pimpl.C:
1773         * paragraph.[Ch]:
1774         * BufferView.C:
1775         * BufferView_pimpl.C: adjust
1776
1777 2004-02-11  André Pönitz  <poenitz@gmx.net>
1778
1779         * lyxfunc.C:
1780         * BufferView.[Ch]:
1781         * BufferView_pimpl.C: shift undo/redo handling
1782
1783         * cursor.[Ch]: fix mathed crash
1784
1785         * lyxfind.C:
1786         * lyxtext.h: move selectionAsText to LCursor
1787
1788         * output_latex.C:
1789         * paragraph.C:
1790         * text.C:
1791         * text2.C:
1792         * text3.C: adjust
1793
1794         * rowpainter.C: fix excessive drawing
1795
1796 2004-02-06  André Pönitz  <poenitz@gmx.net>
1797
1798         * BufferView.[Ch]:
1799         * BufferView_pimpl.[Ch]:
1800         * text3.C: move some text specific LFUN handling
1801
1802 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
1803
1804         * text3.C (checkInsetHit): adjust coords
1805         * text2.C (getColumnNearX): adjust coords
1806         (edit): adjust coords
1807         * text.C (getRowNearY): add two asserts
1808
1809 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
1810
1811         * converter.C:
1812         * format.C: add using std::distance to compile on gcc 2.95/stlport
1813
1814 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
1815
1816         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1817
1818 2004-02-04  André Pönitz  <poenitz@gmx.net>
1819
1820         * BufferView.[Ch] (insertInset):
1821         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1822
1823         * text2.C:
1824         * text3.C: adjust
1825
1826 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1827
1828         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1829         on the default clause of the switch
1830         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1831         wasn't catched by LCursor::dispatch
1832
1833 2004-02-03  André Pönitz  <poenitz@gmx.net>
1834
1835         * BufferView.C:
1836         * cursor.[Ch]: some additional asserts
1837
1838         * undo.[Ch]: remove LyXText dependency in interface
1839
1840         * lyxfunc.C: adjust
1841
1842         * lyxtext.h (firstPar, lastPar): remove dead functions
1843
1844         * text.C:
1845         * text2.C:
1846         * text3.C:
1847         * paragraph.[Ch]: adjust
1848
1849 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1850
1851         * lyxfind.C (find): fix argument order in call to ::find
1852
1853 2004-02-02  André Pönitz  <poenitz@gmx.net>
1854
1855         * cursor.[Ch]: remove direct access to anchor
1856
1857         * text.C: remove findText() hack
1858
1859 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1860
1861         * iterators.[Ch] (lockPath): remove in favour of...
1862         * BufferView.[Ch] (setCursor): this addition
1863         * BufferView.C (putSelectionAt): adjust
1864         * undo.C (performUndoOrRedo): adjust
1865         * lyxfunc.C (dispatch): adjust
1866
1867 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1868
1869         * iterators.C (lockPath): add a missing slice
1870         * undo.C (performUndoOrRedo): remove redundant positioning code
1871
1872 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1873
1874         * vc-backend.C (scanMaster): ";" -> ';'
1875
1876 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
1877
1878         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1879         std::binary_function
1880
1881         * lyxtextclass.C (compare_name): rename to...
1882         (LayoutNamesEqual): ...this
1883
1884         * lyxlex_pimpl.C (compare_tags): inherit from
1885         std::binary_function, put back into anon namespace
1886
1887         * lyxfind.C (MatchString): inherig from std::binary_function
1888         (findChange): use empty() istead of !size()
1889
1890         * format.C (FormatNamesEqual): new functor
1891         (getFormat): use it
1892         (getNumber): use it
1893         (add): use it
1894         (erase): use it
1895         (setViewer): use it
1896
1897         * converter.C (compare_Converter): rename to...
1898         (ConverterEqual): ...this, and fixup a bit.
1899         (getConverter): use it, and make function const
1900         (getNumber): use it, and make function const
1901         (add): use it
1902         (erase): use it:
1903
1904         * bufferlist.C: add using boost::bind
1905
1906         * MenuBackend.C (MenuNamesEqual): new functor
1907         (hasMenu): use it, and make function const
1908         (hasSubmenu): use nested bind to get rid of compare_memfun.
1909
1910 2004-01-30  André Pönitz  <poenitz@gmx.net>
1911
1912         * BufferView_pimpl.C:
1913         * cursor.C:
1914         * cursor.h:
1915         * cursor_slice.[Ch]:
1916         * lyxfunc.C:
1917         * lyxtext.h:
1918         * paragraph_funcs.C:
1919         * paragraph_funcs.h:
1920         * rowpainter.C:
1921         * text.C:
1922         * text2.C:
1923         * text3.C: move some of the edit(x,y) handling to the insets
1924         some coordinate changes.
1925
1926 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1927
1928         * text.C: add using statements for std::advance and std::distance
1929
1930         * paragraph.C: add using statement for std::distance
1931
1932         * lyxfind.C: add using statement for std::advance
1933
1934         * cursor.C (region): remove std:: from swap
1935         (openable): use nucleus in stead of operator->
1936
1937         * BufferView.C: add using statements for std::distance and std::swap
1938
1939 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
1940
1941         * iterators.C: Remove the pimple, move the needed structures to
1942         the header file. Create accessor for the positions stack.
1943         (asPosIterator): remove function
1944
1945         * PosIterator.C (PosIterator): move constructors to top of file
1946         (PosIterator): reimplement the constructor taking a ParIterator in
1947         terms of setFrom.
1948         (setFrom): new function
1949         (operator!=): inline it
1950
1951 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1952
1953         * lyxfind.C (replaceAll): use std::advance
1954
1955         * iterators.h: inherit from std::iterator.
1956
1957         * PosIterator.C (advance, distance): remove
1958         * PosIterator.h: interit from std::iterator.
1959
1960 2004-01-26  André Pönitz  <poenitz@gmx.net>
1961
1962         * BufferView.[Ch]:
1963         * BufferView_pimpl.[Ch]:
1964         * InsetList.[Ch]:
1965         * PosIterator.[Ch]:
1966         * buffer.h:
1967         * bufferview_funcs.C:
1968         * cursor.[Ch]:
1969         * cursor_slice.h:
1970         * factory.[Ch]:
1971         * iterators.[Ch]:
1972         * lyxfind.C:
1973         * lyxfunc.C:
1974         * lyxtext.h:
1975         * output_docbook.C:
1976         * output_latex.C:
1977         * output_linuxdoc.C:
1978         * output_plaintext.C:
1979         * paragraph.[Ch]:
1980         * paragraph_funcs.[Ch]:
1981         * paragraph_pimpl.[Ch]:
1982         * rowpainter.C:
1983         * tabular.C:
1984         * tabular.h:
1985         * text.C:
1986         * text2.C:
1987         * text3.C: more IU:  dumps most of the rest of the mathcursor
1988     implementation into cursor.[Ch]; "globalize" a bit of it.
1989
1990 2004-01-25  Angus Leeming  <leeming@lyx.org>
1991
1992         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1993
1994 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1995
1996         * LaTeXFeatures.h: add nice_ and nice() const
1997         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1998
1999 2004-01-20  André Pönitz  <poenitz@gmx.net>
2000
2001         * BufferView.[Ch]:
2002         * BufferView_pimpl.C:
2003         * PosIterator.C:
2004         * bufferview_funcs.C:
2005         * cursor.[Ch]:
2006         * cursor_slice.[Ch]:
2007         * factory.C:
2008         * iterators.C:
2009         * lyx_cb.C:
2010         * lyxfind.C:
2011         * lyxfunc.C:
2012         * lyxtext.h:
2013         * rowpainter.C:
2014         * text.C:
2015         * text2.C:
2016         * text3.C:
2017         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2018           LCursor and mathcursor parts to LCursor and InsetBase.
2019
2020 2004-01-15  André Pönitz  <poenitz@gmx.net>
2021
2022         * cursor_slice.[Ch]: add a few covienience functions
2023
2024         * funcrequest.[Ch]: remove BufferView * member
2025
2026         * BufferView_pimpl.C:
2027         * cursor.C:
2028         * factory.[Ch]:
2029         * lyxfind.[Ch]:
2030         * lyxfunc.C:
2031         * lyxtext.h:
2032         * text3.C:
2033         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2034
2035 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
2036
2037         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2038         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2039
2040 2004-01-13  André Pönitz  <poenitz@gmx.net>
2041
2042         * textcursor.[Ch]:
2043         * lyxtext.h: hide cursor and selection anchor behind accessor function
2044
2045         * BufferView.C:
2046         * BufferView_pimpl.[Ch]:
2047         * PosIterator.C:
2048         * bufferview_funcs.C:
2049         * cursor.h:
2050         * lyxfind.C:
2051         * lyxfunc.C:
2052         * text.C:
2053         * text2.C:
2054         * text3.C:
2055         * undo.C: adjust
2056
2057         * cursor.h:
2058         * cursor_slice.[Ch]: some integer type changes for inset unification
2059
2060         * lyxcursor.[hC]: remove, it's CursorSlice now.
2061
2062         * Makefile.am:
2063         * BufferView_pimpl.[Ch]:
2064         * bufferview_funcs.C:
2065         * cursor_slice.C:
2066         * lyxtext.h:
2067         * text.C:
2068         * text2.C:
2069         * text3.C:
2070         * textcursor.[Ch]: adjust
2071
2072 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
2073
2074         * text2.C (undoSpan): add and use
2075         * text.C (breakParagraph): use undoSpan (fix bug 578)
2076         * lyxtext.h: adjust
2077
2078 2004-01-08  Angus Leeming  <leeming@lyx.org>
2079
2080         * BufferView_pimpl.C (MenuInsertLyXFile):
2081         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2082         * lyxfunc.C (menuNew, open, doImport):
2083         FileFilterList change to the FileDialog open and save functions.
2084
2085 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
2086
2087         * ShareContainer.h: make isEqual and isUnique adaptable
2088
2089         * CutAndPaste.C: make resetOwnerAndChanges adaptable
2090
2091 2004-01-07  Angus Leeming  <leeming@lyx.org>
2092
2093         * LyXAction.C:
2094         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2095
2096         * BufferView_pimpl.C (dispatch): act on these LFUNs.
2097
2098         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2099         functions replacing find, replace and replaceAll.
2100
2101         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2102         LFUN_WORDFIND(FORWARD|BACKWARD).
2103
2104 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2105
2106         * text.C (breakParagraph): remove an outdated #warning
2107
2108 2004-01-07  André Pönitz  <poenitz@gmx.net>
2109
2110         * lyxfind.C: somewhat clearer logic
2111
2112         * text.C: prevent crash in cursorX on unitialized row cache
2113
2114 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2115
2116         * lyxcursor.[Ch] (operator>): add
2117         * textcursor.C (selStart, selEnd): use std::min and std::max
2118
2119 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
2120
2121         * Chktex.C: include boost/format.hpp
2122
2123 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
2124
2125         * InsetList.C: replace functor MathcIt with adaptable functor
2126         InsetTablePosLess
2127         (insetIterator): modify accordingly
2128
2129         * BranchList.h: move the BranchNamesEqual functor here from...
2130         * BranchList.C: ... to here
2131
2132         * BranchList.C: new BranchListEqual fuctor, use it. Remove
2133         SameName and match.
2134         (add): replace a finding loop with std::find_if.
2135
2136 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
2137
2138         * output_docbook.C: moving LatexParam functionality into
2139         .layout files
2140
2141 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2142
2143         * buffer.C: increment format to 229.
2144
2145 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
2146
2147         * LaTeXFeatures.C:
2148         * lyx_sty.[Ch]: remove minipageindent_def
2149
2150         * LyXAction.C:
2151         * factory.C:
2152         * lfuns.h:
2153         * lyxfunc.C:
2154         * text3.C: remove LFUN_INSET_MINIPAGE
2155
2156 2003-12-28  Angus Leeming  <leeming@lyx.org>
2157
2158         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2159
2160 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
2161
2162         * text2.C (setParagraph): fix off-by-one crash
2163
2164 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
2165
2166         * output_docbook.C: header stuff for AGU
2167
2168 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
2169
2170         * text2.C (redoCursor): remove
2171         * text.C:
2172         * text3.C:
2173         * BufferView_pimpl.C: remove calls to redoCursor and
2174         setCursor(cursor.par(), cursor.pos()) all around
2175
2176 2003-12-15  Angus Leeming  <leeming@lyx.org>
2177
2178         * buffer.C: up the format to 228.
2179
2180 2003-12-15  André Pönitz  <poenitz@gmx.net>
2181
2182         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2183         slices
2184
2185         * Makefile.am:
2186
2187         * BufferView_pimpl.C:
2188         * cursor.[Ch]:
2189         * lyxcursor.[Ch]:
2190         * rowpainter.[Ch]:
2191         * lyxtext.h:
2192         * text.C:
2193         * text2.C:
2194         * text3.C: adjust
2195
2196 2003-12-15  Angus Leeming  <leeming@lyx.org>
2197
2198         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2199         than getFromGUIName to manipulate the color.
2200
2201 2003-12-14  Angus Leeming  <leeming@lyx.org>
2202
2203         * BranchList.[Ch]: minimize the API.
2204         (Branch::getBranch, getColor): now return a 'const &'.
2205         (Branch::setSelected) now returns a bool set to true if the
2206         selection status changes.
2207         (BranchList::clear, size, getColor, setColor, setSelected,
2208         allBranches, allSelected, separator): removed.
2209         (BranchList::find): new functions, returning the Branch with
2210         the given name.
2211         (BranchList::add, remove): return a bool indicating that
2212         the operation was successful.
2213
2214         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2215         new InsetBranch::isBranchSlected member function.
2216
2217         * LColor.[Ch]: mimimize the API.
2218         (fill): renamed as addColor and made private.
2219         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2220         versions of these functions taking a string arg have been removed.
2221
2222         * bufferparams.C (readToken):
2223         * lyxfunc.C (dispatch):
2224         * lyxrc.C (read): changes due to the altered BranchList and
2225         LColor APIs.
2226
2227         * factory.C (createInset, readInset): changes due to altered
2228         InsetBranch c-tor.
2229
2230 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2231
2232         * factory.C:
2233         * lyxfunc.C: remove insetminipage. "minipage-insert"
2234         now produces a frameless minipage box inset.
2235
2236 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2237
2238         * textcursor.[Ch] (selStart,selEnd): add new methods
2239         remove selection::start, end, use LyXCursor::operator<
2240         * lyxcursor.[Ch] (operator<): add
2241         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2242         * BufferView.[Ch] (unsetXSel): add
2243         * text2.C (clearSelection): use unsetXSel,adjust
2244         * text.C: adjust
2245         * text3.C: adjust
2246         * rowpainter.C: adjust
2247         * bufferview_funcs.C (put_selection_at): adjust
2248
2249 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2250
2251         * BufferView_pimpl.C: small coord. correction
2252
2253 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2254
2255         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2256         dragging over the splash screen.
2257
2258 2003-12-11  Angus Leeming  <leeming@lyx.org>
2259
2260         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2261         as it is now handled in LyXText::dispatch.
2262
2263         * text3.C (doInsertInset): remove a level of nesting.
2264
2265 2003-12-11  Angus Leeming  <leeming@lyx.org>
2266
2267         * factory.C (createInset): changes due to the changed interface to
2268         InsetCommandMailer::string2params.
2269
2270 2003-12-10  Angus Leeming  <leeming@lyx.org>
2271
2272         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2273         'dialog-show-new-inset <inset name>'
2274
2275 2003-12-10  Angus Leeming  <leeming@lyx.org>
2276
2277         * buffer.C: up the format to 227.
2278
2279         * factory.C: the box inset is now identified simply by 'Box'.
2280
2281 2003-12-10  Angus Leeming  <leeming@lyx.org>
2282
2283         * buffer.C: up the format to 226.
2284
2285         * factory.C: the note inset is now identified simply by 'Note'.
2286
2287 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
2288
2289         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2290         when a pit is enough. Standarize a couple of loops.
2291
2292 2003-12-05  Angus Leeming  <leeming@lyx.org>
2293
2294         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2295         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2296         data to the re-worked "log" dialog.
2297
2298 2003-12-03  André Pönitz  <poenitz@gmx.net>
2299
2300         * PosIterator.C:
2301         * iterators.C:
2302         * lyxtext.h:
2303         * output_latex.C:
2304         * paragraph_funcs.C:
2305         * text.C:
2306         * text2.C: use Inset::getText instead of Inset::getParagraph
2307
2308 2003-12-03  André Pönitz  <poenitz@gmx.net>
2309
2310         * buffer.[Ch]:
2311         * lyxtext.h:
2312         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2313         InsetText::read() as LyXText::read()
2314
2315 2003-12-02  Angus Leeming  <leeming@lyx.org>
2316
2317         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2318         type. Add a comment in the implementation that the function uses
2319         the stream's bad() function rather than fail() as the std::streams
2320         would do.
2321
2322 2003-12-02  André Pönitz  <poenitz@gmx.net>
2323
2324         * lyxlex.[Ch]: make interface more similar to std::stream
2325
2326         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2327
2328 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
2329
2330         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2331
2332 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
2333
2334         * vspace.[Ch]: remove VSpace::NONE
2335
2336 2003-12-01  André Pönitz  <poenitz@gmx.net>
2337
2338         * buffer.[Ch]:
2339         * lyxtext.h: move ParagraphList member to LyXText
2340         rename LyXText::ownerParagraphs to LyXText::paragraph
2341
2342         * CutAndPaste.C:
2343         * bufferview_funcs.C:
2344         * iterators.[Ch]:
2345         * lyx_cb.C:
2346         * paragraph.C:
2347         * rowpainter.C:
2348         * tabular.C:
2349         * text.C:
2350         * text2.C:
2351         * text3.C: adjust
2352
2353         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2354
2355         * undo.C: fix cursor positioning
2356
2357 2003-12-01  John Levon  <levon@movementarian.org>
2358
2359         * BufferView_pimpl.C: fix a crash on exit with
2360         a buffer open
2361
2362 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
2363
2364         * BranchList.C: fix setSelected() method.
2365
2366 2003-11-28  André Pönitz  <poenitz@gmx.net>
2367
2368         * ParagraphParameters.[Ch]:
2369         * ParameterStruct.h: remove space above/below from Paragraph to
2370          InsetVSpace
2371
2372         * BufferView_pimpl.C:
2373         * factory.C:
2374         * lyxfunc.C:
2375         * lyxtext.h:
2376         * output_latex.C:
2377         * paragraph.C:
2378         * paragraph_funcs.C:
2379         * rowpainter.[Ch]:
2380         * text.C:
2381         * text2.C:
2382         * text3.C: adjust
2383
2384 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
2385
2386         * factory.C: Syntax change for CharStyles
2387
2388 2003-11-28  André Pönitz  <poenitz@gmx.net>
2389
2390         * BufferView.[Ch]:
2391         * BufferView.[Ch]:
2392         * buffer.[Ch]:
2393         * buffer.[Ch]: move LyXText member
2394
2395 2003-11-28  André Pönitz  <poenitz@gmx.net>
2396
2397         * BufferView.[Ch]: make LyXText * text a private member
2398
2399         * BufferView_pimpl.C:
2400         * cursor.C:
2401         * iterators.C:
2402         * lyx_cb.C:
2403         * lyxfind.C:
2404         * lyxtext.h:
2405         * rowpainter.[Ch]:
2406         * text.C:
2407         * text2.C:
2408         * undo.C: adjust
2409
2410         * output_plaintext.C: cleanup
2411
2412 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2413
2414         * buffer.C:
2415         * lyxtextclass.[Ch]: parametrize SGML document header
2416
2417 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2418
2419         * converter.[Ch]:
2420         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2421         getFlavor().
2422
2423 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
2424
2425         * text2.C (setFont): rework using PosIterator (no more recursive)
2426         (setCharFont): no more needed
2427         (setLayout): no more selection cursors fiddling (done by redoCursor)
2428         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2429         destroy remaining ones)
2430
2431 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
2432
2433         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2434         * lyxtext.h: ditto
2435         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2436         selection cursors
2437         * lyxfunc.C: adjust
2438         * text3.C: adjust + re-allow multi par depth changes
2439         * textcursor.C: simplify a bit
2440
2441 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
2442
2443         * src/buffer.C:
2444         * src/lyxlayout.C:
2445         * src/lyxlayout.h:
2446         * src/lyxtext.h:
2447         * src/output_docbook.C:
2448         * src/output_latex.C:
2449         * src/paragraph.C:
2450         * src/paragraph.h:
2451         * src/sgml.C:
2452         * src/sgml.h:
2453         * src/text2.C: Introducing a number of tags parametrizing various
2454         XML formats that we may want to support
2455
2456 2003-11-25  André Pönitz  <poenitz@gmx.net>
2457
2458         * InsetList.[Ch] (begein, end): inline as suggested by profiler
2459
2460         * lyxtext.h (leftMargin/rightMargin): simplify interface
2461
2462         * rowpainter.C:
2463         * text.C:
2464         * text2.C:
2465         * text3.C: adjust
2466
2467 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2468
2469         * lyxfunc.C (dispatch): propogate the bibtex databases from the
2470         master file to any child files. Fixes bug 546.
2471
2472 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2473
2474         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2475
2476 2003-11-24  André Pönitz  <poenitz@gmx.net>
2477
2478         * rowpainter.C: simplification
2479
2480         * text2.C (updateCounters): remove call to redoParagraph on
2481         changed labels as this is far too expensive.
2482
2483 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2484
2485         * converter.C (convert): fix a crash: this function gets
2486         called with buffer == 0 from importer code.
2487
2488 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
2489
2490         * text3.C (cursorPrevious): make sure that we do not compare
2491         iterators form different containers.
2492         (cursorNext): ditto
2493
2494         * rowpainter.C (paintSelection): make sure that we do not compare
2495         iterators from different containers.
2496
2497         * text3.C (dispatch): [PRIOR] make sure that we do not compare
2498         iterators from different ParagraphList containers.
2499         [NEXT] ditto
2500
2501         * text2.C (LyXText): change order of initialization slightly
2502         (operator=): new function. copy all variables except cache_par_
2503         (moveUp): make sure that we do not compare iterators from
2504         different ParagraphList constainers.
2505         (moveDown): ditto
2506
2507         * text.C (firstPar): new function
2508         (lastPar): new function
2509         (endPar): new function
2510
2511         * lyxtext.h: move things around and group public functions, public
2512         variables, private functions, private variables
2513
2514 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
2515
2516         * factory.C: change call to InsetERT constructor to avoid
2517         additional invocation of method status
2518         * text2.C (toggleInset): remove redundant update() call
2519         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2520         instead of a Bufferview pointer
2521
2522 2003-11-21  André Pönitz  <poenitz@gmx.net>
2523
2524         * rowpainter.C: simplification
2525
2526 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2527
2528         * text3.C (dispatch): make possible to extend a word/row selection
2529         with the mouse
2530
2531 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2532
2533         * lyxtext.h: x0_,y0_ -> xo_,yo_
2534         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2535         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2536         * rowpainter.C (paintRows): paint full paragraphs
2537
2538 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2539
2540         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2541         screen coordinates)
2542
2543 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2544
2545         * lyxtext.h: add x0_, y0_
2546         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2547         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2548
2549 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
2550
2551         * text2.C (setCursorIntern): move the x_target update here *
2552         * text3.C: change some bv() to true/false in calls to
2553         cursorUp/Down/Right/Left
2554         * cursor.C: use helper function.
2555
2556 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2557
2558         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2559         * paragraph_funcs.[Ch]: correct comment
2560         * rowpainter.C: do not paint selections away from bv->cursor()
2561         Fix a long standing selection painting bug.
2562         * text3.C: generalize mouse-selection code to LyXTexts other that
2563         top one
2564         * textcursor.C: do not use y coords if we can use par offsets
2565
2566 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2567
2568         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2569         cursor position after e.g. inset insert)
2570
2571 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
2572
2573         * lyxfind.C (replace): adjust to locking removal + some
2574         code simplification
2575
2576 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
2577
2578         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2579         of the path
2580
2581 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
2582
2583         * lyxlayout.[Ch]:
2584         * output_docbook.C: XML sanitation: new layout
2585         parameters InnerTag and CommandDepth
2586
2587 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
2588
2589         * BufferView_pimpl.C:
2590         * factory.C:
2591         * text3.C: Fix the insertion and modification of button-style
2592         insets
2593
2594 2003-11-13  André Pönitz  <poenitz@gmx.net>
2595
2596         * InsetList.[Ch]: remove deleteLyXText
2597
2598         * paragraph.[Ch]: cache beginOfBody position
2599
2600         * Bidi.C:
2601         * text.C:
2602         * text2.C:
2603         * text3.C: remove superfluous update() calls
2604
2605         * vspace.C: cleanup
2606
2607 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
2608
2609         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2610         * BufferView.C (fitLockedInsetCursor): remove
2611         * cursor.[Ch] (getDim): add
2612         * text.C (getRowNearY): add faster version
2613         * text3.C: remove some update calls
2614
2615 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
2616
2617         * LaTeXFeatures.C:
2618         * LyXAction.C:
2619         * MenuBackend.C:
2620         * MenuBackend.h:
2621         * dispatchresult.h:
2622         * factory.C:
2623         * lfuns.h:
2624         * lyxfunc.C:
2625         * lyxtextclass.C:
2626         * lyxtextclass.h:
2627         * text3.C: The Character Style /XML short element patch.
2628
2629 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
2630
2631         * text3.C:
2632         * factory.C: Small step to solving 'unable to insert some insets'
2633         problem
2634
2635 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2636
2637         * cursor.[Ch] (updatePos): new function for updating the y
2638         position of the tip inset
2639         * bufferview_funcs.C (put_selection_at):
2640         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2641
2642 2003-11-11  André Pönitz  <poenitz@gmx.net>
2643
2644         * text.C: remove big comment on invalid Paragraph pointers as it is
2645         not valid anymore
2646
2647 2003-11-11  André Pönitz  <poenitz@gmx.net>
2648
2649         * text_funcs.[Ch]: merge with ...
2650
2651         * text.C: ... this
2652
2653         * lyxtext.h:
2654         * text2.C:
2655         * text3.C: adjust
2656
2657         * Makefile.am: remove text_funcs.[Ch]
2658
2659 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
2660
2661         * cursor.C (getPos): return absolute cached y coord
2662
2663         * BufferView_pimpl.C (fitCursor): new simplistic code
2664         (workAreaDispatch): add a fitCursor call
2665
2666 2003-11-10  André Pönitz  <poenitz@gmx.net>
2667
2668         * BufferView.[Ch]:
2669         * BufferView_pimpl.[Ch]: merge update() and updateInset()
2670
2671 2003-11-10  André Pönitz  <poenitz@gmx.net>
2672
2673         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2674         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2675         indicate that the cursor needs to leave an inset
2676
2677         * lyxtext.h: remove inset locking
2678
2679         * cursor.[Ch]: re-implement functionality provided by inset locking
2680
2681         * BufferView.[Ch]:
2682         * BufferView_pimpl.[Ch]:
2683         * LyXAction.C:
2684         * bufferview_funcs.[Ch]:
2685         * factory.C:
2686         * funcrequest.[Ch]:
2687         * iterators.C:
2688         * lyx_cb.C:
2689         * lyxfind.C:
2690         * lyxfunc.C:
2691         * text.C:
2692         * text2.C:
2693         * text3.C:
2694         * undo.C: adjust
2695
2696 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
2697
2698         * PosIterator.[Ch]: replace the stack with a vector, add inset
2699         accesor
2700         * iterators.[C]: adjust
2701
2702 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2703
2704         * lyxfind.C (replaceAll): mark the buffer dirty if something was
2705         replaced
2706         * paragraph_funcs.C (readParToken): put the correct id in the
2707         error item, not the id of the top paragraph
2708
2709 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2710
2711         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2712         * bufferview_funcs.C (put_selection_at): use the above
2713
2714 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2715
2716         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2717
2718 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2719
2720         * output_linuxdoc.h:
2721         * output_plaintext.h:
2722         * output.h:
2723         * output_docbook.h: add #include statements
2724
2725 2003-11-05  José Matos  <jamatos@lyx.org>
2726
2727         * output_docbook.[Ch]:
2728         * output_latex.[Ch]:
2729         * output_linuxdoc.[Ch]:
2730         * output_plaintext.[Ch]: New files for output formats.
2731         * output.[Ch]: New file for helper functions.
2732
2733         * buffer.[Ch]:
2734         * paragraph_funcs.[Ch]: output functions moved to new files.
2735
2736         * outputparams.h: rename of latexrunparams.h
2737
2738         * LaTeX.[Ch]:
2739         * buffer.[Ch]:
2740         * bufferlist.[Ch]:
2741         * converter.[Ch]:
2742         * exporter.C:
2743         * paragraph.[Ch]:
2744         * paragraph_funcs.[Ch]:
2745         * paragraph_pimpl.[Ch]:
2746         * tabular.[Ch]: rename ascii to plaintext
2747         and LatexRunParams to OutputParams.
2748
2749 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2750
2751         * iterators.[Ch] (text): require bv argument
2752         * undo.C (recordUndo):
2753         * lyxfunc.C (dispatch):
2754         * bufferview_funcs.C (put_selection_at): adjust
2755
2756 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
2757
2758         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2759
2760 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2761
2762         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2763         nestings
2764
2765 2003-11-04  André Pönitz  <poenitz@gmx.net>
2766
2767         * cursor.[Ch]: restructure
2768
2769         * BufferView.[Ch]:
2770         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2771
2772         * iterators.[Ch] (asCursor): remove
2773
2774         * lfuns.h: remove LFUN_INSET_EDIT
2775
2776         * lyxfunc.C:
2777         * tabular.C:
2778         * text.C:
2779         * text2.C:
2780         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2781
2782 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2783
2784         * lyxfind.[Ch]: complete overhaul
2785         * BufferView_pimpl.C:
2786         * lyxfunc.C: adjust
2787         * paragraph.[Ch] (insert): add
2788
2789 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2790
2791         * BufferView.[Ch]:
2792         * lyxtext.h:
2793         * text.C: remove dead spellcheck code
2794
2795 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2796
2797         * dispatchresult.h: add a val setter
2798
2799         * cursor.C (dispatch): use a tempvar for data_[i]
2800
2801 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2802
2803         * PosIterator.[Ch]: compile fix
2804
2805 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2806
2807         * text.C (cursorPar): deactivate the cursor cache
2808
2809 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2810
2811         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2812
2813 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2814
2815         * text3.C (dispatch): adjust for new DisptchResult semantics.
2816
2817         * lyxfunc.C (dispatch): handle update when return from
2818         Cursor::dispatch, adjust for new DispatchResult semantics.
2819
2820         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2821         DispatchResult(true) mean to not update. Add class functions for
2822         setting dispatched and update, as well as reading.
2823
2824         * cursor.C (dispatch): don't handle update here
2825
2826 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2827
2828         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2829         * trans_mgr.C: adjust
2830
2831         * paragraph_funcs.C (readParToken): exception safety
2832
2833         * lyxvc.h: store the vcs pointer in a scoped_ptr
2834         * lyxvc.C: adjust
2835
2836         * lyxsocket.C (serverCallback): exception safety
2837
2838         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2839
2840         * ispell.C (clone): make it return a auto_ptr
2841
2842         * factory.C (createInset): exception safety
2843         (readInset): exception safety
2844
2845         * bufferlist.C (newBuffer): exception safety
2846
2847         * Thesaurus.C (Thesaurus): use initialization for aik_
2848
2849         * MenuBackend.C (expandToc): exception safety.
2850
2851 2003-11-03  André Pönitz  <poenitz@gmx.net>
2852
2853         * buffer.C:
2854         * buffer.h:
2855         * bufferview_funcs.C: remove getInsetFromId()
2856
2857         * lyxcursor.[Ch]:
2858         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2859
2860         * lyxfunc.C:
2861         * text2.C:
2862         * text3.C: adjust
2863
2864 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2865
2866         * PosIterator.C (distance, advance): new
2867         * bufferview_funcs.[Ch] (put_selection_at): new
2868         * iterators.[Ch] (lockPath): new
2869
2870 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
2871
2872         * iterators.[Ch] (asPosIterator): added
2873         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2874         * PosIterator.[Ch]: added
2875
2876 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2877
2878         * text3.C:
2879         * lyxfunc.C:
2880         * cursor.C (dispatch):
2881         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2882
2883         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2884         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2885         contructor, add a class function dispatched. Remove operator>=
2886
2887 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2888
2889         * debug.C: only use the default constructor for debugstream
2890         (lyxerr) here.
2891
2892         * main.C (main): include debug.h and setup the lyxerr streambuf
2893         here.
2894
2895 2003-10-31  José Matos  <jamatos@lyx.org>
2896
2897         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2898
2899         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2900         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2901         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2902         * paragraph_pimpl.C (simpleTeXSpecialC):
2903         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2904         add LatexRunParams argument.
2905
2906         * exporter.C (Export): change call accordingly.
2907
2908         * latexrunparams.h: add new member to take care of the other backends.
2909 2003-10-30  José Matos  <jamatos@lyx.org>
2910
2911         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2912         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2913         factorise code for paragraph output.
2914         * buffer.[Ch]:
2915         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2916         move functions.
2917
2918 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2919
2920         * text3.C (dispatch):
2921         * lyxfunc.C (dispatch):
2922         * cursor.C (dispatch):
2923         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2924
2925         * dispatchresult.h: make the dispatch_result_t ctor explicit
2926
2927 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
2928
2929         * sgml.[Ch]:
2930         * buffer.C: small refactoring of docbook stuff
2931
2932 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2933
2934         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2935         meaning.
2936
2937 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2938
2939         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2940         operator dispatch_result_t, and operators for == != and >=
2941
2942         * cursor.C (dispatch): adjust for operator dispatch_result_t
2943         removal. comment out call to update
2944
2945         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2946
2947 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2948
2949         * text3.C:
2950         * text2.C:
2951         * text.C:
2952         * lyxtext.h:
2953         * lyxfunc.C:
2954         * cursor.C:
2955         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2956         (dispatch):
2957
2958         * dispatchresult.h: new file, DispatchResult broken out of
2959         insets/insetbase.h
2960
2961         * Makefile.am (lyx_SOURCES): add dispatchresult.h
2962
2963 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2964
2965         * text.C (rowBreakPoint): put a hack inside #if 0
2966
2967 2003-10-28  André Pönitz  <poenitz@gmx.net>
2968
2969         * lyxtext.h:
2970         * metricsinfo.C:
2971         * paragraph_funcs.C:
2972         * rowpainter.C:
2973         * text.C:
2974         * text2.C: general cleanup (lots of small stuff)
2975
2976 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2977
2978         * text2.C (cursorEnd): simple fix to the "end key goes to one
2979         before the end on last row" bug
2980
2981 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2982
2983         * text.C (backspace): fix the "zombie characters"
2984
2985 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2986
2987         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2988
2989 2003-10-27  André Pönitz  <poenitz@gmx.net>
2990
2991         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2992
2993         * factory.C: handle new InsetPagebreak, InsetLine
2994
2995         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2996         and move handling into new InsetPagebreak, InsetLine
2997
2998         * BufferView_pimpl.C:
2999         * LyXAction.C:
3000         * ParagraphParameters.C:
3001         * ParameterStruct.h:
3002         * lyxfunc.C:
3003         * lyxtext.h:
3004         * paragraph.C:
3005         * paragraph.h:
3006         * paragraph_funcs.C:
3007         * paragraph_pimpl.C:
3008         * rowpainter.C:
3009         * text.C:
3010         * text2.C:
3011         * text3.C: adjust
3012
3013 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3014
3015         * text.C:
3016         * lyxrow_funcs.[Ch]:
3017         * Bidi.C:
3018         * paragraph.C:
3019         * lyxtext.h:
3020         * rowpainter.C:
3021         * text2.C:
3022         * text3.C: remove lastPos uses in favour of Row::endpos
3023
3024 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3025
3026         * undo.C (performUndoOrRedo): fix two crashes by setting a
3027         cursor by hand and reordering some calls. Use bv->lockInset instead
3028         of inset->edit because the latter loses cursor information
3029
3030 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
3031
3032         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3033         by Martin
3034         (rowBreakPoint): fix width. change point to point + 1.
3035         Add a missing check.
3036
3037 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
3038
3039         * MenuBackend.C:
3040         * lyxfunc.C: fix (at least partly) the problems
3041         with the Nav menu and headers inside branch insets
3042         reported by Kayvan
3043
3044 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
3045
3046         * paragraph.C (getChar): add strong asserts
3047
3048         * lyxrow_funcs.C (lastPos): remove hideous hack
3049
3050         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3051         (fill): adjust to that (avoid an infinite loop)
3052
3053 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3054
3055         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3056
3057 2003-10-23  André Pönitz  <poenitz@gmx.net>
3058
3059         * RowList_fwd.h: change list<> to vector<> to gain speed
3060         after suggestion from Alfredo
3061
3062 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3063
3064         * lyxtext.h: move the bidi stuff from here...
3065         * text.C: and here
3066         * text2.C: and here
3067         * Bidi.[Ch]: ... to here
3068
3069 2003-10-23  André Pönitz  <poenitz@gmx.net>
3070
3071         * lyxtext.h:
3072         * text.C (isLastRow, isFirstRow): new functions
3073
3074         * paragraph.h: new width cache member
3075
3076         * rowpainter.C: replace RowList::iterator with Row & where possible
3077
3078         * lyxfunc.C: replace several view()->text with a single call
3079
3080         * toc.C: fix 'unused' warning
3081
3082 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3083
3084         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3085         when woring with stream::pos_type
3086         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3087
3088 2003-10-22  André Pönitz  <poenitz@gmx.net>
3089
3090         * lyxtext.h:
3091         * text.C: use Row & instead of RowList::iterator
3092
3093         * lyxrow.h: rename end() to endpos()
3094
3095         * rowpainter.C:
3096         * text.C:
3097         * text2.C: adjust
3098
3099 2003-10-22  Angus Leeming  <leeming@lyx.org>
3100
3101         * buffer.[Ch] (fully_loaded): new member function, returning true
3102         only when the file has been loaded fully.
3103         Used to prevent the premature generation of previews and by the
3104         citation inset to prevent computation of the natbib-style label.
3105
3106         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3107         templates are all set up.
3108
3109         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3110
3111 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
3112
3113         * text.C: fixed an "oops" in the "is a bit silly"
3114         bug fix
3115
3116 2003-10-21  André Pönitz  <poenitz@gmx.net>
3117
3118         * FuncStatus.[Ch]: small stuff, whitespace
3119
3120         * lyxfont.[Ch]: operator<<() for debug reasons
3121
3122         * lyxfunc.C:
3123         * lyxrow_funcs.C:
3124         * lyxtext.h: whitespace, spelling
3125
3126         * paragraph.C: naming of variables
3127
3128         * text.C:
3129         * text2.C: small stuff
3130
3131
3132 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
3133
3134         * text.C: (1) finish off the inset display() work;
3135         (2) fix the "is a bit silly" bug (accessing char
3136         past end of par).
3137
3138 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
3139
3140         * text.C: re-introduce display() for insets, fixing the
3141         various bugs (stretch of line above, math inset
3142         positioning, ...)
3143
3144 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3145
3146         * text.C (rightMargin): remove spurious semicolon
3147
3148         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3149         1415)
3150
3151 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
3152
3153         * text3.C: fix one crash due to wrong cursor def
3154
3155 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3156
3157         * vc-backend.C (scanMaster): make the regex static
3158
3159         * LaTeX.C (scanAuxFile): make the regexs static
3160
3161         * text3.C (doInsertInset, dispatch, dispatch):
3162         * text2.C (cursorUp, cursorDown):
3163         * text.C (selectNextWordToSpellcheck):
3164         * BufferView_pimpl.C (dispatch):
3165         * lyxfunc.C (dispatch):  localDispatch -> dispatch
3166
3167 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3168
3169         * lyxsocket.C: include <cerrno>
3170
3171 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3172
3173         * lyxfunc.C (dispatch): remove textcache stuff
3174
3175         * bufferlist.C (release): remove textcache stuff
3176         (closeAll): ditto
3177
3178         * TextCache.C: delete file
3179         * TextCache.h: delete file
3180
3181         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3182
3183         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3184         delete of the bv_->text.
3185         (resizeCurrentBuffer): remove texcache stuff
3186         (workAreaResize): ditto
3187
3188 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3189
3190         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3191         action.
3192
3193 2003-10-16  André Pönitz  <poenitz@gmx.net>
3194
3195         * lyxrow.[Ch]:
3196         * paragraph.h:
3197         * rowpainter.C:
3198         * text.C:
3199         * text2.C:
3200         * text3.C: speed up by storing y positions per paragraph plus per-row
3201         offset instead of having a 'full' y position in the row.
3202
3203 2003-10-15  André Pönitz  <poenitz@gmx.net>
3204
3205         * iterators.[Ch]:
3206         * iterators.[Ch]:
3207         * undo.[Ch]: make undo aware of inner insets
3208
3209 2003-10-14  Angus Leeming  <leeming@lyx.org>
3210
3211         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3212         static member functions LyX::ref() and LyX::cref.
3213         (lastfiles): new accessor functions for the new lastfiles_ member var.
3214         (addLyXView, views_): add a new LyXView to the list of views_.
3215         (updateInset): loop over all LyXViews to call their own updateInset
3216         member function, returning a pointer to the Buffer owning the inset.
3217
3218         * BufferView_pimpl.C (loadLyXFile):
3219         * MenuBackend.C (expandLastfiles):
3220         * bufferlist.C (MenuWrite, QuitLyX):
3221         lastfiles is no longer a global variable.
3222         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3223
3224         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3225         static function. Access through LyX::cref().emergencyCleanup().
3226
3227 2003-10-14  André Pönitz  <poenitz@gmx.net>
3228
3229         * iterators.[Ch]: new direct access to innermost LyXText and Inset
3230
3231         * undo.[Ch]: restoring part of 'undo in insets'
3232
3233         * Makefile.am:
3234         * undo_funcs.[Ch]: merge with undo.[Ch]
3235
3236         * tabular.C: small cleansing stuff
3237
3238 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
3239
3240         * paragraph_funcs.C (readParToken): report unknown insets as error
3241         boxes. Use the outer paragraph as location (also for unknown
3242         tokens).
3243
3244         * factory.C (readInset): do not abort on reading an unknown inset.
3245         Eat it and return 0.
3246
3247 2003-10-13  Angus Leeming  <leeming@lyx.org>
3248
3249         * lyx_main.C (LyX): remove call to setDisplayTranslator().
3250
3251         * lyxrc.C: displayTranslator is now a function,
3252         declared in GraphicsTypes.h.
3253
3254 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3255
3256         * format.C: new placeholder $$a to pass the socket address.
3257
3258         * bufferlist.[Ch]: new function getBufferFromTmp.
3259
3260         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3261           files in the temporary dir.
3262
3263 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3264
3265         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3266
3267         * Makefile.am: add lyxsocket.[Ch].
3268
3269         * lyx_main.C (error_handler): handle SIGPIPE.
3270
3271 2003-10-13  André Pönitz  <poenitz@gmx.net>
3272
3273         * BufferView_pimpl.C:
3274         * lyxtext.h:
3275         * text.C:
3276         * text2.C:
3277         * text3.C:
3278         * undo_funcs.[Ch]: use paroffset_type instead of
3279           ParagraphList::iterators to prevent multiple conversion
3280           (and get a more robust interface)
3281
3282 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3283
3284         * lyxfunc.C (dispatch): RESULT -> dispatch_result
3285         * lyxtext.h: ditto
3286         * text3.C (dispatch): ditto
3287
3288 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3289
3290         * LaTeX.C (handleFoundFile): move the static to smaller scope,
3291         move the onlyfile, use onlyfile instead of foundfile in a couple
3292         of places.
3293
3294         * DepTable.C (update): flush the error stream a bit more
3295
3296 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3297
3298         * lyxserver.C (callback): adjust
3299
3300         * lyxfunc.C (getStatus): add a missing brace in commented code
3301         (ensureBufferClean): reindent
3302         (dispatch): delete version taking a string
3303
3304 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3305
3306         * LaTeX.C (deplog): move found file handlig from here...
3307         (handleFoundFile): .. to new function here.
3308         (deplog): make sure to discover several files mentioned on the
3309         same log line.
3310
3311 2003-10-10  André Pönitz  <poenitz@gmx.net>
3312
3313         * lyxfunc.C:
3314         * lyxtext.h:
3315         * tabular.C:
3316         * text.C:
3317         * text2.C:
3318         * text3.C: fix some of the tabular crashes
3319
3320 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3321
3322         * MenuBackend.C (binding): put debug message into Debug::KBMAP
3323
3324         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3325
3326 2003-10-09  André Pönitz  <poenitz@gmx.net>
3327
3328         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3329
3330         * BufferView.C:
3331         * BufferView_pimpl.C:
3332         * bufferview_funcs.C:
3333         * lyx_cb.C:
3334         * lyxcursor.C:
3335         * lyxfind.C:
3336         * lyxfunc.C:
3337         * lyxtext.h:
3338         * text.C:
3339         * text2.C:
3340         * text3.C:
3341         * text_funcs.[Ch]:
3342         * textcursor.[Ch]:
3343         * undo_funcs.C: adjust
3344
3345 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3346
3347         * text2.C (incrementItemDepth): new function, use a backtracking
3348         algorithm to discover the correct item depth.
3349         (resetEnumCounterIfNeeded): new function, use a backtracking
3350         algorithm to discover if counter reset is needed.
3351         (setCounter): use them. Simplify a bit. Add different labels for
3352         different item depths for itemize.
3353
3354         * paragraph.C (Paragraph): remove initialization of enumdepth
3355         (operator=): ditto
3356
3357         * paragraph.h: get rid of enumdepth, and use itemdepth both for
3358         enumerate and itemize. Change the type of itemdepth to signed char.
3359
3360 2003-10-08  André Pönitz  <poenitz@gmx.net>
3361
3362         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3363           thing assignable.
3364         * text.C:
3365         * text2.C: adjust
3366
3367         * tabular.[Ch]: fix crash after 'row-insert'
3368
3369 2003-10-08  Angus Leeming  <leeming@lyx.org>
3370
3371         Fix doxygen warnings.
3372
3373         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3374         Remove CutAndPaste:: prefix from header file declaration.
3375
3376         * LColor.h (fill): remove LColor:: prefix from declaration.
3377
3378         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3379         use lyx::depth_type rather than Paragraph::depth_type so that
3380         header file and .C file match.
3381
3382         * converter.h (intToFormat): remove Converters:: prefix from declaration.
3383
3384         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3385         * aspell.C: \file aspell_local.C -> \file aspell.C
3386         * gettext.C: \file gettext.C -> \file src/gettext.C
3387         * gettext.h: \file gettext.h -> \file src/gettext.h
3388         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3389         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3390         * text.C: \file text.C -> \file src/text.C
3391
3392         * toc.C: move comment so that doxygen is not confused.
3393
3394 2003-10-07  Angus Leeming  <leeming@lyx.org>
3395
3396         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3397
3398 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3399
3400         * aspell.C:
3401         * aspell_local.h: add forgotten std::string's.
3402
3403 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3404
3405         * LaTeXFeatures.C:
3406         * LyXAction.C:
3407         * factory.C:
3408         * lfuns.h:
3409         * lyxfunc.C:
3410         * text3.C: The Box patch. Fancybox support, minipage, parbox
3411
3412 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3413
3414         * CutAndPaste.h:
3415         * DepTable.h:
3416         * FloatList.h:
3417         * LaTeXFeatures.h:
3418         * ParagraphParameters.h:
3419         * TextCache.h:
3420         * Thesaurus.h:
3421         * bufferlist.h:
3422         * exporter.h:
3423         * importer.h:
3424         * lastfiles.h:
3425         * lyxfind.h:
3426         * lyxfont.h:
3427         * lyxlex.h:
3428         * lyxtextclasslist.h:
3429         * messages.h:
3430         * paragraph.h:
3431         * paragraph_pimpl.C:
3432         * textcursor.h: add <string> and other small fixes to make Lars'
3433         std::string patch compile with STLport.
3434
3435 2003-10-06  Angus Leeming  <leeming@lyx.org>
3436
3437         * LColor.h: Add missing #include <string>.
3438
3439 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3440
3441         * All most all file in all subdirs: Make <string> be the prefered
3442         way of getting to std::string, add using declarations.
3443
3444 2003-10-06  André Pönitz  <poenitz@gmx.net>
3445
3446         * metricsinfo.C: initialize LyXFont before changing attribute.
3447         (fixes the 'math in \emph is upright' bug)
3448
3449 2003-10-06  André Pönitz  <poenitz@gmx.net>
3450
3451         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3452
3453 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
3454
3455         * graph.C:
3456         * paragraph_pimpl.C: Small fixes to build using STLport
3457
3458 2003-10-02  André Pönitz  <poenitz@gmx.net>
3459
3460         * lyxfunc.C:
3461         * text3.C: move handling of LFUN_DEPTH *; fix #1360
3462
3463 2003-10-01  André Pönitz  <poenitz@gmx.net>
3464
3465         * factory.C: assert early
3466
3467 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3468
3469         * lyx_main.C: remove the global debug object
3470
3471         * debug.h: adjust for new debugstream
3472
3473         * debug.C: adjust for new debugstream and keep the global debug
3474         object here.
3475
3476 2003-09-22  Angus Leeming  <leeming@lyx.org>
3477
3478         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3479         of g++ which otherwise complain that the scoped_ptr destructor can't delete
3480         an incomplete class LyXFont.
3481
3482 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
3483
3484         * factory.C: bug fix in branches
3485
3486 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3487
3488         * lyxfunc.C (processKeySym): adjust
3489         (dispatch): adjust
3490         (dispatch): change arg name from ev to func, adjust
3491         (sendDispatchMessage): ditto
3492
3493         * lyx_main.C (defaultKeyBindings): adjust keybindings
3494         (deadKeyBindings): ditto
3495
3496         * kbsequence.C (addkey): return a FuncRequest
3497
3498         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3499
3500         * kbmap.C (bind): take a FuncRequest as arg, adjust
3501         (read): adjust
3502         (lookup): adjust
3503         (defkey): change to take a FuncRequest as arg, adjust
3504         (findbinding): take a FuncRequest as arg, adjust.
3505
3506         * funcrequest.h (operator=): added
3507
3508         * funcrequest.C (FuncRequest): default kb_action changed from
3509         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3510
3511         * buffer.C (dispatch): simplify
3512         (dispatch): adjust to take a FuncRequest as arg, adjust
3513
3514         * boost.C (assertion_failed): change assertion message slightly
3515
3516         * ToolbarBackend.C (read): simplify
3517
3518         * MenuBackend.C (binding): adjust call to findbinding, add a
3519         message if no binding is found.
3520         (read): simplify
3521         (expandToc): correct by adding a empty FuncRequest
3522
3523         * LyXAction.C: include <boost/assert.hpp>
3524         (isPseudoAction): delete function
3525         (LookupFunc): change name to...
3526         (lookupFunc): this. change return type to FuncRequest.
3527         (getActionName): take kb_action as arg, simplify
3528         (funcHasFlag): add an assert, simplify.
3529
3530 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3531
3532         * toc.C (action): return a FuncRequest, simplify
3533
3534         * lyxfunc.C (processKeySym): adjust
3535         (getStatus): delete version that takes an int.
3536         (getStatus): adjust
3537         (dispatch): delete version that takes action as int
3538         (dispatch): adjust
3539         (sendDispatchMessage): simplify and adjust
3540
3541         * funcrequest.C (getArg): take unsigned int as arg
3542
3543         * ToolbarBackend.C (read): adjust
3544         (add): delete version that takes func as a string.
3545         (getIton): take a FuncRequest as arg
3546
3547         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3548         action.
3549
3550         * MenuBackend.C (MenuItem): add a new construct that only takes a
3551         Kind, simplify the constructor use for submenus.
3552         (add): adjust
3553         (expandLastfiles): adjust
3554         (expandDocuments): adjust
3555         (expandFormats): adjust
3556         (expandFloatListInsert): adjust
3557         (expandFloatInsert): adjust
3558         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3559
3560         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3561         Remove class variables lyx_pseudo_map and lyx_arg_map
3562
3563         * LyXAction.C (searchActionArg): delete function
3564         (getPseudoAction): delete function
3565         (retrieveActionArg): delete function
3566         (LookupFunc): make it return kb_action, simplify.
3567         (getActionName): simplify
3568
3569         * factory.C (createInset): fix new bug
3570
3571 2003-09-19  Angus Leeming  <leeming@lyx.org>
3572
3573         * CutAndPaste.C (pasteSelection): remove fudge used to set the
3574         masterFilename_ parameter in the include inset.
3575
3576         * factory.C (createInset): changes due to the changes to InsetInclude.
3577
3578 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3579
3580         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3581
3582 2003-09-18  Angus Leeming  <leeming@lyx.org>
3583
3584         * buffer.C:
3585         * BufferView.C: pass the buffer when calling Inset::getLabelList,
3586         Inset::fillWithBibKeys.
3587         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3588
3589 2003-09-18  Angus Leeming  <leeming@lyx.org>
3590
3591         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3592         variables.
3593         (ctor): pass and store a 'Buffer const &'
3594         (buffer): new member function.
3595
3596         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3597         '*this' to the LaTeXFeatures ctor.
3598
3599 2003-09-18  Angus Leeming  <leeming@lyx.org>
3600
3601         * LColor.h:
3602         * lyxfont.C:
3603         * lyxfont.h:
3604         * lyxtext.h:
3605         * text.C: rename EnumLColor as LColor_color.
3606
3607 2003-09-18  Angus Leeming  <leeming@lyx.org>
3608
3609         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3610         remove #include "insets/insetbase.h" from cursor.h.
3611
3612 2003-09-18  Angus Leeming  <leeming@lyx.org>
3613
3614         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3615         InsetOld_code to remove #include "inset.h".
3616
3617         * iterators.C: add #include "insets/inset.h"
3618
3619 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
3620
3621         * BufferView.C: remove more locking stuff that apparently doesn't
3622         do anything sensible.
3623
3624 2003-09-16  André Pönitz  <poenitz@gmx.net>
3625
3626         * paragraph.[Ch]:
3627         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3628           performance boost.
3629
3630 2003-09-16  Angus Leeming  <leeming@lyx.org>
3631
3632         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3633
3634         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3635         arg/return type.
3636
3637         * paragraph.h: remove #include "lyxfont.h". Forward declare
3638         LyXFont_size.
3639
3640 2003-09-16  Angus Leeming  <leeming@lyx.org>
3641
3642         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3643         of support/textutils.h.
3644         (isWord): move the contents of support/textutils.h's IsWordChar here.
3645
3646         * buffer.C:
3647         * lyxfind.C:
3648         * rowpainter.C:
3649         * text.C:
3650         * text2.C: add #include "paragraph.h".
3651
3652         * rowpainter.C:
3653         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3654
3655 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3656
3657         * main.C:
3658         * lyx_main.C:
3659         * lyx_cb.C:
3660         * buffer.C:
3661         * LaTeX.C: use namespace alias for lyx::support::os
3662
3663 2003-09-16  Angus Leeming  <leeming@lyx.org>
3664
3665         * bufferparams.C:
3666         * bufferview_funcs.C:
3667         * factory.C:
3668         * lyxfunc.C:
3669         * paragraph_pimpl.C:
3670         * rowpainter.C:
3671         * text.C: add #include "LColor.h".
3672
3673 2003-09-16  Angus Leeming  <leeming@lyx.org>
3674
3675         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3676         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3677         return LyXFont &.
3678         Store the FontBits::color variable as an int rather than as an
3679         LColor::colorso that we can move LColor.h out of the lyxfont.h header
3680         file.
3681
3682         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3683         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3684         string calls together.
3685
3686         * lyxrc.C: add #include "LColor.h".
3687
3688 2003-09-15  Angus Leeming  <leeming@lyx.org>
3689
3690         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3691         a cow_ptr.
3692
3693 2003-09-15  Angus Leeming  <leeming@lyx.org>
3694
3695         * LColor.h: add an EnumLColor wrapper for LColor::color.
3696
3697         * lyxfont.[Ch] (color, setColor, realColor):
3698         * lyxtext.h, text.C (backgroundColor):
3699         pass EnumLColor args to/from the functions, rather than LColor::color
3700         ones.
3701
3702         * lyxfont.h:
3703         * lyxtext.h: forward declare EnumLColor.
3704
3705         * lyx_main.C: add #include "LColor.h".
3706
3707 2003-09-15  Angus Leeming  <leeming@lyx.org>
3708
3709         * .cvsignore: add lyx-gtk.
3710
3711 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3712
3713         * Chktex.C
3714         * LaTeX.C
3715         * LaTeXFeatures.C
3716         * ParagraphParameters.C
3717         * Spacing.C
3718         * buffer.C
3719         * bufferparams.C
3720         * bufferview_funcs.C
3721         * chset.C
3722         * counters.C
3723         * funcrequest.C
3724         * lyxfont.C
3725         * lyxgluelength.C
3726         * lyxlength.C
3727         * paragraph.C
3728         * paragraph_funcs.C
3729         * text3.C
3730         * vc-backend.C: remove usage of STRCONV
3731
3732 2003-09-15  Angus Leeming  <leeming@lyx.org>
3733
3734         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3735         explicitly define the color passed to the painter.
3736
3737 2003-09-15  Angus Leeming  <leeming@lyx.org>
3738
3739         * bufferparams.C (BufferParams): reorder member initializers to avoid
3740         compiler warning.
3741
3742 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
3743
3744         * CutAndPaste.C (pasteSelection): remove an outdated #warning
3745         * text.C (updateRowPositions): remove an unusual nop
3746
3747 2003-09-12  André Pönitz  <poenitz@gmx.net>
3748
3749         * BufferView_pimpl.C:
3750         * Bullet.C:
3751         * layout.h:
3752         * lyxfunc.C:
3753         * lyxlayout.[Ch]:
3754         * lyxtextclass.C:
3755         * rowpainter.C:
3756         * text.C:
3757         * text2.C:
3758         * Counters.[Ch]: finish the 'automatic counters' job
3759
3760 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3761
3762         * aspell.C: include <boost/assert.cpp> (compile fix)
3763
3764 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
3765
3766         * boost.C (assertion_failed): use lyx::support::abort instead of
3767         assert.
3768
3769 2003-09-10  Angus Leeming  <leeming@lyx.org>
3770
3771         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3772         with their _fwd progeny.
3773
3774 2003-09-09  Angus Leeming  <leeming@lyx.org>
3775
3776         134 files throughtout the source tree: replace 'using namespace abc;'
3777         directives with the appropriate 'using abc::xyz;' declarations.
3778
3779 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3780
3781         * boost.C (emergencyCleanup): moved here from LAssert.c
3782         (assertion_failed): new function, called by BOOST_ASSERT
3783
3784         * several files: change Assert to BOOST_ASSERT
3785
3786 2003-09-09  Angus Leeming  <leeming@lyx.org>
3787
3788         * buffer.[Ch]: Add an Impl class and move Buffer's member
3789         variables into it. As a result move several header files out of
3790         buffer.h.
3791
3792         Add header files to lots of .C files all over the tree as a result.
3793
3794 2003-09-09  Angus Leeming  <leeming@lyx.org>
3795
3796         * buffer.[Ch]: make Buffer's member variables private. Add
3797         accessor functions.
3798
3799         Lots of changes all over the tree as a result.
3800
3801 2003-09-08  Angus Leeming  <leeming@lyx.org>
3802
3803         * graph.C: #include <config.h>.
3804
3805 2003-09-08  Angus Leeming  <leeming@lyx.org>
3806
3807         * BranchList.C:
3808         * BufferView.C:
3809         * BufferView_pimpl.C:
3810         * CutAndPaste.C:
3811         * DepTable.C:
3812         * LaTeX.C:
3813         * LaTeXFeatures.C:
3814         * LyXAction.C:
3815         * MenuBackend.C:
3816         * TextCache.C:
3817         * aspell.C:
3818         * buffer.C:
3819         * bufferlist.C:
3820         * changes.C:
3821         * chset.C:
3822         * converter.C:
3823         * counters.C:
3824         * debug.C:
3825         * graph.C:
3826         * ispell.C:
3827         * lyx_cb.C:
3828         * lyxfind.C:
3829         * lyxfunc.C:
3830         * lyxlex_pimpl.C:
3831         * lyxrc.C:
3832         * lyxrow.C:
3833         * paragraph.C:
3834         * rowpainter.C:
3835         * texrow.C:
3836         * text.C:
3837         * text2.C:
3838         * toc.C: remove redundant using directives.
3839
3840 2003-09-07  Angus Leeming  <leeming@lyx.org>
3841
3842         * LaTeXFeatures.h: remove #include "support/types.h".
3843         * ToolbarBackend.h: remove #include <algorithm>.
3844         * changes.h: remove #include <ctime>.
3845         * debug.h: remove #include <iosfwd>.
3846         * graph.h: remove #include "support/std_string.h".
3847         * lyx_main.h: remove #include <csignal>.
3848         * lyxlex_pimpl.h: remove #include <fstream>.
3849         * sgml.h: remove #include <algorithm>, <utility>.
3850         * toc.h: remove #include "support/std_ostream.h".
3851         Add #include <iosfwd>.
3852
3853 2003-09-07  Angus Leeming  <leeming@lyx.org>
3854
3855         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3856
3857         * converter.h: forward declare LatexRunParams.
3858         * encoding.h: remove #include "lyxrc.h".
3859         * lyxtext.h: remove #include "LColor.h".
3860         * lyxtextclass.h: remove #include "support/types.h".
3861         * trans.h: remove #include "tex-accent.h".
3862         * trans_mgr.h: remove #include "tex-accent.h".
3863         * insets/inset.h: remove #include "support/types.h", <vector>.
3864         * insets/insetcollapsable.h: remove #include "LColor.h".
3865         * insets/insetinclude.h: remove #include "dimension.h".
3866         * insets/insetlatexaccent.h: remove #include "dimension.h".
3867         * insets/insetoptarg.h:: remove #include "insettext.h".
3868         * insets/insettext.h: remove #include "dimension.h",
3869         <boost/shared_ptr.hpp>
3870
3871         * insets/renderers.h: add #include "dimension.h".
3872         * insets/updatableinset.h: add #include "support/types.h".
3873
3874         * many .C files: Associated changes.
3875
3876 2003-09-06  Angus Leeming  <leeming@lyx.org>
3877
3878         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3879         one, inside testInvariant.
3880
3881         * PrinterParams.C: new file.
3882         * PrinterParams.[Ch]: move the function bodies out of line.
3883
3884 2003-09-06  Angus Leeming  <leeming@lyx.org>
3885
3886         * ParagraphParameters.h: forward declare ParameterStruct rather than
3887         including its header file.
3888         (depth): moved out-of-line.
3889
3890 2003-09-06  Angus Leeming  <leeming@lyx.org>
3891
3892         * BufferView_pimpl.h:
3893         * kbmap.h:
3894         * kbsequence.h:
3895         * lyxfunc.h: forward declare LyXKeySym rather than
3896         #include "frontends/LyXKeySym.h".
3897
3898         * BufferView_pimpl.C:
3899         * kbmap.C:
3900         * kbsequence.C:
3901         * lyxfunc.C: associated changes.
3902
3903 2003-09-06  Angus Leeming  <leeming@lyx.org>
3904
3905         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3906         As a result, can remove the #include "insets/inset.h" from BufferView.h
3907
3908 2003-09-06  Angus Leeming  <leeming@lyx.org>
3909
3910         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3911         As a result, can remove the #include "insets/inset.h" from BufferView.h
3912
3913 2003-09-06  Angus Leeming  <leeming@lyx.org>
3914
3915         * buffer_funcs.C:
3916         * buffer.h:
3917         * bufferlist.C:
3918         * BufferView.C:
3919         * bufferview_funcs.C:
3920         * BufferView_pimpl.C:
3921         * CutAndPaste.C:
3922         * lyx_cb.C:
3923         * lyxfunc.C:
3924         * paragraph.h:
3925         * ParagraphParameters.C:
3926         * tabular.C:
3927         * text3.C:
3928         * toc.C:
3929         * undo_funcs.C:
3930         * frontends/controllers/ControlDocument.C:
3931         * insets/insetcaption.C: rearrange the #includes into some sort of
3932         coherent order.
3933
3934         * buffer.h: remove #includes ErrorList.h, undo.h
3935
3936 2003-09-06  Angus Leeming  <leeming@lyx.org>
3937
3938         * support/types.h: add a 'depth_type' typedef, used to store the
3939         nesting depth of a paragraph.
3940
3941         * paragraph.h:
3942         * ParameterStruct.h: use this lyx::depth_type typedef rather than
3943         defining explicitly.
3944
3945         * buffer.h:
3946         * paragraph_funcs.h:
3947         * ParagraphParameters.h:
3948         * sgml.h: use lyx::depth_type rather than Paragraph or
3949         ParameterStruct's depth_type.
3950
3951         * buffer.h
3952         * paragraph_funcs.h: no need to #include paragraph.h anymore.
3953
3954         * BufferView.C:
3955         * BufferView_pimpl.C:
3956         * CutAndPaste.C:
3957         * ParagraphParameters.C:
3958         * buffer_funcs.C:
3959         * bufferlist.C:
3960         * bufferview_funcs.C:
3961         * lyx_cb.C:
3962         * lyxfunc.C:
3963         * tabular.C:
3964         * text3.C:
3965         * toc.C:
3966         * undo_funcs.C:
3967         * frontends/LyXView.C:
3968         * frontends/controllers/ControlDocument.C:
3969         * frontends/controllers/ControlErrorList.C:
3970         * insets/insetbibitem.C:
3971         * insets/insetbranch.C:
3972         * insets/insetcaption.C:
3973         * insets/insetcollapsable.C:
3974         * insets/insetenv.C:
3975         * insets/insetert.C:
3976         * insets/insetfloat.C:
3977         * insets/insetfoot.C:
3978         * insets/insetfootlike.C:
3979         * insets/insetnewline.C:
3980         * insets/insetquotes.C:
3981         * insets/insettabular.C:
3982         * insets/insettext.C:
3983         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3984
3985         * frontends/controllers/ControlChanges.C: #include "changes.h".
3986
3987 2003-09-06  Angus Leeming  <leeming@lyx.org>
3988
3989         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3990         than #including paragraph.h.
3991
3992         * ParagraphList.h:
3993         * RowList.h: deleted. Superfluous.
3994
3995         * CutAndPaste.h:
3996         * iterators.h:
3997         * lyxcursor.h:
3998         * lyxtext.h:
3999         * text_funcs.h:
4000         * undo.h:
4001         * undo_funcs.h:
4002         * insets/inset.h:
4003         * insets/insettext.h: use ParagraphList_fwd.h rather than
4004         ParagraphList.h.
4005
4006         * paragraph.h: don't forward declare ParagraphList.
4007
4008         * buffer.h:
4009         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4010         rather than ParagraphList.h. paragraph.h is still needed for the
4011         Paragraph::depth_type parameters.
4012
4013         * textcursor.h: enable it to compile stand-alone in light of the
4014         above changes.
4015
4016         * bufferview_funcs.C:
4017         * iterators.C:
4018         * lyxfunc.C:
4019         * lyxrow_funcs.C:
4020         * paragraph.C:
4021         * rowpainter.C:
4022         * text.C:
4023         * text2.C:
4024         * text3.C:
4025         * text_funcs.C:
4026         * textcursor.C:
4027         * undo.C:
4028         * frontends/controllers/ControlParagraph.C:
4029         * frontends/controllers/ControlTabular.C:
4030         * insets/insetmarginal.C:
4031         * insets/insetminipage.C:
4032         * insets/insetnote.C:
4033         * insets/insetoptarg.C: add header files needed to compile again.
4034
4035 2003-09-06  Angus Leeming  <leeming@lyx.org>
4036
4037         * RowList_fwd.h: new file, forward-declaring Row rather than
4038         #including lyxrow.h.
4039
4040         * lyxrow_funcs.h:
4041         * lyxtext.h:
4042         * paragraph.h:
4043         * insets/insettext.h: use it instead of RowList.h
4044
4045         * bufferview_funcs.C:
4046         * lyxfunc.C:
4047         * lyxrow_funcs.C:
4048         * paragraph.C:
4049         * rowpainter.C:
4050         * text.C:
4051         * text2.C:
4052         * text3.C: #include "RowList.h".
4053
4054 2003-09-05  Angus Leeming  <leeming@lyx.org>
4055
4056         * factory.C (createInset):
4057         * vspace.C (c-tor): replace sscanf call with an istringstream.
4058         * ispell.C: re-add missing HP/UX headers.
4059         * lyxserver.C: re-add missing  os2 headers.
4060
4061 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
4062
4063         * BranchList.C:
4064         * graph.C:
4065         * ispell.C:
4066         * lastfiles.C:
4067         * lyx_cb.C:
4068         * lyxserver.C:
4069         * texrow.C:
4070         * text3.C: re-add missing system headers, needed for 2.95.2.
4071
4072 2003-09-05  Angus Leeming  <leeming@lyx.org>
4073
4074         Changes most place everywhere due to the removal of using directives
4075         from support/std_sstream.h.
4076
4077 2003-09-05  Angus Leeming  <leeming@lyx.org>
4078
4079         Replace LString.h with support/std_string.h,
4080         Lsstream.h with support/std_sstream.h,
4081         support/LIstream.h with support/std_istream.h,
4082         support/LOstream.h with support/std_ostream.h.
4083
4084         Changes resulting throughout the tree.
4085
4086 2003-09-05  Angus Leeming  <leeming@lyx.org>
4087
4088         * sgml.h: ensure that the header file can be compiled stand-alone.
4089         * *.C: strip out redundant #includes. (320 in total.)
4090
4091 2003-09-04  Angus Leeming  <leeming@lyx.org>
4092
4093         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4094         here (from getPackages).
4095
4096         * debug.[Ch]: add a new EXTERNAL tag.
4097
4098 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4099
4100         * text2.C (cursorEnd): simplify
4101         (setCursor): adjust
4102         (getColumnNearX): adjust
4103
4104         * text.C (computeBidiTables): adjust
4105         (fill): adjust
4106
4107         * rowpainter.C (paintChars): adjust
4108         (paintSelection): adjust
4109         (paintChangeBar): adjust
4110         (paintText): adjust
4111
4112         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4113         lastPos instead.
4114         (numberOfSeparators): adjust
4115
4116 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4117
4118         * LyXAction.C:
4119         * box.[Ch]:
4120         * lfuns.h:
4121         * lyxfunc.C:
4122         * text3.C: Restricts the mouse click functionality
4123         of insets like bibtex, include, toc and floatlist to the visible
4124         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4125         up the dialogs. Cursor has to be in front of the inset (i.e.
4126         start of row) for this to function.
4127
4128 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4129
4130         * bufferview_funcs.C (currentState): output row information
4131
4132 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4133
4134         * bufferview_funcs.C (currentState): output paragraph position
4135
4136 2003-09-04  Angus Leeming  <leeming@lyx.org>
4137
4138         * FloatList.h: move out #include "Floating.h".
4139         * LaTeX.h: move out #include "DepTable.h".
4140         * LyXAction.h: move out #include "funcrequest.h".
4141         * buffer.h: move out #include "author.h", "iterators.h".
4142         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4143         * lyx_main.h: move out #include "errorlist.h".
4144         * lyxfunc.h: move out #include "FuncStatus.h".
4145         * lyxtext: move out #include "lyxcursor.h".
4146         * paragraph_pimpl.h: move out #include "counters.h".
4147
4148 2003-09-03  Angus Leeming  <leeming@lyx.org>
4149
4150         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4151         preamble_snippets list, enabling us to add snippets to the preamble
4152         only if the snippet was not there already.
4153
4154 2003-09-04  Angus Leeming  <leeming@lyx.org>
4155
4156         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4157
4158 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4159
4160         * lyxfunc.C (dispatch): if fitCursor did something be sure to
4161         update
4162
4163 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4164
4165         * BranchList.C: point fix, earlier forgotten
4166
4167 2003-09-02  Angus Leeming  <leeming@lyx.org>
4168
4169         * box.C (contains): renamed from 'contained' after a fantastic
4170         amount of hot air.
4171
4172 2003-09-02  John Levon  <levon@movementarian.org>
4173
4174         * BufferView.C:
4175         * lyxcursor.h:
4176         * lyxcursor.C:
4177         * lyxfunc.C:
4178         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4179
4180 2003-09-02  John Levon  <levon@movementarian.org>
4181
4182         * text2.C: simplification of cursorEnd(), including partial
4183         fix for bug 1376
4184
4185 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4186
4187         * buffer.C (readFile): add a space
4188
4189 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
4190
4191         * BufferView_pimpl.C (update): remove bogus fitCursor() call
4192
4193 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4194
4195         * buffer.C (readFile): new function, take a filename and a
4196         ParagraphList::iterator
4197         (readFile): adjust
4198         (readFile): adjust, make it private. don't use setStream, make
4199         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4200         always contain the filename.
4201
4202         * BufferView.C (insertLyXFile): simplify and make it work for
4203         gzipped files.
4204
4205 2003-08-30  John Levon  <levon@movementarian.org>
4206
4207         * Makefile.am: fix dist (from Kayvan)
4208
4209 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4210
4211         * most files: change to use const Buffer refs
4212
4213 2003-08-27  André Pönitz  <poenitz@gmx.net>
4214
4215         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4216         on top of ownerPar().
4217
4218 2003-08-27  John Levon  <levon@movementarian.org>
4219
4220         * funcrequest.C: properly initialise POD members
4221
4222 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4223
4224         * lyxtext.h (top_y): move top_y from here
4225         * text.C:
4226         * text2.C:
4227         * text3.C:
4228         * BufferView.[Ch]:
4229         * BufferView_pimpl.[Ch]: to here
4230         * frontends/screen.C:
4231         * insets/insettabular.C:
4232         * insets/insettext.C: adjust
4233         * rowpainter.[Ch] (paintRows): remove LyXText & argument
4234
4235 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4236
4237         * BufferView.[Ch]:
4238         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4239
4240 2003-08-26  André Pönitz  <poenitz@gmx.net>
4241
4242         * paragraph_func.[Ch] (outerPar): new function
4243
4244         * paragraph.C:
4245         * paragraph_funcs.C:
4246         * paragraph_funcs.h:
4247         * paragraph_pimpl.C:
4248         * text2.C: remove Inset::par_owner
4249
4250 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
4251
4252         * lyxrow_funcs.C:
4253         * lyxtext.h:
4254         * text.C:
4255         * text2.C: eliminates the needFullRow/display() stuff
4256         altogether, putting the logic in metrics/draw in the insets.
4257
4258 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
4259
4260         * text2.C (redoParagraphInternal, redoParagraphs):
4261         * text.C (redoParagraph): add a call to updateRowPositions at the
4262         end of each 'metrics-like' call. Remove all others.
4263         (getRow): remove the 'y-computing' version.
4264         (getRowNearY): do not compute nor return the real y. Solve the
4265         'y < 0' problem and simplify.
4266
4267 2003-08-22  Angus Leeming  <leeming@lyx.org>
4268
4269         * *.[Ch]: clean-up of licence and author blurbs.
4270         Also move config.h out of a few .h files and into a few .C files.
4271
4272 2003-08-22  André Pönitz  <poenitz@gmx.net>
4273
4274         * lyxrow.[Ch]: add x_ and *fill_ members
4275
4276         * lyxtext.h:
4277         * text.C:
4278         * rowpainter.C:
4279         * text2.C: adjust/remove prepareToPrint() calls
4280
4281 2003-08-22  André Pönitz  <poenitz@gmx.net>
4282
4283         * lyxrow.[Ch]: add  end_ member
4284
4285         * lyxrow_funcs.C: use LyXRow::end_
4286
4287         * lyxtext.h (singleWidth): add LyXFont parameter
4288
4289         * rowpainter.C:
4290         * text2.C: adjust LyXText::singleWidth() calls
4291
4292         * text.C (redoParagraph): simplify row breaking logic
4293
4294
4295 2003-08-19  André Pönitz  <poenitz@gmx.net>
4296
4297         * funcrequest.C: initialize button_ member
4298
4299         * text3.C:
4300         * rowpainter.[Ch]: interface consolidation
4301
4302 2003-08-18  André Pönitz  <poenitz@gmx.net>
4303
4304         * BufferView.C:
4305         * BufferView_pimpl.C:
4306         * lyxfind.C:
4307         * paragraph_funcs.C:
4308         * rowpainter.C:
4309         * text3.C: remove LyXScreen::draw() and fitCursor calls
4310
4311         * BranchList.h: remove spurious semicolons
4312
4313         * MenuBackend.C: fix branchlist related crash
4314
4315 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
4316
4317         * BranchList.[Ch]:
4318         * InsetList.[Ch]:
4319         * LColor.[Ch]:
4320         * LyXAction.C:
4321         * Makefile.am:
4322         * MenuBackend.[Ch]:
4323         * bufferparams.[Ch]:
4324         * factory.C:
4325         * lfuns.h:
4326         * lyxfunc.C:
4327         * text3.C: implements the 'branch inset'
4328         idea. This allows the output of various versions of a document
4329         from a single source version, selectively outputing or suppressing
4330         output of parts of the text.
4331         This implementation contains a 'branch list editor' in a separate
4332         tab of the document settings dialog. Branches are user definable
4333         and have a "display colour" to distinguish them on-screen.
4334
4335         ColorHandler was somewhat cleaned up.
4336         (1) make possible a dynamically growing LColor list by allowing
4337         the graphic context cache to grow along (vector);
4338         (2) eliminate an IMHO unnecessary step in colour allocation.
4339
4340 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
4341
4342         * BufferView_pimpl.C: compile fix
4343
4344 2003-08-15  André Pönitz  <poenitz@gmx.net>
4345
4346         * rowpainter.C: remove extra metrics calls
4347
4348         * lyxtext.h: merge the two constructors into a single one,
4349           pass reference to owner's par list
4350
4351         * BufferView_pimpl.C:
4352         * text.C:
4353         * text2.C: adjust
4354
4355 2003-08-15  André Pönitz  <poenitz@gmx.net>
4356
4357         * lyxrow_funcs.[Ch]:
4358         * lyxtext.h:
4359         * paragraph.h:
4360         * paragraph_funcs.C:
4361         * rowpainter.C:
4362         * text.C:
4363         * text2.C:
4364         * text3.C:
4365         * text_funcs.C: split LyXText::rowlist_ into individual
4366         Paragraph::rows_ chunks
4367
4368         * BufferView.[Ch]:
4369         * BufferView_pimpl.[Ch]:
4370         * lyxfind.C:
4371         * lyxtext.h:
4372         * text3.C: remove toggleSelection()
4373
4374 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
4375
4376         * bufferlist.C: beautify two alerts (shorter text of buttons)
4377         * buffer.C: Remove redundant ' ' from message
4378         * tabular.h:
4379         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4380         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4381         rename VALIGN_CENTER to VALIGN_MIDDLE
4382
4383 2003-08-11  André Pönitz  <poenitz@gmx.net>
4384
4385         * lyxtext.h (getPar):
4386         * text.C: new function
4387
4388 2003-08-11  André Pönitz  <poenitz@gmx.net>
4389
4390         * Makefile.am:
4391         * tracer.[Ch]: remove unneeded files
4392
4393         * InsetList.[Ch]: remove resizeInsetsLyXText()
4394
4395         * lyxtext.h:
4396         * text.C:
4397         * text2.C:
4398         * text3.C: merge insertParagraphs() and appendParagraph()
4399         remove breakAgain(), update()
4400
4401         * BufferView_pimpl.[Ch]:
4402         * bufferview_funcs.[Ch]:
4403         * lyxfunc.C:
4404         * paragraph.[Ch]:
4405         * rowpainter.C:
4406         * tabular.C: adjust after text & InsetList changes.
4407
4408 2003-08-08  André Pönitz  <poenitz@gmx.net>
4409
4410         * text.C (insertChar, backspace): replace rowlist fiddling
4411         with rebreak of full par
4412
4413         * lyxtext.h:
4414         * text.C (breakAgainOneRow, redoHeightOfParagraph,
4415         checkParagraph, updateInset): removed
4416
4417 2003-08-07  André Pönitz  <poenitz@gmx.net>
4418
4419         * paragraph.C:
4420         * text3.C: merge some LFUN handlers, remove dead code
4421
4422 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4423
4424         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4425
4426 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
4427
4428         * text2.C (DEPM): fix part of bug 1255 and 1256
4429
4430 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4431
4432         * BufferView_pimpl.C (workAreaDispatch): change to use
4433         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4434         that are no mouse related.
4435
4436 2003-08-05  André Pönitz  <poenitz@gmx.net>
4437
4438         * BufferView.[Ch]:
4439         * BufferView_pimpl.[Ch]:
4440         * bufferview_funcs.C:
4441         * text2.C:
4442         * text3.C: rip out "deep update"
4443
4444         * textcursor.[Ch] (last_sel_cursor): remove unused member
4445
4446 2003-08-04  André Pönitz  <poenitz@gmx.net>
4447
4448         * BufferView.[Ch]:
4449         * BufferView_pimpl.[Ch]:
4450         * ParagraphParameters.C:
4451         * bufferview_funcs.C:
4452         * lyx_cb.C:
4453         * lyxfind.C:
4454         * lyxfunc.C:
4455         * text.C:
4456         * text2.C:
4457         * text3.C: replace "complicated" BufferView::update(...) calls with
4458         simpler ones.
4459
4460         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4461
4462 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
4463
4464         * Makefile.am (lyx_SOURCES): add paper.h
4465
4466 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4467
4468         * Makefile.am: move things around so that both lyx-qt and
4469         lyx-xforms can be built (according to --with-frontend). Then lyx
4470         is a symbolic link to lyx-[firstfrontend]
4471
4472 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
4473
4474         * Always use std::endl with lyxerr
4475
4476 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
4477
4478         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4479
4480 2003-08-01  André Pönitz  <poenitz@gmx.net>
4481
4482         * BufferView.[Ch]:
4483         * BufferView_pimpl.[Ch]:
4484         * lyxfunc.C:
4485         * text3.C: merge BufferView::repaint() and BufferView::update()
4486
4487 2003-08-01  José Matos  <jamatos@lyx.org>
4488
4489         * buffer.[Ch]: file_format is no longer a buffer data element.
4490
4491 2003-08-01  André Pönitz  <poenitz@gmx.net>
4492
4493         * BufferView.C:
4494         * lyxtext.h:
4495         * text.C:
4496         * text2.C: make redoParagraph more independent of current cursor
4497
4498         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4499         * text.C:
4500         * text2.C: remove unneeded members
4501
4502 2003-07-30  André Pönitz  <poenitz@gmx.net>
4503
4504         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4505
4506         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4507           create a single function...
4508
4509         * paragraph_funcs.C (moveItem): ... here.
4510
4511         * text.C:
4512           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4513
4514 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
4515
4516         * LColor.[Ch]: Add comment and greyedout logical colors.
4517
4518 2003-07-30  André Pönitz  <poenitz@gmx.net>
4519
4520         * tabular.C: don't use Assert too heavily. This crashes where it
4521           shouldn't
4522
4523 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
4524
4525         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4526         is disabled (bug 1232)
4527
4528 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4529
4530         * factory.C: limited 'arg' scope
4531
4532 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4533
4534         * factory.C: fixed Note submenu issues
4535
4536 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4537
4538         * factory.C: submenu for Note/Comment/Greyedout
4539
4540 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
4541
4542         * lyx_main.C (LyX):
4543         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4544
4545 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
4546
4547         * LaTeXFeatures.C:
4548         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4549         greyedout. Patch provided by Jürgen Spitzmüller.
4550
4551 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4552
4553         * kbmap.C (read): fix error message when reading bind files
4554
4555 2003-07-29  Angus Leeming  <leeming@lyx.org>
4556
4557         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4558         certainly does not do what it purports to do. I am doing it, and
4559         us, a favour by killing it.
4560
4561 2003-07-28  José Matos  <jamatos@lyx.org>
4562
4563         * buffer.C (readBody, do_writeFile):
4564         * paragraph.C(readParagraph): \end_document replaces \the_end.
4565
4566 2003-07-29  André Pönitz  <poenitz@gmx.net>
4567
4568         * BufferView.[Ch]:
4569         * BufferView_pimpl.[Ch]:
4570         * lyxfunc.C:
4571         * text2.C:
4572         * text3.C:
4573         * textcursor.[Ch]: remove toggleToggle & Co
4574
4575 2003-07-28  José Matos  <jamatos@fep.up.pt>
4576
4577         * buffer.C (readParagraph):
4578         * params_func (readParToken, readParagraph):
4579         * paragraph.C (write): \layout -> \begin_layout.
4580
4581 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4582
4583         * lyxlex_pimpl.C (setFile): clean up slightly.
4584
4585         * bufferparams.h: add compressed var
4586
4587         * buffer_funcs.C (readFile): adjust for LyXLex change
4588         (newFile): ditto + simplify
4589
4590         * buffer.C (writeFile): handle writing of compressed files
4591
4592         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4593         Check if the file is compressed and set a bufferparm if so.
4594
4595         * Makefile.am (lyx_LDADD): remove explicit -lz
4596
4597 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4598
4599         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4600         makeDocBookFile): put the real LyX version in the first line of
4601         the file
4602
4603         * version.h:
4604         * version.C.in: remove lyx_docversion
4605
4606         * tabular.C (write_attribute): add a template-based version to
4607         write enums properly
4608
4609 2003-07-28  André Pönitz  <poenitz@gmx.net>
4610
4611         * lyxtext.h:
4612         * text.C:
4613         * text2.C:
4614         * text3.C: use doubles again for x-coordinates. They are needed.
4615
4616 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4617
4618         * messages.C (getLocaleDir): use lyx_localedir()
4619
4620         * lyxlex_pimpl.C (setFile): compress stuff
4621
4622         * buffer.C (writeFile): add some compression stuff
4623         (do_writeFile): new func, dont call expliti close... will this
4624         breake anything?
4625
4626         * Makefile.am (lyx_LDADD): add -lz
4627
4628 2003-07-28  José Matos  <jamatos@fep.up.pt>
4629
4630         * buffer.C: increment file format.
4631         * paragraph_funcs (readParagraph, readParToken):
4632         * paragraph.C (readParagraph): add \end_layout.
4633
4634 2003-07-27  Angus Leeming  <leeming@lyx.org>
4635
4636         * Makefile.am: remove special casing for configure-time setting of
4637         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4638
4639         * lyx_main.C (init): remove all Jean-Marc's magic setting of
4640         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4641
4642 2003-07-26  André Pönitz  <poenitz@gmx.net>
4643
4644         * paragraph_func.[Ch]:
4645         * paragraph.C (realizeFont): inline it whereever it is used
4646
4647         * rowpainter.C:
4648         * text.C:
4649         * text2.C:
4650         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4651
4652
4653 2003-07-26  André Pönitz  <poenitz@gmx.net>
4654
4655         *       lyxtext.h:
4656         * text.C:
4657         * text2.C: get rid of LyXText::need_break_row
4658
4659 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4660
4661         * toc.[Ch]: put namespace toc inside namespace lyx
4662
4663         * MenuBackend.C (expandToc2): adjust for lyx::toc
4664         (expandToc): ditto
4665
4666         * lyxfunc.C (dispatch): adjust for lyx::find
4667
4668         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4669         lyx::find instead. Reorganize a bit.
4670         (LyXReplace): rename to replace
4671         (LyXFind): rename to find
4672
4673         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4674         (dispatch): ditto
4675
4676 2003-07-26  André Pönitz  <poenitz@gmx.net>
4677
4678         * text.C (setHeightOfRow): restrict scope of temporary variable
4679
4680         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
4681           code (never has been used?)
4682
4683 2003-07-27  Asger Alstrup  <alstrup@local>
4684
4685         * text.C (fill): Optimise algorithm to exploit that we can reuse
4686         the LyXFont for many characters.
4687         (setHeightOfRow): Same thing.
4688         (rowBreakPoint): Same thing.
4689
4690 2003-07-26  Asger Alstrup  <alstrup@local>
4691
4692         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4693
4694         * text.C (singleWidth): Spurious font copying in hot-spot
4695         singleWidth avoided. Reorder tests for arabic for efficiency.
4696
4697         * text.C (fill): handle empty paragraphs better.
4698
4699 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4700
4701         * ispell.C:
4702         * encoding.h: add includes
4703
4704         * lyxrc.C: remove reading of bind files
4705
4706         * lyx_main.C (init): setup bindings and menus only if we have a
4707         gui.
4708
4709         * kbmap.C (read): new method. Do the actual reading of bind
4710         files.
4711
4712         * converter.C (dvipdfm_options):
4713         * bufferparams.C:
4714         * lyxrc.C (read):
4715         (output): adapt PAPER_* enums.
4716
4717         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4718
4719         * bufferparams.h: remove paper-related enums from there
4720
4721         * paper.h: New file. A trivial header file to hold paper-related
4722         enums. It should later expand to contain many paper-related
4723         horrors access.
4724
4725         * lyxrc.C: declare extern displayTranslator
4726
4727 2003-07-27  José Matos  <jamatos@fep.up.pt>
4728
4729         * tabular.[Ch] (linuxdoc): add support for tables and figures
4730         (linuxdoc).
4731
4732 2003-07-27  José Matos  <jamatos@fep.up.pt>
4733
4734         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4735         consistency in both functions.
4736         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4737
4738 2003-07-26  Asger Alstrup  <alstrup@local>
4739
4740         * rowpainter.C (paintRows): Change algorithm to work directly on
4741         the insets rather than asking every character in the document
4742         whether its an inset.
4743
4744 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
4745
4746         * buffer.C (openFileWrite): factorize some code
4747
4748 2003-07-26  Angus Leeming  <leeming@lyx.org>
4749
4750         * lyx_cb.C:
4751         * lyx_main.[Ch]: replace occurances of system_tempdir with
4752         os::getTmpDir().
4753
4754 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4755
4756         * rename Inset to InsetOld
4757
4758 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
4759
4760         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4761         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4762         which I think is a bit clearer. EDIT is gone, since it was
4763         premature optimisation, and broken for mathed anyway.
4764         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4765         with cursor positioning in insets as well (math insets still do not
4766         work, but that's a different story anyway.) It mysteriously
4767         crashes sometimes with undo in the first paragraph, but I'm fairly
4768         confident that this is a compiler bug.
4769
4770 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4771
4772         * paragraph.C (Paragraph): adjust for new clone return type
4773         (operator==): ditto
4774         (copyIntoMinibuffer): ditto
4775
4776 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
4777
4778         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4779         by not having a special case, and always doing a full rebreak of
4780         the document after undo.
4781
4782 2003-07-23  Angus Leeming  <leeming@lyx.org>
4783
4784         * factory.C (createInset): InsetExternal::setParams now takes a
4785         Buffer const * arg.
4786
4787 2003-07-23  Angus Leeming  <leeming@lyx.org>
4788
4789         * factory.C (createInset): changed interface to the external and
4790         graphics mailers' string2params functions.
4791
4792 2003-07-23  Angus Leeming  <leeming@lyx.org>
4793
4794         * factory.C (createInset): pass a
4795         Buffer const * parameter to InsetExternalMailer's string2params.
4796
4797 2003-07-22  John Levon  <levon@movementarian.org>
4798
4799         * Thesaurus.h: include the right aiksaurus header
4800
4801 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4802
4803         * MenuBackend.C (expand): check menu shortcuts unconditionally
4804
4805 2003-07-21  Angus Leeming  <leeming@lyx.org>
4806
4807         * factory.C (createInset): pass a
4808         buffer_path parameter to InsetGraphicsMailer's string2params.
4809
4810 2003-07-21  Angus Leeming  <leeming@lyx.org>
4811
4812         * BufferView_pimpl.C (buffer):
4813         * buffer.C (d-tor):
4814         * lyx_main.C (LyX):
4815         * lyxfunc.C (dispatch):
4816         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4817         rather than the grfx shortcut.
4818
4819 2003-07-21  André Pönitz  <poenitz@gmx.net>
4820
4821         * rowpainter.C: remove unused variables
4822
4823         * tabular_funcs.C:
4824         * tabular_funcs.h: move to tabular.C
4825         * Makefile.am: adjust
4826
4827         * tabular.[Ch]: basic optical cleaning
4828
4829         * author.h: pass references, not values
4830
4831 2003-07-18  André Pönitz  <poenitz@gmx.net>
4832
4833         * lyxtext.h:
4834         * metricsinfo.C:
4835         * metricsinfo.h:
4836         * rowpainter.C:
4837         * text.C:
4838         * text2.C:
4839         * text3.C: two-phase drawing for InsetText and InsetTabular
4840         some float -> int changes.
4841
4842 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4843
4844         * lyx_main.C: fix the fix
4845
4846 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4847
4848         * lyx_main.C: fix a crash in batch mode if no files specified
4849         * converter.C: ws
4850
4851 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
4852
4853         * format.[Ch] (papersize): moved to BufferParams
4854         * converter.[Ch] (dvips_options): moved to BufferParams
4855         (dvipdfm_options): moved to anon namespace
4856         * bufferparams.[Ch]: added above functions.
4857
4858 2003-07-17  André Pönitz  <poenitz@gmx.net>
4859
4860         * lyxtext.h:
4861         * rowpainter.C:
4862         * text2.C: don't call inset->update() anymore
4863
4864         * metricsinfo.[Ch]: add convenience constructor
4865
4866 2003-07-16  André Pönitz  <poenitz@gmx.net>
4867
4868         * lyxcursor.[Ch]:
4869         * lyxfunc.[Ch]:
4870         * text.C:
4871         * text2.C: replace the LyXCursor::irow_ member with
4872          on-demand computation of the value
4873
4874 2003-07-16  John Levon  <levon@movementarian.org>
4875
4876         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4877
4878 2003-07-15  André Pönitz  <poenitz@gmx.net>
4879
4880         * text.C:
4881         * text2.C: remove no more needed refresh_row
4882
4883 2003-07-15  André Pönitz  <poenitz@gmx.net>
4884
4885         * lyxtext.h:
4886         * rowpainter.C:
4887         * text2.C:
4888         * text3.C: refresh_status tristate -> need_update bool
4889
4890 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
4891
4892         * lyxtext.h (init): remove reinit argument (act as if always true)
4893         * text2.C: adjust to that
4894
4895 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4896
4897         * bufferview_funcs.[Ch]: introduce function replaceSelection()
4898         * text3.C: use it to delete selections in some cases
4899         (bugs 441, 673, 702, 954).
4900
4901 2003-07-14  André Pönitz  <poenitz@gmx.net>
4902
4903         * rowpainter.[Ch]: reduce interface
4904
4905 2003-07-14  André Pönitz  <poenitz@gmx.net>
4906
4907         * BufferView_pimpl.C:
4908         * text2.C: adjust after removing unused BufferView * argument
4909
4910 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
4911
4912         * text2.C (init): fix a crash fired on resize
4913
4914 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
4915
4916         * buffer.[Ch]: added new closing signal
4917         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4918         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4919         BufferView::Pimpl via the closing the signal
4920
4921 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
4922
4923         * buffer.[Ch]: take out all bv-related from buffer
4924         * BufferView.C:
4925         * BufferView_pimpl.[Ch]: connect to new signals
4926         * CutAndPaste.C: removed useless asserts
4927         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4928         * lyxvc.[Ch]:
4929         * vc-backend.[Ch]:
4930         * lyxfunc.C: moved view-related funciontality from vc here
4931         * paragraph.C: removed outdated comments
4932         * text.C: ws
4933
4934 2003-07-10  André Pönitz  <poenitz@gmx.net>
4935
4936         * BufferView_pimpl.C:
4937         * tabular.h:
4938         * tabular_funcs.C:
4939         * text.C:
4940         * text2.C: remove InsetText::InnerCache, clean up consequences
4941
4942 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
4943
4944         * ispell.C: fix two typos in error messages
4945
4946 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
4947
4948         * Extend Note inset to other forms of annotation like Comment
4949         and Greyedout. Right button click gives dialog.
4950
4951         Files modified or added (+):
4952
4953         * insetnote.[Ch]
4954         * FormNote.[Ch]      +
4955         * ControlNote.[Ch]   +
4956         * form_note.fd       +
4957         * Makefile.am in frontends/xforms, frontends/xforms/forms,
4958         frontends/controllers
4959         * xforms/Dialogs.C
4960         * factory.C
4961
4962 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4963
4964         * aspell.C: add missing namespace lyx::support
4965
4966 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
4967
4968         * BufferView.[Ch] (newFile): Add
4969         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4970         * LaTeX.[Ch] (message): added this signal and use it
4971         * buffer.[Ch] (busy, message): added these signals and use them
4972         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4973         * converter.C:
4974         * exporter.C:
4975         * format.C:
4976         * importer.C: use buffer signals instead of direct bv calling
4977         * lyx_cb.[Ch] (ShowMessage): removed
4978         * lyx_main.C:
4979         * lyxfunc.C:
4980         * paragraph_funcs.C:
4981         * text2.C: use buffer signals
4982
4983 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4984
4985         * introduce namespace lyx::graphics
4986
4987 2003-07-02  André Pönitz  <poenitz@gmx.net>
4988
4989         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4990
4991 2003-07-01  André Pönitz  <poenitz@gmx.net>
4992
4993         * text.C:
4994         * text2.C:
4995         * text3.C:
4996         * text_funcs.[Ch]:
4997         * textcursor.h:
4998         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4999           text*.C to text_func.C
5000
5001 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5002
5003         * introduce namespace lyx::support
5004
5005 2003-06-30  André Pönitz  <poenitz@gmx.net>
5006
5007         * Chktex.C:
5008         * funcrequest.C:
5009         * lyxtext.h:
5010         * text.C: re-enable --with-included-string
5011
5012 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5013
5014         * textcursor.C: add <config.h>
5015
5016         * text.C (getWord): remove const from word_location arg
5017
5018         * lyxvc.C (getLogFile): fix const type order
5019
5020         * lyxtext.h: remove const from word_location arg, add arg name
5021
5022         * lyxlayout.h: currect type on labeltype.
5023
5024         * importer.C: correct \file
5025
5026         * converter.C (intToFormat): use std:: on ret val, ws changes
5027
5028         * bufferlist.h: correct \file
5029
5030         * buffer.C (makeLinuxDocFile): fix const type order
5031         (makeDocBookFile): ditto
5032         (fillWithBibKeys): use std:: on stdlib args.
5033
5034         * CutAndPaste.C: fix authors.
5035         (availableSelections): use std:: on return vector
5036
5037 2003-06-27  André Pönitz  <poenitz@gmx.net>
5038
5039         * BufferView_pimpl.C:
5040         * bufferview_funcs.C:
5041         * lyxcursor.C:
5042         * lyxcursor.h:
5043         * lyxfunc.C:
5044         * lyxtext.h:
5045         * rowpainter.C:
5046         * text.C:
5047         * text2.C:
5048         * text3.C: remove LyXCursor::row_ member
5049
5050         * lyxtext.h:
5051         * text.C: rename fullRebreak() to partialRebreak() and implement
5052           a fullRebreak() that really bereks fully
5053
5054         * textcursor.h: new struct for cursor-related data
5055
5056 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
5057
5058         * lyx_main.C (LyX): get full path of document loaded on the
5059         command line
5060
5061 2003-06-26  André Pönitz  <poenitz@gmx.net>
5062
5063         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5064           remove unused/broken operator>,<,>=.
5065
5066         *       text.C: remove only use of broken operator<= in an Assert().
5067
5068 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5069
5070         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5071         moved errorlist_.clear to showErrorList
5072
5073 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5074
5075         * converter.C (scanLog, runLaTeX):
5076         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5077         move the bv->showErrorList call to the callers
5078         * lyxfunc.C: i.e. here...
5079         * text2.C: and here
5080         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5081         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5082         namespace, the second to...
5083         * buffer_funcs (BufferFormat, parseErrors): added
5084         * errorlist.C (ErrorList(TeXErrors const &)): removed
5085
5086 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5087
5088         * ToolbarBackend.C (getIcon): complain when icon cannot be found
5089
5090 2003-06-24  "Garst R. Reese" <reese@isn.net>
5091
5092         * debug.C: fix typo
5093
5094 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5095
5096         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5097
5098         * version.C.in: change docversion to 1.4
5099
5100 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
5101
5102         * buffer.C: fix a bug just introduced
5103
5104 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
5105
5106         * buffer.[Ch]: added the parseError signal and use it, removed
5107         sgmlError
5108         * BufferView.[Ch] (addError): moved to ...
5109         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5110         to the Buffer::parseError signal to catch (guess what) parse errors
5111         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5112
5113 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
5114
5115         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5116         ability to create a buffer and to return an existing one from
5117         the list. Moved these functions to...
5118         * buffer_funcs.[Ch]: added
5119         * BufferView.[Ch] (loadLyXFile): added
5120         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5121         job removed from bufferlist::loadLyXFile.
5122         * buffer.C (setReadOnly): make it work without view
5123         (i.e added an if (users))
5124
5125 2003-06-19  Angus Leeming  <leeming@lyx.org>
5126
5127         * lfuns.h:
5128         * LyXAction.C (init):
5129         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5130         with LFUN_DIALOG_SHOW <name> <data>.
5131
5132 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5133
5134         * CutAndPaste.C (availableSelections): small compilation fix for
5135         ancient (gcc 2.9x) compilers
5136
5137 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
5138
5139         * text3.C (cursorNext): add tmp var
5140
5141         * text2.C (updateCounters): for function calling out of for clause
5142         (replaceSelectionWithString): ditto
5143         (insertStringAsParagraphs): ditto
5144         (getColumnNearX): add tmp var
5145         (setCursorFromCoordinates): add tmp var
5146         (cursorDownParagraph): add tmp var
5147         (deleteEmptyParagraphMechanism): add tmp var
5148
5149         * text.C (insertChar): add tmp var
5150
5151         * rowpainter.C (paintDepthBar): add tmp var
5152
5153         * CutAndPaste.C (availableSelections): potentially check all
5154         paragraphs in a cut to fill the shown strings.
5155
5156 2003-06-18  André Pönitz  <poenitz@gmx.net>
5157
5158         * kbmap.[Ch]: use vector<> instead of list<>
5159
5160 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
5161
5162         * text3.C (dispatch): handle arg to LFUN_PASTE, call
5163         pasteSelection with index
5164
5165         * text2.C (pasteSelection): modify, call pasteSelection with index
5166
5167         * paragraph.C (asString): reimplement version with no interval to
5168         call the one with interval.
5169
5170         * lyxtext.h: add index arg to pasteSelection
5171
5172         * MenuBackend.C (MenuItem): handle PasteRecent
5173         (Menu::read::Menutags): add md_pasterecent
5174         (read): handle it
5175         (expandPasteRecent): new function
5176         (expand): use it
5177
5178         * MenuBackend.h: add PasteRecent to MenuItem::Kind
5179
5180         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5181         the limited stack
5182         (availableSelections): new function
5183
5184 2003-06-17  Angus Leeming  <leeming@lyx.org>
5185
5186         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5187
5188 2003-06-17  Angus Leeming  <leeming@lyx.org>
5189
5190         * lfuns.h:
5191         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5192
5193         * lyxfunc.C (dispatch): invoke it.
5194
5195 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5196
5197         * iterators.C (operator++, ParPosition): reintroduce some
5198         const_cast for the benefit of older compilers.
5199
5200 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5201
5202         * text3.C (dispatch): do not modify clipboard when doing
5203         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5204         LFUN_DELETE_SKIP on a selection selection
5205
5206 2003-06-16  André Pönitz  <poenitz@gmx.net>
5207
5208         * BufferView.C:
5209         * buffer.C:
5210         * buffer.h:
5211         * paragraph.C:
5212         * tabular.[Ch]: IU of clone() and getLabelList();
5213
5214 2003-06-13  André Pönitz  <poenitz@gmx.net>
5215
5216         * tabular.h: compactification
5217
5218 2003-06-12  André Pönitz  <poenitz@gmx.net>
5219
5220         * tabular.C:
5221         * tabular.h:
5222         * tabular_funcs.h: some renaming plus whitespace
5223
5224 2003-06-12  André Pönitz  <poenitz@gmx.net>
5225
5226         * BufferView.C:
5227         * BufferView_pimpl.C:
5228         * CutAndPaste.C:
5229         * buffer.C:
5230         * iterators.[Ch]:
5231         * lyxfunc.C:
5232         * text.C:
5233         * toc.C: Return a Paragraph & for ParIterator::operator*()
5234
5235 2003-06-11  John Levon  <levon@movementarian.org>
5236
5237         * lyx_main.C:
5238         * ToolbarBackend.h:
5239         * ToolbarBackend.C: add "Toolbars" section and
5240         put the flags there
5241
5242 2003-06-10  Angus Leeming  <leeming@lyx.org>
5243
5244         * lfuns.h:
5245         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5246
5247         * lyxfunc.C (dispatch): invoke it.
5248
5249 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5250
5251         * main.C: protect <ios> with HAVE_IOS
5252         (main): protect sync_with_stdio with HAVE_IOS
5253
5254 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
5255
5256         * text2.C (cutSelection): adjust
5257         (pasteSelection): adjust
5258
5259         * messages.C: handle get of empty string
5260
5261         * main.C (main): use sync_with_stdio(false)
5262
5263         * lyxfunc.C (dispatch): adjust
5264
5265         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5266         (WriteAs): remove unneeded BufferView arg.
5267
5268         * bufferparams.h: use correct types on papersize, papersize2 and
5269         paperpackage.
5270
5271         * bufferparams.C (readToken): adjust for type
5272         (writeLaTeX): add missing cases to switch.
5273
5274         * bufferlist.C (quitWriteBuffer): adjust
5275         (close): adjust
5276
5277         * buffer.C (asciiParagraph): remove some commented code.
5278
5279         * CutAndPaste.C: remove current_view extern variable.
5280         (cutSelection): add BufferParams arg.
5281         (eraseSelection): add BufferParams arg.
5282         (pasteSelection): add Buffer const & arg
5283
5284 2003-06-07  John Levon  <levon@movementarian.org>
5285
5286         * buffer.C:
5287         * paragraph_funcs.C:
5288         * paragraph_pimpl.C:
5289         * text.C:
5290         * text2.C:
5291         * paragraph.h:
5292         * paragraph.C: allow InsetERT to freely space lines,
5293         and some consolidation of code
5294
5295 2003-06-06  José Matos  <jamatos@fep.up.pt>
5296
5297         * buffer.C (makeDocBookFile): fix bug #821
5298
5299 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
5300
5301         * BufferView_pimpl.C (dispatch): use Dialogs::visible
5302
5303 2003-06-04  Angus Leeming  <leeming@lyx.org>
5304
5305         * buffer.C: bump format to 224.
5306
5307 2003-06-05  André Pönitz  <poenitz@gmx.net>
5308
5309         * text2.C (redoParagraphs): remove two const_cast<>
5310
5311 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5312
5313         * ParagraphList.h: remove last remnants of NO_STD_LIST
5314
5315 2003-06-03  Angus Leeming  <leeming@lyx.org>
5316
5317         * factory.C (createInset): small change to the way InsetExternal's params
5318         are set.
5319
5320 2003-06-04  André Pönitz  <poenitz@gmx.net>
5321
5322         * buffer.h: use Undo directly instead of shared_ptr<Undo>
5323
5324         * paragraph_pimpl.h:
5325         * paragraph.[Ch]: some Inset -> UpdatableInset changes
5326
5327         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5328
5329         * undo_funcs.C: make some simple cases of undo work again
5330
5331 2003-06-03  John Levon  <levon@movementarian.org>
5332
5333         * ispell.C: HPUX doesn't have sys/select.h
5334         (from Albert Chin)
5335
5336 2003-06-03  John Levon  <levon@movementarian.org>
5337
5338         * CutAndPaste.C: update tabular and include inset
5339         buffer references
5340
5341         * buffer.h:
5342         * paragraph.h:
5343         * paragraph.C: remove owningBuffer(), don't pass Buffer
5344         to clone()
5345
5346         * factory.C: insetGraphicsParams changed
5347
5348 2003-06-02  John Levon  <levon@movementarian.org>
5349
5350         * LyXAction.C:
5351         * factory.C:
5352         * lfuns.h:
5353         * lyxfunc.C:
5354         * text3.C: remove insetparent
5355
5356 2003-06-02  John Levon  <levon@movementarian.org>
5357
5358         * buffer.h:
5359         * buffer.C: fix inset_iterator.end(), move out of line
5360         (bug 1149)
5361
5362 2003-06-01  John Levon  <levon@movementarian.org>
5363
5364         * text3.C: use a proper cut/paste when doing inset
5365         insert (from Jürgen Spitzmüller)
5366
5367 2003-06-01  John Levon  <levon@movementarian.org>
5368
5369         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5370
5371 2003-05-30  André Pönitz  <poenitz@gmx.net>
5372
5373         * rowpainter.C: unify second drawing phase
5374
5375 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5376
5377         * trans_mgr.C: remove one case of current_view
5378
5379         * text2.C (cursorBottom): delete NO_STD_LIST stuff
5380
5381         * paragraph_funcs.h: remove paragraph.h include
5382
5383         * paragraph.h: delete NO_STD_LIST stuff
5384
5385         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5386
5387         * buffer.h: remove paragraph.h include
5388
5389         * ParagraphList.C: delete file
5390
5391         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5392
5393         * toc.C (getTocList): adjust
5394
5395         * paragraph_pimpl.C (validate): adjust
5396
5397         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5398
5399         * paragraph.C (Paragraph): adjust
5400         (getPositionOfInset): use const_iterator, adjust
5401         (bibitem): use const_iterator, adjust
5402         (setInsetOwner): adjust
5403
5404         * iterators.C (operator++): adjust
5405
5406         * InsetList.[Ch]: Replace selfmade iterator with standard
5407         vector::iterator also introduce const_iterator. Remove getPos,
5408         getInset and setInset from InsetTable. Adjust accordingly.
5409
5410         * BufferView.C (lockInset): adjust
5411         (ChangeInsets): adjust
5412
5413         * tabular.[Ch]: delete commented same_id functions
5414
5415 2003-05-28  John Levon  <levon@movementarian.org>
5416
5417         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5418
5419 2003-05-28  André Pönitz  <poenitz@gmx.net>
5420
5421         * metricsinfo.[Ch]: remove 'fullredraw' member
5422
5423 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
5424
5425         * lyxtextclass.C (operator): remove caching.
5426
5427 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5428
5429         * text3.C: adjust
5430
5431         * text2.C (cursorBottom): adjust
5432         (setCounter): use ParagraphList::find, adjust
5433
5434         * text.C (workWidth): use ParagraphList::find, adjust
5435
5436         * lyxcursor.C (LyXCursor): adjust
5437
5438         * buffer.C (inset_iterator): adjust
5439
5440         * ParagraphList.h: make iterator(value_type) private, make
5441         ParagraphList a friend of iterator.
5442
5443         * ParagraphList.C (find): new function
5444
5445         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5446
5447 2003-05-27  André Pönitz  <poenitz@gmx.net>
5448
5449         * dimension.[Ch]: a -> asc, d -> des, w -> wid
5450
5451 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5452
5453         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5454
5455 2003-05-26  John Levon  <levon@movementarian.org>
5456
5457         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5458
5459 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5460
5461         * remove same_id from function signatures, adjust.
5462
5463 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5464
5465         * undo_funcs.C (createUndo): use the id functions directly, adjust.
5466
5467         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5468
5469         * paragraph.C (Paragraph): get rid of same_ids parameter
5470
5471         * ParagraphList.C (insert): adjust
5472         (push_back): adjust
5473
5474 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5475
5476         * paragraph_funcs.C (breakParagraph): adjust
5477         (breakParagraphConservative): adjust
5478
5479         * buffer.C (readParagraph): adjust
5480
5481         * ParagraphList.C (insert): take a reference instead of a pointer
5482         (insert): adjust
5483
5484         * paragraph.[Ch] (id): new function
5485
5486         * bufferlist.C (newFile): adjust
5487
5488         * ParagraphList.C (ParagraphList): adjust
5489         (assign): adjust
5490         (push_back): take a reference instead of a pointer.
5491
5492         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5493
5494         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5495         instead.
5496
5497         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5498         set else use old code.
5499
5500         * ParagraphList.C: remove all NO_NEXT code and only compile this
5501         code of NO_STD_LIST is set.
5502
5503 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5504
5505         * BufferView_pimpl.C:
5506         * TextCache.C:
5507         * TextCache.h:
5508         * bufferlist.C:
5509         * errorlist.h:
5510         * format.C:
5511         * format.h:
5512         * graph.C:
5513         * lyxfunc.C:
5514         * lyxrc.C:
5515         * graphics/GraphicsConverter.C:
5516         * graphics/PreviewLoader.C: header adjustment
5517
5518 2003-05-23  Angus Leeming  <leeming@lyx.org>
5519
5520         * LaTeXFeatures.[Ch] (useBabel): new method.
5521         * bufferparams.C (writeLaTeX): use it.
5522
5523 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5524
5525         * ParagraphList.h (set): remove unused function.
5526
5527 2003-05-23  André Pönitz  <poenitz@gmx.net>
5528
5529         * BufferView.C:
5530         * BufferView_pimpl.C:
5531         * buffer.C:
5532         * buffer.h:
5533         * lyxfunc.C:
5534         * undo_funcs.C: setUndo reworked
5535
5536         * iterators.[Ch]: add access to topmost ParagraphList
5537
5538         * lyxtext.[Ch] (workWidth): add a const
5539
5540 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5541
5542         * texrow.[Ch] (increasePos): remove function
5543         * exporter.C (export): removed unused var and outdated comment
5544
5545 2003-05-23  Angus Leeming  <leeming@lyx.org>
5546
5547         * latexrunparams.h: rename fragile as moving_arg.
5548         * paragraph.C (simpleTeXOnePar): ditto.
5549         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5550
5551 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5552
5553         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5554         (createUndo): ditto
5555         (textUndoOrRedo): comment out a currently unused var.
5556
5557         * paragraph.h (NO_NEXT): enable NO_NEXT
5558
5559         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5560
5561         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5562
5563         * exporter.C (Export): adjust for removeAutoInsets removal.
5564
5565         * buffer.C (runChktex): adjust for removeAutoInsets removal.
5566
5567         * LyXAction.C (init): remove LFUN_REMOVEERRORS
5568
5569         * BufferView.[Ch] (removeAutoInsets): delete function
5570
5571 2003-05-22  Angus Leeming  <leeming@lyx.org>
5572
5573         * latexrunparams.h: add a free_spacing variable.
5574
5575         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5576         to pass moving_arg, as the data is stored in runparams.fragile.
5577
5578         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5579         to Inset::latexOptional or to simpleTeXOnePar.
5580
5581         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5582         free_spacing arg to Inset::latexOptional.
5583
5584         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5585         free_spacing arg.
5586
5587 2003-05-22  Angus Leeming  <leeming@lyx.org>
5588
5589         * latexrunparams.h: add fragile and use_babel variables.
5590
5591         * bufferparams.[Ch] (writeLaTeX): return use_babel.
5592         * buffer.C (makeLaTeXFile): store this returned value in
5593         runparams.use_babel, thus passing it to the inset::latex methods.
5594
5595         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5596         simpleTeXSpecialChars as it is now stored in runparams.fragile.
5597
5598         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5599         longer has a fragile arg, as it is stored in runparams.fragile.
5600
5601         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5602         moving_arg parameter as the data is stored in runparams.fragile.
5603
5604         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5605         a fragile parameter as the data is stored in runparams.fragile.
5606
5607 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5608
5609         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5610
5611 2003-05-22  Angus Leeming  <leeming@lyx.org>
5612
5613         * latexrunparams.h: add a 'bool nice' which defaults to false.
5614
5615         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5616         now encapsulated within runparams.
5617
5618         * bufferlist.C (updateIncludedTeXfiles):
5619         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5620
5621 2003-05-22  Angus Leeming  <leeming@lyx.org>
5622
5623         * latexrunparams.h: new file containing struct LatexRunParams.
5624         * Makefile.am: add new file.
5625
5626         * LaTeX.[Ch] (c-tor, run):
5627         * buffer.[Ch] (makeLaTeXFile):
5628         * bufferlist.[Ch] (updateIncludedTeXfiles):
5629         * converter.C (convert, scanLog):
5630         * converter.[Ch] (runLaTeX):
5631         * exporter.C (Export):
5632         * paragraph.[Ch] (simpleTeXOnePar):
5633         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5634         * paragraph_funcs.[Ch] (latexParagraphs):
5635         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5636         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5637         pass around a LatexRunParams parameter.
5638
5639 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5640
5641         * paragraph.[Ch]: remove unused constructor
5642
5643         * ParagraphList.C (erase): new function, taking two iterators
5644
5645 2003-05-22  André Pönitz  <poenitz@gmx.net>
5646
5647         * undo_funcs.C: remove duplicated code
5648
5649         * iterator.[Ch]: operator=
5650
5651 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5652
5653         * tabular.C (SetMultiColumn): ws changes
5654
5655         * rowpainter.C (paintFirst): get rid of a ->previous
5656
5657         * lyx_cb.C (getPossibleLabel): parlist simplification
5658
5659         * BufferView.C (ChangeInsets): simplify slightly.
5660
5661 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
5662
5663         * LyXAction.C: new lfun space-insert, kill protected-space-insert
5664         * lfuns.h: new LFUN_SPACE
5665         * lyxfunc.C: protected space has a new lfun
5666         * paragraph_funcs.C: read new space insets
5667         * text3.C:
5668         * factory.C: handle new space insets
5669
5670 2003-05-22  André Pönitz  <poenitz@gmx.net>
5671
5672         * BufferView.C:
5673         * BufferView_pimpl.C:
5674         * buffer.[Ch]:
5675         * lyxfunc.C:
5676         * undo_funcs.C: return a ParIterator from getParFromID.
5677
5678         * iterators.[Ch]: add two const's
5679
5680 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5681
5682         * toc.C (getTocList): adjust
5683
5684         * iterators.[Ch]: rework for parlist
5685
5686         * buffer.C (par_iterator_begin): adjust
5687         (par_iterator_end): adjust
5688
5689         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5690
5691         * BufferView.C (removeAutoInsets): adjust
5692         (ChangeInsets): adjust
5693
5694 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
5695
5696         * text.C (top_y): fix bug 1110
5697
5698 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
5699
5700         * errorlist.[Ch]: added
5701         * buffer.C:
5702         * BufferView.[Ch]:
5703         * BufferView_pimpl.C:
5704         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5705         instead
5706
5707 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5708
5709         * Makefile.am: ensure that lyx is relinked upon changes to the
5710         various "convenience" libs.
5711
5712 2003-05-20  Angus Leeming  <leeming@lyx.org>
5713
5714         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5715         files are compiled in alphabetical order again.
5716
5717         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5718
5719 2003-05-19  Angus Leeming  <leeming@lyx.org>
5720
5721         * gettext.[Ch]: remove "char const * _(char const *)".
5722
5723 2003-05-19  André Pönitz  <poenitz@gmx.net>
5724
5725         * dimension.[Ch]: promote from mathed/dimension.[Ch]
5726
5727         * Makefile.am:
5728         * BufferView.C:
5729         * DepTable.h:
5730         * LaTeXFeatures.C:
5731         * buffer.C:
5732         * lyxfont.C:
5733         * lyxlex.h:
5734         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5735
5736 2003-05-19  André Pönitz  <poenitz@gmx.net>
5737
5738         * buffer.C:
5739         * lyxlayout.[Ch]:
5740         * lyxtextclass.[Ch]:
5741         * paragraph.C:
5742         * paragraph_funcs.[Ch]:
5743         * text2.C:
5744         * text3.C: more insetenv work
5745
5746 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
5747
5748         * ParagraphParameters.C (params2string): small bug fixed
5749
5750 2003-05-16  André Pönitz  <poenitz@gmx.net>
5751
5752         * debug.C:
5753         * bufferview_funcs.C: patch from Kornel Benko to prevent
5754           crash when _(...) is called twice in a statement
5755
5756 2003-05-16  André Pönitz  <poenitz@gmx.net>
5757
5758         * BufferView.C:
5759         * lyxfunc.C:
5760         * text.C:
5761         * text2.C:
5762         * text3.C:
5763         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5764
5765 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
5766
5767         * lyx_main.C (init): remove spurious static_cast
5768
5769 2003-05-14  André Pönitz  <poenitz@gmx.net>
5770
5771         * BufferView.C: fix format string
5772
5773 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
5774
5775         * BufferView.[Ch] (insertErrors): removed
5776         * BufferView.[Ch] (showErrorList): added
5777         * buffer.C (runChkTeX):
5778         * converter.C (scanLog): call showErrorList instead of inserterrors
5779
5780 2003-05-13  André Pönitz  <poenitz@gmx.net>
5781
5782         * BufferView_pimpl.C:
5783         * buffer.C:
5784         * bufferview_func.C:
5785         * MenuBackend.C:
5786         * lyxfunc.C:
5787         * lyxrc.C:
5788         * tex-accent.C:
5789         * text3.C:
5790         * toc.C:
5791         * tabular_funcs.h: tostr() from its own header
5792
5793         * ParagraphParameters.C:
5794         * ToolbarBackend.C:
5795         * bufferparams.C:
5796         * format.C:
5797         * lyxlex_pimpl.C:
5798         * text3.C: STRCONV()
5799
5800 2003-05-12  André Pönitz  <poenitz@gmx.net>
5801
5802         * BufferView.C:
5803         * BufferView_pimpl.C:
5804         * CutAndPaste.C:
5805         * LaTeX.C:
5806         * LaTeXFeatures.C:
5807         * ParagraphParameters.C:
5808         * buffer.C:
5809         * bufferlist.C:
5810         * bufferparams.C:
5811         * bufferview_funcs.C:
5812         * converter.C:
5813         * counters.C:
5814         * debug.C:
5815         * exporter.C:
5816         * format.C:
5817         * importer.C:
5818         * lyx_cb.C:
5819         * lyx_main.C:
5820         * lyxfont.C:
5821         * lyxfunc.C:
5822         * lyxvc.C:
5823         * paragraph.C:
5824         * paragraph_funcs.C:
5825         * tabular.C:
5826         * tabular_funcs.C:
5827         * text2.C:
5828         * text3.C:  boost::format -> bformat  all over the place
5829
5830
5831 2003-05-09  André Pönitz  <poenitz@gmx.net>
5832
5833         * LColor.[Ch]: Pimpl the #include <map> away
5834
5835 2003-05-09  John Levon  <levon@movementarian.org>
5836
5837         * bufferlist.C: never remove emergency saves
5838
5839 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5840
5841         * Makefile.am: better lib building
5842
5843 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
5844
5845         * texrow.[Ch]: remove dependency on Paragraph and just store a id
5846         instead.
5847         * paragraph_pimpl.C (simpleTeXBlanks): adjust
5848         (simpleTeXSpecialChars): adjust
5849         (simpleTeXSpecialChars): adjust
5850         * paragraph.C (simpleTeXOnePar): adjust
5851         * buffer.C (makeLaTeXFile): adjust
5852
5853         * Makefile.am (BOOST_LIBS): allow boost as system lib.
5854
5855         * text2.C (changeDepth): parlist cleanup
5856         (getColumnNearX): ditto
5857
5858         * rowpainter.C (getLabelFont): parlist cleanup
5859
5860         * bufferlist.C (newFile): parlist cleanup
5861
5862         * CutAndPaste.C (eraseSelection): parlist cleanup
5863
5864         * BufferView_pimpl.C (trackChanges): parlist cleanup
5865         (dispatch): ditto
5866
5867         * BufferView.C (lockInset): parlist cleanup.
5868         (ChangeInsets): ditto
5869
5870 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5871
5872         * CutAndPaste.h: Update file header.
5873
5874         * CutAndPaste.C: Update file header.
5875         Store the parts cut out of the Document in a limited_stack.
5876         (copySelection): adjust
5877         (pasteSelection): new function, takes the index in the limited stack.
5878         (nrOfParagraphs): adjust
5879         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5880         simplify error inset insertion.
5881         (checkPastePossible): adjust
5882
5883 2003-05-06  John Levon  <levon@movementarian.org>
5884
5885         * text2.C: don't cast wrap inset to float
5886
5887 2003-05-05  André Pönitz  <poenitz@gmx.net>
5888
5889         * iterator.C:
5890         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5891
5892         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5893           few naked Paragraph *.
5894
5895 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
5896
5897         * bufferparams.C: Output warning if a document with missing
5898         TeX document class is loaded
5899         * exporter.C: Disable TeX exports if the document class is missing
5900         * lyxtextclass.C:
5901         * lyxtextclass.h:
5902         * lyxtextclasslist.C: Handle new textclass.lst format; new method
5903         isTeXClassAvailable()
5904
5905 2003-05-03  John Levon  <levon@movementarian.org>
5906
5907         * BufferView.h:
5908         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5909         explicit cursor show/hide
5910
5911         * BufferView_pimpl.h:
5912         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5913         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5914
5915         * lyxfunc.C: hide cursor before dispatching.
5916
5917         * lyx_cb.C:
5918         * lyxfind.C:
5919         * text.C:
5920         * text3.C: remove explicit cursor hides
5921
5922 2003-05-02  André Pönitz  <poenitz@gmx.net>
5923
5924         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5925
5926         * undo_funcs.C:
5927         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5928           linked lists
5929
5930         * text2.C: tiny whitespace
5931
5932 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5933
5934         * undo_funcs.C: almost only ws changes.
5935
5936         * ParagraphList.C (splice): just return if pl is empty.
5937
5938 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5939
5940         * ParagraphList.C (splice): new function.
5941
5942         * CutAndPaste.C (pasteSelection): use it
5943
5944 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5945
5946         * CutAndPaste.C (pasteSelection): remove the last next and
5947         previous from this file.
5948
5949 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5950
5951         * CutAndPaste.C (pasteSelection): more clean up, user proper
5952         ParagraphList functions for pasteing.
5953
5954         * ParagraphList.C (insert): new function, three arg insert
5955
5956 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5957
5958         * ParagraphList.C (insert): new function, three arg insert
5959
5960         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5961         not on paragraphs.
5962
5963 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5964
5965         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5966
5967 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5968
5969         * CutAndPaste.C (pasteSelection): remove some unneeded code.
5970
5971 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5972
5973         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5974         (copySelection): clean up a bit.
5975         (pasteSelection): use make_pair
5976
5977         * ParagraphList.C (ParagraphList): implement copy constructor
5978         (operator=): implement, base on copy constructor.
5979         (assign): new func
5980
5981         * paragraph.C (erase): return a bool
5982
5983         * paragraph_pimpl.C (erasePos): remove function, move contents...
5984         (erase): ... here. Return a bool.
5985         (erase): call erase instead of erasePos.
5986
5987 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
5988
5989         * ParagraphList.h: define PitPosPair
5990         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5991         ParagraphList, fix a bug on pasting multiple pars
5992         * text2.C: change interface to C&P
5993
5994 2003-04-30  André Pönitz  <poenitz@gmx.net>
5995
5996         * undo_func.C: revert part of yesterday's patch 2
5997
5998 2003-04-30  John Levon  <levon@movementarian.org>
5999
6000         * LColor.C: s/tabular/table/
6001
6002 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6003
6004         * text3.C (dispatch): do not convert iterator -> pointer
6005         * undo_funcs.C (setCursorParUndo): ditto
6006         * text_funcs.C (transposeChars): ditto
6007
6008         * text2.C (setLayout): ws changes only
6009
6010         * text.C (breakParagraph): do not convert iterator -> pointer
6011         (insertChar): ditto
6012         (acceptChange): ditto
6013         (rejectChange): ditto
6014         (changeCase): ditto
6015         (Delete): ditto
6016         (backspace): ditto
6017
6018         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6019         pointer
6020
6021 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6022
6023         * text3.C (gotoInset): YABG (yet another bad getChar)
6024
6025 2003-04-29  André Pönitz  <poenitz@gmx.net>
6026
6027         * paragraph.h: make operator= private unimplemented as long as
6028           it is unusable
6029
6030         * ParagraphList.C: whitespace
6031
6032         * paragraph.[Ch]:
6033         * paragraph_pimpl.[Ch]:
6034         * paragraph_funcs.C:
6035         * CutAndPaste.C:
6036         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
6037
6038         * text2.C:
6039           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6040
6041 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6042
6043         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6044         * paragraph.[Ch] (erase):
6045         * paragraph_pimpl.[Ch] (erase): change return type and value
6046         * text2.C (cutSelection): some rework
6047
6048 2003-04-28  John Levon  <levon@movementarian.org>
6049
6050         * bufferlist.C: changes for unsaved changes dialog
6051
6052 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6053
6054         * bufferlist.C (newFile): set language (messages_) for new
6055         documents also.
6056
6057         * buffer.C (readFile): ws changes only.
6058
6059 2003-04-28  André Pönitz  <poenitz@gmx.net>
6060
6061         * undo_funcs.C:
6062         * lyxfunc.C:
6063         * buffer.[Ch]:
6064         * BufferView_pimpl.C:
6065         * BufferView.C: getParFromID related ParagraphList::iterator changes
6066
6067 2003-04-28  André Pönitz  <poenitz@gmx.net>
6068
6069         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6070           Changes
6071
6072 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6073
6074         * messages.C: remove one more localedir class variable.
6075
6076 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6077
6078         * messages.C (getLocaleDir): singleton generation function
6079         (Pimpl): use it.
6080         (Messages): add a default constructor.
6081
6082         * main.C (main): do not setup localedir here, do not call
6083         gettext_init.
6084
6085         * gettext.C (_): use it.
6086         (gettext_init): delete funciton
6087
6088 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6089
6090         * gettext.C (getLyXMessages): new singleton generating function.
6091
6092         * buffer.C (updateDocLang): adjust
6093
6094         * Makefile.am (messages.o): add target
6095         (main.o): remove target
6096
6097 2003-04-27  John Levon  <levon@movementarian.org>
6098
6099         * bufferlist.C:
6100         * lyx_cb.C:
6101         * lyxfunc.C:
6102         * lyxvc.C: specify cancel button in Alert::prompt
6103
6104 2003-04-26  John Levon  <levon@movementarian.org>
6105
6106         * text3.C:
6107         * lyxfunc.C:
6108         * lfuns.h:
6109         * LyXAction.C: add LFUN_INSET_SETTINGS
6110
6111         * lyxfunc.C: don't enable tabular-feature when there's
6112         just any locking inset
6113
6114 2003-04-26  John Levon  <levon@movementarian.org>
6115
6116         * bufferlist.C: re-add Cancel to buffer close question
6117
6118         * lyxfunc.C: fix import UI a bit
6119
6120 2003-04-25  John Levon  <levon@movementarian.org>
6121
6122         * gettext.C: remove the broken asserts for now
6123
6124 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6125
6126         * messages.C: make case where setlocale cannot comply work better.
6127
6128         * buffer.C (updateDocLang): new function
6129         (changeLanguage): use it
6130         (readFile): use it
6131
6132         * text2.C (setCounter): use B_ a bit.
6133
6134         * lyxlayout.C (Read): be sure to trim the label strings.
6135
6136         * messages.C (Messages): fix typo in comment
6137
6138         * buffer.C (readFile): set message_ after file is loaded.
6139         (makeDocBookFile): remove double return
6140         (changeLanguage): reset message_ upon language change.
6141         (B_): new func, use this to get translated buffer strings.
6142
6143         * main.C: add myself and Jean Marc as authors.
6144
6145 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6146
6147         * messages.[hC]: pimplify Messages, and three different pimpls to be
6148         used in different circumstances.
6149
6150         * gettext.[Ch]: change for use with new message code.
6151
6152 2003-04-24 André Pönitz <poenitz@gmx.net>
6153
6154         * factory.C: support for eqref
6155
6156 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6157
6158         * messages.[Ch]: add missing char
6159
6160         * Makefile.am (lyx_SOURCES): add messages.[Ch]
6161
6162         * messages.[Ch]: New files
6163
6164 2003-04-18  John Levon  <levon@movementarian.org>
6165
6166         * BufferView.h:
6167         * BufferView.C:
6168         * BufferView_pimpl.C:
6169         * lfuns.h:
6170         * LyXAction.C:
6171         * lyxtext.h:
6172         * text2.C: remove layout-copy/paste (bug 778)
6173
6174 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6175
6176         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6177
6178 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6179
6180         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6181         if they succeed. Act accordingly.
6182
6183 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6184
6185         * text2.C (setCharFont): adjust
6186         (setCounter): adjust
6187         (insertStringAsLines): adjust
6188
6189         * text.C (leftMargin): adjust
6190         (setHeightOfRow): adjust
6191
6192         * rowpainter.C (paintFirst): adjust
6193         (paintLast): adjust
6194
6195         * paragraph_funcs.C (depthHook): ParagraphList::iterators
6196         (outerHook): ditto
6197         (isFirstInSequence): ditto
6198         (getEndLabel): ditto
6199         (outerFont): adjust
6200
6201         * paragraph.C (getParLanguage): comment out some hard stuff.
6202
6203         * buffer.C (insertStringAsLines): take a ParagraphList as arg
6204         (sgmlError): ditto
6205         (simpleDocBookOnePar): ditto
6206         (makeDocBookFile): use ParagraphList::iterator
6207
6208         * CutAndPaste.C (pasteSelection): adjust
6209
6210 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6211
6212         * text2.C (getFont): adjust
6213         (getLayoutFont): adjust
6214         (getLabelFont): adjust
6215
6216         * paragraph_funcs.C (TeXOnePar): adjust
6217
6218         * buffer.C (simpleLinuxDocOnePar): adjust
6219         (simpleDocBookOnePar): adjust
6220
6221         * CutAndPaste.C (pasteSelection): adjust
6222
6223         * BufferView.C (getEncoding): adjust
6224
6225         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6226
6227 2003-04-16  John Levon  <levon@movementarian.org>
6228
6229         * lyxfind.C: use parlist stuff for search/changes
6230
6231 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6232
6233         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6234
6235         * text2.C (deleteEmptyParagraphMechanism): adjust
6236
6237         * text2.[Ch] (ownerParagraph): delete func (both of them
6238
6239 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6240
6241         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6242
6243 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6244
6245         * ParagraphList.C: prepare for NO_NEXT
6246
6247 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6248
6249         * text2.C (getFont): adjust
6250         (getLayoutFont): adjust
6251         (getLabelFont): adjust
6252
6253         * paragraph.C (getFont): adjust
6254         (getLabelFont): adjust
6255         (getLayoutFont): adjust
6256
6257         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6258
6259 2003-04-15  John Levon  <levon@movementarian.org>
6260
6261         From Angus Leeming
6262
6263         * lyx_main.C: handle Include in .ui files
6264
6265 2003-04-15  John Levon  <levon@movementarian.org>
6266
6267         * MenuBackend.C: make the doc files length shorter
6268
6269         * ToolbarBackend.h:
6270         * ToolbarBackend.C: handle toolbar placement flags,
6271         Minibuffer
6272
6273 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6274
6275         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6276         adjust
6277
6278         * paragraph_funcs.C (TeXOnePar): adjust
6279
6280         * paragraph.C (getLabelFont): add outerfont arg, adjust
6281         (getLayoutFont): ditto
6282         (simpleTeXOnePar): adjust
6283
6284         * paragraph_pimpl.C (realizeFont): delete func
6285
6286 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
6287
6288         * text2.C (beforeFullRowInset): added a bad getchar check, removed
6289         row argument, constify cur argument.
6290
6291 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6292
6293         * text2.C (getFont): adjust
6294         (getLayoutFont): adjust
6295         (getLabelFont): adjust
6296
6297         * paragraph_funcs.C (TeXOnePar): adjust
6298         (outerFont): new func...
6299         (realizeFont): ...moved out from here, changed this to facilitate
6300         transition
6301
6302         * paragraph.C (getFont): take outerfont as arg, adjust
6303         (simpleTeXOnePar): add outerfont arg, adjust
6304
6305         * buffer.C (simpleLinuxDocOnePar): adjust
6306         (simpleDocBookOnePar): adjust
6307
6308         * CutAndPaste.C (pasteSelection): adjust
6309
6310         * BufferView.C (getEncoding): adjust
6311
6312 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6313
6314         * text2.C (setCharFont): adjust
6315         (setCounter): adjust
6316
6317         * text.C (leftMargin): adjust
6318         (setHeightOfRow): adjust
6319
6320         * rowpainter.C (paintFirst): adjust
6321         (paintLast): adjust
6322
6323         * paragraph_pimpl.C (realizeFont): adjust
6324
6325         * paragraph.C (isFirstInSequence): move from here...
6326         * paragraph_funcs.C (isFirstInSequence): ...to here
6327
6328         * paragraph.C (outerHook): move from here...
6329         * paragraph_funcs.C (outerHook): ...to here
6330
6331         * paragraph.C (depthHook): move from here...
6332         * paragraph_funcs.C (depthHook): ...to here
6333
6334         * paragraph.C (getEndLabel): move from here...
6335         * paragraph_funcs.C (getEndLabel): ...to here
6336
6337         * text2.C (realizeFont): move from here...
6338         * paragraph_funcs.C (realizeFont): ...to here
6339
6340 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6341
6342         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6343
6344 2003-04-14  Angus Leeming  <leeming@lyx.org>
6345
6346         * LColor.[Ch]: scrap LColor mathcursor.
6347
6348 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6349
6350         * lyxlex.[Ch] (text): delete function
6351         * trans.C (Load): adjust
6352         * paragraph_funcs.C (readParToken): adjust
6353
6354 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6355
6356         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6357         vector<char> instead of a char[].
6358
6359         * lyxlex_pimpl.C (getString): adjust
6360         (next): adjust
6361         (lex): use getString
6362         (eatLine): adjust
6363         (nextToken): adjust
6364
6365         * lyxlex.C (text): use pimpl_->getString()
6366         (getBool): ditto
6367         (findToken): ditto
6368
6369 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6370
6371         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6372         (makeFontEntriesLayoutSpecific): temp var for par.size()
6373         (setLayout): temp var for ownerParagraphs().end()
6374         (fullRebreak): temp var for rows().end()
6375         (selectionAsString): temp var for boost::next(startpit), realize
6376         that the while really is a regular for loop.
6377         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6378         setCursor in one place.
6379         (setParagraph): temp vr for ownerParagraphs().end()
6380         (updateCounters): make the while loop a for loop
6381         (cutSelection): temp var for ownerParagraphs().end()
6382         (updateInset): make the do {} while() a regular for loop
6383         (getCursorX): use temp vars
6384         (setCurrentFont): use temp vars
6385         (getColumnNearX): use temp vars
6386
6387 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6388
6389         * text.C (transformChar): use temp var for getChar
6390         (computeBidiTables): use temp var for row->par()
6391         (fill): move temp vars for row->par() and pit->layout() earlier in
6392         the function.
6393         (labelFill): use temp var for row->par()
6394         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6395         asc and desc, realize that pit never changes and that firstpit is
6396         just a duplicate and not needed. Exchange rit->par() with pit in a
6397         lot of places.
6398         (breakAgain): use a temp var for boost::next(rit)
6399         (breakAgainOneRow): ditto
6400         (breakParagraph): use a temp var for rows().begin()
6401         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6402         (cursorRightOneWord): use temp var for cursor.par() and
6403         cursor.pos(), remove usage of tmpcursor.
6404         (cursorLeftOneWord): use temp var for cursor.par() and
6405         cursor.pos() only set cur at end of function.
6406
6407 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6408
6409         * text.C, text2.C: exchange all usage of Paragraph::next with
6410         boost::next(ParagraphList::iterator)
6411
6412         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6413
6414         * text2.C (cursorTop): simplify implementation
6415         (cursorBottom): ditto
6416         (setParagraph): use ParagraphList::iterator
6417         (setCurrentFont): adjust
6418         (getColumnNearX): adjust
6419         (cursorRight): adjust
6420         (cursorLeft): remove usage of Paragraph::previous
6421         (cursorUpParagraph): ditto
6422         (deleteEmptyParagraphMechanism): slight cleanup
6423
6424         * text.C (isBoundary): take a Paragraph const & instead of a
6425         pointer as arg.
6426         (addressBreakPoint): ditto
6427         (leftMargin): remove usage of Paragraph::previous.
6428         (setHeightOfRow): ditto
6429         (cursorLeftOneWord): ditto
6430         (selectNextWordToSpellcheck): ditto
6431         (Delete): ditto
6432         (backspace): ditto
6433         (breakParagraph): remove one usage of Paragraph::next
6434         (redoParagraph): ditto
6435         (acceptChange): ditto
6436         (insertChar): adjust
6437         (rowBreakPoint): adjust
6438
6439         * bufferview_funcs.C (toggleAndShow): adjust
6440
6441 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
6442
6443         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6444         methods to access it.
6445         * lyxtext.h:
6446         * text.C: Added updateRowPositions to compute all row positions.
6447         Make top_y and getRowNearY() to use the cached y position
6448
6449 2003-04-11  John Levon  <levon@movementarian.org>
6450
6451         * text.C (rowBreakPoint): reintroduce the labelEnd
6452         checks, code copied from the row fill stuff. Deep voodoo.
6453
6454         * text.C (fill): add a comment and debugging for the
6455         next poor soul.
6456
6457 2003-04-11  John Levon  <levon@movementarian.org>
6458
6459         * text.C: make sure fullrow insets get wrapped to the next line,
6460         even when they're in a manual label
6461
6462 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6463
6464         * text2.C (insertParagraph): make it take ParagraphList::iterator
6465         as arg.
6466         (setLayout): make it return ParagraphList::iterator
6467         (redoParagraphs): ditto
6468         (setCounter): ditto
6469         (checkParagraph): ditto
6470
6471         * text.C (getRow): make getrow take ParagraphList::iterator as arg
6472
6473         * text2.C: adjust several funcs.
6474         (realizeFont): take a ParagraphList::iterator as arg.
6475         (getLayoutFont): ditto
6476         (getLabelFont): ditto
6477         (setCharFont): ditto
6478
6479         * text.C: adjust several funcs.
6480
6481 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6482
6483         * text.C (selectNextWordToSpellcheck): don't accidentally
6484         skip insets
6485
6486 2003-04-10  John Levon  <levon@movementarian.org>
6487
6488         * ToolbarBackend.C (getIcon): special handling for
6489         LFUN_MATH_DELIM
6490
6491 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6492
6493         * text2.C (cursorRight): a getChar assert fixed
6494
6495 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6496
6497         * text2.C (getFont): change to take a ParagraphList::iterator
6498         instead of Paragraph*
6499         Adjust several functions.
6500
6501         * text.C (transformChar): change to take a ParagraphList::iterator
6502         instead of Paragraph*
6503         (singleWidth): ditto
6504         Adjust several functions.
6505
6506         * rowpainter.C: adjust several functions
6507         * rowpainter.h:store a ParagraphList::iterator and not a
6508         Paragraph&.
6509
6510
6511 2003-04-09  John Levon  <levon@movementarian.org>
6512
6513         * lyxfunc.C:
6514         * lfuns.h:
6515         * LyXAction.h:
6516         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6517         and the "help" bits as well
6518
6519 2003-04-09  John Levon  <levon@movementarian.org>
6520
6521         * ToolbarBackend.h:
6522         * ToolbarBackend.C: allow multiple toolbars
6523
6524 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6525
6526         * undo_funcs.C (setCursorParUndo): adjust
6527
6528         * text_funcs.C (transposeChars): adjust
6529
6530         * text3.C (gotoNextInset): adjust
6531         (dispatch): adjust
6532
6533         * text2.C (setLayout): adjust
6534         (changeDepth): adjust
6535         (setFont): adjust
6536         (redoParagraphs): adjust
6537         (selectionAsString): adjust
6538         (setParagraph): adjust
6539         (insertInset): adjust
6540         (cutSelection): adjust
6541         (copySelection): adjust
6542         (pasteSelection): adjust
6543         (insertStringAsLines): adjust
6544         (updateInset): adjust
6545         (setCursor): change to take a ParagraphList::iterator parameter
6546         (setCursorIntern): change to take a ParagraphList::iterator parameter
6547         (setCurrentFont): adjust
6548         (cursorLeft): adjust
6549         (cursorRight): adjust
6550         (deleteEmptyParagraphMechanism): adjust
6551
6552         * text.C (breakParagraph): adjust
6553         (insertChar): adjust
6554         (acceptChange): adjust
6555         (rejectChange): adjust
6556         (selectNextWordToSpellcheck): adjust
6557         (changeCase): adjust
6558         (Delete): adjust
6559         (backspace): adjust
6560
6561         * lyxfind.C (SearchForward): adjust
6562         (SearchBackward): adjust
6563         (nextChange): adjust
6564
6565         * lyxcursor.C (par): adjust
6566
6567         * lyxcursor.h: store a ParagraphList::iterator instead of a
6568         Paragraph*
6569
6570         * lyx_cb.C (getPossibleLabel): adjust
6571
6572         * bufferview_funcs.C (toggleAndShow): adjust
6573
6574         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6575         (dispatch): adjust
6576
6577         * BufferView.C (removeAutoInsets): adjust
6578         (lockedInsetStoreUndo): adjust
6579
6580 2003-04-09  John Levon  <levon@movementarian.org>
6581
6582         * ToolbarBackend.C: try icon without argument
6583         if with argument fails
6584
6585 2003-04-08  John Levon  <levon@movementarian.org>
6586
6587         * ToolbarBackend.h:
6588         * ToolbarBackend.C: add getIcon(), handle tooltip,
6589         and change from "Icon" to "Item".
6590
6591 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6592
6593         * BufferView.C (lockInset): another bad getchar crunched
6594
6595 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6596
6597         * text2.C (changeDepth): do not setUndo on test_only (make undo work
6598         again)
6599
6600 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
6601
6602         * lyxfind.C (searchForward, searchBackwards): bug 782
6603
6604 2003-04-07  John Levon  <levon@movementarian.org>
6605
6606         * paragraph.C: remove dead comment
6607
6608         * text.C: remove troublesome depth-fiddling code
6609         in leftMargin() and rightMargin() (bug 1017)
6610
6611         * text.C: fix breaking of rows in nested lists
6612         (bug 1004)
6613
6614         * text2.C (updateCounters): fix up depth values
6615         (bug 1013)
6616
6617 2003-04-07  John Levon  <levon@movementarian.org>
6618
6619         * BufferView_pimpl.C: clear message when doc finishes resizing,
6620         and after a mouse event
6621
6622         * lyxfunc.C: clear message after exiting inset
6623
6624 2003-04-07  John Levon  <levon@movementarian.org>
6625
6626         * bufferview_funcs.C: show math status not outside
6627         status in the statusbar
6628
6629 2003-04-07  John Levon  <levon@movementarian.org>
6630
6631         * lyxfunc.C: note status changed after a depth change
6632
6633 2003-04-04  Angus Leeming  <leeming@lyx.org>
6634
6635         * LaTeX.h: move AuxInfo operator==, != out of line.
6636         Remove LaTeX virtual destructor; nothing derives from it.
6637         Move operator()() out of public area and rename it startscript().
6638         Change protected for private.
6639
6640 2003-04-04  Angus Leeming  <leeming@lyx.org>
6641
6642         * lyxfunc.C:
6643         * text2.C: remove unneeded #includes.
6644
6645 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6646
6647         * text2.C (dEPM): fix the heigth of the next row
6648
6649 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6650
6651         * text.C: squashed an invalid getChar requester + some ws changes
6652
6653 2003-04-03  John Levon  <levon@movementarian.org>
6654
6655         * bufferview_funcs.h:
6656         * bufferview_funcs.C:
6657         * lyxfunc.C:
6658         * lyxtext.h:
6659         * text2.C: make getStatus work for the env depth lfuns
6660
6661 2003-04-03  John Levon  <levon@movementarian.org>
6662
6663         * bufferview_funcs.h:
6664         * bufferview_funcs.C:
6665         * lyxfunc.C:
6666         * lyxtext.h:
6667         * text2.C: parlistize decDepth(), by merging it with incDepth()
6668
6669 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6670
6671         * lyxrow.h: store a ParagraphList::iterator instead of a
6672         Paragraph* and adjust other class functions to suit.
6673
6674         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6675         above.
6676
6677 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6678
6679         * text2.C (setCursor): do not anchor to cursor row for the time being
6680
6681 2003-04-02  John Levon  <levon@movementarian.org>
6682
6683         * LyXAction.C:
6684         * lfuns.h:
6685         * lyx_main.C:
6686         * lyxtext.h:
6687         * text.C:
6688         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6689
6690 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6691
6692         * paragraph.h: make ParagraphList and ParagraphList::iterator
6693         friends of Paragraph.
6694
6695         * buffer.C (makeLinuxDocFile): move towards ParagraphList
6696
6697         * ParagraphList.C: Use the private next_ and previous_ from
6698         Paragraph.
6699
6700 2003-04-01  John Levon  <levon@movementarian.org>
6701
6702         * ToolbarBackend.h:
6703         * ToolbarBackend.C:
6704         * Makefile.am: rename, remove defaults gunk
6705
6706         * MenuBackend.h:
6707         * MenuBackend.C: remove defaults gunk
6708
6709         * Languages.h:
6710         * Languages.C: remove defaults gunk
6711
6712         * lyx_main.h:
6713         * lyx_main.C: error out if files couldn't be found.
6714
6715 2003-04-02  John Levon  <levon@movementarian.org>
6716
6717         * text2.C: make incDepth() use parlist
6718
6719 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6720
6721         * undo_funcs.C (firstUndoParagraph): adjust
6722
6723         * text3.C (gotoInset): adjust
6724         (dispatch): adjust, and rewrite loop.
6725
6726         * text2.C (init): adjust, and rewrite loop.
6727         (redoParagraphs): adjust
6728         (updateInset): adjust, and rewrite loop.
6729         (deleteEmptyParagraphMechanism): adjust
6730
6731         * tabular.C (LyXTabular): adjust
6732         (SetMultiColumn): adjust
6733         (TeXRow): adjust
6734
6735         * lyxtext.[Ch] (ownerParagraph): delete function
6736         (ownerParagraphs): new function returns a ParagraphList.
6737
6738         * BufferView.C (removeAutoInsets): adjust
6739         (insertErrors): adjust
6740         (setCursorFromRow): adjust
6741
6742 2003-04-01  Angus Leeming  <leeming@lyx.org>
6743
6744         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6745         in the frontends.
6746
6747 2003-04-02  John Levon  <levon@movementarian.org>
6748
6749         * lyxtext.h:
6750         * text.C:
6751         * Makefile.am:
6752         * text_funcs.h:
6753         * text_funcs.C: make transposeChars a free function
6754
6755         * lyxrow_funcs.C: remove wrong comment
6756
6757 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6758
6759         * lyxtext.h: adjust
6760         * rowpainter.C: adjust
6761         * text.C: adjust
6762         * text2.C: adjust
6763         * text3.C: adjust
6764
6765         * lyxrow_funcs. [Ch]: new files
6766
6767         * lyxrow.[Ch]: remove next and previous pointers
6768         (next,previous): remove accessor functions
6769         (isParEnd): move to lyxrow_funcs
6770         (lastPos): move to lyxrow_funcs
6771         (nextRowIsAllInset): move to lyxrow_funcs
6772         (lastPrintablePos): move to lyxrow_funcs
6773         (numberOfSeparators): move to lyxrow_funcs
6774         (numberOfHfills): move to lyxrow_funcs
6775         (numberOfLabelHfills): move to lyxrow_funcs
6776         (hfillExpansion): move to lyxrow_funcs
6777
6778         * lyxfunc.C: adjust
6779
6780         * bufferview_funcs.C (toggleAndShow): adjust
6781
6782         * RowList.h: Remove class RowList from file leave just a
6783         std::list<Row>.
6784
6785         * RowList.C: delete file
6786
6787         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6788         and lyxrow_funcs.h
6789
6790 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6791
6792         * text3.C (cursorPrevious): adjust
6793         (cursorNext): adjust
6794         (dispatch): adjust
6795
6796         * text2.C (redoHeightOfParagraph): adjust
6797         (redoDrawingOfParagraph): adjust
6798         (setCursor): adjust
6799
6800         * text.C (breakParagraph): adjust
6801         (insertChar): adjust
6802         (backspace): adjust
6803
6804         * rowpainter.C (RowPainter): adjust
6805         (leftMargin): simplify and adjust
6806         (most rowpainter functions): adjust.
6807
6808         * rowpainter.h: store the row as RowList::iterator not as Row*
6809
6810         * lyxcursor.C (row): taka RowList::iterator as arg
6811         (irow): ditto
6812
6813         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6814         of Row*.
6815
6816 2003-04-01  Angus Leeming  <leeming@lyx.org>
6817
6818         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6819         stuff like bool Bool.
6820
6821 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6822
6823         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6824         rewrite a loop
6825
6826 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6827
6828         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6829         RowList::iterator.
6830
6831         * lyxtext.h (rows): drop one version and leve a const variant that
6832         returns a RowList::iterator.
6833
6834 2003-03-31  Angus Leeming  <leeming@lyx.org>
6835
6836         * text.C (fill): ensure that the signature is the same as that in the
6837         header file.
6838
6839 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
6840
6841         * text2.C (redoParagraphs): adjust
6842         (updateCounters): adjust
6843         (checkParagraph): adjust
6844         (getColumnNearX): adjust and reformat a bit.
6845
6846         * text.C (top_y): adjust
6847         (workWidth): adjust
6848         (leftMargin): adjust
6849         (prepareToPrint): adjust
6850         (getRow): adjust
6851         (getRowNearY): adjust
6852
6853         * lyxtext.h: make rowlist_ mutable.
6854
6855         * RowList.h: add const_iterator
6856         * RowList.C: adjust for RowList::const_iterator.
6857
6858         * text2.C (getCursorX): make it take a RowList::iterator as arg,
6859         adjust.
6860
6861 2003-03-31  John Levon  <levon@movementarian.org>
6862
6863         * lyxrc.h:
6864         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6865
6866         * lyx_main.C: set default fonts from using lyx_gui funcs
6867
6868         * exporter.C: pdf_mode moved from lyxrc
6869
6870         * lyx_cb.C:
6871         * lyxfunc.C: changes from above
6872
6873 2003-03-31  John Levon  <levon@movementarian.org>
6874
6875         * lyx_main.C: fix to the last fix
6876
6877 2003-03-31  John Levon  <levon@movementarian.org>
6878
6879         * bufferlist.C: "Load original" -> "Load Original"
6880
6881         * converter.C:
6882         * exporter.C:
6883         * importer.C:
6884         * lyx_main.C:
6885         * format.C: more Alert cleanups
6886
6887 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6888
6889         * text2.C (removeParagraph): make it take a RowList::iterator as
6890         arg, adjust.
6891         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6892         (postRowPaint): make it take a RowList::iterator as arg, adjust.
6893
6894         * text.C (anchor_row): make it take a RowList::iterator as arg,
6895         adjust.
6896         (computeBidiTables): make it take a const reference to Row instead
6897         of Row pointer, adjust.
6898         (leftMargin): make it take a RowList::iterator as arg, adjust.
6899         (rowBreakPoint): adjust
6900         (breakAgainOneRow): make it take a RowList::iterator as arg,
6901         adjust.
6902         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6903
6904         * bufferview_funcs.C (toggleAndShow): adjust
6905
6906 2003-03-30  John Levon  <levon@movementarian.org>
6907
6908         * Makefile.am:
6909         * BoostFormat.h:
6910         * boost-inst.C: moved to support
6911
6912         * several files: changes as a result
6913
6914 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6915
6916         * text2.C (LyXText): adjust.
6917         (init): adjust
6918         (removeRow): make it take a RowList::iterator as arg, adjust.
6919         (fullRebreak): adjust
6920         (deleteEmptyParagraphMechanism): adjust
6921         (clearPaint): adjust
6922         (postPaint): adjust
6923
6924         * text.C (top_y): adjust
6925         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6926         (breakAgain): make it take a RowList::iterator as arg, adjust.
6927         (breakParagraph): adjust
6928         (insertChar): adjust
6929         (backspace): adjust
6930
6931         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6932         need_break_row, and refresh_row.
6933
6934         * text3.C (dispatch): adjust
6935
6936         * text2.C (checkParagraph): adjust
6937         (setCursor): adjust
6938         (setCursorFromCoordinates): adjust
6939
6940         * text.C (top_y): adjust
6941         (workWidth): adjust
6942         (getRow): make it return a RowList::iterator, adjust
6943         (getRowNearY): make it return a RowList::iterator, adjust
6944
6945         * text2.C (init): adjust
6946         (insertRow): remove function
6947         (insertParagraph): adjust
6948         (redoParagraphs): adjust
6949         (fullRebreak): adjust
6950         (updateCounters): adjust
6951
6952         * text.C (top_y): rewrite to use RowList iterators.
6953         (top_y): adjust
6954         (setHeightOfRow): rewrite to sue RowList iterators.
6955         (appendParagraph): adjust
6956         (breakAgain): adjust
6957         (breakAgainOneRow): adjust
6958         (breakParagraph): adjust
6959         (getRow): adjust
6960         (getRowNearY): adjust, and remove commented code.
6961
6962         * lyxtext.h (firstRow): delete function
6963         (lastRow): delete function
6964         (rows): new function (const and non-const versions.)
6965         (insertRow): delete function
6966
6967         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6968
6969 2003-03-29  John Levon  <levon@movementarian.org>
6970
6971         * BufferView_pimpl.C: always update scrollbar top
6972         because pasting text when we're anchored could mean we
6973         miss an update altogether
6974
6975 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6976
6977         * text2.C (init): use rowlist_.end() and not 0.
6978         (insertRow): change to take a RowList::iterator as arg, adjust
6979         for this.
6980         (insertParagraph): change to take a RowList::iterator as arg,
6981         adjust for this.
6982         (redoParagraphs): remove some debug msgs.
6983
6984         * text.C (appendParagraph): change to take a RowList::iterator
6985         arg, adjust for this.
6986         (breakAgain): add an assert
6987         (breakAgainOneRow): ditto
6988
6989 2003-03-29  John Levon  <levon@movementarian.org>
6990
6991         * text2.C: do not clear selection after inc/decDepth
6992         (bug 550)
6993
6994 2003-03-29  John Levon  <levon@movementarian.org>
6995
6996         * BufferView.C:
6997         * buffer.C: fix broken strerrors according to Lars
6998
6999 2003-03-29  John Levon  <levon@movementarian.org>
7000
7001         * converters.C: more Alert cleanups
7002
7003 2003-03-29  John Levon  <levon@movementarian.org>
7004
7005         * bufferview_funcs.C: remove pointless Alert
7006
7007         * buffer.C: fix confusing error message when
7008         a template is chmoded 000
7009
7010 2003-03-29  John Levon  <levon@movementarian.org>
7011
7012         * BufferView.C:
7013         * BufferView.h:
7014         * BufferView_pimpl.C: Alert fixes
7015
7016         * Makefile.am:
7017         * tabular.C:
7018         * tabular-old.C: remove unused table compat reading
7019
7020 2003-03-29  John Levon  <levon@movementarian.org>
7021
7022         * BufferView.C:
7023         * buffer.C:
7024         * lyx_cb.h:
7025         * lyx_cb.C: more Alert cleanups
7026
7027         * lyxfunc.C: don't allow chktex if not latex document
7028
7029 2003-03-29  John Levon  <levon@movementarian.org>
7030
7031         * lyx_cb.C:
7032         * BufferView.C:
7033         * buffer.C: warnings pushed down from support/,
7034         kill err_alert
7035
7036 2003-03-29  John Levon  <levon@movementarian.org>
7037
7038         * lyxfunc.C: safety check for C-r (revert)
7039
7040 2003-03-29  John Levon  <levon@movementarian.org>
7041
7042         * bufferlist.h:
7043         * bufferlist.C: several UI fixes using Alert::prompt.
7044         Fix the pointless looping quit code. Fix stupid revert
7045         behaviour (bug 938)
7046
7047         * lyxvc.h:
7048         * lyxvc.C:
7049         * lyx_cb.C: use Alert::prompt
7050
7051         * lyx_main.C: remove a silly question
7052
7053         * lyxfunc.C: remove a couple of silly questions,
7054         use Alert::prompt
7055
7056 2003-03-28  John Levon  <levon@movementarian.org>
7057
7058         * text2.C: fix bug 974 (End on empty par)
7059
7060 2003-03-28  John Levon  <levon@movementarian.org>
7061
7062         * BufferView_pimpl.C:
7063         * LyXAction.C:
7064         * lfuns.h: remove do-nothing math greek lfuns
7065
7066 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7067
7068         * lyxgluelength.h (isValidGlueLength): add default arg on
7069         parameter 2. Remove default arg from friend in class.
7070
7071         * lyxlength.h (isValidLength): add default arg on parameter 2.
7072         Remove default arg from friend in class.
7073
7074         * text2.C (LyXText): adjust, initialize refresh_row.
7075         (init): adjust
7076         (removeRow): adjust
7077         (insertRow): adjust
7078         (insertParagraph): adjst
7079         (redoParagraphs): adjust
7080         (fullRebreak): adjust
7081         (updateCounters): adjust
7082         (deleteEmptyParagraphMechanism): first attempt at fixing a
7083         crashing bug.
7084
7085         * text.C (top_y): adjust
7086         (setHeightOfRow): adjust
7087         (getRow): adjust
7088         (getRowNearY): adjust
7089
7090         * lyxtext.h: include RowList.h
7091         (~LyXText): not needed anymore, deleted.
7092         (firstRow): modify for RowList
7093         (lastRow): new function
7094         Delete firstrow and lastrow class variables, add a Rowlist
7095         rowlist_ class variable.
7096
7097         * lyxrow.C (lastPos): use empty() and not !size() to check if a
7098         paragraph is empty.
7099
7100         * RowList.C (insert): fix case where it == begin().
7101
7102 2003-03-26  Angus Leeming  <leeming@lyx.org>
7103
7104         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7105         the thesaurus dialog.
7106
7107 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7108
7109         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7110
7111         * RowList.[Ch]: new files
7112
7113         * ParagraphList.C (erase): handle the case where it == begin
7114         correctly.
7115
7116 2003-03-25  John Levon  <levon@movementarian.org>
7117
7118         * Makefile.am:
7119         * aspell_local.h:
7120         * aspell.C: add new aspell support
7121
7122         * lyxrc.h:
7123         * lyxrc.C: Make use_pspell be use_spell_lib. Always
7124         have it accessible.
7125
7126 2003-03-25  Angus Leeming  <leeming@lyx.org>
7127
7128         * lfuns.h:
7129         * LyXAction.C (init): new LFUN_INSET_INSERT.
7130
7131         * BufferView_pimpl.C (dispatch): split out part of the
7132         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7133
7134         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7135         LFUN_INSET_APPLY.
7136
7137 2003-03-25  Angus Leeming  <leeming@lyx.org>
7138
7139         * lyxfunc.C (dispatch): changes to the Dialogs interface.
7140
7141 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
7142
7143         * text2.C:
7144         * text3.C: remove useless row->height(0)
7145
7146 2003-03-25  John Levon  <levon@movementarian.org>
7147
7148         * lyxtext.h:
7149         * text2.C:
7150         * text3.C: rename the refreshing stuff to better names
7151
7152 2003-03-24  John Levon  <levon@movementarian.org>
7153
7154         * BufferView_pimpl.h:
7155         * BufferView_pimpl.C: update layout choice on a mouse
7156         press/release
7157
7158 2003-03-23  John Levon  <levon@movementarian.org>
7159
7160         * Makefile.am: fix commandtags.h reference
7161
7162 2003-03-22  John Levon  <levon@movementarian.org>
7163
7164         * BufferView_pimpl.C:
7165         * lyxtext.h:
7166         * rowpainter.C:
7167         * rowpainter.h:
7168         * text.C:
7169         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7170
7171 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
7172
7173         * lyxtext.h:
7174         * text.C: take the rtl methods out of line
7175
7176 2003-03-21 André Pönitz <poenitz@gmx.net>
7177
7178         * metricsinfo.[Ch]: new files containing structures to be passed around
7179         during the two-phase-drawing...
7180
7181 2003-03-21 André Pönitz <poenitz@gmx.net>
7182
7183         * lyxtextclass.C: read 'environment' tag.
7184
7185 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
7186
7187         * text2.C (removeRow): fix bug 964
7188
7189 2003-03-20  John Levon  <levon@movementarian.org>
7190
7191         * rowpainter.C:
7192         * text.C:
7193         * text2.C: paint cleanups. Inset::update() dropped font
7194         parameter
7195
7196 2003-03-19  John Levon  <levon@movementarian.org>
7197
7198         * lyxfunc.C: only fitcursor/markDirty if available()
7199
7200 2003-03-19  John Levon  <levon@movementarian.org>
7201
7202         * commandtags.h: rename to ...
7203
7204         * lfuns.h: ... this, and renumber / cleanup
7205
7206 2003-03-19  John Levon  <levon@movementarian.org>
7207
7208         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7209         fit the cursor after an lfun
7210
7211         * BufferView.h:
7212         * BufferView.C:
7213         * BufferView_pimpl.h:
7214         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7215
7216         * LyXAction.C: layout-character should have ReadOnly
7217
7218         * ParagraphParameters.C:
7219         * buffer.C:
7220         * bufferview_funcs.C:
7221         * lyx_cb.C:
7222         * lyxfind.C:
7223         * lyxtext.h:
7224         * text.C:
7225         * text2.C:
7226         * text3.C:
7227         * undo_funcs.C: changes from above
7228
7229 2003-03-18  John Levon  <levon@movementarian.org>
7230
7231         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7232         remove it from update()
7233
7234         * lyxfunc.C: update layout choice after an lfun
7235
7236         * text3.C: remove extra updateLayoutChoice()s
7237
7238 2003-03-18  John Levon  <levon@movementarian.org>
7239
7240         * text.C: top_y change means full repaint, fix
7241         a drawing bug with cursor movement
7242
7243 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7244
7245         * lyxtext.h:
7246         * text.C:
7247         * text2.C: anchor row on setCursor
7248
7249 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7250
7251         * lyxtext.h: remove almost all mutable keywords
7252         * text.C:
7253         * text2.C:
7254         * text3.C: remove const keywords accordingly
7255
7256 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7257
7258         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7259         anon namespace
7260         (TeXEnvironment): ditto
7261         (TeXOnePar): ditto
7262
7263 2003-03-17  John Levon  <levon@movementarian.org>
7264
7265         * text.C (rowBreakPoint): remove attempt to fix displayed
7266         math insets inside a manual label
7267
7268 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7269
7270         * lyxtext.h: remove BufferView* as first arg from almost all class
7271         functions.
7272         * other files: adjust.
7273
7274 2003-03-17  John Levon  <levon@movementarian.org>
7275
7276         * lyxtext.h:
7277         * undo_funcs.C:
7278         * text2.C: more paint cleanups
7279
7280         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7281
7282         * rowpainter.h:
7283         * rowpainter.C: remove "smart" background painting code
7284
7285 2003-03-16  John Levon  <levon@movementarian.org>
7286
7287         * lyxtext.h:
7288         * text.C:
7289         * text2.C:
7290         * text3.C: add helper functions for setting refresh_row/y
7291
7292 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
7293
7294         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7295         newline inset which *can* get inserted in the pass_thru layouts.
7296         This is primarily for literate documents.
7297
7298 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
7299
7300         * buffer.C: increment LYX_FORMAT to 223
7301
7302 2003-03-14 André Pönitz <poenitz@gmx.net>
7303
7304         * textclass.h: prepare for environment handling, ws changes
7305         * lyxlayout.C: read latexheader and latexfooter tags
7306
7307 2003-03-14  John Levon  <levon@movementarian.org>
7308
7309         * text2.C: rewrite ::status() a bit
7310
7311 2003-03-13  John Levon  <levon@movementarian.org>
7312
7313         * lyxtext.h: add some docs
7314
7315 2003-03-13  John Levon  <levon@movementarian.org>
7316
7317         * lyxtext.h:
7318         * text.C:
7319         * text2.C:
7320         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7321
7322 2003-03-13  John Levon  <levon@movementarian.org>
7323
7324         * text3.C: fix appendix redrawing
7325
7326 2003-03-13  John Levon  <levon@movementarian.org>
7327
7328         * text.C (setHeightOfRow):
7329         * rowpainter.h:
7330         * rowpainter.C: make appendix mark have the text
7331           "Appendix" so the user knows what it is
7332
7333         * LColor.h:
7334         * LColor.C: s/appendixline/appendix/ from above
7335
7336 2003-03-13  John Levon  <levon@movementarian.org>
7337
7338         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7339
7340         * text.C: fix a getChar(pos) bug properly
7341
7342 2003-03-13  Angus Leeming  <leeming@lyx.org>
7343
7344         * commandtags.h:
7345         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7346         Probably only temporary. Let's see how things pan out.
7347
7348         * BufferView.C (unlockInset):
7349         * BufferView_pimpl.C (fitCursor):
7350         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7351
7352         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7353         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7354
7355         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7356         new functions that convert ParagraphParameters to and from a string.
7357
7358         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7359         BufferView::Pimpl's dispatch.
7360         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7361
7362 2003-03-13 André Pönitz <poenitz@gmx.net>
7363
7364         * lyxfunc.C:
7365         * text3.C:
7366         * factory.C: make it aware of InsetEnv
7367
7368 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7369
7370         * text2.C (setCursor): never ask for one past last
7371         (setCursor): add some debugging messages.
7372
7373         * text.C (singleWidth): never ask for one past last
7374         (singleWidth): ditto
7375         (leftMargin): ditto
7376         (rightMargin): ditto
7377         (rowBreakPoint): ditto
7378         (setHeightOfRow): ditto
7379         (prepareToPrint): ditto
7380
7381         * rowpainter.C (paintBackground): never ask for one past last
7382         (paintText): never ask for one past last
7383
7384         * paragraph_pimpl.C (getChar): make the assert stricter, never
7385         allow the one past last pos to be taken
7386
7387         * paragraph.C (getChar): ws changes only
7388
7389         * lyxrow.C (nextRowIsAllInset): never ask for one past last
7390         (numberOfSeparators): ditto
7391         (numberOfHfills): ditto
7392
7393 2003-03-12  John Levon  <levon@movementarian.org>
7394
7395         * author.h:
7396         * author.C:
7397         * bufferparams.h:
7398         * bufferparams.C:
7399         * paragraph_funcs.C: fix per-buffer authorlists
7400
7401 2003-03-12  John Levon  <levon@movementarian.org>
7402
7403         * text.C: fix newline in right address
7404
7405 2003-03-12  Angus Leeming  <leeming@lyx.org>
7406
7407         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7408         duplicate those in LyXFunc::dispatch.
7409
7410         * commandtags.h:
7411         * LyXAction.C:
7412         * ToolbarDefaults.C:
7413         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7414         Add LFUN_FONTFREE_UPDATE.
7415
7416         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7417         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7418
7419         * bufferview_func.[Ch]: several new functions to facilliate
7420         transfer of data to and from the character dialog.
7421
7422 2003-03-12  John Levon  <levon@movementarian.org>
7423
7424         * buffer.C:
7425         * paragraph.h:
7426         * paragraph.C:
7427         * paragraph_funcs.C:
7428         * paragraph_pimpl.C:
7429         * sgml.C:
7430         * tabular.C:
7431         * text.C:
7432         * text3.C: remove META_NEWLINE in favour of an inset
7433
7434         * rowpainter.h:
7435         * rowpainter.C: remove paintNewline (done by inset)
7436
7437 2003-03-12  John Levon  <levon@movementarian.org>
7438
7439         * paragraph_pimpl.C: complain about bad getChar()s
7440         for a while at least
7441
7442 2003-03-12  John Levon  <levon@movementarian.org>
7443
7444         * buffer.h:
7445         * buffer.C: move paragraph read into a separate function,
7446         a little renaming to reflect that.
7447
7448         * bufferparams.h:
7449         * bufferparams.C: remove the author_ids map, not necessary now
7450
7451         * factory.h:
7452         * factory.C: moved Buffer::readInset to here
7453
7454         * paragraph_funcs.h:
7455         * paragraph_funcs.C: readParagraph free function moved from
7456         buffer.C
7457
7458         * tabular.C: name change
7459
7460 2003-03-12  John Levon  <levon@movementarian.org>
7461
7462         * buffer.C:
7463         * ParagraphParameters.C: move par params input to
7464         a read() method
7465
7466         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7467         behave like a normal read from the stream wrt reading
7468         a line vs. a \\token
7469
7470 2003-03-12  John Levon  <levon@movementarian.org>
7471
7472         * paragraph.C:
7473         * ParagraphParameters.h:
7474         * ParagraphParameters.C: move output code to a
7475         ::write() method
7476
7477 2003-03-12  John Levon  <levon@movementarian.org>
7478
7479         * BufferView.C (insertLyXFile):
7480         * buffer.h:
7481         * buffer.C:
7482         * tabular.C: use a parlist iterator for creating the
7483           document.
7484
7485 2003-03-12  John Levon  <levon@movementarian.org>
7486
7487         * buffer.C: make current_change static local not
7488           static file-scope
7489
7490 2003-03-12  John Levon  <levon@movementarian.org>
7491
7492         * buffer.C: fix insertStringAsLines for change tracking
7493
7494 2003-03-12  John Levon  <levon@movementarian.org>
7495
7496         * BufferView.C:
7497         * tabular.C:
7498         * buffer.h:
7499         * buffer.C:
7500         * bufferparams.h:
7501         * bufferparams.C: move author list into params. Rename some
7502           functions. Move the header reading into a separate token
7503           loop. Move the header token reading into BufferParams.
7504
7505 2003-03-12  John Levon  <levon@movementarian.org>
7506
7507         * changes.C: put debug inside lyxerr.debugging() checks
7508
7509 2003-03-11 André Pönitz <poenitz@gmx.net>
7510
7511         * factory.C: make it aware of InsetHFill
7512
7513 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7514
7515         * buffer.C (latexParagraphs): move function from here...
7516         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7517         args.
7518
7519 2003-03-10  Angus Leeming  <leeming@lyx.org>
7520
7521         * LyXAction.C (init): fix bug in poplating array with multiple entries
7522         with the same LFUN (spotted by JMarc).
7523
7524 2003-03-10  John Levon  <levon@movementarian.org>
7525
7526         * text.C:
7527         * text2.C: move getColumnNearX() near its
7528         only call site
7529
7530 2003-03-10  John Levon  <levon@movementarian.org>
7531
7532         * text.C: fix break before a minipage
7533
7534 2003-03-10  John Levon  <levon@movementarian.org>
7535
7536         * text.C: fix the last commit
7537
7538 2003-03-09  John Levon  <levon@movementarian.org>
7539
7540         * lyxtext.h:
7541         * text.C:
7542         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7543         bug 365 (don't break before insets unless needed). Don't
7544         return a value > last under any circumstances.
7545
7546 2003-03-09  Angus Leeming  <leeming@lyx.org>
7547
7548         * BufferView_pimpl.C (trackChanges, dispatch): call
7549         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7550
7551 2003-03-09  Angus Leeming  <leeming@lyx.org>
7552
7553         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7554         than Dialogs::showAboutlyx().
7555
7556 2003-03-09  Angus Leeming  <leeming@lyx.org>
7557
7558         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7559         than Dialogs::showTabularCreate().
7560
7561 2003-03-09  John Levon  <levon@movementarian.org>
7562
7563         * lyxtext.h:
7564         * text.C:
7565         * text2.C: 3rd arg to nextBreakPoint was always the same.
7566           Use references.
7567
7568 2003-03-08  John Levon  <levon@movementarian.org>
7569
7570         * lyxrow.C:
7571         * paragraph.C:
7572         * paragraph.h:
7573         * rowpainter.C:
7574         * text.C:
7575         * text2.C: Remove the "main" bit from the "main body"
7576           notion.
7577
7578 2003-03-08  John Levon  <levon@movementarian.org>
7579
7580         * text.C (leftMargin): The left margin of an empty
7581         manual label paragraph should not include the label width
7582         string length.
7583
7584         * text.C (prepareToPrint): don't attempt to measure hfills
7585         for empty manual label paragraphs - the answer should be 0
7586
7587 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7588
7589         * CutAndPaste.C: remove commented code and reindent.
7590
7591 2003-03-08  John Levon  <levon@movementarian.org>
7592
7593         * lyxfunc.h:
7594         * lyxfunc.C: move reloadBuffer()
7595
7596         * BufferView.h:
7597         * BufferView.C: to here
7598
7599         * lyxvc.C: add comment
7600
7601         * vc-backend.h:
7602         * vc-backend.C: call bv->reload() to avoid
7603           getStatus() check on MENURELOAD
7604
7605 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
7606
7607         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7608         to an old format .dep file.
7609
7610 2003-03-07  Angus Leeming  <leeming@lyx.org>
7611
7612         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7613         when the LFUN_MOUSE_RELEASE should have been handled by
7614         inset->localDispatch.
7615
7616 2003-03-07  Angus Leeming  <leeming@lyx.org>
7617
7618         * BufferView_pimpl.C (dispatch):
7619         * LyXAction.C (init):
7620         * ToolbarDefaults.C (init):
7621         * commandtags.h:
7622         * lyxfunc.C (getStatus):
7623         remove LFUN_INSET_GRAPHICS.
7624
7625         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7626
7627 2003-03-07  Angus Leeming  <leeming@lyx.org>
7628
7629         * commandtags.h:
7630         * LyXAction.C (init):
7631         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7632
7633         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7634
7635         * commandtags.h:
7636         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7637
7638         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7639         localDispatch method LFUN_INSET_DIALOG_UPDATE.
7640
7641 2003-03-07  Angus Leeming  <leeming@lyx.org>
7642
7643         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7644         remove "ert".
7645
7646 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7647
7648         * ParagraphList.C (front): new function
7649         (back): implement
7650
7651 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
7652
7653         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7654         and top_row_offset_. removed var first_y.
7655         * text.C (top_y):
7656         * text2.C (LyXText, removeRow):
7657         * text3.C:
7658         * BufferView_pimpl.C:
7659         use these methods instead of using first_y
7660
7661 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7662
7663         * text2.C (pasteSelection): adjust for checkPastePossible
7664
7665         * CutAndPaste.C: remove Paragraph * buf and replace with
7666         ParagraphList paragraphs.
7667         (DeleteBuffer): delete
7668         (cutSelection): change the tc type to textclass_type
7669         (copySelection): change the tc type to textclass_type
7670         (copySelection): adjust for ParagraphList
7671         (pasteSelection): change the tc type to textclass_type
7672         (pasteSelection): adjust for Paragraphlist
7673         (nrOfParagraphs): simplify for ParagraphList
7674         (checkPastePossible): simplify for ParagraphList
7675         (checkPastePossible): remove unused arg
7676
7677         * ParagraphList.C (insert): handle the case where there are no
7678         paragraphs yet.
7679
7680         * CutAndPaste.h: make CutAndPaste a namespace.
7681
7682         * text3.C (dispatch): adjust
7683
7684         * text.C (breakParagraph): add a ParagraphList as arg
7685
7686         * paragraph_funcs.C (breakParagraph): change to take a
7687         BufferParams and a ParagraphList as args.
7688         (breakParagraphConservative): ditto
7689         (mergeParagraph): ditto
7690         (TeXDeeper): add a ParagraphList arg
7691         (TeXEnvironment): ditto
7692         (TeXOnePar): ditto
7693
7694         * buffer.C (readLyXformat2): adjust
7695         (insertStringAsLines): adjust
7696         (latexParagraphs): adjust
7697
7698         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7699         (cutSelection): adjust
7700         (pasteSelection): adjust
7701
7702         * BufferView_pimpl.C (insertInset): adjust
7703
7704 2003-03-05  Angus Leeming  <leeming@lyx.org>
7705
7706         * commandtags.h:
7707         * LyXAction.C (init):
7708         * BufferView_pimpl.C (dispatch):
7709         * lyxfunc.C (getStatus):
7710         remove LFUN_CHILD_INSERT.
7711
7712         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7713
7714 2003-03-05  Angus Leeming  <leeming@lyx.org>
7715
7716         * commandtags.h:
7717         * LyXAction.C (init):
7718         * src/factory.C (createInset):
7719         * lyxfunc.C (getStatus):
7720         * text3.C (dispatch):
7721         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7722
7723         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7724
7725 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7726
7727         * ParagraphList.C (insert): handle insert right before end()
7728         (erase): fix cases where it can be first or last paragraph.
7729
7730 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7731
7732         * paragraph_funcs.C (TeXEnvironment): remove all usage of
7733         Paragraph::next and Paragraph::previous
7734         (TeXOnePar): ditto
7735
7736         * text.C (breakParagraph): adjust
7737
7738         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7739         BufferParams& as arg.
7740         (breakParagraph): use ParagraphList::insert
7741         (breakParagraphConservative): take a Buffer* instead of a
7742         BufferParams& as arg.
7743         (breakParagraphConservative): use ParagraphList::insert.
7744
7745         * buffer.C (insertStringAsLines): un-const it
7746         (insertStringAsLines): adjust
7747
7748         * ParagraphList.C (insert): new function
7749
7750         * CutAndPaste.C (pasteSelection): adjust
7751
7752         * text.C (backspace): adjust
7753
7754         * tabular.C (SetMultiColumn): adjust
7755
7756         * CutAndPaste.C (cutSelection): adjust
7757         (pasteSelection): adjust
7758
7759         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7760         Buffer const * as arg
7761
7762         * ParagraphList.C (erase): new function
7763         * paragraph_funcs.C (mergeParagraph): use it
7764         (mergeParagraph): make it take a Buffer* instead of a
7765         BufferParams* as arg
7766
7767         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7768         as arg
7769         (breakParagraphConservative): ditto
7770
7771         * paragraph.h: remove the breakParagraph friend
7772
7773         * paragraph.C (eraseIntern): new function
7774         (setChange): new function
7775
7776         * paragraph_funcs.C (mergeParagraph): make it take a
7777         ParagraphList::iterator instead of a Paragraph *, adjust
7778         accordingly.
7779
7780         * paragraph.h: move an #endif so that the change tracking stuff
7781         also works in the NO_NEXT case.
7782
7783 2003-03-04  Angus Leeming  <leeming@lyx.org>
7784
7785         * commandtags.h:
7786         * LyXAction.C: new LFUN_INSET_MODIFY.
7787
7788         * BufferView_pimpl.C (dispatch): if an inset is found to be open
7789         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7790
7791 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7792
7793         * several files: ws changes only
7794
7795         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7796         (TeXEnvironment): ditto
7797         (TeXDeeper): ditto
7798
7799         * buffer.C (makeLaTeXFile): adjust
7800         (latexParagraphs): make it take ParagraphList::iterator as args
7801
7802 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7803
7804         * buffer.C (latexParagraphs): adjust
7805
7806         * paragraph.C (TeXOnePar): move function...
7807         (optArgInset): move function...
7808         (TeXEnvironment): move function...
7809         * paragraph_pimpl.C (TeXDeeper): move function...
7810         * paragraph_funcs.C: ...here
7811
7812         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7813
7814 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7815
7816         * buffer.C (readInset): remove compability code for old Figure and
7817         InsetInfo insets
7818
7819 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7820
7821         * buffer.C: ws changes
7822         (readInset):
7823
7824         * BufferView_pimpl.C: ditto
7825         * author.C: ditto
7826         * buffer.h: ditto
7827         * bufferlist.h: ditto
7828         * changes.h: ditto
7829         * lyxfunc.C: ditto
7830
7831 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
7832
7833         * converter.[Ch]: split into itself +
7834         * graph.[Ch]
7835         * format.[Ch]
7836         * Makefile.am: += graph.[Ch] + format.[Ch]
7837         * MenuBackend.C
7838         * buffer.C
7839         * exporter.C
7840         * importer.C
7841         * lyx_main.C
7842         * lyxfunc.C
7843         * lyxrc.C: added #include "format.h"
7844
7845 2003-02-27  Angus Leeming  <leeming@lyx.org>
7846
7847         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7848           a label.
7849
7850         * factory.C (createInset): add "label" to the factory.
7851
7852         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7853           string and do no more.
7854
7855 2003-02-27  Angus Leeming  <leeming@lyx.org>
7856
7857         * commandtags.h:
7858         * LyXAction.C (init):
7859         * factory.C (createInset):
7860         * BufferView_pimpl.C (dispatch):
7861           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7862
7863         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7864
7865         * lyxfunc.C (dispatch):
7866         * text3.C (dispatch): pass name to params2string.
7867
7868 2003-02-26  Angus Leeming  <leeming@lyx.org>
7869
7870         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7871           blocks together.
7872           Rearrange the ~includes. Strip out the unnecessary ones.
7873
7874         * factory.C (createInset): reformat.
7875           create new insets for the various LFUN_XYZ_APPLY lfuns.
7876
7877 2003-02-26  John Levon  <levon@movementarian.org>
7878
7879         * lyxrow.h:
7880         * lyxrow.C: add isParStart,isParEnd helpers
7881
7882         * paragraph.h: make isInserted/DeletedText take refs
7883
7884         * paragraph_funcs.h:
7885         * paragraph_funcs.C: remove #if 0'd code
7886
7887         * lyxtext.h:
7888         * text3.C:
7889         * text2.C:
7890         * text.C: use lyxrow helpers above.
7891           Move draw and paint routines to RowPainter.
7892           Make several methods use refs not pointers.
7893           Make backgroundColor() const.
7894           Add markChangeInDraw(), isInInset().
7895           Merge changeRegionCase into changeCase.
7896           Make workWidth() shouldn't-happen code into an Assert.
7897
7898         * rowpainter.h:
7899         * rowpainter.C: new class for painting a row.
7900
7901         * vspace.h:
7902         * vspace.C: make inPixels take a ref
7903
7904 2003-02-26  Angus Leeming  <leeming@lyx.org>
7905
7906         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7907         LFUN_REF_APPLY.
7908
7909 2003-02-25  John Levon  <levon@movementarian.org>
7910
7911         * ispell.C: give the forked command a more accurate name
7912
7913 2003-02-22  John Levon  <levon@movementarian.org>
7914
7915         * toc.h:
7916         * toc.C: make TocItem store an id not a Paragraph *
7917           (bug #913)
7918
7919 2003-02-21  Angus Leeming  <leeming@lyx.org>
7920
7921         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7922           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7923           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7924           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7925           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7926           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7927
7928         * BufferView_pimpl.C (dispatch):
7929         * LyXAction.C (init):
7930         * factory.C (createInset):
7931         * lyxfunc.C (getStatus, dispatch):
7932         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7933
7934 2003-02-21  Angus Leeming  <leeming@lyx.org>
7935
7936         * BufferView_pimpl.C (MenuInsertLyXFile):
7937         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7938         * lyxfunc.C (menuNew, open, doImport):
7939           no longer pass a LyXView & to fileDlg.
7940
7941 2003-02-21  Angus Leeming  <leeming@lyx.org>
7942
7943         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7944         * LyXAction.C: change, BIBKEY to BIBITEM.
7945         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7946         Change InsetBibKey to InsetBibitem.
7947         Change BIBKEY_CODE to BIBITEM_CODE.
7948         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7949         * factory.C: replace insetbib.h with insetbibitem.h.
7950         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7951         * paragraph.C: replace insetbib.h with insetbibitem.h.
7952         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7953         Change bibkey() to bibitem().
7954         * text.C: remove insetbib.h.
7955         * text2.C: replace insetbib.h with insetbibitem.h.
7956         change bibkey() to bibitem().
7957         * text3.C: remove insetbib.h.
7958         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7959
7960 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7961
7962         * lyxrc.C (output): enclose user email in quotes (in case there are
7963         several words)
7964
7965 2003-02-18  John Levon  <levon@movementarian.org>
7966
7967         * buffer.h: add std::
7968
7969 2003-02-17  John Levon  <levon@movementarian.org>
7970
7971         * SpellBase.h:
7972         * ispell.h:
7973         * ispell.C:
7974         * pspell.h:
7975         * pspell.C: reworking. Especially in ispell, a large
7976           number of clean ups and bug fixes.
7977
7978         * lyxfunc.C: fix revert to behave sensibly
7979
7980 2003-02-17 André Pönitz <poenitz@gmx.net>
7981
7982         * LyXAction.C:
7983         * commandtags.h: new LFUN_INSERT_BIBKEY
7984
7985         * layout.h:
7986         * lyxlayout.C:
7987         * buffer.C:
7988         * factory.C:
7989         * text.C:
7990         * text2.C:
7991         * text3.C:
7992         * paragraph.[Ch]:
7993         * paragraph_func.C: remove special bibkey handling
7994
7995 2003-02-17  John Levon  <levon@movementarian.org>
7996
7997         * text.C (Delete): fix case where delete at the end of
7998           the very first paragraph would not merge the pars
7999
8000 2003-02-17  John Levon  <levon@movementarian.org>
8001
8002         * lyxrow.C: fix lastPrintablePos()
8003
8004 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8005
8006         * bufferparams.C (writeLaTeX): add a std:here
8007
8008         * buffer.C: and remove a using directive there
8009
8010 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8011
8012         * buffer.C (makeLaTeXFile): move the code that generates the
8013           preamble...
8014
8015         * bufferparams.C (writeLaTeX): ... in this new method
8016
8017         * LaTeXFeatures.C (getEncodingSet): make const
8018           (getLanguages): make const
8019
8020         * MenuBackend.C (binding): returns the binding associated to this
8021           action
8022           (add): sets the status of each item by calling getStatus. Adds
8023           some intelligence.
8024           (read): add support for OptSubMenu
8025           (expand): remove extra separator at the end of expanded menu
8026
8027 2003-02-15  John Levon  <levon@movementarian.org>
8028
8029         * BufferView.C:
8030         * BufferView_pimpl.C:
8031         * bufferlist.h:
8032         * bufferlist.C: remove pointless BufferStorage bloat. Remove
8033           inset code that had no actual effect. Remove unneeded status
8034           code.
8035
8036 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8037
8038         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8039           in preamble
8040
8041 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
8042
8043         * text.C (drawLengthMarker): also draw an arrow marker for
8044           symbolic lengths (medskip...)
8045
8046 2003-02-14  John Levon  <levon@movementarian.org>
8047
8048         * tabular.h:
8049         * tabular.C: better method names
8050
8051 2003-02-14  John Levon  <levon@movementarian.org>
8052
8053         * BufferView_pimpl.C:
8054         * bufferlist.C:
8055         * buffer.C:
8056         * converter.C:
8057         * lyx_cb.C:
8058         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8059           it's a more accurate name. Remove some pointless uses.
8060
8061 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8062
8063         * text2.C (LyXText): change order of initilizers to shut off
8064           warnings
8065
8066 2003-02-14  John Levon  <levon@movementarian.org>
8067
8068         * buffer.C: use ParIterator for getParFromID()
8069
8070         * paragraph.h:
8071         * paragraph.C:
8072         * paragraph_pimpl.h:
8073         * paragraph_pimpl.C: remove unused getParFromID()
8074
8075 2003-02-14  John Levon  <levon@movementarian.org>
8076
8077         * buffer.C: remove some very old #if 0'd parse code
8078
8079 2003-02-13  John Levon  <levon@movementarian.org>
8080
8081         * text.h:
8082         * text.C:
8083         * text2.C: move hfillExpansion(), numberOfSeparators(),
8084           rowLast(), rowLastPrintable(), numberofHfills(),
8085           numberOfLabelHfills() ...
8086
8087         * lyxrow.h:
8088         * lyxrow.C: ... to member functions here.
8089
8090         * paragraph.h:
8091         * paragraph.C:
8092         * lyxtext.h:
8093         * text.C: remove LyXText::beginningOfMainBody(), and call
8094           p->beginningOfMainBody() directly. Move the check for
8095           LABEL_MANUAL into the latter.
8096
8097         * text.h:
8098         * text.C:
8099         * text2.C:
8100         * vspace.C:
8101         * BufferView.h:
8102         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8103
8104         * text.h:
8105         * text.C:
8106         * text2.C:
8107         * text3.C:
8108         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8109           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8110
8111 2003-02-13  John Levon  <levon@movementarian.org>
8112
8113         * CutAndPaste.C: remove debug
8114
8115 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8116
8117         * paragraph.C (asString): remove two unused variables
8118
8119         * lyxtextclass.C (readTitleType):
8120           (Read):
8121           (LyXTextClass): handle new members titletype_ and titlename_
8122
8123         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8124
8125 2003-02-09  John Levon  <levon@movementarian.org>
8126
8127         * buffer.h:
8128         * buffer.C: replace hand-coded list with a map for the dep clean
8129
8130 2003-02-08  John Levon  <levon@movementarian.org>
8131
8132         * LaTeX.C: consolidate code into showRunMessage() helper
8133
8134 2003-02-08  John Levon  <levon@movementarian.org>
8135
8136         * lyxfind.C:
8137         * lyxtext.h:
8138         * text2.C:
8139         * BufferView.C: change setSelectionOverString() to setSelectionRange()
8140           and pass the size in explicitly
8141
8142         * BufferView_pimpl.h:
8143         * BufferView_pimpl.C:
8144         * BufferView.h:
8145         * BufferView.C: add getCurrentChange()
8146
8147         * BufferView_pimpl.h:
8148         * BufferView_pimpl.C: handle change lfuns
8149
8150         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8151           for changes. Mark pasted paragraphs as new.
8152
8153         * support/lyxtime.h:
8154         * support/lyxtime.C:
8155         * DepTable.C: abstract time_t as lyx::time_type
8156
8157         * LColor.h:
8158         * LColor.C: add colours for new text, deleted text, changebars
8159
8160         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8161           package use "usenames" option.
8162
8163         * commandtags.h:
8164         * lyxfunc.C:
8165         * LyXAction.C: add change lfuns
8166
8167         * Makefile.am:
8168         * author.h:
8169         * author.C: author handling
8170
8171         * buffer.h:
8172         * buffer.C: add a per-buffer author list, with first entry as
8173           current author. Handle new .lyx tokens for change tracking. Output
8174           author list to .lyx file. Output dvipost stuff to .tex preamble.
8175           Bump lyx format to 222.
8176
8177         * bufferlist.h:
8178         * bufferlist.C: add setCurrentAuthor() to reset current author details
8179           in all buffers.
8180
8181         * bufferparams.h:
8182         * bufferparams.C: add param for tracking
8183
8184         * bufferview_funcs.C: output change info in minibuffer
8185
8186         * Makefile.am:
8187         * changes.h:
8188         * changes.C: add change-tracking structure
8189
8190         * debug.h:
8191         * debug.C: add CHANGES debug flag
8192
8193         * lyxfind.h:
8194         * lyxfind.C: add code for finding the next change piece
8195
8196         * lyxrc.h:
8197         * lyxrc.C: add user_name and user_email
8198
8199         * lyxrow.h:
8200         * lyxrow.C: add a metric for the top of the text line
8201
8202         * lyxtext.h:
8203         * text.C: implement accept/rejectChange()
8204
8205         * lyxtext.h:
8206         * text.C: paint changebars. Paint new/deleted text in the chosen
8207         colours. Strike through deleted text.
8208
8209         * paragraph.h:
8210         * paragraph.C:
8211         * paragraph_pimpl.h:
8212         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8213           in the current change to the insert functions. Rework erase to
8214           mark text as deleted, adding an eraseIntern() and a range-based
8215           erase(). Implement per-paragraph change lookup and
8216           accept/reject.
8217
8218         * paragraph_funcs.C: Fixup paste for change tracking.
8219
8220         * tabular.C: mark added row/columns as new.
8221
8222         * text.C: fix rowLast() to never return -1. Don't allow
8223           spellchecking of deleted text. Track transpose changes. Don't
8224           allow paragraph break or merge where appropriate.
8225
8226         * text2.C: leave cursor at end of selection after a cut.
8227
8228 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8229
8230         * text.C (getLengthMarkerHeight):
8231         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8232         visible on screen too.
8233
8234 2003-02-07  John Levon  <levon@movementarian.org>
8235
8236         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8237
8238 2003-02-05  Angus Leeming  <leeming@lyx.org>
8239
8240         * lyxserver.C (read_ready): revert my patch of 11 September last year
8241         as it sends PC cpu through the roof. Presumably this means that
8242         the lyxserver will no longer run on an Alpha...
8243
8244 2003-01-30  Angus Leeming  <leeming@lyx.org>
8245
8246         * factory.C (createInset): create an InsetCommandParam of type "index"
8247         and use it to 'do the right thing'.
8248
8249         * text2.C (getStringToIndex): ensure that cursor position is always
8250         reset to the reset_cursor position.
8251
8252 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8253
8254         * lyxfunc.C (getStatus): "buffer-export custom" should never be
8255         disabled.
8256
8257 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
8258
8259         * bufferview.C:
8260         * lyxcb.C:
8261         * lyxfunc.C: Output messages with identical spelling, punctuation,
8262         and spaces
8263
8264 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
8265
8266         * MenuBackend.C (expandFormats): List only viewable export formats
8267         in "View" menu
8268
8269         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8270         message
8271
8272         * lyxfunc.C (getStatus): Make sure that formats other than
8273         "fax" can also be disabled
8274
8275 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8276
8277         * text3.C (dispatch): put the lfuns that insert insets in 3
8278         groups, and call doInsertInset with appropriate arguments.
8279         (doInsertInset): new function, that creates an inset and inserts
8280         it according to some boolean parameters.
8281
8282 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8283
8284         * buffer.C (readFile): remember to pass on 'par' when calling
8285         readFile recursively.
8286
8287 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8288
8289         * MenuBackend.C (expandFormats): add "..." to import formats.
8290
8291 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
8292
8293         * paragraph.C (asString): Remove XForms RTL hacks.
8294
8295 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
8296         * buffer.C: fix typo
8297
8298 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8299
8300         * Makefile.am (LIBS): delete var
8301         (lyx_LDADD): add @LIBS@ here instead.
8302
8303 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
8304
8305         * Clarify the meaning of "wheel mouse jump"
8306
8307 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8308
8309         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8310         tabular in a float
8311
8312 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8313
8314         * importer.C (Loaders): do not preallocate 3 elements in the
8315         vector, since one ends up with 6 elements otherwise
8316
8317 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8318
8319         * DepTable.C (write): write the file name as last element of the
8320         .dep file (because it may contain spaces)
8321         (read): read info in the right order
8322
8323 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8324
8325         * paragraph_pimpl.C (simpleTeXBlanks):
8326         (simpleTeXSpecialChars):
8327         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8328
8329         * tabular.C (latex): add some missing case statements. Reindent.
8330
8331         * MenuBackend.C (expandToc): remove unused variable.
8332
8333 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
8334
8335         * LColor.C:
8336         * LaTeX.C:
8337         * LyXAction.C:
8338         * MenuBackend.C:
8339         * buffer.C:
8340         * exporter.C:
8341         * lyxfunc.C:
8342         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8343         and the like.
8344
8345 2003-01-05  John Levon  <levon@movementarian.org>
8346
8347         * BufferView.h:
8348         * BufferView.C: add getEncoding()
8349
8350         * kbsequence.h:
8351         * kbsequence.C: do not store last keypress
8352
8353         * lyxfunc.h:
8354         * lyxfunc.C: store last keypress here instead. Pass encoding
8355           to getISOEncoded()
8356
8357 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8358
8359         * lyx_main.C (init): remove annoying error message when following
8360         symbolic links (bug #780)
8361
8362 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8363
8364         * text.C (insertChar):
8365         * lyxrc.C (getDescription): remove extra spaces
8366
8367 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8368
8369         * lyxrc.C (getDescription): remove extra spaces
8370
8371 2002-12-20  John Levon  <levon@movementarian.org>
8372
8373         * text3.C: hack fix for page up/down across tall rows
8374
8375 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8376
8377         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8378         not been invoked
8379
8380 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8381
8382         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8383         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8384         thesaurus is not compiled in
8385
8386 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
8387
8388         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
8389
8390 2002-12-16  Angus Leeming  <leeming@lyx.org>
8391
8392         * lyxrc.[Ch]:
8393         * lyx_main.C (init): remove override_x_deadkeys stuff.
8394
8395 2002-12-12  John Levon  <levon@movementarian.org>
8396
8397         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8398           insert. Only remove shift modifier under strict
8399           circumstances.
8400
8401 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8402
8403         * MenuBackend.C (expandToc): fix crash.
8404
8405 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8406
8407         * MenuBackend.C (expandToc): gettext on float names.
8408
8409 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
8410
8411         * lyxlength.[Ch]: set default unit to UNIT_NONE,
8412         implement bool empty() [bug 490]
8413
8414 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8415
8416         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8417
8418 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8419
8420         * several files: ws changes
8421
8422 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8423
8424         * text2.C (setCounter): clean up a bit, use boost.format.
8425         (updateCounters): initialize par upon declaration.
8426
8427         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8428         if the layout exists. We do not just store the layout any more.
8429         (SwitchLayoutsBetweenClasses): use boost.format
8430
8431 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8432
8433         * converter.C (convert): if from and to files are the same, use a
8434         temporary files as intermediary
8435
8436 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8437
8438         * commandtags.h:
8439         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8440
8441 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
8442
8443         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8444
8445 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8446
8447         * tabular.C (asciiPrintCell): use string(size, char) instead of
8448         explicit loop.
8449
8450         * sgml.C (openTag): fix order of arguments to string constructor
8451         (closeTag): ditto
8452
8453         * lyxfunc.C (dispatch): use boost.format
8454
8455         * lots of files: change "c" -> 'c'
8456
8457 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
8458
8459         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8460
8461 2002-11-25  Angus Leeming  <leeming@lyx.org>
8462
8463         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8464
8465         * lyx_main.C (init): compile fix.
8466
8467 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8468
8469         * lyx_cb.C (start): boost.formatify
8470         do not include <iostream>
8471
8472         * lengthcommon.C: ws only
8473
8474         * boost-inst.C,BoostFormat.h: add more explict instantations
8475
8476 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8477
8478         * lots of files: handle USE_BOOST_FORMAT
8479
8480 2002-11-21  John Levon  <levon@movementarian.org>
8481
8482         * pspell.C: fix compile
8483
8484 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8485
8486         * lyxfunc.C (dispatch): use boost::format
8487         (open): ditto
8488         (doImport): ditto
8489
8490         * lyxfont.C (stateText): use boost::format
8491
8492         * lyx_main.C (LyX): use boost::format
8493         (init): ditto
8494         (queryUserLyXDir): ditto
8495         (readRcFile): ditto
8496         (parse_dbg): ditto
8497         (typedef boost::function): use the recommened syntax.
8498
8499         * importer.C (Import): use boost::format
8500
8501         * debug.C (showLevel): use boost::format
8502
8503         * converter.C (view): use boost::format
8504         (convert): ditto
8505         (move): ditto
8506         (scanLog): ditto
8507
8508         * bufferview_funcs.C (currentState): use boost::format
8509
8510         * bufferlist.C (emergencyWrite): use boost::format
8511
8512         * buffer.C (readLyXformat2): use boost::format
8513         (parseSingleLyXformat2Token): ditto
8514
8515         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8516
8517         * LaTeX.C (run): use boost::format
8518
8519         * Chktex.C (scanLogFile): use boost::format
8520
8521         * BufferView_pimpl.C (savePosition): use boost::format
8522         (restorePosition): ditto
8523         (MenuInsertLyXFile): ditto
8524
8525         * BoostFormat.h: help file for explicit instation.
8526
8527 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
8528
8529         * tabular.C (latex): Support for block alignment in fixed width
8530         columns.
8531
8532 2002-11-17  John Levon  <levon@movementarian.org>
8533
8534         * BufferView_pimpl.C:
8535         * lyx_cb.C:
8536         * lyxfunc.C: split filedialog into open/save
8537
8538 2002-11-08  Juergen Vigna  <jug@sad.it>
8539
8540         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8541         by my last patch (hopefully).
8542
8543 2002-11-08  John Levon  <levon@movementarian.org>
8544
8545         * iterators.h:
8546         * iterators.C:
8547         * buffer.h:
8548         * buffer.C:
8549         * paragraph.h:
8550         * paragraph.C:
8551         * toc.h:
8552         * toc.C: ParConstIterator, and use it (from Lars)
8553
8554 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
8555
8556         * lyxtextclass.[Ch]: revise and add doxygen comments
8557
8558 2002-11-07  John Levon  <levon@movementarian.org>
8559
8560         * text.C: fix progress value for spellchecker
8561
8562         * toc.C: fix navigate menu for insetwrap inside minipage
8563
8564         * paragraph_funcs.C: added FIXME for suspect code
8565
8566 2002-11-07  John Levon  <levon@movementarian.org>
8567
8568         * BufferView_pimpl.C: fix redrawing of insets
8569           on buffer switch
8570
8571 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8572
8573         * text2.C (updateCounters): fix bug 668
8574
8575 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
8576
8577         * text3.C (dispatch): Do not make the buffer dirty when moving the
8578         cursor.
8579
8580 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8581
8582         * vc-backend.C: STRCONV
8583         (scanMaster): ditto
8584
8585         * text2.C (setCounter): STRCONV
8586
8587         * paragraph.C (asString): STRCONV
8588
8589         * lyxlength.C (asString): STRCONV
8590         (asLatexString): ditto
8591
8592         * lyxgluelength.C (asString): STRCONV
8593         (asLatexString): ditto
8594
8595         * lyxfunc.C (dispatch): STRCONV
8596         (open): ditto
8597
8598         * lyxfont.C (stateText): STRCONV
8599
8600         * importer.C (Import): STRCONV
8601
8602         * counters.C (labelItem): STRCONV
8603         (numberLabel): ditto
8604         (numberLabel): remove unused ostringstream o
8605
8606         * chset.C: STRCONV
8607         (loadFile): ditto
8608
8609         * bufferview_funcs.C (currentState): STRCONV
8610
8611         * buffer.C (readFile): STRCONV
8612         (asciiParagraph): ditto
8613         (makeLaTeXFile): ditto
8614
8615         * Spacing.C (writeEnvirBegin): STRCONV
8616
8617         * LaTeXFeatures.C (getLanguages): STRCONV
8618         (getPackages): ditto
8619         (getMacros): ditto
8620         (getBabelOptions): ditto
8621         (getTClassPreamble): ditto
8622         (getLyXSGMLEntities): ditto
8623         (getIncludedFiles): ditto
8624
8625         * LaTeX.C: STRCONV
8626         (run): ditto
8627         (scanAuxFile): ditto
8628         (deplog): ditto
8629
8630         * LString.h: add the STRCONV macros
8631
8632         * BufferView_pimpl.C (savePosition): STRCONV
8633         (restorePosition): ditto
8634         (MenuInsertLyXFile): ditto
8635
8636         * vc-backend.C (scanMaster): change from submatch[...] to
8637         submatch.str(...)
8638
8639         * funcrequest.C: include config.h
8640
8641         * factory.C: include config.h
8642
8643         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8644
8645         * box.C: include config.h
8646
8647         * LaTeX.C (scanAuxFile): change from submatch[...] to
8648         submatch.str(...)
8649         (deplog): ditto
8650
8651 2002-10-25  Angus Leeming  <leeming@lyx.org>
8652
8653         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8654
8655         * ispell.[Ch] (setError): new method.
8656         * ispell.C (c-tor): move out child process into new class LaunchIspell.
8657         Use setError() insetead of goto END.
8658
8659         * lyx_cb.C (AutoSave): move out child process into new class
8660         AutoSaveBuffer.
8661
8662 2002-10-30  John Levon  <levon@movementarian.org>
8663
8664         * text3.C: make start appendix undoable
8665
8666 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
8667
8668         * lyxlength.C (inPixels): Fix returned value.
8669
8670         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8671         environment.
8672
8673 2002-10-24  Angus Leeming  <leeming@lyx.org>
8674
8675         * lyxgluelength.h: no need to forward declare BufferParams
8676         or BufferView, so don't.
8677
8678 2002-10-21  John Levon  <levon@movementarian.org>
8679
8680         * BufferView.C: menuUndo ->undo, redo
8681
8682         * BufferView.h: document, remove dead, make some methods private
8683
8684         * paragraph_funcs.h:
8685         * paragraph_funcs.C:
8686         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8687
8688         * buffer.h:
8689         * buffer.C:
8690         * sgml.h:
8691         * sgml.C: move sgml open/close tag into sgml.C
8692
8693         * bufferview_funcs.h: unused prototype
8694
8695         * lyxfunc.h:
8696         * lyxfunc.C: remove unused
8697
8698         * lyxtext.h:
8699         * text.C: remove unused
8700
8701 2002-10-21  John Levon  <levon@movementarian.org>
8702
8703         * BufferView.h:
8704         * BufferView.C:
8705         * BufferView_pimpl.h:
8706         * BufferView_pimpl.C: fix mouse wheel handling based on
8707           patch from Darren Freeman
8708
8709 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
8710
8711         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8712
8713 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
8714
8715         * lyxlength.C (inPixels): Fix hanfling of negative length.
8716         Fix LyXLength::MU case.
8717
8718 2002-10-16  John Levon  <levon@movementarian.org>
8719
8720         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8721
8722 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8723
8724         * converter.C (view): add support for $$i (file name) and $$p
8725         (file path) for the viewer command. If $$i is not specified, then
8726         it is appended to the command (for compatibility with old syntax)
8727
8728 2002-10-14  Juergen Vigna  <jug@sad.it>
8729
8730         * undo_funcs.C (textHandleUndo): alter the order in which the
8731         new undopar is added to the LyXText, as we have to set first
8732         the right prev/next and then add it as otherwise the rebuild of
8733         LyXText is not correct. Also reset the cursor to the right paragraph,
8734         with this IMO we could remove the hack in "redoParagraphs()".
8735
8736 2002-10-09  Angus Leeming  <leeming@lyx.org>
8737
8738         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8739         to turn off an optimisation if a new inset is to be inserted.
8740
8741 2002-10-11 André Pönitz <poenitz@gmx.net>
8742
8743         * lyxtext.h: make some functions public to allow access
8744         from inset/lyxtext for handling LFUN_PRIOR/NEXT
8745
8746 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8747
8748         * text3.C (dispatch): when changing layout, avoid an infinite loop
8749         [bug #652]
8750
8751 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8752
8753         * lyxrc.C (read): treat a viewer or converter command of "none" as
8754         if it were empty.
8755
8756         * MenuBackend.C (expandFormats): for an update, also allow the
8757         formats that are not viewable
8758
8759         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8760         script if it is newer than the lyxrc.defaults in user directory
8761
8762 2002-10-07 André Pönitz <poenitz@gmx.net>
8763
8764         * text.C: Vitaly Lipatov's small i18n fix
8765
8766 2002-09-25  Angus Leeming  <leeming@lyx.org>
8767
8768         * ispell.h: doxygen fix.
8769
8770 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
8771
8772         * buffer.h (readFile): Add a new argument to the method, to allow
8773         reading of old-format templates.
8774
8775 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
8776
8777         * toc.C (getTocList): Get TOC from InsetWrap.
8778
8779 2002-09-16  John Levon  <levon@movementarian.org>
8780
8781         * lyxfunc.C: check tabular for cut/copy too
8782
8783 2002-09-12  John Levon  <levon@movementarian.org>
8784
8785         * LyXAction.C: tidy
8786
8787         * factory.h:
8788         * factory.C: add header
8789
8790         * paragraph_funcs.h:
8791         * paragraph_funcs.C: cleanup
8792
8793 2002-09-11  John Levon  <levon@movementarian.org>
8794
8795         * PrinterParams.h: odd/even default to true
8796
8797 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
8798
8799         * PrinterParams.h: update printer parameters for new xforms dialog
8800
8801 2002-09-11  Angus Leeming  <leeming@lyx.org>
8802
8803         * lyxserver.C (read_ready): re-write to make it more transparent
8804         and to make it work in coherent fashion under Tru64 Unix.
8805
8806 2002-09-11  André Pönitz <poenitz@gmx.net>
8807
8808         * commandtags.h:
8809         * LyXAction.C:
8810         * text3.C: implement LFUN_WORDSEL
8811
8812 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8813
8814         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8815         make floatlist_ a boost::shared_ptr<FloatList>
8816
8817         * lyxtextclass.C: include FloatList.h
8818         (LyXTextClass): initialize floatlist_
8819         (TextClassTags): add TC_NOFLOAT
8820         (Read): match "nofloat" to TC_NOFLOAT and use it.
8821         (readFloat): modify call to floatlist_
8822         (floats): ditto
8823         (floats): ditto
8824
8825         * FloatList.[Ch] (FloatList): remove commented out float
8826         initialization.
8827         (erase): new function
8828
8829 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8830
8831         * MenuBackend.C (expandToc): fix crash when there is no document
8832         open
8833
8834 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
8835
8836         * many files: Add insetwrap.
8837
8838 2002-09-09  John Levon  <levon@movementarian.org>
8839
8840         * text2.C: remove confusing and awkward depth wraparound
8841
8842 2002-09-09  John Levon  <levon@movementarian.org>
8843
8844         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8845
8846         * buffer.h:
8847         * buffer.C: remove getIncludeonlyList()
8848
8849         * paragraph.C:
8850         * lyxfunc.C: remove headers
8851
8852 2002-09-09  Juergen Vigna  <jug@sad.it>
8853
8854         * text.C (getColumnNearX): fix form Michael this is most
8855         probably a cut&paste bug.
8856
8857 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8858
8859         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8860
8861         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8862         references, ws changes.
8863
8864         * text2.C (init): update counters after init
8865         (insertParagraph): no need to set counter on idividual paragraphs.
8866         (setCounter): access the counters object in the textclass object
8867         on in the buffer object.
8868         (updateCounters): ditto
8869
8870         * lyxtextclass.C: include counters.h, add variable ctrs_ as
8871         shared_ptr<Counters> to avoid loading counters.h in all
8872         compilation units.
8873         (LyXTextClass): initialize ctrs_
8874         (TextClassTags): add TC_COUNTER, and ...
8875         (Read): use it here.
8876         (CounterTags): new tags
8877         (readCounter): new function
8878         (counters): new funtion
8879         (defaultLayoutName): return a const reference
8880
8881         * counters.C (Counters): remove contructor
8882         (newCounter): remove a couple of unneeded statements.
8883         (newCounter): simplify a bit.
8884         (numberLabel): some small formatting changes.
8885
8886         * buffer.[Ch]: remove all traces of counters, move the Counters
8887         object to the LyXTextClass.
8888
8889 2002-09-06  Alain Castera  <castera@in2p3.fr>
8890
8891         * tabular.C: uses \tabularnewline; uses >{...} construct from array
8892         package to set the horizontal alignment on fixed width columns.
8893
8894         * lyx_sty.C:
8895         * lyx_sty.h: added tabularnewline macro def.
8896
8897         * LaTeXFeatures.C: added NeedTabularnewline macro feature
8898
8899 2002-09-06  John Levon  <levon@movementarian.org>
8900
8901         * LyXAction.C: tooltips for sub/superscript
8902
8903         * MenuBackend.C: a bit more verbose
8904
8905         * lyxfunc.C: tiny clean
8906
8907         * undo_funcs.C: document undo_frozen
8908
8909 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8910
8911         * counters.C (Counters): add missing algorithm counter.
8912
8913         * text2.C (setCounter): lookup the counter with layouts latexname
8914         instead of by section number.
8915         (setCounter): use a hackish way to lookup the correct enum
8916         counter.
8917         a float name->type change
8918         reset enum couners with counter name directly instead of depth value.
8919
8920         * counters.C (Counters): remove the push_backs, change to use the
8921         float type not the float name.
8922         (labelItem): remove unused string, float name->type change
8923
8924         * counters.h: don't include vector, loose the enums and sects vectors
8925
8926 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8927
8928         * lyxtextclass.C (TextClassTags): add TC_FLOAT
8929         (Read): add float->TC_FLOAT to textclassTags
8930         (Read): and handle it in the switch
8931         (readFloat): new function
8932
8933         * FloatList.C (FloatList): comment out the hardcoded float
8934         definitions.
8935
8936         * lyxlayout.h: ws change.
8937
8938 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
8939
8940         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8941
8942 2002-09-03  Angus Leeming  <leeming@lyx.org>
8943
8944         * BufferView_pimpl.h: qualified name is not allowed in member
8945         declaration: WorkArea & Pimpl::workarea() const;
8946
8947         * factory.C: added using std::endl directive.
8948
8949         * text3.C: added using std::find and std::vector directives.
8950
8951 2002-08-29  André Pönitz <poenitz@gmx.net>
8952
8953         * lyxtext.h:
8954         * text2.C: remove unused member number_of_rows
8955
8956         * Makefile.am:
8957         * BufferView2.C: remove file, move contents to...
8958         * BufferView.C: ... here
8959
8960         * BufferView_pimpl.C:
8961         * factory.C: move more inset creation to factory
8962
8963         * vspace.C: avoid direct usage of LyXText, ws changes
8964
8965         * BufferView.[Ch]:
8966                 don't provide direct access to WorkArea, use two simple
8967                 acessors haveSelction() and workHeight() instead
8968
8969
8970 2002-08-29  John Levon  <levon@movementarian.org>
8971
8972         * BufferView_pimpl.C (dispatch): do not continue when
8973           no buffer
8974
8975 2002-08-28  André Pönitz <poenitz@gmx.net>
8976
8977         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8978
8979         * BufferView.h:
8980         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8981
8982 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
8983
8984         * buffer.C: increment LYX_FORMAT to 221
8985
8986         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8987         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8988
8989         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8990
8991         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8992
8993 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8994
8995         * factory.C (createInset): use LyXTextClass::floats
8996
8997         * MenuBackend.C (expandFloatListInsert):
8998         (expandFloatInsert):
8999         (expandToc):
9000
9001         * text2.C (setCounter):
9002
9003         * LaTeXFeatures.C (useFloat):
9004         (getFloatDefinitions):
9005
9006         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9007
9008         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9009         floatlist_, with accessor floats().
9010
9011         * FloatList.h: remove global FloatList
9012
9013 2002-08-26  André Pönitz <poenitz@gmx.net>
9014
9015         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9016
9017         * BufferView.h:
9018         * BufferView2.C:
9019         * BufferView_pimpl.C:
9020         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9021
9022 2002-08-25  John Levon  <levon@movementarian.org>
9023
9024         * LyXAction.C: fix margin note description
9025
9026 2002-08-24  John Levon  <levon@movementarian.org>
9027
9028         * buffer.C:
9029         * bufferlist.C:
9030         * bufferview_funcs.C:
9031         * lyxfont.C:
9032         * undo_funcs.C: cleanups
9033
9034         * lyxfunc.C: disable CUT/COPY when no selection
9035
9036 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
9037
9038         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9039         in "enum UNIT"; e.g. PTW for Percent of TextWidth
9040
9041         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9042         Add backward compatibility to "mono", "gray" and "no".
9043
9044 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
9045
9046         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9047         (and file_format >= 200).
9048
9049 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9050
9051         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9052
9053 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9054
9055         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9056
9057 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
9058
9059         * BufferView_pimpl.C:
9060         * LyXAction.C:
9061         * buffer.C:
9062         * commandtags.h:
9063         * lyxfunc.C:
9064         * paragraph.[Ch]:
9065         * text2.C:
9066         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9067         inset and code to make it  work with the paragraph code. The inset
9068         can be anywhere in the paragraph, but will only do the expected
9069         thing in LaTeX if the layout file contains the parameter line
9070                         OptionalArgs    1
9071         (or more generally, a nonzero value) for that layout.
9072
9073 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
9074
9075         * paragraph.h: remove the declaration of undefined counters class
9076         function.
9077
9078 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
9079
9080         * text2.C (setCounter):  fixed enumeration mis-count as reported by
9081         Dr. Richard Hawkins.
9082
9083 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9084
9085         * paragraph_funcs.h: remove some unneeded includes
9086
9087         * text.C (backspace): pasteParagraph now in global scipe
9088
9089         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9090         (pasteSelection): ditto
9091
9092         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9093         * paragraph_funcs.C (pasteParagraph): ... here
9094
9095 2002-08-20  André Pönitz <poenitz@gmx.net>
9096
9097         * commandtags.h: new LFUNs for swapping/copying table row/colums
9098
9099         * LyXAction.C:
9100         * lyxfunc.C: support for new lfuns
9101
9102 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
9103
9104         * tabular.C:
9105         * buffer.[Ch]: remove NO_COMPABILITY stuff
9106
9107 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
9108
9109         * boost.C (throw_exception): new file, with helper function for
9110         boost compiled without exceptions.
9111
9112         * paragraph.h:
9113         * lyxlength.C:
9114         * buffer.C:
9115         * ParameterStruct.h:
9116         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9117
9118         * bufferlist.C (emergencyWriteAll): use boost bind
9119
9120         * BufferView_pimpl.C (moveCursorUpdate): remove inline
9121
9122         * text.C: include paragraph_funcs.h
9123         (breakParagraph): breakParagraph is now in global scope
9124
9125         * paragraph_funcs.[Ch]: new files
9126
9127         * paragraph.C (breakParagraph,breakParagraphConservative): move to
9128         global scope
9129
9130         * buffer.C: include paragraph_funcs.h
9131         (insertStringAsLines): breakParagraph is now in global scope
9132
9133         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9134         paragraph_funcs.C
9135
9136         * CutAndPaste.C: include paragraph_funcs.h
9137         (cutSelection): breakParagraphConservative is now in global scope
9138         (pasteSelection): ditto
9139
9140         * buffer.h: declare oprator== and operator!= for
9141         Buffer::inset_iterator
9142
9143         * bufferlist.C (emergencyWrite): don't use fmt(...)
9144
9145         * text3.C: add using std::endl
9146
9147         * BufferView.C (moveCursorUpdate): remove default arg
9148
9149 2002-08-20  André Pönitz <poenitz@gmx.net>
9150
9151         * buffer.[Ch]: move inline functions to .C
9152
9153         * BufferView2.C:
9154         * BufferView_pimpl.C:
9155         * text.C:
9156         * buffer.[Ch]: use improved inset_iterator
9157
9158         * buffer.C:
9159         * paragraph.[Ch]: write one paragraph at a time
9160
9161 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
9162
9163         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9164         style if style is not specified.
9165
9166 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9167
9168         * text2.C (setCounter): when searching for right label for a
9169         caption, make sure to recurse to parent insets (so that a caption
9170         in a minipage in a figure float works) (bug #568)
9171
9172 2002-08-20  André Pönitz <poenitz@gmx.net>
9173
9174         * text3.C: new file for LyXText::dispatch() and helpers
9175
9176         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9177
9178         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9179
9180 2002-08-19  André Pönitz <poenitz@gmx.net>
9181
9182         * lyxtext.h:
9183         * text.C: new LyXText::dispatch()
9184
9185         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9186
9187 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
9188
9189         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9190
9191         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9192         Hebrew text.
9193
9194 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9195
9196         * Makefile.am: use $(variables) instead of @substitutions@
9197
9198 2002-08-15  André Pönitz <poenitz@gmx.net>
9199
9200         * lyxfunc.C:
9201         * BufferView_pimpl.C: streamlining mathed <-> outer world
9202         interaction
9203
9204         * commandtags.h:
9205         * LyXAction.C: remove unused LFUN_MATH
9206
9207 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9208
9209         * paragraph.[Ch]: add some NO_NEXT ifdefs.
9210
9211 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9212
9213         * paragraph.C (Paragraph): reformat a bit
9214         (cutIntoMinibuffer): use builtin InsetList function instad of
9215         doing it manually.
9216         (getInset): ditto
9217
9218         * buffer.C: include boost/bind.hpp, add using std::for_each
9219         (writeFileAscii): use ParagraphList iterators
9220         (validate): use for_each for validate traversal of paragraphs
9221         (getBibkeyList): use ParagraphList iterators
9222         (resizeInsets): use for_each to resizeInsetsLyXText for all
9223         paragraphs.
9224         (getParFromID): use ParagraphList iterators
9225
9226         * BufferView2.C (lockInset): use paragraph list and iterators
9227
9228 2002-08-14  John Levon  <levon@movementarian.org>
9229
9230         * lyxserver.C: remove spurious xforms include
9231
9232 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9233
9234         * lyxfunc.C (getStatus): disable math-extern outside of math mode
9235
9236 2002-08-13  André Pönitz <poenitz@gmx.net>
9237
9238         * LyXAction.[Ch]:
9239         * lyxfunc.C: further cleaning
9240
9241 2002-08-13  André Pönitz <poenitz@gmx.net>
9242
9243         * funcrequest.h: new constructor
9244
9245         * funcrequest.C: move stuff here from .h
9246
9247         * Makefile.am:
9248         * BufferView_pimpl.C:
9249         * LyXAction.C:
9250         * toc.C:
9251         * lyxfunc.C: subsequent changes
9252
9253         * lyxfunc.h: new view() member function
9254
9255         * lyxfunc.C: subsequent changes
9256
9257 2002-08-13  Angus Leeming  <leeming@lyx.org>
9258
9259         * BufferView2.C:
9260         * BufferView_pimpl.C:
9261         * buffer.C:
9262         * converter.C:
9263         * importer.C:
9264         * lyxfunc.C:
9265         * lyxvc.C:
9266         * toc.C:
9267         * vc-backend.C:
9268         changes due to the changed LyXView interface that now returns references
9269         to member variables not pointers.
9270
9271 2002-08-13  Angus Leeming  <leeming@lyx.org>
9272
9273         * WordLangTuple (word, lang_code): return references to strings,
9274         not strings.
9275
9276         * BufferView.h:
9277         * SpellBase.h:
9278         * lyxtext.h: forward-declare WordLangTuple.
9279
9280         * BufferView2.C:
9281         * ispell.C:
9282         * pspell.C:
9283         * text.C: #include "WordLangTuple.h".
9284
9285         * lyxtext.h:
9286         * text.C: (selectNextWordToSpellcheck): constify return type.
9287
9288 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
9289
9290         * buffer.C:
9291         * buffer.h:
9292         * lyxtext.h:
9293         * paragraph.C:
9294         * paragraph_pimpl.h:
9295         * text.C:
9296         * text2.C:
9297         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9298         suggested by Angus.
9299         Made updateCounter always count from start of buffer, and removed
9300         second argument (par).
9301         Reverted floats number display to '#'. Perhaps I'll try again when the
9302         code base is sanitized a bit.
9303
9304 2002-08-12  Angus Leeming  <leeming@lyx.org>
9305
9306         * buffer.[Ch] (getLabelList): constify.
9307
9308 2002-08-07  André Pönitz <poenitz@gmx.net>
9309
9310         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9311
9312         * funcrequest.h: extension to keep mouse (x,y) position
9313
9314 2002-08-12  Juergen Vigna  <jug@sad.it>
9315
9316         * BufferView2.C (insertErrors): forbid undo when inserting error
9317         insets.
9318
9319         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9320
9321 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9322
9323         * ParagraphList.[Ch]: new files
9324
9325         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9326
9327         * BufferView2.C (lockInset): ParagraphList changes
9328         * toc.C: ditto
9329         * text2.C: ditto
9330         * bufferlist.C: ditto
9331         * buffer.h: ditto
9332         * buffer.C: ditto
9333
9334 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9335
9336         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9337         unused class variable counter_,
9338
9339         * paragraph.[Ch] (getFirstCounter): delete unused function
9340
9341         * counters.C: include LAssert.h
9342         (reset): add a new function with no arg, change other version to
9343         not have def. arg and to not allow empty arg.
9344
9345         * text2.C (setCounter): remove empty arg from call to Counters::reset
9346
9347 2002-08-11  John Levon  <levon@movementarian.org>
9348
9349         * Makefile.am: add WordLangTuple.h
9350
9351 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9352
9353         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9354         lyxfunc.C lyxlex_pimpl.C: ws changes only.
9355
9356         * insets/insettext.C: InsetList changes
9357
9358         * graphics/GraphicsSupport.C (operator()): InsetList changes
9359
9360         * toc.C (getTocList): InsetList changes
9361
9362         * paragraph_pimpl.[Ch]: InsetList changes
9363
9364         * paragraph.[Ch]: InsetList changes
9365
9366         * buffer.C (inset_iterator): InsetList changes
9367         (setParagraph): ditto
9368         * buffer.h (inset_iterator): ditto
9369         * iterators.C (operator++): ditto
9370         * iterators.h: ditto
9371
9372         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9373
9374         * InsetList.[Ch]: new files, most InsetList handling moved out of
9375         paragraph.C.
9376
9377         * BufferView2.C (removeAutoInsets): InsetList changes
9378         (lockInset): ditto
9379         (ChangeInsets): ditto
9380
9381 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
9382
9383         * paragraph_pimpl.h (empty): new function
9384
9385         * paragraph.[Ch] (empty): new function
9386
9387         * other files: use the new Paragraph::empty function
9388
9389 2002-08-09  John Levon  <levon@movementarian.org>
9390
9391         * lyxtext.h: remove unused refresh_height
9392
9393 2002-08-09  John Levon  <levon@movementarian.org>
9394
9395         * Makefile.am:
9396         * sgml.h:
9397         * sgml.C:
9398         * buffer.C:
9399         * paragraph.h:
9400         * paragraph.C: move sgml char escaping out of paragraph
9401
9402         * paragraph.h:
9403         * paragraph.C: remove id setter
9404
9405         * buffer.C:
9406         * paragraph.C:
9407         * paragraph_pimpl.C: remove dead tex_code_break_column
9408
9409         * bufferview_funcs.C: small cleanup
9410
9411         * lyxfunc.C: remove dead proto
9412
9413         * lyxtext.h: make some stuff private. Remove some dead stuff.
9414
9415         * lyxgluelength.C: make as[LyX]String() readable
9416
9417 2002-08-08  John Levon  <levon@movementarian.org>
9418
9419         * LyXAction.h:
9420         * LyXAction.C:
9421         * MenuBackend.C:
9422         * ToolbarDefaults.C:
9423         * lyxfunc.C:
9424         * lyxrc.C:
9425         * toc.C: lyxaction cleanup
9426
9427 2002-08-08  John Levon  <levon@movementarian.org>
9428
9429         * BufferView2.C: small cleanup
9430
9431         * lyxfind.h:
9432         * lyxfind.C: move unnecessary header into the .C
9433
9434 2002-08-08  John Levon  <levon@movementarian.org>
9435
9436         * funcrequest.h: just tedious nonsense
9437
9438         * lyx_main.h:
9439         * lyx_main.C: cleanups
9440
9441         * buffer.C:
9442         * vspace.C: remove dead header lyx_main.h
9443
9444 2002-08-07  Angus Leeming  <leeming@lyx.org>
9445
9446         * Paragraph.[Ch]:
9447         * paragraph_pimpl.h:
9448         Forward declare class Counters in paragraph.h by moving the ctrs member
9449         variable into Paragraph::Pimpl.
9450         (counters): new method, returning a reference to pimpl_->ctrs.
9451
9452         * text2.C: ensuing changes.
9453
9454 2002-08-07  John Levon  <levon@movementarian.org>
9455
9456         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9457
9458         * BufferView_pimpl.C: announce X selection on double/triple
9459           click
9460
9461         * lyx_main.C: use correct bool in batch dispatch
9462
9463         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9464
9465 2002-08-07  André Pönitz <poenitz@gmx.net>
9466
9467         * funcrequest.h: new class to wrap a kb_action and its argument
9468
9469         * BufferView.[Ch]:
9470         * BufferView_pimpl[Ch]:
9471         * LaTeX.C:
9472         * LyXAction.[Ch]:
9473         * lyxfunc.[Ch]:
9474         * lyxrc.C: subsequent changes
9475
9476
9477 2002-08-07  John Levon  <levon@movementarian.org>
9478
9479         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9480           document options change.
9481
9482 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
9483
9484         * counters.[Ch]
9485         * text2.C
9486         * paragraph.[Ch]
9487         * makefile.am: move counters functionality over from
9488         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9489
9490 2002-08-06  John Levon  <levon@movementarian.org>
9491
9492         * WordLangTuple.h: new file for word + language code tuple
9493
9494         * SpellBase.h:
9495         * pspell.h:
9496         * pspell.C:
9497         * ispell.h:
9498         * ispell.C:
9499         * lyxtext.h:
9500         * text.C:
9501         * text2.C:
9502         * BufferView.h:
9503         * BufferView2.C: use WordLangTuple
9504
9505         * layout.h:
9506         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9507
9508 2002-08-06  John Levon  <levon@movementarian.org>
9509
9510         * lyx_main.C: fix cmdline batch handling
9511
9512 2002-08-06  André Pönitz <poenitz@gmx.net>
9513
9514         * lyxrc.C: set default for show_banner to true
9515
9516 2002-08-06  John Levon  <levon@movementarian.org>
9517
9518         * pspell.C: fix a crash, and allow new aspell to work
9519
9520 2002-08-06  John Levon  <levon@movementarian.org>
9521
9522         * lyxfunc.C:
9523         * kbmap.C: small cleanup
9524
9525         * vspace.h:
9526         * vspace.C: add const
9527
9528 2002-08-05  John Levon  <levon@movementarian.org>
9529
9530         * LyXAction.C: back to tabular-insert
9531
9532 2002-08-04  John Levon  <levon@movementarian.org>
9533
9534         * BufferView.h:
9535         * BufferView.C: cosmetic change
9536
9537         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9538
9539         * bufferlist.C:
9540         * buffer.h:
9541         * buffer.C:
9542         * lyxcb.h:
9543         * lyxcb.C:
9544         * lyxserver.C:
9545         * lyxvc.C:
9546         * vc-backend.C:
9547         * BufferView2.C: purge all "Lyx" not "LyX" strings
9548
9549         * lyxcursor.h:
9550         * lyxcursor.C: attempt to add some documentation
9551
9552         * lyxfunc.C:
9553         * commandtags.h:
9554         * LyXAction.C:
9555         * ToolbarDefaults.C:
9556         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9557           merge with LFUN_TABULAR_INSERT
9558
9559         * Makefile.am:
9560         * SpellBase.h:
9561         * ispell.h:
9562         * ispell.C:
9563         * pspell.h:
9564         * pspell.C: split up i/pspell implementations into separate
9565           files, many cleanups
9566
9567         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9568
9569         * text2.C: some cleanup
9570
9571         * lyxfunc.C: don't check for isp_command == "none" any more, it
9572           didn't make any sense
9573
9574 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
9575
9576         * counters.[Ch]
9577         * text2.C
9578         * paragraph.[Ch]
9579         * makefile.am: move counters functionality over
9580         from text2.C/paragraph.[Ch] to counters.[Ch], and
9581         make proper C++.
9582 2002-08-02  John Levon  <levon@movementarian.org>
9583
9584         * buffer.C: s/lyxconvert/lyx2lyx/
9585
9586 2002-08-02  Angus Leeming  <leeming@lyx.org>
9587
9588         * lyxlex.C: revert John's change as it breaks reading of the user
9589         preamble.
9590
9591 2002-08-02  Angus Leeming  <leeming@lyx.org>
9592
9593         * importer.C (Import):
9594         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9595         changes due to LyXView::view() now returning a boost::shared_ptr.
9596
9597 2002-08-02  John Levon  <levon@movementarian.org>
9598
9599         * lyxlex.C: small cleanup
9600
9601 2002-08-02  John Levon  <levon@movementarian.org>
9602
9603         * text2.C (status): small cleanup, no logic change
9604
9605 2002-08-01  John Levon  <levon@movementarian.org>
9606
9607         * buffer.h:
9608         * buffer.C (writeFile): don't output alerts, caller
9609           handles this
9610
9611         * bufferlist.C:
9612         * lyx_cb.C: from above
9613
9614         * lyxfunc.C: allow to open non-existent files
9615
9616 2002-07-31  John Levon  <levon@movementarian.org>
9617
9618         * lyxserver.C: don't let incidental errors get
9619           in the way (errno)
9620
9621 2002-07-30  John Levon  <levon@movementarian.org>
9622
9623         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9624
9625 2002-07-30  John Levon  <levon@movementarian.org>
9626
9627         * lyxserver.h:
9628         * lyxserver.C: remove I/O callback too
9629
9630 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9631
9632         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9633         log.
9634
9635 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9636
9637         * many files: strip,frontStrip -> trim,ltrim,rtrim
9638
9639 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
9640
9641         * PrinterParams.h: remove extern containsOnly, and include
9642         support/lstrings.h instead.
9643
9644         * LaTeX.C (scanAuxFile): modify because of strip changes
9645         (deplog): ditto
9646         * buffer.C (makeLaTeXFile): ditto
9647         * bufferparams.C (writeFile): ditt
9648         * lyxfont.C (stateText): ditto
9649         * lyxserver.C (read_ready): ditto
9650         * vc-backend.C (scanMaster): ditto
9651
9652         * BufferView_pimpl.h: ws changes
9653
9654         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9655
9656 2002-07-26  André Pönitz <poenitz@gmx.net>
9657
9658         * kb_sequence.C: remove unnedred usings
9659
9660 2002-07-26  Juergen Vigna  <jug@sad.it>
9661
9662         * lyxfind.C (LyXReplace): we have to check better if the returned
9663         text is not of theLockingInset()->getLockingInset().
9664
9665 2002-07-25  Juergen Vigna  <jug@sad.it>
9666
9667         * lyxfind.C (LyXReplace): don't replace if we don't get the
9668         right LyXText.
9669
9670         * undo_funcs.C (createUndo): remove debugging code.
9671
9672 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
9673
9674         * buffer.C (parseSingleLyXformat2Token): Use default placement
9675         when reading old floats.
9676
9677         * FloatList.C (FloatList): Change the default placement of figure
9678         and tables to "tbp".
9679
9680 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
9681
9682         * MenuBackend.C: using std::max
9683
9684 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9685
9686         * MenuBackend.C (expandToc):
9687         (expandToc2): code moved from xforms menu frontend. It is now
9688         generic and TOCs are transparent to menu frontends.
9689
9690 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9691
9692         * toc.C (getTocList): protect against buf=0
9693
9694         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9695         Menu as first parameter. Now, this calls itself recursively to
9696         expand a whole tree (this will be useful for TOC handling)
9697         (expandFloatInsert): remove 'wide' version of floats
9698
9699         * MenuBackend.h (submenuname): returns the name of the submenu.
9700         (submenu): returns the submenu itself, provided it has been
9701         created by MenuBackend::expand
9702
9703 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9704
9705         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9706         insets which have noFontChange == true. (bug #172)
9707
9708 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9709
9710         * BufferView_pimpl.C: add connection objects and use them...
9711         (Pimpl): here.
9712
9713 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9714
9715         * MenuBackend.C (expandLastfiles):
9716         (expandDocuments):
9717         (expandFormats):
9718         (expandFloatListInsert):
9719         (expandFloatInsert):
9720         (expand): split expand in parts
9721
9722 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9723
9724         * lyx_gui.C: use lyx_gui::exit()
9725
9726 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9727
9728         * LyXAction.C: show the failing pseudo action
9729
9730 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
9731
9732         * buffer.C (readFile): Run the lyxconvert script in order to read
9733         old files.
9734
9735 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9736
9737         * LyXAction.C:
9738         * commandtags.h:
9739         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9740
9741 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9742
9743         * LyXAction.C:
9744         * commandtags.h:
9745         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9746
9747 2002-07-22  Herbert Voss  <voss@lyx.org>
9748
9749         * lengthcommon.C:
9750         * lyxlength.[Ch]: add support for the vertical lengths
9751
9752 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
9753
9754         * toc.[Ch]: std:: fixes
9755
9756 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9757
9758         * lyxrc.C: do not include lyx_main.h
9759
9760         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9761         for layouts
9762
9763         * lyxrc.C:
9764         * encoding.C:
9765         * bufferlist.C:
9766         * BufferView2.C: include "lyxlex.h"
9767
9768         * tabular.h:
9769         * bufferparams.h: do not #include "lyxlex.h"
9770
9771         * lyxtextclasslist.C (Add): remove method
9772         (classlist): renamed to classlist_
9773
9774         * paragraph_pimpl.C:
9775         * paragraph.C:
9776         * text2.C:
9777         * CutAndPaste.C:
9778         * bufferview_funcs.C:
9779         * bufferlist.C:
9780         * text.C:
9781         * LaTeXFeatures.C:
9782         * buffer.C:
9783         * toc.C (getTocList): use BufferParams::getLyXTextClass
9784
9785         * toc.C (getTocList): use InsetFloat::addToToc
9786
9787         * toc.[Ch]: new files, containing helper functions to handle table
9788         of contents
9789
9790         * lyxfunc.C (dispatch): no need to remove spaces around command
9791         given as a string
9792         (getStatus): handle LFUN_SEQUENCE by returning the status of the
9793         first command of the sequence; it is not very clever, but I do not
9794         have a better idea, actually
9795
9796         * LyXAction.C (LookupFunc): make sure to remove space at the
9797         beginning and end of the command
9798
9799 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9800
9801         * MenuBackend.C (getMenubar): new method: return the menubar of
9802         this menu set
9803         (read): treat differently reading of menu and menubar (in
9804         particular, the menubar has no name now)
9805         (Menu::menubar): remove
9806
9807         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9808         saving is finished
9809
9810 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9811
9812         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9813         a bibitem inset in a RTL paragraph.
9814
9815 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
9816
9817         * paragraph_pimpl.C: constify
9818
9819         * BufferView_pimpl.C:
9820         * LaTeX.C:
9821         * lyxfunc.C: fix dispatch in a nicer way
9822
9823 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9824
9825         * lyxfunc.C (dispatch):
9826         * BufferView_pimpl.C:
9827         * BufferView_pimpl.h:
9828         * BufferView.C:
9829         * BufferView.h: rename Dispatch() to dispatch()
9830
9831         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9832
9833         * lyxlayout.C (Read): honor DependsOn tag
9834
9835         * lyxlayout.[Ch] (depends_on): new method
9836
9837         * version.C.in: update lyx_docversion
9838
9839         * LaTeXFeatures.C (getMacros): only define \LyX when needed
9840
9841         * paragraph.C (validate): remove from here...
9842         * paragraph_pimpl.C (validate): ... and move here
9843         (isTextAt): make it const
9844
9845         * buffer.C (getLists): ws cleanup
9846
9847 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9848
9849         * language.C (read): Use iso8859-1 encoding in latex_lang
9850         (this prevents LyX from crashing when using iso10646-1 encoding).
9851
9852 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9853
9854         * text2.C (toggleInset): if cursor is inside an inset, close the
9855         inset and leave cursor _after_ it
9856
9857 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9858
9859         * lyxfunc.C: move minibuffer completion handling out of here
9860
9861 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9862
9863         * BufferView_pimpl.C:
9864         * LaTeX.C: fix dispatch calls
9865
9866 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
9867
9868         * text.C (drawChars): Fix Arabic text rendering.
9869
9870 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
9871
9872         * LyXAction.C:
9873         * commandtags.h:
9874         * lyxfunc.C: remove message-push/pop
9875
9876         * lyxserver.C:
9877         * lyxfunc.h:
9878         * lyxfunc.C: rationalise some code by removing verboseDispatch
9879           in favour of a bool argument to dispatch()
9880
9881 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9882
9883         * lyx_main.C (init): make sure to read symlinks as absolute paths
9884
9885 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9886
9887         * lyxfunc.h:
9888         * lyxfunc.C: no need for commandshortcut to be a member
9889
9890 2002-07-15  André Pönitz <poenitz@gmx.net>
9891
9892         * converter.C: add support for $$s (scripts from lib/scripts dir)
9893         * lyx_main.C: white space
9894
9895 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9896
9897         * bufferlist.C:
9898         * lyxrc.h:
9899         * lyxrc.C: remove second exit confirmation
9900
9901 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9902
9903         * BufferView.h:
9904         * BufferView.C:
9905         * BufferView2.C:
9906         * BufferView_pimpl.h:
9907         * BufferView_pimpl.C:
9908         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9909
9910 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9911
9912         * MenuBackend.C (expand): add numeric shortcuts to document menu
9913
9914         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9915
9916 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9917
9918         * lyxfont.C (setLyXFamily):
9919         (setLyXSeries):
9920         (setLyXShape):
9921         (setLyXSize):
9922         (setLyXMisc):
9923         (lyxRead):
9924         * debug.C (value):
9925         * buffer.C (asciiParagraph): use ascii_lowercase
9926
9927 2002-07-15  Mike Fabian  <mfabian@suse.de>
9928
9929         * lyxlex_pimpl.C (search_kw):
9930         * lyxlex.C (getLongString):
9931         * converter.h (operator<):
9932         * converter.C (operator<):
9933         * buffer.C (parseSingleLyXformat2Token):
9934         (asciiParagraph):
9935         * ToolbarDefaults.C (read):
9936         * MenuBackend.C (checkShortcuts):
9937         (read):
9938         * LColor.C (getFromGUIName):
9939         (getFromLyXName): use the compare_ascii_no_case instead of
9940         compare_no_case, because in turkish, 'i' is not the lowercase
9941         version of 'I', and thus turkish locale breaks parsing of tags.
9942
9943 2002-07-16  Angus Leeming  <leeming@lyx.org>
9944
9945         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9946         now takes a Buffer const & argument.
9947
9948 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
9949
9950         * BufferView.C (resize): check there's a buffer to resize
9951
9952 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
9953
9954         * lyxfunc.C: remove dead code
9955
9956         * lyxserver.h:
9957         * lyxserver.C: use lyx_guii::set_read_callback
9958
9959 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
9960
9961         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9962         an inset in a RTL paragraph.
9963
9964 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9965
9966         * lyxfunc.C: repaint after a font size update
9967
9968 2002-07-15  André Pönitz <poenitz@gmx.net>
9969
9970         * lyxlength.C: inBP should be able to return negative values
9971
9972 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9973
9974         * lyxfunc.C: use lyx_gui::update_fonts()
9975
9976 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9977
9978         * lyxfunc.C: use lyx_gui::update_color()
9979
9980 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9981
9982         * bufferlist.C:
9983         * lyxfunc.h:
9984         * lyxfunc.C:
9985         * lyxrc.h:
9986         * lyxrc.C: remove file->new asks for name option, and let
9987           buffer-new take an argument
9988
9989 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9990
9991         * BufferView_pimpl.C: remove unneeded extra repaint()
9992
9993 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
9994
9995         * LyXAction.C: allow command-sequence with NoBuffer
9996
9997         * lyxfunc.C: don't insist on trailing ';' for command-sequence
9998
9999 2002-07-10  Angus Leeming  <leeming@lyx.org>
10000
10001         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10002
10003 2002-07-09  Angus Leeming  <leeming@lyx.org>
10004
10005         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10006
10007 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10008
10009         * lengthcommon.h: whitespace
10010
10011         * lyxfunc.C: update scrollbar after goto paragraph
10012
10013         * lyxtext.h: factor out page break drawing, and fix it so
10014           page break/added space paints as selected nicely
10015
10016 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10017
10018         * BufferView_pimpl.C: add FIXMEs, clean up a little
10019
10020 2002-07-09  André Pönitz <poenitz@gmx.net>
10021
10022         * lyxfont.[Ch]: support for wasy symbols
10023
10024 2002-07-08  André Pönitz <poenitz@gmx.net>
10025
10026         * BufferView_pimpl.C: apply John's patch for #93.
10027
10028 2002-07-05  Angus Leeming  <leeming@lyx.org>
10029
10030         * BufferView_pimpl.C (buffer): generate previews if desired.
10031
10032         * LColor.h: add "preview" to the color enum.
10033
10034         * LColor.C (LColor): add a corresponding entry to the items array.
10035
10036         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10037         with this buffer.
10038
10039 2002-07-05  Angus Leeming  <leeming@lyx.org>
10040
10041         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10042         The body of the code is now in the method that is passed an ostream &
10043         rather than a file name.
10044         Pass an additional only_preamble parameter, useful for the forthcoming
10045         preview stuff.
10046
10047 2002-07-03  André Pönitz <poenitz@gmx.net>
10048
10049         * lyxfunc.C: simplify getStatus() a bit for math stuff
10050
10051 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10052
10053         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10054
10055 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10056
10057         * text.C (changeRegionCase): do not change case of all the
10058         document when region ends at paragraph end (bug #461)
10059
10060 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10061
10062         * paragraph.C (startTeXParParams):
10063         (endTeXParParams): add \protect when necessary
10064
10065 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10066
10067         * BufferView_pimpl.C (workAreaExpose): remove warning
10068
10069 2002-06-27  Angus Leeming  <leeming@lyx.org>
10070
10071         * Makefile.am: add lyxlayout_ptr_fwd.h.
10072
10073 2002-06-26  André Pönitz <poenitz@gmx.net>
10074
10075         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10076
10077 2002-06-25  Angus Leeming  <leeming@lyx.org>
10078
10079         * lyxfunc.C (dispatch): Comment out the call to
10080         grfx::GCache::changeDisplay. The method no longer exists now that the
10081         pixmap generation part of the graphics loader has been moved into
10082         InsetGraphics.
10083
10084 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10085
10086         * text2.C: layout as layout
10087
10088         * text.C: layout as layout
10089
10090         * tabular.C (OldFormatRead): layout as layout
10091
10092         * paragraph_pimpl.C (TeXDeeper): layout as layout
10093         (realizeFont): layout as layout
10094
10095         * paragraph.C (writeFile): layout as layout
10096         (validate): layout as layout
10097         (getFont): layout as layout
10098         (getLabelFont): layout as layout
10099         (getLayoutFont): layout as layout
10100         (breakParagraph): layout as layout
10101         (stripLeadingSpaces): layout as layout
10102         (getEndLabel): layout as layout
10103         (getMaxDepthAfter): layout as layout
10104         (applyLayout): layout as layout
10105         (TeXOnePar): layout as layout
10106         (simpleTeXOnePar): layout as layout
10107         (TeXEnvironment): layout as layout
10108         (layout): layout as layout
10109         (layout): layout as layout
10110
10111         * lyxtextclass.C (compare_name): new functor to work with
10112         shared_ptr, layout as layout
10113         (Read): layout as layout
10114         (hasLayout): layout as layout
10115         (operator): layout as layout
10116         (delete_layout): layout as layout
10117         (defaultLayout): layout as layout
10118
10119         * lyxlayout_ptr_fwd.h: new file
10120
10121         * lyxlayout.C (Read): layout as layout
10122
10123         * lyx_cb.C (MenuInsertLabel): layout as layout
10124
10125         * bufferlist.C (newFile): layout as layout
10126
10127         * buffer.C (readLyXformat2): layout as layout
10128         (parseSingleLyXformat2Token): layout as layout
10129         (insertStringAsLines): layout as layout
10130         (asciiParagraph): layout as layout
10131         (latexParagraphs): layout as layout
10132         (makeLinuxDocFile): layout as layout
10133         (simpleLinuxDocOnePar): layout as layout
10134         (makeDocBookFile): layout as layout
10135         (simpleDocBookOnePar): layout as layout
10136         (getLists): layout as layout
10137
10138         * LaTeXFeatures.C (getTClassPreamble): layout as layout
10139
10140         * CutAndPaste.C (cutSelection): layout as layout
10141         (pasteSelection): layout as layout
10142         (SwitchLayoutsBetweenClasses): layout as layout
10143
10144         * BufferView_pimpl.C (Dispatch): layout as layout
10145         (smartQuote): layout as layout
10146
10147         * BufferView2.C (unlockInset): layout as layout
10148
10149 2002-06-24  André Pönitz <poenitz@gmx.net>
10150
10151         * lyxfunc.C: fix #487
10152
10153 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10154
10155         * lyxrc.h:
10156         * lyxrc.C:
10157         * lyxfunc.C: remove display_shortcuts, show_banner
10158
10159 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10160
10161         * Buffer_pimpl.C: oops, update on resize
10162
10163 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10164
10165         * buffer.C:
10166         * converter.C:
10167         * exporter.C:
10168         * lyxfunc.C:
10169         * BufferView.h:
10170         * BufferView.C: use repaint()
10171
10172         * BufferView_pimpl.h:
10173         * BufferView_pimpl.C: s/updateScreen()/repaint()/
10174           as it's a clearer description. Remove superfluous
10175           redraws.
10176
10177 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10178
10179         * text.C: fix bug 488. Not ideal, but getting
10180           getWord() to work properly for the insets that
10181           matter is more difficult ...
10182
10183 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10184
10185         * BufferView_pimpl.C:
10186         * LyXAction.C:
10187         * commandtags.h:
10188         * lyxfunc.C: remove the six million index lyxfuncs to just
10189           one, and DTRT (bug 458)
10190
10191 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10192
10193         * BufferView.h:
10194         * BufferView.C:
10195         * BufferView_pimpl.h:
10196         * BufferView_pimpl.C: clean up resize() stuff,
10197           and unnecessary updateScreen()s
10198
10199 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10200
10201         * BufferView.h:
10202         * BufferView.C:
10203         * BufferView_pimpl.h:
10204         * BufferView_pimpl.C:
10205         * lyxfind.h:
10206         * lyxfind.C:
10207         * minibuffer.C: remove focus management of workarea,
10208           not needed. Use screen's greyOut()
10209
10210 2002-06-17  Herbert Voss  <voss@lyx.org>
10211
10212         * converter.C: (convert) do not post a message, when converting
10213         fails, let the calling function decide what to do in this case
10214
10215 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
10216
10217         * lyxfunc.C: tidy up a little
10218
10219 2002-06-16    <alstrup@diku.dk>
10220
10221         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10222         Got rid of FORMS_H_LOCATION include. Now we are
10223         GUII.
10224
10225 2002-06-15  LyX Development team  <lyx@rilke>
10226
10227         * buffer.[Ch] (sgmlOpenTag):
10228         (sgmlCloseTag): Added support for avoiding pernicious mixed
10229         content. Return number of lines written.
10230
10231         (makeLinuxDocFile):
10232         (makeDocBookFile): Fixed calls to sgml*Tag.
10233         Simple white space clean.
10234
10235         (simpleDocBookOnePar): Simple white space clean.
10236
10237         * tabular.[Ch] (docBook): Renamed to docbook and got another
10238         argument to related with the pernicious mixed content.
10239
10240         (docbookRow): Fixed calls for docbook inset method.
10241
10242 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
10243
10244         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10245         so it's X11 independent.
10246
10247         * kb*.[Ch]: ditto.
10248
10249         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10250
10251 2002-06-15  Lyx Development team  <lyx@electronia>
10252
10253         * intl.h: Renamed getTrans to getTransManager.
10254
10255 2002-06-14  Angus Leeming  <leeming@lyx.org>
10256
10257         * Makefile.am: nuke forgotten stl_string_fwd.h.
10258
10259 2002-06-12  Angus Leeming  <leeming@lyx.org>
10260
10261         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10262
10263 2002-06-13  Angus Leeming  <leeming@lyx.org>
10264
10265         * LaTeX.C:
10266         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10267
10268 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
10269
10270         * kbmap.C (getiso): add support for cyrillic and greek
10271
10272 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10273
10274         * BufferView.h:
10275         * BufferView.C:
10276         * BufferView_pimpl.h:
10277         * BufferView_pimpl.C: move bogus scrolling logic
10278           to xforms
10279
10280 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10281
10282         * lyxfunc.C:
10283         * BufferView_pimpl.C: view->resize() change
10284
10285 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10286
10287         * BufferView_pimpl.C: topCursorVisible
10288           prototype change
10289
10290 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10291
10292         * Makefile.am:
10293         * lyx_gui.h:
10294         * lyx_gui.C: move to frontends/
10295
10296         * main.C:
10297         * lyx_main.h:
10298         * lyx_main.C: changes from above
10299
10300 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10301
10302         * intl.C:
10303         * intl.h:
10304         * kbmap.C:
10305         * kbsequence.C:
10306         * lyx_cb.C:
10307         * lyx_main.C: minor tidy
10308
10309 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10310
10311         * BufferView_pimpl.h:
10312         * BufferView_pimpl.C:
10313         * BufferView.h:
10314         * BufferView.C: make painter() const,
10315           remove dead code
10316
10317         * BufferView2.C: use screen() accessor
10318
10319         * lyx_main.h:
10320         * lyx_main.C: some minor cleanup
10321
10322 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10323
10324         * BufferView_pimpl.h:
10325         * BufferView_pimpl.C: remove enter/leaveView,
10326           use workHeight()
10327
10328 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10329
10330         * BufferView.h:
10331         * BufferView.C:
10332         * BufferView2.C:
10333         * BufferView_pimpl.h:
10334         * BufferView_pimpl.C: only construct screen once,
10335           rename
10336
10337         * lyxrc.C: remove pointless comment
10338
10339 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10340
10341         * BufferView.h:
10342         * BufferView.C: remove active() and belowMouse()
10343
10344         * BufferView_pimpl.h:
10345         * BufferView_pimpl.C: use workarea() not workarea_,
10346           and make it use a scoped_ptr instead
10347
10348 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10349
10350         * lyx_gui.C: add debug message on BadWindow
10351
10352 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10353
10354         * sp_spell.C: fdopen is not part of the C++ standard.
10355
10356         * paragraph.C (InsetIterator): use >= instead of ==
10357
10358 2002-06-07  Angus Leeming  <leeming@lyx.org>
10359
10360         Fixes needed to compile with Compaq cxx 6.5.
10361         * BufferView_pimpl.C:
10362         * DepTable.C:
10363         * buffer.C:
10364         * converter.C:
10365         * encoding.C:
10366         * lyx_gui.C:
10367         * lyx_main.C:
10368         * lyxtextclasslist.C:
10369         * minibuffer.C:
10370         * sp_spell.C:
10371         * tabular_funcs.C:
10372         * vc-backend.C:
10373         all c-library variables have been moved into namespace std. Wrap
10374         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10375
10376         * lyxlength.C:
10377         * tabular-old.C:
10378         * tabular.C:
10379         Add a using std::abs declaration.
10380
10381         * kbmap.h (modifier_pair):
10382         * paragraph.h (InsetTable, InsetList):
10383         * lyxfont.h (FontBits):
10384         type definition made public.
10385
10386         * bufferlist.C (emergencyWriteAll): the compiler complains that
10387         there is more than one possible lyx::class_fun template to choose from.
10388         I re-named the void specialisation as lyx::void_class_fun.
10389
10390         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10391
10392         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10393         the compiler is is unable to find tostr in write_attribute.
10394
10395 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10396
10397         * buffer.C (sgmlError): hide #warning
10398
10399 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10400
10401         * xtl/*: get rid of xtl, which is not in use anyway
10402
10403         * LyXAction.C (init):
10404         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10405         were unimplemented xtl experimentation
10406
10407 2002-06-04  André Pönitz <poenitz@gmx.net>
10408
10409         * lyxfunc.C: disable array operation on simple formulae
10410
10411 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
10412
10413         * converter.C: constify a bit
10414
10415 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
10416
10417         * lyx_gui.C: check xforms version correctly
10418
10419 2002-04-30  Herbert Voss  <voss@lyx.org>
10420
10421         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10422         "keep" option
10423
10424 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
10425
10426         * lyxvc.C: fix bug 416 (make sure buffer is saved before
10427           attempt to register it with a VCS)
10428
10429 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10430
10431         * lyx_main.C (init): honor variables LYX_DIR_13x and
10432         LYX_USERDIR_13x
10433
10434 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10435
10436         * buffer.h:
10437         * buffer.C:
10438         * lyx_main.C: fix a crash on bad command line,
10439           and give a useful exit status on error
10440
10441         * lyxfunc.C (doImport): allow -i lyx to work
10442
10443 2002-03-30  André Pönitz <poenitz@gmx.net>
10444
10445         * lyxfunc.C: mathed font changes
10446
10447 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10448
10449         * LaTeX.C:
10450         * importer.h:
10451         * importer.C:
10452         * lyx_sty.h:
10453         * lyx_sty.C:
10454         * lyxlex.C:
10455         * lyxrow.h:
10456         * lyxtext.h:
10457         * paragraph.h:
10458         * paragraph.C:
10459         * texrow.h:
10460         * texrow.C:
10461         * text.C:
10462         * trans_mgr.h: srcdocs, and some minor cleanups
10463
10464 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10465
10466         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10467         call getFont all the time)
10468
10469 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10470
10471         * switch from SigC signals to boost::signals
10472
10473 2002-05-29  André Pönitz <poenitz@gmx.net>
10474
10475         * paragraph_pimpl.C (getChar): don't call size() too often...
10476
10477 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10478
10479         * paragraph_pimpl.C (insertChar): do not try to update tables when
10480         appending (pos == size())
10481
10482         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10483         in order to reduce drastically the number of comparisons needed to
10484         parse a large document
10485
10486 2002-05-29  André Pönitz <poenitz@gmx.net>
10487
10488         * text.C:
10489         * text2.C:
10490         * lyxtextclass.C:
10491         * sp_pspell.h:
10492         * textclasslist.[Ch]:
10493         * sp_ispell.h: whitespace change
10494
10495 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10496
10497         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10498         lyxaction directly now.
10499
10500 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
10501
10502         * trans.C:
10503         * lyxfont.C:
10504         * lyxvc.C: remove unused headers
10505
10506 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10507
10508         * Makefile.am:
10509         * buffer.h:
10510         * undostack.h:
10511         * undostack.C:
10512         * undo_funcs.h:
10513         * undo_funcs.C: some cleanups. Use shared_ptr
10514           and a template for the undo stacks.
10515
10516 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10517
10518         * BufferView_pimpl.h:
10519         * BufferView_pimpl.C:
10520         * kbmap.h:
10521         * kbmap.C:
10522         * kbsequence.h:
10523         * kbsequence.C:
10524         * lyxfunc.h:
10525         * lyxfunc.C:
10526         * text2.C: use key_state/mouse_state
10527
10528 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10529
10530         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10531         and LSubstring
10532
10533         * chset.C: change include order
10534         (loadFile): use boost regex and get rid of LRegex and LSubstring
10535
10536         * Makefile.am (BOOST_LIBS): new variable
10537         (lyx_LDADD): use it
10538
10539         * LaTeX.C: change include order.
10540         (scanAuxFile): use boost regex and get rid of LRegex and
10541         LSubstring
10542         (deplog): ditto
10543
10544 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10545
10546         * ColorHandler.h:
10547         * ColorHandler.C:
10548         * FontInfo.h:
10549         * FontInfo.C: moved to frontends/xforms/
10550
10551         * FontLoader.h:
10552         * FontLoader.C: moved into frontends for GUIIzation
10553
10554         * Makefile.am:
10555         * lyx_gui.C:
10556         * lyxfont.C:
10557         * lyxfunc.C: changes from above
10558
10559 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10560
10561         * LColor.C: remove spurious X include
10562
10563         * BufferView_pimpl.C:
10564         * Makefile.am:
10565         * font.h:
10566         * font.C:
10567         * text.C:
10568         * text2.C: move font metrics to frontends/
10569
10570 2002-05-24  Juergen Vigna  <jug@sad.it>
10571
10572         * undo_funcs.C (textHandleUndo): fix the cursor selection after
10573         setting the undo_cursor.
10574
10575         * ParagraphParameters.h: include local includes first.
10576
10577 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10578
10579         * BufferView_pimpl.C:
10580         * BufferView_pimpl.h:
10581         * Makefile.am:
10582         * WorkArea.h:
10583         * WorkArea.C:
10584         * screen.C: move WorkArea into frontends/
10585
10586         * lyxscreen.h:
10587         * screen.C:
10588         * text.C:
10589         * BufferView.C:
10590         * BufferView2.C: move LyXScreen into frontends/
10591
10592         * lyxlookup.h:
10593         * lyxlookup.C:
10594         * lyx_gui.C: move lyxlookup into frontends/xforms/
10595
10596 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10597
10598         * BufferView2.C:
10599         * BufferView_pimpl.C:
10600         * FontLoader.C:
10601         * LyXView.h:
10602         * LyXView.C:
10603         * Makefile.am:
10604         * WorkArea.C:
10605         * XFormsView.h:
10606         * XFormsView.C:
10607         * buffer.C:
10608         * bufferlist.C:
10609         * bufferview_funcs.C:
10610         * converter.C:
10611         * importer.C:
10612         * lyx_cb.C:
10613         * lyx_gui.C:
10614         * lyx_main.C:
10615         * lyx_find.C:
10616         * lyxfunc.C:
10617         * lyxvc.C:
10618         * minibuffer.C:
10619         * text.C:
10620         * text2.C:
10621         * trans.C:
10622         * vc-backend.C: move LyX/XFormsView into frontends/
10623
10624 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10625
10626         * Makefile.am:
10627         * PainterBase.C:
10628         * PainterBase.h:
10629         * Painter.C:
10630         * Painter.h:
10631         * WorkArea.C:
10632         * WorkArea.h:
10633         * screen.C:
10634         * tabular.C:
10635         * text.C:
10636         * text2.C: move Painter to frontends/
10637
10638 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10639
10640         * buffer.C: comment out some some code that depend upon lyx_format
10641         < 220
10642
10643         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10644         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10645
10646         * buffer.h (NO_COMPABILITY): turn off compability
10647
10648         * ColorHandler.C: include scoped_array.hpp
10649
10650         * font.C: Use more specific smart_ptr header.
10651         * Painter.C: ditto
10652         * gettext.C: ditto
10653         * ShareContainer.h: ditto
10654         * lyx_main.h: ditto
10655         * kbmap.h: ditto
10656         * FontInfo.h: ditto
10657         * BufferView_pimpl.h: ditto
10658         * ColorHandler.h: ditto
10659
10660         * kbmap.C (defkey): change call to shared_ptr::reset
10661
10662 2002-05-21  Juergen Vigna  <jug@sad.it>
10663
10664         * buffer.C (insertErtContents): fix to insert ert asis if it is
10665         non empty. Skip it completely if it contains only whitespaces.
10666
10667 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
10668
10669         * BufferView_pimpl.C:
10670         * BufferView2.C: clear selection on paste (bug 393)
10671
10672 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10673
10674         * DepTable.C: include ctime
10675
10676 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
10677
10678         * buffer.C (latexParagraphs): Add new argument (moving_arg).
10679
10680 2002-05-14  Juergen Vigna  <jug@sad.it>
10681
10682         * text.C (breakParagraph): fixed function to honor the keepempty
10683         layout in the right maner and also to permit the right breaking
10684         algorithm on empty or non empyt keepempty paragraphs.
10685
10686         * paragraph.C (breakParagraph): we have to check also if the par
10687         is really empty (!size()) for isempty otherwise we do the wrong
10688         paragraph break.
10689
10690 2002-05-10  Juergen Vigna  <jug@sad.it>
10691
10692         * buffer.[Ch] : The following are only changes to the ert
10693         compatibility read reading old LaTeX layout and font stuff and
10694         convert it to ERTInsets.
10695
10696         * buffer.h: added isErtInset().
10697
10698         * buffer.C (struct ErtComp): add a fromlayout bool to check
10699         if we're inside a LaTeX layout.
10700         (isErtInset): new helper function.
10701         (insertErtContents): look for other ert insets before this one
10702         and insert the contents there, so that we don't have subsequent
10703         ERT insets with nothing between them. This way we create only one
10704         inset with multiple paragraphs. Also check if we don't insert only
10705         spaces ' ' as they are ignored anyway afterwards in the .tex file
10706         so if we have only spaces we will ignore this latex part in the
10707         new file.
10708         (parseSingleLyXformat2Token \\layout): better compatibility when
10709         reading layout-latex stuff.
10710         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10711         language tag.
10712         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10713         stuff after reading the inset only get the information back from
10714         the stack.
10715
10716 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
10717
10718         * buffer.C (makeLaTeXFile): Put language options after loading babel.
10719
10720         * LaTeXFeatures.C (getBabelOptions): New method.
10721
10722 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10723
10724         * BufferView_pimpl.C (Dispatch): work around missing argument for
10725         'layout'
10726
10727 2002-05-08  Juergen Vigna  <jug@sad.it>
10728
10729         * text.C (leftMargin): handle paragraph leftindent.
10730
10731         * paragraph.C (writeFile): write the new \\leftindent tag.
10732         (validate): handle leftindent code.
10733         (TeXEnvironment): handle paragraphleftindent code again.
10734
10735         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10736
10737         * buffer.C (parseSingleLyXformat2Token): added compatibility code
10738         for paragrap_extra indent code and new token \\leftindent.
10739         (latexParagraphs): handle the leftindent as environment.
10740
10741         * ParameterStruct.h: added leftindent support.
10742
10743         * ParagraphParameters.C (leftIndent): added support functions for
10744         the paragraph left indent.
10745
10746         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10747         more appropriate.
10748
10749 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
10750
10751         * paragraph.C (isRightToLeftPar): Return false for a paragraph
10752         inside insetERT.
10753
10754         * text.C (computeBidiTables): No bidi in insetERT.
10755
10756         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10757         in RTL documents.
10758
10759 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10760
10761         * version.C.in: pre 5
10762
10763 2002-05-02  José Matos  <jamatos@fep.up.pt>
10764         * buffer.C (makeDocBookFile): white space changes, add newline to
10765         command styles.
10766         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10767
10768         * tabular.C (docBook): fix typo.
10769
10770 2002-05-03  Juergen Vigna  <jug@sad.it>
10771
10772         * screen.C (drawFromTo): recalculate the rowpointer if we had a
10773         change in LyXText as we can not be sure it was not freed.
10774         (drawOneRow): remove unused code.
10775
10776         * text.C (drawInset): redo the calculation of the need_break_row as
10777         it could have a row which was already freed.
10778         (draw): look at the return value of drawInset and return false if
10779         it also returned false.
10780         (paintRowText): look at the return value of draw and return false if
10781         it also returned false.
10782
10783         * lyxtext.h: added bool return type to drawInset() and draw() so that
10784         if we have a change in the row so that the rowbreak has to be redone
10785         we abort drawing as it will be called again.
10786
10787 2002-05-02  Juergen Vigna  <jug@sad.it>
10788
10789         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10790         a change in the maintext also if we're inside an inset.
10791         (Dispatch): set the cursor again after a break line and after the
10792         screen has been updated as it could be we're in a different row.
10793
10794         * text2.C (fixCursorAfterDelete): check to make sure we don't request
10795         to set the cursor behind the pargraph with > size().
10796         (setCursor): check also for the same paragraph when checking where
10797         to put the cursor if we have a NFR inset.
10798
10799         * buffer.C (parseSingleLyXformat2Token): move the compatibility
10800         parts of layout read further up as it still was in the wrong
10801         position.
10802
10803 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10804
10805         * screen.C (drawFromTo): change sine fullRebreak always return
10806         true.
10807
10808         * buffer.C (parseSingleLyXformat2Token): reindent some
10809
10810         * BufferView_pimpl.C (update): change since fullRebreak always
10811         return true.
10812         (Dispatch): git rid of the last hardcoded "Standard"s.
10813
10814 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10815
10816         * text2.[Ch] (fullRebreak): make it return void now that we always
10817         returned true.
10818
10819 2002-04-30  Juergen Vigna  <jug@sad.it>
10820
10821         * buffer.C (parseSingleLyXformat2Token): reset the font before the
10822         ert compatibility check for "latex" layout.
10823
10824 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
10825
10826         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10827         minipages: use col% instead of p%, and also use the current font.
10828         (makeLaTeXFile): Fix use babel condition.
10829         (parseSingleLyXformat2Token): Correct font when reading old floats.
10830
10831 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
10832
10833         * BufferView_pimpl.C (Dispatch): Check that float type exists when
10834         inserting list of floats.
10835
10836 2002-04-25  Herbert Voss  <voss@lyx.org>
10837
10838         * MenuBackend.C (expand): don't add the graphics extensions to the
10839         export menu
10840
10841 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10842
10843         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10844         non-existing layout, do not complain if it was the default layout
10845         of the original class (bug #342)
10846
10847 2002-04-24  Juergen Vigna  <jug@sad.it>
10848
10849         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10850         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10851
10852 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
10853
10854         * buffer.C (getBibkeyList): If using \bibliography, return the
10855         option field with the reference itself. Enables us to provide natbib
10856         support when using \bibliography.
10857
10858 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
10859
10860         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10861
10862         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10863         natbib is provided by the LaTeX class.
10864
10865 2002-04-23  Juergen Vigna  <jug@sad.it>
10866
10867         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10868         Wakeup functions.
10869
10870         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10871
10872 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10873
10874         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10875
10876         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10877         ensuremath around textordmasculine, textordfeminine and
10878         textdegree.
10879
10880 2002-04-19  Juergen Vigna  <jug@sad.it>
10881
10882         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10883         reinitializing the buffer otherwise row-dimensions may be wrong.
10884         (update): reset also the selection cursors if they do exits otherwise
10885         their x/y positions may be wrong.
10886
10887         * text2.C (cursorDown): don't enter the inset if we came from a row
10888         above and are one row over the inset.
10889
10890         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10891         really leaving an inset.
10892
10893 2002-04-18  Juergen Vigna  <jug@sad.it>
10894
10895         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10896         of the selected paragraph does not have the selected layout also if
10897         the last one had!
10898
10899         * text2.C (setLayout): fixed bug which did not change last selected
10900         paragraph.
10901
10902         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10903         changed the read and substituted \\end_float with \\end_inset!
10904
10905         * BufferView_pimpl.C (cursorPrevious):
10906         (cursorNext): fixed to make it work with rows heigher than the work
10907         area without moving the cursor only the draw of the row.
10908         (workAreaMotionNotify): fix jumping over high rows.
10909
10910 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10911
10912         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10913         Ressler.
10914
10915 2002-04-16  Juergen Vigna  <jug@sad.it>
10916
10917         * text2.C (setCursor): set also the irow().
10918         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10919         (cursorUp):
10920         (cursorDown): support for locking an inset if the x_fix value goes
10921         inside it. That way I can transverse insets too with cursor up/down.
10922
10923         * lyxrow.h: added irow helper function same as other (i) functions.
10924
10925         * BufferView_pimpl.C (cursorPrevious):
10926         (cursorNext): fixed for insets!
10927
10928 2002-04-15  Juergen Vigna  <jug@sad.it>
10929
10930         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10931         position otherwise it is wrong in some cases.
10932
10933         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10934         inside the inset before the call.
10935
10936 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
10937
10938         * buffer.[Ch] (getBibkeyList): make it const.
10939
10940 2002-04-12  Juergen Vigna  <jug@sad.it>
10941
10942         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10943
10944         * text2.C (getCursorX): new helper function
10945         (setCursor): compute also ix_
10946         (setCursorFromCoordinates): set also ix.
10947
10948         * lyxcursor.h: added ix_ and helper functions.
10949
10950         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10951
10952         * buffer.C (insertStringAsLines): dont break paragraph if the this
10953         paragraph is inside an inset which does not permit it!
10954
10955         * text.C (breakParagraph): honor keepempty flag and break the paragraph
10956         also with no chars on this paragraph.
10957         (paintRowText): only paint stuff if it's inside the workarea!
10958
10959         * paragraph.C (breakParagraph): honor keepempty flag and break the
10960         paragraph always below not above.
10961
10962         * BufferView2.C (unlockInset): update the paragraph layout on inset
10963         unlock as we changed paragraph in such a case.
10964
10965         * lyxfind.C (LyXFind): clear the former selection if not found!
10966
10967         * text2.C (insertInset): freeze Undo after setUndo so that it is not
10968         again called in insertChar().
10969
10970         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10971         an inset which uses the whole row!
10972         (rightMargin): ditto.
10973         (insertChar): force a rebreak if we inserted an inset!
10974
10975 2002-03-28  Herbert Voss  <voss@lyx.org>
10976
10977         * lyxlength.[Ch]: add inBP() to get the right PS-point
10978         units (BigPoint). With inPixels we have rounding errors
10979
10980 2002-04-11  Juergen Vigna  <jug@sad.it>
10981
10982         * text2.C (setCursorFromCoordinates): set iy to the right value.
10983         (setCursor): add check if row->previous exists!
10984
10985         * buffer.C (parseSingleLyXformat2Token): reset font after read of
10986         an old float_type as this was the case in the old code!
10987
10988         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10989
10990         * BufferView2.C (showLockedInsetCursor): use iy
10991         (fitLockedInsetCursor): ditto
10992
10993         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10994         locked insets as there we have the right value now.
10995
10996         * lyxcursor.C: added iy_ variable and iy functions to set to the
10997         baseline of cursor-y of the locked inset.
10998
10999         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11000         (setCursor): fixed for insets which need a full row.
11001
11002         * text.C (rowLastPrintable): don't ignore the last space when before
11003         an inset which needs a full row.
11004         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11005         as last character of a row when before a inset which needs a full row.
11006
11007 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11008
11009         * version.C.in: update date
11010
11011         * text2.C (fullRebreak): try to always return true and see what
11012         happens...
11013
11014 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11015
11016         * MenuBackend.C (expand): use Floating::listName
11017
11018         * FloatList.C (FloatList): add listName argument to the built-in
11019         floats
11020
11021         * Floating.[Ch]: add listName member, which is the 'List of XXX'
11022         text associated with the float.
11023
11024 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11025
11026         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11027
11028 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11029
11030         * ShareContainer.h: add a couple of missing typenames.
11031
11032 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
11033
11034         * lyxrc.C (getDescription): use _() correctly rather than N_().
11035
11036 2002-03-28  Herbert Voss  <voss@lyx.org>
11037
11038         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11039         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11040
11041 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11042
11043         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11044         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11045
11046 2002-03-29  Juergen Vigna  <jug@sad.it>
11047
11048         * lyxfunc.C (dispatch): add a missing fitCursor call.
11049
11050         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11051         it was scrolled by a cursor move, so return the bool status.
11052
11053         * BufferView.C (fitCursor): return the bool flag also to the outside
11054         world as this is needed.
11055
11056         * screen.C (toggleToggle): don't subtract the offset if it's positive.
11057
11058         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11059         call the edit() as it is not needed (and wrong) IMO.
11060         (workAreaButtonPress): set the screen_first variable before evt.
11061         unlock the inset as this may change screen_first and then we have
11062         a wrong y position for the click!
11063
11064 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11065
11066         * MenuBackend.C (expand): another translation that I missed
11067
11068 2002-03-28  Juergen Vigna  <jug@sad.it>
11069
11070         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11071
11072         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11073
11074 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11075
11076         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11077
11078         * MenuBackend.C (expand): fix export/view/update when there is no
11079         document open.
11080
11081 2002-03-27  Herbert Voss  <voss@lyx.org>
11082
11083         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11084         and text%
11085
11086 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11087
11088         * bufferview_funcs.C (currentState): only show paragraph number
11089         for is DEVEL_VERSION is set.
11090
11091         * lyxfunc.C (dispatch): put warning in INFO channel
11092
11093         * MenuBackend.C (expand): translate the name of floats
11094
11095         * FloatList.C (FloatList): mark the float names for translation
11096
11097         * converter.C (convert): use LibScriptSearch
11098
11099 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11100
11101         * MenuBackend.C (defaults): fix default menu (we might as well get
11102         rid of it...)
11103
11104 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11105
11106         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11107         directory.
11108
11109 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11110
11111         * lyxvc.C: reorder includes.
11112
11113 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
11114
11115         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11116           properly
11117
11118 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
11119
11120         * CutAndPaste.C: change layouts earlier on paste
11121           to avoid crashing when calling getFont()
11122
11123 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
11124
11125         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11126         irritating #error.
11127
11128 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11129
11130         * WorkArea.C: remove 'Pending' debug message.
11131
11132         * most files: ws cleanup
11133
11134         * buffer.[Ch]: ws changes
11135
11136         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11137
11138 2002-03-21  Juergen Vigna  <jug@sad.it>
11139
11140         * tabular.C (SetMultiColumn): collapse also the contents of the
11141         cells and set the last border right. Added a Buffer const * param.
11142
11143 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11144
11145         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11146         linking or not.
11147
11148 2002-03-19  Juergen Vigna  <jug@sad.it>
11149
11150         * text2.C (clearSelection): reset also xsel_cache.
11151
11152         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11153         where it needs to be called (John tells us to do so too :)
11154         (selectionLost): reset sel_cache.
11155
11156         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11157
11158 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11159
11160         * text2.C (setCursorIntern): put debuging code in INSETS channel
11161
11162 2002-03-19  André Pönitz <poenitz@gmx.net>
11163
11164         * lyxfunc.C: tiny whitespace change
11165
11166 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11167
11168         * ToolbarDefaults.C (init):
11169         * LyXAction.C (init):
11170         * commandtags.h:
11171         * BufferView_pimpl.C (Dispatch):
11172         * lyxfunc.C (dispatch): remove LFUN_DEPTH
11173
11174 2002-03-19  Allan Rae  <rae@lyx.org>
11175
11176         * exporter.C (Export): removeAutoInsets before doing anything else.
11177         While I've just introduced a dependency on BufferView this really is
11178         the best place to clean the buffer otherwise you need to cleanup in
11179         a dozen places before calling export or cleanup in a dozen functions
11180         that export calls.
11181
11182         * converter.C (runLaTeX):
11183         (scanLog): Better handling of removeAutoInsets and screen updates.
11184
11185         * lyxfunc.C (dispatch): small whitespace changes
11186
11187 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11188
11189         * WorkArea.C (C_WorkAreaEvent): return a value.
11190         (event_cb): return 1 if we handled the event, 0 otherwise.
11191
11192         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11193
11194 2002-03-18  Juergen Vigna  <jug@sad.it>
11195
11196         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11197         (GetAdditionalWidth): ditto.
11198         (RightLine): ditto.
11199         (LeftLine): ditto.
11200
11201         * BufferView2.C (copy): use getLyXText() so that we do it inside an
11202         inset if we're there actually (probably not used right now but this
11203         is the direction to go for unifying code).
11204         (paste): disable code to clear the selection.
11205
11206         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11207         inside an InsetText and move the check further up as it is in the
11208         wrong place.
11209
11210         * text2.C (pasteSelection): set a selection over the pasted text.
11211
11212 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
11213
11214         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11215         and libgraphics to build on Cygwin.
11216
11217 2002-03-15  Juergen Vigna  <jug@sad.it>
11218
11219         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11220         inserting an Inset into the paragraph. I know this is not the best
11221         fix but we already use current_view in CutAndPaste so we will remove
11222         all of it's using at the same time.
11223
11224         * buffer.C (sgmlError): deactivated function till it is rewritten in
11225         the right mode, now it can create problems.
11226
11227         * paragraph.C (isLineSeparator): check if getInset returns != 0,
11228         before accessing it.
11229
11230 2002-03-14  Juergen Vigna  <jug@sad.it>
11231
11232         * undo_funcs.C (textHandleUndo): do the right thing when updating
11233         the inset after the undo/redo.
11234
11235         * text2.C (setCursor): just some testcode for #44 not ready yet.
11236
11237         * undo_funcs.C (textHandleUndo): set the next() and previous()
11238         pointers of the paragraph to 0 before deleting otherwise we have
11239         problems with the Paragraph::[destructor].
11240
11241         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11242         on a paragraph insertion.
11243
11244 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11245
11246         * buffer.C (asciiParagraph): use += operator for char append to
11247         string.
11248
11249         * paragraph.C (getFontSettings): compare >= not just >
11250         (highestFontInRange): ditto
11251         (setFont): ditto
11252
11253 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11254
11255         * paragraph.C: change several algorithm to be more appripriate for
11256         the problem domain. This is lookip in FontList and in the InsetList.
11257
11258 2002-03-13  André Pönitz <poenitz@gmx.net>
11259
11260         * commandtags.h:
11261         * LyXAction.C: remove unused LFUN_MATH_MACROARG
11262
11263 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
11264
11265         * commandtags.h:
11266         * LyXAction.C:
11267         * lyxfunc.C:
11268         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11269
11270 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11271
11272         * Painter.C (display): anon helper function, adjust code for this
11273         change.
11274         (pixmap): remove function.
11275
11276         * Painter.h: remove private display variable.
11277
11278         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11279
11280 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
11281
11282         * WorkArea.[Ch]: remove figinset_canvas cruft.
11283
11284 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11285
11286         * lyxtextclass.C (operator): add one item cache optimization.
11287
11288         * bufferlist.h: doxy changes
11289
11290         * bufferlist.C: ws changes
11291
11292         * DepTable.[Ch] (ext_exist): place const in the right spot.
11293
11294         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11295         call resizeInsets.
11296         (workAreaExpose): call resizeInsets when the with BufferView changes.
11297         (Dispatch): adjust for protectedBlank removal
11298         (specialChar): call updateInset if the insert went ok.
11299
11300         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11301         specialChar instead.
11302
11303         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11304
11305         * BufferView.h: doxy change
11306
11307         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11308
11309         * lyxtextclass.C (operator[]): remove non-const version
11310         (defaultLayout): remove non-const version
11311
11312 2002-03-12  Juergen Vigna  <jug@sad.it>
11313
11314         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11315         did resize the LyXText too.
11316
11317         * buffer.C (readLyXformat2): set layout information on newly allocated
11318         paragraphs.
11319
11320         * tabular.C (OldFormatRead): set layout information on the paragraph.
11321
11322 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11323
11324         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11325
11326 2002-03-11  Juergen Vigna  <jug@sad.it>
11327
11328         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11329         plainly wrong.
11330         (resizeCurrentBuffer): force also the insets to resize themselfes.
11331         (moveCursorUpdate): fixed up for InsetText.
11332
11333 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
11334
11335         * commandtags.h:
11336         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11337         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11338         value of Dialogs::tooltipsEnabled().
11339         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11340
11341 2002-03-08  Juergen Vigna  <jug@sad.it>
11342
11343         * BufferView_pimpl.C (updateInset): update inset inside inset also
11344         if it isn't inside theLockingInset().
11345
11346 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11347
11348         * buffer.C (asciiParagraph): redo some of the word and line length
11349         handling.
11350         (getLists): look for Caption instead of caption.
11351
11352 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11353
11354         * buffer.C (Buffer): initialize niceFile to true
11355         (makeLaTeXFile):
11356         (makeLinuxDocFile):
11357         (makeDocBookFile): make sure niceFile is true on exit
11358
11359 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11360
11361         * buffer.C (makeLaTeXFile): escape ~ in \input@path
11362
11363 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
11364
11365         * LyXSendto.C: remove.
11366         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11367         * lyx_gui.C: remove now-redundant comment.
11368         * ColorHandler.h: remove forward declaration of class WorkArea.
11369         * lyxfunc.C: remove #include "WorkArea.h".
11370
11371 2002-03-07  Juergen Vigna  <jug@sad.it>
11372
11373         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11374         got moved away with the DEPM and also set the inset_owner always
11375         right which before could have been omitted.
11376
11377 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11378
11379         * buffer.C (parseSingleLyXformat2Token): use default layout is the
11380         wanted layout is not found.
11381
11382 2002-03-07  Juergen Vigna  <jug@sad.it>
11383
11384         * CutAndPaste.C (cutSelection): another layout settings forgotten.
11385
11386 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11387
11388         * paragraph.C (breakParagraph): use default layout not layout of
11389         prev paragraph.
11390         (Paragraph): clear ParagraphParameters.
11391
11392 2002-03-06  Juergen Vigna  <jug@sad.it>
11393
11394         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11395         otherwise it would not be a valid lenght. Fixed a special case in
11396         the minipage compatibility read where we end the document with a
11397         minipage.
11398
11399         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11400         was set as it could be 0 for InsetTexts first entry.
11401
11402 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11403
11404         * paragraph.C (writeFile): if layout is empty write out
11405         defaultLayoutName().
11406
11407         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11408         file without named layout we set layout to defaultLayoutName().
11409
11410 2002-03-06  Juergen Vigna  <jug@sad.it>
11411
11412         * CutAndPaste.C (copySelection): set layout for new paragraph.
11413
11414         * text.C (prepareToPrint): leave ERT inset left aligned
11415         (leftMargin): don't indent paragraphs inside ERT insets
11416
11417 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11418
11419         * paragraph.C (breakParagraph): dont call clear do the work manually
11420
11421         * paragraph.[Ch] (clear): remove function
11422
11423 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11424
11425         * paragraph.C (Paragraph): dont call clear, the work has already
11426         been done.
11427
11428         * lyxtextclass.C (operator): assert if n is empty
11429
11430         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11431         work manually instead.
11432
11433 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11434
11435         * BufferView_pimpl.C: protect selectionLost against text == 0
11436
11437 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11438
11439         * text.C (breakParagraph): fix a setting layout to '0' problem.
11440
11441 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11442
11443         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11444         final location of file, for the included files, and graphics.
11445
11446 2002-03-05  Juergen Vigna  <jug@sad.it>
11447
11448         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11449
11450 2002-03-04  Juergen Vigna  <jug@sad.it>
11451
11452         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11453
11454         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11455         last column of multicolumn cells.
11456         (SetWidthOfMulticolCell): recalculate NMC and real columns.
11457
11458 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11459
11460         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11461         file if it doesn't go to a temporary file.
11462
11463         * buffer.C (sgmlOpenTag):
11464         (sgmlCloseTag):  remove extra newline insertion.
11465
11466 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11467
11468         * text.C (getRowNearY): comment out debug msg
11469
11470 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11471
11472         * text2.C: first -> first_y
11473
11474         * text.C (getRowNearY): add some attemts at a possible
11475         optimization, not working.
11476
11477         * tabular.[Ch]: add BufferParams to several function so that newly
11478         created paragraph can be initialized to he default layotu for the
11479         buffers textclass.
11480
11481         * tabular-old.C (ReadOld): add buf->params to call of Init
11482
11483         * screen.C: rename text->first to text->first_y
11484
11485         * paragraph.C (breakParagraph): always set layout in the broken
11486         paragraph
11487
11488         * lyxtextclass.C (Read): remove lowercase
11489         (hasLayout): ditto
11490         (operator): ditto
11491         (delete_layout): ditto
11492
11493         * lyxtext.h: rename first -> first_y
11494
11495         * lyxlayout.C (Read): remove lowercase
11496         (name): ditto
11497         (setName): ditto
11498         (obsoleted_by): ditto
11499
11500         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11501
11502         * buffer.C (insertErtContents): add params are to InsetERT
11503         (parseSingleLyXformat2Token): add code to check if a paragraphs
11504         layout really exist.
11505         (parseSingleLyXformat2Token): add params to several inset
11506         constructors
11507         (asciiParagraph): remove lowercase, do the layout comparisons with
11508         no_case
11509
11510         * BufferView_pimpl.C (cursorNext): first -> first_y
11511         (resizeCurrentBuffer): first -> first_y
11512         (updateScrollbar): first -> first_y
11513         (scrollCB): first -> first_y
11514         (workAreaMotionNotify): first -> first_y
11515         (workAreaButtonPress): first -> first_y
11516         (checkInsetHit): first -> first_y
11517         (cursorPrevious): first -> first_y
11518         (cursorNext): first -> first_y
11519         (Dispatch): add buffer_->params to severl inset contructors
11520
11521 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11522
11523         * lyxlayout.C (Read): remove some debug info that I forgot.
11524
11525         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11526         clean up the code slightly.
11527         (makeLinuxDocFile): ditto
11528         (makeDocBookFile): ditto
11529
11530         * text2.C: layout as string
11531
11532         * text.C: layout as string
11533
11534         * paragraph_pimpl.C: layout as string
11535
11536         * paragraph.[Ch]: layout as string
11537
11538         * lyxtextclasslist.[Ch]: layout as string
11539
11540         * lyxtextclass.[Ch]: layout as string
11541
11542         * lyxtext.h: layout as string
11543
11544         * lyxlayout.[Ch]: layout as string
11545
11546         * lyx_cb.C: layout as string
11547
11548         * bufferview_funcs.C: layout as string
11549
11550         * bufferparams.C: layout as string
11551
11552         * buffer.C: layout as string
11553
11554         * LyXView.[Ch]: layout as string
11555
11556         * LaTeXFeatures.[Ch]: layout as string
11557
11558         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11559
11560         * BufferView_pimpl.C: change current_layout to string, remove
11561         lyx::layout_type.
11562         (Dispatch):
11563         (smartQuote):
11564         (insertInset):
11565         (workAreaButtonRelease): layout as string
11566
11567         * BufferView2.C (unlockInset): adjust
11568
11569         * vspace.C (asLatexCommand): use an explict temp variable.
11570
11571 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11572
11573         * Makefile.am: use FRONTEND_*
11574
11575 2002-03-01  Juergen Vigna  <jug@sad.it>
11576
11577         * tabular.C (SetWidthOfMulticolCell): changed to something better
11578         I hope but still work in progress.
11579         (recalculateMulticolumnsOfColumn): renamed function from
11580         recalculateMulticolCells as it is more appropriate now.
11581         (SetWidthOfCell): calculate multicols better.
11582
11583 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11584
11585         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11586
11587         * lyxfunc.C (processKeySym): print sequence also if it is
11588         `deleted' (complete)
11589
11590         * kbsequence.C (print): print sequence even if it is deleted
11591         (complete would be a better word, actually).
11592
11593         * lyxfunc.C (dispatch): print complete options after a prefix key
11594
11595         * vspace.C (asLatexCommand): rewrite in a slightly different form.
11596
11597 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
11598
11599         * text2.C (setCharFont): eliminate setCharFont code duplication.
11600
11601 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11602
11603         * BufferView_pimpl.C (Dispatch): remove bogus handling of
11604         LFUN_TABULAR_FEATURE (bug #177)
11605
11606 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
11607
11608         * Makefile.am: remove figure.h
11609
11610 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
11611
11612         * Bufferview_pimpl.C:
11613         * CutAndPasteC:
11614         * LaTeX.C:
11615         * LyXSendto.C:
11616         * buffer.C:
11617         * bufferlist.C:
11618         * converter.C:
11619         * language.C:
11620         * lyxfunc.C:
11621         * lyxvc.C:
11622         * paragraph.C:
11623         * text.C:
11624         * text2.C: remove #include "lyx_gui_misc.h".
11625
11626         * LaTeX.C: added #include <cstdio>
11627
11628 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11629
11630         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11631         that the paragraph following this one can have.
11632
11633         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11634
11635         * vspace.C (asLatexCommand): fix bogus gcc warning
11636
11637         * Makefile.am (lyx_SOURCES): remove vms_defines.h
11638
11639 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
11640
11641         * text2.C (setLayout): get rid of redundant code
11642
11643 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
11644
11645         * text2.C (incDepth): make sure depth cannot be increased beyond
11646         reasonable values.
11647
11648 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
11649
11650         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11651         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11652
11653         * PainterBase.h (image):
11654         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11655         a LyXImage const *.
11656
11657 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11658
11659         * BufferView.C:
11660         * BufferView.h:
11661         * BufferView_pimpl.C:
11662         * BufferView_pimpl.h:
11663         * LaTeXFeatures.C:
11664         * LyXAction.C:
11665         * LyXView.C:
11666         * Makefile.am:
11667         * UpdateList.h:
11668         * UpdateList.C:
11669         * buffer.C:
11670         * figure.h:
11671         * figureForm.C:
11672         * figureForm.h:
11673         * figure_form.C:
11674         * figure_form.h:
11675         * lyx_cb.C:
11676         * lyx_gui.C:
11677         * lyx_gui_misc.C:
11678         * lyxfunc.C:
11679         * sp_base.h:
11680         * sp_ispell.h:
11681         * sp_pspell.h:
11682         * sp_spell.C: remove fig inset, and the crap house of
11683           cards that follows it
11684
11685 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11686
11687         * Makefile.am:
11688         * lyxserver.C:
11689         * os2_defines.h:
11690         * os2_errortable.h:
11691         * nt_defines.h: move .h into support/
11692
11693         * vms_defines.h: remove
11694
11695         * WorkArea.C: add space in debug output
11696
11697         * text2.C:
11698         * paragraph.C:
11699         * buffer.C: add WITH_WARNINGS
11700
11701         * vc-backend.h:
11702         * vc-backend.C:
11703         * bufferlist.C: s/retrive/retrieve/, add docs
11704
11705         * vspace.h:
11706         * vspace.C:
11707         * kbmap.h:
11708         * lyxlength.h:
11709         * lyxgluelength.h:
11710         * length_common.h:
11711         * chset.h:
11712         * chset.C: add docs
11713
11714         * lyxgui.C: add ID to X error handler
11715
11716         * lyxtestclass.c: fix typo
11717
11718 2002-02-26  Juergen Vigna  <jug@sad.it>
11719
11720         * tabular_funcs.C (write_attribute): changed so that some default
11721         attributes are not written at all.
11722         (getTokenValue): set default values before trying to read the
11723         value so we have the return value always set as default if we don't
11724         find the token we search for.
11725
11726         * tabular.C (Write): write bools as bools not as strings!
11727
11728 2002-02-22  Juergen Vigna  <jug@sad.it>
11729
11730         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11731         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11732
11733         * text.C (leftMargin): don't add an indent for paragraphs inside
11734         tabular cells (fix #208).
11735
11736 2002-02-21  José Matos  <jamatos@fep.up.pt>
11737
11738         * tabular.C (docBook): fixed support for long tables.
11739
11740 2002-02-20  Juergen Vigna  <jug@sad.it>
11741
11742         * text2.C (getFont): get the drawing font of the Inset if this
11743         paragraph is inside an inset (only important for InsetERT for now).
11744
11745         * buffer.C (insertErtContents): use new lanugage params in ERT
11746         constructor.
11747
11748         * CutAndPaste.C: commenting out seemingly uneeded code.
11749
11750 2002-02-19  Allan Rae  <rae@lyx.org>
11751
11752         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11753         Iterators might be simple to use but they also get invalidated.
11754         (removeAutoInsets): renamed saved cursor tracking variables and added
11755         some comments to clarify what everything does.
11756
11757 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
11758
11759         * Chktex.C:
11760         * LaTeX.C:
11761         * LyXSendto.C:
11762         * converter.C:
11763         * lyx_cb.C:
11764         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11765         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11766
11767         * lyxfunc.C:
11768         * vc-backend.h: remove #include "support/syscall.h"
11769
11770         * LaTeX.C:
11771         * LyXSendto.C:
11772         * converter.C: rearrange #includes in Lars' approved fashion.
11773
11774         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11775         forward declare class Timeout in the header file.
11776
11777         * XFormsView.C: changes due to the above.
11778
11779         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11780         similar to LyXView.
11781
11782         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11783         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11784
11785 2002-02-18  José Matos  <jamatos@fep.up.pt>
11786
11787         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11788         insets contents.
11789
11790 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
11791
11792         * a lot of small ws changes
11793         * add a lot of using std::XXX
11794         * use std construcs some places where approp.
11795         * use some exisint stuff from lyxfunctional where approp.
11796         * Make file changes to use partial linking (lets test this now...)
11797
11798 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11799
11800         * Chktex.C:
11801         * buffer.C:
11802         remove #include "support/syscontr.h" as it's redundant. Always has been.
11803
11804         * Chktex.C:
11805         * LaTeX.C:
11806         * LyXSendto.C:
11807         * converter.C:
11808         * lyx_cb.C:
11809         * vc-backend.C:
11810         change Systemcalls::System to Systemcalls::Wait and
11811         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11812         No change of functionality, just reflects the stripped down Systemcalls
11813         class.
11814
11815 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11816
11817         * debug.[Ch]: add a GRAPHICS type to the enum.
11818
11819 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11820
11821         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11822
11823         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11824         there is an inset.
11825
11826 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11827
11828         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11829         match the changes below.
11830
11831         * text2.C (toggleInset): if there is not editable inset at cursor
11832         position, try to see if cursor is _inside_ a collapsable inset
11833         and close it.
11834
11835 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11836
11837         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11838         document menu has a nice checkbox
11839
11840 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11841
11842         * lyxlength.C (asLatexString): change PW to output as percent of
11843         \textwidth.
11844
11845         * lengthcommon.C: change '%' to 't%'
11846
11847         * lyxfunc.C (dispatch): a few comments from Martin
11848
11849 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
11850
11851         * WorkArea.h:
11852         * WorkArea.C:
11853         * BufferView_pimpl.h:
11854         * BufferView_pimpl.C: clear our selection when X tells us we've lost
11855           the X selection.
11856
11857 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11858
11859         * vspace.C (inPixels): fix compiler warning
11860
11861 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11862
11863         * lyxfunc.C (getStatus): fix status message for disabled commands.
11864
11865 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
11866
11867         * BufferView_pimpl.C: fix crash on close buffer
11868         during selection (#227)
11869
11870 2002-01-27  Herbert Voss  <voss@lyx.org>
11871
11872         * buffer.C: link old Figure to new graphic inset
11873
11874 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
11875
11876         * FontLoader.C (getFontinfo): Change the latex font names in order
11877         to match the names of type1inst.
11878
11879 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11880
11881         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11882
11883         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11884         (extchanged): ditto
11885         (ext_exist): ditto
11886         (remove_files_with_extension): ditto
11887         (remove_file): ditto
11888         (write): ditto
11889
11890         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11891         document is smaller than the work area height. Do not initialize
11892         static variables to 0.
11893
11894 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11895
11896         * lyx_gui.C (init): give the toolbar tooltips a normal font.
11897
11898         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11899         LFUN_LAYOUT_PARAGRAPHS.
11900
11901         * tabular.C (GetCellFromInset): new method. Finds an inset in a
11902         tabular. It is possible to provide a possible cell, which will
11903         typically be the actcell from the corresponding insettabular
11904
11905         * lyxfunc.C (getStatus): small cleanup; disable
11906         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11907         true
11908
11909 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11910
11911         * tabular.C (Validate): remove broken optimization (fixes bug #201)
11912
11913         * paragraph.C (startTeXParParams):
11914         (endTeXParParams): new methods. The LaTeX code to
11915         start/end paragraph formatting
11916         (simpleTeXOnePar): call startTeXParParams also when paragraph is
11917         empty (fixes bug #200)
11918
11919         * vspace.C (inPixels): adapt to the change below
11920         (inPixels): [later] more cleanups (remove unused variables)
11921
11922         * lyxlength.C (inPixels): change to use a width and a height as
11923         parameter.
11924
11925 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11926
11927         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11928         Replaced with \paperwidth
11929
11930         * DepTable.C (insert): add std:: qualifier
11931
11932 2002-01-18  Allan Rae  <rae@lyx.org>
11933
11934         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
11935         updated also?
11936
11937         * text.C (drawInset): Turned out I didn't know enough about how
11938         rebreaking worked.  This fixes most of the redraw problems.  I see
11939         an occasional cursor trail when a line is broken now and the cursor
11940         placement can seem out by a few pixels also after a rebreak.
11941
11942 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11943
11944         * buffer.C (parseSingleLyXformat2Token): update because minipage
11945         width is now a LyXLength
11946
11947         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11948
11949         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11950         math insets
11951
11952 2002-01-17  Juergen Vigna  <jug@sad.it>
11953
11954         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11955
11956         * BufferView2.C (lockInset): call edit() so that theLockingInset()
11957         is set correctly and the inset is updated correctly.
11958
11959 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11960
11961         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11962         the beginning of the loop.
11963
11964 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
11965
11966         * lyxrc.C: improve help for use_scalable_fonts
11967
11968 2002-01-17  Allan Rae  <rae@lyx.org>
11969
11970         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11971
11972 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11973
11974         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11975         make sure to set their inset_owner to the right value (bug #171)
11976
11977 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
11978
11979         * DepTable.h
11980         * DepTable.C: Implement mtime checking to reduce time spent doing
11981         CRCs.
11982
11983 2002-01-16  Juergen Vigna  <jug@sad.it>
11984
11985         * tabular.C (GetAdditionalHeight): one of error fixed.
11986
11987         * lyxrc.C (output): small fix in writing use_pspell.
11988
11989 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
11990
11991         * sp_base.h: #include LString.h
11992
11993 2002-01-16  Allan Rae  <rae@lyx.org>
11994
11995         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
11996         Can someone check this please?
11997
11998         * text.C (drawInset): It was possible that p.row would be removed by
11999         breakAgainOneRow upsetting a few other settings.  There may be another
12000         small tweak possible by setting need_break_row = 0 when p.row has been
12001         removed but I don't know enough about the logic here.
12002
12003 2002-01-15  Allan Rae  <rae@lyx.org>
12004
12005         * text.C (insertChar): removed conditional truism.
12006
12007         * BufferView2.C (removeAutoInsets): More tweaks.
12008         cur_par_prev could be a stray pointer.  Check for trailing empty line
12009         in case last line was cur_par and only had an error inset on it.
12010
12011 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12012
12013         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12014         absolute
12015
12016         * vc-backend.C (most methods):
12017         * exporter.C (Export):
12018         * converter.C (convert):
12019         (runLaTeX):
12020         * LyXSendto.C (SendtoApplyCB):
12021         * lyxfunc.C (dispatch):
12022         (menuNew):
12023         (open):
12024         (doImport):
12025         * lyx_cb.C (AutoSave):
12026         (InsertAsciiFile):
12027         * BufferView_pimpl.C (MenuInsertLyXFile):
12028         * buffer.C (runChktex): use Buffer::filePath().
12029
12030         * buffer.h: rename filename to filename_; rename filepath to
12031         filepath_ and make it private
12032         (filePath): new method
12033
12034         * buffer.C (writeFile): use fileName()
12035         (getLatexName):
12036
12037         * lyx_main.C (init): fix starting  of LyX when the binary is a
12038         link from so,ewhere else.
12039
12040         * minibuffer.C: include <cctype> for isprint
12041
12042 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12043
12044         * buffer.C (parseSingleLyXformat2Token): changes associated with the
12045         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12046         name clash with InsetCollapsable's width function.
12047
12048 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12049
12050         * lastfiles.C: include <iterator>
12051
12052 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12053
12054         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12055         std::count.
12056
12057         * buffer.C (makeLaTeXFile): ditto.
12058         Also make loop operation more transparent.
12059
12060 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12061
12062         * ToolbarDefaults.C: remove trailing comma closing namespace.
12063
12064         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12065
12066         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12067         as in WorkArea.
12068
12069         * trans.C (Load): comment out unused variable, allowed.
12070
12071 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12072
12073         * minibuffer.[Ch] (append_char): new method to recieve input from the
12074         drop-down completion browser. If a key was pressed, then recieve this
12075         char and append it to the existing string.
12076         (peek_event): modify the positioning data passed to the completion
12077         browser so that it can be placed above the minibuffer rather than below.
12078 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12079
12080         * LyXAction.C (init): alloe error-next for readonly documents.
12081
12082         * BufferView2.C (ChangeRefsIfUnique): use standard version of
12083         count.
12084
12085 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12086
12087         * bufferlist.C (readFile): create the buffer _after_ checking that
12088         the file exists.
12089
12090         * lyxfunc.C (verboseDispatch): fix handling of arguments
12091
12092         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12093
12094         * lyxrc.C: use string::erase() instead of initializing to "".
12095
12096
12097 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12098
12099         * BufferView_pimpl.h:
12100         * BufferView_pimpl.C:
12101         * WorkArea.h:
12102         * WorkArea.C:
12103         * text2.C: tell X when we have made a selection for copying
12104
12105 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12106
12107         * BufferView_pimpl.C (MenuInsertLyXFile):
12108         * lyxfunc.C (menuNew):
12109         (open):
12110         (doImport): add shortcuts to directory buttons
12111
12112         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12113         open a float)
12114
12115         * lyxfunc.C (setStatusMessage):
12116         (getStatusMessage): new methods
12117         (getStatus):use setStatusMessage instead of setErrorMessage
12118         (dispatch): when function is disabled, set error message here
12119         [instead of in getStatus previously]
12120
12121         * BufferView_pimpl.C (workAreaButtonRelease): update
12122         toolbar/menubar here too.
12123
12124 2002-01-13  Allan Rae  <rae@lyx.org>
12125
12126         * BufferView2.C (removeAutoInsets): finished off earlier fix.
12127         Now seems indestructible.  Remaining task is to audit all other
12128         code affected by deleteEmptyParagraphMechanism.  One small quirk
12129         left is that an empty document with an error in the preamble can
12130         be made to report an error but no error box appears.  I don't know
12131         where it goes.
12132         (removeAutoInsets): Improved comments.
12133
12134 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
12135
12136         * Thesaurus.h:
12137         * Thesaurus.C: update for Aiksaurus 0.14
12138
12139 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12140
12141         * text2.C (firstParagraph): removed member function, all uses
12142         replaces with ownerParagraph
12143         (redoParagraphs): here
12144         (updateInset): here
12145         (toggleAppendix): here
12146         * BufferView2.C (insertErrors): here
12147         (setCursorFromRow): here
12148
12149 2002-01-13  Allan Rae  <rae@lyx.org>
12150
12151         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12152         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12153         There is still a way to segfault this although you may have to do this
12154         multiple times: Have an InsetERT with an unknown command in it.
12155         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12156         <down-arrow>, <Enter> again, View->DVI, BANG!
12157
12158         * text2.C (setCursor):
12159         (deleteEmptyParagraphMechanism):
12160         * lyxtext.h (setCursor):
12161         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12162         Making use of the return value may help fix other bugs.
12163
12164 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12165
12166         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12167
12168         * LyXView.C (updateMenubar): call MenuBar::update here
12169         (updateToolbar): but not here
12170         (showState): do not update toolbar/menubar
12171
12172         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12173         should need to care about that.
12174
12175         * lyxfunc.C (verboseDispatch): simplify a bit
12176         (getStatus): have a version which takes a pseudoaction, and
12177         another which requires a (kb_action,string).
12178
12179         * LyXAction.C (retrieveActionArg): make it work also when action
12180         is not a pseudo-action.
12181         (getActionName): simplify a bit
12182         (helpText):
12183
12184 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12185
12186         * lyxfunc.C (verboseDispatch): new families of methods with
12187         several ways to specify a command and a bool to indicate whether
12188         the command name and shortcut should be displayed in minibuffer
12189         (eventually, we could extend that to a finer bitmask like
12190         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12191         (dispatch): the pristine dispatch command which just, well,
12192         dispatchs! Note it still sets its result to minibuffer; I'm not
12193         sure we want that.
12194
12195         * lyxfunc.h: remove setHintMessage
12196
12197         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12198
12199 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12200
12201         * BufferView_pimpl.C (specialChar): delete new inset if we have
12202         not been able to insert it.
12203
12204         * kbmap.C: revert to using int instead of kb_action, since all we
12205         are dealing with is pseudo-actions.
12206
12207         * LyXAction.C (searchActionArg): change to return int instead of
12208         kb_action, since the result is a pseudoaction.
12209
12210 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
12211
12212         * buffer.C (insertErtContents): Fix (partially) the font bug.
12213
12214 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12215
12216         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12217         as the other one is broken on my machine!
12218
12219 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
12220
12221         * commandtags.h:
12222         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12223
12224 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
12225
12226         * lyxrc.[Ch]: change names and descriptions of popup font variables to
12227         reflect their actual use. Provide compatibility code for older lyxrc
12228         files.
12229
12230         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12231         FL_NORMAL_STYLE.
12232         change names of popup font variables in line with the changes to lyxrc.C
12233
12234 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12235
12236         * buffer.C (asciiParagraph): avoid outputing a word twice after
12237         an inset.
12238
12239         * lyxrc.C (getDescription): document that document_path and
12240         template_path can be empty.
12241
12242 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12243
12244         * LaTeXFeatures.C (getMacros):
12245         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12246
12247         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12248
12249         * LaTeXFeatures.C (useFloat): require "float" here instead of in
12250         getPackages.
12251         (getPackages): rename feature "floats" to "float". Use an array to
12252         iterate over 'simple' features (i.e. just a \usepackage). Add
12253         handling of "amsmath" (renamed from "amsstyle").
12254
12255 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
12256
12257         * LaTeXFeatures.C (require): Prevent duplicate entries in the
12258         features list.
12259
12260 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
12261
12262         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12263         FuncStaus::FuncStatus & FuncStaus::some_method().
12264
12265 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
12266
12267         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12268         of the func_satus stuff. Edited and massaged in various ways by
12269         JMarc.
12270
12271         * lyxfunc.C (getStatus): use FuncStatus
12272
12273 2002-01-08  Juergen Vigna  <jug@sad.it>
12274
12275         * text.C (nextBreakPoint): use function Inset::isChar().
12276
12277         * paragraph.C (TeXOnePar): use function
12278         Inset::forceDefaultParagraphs.
12279
12280         * buffer.C (latexParagraphs): use function
12281         Inset::forceDefaultParagraphs.
12282
12283 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12284
12285         * lyx_gui.C (init): set the style of the menu popups to
12286         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12287
12288 2002-01-07  Juergen Vigna  <jug@sad.it>
12289
12290         * text.C (setHeightOfRow): small fix
12291         (prepareToPrint): don't look at alignment if we don't have the place
12292         for doing it.
12293
12294 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12295
12296         * box.C: New file. Move the Box methods and functions out of box.h,
12297         following Lars' suggestion.
12298
12299 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12300
12301         * box.h: #include "support/LOstream.h", needed for inlined function.
12302
12303         * lyxtextclass.C:
12304         * lyxtextclasslist.C: added some using std declarations.
12305
12306 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
12307
12308         * box.h: make signed dimensions to allow insets wider than
12309           the screen (bug #162)
12310
12311         * BufferView_pimpl.C: add some insetHit debug
12312
12313 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
12314
12315         * vc-backend.C: add FIXME
12316
12317 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12318
12319         * lyxfunc.C (getStatus): enable code for showing math font status
12320         in toolbar/menu.
12321
12322 2002-01-07  Juergen Vigna  <jug@sad.it>
12323
12324         * text.C (nextBreakPoint): removed debug output not needed anymore.
12325
12326 2002-01-06  Juergen Vigna  <jug@sad.it>
12327
12328         * text.C (nextBreakPoint): fixed up this function we had this bug
12329         since ever but now hopefully we break row better.
12330         (insertChar): we have to check if an inset is the next char as it
12331         could now happen that a large inset is causing a break.
12332
12333 2002-01-05  Juergen Vigna  <jug@sad.it>
12334
12335         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12336         if it doesn't like to be drawed.
12337
12338 2002-01-04  Juergen Vigna  <jug@sad.it>
12339
12340         * BufferView2.C (lockInset): forgot to set a cursor.
12341
12342         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12343
12344 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
12345
12346         * FormMathsPanel.C:
12347         * FormMathsPanel.h
12348         * MathsSymbols.C:
12349         * form_maths_panel.C:
12350         * form_maths_panel.h:
12351         * form_maths_panel.fd: implemented sub- and super- buttons in math
12352         panel.
12353
12354         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12355         (or ^ space) to be used as in TeX (req'd by André).
12356
12357         * lyxfunc.C: Allow ^ and _ again to be used both as
12358         super/subscript (mathed) and as themselves (in text).
12359
12360 2002-01-03  Allan Rae  <rae@lyx.org>
12361
12362         * LyXView.C (updateWindowTitle): Setup a short icon title of either
12363         "LyX" or the filename of the current buffer if it has one.  This is a
12364         modified form of John Levon's patch.
12365
12366         * XFormsView.C (setWindowTitle): also set icon title.
12367
12368         * LyXView.h (setWindowTitle): signature changed.
12369         * XFormsView.h (setWindowTitle): ditto.
12370
12371 2002-01-02  Juergen Vigna  <jug@sad.it>
12372
12373         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12374
12375 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12376
12377         * screen.C (topCursorVisible): introduce a temp var for
12378         text->cursor.row(), handle the case where this row is null. (kindo
12379         hachish)
12380
12381         * text2.C (setCursor): add a couple of asserts.
12382
12383         * paragraph.h (inset_iterator): add -> operator
12384
12385         * paragraph.[Ch] (autoDeleteInsets): remove member function
12386
12387         * BufferView2.C (removeAutoInsets): rewrite to handle the old
12388         cursor pos correctly and handle inset deletion by itself.
12389         (insertErrors): move iterator declaration out of for expression
12390
12391         * lyxtextclass.C: add <algorithm>
12392
12393         * Makefile.am: added the new files to sources, removed layout.C
12394
12395         * layout.C: removed file
12396
12397         * layout.h: remove LYX_DUMMY_LAYOUT
12398
12399         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12400         layout.
12401
12402         * lyxlayout.[Ch]:
12403         * lyxtextclass.[Ch]:
12404         * lyxtextclasslist.[Ch]: new files
12405
12406         * include order changes to a lot of files, also changes because of
12407         the six new files.
12408
12409 2001-12-27  Juergen Vigna  <jug@sad.it>
12410
12411         * buffer.C (asciiParagraph): more fixes.
12412
12413         * tabular.C (ascii): make ascii export support export of only the
12414         data separated by a column-delimiter.
12415         (ascii): better support for ascii export.
12416
12417         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12418
12419 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12420
12421         * tabular_funcs.C: use a "using std::getline" instead of the
12422         previous fix from Angus (necessary for cxx + lyxstring)
12423
12424 2001-12-24  Juergen Vigna  <jug@sad.it>
12425
12426         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12427
12428         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12429         problems. First check a minipage also if we have some ert-contents
12430         (not only on par->size(), second set the right depth of the paragraph
12431         on the relink to the root-paragraph-list!
12432
12433         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12434         which then did not anymore update the main paragraphs on undo/redo!
12435
12436 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12437
12438         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12439         code. Support all font-changing funcs (even those which are not in
12440         menu currently). Support for reporting font settings in
12441         mathed (disabled until Andre provides a function on mathed's side).
12442
12443         * func_status.h (toggle): small helper function to set toggle
12444         state on a flag.
12445
12446 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
12447
12448         * tabular_funcs.C: getline -> std::getline
12449
12450 2001-12-21  Juergen Vigna  <jug@sad.it>
12451
12452         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12453         accessed and could be 0 (I couldn't generate this but it seems
12454         Michael could!).
12455
12456 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12457
12458         * tabular_funcs.C: add LIstream.h, move write_attribute to..
12459         * tabular_funcs.h: here and include iosfwd
12460
12461 2001-12-20  Juergen Vigna  <jug@sad.it>
12462
12463         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12464         inside inset but undo_par was.
12465
12466 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12467
12468         * Thesaurus.C: always include <config.h> in sources.
12469
12470         * Painter.h:
12471         * lyxlookup.h:
12472         * box.h: do not include <config.h> in header files
12473
12474         * text.C (paintLastRow): remove unused variable
12475
12476         * text.C (transformChar):
12477         (insertChar):
12478         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12479
12480         * Painter.C (text):
12481         * font.C (width): rewrite to use uppercase() instead of
12482         islower/toupper.
12483
12484         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12485
12486 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
12487
12488         * lyxfind.C: clean up of find failure position change
12489
12490 2001-12-20  Juergen Vigna  <jug@sad.it>
12491
12492         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12493
12494         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12495         (TeXRow): added to LaTeX a single tabular row.
12496         (TeXLongtableHeaderFooter): added to output LT-h/f data.
12497         (Latex): simplified and finally good LT-h/f support.
12498         (various_functions): just small adaptions for LT-h/f support.
12499
12500         * tabular_funcs.[hC]: added and moved here all not classfunctions
12501         of LyXTabular.
12502
12503 2001-12-19  Juergen Vigna  <jug@sad.it>
12504
12505         * tabular.[Ch]: better support for longtabular options (not finished
12506         yet!)
12507
12508 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12509
12510         * text.C (paintLastRow): use the label font instead of the font of
12511         the last character to compute the size of *_BOX. This makes more
12512         sense and avoids a crash with empty paragraphs.
12513         Use Painter::rectangle to draw EMPTY_BOX.
12514
12515 2001-12-19  Juergen Vigna  <jug@sad.it>
12516
12517         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12518         the paragraphs if the replaced paragraph is not the first one!
12519         Tried to delete not used paragraphs but does not work yet so for
12520         now it's inside #ifdef's and by default off!
12521
12522 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12523
12524         * MenuBackend.C: include "lyx_main.h" instead of declaring
12525         lastfiles (actually was declared as LastFiles* instead of a
12526         scoped_ptr).
12527
12528 2001-12-17  Juergen Vigna  <jug@sad.it>
12529
12530         * tabular.C (AppendColumn): applied John's fix
12531
12532 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
12533
12534         * BufferView.h:
12535         * BufferView.C:
12536         * BufferView_pimpl.h:
12537         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12538
12539         * Makefile.am:
12540         * box.h: new start of class for above
12541
12542         * lyxfunc.C: ignore space-only minibuffer dispatches.
12543           Show the command name when it doesn't exist
12544
12545         * minibuffer.C: don't add empty lines to the history
12546
12547         * minibuffer.C: add a space on dropdown completion
12548
12549 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
12550
12551         * text.C: fix line above/below drawing in insets
12552
12553 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12554
12555         * lyxlength.C (LyXLength): Initialize private variables.
12556
12557 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
12558
12559         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12560         when inserting error insets.
12561
12562 2001-12-13  Juergen Vigna  <jug@sad.it>
12563
12564         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12565         actually sometimes the before-paragraph.
12566         (setUndo): don't clear the redostack if we're not actually undoing!
12567
12568 2001-12-06  Juergen Vigna  <jug@sad.it>
12569
12570         * undo_funcs.C (textHandleUndo): well after John's hint I got here
12571         and fixed redoing of main paragraph, so we can use it now ;)
12572
12573         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12574
12575 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12576
12577         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12578         Juergen's request
12579
12580 2001-12-13  André Pönitz <poenitz@gmx.net>
12581
12582         * undostack.[Ch]:
12583         * undo_func.C: minor cleanup
12584
12585 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12586
12587         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12588         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12589         font in urw-fonts package which is marked as -urw-fontspecific and
12590         does not work (incidentally, changing the encoding in the
12591         fonts.dir of this package to -adobe-fontspecific fixes the
12592         problem).
12593
12594         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12595         is a crash when undoing first paragraph (Juergen, please take a
12596         look). THis does not mean the undo fix is wrong, just that it
12597         uncovers problems.
12598
12599         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12600         the (Paragraph*) version when needed instead of duplicating the
12601         code.
12602
12603         * text.C (workWidth): use Inset::parOwner to find out where the
12604         inset has been inserted. This is a huge performance gain for large
12605         documents with lots of insets. If Inset::parOwner is not set, fall
12606         back on the brute force method
12607
12608         * paragraph_pimpl.C (insertInset):
12609         * paragraph.C (Paragraph):
12610         (cutIntoMinibuffer): set parOwner of insets when
12611         inserting/removing them
12612
12613         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12614
12615 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
12616
12617         * commandtags.h:
12618         * LyXAction.C:
12619         * lyx_main.C:
12620         * lyxfunc.C:
12621         * mathed/formulabase.C:
12622         * mathed/math_cursor.[Ch]:
12623         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12624
12625
12626 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12627
12628         * lyxlength.[Ch] (operator!=): new function
12629
12630 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12631
12632         * text.C (workWidth): use Inset::parOwner to find out where the
12633         inset has been inserted. This is a huge performance gain for large
12634         documents with lots of insets. If Inset::parOwner is not set, fall
12635         back on the brute force method
12636
12637         * paragraph_pimpl.C (insertInset):
12638         * paragraph.C (Paragraph):
12639         (cutIntoMinibuffer): set parOwner of insets when
12640         inserting/removing them
12641
12642         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12643
12644 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12645
12646         * tabular-old.C (getTokenValue):
12647         * tabular.C (getTokenValue):
12648         (write_attribute): new versions for LyXLength
12649         (everywhere): adjust the use of widths
12650
12651         * tabular.h: change the type of widths from string to LyXLength
12652
12653 2001-12-11  Ben Stanley <bds02@uow.edu.au>
12654
12655         * paragraph.C: fixed missing line number count when exporting
12656         Environments to LaTeX file
12657
12658         * buffer.C: added informational message for checking line numbers.
12659
12660 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12661
12662         * text2.C (deleteEmptyParagraphMechanism): if there is only one
12663         paragraph, do the 'double space' part, but not the 'empty
12664         paragraph' one.
12665
12666         * text.C (workWidth): small optimization
12667         (getLengthMarkerHeight): use minimal size for negative lengths.
12668
12669 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
12670
12671         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12672
12673         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12674
12675 2001-12-11  André Pönitz <poenitz@gmx.net>
12676
12677         * FontLoader.C:
12678         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12679
12680 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12681
12682         * text2.C: keep selection on a setFont()
12683
12684 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12685
12686         * lyx_cb.C: another bv->text misuse, from insert label
12687
12688 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12689
12690         * kbsequence.h:
12691         * kbsequence.C: re-instate nmodifier mask
12692
12693 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
12694
12695         * lyx_main.h: make lyxGUI private.
12696
12697 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12698
12699         * lyxfind.C: place the cursor correctly on failed search
12700
12701 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12702
12703         * text.C (getLengthMarkerHeight): for small heights, the arrows
12704         are not always on top/bottom of the text
12705         (drawLengthMarker): smaller arrows; take the left margin in
12706         account; draw also vfills.
12707         (paintFirstRow):
12708         (paintLastRow): remove special code for vfill and standard spaces,
12709         since everything is handled in drawLengthMarker now.
12710
12711 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12712
12713         * buffer.C (insertErtContents): try to handle font and language
12714         interaction a bit better.g
12715
12716         * ColorHandler.C (updateColor): change the hash to cover the whole
12717         LColor enum, ws cleanup
12718         (getGCLinepars): ditto
12719         (getGCLinepars): only lookup in the linecache once.
12720
12721 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
12722
12723         * iterators.C (operator++): Make the iterator more robust
12724
12725         * BufferView2.C (removeAutoInsets): Use paragraph iterators
12726         (John's patch)
12727         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12728
12729 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12730
12731         * lyxtext.h:
12732         * text.C: better added space drawing
12733
12734 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12735
12736         * LyXView.C:
12737         * BufferView2.C: fix layout combo update on inset unlock
12738
12739 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12740
12741         * Makefile.am: don't compile unused files
12742
12743 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12744
12745         * lyxfunc.C:
12746         * commandtags.h:
12747         * LyXAction.C: remove old LFUN_LAYOUTNO
12748
12749 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12750
12751         * paragraph_pimpl.h:
12752         * paragraph_pimpl.C: isTextAt() doesn't need font param
12753
12754 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12755
12756         * lyxlex.h:
12757         * lyxlex.C: little cleanup
12758
12759 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12760
12761         * BufferView_pimpl.C: fix insertAscii for insets
12762
12763 2001-12-05  Juergen Vigna  <jug@sad.it>
12764
12765         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12766         set the right font on the "multi" paragraph paste!
12767
12768 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12769
12770         * trans_decl.h:
12771         * trans_mgr.[Ch]:
12772         * trans.[Ch]:
12773         * lyxgluelength.C:
12774         * lyxlength.C: remove out-commented code.
12775
12776         * BufferView_pimpl:
12777         * CutAndPaste.C:
12778         * DepTable.C:
12779         * buffer.C:
12780         * chset.C:
12781         * lastfiles.C:
12782         * lyxlex.C:
12783         * lyxlex_pimpl.C:
12784         * lyxserver.C:
12785         * screen.C:
12786         * tabular-old.C:
12787         * tabular.C:
12788         * text.C:
12789         * trans_mgr.C:
12790         * vc-backend.C: change "while(" to "while ("
12791
12792         * lyxlength.[Ch]: add zero function to check if length is zero or
12793         not
12794         * lyxgluelength.C: use it
12795
12796 2001-12-05  Allan Rae  <rae@lyx.org>
12797
12798         * lyxlength.C: Attempted a fix for the abs(int) header selection.
12799         Works for 2.95.3, from what I understand of Garst's reports this should
12800         work for other g++ versions.  We're screwed if the abs(int) definition
12801         changed between bugfix releases of gcc.
12802
12803 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12804
12805         * text.C: fix chapter label offset !
12806
12807 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12808
12809         * lyxtext.h:
12810         * text.C: fix hfill at end of line, clean up
12811
12812 2001-12-04  Juergen Vigna  <jug@sad.it>
12813
12814         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12815         that we force an update of the inset and it's owners if neccessary.
12816
12817 2001-12-03  Juergen Vigna  <jug@sad.it>
12818
12819         * text.C (rowLast): simplified code
12820
12821 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12822
12823         * lyxfunc.C: fix show options on timeout
12824
12825 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12826
12827         * screen.C (topCursorVisible): scroll half a page when the cursor
12828         reached top of bottom of screen
12829
12830 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
12831
12832         * minibuffer.C: deactivate on loss of focus
12833
12834 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12835
12836         * vspace.[Ch] (operator!=): add operator.
12837
12838 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
12839
12840         * BufferView_pimpl.C: refuse to open an inset when
12841         there's a selection.
12842
12843 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
12844
12845         * BufferView_pimpl.C: allow to click on RHS of full row insets
12846
12847 2001-11-30  Juergen Vigna  <jug@sad.it>
12848
12849         * tabular.C (LyXTabular): add a same_id to set the same id's in the
12850         insets for undo reasons.
12851
12852 2001-11-28  André Pönitz <poenitz@gmx.net>
12853
12854         * vspace.[Ch]: cosmetical changes
12855
12856 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12857
12858         * LyXAction.h:
12859         * LyXAction.C:
12860         * lyxfunc.h:
12861         * lyxfunc.C:
12862         * kbmap.h:
12863         * kbmap.C:
12864         * lyxrc.C:
12865         * kbsequence.h:
12866         * kbsequence.C: part re-write of old kb code
12867
12868         * Painter.C:
12869         * WorkArea.C: remove Lgb_bug_find_hack
12870
12871 2001-11-30  José Matos <jamatos@fep.up.pt>
12872
12873         * buffer.C (makeDocBookFile): add a comment to point a hack.
12874         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12875         Fixed a double write of labels.
12876
12877 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12878
12879         * LaTeX.C:
12880         * LaTeX.h Fixed bug in LaTeX class where it would not
12881         re-run latex if no depfiles were changed, but the .dvi was removed.
12882
12883 2001-11-28  André Pönitz <poenitz@gmx.net>
12884
12885         * all the files from the change on 2001/11/26:
12886         use lyx::layout_type instead of LyXTextClass::size_type
12887         use lyx::textclass_type instead of LyXTextClassList::size_type
12888
12889 2001-11-29  Juergen Vigna  <jug@sad.it>
12890
12891         * text.C: added support for paragraph::isFreeSpacing()
12892
12893         * buffer.C: same as above
12894
12895         * paragraph.h: inserted isFreeSpacing() function to enable
12896         FreeSpacing inside InsetERT.
12897
12898         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12899         of the paragraph's in the cut/copy buffer to 0!
12900
12901         * text2.C (removeRow): remove the assert as it can!
12902
12903         * lyxtext.h: added helper function firstRow returning firstrow and
12904         made firstrow private again.
12905
12906         * BufferView2.C (lockInset): don't relock if we're already locked!
12907
12908         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12909         the only paragraph.
12910         (removeRow): added Assert::(firstrow)
12911
12912         * debug.C: forgot to add INSETTEXT here.
12913
12914 2001-11-28  Juergen Vigna  <jug@sad.it>
12915
12916         * sp_spell.C (initialize): changed error text to more general
12917         spellchecker command use (not only ispell!)
12918
12919         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12920
12921         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12922
12923 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12924
12925         * vspace.C: initialise lyxgluelength on failure
12926
12927 2001-11-28  Allan Rae  <rae@lyx.org>
12928
12929         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12930         declaration & definition that looks like a function declaration.
12931
12932 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12933
12934         * BufferView2.C (copy):
12935         (copyEnvironment): do not clear the selection when doing a copy.
12936
12937         * text.C (paintFirstRow): compilation fix
12938
12939 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
12940
12941         * tabular.C (Latex): correct line count when writing latex.
12942
12943 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
12944
12945         * paragraph_pimpl.h:
12946         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12947           bug a bit
12948
12949 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12950
12951         * text.C:
12952         * LColor.h:
12953         * LColor.C: change vfillline->added_space
12954
12955         * text.C: add markers and text for added space
12956
12957         * vspace.C: fix comment
12958
12959 2001-11-28  André Pönitz <poenitz@gmx.net>
12960
12961         * paragraph.C: whitespace changes
12962         * all the other files from the change on 2001/11/26:
12963         change *::pos_type into lyx::pos_type
12964
12965 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
12966
12967         * buffer.C (parseSingleLyXformat2Token): Set the language to the
12968         language of the document when inserting error insets.
12969
12970 2001-11-26  André Pönitz <poenitz@gmx.net>
12971
12972         * BufferView_pimpl.[Ch]:
12973         *       CutAndPaste.C:
12974         * buffer.[Ch]:
12975         * lyxcursor.[Ch]:
12976         * lyxfind.C:
12977         * lyxfunc.C:
12978         * lyxrow.[Ch]:
12979         * paragraph.[Ch]:
12980         * paragraph_pimpl.[Ch]:
12981         * sp_spell.C:
12982         * text.C:
12983         * text2.C: reduce header dependencies, introduce type for positions
12984
12985 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12986
12987         * <various>: change to use Alert.h
12988
12989 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
12990
12991         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12992         when encountering an unknown token.
12993         (readLyXformat2): Show an error message if there were unknown tokens.
12994
12995 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
12996
12997         * BufferView2.C:
12998         * BufferView_pimpl.C:
12999         * buffer.C:
13000         * paragraph.h:
13001         * text.C:
13002         * text2.C: use par->isInset()
13003
13004 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13005
13006         * paragraph_pimpl.h:
13007         * paragraph_pimpl.C: cleanup
13008
13009 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13010
13011         * text2.C (removeRow):
13012         * text.C (setHeightOfRow): remove useless (and costly) call to
13013         getRow.
13014
13015 2001-11-20  Allan Rae  <rae@lyx.org>
13016
13017         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13018         Now need Inset*::checkInsertChar() to return true for appropriate
13019         cases so that the characters in the minibuffer will actually be
13020         inserted.
13021
13022 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13023
13024         * text.C: change the order of the includes.
13025         (workWidth): initialize it at once.
13026         (workWidth): make maxw unsigned
13027         (setHeightOfRow): remove unused variable (inset)
13028         (selectSelectedWord): remove unused variable (inset)
13029         (paintRowText): fix drawing of hfill characters, and clean up a bit.
13030
13031 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13032
13033         * lyxserver.C (emergencyCleanup): do not try to close pipes if
13034         server is not running.
13035         (openConnection):
13036         (closeConnection): add debug info when server is disabled.
13037
13038         * ColorHandler.C (getGCForeground): send debug message to GUI
13039         channel.
13040
13041         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13042
13043         * kbmap.C (bind): modify because return conventions of
13044         kb_sequence::parse have changed.
13045
13046         * kbsequence.C (parse): only ignore spaces and not any stupid
13047         control character. This avoids tests like s[i] <= ' ', which are
13048         guaranteed to fail with 8bit characters and signed chars.
13049         Change return code to string::npos when there have been no error
13050         (0 was a bad idea when error is at first character)
13051
13052 2001-11-14  José Matos  <jamatos@fep.up.pt>
13053
13054         * buffer.h:
13055         * buffer.C (simpleDocBookOnePar): removed unused argument.
13056
13057 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13058
13059         * text.C (selectNextWordToSpellcheck): do not test explicitely for
13060         insets which are part of a word. Paragraph::isLetter takes care of
13061         that now. Use Paragraph::isInset to identify insets.
13062         (selectSelectedWord): do not test for hyphenation break.
13063
13064         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13065         that protected spaces are considered as spaces.
13066
13067         * paragraph.C (isLetter): cleanup the code for ispell extras; use
13068         Inset::isLetter.
13069
13070 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
13071
13072         * lyxserver.h:
13073         * lyxserver.C: fix it. and small cleanup.
13074
13075 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13076
13077         * BufferView_pimpl.C: use inline helpers
13078
13079         * LaTeXFeatures.h:
13080         * LaTeXFeatures.C: fix typos
13081
13082         * Spacing.h:
13083         * Spacing.C: move spacing_string into class
13084
13085         * ToolbarDefaults.C: move stuff into namespace anon
13086
13087         * layout.h: update enum
13088
13089         * lyxfunc.C: use better debug
13090
13091         * minibuffer.h: fix typo
13092
13093         * debug.h:
13094         * debug.C:
13095         * WorkArea.C: add and use Debug::WORKAREA
13096
13097         * lyxtext.h:
13098         * text.C:
13099         * text2.C: code re-organisation, inline helpers
13100
13101 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
13102
13103         * Layout.C: replaced a few cases of std::vector.size() == 0 with
13104         std::vector.empty().
13105
13106 2001-11-09  Allan Rae  <rae@lyx.org>
13107
13108         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13109         '\n's after tables.  Tabular and ERT inset work now makes this no
13110         longer necessary.
13111
13112 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13113
13114         * minibuffer.h:
13115         * minibuffer.C: fix crash, improve drop-down completion
13116
13117 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
13118
13119         * lyxserver.h:
13120         * lyxserver.C: invalidate fd's when doing endPipe()
13121
13122 2001-11-08  José Matos  <jamatos@fep.up.pt>
13123
13124         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13125         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13126
13127         * paragraph.h:
13128         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13129
13130 2001-11-07  José Matos  <jamatos@fep.up.pt>
13131
13132         * buffer.h:
13133         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13134         const qualifier.
13135
13136         * buffer.C (sgmlOpenTag):
13137         * buffer.C (sgmlCloseTag): removed debug info.
13138
13139         * buffer.h (sgmlOpenTag):
13140         * buffer.h (sgmlCloseTag): made public.
13141
13142 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13143
13144         * buffer.C (saveParamsAsDefaults):
13145         * lyx_cb.C (MenuLayoutSave): remove
13146
13147         * LyXAction.C (init):
13148         * commandtags.h:
13149         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13150
13151 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13152
13153         * buffer.C (setPaperStuff): removed from here...
13154
13155         * bufferparams.C (setPaperStuff): ... and moved there.
13156
13157 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
13158
13159         * minibuffer.h:
13160         * minibuffer.C:
13161         * XFormsView.C: add support for drop-down completion
13162
13163 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
13164
13165         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13166         commands.
13167
13168 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13169
13170         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13171         disabled.
13172
13173 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
13174
13175         * lyx_main.C: change ref to known bugs
13176
13177 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
13178
13179         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13180         to work around older babel problems.
13181
13182 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13183
13184         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13185
13186 2001-10-24  Juergen Vigna  <jug@sad.it>
13187
13188         * tabular-old.C (ReadOld): below variable changes reflected.
13189
13190         * tabular.[Ch]: added ltType struct for longtable header/footer
13191         defines and changed all instances where they are used. Added
13192         future support for double top/bottom rows.
13193
13194 2001-10-24  José Matos  <jamatos@fep.up.pt>
13195
13196         * buffer.h (docbookHandleCaption):
13197         * buffer.C (docbookHandleCaption): removed unused function.
13198         (makeDocBookFile): moved docbook supported version to v4.1.
13199
13200 2001-10-24  José Matos  <jamatos@fep.up.pt>
13201
13202         * tabular.h:
13203         * tabular.C (docbookRow): new function to export docbook code of a row.
13204         (DocBook): now honors the longtable flags.
13205
13206 2001-10-23  José Matos  <jamatos@fep.up.pt>
13207
13208         * LaTeXFeatures.h:
13209         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13210         of the lyx defined sgml entities used in a docbook/linuxdoc document.
13211
13212         * buffer.C (makeLinuxDocFile):
13213         (makeDocBookFile): reworked the preamble, more clean, and with
13214         support for lyx defined entities. Changed the document declaration
13215         to be more XML friendly.
13216
13217         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13218         if we need to output XML that should be done with a filter.
13219
13220 2001-10-22  Juergen Vigna  <jug@sad.it>
13221
13222         * sp_pspell.h (class PSpell): add alive function needed in the
13223         controller to see if the spellchecker could be started.
13224
13225 2001-10-22  Juergen Vigna  <jug@sad.it>
13226
13227         * buffer.C (insertStringAsLines): modify the font for inserting
13228         chars in certain conditions by calling checkInsertChar(font).
13229
13230 2001-10-19  Juergen Vigna  <jug@sad.it>
13231
13232         * text.C (workWidth): use getRow instead of wrong algorithm.
13233         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13234
13235 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
13236
13237         * lyxserver.h:
13238         * lyxserver.C:
13239         * lyx_main.h:
13240         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13241
13242 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13243
13244         * text.C (workWidth): do not search for the exact row when
13245         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13246         optimization for big documents.
13247
13248 2001-10-18  Juergen Vigna  <jug@sad.it>
13249
13250         * text.C (workWidth): new function with added Inset * parameter.
13251
13252 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13253
13254         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13255
13256         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13257         change return type of getColumnNearX.
13258
13259
13260         * text.C (changeRegionCase): use uppercase/lowercase instead of
13261         toupper/tolower.
13262         (leftMargin):
13263         (rightMargin): simplify code by factoring out the uses of
13264         textclasslist.
13265         (labelFill):
13266         (numberOfHfills):
13267         (setHeightOfRow):
13268         (appendParagraph): use Paragraph::size_type
13269
13270 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13271
13272         * vspace.C (asLatexString): add a missing break
13273
13274 2001-10-15  Herbert Voss  <voss@perce.de>
13275
13276         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13277
13278 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13279
13280         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13281         is not available.
13282
13283 2001-10-10  André Pönitz <poenitz@gmx.net>
13284
13285         * lyxfunc.C: removed greek_kb_flag.
13286
13287 2001-10-10  Herbert Voss  <voss@perce.de>
13288
13289         * lyx_main.C: delete global string help_lyxdir.
13290
13291 2001-10-09  Herbert Voss  <voss@perce.de>
13292
13293         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13294
13295         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13296
13297         * lyx_main.C: added global string help_lyxdir.
13298
13299         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13300
13301 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13302
13303         * lyxrc.C (set_font_norm_type): support iso8859-4
13304
13305 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
13306
13307         * LaTeX.C (deplog): add another regex for MikTeX
13308
13309 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13310
13311         * lyxrc.C (set_font_norm_type): support iso8859-3
13312
13313 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13314
13315         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13316
13317         * LaTeXFeatures.C: remove special case of french and index
13318
13319         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13320         before \begin{document}). This solves several incompatibilities.
13321
13322 2001-10-03  Garst Reese  <reese@isn.net>
13323
13324         * lyx_cb.C: change CheckTex error msg.
13325
13326 2001-10-03  José Matos  <jamatos@fep.up.pt>
13327
13328         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13329
13330 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13331
13332         * .cvsignore: update
13333
13334         * lyx_main.C (commandLineVersionInfo): use new style version info.
13335
13336         * buffer.C (writeFile):
13337         (makeLaTeXFile):
13338         (makeLinuxDocFile):
13339         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13340
13341         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13342
13343         * version.h: update to use stuff in version.C
13344
13345         * version.C.in: new file. Contains version information determined
13346         at compile time. This is a merging of version.h and
13347         version_info.h.in.
13348
13349 2001-10-03  Juergen Vigna  <jug@sad.it>
13350
13351         * BufferView_pimpl.C (update): don't change "dirty" status in
13352         updateInset call.
13353
13354 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
13355
13356         * WorkArea.C (c-tor): re-position version string slightly.
13357
13358 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
13359
13360         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13361         revert to previous code.
13362
13363         WorkArea.[Ch]: (show, destroySplash): methods removed.
13364
13365         WorkArea.C: rework code so that it's an amalgam of the codes before and
13366         after the splash screen was moved to WorkArea.
13367
13368 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13369
13370         * lyxrc.C (read):
13371         * vspace.C (inPixels):
13372         (lyx_advance):
13373         * kbmap.C (bind):
13374         * buffer.C (insertStringAsLines):
13375         (asciiParagraph): fix types to be large enough
13376
13377         * lyxlex_pimpl.h: change member status from short to int
13378
13379         * layout.h: fix type of endlabeltype
13380
13381         * kbmap.C (bind):
13382         * kbsequence.C (parse): change return type to string::size_type
13383
13384         * LaTeX.C (updateBibtexDependencies): comment out unneeded
13385         variable
13386
13387         * Bullet.C (bulletSize):
13388         (bulletEntry): do not use short ints as parameters
13389
13390         * BufferView2.C (insertLyXFile): change a char to an int.
13391
13392         * WorkArea.C (WorkArea): remove unneeded floats in computation
13393
13394 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
13395
13396         * buffer.C (asciiParagraph): Treat '\\' as other chars.
13397
13398         * paragraph.C (asString): Do not ignore newline/hfill chars when
13399         copying to the clipboard.
13400
13401 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
13402
13403         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13404         after a multi-line inset.
13405
13406 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
13407
13408         * paragraph.C (validate): Set NeedLyXFootnoteCode
13409
13410 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13411
13412         * lyxfont.C (LyXSizeNames): changed increase-error to increase
13413         and decrease-error to decrease.
13414
13415 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13416
13417         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13418         it more readable (should be equivalent)
13419
13420 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13421
13422         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13423
13424 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13425
13426         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13427         of a cursor (row, etc.) after a character has been deleted
13428         (deleteEmptyParagraphMechanism): call the method above on _all_
13429         cursors held by the LyXText when a double space has been
13430         detected/deleted.
13431
13432 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13433
13434         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13435         pixmap.
13436         (resizeCurrentBuff): remove code to destroy the old splash dialog.
13437
13438         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13439         background. Use greyOut() and the new show() methods to toggle between
13440         the foreground and background. Add code to remove the splash after
13441         its initial showing.
13442
13443         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13444         (create_forms): no longer call Dialogs::showSplash.
13445
13446 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13447
13448         * .cvsignore: add version_info.h
13449
13450 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13451
13452         * version_info.h.in: new file
13453
13454         * Makefile.am: add version_info.h.in
13455
13456         * lyx_main.C (commandLineVersionInfo): use version_info defined in
13457         version_info.h instead of VERSION_INFO
13458
13459 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
13460
13461         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13462         The ERT inset now returns string().
13463
13464 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
13465
13466         * lyxtext.h, text.C (selectNextWord): renamed as
13467         selectNextWordToSpellcheck.
13468
13469         * text.C (selectNextWordToSpellcheck): Modified to not select
13470         words inside an ERT inset.
13471
13472 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13473
13474         * lyx_cb.C (MenuLayoutSave): change a bit the question
13475
13476         * sp_base.h: include <sys/types.h>
13477
13478 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
13479
13480         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13481
13482 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
13483
13484         * several files: fix typos in user-visible strings
13485
13486 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13487
13488         * text2.C (pasteSelection): do not set the selection, since it
13489         will be cleared later. Actually, the intent was to fix the way the
13490         selection was set, but I figured rmoving the code was just as good.
13491
13492 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
13493
13494         * FontLoader.C (available): Check if font is available without
13495         loading the font.
13496
13497 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
13498
13499         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13500
13501 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
13502
13503         * lyxrc.[Ch]: added display_graphics variable and associated code.
13504
13505 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13506
13507         * bufferparams.C (hasClassDefaults): new method. Returns true if
13508         the buffer parameters correspond to known class defaults
13509
13510 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
13511
13512         * XFormsView.C (show): set minimum size to the main window.
13513
13514 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13515
13516         * text2.C (copySelection):
13517         (cutSelection):
13518         * lyxfind.C (LyXReplace):
13519         * BufferView_pimpl.C (Dispatch): pass the correct flag to
13520         LyXText::selectionAsString.
13521
13522         * paragraph.C (asString): add "label" argument to the second form
13523
13524         * text2.C (selectionAsString): add "label" argument and pass it to
13525         Paragraph::asString.
13526
13527 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13528
13529         * lyx_main.C (commandLineHelp): remove version information
13530
13531 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
13532
13533         * lyx_main.C: add -version commandline option
13534
13535 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13536
13537         * paragraph.h: make the optional constructor arg required instead.
13538         some modifications to other files because of this.
13539
13540         * minibuffer.C (C_MiniBuffer_peek_event): make it static
13541
13542         * lyxserver.C (C_LyXComm_callback): make it static
13543
13544         * lyx_main.C (error_handler): make it static
13545
13546         * lyx_gui.C (LyX_XErrHandler): make it static
13547
13548         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13549
13550         * WorkArea.C: make the extern "C" methods static.
13551
13552         * Makefile.am (lyx_LDADD): simplify
13553
13554 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13555
13556         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13557         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13558
13559         * LyXAction.C (init):
13560         * lyxfunc.C (dispatch): associated code removal.
13561
13562 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13563
13564         * lyxfont.h (isSymbolFont): shut off warning
13565
13566         * text.C (setHeightOfRow):
13567         (getVisibleRow): fix crash with empty paragraphs which have a
13568         bottom line
13569
13570 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
13571
13572         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13573         code.
13574
13575 2001-09-04  José Matos  <jamatos@fep.up.pt>
13576         * buffer.C
13577         * buffer.h
13578         * tabular.C (docbook): rename docBook method to docbook.
13579
13580 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13581
13582         * Makefile.am: add dependencies to main.o.
13583
13584 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
13585
13586         * FontLoader.C (available): Return false if !lyxrc.use_gui
13587
13588 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
13589
13590         * FontInfo.C (query):
13591         * converter.C (view):
13592         * importer.C (Import):
13593         * exporter.C (Export): Can not -> cannot.
13594
13595 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
13596
13597         * BufferView_pimpl.C: allow to create index inset even if
13598           string is empty
13599
13600 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13601
13602         * buffer.C (getLists): replace boost::tie code with an explicit pair
13603         as boost::tie can break some compilers.
13604
13605         * iterators.h: Added a std:: declaration to the return type of
13606         ParIterator::size.
13607
13608 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
13609
13610         * lyxrc.C: add help for view_dvi_paper_option, default to safe
13611           case.
13612
13613 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
13614
13615         * iterators.[Ch]: New files. Provide paragraph iterators.
13616
13617         * buffer.C (changeLanguage): Use paragraph iterators.
13618         (isMultiLingual): ditto
13619
13620         * BufferView2.C (ChangeInsets): Use paragraph iterators.
13621
13622 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
13623
13624         * FontLoader.C: Support for cmr font.
13625
13626 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
13627
13628         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13629         (available): New method.
13630
13631         * FontInfo.C (getFontname): Use scalable fonts even when
13632         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13633         found.
13634
13635 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13636
13637         * converter.C (Formats::view): reverted! Incorrect fix.
13638
13639 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13640
13641         * converter.C (Formats::view): only output the -paper option
13642         if the dvi viewer is xdvi, thereby fixing bug #233429.
13643
13644 2001-08-23  Herbert Voss  <voss@perce>
13645
13646         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13647
13648 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
13649
13650         * Spacing.h (Spacing): Set space to Default on in the default
13651         constructor.
13652
13653 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13654
13655         * vc-backend.h (RCS::versionString): add RCS to version
13656         (CVS::versionString): add CVS to version
13657
13658         * vc-backend.C (scanMaster): do not add CVS to version.
13659         (scanMaster): do not add RCS to version
13660
13661         * lyxvc.C (versionString): new method
13662
13663         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13664
13665 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13666
13667         * Spacing.C (set): initialize fval
13668
13669 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
13670
13671         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13672         " or \.
13673
13674 2001-08-16  Juergen Vigna  <jug@sad.it>
13675
13676         * lyxfunc.C (dispatch): implemented the new FINISHED states.
13677
13678 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13679
13680         * BufferView_pimpl.C:
13681         * figureForm.C:
13682         * lyxtext.h:
13683         * text2.C: setParagraph takes linespacing now
13684
13685 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
13686
13687         * LyxAction.C: add internal LFUN_CITATION_INSERT
13688
13689         * LyXView.C: actually apply fix
13690
13691         * bufferlist.C: fix open non-existent file
13692
13693         * lyxfind.C: fix indentation
13694
13695         * lyxfunc.C: remove unneeded assert, fix typo
13696
13697 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13698
13699         * MenuBackend.C: use "Floatname List"
13700
13701 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
13702
13703         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13704         when converting LaTeX layout to insetERT.
13705         Generate a non-collapsed float when reading old float
13706
13707 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13708
13709         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13710         ERT insets.
13711
13712 2001-08-13  Juergen Vigna  <jug@sad.it>
13713
13714         * text.C (fill): return 0 instead of 20 as this seems to be the more
13715         correct value.
13716
13717 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13718
13719         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13720         lyxrc.font_norm.
13721
13722 2001-08-13  Juergen Vigna  <jug@sad.it>
13723
13724         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13725         casesensitive off.
13726         (SearchBackward): comment out the unlocking of the inset_owner this
13727         should not be needed!
13728
13729 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
13730
13731         * Many files: Remove inherit_language, and add latex_language
13732
13733         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13734         collapsible insets.
13735
13736 2001-08-10  Juergen Vigna  <jug@sad.it>
13737
13738         * text.C (prepareToPrint): fixed hfill-width in draw!
13739
13740         * BufferView2.C (selectLastWord): save the selection cursor as this
13741         now is cleared in the function LyXText::clearSelection!
13742
13743 2001-08-08  Juergen Vigna  <jug@sad.it>
13744
13745         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13746         BACKSPACE type functions.
13747
13748         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13749         is only cutted from the document but not put in the cut-buffer, where
13750         still the old stuff should be.
13751
13752         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13753
13754         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13755
13756         * tabular.C (SetWidthOfCell): fixed special case where the width
13757         was not updated!
13758         (LeftLine): handle '|' in align_special.
13759         (RightLine): ditto
13760         (LeftAlreadyDrawed): ditto
13761         (SetWidthOfCell): ditto
13762
13763 2001-08-07  Juergen Vigna  <jug@sad.it>
13764
13765         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13766
13767 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13768
13769         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13770         * lyxlex.[hC]: ditto
13771
13772 2001-08-06  Juergen Vigna  <jug@sad.it>
13773
13774         * text.C (getVisibleRow): fix up row clearing a bit.
13775
13776 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13777
13778         * minibuffer.C: make sure the X server sees the changes in the input.
13779
13780 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13781
13782         * paragraph.C (getFont): split into...
13783         (getLabelFont): this
13784         (getLayoutFont): and this
13785         * paragraph_pimpl.C (realizeFont): calling this
13786
13787         * text2.C (getFont): split into...
13788         (getLayoutFont): this
13789         (getLabelFont): and this
13790         (realizeFont): all three calling this
13791
13792         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13793         files where used.
13794
13795 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13796
13797         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13798
13799 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
13800
13801         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13802         layouts from the Quote inset insertion.
13803
13804 2001-08-03  Juergen Vigna  <jug@sad.it>
13805
13806         * BufferView_pimpl.C (update): do the fitCursor only at the end!
13807
13808         * screen.C (drawFromTo): don't call fitcursor here and do the loop
13809         only if status not is already CHANGED_IN_DRAW (second level).
13810
13811         * text.C (draw): don't set the need_break_row when inside an
13812         InsetText LyXText.
13813
13814 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13815
13816         * buffer.C (parseSingleLyXformat2Token): handle more latex
13817         conversion cases.
13818
13819         * bufferview_funcs.[hC]: change function names to
13820         begin with small char, adjust other files.
13821
13822 2001-08-02  André Pönitz <poenitz@gmx.net>
13823
13824         * lyxfunc.C:
13825         BufferView_pimpl.C: remove broken special code for math-greek
13826
13827 2001-08-02  Juergen Vigna  <jug@sad.it>
13828
13829         * BufferView_pimpl.C (update): redone this function so that we
13830         update the text again if there was a CHANGE_IN_DRAW.
13831
13832         * screen.C (cursorToggle): removed LyXText parameter and recoded.
13833         (drawFromTo): added a new internal bool which is used by draw() and
13834         redraw() function.
13835         (general): some cursor drawing problems fixed.
13836
13837 2001-08-01  Juergen Vigna  <jug@sad.it>
13838
13839         * lyxfind.C (LyXFind): fixed
13840         (SearchForward): ditto
13841         (SearchBackward): ditto
13842
13843         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13844         spurius drawing of the cursor in the main area.
13845
13846         * text2.C (status): small fix which could lead to a segfault!
13847         (clearSelection): remove unneeded BufferView param.
13848
13849 2001-08-01  André Pönitz <poenitz@gmx.net>
13850
13851         * lyxfunc.C: small change due to changed mathed interface
13852
13853 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13854
13855         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13856
13857 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
13858
13859         * lyxfunc.c: fail gracefully if file doesn't exist
13860
13861         * LyXSendto.C:
13862         * buffer.C:
13863         * lyxfunc.C:
13864         * BufferView_pimpl.C: IsDirWriteable() proto changed
13865
13866         * LyXView.C: fix updateWindowTitle() to store the last title
13867
13868 2001-07-31  Juergen Vigna  <jug@sad.it>
13869
13870         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13871         the font (wrong since using of Paragraph::highestFontInRange).
13872
13873         * paragraph.C (highestFontInRange): added a default_size parameter.
13874
13875         * text.C (getVisibleRow): minor clear row changes (still not perfect).
13876         (setHeightOfRow): reformat
13877
13878 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13879
13880         * converter.[hC] + affected files: move to (inital-char)lowercase
13881         function names.
13882
13883         * ParagraphParameters.C (ParagraphParameters): remove commented code
13884
13885         * PainterBase.[Ch]: remove commented code
13886
13887         * LaTeXFeatures.h: add "bool floats" for float.sty
13888
13889         * LaTeXFeatures.C (LaTeXFeatures): init floats
13890         (require): handle float
13891         (getPackages): do it with floats
13892
13893 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13894
13895         * BufferView_pimpl.C (Dispatch): improve handling of
13896         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13897
13898         * commandtags.h: #include lyxfont.h here temporarily to avoid
13899         keybinding bug.
13900
13901         * bufferlist.h: include LString.h here.
13902
13903 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13904
13905         * text2.C (getStringToIndex): new method.
13906
13907 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
13908
13909         * *: Reduced header file dependencies all over.
13910
13911 2001-07-30  Baruch Even  <baruch@lyx.org>
13912
13913         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13914
13915 2001-07-29  Baruch Even  <baruch@lyx.org>
13916
13917         * buffer.C (readInset): Changed GRAPHICS to Graphics.
13918
13919 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13920
13921         * ParameterStruct.h (endif): add a default constructor to make
13922         sure that all variables is initialized.
13923
13924         * ParagraphParameters.C (ParagraphParameters): adjust
13925
13926 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13927
13928         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13929         index; also, check that there is something to index, and that it
13930         does not span over several paragraphs.
13931         (doubleClick): use WHOLE_WORD_STRICT for double click.
13932
13933         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13934
13935         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13936         scheme.
13937
13938 2001-07-26  Baruch Even  <baruch@lyx.org>
13939
13940         * buffer.C (readInset): Changed to call up InsetGraphics when reading
13941         an InsetFig figure, backwards compatible reading of old figure code.
13942
13943 2001-07-27  Juergen Vigna  <jug@sad.it>
13944
13945         * text2.C: font.realize function adaption.
13946
13947         * text.C (draw): add a warnings lyxerr text if needed.
13948
13949         * layout.C: font.realize function adaption.
13950
13951         * language.C: add inherit_language and implement it's handlings
13952
13953         * bufferview_funcs.C (StyleReset): remove language parameter from
13954         font creation (should be language_inherit now).
13955
13956         * bufferparams.C (writeFile): handle ignore_language.
13957
13958         * paragraph.C (getFontSettings): the language has to be resolved
13959         otherwise we have problems in LyXFont!
13960
13961         * lyxfont.C (lyxWriteChanges): added document_language parameter
13962         (update): removed unneeded language parameter
13963
13964         * paragraph.C (validate): fixed wrong output of color-package when
13965         using interface colors for certain fonts in certain environments,
13966         which should not seen as that on the final output.
13967
13968 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
13969
13970         * BufferView_pimpl.C:
13971         * Thesaurus.h:
13972         * Thesaurus.C:
13973         * Makefile.am:
13974         * commandtags.h:
13975         * LyXAction.C: add thesaurus support
13976
13977         * lyxfind.h:
13978         * lyxfind.C: add "once" parameter, for thesaurus, to not
13979           move to the next match
13980
13981 2001-07-26  Juergen Vigna  <jug@sad.it>
13982
13983         * lyxfont.C (realize): honor ignore_language too!
13984         (resolved): ditto.
13985
13986         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13987
13988         * text.C (draw): one place more for ignore_language to not draw
13989         itself!
13990
13991 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
13992
13993         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13994
13995 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13996
13997         * buffer.C (parseSingleLyXformat2Token): a more general fix for
13998         the minipage conversion problem.
13999
14000 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14001
14002         * buffer.C (parseSingleLyXformat2Token): check minipage if we
14003         insert an inset.
14004
14005 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14006
14007         * BufferView.h: don't forward declare WorkArea
14008
14009         * BufferView.C: don't include WorkArea.h
14010
14011 2001-07-25  André Pönitz <poenitz@gmx.net>
14012
14013         * commandtags.h:
14014         * LyXAction.C:
14015         * lyxfunc.C:  new LFUN 'math-space'
14016
14017         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14018
14019 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14020
14021         * text2.C (toggleInset): call open/close
14022
14023 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14024
14025         * lyxfunc.C (dispatch): add debug for the disabled case
14026
14027         * font.C (buttonText): make similar to rectText
14028
14029         * buffer.C (readInset): comment out parsing of insetlist and
14030         insttheorem
14031
14032         * PainterBase.C (rectText): small correction
14033
14034         * BufferView_pimpl.C: comment out insettheorem and insetlist
14035         * LyXAction.C: ditto
14036         * commandtags.h: ditto
14037
14038 2001-07-24  Juergen Vigna  <jug@sad.it>
14039
14040         * text.C (draw): honor the ignore_language.
14041
14042         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14043
14044 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14045
14046         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14047         char inset.
14048
14049 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14050
14051         * lyxtext.h: remove unused (and unimplemented) methods
14052
14053 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14054
14055         * text.C (getVisibleRow): honor background color
14056
14057         * PainterBase.h:
14058         * Painter.h: remove default color argument for fillRectangle
14059
14060         * text.C (backgroundColor): new method
14061
14062 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14063
14064         * text.C (getVisibleRow): adjust
14065
14066         * font.[Ch] (rectText): new method, metrics
14067         (buttonText): new method, metrics
14068
14069         * PainterBase.[hC]: make rectText and buttonText always draw and take
14070         fewer paramteres.
14071
14072 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14073
14074         * ToolbarDefaults.C (read):
14075         * MenuBackend.C (read): allow escaping in all strings
14076
14077         * BufferView_pimpl.C (insertAndEditInset): new method.
14078         (Dispatch): use insertAndEditInset whenever appropriate.
14079
14080         * BufferView_pimpl.C (insertNote): removed
14081
14082         * BufferView_pimpl.C (smartQuote): new method, moved from
14083         BufferView; if an insetquote cannot be inserted, insert a '"'
14084         character instead.
14085
14086         * BufferView2.C: remove insertCorrectQuote();
14087
14088         * lyxfunc.C (getStatus): Add support for all remaingin
14089         inset-insert lfuns.
14090
14091         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14092
14093         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14094         command (necessary to pass " as parameter of self-insert.
14095
14096         * text.C (selectWordWhenUnderCursor):
14097         (selectWord): add word_location parameter
14098         (selectWordWhenUnderCursor): same + remove special code for word
14099         boundary.
14100         (selectNextWord): use kind() to guess type of insetspecialchar,
14101         not latex().
14102
14103         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14104         (insertErtContents): create ert insets as collapsed.
14105         (readInset): better compatibility code for Info inset.
14106
14107 2001-07-20  Juergen Vigna  <jug@sad.it>
14108
14109         * lyxfunc.C (dispatch): use always LyXFind now!
14110
14111         * text2.C (init): add a reinit flag so that the LyXText can be
14112         reinited instead of deleted and reallocated (used in InsetText).
14113
14114         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14115
14116         * text.C: ditto
14117
14118         * text2.C: ditto
14119
14120 2001-07-18  Juergen Vigna  <jug@sad.it>
14121
14122         * text.C (selectNextWord): handle insets inside inset by calling
14123         always the bv->text functions so that we can go up the_locking_inset!
14124
14125         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14126         in strange locations when inside an inset!
14127
14128         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14129         handling to include insets.
14130
14131         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14132
14133 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14134
14135         * LyXAction.C (init):
14136         * commandtags.h:
14137         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14138         LIGATURE_BREAK, since the name is so stupid.
14139
14140 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14141
14142         * buffer.C (readInset): enable reading of new InsetNotes as well as old
14143         InsetInfos.
14144
14145         * FontLoader.C: remove FORMS_H_LOCATION cruft.
14146
14147         * sp_form.[Ch]: remove.
14148
14149         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14150
14151         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14152         InsetInfo.
14153
14154         * src/buffer.C (readInset): ditto.
14155
14156 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14157
14158         * BufferView_pimpl.C (specialChar): new method. Obsoletes
14159         menuSeparator(), endOfSentenceDot(), ldots() and
14160         hyphenationPoint(), which are therefore removed.
14161         (Dispatch): handle LFUN_HYPHENATION_BREAK.
14162
14163         * LyXAction.C (init):
14164         * commandtags.h: add LFUN_HYPHENATION_BREAK.
14165
14166         * paragraph.C (getWord): removed.
14167
14168         * BufferView_pimpl.C (Dispatch): use last word or selection for
14169         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14170
14171         * lyx_main.C (queryUserLyXDir): do not ask before creating
14172         user_dir, except if it has been named explicitely.
14173
14174 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14175
14176         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14177         a document of zero size.
14178
14179 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
14180
14181         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14182         approriately in the c-tor and in require().
14183         (getPackages): output the appropriate LaTeX for natbib support.
14184
14185         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14186         variables "use_natbib" and "use_numerical_citations" when reading the
14187         LyX file.
14188         (readInset): read the various natbib cite commands.
14189         (validate): white-space change.
14190
14191         * bufferparams.[Ch]: new variables "bool use_natbib" and
14192         "bool use_numerical_citations".
14193         (writeFile): output them in the LyX file.
14194
14195 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14196
14197         * lyxfunc.C (getStatus): add support for all the inset insertion
14198         commands.
14199
14200         * text2.C (insertInset):
14201         * paragraph.C (insetAllowed):
14202         * BufferView_pimpl.C (insertInset): update to take in account the
14203         renaming of insertInsetAllowed
14204
14205         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14206
14207         * text2.C (getInset): new method. returns inset at cursor position.
14208
14209         * BufferView_pimpl.C (Dispatch): changes because of this.
14210
14211         * LyXAction.C (init): rename open-stuff to inset-toggle.
14212
14213         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14214
14215         * text2.C (toggleInset): renamed from openStuff; use
14216         Inset::open().
14217
14218 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
14219
14220         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14221
14222         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14223
14224 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
14225
14226         * buffer.C (readLyXformat2): Add filename to the error dialog
14227
14228 2001-07-18  Juergen Vigna  <jug@sad.it>
14229
14230         * tabular.C (GetCellNumber): put an assert here instead of the check!
14231
14232 2001-07-17  Juergen Vigna  <jug@sad.it>
14233
14234         * BufferView_pimpl.C (toggleSelection): adapted too.
14235
14236         * text.C (selectNextWord): adapted for use with insets.
14237         (selectSelectedWord): ditto
14238
14239 2001-07-17  Juergen Vigna  <jug@sad.it>
14240
14241         * sp_spell.C (PSpell): fix initialitation order.
14242
14243 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14244
14245         * paragraph.C: spacing
14246
14247 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
14248
14249         * sp_spell.C: repair language selection for pspell
14250
14251 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14252
14253         * lyxfunc.h: change more methods to begin with lower char.
14254
14255 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
14256
14257         * buffer.C (parseSingleLyXformat2Token): Generate error insets
14258         for unknown layouts.
14259
14260 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
14261
14262         * buffer.C (readLyXformat2): Generate an error dialog if there are
14263         unknown layouts.
14264
14265 2001-07-16  Juergen Vigna  <jug@sad.it>
14266
14267         * sp_spell.C: always compile ISpell part.
14268
14269         * lyxrc.C: added use_pspell entry and it's handling.
14270
14271 2001-07-13  Juergen Vigna  <jug@sad.it>
14272
14273         * sp_spell.C: removed double includes.
14274
14275 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
14276
14277         Consistent use of Lsstream.h:
14278         * Lsstream.h: added using std::stringstream for consistencies sake.
14279
14280         * buffer.C: removed using std::stringstream
14281
14282         * lyxfont.C (stateText):
14283         * paragraph.C (asString):
14284         * text.C (selectNextWord, selectSelectedWord):
14285         * text2.C (setCounter):
14286         * vspace.C (asString, asLatexString):
14287         std::ostringstream -> ostringstream.
14288
14289 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14290
14291         * LyXAction.C: add LFUN_HELP_ABOUTLYX
14292         * commandtags.h: add LFUN_HELP_ABOUTLYX
14293         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14294
14295 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14296
14297         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14298         cursorToggle()
14299         * lyx_gui_misc.C: remove spellchecker
14300         * lyxfunc.C: showSpellchecker
14301         * sp_base.h: added
14302         * sp_ispell.h: added
14303         * sp_pspell.h: added
14304         * sp_spell.C: added
14305         * sp_form.[Ch]: removed
14306         * spellchecker.[Ch]: removed
14307
14308 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
14309
14310         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14311         is set.
14312         (simpleTeXSpecialChars): Simply print the input character without
14313         any special translation if pass_thru is set.
14314
14315         * layout.h: Added bool pass_thru to layout class for being able to
14316         implement pass through of a paragraph for Literate Programming.
14317
14318         * layout.C: add LT_PASS_THRU to LayoutTags enum.
14319         * layout.C (LyXLayout): set pass_thru to flase in constructor.
14320         * layout.C (Read): add "passthru" to list of layout tags and add
14321         code to set the pass_thru boolean when it is read.
14322
14323 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14324
14325         * trans_decl.h: remove allowed from KmodInfo
14326
14327         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14328         remove allowed code
14329         (Load): adjust
14330
14331         * paragraph_pimpl.C (erase): use boost::prior
14332
14333         * Painter.C (text): use data() instead of c_str() when length is
14334         also provided.
14335         * WorkArea.C (putClipboard): ditto
14336         * font.h (width): ditto
14337
14338         * BufferView2.C: use it-> instead of (*it). for iterators
14339         * texrow.C: ditto
14340         * paragraph_pimpl.C: ditto
14341         * paragraph.C: ditto
14342         * minibuffer.C: ditto
14343         * language.C: ditto
14344         * kbmap.C: ditto
14345         * encoding.C: ditto
14346         * counters.C: ditto
14347         * converter.C: ditto
14348         * chset.C: ditto
14349         * Variables.C: ditto
14350         * TextCache.C: ditto
14351         * MenuBackend.C: ditto
14352         * LyXAction.C: ditto
14353         * LColor.C: ditto
14354         * FloatList.C: ditto
14355         * DepTable.C: ditto
14356         * ColorHandler.C (LyXColorHandler): ditto
14357
14358 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14359
14360         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14361
14362         * text2.C (openStuff): reintroduce this method (which had been
14363         nuked in NEW_INSETS frenzy).
14364
14365         * lyxfunc.C (Dispatch): when an action has not been handled, use
14366         its name in the error message, not its number.
14367
14368         * paragraph.C (inInset): change method name to begin with lowercase.
14369
14370         * undo_funcs.C:
14371         * text2.C: updates because of this.
14372
14373 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14374
14375         * ToolbarDefaults.C (add): add spaces in error message
14376
14377 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14378
14379         * buffer.C (readLyXformat2): initialize the ert comp. variables.
14380         (readLyXformat2): rename return_par to first_par, use lyxlex's
14381         pushToken and remove the manual push handling.
14382         (parseSingleLyXformat2Token): add another ert comp. variable:
14383         in_tabular, rename return_par to first_par. handle newlines better
14384
14385 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14386
14387         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14388
14389 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14390
14391         * text2.C (getParFromID): removed
14392
14393         * buffer.C (getParFromID): new method moved form lyxtext.
14394         * BufferView2.C (insertErrors): adjust
14395         (setCursorFromRow): adjust
14396         * BufferView_pimpl.C (restorePosition): adjust
14397         * lyxfunc.C (Dispatch): adjust
14398         * undo_funcs.C (textUndo): adjust
14399         (textRedo): adjust
14400         (textHandleUndo): adjust
14401         (textHandleUndo): adjust
14402
14403 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14404
14405         * buffer.C: up' the LYX_FORMAT
14406
14407         * lyxfont.h: turn NO_LATEX on as default
14408
14409         * buffer.C (insertErtContents): new methods of tex style compability.
14410         (parseSingleLyXformat2Token): use it several places.
14411         * tabular.C (OldFormatRead): and here
14412
14413 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14414
14415         * text2.C: remove some commented code.
14416         reindent file.
14417
14418         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14419         * trans.C: changes because of the above.
14420
14421 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
14422
14423         * text2.C (setCounter): Fix counters bug with bibliography layout.
14424
14425 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14426
14427         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14428         own member functions
14429         (simpleTeXSpecialChars): ditto
14430
14431 2001-07-06  Juergen Vigna  <jug@sad.it>
14432
14433         * a lot of files: changed the access to LyXText::status and the
14434         call of undo-functions.
14435
14436         * undo.[Ch]: added a inset_id to the undo informations.
14437
14438         * undo_funcs.[Ch]: added and moved here all undo functions.
14439
14440         * lyxtext.h: give the status enum a weight, made status_ a private
14441         variable and made accessor functions for it, removed the whole bunch
14442         of undo-functions as they are now in their own file, make some
14443         functions publically available. Added function ownerParagraph with
14444         int parameter.
14445
14446         * paragraph.[Ch]: added "bool same_ids" to the constructor,
14447         made InInset() a const function, added getParFromID() function.
14448
14449         * buffer.[Ch]: added const version for inset_iterator functions,
14450         added getInsetFromID() function.
14451
14452         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14453         changed undo functions for new version.
14454
14455 2001-07-05  Juergen Vigna  <jug@sad.it>
14456
14457         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14458         unknow mechanism does not call the proper constructor but only this
14459         one also if I request the other!?
14460
14461 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14462
14463         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14464
14465         * text2.C (LyXText): use initialization lists.
14466
14467         * lyxtext.h (Selection): initialize set_ and mark_
14468         (init): remove method
14469
14470 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
14471
14472         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14473
14474 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14475
14476         * screen.[Ch]: change method names to begin with lowercase
14477
14478         * BufferView_pimpl.C (updateScrollbar): simplify further and
14479         hopefully make it a bit faster.
14480
14481 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14482
14483         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14484         calling directly xforms functions.
14485
14486         * Painter.C (Painter):
14487         * lyx_cb.C (MenuWrite):
14488         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14489         fl_display.
14490
14491         * lyx_gui.C: remove bogus guiruntime extern declaration.
14492
14493 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14494
14495         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14496         in NEW_INSETS
14497         (redoDrawingOfParagraph): ditto
14498         (redoParagraphs): ditto
14499         (cutSelection): don't create a object for CutAndPaste use the
14500         static method directly
14501         (pasteSelection): ditto
14502
14503         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14504         LyXview (+ rename)
14505
14506 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14507
14508         * modifications to some other files because of this.
14509
14510         * Makefile.am (lyx_SOURCES): add XFormsView
14511
14512         * XFormsView.[Ch]: new files
14513
14514         * LyXView.[Ch]: make LyXView a base class for the gui handling for
14515         the main window. Move the gui dependent stuff to XFormsView
14516
14517 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14518
14519         * tabular.C (GetCellInset): update cur_cell also in the row/col
14520         version of this function.
14521
14522         * lyxfunc.C: no need to include figure_form.h here.
14523
14524         * FontLoader.h:
14525         * lyxfunc.h:
14526         * lyxscreen.h:
14527         * text2.C:
14528         * lyxvc.C: no need to include forms.h here.
14529
14530 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14531
14532         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14533
14534         * lyxfunc.C (Dispatch):
14535         * Spacing.C (set):
14536         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14537         constructor argument.
14538
14539 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14540
14541         * paragraph.C (Paragraph): dont't clear, and just set layout.
14542         (makeSameLayout): use params's copy contructor.
14543
14544         * ParagraphParameters.[Ch] (makeSame): delete method
14545
14546 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
14547
14548         * Variables.[Ch]: fix indentation, rename set to isSet
14549
14550 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14551
14552         * lyxfunc.C (Dispatch): fix typo
14553
14554 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14555
14556         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14557         upper_bound.
14558
14559         * bufferlist.C: include assert.h for emergencyWrite().
14560
14561 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14562
14563         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14564           give up at last (bug #425202) !
14565
14566 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
14567
14568         * lyx_gui_misc.C:
14569         * sp_form.h:
14570         * sp_form.C:
14571         * spellchecker.h:
14572         * spellchecker.C: strip spellchecker options and bring up
14573           preferences tab instead
14574
14575 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14576
14577         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14578         the istringstream constructor
14579
14580 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14581
14582         * paragraph.C (getLayout): fix return value
14583
14584         * paragraph.h: do not declare getLayout as inline.
14585
14586         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14587
14588 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14589
14590         * lyxcursor.h (operator<): new func
14591         (operator>): new func
14592         (operator>=): new func
14593         (operator<=): new func
14594
14595         * text.C (changeCase): use selection.start and selection.end
14596         (changeRegionCase): require from to be <= to. Require par to be a
14597         valid paragraph.
14598
14599         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14600
14601 2001-06-27  Juergen Vigna  <jug@sad.it>
14602
14603         * text.C (cursorLeftOneWord): changed to return the cursor and added
14604         overlay with BufferView * parameter which calls this one.
14605         (getWord): added
14606         (selectWord): use new getWord function.
14607         (changeCase): renamed from changeWordCase as and extended to work
14608         also on selections.
14609
14610         * lyxtext.h: added enum word_location
14611
14612         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14613         changeCase as this operates now also on selections.
14614
14615 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
14616
14617         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14618
14619         * many files: send debug output to Debug::INFO instead of
14620         Debug::ANY.
14621
14622         * converter.C (View):
14623         (Convert):
14624         (Move): send debug output to Debug::FILES instead of console.
14625
14626 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
14627
14628         * lyxfunc.C (getStatus): use func_status
14629
14630         * func_status.h: new header, describing the results of
14631         LyXFunc::getStatus;
14632
14633         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14634         LFUN_MATH_HALIGN.
14635
14636 2001-06-25  The LyX Project  <jug@sad.it>
14637
14638         * buffer.C (sgmlOpenTag):
14639         (sgmlCloseTag):
14640         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
14641
14642 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14643
14644         * text2.C: remove some dead code
14645
14646         * tabular.C (GetCellInset): store the last cell checked (gotten)
14647
14648         * tabular.h: add the helper for the speedup
14649
14650         * lyxtext.h: remove some dead code
14651
14652 2001-06-26  The LyX Project  <Asger>
14653
14654         * paragraph.C: Change export to LaTeX of alignment to
14655         \begin{center} and family for better roundtrip work with reLyX.
14656
14657         * Tune the math drawing a bit.
14658
14659 2001-06-25  The LyX Project  <Asger>
14660
14661         * LColor.C (LColor): New color for math background. New color
14662         for buttons.
14663
14664 2001-06-25  The LyX Project  <jug@sad.it>
14665
14666         * lyxfunc.C (MenuNew): remove extra check for .lyx file
14667
14668         * lyxfunc.C (Open):
14669         * bufferlist.C (newFile): do not restrict to files ending with
14670         .lyx
14671
14672         * BufferView_pimpl.C (MenuInsertLyXFile):
14673
14674 2001-06-24  The LyX Project  <jug@sad.it>
14675
14676         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14677         of compare_no_case
14678
14679 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14680
14681         * lyxtext.h: rename most methods to begin with a small char.
14682         Lots of changes because of this.
14683
14684         * paragraph.C (Paragraph): do not call fitToSize
14685         (erase): call Pimpl::erase
14686         (insertChar): call Pimpl::insertChar
14687         (insertInset): call Pipl::insertInset
14688         (breakParagraph): do not call fitToSize
14689         (breakParagraphConservative): do not call fitToSize
14690         (fitToSize): remove method
14691
14692         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14693
14694 2001-06-24  The LyX Project  <Asger>
14695
14696         * Fix Qt compilation^2
14697
14698 2001-06-24  The LyX Project  <jug@sad.it>
14699
14700         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14701         depthHook(getDepth()-1).
14702
14703         * paragraph.h:
14704         * ParagraphParameters.h:
14705         * ParameterStruct.h: change type of depth to unsigned int ==
14706         depth_type. Many adaptations to other files before of that.
14707
14708 2001-06-24  The LyX Project  <Asger>
14709
14710         * Fix Qt compilation.
14711
14712 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14713
14714         * paragraph.h: renamed several methods to begin with small letter.
14715         several changes to many parts of the code because of this.
14716
14717 2001-06-23  The LyX Project  <jug@sad.it>
14718
14719         * text2.C (InsertStringAsLines): renamed from InsertStringA;
14720         rewritten to discard all double spaces when KeepEmpty is off
14721         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14722         to only handle newlines but not fiddle with spaces and friends.
14723
14724         * lyxfunc.C (MenuNew): when doing 'new from template', use
14725         template_path as default directory
14726
14727 2001-06-23  The LyX Project  <Asger>
14728
14729         * Clean-up of header file includes all over
14730         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14731
14732 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14733
14734         * paragraph.h: renamed from lyxparagraph.h
14735
14736 2001-06-23  Asger  <lyx@violet.home.sad.it>
14737
14738         * Buffer.h: Removed Buffer::resize
14739         * BufferList.h: Removed BufferList::resize
14740         * LyXView.h: Added LyXView::resize. This way, we will only reflow
14741         the document lazily when we change the width, or the font settings.
14742
14743 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14744
14745         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14746
14747 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14748
14749         * buffer.h: remove out of date comment
14750
14751 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14752
14753         * lyxscreen.h:
14754         * screen.C: fix "theoretical" GC leak
14755
14756 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14757
14758         * LaTeX.C (scanAuxFile):
14759         (deplog): remove trailing \r when reading stream (useful under
14760         win32)
14761
14762 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
14763
14764         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14765         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14766         and BufferView::theLockingInset(Inset*), so should use them and not
14767         access bv_->text->the_locking_inset directly.
14768
14769         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14770
14771 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14772
14773         * Makefile.am:
14774         * tex-defs.h: remove old unused file
14775
14776 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
14777
14778         * BufferView_pimpl.C: fix typo, remove minibuffer message
14779           when buffer has loaded
14780
14781 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14782
14783         * lyxfunc.C (Dispatch): use stringstream
14784         (MenuNew): use stringstream
14785         (Open): use stringstream
14786
14787         * importer.C (Import): use stringstream
14788
14789         * bufferview_funcs.C (CurrentState): use stringstream
14790
14791         * LaTeX.C (run): use stringstream
14792
14793         * BufferView_pimpl.C (savePosition): use stringstream
14794         (restorePosition): use stringstream
14795         (MenuInsertLyXFile): use stringstream
14796
14797 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
14798
14799         * BufferView.C:
14800         * Bullet.C:
14801         * ColorHandler.C:
14802         * FontInfo.C:
14803         * FontLoader.C:
14804         * LColor.C:
14805         * LaTeXFeatures.C:
14806         * Painter.C:
14807         * gettext.C:
14808         * lyx_gui_misc.C:
14809         * lyxserver.C:
14810         * vspace.C: removed // -*- C++ -*- as first line.
14811
14812         * lyxfind.h:
14813         * version.h: added // -*- C++ -*- as first line.
14814
14815 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14816
14817         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14818
14819         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14820         of string
14821
14822 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14823
14824         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14825         of floats.
14826
14827 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14828
14829         * gettext.C: include LString.h even when --disable-nls is on.
14830
14831 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
14832
14833         * converter.h (Get): changed argument type from int to
14834         FormatList::size_type to avoid unnecessary conversion.
14835
14836         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14837         before using it.
14838
14839 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14840
14841         * gettext.h: include LString.h even when --disable-nls is on.
14842
14843 2001-06-07  Juergen Vigna  <jug@sad.it>
14844
14845         * text.C (BreakAgain): subst spaces with tabs.
14846
14847         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14848         (resizeInsetsLyXText): set force on resizeLyXText.
14849
14850 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14851
14852         * gettext.h (gettext_init):
14853         (locale_init): use a real definition instead of a macro
14854
14855 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14856
14857         * Bufferview_pimpl.C:
14858         * LColor.h:
14859         * LColor.C: further lcolor tidies
14860
14861 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14862
14863         * BufferView_pimpl.C (updateScrollbar): simplify.
14864
14865         * BufferView2.C: don't include insets/insetinfo.h, change
14866         prototype for insertInset and call the Pimpl version. let
14867         updateInset call Pimpl version.
14868
14869         * BufferView.h: move inset_slept to BufferView::Pimpl, move
14870         gotoInset to BufferView::Pimpl
14871
14872 2001-06-01  Juergen Vigna  <jug@sad.it>
14873
14874         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14875         inside a LockingInset (is the update needed at all?).
14876
14877 2001-05-31  Juergen Vigna  <jug@sad.it>
14878
14879         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14880         here not the old one otherwise how should we compare it afterwards
14881         if it's the same!
14882
14883 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14884
14885         * lyxfont.C:
14886         * tabular.C:
14887         * tabular-old.C:
14888         * FontInfo.C: bring C functions into global namespace when
14889         necessary
14890
14891 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14892
14893         * LString.h: make sure config.h has been loaded before LString.h.
14894
14895         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14896         (one for each char read by EatLine!).
14897
14898         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14899         variables.
14900
14901 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14902
14903         * paragraph.C (BreakParagraph): set the inset_owner in the new par
14904         to the same as the par we break from
14905
14906 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14907
14908         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14909
14910         * MenuBackend.C (expand): also create menu entries for wide
14911         versions of the floats.
14912
14913         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14914
14915         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14916
14917         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14918         frontends/Makefile.am
14919
14920         * text2.C: adjust
14921         * text.C: adjust
14922
14923
14924         * tabular.C (getTokenValue): add std::
14925
14926         * tabular-old.C (getTokenValue): add std::
14927         (getTokenValue): ditto
14928         (getTokenValue): ditto
14929
14930         * screen.C (ToggleSelection): adjust
14931
14932         * lyxtext.h: put selection cursors inside a Selection struct.
14933
14934         * lyxfunc.C (moveCursorUpdate): adjust
14935
14936         * lyxfont.C (latexWriteStartChanges): add std::
14937
14938         * lyxfind.C: adjust
14939
14940         * font.h: delete with(char const *, LyXFont const &)
14941
14942         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14943
14944         * FontInfo.C (getFontname): add std::
14945
14946         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14947         (workAreaButtonPress): adjust
14948         (tripleClick): adjust
14949         (update): adjust
14950         (moveCursorUpdate): adjust
14951         (Dispatch): adjust
14952
14953         * BufferView2.C (gotoInset): adjust
14954
14955 2001-05-30  Juergen Vigna  <jug@sad.it>
14956
14957         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14958         to check pspell I add this as default as I now have new pspell
14959         libraries and they seem to use this.
14960
14961 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14962
14963         * text2.C (CutSelection): make the cursor valid before the call to
14964         ClearSelection.
14965
14966 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14967
14968         * kbsequence.C (parse): de-uglify a bit the parsing code, which
14969         relied on 0 terminated strings and other horrors. Bug found due to
14970         the new assert in lyxstring!
14971
14972         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14973         KP_ keys.
14974
14975 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14976
14977         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14978         to latinkeys.bind.
14979
14980         * lyxfunc.C (processKeySym): change method of getting to the
14981         self-insert char.
14982
14983         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14984         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14985         * BufferView_pimpl.[Ch]: here as private methods.
14986
14987 2001-05-28  Juergen Vigna  <jug@sad.it>
14988
14989         * text.C (SetHeightOfRow): added the update() call again as it is
14990         needed to initialize inset dimensions!
14991
14992 2001-05-16  Juergen Vigna  <jug@sad.it>
14993
14994         * text2.C (SetCharFont): Add new function with BufferView * and
14995         bool toggleall parameters for setting insets internal fonts.
14996         (SetFont): Freeze the undo as we may change fonts in Insets and
14997         all this change should be inside only one Undo!
14998
14999         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15000         setting font's in insets as for them we have the SetFont function!
15001
15002 2001-05-15  Juergen Vigna  <jug@sad.it>
15003
15004         * text2.C (ClearSelection): to be sure we REALLY don't have any
15005         selection anymore!
15006
15007         * tabular.C (TeXCellPreamble): fixed the left border problem for
15008         multicolumn cells.
15009
15010 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
15011
15012         * LaTeX.C (deplog): Make sure that the main .tex file is in the
15013         dependancy file
15014
15015 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15016
15017         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15018         LFUN_BREAKPARAGRAPH.
15019
15020         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15021         help test to "internal only", similar for LFUN_INSERT_URL
15022
15023         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15024         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15025         auto_region_delete and deadkeys.
15026
15027 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
15028
15029         * LColor.h:
15030         * LColor.C: remove some dead entries, tidy a little
15031
15032 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15033
15034         * lyxfunc.C (processKeySym): comment the Escape handling, remove
15035         commented code.
15036         (Dispatch): implement LFUN_ESCAPE
15037
15038         * commandtags.h: add LFUN_ESCAPE
15039
15040         * LyXAction.C (init): add entry for LFUN_ESCAPE
15041
15042         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15043         Remove commented code.
15044         (insertNote): moved here
15045         (open_new_inset): moved here
15046
15047         * BufferView[2].[Ch]: move insertNote and open_new_inset to
15048         BufferView_pimpl
15049
15050 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15051
15052         * kbmap.C (findbinding): clean it up and make it work correctly.
15053
15054         * lyx_main.C (init): do not pass argc and argv as parameters
15055
15056 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
15057
15058         * buffer.C: fix path for OS/2 & Win32
15059
15060         * lyx_gui.C:
15061         * lyx_main:
15062         * lyx_main.C: Added os:: class.
15063
15064         * os2_defines.h: update
15065
15066 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15067
15068         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15069         better by trying again with reduced state.
15070
15071 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15072
15073         * lyxrc.C (read): print error about invalid key sequence only when
15074         debugging (because not all latinX keysyms are known to some X
15075         servers)
15076
15077         * kbsequence.C (getiso): add a few std:: qualifiers
15078         (getiso): comment out extra return statement.
15079
15080 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15081
15082         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15083         handling.
15084         (Dispatch): enhance the accent inset a bit. (not perfect)
15085
15086 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15087
15088         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15089
15090 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15091
15092         * bufferlist.C (emergencyWrite): fix assert() call
15093
15094 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
15095
15096         * text.C (InsertChar): Added trivial patch to only send the "you
15097         can not do multiple spaces this way" message once during a
15098         session.
15099
15100 2001-05-08  Baruch Even  <baruch@lyx.org>
15101
15102         * Makefile.am: Changed order of libraries to get LyX to link properly
15103         with the gnome frontend.
15104
15105 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15106
15107         * LaTeXFeatures.h: add a std:: qualifier
15108
15109 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15110
15111         * paragraph.C (String): use stringstream
15112
15113 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15114
15115         * paragraph.C (writeFile): remove footflag arg
15116
15117         * buffer.C (makeLaTeXFile): use stringstream
15118         (latexParagraphs): remove footnot gurba
15119
15120         * LaTeXFeatures.C (getPackages): use stringstream
15121         (getMacros): likewise
15122         (getTClassPreamble): likewise
15123         (getFloatDefinitions): new method
15124
15125         * paragraph.C (writeFile): reindent
15126         (Erase): reindent
15127
15128         * WorkArea.h: revert the xpos + etc changes.
15129
15130         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15131
15132         * lyxparagraph.[Ch]: add copy constructor, remove Clone
15133
15134         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15135         (pasteSelection): likewise
15136         * text2.C (CreateUndo): likewise
15137
15138 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15139
15140         * minibuffer.C (peek_event): temporarily reduce the functionality
15141         of the minibuffer (to allow args on lfuns)
15142
15143         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15144         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15145
15146         * buffer.C (readInset): add compability reading of old float
15147         lists, add reading of new style float list.
15148         (readInset): avoid reevaluation of inscmd.getCmdName()
15149         (getLists): reindent
15150
15151         * MenuBackend.C (MenuItem): implement parsing of
15152         md_floatlistinsert and md_floatinsert.
15153         (expand::LastFiles): move initalizaton of iterators out of loop,
15154         avoid reevaluation.
15155         (expand::Documents): introduce typdedef vector<string> Strings,
15156         and use it.
15157         (expand::ExportFormats): introduce typedef vector<Format const *>
15158         Formats, and use it.
15159         (expand): implement FloatListInsert and FloatInsert.
15160
15161         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15162         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15163         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15164
15165         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15166         handling.
15167         (Dispatch::LFUN_FLOAT_LIST): implement
15168
15169 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15170
15171         * LaTeX.C (run): Fix problem with --export code.
15172
15173 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15174
15175         * BufferView.[Ch] (workarea): removed.
15176         (getClipboard) new method; wrapper for workarea()->getClipboard()
15177
15178         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15179         bug.
15180
15181         * WorkArea.h (width, height, xpos, ypos): These methods all
15182         returned the dimensions of the work_area sub-area of WorkArea,
15183         resulting in a position error if the WorkArea were resized. Now
15184         return the dimensions of the entire WorkArea.
15185
15186         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15187
15188 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15189
15190         * LaTeX.C (deplog): correct the syntax of regex reg1
15191
15192 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15193
15194         * undo.C: remove !NEW_INSETS cruft
15195
15196 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15197
15198         * text2.C: remove !NEW_INSETS cruft
15199
15200         * text.C: remove !NEW_INSETS cruft
15201
15202         * tabular.C: remove !NEW_INSETS cruft
15203
15204         * spellchecker.C: remove !NEW_INSETS cruft
15205
15206         * lyxtext.h: remove !NEW_INSETS cruft
15207
15208         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15209
15210         * lyxfunc.C: remove !NEW_INSETS cruft
15211
15212         * lyxfind.C: remove !NEW_INSETS cruft
15213
15214         * lyx_cb.C: remove !NEW_INSETS cruft
15215
15216         * figureForm.C: remove  !NEW_INSETS cruft
15217
15218         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15219
15220         * buffer.[Ch]: remove !NEW_INSETS cruft
15221
15222         * ToolbarDefaults.C: remove !NEW_INSETS cruft
15223
15224         * CutAndPaste.C: remove !NEW_INSETS cruft
15225
15226         * BufferView_pimpl.C: remove !NEW_INSETS cruft
15227
15228         * BufferView2.C: remove !NEW_INSETS cruft
15229
15230         * BufferView.h: remove !NEW_INSETS cruft
15231
15232 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15233
15234         * Lsstream.h: include LString.h before the sstream headers to
15235         fix problem with gcc 2.95.3 and lyxstring
15236
15237 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15238
15239         * lyx_main.C: add using directives when needed for C functions
15240         declared in std:: namespace.
15241
15242 2001-04-27  Juergen Vigna  <jug@sad.it>
15243
15244         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15245         (SetHeightOfRow): comment out the update call should not be needed!
15246
15247 2001-04-13  Juergen Vigna  <jug@sad.it>
15248
15249         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15250         (LyXTabular): tried to minimize operator= operations (and realized
15251         hopfully Lars wish).
15252
15253 2001-04-27  Juergen Vigna  <jug@sad.it>
15254
15255         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15256
15257 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15258
15259         * lyxfunc.C (Dispatch): hack to make listof algorithm work
15260
15261         * buffer.C (readInset): hack to make listof algorithm work
15262
15263         * BufferView_pimpl.C: hack to make listof algorithm work
15264
15265 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15266
15267         * LyXAction.C: removed all !NEW_INSETS cruft
15268         (init): moved lfun_item in method
15269
15270         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15271
15272 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15273
15274         * BufferView2.C (theLockingInset): white space.
15275
15276 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15277
15278         * minibuffer.C: include <iostream>
15279
15280         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15281
15282         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15283
15284         * commandtags.h: add LFUN_TRANSPOSE_CHARS
15285
15286         * text.[Ch] (TransposeChars): new method
15287
15288 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15289
15290         * call message directly through LyXView instead of through LyXFunc
15291         * BufferView2.C: adjust
15292         * BufferView_pimpl.C: adjust
15293         * FontLoader.C: adjust
15294         * buffer.C: adjust
15295         * bufferview_funcs.C: adjust
15296         * converter.C: adjust
15297         * figureForm.C: adjust
15298         * importer.C: adjust
15299         * lyx_cb.C: adjust
15300         * lyx_gui_misc.C: adjust
15301         * lyxfunc.C: adjust
15302         * lyxvc.C: adjust
15303         * text2.C: adjust
15304         + more files in subdirs
15305
15306         * lyxparagraph.h (size): move up int file
15307         (GetLayout): ditto
15308
15309         * adjust all uses of Assert to lyx::Assert.
15310
15311         * BufferView2.C (ChangeCitationsIfUnique): adjust for
15312         lyxfunctional in namespace lyx
15313         * layout.C (hasLayout): ditto
15314         (GetLayout): ditto
15315         (GetLayout): ditto
15316         (delete_layout): ditto
15317         (NumberOfClass): ditto
15318         * converter.C (GetFormat): ditto
15319         (GetNumber): ditto
15320         (Add): ditto
15321         (Delete): ditto
15322         (SetViewer): ditto
15323         * bufferlist.C (getFileNames): ditto
15324         (emergencyWriteAll): ditto
15325         (exists): ditto
15326         (getBuffer): ditto
15327         * MenuBackend.C (hasSubmenu): ditto
15328         (hasMenu): ditto
15329         (getMenu): ditto
15330         * BufferView_pimpl.C (getInsetByCode): ditto
15331
15332 2001-04-18  Juergen Vigna  <jug@sad.it>
15333
15334         * vspace.C (asLatexString): fixed the 100% problem.
15335
15336 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15337
15338         * lyxfunc.C (Dispatch):
15339         * minibuffer.C:
15340         * minibuffer.h: add a few std:: qualifiers
15341
15342 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15343
15344         * minibuffer.[Ch]: reimplement so that commands is initiated and
15345         run from lyxfunc, simplified som handling, and made the completion
15346         and history code for complete. wip.
15347
15348         * lyxfunc.C (processKeySym): call message
15349         (miniDispatch): new temporary method
15350         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15351         (LFUN_MESSAGE): implement
15352         (LFUN_MESSAGE_PUSH): implement
15353         (LFUN_MESSAGE_POP): implement
15354         (initMiniBuffer): the initial/defualt minibuffer message.
15355
15356         * lyxfont.[Ch]: inline some more getters
15357
15358         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15359
15360         * lyx_gui_misc.[Ch] (WriteStatus): remove method
15361
15362         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15363         (AutoSave): use LFUN_MESSAGE
15364         (Reconfigure): ditto
15365
15366         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15367
15368         * figureForm.C: use LFUN_MESSAGE
15369
15370         * converter.C (runLaTeX): use LFUN_MESSAGE
15371
15372         * bufferview_funcs.C: use LFUN_MESSAGE
15373         (Melt): ditto
15374         (changeDepth): ditto
15375
15376         * bufferparams.h: use boost::
15377
15378         * bufferlist.h: inherit privately from noncopyable
15379
15380         * bufferlist.C (loadLyXFile): remove some commented code.
15381
15382         * buffer.C (runChktex): use LFUN_MESSAGE
15383
15384         * ShareContainer.h: inherit privately from noncopyable
15385
15386         * ParagraphParameters.[hC] (depth): inline it.
15387
15388         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15389         methods.
15390         (message): new method
15391         (messagePush): ditto
15392         (messagePop): ditto
15393         (show): init minibuffer
15394         (showState): direct call
15395
15396         * LaTeX.[Ch]: inherit privately from noncopyable
15397         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15398         instead of WriteStatus.
15399
15400         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15401
15402         * BufferView_pimpl.C (buffer): don't init minibuffer
15403         (workAreaButtonPress): use LFUN_MESSAGE
15404         (workAreaButtonRelease): ditto
15405         (savePosition): ditto
15406         (restorePosition): ditto
15407         (MenuInsertLyXFile): ditto
15408         (workAreaExpose): don't init minibuffer
15409         (update): remove commented code, simplify
15410
15411         * BufferView2.C (openStuff): use LFUN_MESSAGE
15412         (toggleFloat): ditto
15413         (menuUndo): ditto
15414         (menuRedo): ditto
15415         (copyEnvironment): ditto
15416         (pasteEnvironment): ditto
15417         (copy): ditto
15418         (cut): ditto
15419         (paste): ditto
15420         (gotoInset): ditto
15421         (updateInset): remove some commented code
15422
15423         * lastfiles.h: inherit privately from noncopyable
15424         * layout.h: ditto
15425         * lyx_gui.h: ditto
15426         * lyx_main.h: ditto
15427         * lyxlex.h: ditto
15428         * lyxlex_pimpl.h: ditto
15429
15430         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15431         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15432         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15433
15434         * LyXAction.h: inherit privately from noncopyable, add methods
15435         func_begin, func_end, returning iterators to the func map.
15436
15437         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15438         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15439         (func_begin): new method
15440         (func_end): new method
15441
15442         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15443         and not)
15444         (copySelection): ditto
15445         (pasteSelection): ditto
15446
15447         * BufferView.C: whitespace change
15448         * BufferView.h: inherit privately from noncopyable
15449
15450 2001-04-16  Allan Rae  <rae@lyx.org>
15451
15452         * tabular-old.C (l_getline):
15453         * spellchecker.C (sc_check_word):
15454         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15455         an unrecognised preprocessor directive.  So ensure they're wrapped.
15456
15457 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
15458
15459         * src/exporter.C (Export): Give an error message when path to file
15460         contains spaces.
15461
15462 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
15463
15464         * LaTeX.C (deplog): Always check that foundfile exists.
15465
15466 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15467
15468         * lyx_main.h:
15469         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15470
15471 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15472
15473         * tabular.[Ch] (getLabelList): implement new method
15474
15475         * minibuffer.h: comment ouf setTiimer
15476
15477         * minibuffer.C (ExecutingCB): constify res
15478         (peek_event): constify s
15479         (Set): constify ntext
15480         (Init): constify nicename
15481
15482         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15483
15484         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15485         (savePosition): use two params to Minibuffer::Set
15486         (restorePosition): ditto
15487
15488 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15489
15490         * lyx_main.C: include language.h
15491
15492         * Makefile.am (lyx_main.o): add language.h
15493
15494 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15495
15496         * exporter.C:
15497         * paragraph.C:
15498         * screen.C:
15499         * tabular.C:
15500         * CutAndPaste.C: include gettext.h
15501
15502         * lyxfont.h: remove old hack with ON and OFF.
15503
15504         * lyxparagraph.h:
15505         * lyxfont.h: do not include language.h...
15506
15507         * BufferView2.C:
15508         * LaTeXFeatures.C:
15509         * Painter.C:
15510         * bufferview_funcs.C:
15511         * font.C:
15512         * lyxfont.C:
15513         * text.C:
15514         * text2.C:
15515         * trans_mgr.C:
15516         * paragraph.C: ... but do it here instead
15517
15518 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15519
15520         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15521
15522         * tabular.C: small reformat
15523
15524         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15525         NEW_INSETS version
15526         (GetChar): ditto
15527         (BreakParagraph): ditto
15528         (SetOnlyLayout): ditto
15529         (SetLayout): ditto
15530
15531         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15532         with one arg less.
15533
15534         * lastfiles.C: removed most using decl, add std:: where needed
15535
15536         * buffer.C: ws changes
15537
15538         * MenuBackend.C (class compare_format): put into anon namespace
15539         (expand): constify label, names, action, action2
15540         (expand):
15541
15542         * text.C (SingleWidth): constify font
15543         (IsBoundary): constify rtl2
15544         (GetVisibleRow): constify ww
15545
15546         * LaTeX.C (deplog): constify logfile
15547
15548         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15549         start_x, end_x
15550         (workAreaExpose): constify widthChange, heightChange
15551
15552         * lyxrow.C (par): moved
15553         (height): moved
15554         (next): moved
15555         * lyxrow.h: as inlines here
15556
15557         * lyxfont.h (shape): moved from lyxfont.C
15558         (emph): moved from lyxfont.C
15559
15560         * lyxfont.C (LyXFont): use initialization list for all
15561         constructors
15562         (shape): move to lyxfont.h as inline
15563         (emph): move to lyxfont.h as inline
15564
15565
15566 2001-04-04  Juergen Vigna  <jug@sad.it>
15567
15568         * vspace.C: had to include stdio.h for use of sscanf
15569
15570 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
15571
15572         * BufferView.h:
15573         * BufferView_pimpl.h: remove xforms cruft. Both classes are
15574         independent of xforms.
15575
15576 2001-04-02  Juergen Vigna  <jug@sad.it>
15577
15578         * spellchecker.C: fixed namespace placing!
15579
15580 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
15581
15582         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15583         the LyXParagraph * is 0.
15584
15585 2001-03-29  Juergen Vigna  <jug@sad.it>
15586
15587         * vspace.C: added support for %, c%, p%, l%.
15588         (stringFromUnit): added helper function.
15589         (asLatexString): changed to give right results for the %-values.
15590
15591         * buffer.C: convert the widthp in a width%.
15592
15593 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
15594
15595         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15596         figureForm.[Ch].
15597
15598         * figureForm.[Ch]: stripped the FD_from_figure manipulation
15599         code out of lux_cb.[Ch], ready for its (imminent?) removal.
15600
15601         * lyx_cb.[Ch]: see above.
15602
15603         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15604         form1.[Ch].
15605
15606         * form1.[Ch]:
15607         * lyx.[Ch]: replaced by figure_form.[Ch].
15608
15609         * lyx_gui.C:
15610         * lyx_gui_misc.C:
15611         * lyxfunc.C: changed headers associated with above changes.
15612
15613 2001-03-27  Juergen Vigna  <jug@sad.it>
15614
15615         * BufferView_pimpl.C: set the temporary cursor right!
15616
15617 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
15618
15619         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15620
15621 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
15622
15623         * LString.h: removed "using std::getline"!
15624
15625         * BufferView_pimpl.C (Dispatch): changes due to changes in
15626         InsetInclude::Params.
15627
15628         * buffer.C (tag_name): removed redundant break statements as they were
15629         producing lots of warnings with my compiler.
15630
15631 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15632
15633         * LString.h: add "using std::getline" when using the real <string>.
15634
15635 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
15636
15637         * buffer.C: removed bitset usage.
15638         PAR_TAG moved to an anonymous name space.
15639         (tag_name): new funtion, also in the anonymous namespace.
15640         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15641         (makeDocBookFile): clean code. Completed transition from string arrays
15642         to string vectors.
15643         (SimpleDocBookOnePar): code clean.
15644
15645 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15646
15647         * tabular.C: add some comments.
15648
15649 2001-03-22  Juergen Vigna  <jug@sad.it>
15650
15651         * buffer.C (parseSingleLyXformat2Token): redone the minipage
15652         compatibility read a bit and fixed bug with minipage in different
15653         depth.
15654
15655 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
15656
15657         * buffer.C (pop_tag): removed.
15658         (push_tag): removed.
15659         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15660         array replaced with vector. Added support for CDATA sections.
15661         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15662         at any nest level.
15663         (makeDocBookFile): XML conformant declaration of CDATA section,
15664         fixed bug related to <emphasis> in the first paragraph char.
15665         (sgmlOpenTag): exclude empty tags.
15666         (sgmlCloseTag): ditto.
15667
15668         * buffer.h (pop_tag): removed.
15669         (push_tag): removed.
15670
15671 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
15672
15673         * language.h (Languages): added size_type and size().
15674
15675 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15676
15677         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15678         response on compability reading of minipages. One probliem is that
15679         the old usage of minipages was «flertydig»
15680
15681         * several files here and in subdirs: don't use static at file
15682         scope use anon namespaces instead.
15683
15684 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
15685
15686         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15687         LaTeX output. This is necessary for Literate document
15688         processing.
15689
15690 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15691
15692         * buffer.C: insert hfill when needed.
15693
15694         * tabular.C (l_getline): use string::erase, small whitespace change.
15695
15696         * BufferView_pimpl.C: try the anon namespace.
15697         * WorkArea.C: ditto
15698
15699 2001-03-16  Juergen Vigna  <jug@sad.it>
15700
15701         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15702         otherwise it won't open options-dialogs.
15703
15704         * buffer.C: honor pextraWidth(p) on converting minipages.
15705
15706         * tabular.C (l_getline): changed the functions to strip trailing \r.
15707
15708 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
15709
15710         * BufferView_pimpl.C:
15711         * minibuffer..C: added "using SigC::slot" declaration.
15712
15713 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15714
15715         * lyxlex_pimpl.h: noncopyable is in namespace boost.
15716
15717         * text2.C: ditto
15718
15719         * text.C: ditto
15720
15721         * paragraph.C: ditto
15722
15723         * lyxtext.h: NO_PEXTRA
15724
15725         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15726
15727         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15728         * ParameterStruct.h: ditto
15729         * ParagraphParameters.h: ditto
15730         * lyxparagraph.h: ditto
15731
15732 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15733
15734         * buffer.C: add compability for minipage alignment.
15735         (latexParagraphs): remove unwanted pextra check.
15736
15737         * several files: remove CXX_WORKING_NAMESPACES
15738
15739         * buffer.C (pop_tag): tie is in namespace boost
15740
15741         * BufferView.h: noncopyable is in namespace boost
15742         * lyxlex.h: ditto
15743         * lyx_main.h: ditto
15744         * lyx_gui.h: ditto
15745         * layout.h: ditto
15746         * lastfiles.h: ditto
15747         * bufferlist.h: ditto
15748         * ShareContainer.h: ditto
15749         * LyXView.h: ditto
15750         * LyXAction.h: ditto
15751         * LaTeX.h: ditto
15752
15753 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15754
15755         * Merging changes from BRANCH_MVC back into HEAD.
15756
15757         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15758
15759 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
15760
15761         * BufferView_pimpl.C: change from intl.C
15762
15763         * combox.h:
15764         * combox.C:
15765         * Makefile.am: move combox.*
15766
15767         * form1.h:
15768         * form1.C:
15769         * lyx_gui.C:
15770         * intl.h:
15771         * intl.C: remove dialog (covered by prefs)
15772
15773 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15774
15775         * lyxfunc.C (Dispatch): removed redundant break statement.
15776
15777 2001-03-14  Juergen Vigna  <jug@sad.it>
15778
15779         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15780
15781 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15782
15783         * buffer.C: add hack to fix compability reading of minipages.
15784
15785 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
15786
15787         * buffer.C (getLists): Cleanup.
15788
15789 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15790
15791         * lyxfont.C (update): don't honor toggleall on font size.
15792
15793 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
15794
15795         * bmtable.c:
15796         * bmtable.h:
15797         * Makefile.am: moved to frontends/xforms/
15798
15799         * lyx_gui_misc.C:
15800         * lyxfunc.C:
15801         * BufferView_pimpl.C: changes for moved mathpanel
15802
15803 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15804
15805         * gettext.h: fix gettext_init() in --disable-nls
15806
15807 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15808
15809         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15810
15811 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
15812
15813         * lyx.C:
15814         * lyx.h: strip external form
15815
15816 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15817
15818         * BufferView_pimpl.C: add comment, destroySplash()
15819
15820 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15821
15822         * BufferView_pimpl.C:
15823         * LyXAction.C:
15824         * buffer.C:
15825         * commandtags.h:
15826         * lyxfunc.C: use re-worked insetinclude
15827
15828 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15829
15830         * buffer.C: add using std::stringstream.
15831
15832         * lyx_cb.C: readd using std::ios.
15833
15834         * buffer.C: add using std::map.
15835
15836         * BufferView_pimpl.C: add using std::vector.
15837
15838         * ShareContainer.h: add std:: to swap.
15839
15840         * buffer.h: add some typedefs
15841         * buffer.C (getLists): use them
15842         (getLists): renamed from getTocList.
15843         add a counter for the different float types and use it in the
15844         generated string.
15845         (getLists): use the same counter for the NEW_INSETS and the "non"
15846         NEW_INSETS
15847
15848         * lyx_cb.h: remove unused items, includes, using etc.
15849
15850         * ShareContainer.h: remove some commented code, add more comments
15851         and "documentation".
15852
15853 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15854
15855         * buffer.C (getTocList): make the list also when NEW_INSETS is
15856         defined.
15857
15858         * buffer.h: remove TocType
15859
15860         * buffer.C (getTocList): change to return a map<string,
15861         vector<TocItem> >, implement for dynamic number of list.
15862
15863         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15864         * text2.C (PasteSelection): adjust
15865         * CutAndPaste.C (pasteSelection): adjust
15866
15867         * FloatList.C (FloatList): update from the new_insets branch.
15868         * Floating.[Ch]: ditto
15869         * LaTeXFeatures.C: ditto
15870         * buffer.C: ditto
15871         * lyxlex_pimpl.C: ditto
15872
15873         * paragraph.C (Last): remove when NEW_INSETS is defined.
15874
15875         * other file: changes because of the above.
15876
15877 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15878
15879         * lyxparagraph.h: rename next to next_, previous to previous_,
15880         make them private for NEW_INSETS. Rename Next() to next(),
15881         Previous() to previous().
15882
15883         * other files: changes because of the above.
15884
15885 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
15886
15887         * BufferView.h:
15888         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15889         problem.
15890
15891 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15892
15893         * main.C (main): pass lyx_localedir to gettext_init().
15894
15895         * gettext.h: remove locale_init and gettext_init macros
15896
15897         * gettext.C (locale_init): new function
15898         (gettext_init): new function
15899
15900         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15901         setlocale().
15902
15903 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
15904
15905         * Moved credits to frontends:
15906         * credits.[Ch]: removed
15907         * credits_form.[Ch]: removed
15908         * lyx_gui_misc.C: remove credits stuff
15909         * Makefile.am:
15910
15911 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15912
15913         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15914
15915         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15916         unneeded destructor.
15917
15918         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15919         a standalone pointer again.
15920
15921         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15922
15923 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
15924
15925         * Makefile.am:
15926         * filedlg.h:
15927         * filedlg.C:
15928         * LyXAction.C:
15929         * ToolbarDefaults.C:
15930         * bufferlist.C:
15931         * commandtags.h:
15932         * form1.C:
15933         * form1.h:
15934         * lyx_cb.C:
15935         * lyx_cb.h:
15936         * lyxfunc.h:
15937         * lyxfunc.C:
15938         * BufferView_pimpl.C: use new file dialog in GUII
15939
15940         * lyx_cb.h:
15941         * lyx_cb.C: remove LayoutsCB to Toolbar
15942
15943 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15944
15945         * ShareContainer.h (get): add std:: qualifier
15946
15947 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15948
15949         * ShareContainer.h: define a proper ShareContainer::value_type
15950         type (and use typename to please compaq cxx)
15951
15952 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15953
15954         * lyxparagraph.h: move serveral local vars to
15955         ParameterStruct/ParagraphParameters., use ShareContainer in
15956         FontTable., make vars in FontTable private and add getter and
15957         setter.
15958
15959         * paragraph.C: changes because of the above.
15960
15961         * lyxfont.h: remove copy constructor and copy assignment. (the
15962         default ones is ok), move number inside FontBits. move inlines to
15963         lyxfont.C
15964
15965         * lyxfont.C: add number to initializaton of statics, move several
15966         inlines here. constify several local vars. some whitespace
15967         cleanup. Dont hide outerscope variables.
15968
15969         * Spacing.h: add two new constructors to match the set methods.
15970
15971         * ShareContainer.h: new file, will perhaps be moved to support
15972
15973         * ParameterStruct.h: new file
15974
15975         * ParagraphParameters.h: new file
15976
15977         * ParagraphParameters.C: new file
15978
15979         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15980         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15981
15982         * BufferView_pimpl.C: ParagraphParameter changes.
15983         * buffer.C: Likewise.
15984         * bufferview_funcs.C: Likewise.
15985         * text.C: Likewise.
15986         * text2.C: Likewise.
15987
15988 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15989
15990         * lyxfind.C (LyXReplace): do not redefine default argument in
15991         implementation.
15992         (IsStringInText): ditto
15993         (SearchForward): ditto
15994         (SearchBackward): ditto
15995
15996 2001-03-06  Juergen Vigna  <jug@sad.it>
15997
15998         * lyxfind.C (IsStringInText): put parentes around expressions.
15999
16000 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
16001
16002         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16003
16004 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
16005
16006         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16007
16008         * stl_string_fwd.h: add comment
16009
16010         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16011
16012         * tabular.h:
16013         * tabular.C: remove unused DocBook methods
16014
16015         * intl.C:
16016         * language.C:
16017         * paragraph.C:
16018         * buffer.C:
16019         killed DO_USE_DEFAULT_LANGUAGE
16020
16021 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16022
16023         * lyx_gui.C: do not include language.h.
16024
16025         * bufferview_funcs.C (ToggleAndShow): do not provide optional
16026         arguments in function implementation.
16027
16028 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16029
16030         * BufferView_pimpl.C: add <ctime>
16031
16032 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16033
16034         * BufferView_pimpl.C: add using std::find_if
16035
16036 2001-02-27  José Matos  <jamatos@fep.up.pt>
16037
16038         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16039         by OnlyPath.
16040
16041 2001-02-11  José Matos  <jamatos@fep.up.pt>
16042
16043         * buffer.C (makeDocBookFile): command styles now have a parameter as
16044         "title" by default.
16045
16046 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
16047
16048         * layout_forms.[Ch]: removed
16049         * lyx_cb.[Ch]: out character
16050         * lyx_gui.C: out character
16051         * lyx_gui_misc.C: out character
16052         * bufferview_funcs.C: : out character,
16053         added toggleall as parameter in ToggleAndShow
16054
16055 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
16056
16057         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16058
16059         * text2.C (SetCurrentFont): Disable number property at boundary.
16060
16061 2001-02-26  Juergen Vigna  <jug@sad.it>
16062
16063         * lyxfunc.C (getStatus): added a string argument override function so
16064         that this is correctly called from LyXFunc::Dispatch if it contains a
16065         do_not_use_argument which is used!
16066         (Dispatch): added check for "custom" export and call appropriate func.
16067
16068 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
16069
16070         * lyxrc.C: Add language_command_local, language_use_babel and
16071         language_global_options.
16072
16073         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16074
16075         * buffer.C (makeLaTeXFile): Use language_use_babel and
16076         language_global_options.
16077
16078 2001-02-23  Juergen Vigna  <jug@sad.it>
16079
16080         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16081         which works with LyXText and putted it inside BufferView. Here now we
16082         only call for that part the BufferView::Dispatch() function.
16083
16084         * BufferView.C (Dispatch): added.
16085
16086         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16087         functions which needs to use a LyXText over from LyXFunc.
16088         (MenuInsertLyXFile): added
16089         (getInsetByCode): added
16090         (moveCursorUpdate): added
16091         (static TEXT): added
16092
16093 2001-02-22  Juergen Vigna  <jug@sad.it>
16094
16095         * BufferView_pimpl.C (update): call a status update to see if LyXText
16096         needs it.
16097
16098 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16099
16100         * vc-backend.C (revert): implement for CVS
16101         (getLog): implement for CVS
16102
16103 2001-02-20  Juergen Vigna  <jug@sad.it>
16104
16105         * text2.C (ClearSelection): added BufferView param for inset_owner call
16106
16107         * lyxfunc.C (TEXT): added this function and use it instead of
16108         directly owner->view()-text of getLyXText().
16109
16110 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
16111
16112         * src/layout_forms.C: out preamble
16113         * src/layout_forms.h: out preamble
16114         * src/lyx_cb.C: out preamble
16115         * src/lyx_cb.h: out preamble
16116         * src/lyx_gui.C: out preamble
16117         * src/lyx_gui_misc.C: out preamble
16118         * src/lyxfunc.C: connect with guii preamble
16119
16120 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
16121
16122         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16123
16124 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
16125
16126         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16127         whether to run bibtex.
16128
16129 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
16130
16131         * Makefile.am (lyx_SOURCES): Remove BackStack.h
16132
16133 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
16134
16135         * Makefile.am (lyx_SOURCES): removed bibforms.h
16136
16137         * vspace.h: doxygen
16138
16139         * text.C (GetVisibleRow): make several local vars const
16140
16141         * tabular.C: small cleanup.
16142
16143         * lyxserver.C (callback): use compare instead of strncmp
16144
16145         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16146         inlines to after class or to paragraph.C
16147
16148         * lyxfont.h: remove friend operator!=
16149
16150         * converter.h: move friend bool operator< to non friend and after
16151         class def.
16152
16153         * combox.h: small cleanup
16154
16155         * buffer.h: doxygen, remove unused constructor, move inclas inlies
16156         to inlines after class def.
16157
16158         * buffer.C (pop_tag): use string operations instead of strcmp
16159
16160         * bmtable.c: doxygen, small cleanup
16161
16162         * LaTeX.h: remove friend operator==
16163
16164 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
16165
16166         * screen.C:
16167         * lyxrc.[Ch]:
16168         * lyxfunc.C:
16169         * lyxfont.[Ch]:
16170         * lyx_cb.C:
16171         * intl.[Ch]:
16172         * commandtags.h:
16173         * buffer.C:
16174         * WorkArea.[Ch]:
16175         * LyXAction.C:
16176         * BufferView_pimpl.C:
16177         * BufferView.[Ch]: remove cruft
16178
16179 2001-02-14  Juergen Vigna  <jug@sad.it>
16180
16181         * lyxfunc.C: removed #if 0 unused code
16182
16183         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16184
16185         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16186
16187         * text2.C (SetSelection): added a BufferView * parameter
16188
16189 2001-02-13  Juergen Vigna  <jug@sad.it>
16190
16191         * lyxfunc.C (Dispatch): fixed protected blank problem.
16192         * BufferView2.C (protectedBlank): added LyxText * parameter.
16193
16194         * tabular.C (AppendRow): forgot to set row_info of newly added row.
16195         (AppendColumn): same as above for column_info.
16196
16197         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16198         (moveCursorUpdate): use a LyXText param for support of InsetText.
16199
16200         * BufferView_pimpl.C (doubleClick): added support for InsetText.
16201         (tripleClick): ditto
16202
16203         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16204
16205         * BufferView_pimpl.C (update): added LyXText param to honor insets.
16206
16207         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16208
16209         * text2.C (SetSelection): set correct update status if inset_owner
16210         (ToggleFree): ditto
16211
16212 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
16213
16214         * tabular.C: remove some commented code.
16215
16216 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
16217
16218         * BufferView_pimpl.C: call hideSplash()
16219
16220         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16221
16222         * include_form.h:
16223         * bibforms.h: remove
16224
16225         * lyxfunc.C:
16226         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16227           add LFUN_CHILD_CREATE
16228
16229         * counters.h: fix tiny typo
16230
16231         * lyx_cb.C:
16232         * lyx.h:
16233         * lyx_gui.C:
16234         * lyx.C: move splash to frontends/xforms/
16235
16236         * lyx_gui_misc.C: move Include and Bibform to frontends
16237
16238         * lyxvc.h: clarify comment
16239
16240         * vspace.C: tiny housekeeping
16241
16242 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
16243
16244         * text.C (PrepareToPrint): RTL Fix.
16245
16246         * paragraph.C (GetUChar): New method.
16247         (String):  Use GetUChar.
16248
16249         * buffer.C (asciiParagraph): Use GetUChar.
16250
16251 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
16252
16253         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16254
16255 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
16256
16257         * buffer.h:
16258         * buffer.C: rename to getLogName(), handle
16259           build log / latex log nicely
16260
16261 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16262
16263         * MenuBackend.C:
16264         * MenuBackend.h: remove support for reference menuitem type.
16265
16266 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
16267
16268         * BufferView_pimpl.C: housekeeping
16269         * BufferView_pimpl.h:
16270         * LyXView.h:
16271         * Makefile.am:
16272         * Timeout.C:
16273         * Timeout.h:
16274         * minibuffer.h: move Timeout GUI-I
16275
16276 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
16277
16278         * lyxrc.C (read): Update converters data-structures.
16279
16280 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
16281
16282         * LaTeX.h (operator!=): add operator != for Aux_Info
16283
16284 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
16285
16286         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16287
16288         * LaTeXLog.C: deleted, useful code moved to Buffer
16289
16290         * buffer.h:
16291         * buffer.C: new function getLatexLogName()
16292
16293         * lyx_gui_misc.C:
16294         * lyx_gui.C:
16295         * lyxvc.C:
16296         * lyxvc.h:
16297         * lyxfunc.C: use frontends for LaTeX and VC logs
16298
16299 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16300
16301         * LaTeX.h: yet another std:: that Allan forgot.
16302
16303         * Variables.C (set): renamed from isset(), because this clashes
16304         with some HP-UX macros (grr).
16305
16306 2001-02-06  Allan Rae  <rae@lyx.org>
16307
16308         * LaTeX.h: Another bug fix.  Missing std:: this time.
16309
16310 2001-02-04  Allan Rae  <rae@lyx.org>
16311
16312         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16313         floats problem. I've left it commented out because it's not quite
16314         correct.  It should also test that the current object is a table or
16315         figure inset.  But I haven't gotten around to figuring out how to do
16316         that.  I *think* it'll be something like: "table" == inset.type()
16317
16318         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16319         bool.
16320
16321 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
16322
16323         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16324         all the citation/databases/styles in the auxilary file.
16325         (run): Rerun latex if there was a babel language error.
16326
16327 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
16328
16329         * text.C (Backspace): Preserve the font when changing newline char
16330         with a space.
16331         (BreakParagraph): If the cursor is before a space, delete the space.
16332
16333         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16334
16335 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
16336
16337         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16338         new argument (code).
16339         (ChangeCitationsIfUnique): New method.
16340
16341         * paragraph.C (GetPositionOfInset): Handle bibkey.
16342
16343 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16344
16345         * BufferView_pimpl.h: change type of Position::par_pos to
16346         LyXParagraph::size_type.
16347
16348 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
16349
16350         * BufferView_pimpl.C (savePosition, restorePosition): Write
16351         messages to minibuffer.
16352
16353 2001-01-28  José Matos  <jamatos@fep.up.pt>
16354
16355         * buffer.C (makeDocBookFile): adds support for document language.
16356         A silly restriction on the name of LatexCommand types where removed.
16357         Added support for CDATA sections, allows to chars unescaped, used
16358         among others in code, to avoid escape < and >.
16359
16360 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16361
16362         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16363         saved positions instrad of a stack. Furthermore, a position is
16364         stored using paragraph id/paragraph position.
16365
16366         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16367         Remove LFUN_REF_BACK.
16368
16369 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16370
16371         * converter.C (dvipdfm_options): New method.
16372
16373 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
16374
16375         * vspace.C (isValidLength): Fix for empty input string.
16376
16377 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16378
16379         * LyXAction.C (init): change description of LFUN_FIGURE to
16380         "Insert Graphics"
16381
16382 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16383
16384         * LaTeX.C: add using directive
16385
16386 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16387
16388         * MenuBackend.C (expand): Fix the sorting of the formats.
16389
16390 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
16391
16392         * lyx_main.C: tiny error message fix
16393
16394 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16395
16396         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16397         calling fl_initialize(). This fixes the problem with ',' as
16398         decimal separator in text files.
16399
16400 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16401
16402         * trans.C (process): Fix the keymap bug.
16403
16404 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
16405
16406         * LaTeX.C (scanAuxFiles): New method. Provides support for
16407         multiple bibliographies (when using the bibtopic/bibunits pacakges).
16408         (scanLogFile) Scan for "run BibTeX" messages.
16409
16410         * buffer.C (makeLaTeXFile): Do not load the ae package when using
16411         OT1 font encoding. Also, load the aecompl package if the ae
16412         package is loaded.
16413
16414         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16415
16416 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16417
16418         * texrow.C (increasePos): turn two error messages into debug
16419         messages.
16420
16421 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
16422
16423         * LaTeX.C (scanAux): Handle the \@input macro.
16424         (runBibTeX): Use scanAux().
16425
16426         * language.C (latex_options_): New field.
16427
16428         * LaTeXFeatures.C (getMacros): Add language macros.
16429
16430         * buffer.C (makeLaTeXFile): Small fix.
16431
16432 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16433
16434         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16435
16436         * text2.C: add a using directive.
16437
16438 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
16439
16440         * BufferView2.C:
16441         * lyx_gui_misc.h:
16442         * lyxfr1.C:
16443         * lyxfunc.C: kill LyXBell.
16444
16445 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
16446
16447         * text.C (IsBoundary): Remove the error message
16448
16449         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16450
16451         * lyxrc.C (setDefaults): Correct initialization value for
16452         font_norm_type.
16453
16454 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
16455
16456         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16457         gotoError().
16458
16459         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16460         and GotoNextNote().
16461
16462         * src/LyXAction.C: Added reference-next.
16463
16464         * text.C (InsertChar): Use contains instead of strchr.
16465
16466         * lyx_cb.C (MenuInsertLabel): Enable default value code.
16467
16468 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
16469
16470         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16471         alignment commands (when needed).
16472
16473         * text.C (InsertChar): Add ':' to number separator chars.