]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
3ccdc9bd9617a57dfb45211423024ba6aa36072b
[lyx.git] / src / ChangeLog
1 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
2
3         * buffer.C: remove unused using lyx::support::atoi
4         * paragraph_funcs.C: ditto
5
6 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
7
8         * bufferlist.C (exists): use bind and equal_to instead of
9         compare_memfun
10         (getBuffer): ditto
11         * lyxtextclasslist.C (NumberOfClass): ditto
12
13         * cursor.C (insert): use for_each instead of explicit for loop
14
15         * bufferlist.C (getFileNames): use std::transform and
16         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
17
18         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
19         for loop
20
21         * buffer.C (changeLanguage): use for_each instead of explicit for
22         loop
23         (hasParWithID): implement using getParFromID
24
25         * LaTeXFeatures.C: ws change only
26
27         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
28         to cleanup a bit.
29
30         * BufferView_pimpl.C (trackChanges): use for_each instead of
31         expilicit for loop
32
33 2004-11-04  André Pönitz  <poenitz@gmx.net>
34
35         * undo.h:
36         * undo.C (textUndoOrRedo): fix crash when creating undo information.
37
38         * dociterator.C (asDocIterator): use hard assert again.
39
40 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
41
42         * lyxlength.C (asLatexString): rewrite so that it does not use
43         snprintf anymore
44
45 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
46
47         * text3.C (specialChar, dispatch): make sure cursor moves to the
48         right after inserting an inset
49
50 2004-11-02  José Matos  <jamatos@lyx.org>
51
52         * output_docbook.C (docbook):
53         * paragraph.C (getID):
54         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
55         garantee that the output is always legal.
56
57         * tabular.C (docbook):
58         * outputprams.[Ch]: remove mixed contents.
59
60 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
61
62         * text2.C (setCounter): prevent endless loop
63
64 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
65
66         * exporter.C (copyFile): use the mover instead of support::copy()
67         * exporter.C (Export): pass format and latex name to copyFile()
68         * exporter.h (addExternalFile): document
69         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
70
71 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
72
73         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
74
75 2004-10-30  José Matos  <jamatos@lyx.org>
76
77         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
78         text and no inset or font change. This allows to use CDATA
79         sections just for the whole paragraph.
80
81 2004-10-30  José Matos  <jamatos@lyx.org>
82
83         * paragraph.C (getFirstWord): remove unused variable.
84
85 2004-10-30  José Matos  <jamatos@lyx.org>
86
87         * paragraph.C (getFirstWord): the content should always be escaped
88         there.
89         (simpleDocBookOnePar):
90         * output_docbook.C (makeEnvironment): replace reference to CDATA
91         to style pass_thru.
92
93 2004-10-30  José Matos  <jamatos@lyx.org>
94
95         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
96
97 2004-10-30  José Matos  <jamatos@lyx.org>
98
99         * output_docbook.C (makeParagraphs):
100         * paragraph.[Ch] (emptyTag): for docbook and company, if the
101         standard paragraph has only a given type of content drop the wrapper.
102
103 2004-10-29  José Matos  <jamatos@lyx.org>
104
105         * output_docbook.C (makeEnvironment):
106         * sgml.C (openTag):
107         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
108
109 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
110
111         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
112         (cleanID): sanitize any id.
113
114 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
115
116         * buffer.C, lyxlex_pimpl.C:
117         * lyxlex_pimpl.C (setFile):
118         s/getExtFromContents/getFormatFromContents/
119
120 2004-10-28  José Matos  <jamatos@lyx.org>
121
122         * output_docbook.C (makeEnvironment): move id to broadest possible
123         scope.
124
125         * sgml.C (openTag): apply substitution of <> for all attributes.
126
127 2004-10-28  José Matos  <jamatos@lyx.org>
128
129         * buffer.C (makeLinuxDocFile, makeDocBookFile):
130         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
131         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
132
133         * sgml.[Ch]: new version for open and closeTag for paragraph and
134         for strings. Now they handle the ids of paragraphs.
135
136 2004-10-26  Angus Leeming  <leeming@lyx.org>
137
138         * Makefile.am: add mover.[Ch].
139
140         * converter.C (convert, move): use the new Movers to move external
141         files to the temp directory.
142
143         * lyx_main.C (init): ensure that the global system_movers data
144         is initialised.
145
146         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
147         preferences file.
148
149         * mover.[Ch]: new files, defining a Mover as a utility to move an
150         external file between directories and, if necessary, manipulate this
151         file using a helper script.
152
153 2004-10-25  José Matos  <jamatos@lyx.org>
154
155         * output_docbook.C (makeCommand): merge two if's that tested the
156         same condition.
157
158 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
159
160         * sgml.C (escapeString): fix warning in a better way
161
162 2004-10-25  José Matos  <jamatos@lyx.org>
163
164         * sgml.C (escapeString): import the require boosts header file for
165         tie, and avoid a signed unsigned comparison.
166
167 2004-10-25  José Matos  <jamatos@lyx.org>
168
169         * sgml.h: add #include <string>
170
171 2004-10-25  José Matos  <jamatos@lyx.org>
172
173         * sgml.[Ch] (escapeString): new function to escape all the string.
174
175 2004-10-24  José Matos  <jamatos@lyx.org>
176
177         * paragraph.[Ch] (getFirstWord): new function to get the first
178         word. Useful for description.
179         (simpleDocBookOnePar): remove depth argument, add another that
180         says where to start the paragraph.
181
182         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
183         use the new functions to fix cleanly the support for descriptions.
184
185 2004-10-24  José Matos  <jamatos@lyx.org>
186
187         * buffer.C (makeLinuxDocFile, makeDocBookFile):
188         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
189         * output_linuxdoc.C (linuxdocParagraphs):
190         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
191         add buffer as argument.
192
193 2004-10-24  José Matos  <jamatos@lyx.org>
194
195         * output_docbook.C (makeEnvironment, searchEnvironment): place
196         CDATA inside paragraphs and fix scope for listitems.
197
198 2004-10-24  José Matos  <jamatos@lyx.org>
199
200         * output_docbook.C: remove using statement for stack.
201
202 2004-10-23  José Matos  <jamatos@lyx.org>
203
204         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
205         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
206         docbook. The new scheme is recursive and makes use of iterators, the
207         same as latex export works.
208         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
209         directly with the paragraph contents. This code was moved up to
210         output_docbook.C (docbookParagraphs).
211         * sgml.C (openTag, closeTag): removed unneeded newlines.
212         (closeEnvTags) removed.
213
214 2004-10-23  André Pönitz  <poenitz@gmx.net>
215
216         * undo.C (textUndoOrRedo):
217         * dociterator.C (asDocIterator): work around crash
218
219         * cursor.C (getStatus): replace ASSERT by more verbose error message
220           and manual correction of the problem. Should increase stability
221           while providing more sensible information.
222
223 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
224
225         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
226
227         * bufferlist.C (previous, next): new methods
228
229         * lfuns.h:
230         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
231
232 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
233
234         * buffer.C (makeDocBookFile): add dsssl stylesheet control
235         entities to preamble.
236
237 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
238
239         * messages.C (Pimpl): strip off translation context information
240
241 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
242
243         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
244         the cursor is correct (bug 1694)
245
246 2004-10-13  José Matos  <jamatos@lyx.org>
247
248         * output_docbook.C (docbookParagraphs): fix closing tags in the
249         end of the document.
250
251 2004-10-09  José Matos  <jamatos@lyx.org>
252
253         * buffer.C: format up to 237.
254         * bufferparams.C (write): use tostr to convert booleans to strings.
255
256 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
257
258         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
259
260 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
261
262         * LaTeX.C: implement use of babel language in xindy.
263
264 2004-10-05  José Matos  <jamatos@lyx.org>
265
266         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
267         Add new translators to help reading and writing the lyx file.
268
269 2004-10-05  José Matos  <jamatos@lyx.org>
270
271         * ParagraphParameters.C (read):
272         * text.C (readParToken): replace nexToken by more appropriate lex
273         methods.
274
275 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
276
277         * LaTeX.C (runMakeIndex):
278         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
279         (usually 'makeindex') configurable.
280
281         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
282         with a variable rather than with a number.
283
284 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
285
286         * output_latex.C (TeXOnePar): make sure font setting is the first
287         thing that gets output (and the last at the end). Should fix bug
288         1404.
289
290 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
291
292         * pch.h: use proper signal include
293
294         * LaTeX.h: Use preferred calling of Boost.Signal
295         * buffer.h: ditto
296
297 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
298
299         * pch.h: dont include <boost/function/function0.hpp>
300
301         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
302
303         * paragraph_pimpl.h: remove usage of ShareContainer
304
305         * paragraph_pimpl.C: remove initialization of ShareContainer.
306
307 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
308
309         Fix bug #1666
310
311         * BufferView.C (putSelectionAt): change the semantics when
312         backwards == true: now, this just swaps cursor and anchor wrt the
313         forward case
314
315         * BufferView.h (putSelectionAt): add some documentation
316
317         * lyxfind.C (findBackwards): rewrite using while(). In particular,
318         make sure backwardChar is done at least once (to avoid getting
319         stuck)
320         (findNextChange): use putSelectionAt in the forward direction
321         (operator()): use Paragraph::isWord
322
323 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
324
325         * Spacing.C (set): c_str fix
326
327 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
328
329         * lyx_cb.C (Reconfigure): quote the name of configure script in
330         case it contains spaces
331
332 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
333
334         * client: new dir
335
336         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
337         (BOOST_LIBS): use top_buildir when looking for the file
338
339 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
340
341         * pch.h: do not use include boost/format.hpp, multiple symbols
342                 will result (gcc bug)
343
344
345 2004-08-23  José Matos  <jamatos@lyx.org>
346
347         * bufferparams.C (readToken): fix reading of the author field.
348
349 2004-08-20  José Matos  <jamatos@lyx.org>
350
351         * lyxrc.C: remove support/translator.h inclusion since it is not used.
352
353 2004-08-20  José Matos  <jamatos@lyx.org>
354
355         * lyxlex.[Ch] (findToken): remove function.
356
357         * ParagraphParameters.C (findToken):
358         * bufferparams.C (findToken): replace call for previous function
359         with local copy. This local function has one more argument, the
360         read string argument.
361
362 2004-08-16  José Matos  <jamatos@lyx.org>
363
364         * ParagraphParameters.C (write):
365         * Spacing.C (writeFile):
366         * bufferparams.C (writeLaTeX):
367         * lyx_cb.C (Reconfigure):
368         * paragraph.C (write):
369         * tabular.C (write): remove unnecessary space at end of line.
370
371
372 2004-08-16  José Matos  <jamatos@lyx.org>
373
374         * text.C (readParagraph): remove debug message.
375
376 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
377
378         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
379         crash
380
381         * output_plaintext.C (asciiParagraph): set depth correctly
382
383         * outputparams.h: add member depth
384
385         * paragraph_funcs.C (ownerPar): remove.
386
387         * text2.C (setCounter): remove first_pit; comment out some
388         non-working code that uses ownerPar
389
390         * BufferView.C (getParentLanguage): remove. Not used anymore, and
391         uses ownerPar
392
393 2004-08-16  José Matos  <jamatos@lyx.org>
394
395         * text.C (readParToken, readParagraph, read): report all unknown tokens.
396         For the same level of importance use the same chanel to report problems.
397         (read): add code to deal with \begin_body and \end_body.
398
399
400 2004-08-15  José Matos  <jamatos@lyx.org>
401
402         * lyxlex.C (getString): fix comment, buffer::readBody is now
403         buffer:readDocument.
404
405         * tex-strings.C (string_papersize): Default -> default,
406         Custom -> custom, for consistency with other options.
407
408 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
409
410         * pch.h: new file
411
412         * Makefile.am: support pch
413
414 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
415
416         * text.C (readParToken): remove the static LyXFont variable and
417         pass it as a parameter instead. This fixes a nasty bug where an
418         inset will be inserted with a bad font in some situations
419         (readParagraph): adapt
420
421         * text2.C (setCounter): reduce number of calls to pars_[pit]
422
423         * text.C (singleWidth): add an assert, fix a test
424
425         * rowpainter.C (paintText): reduce number of calls to singleWidth
426
427         * paragraph.C (isHfill):
428         (isNewline): ws only
429
430 2004-08-14  André Pönitz  <poenitz@gmx.net>
431
432         * text.C:
433         * text2.C:
434         * rowpainter.C:
435         * lyxtext.h (several functions): use a Paragraph & argument
436         instead of par_type
437
438 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
439
440         * metricsinfo.h: add a new field ltr_pos to PainterInfo
441
442         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
443
444         * text.C (singleWidth): remove useless test
445
446 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
447
448         * tabular.h: remove bogus comments
449
450         * tabular.C (getDescentOfRow):
451         (isPartOfMultiColumn): add assertions
452
453         * lyxlength.C (inPixels): remove #warning
454
455 2004-08-14  André Pönitz  <poenitz@gmx.net>
456
457         * paragraph.h: inline getChar()
458
459         * BufferView.h: remove unused declarations
460
461 2004-08-14  José Matos  <jamatos@lyx.org>
462
463         * Buffer.[Ch] (readDocument): new name for old readBody.
464         * Buffer.C: new file format, new keywords: \begin_document,
465         \begin_header, \begin_body, \end_body.
466
467         * bufferparams.C (readToken): replace all calls to lex.nextToken
468         by lex.next(). Do the same to eatLine except where really needed.
469
470         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
471         line when writing to the lyx file.
472
473         * output_plaintext.C (asciiParagraph): fix Bibliography style
474         handling.
475
476         * text.C (read): fix end of file handling.
477
478 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
479
480         * MenuBackend.C (Menu::operator[]): new method to access
481         individual menu items
482         (Menu::hasFunc): new method. search for an item that corresponds
483         to a given func
484         (MenuBackend::specialMenu): new method
485         (MenuBackend::expand): if a special menu has been set, skip
486         entries whose func() appears in this menu
487
488 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
489
490         * text3.C: use Debug::DEBUG a bit more
491
492         * text.C (leftMargin): try to simplify a tiny bit change var x to
493         l_margin. Dont output the wide margins always.
494         (rightMargin): no margin in inner texts
495
496         * rowpainter.h (nestMargin): new func
497         (changebarMargin): new func
498         (rightMargin): new func
499
500         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
501         now functions.
502         (paintLast): ditto
503
504         * factory.C (createInset): modify setDrawFrame
505
506         * cursor.C: use Debug::DEBUG a bit more
507
508 2004-08-14  André Pönitz  <poenitz@gmx.net>
509
510         * coordcache.[Ch]:
511         * Makefile.am: new files to accomodate an 'external' (x,y)-position
512         cache for all insets in (at least partially) visible (top-level)
513         paragraphs.
514
515         * BufferView_pimpl.C: reset external coord cache before every update.
516         This means the coord cache only contains valid entries.
517
518 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
519
520         bug 1096
521         * BufferView_pimpl.C (getInsetByCode): move function out of class
522         and change in to a template in anon namespace. Also fix to do what
523         suits us better.
524
525 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
526
527         bug 1305
528         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
529         of char
530         (breakParagraph): rename par to par_offset and use a local
531         reference. Add code to keep the language over a rebreak.
532         (breakParagraphConservative): rename par to par_offset, use a
533         local reference
534         (mergeParagraph): ditto
535         (outerHook): ditto
536         (isFirstInSequence): ditto
537         (outerFont): rename pit to par_offset
538
539         * paragraph.C: ws change
540         * paragraph.h: ditto
541         * text3.C: ditto
542         * text.C: ditto
543
544 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
545
546         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
547         treatment for ']'
548
549         * paragraph.C (simpleTeXOnePar): when we have a \item with
550         optional argument, enclose the argument with curly brackets (in
551         case it contains a closing square bracket)
552
553         * text2.C (editXY):
554         * text2.C (editXY):
555         * text3.C (checkInsetHit): constify
556
557 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
558
559         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
560         documents (bug 1629)
561
562 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
563
564         Fix toggling of collapsable insets with the mouse (bug 1558)
565
566         * lyxfunc.C (dispatch): adapt to LCursor changes
567
568         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
569         make sure that dispatch is not invoked twice
570
571         * cursor.C (needsUpdate): new method
572         (dispatch): return void
573         (result): new method, to access the DispatchResult of the cursor.
574
575 2004-08-13  José Matos  <jamatos@lyx.org>
576
577         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
578
579 2004-08-13  André Pönitz  <poenitz@gmx.net>
580
581         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
582
583         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
584           multiple cells
585
586 2004-08-12  André Pönitz  <poenitz@gmx.net>
587
588         * text3.C: take out the 'cursor right' form insertInset and only
589         do it in those places when it is really needed. Fixes crash on
590         C-m...
591
592 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
593
594         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
595
596         * BufferView_pimpl.C (setBuffer): initialize the current font of
597         the underlying LyXText
598
599 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
600
601         * kbsequence.C (print): use UI native formatting for menu
602         shortcuts
603
604         * text.C (insertChar): call Paragraph::insertChar with a font
605         argument (cosmetic)
606
607         * paragraph.C (insertInset, insertChar): the version that takes a
608         LyXFont argument is now a wrapper around the other one (the
609         opposite used to be true).
610
611         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
612         argument. Font setting is done in Paragraph now.
613
614 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
615
616         * outputparams.h: add new members intitle and lang.
617
618         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
619         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
620
621 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
622
623         * text3.C (dispatch): remove special handling of button 4 and 5,
624         it is now taken care of in the frontend code.
625
626 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
627
628         * Spacing.h: add <string> (STLPort compile fix)
629
630 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
631
632         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
633
634 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
635
636         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
637         to bool.
638
639         * converter.C (showMessage): inherit from unary_function, make
640         operator() const.
641
642         * buffer.C (writeFile): initialize retval
643
644         * InsetList.h: rename private variable list to list_
645         * InsetList.[Ch]: adjust accordingly.
646
647 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
648
649         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
650         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
651         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
652         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
653         * ParagraphParameters.C, LaTeXFeatures.C: replace
654         "support/std_sstream.h" with <sstream>
655
656 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
657
658         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
659         * lyxsocket.C (LyXServerSocket): ditto
660         (serverCallback): ditto
661
662 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
663
664         * LaTeXFeatures.C: check release date when loading jurabib.
665
666 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
667
668         * lyxserver.C (startPipe): call register_socket_callback
669         (endPipe): call unregister_socket_callback
670
671 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
672
673         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
674         (LyXServerSocket): register the callback
675         (LyXServerSocket): unregister the callback
676         (fd): delete function
677         (serverCallback): improve error checking and setup the callbacks.
678         (dataCallback): change arg to fd.
679         (writeln): new func (copied fro the client socket) used for server
680         write to client.
681         (LyXDataSocket): simplify
682         (~LyXDataSocket): close ann unregiser callback
683         (server): delete function
684         (fd): delete function
685         (readln): small changes, improve some std::string usage
686         (writeln): constify a bit
687
688 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
689
690         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
691         Qt frontend
692
693 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
694
695         * BufferView_pimpl.C (setBuffer): set the layout combox value only
696         after it has been populated
697
698 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
699
700         * text2.C (insertInset): move cursor when inserting inset.
701
702 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
703
704         * kbmap.C (findbindings): a couple of new methods. returns a
705         container of kb_sequence objects. The real work is done by the
706         private recursive version
707         (printbindings): uses findbindings to print out a bracketed list
708         of bindings (renamed from findbinding).
709
710         * MenuBackend.C (binding): use kb_keymap::findbindings
711
712         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
713
714 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
715
716         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
717
718 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
719
720         * paragraph.C (isWord): return true on insets that report
721         isLetter().
722
723         * text.C (getWord): use Paragraph::isWord to decide what is in a
724         word and what is not; fix bug 1609.
725
726 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
727
728         * tex-strings.C: add "none" to string_paperpackages[], fixes
729         off-by-one-error in the paperpackage selection.
730
731         * lyxlex.[Ch]:
732         * tex-strings.[Ch]: char const * string[n]
733         -> char const * const string[]
734
735 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
736
737         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
738         command, return early.
739
740 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
741
742         * debug.h: add DEBUG to enum and fix size of ANY.
743
744         * debug.C: add support for Debug::DEBUG
745         (showTags): cast errorTags.level to unsigned int
746
747         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
748         (redoCurrentBuffer): ditto
749         (updateScrollbar): ditto
750         * cursor.C (dispatch): ditto
751         * text2.C (setLayout): ditto
752         (setFont): ditto
753         (updateCounters): ditto
754         (editXY): ditto
755         (deleteEmptyParagraphMechanism): ditto
756
757 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
758
759         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
760         annotations to cleanup the Makefile slightly.
761
762 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
763
764         * lyxrc.C: do not set user_email to a default value but use empty
765         instead. The entry used to be translated, which does not work
766         since at the point where lyxrc is constructed there is no
767         translation service available
768
769         * messages.C (getLocaleDir): remove and use directly
770         lyx_localedir() instead
771
772 2004-06-02  Angus Leeming  <leeming@lyx.org>
773
774         Fix crash caused by dereferencing null pointer 'exportdata' in
775         OutputParams by creating a new ExportData variable on the heap,
776         storing it in a boost::shared_ptr.
777         The crash was triggered when generating an Instant Preview
778         of an external inset.
779
780         * Makefile.am: add outputparams.C
781
782         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
783         (c-tor): allocate memory to it.
784
785         * exporter.C (c-tor): associated changes.
786
787 2004-06-01  Angus Leeming  <leeming@lyx.org>
788
789         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
790         contains data before calling isInset(0). (Bug 1513.)
791
792 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
793
794         * exporter.C (checkOverwrite): new method
795         * exporter.C (copyFile): new method
796         * exporter.C (Export): copy referenced files to the document dir
797         * exporter.[Ch]: new class ExportedFile
798         * exporter.[Ch]: new class ExportData. Contains currently the
799         names of referenced external files
800         * outputparams.h: add exportdata member.
801
802 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
803
804         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
805         version.C-tmp
806
807 2004-05-19  Angus Leeming  <leeming@lyx.org>
808
809         * LaTeXFeatures.C:
810         * ToolbarBackend.C:
811         * bufferparams.C:
812         * lyxfunc.C: small changes due to the introduction of namespace
813         lyx::frontend and the moving of namespace biblio to lyx::biblio.
814
815 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
816
817         * text3.C (dispatch): supress update when only moving the cursor
818         * cursor.C (selHandle): remove commented code
819
820 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
821
822         * paragraph.C (startTeXParParams): correct column count
823         * CutAndPaste.C (pasteSelection): remove const_cast
824         * output_docbook.C (docbookParagraphs): remove const_cast
825         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
826         const_cast and return ParagraphList::const_iterator
827         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
828         * output_plaintext.C (writeFileAscii): remove const_cast
829         * paragraph.[Ch] (simpleTeXOnePar): make const
830         * paragraph_funcs.C (outerPar): use const iterators
831         * paragraph_pimpl.C (validate): use const iterators
832         * text.C (setHeightOfRow): use const iterators
833
834 2004-05-17  Angus Leeming  <leeming@lyx.org>
835
836         * lfuns.h:
837         * LyXAction.C (init): new LFUN_INSET_REFRESH.
838
839         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
840         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
841         if the citation engine has changed.
842
843 2004-05-14  José Matos  <jamatos@lyx.org>
844
845         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
846         if the textclass does not provide it. Have it different for sgml and
847         xml.
848         support the language of document.
849         * output_docbook.C (docbookParagraphs):
850         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
851         first anchor as the id of the paragraph, remove special case code.
852         * sgml.C (escapeChar): escape only < & >.
853
854 2004-05-14  Angus Leeming  <leeming@lyx.org>
855
856         * bufferparams.h: move biblio::CiteEngine enum here to minimize
857         dependencies on src/frontends/controllers/biblio.h. Define a
858         CiteEngine_enum wrapper class to enable the enum to be forward
859         declared.
860
861 2004-05-12  Angus Leeming  <leeming@lyx.org>
862
863         * buffer.C: up LYX_FORMAT to 234.
864         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
865         use_numerical_citations with a single biblio::CiteEngine cite_engine
866         variable.
867         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
868
869 2004-05-13  José Matos  <jamatos@lyx.org>
870
871         * converter.h:
872         * converter.C (Converter, readFlags): add xml member.
873         * outputparams.h: add XML flavor.
874         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
875
876 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
877
878         * lyxfunc.C (dispatch):
879         (getStatus): fix handling of LFUN_SEQUENCE
880
881 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
882
883         * debug.C (showLevel): do not forget the end-of-line marker
884
885 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
886
887         * kbmap.C (read): do not stop parsing a bind file when an error
888         occurs (bug 1575)
889
890 2004-04-29  Angus Leeming  <leeming@lyx.org>
891
892         * cursor.C:
893         * factory.C:
894         * pariterator.C:
895         * text2.C: wrap a bunch of #warning statements
896         inside #ifdef WITH_WARNINGS blocks.
897
898 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
899
900         * buffer.C: increment format to 233.
901
902 2004-04-28  Angus Leeming  <leeming@lyx.org>
903
904         * BufferView_pimpl.C:
905         * lyxfunc.C:
906         * text3.C:
907         s/updateToolbar()/updateToolbars()/
908         s/Toolbar.h/Toolbars.h/
909
910 2004-04-28  Angus Leeming  <leeming@lyx.org>
911
912         * BufferView.[Ch] (c-tor):
913         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
914         No longer passes these data to the WorkArea generator.
915
916 2004-04-28  Angus Leeming  <leeming@lyx.org>
917
918         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
919
920 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
921
922         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
923
924 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
925
926         * output_latex.C (TeXEnvironment): make sure that there is a line
927         break before \end{foo} for the last paragraph of a document
928         (TeXOnePar): if the paragraph is at the end of the document (or
929         inset) and the language has to be reset, then make sure that the
930         line break is _before_ the language command, not after (fixes bug
931         1225); also make sure that the language reset command is the first
932         thing after the paragraph (to ensure proper nesting of
933         environments and thus fix bug 1404)
934
935 2004-04-21  John Levon  <levon@movementarian.org>
936
937         * ToolbarBackend.h:
938         * ToolbarBackend.C: make "name" be a programmatic name
939         and a gui_name field.
940
941         * lyxfunc.C: display the minibuffer on M-x
942
943 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
944
945         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
946         (bug 1526)
947
948 2004-04-19  Angus Leeming  <leeming@lyx.org>
949
950         * BufferView_pimpl.C (setBuffer): changed preview interface.
951
952         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
953         possible values.
954
955 2004-04-19  John Levon  <levon@movementarian.org>
956
957         * BufferView_pimpl.C:
958         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
959
960 2004-04-05  Angus Leeming  <leeming@lyx.org>
961
962         * text.C (redoParagraphs): add call to updateCounters(), thereby
963         fixing the missing "Figure #:" label from the caption of a
964         figure float.
965
966 2004-04-13  Angus Leeming  <leeming@lyx.org>
967
968         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
969         cursor is clicked out of an inset.
970
971 2004-04-13  Angus Leeming  <leeming@lyx.org>
972
973         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
974         than an InsetOld one.
975
976 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
977
978         * format.[Ch]: add editor to Format
979         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
980         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
981
982 2004-04-08  André Pönitz  <poenitz@gmx.net>
983
984         * metricsinfo.h: remove PainterInfo::width member
985
986 2004-04-08  Angus Leeming  <leeming@lyx.org>
987
988         * lyx_sty.C (boldsymbol_def): modify so that it outputs
989         "\providecommand" rather than "\newcommand", thereby preventing
990         clashes with packages that define "\boldsymbol" themselves.
991         Eg, beamer.
992
993 2004-04-08  Angus Leeming  <leeming@lyx.org>
994
995         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
996         thereby squashing an unnecessary warning.
997
998 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
999
1000         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1001         setBuffer()
1002
1003 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
1004
1005         * BufferView.C (setCursor): call redoParagraph (some insets could
1006         have been opened)
1007         (putSelectionAt): remove the 'double update' trick
1008
1009         * BufferView_pimpl.C (fitCursor): call refreshPar
1010         (workAreaDispatch): remove an uneeded update call
1011         (dispatch): remove some manual update calls
1012
1013         * cursor.[Ch]: remove cached_y_, updatePos
1014         (selHandle): set noUpdate when appropriate
1015
1016         * lyxfunc.C (dispatch): track if we need an update
1017
1018         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1019
1020         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1021         (paintSelection): cheap optimization, do not call cursorX when not
1022         needed
1023         (paintPars): change signature
1024         (refreshPar): add
1025         (paintText): adjust
1026         (paintTextInset): adjust
1027
1028         * text.C: adjust
1029
1030 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1031
1032         * lengthcommon.C: compilation fix: remove explicit array size from
1033         unit_name[] and friends
1034
1035 2004-04-05  Angus Leeming  <leeming@lyx.org>
1036
1037         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1038
1039         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1040         present only for the preferences dialog.
1041         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1042
1043 2004-04-05  Angus Leeming  <leeming@lyx.org>
1044
1045         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1046         to enable the frontends to export changes to lyxrc correctly.
1047
1048         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1049
1050 2004-04-07  André Pönitz  <poenitz@gmx.net>
1051
1052         * cursor.[Ch] (selClear, adjust): remove math
1053
1054         * cursor_slice.C: more agressive assert
1055
1056         * lyxfunc.C:
1057         * BufferView_pimpl.C: rework mouse event dispatch
1058
1059         * dociterator.C:
1060         * paragraph.C:
1061         * text2.C:
1062         * text3.C: adjust
1063
1064 2004-04-05  André Pönitz  <poenitz@gmx.net>
1065
1066         * cursor.[Ch] (valign, halign...): remove unneeded functions
1067
1068 2004-04-05  Angus Leeming  <leeming@lyx.org>
1069
1070         * lyxlength.[Ch] (unit_name et al.): const-correct.
1071
1072 2004-04-05  Angus Leeming  <leeming@lyx.org>
1073
1074         * BufferView_pimpl.C:
1075         * buffer.C:
1076         * counters.C:
1077         * cursor.C:
1078         * lyxfunc.C
1079         * paragraph.C:
1080         * pariterator.C:
1081         * text.C:
1082         * text2.C:
1083         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1084
1085 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1086
1087         * text3.C (getStatus): add LFUN_BEGINNINGBUF
1088
1089 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1090
1091         * lyxfind.C: add a couple of inTexted() tests + other small fixes
1092         * BufferView_pimpl.[Ch] (getStatus)
1093         * BufferView.[Ch] (getStatus): add
1094         * lyxfunc.C (getStatus): move lfuns handled in
1095         BufferView::dispatch to te function above
1096         * Cursor.C (setSelection): set selection() = true
1097
1098 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1099
1100         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1101
1102 2004-03-31  Angus Leeming  <leeming@lyx.org>
1103
1104         * lyxfunc.C (dispatch): Fall through to the generic
1105         Dialogs::show("preamble").
1106
1107 2004-03-31  Angus Leeming  <leeming@lyx.org>
1108
1109         * lyxfunc.C (dispatch): Fall through to the generic
1110         Dialogs::show("spellchecker").
1111
1112 2004-03-31  Angus Leeming  <leeming@lyx.org>
1113
1114         * lyxfunc.C (getStatus, dispatch): changed invocation of the
1115         preferences dialog.
1116
1117 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1118
1119         * BufferView.C
1120         * cursor.[Ch]
1121         * dociterator.[Ch]:
1122         * insetiterator.[Ch]:
1123         * lyxfind.C:
1124         * lyxfunc.C:
1125         * pariterator.[Ch]:
1126         * text2.C:
1127         * undo.[Ch]: s/DocumentIterator/DocIterator/g
1128
1129 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1130
1131         * BufferView.C (setCursor, putSelectionAt): call edit to open the
1132         insets where we are putting the cursor.
1133
1134 2004-03-31  Angus Leeming  <leeming@lyx.org>
1135
1136         * lfuns.h:
1137         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1138
1139         * lyxrc.[Ch] (read, write): overloaded member functions taking
1140         a std::[io]stream arguments.
1141
1142         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1143
1144 2004-03-31  Angus Leeming  <leeming@lyx.org>
1145
1146         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1147         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1148
1149         * lyxtextclass.C (load): if the text class couldn't be loaded, then
1150         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1151
1152 2004-03-31  Angus Leeming  <leeming@lyx.org>
1153
1154         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1155         the LFUN_ALL_INSETS_TOGGLE code.
1156
1157 2004-03-30  Angus Leeming  <leeming@lyx.org>
1158
1159         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1160         has died. Fall through to the generic Dialogs::show("document").
1161
1162 2004-03-30  Angus Leeming  <leeming@lyx.org>
1163
1164         * lfuns.h:
1165         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1166         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1167
1168         * lyxfunc.C (getStatus, dispatch): define the actions for these
1169         lfuns. Little more than a cut and pste job from ControlDocument.C
1170
1171         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1172
1173 2004-03-30  Angus Leeming  <leeming@lyx.org>
1174
1175         * lfuns.h:
1176         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1177         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1178
1179         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1180         open/closed state of ollapsable insets. Usage:
1181
1182         all-inset-toggle <state> <name>, where
1183         <state> == "open" || "closed" || "toggle" and
1184         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1185
1186         * lyxtext.h, text2.C (toggleInset): removed.
1187
1188         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1189         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1190         now passes LFUN_INSET_TOGGLE to the found inset.
1191
1192         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1193         is now invoked as "all-insets-toggle toggle branch".
1194
1195 2004-03-30  Angus Leeming  <leeming@lyx.org>
1196
1197         * dociterator.C:
1198         * insetiterator.C:
1199         * pariterator.[Ch]: added/corrected header blurb.
1200
1201 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
1202
1203         * dociterator.[Ch]: add an inset_ member
1204         (backwardPos): implemented
1205         (backwardPos, forwardPos): use inset_ when the stack is empty.
1206         (doc_iterator_begin, doc_iterator_end): implemented
1207         * pariterator.[Ch]: adjust, add begin, end
1208         * insetiterator.[Ch]: adjust, add begin, end
1209         * cursor.C:
1210         * document.C:
1211         * BufferView.C:
1212         * BufferView_pimpl.C:
1213         * CutAndPaste.C: adjust
1214
1215 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1216
1217         * buffer.C: increment file format to 232.
1218         * LaTeXFeatures.C: add bibtopic package.
1219         * bufferparams.[Ch]: param \use_bibtopic.
1220
1221         * lyxrc.[Ch]: add lyxrc bibtex_command
1222         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1223
1224         * buffer.C: increment file format to 231.
1225
1226 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1227
1228         * dociterator.C: implement forwardPar
1229         * iterators.[Ch]: remove, replaced by
1230         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1231         * BufferView.C:
1232         * BufferView_pimpl.C:
1233         * CutAndPaste.C:
1234         * buffer.C:
1235         * bufferview_funcs.C:
1236         * cursor.C:
1237         * lyxfind.C
1238         * lyxfunc.C
1239         * paragraph_funcs.C
1240         * toc.C:
1241         * Makefile.am: adjust
1242
1243 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1244
1245         * CutAndPaste.C (pasteSelection): fix 2 crashes
1246         (eraseSelection): fix a crash
1247         * paragraph_funcs.C: remove a warning
1248
1249 2004-03-28  Angus Leeming  <leeming@lyx.org>
1250
1251         * lfuns.h:
1252         * LyXAction.C (init): new LFUN_PRINT.
1253
1254         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1255
1256 2004-03-27  Angus Leeming  <leeming@lyx.org>
1257
1258         * lfuns.h:
1259         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1260
1261         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1262
1263 2004-03-27  Angus Leeming  <leeming@lyx.org>
1264
1265         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1266         insetlist always contains non-null pointers to insets.
1267
1268 2004-03-26  Angus Leeming  <leeming@lyx.org>
1269
1270         * src/BufferView_pimpl.C:
1271         * src/CutAndPaste.C:
1272         * src/buffer.C:
1273         * src/iterators.C:
1274         * src/output_plaintext.C:
1275         * src/outputparams.h:
1276         * src/paragraph_funcs.C:
1277         * src/rowpainter.C:
1278         * src/text.C:
1279         * src/text2.C:
1280         * src/frontends/controllers/ControlErrorList.C:
1281         * src/frontends/gtk/FileDialogPrivate.C:
1282         * src/frontends/gtk/GPainter.C:
1283         * src/frontends/gtk/GToolbar.C:
1284         * src/frontends/qt2/QRef.C:
1285         * src/mathed/math_scriptinset.C: squash compiler warnings.
1286
1287 2004-03-26  Angus Leeming  <leeming@lyx.org>
1288
1289         * ispell.C (LaunchIspell::start):
1290         * lyx_cb.C (AutoSaveBuffer::start):
1291         invoke run(DontWait) rather than runNonBlocking().
1292
1293 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
1294
1295         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1296
1297 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1298
1299         * kbsequence.C (print): adjust
1300
1301         * kbmap.C (printKeySym): rename and change signature
1302         (printKey): use LyXKeySym::print()
1303
1304 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
1305
1306         * undo.C: add using std::advance to compile for stlport
1307
1308 2004-03-24  Angus Leeming  <leeming@lyx.org>
1309
1310         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1311         it leads to a crash when no buffer is present.
1312
1313 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1314             Martin Vermeer  <martin.vermeer@hut.fi>
1315
1316         * lyxfunc.C (dispatch):
1317         * bufferparams.C (readToken): use the new LColor::setColor
1318
1319         * LColor.[Ch] (setColor): new version that takes two strings as
1320         argument and creates a new color entry if necessary
1321
1322 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1323
1324         * buffer.C (makeLaTeXFile): if the main latex file that is
1325         processed is usually a subdocument of some master, then pretend
1326         for a while that it is actually the master
1327
1328 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1329
1330         * buffer.C (getLabelList):
1331         (getBibkeyList): use getMasterBuffer()
1332         (getMasterBuffer): new method. Returns the main document in the
1333         case where one is using included documents.
1334
1335 2004-03-25  André Pönitz  <poenitz@gmx.net>
1336
1337         * Makefile.am:
1338         * iterators.[Ch]:
1339         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1340
1341         * ParagraphList_fwd.h: change ParagraphList to a std::vector
1342
1343         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1344         text*.C over here. Rename namespace CutAndPaste to lyx::cap
1345
1346         * ParameterStruct.h: merge with ParagraphParameters
1347
1348         * lyxtext.h: remove LyXText::parOffset() and getPar()
1349
1350         * text3.C: Remove all 'manual' update calls. We do now one per user
1351         interaction which is completely sufficient.
1352
1353         * Bidi.C:
1354         * BufferView.[Ch]:
1355         * BufferView_pimpl.C:
1356         * FontIterator.[Ch]:
1357         * MenuBackend.C:
1358         * ParagraphParameters.[Ch]:
1359         * buffer.C:
1360         * buffer.h:
1361         * bufferlist.C:
1362         * cursor.[Ch]:
1363         * cursor_slice.[Ch]:
1364         * dociterator.[Ch]:
1365         * errorlist.[Ch]:
1366         * factory.C:
1367         * lfuns.h:
1368         * lyxfind.C:
1369         * lyxfunc.C:
1370         * output_docbook.[Ch]:
1371         * output_latex.[Ch]:
1372         * output_linuxdoc.[Ch]:
1373         * output_plaintext.[Ch]:
1374         * paragraph.[Ch]:
1375         * paragraph_funcs.[Ch]:
1376         * paragraph_pimpl.[Ch]:
1377         * rowpainter.C:
1378         * tabular.[Ch]:
1379         * text.C:
1380         * text2.C:
1381         * toc.C:
1382         * undo.[Ch]: adjust
1383
1384         * frontends/controllers/ControlDocument.C:
1385         * frontends/controllers/ControlErrorList.C:
1386         * frontends/controllers/ControlSpellchecker.C:
1387         * insets/inset.C:
1388         * insets/inset.h:
1389         * insets/insetbase.h:
1390         * insets/insetbibitem.C:
1391         * insets/insetbox.C:
1392         * insets/insetbranch.C:
1393         * insets/insetcaption.C:
1394         * insets/insetcharstyle.C:
1395         * insets/insetcharstyle.h:
1396         * insets/insetcollapsable.C:
1397         * insets/insetcollapsable.h:
1398         * insets/insetert.C:
1399         * insets/insetfloat.C:
1400         * insets/insetfoot.C:
1401         * insets/insetmarginal.C:
1402         * insets/insetnote.C:
1403         * insets/insetoptarg.C:
1404         * insets/insettabular.C:
1405         * insets/insettext.C:
1406         * insets/insettext.h:
1407         * insets/insetwrap.C:
1408         * mathed/math_mboxinset.C:
1409         * mathed/math_nestinset.C:
1410         * mathed/math_scriptinset.C:
1411         * mathed/math_scriptinset.h:
1412         * support/types.h:
1413
1414 2004-03-24  Angus Leeming  <leeming@lyx.org>
1415
1416         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1417         deal with any child processes that have finished but are waiting to
1418         communicate this fact to the rest of LyX.
1419
1420 2004-03-24  Angus Leeming  <leeming@lyx.org>
1421
1422         64-bit compile fixes.
1423
1424         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1425         (c-tor): pass lyx::pos_types rather than ints.
1426
1427         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1428         lyx::pos_type.
1429
1430         * text.C (Delete): compile fix.
1431         (getPar): ensure that function declaration is the same as that in
1432         the header file.
1433
1434 2004-03-23  Angus Leeming  <leeming@lyx.org>
1435
1436         * ispell.C (LaunchIspell):
1437         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1438         a boost::shred_ptr rather than a std::auto_ptr.
1439
1440 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1441
1442         * lyxfunc.C (getStatus): handle read-only buffers correctly;
1443         handle LFUN_FILE_INSERT_*
1444
1445         * lyxrc.C (setDefaults, getDescription, output, read):
1446         * lyxrc.h: remove ps_command
1447
1448 2004-03-22  Angus Leeming  <leeming@lyx.org>
1449
1450         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1451         Ensure that error_handler is processed once only and that all data
1452         is saved before attempting to output any warning messages.
1453
1454         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1455
1456 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
1457
1458         * tabular.C (TeXRow): crash fix (from Kayvan and André)
1459
1460 2004-03-19  André Pönitz  <poenitz@gmx.net>
1461
1462         * cursor.[Ch] (reset): take main text inset as argument
1463
1464         * BufferView: adjust
1465         * BufferView_pimpl.C: adjust
1466
1467         * paragraph.[Ch]: fix completely broken operator=()
1468
1469 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1470
1471         * LColor.C (getFromLyXName): make sure that the color name is used
1472         as lowercase.
1473
1474 2004-03-17  Angus Leeming  <leeming@lyx.org>
1475
1476         * lfuns.h:
1477         * LyXAction.C (init): remove LFUN_FORKS_KILL.
1478
1479         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1480         dialog and to kill a forked process.
1481
1482 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1483
1484         * text2.C (setCursorFromCoordinates): fix font problem
1485
1486 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1487
1488         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1489         bogus "rebuild cursor" code
1490
1491 2004-03-11  André Pönitz  <poenitz@gmx.net>
1492
1493         * buffer.[Ch]: use InsetText instead of LyXText as container for
1494         the main lyx text.
1495
1496         * dociterator.[Ch]: drop the BufferView * member which is not needed
1497         anymore after the change to buffer.C
1498
1499         * paragraph_funcs.C:
1500         * text.C:
1501         * text2.C:
1502         * BufferView.[Ch]:
1503         * BufferView_pimpl.[Ch]:
1504         * cursor.[Ch]:
1505         * cursor_slice.[Ch]: adjust
1506
1507         * text3.C: fix bug in mathDispatch
1508
1509 2004-03-08  André Pönitz  <poenitz@gmx.net>
1510
1511         * undo.[Ch]: use 'StableDocumentIterator' as base for
1512         the Undo struct.
1513
1514 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1515
1516         * LaTeXFeatures.C:
1517         * bufferparams.[Ch]: add jurabib support and param.
1518
1519         * LaTeX.C: add FIXME/comment.
1520
1521 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1522
1523         * buffer.C: increment file format to 230.
1524
1525 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
1526
1527         * cursor.C (dispatch): avoid infinite loops
1528
1529 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1530
1531         * rowpainter.C (paintSelection): fix x coordinates
1532
1533 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1534
1535         * text.C (rowBreakPoint): fix breaking before displayed insets
1536
1537 2004-03-01  André Pönitz  <poenitz@gmx.net>
1538
1539         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1540
1541         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1542
1543         * Makefile.am:
1544         * BufferView.C:
1545         * BufferView_pimpl.C:
1546         * buffer.C:
1547         * lyxfind.C:
1548         * lyxfunc.C:
1549         * text.C:
1550         * text2.C:
1551         * text3.C: adjust
1552
1553 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1554
1555         * lyxtext.h:
1556         * text.C:
1557         * text2.C:
1558         * rowpainter.C:
1559         * BufferView_pimpl.C: rename textwidth -> maxwidth,
1560         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1561
1562 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1563
1564         * Bidi.[Ch] (computeTables): const correctness
1565         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1566         fill_hfill, fill_label_hfill and x from Row
1567         * lyxtext.h: prepareToPrint returns a RowMetrics
1568         * rowPainter.C: adjust
1569         * text.C (prepareToPrint): use width, not textWidth. adjust
1570         (redoParagraphInternal, cursorX): adjust
1571         * text2.C (getColumnNearX): adjust
1572         (init): put a default value to the top LyXText::width
1573
1574 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1575
1576         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1577
1578 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1579
1580         * lyxtext.h: add FontIterator class
1581
1582         * text.C (FontIterator, operator*, operator->, operator++): add
1583         (rowBreakPoint, setRowWidth): adjust (fixing a
1584         rebreaking bug)
1585
1586 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1587
1588         * BufferView_pimpl.C (workAreaDispatch): allow also
1589         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1590
1591 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
1592
1593         * text.C (rowBreakPoint): fix a bug showing with very large insets
1594
1595 2004-02-25  André Pönitz  <poenitz@gmx.net>
1596
1597         * text3.C:
1598         * cursor.[Ch]: move some mathed specific code to mathed
1599
1600 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1601
1602         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1603         use_tempdir in preferences
1604         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1605         tempfile creation
1606         * lyx_main.C: ensure that tempdir is valid
1607         * lyxlex.h: correct typo
1608         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1609         * paragraph.[Ch] (isMultiLingual): make const
1610         * cursor.[Ch] (openable): make const
1611
1612 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1613
1614         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1615
1616 2004-02-20  André Pönitz  <poenitz@gmx.net>
1617
1618         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1619
1620         * cursor.[Ch]: prepare for localized getStatus()
1621
1622         * lyxtext.h:
1623         * tabular.C:
1624         * text.C:
1625         * text2.C:
1626         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
1627
1628 2004-02-20  André Pönitz  <poenitz@gmx.net>
1629
1630         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1631
1632 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1633
1634         * text2.C (setCursorFromCoordinates): switch to absolute coords
1635         (cursorUp): adjust
1636         (cursorDown): adjust
1637         * text3.C (dispatch): adjust
1638
1639 2004-02-16  André Pönitz  <poenitz@gmx.net>
1640
1641         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1642           insets/ChangeLog)
1643
1644         * cursor_slice.[Ch]: remove unneeded acessor function
1645
1646         * lyxtext.h: rename rtl() to isRTL()
1647
1648         * rowpainter.C:
1649         * tabular.C:
1650         * text.C:
1651         * text2.C:
1652         * text3.C: adjust
1653
1654 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1655
1656         * rowpainter.C (paintSelection): coord fix
1657
1658 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
1659
1660         * Spacing.C: compile fix
1661
1662 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1663
1664         * cursor.C (dispatch): restore current_ before returning
1665
1666 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1667
1668         * text2.C (cursorUp, cursorDown): fix coords
1669         (moveUp): fix crash
1670
1671 2004-02-12  André Pönitz  <poenitz@gmx.net>
1672
1673         * lyxtext.h:
1674         * text.C:
1675         * text2.C:
1676         * text3.C: add LCursor & parameter to most cursor movement functions
1677           remove usage of LyXText::cursorRow() and cursorPar()
1678
1679         * cursor.[Ch]: add textRow() needed members
1680
1681         * BufferView.C:
1682         * BufferView_pimpl.C:
1683         * paragraph.[Ch]:
1684         * BufferView.C:
1685         * BufferView_pimpl.C: adjust
1686
1687 2004-02-11  André Pönitz  <poenitz@gmx.net>
1688
1689         * lyxfunc.C:
1690         * BufferView.[Ch]:
1691         * BufferView_pimpl.C: shift undo/redo handling
1692
1693         * cursor.[Ch]: fix mathed crash
1694
1695         * lyxfind.C:
1696         * lyxtext.h: move selectionAsText to LCursor
1697
1698         * output_latex.C:
1699         * paragraph.C:
1700         * text.C:
1701         * text2.C:
1702         * text3.C: adjust
1703
1704         * rowpainter.C: fix excessive drawing
1705
1706 2004-02-06  André Pönitz  <poenitz@gmx.net>
1707
1708         * BufferView.[Ch]:
1709         * BufferView_pimpl.[Ch]:
1710         * text3.C: move some text specific LFUN handling
1711
1712 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
1713
1714         * text3.C (checkInsetHit): adjust coords
1715         * text2.C (getColumnNearX): adjust coords
1716         (edit): adjust coords
1717         * text.C (getRowNearY): add two asserts
1718
1719 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
1720
1721         * converter.C:
1722         * format.C: add using std::distance to compile on gcc 2.95/stlport
1723
1724 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
1725
1726         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1727
1728 2004-02-04  André Pönitz  <poenitz@gmx.net>
1729
1730         * BufferView.[Ch] (insertInset):
1731         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1732
1733         * text2.C:
1734         * text3.C: adjust
1735
1736 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1737
1738         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1739         on the default clause of the switch
1740         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1741         wasn't catched by LCursor::dispatch
1742
1743 2004-02-03  André Pönitz  <poenitz@gmx.net>
1744
1745         * BufferView.C:
1746         * cursor.[Ch]: some additional asserts
1747
1748         * undo.[Ch]: remove LyXText dependency in interface
1749
1750         * lyxfunc.C: adjust
1751
1752         * lyxtext.h (firstPar, lastPar): remove dead functions
1753
1754         * text.C:
1755         * text2.C:
1756         * text3.C:
1757         * paragraph.[Ch]: adjust
1758
1759 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1760
1761         * lyxfind.C (find): fix argument order in call to ::find
1762
1763 2004-02-02  André Pönitz  <poenitz@gmx.net>
1764
1765         * cursor.[Ch]: remove direct access to anchor
1766
1767         * text.C: remove findText() hack
1768
1769 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1770
1771         * iterators.[Ch] (lockPath): remove in favour of...
1772         * BufferView.[Ch] (setCursor): this addition
1773         * BufferView.C (putSelectionAt): adjust
1774         * undo.C (performUndoOrRedo): adjust
1775         * lyxfunc.C (dispatch): adjust
1776
1777 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1778
1779         * iterators.C (lockPath): add a missing slice
1780         * undo.C (performUndoOrRedo): remove redundant positioning code
1781
1782 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1783
1784         * vc-backend.C (scanMaster): ";" -> ';'
1785
1786 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
1787
1788         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1789         std::binary_function
1790
1791         * lyxtextclass.C (compare_name): rename to...
1792         (LayoutNamesEqual): ...this
1793
1794         * lyxlex_pimpl.C (compare_tags): inherit from
1795         std::binary_function, put back into anon namespace
1796
1797         * lyxfind.C (MatchString): inherig from std::binary_function
1798         (findChange): use empty() istead of !size()
1799
1800         * format.C (FormatNamesEqual): new functor
1801         (getFormat): use it
1802         (getNumber): use it
1803         (add): use it
1804         (erase): use it
1805         (setViewer): use it
1806
1807         * converter.C (compare_Converter): rename to...
1808         (ConverterEqual): ...this, and fixup a bit.
1809         (getConverter): use it, and make function const
1810         (getNumber): use it, and make function const
1811         (add): use it
1812         (erase): use it:
1813
1814         * bufferlist.C: add using boost::bind
1815
1816         * MenuBackend.C (MenuNamesEqual): new functor
1817         (hasMenu): use it, and make function const
1818         (hasSubmenu): use nested bind to get rid of compare_memfun.
1819
1820 2004-01-30  André Pönitz  <poenitz@gmx.net>
1821
1822         * BufferView_pimpl.C:
1823         * cursor.C:
1824         * cursor.h:
1825         * cursor_slice.[Ch]:
1826         * lyxfunc.C:
1827         * lyxtext.h:
1828         * paragraph_funcs.C:
1829         * paragraph_funcs.h:
1830         * rowpainter.C:
1831         * text.C:
1832         * text2.C:
1833         * text3.C: move some of the edit(x,y) handling to the insets
1834         some coordinate changes.
1835
1836 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1837
1838         * text.C: add using statements for std::advance and std::distance
1839
1840         * paragraph.C: add using statement for std::distance
1841
1842         * lyxfind.C: add using statement for std::advance
1843
1844         * cursor.C (region): remove std:: from swap
1845         (openable): use nucleus in stead of operator->
1846
1847         * BufferView.C: add using statements for std::distance and std::swap
1848
1849 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
1850
1851         * iterators.C: Remove the pimple, move the needed structures to
1852         the header file. Create accessor for the positions stack.
1853         (asPosIterator): remove function
1854
1855         * PosIterator.C (PosIterator): move constructors to top of file
1856         (PosIterator): reimplement the constructor taking a ParIterator in
1857         terms of setFrom.
1858         (setFrom): new function
1859         (operator!=): inline it
1860
1861 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1862
1863         * lyxfind.C (replaceAll): use std::advance
1864
1865         * iterators.h: inherit from std::iterator.
1866
1867         * PosIterator.C (advance, distance): remove
1868         * PosIterator.h: interit from std::iterator.
1869
1870 2004-01-26  André Pönitz  <poenitz@gmx.net>
1871
1872         * BufferView.[Ch]:
1873         * BufferView_pimpl.[Ch]:
1874         * InsetList.[Ch]:
1875         * PosIterator.[Ch]:
1876         * buffer.h:
1877         * bufferview_funcs.C:
1878         * cursor.[Ch]:
1879         * cursor_slice.h:
1880         * factory.[Ch]:
1881         * iterators.[Ch]:
1882         * lyxfind.C:
1883         * lyxfunc.C:
1884         * lyxtext.h:
1885         * output_docbook.C:
1886         * output_latex.C:
1887         * output_linuxdoc.C:
1888         * output_plaintext.C:
1889         * paragraph.[Ch]:
1890         * paragraph_funcs.[Ch]:
1891         * paragraph_pimpl.[Ch]:
1892         * rowpainter.C:
1893         * tabular.C:
1894         * tabular.h:
1895         * text.C:
1896         * text2.C:
1897         * text3.C: more IU:  dumps most of the rest of the mathcursor
1898     implementation into cursor.[Ch]; "globalize" a bit of it.
1899
1900 2004-01-25  Angus Leeming  <leeming@lyx.org>
1901
1902         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1903
1904 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1905
1906         * LaTeXFeatures.h: add nice_ and nice() const
1907         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1908
1909 2004-01-20  André Pönitz  <poenitz@gmx.net>
1910
1911         * BufferView.[Ch]:
1912         * BufferView_pimpl.C:
1913         * PosIterator.C:
1914         * bufferview_funcs.C:
1915         * cursor.[Ch]:
1916         * cursor_slice.[Ch]:
1917         * factory.C:
1918         * iterators.C:
1919         * lyx_cb.C:
1920         * lyxfind.C:
1921         * lyxfunc.C:
1922         * lyxtext.h:
1923         * rowpainter.C:
1924         * text.C:
1925         * text2.C:
1926         * text3.C:
1927         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1928           LCursor and mathcursor parts to LCursor and InsetBase.
1929
1930 2004-01-15  André Pönitz  <poenitz@gmx.net>
1931
1932         * cursor_slice.[Ch]: add a few covienience functions
1933
1934         * funcrequest.[Ch]: remove BufferView * member
1935
1936         * BufferView_pimpl.C:
1937         * cursor.C:
1938         * factory.[Ch]:
1939         * lyxfind.[Ch]:
1940         * lyxfunc.C:
1941         * lyxtext.h:
1942         * text3.C:
1943         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1944
1945 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
1946
1947         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1948         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1949
1950 2004-01-13  André Pönitz  <poenitz@gmx.net>
1951
1952         * textcursor.[Ch]:
1953         * lyxtext.h: hide cursor and selection anchor behind accessor function
1954
1955         * BufferView.C:
1956         * BufferView_pimpl.[Ch]:
1957         * PosIterator.C:
1958         * bufferview_funcs.C:
1959         * cursor.h:
1960         * lyxfind.C:
1961         * lyxfunc.C:
1962         * text.C:
1963         * text2.C:
1964         * text3.C:
1965         * undo.C: adjust
1966
1967         * cursor.h:
1968         * cursor_slice.[Ch]: some integer type changes for inset unification
1969
1970         * lyxcursor.[hC]: remove, it's CursorSlice now.
1971
1972         * Makefile.am:
1973         * BufferView_pimpl.[Ch]:
1974         * bufferview_funcs.C:
1975         * cursor_slice.C:
1976         * lyxtext.h:
1977         * text.C:
1978         * text2.C:
1979         * text3.C:
1980         * textcursor.[Ch]: adjust
1981
1982 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
1983
1984         * text2.C (undoSpan): add and use
1985         * text.C (breakParagraph): use undoSpan (fix bug 578)
1986         * lyxtext.h: adjust
1987
1988 2004-01-08  Angus Leeming  <leeming@lyx.org>
1989
1990         * BufferView_pimpl.C (MenuInsertLyXFile):
1991         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1992         * lyxfunc.C (menuNew, open, doImport):
1993         FileFilterList change to the FileDialog open and save functions.
1994
1995 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1996
1997         * ShareContainer.h: make isEqual and isUnique adaptable
1998
1999         * CutAndPaste.C: make resetOwnerAndChanges adaptable
2000
2001 2004-01-07  Angus Leeming  <leeming@lyx.org>
2002
2003         * LyXAction.C:
2004         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2005
2006         * BufferView_pimpl.C (dispatch): act on these LFUNs.
2007
2008         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2009         functions replacing find, replace and replaceAll.
2010
2011         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2012         LFUN_WORDFIND(FORWARD|BACKWARD).
2013
2014 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2015
2016         * text.C (breakParagraph): remove an outdated #warning
2017
2018 2004-01-07  André Pönitz  <poenitz@gmx.net>
2019
2020         * lyxfind.C: somewhat clearer logic
2021
2022         * text.C: prevent crash in cursorX on unitialized row cache
2023
2024 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2025
2026         * lyxcursor.[Ch] (operator>): add
2027         * textcursor.C (selStart, selEnd): use std::min and std::max
2028
2029 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
2030
2031         * Chktex.C: include boost/format.hpp
2032
2033 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
2034
2035         * InsetList.C: replace functor MathcIt with adaptable functor
2036         InsetTablePosLess
2037         (insetIterator): modify accordingly
2038
2039         * BranchList.h: move the BranchNamesEqual functor here from...
2040         * BranchList.C: ... to here
2041
2042         * BranchList.C: new BranchListEqual fuctor, use it. Remove
2043         SameName and match.
2044         (add): replace a finding loop with std::find_if.
2045
2046 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
2047
2048         * output_docbook.C: moving LatexParam functionality into
2049         .layout files
2050
2051 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2052
2053         * buffer.C: increment format to 229.
2054
2055 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
2056
2057         * LaTeXFeatures.C:
2058         * lyx_sty.[Ch]: remove minipageindent_def
2059
2060         * LyXAction.C:
2061         * factory.C:
2062         * lfuns.h:
2063         * lyxfunc.C:
2064         * text3.C: remove LFUN_INSET_MINIPAGE
2065
2066 2003-12-28  Angus Leeming  <leeming@lyx.org>
2067
2068         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2069
2070 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
2071
2072         * text2.C (setParagraph): fix off-by-one crash
2073
2074 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
2075
2076         * output_docbook.C: header stuff for AGU
2077
2078 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
2079
2080         * text2.C (redoCursor): remove
2081         * text.C:
2082         * text3.C:
2083         * BufferView_pimpl.C: remove calls to redoCursor and
2084         setCursor(cursor.par(), cursor.pos()) all around
2085
2086 2003-12-15  Angus Leeming  <leeming@lyx.org>
2087
2088         * buffer.C: up the format to 228.
2089
2090 2003-12-15  André Pönitz  <poenitz@gmx.net>
2091
2092         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2093         slices
2094
2095         * Makefile.am:
2096
2097         * BufferView_pimpl.C:
2098         * cursor.[Ch]:
2099         * lyxcursor.[Ch]:
2100         * rowpainter.[Ch]:
2101         * lyxtext.h:
2102         * text.C:
2103         * text2.C:
2104         * text3.C: adjust
2105
2106 2003-12-15  Angus Leeming  <leeming@lyx.org>
2107
2108         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2109         than getFromGUIName to manipulate the color.
2110
2111 2003-12-14  Angus Leeming  <leeming@lyx.org>
2112
2113         * BranchList.[Ch]: minimize the API.
2114         (Branch::getBranch, getColor): now return a 'const &'.
2115         (Branch::setSelected) now returns a bool set to true if the
2116         selection status changes.
2117         (BranchList::clear, size, getColor, setColor, setSelected,
2118         allBranches, allSelected, separator): removed.
2119         (BranchList::find): new functions, returning the Branch with
2120         the given name.
2121         (BranchList::add, remove): return a bool indicating that
2122         the operation was successful.
2123
2124         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2125         new InsetBranch::isBranchSlected member function.
2126
2127         * LColor.[Ch]: mimimize the API.
2128         (fill): renamed as addColor and made private.
2129         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2130         versions of these functions taking a string arg have been removed.
2131
2132         * bufferparams.C (readToken):
2133         * lyxfunc.C (dispatch):
2134         * lyxrc.C (read): changes due to the altered BranchList and
2135         LColor APIs.
2136
2137         * factory.C (createInset, readInset): changes due to altered
2138         InsetBranch c-tor.
2139
2140 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2141
2142         * factory.C:
2143         * lyxfunc.C: remove insetminipage. "minipage-insert"
2144         now produces a frameless minipage box inset.
2145
2146 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2147
2148         * textcursor.[Ch] (selStart,selEnd): add new methods
2149         remove selection::start, end, use LyXCursor::operator<
2150         * lyxcursor.[Ch] (operator<): add
2151         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2152         * BufferView.[Ch] (unsetXSel): add
2153         * text2.C (clearSelection): use unsetXSel,adjust
2154         * text.C: adjust
2155         * text3.C: adjust
2156         * rowpainter.C: adjust
2157         * bufferview_funcs.C (put_selection_at): adjust
2158
2159 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2160
2161         * BufferView_pimpl.C: small coord. correction
2162
2163 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2164
2165         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2166         dragging over the splash screen.
2167
2168 2003-12-11  Angus Leeming  <leeming@lyx.org>
2169
2170         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2171         as it is now handled in LyXText::dispatch.
2172
2173         * text3.C (doInsertInset): remove a level of nesting.
2174
2175 2003-12-11  Angus Leeming  <leeming@lyx.org>
2176
2177         * factory.C (createInset): changes due to the changed interface to
2178         InsetCommandMailer::string2params.
2179
2180 2003-12-10  Angus Leeming  <leeming@lyx.org>
2181
2182         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2183         'dialog-show-new-inset <inset name>'
2184
2185 2003-12-10  Angus Leeming  <leeming@lyx.org>
2186
2187         * buffer.C: up the format to 227.
2188
2189         * factory.C: the box inset is now identified simply by 'Box'.
2190
2191 2003-12-10  Angus Leeming  <leeming@lyx.org>
2192
2193         * buffer.C: up the format to 226.
2194
2195         * factory.C: the note inset is now identified simply by 'Note'.
2196
2197 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
2198
2199         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2200         when a pit is enough. Standarize a couple of loops.
2201
2202 2003-12-05  Angus Leeming  <leeming@lyx.org>
2203
2204         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2205         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2206         data to the re-worked "log" dialog.
2207
2208 2003-12-03  André Pönitz  <poenitz@gmx.net>
2209
2210         * PosIterator.C:
2211         * iterators.C:
2212         * lyxtext.h:
2213         * output_latex.C:
2214         * paragraph_funcs.C:
2215         * text.C:
2216         * text2.C: use Inset::getText instead of Inset::getParagraph
2217
2218 2003-12-03  André Pönitz  <poenitz@gmx.net>
2219
2220         * buffer.[Ch]:
2221         * lyxtext.h:
2222         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2223         InsetText::read() as LyXText::read()
2224
2225 2003-12-02  Angus Leeming  <leeming@lyx.org>
2226
2227         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2228         type. Add a comment in the implementation that the function uses
2229         the stream's bad() function rather than fail() as the std::streams
2230         would do.
2231
2232 2003-12-02  André Pönitz  <poenitz@gmx.net>
2233
2234         * lyxlex.[Ch]: make interface more similar to std::stream
2235
2236         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2237
2238 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
2239
2240         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2241
2242 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
2243
2244         * vspace.[Ch]: remove VSpace::NONE
2245
2246 2003-12-01  André Pönitz  <poenitz@gmx.net>
2247
2248         * buffer.[Ch]:
2249         * lyxtext.h: move ParagraphList member to LyXText
2250         rename LyXText::ownerParagraphs to LyXText::paragraph
2251
2252         * CutAndPaste.C:
2253         * bufferview_funcs.C:
2254         * iterators.[Ch]:
2255         * lyx_cb.C:
2256         * paragraph.C:
2257         * rowpainter.C:
2258         * tabular.C:
2259         * text.C:
2260         * text2.C:
2261         * text3.C: adjust
2262
2263         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2264
2265         * undo.C: fix cursor positioning
2266
2267 2003-12-01  John Levon  <levon@movementarian.org>
2268
2269         * BufferView_pimpl.C: fix a crash on exit with
2270         a buffer open
2271
2272 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
2273
2274         * BranchList.C: fix setSelected() method.
2275
2276 2003-11-28  André Pönitz  <poenitz@gmx.net>
2277
2278         * ParagraphParameters.[Ch]:
2279         * ParameterStruct.h: remove space above/below from Paragraph to
2280          InsetVSpace
2281
2282         * BufferView_pimpl.C:
2283         * factory.C:
2284         * lyxfunc.C:
2285         * lyxtext.h:
2286         * output_latex.C:
2287         * paragraph.C:
2288         * paragraph_funcs.C:
2289         * rowpainter.[Ch]:
2290         * text.C:
2291         * text2.C:
2292         * text3.C: adjust
2293
2294 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
2295
2296         * factory.C: Syntax change for CharStyles
2297
2298 2003-11-28  André Pönitz  <poenitz@gmx.net>
2299
2300         * BufferView.[Ch]:
2301         * BufferView.[Ch]:
2302         * buffer.[Ch]:
2303         * buffer.[Ch]: move LyXText member
2304
2305 2003-11-28  André Pönitz  <poenitz@gmx.net>
2306
2307         * BufferView.[Ch]: make LyXText * text a private member
2308
2309         * BufferView_pimpl.C:
2310         * cursor.C:
2311         * iterators.C:
2312         * lyx_cb.C:
2313         * lyxfind.C:
2314         * lyxtext.h:
2315         * rowpainter.[Ch]:
2316         * text.C:
2317         * text2.C:
2318         * undo.C: adjust
2319
2320         * output_plaintext.C: cleanup
2321
2322 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2323
2324         * buffer.C:
2325         * lyxtextclass.[Ch]: parametrize SGML document header
2326
2327 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2328
2329         * converter.[Ch]:
2330         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2331         getFlavor().
2332
2333 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
2334
2335         * text2.C (setFont): rework using PosIterator (no more recursive)
2336         (setCharFont): no more needed
2337         (setLayout): no more selection cursors fiddling (done by redoCursor)
2338         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2339         destroy remaining ones)
2340
2341 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
2342
2343         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2344         * lyxtext.h: ditto
2345         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2346         selection cursors
2347         * lyxfunc.C: adjust
2348         * text3.C: adjust + re-allow multi par depth changes
2349         * textcursor.C: simplify a bit
2350
2351 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
2352
2353         * src/buffer.C:
2354         * src/lyxlayout.C:
2355         * src/lyxlayout.h:
2356         * src/lyxtext.h:
2357         * src/output_docbook.C:
2358         * src/output_latex.C:
2359         * src/paragraph.C:
2360         * src/paragraph.h:
2361         * src/sgml.C:
2362         * src/sgml.h:
2363         * src/text2.C: Introducing a number of tags parametrizing various
2364         XML formats that we may want to support
2365
2366 2003-11-25  André Pönitz  <poenitz@gmx.net>
2367
2368         * InsetList.[Ch] (begein, end): inline as suggested by profiler
2369
2370         * lyxtext.h (leftMargin/rightMargin): simplify interface
2371
2372         * rowpainter.C:
2373         * text.C:
2374         * text2.C:
2375         * text3.C: adjust
2376
2377 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2378
2379         * lyxfunc.C (dispatch): propogate the bibtex databases from the
2380         master file to any child files. Fixes bug 546.
2381
2382 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2383
2384         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2385
2386 2003-11-24  André Pönitz  <poenitz@gmx.net>
2387
2388         * rowpainter.C: simplification
2389
2390         * text2.C (updateCounters): remove call to redoParagraph on
2391         changed labels as this is far too expensive.
2392
2393 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2394
2395         * converter.C (convert): fix a crash: this function gets
2396         called with buffer == 0 from importer code.
2397
2398 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
2399
2400         * text3.C (cursorPrevious): make sure that we do not compare
2401         iterators form different containers.
2402         (cursorNext): ditto
2403
2404         * rowpainter.C (paintSelection): make sure that we do not compare
2405         iterators from different containers.
2406
2407         * text3.C (dispatch): [PRIOR] make sure that we do not compare
2408         iterators from different ParagraphList containers.
2409         [NEXT] ditto
2410
2411         * text2.C (LyXText): change order of initialization slightly
2412         (operator=): new function. copy all variables except cache_par_
2413         (moveUp): make sure that we do not compare iterators from
2414         different ParagraphList constainers.
2415         (moveDown): ditto
2416
2417         * text.C (firstPar): new function
2418         (lastPar): new function
2419         (endPar): new function
2420
2421         * lyxtext.h: move things around and group public functions, public
2422         variables, private functions, private variables
2423
2424 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
2425
2426         * factory.C: change call to InsetERT constructor to avoid
2427         additional invocation of method status
2428         * text2.C (toggleInset): remove redundant update() call
2429         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2430         instead of a Bufferview pointer
2431
2432 2003-11-21  André Pönitz  <poenitz@gmx.net>
2433
2434         * rowpainter.C: simplification
2435
2436 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2437
2438         * text3.C (dispatch): make possible to extend a word/row selection
2439         with the mouse
2440
2441 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2442
2443         * lyxtext.h: x0_,y0_ -> xo_,yo_
2444         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2445         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2446         * rowpainter.C (paintRows): paint full paragraphs
2447
2448 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2449
2450         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2451         screen coordinates)
2452
2453 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2454
2455         * lyxtext.h: add x0_, y0_
2456         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2457         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2458
2459 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
2460
2461         * text2.C (setCursorIntern): move the x_target update here *
2462         * text3.C: change some bv() to true/false in calls to
2463         cursorUp/Down/Right/Left
2464         * cursor.C: use helper function.
2465
2466 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2467
2468         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2469         * paragraph_funcs.[Ch]: correct comment
2470         * rowpainter.C: do not paint selections away from bv->cursor()
2471         Fix a long standing selection painting bug.
2472         * text3.C: generalize mouse-selection code to LyXTexts other that
2473         top one
2474         * textcursor.C: do not use y coords if we can use par offsets
2475
2476 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2477
2478         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2479         cursor position after e.g. inset insert)
2480
2481 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
2482
2483         * lyxfind.C (replace): adjust to locking removal + some
2484         code simplification
2485
2486 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
2487
2488         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2489         of the path
2490
2491 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
2492
2493         * lyxlayout.[Ch]:
2494         * output_docbook.C: XML sanitation: new layout
2495         parameters InnerTag and CommandDepth
2496
2497 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
2498
2499         * BufferView_pimpl.C:
2500         * factory.C:
2501         * text3.C: Fix the insertion and modification of button-style
2502         insets
2503
2504 2003-11-13  André Pönitz  <poenitz@gmx.net>
2505
2506         * InsetList.[Ch]: remove deleteLyXText
2507
2508         * paragraph.[Ch]: cache beginOfBody position
2509
2510         * Bidi.C:
2511         * text.C:
2512         * text2.C:
2513         * text3.C: remove superfluous update() calls
2514
2515         * vspace.C: cleanup
2516
2517 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
2518
2519         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2520         * BufferView.C (fitLockedInsetCursor): remove
2521         * cursor.[Ch] (getDim): add
2522         * text.C (getRowNearY): add faster version
2523         * text3.C: remove some update calls
2524
2525 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
2526
2527         * LaTeXFeatures.C:
2528         * LyXAction.C:
2529         * MenuBackend.C:
2530         * MenuBackend.h:
2531         * dispatchresult.h:
2532         * factory.C:
2533         * lfuns.h:
2534         * lyxfunc.C:
2535         * lyxtextclass.C:
2536         * lyxtextclass.h:
2537         * text3.C: The Character Style /XML short element patch.
2538
2539 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
2540
2541         * text3.C:
2542         * factory.C: Small step to solving 'unable to insert some insets'
2543         problem
2544
2545 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2546
2547         * cursor.[Ch] (updatePos): new function for updating the y
2548         position of the tip inset
2549         * bufferview_funcs.C (put_selection_at):
2550         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2551
2552 2003-11-11  André Pönitz  <poenitz@gmx.net>
2553
2554         * text.C: remove big comment on invalid Paragraph pointers as it is
2555         not valid anymore
2556
2557 2003-11-11  André Pönitz  <poenitz@gmx.net>
2558
2559         * text_funcs.[Ch]: merge with ...
2560
2561         * text.C: ... this
2562
2563         * lyxtext.h:
2564         * text2.C:
2565         * text3.C: adjust
2566
2567         * Makefile.am: remove text_funcs.[Ch]
2568
2569 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
2570
2571         * cursor.C (getPos): return absolute cached y coord
2572
2573         * BufferView_pimpl.C (fitCursor): new simplistic code
2574         (workAreaDispatch): add a fitCursor call
2575
2576 2003-11-10  André Pönitz  <poenitz@gmx.net>
2577
2578         * BufferView.[Ch]:
2579         * BufferView_pimpl.[Ch]: merge update() and updateInset()
2580
2581 2003-11-10  André Pönitz  <poenitz@gmx.net>
2582
2583         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2584         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2585         indicate that the cursor needs to leave an inset
2586
2587         * lyxtext.h: remove inset locking
2588
2589         * cursor.[Ch]: re-implement functionality provided by inset locking
2590
2591         * BufferView.[Ch]:
2592         * BufferView_pimpl.[Ch]:
2593         * LyXAction.C:
2594         * bufferview_funcs.[Ch]:
2595         * factory.C:
2596         * funcrequest.[Ch]:
2597         * iterators.C:
2598         * lyx_cb.C:
2599         * lyxfind.C:
2600         * lyxfunc.C:
2601         * text.C:
2602         * text2.C:
2603         * text3.C:
2604         * undo.C: adjust
2605
2606 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
2607
2608         * PosIterator.[Ch]: replace the stack with a vector, add inset
2609         accesor
2610         * iterators.[C]: adjust
2611
2612 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2613
2614         * lyxfind.C (replaceAll): mark the buffer dirty if something was
2615         replaced
2616         * paragraph_funcs.C (readParToken): put the correct id in the
2617         error item, not the id of the top paragraph
2618
2619 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2620
2621         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2622         * bufferview_funcs.C (put_selection_at): use the above
2623
2624 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2625
2626         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2627
2628 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2629
2630         * output_linuxdoc.h:
2631         * output_plaintext.h:
2632         * output.h:
2633         * output_docbook.h: add #include statements
2634
2635 2003-11-05  José Matos  <jamatos@lyx.org>
2636
2637         * output_docbook.[Ch]:
2638         * output_latex.[Ch]:
2639         * output_linuxdoc.[Ch]:
2640         * output_plaintext.[Ch]: New files for output formats.
2641         * output.[Ch]: New file for helper functions.
2642
2643         * buffer.[Ch]:
2644         * paragraph_funcs.[Ch]: output functions moved to new files.
2645
2646         * outputparams.h: rename of latexrunparams.h
2647
2648         * LaTeX.[Ch]:
2649         * buffer.[Ch]:
2650         * bufferlist.[Ch]:
2651         * converter.[Ch]:
2652         * exporter.C:
2653         * paragraph.[Ch]:
2654         * paragraph_funcs.[Ch]:
2655         * paragraph_pimpl.[Ch]:
2656         * tabular.[Ch]: rename ascii to plaintext
2657         and LatexRunParams to OutputParams.
2658
2659 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2660
2661         * iterators.[Ch] (text): require bv argument
2662         * undo.C (recordUndo):
2663         * lyxfunc.C (dispatch):
2664         * bufferview_funcs.C (put_selection_at): adjust
2665
2666 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
2667
2668         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2669
2670 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2671
2672         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2673         nestings
2674
2675 2003-11-04  André Pönitz  <poenitz@gmx.net>
2676
2677         * cursor.[Ch]: restructure
2678
2679         * BufferView.[Ch]:
2680         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2681
2682         * iterators.[Ch] (asCursor): remove
2683
2684         * lfuns.h: remove LFUN_INSET_EDIT
2685
2686         * lyxfunc.C:
2687         * tabular.C:
2688         * text.C:
2689         * text2.C:
2690         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2691
2692 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2693
2694         * lyxfind.[Ch]: complete overhaul
2695         * BufferView_pimpl.C:
2696         * lyxfunc.C: adjust
2697         * paragraph.[Ch] (insert): add
2698
2699 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2700
2701         * BufferView.[Ch]:
2702         * lyxtext.h:
2703         * text.C: remove dead spellcheck code
2704
2705 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2706
2707         * dispatchresult.h: add a val setter
2708
2709         * cursor.C (dispatch): use a tempvar for data_[i]
2710
2711 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2712
2713         * PosIterator.[Ch]: compile fix
2714
2715 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2716
2717         * text.C (cursorPar): deactivate the cursor cache
2718
2719 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2720
2721         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2722
2723 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2724
2725         * text3.C (dispatch): adjust for new DisptchResult semantics.
2726
2727         * lyxfunc.C (dispatch): handle update when return from
2728         Cursor::dispatch, adjust for new DispatchResult semantics.
2729
2730         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2731         DispatchResult(true) mean to not update. Add class functions for
2732         setting dispatched and update, as well as reading.
2733
2734         * cursor.C (dispatch): don't handle update here
2735
2736 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2737
2738         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2739         * trans_mgr.C: adjust
2740
2741         * paragraph_funcs.C (readParToken): exception safety
2742
2743         * lyxvc.h: store the vcs pointer in a scoped_ptr
2744         * lyxvc.C: adjust
2745
2746         * lyxsocket.C (serverCallback): exception safety
2747
2748         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2749
2750         * ispell.C (clone): make it return a auto_ptr
2751
2752         * factory.C (createInset): exception safety
2753         (readInset): exception safety
2754
2755         * bufferlist.C (newBuffer): exception safety
2756
2757         * Thesaurus.C (Thesaurus): use initialization for aik_
2758
2759         * MenuBackend.C (expandToc): exception safety.
2760
2761 2003-11-03  André Pönitz  <poenitz@gmx.net>
2762
2763         * buffer.C:
2764         * buffer.h:
2765         * bufferview_funcs.C: remove getInsetFromId()
2766
2767         * lyxcursor.[Ch]:
2768         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2769
2770         * lyxfunc.C:
2771         * text2.C:
2772         * text3.C: adjust
2773
2774 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2775
2776         * PosIterator.C (distance, advance): new
2777         * bufferview_funcs.[Ch] (put_selection_at): new
2778         * iterators.[Ch] (lockPath): new
2779
2780 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
2781
2782         * iterators.[Ch] (asPosIterator): added
2783         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2784         * PosIterator.[Ch]: added
2785
2786 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2787
2788         * text3.C:
2789         * lyxfunc.C:
2790         * cursor.C (dispatch):
2791         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2792
2793         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2794         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2795         contructor, add a class function dispatched. Remove operator>=
2796
2797 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2798
2799         * debug.C: only use the default constructor for debugstream
2800         (lyxerr) here.
2801
2802         * main.C (main): include debug.h and setup the lyxerr streambuf
2803         here.
2804
2805 2003-10-31  José Matos  <jamatos@lyx.org>
2806
2807         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2808
2809         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2810         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2811         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2812         * paragraph_pimpl.C (simpleTeXSpecialC):
2813         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2814         add LatexRunParams argument.
2815
2816         * exporter.C (Export): change call accordingly.
2817
2818         * latexrunparams.h: add new member to take care of the other backends.
2819 2003-10-30  José Matos  <jamatos@lyx.org>
2820
2821         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2822         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2823         factorise code for paragraph output.
2824         * buffer.[Ch]:
2825         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2826         move functions.
2827
2828 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2829
2830         * text3.C (dispatch):
2831         * lyxfunc.C (dispatch):
2832         * cursor.C (dispatch):
2833         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2834
2835         * dispatchresult.h: make the dispatch_result_t ctor explicit
2836
2837 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
2838
2839         * sgml.[Ch]:
2840         * buffer.C: small refactoring of docbook stuff
2841
2842 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2843
2844         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2845         meaning.
2846
2847 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2848
2849         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2850         operator dispatch_result_t, and operators for == != and >=
2851
2852         * cursor.C (dispatch): adjust for operator dispatch_result_t
2853         removal. comment out call to update
2854
2855         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2856
2857 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2858
2859         * text3.C:
2860         * text2.C:
2861         * text.C:
2862         * lyxtext.h:
2863         * lyxfunc.C:
2864         * cursor.C:
2865         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2866         (dispatch):
2867
2868         * dispatchresult.h: new file, DispatchResult broken out of
2869         insets/insetbase.h
2870
2871         * Makefile.am (lyx_SOURCES): add dispatchresult.h
2872
2873 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2874
2875         * text.C (rowBreakPoint): put a hack inside #if 0
2876
2877 2003-10-28  André Pönitz  <poenitz@gmx.net>
2878
2879         * lyxtext.h:
2880         * metricsinfo.C:
2881         * paragraph_funcs.C:
2882         * rowpainter.C:
2883         * text.C:
2884         * text2.C: general cleanup (lots of small stuff)
2885
2886 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2887
2888         * text2.C (cursorEnd): simple fix to the "end key goes to one
2889         before the end on last row" bug
2890
2891 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2892
2893         * text.C (backspace): fix the "zombie characters"
2894
2895 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2896
2897         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2898
2899 2003-10-27  André Pönitz  <poenitz@gmx.net>
2900
2901         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2902
2903         * factory.C: handle new InsetPagebreak, InsetLine
2904
2905         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2906         and move handling into new InsetPagebreak, InsetLine
2907
2908         * BufferView_pimpl.C:
2909         * LyXAction.C:
2910         * ParagraphParameters.C:
2911         * ParameterStruct.h:
2912         * lyxfunc.C:
2913         * lyxtext.h:
2914         * paragraph.C:
2915         * paragraph.h:
2916         * paragraph_funcs.C:
2917         * paragraph_pimpl.C:
2918         * rowpainter.C:
2919         * text.C:
2920         * text2.C:
2921         * text3.C: adjust
2922
2923 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2924
2925         * text.C:
2926         * lyxrow_funcs.[Ch]:
2927         * Bidi.C:
2928         * paragraph.C:
2929         * lyxtext.h:
2930         * rowpainter.C:
2931         * text2.C:
2932         * text3.C: remove lastPos uses in favour of Row::endpos
2933
2934 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2935
2936         * undo.C (performUndoOrRedo): fix two crashes by setting a
2937         cursor by hand and reordering some calls. Use bv->lockInset instead
2938         of inset->edit because the latter loses cursor information
2939
2940 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
2941
2942         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2943         by Martin
2944         (rowBreakPoint): fix width. change point to point + 1.
2945         Add a missing check.
2946
2947 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
2948
2949         * MenuBackend.C:
2950         * lyxfunc.C: fix (at least partly) the problems
2951         with the Nav menu and headers inside branch insets
2952         reported by Kayvan
2953
2954 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
2955
2956         * paragraph.C (getChar): add strong asserts
2957
2958         * lyxrow_funcs.C (lastPos): remove hideous hack
2959
2960         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2961         (fill): adjust to that (avoid an infinite loop)
2962
2963 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2964
2965         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2966
2967 2003-10-23  André Pönitz  <poenitz@gmx.net>
2968
2969         * RowList_fwd.h: change list<> to vector<> to gain speed
2970         after suggestion from Alfredo
2971
2972 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2973
2974         * lyxtext.h: move the bidi stuff from here...
2975         * text.C: and here
2976         * text2.C: and here
2977         * Bidi.[Ch]: ... to here
2978
2979 2003-10-23  André Pönitz  <poenitz@gmx.net>
2980
2981         * lyxtext.h:
2982         * text.C (isLastRow, isFirstRow): new functions
2983
2984         * paragraph.h: new width cache member
2985
2986         * rowpainter.C: replace RowList::iterator with Row & where possible
2987
2988         * lyxfunc.C: replace several view()->text with a single call
2989
2990         * toc.C: fix 'unused' warning
2991
2992 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2993
2994         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2995         when woring with stream::pos_type
2996         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2997
2998 2003-10-22  André Pönitz  <poenitz@gmx.net>
2999
3000         * lyxtext.h:
3001         * text.C: use Row & instead of RowList::iterator
3002
3003         * lyxrow.h: rename end() to endpos()
3004
3005         * rowpainter.C:
3006         * text.C:
3007         * text2.C: adjust
3008
3009 2003-10-22  Angus Leeming  <leeming@lyx.org>
3010
3011         * buffer.[Ch] (fully_loaded): new member function, returning true
3012         only when the file has been loaded fully.
3013         Used to prevent the premature generation of previews and by the
3014         citation inset to prevent computation of the natbib-style label.
3015
3016         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3017         templates are all set up.
3018
3019         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3020
3021 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
3022
3023         * text.C: fixed an "oops" in the "is a bit silly"
3024         bug fix
3025
3026 2003-10-21  André Pönitz  <poenitz@gmx.net>
3027
3028         * FuncStatus.[Ch]: small stuff, whitespace
3029
3030         * lyxfont.[Ch]: operator<<() for debug reasons
3031
3032         * lyxfunc.C:
3033         * lyxrow_funcs.C:
3034         * lyxtext.h: whitespace, spelling
3035
3036         * paragraph.C: naming of variables
3037
3038         * text.C:
3039         * text2.C: small stuff
3040
3041
3042 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
3043
3044         * text.C: (1) finish off the inset display() work;
3045         (2) fix the "is a bit silly" bug (accessing char
3046         past end of par).
3047
3048 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
3049
3050         * text.C: re-introduce display() for insets, fixing the
3051         various bugs (stretch of line above, math inset
3052         positioning, ...)
3053
3054 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3055
3056         * text.C (rightMargin): remove spurious semicolon
3057
3058         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3059         1415)
3060
3061 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
3062
3063         * text3.C: fix one crash due to wrong cursor def
3064
3065 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3066
3067         * vc-backend.C (scanMaster): make the regex static
3068
3069         * LaTeX.C (scanAuxFile): make the regexs static
3070
3071         * text3.C (doInsertInset, dispatch, dispatch):
3072         * text2.C (cursorUp, cursorDown):
3073         * text.C (selectNextWordToSpellcheck):
3074         * BufferView_pimpl.C (dispatch):
3075         * lyxfunc.C (dispatch):  localDispatch -> dispatch
3076
3077 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3078
3079         * lyxsocket.C: include <cerrno>
3080
3081 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3082
3083         * lyxfunc.C (dispatch): remove textcache stuff
3084
3085         * bufferlist.C (release): remove textcache stuff
3086         (closeAll): ditto
3087
3088         * TextCache.C: delete file
3089         * TextCache.h: delete file
3090
3091         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3092
3093         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3094         delete of the bv_->text.
3095         (resizeCurrentBuffer): remove texcache stuff
3096         (workAreaResize): ditto
3097
3098 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3099
3100         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3101         action.
3102
3103 2003-10-16  André Pönitz  <poenitz@gmx.net>
3104
3105         * lyxrow.[Ch]:
3106         * paragraph.h:
3107         * rowpainter.C:
3108         * text.C:
3109         * text2.C:
3110         * text3.C: speed up by storing y positions per paragraph plus per-row
3111         offset instead of having a 'full' y position in the row.
3112
3113 2003-10-15  André Pönitz  <poenitz@gmx.net>
3114
3115         * iterators.[Ch]:
3116         * iterators.[Ch]:
3117         * undo.[Ch]: make undo aware of inner insets
3118
3119 2003-10-14  Angus Leeming  <leeming@lyx.org>
3120
3121         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3122         static member functions LyX::ref() and LyX::cref.
3123         (lastfiles): new accessor functions for the new lastfiles_ member var.
3124         (addLyXView, views_): add a new LyXView to the list of views_.
3125         (updateInset): loop over all LyXViews to call their own updateInset
3126         member function, returning a pointer to the Buffer owning the inset.
3127
3128         * BufferView_pimpl.C (loadLyXFile):
3129         * MenuBackend.C (expandLastfiles):
3130         * bufferlist.C (MenuWrite, QuitLyX):
3131         lastfiles is no longer a global variable.
3132         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3133
3134         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3135         static function. Access through LyX::cref().emergencyCleanup().
3136
3137 2003-10-14  André Pönitz  <poenitz@gmx.net>
3138
3139         * iterators.[Ch]: new direct access to innermost LyXText and Inset
3140
3141         * undo.[Ch]: restoring part of 'undo in insets'
3142
3143         * Makefile.am:
3144         * undo_funcs.[Ch]: merge with undo.[Ch]
3145
3146         * tabular.C: small cleansing stuff
3147
3148 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
3149
3150         * paragraph_funcs.C (readParToken): report unknown insets as error
3151         boxes. Use the outer paragraph as location (also for unknown
3152         tokens).
3153
3154         * factory.C (readInset): do not abort on reading an unknown inset.
3155         Eat it and return 0.
3156
3157 2003-10-13  Angus Leeming  <leeming@lyx.org>
3158
3159         * lyx_main.C (LyX): remove call to setDisplayTranslator().
3160
3161         * lyxrc.C: displayTranslator is now a function,
3162         declared in GraphicsTypes.h.
3163
3164 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3165
3166         * format.C: new placeholder $$a to pass the socket address.
3167
3168         * bufferlist.[Ch]: new function getBufferFromTmp.
3169
3170         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3171           files in the temporary dir.
3172
3173 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3174
3175         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3176
3177         * Makefile.am: add lyxsocket.[Ch].
3178
3179         * lyx_main.C (error_handler): handle SIGPIPE.
3180
3181 2003-10-13  André Pönitz  <poenitz@gmx.net>
3182
3183         * BufferView_pimpl.C:
3184         * lyxtext.h:
3185         * text.C:
3186         * text2.C:
3187         * text3.C:
3188         * undo_funcs.[Ch]: use paroffset_type instead of
3189           ParagraphList::iterators to prevent multiple conversion
3190           (and get a more robust interface)
3191
3192 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3193
3194         * lyxfunc.C (dispatch): RESULT -> dispatch_result
3195         * lyxtext.h: ditto
3196         * text3.C (dispatch): ditto
3197
3198 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3199
3200         * LaTeX.C (handleFoundFile): move the static to smaller scope,
3201         move the onlyfile, use onlyfile instead of foundfile in a couple
3202         of places.
3203
3204         * DepTable.C (update): flush the error stream a bit more
3205
3206 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3207
3208         * lyxserver.C (callback): adjust
3209
3210         * lyxfunc.C (getStatus): add a missing brace in commented code
3211         (ensureBufferClean): reindent
3212         (dispatch): delete version taking a string
3213
3214 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3215
3216         * LaTeX.C (deplog): move found file handlig from here...
3217         (handleFoundFile): .. to new function here.
3218         (deplog): make sure to discover several files mentioned on the
3219         same log line.
3220
3221 2003-10-10  André Pönitz  <poenitz@gmx.net>
3222
3223         * lyxfunc.C:
3224         * lyxtext.h:
3225         * tabular.C:
3226         * text.C:
3227         * text2.C:
3228         * text3.C: fix some of the tabular crashes
3229
3230 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3231
3232         * MenuBackend.C (binding): put debug message into Debug::KBMAP
3233
3234         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3235
3236 2003-10-09  André Pönitz  <poenitz@gmx.net>
3237
3238         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3239
3240         * BufferView.C:
3241         * BufferView_pimpl.C:
3242         * bufferview_funcs.C:
3243         * lyx_cb.C:
3244         * lyxcursor.C:
3245         * lyxfind.C:
3246         * lyxfunc.C:
3247         * lyxtext.h:
3248         * text.C:
3249         * text2.C:
3250         * text3.C:
3251         * text_funcs.[Ch]:
3252         * textcursor.[Ch]:
3253         * undo_funcs.C: adjust
3254
3255 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3256
3257         * text2.C (incrementItemDepth): new function, use a backtracking
3258         algorithm to discover the correct item depth.
3259         (resetEnumCounterIfNeeded): new function, use a backtracking
3260         algorithm to discover if counter reset is needed.
3261         (setCounter): use them. Simplify a bit. Add different labels for
3262         different item depths for itemize.
3263
3264         * paragraph.C (Paragraph): remove initialization of enumdepth
3265         (operator=): ditto
3266
3267         * paragraph.h: get rid of enumdepth, and use itemdepth both for
3268         enumerate and itemize. Change the type of itemdepth to signed char.
3269
3270 2003-10-08  André Pönitz  <poenitz@gmx.net>
3271
3272         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3273           thing assignable.
3274         * text.C:
3275         * text2.C: adjust
3276
3277         * tabular.[Ch]: fix crash after 'row-insert'
3278
3279 2003-10-08  Angus Leeming  <leeming@lyx.org>
3280
3281         Fix doxygen warnings.
3282
3283         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3284         Remove CutAndPaste:: prefix from header file declaration.
3285
3286         * LColor.h (fill): remove LColor:: prefix from declaration.
3287
3288         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3289         use lyx::depth_type rather than Paragraph::depth_type so that
3290         header file and .C file match.
3291
3292         * converter.h (intToFormat): remove Converters:: prefix from declaration.
3293
3294         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3295         * aspell.C: \file aspell_local.C -> \file aspell.C
3296         * gettext.C: \file gettext.C -> \file src/gettext.C
3297         * gettext.h: \file gettext.h -> \file src/gettext.h
3298         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3299         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3300         * text.C: \file text.C -> \file src/text.C
3301
3302         * toc.C: move comment so that doxygen is not confused.
3303
3304 2003-10-07  Angus Leeming  <leeming@lyx.org>
3305
3306         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3307
3308 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3309
3310         * aspell.C:
3311         * aspell_local.h: add forgotten std::string's.
3312
3313 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3314
3315         * LaTeXFeatures.C:
3316         * LyXAction.C:
3317         * factory.C:
3318         * lfuns.h:
3319         * lyxfunc.C:
3320         * text3.C: The Box patch. Fancybox support, minipage, parbox
3321
3322 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3323
3324         * CutAndPaste.h:
3325         * DepTable.h:
3326         * FloatList.h:
3327         * LaTeXFeatures.h:
3328         * ParagraphParameters.h:
3329         * TextCache.h:
3330         * Thesaurus.h:
3331         * bufferlist.h:
3332         * exporter.h:
3333         * importer.h:
3334         * lastfiles.h:
3335         * lyxfind.h:
3336         * lyxfont.h:
3337         * lyxlex.h:
3338         * lyxtextclasslist.h:
3339         * messages.h:
3340         * paragraph.h:
3341         * paragraph_pimpl.C:
3342         * textcursor.h: add <string> and other small fixes to make Lars'
3343         std::string patch compile with STLport.
3344
3345 2003-10-06  Angus Leeming  <leeming@lyx.org>
3346
3347         * LColor.h: Add missing #include <string>.
3348
3349 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3350
3351         * All most all file in all subdirs: Make <string> be the prefered
3352         way of getting to std::string, add using declarations.
3353
3354 2003-10-06  André Pönitz  <poenitz@gmx.net>
3355
3356         * metricsinfo.C: initialize LyXFont before changing attribute.
3357         (fixes the 'math in \emph is upright' bug)
3358
3359 2003-10-06  André Pönitz  <poenitz@gmx.net>
3360
3361         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3362
3363 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
3364
3365         * graph.C:
3366         * paragraph_pimpl.C: Small fixes to build using STLport
3367
3368 2003-10-02  André Pönitz  <poenitz@gmx.net>
3369
3370         * lyxfunc.C:
3371         * text3.C: move handling of LFUN_DEPTH *; fix #1360
3372
3373 2003-10-01  André Pönitz  <poenitz@gmx.net>
3374
3375         * factory.C: assert early
3376
3377 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3378
3379         * lyx_main.C: remove the global debug object
3380
3381         * debug.h: adjust for new debugstream
3382
3383         * debug.C: adjust for new debugstream and keep the global debug
3384         object here.
3385
3386 2003-09-22  Angus Leeming  <leeming@lyx.org>
3387
3388         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3389         of g++ which otherwise complain that the scoped_ptr destructor can't delete
3390         an incomplete class LyXFont.
3391
3392 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
3393
3394         * factory.C: bug fix in branches
3395
3396 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3397
3398         * lyxfunc.C (processKeySym): adjust
3399         (dispatch): adjust
3400         (dispatch): change arg name from ev to func, adjust
3401         (sendDispatchMessage): ditto
3402
3403         * lyx_main.C (defaultKeyBindings): adjust keybindings
3404         (deadKeyBindings): ditto
3405
3406         * kbsequence.C (addkey): return a FuncRequest
3407
3408         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3409
3410         * kbmap.C (bind): take a FuncRequest as arg, adjust
3411         (read): adjust
3412         (lookup): adjust
3413         (defkey): change to take a FuncRequest as arg, adjust
3414         (findbinding): take a FuncRequest as arg, adjust.
3415
3416         * funcrequest.h (operator=): added
3417
3418         * funcrequest.C (FuncRequest): default kb_action changed from
3419         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3420
3421         * buffer.C (dispatch): simplify
3422         (dispatch): adjust to take a FuncRequest as arg, adjust
3423
3424         * boost.C (assertion_failed): change assertion message slightly
3425
3426         * ToolbarBackend.C (read): simplify
3427
3428         * MenuBackend.C (binding): adjust call to findbinding, add a
3429         message if no binding is found.
3430         (read): simplify
3431         (expandToc): correct by adding a empty FuncRequest
3432
3433         * LyXAction.C: include <boost/assert.hpp>
3434         (isPseudoAction): delete function
3435         (LookupFunc): change name to...
3436         (lookupFunc): this. change return type to FuncRequest.
3437         (getActionName): take kb_action as arg, simplify
3438         (funcHasFlag): add an assert, simplify.
3439
3440 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3441
3442         * toc.C (action): return a FuncRequest, simplify
3443
3444         * lyxfunc.C (processKeySym): adjust
3445         (getStatus): delete version that takes an int.
3446         (getStatus): adjust
3447         (dispatch): delete version that takes action as int
3448         (dispatch): adjust
3449         (sendDispatchMessage): simplify and adjust
3450
3451         * funcrequest.C (getArg): take unsigned int as arg
3452
3453         * ToolbarBackend.C (read): adjust
3454         (add): delete version that takes func as a string.
3455         (getIton): take a FuncRequest as arg
3456
3457         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3458         action.
3459
3460         * MenuBackend.C (MenuItem): add a new construct that only takes a
3461         Kind, simplify the constructor use for submenus.
3462         (add): adjust
3463         (expandLastfiles): adjust
3464         (expandDocuments): adjust
3465         (expandFormats): adjust
3466         (expandFloatListInsert): adjust
3467         (expandFloatInsert): adjust
3468         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3469
3470         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3471         Remove class variables lyx_pseudo_map and lyx_arg_map
3472
3473         * LyXAction.C (searchActionArg): delete function
3474         (getPseudoAction): delete function
3475         (retrieveActionArg): delete function
3476         (LookupFunc): make it return kb_action, simplify.
3477         (getActionName): simplify
3478
3479         * factory.C (createInset): fix new bug
3480
3481 2003-09-19  Angus Leeming  <leeming@lyx.org>
3482
3483         * CutAndPaste.C (pasteSelection): remove fudge used to set the
3484         masterFilename_ parameter in the include inset.
3485
3486         * factory.C (createInset): changes due to the changes to InsetInclude.
3487
3488 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3489
3490         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3491
3492 2003-09-18  Angus Leeming  <leeming@lyx.org>
3493
3494         * buffer.C:
3495         * BufferView.C: pass the buffer when calling Inset::getLabelList,
3496         Inset::fillWithBibKeys.
3497         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3498
3499 2003-09-18  Angus Leeming  <leeming@lyx.org>
3500
3501         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3502         variables.
3503         (ctor): pass and store a 'Buffer const &'
3504         (buffer): new member function.
3505
3506         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3507         '*this' to the LaTeXFeatures ctor.
3508
3509 2003-09-18  Angus Leeming  <leeming@lyx.org>
3510
3511         * LColor.h:
3512         * lyxfont.C:
3513         * lyxfont.h:
3514         * lyxtext.h:
3515         * text.C: rename EnumLColor as LColor_color.
3516
3517 2003-09-18  Angus Leeming  <leeming@lyx.org>
3518
3519         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3520         remove #include "insets/insetbase.h" from cursor.h.
3521
3522 2003-09-18  Angus Leeming  <leeming@lyx.org>
3523
3524         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3525         InsetOld_code to remove #include "inset.h".
3526
3527         * iterators.C: add #include "insets/inset.h"
3528
3529 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
3530
3531         * BufferView.C: remove more locking stuff that apparently doesn't
3532         do anything sensible.
3533
3534 2003-09-16  André Pönitz  <poenitz@gmx.net>
3535
3536         * paragraph.[Ch]:
3537         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3538           performance boost.
3539
3540 2003-09-16  Angus Leeming  <leeming@lyx.org>
3541
3542         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3543
3544         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3545         arg/return type.
3546
3547         * paragraph.h: remove #include "lyxfont.h". Forward declare
3548         LyXFont_size.
3549
3550 2003-09-16  Angus Leeming  <leeming@lyx.org>
3551
3552         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3553         of support/textutils.h.
3554         (isWord): move the contents of support/textutils.h's IsWordChar here.
3555
3556         * buffer.C:
3557         * lyxfind.C:
3558         * rowpainter.C:
3559         * text.C:
3560         * text2.C: add #include "paragraph.h".
3561
3562         * rowpainter.C:
3563         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3564
3565 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3566
3567         * main.C:
3568         * lyx_main.C:
3569         * lyx_cb.C:
3570         * buffer.C:
3571         * LaTeX.C: use namespace alias for lyx::support::os
3572
3573 2003-09-16  Angus Leeming  <leeming@lyx.org>
3574
3575         * bufferparams.C:
3576         * bufferview_funcs.C:
3577         * factory.C:
3578         * lyxfunc.C:
3579         * paragraph_pimpl.C:
3580         * rowpainter.C:
3581         * text.C: add #include "LColor.h".
3582
3583 2003-09-16  Angus Leeming  <leeming@lyx.org>
3584
3585         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3586         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3587         return LyXFont &.
3588         Store the FontBits::color variable as an int rather than as an
3589         LColor::colorso that we can move LColor.h out of the lyxfont.h header
3590         file.
3591
3592         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3593         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3594         string calls together.
3595
3596         * lyxrc.C: add #include "LColor.h".
3597
3598 2003-09-15  Angus Leeming  <leeming@lyx.org>
3599
3600         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3601         a cow_ptr.
3602
3603 2003-09-15  Angus Leeming  <leeming@lyx.org>
3604
3605         * LColor.h: add an EnumLColor wrapper for LColor::color.
3606
3607         * lyxfont.[Ch] (color, setColor, realColor):
3608         * lyxtext.h, text.C (backgroundColor):
3609         pass EnumLColor args to/from the functions, rather than LColor::color
3610         ones.
3611
3612         * lyxfont.h:
3613         * lyxtext.h: forward declare EnumLColor.
3614
3615         * lyx_main.C: add #include "LColor.h".
3616
3617 2003-09-15  Angus Leeming  <leeming@lyx.org>
3618
3619         * .cvsignore: add lyx-gtk.
3620
3621 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3622
3623         * Chktex.C
3624         * LaTeX.C
3625         * LaTeXFeatures.C
3626         * ParagraphParameters.C
3627         * Spacing.C
3628         * buffer.C
3629         * bufferparams.C
3630         * bufferview_funcs.C
3631         * chset.C
3632         * counters.C
3633         * funcrequest.C
3634         * lyxfont.C
3635         * lyxgluelength.C
3636         * lyxlength.C
3637         * paragraph.C
3638         * paragraph_funcs.C
3639         * text3.C
3640         * vc-backend.C: remove usage of STRCONV
3641
3642 2003-09-15  Angus Leeming  <leeming@lyx.org>
3643
3644         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3645         explicitly define the color passed to the painter.
3646
3647 2003-09-15  Angus Leeming  <leeming@lyx.org>
3648
3649         * bufferparams.C (BufferParams): reorder member initializers to avoid
3650         compiler warning.
3651
3652 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
3653
3654         * CutAndPaste.C (pasteSelection): remove an outdated #warning
3655         * text.C (updateRowPositions): remove an unusual nop
3656
3657 2003-09-12  André Pönitz  <poenitz@gmx.net>
3658
3659         * BufferView_pimpl.C:
3660         * Bullet.C:
3661         * layout.h:
3662         * lyxfunc.C:
3663         * lyxlayout.[Ch]:
3664         * lyxtextclass.C:
3665         * rowpainter.C:
3666         * text.C:
3667         * text2.C:
3668         * Counters.[Ch]: finish the 'automatic counters' job
3669
3670 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3671
3672         * aspell.C: include <boost/assert.cpp> (compile fix)
3673
3674 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
3675
3676         * boost.C (assertion_failed): use lyx::support::abort instead of
3677         assert.
3678
3679 2003-09-10  Angus Leeming  <leeming@lyx.org>
3680
3681         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3682         with their _fwd progeny.
3683
3684 2003-09-09  Angus Leeming  <leeming@lyx.org>
3685
3686         134 files throughtout the source tree: replace 'using namespace abc;'
3687         directives with the appropriate 'using abc::xyz;' declarations.
3688
3689 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3690
3691         * boost.C (emergencyCleanup): moved here from LAssert.c
3692         (assertion_failed): new function, called by BOOST_ASSERT
3693
3694         * several files: change Assert to BOOST_ASSERT
3695
3696 2003-09-09  Angus Leeming  <leeming@lyx.org>
3697
3698         * buffer.[Ch]: Add an Impl class and move Buffer's member
3699         variables into it. As a result move several header files out of
3700         buffer.h.
3701
3702         Add header files to lots of .C files all over the tree as a result.
3703
3704 2003-09-09  Angus Leeming  <leeming@lyx.org>
3705
3706         * buffer.[Ch]: make Buffer's member variables private. Add
3707         accessor functions.
3708
3709         Lots of changes all over the tree as a result.
3710
3711 2003-09-08  Angus Leeming  <leeming@lyx.org>
3712
3713         * graph.C: #include <config.h>.
3714
3715 2003-09-08  Angus Leeming  <leeming@lyx.org>
3716
3717         * BranchList.C:
3718         * BufferView.C:
3719         * BufferView_pimpl.C:
3720         * CutAndPaste.C:
3721         * DepTable.C:
3722         * LaTeX.C:
3723         * LaTeXFeatures.C:
3724         * LyXAction.C:
3725         * MenuBackend.C:
3726         * TextCache.C:
3727         * aspell.C:
3728         * buffer.C:
3729         * bufferlist.C:
3730         * changes.C:
3731         * chset.C:
3732         * converter.C:
3733         * counters.C:
3734         * debug.C:
3735         * graph.C:
3736         * ispell.C:
3737         * lyx_cb.C:
3738         * lyxfind.C:
3739         * lyxfunc.C:
3740         * lyxlex_pimpl.C:
3741         * lyxrc.C:
3742         * lyxrow.C:
3743         * paragraph.C:
3744         * rowpainter.C:
3745         * texrow.C:
3746         * text.C:
3747         * text2.C:
3748         * toc.C: remove redundant using directives.
3749
3750 2003-09-07  Angus Leeming  <leeming@lyx.org>
3751
3752         * LaTeXFeatures.h: remove #include "support/types.h".
3753         * ToolbarBackend.h: remove #include <algorithm>.
3754         * changes.h: remove #include <ctime>.
3755         * debug.h: remove #include <iosfwd>.
3756         * graph.h: remove #include "support/std_string.h".
3757         * lyx_main.h: remove #include <csignal>.
3758         * lyxlex_pimpl.h: remove #include <fstream>.
3759         * sgml.h: remove #include <algorithm>, <utility>.
3760         * toc.h: remove #include "support/std_ostream.h".
3761         Add #include <iosfwd>.
3762
3763 2003-09-07  Angus Leeming  <leeming@lyx.org>
3764
3765         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3766
3767         * converter.h: forward declare LatexRunParams.
3768         * encoding.h: remove #include "lyxrc.h".
3769         * lyxtext.h: remove #include "LColor.h".
3770         * lyxtextclass.h: remove #include "support/types.h".
3771         * trans.h: remove #include "tex-accent.h".
3772         * trans_mgr.h: remove #include "tex-accent.h".
3773         * insets/inset.h: remove #include "support/types.h", <vector>.
3774         * insets/insetcollapsable.h: remove #include "LColor.h".
3775         * insets/insetinclude.h: remove #include "dimension.h".
3776         * insets/insetlatexaccent.h: remove #include "dimension.h".
3777         * insets/insetoptarg.h:: remove #include "insettext.h".
3778         * insets/insettext.h: remove #include "dimension.h",
3779         <boost/shared_ptr.hpp>
3780
3781         * insets/renderers.h: add #include "dimension.h".
3782         * insets/updatableinset.h: add #include "support/types.h".
3783
3784         * many .C files: Associated changes.
3785
3786 2003-09-06  Angus Leeming  <leeming@lyx.org>
3787
3788         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3789         one, inside testInvariant.
3790
3791         * PrinterParams.C: new file.
3792         * PrinterParams.[Ch]: move the function bodies out of line.
3793
3794 2003-09-06  Angus Leeming  <leeming@lyx.org>
3795
3796         * ParagraphParameters.h: forward declare ParameterStruct rather than
3797         including its header file.
3798         (depth): moved out-of-line.
3799
3800 2003-09-06  Angus Leeming  <leeming@lyx.org>
3801
3802         * BufferView_pimpl.h:
3803         * kbmap.h:
3804         * kbsequence.h:
3805         * lyxfunc.h: forward declare LyXKeySym rather than
3806         #include "frontends/LyXKeySym.h".
3807
3808         * BufferView_pimpl.C:
3809         * kbmap.C:
3810         * kbsequence.C:
3811         * lyxfunc.C: associated changes.
3812
3813 2003-09-06  Angus Leeming  <leeming@lyx.org>
3814
3815         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3816         As a result, can remove the #include "insets/inset.h" from BufferView.h
3817
3818 2003-09-06  Angus Leeming  <leeming@lyx.org>
3819
3820         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3821         As a result, can remove the #include "insets/inset.h" from BufferView.h
3822
3823 2003-09-06  Angus Leeming  <leeming@lyx.org>
3824
3825         * buffer_funcs.C:
3826         * buffer.h:
3827         * bufferlist.C:
3828         * BufferView.C:
3829         * bufferview_funcs.C:
3830         * BufferView_pimpl.C:
3831         * CutAndPaste.C:
3832         * lyx_cb.C:
3833         * lyxfunc.C:
3834         * paragraph.h:
3835         * ParagraphParameters.C:
3836         * tabular.C:
3837         * text3.C:
3838         * toc.C:
3839         * undo_funcs.C:
3840         * frontends/controllers/ControlDocument.C:
3841         * insets/insetcaption.C: rearrange the #includes into some sort of
3842         coherent order.
3843
3844         * buffer.h: remove #includes ErrorList.h, undo.h
3845
3846 2003-09-06  Angus Leeming  <leeming@lyx.org>
3847
3848         * support/types.h: add a 'depth_type' typedef, used to store the
3849         nesting depth of a paragraph.
3850
3851         * paragraph.h:
3852         * ParameterStruct.h: use this lyx::depth_type typedef rather than
3853         defining explicitly.
3854
3855         * buffer.h:
3856         * paragraph_funcs.h:
3857         * ParagraphParameters.h:
3858         * sgml.h: use lyx::depth_type rather than Paragraph or
3859         ParameterStruct's depth_type.
3860
3861         * buffer.h
3862         * paragraph_funcs.h: no need to #include paragraph.h anymore.
3863
3864         * BufferView.C:
3865         * BufferView_pimpl.C:
3866         * CutAndPaste.C:
3867         * ParagraphParameters.C:
3868         * buffer_funcs.C:
3869         * bufferlist.C:
3870         * bufferview_funcs.C:
3871         * lyx_cb.C:
3872         * lyxfunc.C:
3873         * tabular.C:
3874         * text3.C:
3875         * toc.C:
3876         * undo_funcs.C:
3877         * frontends/LyXView.C:
3878         * frontends/controllers/ControlDocument.C:
3879         * frontends/controllers/ControlErrorList.C:
3880         * insets/insetbibitem.C:
3881         * insets/insetbranch.C:
3882         * insets/insetcaption.C:
3883         * insets/insetcollapsable.C:
3884         * insets/insetenv.C:
3885         * insets/insetert.C:
3886         * insets/insetfloat.C:
3887         * insets/insetfoot.C:
3888         * insets/insetfootlike.C:
3889         * insets/insetnewline.C:
3890         * insets/insetquotes.C:
3891         * insets/insettabular.C:
3892         * insets/insettext.C:
3893         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3894
3895         * frontends/controllers/ControlChanges.C: #include "changes.h".
3896
3897 2003-09-06  Angus Leeming  <leeming@lyx.org>
3898
3899         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3900         than #including paragraph.h.
3901
3902         * ParagraphList.h:
3903         * RowList.h: deleted. Superfluous.
3904
3905         * CutAndPaste.h:
3906         * iterators.h:
3907         * lyxcursor.h:
3908         * lyxtext.h:
3909         * text_funcs.h:
3910         * undo.h:
3911         * undo_funcs.h:
3912         * insets/inset.h:
3913         * insets/insettext.h: use ParagraphList_fwd.h rather than
3914         ParagraphList.h.
3915
3916         * paragraph.h: don't forward declare ParagraphList.
3917
3918         * buffer.h:
3919         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3920         rather than ParagraphList.h. paragraph.h is still needed for the
3921         Paragraph::depth_type parameters.
3922
3923         * textcursor.h: enable it to compile stand-alone in light of the
3924         above changes.
3925
3926         * bufferview_funcs.C:
3927         * iterators.C:
3928         * lyxfunc.C:
3929         * lyxrow_funcs.C:
3930         * paragraph.C:
3931         * rowpainter.C:
3932         * text.C:
3933         * text2.C:
3934         * text3.C:
3935         * text_funcs.C:
3936         * textcursor.C:
3937         * undo.C:
3938         * frontends/controllers/ControlParagraph.C:
3939         * frontends/controllers/ControlTabular.C:
3940         * insets/insetmarginal.C:
3941         * insets/insetminipage.C:
3942         * insets/insetnote.C:
3943         * insets/insetoptarg.C: add header files needed to compile again.
3944
3945 2003-09-06  Angus Leeming  <leeming@lyx.org>
3946
3947         * RowList_fwd.h: new file, forward-declaring Row rather than
3948         #including lyxrow.h.
3949
3950         * lyxrow_funcs.h:
3951         * lyxtext.h:
3952         * paragraph.h:
3953         * insets/insettext.h: use it instead of RowList.h
3954
3955         * bufferview_funcs.C:
3956         * lyxfunc.C:
3957         * lyxrow_funcs.C:
3958         * paragraph.C:
3959         * rowpainter.C:
3960         * text.C:
3961         * text2.C:
3962         * text3.C: #include "RowList.h".
3963
3964 2003-09-05  Angus Leeming  <leeming@lyx.org>
3965
3966         * factory.C (createInset):
3967         * vspace.C (c-tor): replace sscanf call with an istringstream.
3968         * ispell.C: re-add missing HP/UX headers.
3969         * lyxserver.C: re-add missing  os2 headers.
3970
3971 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
3972
3973         * BranchList.C:
3974         * graph.C:
3975         * ispell.C:
3976         * lastfiles.C:
3977         * lyx_cb.C:
3978         * lyxserver.C:
3979         * texrow.C:
3980         * text3.C: re-add missing system headers, needed for 2.95.2.
3981
3982 2003-09-05  Angus Leeming  <leeming@lyx.org>
3983
3984         Changes most place everywhere due to the removal of using directives
3985         from support/std_sstream.h.
3986
3987 2003-09-05  Angus Leeming  <leeming@lyx.org>
3988
3989         Replace LString.h with support/std_string.h,
3990         Lsstream.h with support/std_sstream.h,
3991         support/LIstream.h with support/std_istream.h,
3992         support/LOstream.h with support/std_ostream.h.
3993
3994         Changes resulting throughout the tree.
3995
3996 2003-09-05  Angus Leeming  <leeming@lyx.org>
3997
3998         * sgml.h: ensure that the header file can be compiled stand-alone.
3999         * *.C: strip out redundant #includes. (320 in total.)
4000
4001 2003-09-04  Angus Leeming  <leeming@lyx.org>
4002
4003         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4004         here (from getPackages).
4005
4006         * debug.[Ch]: add a new EXTERNAL tag.
4007
4008 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4009
4010         * text2.C (cursorEnd): simplify
4011         (setCursor): adjust
4012         (getColumnNearX): adjust
4013
4014         * text.C (computeBidiTables): adjust
4015         (fill): adjust
4016
4017         * rowpainter.C (paintChars): adjust
4018         (paintSelection): adjust
4019         (paintChangeBar): adjust
4020         (paintText): adjust
4021
4022         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4023         lastPos instead.
4024         (numberOfSeparators): adjust
4025
4026 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4027
4028         * LyXAction.C:
4029         * box.[Ch]:
4030         * lfuns.h:
4031         * lyxfunc.C:
4032         * text3.C: Restricts the mouse click functionality
4033         of insets like bibtex, include, toc and floatlist to the visible
4034         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4035         up the dialogs. Cursor has to be in front of the inset (i.e.
4036         start of row) for this to function.
4037
4038 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4039
4040         * bufferview_funcs.C (currentState): output row information
4041
4042 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4043
4044         * bufferview_funcs.C (currentState): output paragraph position
4045
4046 2003-09-04  Angus Leeming  <leeming@lyx.org>
4047
4048         * FloatList.h: move out #include "Floating.h".
4049         * LaTeX.h: move out #include "DepTable.h".
4050         * LyXAction.h: move out #include "funcrequest.h".
4051         * buffer.h: move out #include "author.h", "iterators.h".
4052         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4053         * lyx_main.h: move out #include "errorlist.h".
4054         * lyxfunc.h: move out #include "FuncStatus.h".
4055         * lyxtext: move out #include "lyxcursor.h".
4056         * paragraph_pimpl.h: move out #include "counters.h".
4057
4058 2003-09-03  Angus Leeming  <leeming@lyx.org>
4059
4060         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4061         preamble_snippets list, enabling us to add snippets to the preamble
4062         only if the snippet was not there already.
4063
4064 2003-09-04  Angus Leeming  <leeming@lyx.org>
4065
4066         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4067
4068 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4069
4070         * lyxfunc.C (dispatch): if fitCursor did something be sure to
4071         update
4072
4073 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4074
4075         * BranchList.C: point fix, earlier forgotten
4076
4077 2003-09-02  Angus Leeming  <leeming@lyx.org>
4078
4079         * box.C (contains): renamed from 'contained' after a fantastic
4080         amount of hot air.
4081
4082 2003-09-02  John Levon  <levon@movementarian.org>
4083
4084         * BufferView.C:
4085         * lyxcursor.h:
4086         * lyxcursor.C:
4087         * lyxfunc.C:
4088         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4089
4090 2003-09-02  John Levon  <levon@movementarian.org>
4091
4092         * text2.C: simplification of cursorEnd(), including partial
4093         fix for bug 1376
4094
4095 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4096
4097         * buffer.C (readFile): add a space
4098
4099 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
4100
4101         * BufferView_pimpl.C (update): remove bogus fitCursor() call
4102
4103 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4104
4105         * buffer.C (readFile): new function, take a filename and a
4106         ParagraphList::iterator
4107         (readFile): adjust
4108         (readFile): adjust, make it private. don't use setStream, make
4109         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4110         always contain the filename.
4111
4112         * BufferView.C (insertLyXFile): simplify and make it work for
4113         gzipped files.
4114
4115 2003-08-30  John Levon  <levon@movementarian.org>
4116
4117         * Makefile.am: fix dist (from Kayvan)
4118
4119 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4120
4121         * most files: change to use const Buffer refs
4122
4123 2003-08-27  André Pönitz  <poenitz@gmx.net>
4124
4125         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4126         on top of ownerPar().
4127
4128 2003-08-27  John Levon  <levon@movementarian.org>
4129
4130         * funcrequest.C: properly initialise POD members
4131
4132 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4133
4134         * lyxtext.h (top_y): move top_y from here
4135         * text.C:
4136         * text2.C:
4137         * text3.C:
4138         * BufferView.[Ch]:
4139         * BufferView_pimpl.[Ch]: to here
4140         * frontends/screen.C:
4141         * insets/insettabular.C:
4142         * insets/insettext.C: adjust
4143         * rowpainter.[Ch] (paintRows): remove LyXText & argument
4144
4145 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4146
4147         * BufferView.[Ch]:
4148         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4149
4150 2003-08-26  André Pönitz  <poenitz@gmx.net>
4151
4152         * paragraph_func.[Ch] (outerPar): new function
4153
4154         * paragraph.C:
4155         * paragraph_funcs.C:
4156         * paragraph_funcs.h:
4157         * paragraph_pimpl.C:
4158         * text2.C: remove Inset::par_owner
4159
4160 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
4161
4162         * lyxrow_funcs.C:
4163         * lyxtext.h:
4164         * text.C:
4165         * text2.C: eliminates the needFullRow/display() stuff
4166         altogether, putting the logic in metrics/draw in the insets.
4167
4168 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
4169
4170         * text2.C (redoParagraphInternal, redoParagraphs):
4171         * text.C (redoParagraph): add a call to updateRowPositions at the
4172         end of each 'metrics-like' call. Remove all others.
4173         (getRow): remove the 'y-computing' version.
4174         (getRowNearY): do not compute nor return the real y. Solve the
4175         'y < 0' problem and simplify.
4176
4177 2003-08-22  Angus Leeming  <leeming@lyx.org>
4178
4179         * *.[Ch]: clean-up of licence and author blurbs.
4180         Also move config.h out of a few .h files and into a few .C files.
4181
4182 2003-08-22  André Pönitz  <poenitz@gmx.net>
4183
4184         * lyxrow.[Ch]: add x_ and *fill_ members
4185
4186         * lyxtext.h:
4187         * text.C:
4188         * rowpainter.C:
4189         * text2.C: adjust/remove prepareToPrint() calls
4190
4191 2003-08-22  André Pönitz  <poenitz@gmx.net>
4192
4193         * lyxrow.[Ch]: add  end_ member
4194
4195         * lyxrow_funcs.C: use LyXRow::end_
4196
4197         * lyxtext.h (singleWidth): add LyXFont parameter
4198
4199         * rowpainter.C:
4200         * text2.C: adjust LyXText::singleWidth() calls
4201
4202         * text.C (redoParagraph): simplify row breaking logic
4203
4204
4205 2003-08-19  André Pönitz  <poenitz@gmx.net>
4206
4207         * funcrequest.C: initialize button_ member
4208
4209         * text3.C:
4210         * rowpainter.[Ch]: interface consolidation
4211
4212 2003-08-18  André Pönitz  <poenitz@gmx.net>
4213
4214         * BufferView.C:
4215         * BufferView_pimpl.C:
4216         * lyxfind.C:
4217         * paragraph_funcs.C:
4218         * rowpainter.C:
4219         * text3.C: remove LyXScreen::draw() and fitCursor calls
4220
4221         * BranchList.h: remove spurious semicolons
4222
4223         * MenuBackend.C: fix branchlist related crash
4224
4225 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
4226
4227         * BranchList.[Ch]:
4228         * InsetList.[Ch]:
4229         * LColor.[Ch]:
4230         * LyXAction.C:
4231         * Makefile.am:
4232         * MenuBackend.[Ch]:
4233         * bufferparams.[Ch]:
4234         * factory.C:
4235         * lfuns.h:
4236         * lyxfunc.C:
4237         * text3.C: implements the 'branch inset'
4238         idea. This allows the output of various versions of a document
4239         from a single source version, selectively outputing or suppressing
4240         output of parts of the text.
4241         This implementation contains a 'branch list editor' in a separate
4242         tab of the document settings dialog. Branches are user definable
4243         and have a "display colour" to distinguish them on-screen.
4244
4245         ColorHandler was somewhat cleaned up.
4246         (1) make possible a dynamically growing LColor list by allowing
4247         the graphic context cache to grow along (vector);
4248         (2) eliminate an IMHO unnecessary step in colour allocation.
4249
4250 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
4251
4252         * BufferView_pimpl.C: compile fix
4253
4254 2003-08-15  André Pönitz  <poenitz@gmx.net>
4255
4256         * rowpainter.C: remove extra metrics calls
4257
4258         * lyxtext.h: merge the two constructors into a single one,
4259           pass reference to owner's par list
4260
4261         * BufferView_pimpl.C:
4262         * text.C:
4263         * text2.C: adjust
4264
4265 2003-08-15  André Pönitz  <poenitz@gmx.net>
4266
4267         * lyxrow_funcs.[Ch]:
4268         * lyxtext.h:
4269         * paragraph.h:
4270         * paragraph_funcs.C:
4271         * rowpainter.C:
4272         * text.C:
4273         * text2.C:
4274         * text3.C:
4275         * text_funcs.C: split LyXText::rowlist_ into individual
4276         Paragraph::rows_ chunks
4277
4278         * BufferView.[Ch]:
4279         * BufferView_pimpl.[Ch]:
4280         * lyxfind.C:
4281         * lyxtext.h:
4282         * text3.C: remove toggleSelection()
4283
4284 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
4285
4286         * bufferlist.C: beautify two alerts (shorter text of buttons)
4287         * buffer.C: Remove redundant ' ' from message
4288         * tabular.h:
4289         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4290         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4291         rename VALIGN_CENTER to VALIGN_MIDDLE
4292
4293 2003-08-11  André Pönitz  <poenitz@gmx.net>
4294
4295         * lyxtext.h (getPar):
4296         * text.C: new function
4297
4298 2003-08-11  André Pönitz  <poenitz@gmx.net>
4299
4300         * Makefile.am:
4301         * tracer.[Ch]: remove unneeded files
4302
4303         * InsetList.[Ch]: remove resizeInsetsLyXText()
4304
4305         * lyxtext.h:
4306         * text.C:
4307         * text2.C:
4308         * text3.C: merge insertParagraphs() and appendParagraph()
4309         remove breakAgain(), update()
4310
4311         * BufferView_pimpl.[Ch]:
4312         * bufferview_funcs.[Ch]:
4313         * lyxfunc.C:
4314         * paragraph.[Ch]:
4315         * rowpainter.C:
4316         * tabular.C: adjust after text & InsetList changes.
4317
4318 2003-08-08  André Pönitz  <poenitz@gmx.net>
4319
4320         * text.C (insertChar, backspace): replace rowlist fiddling
4321         with rebreak of full par
4322
4323         * lyxtext.h:
4324         * text.C (breakAgainOneRow, redoHeightOfParagraph,
4325         checkParagraph, updateInset): removed
4326
4327 2003-08-07  André Pönitz  <poenitz@gmx.net>
4328
4329         * paragraph.C:
4330         * text3.C: merge some LFUN handlers, remove dead code
4331
4332 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4333
4334         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4335
4336 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
4337
4338         * text2.C (DEPM): fix part of bug 1255 and 1256
4339
4340 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4341
4342         * BufferView_pimpl.C (workAreaDispatch): change to use
4343         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4344         that are no mouse related.
4345
4346 2003-08-05  André Pönitz  <poenitz@gmx.net>
4347
4348         * BufferView.[Ch]:
4349         * BufferView_pimpl.[Ch]:
4350         * bufferview_funcs.C:
4351         * text2.C:
4352         * text3.C: rip out "deep update"
4353
4354         * textcursor.[Ch] (last_sel_cursor): remove unused member
4355
4356 2003-08-04  André Pönitz  <poenitz@gmx.net>
4357
4358         * BufferView.[Ch]:
4359         * BufferView_pimpl.[Ch]:
4360         * ParagraphParameters.C:
4361         * bufferview_funcs.C:
4362         * lyx_cb.C:
4363         * lyxfind.C:
4364         * lyxfunc.C:
4365         * text.C:
4366         * text2.C:
4367         * text3.C: replace "complicated" BufferView::update(...) calls with
4368         simpler ones.
4369
4370         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4371
4372 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
4373
4374         * Makefile.am (lyx_SOURCES): add paper.h
4375
4376 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4377
4378         * Makefile.am: move things around so that both lyx-qt and
4379         lyx-xforms can be built (according to --with-frontend). Then lyx
4380         is a symbolic link to lyx-[firstfrontend]
4381
4382 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
4383
4384         * Always use std::endl with lyxerr
4385
4386 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
4387
4388         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4389
4390 2003-08-01  André Pönitz  <poenitz@gmx.net>
4391
4392         * BufferView.[Ch]:
4393         * BufferView_pimpl.[Ch]:
4394         * lyxfunc.C:
4395         * text3.C: merge BufferView::repaint() and BufferView::update()
4396
4397 2003-08-01  José Matos  <jamatos@lyx.org>
4398
4399         * buffer.[Ch]: file_format is no longer a buffer data element.
4400
4401 2003-08-01  André Pönitz  <poenitz@gmx.net>
4402
4403         * BufferView.C:
4404         * lyxtext.h:
4405         * text.C:
4406         * text2.C: make redoParagraph more independent of current cursor
4407
4408         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4409         * text.C:
4410         * text2.C: remove unneeded members
4411
4412 2003-07-30  André Pönitz  <poenitz@gmx.net>
4413
4414         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4415
4416         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4417           create a single function...
4418
4419         * paragraph_funcs.C (moveItem): ... here.
4420
4421         * text.C:
4422           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4423
4424 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
4425
4426         * LColor.[Ch]: Add comment and greyedout logical colors.
4427
4428 2003-07-30  André Pönitz  <poenitz@gmx.net>
4429
4430         * tabular.C: don't use Assert too heavily. This crashes where it
4431           shouldn't
4432
4433 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
4434
4435         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4436         is disabled (bug 1232)
4437
4438 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4439
4440         * factory.C: limited 'arg' scope
4441
4442 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4443
4444         * factory.C: fixed Note submenu issues
4445
4446 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4447
4448         * factory.C: submenu for Note/Comment/Greyedout
4449
4450 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
4451
4452         * lyx_main.C (LyX):
4453         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4454
4455 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
4456
4457         * LaTeXFeatures.C:
4458         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4459         greyedout. Patch provided by Jürgen Spitzmüller.
4460
4461 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4462
4463         * kbmap.C (read): fix error message when reading bind files
4464
4465 2003-07-29  Angus Leeming  <leeming@lyx.org>
4466
4467         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4468         certainly does not do what it purports to do. I am doing it, and
4469         us, a favour by killing it.
4470
4471 2003-07-28  José Matos  <jamatos@lyx.org>
4472
4473         * buffer.C (readBody, do_writeFile):
4474         * paragraph.C(readParagraph): \end_document replaces \the_end.
4475
4476 2003-07-29  André Pönitz  <poenitz@gmx.net>
4477
4478         * BufferView.[Ch]:
4479         * BufferView_pimpl.[Ch]:
4480         * lyxfunc.C:
4481         * text2.C:
4482         * text3.C:
4483         * textcursor.[Ch]: remove toggleToggle & Co
4484
4485 2003-07-28  José Matos  <jamatos@fep.up.pt>
4486
4487         * buffer.C (readParagraph):
4488         * params_func (readParToken, readParagraph):
4489         * paragraph.C (write): \layout -> \begin_layout.
4490
4491 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4492
4493         * lyxlex_pimpl.C (setFile): clean up slightly.
4494
4495         * bufferparams.h: add compressed var
4496
4497         * buffer_funcs.C (readFile): adjust for LyXLex change
4498         (newFile): ditto + simplify
4499
4500         * buffer.C (writeFile): handle writing of compressed files
4501
4502         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4503         Check if the file is compressed and set a bufferparm if so.
4504
4505         * Makefile.am (lyx_LDADD): remove explicit -lz
4506
4507 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4508
4509         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4510         makeDocBookFile): put the real LyX version in the first line of
4511         the file
4512
4513         * version.h:
4514         * version.C.in: remove lyx_docversion
4515
4516         * tabular.C (write_attribute): add a template-based version to
4517         write enums properly
4518
4519 2003-07-28  André Pönitz  <poenitz@gmx.net>
4520
4521         * lyxtext.h:
4522         * text.C:
4523         * text2.C:
4524         * text3.C: use doubles again for x-coordinates. They are needed.
4525
4526 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4527
4528         * messages.C (getLocaleDir): use lyx_localedir()
4529
4530         * lyxlex_pimpl.C (setFile): compress stuff
4531
4532         * buffer.C (writeFile): add some compression stuff
4533         (do_writeFile): new func, dont call expliti close... will this
4534         breake anything?
4535
4536         * Makefile.am (lyx_LDADD): add -lz
4537
4538 2003-07-28  José Matos  <jamatos@fep.up.pt>
4539
4540         * buffer.C: increment file format.
4541         * paragraph_funcs (readParagraph, readParToken):
4542         * paragraph.C (readParagraph): add \end_layout.
4543
4544 2003-07-27  Angus Leeming  <leeming@lyx.org>
4545
4546         * Makefile.am: remove special casing for configure-time setting of
4547         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4548
4549         * lyx_main.C (init): remove all Jean-Marc's magic setting of
4550         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4551
4552 2003-07-26  André Pönitz  <poenitz@gmx.net>
4553
4554         * paragraph_func.[Ch]:
4555         * paragraph.C (realizeFont): inline it whereever it is used
4556
4557         * rowpainter.C:
4558         * text.C:
4559         * text2.C:
4560         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4561
4562
4563 2003-07-26  André Pönitz  <poenitz@gmx.net>
4564
4565         *       lyxtext.h:
4566         * text.C:
4567         * text2.C: get rid of LyXText::need_break_row
4568
4569 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4570
4571         * toc.[Ch]: put namespace toc inside namespace lyx
4572
4573         * MenuBackend.C (expandToc2): adjust for lyx::toc
4574         (expandToc): ditto
4575
4576         * lyxfunc.C (dispatch): adjust for lyx::find
4577
4578         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4579         lyx::find instead. Reorganize a bit.
4580         (LyXReplace): rename to replace
4581         (LyXFind): rename to find
4582
4583         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4584         (dispatch): ditto
4585
4586 2003-07-26  André Pönitz  <poenitz@gmx.net>
4587
4588         * text.C (setHeightOfRow): restrict scope of temporary variable
4589
4590         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
4591           code (never has been used?)
4592
4593 2003-07-27  Asger Alstrup  <alstrup@local>
4594
4595         * text.C (fill): Optimise algorithm to exploit that we can reuse
4596         the LyXFont for many characters.
4597         (setHeightOfRow): Same thing.
4598         (rowBreakPoint): Same thing.
4599
4600 2003-07-26  Asger Alstrup  <alstrup@local>
4601
4602         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4603
4604         * text.C (singleWidth): Spurious font copying in hot-spot
4605         singleWidth avoided. Reorder tests for arabic for efficiency.
4606
4607         * text.C (fill): handle empty paragraphs better.
4608
4609 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4610
4611         * ispell.C:
4612         * encoding.h: add includes
4613
4614         * lyxrc.C: remove reading of bind files
4615
4616         * lyx_main.C (init): setup bindings and menus only if we have a
4617         gui.
4618
4619         * kbmap.C (read): new method. Do the actual reading of bind
4620         files.
4621
4622         * converter.C (dvipdfm_options):
4623         * bufferparams.C:
4624         * lyxrc.C (read):
4625         (output): adapt PAPER_* enums.
4626
4627         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4628
4629         * bufferparams.h: remove paper-related enums from there
4630
4631         * paper.h: New file. A trivial header file to hold paper-related
4632         enums. It should later expand to contain many paper-related
4633         horrors access.
4634
4635         * lyxrc.C: declare extern displayTranslator
4636
4637 2003-07-27  José Matos  <jamatos@fep.up.pt>
4638
4639         * tabular.[Ch] (linuxdoc): add support for tables and figures
4640         (linuxdoc).
4641
4642 2003-07-27  José Matos  <jamatos@fep.up.pt>
4643
4644         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4645         consistency in both functions.
4646         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4647
4648 2003-07-26  Asger Alstrup  <alstrup@local>
4649
4650         * rowpainter.C (paintRows): Change algorithm to work directly on
4651         the insets rather than asking every character in the document
4652         whether its an inset.
4653
4654 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
4655
4656         * buffer.C (openFileWrite): factorize some code
4657
4658 2003-07-26  Angus Leeming  <leeming@lyx.org>
4659
4660         * lyx_cb.C:
4661         * lyx_main.[Ch]: replace occurances of system_tempdir with
4662         os::getTmpDir().
4663
4664 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4665
4666         * rename Inset to InsetOld
4667
4668 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
4669
4670         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4671         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4672         which I think is a bit clearer. EDIT is gone, since it was
4673         premature optimisation, and broken for mathed anyway.
4674         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4675         with cursor positioning in insets as well (math insets still do not
4676         work, but that's a different story anyway.) It mysteriously
4677         crashes sometimes with undo in the first paragraph, but I'm fairly
4678         confident that this is a compiler bug.
4679
4680 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4681
4682         * paragraph.C (Paragraph): adjust for new clone return type
4683         (operator==): ditto
4684         (copyIntoMinibuffer): ditto
4685
4686 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
4687
4688         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4689         by not having a special case, and always doing a full rebreak of
4690         the document after undo.
4691
4692 2003-07-23  Angus Leeming  <leeming@lyx.org>
4693
4694         * factory.C (createInset): InsetExternal::setParams now takes a
4695         Buffer const * arg.
4696
4697 2003-07-23  Angus Leeming  <leeming@lyx.org>
4698
4699         * factory.C (createInset): changed interface to the external and
4700         graphics mailers' string2params functions.
4701
4702 2003-07-23  Angus Leeming  <leeming@lyx.org>
4703
4704         * factory.C (createInset): pass a
4705         Buffer const * parameter to InsetExternalMailer's string2params.
4706
4707 2003-07-22  John Levon  <levon@movementarian.org>
4708
4709         * Thesaurus.h: include the right aiksaurus header
4710
4711 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4712
4713         * MenuBackend.C (expand): check menu shortcuts unconditionally
4714
4715 2003-07-21  Angus Leeming  <leeming@lyx.org>
4716
4717         * factory.C (createInset): pass a
4718         buffer_path parameter to InsetGraphicsMailer's string2params.
4719
4720 2003-07-21  Angus Leeming  <leeming@lyx.org>
4721
4722         * BufferView_pimpl.C (buffer):
4723         * buffer.C (d-tor):
4724         * lyx_main.C (LyX):
4725         * lyxfunc.C (dispatch):
4726         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4727         rather than the grfx shortcut.
4728
4729 2003-07-21  André Pönitz  <poenitz@gmx.net>
4730
4731         * rowpainter.C: remove unused variables
4732
4733         * tabular_funcs.C:
4734         * tabular_funcs.h: move to tabular.C
4735         * Makefile.am: adjust
4736
4737         * tabular.[Ch]: basic optical cleaning
4738
4739         * author.h: pass references, not values
4740
4741 2003-07-18  André Pönitz  <poenitz@gmx.net>
4742
4743         * lyxtext.h:
4744         * metricsinfo.C:
4745         * metricsinfo.h:
4746         * rowpainter.C:
4747         * text.C:
4748         * text2.C:
4749         * text3.C: two-phase drawing for InsetText and InsetTabular
4750         some float -> int changes.
4751
4752 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4753
4754         * lyx_main.C: fix the fix
4755
4756 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4757
4758         * lyx_main.C: fix a crash in batch mode if no files specified
4759         * converter.C: ws
4760
4761 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
4762
4763         * format.[Ch] (papersize): moved to BufferParams
4764         * converter.[Ch] (dvips_options): moved to BufferParams
4765         (dvipdfm_options): moved to anon namespace
4766         * bufferparams.[Ch]: added above functions.
4767
4768 2003-07-17  André Pönitz  <poenitz@gmx.net>
4769
4770         * lyxtext.h:
4771         * rowpainter.C:
4772         * text2.C: don't call inset->update() anymore
4773
4774         * metricsinfo.[Ch]: add convenience constructor
4775
4776 2003-07-16  André Pönitz  <poenitz@gmx.net>
4777
4778         * lyxcursor.[Ch]:
4779         * lyxfunc.[Ch]:
4780         * text.C:
4781         * text2.C: replace the LyXCursor::irow_ member with
4782          on-demand computation of the value
4783
4784 2003-07-16  John Levon  <levon@movementarian.org>
4785
4786         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4787
4788 2003-07-15  André Pönitz  <poenitz@gmx.net>
4789
4790         * text.C:
4791         * text2.C: remove no more needed refresh_row
4792
4793 2003-07-15  André Pönitz  <poenitz@gmx.net>
4794
4795         * lyxtext.h:
4796         * rowpainter.C:
4797         * text2.C:
4798         * text3.C: refresh_status tristate -> need_update bool
4799
4800 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
4801
4802         * lyxtext.h (init): remove reinit argument (act as if always true)
4803         * text2.C: adjust to that
4804
4805 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4806
4807         * bufferview_funcs.[Ch]: introduce function replaceSelection()
4808         * text3.C: use it to delete selections in some cases
4809         (bugs 441, 673, 702, 954).
4810
4811 2003-07-14  André Pönitz  <poenitz@gmx.net>
4812
4813         * rowpainter.[Ch]: reduce interface
4814
4815 2003-07-14  André Pönitz  <poenitz@gmx.net>
4816
4817         * BufferView_pimpl.C:
4818         * text2.C: adjust after removing unused BufferView * argument
4819
4820 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
4821
4822         * text2.C (init): fix a crash fired on resize
4823
4824 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
4825
4826         * buffer.[Ch]: added new closing signal
4827         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4828         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4829         BufferView::Pimpl via the closing the signal
4830
4831 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
4832
4833         * buffer.[Ch]: take out all bv-related from buffer
4834         * BufferView.C:
4835         * BufferView_pimpl.[Ch]: connect to new signals
4836         * CutAndPaste.C: removed useless asserts
4837         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4838         * lyxvc.[Ch]:
4839         * vc-backend.[Ch]:
4840         * lyxfunc.C: moved view-related funciontality from vc here
4841         * paragraph.C: removed outdated comments
4842         * text.C: ws
4843
4844 2003-07-10  André Pönitz  <poenitz@gmx.net>
4845
4846         * BufferView_pimpl.C:
4847         * tabular.h:
4848         * tabular_funcs.C:
4849         * text.C:
4850         * text2.C: remove InsetText::InnerCache, clean up consequences
4851
4852 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
4853
4854         * ispell.C: fix two typos in error messages
4855
4856 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
4857
4858         * Extend Note inset to other forms of annotation like Comment
4859         and Greyedout. Right button click gives dialog.
4860
4861         Files modified or added (+):
4862
4863         * insetnote.[Ch]
4864         * FormNote.[Ch]      +
4865         * ControlNote.[Ch]   +
4866         * form_note.fd       +
4867         * Makefile.am in frontends/xforms, frontends/xforms/forms,
4868         frontends/controllers
4869         * xforms/Dialogs.C
4870         * factory.C
4871
4872 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4873
4874         * aspell.C: add missing namespace lyx::support
4875
4876 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
4877
4878         * BufferView.[Ch] (newFile): Add
4879         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4880         * LaTeX.[Ch] (message): added this signal and use it
4881         * buffer.[Ch] (busy, message): added these signals and use them
4882         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4883         * converter.C:
4884         * exporter.C:
4885         * format.C:
4886         * importer.C: use buffer signals instead of direct bv calling
4887         * lyx_cb.[Ch] (ShowMessage): removed
4888         * lyx_main.C:
4889         * lyxfunc.C:
4890         * paragraph_funcs.C:
4891         * text2.C: use buffer signals
4892
4893 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4894
4895         * introduce namespace lyx::graphics
4896
4897 2003-07-02  André Pönitz  <poenitz@gmx.net>
4898
4899         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4900
4901 2003-07-01  André Pönitz  <poenitz@gmx.net>
4902
4903         * text.C:
4904         * text2.C:
4905         * text3.C:
4906         * text_funcs.[Ch]:
4907         * textcursor.h:
4908         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4909           text*.C to text_func.C
4910
4911 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4912
4913         * introduce namespace lyx::support
4914
4915 2003-06-30  André Pönitz  <poenitz@gmx.net>
4916
4917         * Chktex.C:
4918         * funcrequest.C:
4919         * lyxtext.h:
4920         * text.C: re-enable --with-included-string
4921
4922 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4923
4924         * textcursor.C: add <config.h>
4925
4926         * text.C (getWord): remove const from word_location arg
4927
4928         * lyxvc.C (getLogFile): fix const type order
4929
4930         * lyxtext.h: remove const from word_location arg, add arg name
4931
4932         * lyxlayout.h: currect type on labeltype.
4933
4934         * importer.C: correct \file
4935
4936         * converter.C (intToFormat): use std:: on ret val, ws changes
4937
4938         * bufferlist.h: correct \file
4939
4940         * buffer.C (makeLinuxDocFile): fix const type order
4941         (makeDocBookFile): ditto
4942         (fillWithBibKeys): use std:: on stdlib args.
4943
4944         * CutAndPaste.C: fix authors.
4945         (availableSelections): use std:: on return vector
4946
4947 2003-06-27  André Pönitz  <poenitz@gmx.net>
4948
4949         * BufferView_pimpl.C:
4950         * bufferview_funcs.C:
4951         * lyxcursor.C:
4952         * lyxcursor.h:
4953         * lyxfunc.C:
4954         * lyxtext.h:
4955         * rowpainter.C:
4956         * text.C:
4957         * text2.C:
4958         * text3.C: remove LyXCursor::row_ member
4959
4960         * lyxtext.h:
4961         * text.C: rename fullRebreak() to partialRebreak() and implement
4962           a fullRebreak() that really bereks fully
4963
4964         * textcursor.h: new struct for cursor-related data
4965
4966 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
4967
4968         * lyx_main.C (LyX): get full path of document loaded on the
4969         command line
4970
4971 2003-06-26  André Pönitz  <poenitz@gmx.net>
4972
4973         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4974           remove unused/broken operator>,<,>=.
4975
4976         *       text.C: remove only use of broken operator<= in an Assert().
4977
4978 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4979
4980         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4981         moved errorlist_.clear to showErrorList
4982
4983 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4984
4985         * converter.C (scanLog, runLaTeX):
4986         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4987         move the bv->showErrorList call to the callers
4988         * lyxfunc.C: i.e. here...
4989         * text2.C: and here
4990         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4991         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4992         namespace, the second to...
4993         * buffer_funcs (BufferFormat, parseErrors): added
4994         * errorlist.C (ErrorList(TeXErrors const &)): removed
4995
4996 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4997
4998         * ToolbarBackend.C (getIcon): complain when icon cannot be found
4999
5000 2003-06-24  "Garst R. Reese" <reese@isn.net>
5001
5002         * debug.C: fix typo
5003
5004 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5005
5006         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5007
5008         * version.C.in: change docversion to 1.4
5009
5010 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
5011
5012         * buffer.C: fix a bug just introduced
5013
5014 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
5015
5016         * buffer.[Ch]: added the parseError signal and use it, removed
5017         sgmlError
5018         * BufferView.[Ch] (addError): moved to ...
5019         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5020         to the Buffer::parseError signal to catch (guess what) parse errors
5021         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5022
5023 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
5024
5025         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5026         ability to create a buffer and to return an existing one from
5027         the list. Moved these functions to...
5028         * buffer_funcs.[Ch]: added
5029         * BufferView.[Ch] (loadLyXFile): added
5030         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5031         job removed from bufferlist::loadLyXFile.
5032         * buffer.C (setReadOnly): make it work without view
5033         (i.e added an if (users))
5034
5035 2003-06-19  Angus Leeming  <leeming@lyx.org>
5036
5037         * lfuns.h:
5038         * LyXAction.C (init):
5039         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5040         with LFUN_DIALOG_SHOW <name> <data>.
5041
5042 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5043
5044         * CutAndPaste.C (availableSelections): small compilation fix for
5045         ancient (gcc 2.9x) compilers
5046
5047 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
5048
5049         * text3.C (cursorNext): add tmp var
5050
5051         * text2.C (updateCounters): for function calling out of for clause
5052         (replaceSelectionWithString): ditto
5053         (insertStringAsParagraphs): ditto
5054         (getColumnNearX): add tmp var
5055         (setCursorFromCoordinates): add tmp var
5056         (cursorDownParagraph): add tmp var
5057         (deleteEmptyParagraphMechanism): add tmp var
5058
5059         * text.C (insertChar): add tmp var
5060
5061         * rowpainter.C (paintDepthBar): add tmp var
5062
5063         * CutAndPaste.C (availableSelections): potentially check all
5064         paragraphs in a cut to fill the shown strings.
5065
5066 2003-06-18  André Pönitz  <poenitz@gmx.net>
5067
5068         * kbmap.[Ch]: use vector<> instead of list<>
5069
5070 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
5071
5072         * text3.C (dispatch): handle arg to LFUN_PASTE, call
5073         pasteSelection with index
5074
5075         * text2.C (pasteSelection): modify, call pasteSelection with index
5076
5077         * paragraph.C (asString): reimplement version with no interval to
5078         call the one with interval.
5079
5080         * lyxtext.h: add index arg to pasteSelection
5081
5082         * MenuBackend.C (MenuItem): handle PasteRecent
5083         (Menu::read::Menutags): add md_pasterecent
5084         (read): handle it
5085         (expandPasteRecent): new function
5086         (expand): use it
5087
5088         * MenuBackend.h: add PasteRecent to MenuItem::Kind
5089
5090         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5091         the limited stack
5092         (availableSelections): new function
5093
5094 2003-06-17  Angus Leeming  <leeming@lyx.org>
5095
5096         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5097
5098 2003-06-17  Angus Leeming  <leeming@lyx.org>
5099
5100         * lfuns.h:
5101         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5102
5103         * lyxfunc.C (dispatch): invoke it.
5104
5105 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5106
5107         * iterators.C (operator++, ParPosition): reintroduce some
5108         const_cast for the benefit of older compilers.
5109
5110 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5111
5112         * text3.C (dispatch): do not modify clipboard when doing
5113         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5114         LFUN_DELETE_SKIP on a selection selection
5115
5116 2003-06-16  André Pönitz  <poenitz@gmx.net>
5117
5118         * BufferView.C:
5119         * buffer.C:
5120         * buffer.h:
5121         * paragraph.C:
5122         * tabular.[Ch]: IU of clone() and getLabelList();
5123
5124 2003-06-13  André Pönitz  <poenitz@gmx.net>
5125
5126         * tabular.h: compactification
5127
5128 2003-06-12  André Pönitz  <poenitz@gmx.net>
5129
5130         * tabular.C:
5131         * tabular.h:
5132         * tabular_funcs.h: some renaming plus whitespace
5133
5134 2003-06-12  André Pönitz  <poenitz@gmx.net>
5135
5136         * BufferView.C:
5137         * BufferView_pimpl.C:
5138         * CutAndPaste.C:
5139         * buffer.C:
5140         * iterators.[Ch]:
5141         * lyxfunc.C:
5142         * text.C:
5143         * toc.C: Return a Paragraph & for ParIterator::operator*()
5144
5145 2003-06-11  John Levon  <levon@movementarian.org>
5146
5147         * lyx_main.C:
5148         * ToolbarBackend.h:
5149         * ToolbarBackend.C: add "Toolbars" section and
5150         put the flags there
5151
5152 2003-06-10  Angus Leeming  <leeming@lyx.org>
5153
5154         * lfuns.h:
5155         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5156
5157         * lyxfunc.C (dispatch): invoke it.
5158
5159 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5160
5161         * main.C: protect <ios> with HAVE_IOS
5162         (main): protect sync_with_stdio with HAVE_IOS
5163
5164 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
5165
5166         * text2.C (cutSelection): adjust
5167         (pasteSelection): adjust
5168
5169         * messages.C: handle get of empty string
5170
5171         * main.C (main): use sync_with_stdio(false)
5172
5173         * lyxfunc.C (dispatch): adjust
5174
5175         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5176         (WriteAs): remove unneeded BufferView arg.
5177
5178         * bufferparams.h: use correct types on papersize, papersize2 and
5179         paperpackage.
5180
5181         * bufferparams.C (readToken): adjust for type
5182         (writeLaTeX): add missing cases to switch.
5183
5184         * bufferlist.C (quitWriteBuffer): adjust
5185         (close): adjust
5186
5187         * buffer.C (asciiParagraph): remove some commented code.
5188
5189         * CutAndPaste.C: remove current_view extern variable.
5190         (cutSelection): add BufferParams arg.
5191         (eraseSelection): add BufferParams arg.
5192         (pasteSelection): add Buffer const & arg
5193
5194 2003-06-07  John Levon  <levon@movementarian.org>
5195
5196         * buffer.C:
5197         * paragraph_funcs.C:
5198         * paragraph_pimpl.C:
5199         * text.C:
5200         * text2.C:
5201         * paragraph.h:
5202         * paragraph.C: allow InsetERT to freely space lines,
5203         and some consolidation of code
5204
5205 2003-06-06  José Matos  <jamatos@fep.up.pt>
5206
5207         * buffer.C (makeDocBookFile): fix bug #821
5208
5209 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
5210
5211         * BufferView_pimpl.C (dispatch): use Dialogs::visible
5212
5213 2003-06-04  Angus Leeming  <leeming@lyx.org>
5214
5215         * buffer.C: bump format to 224.
5216
5217 2003-06-05  André Pönitz  <poenitz@gmx.net>
5218
5219         * text2.C (redoParagraphs): remove two const_cast<>
5220
5221 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5222
5223         * ParagraphList.h: remove last remnants of NO_STD_LIST
5224
5225 2003-06-03  Angus Leeming  <leeming@lyx.org>
5226
5227         * factory.C (createInset): small change to the way InsetExternal's params
5228         are set.
5229
5230 2003-06-04  André Pönitz  <poenitz@gmx.net>
5231
5232         * buffer.h: use Undo directly instead of shared_ptr<Undo>
5233
5234         * paragraph_pimpl.h:
5235         * paragraph.[Ch]: some Inset -> UpdatableInset changes
5236
5237         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5238
5239         * undo_funcs.C: make some simple cases of undo work again
5240
5241 2003-06-03  John Levon  <levon@movementarian.org>
5242
5243         * ispell.C: HPUX doesn't have sys/select.h
5244         (from Albert Chin)
5245
5246 2003-06-03  John Levon  <levon@movementarian.org>
5247
5248         * CutAndPaste.C: update tabular and include inset
5249         buffer references
5250
5251         * buffer.h:
5252         * paragraph.h:
5253         * paragraph.C: remove owningBuffer(), don't pass Buffer
5254         to clone()
5255
5256         * factory.C: insetGraphicsParams changed
5257
5258 2003-06-02  John Levon  <levon@movementarian.org>
5259
5260         * LyXAction.C:
5261         * factory.C:
5262         * lfuns.h:
5263         * lyxfunc.C:
5264         * text3.C: remove insetparent
5265
5266 2003-06-02  John Levon  <levon@movementarian.org>
5267
5268         * buffer.h:
5269         * buffer.C: fix inset_iterator.end(), move out of line
5270         (bug 1149)
5271
5272 2003-06-01  John Levon  <levon@movementarian.org>
5273
5274         * text3.C: use a proper cut/paste when doing inset
5275         insert (from Jürgen Spitzmüller)
5276
5277 2003-06-01  John Levon  <levon@movementarian.org>
5278
5279         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5280
5281 2003-05-30  André Pönitz  <poenitz@gmx.net>
5282
5283         * rowpainter.C: unify second drawing phase
5284
5285 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5286
5287         * trans_mgr.C: remove one case of current_view
5288
5289         * text2.C (cursorBottom): delete NO_STD_LIST stuff
5290
5291         * paragraph_funcs.h: remove paragraph.h include
5292
5293         * paragraph.h: delete NO_STD_LIST stuff
5294
5295         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5296
5297         * buffer.h: remove paragraph.h include
5298
5299         * ParagraphList.C: delete file
5300
5301         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5302
5303         * toc.C (getTocList): adjust
5304
5305         * paragraph_pimpl.C (validate): adjust
5306
5307         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5308
5309         * paragraph.C (Paragraph): adjust
5310         (getPositionOfInset): use const_iterator, adjust
5311         (bibitem): use const_iterator, adjust
5312         (setInsetOwner): adjust
5313
5314         * iterators.C (operator++): adjust
5315
5316         * InsetList.[Ch]: Replace selfmade iterator with standard
5317         vector::iterator also introduce const_iterator. Remove getPos,
5318         getInset and setInset from InsetTable. Adjust accordingly.
5319
5320         * BufferView.C (lockInset): adjust
5321         (ChangeInsets): adjust
5322
5323         * tabular.[Ch]: delete commented same_id functions
5324
5325 2003-05-28  John Levon  <levon@movementarian.org>
5326
5327         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5328
5329 2003-05-28  André Pönitz  <poenitz@gmx.net>
5330
5331         * metricsinfo.[Ch]: remove 'fullredraw' member
5332
5333 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
5334
5335         * lyxtextclass.C (operator): remove caching.
5336
5337 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5338
5339         * text3.C: adjust
5340
5341         * text2.C (cursorBottom): adjust
5342         (setCounter): use ParagraphList::find, adjust
5343
5344         * text.C (workWidth): use ParagraphList::find, adjust
5345
5346         * lyxcursor.C (LyXCursor): adjust
5347
5348         * buffer.C (inset_iterator): adjust
5349
5350         * ParagraphList.h: make iterator(value_type) private, make
5351         ParagraphList a friend of iterator.
5352
5353         * ParagraphList.C (find): new function
5354
5355         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5356
5357 2003-05-27  André Pönitz  <poenitz@gmx.net>
5358
5359         * dimension.[Ch]: a -> asc, d -> des, w -> wid
5360
5361 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5362
5363         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5364
5365 2003-05-26  John Levon  <levon@movementarian.org>
5366
5367         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5368
5369 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5370
5371         * remove same_id from function signatures, adjust.
5372
5373 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5374
5375         * undo_funcs.C (createUndo): use the id functions directly, adjust.
5376
5377         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5378
5379         * paragraph.C (Paragraph): get rid of same_ids parameter
5380
5381         * ParagraphList.C (insert): adjust
5382         (push_back): adjust
5383
5384 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5385
5386         * paragraph_funcs.C (breakParagraph): adjust
5387         (breakParagraphConservative): adjust
5388
5389         * buffer.C (readParagraph): adjust
5390
5391         * ParagraphList.C (insert): take a reference instead of a pointer
5392         (insert): adjust
5393
5394         * paragraph.[Ch] (id): new function
5395
5396         * bufferlist.C (newFile): adjust
5397
5398         * ParagraphList.C (ParagraphList): adjust
5399         (assign): adjust
5400         (push_back): take a reference instead of a pointer.
5401
5402         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5403
5404         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5405         instead.
5406
5407         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5408         set else use old code.
5409
5410         * ParagraphList.C: remove all NO_NEXT code and only compile this
5411         code of NO_STD_LIST is set.
5412
5413 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5414
5415         * BufferView_pimpl.C:
5416         * TextCache.C:
5417         * TextCache.h:
5418         * bufferlist.C:
5419         * errorlist.h:
5420         * format.C:
5421         * format.h:
5422         * graph.C:
5423         * lyxfunc.C:
5424         * lyxrc.C:
5425         * graphics/GraphicsConverter.C:
5426         * graphics/PreviewLoader.C: header adjustment
5427
5428 2003-05-23  Angus Leeming  <leeming@lyx.org>
5429
5430         * LaTeXFeatures.[Ch] (useBabel): new method.
5431         * bufferparams.C (writeLaTeX): use it.
5432
5433 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5434
5435         * ParagraphList.h (set): remove unused function.
5436
5437 2003-05-23  André Pönitz  <poenitz@gmx.net>
5438
5439         * BufferView.C:
5440         * BufferView_pimpl.C:
5441         * buffer.C:
5442         * buffer.h:
5443         * lyxfunc.C:
5444         * undo_funcs.C: setUndo reworked
5445
5446         * iterators.[Ch]: add access to topmost ParagraphList
5447
5448         * lyxtext.[Ch] (workWidth): add a const
5449
5450 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5451
5452         * texrow.[Ch] (increasePos): remove function
5453         * exporter.C (export): removed unused var and outdated comment
5454
5455 2003-05-23  Angus Leeming  <leeming@lyx.org>
5456
5457         * latexrunparams.h: rename fragile as moving_arg.
5458         * paragraph.C (simpleTeXOnePar): ditto.
5459         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5460
5461 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5462
5463         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5464         (createUndo): ditto
5465         (textUndoOrRedo): comment out a currently unused var.
5466
5467         * paragraph.h (NO_NEXT): enable NO_NEXT
5468
5469         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5470
5471         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5472
5473         * exporter.C (Export): adjust for removeAutoInsets removal.
5474
5475         * buffer.C (runChktex): adjust for removeAutoInsets removal.
5476
5477         * LyXAction.C (init): remove LFUN_REMOVEERRORS
5478
5479         * BufferView.[Ch] (removeAutoInsets): delete function
5480
5481 2003-05-22  Angus Leeming  <leeming@lyx.org>
5482
5483         * latexrunparams.h: add a free_spacing variable.
5484
5485         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5486         to pass moving_arg, as the data is stored in runparams.fragile.
5487
5488         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5489         to Inset::latexOptional or to simpleTeXOnePar.
5490
5491         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5492         free_spacing arg to Inset::latexOptional.
5493
5494         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5495         free_spacing arg.
5496
5497 2003-05-22  Angus Leeming  <leeming@lyx.org>
5498
5499         * latexrunparams.h: add fragile and use_babel variables.
5500
5501         * bufferparams.[Ch] (writeLaTeX): return use_babel.
5502         * buffer.C (makeLaTeXFile): store this returned value in
5503         runparams.use_babel, thus passing it to the inset::latex methods.
5504
5505         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5506         simpleTeXSpecialChars as it is now stored in runparams.fragile.
5507
5508         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5509         longer has a fragile arg, as it is stored in runparams.fragile.
5510
5511         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5512         moving_arg parameter as the data is stored in runparams.fragile.
5513
5514         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5515         a fragile parameter as the data is stored in runparams.fragile.
5516
5517 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5518
5519         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5520
5521 2003-05-22  Angus Leeming  <leeming@lyx.org>
5522
5523         * latexrunparams.h: add a 'bool nice' which defaults to false.
5524
5525         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5526         now encapsulated within runparams.
5527
5528         * bufferlist.C (updateIncludedTeXfiles):
5529         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5530
5531 2003-05-22  Angus Leeming  <leeming@lyx.org>
5532
5533         * latexrunparams.h: new file containing struct LatexRunParams.
5534         * Makefile.am: add new file.
5535
5536         * LaTeX.[Ch] (c-tor, run):
5537         * buffer.[Ch] (makeLaTeXFile):
5538         * bufferlist.[Ch] (updateIncludedTeXfiles):
5539         * converter.C (convert, scanLog):
5540         * converter.[Ch] (runLaTeX):
5541         * exporter.C (Export):
5542         * paragraph.[Ch] (simpleTeXOnePar):
5543         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5544         * paragraph_funcs.[Ch] (latexParagraphs):
5545         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5546         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5547         pass around a LatexRunParams parameter.
5548
5549 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5550
5551         * paragraph.[Ch]: remove unused constructor
5552
5553         * ParagraphList.C (erase): new function, taking two iterators
5554
5555 2003-05-22  André Pönitz  <poenitz@gmx.net>
5556
5557         * undo_funcs.C: remove duplicated code
5558
5559         * iterator.[Ch]: operator=
5560
5561 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5562
5563         * tabular.C (SetMultiColumn): ws changes
5564
5565         * rowpainter.C (paintFirst): get rid of a ->previous
5566
5567         * lyx_cb.C (getPossibleLabel): parlist simplification
5568
5569         * BufferView.C (ChangeInsets): simplify slightly.
5570
5571 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
5572
5573         * LyXAction.C: new lfun space-insert, kill protected-space-insert
5574         * lfuns.h: new LFUN_SPACE
5575         * lyxfunc.C: protected space has a new lfun
5576         * paragraph_funcs.C: read new space insets
5577         * text3.C:
5578         * factory.C: handle new space insets
5579
5580 2003-05-22  André Pönitz  <poenitz@gmx.net>
5581
5582         * BufferView.C:
5583         * BufferView_pimpl.C:
5584         * buffer.[Ch]:
5585         * lyxfunc.C:
5586         * undo_funcs.C: return a ParIterator from getParFromID.
5587
5588         * iterators.[Ch]: add two const's
5589
5590 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5591
5592         * toc.C (getTocList): adjust
5593
5594         * iterators.[Ch]: rework for parlist
5595
5596         * buffer.C (par_iterator_begin): adjust
5597         (par_iterator_end): adjust
5598
5599         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5600
5601         * BufferView.C (removeAutoInsets): adjust
5602         (ChangeInsets): adjust
5603
5604 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
5605
5606         * text.C (top_y): fix bug 1110
5607
5608 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
5609
5610         * errorlist.[Ch]: added
5611         * buffer.C:
5612         * BufferView.[Ch]:
5613         * BufferView_pimpl.C:
5614         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5615         instead
5616
5617 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5618
5619         * Makefile.am: ensure that lyx is relinked upon changes to the
5620         various "convenience" libs.
5621
5622 2003-05-20  Angus Leeming  <leeming@lyx.org>
5623
5624         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5625         files are compiled in alphabetical order again.
5626
5627         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5628
5629 2003-05-19  Angus Leeming  <leeming@lyx.org>
5630
5631         * gettext.[Ch]: remove "char const * _(char const *)".
5632
5633 2003-05-19  André Pönitz  <poenitz@gmx.net>
5634
5635         * dimension.[Ch]: promote from mathed/dimension.[Ch]
5636
5637         * Makefile.am:
5638         * BufferView.C:
5639         * DepTable.h:
5640         * LaTeXFeatures.C:
5641         * buffer.C:
5642         * lyxfont.C:
5643         * lyxlex.h:
5644         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5645
5646 2003-05-19  André Pönitz  <poenitz@gmx.net>
5647
5648         * buffer.C:
5649         * lyxlayout.[Ch]:
5650         * lyxtextclass.[Ch]:
5651         * paragraph.C:
5652         * paragraph_funcs.[Ch]:
5653         * text2.C:
5654         * text3.C: more insetenv work
5655
5656 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
5657
5658         * ParagraphParameters.C (params2string): small bug fixed
5659
5660 2003-05-16  André Pönitz  <poenitz@gmx.net>
5661
5662         * debug.C:
5663         * bufferview_funcs.C: patch from Kornel Benko to prevent
5664           crash when _(...) is called twice in a statement
5665
5666 2003-05-16  André Pönitz  <poenitz@gmx.net>
5667
5668         * BufferView.C:
5669         * lyxfunc.C:
5670         * text.C:
5671         * text2.C:
5672         * text3.C:
5673         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5674
5675 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
5676
5677         * lyx_main.C (init): remove spurious static_cast
5678
5679 2003-05-14  André Pönitz  <poenitz@gmx.net>
5680
5681         * BufferView.C: fix format string
5682
5683 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
5684
5685         * BufferView.[Ch] (insertErrors): removed
5686         * BufferView.[Ch] (showErrorList): added
5687         * buffer.C (runChkTeX):
5688         * converter.C (scanLog): call showErrorList instead of inserterrors
5689
5690 2003-05-13  André Pönitz  <poenitz@gmx.net>
5691
5692         * BufferView_pimpl.C:
5693         * buffer.C:
5694         * bufferview_func.C:
5695         * MenuBackend.C:
5696         * lyxfunc.C:
5697         * lyxrc.C:
5698         * tex-accent.C:
5699         * text3.C:
5700         * toc.C:
5701         * tabular_funcs.h: tostr() from its own header
5702
5703         * ParagraphParameters.C:
5704         * ToolbarBackend.C:
5705         * bufferparams.C:
5706         * format.C:
5707         * lyxlex_pimpl.C:
5708         * text3.C: STRCONV()
5709
5710 2003-05-12  André Pönitz  <poenitz@gmx.net>
5711
5712         * BufferView.C:
5713         * BufferView_pimpl.C:
5714         * CutAndPaste.C:
5715         * LaTeX.C:
5716         * LaTeXFeatures.C:
5717         * ParagraphParameters.C:
5718         * buffer.C:
5719         * bufferlist.C:
5720         * bufferparams.C:
5721         * bufferview_funcs.C:
5722         * converter.C:
5723         * counters.C:
5724         * debug.C:
5725         * exporter.C:
5726         * format.C:
5727         * importer.C:
5728         * lyx_cb.C:
5729         * lyx_main.C:
5730         * lyxfont.C:
5731         * lyxfunc.C:
5732         * lyxvc.C:
5733         * paragraph.C:
5734         * paragraph_funcs.C:
5735         * tabular.C:
5736         * tabular_funcs.C:
5737         * text2.C:
5738         * text3.C:  boost::format -> bformat  all over the place
5739
5740
5741 2003-05-09  André Pönitz  <poenitz@gmx.net>
5742
5743         * LColor.[Ch]: Pimpl the #include <map> away
5744
5745 2003-05-09  John Levon  <levon@movementarian.org>
5746
5747         * bufferlist.C: never remove emergency saves
5748
5749 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5750
5751         * Makefile.am: better lib building
5752
5753 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
5754
5755         * texrow.[Ch]: remove dependency on Paragraph and just store a id
5756         instead.
5757         * paragraph_pimpl.C (simpleTeXBlanks): adjust
5758         (simpleTeXSpecialChars): adjust
5759         (simpleTeXSpecialChars): adjust
5760         * paragraph.C (simpleTeXOnePar): adjust
5761         * buffer.C (makeLaTeXFile): adjust
5762
5763         * Makefile.am (BOOST_LIBS): allow boost as system lib.
5764
5765         * text2.C (changeDepth): parlist cleanup
5766         (getColumnNearX): ditto
5767
5768         * rowpainter.C (getLabelFont): parlist cleanup
5769
5770         * bufferlist.C (newFile): parlist cleanup
5771
5772         * CutAndPaste.C (eraseSelection): parlist cleanup
5773
5774         * BufferView_pimpl.C (trackChanges): parlist cleanup
5775         (dispatch): ditto
5776
5777         * BufferView.C (lockInset): parlist cleanup.
5778         (ChangeInsets): ditto
5779
5780 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5781
5782         * CutAndPaste.h: Update file header.
5783
5784         * CutAndPaste.C: Update file header.
5785         Store the parts cut out of the Document in a limited_stack.
5786         (copySelection): adjust
5787         (pasteSelection): new function, takes the index in the limited stack.
5788         (nrOfParagraphs): adjust
5789         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5790         simplify error inset insertion.
5791         (checkPastePossible): adjust
5792
5793 2003-05-06  John Levon  <levon@movementarian.org>
5794
5795         * text2.C: don't cast wrap inset to float
5796
5797 2003-05-05  André Pönitz  <poenitz@gmx.net>
5798
5799         * iterator.C:
5800         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5801
5802         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5803           few naked Paragraph *.
5804
5805 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
5806
5807         * bufferparams.C: Output warning if a document with missing
5808         TeX document class is loaded
5809         * exporter.C: Disable TeX exports if the document class is missing
5810         * lyxtextclass.C:
5811         * lyxtextclass.h:
5812         * lyxtextclasslist.C: Handle new textclass.lst format; new method
5813         isTeXClassAvailable()
5814
5815 2003-05-03  John Levon  <levon@movementarian.org>
5816
5817         * BufferView.h:
5818         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5819         explicit cursor show/hide
5820
5821         * BufferView_pimpl.h:
5822         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5823         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5824
5825         * lyxfunc.C: hide cursor before dispatching.
5826
5827         * lyx_cb.C:
5828         * lyxfind.C:
5829         * text.C:
5830         * text3.C: remove explicit cursor hides
5831
5832 2003-05-02  André Pönitz  <poenitz@gmx.net>
5833
5834         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5835
5836         * undo_funcs.C:
5837         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5838           linked lists
5839
5840         * text2.C: tiny whitespace
5841
5842 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5843
5844         * undo_funcs.C: almost only ws changes.
5845
5846         * ParagraphList.C (splice): just return if pl is empty.
5847
5848 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5849
5850         * ParagraphList.C (splice): new function.
5851
5852         * CutAndPaste.C (pasteSelection): use it
5853
5854 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5855
5856         * CutAndPaste.C (pasteSelection): remove the last next and
5857         previous from this file.
5858
5859 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5860
5861         * CutAndPaste.C (pasteSelection): more clean up, user proper
5862         ParagraphList functions for pasteing.
5863
5864         * ParagraphList.C (insert): new function, three arg insert
5865
5866 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5867
5868         * ParagraphList.C (insert): new function, three arg insert
5869
5870         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5871         not on paragraphs.
5872
5873 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5874
5875         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5876
5877 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5878
5879         * CutAndPaste.C (pasteSelection): remove some unneeded code.
5880
5881 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5882
5883         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5884         (copySelection): clean up a bit.
5885         (pasteSelection): use make_pair
5886
5887         * ParagraphList.C (ParagraphList): implement copy constructor
5888         (operator=): implement, base on copy constructor.
5889         (assign): new func
5890
5891         * paragraph.C (erase): return a bool
5892
5893         * paragraph_pimpl.C (erasePos): remove function, move contents...
5894         (erase): ... here. Return a bool.
5895         (erase): call erase instead of erasePos.
5896
5897 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
5898
5899         * ParagraphList.h: define PitPosPair
5900         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5901         ParagraphList, fix a bug on pasting multiple pars
5902         * text2.C: change interface to C&P
5903
5904 2003-04-30  André Pönitz  <poenitz@gmx.net>
5905
5906         * undo_func.C: revert part of yesterday's patch 2
5907
5908 2003-04-30  John Levon  <levon@movementarian.org>
5909
5910         * LColor.C: s/tabular/table/
5911
5912 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5913
5914         * text3.C (dispatch): do not convert iterator -> pointer
5915         * undo_funcs.C (setCursorParUndo): ditto
5916         * text_funcs.C (transposeChars): ditto
5917
5918         * text2.C (setLayout): ws changes only
5919
5920         * text.C (breakParagraph): do not convert iterator -> pointer
5921         (insertChar): ditto
5922         (acceptChange): ditto
5923         (rejectChange): ditto
5924         (changeCase): ditto
5925         (Delete): ditto
5926         (backspace): ditto
5927
5928         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5929         pointer
5930
5931 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5932
5933         * text3.C (gotoInset): YABG (yet another bad getChar)
5934
5935 2003-04-29  André Pönitz  <poenitz@gmx.net>
5936
5937         * paragraph.h: make operator= private unimplemented as long as
5938           it is unusable
5939
5940         * ParagraphList.C: whitespace
5941
5942         * paragraph.[Ch]:
5943         * paragraph_pimpl.[Ch]:
5944         * paragraph_funcs.C:
5945         * CutAndPaste.C:
5946         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
5947
5948         * text2.C:
5949           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5950
5951 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5952
5953         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5954         * paragraph.[Ch] (erase):
5955         * paragraph_pimpl.[Ch] (erase): change return type and value
5956         * text2.C (cutSelection): some rework
5957
5958 2003-04-28  John Levon  <levon@movementarian.org>
5959
5960         * bufferlist.C: changes for unsaved changes dialog
5961
5962 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5963
5964         * bufferlist.C (newFile): set language (messages_) for new
5965         documents also.
5966
5967         * buffer.C (readFile): ws changes only.
5968
5969 2003-04-28  André Pönitz  <poenitz@gmx.net>
5970
5971         * undo_funcs.C:
5972         * lyxfunc.C:
5973         * buffer.[Ch]:
5974         * BufferView_pimpl.C:
5975         * BufferView.C: getParFromID related ParagraphList::iterator changes
5976
5977 2003-04-28  André Pönitz  <poenitz@gmx.net>
5978
5979         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5980           Changes
5981
5982 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5983
5984         * messages.C: remove one more localedir class variable.
5985
5986 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5987
5988         * messages.C (getLocaleDir): singleton generation function
5989         (Pimpl): use it.
5990         (Messages): add a default constructor.
5991
5992         * main.C (main): do not setup localedir here, do not call
5993         gettext_init.
5994
5995         * gettext.C (_): use it.
5996         (gettext_init): delete funciton
5997
5998 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5999
6000         * gettext.C (getLyXMessages): new singleton generating function.
6001
6002         * buffer.C (updateDocLang): adjust
6003
6004         * Makefile.am (messages.o): add target
6005         (main.o): remove target
6006
6007 2003-04-27  John Levon  <levon@movementarian.org>
6008
6009         * bufferlist.C:
6010         * lyx_cb.C:
6011         * lyxfunc.C:
6012         * lyxvc.C: specify cancel button in Alert::prompt
6013
6014 2003-04-26  John Levon  <levon@movementarian.org>
6015
6016         * text3.C:
6017         * lyxfunc.C:
6018         * lfuns.h:
6019         * LyXAction.C: add LFUN_INSET_SETTINGS
6020
6021         * lyxfunc.C: don't enable tabular-feature when there's
6022         just any locking inset
6023
6024 2003-04-26  John Levon  <levon@movementarian.org>
6025
6026         * bufferlist.C: re-add Cancel to buffer close question
6027
6028         * lyxfunc.C: fix import UI a bit
6029
6030 2003-04-25  John Levon  <levon@movementarian.org>
6031
6032         * gettext.C: remove the broken asserts for now
6033
6034 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6035
6036         * messages.C: make case where setlocale cannot comply work better.
6037
6038         * buffer.C (updateDocLang): new function
6039         (changeLanguage): use it
6040         (readFile): use it
6041
6042         * text2.C (setCounter): use B_ a bit.
6043
6044         * lyxlayout.C (Read): be sure to trim the label strings.
6045
6046         * messages.C (Messages): fix typo in comment
6047
6048         * buffer.C (readFile): set message_ after file is loaded.
6049         (makeDocBookFile): remove double return
6050         (changeLanguage): reset message_ upon language change.
6051         (B_): new func, use this to get translated buffer strings.
6052
6053         * main.C: add myself and Jean Marc as authors.
6054
6055 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6056
6057         * messages.[hC]: pimplify Messages, and three different pimpls to be
6058         used in different circumstances.
6059
6060         * gettext.[Ch]: change for use with new message code.
6061
6062 2003-04-24 André Pönitz <poenitz@gmx.net>
6063
6064         * factory.C: support for eqref
6065
6066 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6067
6068         * messages.[Ch]: add missing char
6069
6070         * Makefile.am (lyx_SOURCES): add messages.[Ch]
6071
6072         * messages.[Ch]: New files
6073
6074 2003-04-18  John Levon  <levon@movementarian.org>
6075
6076         * BufferView.h:
6077         * BufferView.C:
6078         * BufferView_pimpl.C:
6079         * lfuns.h:
6080         * LyXAction.C:
6081         * lyxtext.h:
6082         * text2.C: remove layout-copy/paste (bug 778)
6083
6084 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6085
6086         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6087
6088 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6089
6090         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6091         if they succeed. Act accordingly.
6092
6093 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6094
6095         * text2.C (setCharFont): adjust
6096         (setCounter): adjust
6097         (insertStringAsLines): adjust
6098
6099         * text.C (leftMargin): adjust
6100         (setHeightOfRow): adjust
6101
6102         * rowpainter.C (paintFirst): adjust
6103         (paintLast): adjust
6104
6105         * paragraph_funcs.C (depthHook): ParagraphList::iterators
6106         (outerHook): ditto
6107         (isFirstInSequence): ditto
6108         (getEndLabel): ditto
6109         (outerFont): adjust
6110
6111         * paragraph.C (getParLanguage): comment out some hard stuff.
6112
6113         * buffer.C (insertStringAsLines): take a ParagraphList as arg
6114         (sgmlError): ditto
6115         (simpleDocBookOnePar): ditto
6116         (makeDocBookFile): use ParagraphList::iterator
6117
6118         * CutAndPaste.C (pasteSelection): adjust
6119
6120 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6121
6122         * text2.C (getFont): adjust
6123         (getLayoutFont): adjust
6124         (getLabelFont): adjust
6125
6126         * paragraph_funcs.C (TeXOnePar): adjust
6127
6128         * buffer.C (simpleLinuxDocOnePar): adjust
6129         (simpleDocBookOnePar): adjust
6130
6131         * CutAndPaste.C (pasteSelection): adjust
6132
6133         * BufferView.C (getEncoding): adjust
6134
6135         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6136
6137 2003-04-16  John Levon  <levon@movementarian.org>
6138
6139         * lyxfind.C: use parlist stuff for search/changes
6140
6141 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6142
6143         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6144
6145         * text2.C (deleteEmptyParagraphMechanism): adjust
6146
6147         * text2.[Ch] (ownerParagraph): delete func (both of them
6148
6149 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6150
6151         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6152
6153 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6154
6155         * ParagraphList.C: prepare for NO_NEXT
6156
6157 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6158
6159         * text2.C (getFont): adjust
6160         (getLayoutFont): adjust
6161         (getLabelFont): adjust
6162
6163         * paragraph.C (getFont): adjust
6164         (getLabelFont): adjust
6165         (getLayoutFont): adjust
6166
6167         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6168
6169 2003-04-15  John Levon  <levon@movementarian.org>
6170
6171         From Angus Leeming
6172
6173         * lyx_main.C: handle Include in .ui files
6174
6175 2003-04-15  John Levon  <levon@movementarian.org>
6176
6177         * MenuBackend.C: make the doc files length shorter
6178
6179         * ToolbarBackend.h:
6180         * ToolbarBackend.C: handle toolbar placement flags,
6181         Minibuffer
6182
6183 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6184
6185         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6186         adjust
6187
6188         * paragraph_funcs.C (TeXOnePar): adjust
6189
6190         * paragraph.C (getLabelFont): add outerfont arg, adjust
6191         (getLayoutFont): ditto
6192         (simpleTeXOnePar): adjust
6193
6194         * paragraph_pimpl.C (realizeFont): delete func
6195
6196 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
6197
6198         * text2.C (beforeFullRowInset): added a bad getchar check, removed
6199         row argument, constify cur argument.
6200
6201 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6202
6203         * text2.C (getFont): adjust
6204         (getLayoutFont): adjust
6205         (getLabelFont): adjust
6206
6207         * paragraph_funcs.C (TeXOnePar): adjust
6208         (outerFont): new func...
6209         (realizeFont): ...moved out from here, changed this to facilitate
6210         transition
6211
6212         * paragraph.C (getFont): take outerfont as arg, adjust
6213         (simpleTeXOnePar): add outerfont arg, adjust
6214
6215         * buffer.C (simpleLinuxDocOnePar): adjust
6216         (simpleDocBookOnePar): adjust
6217
6218         * CutAndPaste.C (pasteSelection): adjust
6219
6220         * BufferView.C (getEncoding): adjust
6221
6222 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6223
6224         * text2.C (setCharFont): adjust
6225         (setCounter): adjust
6226
6227         * text.C (leftMargin): adjust
6228         (setHeightOfRow): adjust
6229
6230         * rowpainter.C (paintFirst): adjust
6231         (paintLast): adjust
6232
6233         * paragraph_pimpl.C (realizeFont): adjust
6234
6235         * paragraph.C (isFirstInSequence): move from here...
6236         * paragraph_funcs.C (isFirstInSequence): ...to here
6237
6238         * paragraph.C (outerHook): move from here...
6239         * paragraph_funcs.C (outerHook): ...to here
6240
6241         * paragraph.C (depthHook): move from here...
6242         * paragraph_funcs.C (depthHook): ...to here
6243
6244         * paragraph.C (getEndLabel): move from here...
6245         * paragraph_funcs.C (getEndLabel): ...to here
6246
6247         * text2.C (realizeFont): move from here...
6248         * paragraph_funcs.C (realizeFont): ...to here
6249
6250 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6251
6252         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6253
6254 2003-04-14  Angus Leeming  <leeming@lyx.org>
6255
6256         * LColor.[Ch]: scrap LColor mathcursor.
6257
6258 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6259
6260         * lyxlex.[Ch] (text): delete function
6261         * trans.C (Load): adjust
6262         * paragraph_funcs.C (readParToken): adjust
6263
6264 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6265
6266         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6267         vector<char> instead of a char[].
6268
6269         * lyxlex_pimpl.C (getString): adjust
6270         (next): adjust
6271         (lex): use getString
6272         (eatLine): adjust
6273         (nextToken): adjust
6274
6275         * lyxlex.C (text): use pimpl_->getString()
6276         (getBool): ditto
6277         (findToken): ditto
6278
6279 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6280
6281         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6282         (makeFontEntriesLayoutSpecific): temp var for par.size()
6283         (setLayout): temp var for ownerParagraphs().end()
6284         (fullRebreak): temp var for rows().end()
6285         (selectionAsString): temp var for boost::next(startpit), realize
6286         that the while really is a regular for loop.
6287         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6288         setCursor in one place.
6289         (setParagraph): temp vr for ownerParagraphs().end()
6290         (updateCounters): make the while loop a for loop
6291         (cutSelection): temp var for ownerParagraphs().end()
6292         (updateInset): make the do {} while() a regular for loop
6293         (getCursorX): use temp vars
6294         (setCurrentFont): use temp vars
6295         (getColumnNearX): use temp vars
6296
6297 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6298
6299         * text.C (transformChar): use temp var for getChar
6300         (computeBidiTables): use temp var for row->par()
6301         (fill): move temp vars for row->par() and pit->layout() earlier in
6302         the function.
6303         (labelFill): use temp var for row->par()
6304         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6305         asc and desc, realize that pit never changes and that firstpit is
6306         just a duplicate and not needed. Exchange rit->par() with pit in a
6307         lot of places.
6308         (breakAgain): use a temp var for boost::next(rit)
6309         (breakAgainOneRow): ditto
6310         (breakParagraph): use a temp var for rows().begin()
6311         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6312         (cursorRightOneWord): use temp var for cursor.par() and
6313         cursor.pos(), remove usage of tmpcursor.
6314         (cursorLeftOneWord): use temp var for cursor.par() and
6315         cursor.pos() only set cur at end of function.
6316
6317 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6318
6319         * text.C, text2.C: exchange all usage of Paragraph::next with
6320         boost::next(ParagraphList::iterator)
6321
6322         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6323
6324         * text2.C (cursorTop): simplify implementation
6325         (cursorBottom): ditto
6326         (setParagraph): use ParagraphList::iterator
6327         (setCurrentFont): adjust
6328         (getColumnNearX): adjust
6329         (cursorRight): adjust
6330         (cursorLeft): remove usage of Paragraph::previous
6331         (cursorUpParagraph): ditto
6332         (deleteEmptyParagraphMechanism): slight cleanup
6333
6334         * text.C (isBoundary): take a Paragraph const & instead of a
6335         pointer as arg.
6336         (addressBreakPoint): ditto
6337         (leftMargin): remove usage of Paragraph::previous.
6338         (setHeightOfRow): ditto
6339         (cursorLeftOneWord): ditto
6340         (selectNextWordToSpellcheck): ditto
6341         (Delete): ditto
6342         (backspace): ditto
6343         (breakParagraph): remove one usage of Paragraph::next
6344         (redoParagraph): ditto
6345         (acceptChange): ditto
6346         (insertChar): adjust
6347         (rowBreakPoint): adjust
6348
6349         * bufferview_funcs.C (toggleAndShow): adjust
6350
6351 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
6352
6353         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6354         methods to access it.
6355         * lyxtext.h:
6356         * text.C: Added updateRowPositions to compute all row positions.
6357         Make top_y and getRowNearY() to use the cached y position
6358
6359 2003-04-11  John Levon  <levon@movementarian.org>
6360
6361         * text.C (rowBreakPoint): reintroduce the labelEnd
6362         checks, code copied from the row fill stuff. Deep voodoo.
6363
6364         * text.C (fill): add a comment and debugging for the
6365         next poor soul.
6366
6367 2003-04-11  John Levon  <levon@movementarian.org>
6368
6369         * text.C: make sure fullrow insets get wrapped to the next line,
6370         even when they're in a manual label
6371
6372 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6373
6374         * text2.C (insertParagraph): make it take ParagraphList::iterator
6375         as arg.
6376         (setLayout): make it return ParagraphList::iterator
6377         (redoParagraphs): ditto
6378         (setCounter): ditto
6379         (checkParagraph): ditto
6380
6381         * text.C (getRow): make getrow take ParagraphList::iterator as arg
6382
6383         * text2.C: adjust several funcs.
6384         (realizeFont): take a ParagraphList::iterator as arg.
6385         (getLayoutFont): ditto
6386         (getLabelFont): ditto
6387         (setCharFont): ditto
6388
6389         * text.C: adjust several funcs.
6390
6391 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6392
6393         * text.C (selectNextWordToSpellcheck): don't accidentally
6394         skip insets
6395
6396 2003-04-10  John Levon  <levon@movementarian.org>
6397
6398         * ToolbarBackend.C (getIcon): special handling for
6399         LFUN_MATH_DELIM
6400
6401 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6402
6403         * text2.C (cursorRight): a getChar assert fixed
6404
6405 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6406
6407         * text2.C (getFont): change to take a ParagraphList::iterator
6408         instead of Paragraph*
6409         Adjust several functions.
6410
6411         * text.C (transformChar): change to take a ParagraphList::iterator
6412         instead of Paragraph*
6413         (singleWidth): ditto
6414         Adjust several functions.
6415
6416         * rowpainter.C: adjust several functions
6417         * rowpainter.h:store a ParagraphList::iterator and not a
6418         Paragraph&.
6419
6420
6421 2003-04-09  John Levon  <levon@movementarian.org>
6422
6423         * lyxfunc.C:
6424         * lfuns.h:
6425         * LyXAction.h:
6426         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6427         and the "help" bits as well
6428
6429 2003-04-09  John Levon  <levon@movementarian.org>
6430
6431         * ToolbarBackend.h:
6432         * ToolbarBackend.C: allow multiple toolbars
6433
6434 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6435
6436         * undo_funcs.C (setCursorParUndo): adjust
6437
6438         * text_funcs.C (transposeChars): adjust
6439
6440         * text3.C (gotoNextInset): adjust
6441         (dispatch): adjust
6442
6443         * text2.C (setLayout): adjust
6444         (changeDepth): adjust
6445         (setFont): adjust
6446         (redoParagraphs): adjust
6447         (selectionAsString): adjust
6448         (setParagraph): adjust
6449         (insertInset): adjust
6450         (cutSelection): adjust
6451         (copySelection): adjust
6452         (pasteSelection): adjust
6453         (insertStringAsLines): adjust
6454         (updateInset): adjust
6455         (setCursor): change to take a ParagraphList::iterator parameter
6456         (setCursorIntern): change to take a ParagraphList::iterator parameter
6457         (setCurrentFont): adjust
6458         (cursorLeft): adjust
6459         (cursorRight): adjust
6460         (deleteEmptyParagraphMechanism): adjust
6461
6462         * text.C (breakParagraph): adjust
6463         (insertChar): adjust
6464         (acceptChange): adjust
6465         (rejectChange): adjust
6466         (selectNextWordToSpellcheck): adjust
6467         (changeCase): adjust
6468         (Delete): adjust
6469         (backspace): adjust
6470
6471         * lyxfind.C (SearchForward): adjust
6472         (SearchBackward): adjust
6473         (nextChange): adjust
6474
6475         * lyxcursor.C (par): adjust
6476
6477         * lyxcursor.h: store a ParagraphList::iterator instead of a
6478         Paragraph*
6479
6480         * lyx_cb.C (getPossibleLabel): adjust
6481
6482         * bufferview_funcs.C (toggleAndShow): adjust
6483
6484         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6485         (dispatch): adjust
6486
6487         * BufferView.C (removeAutoInsets): adjust
6488         (lockedInsetStoreUndo): adjust
6489
6490 2003-04-09  John Levon  <levon@movementarian.org>
6491
6492         * ToolbarBackend.C: try icon without argument
6493         if with argument fails
6494
6495 2003-04-08  John Levon  <levon@movementarian.org>
6496
6497         * ToolbarBackend.h:
6498         * ToolbarBackend.C: add getIcon(), handle tooltip,
6499         and change from "Icon" to "Item".
6500
6501 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6502
6503         * BufferView.C (lockInset): another bad getchar crunched
6504
6505 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6506
6507         * text2.C (changeDepth): do not setUndo on test_only (make undo work
6508         again)
6509
6510 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
6511
6512         * lyxfind.C (searchForward, searchBackwards): bug 782
6513
6514 2003-04-07  John Levon  <levon@movementarian.org>
6515
6516         * paragraph.C: remove dead comment
6517
6518         * text.C: remove troublesome depth-fiddling code
6519         in leftMargin() and rightMargin() (bug 1017)
6520
6521         * text.C: fix breaking of rows in nested lists
6522         (bug 1004)
6523
6524         * text2.C (updateCounters): fix up depth values
6525         (bug 1013)
6526
6527 2003-04-07  John Levon  <levon@movementarian.org>
6528
6529         * BufferView_pimpl.C: clear message when doc finishes resizing,
6530         and after a mouse event
6531
6532         * lyxfunc.C: clear message after exiting inset
6533
6534 2003-04-07  John Levon  <levon@movementarian.org>
6535
6536         * bufferview_funcs.C: show math status not outside
6537         status in the statusbar
6538
6539 2003-04-07  John Levon  <levon@movementarian.org>
6540
6541         * lyxfunc.C: note status changed after a depth change
6542
6543 2003-04-04  Angus Leeming  <leeming@lyx.org>
6544
6545         * LaTeX.h: move AuxInfo operator==, != out of line.
6546         Remove LaTeX virtual destructor; nothing derives from it.
6547         Move operator()() out of public area and rename it startscript().
6548         Change protected for private.
6549
6550 2003-04-04  Angus Leeming  <leeming@lyx.org>
6551
6552         * lyxfunc.C:
6553         * text2.C: remove unneeded #includes.
6554
6555 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6556
6557         * text2.C (dEPM): fix the heigth of the next row
6558
6559 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6560
6561         * text.C: squashed an invalid getChar requester + some ws changes
6562
6563 2003-04-03  John Levon  <levon@movementarian.org>
6564
6565         * bufferview_funcs.h:
6566         * bufferview_funcs.C:
6567         * lyxfunc.C:
6568         * lyxtext.h:
6569         * text2.C: make getStatus work for the env depth lfuns
6570
6571 2003-04-03  John Levon  <levon@movementarian.org>
6572
6573         * bufferview_funcs.h:
6574         * bufferview_funcs.C:
6575         * lyxfunc.C:
6576         * lyxtext.h:
6577         * text2.C: parlistize decDepth(), by merging it with incDepth()
6578
6579 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6580
6581         * lyxrow.h: store a ParagraphList::iterator instead of a
6582         Paragraph* and adjust other class functions to suit.
6583
6584         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6585         above.
6586
6587 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6588
6589         * text2.C (setCursor): do not anchor to cursor row for the time being
6590
6591 2003-04-02  John Levon  <levon@movementarian.org>
6592
6593         * LyXAction.C:
6594         * lfuns.h:
6595         * lyx_main.C:
6596         * lyxtext.h:
6597         * text.C:
6598         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6599
6600 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6601
6602         * paragraph.h: make ParagraphList and ParagraphList::iterator
6603         friends of Paragraph.
6604
6605         * buffer.C (makeLinuxDocFile): move towards ParagraphList
6606
6607         * ParagraphList.C: Use the private next_ and previous_ from
6608         Paragraph.
6609
6610 2003-04-01  John Levon  <levon@movementarian.org>
6611
6612         * ToolbarBackend.h:
6613         * ToolbarBackend.C:
6614         * Makefile.am: rename, remove defaults gunk
6615
6616         * MenuBackend.h:
6617         * MenuBackend.C: remove defaults gunk
6618
6619         * Languages.h:
6620         * Languages.C: remove defaults gunk
6621
6622         * lyx_main.h:
6623         * lyx_main.C: error out if files couldn't be found.
6624
6625 2003-04-02  John Levon  <levon@movementarian.org>
6626
6627         * text2.C: make incDepth() use parlist
6628
6629 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6630
6631         * undo_funcs.C (firstUndoParagraph): adjust
6632
6633         * text3.C (gotoInset): adjust
6634         (dispatch): adjust, and rewrite loop.
6635
6636         * text2.C (init): adjust, and rewrite loop.
6637         (redoParagraphs): adjust
6638         (updateInset): adjust, and rewrite loop.
6639         (deleteEmptyParagraphMechanism): adjust
6640
6641         * tabular.C (LyXTabular): adjust
6642         (SetMultiColumn): adjust
6643         (TeXRow): adjust
6644
6645         * lyxtext.[Ch] (ownerParagraph): delete function
6646         (ownerParagraphs): new function returns a ParagraphList.
6647
6648         * BufferView.C (removeAutoInsets): adjust
6649         (insertErrors): adjust
6650         (setCursorFromRow): adjust
6651
6652 2003-04-01  Angus Leeming  <leeming@lyx.org>
6653
6654         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6655         in the frontends.
6656
6657 2003-04-02  John Levon  <levon@movementarian.org>
6658
6659         * lyxtext.h:
6660         * text.C:
6661         * Makefile.am:
6662         * text_funcs.h:
6663         * text_funcs.C: make transposeChars a free function
6664
6665         * lyxrow_funcs.C: remove wrong comment
6666
6667 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6668
6669         * lyxtext.h: adjust
6670         * rowpainter.C: adjust
6671         * text.C: adjust
6672         * text2.C: adjust
6673         * text3.C: adjust
6674
6675         * lyxrow_funcs. [Ch]: new files
6676
6677         * lyxrow.[Ch]: remove next and previous pointers
6678         (next,previous): remove accessor functions
6679         (isParEnd): move to lyxrow_funcs
6680         (lastPos): move to lyxrow_funcs
6681         (nextRowIsAllInset): move to lyxrow_funcs
6682         (lastPrintablePos): move to lyxrow_funcs
6683         (numberOfSeparators): move to lyxrow_funcs
6684         (numberOfHfills): move to lyxrow_funcs
6685         (numberOfLabelHfills): move to lyxrow_funcs
6686         (hfillExpansion): move to lyxrow_funcs
6687
6688         * lyxfunc.C: adjust
6689
6690         * bufferview_funcs.C (toggleAndShow): adjust
6691
6692         * RowList.h: Remove class RowList from file leave just a
6693         std::list<Row>.
6694
6695         * RowList.C: delete file
6696
6697         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6698         and lyxrow_funcs.h
6699
6700 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6701
6702         * text3.C (cursorPrevious): adjust
6703         (cursorNext): adjust
6704         (dispatch): adjust
6705
6706         * text2.C (redoHeightOfParagraph): adjust
6707         (redoDrawingOfParagraph): adjust
6708         (setCursor): adjust
6709
6710         * text.C (breakParagraph): adjust
6711         (insertChar): adjust
6712         (backspace): adjust
6713
6714         * rowpainter.C (RowPainter): adjust
6715         (leftMargin): simplify and adjust
6716         (most rowpainter functions): adjust.
6717
6718         * rowpainter.h: store the row as RowList::iterator not as Row*
6719
6720         * lyxcursor.C (row): taka RowList::iterator as arg
6721         (irow): ditto
6722
6723         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6724         of Row*.
6725
6726 2003-04-01  Angus Leeming  <leeming@lyx.org>
6727
6728         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6729         stuff like bool Bool.
6730
6731 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6732
6733         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6734         rewrite a loop
6735
6736 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6737
6738         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6739         RowList::iterator.
6740
6741         * lyxtext.h (rows): drop one version and leve a const variant that
6742         returns a RowList::iterator.
6743
6744 2003-03-31  Angus Leeming  <leeming@lyx.org>
6745
6746         * text.C (fill): ensure that the signature is the same as that in the
6747         header file.
6748
6749 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
6750
6751         * text2.C (redoParagraphs): adjust
6752         (updateCounters): adjust
6753         (checkParagraph): adjust
6754         (getColumnNearX): adjust and reformat a bit.
6755
6756         * text.C (top_y): adjust
6757         (workWidth): adjust
6758         (leftMargin): adjust
6759         (prepareToPrint): adjust
6760         (getRow): adjust
6761         (getRowNearY): adjust
6762
6763         * lyxtext.h: make rowlist_ mutable.
6764
6765         * RowList.h: add const_iterator
6766         * RowList.C: adjust for RowList::const_iterator.
6767
6768         * text2.C (getCursorX): make it take a RowList::iterator as arg,
6769         adjust.
6770
6771 2003-03-31  John Levon  <levon@movementarian.org>
6772
6773         * lyxrc.h:
6774         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6775
6776         * lyx_main.C: set default fonts from using lyx_gui funcs
6777
6778         * exporter.C: pdf_mode moved from lyxrc
6779
6780         * lyx_cb.C:
6781         * lyxfunc.C: changes from above
6782
6783 2003-03-31  John Levon  <levon@movementarian.org>
6784
6785         * lyx_main.C: fix to the last fix
6786
6787 2003-03-31  John Levon  <levon@movementarian.org>
6788
6789         * bufferlist.C: "Load original" -> "Load Original"
6790
6791         * converter.C:
6792         * exporter.C:
6793         * importer.C:
6794         * lyx_main.C:
6795         * format.C: more Alert cleanups
6796
6797 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6798
6799         * text2.C (removeParagraph): make it take a RowList::iterator as
6800         arg, adjust.
6801         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6802         (postRowPaint): make it take a RowList::iterator as arg, adjust.
6803
6804         * text.C (anchor_row): make it take a RowList::iterator as arg,
6805         adjust.
6806         (computeBidiTables): make it take a const reference to Row instead
6807         of Row pointer, adjust.
6808         (leftMargin): make it take a RowList::iterator as arg, adjust.
6809         (rowBreakPoint): adjust
6810         (breakAgainOneRow): make it take a RowList::iterator as arg,
6811         adjust.
6812         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6813
6814         * bufferview_funcs.C (toggleAndShow): adjust
6815
6816 2003-03-30  John Levon  <levon@movementarian.org>
6817
6818         * Makefile.am:
6819         * BoostFormat.h:
6820         * boost-inst.C: moved to support
6821
6822         * several files: changes as a result
6823
6824 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6825
6826         * text2.C (LyXText): adjust.
6827         (init): adjust
6828         (removeRow): make it take a RowList::iterator as arg, adjust.
6829         (fullRebreak): adjust
6830         (deleteEmptyParagraphMechanism): adjust
6831         (clearPaint): adjust
6832         (postPaint): adjust
6833
6834         * text.C (top_y): adjust
6835         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6836         (breakAgain): make it take a RowList::iterator as arg, adjust.
6837         (breakParagraph): adjust
6838         (insertChar): adjust
6839         (backspace): adjust
6840
6841         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6842         need_break_row, and refresh_row.
6843
6844         * text3.C (dispatch): adjust
6845
6846         * text2.C (checkParagraph): adjust
6847         (setCursor): adjust
6848         (setCursorFromCoordinates): adjust
6849
6850         * text.C (top_y): adjust
6851         (workWidth): adjust
6852         (getRow): make it return a RowList::iterator, adjust
6853         (getRowNearY): make it return a RowList::iterator, adjust
6854
6855         * text2.C (init): adjust
6856         (insertRow): remove function
6857         (insertParagraph): adjust
6858         (redoParagraphs): adjust
6859         (fullRebreak): adjust
6860         (updateCounters): adjust
6861
6862         * text.C (top_y): rewrite to use RowList iterators.
6863         (top_y): adjust
6864         (setHeightOfRow): rewrite to sue RowList iterators.
6865         (appendParagraph): adjust
6866         (breakAgain): adjust
6867         (breakAgainOneRow): adjust
6868         (breakParagraph): adjust
6869         (getRow): adjust
6870         (getRowNearY): adjust, and remove commented code.
6871
6872         * lyxtext.h (firstRow): delete function
6873         (lastRow): delete function
6874         (rows): new function (const and non-const versions.)
6875         (insertRow): delete function
6876
6877         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6878
6879 2003-03-29  John Levon  <levon@movementarian.org>
6880
6881         * BufferView_pimpl.C: always update scrollbar top
6882         because pasting text when we're anchored could mean we
6883         miss an update altogether
6884
6885 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6886
6887         * text2.C (init): use rowlist_.end() and not 0.
6888         (insertRow): change to take a RowList::iterator as arg, adjust
6889         for this.
6890         (insertParagraph): change to take a RowList::iterator as arg,
6891         adjust for this.
6892         (redoParagraphs): remove some debug msgs.
6893
6894         * text.C (appendParagraph): change to take a RowList::iterator
6895         arg, adjust for this.
6896         (breakAgain): add an assert
6897         (breakAgainOneRow): ditto
6898
6899 2003-03-29  John Levon  <levon@movementarian.org>
6900
6901         * text2.C: do not clear selection after inc/decDepth
6902         (bug 550)
6903
6904 2003-03-29  John Levon  <levon@movementarian.org>
6905
6906         * BufferView.C:
6907         * buffer.C: fix broken strerrors according to Lars
6908
6909 2003-03-29  John Levon  <levon@movementarian.org>
6910
6911         * converters.C: more Alert cleanups
6912
6913 2003-03-29  John Levon  <levon@movementarian.org>
6914
6915         * bufferview_funcs.C: remove pointless Alert
6916
6917         * buffer.C: fix confusing error message when
6918         a template is chmoded 000
6919
6920 2003-03-29  John Levon  <levon@movementarian.org>
6921
6922         * BufferView.C:
6923         * BufferView.h:
6924         * BufferView_pimpl.C: Alert fixes
6925
6926         * Makefile.am:
6927         * tabular.C:
6928         * tabular-old.C: remove unused table compat reading
6929
6930 2003-03-29  John Levon  <levon@movementarian.org>
6931
6932         * BufferView.C:
6933         * buffer.C:
6934         * lyx_cb.h:
6935         * lyx_cb.C: more Alert cleanups
6936
6937         * lyxfunc.C: don't allow chktex if not latex document
6938
6939 2003-03-29  John Levon  <levon@movementarian.org>
6940
6941         * lyx_cb.C:
6942         * BufferView.C:
6943         * buffer.C: warnings pushed down from support/,
6944         kill err_alert
6945
6946 2003-03-29  John Levon  <levon@movementarian.org>
6947
6948         * lyxfunc.C: safety check for C-r (revert)
6949
6950 2003-03-29  John Levon  <levon@movementarian.org>
6951
6952         * bufferlist.h:
6953         * bufferlist.C: several UI fixes using Alert::prompt.
6954         Fix the pointless looping quit code. Fix stupid revert
6955         behaviour (bug 938)
6956
6957         * lyxvc.h:
6958         * lyxvc.C:
6959         * lyx_cb.C: use Alert::prompt
6960
6961         * lyx_main.C: remove a silly question
6962
6963         * lyxfunc.C: remove a couple of silly questions,
6964         use Alert::prompt
6965
6966 2003-03-28  John Levon  <levon@movementarian.org>
6967
6968         * text2.C: fix bug 974 (End on empty par)
6969
6970 2003-03-28  John Levon  <levon@movementarian.org>
6971
6972         * BufferView_pimpl.C:
6973         * LyXAction.C:
6974         * lfuns.h: remove do-nothing math greek lfuns
6975
6976 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6977
6978         * lyxgluelength.h (isValidGlueLength): add default arg on
6979         parameter 2. Remove default arg from friend in class.
6980
6981         * lyxlength.h (isValidLength): add default arg on parameter 2.
6982         Remove default arg from friend in class.
6983
6984         * text2.C (LyXText): adjust, initialize refresh_row.
6985         (init): adjust
6986         (removeRow): adjust
6987         (insertRow): adjust
6988         (insertParagraph): adjst
6989         (redoParagraphs): adjust
6990         (fullRebreak): adjust
6991         (updateCounters): adjust
6992         (deleteEmptyParagraphMechanism): first attempt at fixing a
6993         crashing bug.
6994
6995         * text.C (top_y): adjust
6996         (setHeightOfRow): adjust
6997         (getRow): adjust
6998         (getRowNearY): adjust
6999
7000         * lyxtext.h: include RowList.h
7001         (~LyXText): not needed anymore, deleted.
7002         (firstRow): modify for RowList
7003         (lastRow): new function
7004         Delete firstrow and lastrow class variables, add a Rowlist
7005         rowlist_ class variable.
7006
7007         * lyxrow.C (lastPos): use empty() and not !size() to check if a
7008         paragraph is empty.
7009
7010         * RowList.C (insert): fix case where it == begin().
7011
7012 2003-03-26  Angus Leeming  <leeming@lyx.org>
7013
7014         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7015         the thesaurus dialog.
7016
7017 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7018
7019         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7020
7021         * RowList.[Ch]: new files
7022
7023         * ParagraphList.C (erase): handle the case where it == begin
7024         correctly.
7025
7026 2003-03-25  John Levon  <levon@movementarian.org>
7027
7028         * Makefile.am:
7029         * aspell_local.h:
7030         * aspell.C: add new aspell support
7031
7032         * lyxrc.h:
7033         * lyxrc.C: Make use_pspell be use_spell_lib. Always
7034         have it accessible.
7035
7036 2003-03-25  Angus Leeming  <leeming@lyx.org>
7037
7038         * lfuns.h:
7039         * LyXAction.C (init): new LFUN_INSET_INSERT.
7040
7041         * BufferView_pimpl.C (dispatch): split out part of the
7042         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7043
7044         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7045         LFUN_INSET_APPLY.
7046
7047 2003-03-25  Angus Leeming  <leeming@lyx.org>
7048
7049         * lyxfunc.C (dispatch): changes to the Dialogs interface.
7050
7051 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
7052
7053         * text2.C:
7054         * text3.C: remove useless row->height(0)
7055
7056 2003-03-25  John Levon  <levon@movementarian.org>
7057
7058         * lyxtext.h:
7059         * text2.C:
7060         * text3.C: rename the refreshing stuff to better names
7061
7062 2003-03-24  John Levon  <levon@movementarian.org>
7063
7064         * BufferView_pimpl.h:
7065         * BufferView_pimpl.C: update layout choice on a mouse
7066         press/release
7067
7068 2003-03-23  John Levon  <levon@movementarian.org>
7069
7070         * Makefile.am: fix commandtags.h reference
7071
7072 2003-03-22  John Levon  <levon@movementarian.org>
7073
7074         * BufferView_pimpl.C:
7075         * lyxtext.h:
7076         * rowpainter.C:
7077         * rowpainter.h:
7078         * text.C:
7079         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7080
7081 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
7082
7083         * lyxtext.h:
7084         * text.C: take the rtl methods out of line
7085
7086 2003-03-21 André Pönitz <poenitz@gmx.net>
7087
7088         * metricsinfo.[Ch]: new files containing structures to be passed around
7089         during the two-phase-drawing...
7090
7091 2003-03-21 André Pönitz <poenitz@gmx.net>
7092
7093         * lyxtextclass.C: read 'environment' tag.
7094
7095 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
7096
7097         * text2.C (removeRow): fix bug 964
7098
7099 2003-03-20  John Levon  <levon@movementarian.org>
7100
7101         * rowpainter.C:
7102         * text.C:
7103         * text2.C: paint cleanups. Inset::update() dropped font
7104         parameter
7105
7106 2003-03-19  John Levon  <levon@movementarian.org>
7107
7108         * lyxfunc.C: only fitcursor/markDirty if available()
7109
7110 2003-03-19  John Levon  <levon@movementarian.org>
7111
7112         * commandtags.h: rename to ...
7113
7114         * lfuns.h: ... this, and renumber / cleanup
7115
7116 2003-03-19  John Levon  <levon@movementarian.org>
7117
7118         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7119         fit the cursor after an lfun
7120
7121         * BufferView.h:
7122         * BufferView.C:
7123         * BufferView_pimpl.h:
7124         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7125
7126         * LyXAction.C: layout-character should have ReadOnly
7127
7128         * ParagraphParameters.C:
7129         * buffer.C:
7130         * bufferview_funcs.C:
7131         * lyx_cb.C:
7132         * lyxfind.C:
7133         * lyxtext.h:
7134         * text.C:
7135         * text2.C:
7136         * text3.C:
7137         * undo_funcs.C: changes from above
7138
7139 2003-03-18  John Levon  <levon@movementarian.org>
7140
7141         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7142         remove it from update()
7143
7144         * lyxfunc.C: update layout choice after an lfun
7145
7146         * text3.C: remove extra updateLayoutChoice()s
7147
7148 2003-03-18  John Levon  <levon@movementarian.org>
7149
7150         * text.C: top_y change means full repaint, fix
7151         a drawing bug with cursor movement
7152
7153 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7154
7155         * lyxtext.h:
7156         * text.C:
7157         * text2.C: anchor row on setCursor
7158
7159 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7160
7161         * lyxtext.h: remove almost all mutable keywords
7162         * text.C:
7163         * text2.C:
7164         * text3.C: remove const keywords accordingly
7165
7166 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7167
7168         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7169         anon namespace
7170         (TeXEnvironment): ditto
7171         (TeXOnePar): ditto
7172
7173 2003-03-17  John Levon  <levon@movementarian.org>
7174
7175         * text.C (rowBreakPoint): remove attempt to fix displayed
7176         math insets inside a manual label
7177
7178 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7179
7180         * lyxtext.h: remove BufferView* as first arg from almost all class
7181         functions.
7182         * other files: adjust.
7183
7184 2003-03-17  John Levon  <levon@movementarian.org>
7185
7186         * lyxtext.h:
7187         * undo_funcs.C:
7188         * text2.C: more paint cleanups
7189
7190         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7191
7192         * rowpainter.h:
7193         * rowpainter.C: remove "smart" background painting code
7194
7195 2003-03-16  John Levon  <levon@movementarian.org>
7196
7197         * lyxtext.h:
7198         * text.C:
7199         * text2.C:
7200         * text3.C: add helper functions for setting refresh_row/y
7201
7202 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
7203
7204         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7205         newline inset which *can* get inserted in the pass_thru layouts.
7206         This is primarily for literate documents.
7207
7208 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
7209
7210         * buffer.C: increment LYX_FORMAT to 223
7211
7212 2003-03-14 André Pönitz <poenitz@gmx.net>
7213
7214         * textclass.h: prepare for environment handling, ws changes
7215         * lyxlayout.C: read latexheader and latexfooter tags
7216
7217 2003-03-14  John Levon  <levon@movementarian.org>
7218
7219         * text2.C: rewrite ::status() a bit
7220
7221 2003-03-13  John Levon  <levon@movementarian.org>
7222
7223         * lyxtext.h: add some docs
7224
7225 2003-03-13  John Levon  <levon@movementarian.org>
7226
7227         * lyxtext.h:
7228         * text.C:
7229         * text2.C:
7230         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7231
7232 2003-03-13  John Levon  <levon@movementarian.org>
7233
7234         * text3.C: fix appendix redrawing
7235
7236 2003-03-13  John Levon  <levon@movementarian.org>
7237
7238         * text.C (setHeightOfRow):
7239         * rowpainter.h:
7240         * rowpainter.C: make appendix mark have the text
7241           "Appendix" so the user knows what it is
7242
7243         * LColor.h:
7244         * LColor.C: s/appendixline/appendix/ from above
7245
7246 2003-03-13  John Levon  <levon@movementarian.org>
7247
7248         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7249
7250         * text.C: fix a getChar(pos) bug properly
7251
7252 2003-03-13  Angus Leeming  <leeming@lyx.org>
7253
7254         * commandtags.h:
7255         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7256         Probably only temporary. Let's see how things pan out.
7257
7258         * BufferView.C (unlockInset):
7259         * BufferView_pimpl.C (fitCursor):
7260         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7261
7262         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7263         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7264
7265         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7266         new functions that convert ParagraphParameters to and from a string.
7267
7268         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7269         BufferView::Pimpl's dispatch.
7270         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7271
7272 2003-03-13 André Pönitz <poenitz@gmx.net>
7273
7274         * lyxfunc.C:
7275         * text3.C:
7276         * factory.C: make it aware of InsetEnv
7277
7278 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7279
7280         * text2.C (setCursor): never ask for one past last
7281         (setCursor): add some debugging messages.
7282
7283         * text.C (singleWidth): never ask for one past last
7284         (singleWidth): ditto
7285         (leftMargin): ditto
7286         (rightMargin): ditto
7287         (rowBreakPoint): ditto
7288         (setHeightOfRow): ditto
7289         (prepareToPrint): ditto
7290
7291         * rowpainter.C (paintBackground): never ask for one past last
7292         (paintText): never ask for one past last
7293
7294         * paragraph_pimpl.C (getChar): make the assert stricter, never
7295         allow the one past last pos to be taken
7296
7297         * paragraph.C (getChar): ws changes only
7298
7299         * lyxrow.C (nextRowIsAllInset): never ask for one past last
7300         (numberOfSeparators): ditto
7301         (numberOfHfills): ditto
7302
7303 2003-03-12  John Levon  <levon@movementarian.org>
7304
7305         * author.h:
7306         * author.C:
7307         * bufferparams.h:
7308         * bufferparams.C:
7309         * paragraph_funcs.C: fix per-buffer authorlists
7310
7311 2003-03-12  John Levon  <levon@movementarian.org>
7312
7313         * text.C: fix newline in right address
7314
7315 2003-03-12  Angus Leeming  <leeming@lyx.org>
7316
7317         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7318         duplicate those in LyXFunc::dispatch.
7319
7320         * commandtags.h:
7321         * LyXAction.C:
7322         * ToolbarDefaults.C:
7323         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7324         Add LFUN_FONTFREE_UPDATE.
7325
7326         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7327         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7328
7329         * bufferview_func.[Ch]: several new functions to facilliate
7330         transfer of data to and from the character dialog.
7331
7332 2003-03-12  John Levon  <levon@movementarian.org>
7333
7334         * buffer.C:
7335         * paragraph.h:
7336         * paragraph.C:
7337         * paragraph_funcs.C:
7338         * paragraph_pimpl.C:
7339         * sgml.C:
7340         * tabular.C:
7341         * text.C:
7342         * text3.C: remove META_NEWLINE in favour of an inset
7343
7344         * rowpainter.h:
7345         * rowpainter.C: remove paintNewline (done by inset)
7346
7347 2003-03-12  John Levon  <levon@movementarian.org>
7348
7349         * paragraph_pimpl.C: complain about bad getChar()s
7350         for a while at least
7351
7352 2003-03-12  John Levon  <levon@movementarian.org>
7353
7354         * buffer.h:
7355         * buffer.C: move paragraph read into a separate function,
7356         a little renaming to reflect that.
7357
7358         * bufferparams.h:
7359         * bufferparams.C: remove the author_ids map, not necessary now
7360
7361         * factory.h:
7362         * factory.C: moved Buffer::readInset to here
7363
7364         * paragraph_funcs.h:
7365         * paragraph_funcs.C: readParagraph free function moved from
7366         buffer.C
7367
7368         * tabular.C: name change
7369
7370 2003-03-12  John Levon  <levon@movementarian.org>
7371
7372         * buffer.C:
7373         * ParagraphParameters.C: move par params input to
7374         a read() method
7375
7376         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7377         behave like a normal read from the stream wrt reading
7378         a line vs. a \\token
7379
7380 2003-03-12  John Levon  <levon@movementarian.org>
7381
7382         * paragraph.C:
7383         * ParagraphParameters.h:
7384         * ParagraphParameters.C: move output code to a
7385         ::write() method
7386
7387 2003-03-12  John Levon  <levon@movementarian.org>
7388
7389         * BufferView.C (insertLyXFile):
7390         * buffer.h:
7391         * buffer.C:
7392         * tabular.C: use a parlist iterator for creating the
7393           document.
7394
7395 2003-03-12  John Levon  <levon@movementarian.org>
7396
7397         * buffer.C: make current_change static local not
7398           static file-scope
7399
7400 2003-03-12  John Levon  <levon@movementarian.org>
7401
7402         * buffer.C: fix insertStringAsLines for change tracking
7403
7404 2003-03-12  John Levon  <levon@movementarian.org>
7405
7406         * BufferView.C:
7407         * tabular.C:
7408         * buffer.h:
7409         * buffer.C:
7410         * bufferparams.h:
7411         * bufferparams.C: move author list into params. Rename some
7412           functions. Move the header reading into a separate token
7413           loop. Move the header token reading into BufferParams.
7414
7415 2003-03-12  John Levon  <levon@movementarian.org>
7416
7417         * changes.C: put debug inside lyxerr.debugging() checks
7418
7419 2003-03-11 André Pönitz <poenitz@gmx.net>
7420
7421         * factory.C: make it aware of InsetHFill
7422
7423 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7424
7425         * buffer.C (latexParagraphs): move function from here...
7426         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7427         args.
7428
7429 2003-03-10  Angus Leeming  <leeming@lyx.org>
7430
7431         * LyXAction.C (init): fix bug in poplating array with multiple entries
7432         with the same LFUN (spotted by JMarc).
7433
7434 2003-03-10  John Levon  <levon@movementarian.org>
7435
7436         * text.C:
7437         * text2.C: move getColumnNearX() near its
7438         only call site
7439
7440 2003-03-10  John Levon  <levon@movementarian.org>
7441
7442         * text.C: fix break before a minipage
7443
7444 2003-03-10  John Levon  <levon@movementarian.org>
7445
7446         * text.C: fix the last commit
7447
7448 2003-03-09  John Levon  <levon@movementarian.org>
7449
7450         * lyxtext.h:
7451         * text.C:
7452         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7453         bug 365 (don't break before insets unless needed). Don't
7454         return a value > last under any circumstances.
7455
7456 2003-03-09  Angus Leeming  <leeming@lyx.org>
7457
7458         * BufferView_pimpl.C (trackChanges, dispatch): call
7459         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7460
7461 2003-03-09  Angus Leeming  <leeming@lyx.org>
7462
7463         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7464         than Dialogs::showAboutlyx().
7465
7466 2003-03-09  Angus Leeming  <leeming@lyx.org>
7467
7468         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7469         than Dialogs::showTabularCreate().
7470
7471 2003-03-09  John Levon  <levon@movementarian.org>
7472
7473         * lyxtext.h:
7474         * text.C:
7475         * text2.C: 3rd arg to nextBreakPoint was always the same.
7476           Use references.
7477
7478 2003-03-08  John Levon  <levon@movementarian.org>
7479
7480         * lyxrow.C:
7481         * paragraph.C:
7482         * paragraph.h:
7483         * rowpainter.C:
7484         * text.C:
7485         * text2.C: Remove the "main" bit from the "main body"
7486           notion.
7487
7488 2003-03-08  John Levon  <levon@movementarian.org>
7489
7490         * text.C (leftMargin): The left margin of an empty
7491         manual label paragraph should not include the label width
7492         string length.
7493
7494         * text.C (prepareToPrint): don't attempt to measure hfills
7495         for empty manual label paragraphs - the answer should be 0
7496
7497 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7498
7499         * CutAndPaste.C: remove commented code and reindent.
7500
7501 2003-03-08  John Levon  <levon@movementarian.org>
7502
7503         * lyxfunc.h:
7504         * lyxfunc.C: move reloadBuffer()
7505
7506         * BufferView.h:
7507         * BufferView.C: to here
7508
7509         * lyxvc.C: add comment
7510
7511         * vc-backend.h:
7512         * vc-backend.C: call bv->reload() to avoid
7513           getStatus() check on MENURELOAD
7514
7515 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
7516
7517         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7518         to an old format .dep file.
7519
7520 2003-03-07  Angus Leeming  <leeming@lyx.org>
7521
7522         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7523         when the LFUN_MOUSE_RELEASE should have been handled by
7524         inset->localDispatch.
7525
7526 2003-03-07  Angus Leeming  <leeming@lyx.org>
7527
7528         * BufferView_pimpl.C (dispatch):
7529         * LyXAction.C (init):
7530         * ToolbarDefaults.C (init):
7531         * commandtags.h:
7532         * lyxfunc.C (getStatus):
7533         remove LFUN_INSET_GRAPHICS.
7534
7535         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7536
7537 2003-03-07  Angus Leeming  <leeming@lyx.org>
7538
7539         * commandtags.h:
7540         * LyXAction.C (init):
7541         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7542
7543         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7544
7545         * commandtags.h:
7546         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7547
7548         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7549         localDispatch method LFUN_INSET_DIALOG_UPDATE.
7550
7551 2003-03-07  Angus Leeming  <leeming@lyx.org>
7552
7553         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7554         remove "ert".
7555
7556 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7557
7558         * ParagraphList.C (front): new function
7559         (back): implement
7560
7561 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
7562
7563         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7564         and top_row_offset_. removed var first_y.
7565         * text.C (top_y):
7566         * text2.C (LyXText, removeRow):
7567         * text3.C:
7568         * BufferView_pimpl.C:
7569         use these methods instead of using first_y
7570
7571 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7572
7573         * text2.C (pasteSelection): adjust for checkPastePossible
7574
7575         * CutAndPaste.C: remove Paragraph * buf and replace with
7576         ParagraphList paragraphs.
7577         (DeleteBuffer): delete
7578         (cutSelection): change the tc type to textclass_type
7579         (copySelection): change the tc type to textclass_type
7580         (copySelection): adjust for ParagraphList
7581         (pasteSelection): change the tc type to textclass_type
7582         (pasteSelection): adjust for Paragraphlist
7583         (nrOfParagraphs): simplify for ParagraphList
7584         (checkPastePossible): simplify for ParagraphList
7585         (checkPastePossible): remove unused arg
7586
7587         * ParagraphList.C (insert): handle the case where there are no
7588         paragraphs yet.
7589
7590         * CutAndPaste.h: make CutAndPaste a namespace.
7591
7592         * text3.C (dispatch): adjust
7593
7594         * text.C (breakParagraph): add a ParagraphList as arg
7595
7596         * paragraph_funcs.C (breakParagraph): change to take a
7597         BufferParams and a ParagraphList as args.
7598         (breakParagraphConservative): ditto
7599         (mergeParagraph): ditto
7600         (TeXDeeper): add a ParagraphList arg
7601         (TeXEnvironment): ditto
7602         (TeXOnePar): ditto
7603
7604         * buffer.C (readLyXformat2): adjust
7605         (insertStringAsLines): adjust
7606         (latexParagraphs): adjust
7607
7608         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7609         (cutSelection): adjust
7610         (pasteSelection): adjust
7611
7612         * BufferView_pimpl.C (insertInset): adjust
7613
7614 2003-03-05  Angus Leeming  <leeming@lyx.org>
7615
7616         * commandtags.h:
7617         * LyXAction.C (init):
7618         * BufferView_pimpl.C (dispatch):
7619         * lyxfunc.C (getStatus):
7620         remove LFUN_CHILD_INSERT.
7621
7622         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7623
7624 2003-03-05  Angus Leeming  <leeming@lyx.org>
7625
7626         * commandtags.h:
7627         * LyXAction.C (init):
7628         * src/factory.C (createInset):
7629         * lyxfunc.C (getStatus):
7630         * text3.C (dispatch):
7631         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7632
7633         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7634
7635 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7636
7637         * ParagraphList.C (insert): handle insert right before end()
7638         (erase): fix cases where it can be first or last paragraph.
7639
7640 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7641
7642         * paragraph_funcs.C (TeXEnvironment): remove all usage of
7643         Paragraph::next and Paragraph::previous
7644         (TeXOnePar): ditto
7645
7646         * text.C (breakParagraph): adjust
7647
7648         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7649         BufferParams& as arg.
7650         (breakParagraph): use ParagraphList::insert
7651         (breakParagraphConservative): take a Buffer* instead of a
7652         BufferParams& as arg.
7653         (breakParagraphConservative): use ParagraphList::insert.
7654
7655         * buffer.C (insertStringAsLines): un-const it
7656         (insertStringAsLines): adjust
7657
7658         * ParagraphList.C (insert): new function
7659
7660         * CutAndPaste.C (pasteSelection): adjust
7661
7662         * text.C (backspace): adjust
7663
7664         * tabular.C (SetMultiColumn): adjust
7665
7666         * CutAndPaste.C (cutSelection): adjust
7667         (pasteSelection): adjust
7668
7669         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7670         Buffer const * as arg
7671
7672         * ParagraphList.C (erase): new function
7673         * paragraph_funcs.C (mergeParagraph): use it
7674         (mergeParagraph): make it take a Buffer* instead of a
7675         BufferParams* as arg
7676
7677         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7678         as arg
7679         (breakParagraphConservative): ditto
7680
7681         * paragraph.h: remove the breakParagraph friend
7682
7683         * paragraph.C (eraseIntern): new function
7684         (setChange): new function
7685
7686         * paragraph_funcs.C (mergeParagraph): make it take a
7687         ParagraphList::iterator instead of a Paragraph *, adjust
7688         accordingly.
7689
7690         * paragraph.h: move an #endif so that the change tracking stuff
7691         also works in the NO_NEXT case.
7692
7693 2003-03-04  Angus Leeming  <leeming@lyx.org>
7694
7695         * commandtags.h:
7696         * LyXAction.C: new LFUN_INSET_MODIFY.
7697
7698         * BufferView_pimpl.C (dispatch): if an inset is found to be open
7699         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7700
7701 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7702
7703         * several files: ws changes only
7704
7705         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7706         (TeXEnvironment): ditto
7707         (TeXDeeper): ditto
7708
7709         * buffer.C (makeLaTeXFile): adjust
7710         (latexParagraphs): make it take ParagraphList::iterator as args
7711
7712 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7713
7714         * buffer.C (latexParagraphs): adjust
7715
7716         * paragraph.C (TeXOnePar): move function...
7717         (optArgInset): move function...
7718         (TeXEnvironment): move function...
7719         * paragraph_pimpl.C (TeXDeeper): move function...
7720         * paragraph_funcs.C: ...here
7721
7722         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7723
7724 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7725
7726         * buffer.C (readInset): remove compability code for old Figure and
7727         InsetInfo insets
7728
7729 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7730
7731         * buffer.C: ws changes
7732         (readInset):
7733
7734         * BufferView_pimpl.C: ditto
7735         * author.C: ditto
7736         * buffer.h: ditto
7737         * bufferlist.h: ditto
7738         * changes.h: ditto
7739         * lyxfunc.C: ditto
7740
7741 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
7742
7743         * converter.[Ch]: split into itself +
7744         * graph.[Ch]
7745         * format.[Ch]
7746         * Makefile.am: += graph.[Ch] + format.[Ch]
7747         * MenuBackend.C
7748         * buffer.C
7749         * exporter.C
7750         * importer.C
7751         * lyx_main.C
7752         * lyxfunc.C
7753         * lyxrc.C: added #include "format.h"
7754
7755 2003-02-27  Angus Leeming  <leeming@lyx.org>
7756
7757         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7758           a label.
7759
7760         * factory.C (createInset): add "label" to the factory.
7761
7762         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7763           string and do no more.
7764
7765 2003-02-27  Angus Leeming  <leeming@lyx.org>
7766
7767         * commandtags.h:
7768         * LyXAction.C (init):
7769         * factory.C (createInset):
7770         * BufferView_pimpl.C (dispatch):
7771           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7772
7773         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7774
7775         * lyxfunc.C (dispatch):
7776         * text3.C (dispatch): pass name to params2string.
7777
7778 2003-02-26  Angus Leeming  <leeming@lyx.org>
7779
7780         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7781           blocks together.
7782           Rearrange the ~includes. Strip out the unnecessary ones.
7783
7784         * factory.C (createInset): reformat.
7785           create new insets for the various LFUN_XYZ_APPLY lfuns.
7786
7787 2003-02-26  John Levon  <levon@movementarian.org>
7788
7789         * lyxrow.h:
7790         * lyxrow.C: add isParStart,isParEnd helpers
7791
7792         * paragraph.h: make isInserted/DeletedText take refs
7793
7794         * paragraph_funcs.h:
7795         * paragraph_funcs.C: remove #if 0'd code
7796
7797         * lyxtext.h:
7798         * text3.C:
7799         * text2.C:
7800         * text.C: use lyxrow helpers above.
7801           Move draw and paint routines to RowPainter.
7802           Make several methods use refs not pointers.
7803           Make backgroundColor() const.
7804           Add markChangeInDraw(), isInInset().
7805           Merge changeRegionCase into changeCase.
7806           Make workWidth() shouldn't-happen code into an Assert.
7807
7808         * rowpainter.h:
7809         * rowpainter.C: new class for painting a row.
7810
7811         * vspace.h:
7812         * vspace.C: make inPixels take a ref
7813
7814 2003-02-26  Angus Leeming  <leeming@lyx.org>
7815
7816         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7817         LFUN_REF_APPLY.
7818
7819 2003-02-25  John Levon  <levon@movementarian.org>
7820
7821         * ispell.C: give the forked command a more accurate name
7822
7823 2003-02-22  John Levon  <levon@movementarian.org>
7824
7825         * toc.h:
7826         * toc.C: make TocItem store an id not a Paragraph *
7827           (bug #913)
7828
7829 2003-02-21  Angus Leeming  <leeming@lyx.org>
7830
7831         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7832           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7833           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7834           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7835           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7836           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7837
7838         * BufferView_pimpl.C (dispatch):
7839         * LyXAction.C (init):
7840         * factory.C (createInset):
7841         * lyxfunc.C (getStatus, dispatch):
7842         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7843
7844 2003-02-21  Angus Leeming  <leeming@lyx.org>
7845
7846         * BufferView_pimpl.C (MenuInsertLyXFile):
7847         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7848         * lyxfunc.C (menuNew, open, doImport):
7849           no longer pass a LyXView & to fileDlg.
7850
7851 2003-02-21  Angus Leeming  <leeming@lyx.org>
7852
7853         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7854         * LyXAction.C: change, BIBKEY to BIBITEM.
7855         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7856         Change InsetBibKey to InsetBibitem.
7857         Change BIBKEY_CODE to BIBITEM_CODE.
7858         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7859         * factory.C: replace insetbib.h with insetbibitem.h.
7860         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7861         * paragraph.C: replace insetbib.h with insetbibitem.h.
7862         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7863         Change bibkey() to bibitem().
7864         * text.C: remove insetbib.h.
7865         * text2.C: replace insetbib.h with insetbibitem.h.
7866         change bibkey() to bibitem().
7867         * text3.C: remove insetbib.h.
7868         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7869
7870 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7871
7872         * lyxrc.C (output): enclose user email in quotes (in case there are
7873         several words)
7874
7875 2003-02-18  John Levon  <levon@movementarian.org>
7876
7877         * buffer.h: add std::
7878
7879 2003-02-17  John Levon  <levon@movementarian.org>
7880
7881         * SpellBase.h:
7882         * ispell.h:
7883         * ispell.C:
7884         * pspell.h:
7885         * pspell.C: reworking. Especially in ispell, a large
7886           number of clean ups and bug fixes.
7887
7888         * lyxfunc.C: fix revert to behave sensibly
7889
7890 2003-02-17 André Pönitz <poenitz@gmx.net>
7891
7892         * LyXAction.C:
7893         * commandtags.h: new LFUN_INSERT_BIBKEY
7894
7895         * layout.h:
7896         * lyxlayout.C:
7897         * buffer.C:
7898         * factory.C:
7899         * text.C:
7900         * text2.C:
7901         * text3.C:
7902         * paragraph.[Ch]:
7903         * paragraph_func.C: remove special bibkey handling
7904
7905 2003-02-17  John Levon  <levon@movementarian.org>
7906
7907         * text.C (Delete): fix case where delete at the end of
7908           the very first paragraph would not merge the pars
7909
7910 2003-02-17  John Levon  <levon@movementarian.org>
7911
7912         * lyxrow.C: fix lastPrintablePos()
7913
7914 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7915
7916         * bufferparams.C (writeLaTeX): add a std:here
7917
7918         * buffer.C: and remove a using directive there
7919
7920 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7921
7922         * buffer.C (makeLaTeXFile): move the code that generates the
7923           preamble...
7924
7925         * bufferparams.C (writeLaTeX): ... in this new method
7926
7927         * LaTeXFeatures.C (getEncodingSet): make const
7928           (getLanguages): make const
7929
7930         * MenuBackend.C (binding): returns the binding associated to this
7931           action
7932           (add): sets the status of each item by calling getStatus. Adds
7933           some intelligence.
7934           (read): add support for OptSubMenu
7935           (expand): remove extra separator at the end of expanded menu
7936
7937 2003-02-15  John Levon  <levon@movementarian.org>
7938
7939         * BufferView.C:
7940         * BufferView_pimpl.C:
7941         * bufferlist.h:
7942         * bufferlist.C: remove pointless BufferStorage bloat. Remove
7943           inset code that had no actual effect. Remove unneeded status
7944           code.
7945
7946 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7947
7948         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7949           in preamble
7950
7951 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
7952
7953         * text.C (drawLengthMarker): also draw an arrow marker for
7954           symbolic lengths (medskip...)
7955
7956 2003-02-14  John Levon  <levon@movementarian.org>
7957
7958         * tabular.h:
7959         * tabular.C: better method names
7960
7961 2003-02-14  John Levon  <levon@movementarian.org>
7962
7963         * BufferView_pimpl.C:
7964         * bufferlist.C:
7965         * buffer.C:
7966         * converter.C:
7967         * lyx_cb.C:
7968         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7969           it's a more accurate name. Remove some pointless uses.
7970
7971 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7972
7973         * text2.C (LyXText): change order of initilizers to shut off
7974           warnings
7975
7976 2003-02-14  John Levon  <levon@movementarian.org>
7977
7978         * buffer.C: use ParIterator for getParFromID()
7979
7980         * paragraph.h:
7981         * paragraph.C:
7982         * paragraph_pimpl.h:
7983         * paragraph_pimpl.C: remove unused getParFromID()
7984
7985 2003-02-14  John Levon  <levon@movementarian.org>
7986
7987         * buffer.C: remove some very old #if 0'd parse code
7988
7989 2003-02-13  John Levon  <levon@movementarian.org>
7990
7991         * text.h:
7992         * text.C:
7993         * text2.C: move hfillExpansion(), numberOfSeparators(),
7994           rowLast(), rowLastPrintable(), numberofHfills(),
7995           numberOfLabelHfills() ...
7996
7997         * lyxrow.h:
7998         * lyxrow.C: ... to member functions here.
7999
8000         * paragraph.h:
8001         * paragraph.C:
8002         * lyxtext.h:
8003         * text.C: remove LyXText::beginningOfMainBody(), and call
8004           p->beginningOfMainBody() directly. Move the check for
8005           LABEL_MANUAL into the latter.
8006
8007         * text.h:
8008         * text.C:
8009         * text2.C:
8010         * vspace.C:
8011         * BufferView.h:
8012         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8013
8014         * text.h:
8015         * text.C:
8016         * text2.C:
8017         * text3.C:
8018         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8019           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8020
8021 2003-02-13  John Levon  <levon@movementarian.org>
8022
8023         * CutAndPaste.C: remove debug
8024
8025 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8026
8027         * paragraph.C (asString): remove two unused variables
8028
8029         * lyxtextclass.C (readTitleType):
8030           (Read):
8031           (LyXTextClass): handle new members titletype_ and titlename_
8032
8033         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8034
8035 2003-02-09  John Levon  <levon@movementarian.org>
8036
8037         * buffer.h:
8038         * buffer.C: replace hand-coded list with a map for the dep clean
8039
8040 2003-02-08  John Levon  <levon@movementarian.org>
8041
8042         * LaTeX.C: consolidate code into showRunMessage() helper
8043
8044 2003-02-08  John Levon  <levon@movementarian.org>
8045
8046         * lyxfind.C:
8047         * lyxtext.h:
8048         * text2.C:
8049         * BufferView.C: change setSelectionOverString() to setSelectionRange()
8050           and pass the size in explicitly
8051
8052         * BufferView_pimpl.h:
8053         * BufferView_pimpl.C:
8054         * BufferView.h:
8055         * BufferView.C: add getCurrentChange()
8056
8057         * BufferView_pimpl.h:
8058         * BufferView_pimpl.C: handle change lfuns
8059
8060         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8061           for changes. Mark pasted paragraphs as new.
8062
8063         * support/lyxtime.h:
8064         * support/lyxtime.C:
8065         * DepTable.C: abstract time_t as lyx::time_type
8066
8067         * LColor.h:
8068         * LColor.C: add colours for new text, deleted text, changebars
8069
8070         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8071           package use "usenames" option.
8072
8073         * commandtags.h:
8074         * lyxfunc.C:
8075         * LyXAction.C: add change lfuns
8076
8077         * Makefile.am:
8078         * author.h:
8079         * author.C: author handling
8080
8081         * buffer.h:
8082         * buffer.C: add a per-buffer author list, with first entry as
8083           current author. Handle new .lyx tokens for change tracking. Output
8084           author list to .lyx file. Output dvipost stuff to .tex preamble.
8085           Bump lyx format to 222.
8086
8087         * bufferlist.h:
8088         * bufferlist.C: add setCurrentAuthor() to reset current author details
8089           in all buffers.
8090
8091         * bufferparams.h:
8092         * bufferparams.C: add param for tracking
8093
8094         * bufferview_funcs.C: output change info in minibuffer
8095
8096         * Makefile.am:
8097         * changes.h:
8098         * changes.C: add change-tracking structure
8099
8100         * debug.h:
8101         * debug.C: add CHANGES debug flag
8102
8103         * lyxfind.h:
8104         * lyxfind.C: add code for finding the next change piece
8105
8106         * lyxrc.h:
8107         * lyxrc.C: add user_name and user_email
8108
8109         * lyxrow.h:
8110         * lyxrow.C: add a metric for the top of the text line
8111
8112         * lyxtext.h:
8113         * text.C: implement accept/rejectChange()
8114
8115         * lyxtext.h:
8116         * text.C: paint changebars. Paint new/deleted text in the chosen
8117         colours. Strike through deleted text.
8118
8119         * paragraph.h:
8120         * paragraph.C:
8121         * paragraph_pimpl.h:
8122         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8123           in the current change to the insert functions. Rework erase to
8124           mark text as deleted, adding an eraseIntern() and a range-based
8125           erase(). Implement per-paragraph change lookup and
8126           accept/reject.
8127
8128         * paragraph_funcs.C: Fixup paste for change tracking.
8129
8130         * tabular.C: mark added row/columns as new.
8131
8132         * text.C: fix rowLast() to never return -1. Don't allow
8133           spellchecking of deleted text. Track transpose changes. Don't
8134           allow paragraph break or merge where appropriate.
8135
8136         * text2.C: leave cursor at end of selection after a cut.
8137
8138 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8139
8140         * text.C (getLengthMarkerHeight):
8141         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8142         visible on screen too.
8143
8144 2003-02-07  John Levon  <levon@movementarian.org>
8145
8146         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8147
8148 2003-02-05  Angus Leeming  <leeming@lyx.org>
8149
8150         * lyxserver.C (read_ready): revert my patch of 11 September last year
8151         as it sends PC cpu through the roof. Presumably this means that
8152         the lyxserver will no longer run on an Alpha...
8153
8154 2003-01-30  Angus Leeming  <leeming@lyx.org>
8155
8156         * factory.C (createInset): create an InsetCommandParam of type "index"
8157         and use it to 'do the right thing'.
8158
8159         * text2.C (getStringToIndex): ensure that cursor position is always
8160         reset to the reset_cursor position.
8161
8162 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8163
8164         * lyxfunc.C (getStatus): "buffer-export custom" should never be
8165         disabled.
8166
8167 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
8168
8169         * bufferview.C:
8170         * lyxcb.C:
8171         * lyxfunc.C: Output messages with identical spelling, punctuation,
8172         and spaces
8173
8174 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
8175
8176         * MenuBackend.C (expandFormats): List only viewable export formats
8177         in "View" menu
8178
8179         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8180         message
8181
8182         * lyxfunc.C (getStatus): Make sure that formats other than
8183         "fax" can also be disabled
8184
8185 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8186
8187         * text3.C (dispatch): put the lfuns that insert insets in 3
8188         groups, and call doInsertInset with appropriate arguments.
8189         (doInsertInset): new function, that creates an inset and inserts
8190         it according to some boolean parameters.
8191
8192 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8193
8194         * buffer.C (readFile): remember to pass on 'par' when calling
8195         readFile recursively.
8196
8197 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8198
8199         * MenuBackend.C (expandFormats): add "..." to import formats.
8200
8201 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
8202
8203         * paragraph.C (asString): Remove XForms RTL hacks.
8204
8205 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
8206         * buffer.C: fix typo
8207
8208 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8209
8210         * Makefile.am (LIBS): delete var
8211         (lyx_LDADD): add @LIBS@ here instead.
8212
8213 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
8214
8215         * Clarify the meaning of "wheel mouse jump"
8216
8217 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8218
8219         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8220         tabular in a float
8221
8222 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8223
8224         * importer.C (Loaders): do not preallocate 3 elements in the
8225         vector, since one ends up with 6 elements otherwise
8226
8227 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8228
8229         * DepTable.C (write): write the file name as last element of the
8230         .dep file (because it may contain spaces)
8231         (read): read info in the right order
8232
8233 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8234
8235         * paragraph_pimpl.C (simpleTeXBlanks):
8236         (simpleTeXSpecialChars):
8237         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8238
8239         * tabular.C (latex): add some missing case statements. Reindent.
8240
8241         * MenuBackend.C (expandToc): remove unused variable.
8242
8243 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
8244
8245         * LColor.C:
8246         * LaTeX.C:
8247         * LyXAction.C:
8248         * MenuBackend.C:
8249         * buffer.C:
8250         * exporter.C:
8251         * lyxfunc.C:
8252         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8253         and the like.
8254
8255 2003-01-05  John Levon  <levon@movementarian.org>
8256
8257         * BufferView.h:
8258         * BufferView.C: add getEncoding()
8259
8260         * kbsequence.h:
8261         * kbsequence.C: do not store last keypress
8262
8263         * lyxfunc.h:
8264         * lyxfunc.C: store last keypress here instead. Pass encoding
8265           to getISOEncoded()
8266
8267 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8268
8269         * lyx_main.C (init): remove annoying error message when following
8270         symbolic links (bug #780)
8271
8272 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8273
8274         * text.C (insertChar):
8275         * lyxrc.C (getDescription): remove extra spaces
8276
8277 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8278
8279         * lyxrc.C (getDescription): remove extra spaces
8280
8281 2002-12-20  John Levon  <levon@movementarian.org>
8282
8283         * text3.C: hack fix for page up/down across tall rows
8284
8285 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8286
8287         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8288         not been invoked
8289
8290 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8291
8292         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8293         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8294         thesaurus is not compiled in
8295
8296 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
8297
8298         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
8299
8300 2002-12-16  Angus Leeming  <leeming@lyx.org>
8301
8302         * lyxrc.[Ch]:
8303         * lyx_main.C (init): remove override_x_deadkeys stuff.
8304
8305 2002-12-12  John Levon  <levon@movementarian.org>
8306
8307         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8308           insert. Only remove shift modifier under strict
8309           circumstances.
8310
8311 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8312
8313         * MenuBackend.C (expandToc): fix crash.
8314
8315 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8316
8317         * MenuBackend.C (expandToc): gettext on float names.
8318
8319 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
8320
8321         * lyxlength.[Ch]: set default unit to UNIT_NONE,
8322         implement bool empty() [bug 490]
8323
8324 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8325
8326         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8327
8328 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8329
8330         * several files: ws changes
8331
8332 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8333
8334         * text2.C (setCounter): clean up a bit, use boost.format.
8335         (updateCounters): initialize par upon declaration.
8336
8337         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8338         if the layout exists. We do not just store the layout any more.
8339         (SwitchLayoutsBetweenClasses): use boost.format
8340
8341 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8342
8343         * converter.C (convert): if from and to files are the same, use a
8344         temporary files as intermediary
8345
8346 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8347
8348         * commandtags.h:
8349         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8350
8351 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
8352
8353         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8354
8355 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8356
8357         * tabular.C (asciiPrintCell): use string(size, char) instead of
8358         explicit loop.
8359
8360         * sgml.C (openTag): fix order of arguments to string constructor
8361         (closeTag): ditto
8362
8363         * lyxfunc.C (dispatch): use boost.format
8364
8365         * lots of files: change "c" -> 'c'
8366
8367 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
8368
8369         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8370
8371 2002-11-25  Angus Leeming  <leeming@lyx.org>
8372
8373         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8374
8375         * lyx_main.C (init): compile fix.
8376
8377 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8378
8379         * lyx_cb.C (start): boost.formatify
8380         do not include <iostream>
8381
8382         * lengthcommon.C: ws only
8383
8384         * boost-inst.C,BoostFormat.h: add more explict instantations
8385
8386 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8387
8388         * lots of files: handle USE_BOOST_FORMAT
8389
8390 2002-11-21  John Levon  <levon@movementarian.org>
8391
8392         * pspell.C: fix compile
8393
8394 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8395
8396         * lyxfunc.C (dispatch): use boost::format
8397         (open): ditto
8398         (doImport): ditto
8399
8400         * lyxfont.C (stateText): use boost::format
8401
8402         * lyx_main.C (LyX): use boost::format
8403         (init): ditto
8404         (queryUserLyXDir): ditto
8405         (readRcFile): ditto
8406         (parse_dbg): ditto
8407         (typedef boost::function): use the recommened syntax.
8408
8409         * importer.C (Import): use boost::format
8410
8411         * debug.C (showLevel): use boost::format
8412
8413         * converter.C (view): use boost::format
8414         (convert): ditto
8415         (move): ditto
8416         (scanLog): ditto
8417
8418         * bufferview_funcs.C (currentState): use boost::format
8419
8420         * bufferlist.C (emergencyWrite): use boost::format
8421
8422         * buffer.C (readLyXformat2): use boost::format
8423         (parseSingleLyXformat2Token): ditto
8424
8425         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8426
8427         * LaTeX.C (run): use boost::format
8428
8429         * Chktex.C (scanLogFile): use boost::format
8430
8431         * BufferView_pimpl.C (savePosition): use boost::format
8432         (restorePosition): ditto
8433         (MenuInsertLyXFile): ditto
8434
8435         * BoostFormat.h: help file for explicit instation.
8436
8437 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
8438
8439         * tabular.C (latex): Support for block alignment in fixed width
8440         columns.
8441
8442 2002-11-17  John Levon  <levon@movementarian.org>
8443
8444         * BufferView_pimpl.C:
8445         * lyx_cb.C:
8446         * lyxfunc.C: split filedialog into open/save
8447
8448 2002-11-08  Juergen Vigna  <jug@sad.it>
8449
8450         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8451         by my last patch (hopefully).
8452
8453 2002-11-08  John Levon  <levon@movementarian.org>
8454
8455         * iterators.h:
8456         * iterators.C:
8457         * buffer.h:
8458         * buffer.C:
8459         * paragraph.h:
8460         * paragraph.C:
8461         * toc.h:
8462         * toc.C: ParConstIterator, and use it (from Lars)
8463
8464 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
8465
8466         * lyxtextclass.[Ch]: revise and add doxygen comments
8467
8468 2002-11-07  John Levon  <levon@movementarian.org>
8469
8470         * text.C: fix progress value for spellchecker
8471
8472         * toc.C: fix navigate menu for insetwrap inside minipage
8473
8474         * paragraph_funcs.C: added FIXME for suspect code
8475
8476 2002-11-07  John Levon  <levon@movementarian.org>
8477
8478         * BufferView_pimpl.C: fix redrawing of insets
8479           on buffer switch
8480
8481 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8482
8483         * text2.C (updateCounters): fix bug 668
8484
8485 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
8486
8487         * text3.C (dispatch): Do not make the buffer dirty when moving the
8488         cursor.
8489
8490 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8491
8492         * vc-backend.C: STRCONV
8493         (scanMaster): ditto
8494
8495         * text2.C (setCounter): STRCONV
8496
8497         * paragraph.C (asString): STRCONV
8498
8499         * lyxlength.C (asString): STRCONV
8500         (asLatexString): ditto
8501
8502         * lyxgluelength.C (asString): STRCONV
8503         (asLatexString): ditto
8504
8505         * lyxfunc.C (dispatch): STRCONV
8506         (open): ditto
8507
8508         * lyxfont.C (stateText): STRCONV
8509
8510         * importer.C (Import): STRCONV
8511
8512         * counters.C (labelItem): STRCONV
8513         (numberLabel): ditto
8514         (numberLabel): remove unused ostringstream o
8515
8516         * chset.C: STRCONV
8517         (loadFile): ditto
8518
8519         * bufferview_funcs.C (currentState): STRCONV
8520
8521         * buffer.C (readFile): STRCONV
8522         (asciiParagraph): ditto
8523         (makeLaTeXFile): ditto
8524
8525         * Spacing.C (writeEnvirBegin): STRCONV
8526
8527         * LaTeXFeatures.C (getLanguages): STRCONV
8528         (getPackages): ditto
8529         (getMacros): ditto
8530         (getBabelOptions): ditto
8531         (getTClassPreamble): ditto
8532         (getLyXSGMLEntities): ditto
8533         (getIncludedFiles): ditto
8534
8535         * LaTeX.C: STRCONV
8536         (run): ditto
8537         (scanAuxFile): ditto
8538         (deplog): ditto
8539
8540         * LString.h: add the STRCONV macros
8541
8542         * BufferView_pimpl.C (savePosition): STRCONV
8543         (restorePosition): ditto
8544         (MenuInsertLyXFile): ditto
8545
8546         * vc-backend.C (scanMaster): change from submatch[...] to
8547         submatch.str(...)
8548
8549         * funcrequest.C: include config.h
8550
8551         * factory.C: include config.h
8552
8553         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8554
8555         * box.C: include config.h
8556
8557         * LaTeX.C (scanAuxFile): change from submatch[...] to
8558         submatch.str(...)
8559         (deplog): ditto
8560
8561 2002-10-25  Angus Leeming  <leeming@lyx.org>
8562
8563         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8564
8565         * ispell.[Ch] (setError): new method.
8566         * ispell.C (c-tor): move out child process into new class LaunchIspell.
8567         Use setError() insetead of goto END.
8568
8569         * lyx_cb.C (AutoSave): move out child process into new class
8570         AutoSaveBuffer.
8571
8572 2002-10-30  John Levon  <levon@movementarian.org>
8573
8574         * text3.C: make start appendix undoable
8575
8576 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
8577
8578         * lyxlength.C (inPixels): Fix returned value.
8579
8580         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8581         environment.
8582
8583 2002-10-24  Angus Leeming  <leeming@lyx.org>
8584
8585         * lyxgluelength.h: no need to forward declare BufferParams
8586         or BufferView, so don't.
8587
8588 2002-10-21  John Levon  <levon@movementarian.org>
8589
8590         * BufferView.C: menuUndo ->undo, redo
8591
8592         * BufferView.h: document, remove dead, make some methods private
8593
8594         * paragraph_funcs.h:
8595         * paragraph_funcs.C:
8596         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8597
8598         * buffer.h:
8599         * buffer.C:
8600         * sgml.h:
8601         * sgml.C: move sgml open/close tag into sgml.C
8602
8603         * bufferview_funcs.h: unused prototype
8604
8605         * lyxfunc.h:
8606         * lyxfunc.C: remove unused
8607
8608         * lyxtext.h:
8609         * text.C: remove unused
8610
8611 2002-10-21  John Levon  <levon@movementarian.org>
8612
8613         * BufferView.h:
8614         * BufferView.C:
8615         * BufferView_pimpl.h:
8616         * BufferView_pimpl.C: fix mouse wheel handling based on
8617           patch from Darren Freeman
8618
8619 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
8620
8621         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8622
8623 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
8624
8625         * lyxlength.C (inPixels): Fix hanfling of negative length.
8626         Fix LyXLength::MU case.
8627
8628 2002-10-16  John Levon  <levon@movementarian.org>
8629
8630         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8631
8632 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8633
8634         * converter.C (view): add support for $$i (file name) and $$p
8635         (file path) for the viewer command. If $$i is not specified, then
8636         it is appended to the command (for compatibility with old syntax)
8637
8638 2002-10-14  Juergen Vigna  <jug@sad.it>
8639
8640         * undo_funcs.C (textHandleUndo): alter the order in which the
8641         new undopar is added to the LyXText, as we have to set first
8642         the right prev/next and then add it as otherwise the rebuild of
8643         LyXText is not correct. Also reset the cursor to the right paragraph,
8644         with this IMO we could remove the hack in "redoParagraphs()".
8645
8646 2002-10-09  Angus Leeming  <leeming@lyx.org>
8647
8648         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8649         to turn off an optimisation if a new inset is to be inserted.
8650
8651 2002-10-11 André Pönitz <poenitz@gmx.net>
8652
8653         * lyxtext.h: make some functions public to allow access
8654         from inset/lyxtext for handling LFUN_PRIOR/NEXT
8655
8656 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8657
8658         * text3.C (dispatch): when changing layout, avoid an infinite loop
8659         [bug #652]
8660
8661 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8662
8663         * lyxrc.C (read): treat a viewer or converter command of "none" as
8664         if it were empty.
8665
8666         * MenuBackend.C (expandFormats): for an update, also allow the
8667         formats that are not viewable
8668
8669         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8670         script if it is newer than the lyxrc.defaults in user directory
8671
8672 2002-10-07 André Pönitz <poenitz@gmx.net>
8673
8674         * text.C: Vitaly Lipatov's small i18n fix
8675
8676 2002-09-25  Angus Leeming  <leeming@lyx.org>
8677
8678         * ispell.h: doxygen fix.
8679
8680 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
8681
8682         * buffer.h (readFile): Add a new argument to the method, to allow
8683         reading of old-format templates.
8684
8685 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
8686
8687         * toc.C (getTocList): Get TOC from InsetWrap.
8688
8689 2002-09-16  John Levon  <levon@movementarian.org>
8690
8691         * lyxfunc.C: check tabular for cut/copy too
8692
8693 2002-09-12  John Levon  <levon@movementarian.org>
8694
8695         * LyXAction.C: tidy
8696
8697         * factory.h:
8698         * factory.C: add header
8699
8700         * paragraph_funcs.h:
8701         * paragraph_funcs.C: cleanup
8702
8703 2002-09-11  John Levon  <levon@movementarian.org>
8704
8705         * PrinterParams.h: odd/even default to true
8706
8707 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
8708
8709         * PrinterParams.h: update printer parameters for new xforms dialog
8710
8711 2002-09-11  Angus Leeming  <leeming@lyx.org>
8712
8713         * lyxserver.C (read_ready): re-write to make it more transparent
8714         and to make it work in coherent fashion under Tru64 Unix.
8715
8716 2002-09-11  André Pönitz <poenitz@gmx.net>
8717
8718         * commandtags.h:
8719         * LyXAction.C:
8720         * text3.C: implement LFUN_WORDSEL
8721
8722 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8723
8724         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8725         make floatlist_ a boost::shared_ptr<FloatList>
8726
8727         * lyxtextclass.C: include FloatList.h
8728         (LyXTextClass): initialize floatlist_
8729         (TextClassTags): add TC_NOFLOAT
8730         (Read): match "nofloat" to TC_NOFLOAT and use it.
8731         (readFloat): modify call to floatlist_
8732         (floats): ditto
8733         (floats): ditto
8734
8735         * FloatList.[Ch] (FloatList): remove commented out float
8736         initialization.
8737         (erase): new function
8738
8739 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8740
8741         * MenuBackend.C (expandToc): fix crash when there is no document
8742         open
8743
8744 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
8745
8746         * many files: Add insetwrap.
8747
8748 2002-09-09  John Levon  <levon@movementarian.org>
8749
8750         * text2.C: remove confusing and awkward depth wraparound
8751
8752 2002-09-09  John Levon  <levon@movementarian.org>
8753
8754         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8755
8756         * buffer.h:
8757         * buffer.C: remove getIncludeonlyList()
8758
8759         * paragraph.C:
8760         * lyxfunc.C: remove headers
8761
8762 2002-09-09  Juergen Vigna  <jug@sad.it>
8763
8764         * text.C (getColumnNearX): fix form Michael this is most
8765         probably a cut&paste bug.
8766
8767 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8768
8769         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8770
8771         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8772         references, ws changes.
8773
8774         * text2.C (init): update counters after init
8775         (insertParagraph): no need to set counter on idividual paragraphs.
8776         (setCounter): access the counters object in the textclass object
8777         on in the buffer object.
8778         (updateCounters): ditto
8779
8780         * lyxtextclass.C: include counters.h, add variable ctrs_ as
8781         shared_ptr<Counters> to avoid loading counters.h in all
8782         compilation units.
8783         (LyXTextClass): initialize ctrs_
8784         (TextClassTags): add TC_COUNTER, and ...
8785         (Read): use it here.
8786         (CounterTags): new tags
8787         (readCounter): new function
8788         (counters): new funtion
8789         (defaultLayoutName): return a const reference
8790
8791         * counters.C (Counters): remove contructor
8792         (newCounter): remove a couple of unneeded statements.
8793         (newCounter): simplify a bit.
8794         (numberLabel): some small formatting changes.
8795
8796         * buffer.[Ch]: remove all traces of counters, move the Counters
8797         object to the LyXTextClass.
8798
8799 2002-09-06  Alain Castera  <castera@in2p3.fr>
8800
8801         * tabular.C: uses \tabularnewline; uses >{...} construct from array
8802         package to set the horizontal alignment on fixed width columns.
8803
8804         * lyx_sty.C:
8805         * lyx_sty.h: added tabularnewline macro def.
8806
8807         * LaTeXFeatures.C: added NeedTabularnewline macro feature
8808
8809 2002-09-06  John Levon  <levon@movementarian.org>
8810
8811         * LyXAction.C: tooltips for sub/superscript
8812
8813         * MenuBackend.C: a bit more verbose
8814
8815         * lyxfunc.C: tiny clean
8816
8817         * undo_funcs.C: document undo_frozen
8818
8819 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8820
8821         * counters.C (Counters): add missing algorithm counter.
8822
8823         * text2.C (setCounter): lookup the counter with layouts latexname
8824         instead of by section number.
8825         (setCounter): use a hackish way to lookup the correct enum
8826         counter.
8827         a float name->type change
8828         reset enum couners with counter name directly instead of depth value.
8829
8830         * counters.C (Counters): remove the push_backs, change to use the
8831         float type not the float name.
8832         (labelItem): remove unused string, float name->type change
8833
8834         * counters.h: don't include vector, loose the enums and sects vectors
8835
8836 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8837
8838         * lyxtextclass.C (TextClassTags): add TC_FLOAT
8839         (Read): add float->TC_FLOAT to textclassTags
8840         (Read): and handle it in the switch
8841         (readFloat): new function
8842
8843         * FloatList.C (FloatList): comment out the hardcoded float
8844         definitions.
8845
8846         * lyxlayout.h: ws change.
8847
8848 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
8849
8850         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8851
8852 2002-09-03  Angus Leeming  <leeming@lyx.org>
8853
8854         * BufferView_pimpl.h: qualified name is not allowed in member
8855         declaration: WorkArea & Pimpl::workarea() const;
8856
8857         * factory.C: added using std::endl directive.
8858
8859         * text3.C: added using std::find and std::vector directives.
8860
8861 2002-08-29  André Pönitz <poenitz@gmx.net>
8862
8863         * lyxtext.h:
8864         * text2.C: remove unused member number_of_rows
8865
8866         * Makefile.am:
8867         * BufferView2.C: remove file, move contents to...
8868         * BufferView.C: ... here
8869
8870         * BufferView_pimpl.C:
8871         * factory.C: move more inset creation to factory
8872
8873         * vspace.C: avoid direct usage of LyXText, ws changes
8874
8875         * BufferView.[Ch]:
8876                 don't provide direct access to WorkArea, use two simple
8877                 acessors haveSelction() and workHeight() instead
8878
8879
8880 2002-08-29  John Levon  <levon@movementarian.org>
8881
8882         * BufferView_pimpl.C (dispatch): do not continue when
8883           no buffer
8884
8885 2002-08-28  André Pönitz <poenitz@gmx.net>
8886
8887         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8888
8889         * BufferView.h:
8890         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8891
8892 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
8893
8894         * buffer.C: increment LYX_FORMAT to 221
8895
8896         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8897         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8898
8899         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8900
8901         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8902
8903 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8904
8905         * factory.C (createInset): use LyXTextClass::floats
8906
8907         * MenuBackend.C (expandFloatListInsert):
8908         (expandFloatInsert):
8909         (expandToc):
8910
8911         * text2.C (setCounter):
8912
8913         * LaTeXFeatures.C (useFloat):
8914         (getFloatDefinitions):
8915
8916         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8917
8918         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8919         floatlist_, with accessor floats().
8920
8921         * FloatList.h: remove global FloatList
8922
8923 2002-08-26  André Pönitz <poenitz@gmx.net>
8924
8925         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8926
8927         * BufferView.h:
8928         * BufferView2.C:
8929         * BufferView_pimpl.C:
8930         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8931
8932 2002-08-25  John Levon  <levon@movementarian.org>
8933
8934         * LyXAction.C: fix margin note description
8935
8936 2002-08-24  John Levon  <levon@movementarian.org>
8937
8938         * buffer.C:
8939         * bufferlist.C:
8940         * bufferview_funcs.C:
8941         * lyxfont.C:
8942         * undo_funcs.C: cleanups
8943
8944         * lyxfunc.C: disable CUT/COPY when no selection
8945
8946 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
8947
8948         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8949         in "enum UNIT"; e.g. PTW for Percent of TextWidth
8950
8951         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8952         Add backward compatibility to "mono", "gray" and "no".
8953
8954 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
8955
8956         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8957         (and file_format >= 200).
8958
8959 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8960
8961         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8962
8963 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8964
8965         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8966
8967 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
8968
8969         * BufferView_pimpl.C:
8970         * LyXAction.C:
8971         * buffer.C:
8972         * commandtags.h:
8973         * lyxfunc.C:
8974         * paragraph.[Ch]:
8975         * text2.C:
8976         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8977         inset and code to make it  work with the paragraph code. The inset
8978         can be anywhere in the paragraph, but will only do the expected
8979         thing in LaTeX if the layout file contains the parameter line
8980                         OptionalArgs    1
8981         (or more generally, a nonzero value) for that layout.
8982
8983 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
8984
8985         * paragraph.h: remove the declaration of undefined counters class
8986         function.
8987
8988 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
8989
8990         * text2.C (setCounter):  fixed enumeration mis-count as reported by
8991         Dr. Richard Hawkins.
8992
8993 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8994
8995         * paragraph_funcs.h: remove some unneeded includes
8996
8997         * text.C (backspace): pasteParagraph now in global scipe
8998
8999         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9000         (pasteSelection): ditto
9001
9002         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9003         * paragraph_funcs.C (pasteParagraph): ... here
9004
9005 2002-08-20  André Pönitz <poenitz@gmx.net>
9006
9007         * commandtags.h: new LFUNs for swapping/copying table row/colums
9008
9009         * LyXAction.C:
9010         * lyxfunc.C: support for new lfuns
9011
9012 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
9013
9014         * tabular.C:
9015         * buffer.[Ch]: remove NO_COMPABILITY stuff
9016
9017 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
9018
9019         * boost.C (throw_exception): new file, with helper function for
9020         boost compiled without exceptions.
9021
9022         * paragraph.h:
9023         * lyxlength.C:
9024         * buffer.C:
9025         * ParameterStruct.h:
9026         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9027
9028         * bufferlist.C (emergencyWriteAll): use boost bind
9029
9030         * BufferView_pimpl.C (moveCursorUpdate): remove inline
9031
9032         * text.C: include paragraph_funcs.h
9033         (breakParagraph): breakParagraph is now in global scope
9034
9035         * paragraph_funcs.[Ch]: new files
9036
9037         * paragraph.C (breakParagraph,breakParagraphConservative): move to
9038         global scope
9039
9040         * buffer.C: include paragraph_funcs.h
9041         (insertStringAsLines): breakParagraph is now in global scope
9042
9043         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9044         paragraph_funcs.C
9045
9046         * CutAndPaste.C: include paragraph_funcs.h
9047         (cutSelection): breakParagraphConservative is now in global scope
9048         (pasteSelection): ditto
9049
9050         * buffer.h: declare oprator== and operator!= for
9051         Buffer::inset_iterator
9052
9053         * bufferlist.C (emergencyWrite): don't use fmt(...)
9054
9055         * text3.C: add using std::endl
9056
9057         * BufferView.C (moveCursorUpdate): remove default arg
9058
9059 2002-08-20  André Pönitz <poenitz@gmx.net>
9060
9061         * buffer.[Ch]: move inline functions to .C
9062
9063         * BufferView2.C:
9064         * BufferView_pimpl.C:
9065         * text.C:
9066         * buffer.[Ch]: use improved inset_iterator
9067
9068         * buffer.C:
9069         * paragraph.[Ch]: write one paragraph at a time
9070
9071 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
9072
9073         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9074         style if style is not specified.
9075
9076 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9077
9078         * text2.C (setCounter): when searching for right label for a
9079         caption, make sure to recurse to parent insets (so that a caption
9080         in a minipage in a figure float works) (bug #568)
9081
9082 2002-08-20  André Pönitz <poenitz@gmx.net>
9083
9084         * text3.C: new file for LyXText::dispatch() and helpers
9085
9086         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9087
9088         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9089
9090 2002-08-19  André Pönitz <poenitz@gmx.net>
9091
9092         * lyxtext.h:
9093         * text.C: new LyXText::dispatch()
9094
9095         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9096
9097 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
9098
9099         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9100
9101         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9102         Hebrew text.
9103
9104 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9105
9106         * Makefile.am: use $(variables) instead of @substitutions@
9107
9108 2002-08-15  André Pönitz <poenitz@gmx.net>
9109
9110         * lyxfunc.C:
9111         * BufferView_pimpl.C: streamlining mathed <-> outer world
9112         interaction
9113
9114         * commandtags.h:
9115         * LyXAction.C: remove unused LFUN_MATH
9116
9117 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9118
9119         * paragraph.[Ch]: add some NO_NEXT ifdefs.
9120
9121 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9122
9123         * paragraph.C (Paragraph): reformat a bit
9124         (cutIntoMinibuffer): use builtin InsetList function instad of
9125         doing it manually.
9126         (getInset): ditto
9127
9128         * buffer.C: include boost/bind.hpp, add using std::for_each
9129         (writeFileAscii): use ParagraphList iterators
9130         (validate): use for_each for validate traversal of paragraphs
9131         (getBibkeyList): use ParagraphList iterators
9132         (resizeInsets): use for_each to resizeInsetsLyXText for all
9133         paragraphs.
9134         (getParFromID): use ParagraphList iterators
9135
9136         * BufferView2.C (lockInset): use paragraph list and iterators
9137
9138 2002-08-14  John Levon  <levon@movementarian.org>
9139
9140         * lyxserver.C: remove spurious xforms include
9141
9142 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9143
9144         * lyxfunc.C (getStatus): disable math-extern outside of math mode
9145
9146 2002-08-13  André Pönitz <poenitz@gmx.net>
9147
9148         * LyXAction.[Ch]:
9149         * lyxfunc.C: further cleaning
9150
9151 2002-08-13  André Pönitz <poenitz@gmx.net>
9152
9153         * funcrequest.h: new constructor
9154
9155         * funcrequest.C: move stuff here from .h
9156
9157         * Makefile.am:
9158         * BufferView_pimpl.C:
9159         * LyXAction.C:
9160         * toc.C:
9161         * lyxfunc.C: subsequent changes
9162
9163         * lyxfunc.h: new view() member function
9164
9165         * lyxfunc.C: subsequent changes
9166
9167 2002-08-13  Angus Leeming  <leeming@lyx.org>
9168
9169         * BufferView2.C:
9170         * BufferView_pimpl.C:
9171         * buffer.C:
9172         * converter.C:
9173         * importer.C:
9174         * lyxfunc.C:
9175         * lyxvc.C:
9176         * toc.C:
9177         * vc-backend.C:
9178         changes due to the changed LyXView interface that now returns references
9179         to member variables not pointers.
9180
9181 2002-08-13  Angus Leeming  <leeming@lyx.org>
9182
9183         * WordLangTuple (word, lang_code): return references to strings,
9184         not strings.
9185
9186         * BufferView.h:
9187         * SpellBase.h:
9188         * lyxtext.h: forward-declare WordLangTuple.
9189
9190         * BufferView2.C:
9191         * ispell.C:
9192         * pspell.C:
9193         * text.C: #include "WordLangTuple.h".
9194
9195         * lyxtext.h:
9196         * text.C: (selectNextWordToSpellcheck): constify return type.
9197
9198 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
9199
9200         * buffer.C:
9201         * buffer.h:
9202         * lyxtext.h:
9203         * paragraph.C:
9204         * paragraph_pimpl.h:
9205         * text.C:
9206         * text2.C:
9207         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9208         suggested by Angus.
9209         Made updateCounter always count from start of buffer, and removed
9210         second argument (par).
9211         Reverted floats number display to '#'. Perhaps I'll try again when the
9212         code base is sanitized a bit.
9213
9214 2002-08-12  Angus Leeming  <leeming@lyx.org>
9215
9216         * buffer.[Ch] (getLabelList): constify.
9217
9218 2002-08-07  André Pönitz <poenitz@gmx.net>
9219
9220         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9221
9222         * funcrequest.h: extension to keep mouse (x,y) position
9223
9224 2002-08-12  Juergen Vigna  <jug@sad.it>
9225
9226         * BufferView2.C (insertErrors): forbid undo when inserting error
9227         insets.
9228
9229         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9230
9231 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9232
9233         * ParagraphList.[Ch]: new files
9234
9235         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9236
9237         * BufferView2.C (lockInset): ParagraphList changes
9238         * toc.C: ditto
9239         * text2.C: ditto
9240         * bufferlist.C: ditto
9241         * buffer.h: ditto
9242         * buffer.C: ditto
9243
9244 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9245
9246         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9247         unused class variable counter_,
9248
9249         * paragraph.[Ch] (getFirstCounter): delete unused function
9250
9251         * counters.C: include LAssert.h
9252         (reset): add a new function with no arg, change other version to
9253         not have def. arg and to not allow empty arg.
9254
9255         * text2.C (setCounter): remove empty arg from call to Counters::reset
9256
9257 2002-08-11  John Levon  <levon@movementarian.org>
9258
9259         * Makefile.am: add WordLangTuple.h
9260
9261 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9262
9263         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9264         lyxfunc.C lyxlex_pimpl.C: ws changes only.
9265
9266         * insets/insettext.C: InsetList changes
9267
9268         * graphics/GraphicsSupport.C (operator()): InsetList changes
9269
9270         * toc.C (getTocList): InsetList changes
9271
9272         * paragraph_pimpl.[Ch]: InsetList changes
9273
9274         * paragraph.[Ch]: InsetList changes
9275
9276         * buffer.C (inset_iterator): InsetList changes
9277         (setParagraph): ditto
9278         * buffer.h (inset_iterator): ditto
9279         * iterators.C (operator++): ditto
9280         * iterators.h: ditto
9281
9282         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9283
9284         * InsetList.[Ch]: new files, most InsetList handling moved out of
9285         paragraph.C.
9286
9287         * BufferView2.C (removeAutoInsets): InsetList changes
9288         (lockInset): ditto
9289         (ChangeInsets): ditto
9290
9291 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
9292
9293         * paragraph_pimpl.h (empty): new function
9294
9295         * paragraph.[Ch] (empty): new function
9296
9297         * other files: use the new Paragraph::empty function
9298
9299 2002-08-09  John Levon  <levon@movementarian.org>
9300
9301         * lyxtext.h: remove unused refresh_height
9302
9303 2002-08-09  John Levon  <levon@movementarian.org>
9304
9305         * Makefile.am:
9306         * sgml.h:
9307         * sgml.C:
9308         * buffer.C:
9309         * paragraph.h:
9310         * paragraph.C: move sgml char escaping out of paragraph
9311
9312         * paragraph.h:
9313         * paragraph.C: remove id setter
9314
9315         * buffer.C:
9316         * paragraph.C:
9317         * paragraph_pimpl.C: remove dead tex_code_break_column
9318
9319         * bufferview_funcs.C: small cleanup
9320
9321         * lyxfunc.C: remove dead proto
9322
9323         * lyxtext.h: make some stuff private. Remove some dead stuff.
9324
9325         * lyxgluelength.C: make as[LyX]String() readable
9326
9327 2002-08-08  John Levon  <levon@movementarian.org>
9328
9329         * LyXAction.h:
9330         * LyXAction.C:
9331         * MenuBackend.C:
9332         * ToolbarDefaults.C:
9333         * lyxfunc.C:
9334         * lyxrc.C:
9335         * toc.C: lyxaction cleanup
9336
9337 2002-08-08  John Levon  <levon@movementarian.org>
9338
9339         * BufferView2.C: small cleanup
9340
9341         * lyxfind.h:
9342         * lyxfind.C: move unnecessary header into the .C
9343
9344 2002-08-08  John Levon  <levon@movementarian.org>
9345
9346         * funcrequest.h: just tedious nonsense
9347
9348         * lyx_main.h:
9349         * lyx_main.C: cleanups
9350
9351         * buffer.C:
9352         * vspace.C: remove dead header lyx_main.h
9353
9354 2002-08-07  Angus Leeming  <leeming@lyx.org>
9355
9356         * Paragraph.[Ch]:
9357         * paragraph_pimpl.h:
9358         Forward declare class Counters in paragraph.h by moving the ctrs member
9359         variable into Paragraph::Pimpl.
9360         (counters): new method, returning a reference to pimpl_->ctrs.
9361
9362         * text2.C: ensuing changes.
9363
9364 2002-08-07  John Levon  <levon@movementarian.org>
9365
9366         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9367
9368         * BufferView_pimpl.C: announce X selection on double/triple
9369           click
9370
9371         * lyx_main.C: use correct bool in batch dispatch
9372
9373         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9374
9375 2002-08-07  André Pönitz <poenitz@gmx.net>
9376
9377         * funcrequest.h: new class to wrap a kb_action and its argument
9378
9379         * BufferView.[Ch]:
9380         * BufferView_pimpl[Ch]:
9381         * LaTeX.C:
9382         * LyXAction.[Ch]:
9383         * lyxfunc.[Ch]:
9384         * lyxrc.C: subsequent changes
9385
9386
9387 2002-08-07  John Levon  <levon@movementarian.org>
9388
9389         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9390           document options change.
9391
9392 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
9393
9394         * counters.[Ch]
9395         * text2.C
9396         * paragraph.[Ch]
9397         * makefile.am: move counters functionality over from
9398         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9399
9400 2002-08-06  John Levon  <levon@movementarian.org>
9401
9402         * WordLangTuple.h: new file for word + language code tuple
9403
9404         * SpellBase.h:
9405         * pspell.h:
9406         * pspell.C:
9407         * ispell.h:
9408         * ispell.C:
9409         * lyxtext.h:
9410         * text.C:
9411         * text2.C:
9412         * BufferView.h:
9413         * BufferView2.C: use WordLangTuple
9414
9415         * layout.h:
9416         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9417
9418 2002-08-06  John Levon  <levon@movementarian.org>
9419
9420         * lyx_main.C: fix cmdline batch handling
9421
9422 2002-08-06  André Pönitz <poenitz@gmx.net>
9423
9424         * lyxrc.C: set default for show_banner to true
9425
9426 2002-08-06  John Levon  <levon@movementarian.org>
9427
9428         * pspell.C: fix a crash, and allow new aspell to work
9429
9430 2002-08-06  John Levon  <levon@movementarian.org>
9431
9432         * lyxfunc.C:
9433         * kbmap.C: small cleanup
9434
9435         * vspace.h:
9436         * vspace.C: add const
9437
9438 2002-08-05  John Levon  <levon@movementarian.org>
9439
9440         * LyXAction.C: back to tabular-insert
9441
9442 2002-08-04  John Levon  <levon@movementarian.org>
9443
9444         * BufferView.h:
9445         * BufferView.C: cosmetic change
9446
9447         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9448
9449         * bufferlist.C:
9450         * buffer.h:
9451         * buffer.C:
9452         * lyxcb.h:
9453         * lyxcb.C:
9454         * lyxserver.C:
9455         * lyxvc.C:
9456         * vc-backend.C:
9457         * BufferView2.C: purge all "Lyx" not "LyX" strings
9458
9459         * lyxcursor.h:
9460         * lyxcursor.C: attempt to add some documentation
9461
9462         * lyxfunc.C:
9463         * commandtags.h:
9464         * LyXAction.C:
9465         * ToolbarDefaults.C:
9466         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9467           merge with LFUN_TABULAR_INSERT
9468
9469         * Makefile.am:
9470         * SpellBase.h:
9471         * ispell.h:
9472         * ispell.C:
9473         * pspell.h:
9474         * pspell.C: split up i/pspell implementations into separate
9475           files, many cleanups
9476
9477         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9478
9479         * text2.C: some cleanup
9480
9481         * lyxfunc.C: don't check for isp_command == "none" any more, it
9482           didn't make any sense
9483
9484 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
9485
9486         * counters.[Ch]
9487         * text2.C
9488         * paragraph.[Ch]
9489         * makefile.am: move counters functionality over
9490         from text2.C/paragraph.[Ch] to counters.[Ch], and
9491         make proper C++.
9492 2002-08-02  John Levon  <levon@movementarian.org>
9493
9494         * buffer.C: s/lyxconvert/lyx2lyx/
9495
9496 2002-08-02  Angus Leeming  <leeming@lyx.org>
9497
9498         * lyxlex.C: revert John's change as it breaks reading of the user
9499         preamble.
9500
9501 2002-08-02  Angus Leeming  <leeming@lyx.org>
9502
9503         * importer.C (Import):
9504         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9505         changes due to LyXView::view() now returning a boost::shared_ptr.
9506
9507 2002-08-02  John Levon  <levon@movementarian.org>
9508
9509         * lyxlex.C: small cleanup
9510
9511 2002-08-02  John Levon  <levon@movementarian.org>
9512
9513         * text2.C (status): small cleanup, no logic change
9514
9515 2002-08-01  John Levon  <levon@movementarian.org>
9516
9517         * buffer.h:
9518         * buffer.C (writeFile): don't output alerts, caller
9519           handles this
9520
9521         * bufferlist.C:
9522         * lyx_cb.C: from above
9523
9524         * lyxfunc.C: allow to open non-existent files
9525
9526 2002-07-31  John Levon  <levon@movementarian.org>
9527
9528         * lyxserver.C: don't let incidental errors get
9529           in the way (errno)
9530
9531 2002-07-30  John Levon  <levon@movementarian.org>
9532
9533         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9534
9535 2002-07-30  John Levon  <levon@movementarian.org>
9536
9537         * lyxserver.h:
9538         * lyxserver.C: remove I/O callback too
9539
9540 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9541
9542         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9543         log.
9544
9545 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9546
9547         * many files: strip,frontStrip -> trim,ltrim,rtrim
9548
9549 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
9550
9551         * PrinterParams.h: remove extern containsOnly, and include
9552         support/lstrings.h instead.
9553
9554         * LaTeX.C (scanAuxFile): modify because of strip changes
9555         (deplog): ditto
9556         * buffer.C (makeLaTeXFile): ditto
9557         * bufferparams.C (writeFile): ditt
9558         * lyxfont.C (stateText): ditto
9559         * lyxserver.C (read_ready): ditto
9560         * vc-backend.C (scanMaster): ditto
9561
9562         * BufferView_pimpl.h: ws changes
9563
9564         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9565
9566 2002-07-26  André Pönitz <poenitz@gmx.net>
9567
9568         * kb_sequence.C: remove unnedred usings
9569
9570 2002-07-26  Juergen Vigna  <jug@sad.it>
9571
9572         * lyxfind.C (LyXReplace): we have to check better if the returned
9573         text is not of theLockingInset()->getLockingInset().
9574
9575 2002-07-25  Juergen Vigna  <jug@sad.it>
9576
9577         * lyxfind.C (LyXReplace): don't replace if we don't get the
9578         right LyXText.
9579
9580         * undo_funcs.C (createUndo): remove debugging code.
9581
9582 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
9583
9584         * buffer.C (parseSingleLyXformat2Token): Use default placement
9585         when reading old floats.
9586
9587         * FloatList.C (FloatList): Change the default placement of figure
9588         and tables to "tbp".
9589
9590 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
9591
9592         * MenuBackend.C: using std::max
9593
9594 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9595
9596         * MenuBackend.C (expandToc):
9597         (expandToc2): code moved from xforms menu frontend. It is now
9598         generic and TOCs are transparent to menu frontends.
9599
9600 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9601
9602         * toc.C (getTocList): protect against buf=0
9603
9604         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9605         Menu as first parameter. Now, this calls itself recursively to
9606         expand a whole tree (this will be useful for TOC handling)
9607         (expandFloatInsert): remove 'wide' version of floats
9608
9609         * MenuBackend.h (submenuname): returns the name of the submenu.
9610         (submenu): returns the submenu itself, provided it has been
9611         created by MenuBackend::expand
9612
9613 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9614
9615         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9616         insets which have noFontChange == true. (bug #172)
9617
9618 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9619
9620         * BufferView_pimpl.C: add connection objects and use them...
9621         (Pimpl): here.
9622
9623 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9624
9625         * MenuBackend.C (expandLastfiles):
9626         (expandDocuments):
9627         (expandFormats):
9628         (expandFloatListInsert):
9629         (expandFloatInsert):
9630         (expand): split expand in parts
9631
9632 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9633
9634         * lyx_gui.C: use lyx_gui::exit()
9635
9636 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9637
9638         * LyXAction.C: show the failing pseudo action
9639
9640 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
9641
9642         * buffer.C (readFile): Run the lyxconvert script in order to read
9643         old files.
9644
9645 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9646
9647         * LyXAction.C:
9648         * commandtags.h:
9649         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9650
9651 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9652
9653         * LyXAction.C:
9654         * commandtags.h:
9655         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9656
9657 2002-07-22  Herbert Voss  <voss@lyx.org>
9658
9659         * lengthcommon.C:
9660         * lyxlength.[Ch]: add support for the vertical lengths
9661
9662 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
9663
9664         * toc.[Ch]: std:: fixes
9665
9666 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9667
9668         * lyxrc.C: do not include lyx_main.h
9669
9670         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9671         for layouts
9672
9673         * lyxrc.C:
9674         * encoding.C:
9675         * bufferlist.C:
9676         * BufferView2.C: include "lyxlex.h"
9677
9678         * tabular.h:
9679         * bufferparams.h: do not #include "lyxlex.h"
9680
9681         * lyxtextclasslist.C (Add): remove method
9682         (classlist): renamed to classlist_
9683
9684         * paragraph_pimpl.C:
9685         * paragraph.C:
9686         * text2.C:
9687         * CutAndPaste.C:
9688         * bufferview_funcs.C:
9689         * bufferlist.C:
9690         * text.C:
9691         * LaTeXFeatures.C:
9692         * buffer.C:
9693         * toc.C (getTocList): use BufferParams::getLyXTextClass
9694
9695         * toc.C (getTocList): use InsetFloat::addToToc
9696
9697         * toc.[Ch]: new files, containing helper functions to handle table
9698         of contents
9699
9700         * lyxfunc.C (dispatch): no need to remove spaces around command
9701         given as a string
9702         (getStatus): handle LFUN_SEQUENCE by returning the status of the
9703         first command of the sequence; it is not very clever, but I do not
9704         have a better idea, actually
9705
9706         * LyXAction.C (LookupFunc): make sure to remove space at the
9707         beginning and end of the command
9708
9709 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9710
9711         * MenuBackend.C (getMenubar): new method: return the menubar of
9712         this menu set
9713         (read): treat differently reading of menu and menubar (in
9714         particular, the menubar has no name now)
9715         (Menu::menubar): remove
9716
9717         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9718         saving is finished
9719
9720 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9721
9722         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9723         a bibitem inset in a RTL paragraph.
9724
9725 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
9726
9727         * paragraph_pimpl.C: constify
9728
9729         * BufferView_pimpl.C:
9730         * LaTeX.C:
9731         * lyxfunc.C: fix dispatch in a nicer way
9732
9733 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9734
9735         * lyxfunc.C (dispatch):
9736         * BufferView_pimpl.C:
9737         * BufferView_pimpl.h:
9738         * BufferView.C:
9739         * BufferView.h: rename Dispatch() to dispatch()
9740
9741         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9742
9743         * lyxlayout.C (Read): honor DependsOn tag
9744
9745         * lyxlayout.[Ch] (depends_on): new method
9746
9747         * version.C.in: update lyx_docversion
9748
9749         * LaTeXFeatures.C (getMacros): only define \LyX when needed
9750
9751         * paragraph.C (validate): remove from here...
9752         * paragraph_pimpl.C (validate): ... and move here
9753         (isTextAt): make it const
9754
9755         * buffer.C (getLists): ws cleanup
9756
9757 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9758
9759         * language.C (read): Use iso8859-1 encoding in latex_lang
9760         (this prevents LyX from crashing when using iso10646-1 encoding).
9761
9762 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9763
9764         * text2.C (toggleInset): if cursor is inside an inset, close the
9765         inset and leave cursor _after_ it
9766
9767 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9768
9769         * lyxfunc.C: move minibuffer completion handling out of here
9770
9771 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9772
9773         * BufferView_pimpl.C:
9774         * LaTeX.C: fix dispatch calls
9775
9776 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
9777
9778         * text.C (drawChars): Fix Arabic text rendering.
9779
9780 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
9781
9782         * LyXAction.C:
9783         * commandtags.h:
9784         * lyxfunc.C: remove message-push/pop
9785
9786         * lyxserver.C:
9787         * lyxfunc.h:
9788         * lyxfunc.C: rationalise some code by removing verboseDispatch
9789           in favour of a bool argument to dispatch()
9790
9791 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9792
9793         * lyx_main.C (init): make sure to read symlinks as absolute paths
9794
9795 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9796
9797         * lyxfunc.h:
9798         * lyxfunc.C: no need for commandshortcut to be a member
9799
9800 2002-07-15  André Pönitz <poenitz@gmx.net>
9801
9802         * converter.C: add support for $$s (scripts from lib/scripts dir)
9803         * lyx_main.C: white space
9804
9805 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9806
9807         * bufferlist.C:
9808         * lyxrc.h:
9809         * lyxrc.C: remove second exit confirmation
9810
9811 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9812
9813         * BufferView.h:
9814         * BufferView.C:
9815         * BufferView2.C:
9816         * BufferView_pimpl.h:
9817         * BufferView_pimpl.C:
9818         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9819
9820 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9821
9822         * MenuBackend.C (expand): add numeric shortcuts to document menu
9823
9824         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9825
9826 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9827
9828         * lyxfont.C (setLyXFamily):
9829         (setLyXSeries):
9830         (setLyXShape):
9831         (setLyXSize):
9832         (setLyXMisc):
9833         (lyxRead):
9834         * debug.C (value):
9835         * buffer.C (asciiParagraph): use ascii_lowercase
9836
9837 2002-07-15  Mike Fabian  <mfabian@suse.de>
9838
9839         * lyxlex_pimpl.C (search_kw):
9840         * lyxlex.C (getLongString):
9841         * converter.h (operator<):
9842         * converter.C (operator<):
9843         * buffer.C (parseSingleLyXformat2Token):
9844         (asciiParagraph):
9845         * ToolbarDefaults.C (read):
9846         * MenuBackend.C (checkShortcuts):
9847         (read):
9848         * LColor.C (getFromGUIName):
9849         (getFromLyXName): use the compare_ascii_no_case instead of
9850         compare_no_case, because in turkish, 'i' is not the lowercase
9851         version of 'I', and thus turkish locale breaks parsing of tags.
9852
9853 2002-07-16  Angus Leeming  <leeming@lyx.org>
9854
9855         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9856         now takes a Buffer const & argument.
9857
9858 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
9859
9860         * BufferView.C (resize): check there's a buffer to resize
9861
9862 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
9863
9864         * lyxfunc.C: remove dead code
9865
9866         * lyxserver.h:
9867         * lyxserver.C: use lyx_guii::set_read_callback
9868
9869 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
9870
9871         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9872         an inset in a RTL paragraph.
9873
9874 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9875
9876         * lyxfunc.C: repaint after a font size update
9877
9878 2002-07-15  André Pönitz <poenitz@gmx.net>
9879
9880         * lyxlength.C: inBP should be able to return negative values
9881
9882 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9883
9884         * lyxfunc.C: use lyx_gui::update_fonts()
9885
9886 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9887
9888         * lyxfunc.C: use lyx_gui::update_color()
9889
9890 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9891
9892         * bufferlist.C:
9893         * lyxfunc.h:
9894         * lyxfunc.C:
9895         * lyxrc.h:
9896         * lyxrc.C: remove file->new asks for name option, and let
9897           buffer-new take an argument
9898
9899 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9900
9901         * BufferView_pimpl.C: remove unneeded extra repaint()
9902
9903 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
9904
9905         * LyXAction.C: allow command-sequence with NoBuffer
9906
9907         * lyxfunc.C: don't insist on trailing ';' for command-sequence
9908
9909 2002-07-10  Angus Leeming  <leeming@lyx.org>
9910
9911         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9912
9913 2002-07-09  Angus Leeming  <leeming@lyx.org>
9914
9915         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9916
9917 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9918
9919         * lengthcommon.h: whitespace
9920
9921         * lyxfunc.C: update scrollbar after goto paragraph
9922
9923         * lyxtext.h: factor out page break drawing, and fix it so
9924           page break/added space paints as selected nicely
9925
9926 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9927
9928         * BufferView_pimpl.C: add FIXMEs, clean up a little
9929
9930 2002-07-09  André Pönitz <poenitz@gmx.net>
9931
9932         * lyxfont.[Ch]: support for wasy symbols
9933
9934 2002-07-08  André Pönitz <poenitz@gmx.net>
9935
9936         * BufferView_pimpl.C: apply John's patch for #93.
9937
9938 2002-07-05  Angus Leeming  <leeming@lyx.org>
9939
9940         * BufferView_pimpl.C (buffer): generate previews if desired.
9941
9942         * LColor.h: add "preview" to the color enum.
9943
9944         * LColor.C (LColor): add a corresponding entry to the items array.
9945
9946         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9947         with this buffer.
9948
9949 2002-07-05  Angus Leeming  <leeming@lyx.org>
9950
9951         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9952         The body of the code is now in the method that is passed an ostream &
9953         rather than a file name.
9954         Pass an additional only_preamble parameter, useful for the forthcoming
9955         preview stuff.
9956
9957 2002-07-03  André Pönitz <poenitz@gmx.net>
9958
9959         * lyxfunc.C: simplify getStatus() a bit for math stuff
9960
9961 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9962
9963         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9964
9965 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9966
9967         * text.C (changeRegionCase): do not change case of all the
9968         document when region ends at paragraph end (bug #461)
9969
9970 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9971
9972         * paragraph.C (startTeXParParams):
9973         (endTeXParParams): add \protect when necessary
9974
9975 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9976
9977         * BufferView_pimpl.C (workAreaExpose): remove warning
9978
9979 2002-06-27  Angus Leeming  <leeming@lyx.org>
9980
9981         * Makefile.am: add lyxlayout_ptr_fwd.h.
9982
9983 2002-06-26  André Pönitz <poenitz@gmx.net>
9984
9985         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9986
9987 2002-06-25  Angus Leeming  <leeming@lyx.org>
9988
9989         * lyxfunc.C (dispatch): Comment out the call to
9990         grfx::GCache::changeDisplay. The method no longer exists now that the
9991         pixmap generation part of the graphics loader has been moved into
9992         InsetGraphics.
9993
9994 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9995
9996         * text2.C: layout as layout
9997
9998         * text.C: layout as layout
9999
10000         * tabular.C (OldFormatRead): layout as layout
10001
10002         * paragraph_pimpl.C (TeXDeeper): layout as layout
10003         (realizeFont): layout as layout
10004
10005         * paragraph.C (writeFile): layout as layout
10006         (validate): layout as layout
10007         (getFont): layout as layout
10008         (getLabelFont): layout as layout
10009         (getLayoutFont): layout as layout
10010         (breakParagraph): layout as layout
10011         (stripLeadingSpaces): layout as layout
10012         (getEndLabel): layout as layout
10013         (getMaxDepthAfter): layout as layout
10014         (applyLayout): layout as layout
10015         (TeXOnePar): layout as layout
10016         (simpleTeXOnePar): layout as layout
10017         (TeXEnvironment): layout as layout
10018         (layout): layout as layout
10019         (layout): layout as layout
10020
10021         * lyxtextclass.C (compare_name): new functor to work with
10022         shared_ptr, layout as layout
10023         (Read): layout as layout
10024         (hasLayout): layout as layout
10025         (operator): layout as layout
10026         (delete_layout): layout as layout
10027         (defaultLayout): layout as layout
10028
10029         * lyxlayout_ptr_fwd.h: new file
10030
10031         * lyxlayout.C (Read): layout as layout
10032
10033         * lyx_cb.C (MenuInsertLabel): layout as layout
10034
10035         * bufferlist.C (newFile): layout as layout
10036
10037         * buffer.C (readLyXformat2): layout as layout
10038         (parseSingleLyXformat2Token): layout as layout
10039         (insertStringAsLines): layout as layout
10040         (asciiParagraph): layout as layout
10041         (latexParagraphs): layout as layout
10042         (makeLinuxDocFile): layout as layout
10043         (simpleLinuxDocOnePar): layout as layout
10044         (makeDocBookFile): layout as layout
10045         (simpleDocBookOnePar): layout as layout
10046         (getLists): layout as layout
10047
10048         * LaTeXFeatures.C (getTClassPreamble): layout as layout
10049
10050         * CutAndPaste.C (cutSelection): layout as layout
10051         (pasteSelection): layout as layout
10052         (SwitchLayoutsBetweenClasses): layout as layout
10053
10054         * BufferView_pimpl.C (Dispatch): layout as layout
10055         (smartQuote): layout as layout
10056
10057         * BufferView2.C (unlockInset): layout as layout
10058
10059 2002-06-24  André Pönitz <poenitz@gmx.net>
10060
10061         * lyxfunc.C: fix #487
10062
10063 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10064
10065         * lyxrc.h:
10066         * lyxrc.C:
10067         * lyxfunc.C: remove display_shortcuts, show_banner
10068
10069 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10070
10071         * Buffer_pimpl.C: oops, update on resize
10072
10073 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10074
10075         * buffer.C:
10076         * converter.C:
10077         * exporter.C:
10078         * lyxfunc.C:
10079         * BufferView.h:
10080         * BufferView.C: use repaint()
10081
10082         * BufferView_pimpl.h:
10083         * BufferView_pimpl.C: s/updateScreen()/repaint()/
10084           as it's a clearer description. Remove superfluous
10085           redraws.
10086
10087 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10088
10089         * text.C: fix bug 488. Not ideal, but getting
10090           getWord() to work properly for the insets that
10091           matter is more difficult ...
10092
10093 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10094
10095         * BufferView_pimpl.C:
10096         * LyXAction.C:
10097         * commandtags.h:
10098         * lyxfunc.C: remove the six million index lyxfuncs to just
10099           one, and DTRT (bug 458)
10100
10101 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10102
10103         * BufferView.h:
10104         * BufferView.C:
10105         * BufferView_pimpl.h:
10106         * BufferView_pimpl.C: clean up resize() stuff,
10107           and unnecessary updateScreen()s
10108
10109 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10110
10111         * BufferView.h:
10112         * BufferView.C:
10113         * BufferView_pimpl.h:
10114         * BufferView_pimpl.C:
10115         * lyxfind.h:
10116         * lyxfind.C:
10117         * minibuffer.C: remove focus management of workarea,
10118           not needed. Use screen's greyOut()
10119
10120 2002-06-17  Herbert Voss  <voss@lyx.org>
10121
10122         * converter.C: (convert) do not post a message, when converting
10123         fails, let the calling function decide what to do in this case
10124
10125 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
10126
10127         * lyxfunc.C: tidy up a little
10128
10129 2002-06-16    <alstrup@diku.dk>
10130
10131         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10132         Got rid of FORMS_H_LOCATION include. Now we are
10133         GUII.
10134
10135 2002-06-15  LyX Development team  <lyx@rilke>
10136
10137         * buffer.[Ch] (sgmlOpenTag):
10138         (sgmlCloseTag): Added support for avoiding pernicious mixed
10139         content. Return number of lines written.
10140
10141         (makeLinuxDocFile):
10142         (makeDocBookFile): Fixed calls to sgml*Tag.
10143         Simple white space clean.
10144
10145         (simpleDocBookOnePar): Simple white space clean.
10146
10147         * tabular.[Ch] (docBook): Renamed to docbook and got another
10148         argument to related with the pernicious mixed content.
10149
10150         (docbookRow): Fixed calls for docbook inset method.
10151
10152 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
10153
10154         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10155         so it's X11 independent.
10156
10157         * kb*.[Ch]: ditto.
10158
10159         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10160
10161 2002-06-15  Lyx Development team  <lyx@electronia>
10162
10163         * intl.h: Renamed getTrans to getTransManager.
10164
10165 2002-06-14  Angus Leeming  <leeming@lyx.org>
10166
10167         * Makefile.am: nuke forgotten stl_string_fwd.h.
10168
10169 2002-06-12  Angus Leeming  <leeming@lyx.org>
10170
10171         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10172
10173 2002-06-13  Angus Leeming  <leeming@lyx.org>
10174
10175         * LaTeX.C:
10176         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10177
10178 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
10179
10180         * kbmap.C (getiso): add support for cyrillic and greek
10181
10182 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10183
10184         * BufferView.h:
10185         * BufferView.C:
10186         * BufferView_pimpl.h:
10187         * BufferView_pimpl.C: move bogus scrolling logic
10188           to xforms
10189
10190 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10191
10192         * lyxfunc.C:
10193         * BufferView_pimpl.C: view->resize() change
10194
10195 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10196
10197         * BufferView_pimpl.C: topCursorVisible
10198           prototype change
10199
10200 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10201
10202         * Makefile.am:
10203         * lyx_gui.h:
10204         * lyx_gui.C: move to frontends/
10205
10206         * main.C:
10207         * lyx_main.h:
10208         * lyx_main.C: changes from above
10209
10210 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10211
10212         * intl.C:
10213         * intl.h:
10214         * kbmap.C:
10215         * kbsequence.C:
10216         * lyx_cb.C:
10217         * lyx_main.C: minor tidy
10218
10219 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10220
10221         * BufferView_pimpl.h:
10222         * BufferView_pimpl.C:
10223         * BufferView.h:
10224         * BufferView.C: make painter() const,
10225           remove dead code
10226
10227         * BufferView2.C: use screen() accessor
10228
10229         * lyx_main.h:
10230         * lyx_main.C: some minor cleanup
10231
10232 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10233
10234         * BufferView_pimpl.h:
10235         * BufferView_pimpl.C: remove enter/leaveView,
10236           use workHeight()
10237
10238 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10239
10240         * BufferView.h:
10241         * BufferView.C:
10242         * BufferView2.C:
10243         * BufferView_pimpl.h:
10244         * BufferView_pimpl.C: only construct screen once,
10245           rename
10246
10247         * lyxrc.C: remove pointless comment
10248
10249 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10250
10251         * BufferView.h:
10252         * BufferView.C: remove active() and belowMouse()
10253
10254         * BufferView_pimpl.h:
10255         * BufferView_pimpl.C: use workarea() not workarea_,
10256           and make it use a scoped_ptr instead
10257
10258 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10259
10260         * lyx_gui.C: add debug message on BadWindow
10261
10262 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10263
10264         * sp_spell.C: fdopen is not part of the C++ standard.
10265
10266         * paragraph.C (InsetIterator): use >= instead of ==
10267
10268 2002-06-07  Angus Leeming  <leeming@lyx.org>
10269
10270         Fixes needed to compile with Compaq cxx 6.5.
10271         * BufferView_pimpl.C:
10272         * DepTable.C:
10273         * buffer.C:
10274         * converter.C:
10275         * encoding.C:
10276         * lyx_gui.C:
10277         * lyx_main.C:
10278         * lyxtextclasslist.C:
10279         * minibuffer.C:
10280         * sp_spell.C:
10281         * tabular_funcs.C:
10282         * vc-backend.C:
10283         all c-library variables have been moved into namespace std. Wrap
10284         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10285
10286         * lyxlength.C:
10287         * tabular-old.C:
10288         * tabular.C:
10289         Add a using std::abs declaration.
10290
10291         * kbmap.h (modifier_pair):
10292         * paragraph.h (InsetTable, InsetList):
10293         * lyxfont.h (FontBits):
10294         type definition made public.
10295
10296         * bufferlist.C (emergencyWriteAll): the compiler complains that
10297         there is more than one possible lyx::class_fun template to choose from.
10298         I re-named the void specialisation as lyx::void_class_fun.
10299
10300         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10301
10302         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10303         the compiler is is unable to find tostr in write_attribute.
10304
10305 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10306
10307         * buffer.C (sgmlError): hide #warning
10308
10309 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10310
10311         * xtl/*: get rid of xtl, which is not in use anyway
10312
10313         * LyXAction.C (init):
10314         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10315         were unimplemented xtl experimentation
10316
10317 2002-06-04  André Pönitz <poenitz@gmx.net>
10318
10319         * lyxfunc.C: disable array operation on simple formulae
10320
10321 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
10322
10323         * converter.C: constify a bit
10324
10325 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
10326
10327         * lyx_gui.C: check xforms version correctly
10328
10329 2002-04-30  Herbert Voss  <voss@lyx.org>
10330
10331         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10332         "keep" option
10333
10334 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
10335
10336         * lyxvc.C: fix bug 416 (make sure buffer is saved before
10337           attempt to register it with a VCS)
10338
10339 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10340
10341         * lyx_main.C (init): honor variables LYX_DIR_13x and
10342         LYX_USERDIR_13x
10343
10344 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10345
10346         * buffer.h:
10347         * buffer.C:
10348         * lyx_main.C: fix a crash on bad command line,
10349           and give a useful exit status on error
10350
10351         * lyxfunc.C (doImport): allow -i lyx to work
10352
10353 2002-03-30  André Pönitz <poenitz@gmx.net>
10354
10355         * lyxfunc.C: mathed font changes
10356
10357 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10358
10359         * LaTeX.C:
10360         * importer.h:
10361         * importer.C:
10362         * lyx_sty.h:
10363         * lyx_sty.C:
10364         * lyxlex.C:
10365         * lyxrow.h:
10366         * lyxtext.h:
10367         * paragraph.h:
10368         * paragraph.C:
10369         * texrow.h:
10370         * texrow.C:
10371         * text.C:
10372         * trans_mgr.h: srcdocs, and some minor cleanups
10373
10374 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10375
10376         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10377         call getFont all the time)
10378
10379 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10380
10381         * switch from SigC signals to boost::signals
10382
10383 2002-05-29  André Pönitz <poenitz@gmx.net>
10384
10385         * paragraph_pimpl.C (getChar): don't call size() too often...
10386
10387 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10388
10389         * paragraph_pimpl.C (insertChar): do not try to update tables when
10390         appending (pos == size())
10391
10392         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10393         in order to reduce drastically the number of comparisons needed to
10394         parse a large document
10395
10396 2002-05-29  André Pönitz <poenitz@gmx.net>
10397
10398         * text.C:
10399         * text2.C:
10400         * lyxtextclass.C:
10401         * sp_pspell.h:
10402         * textclasslist.[Ch]:
10403         * sp_ispell.h: whitespace change
10404
10405 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10406
10407         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10408         lyxaction directly now.
10409
10410 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
10411
10412         * trans.C:
10413         * lyxfont.C:
10414         * lyxvc.C: remove unused headers
10415
10416 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10417
10418         * Makefile.am:
10419         * buffer.h:
10420         * undostack.h:
10421         * undostack.C:
10422         * undo_funcs.h:
10423         * undo_funcs.C: some cleanups. Use shared_ptr
10424           and a template for the undo stacks.
10425
10426 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10427
10428         * BufferView_pimpl.h:
10429         * BufferView_pimpl.C:
10430         * kbmap.h:
10431         * kbmap.C:
10432         * kbsequence.h:
10433         * kbsequence.C:
10434         * lyxfunc.h:
10435         * lyxfunc.C:
10436         * text2.C: use key_state/mouse_state
10437
10438 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10439
10440         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10441         and LSubstring
10442
10443         * chset.C: change include order
10444         (loadFile): use boost regex and get rid of LRegex and LSubstring
10445
10446         * Makefile.am (BOOST_LIBS): new variable
10447         (lyx_LDADD): use it
10448
10449         * LaTeX.C: change include order.
10450         (scanAuxFile): use boost regex and get rid of LRegex and
10451         LSubstring
10452         (deplog): ditto
10453
10454 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10455
10456         * ColorHandler.h:
10457         * ColorHandler.C:
10458         * FontInfo.h:
10459         * FontInfo.C: moved to frontends/xforms/
10460
10461         * FontLoader.h:
10462         * FontLoader.C: moved into frontends for GUIIzation
10463
10464         * Makefile.am:
10465         * lyx_gui.C:
10466         * lyxfont.C:
10467         * lyxfunc.C: changes from above
10468
10469 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10470
10471         * LColor.C: remove spurious X include
10472
10473         * BufferView_pimpl.C:
10474         * Makefile.am:
10475         * font.h:
10476         * font.C:
10477         * text.C:
10478         * text2.C: move font metrics to frontends/
10479
10480 2002-05-24  Juergen Vigna  <jug@sad.it>
10481
10482         * undo_funcs.C (textHandleUndo): fix the cursor selection after
10483         setting the undo_cursor.
10484
10485         * ParagraphParameters.h: include local includes first.
10486
10487 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10488
10489         * BufferView_pimpl.C:
10490         * BufferView_pimpl.h:
10491         * Makefile.am:
10492         * WorkArea.h:
10493         * WorkArea.C:
10494         * screen.C: move WorkArea into frontends/
10495
10496         * lyxscreen.h:
10497         * screen.C:
10498         * text.C:
10499         * BufferView.C:
10500         * BufferView2.C: move LyXScreen into frontends/
10501
10502         * lyxlookup.h:
10503         * lyxlookup.C:
10504         * lyx_gui.C: move lyxlookup into frontends/xforms/
10505
10506 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10507
10508         * BufferView2.C:
10509         * BufferView_pimpl.C:
10510         * FontLoader.C:
10511         * LyXView.h:
10512         * LyXView.C:
10513         * Makefile.am:
10514         * WorkArea.C:
10515         * XFormsView.h:
10516         * XFormsView.C:
10517         * buffer.C:
10518         * bufferlist.C:
10519         * bufferview_funcs.C:
10520         * converter.C:
10521         * importer.C:
10522         * lyx_cb.C:
10523         * lyx_gui.C:
10524         * lyx_main.C:
10525         * lyx_find.C:
10526         * lyxfunc.C:
10527         * lyxvc.C:
10528         * minibuffer.C:
10529         * text.C:
10530         * text2.C:
10531         * trans.C:
10532         * vc-backend.C: move LyX/XFormsView into frontends/
10533
10534 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10535
10536         * Makefile.am:
10537         * PainterBase.C:
10538         * PainterBase.h:
10539         * Painter.C:
10540         * Painter.h:
10541         * WorkArea.C:
10542         * WorkArea.h:
10543         * screen.C:
10544         * tabular.C:
10545         * text.C:
10546         * text2.C: move Painter to frontends/
10547
10548 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10549
10550         * buffer.C: comment out some some code that depend upon lyx_format
10551         < 220
10552
10553         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10554         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10555
10556         * buffer.h (NO_COMPABILITY): turn off compability
10557
10558         * ColorHandler.C: include scoped_array.hpp
10559
10560         * font.C: Use more specific smart_ptr header.
10561         * Painter.C: ditto
10562         * gettext.C: ditto
10563         * ShareContainer.h: ditto
10564         * lyx_main.h: ditto
10565         * kbmap.h: ditto
10566         * FontInfo.h: ditto
10567         * BufferView_pimpl.h: ditto
10568         * ColorHandler.h: ditto
10569
10570         * kbmap.C (defkey): change call to shared_ptr::reset
10571
10572 2002-05-21  Juergen Vigna  <jug@sad.it>
10573
10574         * buffer.C (insertErtContents): fix to insert ert asis if it is
10575         non empty. Skip it completely if it contains only whitespaces.
10576
10577 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
10578
10579         * BufferView_pimpl.C:
10580         * BufferView2.C: clear selection on paste (bug 393)
10581
10582 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10583
10584         * DepTable.C: include ctime
10585
10586 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
10587
10588         * buffer.C (latexParagraphs): Add new argument (moving_arg).
10589
10590 2002-05-14  Juergen Vigna  <jug@sad.it>
10591
10592         * text.C (breakParagraph): fixed function to honor the keepempty
10593         layout in the right maner and also to permit the right breaking
10594         algorithm on empty or non empyt keepempty paragraphs.
10595
10596         * paragraph.C (breakParagraph): we have to check also if the par
10597         is really empty (!size()) for isempty otherwise we do the wrong
10598         paragraph break.
10599
10600 2002-05-10  Juergen Vigna  <jug@sad.it>
10601
10602         * buffer.[Ch] : The following are only changes to the ert
10603         compatibility read reading old LaTeX layout and font stuff and
10604         convert it to ERTInsets.
10605
10606         * buffer.h: added isErtInset().
10607
10608         * buffer.C (struct ErtComp): add a fromlayout bool to check
10609         if we're inside a LaTeX layout.
10610         (isErtInset): new helper function.
10611         (insertErtContents): look for other ert insets before this one
10612         and insert the contents there, so that we don't have subsequent
10613         ERT insets with nothing between them. This way we create only one
10614         inset with multiple paragraphs. Also check if we don't insert only
10615         spaces ' ' as they are ignored anyway afterwards in the .tex file
10616         so if we have only spaces we will ignore this latex part in the
10617         new file.
10618         (parseSingleLyXformat2Token \\layout): better compatibility when
10619         reading layout-latex stuff.
10620         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10621         language tag.
10622         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10623         stuff after reading the inset only get the information back from
10624         the stack.
10625
10626 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
10627
10628         * buffer.C (makeLaTeXFile): Put language options after loading babel.
10629
10630         * LaTeXFeatures.C (getBabelOptions): New method.
10631
10632 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10633
10634         * BufferView_pimpl.C (Dispatch): work around missing argument for
10635         'layout'
10636
10637 2002-05-08  Juergen Vigna  <jug@sad.it>
10638
10639         * text.C (leftMargin): handle paragraph leftindent.
10640
10641         * paragraph.C (writeFile): write the new \\leftindent tag.
10642         (validate): handle leftindent code.
10643         (TeXEnvironment): handle paragraphleftindent code again.
10644
10645         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10646
10647         * buffer.C (parseSingleLyXformat2Token): added compatibility code
10648         for paragrap_extra indent code and new token \\leftindent.
10649         (latexParagraphs): handle the leftindent as environment.
10650
10651         * ParameterStruct.h: added leftindent support.
10652
10653         * ParagraphParameters.C (leftIndent): added support functions for
10654         the paragraph left indent.
10655
10656         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10657         more appropriate.
10658
10659 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
10660
10661         * paragraph.C (isRightToLeftPar): Return false for a paragraph
10662         inside insetERT.
10663
10664         * text.C (computeBidiTables): No bidi in insetERT.
10665
10666         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10667         in RTL documents.
10668
10669 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10670
10671         * version.C.in: pre 5
10672
10673 2002-05-02  José Matos  <jamatos@fep.up.pt>
10674         * buffer.C (makeDocBookFile): white space changes, add newline to
10675         command styles.
10676         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10677
10678         * tabular.C (docBook): fix typo.
10679
10680 2002-05-03  Juergen Vigna  <jug@sad.it>
10681
10682         * screen.C (drawFromTo): recalculate the rowpointer if we had a
10683         change in LyXText as we can not be sure it was not freed.
10684         (drawOneRow): remove unused code.
10685
10686         * text.C (drawInset): redo the calculation of the need_break_row as
10687         it could have a row which was already freed.
10688         (draw): look at the return value of drawInset and return false if
10689         it also returned false.
10690         (paintRowText): look at the return value of draw and return false if
10691         it also returned false.
10692
10693         * lyxtext.h: added bool return type to drawInset() and draw() so that
10694         if we have a change in the row so that the rowbreak has to be redone
10695         we abort drawing as it will be called again.
10696
10697 2002-05-02  Juergen Vigna  <jug@sad.it>
10698
10699         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10700         a change in the maintext also if we're inside an inset.
10701         (Dispatch): set the cursor again after a break line and after the
10702         screen has been updated as it could be we're in a different row.
10703
10704         * text2.C (fixCursorAfterDelete): check to make sure we don't request
10705         to set the cursor behind the pargraph with > size().
10706         (setCursor): check also for the same paragraph when checking where
10707         to put the cursor if we have a NFR inset.
10708
10709         * buffer.C (parseSingleLyXformat2Token): move the compatibility
10710         parts of layout read further up as it still was in the wrong
10711         position.
10712
10713 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10714
10715         * screen.C (drawFromTo): change sine fullRebreak always return
10716         true.
10717
10718         * buffer.C (parseSingleLyXformat2Token): reindent some
10719
10720         * BufferView_pimpl.C (update): change since fullRebreak always
10721         return true.
10722         (Dispatch): git rid of the last hardcoded "Standard"s.
10723
10724 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10725
10726         * text2.[Ch] (fullRebreak): make it return void now that we always
10727         returned true.
10728
10729 2002-04-30  Juergen Vigna  <jug@sad.it>
10730
10731         * buffer.C (parseSingleLyXformat2Token): reset the font before the
10732         ert compatibility check for "latex" layout.
10733
10734 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
10735
10736         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10737         minipages: use col% instead of p%, and also use the current font.
10738         (makeLaTeXFile): Fix use babel condition.
10739         (parseSingleLyXformat2Token): Correct font when reading old floats.
10740
10741 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
10742
10743         * BufferView_pimpl.C (Dispatch): Check that float type exists when
10744         inserting list of floats.
10745
10746 2002-04-25  Herbert Voss  <voss@lyx.org>
10747
10748         * MenuBackend.C (expand): don't add the graphics extensions to the
10749         export menu
10750
10751 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10752
10753         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10754         non-existing layout, do not complain if it was the default layout
10755         of the original class (bug #342)
10756
10757 2002-04-24  Juergen Vigna  <jug@sad.it>
10758
10759         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10760         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10761
10762 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
10763
10764         * buffer.C (getBibkeyList): If using \bibliography, return the
10765         option field with the reference itself. Enables us to provide natbib
10766         support when using \bibliography.
10767
10768 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
10769
10770         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10771
10772         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10773         natbib is provided by the LaTeX class.
10774
10775 2002-04-23  Juergen Vigna  <jug@sad.it>
10776
10777         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10778         Wakeup functions.
10779
10780         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10781
10782 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10783
10784         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10785
10786         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10787         ensuremath around textordmasculine, textordfeminine and
10788         textdegree.
10789
10790 2002-04-19  Juergen Vigna  <jug@sad.it>
10791
10792         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10793         reinitializing the buffer otherwise row-dimensions may be wrong.
10794         (update): reset also the selection cursors if they do exits otherwise
10795         their x/y positions may be wrong.
10796
10797         * text2.C (cursorDown): don't enter the inset if we came from a row
10798         above and are one row over the inset.
10799
10800         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10801         really leaving an inset.
10802
10803 2002-04-18  Juergen Vigna  <jug@sad.it>
10804
10805         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10806         of the selected paragraph does not have the selected layout also if
10807         the last one had!
10808
10809         * text2.C (setLayout): fixed bug which did not change last selected
10810         paragraph.
10811
10812         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10813         changed the read and substituted \\end_float with \\end_inset!
10814
10815         * BufferView_pimpl.C (cursorPrevious):
10816         (cursorNext): fixed to make it work with rows heigher than the work
10817         area without moving the cursor only the draw of the row.
10818         (workAreaMotionNotify): fix jumping over high rows.
10819
10820 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10821
10822         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10823         Ressler.
10824
10825 2002-04-16  Juergen Vigna  <jug@sad.it>
10826
10827         * text2.C (setCursor): set also the irow().
10828         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10829         (cursorUp):
10830         (cursorDown): support for locking an inset if the x_fix value goes
10831         inside it. That way I can transverse insets too with cursor up/down.
10832
10833         * lyxrow.h: added irow helper function same as other (i) functions.
10834
10835         * BufferView_pimpl.C (cursorPrevious):
10836         (cursorNext): fixed for insets!
10837
10838 2002-04-15  Juergen Vigna  <jug@sad.it>
10839
10840         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10841         position otherwise it is wrong in some cases.
10842
10843         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10844         inside the inset before the call.
10845
10846 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
10847
10848         * buffer.[Ch] (getBibkeyList): make it const.
10849
10850 2002-04-12  Juergen Vigna  <jug@sad.it>
10851
10852         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10853
10854         * text2.C (getCursorX): new helper function
10855         (setCursor): compute also ix_
10856         (setCursorFromCoordinates): set also ix.
10857
10858         * lyxcursor.h: added ix_ and helper functions.
10859
10860         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10861
10862         * buffer.C (insertStringAsLines): dont break paragraph if the this
10863         paragraph is inside an inset which does not permit it!
10864
10865         * text.C (breakParagraph): honor keepempty flag and break the paragraph
10866         also with no chars on this paragraph.
10867         (paintRowText): only paint stuff if it's inside the workarea!
10868
10869         * paragraph.C (breakParagraph): honor keepempty flag and break the
10870         paragraph always below not above.
10871
10872         * BufferView2.C (unlockInset): update the paragraph layout on inset
10873         unlock as we changed paragraph in such a case.
10874
10875         * lyxfind.C (LyXFind): clear the former selection if not found!
10876
10877         * text2.C (insertInset): freeze Undo after setUndo so that it is not
10878         again called in insertChar().
10879
10880         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10881         an inset which uses the whole row!
10882         (rightMargin): ditto.
10883         (insertChar): force a rebreak if we inserted an inset!
10884
10885 2002-03-28  Herbert Voss  <voss@lyx.org>
10886
10887         * lyxlength.[Ch]: add inBP() to get the right PS-point
10888         units (BigPoint). With inPixels we have rounding errors
10889
10890 2002-04-11  Juergen Vigna  <jug@sad.it>
10891
10892         * text2.C (setCursorFromCoordinates): set iy to the right value.
10893         (setCursor): add check if row->previous exists!
10894
10895         * buffer.C (parseSingleLyXformat2Token): reset font after read of
10896         an old float_type as this was the case in the old code!
10897
10898         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10899
10900         * BufferView2.C (showLockedInsetCursor): use iy
10901         (fitLockedInsetCursor): ditto
10902
10903         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10904         locked insets as there we have the right value now.
10905
10906         * lyxcursor.C: added iy_ variable and iy functions to set to the
10907         baseline of cursor-y of the locked inset.
10908
10909         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10910         (setCursor): fixed for insets which need a full row.
10911
10912         * text.C (rowLastPrintable): don't ignore the last space when before
10913         an inset which needs a full row.
10914         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10915         as last character of a row when before a inset which needs a full row.
10916
10917 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10918
10919         * version.C.in: update date
10920
10921         * text2.C (fullRebreak): try to always return true and see what
10922         happens...
10923
10924 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10925
10926         * MenuBackend.C (expand): use Floating::listName
10927
10928         * FloatList.C (FloatList): add listName argument to the built-in
10929         floats
10930
10931         * Floating.[Ch]: add listName member, which is the 'List of XXX'
10932         text associated with the float.
10933
10934 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10935
10936         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10937
10938 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10939
10940         * ShareContainer.h: add a couple of missing typenames.
10941
10942 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
10943
10944         * lyxrc.C (getDescription): use _() correctly rather than N_().
10945
10946 2002-03-28  Herbert Voss  <voss@lyx.org>
10947
10948         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10949         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10950
10951 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10952
10953         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10954         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10955
10956 2002-03-29  Juergen Vigna  <jug@sad.it>
10957
10958         * lyxfunc.C (dispatch): add a missing fitCursor call.
10959
10960         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10961         it was scrolled by a cursor move, so return the bool status.
10962
10963         * BufferView.C (fitCursor): return the bool flag also to the outside
10964         world as this is needed.
10965
10966         * screen.C (toggleToggle): don't subtract the offset if it's positive.
10967
10968         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10969         call the edit() as it is not needed (and wrong) IMO.
10970         (workAreaButtonPress): set the screen_first variable before evt.
10971         unlock the inset as this may change screen_first and then we have
10972         a wrong y position for the click!
10973
10974 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10975
10976         * MenuBackend.C (expand): another translation that I missed
10977
10978 2002-03-28  Juergen Vigna  <jug@sad.it>
10979
10980         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10981
10982         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10983
10984 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10985
10986         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10987
10988         * MenuBackend.C (expand): fix export/view/update when there is no
10989         document open.
10990
10991 2002-03-27  Herbert Voss  <voss@lyx.org>
10992
10993         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10994         and text%
10995
10996 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10997
10998         * bufferview_funcs.C (currentState): only show paragraph number
10999         for is DEVEL_VERSION is set.
11000
11001         * lyxfunc.C (dispatch): put warning in INFO channel
11002
11003         * MenuBackend.C (expand): translate the name of floats
11004
11005         * FloatList.C (FloatList): mark the float names for translation
11006
11007         * converter.C (convert): use LibScriptSearch
11008
11009 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11010
11011         * MenuBackend.C (defaults): fix default menu (we might as well get
11012         rid of it...)
11013
11014 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11015
11016         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11017         directory.
11018
11019 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11020
11021         * lyxvc.C: reorder includes.
11022
11023 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
11024
11025         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11026           properly
11027
11028 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
11029
11030         * CutAndPaste.C: change layouts earlier on paste
11031           to avoid crashing when calling getFont()
11032
11033 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
11034
11035         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11036         irritating #error.
11037
11038 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11039
11040         * WorkArea.C: remove 'Pending' debug message.
11041
11042         * most files: ws cleanup
11043
11044         * buffer.[Ch]: ws changes
11045
11046         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11047
11048 2002-03-21  Juergen Vigna  <jug@sad.it>
11049
11050         * tabular.C (SetMultiColumn): collapse also the contents of the
11051         cells and set the last border right. Added a Buffer const * param.
11052
11053 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11054
11055         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11056         linking or not.
11057
11058 2002-03-19  Juergen Vigna  <jug@sad.it>
11059
11060         * text2.C (clearSelection): reset also xsel_cache.
11061
11062         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11063         where it needs to be called (John tells us to do so too :)
11064         (selectionLost): reset sel_cache.
11065
11066         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11067
11068 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11069
11070         * text2.C (setCursorIntern): put debuging code in INSETS channel
11071
11072 2002-03-19  André Pönitz <poenitz@gmx.net>
11073
11074         * lyxfunc.C: tiny whitespace change
11075
11076 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11077
11078         * ToolbarDefaults.C (init):
11079         * LyXAction.C (init):
11080         * commandtags.h:
11081         * BufferView_pimpl.C (Dispatch):
11082         * lyxfunc.C (dispatch): remove LFUN_DEPTH
11083
11084 2002-03-19  Allan Rae  <rae@lyx.org>
11085
11086         * exporter.C (Export): removeAutoInsets before doing anything else.
11087         While I've just introduced a dependency on BufferView this really is
11088         the best place to clean the buffer otherwise you need to cleanup in
11089         a dozen places before calling export or cleanup in a dozen functions
11090         that export calls.
11091
11092         * converter.C (runLaTeX):
11093         (scanLog): Better handling of removeAutoInsets and screen updates.
11094
11095         * lyxfunc.C (dispatch): small whitespace changes
11096
11097 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11098
11099         * WorkArea.C (C_WorkAreaEvent): return a value.
11100         (event_cb): return 1 if we handled the event, 0 otherwise.
11101
11102         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11103
11104 2002-03-18  Juergen Vigna  <jug@sad.it>
11105
11106         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11107         (GetAdditionalWidth): ditto.
11108         (RightLine): ditto.
11109         (LeftLine): ditto.
11110
11111         * BufferView2.C (copy): use getLyXText() so that we do it inside an
11112         inset if we're there actually (probably not used right now but this
11113         is the direction to go for unifying code).
11114         (paste): disable code to clear the selection.
11115
11116         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11117         inside an InsetText and move the check further up as it is in the
11118         wrong place.
11119
11120         * text2.C (pasteSelection): set a selection over the pasted text.
11121
11122 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
11123
11124         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11125         and libgraphics to build on Cygwin.
11126
11127 2002-03-15  Juergen Vigna  <jug@sad.it>
11128
11129         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11130         inserting an Inset into the paragraph. I know this is not the best
11131         fix but we already use current_view in CutAndPaste so we will remove
11132         all of it's using at the same time.
11133
11134         * buffer.C (sgmlError): deactivated function till it is rewritten in
11135         the right mode, now it can create problems.
11136
11137         * paragraph.C (isLineSeparator): check if getInset returns != 0,
11138         before accessing it.
11139
11140 2002-03-14  Juergen Vigna  <jug@sad.it>
11141
11142         * undo_funcs.C (textHandleUndo): do the right thing when updating
11143         the inset after the undo/redo.
11144
11145         * text2.C (setCursor): just some testcode for #44 not ready yet.
11146
11147         * undo_funcs.C (textHandleUndo): set the next() and previous()
11148         pointers of the paragraph to 0 before deleting otherwise we have
11149         problems with the Paragraph::[destructor].
11150
11151         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11152         on a paragraph insertion.
11153
11154 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11155
11156         * buffer.C (asciiParagraph): use += operator for char append to
11157         string.
11158
11159         * paragraph.C (getFontSettings): compare >= not just >
11160         (highestFontInRange): ditto
11161         (setFont): ditto
11162
11163 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11164
11165         * paragraph.C: change several algorithm to be more appripriate for
11166         the problem domain. This is lookip in FontList and in the InsetList.
11167
11168 2002-03-13  André Pönitz <poenitz@gmx.net>
11169
11170         * commandtags.h:
11171         * LyXAction.C: remove unused LFUN_MATH_MACROARG
11172
11173 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
11174
11175         * commandtags.h:
11176         * LyXAction.C:
11177         * lyxfunc.C:
11178         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11179
11180 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11181
11182         * Painter.C (display): anon helper function, adjust code for this
11183         change.
11184         (pixmap): remove function.
11185
11186         * Painter.h: remove private display variable.
11187
11188         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11189
11190 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
11191
11192         * WorkArea.[Ch]: remove figinset_canvas cruft.
11193
11194 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11195
11196         * lyxtextclass.C (operator): add one item cache optimization.
11197
11198         * bufferlist.h: doxy changes
11199
11200         * bufferlist.C: ws changes
11201
11202         * DepTable.[Ch] (ext_exist): place const in the right spot.
11203
11204         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11205         call resizeInsets.
11206         (workAreaExpose): call resizeInsets when the with BufferView changes.
11207         (Dispatch): adjust for protectedBlank removal
11208         (specialChar): call updateInset if the insert went ok.
11209
11210         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11211         specialChar instead.
11212
11213         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11214
11215         * BufferView.h: doxy change
11216
11217         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11218
11219         * lyxtextclass.C (operator[]): remove non-const version
11220         (defaultLayout): remove non-const version
11221
11222 2002-03-12  Juergen Vigna  <jug@sad.it>
11223
11224         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11225         did resize the LyXText too.
11226
11227         * buffer.C (readLyXformat2): set layout information on newly allocated
11228         paragraphs.
11229
11230         * tabular.C (OldFormatRead): set layout information on the paragraph.
11231
11232 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11233
11234         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11235
11236 2002-03-11  Juergen Vigna  <jug@sad.it>
11237
11238         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11239         plainly wrong.
11240         (resizeCurrentBuffer): force also the insets to resize themselfes.
11241         (moveCursorUpdate): fixed up for InsetText.
11242
11243 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
11244
11245         * commandtags.h:
11246         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11247         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11248         value of Dialogs::tooltipsEnabled().
11249         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11250
11251 2002-03-08  Juergen Vigna  <jug@sad.it>
11252
11253         * BufferView_pimpl.C (updateInset): update inset inside inset also
11254         if it isn't inside theLockingInset().
11255
11256 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11257
11258         * buffer.C (asciiParagraph): redo some of the word and line length
11259         handling.
11260         (getLists): look for Caption instead of caption.
11261
11262 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11263
11264         * buffer.C (Buffer): initialize niceFile to true
11265         (makeLaTeXFile):
11266         (makeLinuxDocFile):
11267         (makeDocBookFile): make sure niceFile is true on exit
11268
11269 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11270
11271         * buffer.C (makeLaTeXFile): escape ~ in \input@path
11272
11273 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
11274
11275         * LyXSendto.C: remove.
11276         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11277         * lyx_gui.C: remove now-redundant comment.
11278         * ColorHandler.h: remove forward declaration of class WorkArea.
11279         * lyxfunc.C: remove #include "WorkArea.h".
11280
11281 2002-03-07  Juergen Vigna  <jug@sad.it>
11282
11283         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11284         got moved away with the DEPM and also set the inset_owner always
11285         right which before could have been omitted.
11286
11287 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11288
11289         * buffer.C (parseSingleLyXformat2Token): use default layout is the
11290         wanted layout is not found.
11291
11292 2002-03-07  Juergen Vigna  <jug@sad.it>
11293
11294         * CutAndPaste.C (cutSelection): another layout settings forgotten.
11295
11296 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11297
11298         * paragraph.C (breakParagraph): use default layout not layout of
11299         prev paragraph.
11300         (Paragraph): clear ParagraphParameters.
11301
11302 2002-03-06  Juergen Vigna  <jug@sad.it>
11303
11304         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11305         otherwise it would not be a valid lenght. Fixed a special case in
11306         the minipage compatibility read where we end the document with a
11307         minipage.
11308
11309         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11310         was set as it could be 0 for InsetTexts first entry.
11311
11312 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11313
11314         * paragraph.C (writeFile): if layout is empty write out
11315         defaultLayoutName().
11316
11317         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11318         file without named layout we set layout to defaultLayoutName().
11319
11320 2002-03-06  Juergen Vigna  <jug@sad.it>
11321
11322         * CutAndPaste.C (copySelection): set layout for new paragraph.
11323
11324         * text.C (prepareToPrint): leave ERT inset left aligned
11325         (leftMargin): don't indent paragraphs inside ERT insets
11326
11327 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11328
11329         * paragraph.C (breakParagraph): dont call clear do the work manually
11330
11331         * paragraph.[Ch] (clear): remove function
11332
11333 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11334
11335         * paragraph.C (Paragraph): dont call clear, the work has already
11336         been done.
11337
11338         * lyxtextclass.C (operator): assert if n is empty
11339
11340         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11341         work manually instead.
11342
11343 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11344
11345         * BufferView_pimpl.C: protect selectionLost against text == 0
11346
11347 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11348
11349         * text.C (breakParagraph): fix a setting layout to '0' problem.
11350
11351 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11352
11353         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11354         final location of file, for the included files, and graphics.
11355
11356 2002-03-05  Juergen Vigna  <jug@sad.it>
11357
11358         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11359
11360 2002-03-04  Juergen Vigna  <jug@sad.it>
11361
11362         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11363
11364         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11365         last column of multicolumn cells.
11366         (SetWidthOfMulticolCell): recalculate NMC and real columns.
11367
11368 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11369
11370         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11371         file if it doesn't go to a temporary file.
11372
11373         * buffer.C (sgmlOpenTag):
11374         (sgmlCloseTag):  remove extra newline insertion.
11375
11376 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11377
11378         * text.C (getRowNearY): comment out debug msg
11379
11380 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11381
11382         * text2.C: first -> first_y
11383
11384         * text.C (getRowNearY): add some attemts at a possible
11385         optimization, not working.
11386
11387         * tabular.[Ch]: add BufferParams to several function so that newly
11388         created paragraph can be initialized to he default layotu for the
11389         buffers textclass.
11390
11391         * tabular-old.C (ReadOld): add buf->params to call of Init
11392
11393         * screen.C: rename text->first to text->first_y
11394
11395         * paragraph.C (breakParagraph): always set layout in the broken
11396         paragraph
11397
11398         * lyxtextclass.C (Read): remove lowercase
11399         (hasLayout): ditto
11400         (operator): ditto
11401         (delete_layout): ditto
11402
11403         * lyxtext.h: rename first -> first_y
11404
11405         * lyxlayout.C (Read): remove lowercase
11406         (name): ditto
11407         (setName): ditto
11408         (obsoleted_by): ditto
11409
11410         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11411
11412         * buffer.C (insertErtContents): add params are to InsetERT
11413         (parseSingleLyXformat2Token): add code to check if a paragraphs
11414         layout really exist.
11415         (parseSingleLyXformat2Token): add params to several inset
11416         constructors
11417         (asciiParagraph): remove lowercase, do the layout comparisons with
11418         no_case
11419
11420         * BufferView_pimpl.C (cursorNext): first -> first_y
11421         (resizeCurrentBuffer): first -> first_y
11422         (updateScrollbar): first -> first_y
11423         (scrollCB): first -> first_y
11424         (workAreaMotionNotify): first -> first_y
11425         (workAreaButtonPress): first -> first_y
11426         (checkInsetHit): first -> first_y
11427         (cursorPrevious): first -> first_y
11428         (cursorNext): first -> first_y
11429         (Dispatch): add buffer_->params to severl inset contructors
11430
11431 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11432
11433         * lyxlayout.C (Read): remove some debug info that I forgot.
11434
11435         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11436         clean up the code slightly.
11437         (makeLinuxDocFile): ditto
11438         (makeDocBookFile): ditto
11439
11440         * text2.C: layout as string
11441
11442         * text.C: layout as string
11443
11444         * paragraph_pimpl.C: layout as string
11445
11446         * paragraph.[Ch]: layout as string
11447
11448         * lyxtextclasslist.[Ch]: layout as string
11449
11450         * lyxtextclass.[Ch]: layout as string
11451
11452         * lyxtext.h: layout as string
11453
11454         * lyxlayout.[Ch]: layout as string
11455
11456         * lyx_cb.C: layout as string
11457
11458         * bufferview_funcs.C: layout as string
11459
11460         * bufferparams.C: layout as string
11461
11462         * buffer.C: layout as string
11463
11464         * LyXView.[Ch]: layout as string
11465
11466         * LaTeXFeatures.[Ch]: layout as string
11467
11468         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11469
11470         * BufferView_pimpl.C: change current_layout to string, remove
11471         lyx::layout_type.
11472         (Dispatch):
11473         (smartQuote):
11474         (insertInset):
11475         (workAreaButtonRelease): layout as string
11476
11477         * BufferView2.C (unlockInset): adjust
11478
11479         * vspace.C (asLatexCommand): use an explict temp variable.
11480
11481 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11482
11483         * Makefile.am: use FRONTEND_*
11484
11485 2002-03-01  Juergen Vigna  <jug@sad.it>
11486
11487         * tabular.C (SetWidthOfMulticolCell): changed to something better
11488         I hope but still work in progress.
11489         (recalculateMulticolumnsOfColumn): renamed function from
11490         recalculateMulticolCells as it is more appropriate now.
11491         (SetWidthOfCell): calculate multicols better.
11492
11493 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11494
11495         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11496
11497         * lyxfunc.C (processKeySym): print sequence also if it is
11498         `deleted' (complete)
11499
11500         * kbsequence.C (print): print sequence even if it is deleted
11501         (complete would be a better word, actually).
11502
11503         * lyxfunc.C (dispatch): print complete options after a prefix key
11504
11505         * vspace.C (asLatexCommand): rewrite in a slightly different form.
11506
11507 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
11508
11509         * text2.C (setCharFont): eliminate setCharFont code duplication.
11510
11511 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11512
11513         * BufferView_pimpl.C (Dispatch): remove bogus handling of
11514         LFUN_TABULAR_FEATURE (bug #177)
11515
11516 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
11517
11518         * Makefile.am: remove figure.h
11519
11520 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
11521
11522         * Bufferview_pimpl.C:
11523         * CutAndPasteC:
11524         * LaTeX.C:
11525         * LyXSendto.C:
11526         * buffer.C:
11527         * bufferlist.C:
11528         * converter.C:
11529         * language.C:
11530         * lyxfunc.C:
11531         * lyxvc.C:
11532         * paragraph.C:
11533         * text.C:
11534         * text2.C: remove #include "lyx_gui_misc.h".
11535
11536         * LaTeX.C: added #include <cstdio>
11537
11538 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11539
11540         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11541         that the paragraph following this one can have.
11542
11543         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11544
11545         * vspace.C (asLatexCommand): fix bogus gcc warning
11546
11547         * Makefile.am (lyx_SOURCES): remove vms_defines.h
11548
11549 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
11550
11551         * text2.C (setLayout): get rid of redundant code
11552
11553 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
11554
11555         * text2.C (incDepth): make sure depth cannot be increased beyond
11556         reasonable values.
11557
11558 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
11559
11560         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11561         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11562
11563         * PainterBase.h (image):
11564         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11565         a LyXImage const *.
11566
11567 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11568
11569         * BufferView.C:
11570         * BufferView.h:
11571         * BufferView_pimpl.C:
11572         * BufferView_pimpl.h:
11573         * LaTeXFeatures.C:
11574         * LyXAction.C:
11575         * LyXView.C:
11576         * Makefile.am:
11577         * UpdateList.h:
11578         * UpdateList.C:
11579         * buffer.C:
11580         * figure.h:
11581         * figureForm.C:
11582         * figureForm.h:
11583         * figure_form.C:
11584         * figure_form.h:
11585         * lyx_cb.C:
11586         * lyx_gui.C:
11587         * lyx_gui_misc.C:
11588         * lyxfunc.C:
11589         * sp_base.h:
11590         * sp_ispell.h:
11591         * sp_pspell.h:
11592         * sp_spell.C: remove fig inset, and the crap house of
11593           cards that follows it
11594
11595 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11596
11597         * Makefile.am:
11598         * lyxserver.C:
11599         * os2_defines.h:
11600         * os2_errortable.h:
11601         * nt_defines.h: move .h into support/
11602
11603         * vms_defines.h: remove
11604
11605         * WorkArea.C: add space in debug output
11606
11607         * text2.C:
11608         * paragraph.C:
11609         * buffer.C: add WITH_WARNINGS
11610
11611         * vc-backend.h:
11612         * vc-backend.C:
11613         * bufferlist.C: s/retrive/retrieve/, add docs
11614
11615         * vspace.h:
11616         * vspace.C:
11617         * kbmap.h:
11618         * lyxlength.h:
11619         * lyxgluelength.h:
11620         * length_common.h:
11621         * chset.h:
11622         * chset.C: add docs
11623
11624         * lyxgui.C: add ID to X error handler
11625
11626         * lyxtestclass.c: fix typo
11627
11628 2002-02-26  Juergen Vigna  <jug@sad.it>
11629
11630         * tabular_funcs.C (write_attribute): changed so that some default
11631         attributes are not written at all.
11632         (getTokenValue): set default values before trying to read the
11633         value so we have the return value always set as default if we don't
11634         find the token we search for.
11635
11636         * tabular.C (Write): write bools as bools not as strings!
11637
11638 2002-02-22  Juergen Vigna  <jug@sad.it>
11639
11640         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11641         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11642
11643         * text.C (leftMargin): don't add an indent for paragraphs inside
11644         tabular cells (fix #208).
11645
11646 2002-02-21  José Matos  <jamatos@fep.up.pt>
11647
11648         * tabular.C (docBook): fixed support for long tables.
11649
11650 2002-02-20  Juergen Vigna  <jug@sad.it>
11651
11652         * text2.C (getFont): get the drawing font of the Inset if this
11653         paragraph is inside an inset (only important for InsetERT for now).
11654
11655         * buffer.C (insertErtContents): use new lanugage params in ERT
11656         constructor.
11657
11658         * CutAndPaste.C: commenting out seemingly uneeded code.
11659
11660 2002-02-19  Allan Rae  <rae@lyx.org>
11661
11662         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11663         Iterators might be simple to use but they also get invalidated.
11664         (removeAutoInsets): renamed saved cursor tracking variables and added
11665         some comments to clarify what everything does.
11666
11667 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
11668
11669         * Chktex.C:
11670         * LaTeX.C:
11671         * LyXSendto.C:
11672         * converter.C:
11673         * lyx_cb.C:
11674         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11675         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11676
11677         * lyxfunc.C:
11678         * vc-backend.h: remove #include "support/syscall.h"
11679
11680         * LaTeX.C:
11681         * LyXSendto.C:
11682         * converter.C: rearrange #includes in Lars' approved fashion.
11683
11684         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11685         forward declare class Timeout in the header file.
11686
11687         * XFormsView.C: changes due to the above.
11688
11689         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11690         similar to LyXView.
11691
11692         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11693         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11694
11695 2002-02-18  José Matos  <jamatos@fep.up.pt>
11696
11697         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11698         insets contents.
11699
11700 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
11701
11702         * a lot of small ws changes
11703         * add a lot of using std::XXX
11704         * use std construcs some places where approp.
11705         * use some exisint stuff from lyxfunctional where approp.
11706         * Make file changes to use partial linking (lets test this now...)
11707
11708 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11709
11710         * Chktex.C:
11711         * buffer.C:
11712         remove #include "support/syscontr.h" as it's redundant. Always has been.
11713
11714         * Chktex.C:
11715         * LaTeX.C:
11716         * LyXSendto.C:
11717         * converter.C:
11718         * lyx_cb.C:
11719         * vc-backend.C:
11720         change Systemcalls::System to Systemcalls::Wait and
11721         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11722         No change of functionality, just reflects the stripped down Systemcalls
11723         class.
11724
11725 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11726
11727         * debug.[Ch]: add a GRAPHICS type to the enum.
11728
11729 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11730
11731         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11732
11733         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11734         there is an inset.
11735
11736 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11737
11738         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11739         match the changes below.
11740
11741         * text2.C (toggleInset): if there is not editable inset at cursor
11742         position, try to see if cursor is _inside_ a collapsable inset
11743         and close it.
11744
11745 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11746
11747         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11748         document menu has a nice checkbox
11749
11750 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11751
11752         * lyxlength.C (asLatexString): change PW to output as percent of
11753         \textwidth.
11754
11755         * lengthcommon.C: change '%' to 't%'
11756
11757         * lyxfunc.C (dispatch): a few comments from Martin
11758
11759 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
11760
11761         * WorkArea.h:
11762         * WorkArea.C:
11763         * BufferView_pimpl.h:
11764         * BufferView_pimpl.C: clear our selection when X tells us we've lost
11765           the X selection.
11766
11767 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11768
11769         * vspace.C (inPixels): fix compiler warning
11770
11771 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11772
11773         * lyxfunc.C (getStatus): fix status message for disabled commands.
11774
11775 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
11776
11777         * BufferView_pimpl.C: fix crash on close buffer
11778         during selection (#227)
11779
11780 2002-01-27  Herbert Voss  <voss@lyx.org>
11781
11782         * buffer.C: link old Figure to new graphic inset
11783
11784 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
11785
11786         * FontLoader.C (getFontinfo): Change the latex font names in order
11787         to match the names of type1inst.
11788
11789 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11790
11791         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11792
11793         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11794         (extchanged): ditto
11795         (ext_exist): ditto
11796         (remove_files_with_extension): ditto
11797         (remove_file): ditto
11798         (write): ditto
11799
11800         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11801         document is smaller than the work area height. Do not initialize
11802         static variables to 0.
11803
11804 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11805
11806         * lyx_gui.C (init): give the toolbar tooltips a normal font.
11807
11808         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11809         LFUN_LAYOUT_PARAGRAPHS.
11810
11811         * tabular.C (GetCellFromInset): new method. Finds an inset in a
11812         tabular. It is possible to provide a possible cell, which will
11813         typically be the actcell from the corresponding insettabular
11814
11815         * lyxfunc.C (getStatus): small cleanup; disable
11816         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11817         true
11818
11819 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11820
11821         * tabular.C (Validate): remove broken optimization (fixes bug #201)
11822
11823         * paragraph.C (startTeXParParams):
11824         (endTeXParParams): new methods. The LaTeX code to
11825         start/end paragraph formatting
11826         (simpleTeXOnePar): call startTeXParParams also when paragraph is
11827         empty (fixes bug #200)
11828
11829         * vspace.C (inPixels): adapt to the change below
11830         (inPixels): [later] more cleanups (remove unused variables)
11831
11832         * lyxlength.C (inPixels): change to use a width and a height as
11833         parameter.
11834
11835 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11836
11837         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11838         Replaced with \paperwidth
11839
11840         * DepTable.C (insert): add std:: qualifier
11841
11842 2002-01-18  Allan Rae  <rae@lyx.org>
11843
11844         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
11845         updated also?
11846
11847         * text.C (drawInset): Turned out I didn't know enough about how
11848         rebreaking worked.  This fixes most of the redraw problems.  I see
11849         an occasional cursor trail when a line is broken now and the cursor
11850         placement can seem out by a few pixels also after a rebreak.
11851
11852 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11853
11854         * buffer.C (parseSingleLyXformat2Token): update because minipage
11855         width is now a LyXLength
11856
11857         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11858
11859         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11860         math insets
11861
11862 2002-01-17  Juergen Vigna  <jug@sad.it>
11863
11864         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11865
11866         * BufferView2.C (lockInset): call edit() so that theLockingInset()
11867         is set correctly and the inset is updated correctly.
11868
11869 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11870
11871         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11872         the beginning of the loop.
11873
11874 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
11875
11876         * lyxrc.C: improve help for use_scalable_fonts
11877
11878 2002-01-17  Allan Rae  <rae@lyx.org>
11879
11880         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11881
11882 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11883
11884         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11885         make sure to set their inset_owner to the right value (bug #171)
11886
11887 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
11888
11889         * DepTable.h
11890         * DepTable.C: Implement mtime checking to reduce time spent doing
11891         CRCs.
11892
11893 2002-01-16  Juergen Vigna  <jug@sad.it>
11894
11895         * tabular.C (GetAdditionalHeight): one of error fixed.
11896
11897         * lyxrc.C (output): small fix in writing use_pspell.
11898
11899 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
11900
11901         * sp_base.h: #include LString.h
11902
11903 2002-01-16  Allan Rae  <rae@lyx.org>
11904
11905         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
11906         Can someone check this please?
11907
11908         * text.C (drawInset): It was possible that p.row would be removed by
11909         breakAgainOneRow upsetting a few other settings.  There may be another
11910         small tweak possible by setting need_break_row = 0 when p.row has been
11911         removed but I don't know enough about the logic here.
11912
11913 2002-01-15  Allan Rae  <rae@lyx.org>
11914
11915         * text.C (insertChar): removed conditional truism.
11916
11917         * BufferView2.C (removeAutoInsets): More tweaks.
11918         cur_par_prev could be a stray pointer.  Check for trailing empty line
11919         in case last line was cur_par and only had an error inset on it.
11920
11921 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11922
11923         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11924         absolute
11925
11926         * vc-backend.C (most methods):
11927         * exporter.C (Export):
11928         * converter.C (convert):
11929         (runLaTeX):
11930         * LyXSendto.C (SendtoApplyCB):
11931         * lyxfunc.C (dispatch):
11932         (menuNew):
11933         (open):
11934         (doImport):
11935         * lyx_cb.C (AutoSave):
11936         (InsertAsciiFile):
11937         * BufferView_pimpl.C (MenuInsertLyXFile):
11938         * buffer.C (runChktex): use Buffer::filePath().
11939
11940         * buffer.h: rename filename to filename_; rename filepath to
11941         filepath_ and make it private
11942         (filePath): new method
11943
11944         * buffer.C (writeFile): use fileName()
11945         (getLatexName):
11946
11947         * lyx_main.C (init): fix starting  of LyX when the binary is a
11948         link from so,ewhere else.
11949
11950         * minibuffer.C: include <cctype> for isprint
11951
11952 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11953
11954         * buffer.C (parseSingleLyXformat2Token): changes associated with the
11955         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11956         name clash with InsetCollapsable's width function.
11957
11958 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11959
11960         * lastfiles.C: include <iterator>
11961
11962 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11963
11964         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11965         std::count.
11966
11967         * buffer.C (makeLaTeXFile): ditto.
11968         Also make loop operation more transparent.
11969
11970 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11971
11972         * ToolbarDefaults.C: remove trailing comma closing namespace.
11973
11974         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11975
11976         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11977         as in WorkArea.
11978
11979         * trans.C (Load): comment out unused variable, allowed.
11980
11981 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11982
11983         * minibuffer.[Ch] (append_char): new method to recieve input from the
11984         drop-down completion browser. If a key was pressed, then recieve this
11985         char and append it to the existing string.
11986         (peek_event): modify the positioning data passed to the completion
11987         browser so that it can be placed above the minibuffer rather than below.
11988 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11989
11990         * LyXAction.C (init): alloe error-next for readonly documents.
11991
11992         * BufferView2.C (ChangeRefsIfUnique): use standard version of
11993         count.
11994
11995 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11996
11997         * bufferlist.C (readFile): create the buffer _after_ checking that
11998         the file exists.
11999
12000         * lyxfunc.C (verboseDispatch): fix handling of arguments
12001
12002         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12003
12004         * lyxrc.C: use string::erase() instead of initializing to "".
12005
12006
12007 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12008
12009         * BufferView_pimpl.h:
12010         * BufferView_pimpl.C:
12011         * WorkArea.h:
12012         * WorkArea.C:
12013         * text2.C: tell X when we have made a selection for copying
12014
12015 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12016
12017         * BufferView_pimpl.C (MenuInsertLyXFile):
12018         * lyxfunc.C (menuNew):
12019         (open):
12020         (doImport): add shortcuts to directory buttons
12021
12022         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12023         open a float)
12024
12025         * lyxfunc.C (setStatusMessage):
12026         (getStatusMessage): new methods
12027         (getStatus):use setStatusMessage instead of setErrorMessage
12028         (dispatch): when function is disabled, set error message here
12029         [instead of in getStatus previously]
12030
12031         * BufferView_pimpl.C (workAreaButtonRelease): update
12032         toolbar/menubar here too.
12033
12034 2002-01-13  Allan Rae  <rae@lyx.org>
12035
12036         * BufferView2.C (removeAutoInsets): finished off earlier fix.
12037         Now seems indestructible.  Remaining task is to audit all other
12038         code affected by deleteEmptyParagraphMechanism.  One small quirk
12039         left is that an empty document with an error in the preamble can
12040         be made to report an error but no error box appears.  I don't know
12041         where it goes.
12042         (removeAutoInsets): Improved comments.
12043
12044 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
12045
12046         * Thesaurus.h:
12047         * Thesaurus.C: update for Aiksaurus 0.14
12048
12049 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12050
12051         * text2.C (firstParagraph): removed member function, all uses
12052         replaces with ownerParagraph
12053         (redoParagraphs): here
12054         (updateInset): here
12055         (toggleAppendix): here
12056         * BufferView2.C (insertErrors): here
12057         (setCursorFromRow): here
12058
12059 2002-01-13  Allan Rae  <rae@lyx.org>
12060
12061         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12062         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12063         There is still a way to segfault this although you may have to do this
12064         multiple times: Have an InsetERT with an unknown command in it.
12065         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12066         <down-arrow>, <Enter> again, View->DVI, BANG!
12067
12068         * text2.C (setCursor):
12069         (deleteEmptyParagraphMechanism):
12070         * lyxtext.h (setCursor):
12071         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12072         Making use of the return value may help fix other bugs.
12073
12074 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12075
12076         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12077
12078         * LyXView.C (updateMenubar): call MenuBar::update here
12079         (updateToolbar): but not here
12080         (showState): do not update toolbar/menubar
12081
12082         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12083         should need to care about that.
12084
12085         * lyxfunc.C (verboseDispatch): simplify a bit
12086         (getStatus): have a version which takes a pseudoaction, and
12087         another which requires a (kb_action,string).
12088
12089         * LyXAction.C (retrieveActionArg): make it work also when action
12090         is not a pseudo-action.
12091         (getActionName): simplify a bit
12092         (helpText):
12093
12094 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12095
12096         * lyxfunc.C (verboseDispatch): new families of methods with
12097         several ways to specify a command and a bool to indicate whether
12098         the command name and shortcut should be displayed in minibuffer
12099         (eventually, we could extend that to a finer bitmask like
12100         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12101         (dispatch): the pristine dispatch command which just, well,
12102         dispatchs! Note it still sets its result to minibuffer; I'm not
12103         sure we want that.
12104
12105         * lyxfunc.h: remove setHintMessage
12106
12107         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12108
12109 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12110
12111         * BufferView_pimpl.C (specialChar): delete new inset if we have
12112         not been able to insert it.
12113
12114         * kbmap.C: revert to using int instead of kb_action, since all we
12115         are dealing with is pseudo-actions.
12116
12117         * LyXAction.C (searchActionArg): change to return int instead of
12118         kb_action, since the result is a pseudoaction.
12119
12120 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
12121
12122         * buffer.C (insertErtContents): Fix (partially) the font bug.
12123
12124 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12125
12126         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12127         as the other one is broken on my machine!
12128
12129 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
12130
12131         * commandtags.h:
12132         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12133
12134 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
12135
12136         * lyxrc.[Ch]: change names and descriptions of popup font variables to
12137         reflect their actual use. Provide compatibility code for older lyxrc
12138         files.
12139
12140         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12141         FL_NORMAL_STYLE.
12142         change names of popup font variables in line with the changes to lyxrc.C
12143
12144 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12145
12146         * buffer.C (asciiParagraph): avoid outputing a word twice after
12147         an inset.
12148
12149         * lyxrc.C (getDescription): document that document_path and
12150         template_path can be empty.
12151
12152 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12153
12154         * LaTeXFeatures.C (getMacros):
12155         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12156
12157         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12158
12159         * LaTeXFeatures.C (useFloat): require "float" here instead of in
12160         getPackages.
12161         (getPackages): rename feature "floats" to "float". Use an array to
12162         iterate over 'simple' features (i.e. just a \usepackage). Add
12163         handling of "amsmath" (renamed from "amsstyle").
12164
12165 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
12166
12167         * LaTeXFeatures.C (require): Prevent duplicate entries in the
12168         features list.
12169
12170 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
12171
12172         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12173         FuncStaus::FuncStatus & FuncStaus::some_method().
12174
12175 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
12176
12177         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12178         of the func_satus stuff. Edited and massaged in various ways by
12179         JMarc.
12180
12181         * lyxfunc.C (getStatus): use FuncStatus
12182
12183 2002-01-08  Juergen Vigna  <jug@sad.it>
12184
12185         * text.C (nextBreakPoint): use function Inset::isChar().
12186
12187         * paragraph.C (TeXOnePar): use function
12188         Inset::forceDefaultParagraphs.
12189
12190         * buffer.C (latexParagraphs): use function
12191         Inset::forceDefaultParagraphs.
12192
12193 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12194
12195         * lyx_gui.C (init): set the style of the menu popups to
12196         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12197
12198 2002-01-07  Juergen Vigna  <jug@sad.it>
12199
12200         * text.C (setHeightOfRow): small fix
12201         (prepareToPrint): don't look at alignment if we don't have the place
12202         for doing it.
12203
12204 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12205
12206         * box.C: New file. Move the Box methods and functions out of box.h,
12207         following Lars' suggestion.
12208
12209 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12210
12211         * box.h: #include "support/LOstream.h", needed for inlined function.
12212
12213         * lyxtextclass.C:
12214         * lyxtextclasslist.C: added some using std declarations.
12215
12216 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
12217
12218         * box.h: make signed dimensions to allow insets wider than
12219           the screen (bug #162)
12220
12221         * BufferView_pimpl.C: add some insetHit debug
12222
12223 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
12224
12225         * vc-backend.C: add FIXME
12226
12227 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12228
12229         * lyxfunc.C (getStatus): enable code for showing math font status
12230         in toolbar/menu.
12231
12232 2002-01-07  Juergen Vigna  <jug@sad.it>
12233
12234         * text.C (nextBreakPoint): removed debug output not needed anymore.
12235
12236 2002-01-06  Juergen Vigna  <jug@sad.it>
12237
12238         * text.C (nextBreakPoint): fixed up this function we had this bug
12239         since ever but now hopefully we break row better.
12240         (insertChar): we have to check if an inset is the next char as it
12241         could now happen that a large inset is causing a break.
12242
12243 2002-01-05  Juergen Vigna  <jug@sad.it>
12244
12245         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12246         if it doesn't like to be drawed.
12247
12248 2002-01-04  Juergen Vigna  <jug@sad.it>
12249
12250         * BufferView2.C (lockInset): forgot to set a cursor.
12251
12252         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12253
12254 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
12255
12256         * FormMathsPanel.C:
12257         * FormMathsPanel.h
12258         * MathsSymbols.C:
12259         * form_maths_panel.C:
12260         * form_maths_panel.h:
12261         * form_maths_panel.fd: implemented sub- and super- buttons in math
12262         panel.
12263
12264         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12265         (or ^ space) to be used as in TeX (req'd by André).
12266
12267         * lyxfunc.C: Allow ^ and _ again to be used both as
12268         super/subscript (mathed) and as themselves (in text).
12269
12270 2002-01-03  Allan Rae  <rae@lyx.org>
12271
12272         * LyXView.C (updateWindowTitle): Setup a short icon title of either
12273         "LyX" or the filename of the current buffer if it has one.  This is a
12274         modified form of John Levon's patch.
12275
12276         * XFormsView.C (setWindowTitle): also set icon title.
12277
12278         * LyXView.h (setWindowTitle): signature changed.
12279         * XFormsView.h (setWindowTitle): ditto.
12280
12281 2002-01-02  Juergen Vigna  <jug@sad.it>
12282
12283         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12284
12285 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12286
12287         * screen.C (topCursorVisible): introduce a temp var for
12288         text->cursor.row(), handle the case where this row is null. (kindo
12289         hachish)
12290
12291         * text2.C (setCursor): add a couple of asserts.
12292
12293         * paragraph.h (inset_iterator): add -> operator
12294
12295         * paragraph.[Ch] (autoDeleteInsets): remove member function
12296
12297         * BufferView2.C (removeAutoInsets): rewrite to handle the old
12298         cursor pos correctly and handle inset deletion by itself.
12299         (insertErrors): move iterator declaration out of for expression
12300
12301         * lyxtextclass.C: add <algorithm>
12302
12303         * Makefile.am: added the new files to sources, removed layout.C
12304
12305         * layout.C: removed file
12306
12307         * layout.h: remove LYX_DUMMY_LAYOUT
12308
12309         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12310         layout.
12311
12312         * lyxlayout.[Ch]:
12313         * lyxtextclass.[Ch]:
12314         * lyxtextclasslist.[Ch]: new files
12315
12316         * include order changes to a lot of files, also changes because of
12317         the six new files.
12318
12319 2001-12-27  Juergen Vigna  <jug@sad.it>
12320
12321         * buffer.C (asciiParagraph): more fixes.
12322
12323         * tabular.C (ascii): make ascii export support export of only the
12324         data separated by a column-delimiter.
12325         (ascii): better support for ascii export.
12326
12327         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12328
12329 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12330
12331         * tabular_funcs.C: use a "using std::getline" instead of the
12332         previous fix from Angus (necessary for cxx + lyxstring)
12333
12334 2001-12-24  Juergen Vigna  <jug@sad.it>
12335
12336         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12337
12338         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12339         problems. First check a minipage also if we have some ert-contents
12340         (not only on par->size(), second set the right depth of the paragraph
12341         on the relink to the root-paragraph-list!
12342
12343         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12344         which then did not anymore update the main paragraphs on undo/redo!
12345
12346 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12347
12348         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12349         code. Support all font-changing funcs (even those which are not in
12350         menu currently). Support for reporting font settings in
12351         mathed (disabled until Andre provides a function on mathed's side).
12352
12353         * func_status.h (toggle): small helper function to set toggle
12354         state on a flag.
12355
12356 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
12357
12358         * tabular_funcs.C: getline -> std::getline
12359
12360 2001-12-21  Juergen Vigna  <jug@sad.it>
12361
12362         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12363         accessed and could be 0 (I couldn't generate this but it seems
12364         Michael could!).
12365
12366 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12367
12368         * tabular_funcs.C: add LIstream.h, move write_attribute to..
12369         * tabular_funcs.h: here and include iosfwd
12370
12371 2001-12-20  Juergen Vigna  <jug@sad.it>
12372
12373         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12374         inside inset but undo_par was.
12375
12376 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12377
12378         * Thesaurus.C: always include <config.h> in sources.
12379
12380         * Painter.h:
12381         * lyxlookup.h:
12382         * box.h: do not include <config.h> in header files
12383
12384         * text.C (paintLastRow): remove unused variable
12385
12386         * text.C (transformChar):
12387         (insertChar):
12388         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12389
12390         * Painter.C (text):
12391         * font.C (width): rewrite to use uppercase() instead of
12392         islower/toupper.
12393
12394         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12395
12396 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
12397
12398         * lyxfind.C: clean up of find failure position change
12399
12400 2001-12-20  Juergen Vigna  <jug@sad.it>
12401
12402         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12403
12404         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12405         (TeXRow): added to LaTeX a single tabular row.
12406         (TeXLongtableHeaderFooter): added to output LT-h/f data.
12407         (Latex): simplified and finally good LT-h/f support.
12408         (various_functions): just small adaptions for LT-h/f support.
12409
12410         * tabular_funcs.[hC]: added and moved here all not classfunctions
12411         of LyXTabular.
12412
12413 2001-12-19  Juergen Vigna  <jug@sad.it>
12414
12415         * tabular.[Ch]: better support for longtabular options (not finished
12416         yet!)
12417
12418 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12419
12420         * text.C (paintLastRow): use the label font instead of the font of
12421         the last character to compute the size of *_BOX. This makes more
12422         sense and avoids a crash with empty paragraphs.
12423         Use Painter::rectangle to draw EMPTY_BOX.
12424
12425 2001-12-19  Juergen Vigna  <jug@sad.it>
12426
12427         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12428         the paragraphs if the replaced paragraph is not the first one!
12429         Tried to delete not used paragraphs but does not work yet so for
12430         now it's inside #ifdef's and by default off!
12431
12432 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12433
12434         * MenuBackend.C: include "lyx_main.h" instead of declaring
12435         lastfiles (actually was declared as LastFiles* instead of a
12436         scoped_ptr).
12437
12438 2001-12-17  Juergen Vigna  <jug@sad.it>
12439
12440         * tabular.C (AppendColumn): applied John's fix
12441
12442 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
12443
12444         * BufferView.h:
12445         * BufferView.C:
12446         * BufferView_pimpl.h:
12447         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12448
12449         * Makefile.am:
12450         * box.h: new start of class for above
12451
12452         * lyxfunc.C: ignore space-only minibuffer dispatches.
12453           Show the command name when it doesn't exist
12454
12455         * minibuffer.C: don't add empty lines to the history
12456
12457         * minibuffer.C: add a space on dropdown completion
12458
12459 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
12460
12461         * text.C: fix line above/below drawing in insets
12462
12463 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12464
12465         * lyxlength.C (LyXLength): Initialize private variables.
12466
12467 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
12468
12469         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12470         when inserting error insets.
12471
12472 2001-12-13  Juergen Vigna  <jug@sad.it>
12473
12474         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12475         actually sometimes the before-paragraph.
12476         (setUndo): don't clear the redostack if we're not actually undoing!
12477
12478 2001-12-06  Juergen Vigna  <jug@sad.it>
12479
12480         * undo_funcs.C (textHandleUndo): well after John's hint I got here
12481         and fixed redoing of main paragraph, so we can use it now ;)
12482
12483         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12484
12485 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12486
12487         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12488         Juergen's request
12489
12490 2001-12-13  André Pönitz <poenitz@gmx.net>
12491
12492         * undostack.[Ch]:
12493         * undo_func.C: minor cleanup
12494
12495 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12496
12497         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12498         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12499         font in urw-fonts package which is marked as -urw-fontspecific and
12500         does not work (incidentally, changing the encoding in the
12501         fonts.dir of this package to -adobe-fontspecific fixes the
12502         problem).
12503
12504         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12505         is a crash when undoing first paragraph (Juergen, please take a
12506         look). THis does not mean the undo fix is wrong, just that it
12507         uncovers problems.
12508
12509         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12510         the (Paragraph*) version when needed instead of duplicating the
12511         code.
12512
12513         * text.C (workWidth): use Inset::parOwner to find out where the
12514         inset has been inserted. This is a huge performance gain for large
12515         documents with lots of insets. If Inset::parOwner is not set, fall
12516         back on the brute force method
12517
12518         * paragraph_pimpl.C (insertInset):
12519         * paragraph.C (Paragraph):
12520         (cutIntoMinibuffer): set parOwner of insets when
12521         inserting/removing them
12522
12523         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12524
12525 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
12526
12527         * commandtags.h:
12528         * LyXAction.C:
12529         * lyx_main.C:
12530         * lyxfunc.C:
12531         * mathed/formulabase.C:
12532         * mathed/math_cursor.[Ch]:
12533         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12534
12535
12536 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12537
12538         * lyxlength.[Ch] (operator!=): new function
12539
12540 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12541
12542         * text.C (workWidth): use Inset::parOwner to find out where the
12543         inset has been inserted. This is a huge performance gain for large
12544         documents with lots of insets. If Inset::parOwner is not set, fall
12545         back on the brute force method
12546
12547         * paragraph_pimpl.C (insertInset):
12548         * paragraph.C (Paragraph):
12549         (cutIntoMinibuffer): set parOwner of insets when
12550         inserting/removing them
12551
12552         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12553
12554 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12555
12556         * tabular-old.C (getTokenValue):
12557         * tabular.C (getTokenValue):
12558         (write_attribute): new versions for LyXLength
12559         (everywhere): adjust the use of widths
12560
12561         * tabular.h: change the type of widths from string to LyXLength
12562
12563 2001-12-11  Ben Stanley <bds02@uow.edu.au>
12564
12565         * paragraph.C: fixed missing line number count when exporting
12566         Environments to LaTeX file
12567
12568         * buffer.C: added informational message for checking line numbers.
12569
12570 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12571
12572         * text2.C (deleteEmptyParagraphMechanism): if there is only one
12573         paragraph, do the 'double space' part, but not the 'empty
12574         paragraph' one.
12575
12576         * text.C (workWidth): small optimization
12577         (getLengthMarkerHeight): use minimal size for negative lengths.
12578
12579 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
12580
12581         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12582
12583         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12584
12585 2001-12-11  André Pönitz <poenitz@gmx.net>
12586
12587         * FontLoader.C:
12588         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12589
12590 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12591
12592         * text2.C: keep selection on a setFont()
12593
12594 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12595
12596         * lyx_cb.C: another bv->text misuse, from insert label
12597
12598 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12599
12600         * kbsequence.h:
12601         * kbsequence.C: re-instate nmodifier mask
12602
12603 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
12604
12605         * lyx_main.h: make lyxGUI private.
12606
12607 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12608
12609         * lyxfind.C: place the cursor correctly on failed search
12610
12611 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12612
12613         * text.C (getLengthMarkerHeight): for small heights, the arrows
12614         are not always on top/bottom of the text
12615         (drawLengthMarker): smaller arrows; take the left margin in
12616         account; draw also vfills.
12617         (paintFirstRow):
12618         (paintLastRow): remove special code for vfill and standard spaces,
12619         since everything is handled in drawLengthMarker now.
12620
12621 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12622
12623         * buffer.C (insertErtContents): try to handle font and language
12624         interaction a bit better.g
12625
12626         * ColorHandler.C (updateColor): change the hash to cover the whole
12627         LColor enum, ws cleanup
12628         (getGCLinepars): ditto
12629         (getGCLinepars): only lookup in the linecache once.
12630
12631 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
12632
12633         * iterators.C (operator++): Make the iterator more robust
12634
12635         * BufferView2.C (removeAutoInsets): Use paragraph iterators
12636         (John's patch)
12637         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12638
12639 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12640
12641         * lyxtext.h:
12642         * text.C: better added space drawing
12643
12644 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12645
12646         * LyXView.C:
12647         * BufferView2.C: fix layout combo update on inset unlock
12648
12649 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12650
12651         * Makefile.am: don't compile unused files
12652
12653 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12654
12655         * lyxfunc.C:
12656         * commandtags.h:
12657         * LyXAction.C: remove old LFUN_LAYOUTNO
12658
12659 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12660
12661         * paragraph_pimpl.h:
12662         * paragraph_pimpl.C: isTextAt() doesn't need font param
12663
12664 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12665
12666         * lyxlex.h:
12667         * lyxlex.C: little cleanup
12668
12669 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12670
12671         * BufferView_pimpl.C: fix insertAscii for insets
12672
12673 2001-12-05  Juergen Vigna  <jug@sad.it>
12674
12675         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12676         set the right font on the "multi" paragraph paste!
12677
12678 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12679
12680         * trans_decl.h:
12681         * trans_mgr.[Ch]:
12682         * trans.[Ch]:
12683         * lyxgluelength.C:
12684         * lyxlength.C: remove out-commented code.
12685
12686         * BufferView_pimpl:
12687         * CutAndPaste.C:
12688         * DepTable.C:
12689         * buffer.C:
12690         * chset.C:
12691         * lastfiles.C:
12692         * lyxlex.C:
12693         * lyxlex_pimpl.C:
12694         * lyxserver.C:
12695         * screen.C:
12696         * tabular-old.C:
12697         * tabular.C:
12698         * text.C:
12699         * trans_mgr.C:
12700         * vc-backend.C: change "while(" to "while ("
12701
12702         * lyxlength.[Ch]: add zero function to check if length is zero or
12703         not
12704         * lyxgluelength.C: use it
12705
12706 2001-12-05  Allan Rae  <rae@lyx.org>
12707
12708         * lyxlength.C: Attempted a fix for the abs(int) header selection.
12709         Works for 2.95.3, from what I understand of Garst's reports this should
12710         work for other g++ versions.  We're screwed if the abs(int) definition
12711         changed between bugfix releases of gcc.
12712
12713 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12714
12715         * text.C: fix chapter label offset !
12716
12717 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12718
12719         * lyxtext.h:
12720         * text.C: fix hfill at end of line, clean up
12721
12722 2001-12-04  Juergen Vigna  <jug@sad.it>
12723
12724         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12725         that we force an update of the inset and it's owners if neccessary.
12726
12727 2001-12-03  Juergen Vigna  <jug@sad.it>
12728
12729         * text.C (rowLast): simplified code
12730
12731 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12732
12733         * lyxfunc.C: fix show options on timeout
12734
12735 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12736
12737         * screen.C (topCursorVisible): scroll half a page when the cursor
12738         reached top of bottom of screen
12739
12740 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
12741
12742         * minibuffer.C: deactivate on loss of focus
12743
12744 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12745
12746         * vspace.[Ch] (operator!=): add operator.
12747
12748 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
12749
12750         * BufferView_pimpl.C: refuse to open an inset when
12751         there's a selection.
12752
12753 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
12754
12755         * BufferView_pimpl.C: allow to click on RHS of full row insets
12756
12757 2001-11-30  Juergen Vigna  <jug@sad.it>
12758
12759         * tabular.C (LyXTabular): add a same_id to set the same id's in the
12760         insets for undo reasons.
12761
12762 2001-11-28  André Pönitz <poenitz@gmx.net>
12763
12764         * vspace.[Ch]: cosmetical changes
12765
12766 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12767
12768         * LyXAction.h:
12769         * LyXAction.C:
12770         * lyxfunc.h:
12771         * lyxfunc.C:
12772         * kbmap.h:
12773         * kbmap.C:
12774         * lyxrc.C:
12775         * kbsequence.h:
12776         * kbsequence.C: part re-write of old kb code
12777
12778         * Painter.C:
12779         * WorkArea.C: remove Lgb_bug_find_hack
12780
12781 2001-11-30  José Matos <jamatos@fep.up.pt>
12782
12783         * buffer.C (makeDocBookFile): add a comment to point a hack.
12784         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12785         Fixed a double write of labels.
12786
12787 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12788
12789         * LaTeX.C:
12790         * LaTeX.h Fixed bug in LaTeX class where it would not
12791         re-run latex if no depfiles were changed, but the .dvi was removed.
12792
12793 2001-11-28  André Pönitz <poenitz@gmx.net>
12794
12795         * all the files from the change on 2001/11/26:
12796         use lyx::layout_type instead of LyXTextClass::size_type
12797         use lyx::textclass_type instead of LyXTextClassList::size_type
12798
12799 2001-11-29  Juergen Vigna  <jug@sad.it>
12800
12801         * text.C: added support for paragraph::isFreeSpacing()
12802
12803         * buffer.C: same as above
12804
12805         * paragraph.h: inserted isFreeSpacing() function to enable
12806         FreeSpacing inside InsetERT.
12807
12808         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12809         of the paragraph's in the cut/copy buffer to 0!
12810
12811         * text2.C (removeRow): remove the assert as it can!
12812
12813         * lyxtext.h: added helper function firstRow returning firstrow and
12814         made firstrow private again.
12815
12816         * BufferView2.C (lockInset): don't relock if we're already locked!
12817
12818         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12819         the only paragraph.
12820         (removeRow): added Assert::(firstrow)
12821
12822         * debug.C: forgot to add INSETTEXT here.
12823
12824 2001-11-28  Juergen Vigna  <jug@sad.it>
12825
12826         * sp_spell.C (initialize): changed error text to more general
12827         spellchecker command use (not only ispell!)
12828
12829         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12830
12831         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12832
12833 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12834
12835         * vspace.C: initialise lyxgluelength on failure
12836
12837 2001-11-28  Allan Rae  <rae@lyx.org>
12838
12839         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12840         declaration & definition that looks like a function declaration.
12841
12842 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12843
12844         * BufferView2.C (copy):
12845         (copyEnvironment): do not clear the selection when doing a copy.
12846
12847         * text.C (paintFirstRow): compilation fix
12848
12849 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
12850
12851         * tabular.C (Latex): correct line count when writing latex.
12852
12853 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
12854
12855         * paragraph_pimpl.h:
12856         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12857           bug a bit
12858
12859 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12860
12861         * text.C:
12862         * LColor.h:
12863         * LColor.C: change vfillline->added_space
12864
12865         * text.C: add markers and text for added space
12866
12867         * vspace.C: fix comment
12868
12869 2001-11-28  André Pönitz <poenitz@gmx.net>
12870
12871         * paragraph.C: whitespace changes
12872         * all the other files from the change on 2001/11/26:
12873         change *::pos_type into lyx::pos_type
12874
12875 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
12876
12877         * buffer.C (parseSingleLyXformat2Token): Set the language to the
12878         language of the document when inserting error insets.
12879
12880 2001-11-26  André Pönitz <poenitz@gmx.net>
12881
12882         * BufferView_pimpl.[Ch]:
12883         *       CutAndPaste.C:
12884         * buffer.[Ch]:
12885         * lyxcursor.[Ch]:
12886         * lyxfind.C:
12887         * lyxfunc.C:
12888         * lyxrow.[Ch]:
12889         * paragraph.[Ch]:
12890         * paragraph_pimpl.[Ch]:
12891         * sp_spell.C:
12892         * text.C:
12893         * text2.C: reduce header dependencies, introduce type for positions
12894
12895 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12896
12897         * <various>: change to use Alert.h
12898
12899 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
12900
12901         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12902         when encountering an unknown token.
12903         (readLyXformat2): Show an error message if there were unknown tokens.
12904
12905 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
12906
12907         * BufferView2.C:
12908         * BufferView_pimpl.C:
12909         * buffer.C:
12910         * paragraph.h:
12911         * text.C:
12912         * text2.C: use par->isInset()
12913
12914 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12915
12916         * paragraph_pimpl.h:
12917         * paragraph_pimpl.C: cleanup
12918
12919 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12920
12921         * text2.C (removeRow):
12922         * text.C (setHeightOfRow): remove useless (and costly) call to
12923         getRow.
12924
12925 2001-11-20  Allan Rae  <rae@lyx.org>
12926
12927         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12928         Now need Inset*::checkInsertChar() to return true for appropriate
12929         cases so that the characters in the minibuffer will actually be
12930         inserted.
12931
12932 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12933
12934         * text.C: change the order of the includes.
12935         (workWidth): initialize it at once.
12936         (workWidth): make maxw unsigned
12937         (setHeightOfRow): remove unused variable (inset)
12938         (selectSelectedWord): remove unused variable (inset)
12939         (paintRowText): fix drawing of hfill characters, and clean up a bit.
12940
12941 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12942
12943         * lyxserver.C (emergencyCleanup): do not try to close pipes if
12944         server is not running.
12945         (openConnection):
12946         (closeConnection): add debug info when server is disabled.
12947
12948         * ColorHandler.C (getGCForeground): send debug message to GUI
12949         channel.
12950
12951         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12952
12953         * kbmap.C (bind): modify because return conventions of
12954         kb_sequence::parse have changed.
12955
12956         * kbsequence.C (parse): only ignore spaces and not any stupid
12957         control character. This avoids tests like s[i] <= ' ', which are
12958         guaranteed to fail with 8bit characters and signed chars.
12959         Change return code to string::npos when there have been no error
12960         (0 was a bad idea when error is at first character)
12961
12962 2001-11-14  José Matos  <jamatos@fep.up.pt>
12963
12964         * buffer.h:
12965         * buffer.C (simpleDocBookOnePar): removed unused argument.
12966
12967 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12968
12969         * text.C (selectNextWordToSpellcheck): do not test explicitely for
12970         insets which are part of a word. Paragraph::isLetter takes care of
12971         that now. Use Paragraph::isInset to identify insets.
12972         (selectSelectedWord): do not test for hyphenation break.
12973
12974         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12975         that protected spaces are considered as spaces.
12976
12977         * paragraph.C (isLetter): cleanup the code for ispell extras; use
12978         Inset::isLetter.
12979
12980 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
12981
12982         * lyxserver.h:
12983         * lyxserver.C: fix it. and small cleanup.
12984
12985 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12986
12987         * BufferView_pimpl.C: use inline helpers
12988
12989         * LaTeXFeatures.h:
12990         * LaTeXFeatures.C: fix typos
12991
12992         * Spacing.h:
12993         * Spacing.C: move spacing_string into class
12994
12995         * ToolbarDefaults.C: move stuff into namespace anon
12996
12997         * layout.h: update enum
12998
12999         * lyxfunc.C: use better debug
13000
13001         * minibuffer.h: fix typo
13002
13003         * debug.h:
13004         * debug.C:
13005         * WorkArea.C: add and use Debug::WORKAREA
13006
13007         * lyxtext.h:
13008         * text.C:
13009         * text2.C: code re-organisation, inline helpers
13010
13011 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
13012
13013         * Layout.C: replaced a few cases of std::vector.size() == 0 with
13014         std::vector.empty().
13015
13016 2001-11-09  Allan Rae  <rae@lyx.org>
13017
13018         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13019         '\n's after tables.  Tabular and ERT inset work now makes this no
13020         longer necessary.
13021
13022 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13023
13024         * minibuffer.h:
13025         * minibuffer.C: fix crash, improve drop-down completion
13026
13027 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
13028
13029         * lyxserver.h:
13030         * lyxserver.C: invalidate fd's when doing endPipe()
13031
13032 2001-11-08  José Matos  <jamatos@fep.up.pt>
13033
13034         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13035         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13036
13037         * paragraph.h:
13038         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13039
13040 2001-11-07  José Matos  <jamatos@fep.up.pt>
13041
13042         * buffer.h:
13043         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13044         const qualifier.
13045
13046         * buffer.C (sgmlOpenTag):
13047         * buffer.C (sgmlCloseTag): removed debug info.
13048
13049         * buffer.h (sgmlOpenTag):
13050         * buffer.h (sgmlCloseTag): made public.
13051
13052 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13053
13054         * buffer.C (saveParamsAsDefaults):
13055         * lyx_cb.C (MenuLayoutSave): remove
13056
13057         * LyXAction.C (init):
13058         * commandtags.h:
13059         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13060
13061 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13062
13063         * buffer.C (setPaperStuff): removed from here...
13064
13065         * bufferparams.C (setPaperStuff): ... and moved there.
13066
13067 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
13068
13069         * minibuffer.h:
13070         * minibuffer.C:
13071         * XFormsView.C: add support for drop-down completion
13072
13073 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
13074
13075         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13076         commands.
13077
13078 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13079
13080         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13081         disabled.
13082
13083 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
13084
13085         * lyx_main.C: change ref to known bugs
13086
13087 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
13088
13089         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13090         to work around older babel problems.
13091
13092 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13093
13094         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13095
13096 2001-10-24  Juergen Vigna  <jug@sad.it>
13097
13098         * tabular-old.C (ReadOld): below variable changes reflected.
13099
13100         * tabular.[Ch]: added ltType struct for longtable header/footer
13101         defines and changed all instances where they are used. Added
13102         future support for double top/bottom rows.
13103
13104 2001-10-24  José Matos  <jamatos@fep.up.pt>
13105
13106         * buffer.h (docbookHandleCaption):
13107         * buffer.C (docbookHandleCaption): removed unused function.
13108         (makeDocBookFile): moved docbook supported version to v4.1.
13109
13110 2001-10-24  José Matos  <jamatos@fep.up.pt>
13111
13112         * tabular.h:
13113         * tabular.C (docbookRow): new function to export docbook code of a row.
13114         (DocBook): now honors the longtable flags.
13115
13116 2001-10-23  José Matos  <jamatos@fep.up.pt>
13117
13118         * LaTeXFeatures.h:
13119         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13120         of the lyx defined sgml entities used in a docbook/linuxdoc document.
13121
13122         * buffer.C (makeLinuxDocFile):
13123         (makeDocBookFile): reworked the preamble, more clean, and with
13124         support for lyx defined entities. Changed the document declaration
13125         to be more XML friendly.
13126
13127         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13128         if we need to output XML that should be done with a filter.
13129
13130 2001-10-22  Juergen Vigna  <jug@sad.it>
13131
13132         * sp_pspell.h (class PSpell): add alive function needed in the
13133         controller to see if the spellchecker could be started.
13134
13135 2001-10-22  Juergen Vigna  <jug@sad.it>
13136
13137         * buffer.C (insertStringAsLines): modify the font for inserting
13138         chars in certain conditions by calling checkInsertChar(font).
13139
13140 2001-10-19  Juergen Vigna  <jug@sad.it>
13141
13142         * text.C (workWidth): use getRow instead of wrong algorithm.
13143         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13144
13145 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
13146
13147         * lyxserver.h:
13148         * lyxserver.C:
13149         * lyx_main.h:
13150         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13151
13152 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13153
13154         * text.C (workWidth): do not search for the exact row when
13155         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13156         optimization for big documents.
13157
13158 2001-10-18  Juergen Vigna  <jug@sad.it>
13159
13160         * text.C (workWidth): new function with added Inset * parameter.
13161
13162 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13163
13164         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13165
13166         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13167         change return type of getColumnNearX.
13168
13169
13170         * text.C (changeRegionCase): use uppercase/lowercase instead of
13171         toupper/tolower.
13172         (leftMargin):
13173         (rightMargin): simplify code by factoring out the uses of
13174         textclasslist.
13175         (labelFill):
13176         (numberOfHfills):
13177         (setHeightOfRow):
13178         (appendParagraph): use Paragraph::size_type
13179
13180 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13181
13182         * vspace.C (asLatexString): add a missing break
13183
13184 2001-10-15  Herbert Voss  <voss@perce.de>
13185
13186         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13187
13188 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13189
13190         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13191         is not available.
13192
13193 2001-10-10  André Pönitz <poenitz@gmx.net>
13194
13195         * lyxfunc.C: removed greek_kb_flag.
13196
13197 2001-10-10  Herbert Voss  <voss@perce.de>
13198
13199         * lyx_main.C: delete global string help_lyxdir.
13200
13201 2001-10-09  Herbert Voss  <voss@perce.de>
13202
13203         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13204
13205         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13206
13207         * lyx_main.C: added global string help_lyxdir.
13208
13209         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13210
13211 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13212
13213         * lyxrc.C (set_font_norm_type): support iso8859-4
13214
13215 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
13216
13217         * LaTeX.C (deplog): add another regex for MikTeX
13218
13219 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13220
13221         * lyxrc.C (set_font_norm_type): support iso8859-3
13222
13223 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13224
13225         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13226
13227         * LaTeXFeatures.C: remove special case of french and index
13228
13229         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13230         before \begin{document}). This solves several incompatibilities.
13231
13232 2001-10-03  Garst Reese  <reese@isn.net>
13233
13234         * lyx_cb.C: change CheckTex error msg.
13235
13236 2001-10-03  José Matos  <jamatos@fep.up.pt>
13237
13238         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13239
13240 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13241
13242         * .cvsignore: update
13243
13244         * lyx_main.C (commandLineVersionInfo): use new style version info.
13245
13246         * buffer.C (writeFile):
13247         (makeLaTeXFile):
13248         (makeLinuxDocFile):
13249         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13250
13251         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13252
13253         * version.h: update to use stuff in version.C
13254
13255         * version.C.in: new file. Contains version information determined
13256         at compile time. This is a merging of version.h and
13257         version_info.h.in.
13258
13259 2001-10-03  Juergen Vigna  <jug@sad.it>
13260
13261         * BufferView_pimpl.C (update): don't change "dirty" status in
13262         updateInset call.
13263
13264 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
13265
13266         * WorkArea.C (c-tor): re-position version string slightly.
13267
13268 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
13269
13270         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13271         revert to previous code.
13272
13273         WorkArea.[Ch]: (show, destroySplash): methods removed.
13274
13275         WorkArea.C: rework code so that it's an amalgam of the codes before and
13276         after the splash screen was moved to WorkArea.
13277
13278 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13279
13280         * lyxrc.C (read):
13281         * vspace.C (inPixels):
13282         (lyx_advance):
13283         * kbmap.C (bind):
13284         * buffer.C (insertStringAsLines):
13285         (asciiParagraph): fix types to be large enough
13286
13287         * lyxlex_pimpl.h: change member status from short to int
13288
13289         * layout.h: fix type of endlabeltype
13290
13291         * kbmap.C (bind):
13292         * kbsequence.C (parse): change return type to string::size_type
13293
13294         * LaTeX.C (updateBibtexDependencies): comment out unneeded
13295         variable
13296
13297         * Bullet.C (bulletSize):
13298         (bulletEntry): do not use short ints as parameters
13299
13300         * BufferView2.C (insertLyXFile): change a char to an int.
13301
13302         * WorkArea.C (WorkArea): remove unneeded floats in computation
13303
13304 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
13305
13306         * buffer.C (asciiParagraph): Treat '\\' as other chars.
13307
13308         * paragraph.C (asString): Do not ignore newline/hfill chars when
13309         copying to the clipboard.
13310
13311 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
13312
13313         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13314         after a multi-line inset.
13315
13316 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
13317
13318         * paragraph.C (validate): Set NeedLyXFootnoteCode
13319
13320 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13321
13322         * lyxfont.C (LyXSizeNames): changed increase-error to increase
13323         and decrease-error to decrease.
13324
13325 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13326
13327         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13328         it more readable (should be equivalent)
13329
13330 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13331
13332         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13333
13334 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13335
13336         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13337         of a cursor (row, etc.) after a character has been deleted
13338         (deleteEmptyParagraphMechanism): call the method above on _all_
13339         cursors held by the LyXText when a double space has been
13340         detected/deleted.
13341
13342 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13343
13344         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13345         pixmap.
13346         (resizeCurrentBuff): remove code to destroy the old splash dialog.
13347
13348         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13349         background. Use greyOut() and the new show() methods to toggle between
13350         the foreground and background. Add code to remove the splash after
13351         its initial showing.
13352
13353         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13354         (create_forms): no longer call Dialogs::showSplash.
13355
13356 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13357
13358         * .cvsignore: add version_info.h
13359
13360 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13361
13362         * version_info.h.in: new file
13363
13364         * Makefile.am: add version_info.h.in
13365
13366         * lyx_main.C (commandLineVersionInfo): use version_info defined in
13367         version_info.h instead of VERSION_INFO
13368
13369 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
13370
13371         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13372         The ERT inset now returns string().
13373
13374 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
13375
13376         * lyxtext.h, text.C (selectNextWord): renamed as
13377         selectNextWordToSpellcheck.
13378
13379         * text.C (selectNextWordToSpellcheck): Modified to not select
13380         words inside an ERT inset.
13381
13382 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13383
13384         * lyx_cb.C (MenuLayoutSave): change a bit the question
13385
13386         * sp_base.h: include <sys/types.h>
13387
13388 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
13389
13390         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13391
13392 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
13393
13394         * several files: fix typos in user-visible strings
13395
13396 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13397
13398         * text2.C (pasteSelection): do not set the selection, since it
13399         will be cleared later. Actually, the intent was to fix the way the
13400         selection was set, but I figured rmoving the code was just as good.
13401
13402 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
13403
13404         * FontLoader.C (available): Check if font is available without
13405         loading the font.
13406
13407 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
13408
13409         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13410
13411 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
13412
13413         * lyxrc.[Ch]: added display_graphics variable and associated code.
13414
13415 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13416
13417         * bufferparams.C (hasClassDefaults): new method. Returns true if
13418         the buffer parameters correspond to known class defaults
13419
13420 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
13421
13422         * XFormsView.C (show): set minimum size to the main window.
13423
13424 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13425
13426         * text2.C (copySelection):
13427         (cutSelection):
13428         * lyxfind.C (LyXReplace):
13429         * BufferView_pimpl.C (Dispatch): pass the correct flag to
13430         LyXText::selectionAsString.
13431
13432         * paragraph.C (asString): add "label" argument to the second form
13433
13434         * text2.C (selectionAsString): add "label" argument and pass it to
13435         Paragraph::asString.
13436
13437 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13438
13439         * lyx_main.C (commandLineHelp): remove version information
13440
13441 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
13442
13443         * lyx_main.C: add -version commandline option
13444
13445 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13446
13447         * paragraph.h: make the optional constructor arg required instead.
13448         some modifications to other files because of this.
13449
13450         * minibuffer.C (C_MiniBuffer_peek_event): make it static
13451
13452         * lyxserver.C (C_LyXComm_callback): make it static
13453
13454         * lyx_main.C (error_handler): make it static
13455
13456         * lyx_gui.C (LyX_XErrHandler): make it static
13457
13458         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13459
13460         * WorkArea.C: make the extern "C" methods static.
13461
13462         * Makefile.am (lyx_LDADD): simplify
13463
13464 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13465
13466         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13467         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13468
13469         * LyXAction.C (init):
13470         * lyxfunc.C (dispatch): associated code removal.
13471
13472 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13473
13474         * lyxfont.h (isSymbolFont): shut off warning
13475
13476         * text.C (setHeightOfRow):
13477         (getVisibleRow): fix crash with empty paragraphs which have a
13478         bottom line
13479
13480 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
13481
13482         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13483         code.
13484
13485 2001-09-04  José Matos  <jamatos@fep.up.pt>
13486         * buffer.C
13487         * buffer.h
13488         * tabular.C (docbook): rename docBook method to docbook.
13489
13490 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13491
13492         * Makefile.am: add dependencies to main.o.
13493
13494 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
13495
13496         * FontLoader.C (available): Return false if !lyxrc.use_gui
13497
13498 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
13499
13500         * FontInfo.C (query):
13501         * converter.C (view):
13502         * importer.C (Import):
13503         * exporter.C (Export): Can not -> cannot.
13504
13505 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
13506
13507         * BufferView_pimpl.C: allow to create index inset even if
13508           string is empty
13509
13510 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13511
13512         * buffer.C (getLists): replace boost::tie code with an explicit pair
13513         as boost::tie can break some compilers.
13514
13515         * iterators.h: Added a std:: declaration to the return type of
13516         ParIterator::size.
13517
13518 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
13519
13520         * lyxrc.C: add help for view_dvi_paper_option, default to safe
13521           case.
13522
13523 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
13524
13525         * iterators.[Ch]: New files. Provide paragraph iterators.
13526
13527         * buffer.C (changeLanguage): Use paragraph iterators.
13528         (isMultiLingual): ditto
13529
13530         * BufferView2.C (ChangeInsets): Use paragraph iterators.
13531
13532 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
13533
13534         * FontLoader.C: Support for cmr font.
13535
13536 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
13537
13538         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13539         (available): New method.
13540
13541         * FontInfo.C (getFontname): Use scalable fonts even when
13542         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13543         found.
13544
13545 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13546
13547         * converter.C (Formats::view): reverted! Incorrect fix.
13548
13549 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13550
13551         * converter.C (Formats::view): only output the -paper option
13552         if the dvi viewer is xdvi, thereby fixing bug #233429.
13553
13554 2001-08-23  Herbert Voss  <voss@perce>
13555
13556         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13557
13558 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
13559
13560         * Spacing.h (Spacing): Set space to Default on in the default
13561         constructor.
13562
13563 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13564
13565         * vc-backend.h (RCS::versionString): add RCS to version
13566         (CVS::versionString): add CVS to version
13567
13568         * vc-backend.C (scanMaster): do not add CVS to version.
13569         (scanMaster): do not add RCS to version
13570
13571         * lyxvc.C (versionString): new method
13572
13573         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13574
13575 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13576
13577         * Spacing.C (set): initialize fval
13578
13579 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
13580
13581         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13582         " or \.
13583
13584 2001-08-16  Juergen Vigna  <jug@sad.it>
13585
13586         * lyxfunc.C (dispatch): implemented the new FINISHED states.
13587
13588 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13589
13590         * BufferView_pimpl.C:
13591         * figureForm.C:
13592         * lyxtext.h:
13593         * text2.C: setParagraph takes linespacing now
13594
13595 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
13596
13597         * LyxAction.C: add internal LFUN_CITATION_INSERT
13598
13599         * LyXView.C: actually apply fix
13600
13601         * bufferlist.C: fix open non-existent file
13602
13603         * lyxfind.C: fix indentation
13604
13605         * lyxfunc.C: remove unneeded assert, fix typo
13606
13607 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13608
13609         * MenuBackend.C: use "Floatname List"
13610
13611 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
13612
13613         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13614         when converting LaTeX layout to insetERT.
13615         Generate a non-collapsed float when reading old float
13616
13617 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13618
13619         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13620         ERT insets.
13621
13622 2001-08-13  Juergen Vigna  <jug@sad.it>
13623
13624         * text.C (fill): return 0 instead of 20 as this seems to be the more
13625         correct value.
13626
13627 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13628
13629         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13630         lyxrc.font_norm.
13631
13632 2001-08-13  Juergen Vigna  <jug@sad.it>
13633
13634         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13635         casesensitive off.
13636         (SearchBackward): comment out the unlocking of the inset_owner this
13637         should not be needed!
13638
13639 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
13640
13641         * Many files: Remove inherit_language, and add latex_language
13642
13643         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13644         collapsible insets.
13645
13646 2001-08-10  Juergen Vigna  <jug@sad.it>
13647
13648         * text.C (prepareToPrint): fixed hfill-width in draw!
13649
13650         * BufferView2.C (selectLastWord): save the selection cursor as this
13651         now is cleared in the function LyXText::clearSelection!
13652
13653 2001-08-08  Juergen Vigna  <jug@sad.it>
13654
13655         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13656         BACKSPACE type functions.
13657
13658         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13659         is only cutted from the document but not put in the cut-buffer, where
13660         still the old stuff should be.
13661
13662         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13663
13664         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13665
13666         * tabular.C (SetWidthOfCell): fixed special case where the width
13667         was not updated!
13668         (LeftLine): handle '|' in align_special.
13669         (RightLine): ditto
13670         (LeftAlreadyDrawed): ditto
13671         (SetWidthOfCell): ditto
13672
13673 2001-08-07  Juergen Vigna  <jug@sad.it>
13674
13675         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13676
13677 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13678
13679         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13680         * lyxlex.[hC]: ditto
13681
13682 2001-08-06  Juergen Vigna  <jug@sad.it>
13683
13684         * text.C (getVisibleRow): fix up row clearing a bit.
13685
13686 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13687
13688         * minibuffer.C: make sure the X server sees the changes in the input.
13689
13690 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13691
13692         * paragraph.C (getFont): split into...
13693         (getLabelFont): this
13694         (getLayoutFont): and this
13695         * paragraph_pimpl.C (realizeFont): calling this
13696
13697         * text2.C (getFont): split into...
13698         (getLayoutFont): this
13699         (getLabelFont): and this
13700         (realizeFont): all three calling this
13701
13702         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13703         files where used.
13704
13705 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13706
13707         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13708
13709 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
13710
13711         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13712         layouts from the Quote inset insertion.
13713
13714 2001-08-03  Juergen Vigna  <jug@sad.it>
13715
13716         * BufferView_pimpl.C (update): do the fitCursor only at the end!
13717
13718         * screen.C (drawFromTo): don't call fitcursor here and do the loop
13719         only if status not is already CHANGED_IN_DRAW (second level).
13720
13721         * text.C (draw): don't set the need_break_row when inside an
13722         InsetText LyXText.
13723
13724 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13725
13726         * buffer.C (parseSingleLyXformat2Token): handle more latex
13727         conversion cases.
13728
13729         * bufferview_funcs.[hC]: change function names to
13730         begin with small char, adjust other files.
13731
13732 2001-08-02  André Pönitz <poenitz@gmx.net>
13733
13734         * lyxfunc.C:
13735         BufferView_pimpl.C: remove broken special code for math-greek
13736
13737 2001-08-02  Juergen Vigna  <jug@sad.it>
13738
13739         * BufferView_pimpl.C (update): redone this function so that we
13740         update the text again if there was a CHANGE_IN_DRAW.
13741
13742         * screen.C (cursorToggle): removed LyXText parameter and recoded.
13743         (drawFromTo): added a new internal bool which is used by draw() and
13744         redraw() function.
13745         (general): some cursor drawing problems fixed.
13746
13747 2001-08-01  Juergen Vigna  <jug@sad.it>
13748
13749         * lyxfind.C (LyXFind): fixed
13750         (SearchForward): ditto
13751         (SearchBackward): ditto
13752
13753         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13754         spurius drawing of the cursor in the main area.
13755
13756         * text2.C (status): small fix which could lead to a segfault!
13757         (clearSelection): remove unneeded BufferView param.
13758
13759 2001-08-01  André Pönitz <poenitz@gmx.net>
13760
13761         * lyxfunc.C: small change due to changed mathed interface
13762
13763 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13764
13765         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13766
13767 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
13768
13769         * lyxfunc.c: fail gracefully if file doesn't exist
13770
13771         * LyXSendto.C:
13772         * buffer.C:
13773         * lyxfunc.C:
13774         * BufferView_pimpl.C: IsDirWriteable() proto changed
13775
13776         * LyXView.C: fix updateWindowTitle() to store the last title
13777
13778 2001-07-31  Juergen Vigna  <jug@sad.it>
13779
13780         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13781         the font (wrong since using of Paragraph::highestFontInRange).
13782
13783         * paragraph.C (highestFontInRange): added a default_size parameter.
13784
13785         * text.C (getVisibleRow): minor clear row changes (still not perfect).
13786         (setHeightOfRow): reformat
13787
13788 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13789
13790         * converter.[hC] + affected files: move to (inital-char)lowercase
13791         function names.
13792
13793         * ParagraphParameters.C (ParagraphParameters): remove commented code
13794
13795         * PainterBase.[Ch]: remove commented code
13796
13797         * LaTeXFeatures.h: add "bool floats" for float.sty
13798
13799         * LaTeXFeatures.C (LaTeXFeatures): init floats
13800         (require): handle float
13801         (getPackages): do it with floats
13802
13803 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13804
13805         * BufferView_pimpl.C (Dispatch): improve handling of
13806         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13807
13808         * commandtags.h: #include lyxfont.h here temporarily to avoid
13809         keybinding bug.
13810
13811         * bufferlist.h: include LString.h here.
13812
13813 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13814
13815         * text2.C (getStringToIndex): new method.
13816
13817 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
13818
13819         * *: Reduced header file dependencies all over.
13820
13821 2001-07-30  Baruch Even  <baruch@lyx.org>
13822
13823         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13824
13825 2001-07-29  Baruch Even  <baruch@lyx.org>
13826
13827         * buffer.C (readInset): Changed GRAPHICS to Graphics.
13828
13829 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13830
13831         * ParameterStruct.h (endif): add a default constructor to make
13832         sure that all variables is initialized.
13833
13834         * ParagraphParameters.C (ParagraphParameters): adjust
13835
13836 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13837
13838         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13839         index; also, check that there is something to index, and that it
13840         does not span over several paragraphs.
13841         (doubleClick): use WHOLE_WORD_STRICT for double click.
13842
13843         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13844
13845         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13846         scheme.
13847
13848 2001-07-26  Baruch Even  <baruch@lyx.org>
13849
13850         * buffer.C (readInset): Changed to call up InsetGraphics when reading
13851         an InsetFig figure, backwards compatible reading of old figure code.
13852
13853 2001-07-27  Juergen Vigna  <jug@sad.it>
13854
13855         * text2.C: font.realize function adaption.
13856
13857         * text.C (draw): add a warnings lyxerr text if needed.
13858
13859         * layout.C: font.realize function adaption.
13860
13861         * language.C: add inherit_language and implement it's handlings
13862
13863         * bufferview_funcs.C (StyleReset): remove language parameter from
13864         font creation (should be language_inherit now).
13865
13866         * bufferparams.C (writeFile): handle ignore_language.
13867
13868         * paragraph.C (getFontSettings): the language has to be resolved
13869         otherwise we have problems in LyXFont!
13870
13871         * lyxfont.C (lyxWriteChanges): added document_language parameter
13872         (update): removed unneeded language parameter
13873
13874         * paragraph.C (validate): fixed wrong output of color-package when
13875         using interface colors for certain fonts in certain environments,
13876         which should not seen as that on the final output.
13877
13878 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
13879
13880         * BufferView_pimpl.C:
13881         * Thesaurus.h:
13882         * Thesaurus.C:
13883         * Makefile.am:
13884         * commandtags.h:
13885         * LyXAction.C: add thesaurus support
13886
13887         * lyxfind.h:
13888         * lyxfind.C: add "once" parameter, for thesaurus, to not
13889           move to the next match
13890
13891 2001-07-26  Juergen Vigna  <jug@sad.it>
13892
13893         * lyxfont.C (realize): honor ignore_language too!
13894         (resolved): ditto.
13895
13896         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13897
13898         * text.C (draw): one place more for ignore_language to not draw
13899         itself!
13900
13901 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
13902
13903         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13904
13905 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13906
13907         * buffer.C (parseSingleLyXformat2Token): a more general fix for
13908         the minipage conversion problem.
13909
13910 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13911
13912         * buffer.C (parseSingleLyXformat2Token): check minipage if we
13913         insert an inset.
13914
13915 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13916
13917         * BufferView.h: don't forward declare WorkArea
13918
13919         * BufferView.C: don't include WorkArea.h
13920
13921 2001-07-25  André Pönitz <poenitz@gmx.net>
13922
13923         * commandtags.h:
13924         * LyXAction.C:
13925         * lyxfunc.C:  new LFUN 'math-space'
13926
13927         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13928
13929 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13930
13931         * text2.C (toggleInset): call open/close
13932
13933 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13934
13935         * lyxfunc.C (dispatch): add debug for the disabled case
13936
13937         * font.C (buttonText): make similar to rectText
13938
13939         * buffer.C (readInset): comment out parsing of insetlist and
13940         insttheorem
13941
13942         * PainterBase.C (rectText): small correction
13943
13944         * BufferView_pimpl.C: comment out insettheorem and insetlist
13945         * LyXAction.C: ditto
13946         * commandtags.h: ditto
13947
13948 2001-07-24  Juergen Vigna  <jug@sad.it>
13949
13950         * text.C (draw): honor the ignore_language.
13951
13952         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13953
13954 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13955
13956         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13957         char inset.
13958
13959 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13960
13961         * lyxtext.h: remove unused (and unimplemented) methods
13962
13963 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13964
13965         * text.C (getVisibleRow): honor background color
13966
13967         * PainterBase.h:
13968         * Painter.h: remove default color argument for fillRectangle
13969
13970         * text.C (backgroundColor): new method
13971
13972 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13973
13974         * text.C (getVisibleRow): adjust
13975
13976         * font.[Ch] (rectText): new method, metrics
13977         (buttonText): new method, metrics
13978
13979         * PainterBase.[hC]: make rectText and buttonText always draw and take
13980         fewer paramteres.
13981
13982 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13983
13984         * ToolbarDefaults.C (read):
13985         * MenuBackend.C (read): allow escaping in all strings
13986
13987         * BufferView_pimpl.C (insertAndEditInset): new method.
13988         (Dispatch): use insertAndEditInset whenever appropriate.
13989
13990         * BufferView_pimpl.C (insertNote): removed
13991
13992         * BufferView_pimpl.C (smartQuote): new method, moved from
13993         BufferView; if an insetquote cannot be inserted, insert a '"'
13994         character instead.
13995
13996         * BufferView2.C: remove insertCorrectQuote();
13997
13998         * lyxfunc.C (getStatus): Add support for all remaingin
13999         inset-insert lfuns.
14000
14001         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14002
14003         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14004         command (necessary to pass " as parameter of self-insert.
14005
14006         * text.C (selectWordWhenUnderCursor):
14007         (selectWord): add word_location parameter
14008         (selectWordWhenUnderCursor): same + remove special code for word
14009         boundary.
14010         (selectNextWord): use kind() to guess type of insetspecialchar,
14011         not latex().
14012
14013         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14014         (insertErtContents): create ert insets as collapsed.
14015         (readInset): better compatibility code for Info inset.
14016
14017 2001-07-20  Juergen Vigna  <jug@sad.it>
14018
14019         * lyxfunc.C (dispatch): use always LyXFind now!
14020
14021         * text2.C (init): add a reinit flag so that the LyXText can be
14022         reinited instead of deleted and reallocated (used in InsetText).
14023
14024         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14025
14026         * text.C: ditto
14027
14028         * text2.C: ditto
14029
14030 2001-07-18  Juergen Vigna  <jug@sad.it>
14031
14032         * text.C (selectNextWord): handle insets inside inset by calling
14033         always the bv->text functions so that we can go up the_locking_inset!
14034
14035         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14036         in strange locations when inside an inset!
14037
14038         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14039         handling to include insets.
14040
14041         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14042
14043 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14044
14045         * LyXAction.C (init):
14046         * commandtags.h:
14047         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14048         LIGATURE_BREAK, since the name is so stupid.
14049
14050 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14051
14052         * buffer.C (readInset): enable reading of new InsetNotes as well as old
14053         InsetInfos.
14054
14055         * FontLoader.C: remove FORMS_H_LOCATION cruft.
14056
14057         * sp_form.[Ch]: remove.
14058
14059         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14060
14061         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14062         InsetInfo.
14063
14064         * src/buffer.C (readInset): ditto.
14065
14066 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14067
14068         * BufferView_pimpl.C (specialChar): new method. Obsoletes
14069         menuSeparator(), endOfSentenceDot(), ldots() and
14070         hyphenationPoint(), which are therefore removed.
14071         (Dispatch): handle LFUN_HYPHENATION_BREAK.
14072
14073         * LyXAction.C (init):
14074         * commandtags.h: add LFUN_HYPHENATION_BREAK.
14075
14076         * paragraph.C (getWord): removed.
14077
14078         * BufferView_pimpl.C (Dispatch): use last word or selection for
14079         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14080
14081         * lyx_main.C (queryUserLyXDir): do not ask before creating
14082         user_dir, except if it has been named explicitely.
14083
14084 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14085
14086         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14087         a document of zero size.
14088
14089 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
14090
14091         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14092         approriately in the c-tor and in require().
14093         (getPackages): output the appropriate LaTeX for natbib support.
14094
14095         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14096         variables "use_natbib" and "use_numerical_citations" when reading the
14097         LyX file.
14098         (readInset): read the various natbib cite commands.
14099         (validate): white-space change.
14100
14101         * bufferparams.[Ch]: new variables "bool use_natbib" and
14102         "bool use_numerical_citations".
14103         (writeFile): output them in the LyX file.
14104
14105 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14106
14107         * lyxfunc.C (getStatus): add support for all the inset insertion
14108         commands.
14109
14110         * text2.C (insertInset):
14111         * paragraph.C (insetAllowed):
14112         * BufferView_pimpl.C (insertInset): update to take in account the
14113         renaming of insertInsetAllowed
14114
14115         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14116
14117         * text2.C (getInset): new method. returns inset at cursor position.
14118
14119         * BufferView_pimpl.C (Dispatch): changes because of this.
14120
14121         * LyXAction.C (init): rename open-stuff to inset-toggle.
14122
14123         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14124
14125         * text2.C (toggleInset): renamed from openStuff; use
14126         Inset::open().
14127
14128 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
14129
14130         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14131
14132         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14133
14134 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
14135
14136         * buffer.C (readLyXformat2): Add filename to the error dialog
14137
14138 2001-07-18  Juergen Vigna  <jug@sad.it>
14139
14140         * tabular.C (GetCellNumber): put an assert here instead of the check!
14141
14142 2001-07-17  Juergen Vigna  <jug@sad.it>
14143
14144         * BufferView_pimpl.C (toggleSelection): adapted too.
14145
14146         * text.C (selectNextWord): adapted for use with insets.
14147         (selectSelectedWord): ditto
14148
14149 2001-07-17  Juergen Vigna  <jug@sad.it>
14150
14151         * sp_spell.C (PSpell): fix initialitation order.
14152
14153 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14154
14155         * paragraph.C: spacing
14156
14157 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
14158
14159         * sp_spell.C: repair language selection for pspell
14160
14161 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14162
14163         * lyxfunc.h: change more methods to begin with lower char.
14164
14165 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
14166
14167         * buffer.C (parseSingleLyXformat2Token): Generate error insets
14168         for unknown layouts.
14169
14170 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
14171
14172         * buffer.C (readLyXformat2): Generate an error dialog if there are
14173         unknown layouts.
14174
14175 2001-07-16  Juergen Vigna  <jug@sad.it>
14176
14177         * sp_spell.C: always compile ISpell part.
14178
14179         * lyxrc.C: added use_pspell entry and it's handling.
14180
14181 2001-07-13  Juergen Vigna  <jug@sad.it>
14182
14183         * sp_spell.C: removed double includes.
14184
14185 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
14186
14187         Consistent use of Lsstream.h:
14188         * Lsstream.h: added using std::stringstream for consistencies sake.
14189
14190         * buffer.C: removed using std::stringstream
14191
14192         * lyxfont.C (stateText):
14193         * paragraph.C (asString):
14194         * text.C (selectNextWord, selectSelectedWord):
14195         * text2.C (setCounter):
14196         * vspace.C (asString, asLatexString):
14197         std::ostringstream -> ostringstream.
14198
14199 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14200
14201         * LyXAction.C: add LFUN_HELP_ABOUTLYX
14202         * commandtags.h: add LFUN_HELP_ABOUTLYX
14203         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14204
14205 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14206
14207         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14208         cursorToggle()
14209         * lyx_gui_misc.C: remove spellchecker
14210         * lyxfunc.C: showSpellchecker
14211         * sp_base.h: added
14212         * sp_ispell.h: added
14213         * sp_pspell.h: added
14214         * sp_spell.C: added
14215         * sp_form.[Ch]: removed
14216         * spellchecker.[Ch]: removed
14217
14218 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
14219
14220         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14221         is set.
14222         (simpleTeXSpecialChars): Simply print the input character without
14223         any special translation if pass_thru is set.
14224
14225         * layout.h: Added bool pass_thru to layout class for being able to
14226         implement pass through of a paragraph for Literate Programming.
14227
14228         * layout.C: add LT_PASS_THRU to LayoutTags enum.
14229         * layout.C (LyXLayout): set pass_thru to flase in constructor.
14230         * layout.C (Read): add "passthru" to list of layout tags and add
14231         code to set the pass_thru boolean when it is read.
14232
14233 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14234
14235         * trans_decl.h: remove allowed from KmodInfo
14236
14237         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14238         remove allowed code
14239         (Load): adjust
14240
14241         * paragraph_pimpl.C (erase): use boost::prior
14242
14243         * Painter.C (text): use data() instead of c_str() when length is
14244         also provided.
14245         * WorkArea.C (putClipboard): ditto
14246         * font.h (width): ditto
14247
14248         * BufferView2.C: use it-> instead of (*it). for iterators
14249         * texrow.C: ditto
14250         * paragraph_pimpl.C: ditto
14251         * paragraph.C: ditto
14252         * minibuffer.C: ditto
14253         * language.C: ditto
14254         * kbmap.C: ditto
14255         * encoding.C: ditto
14256         * counters.C: ditto
14257         * converter.C: ditto
14258         * chset.C: ditto
14259         * Variables.C: ditto
14260         * TextCache.C: ditto
14261         * MenuBackend.C: ditto
14262         * LyXAction.C: ditto
14263         * LColor.C: ditto
14264         * FloatList.C: ditto
14265         * DepTable.C: ditto
14266         * ColorHandler.C (LyXColorHandler): ditto
14267
14268 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14269
14270         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14271
14272         * text2.C (openStuff): reintroduce this method (which had been
14273         nuked in NEW_INSETS frenzy).
14274
14275         * lyxfunc.C (Dispatch): when an action has not been handled, use
14276         its name in the error message, not its number.
14277
14278         * paragraph.C (inInset): change method name to begin with lowercase.
14279
14280         * undo_funcs.C:
14281         * text2.C: updates because of this.
14282
14283 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14284
14285         * ToolbarDefaults.C (add): add spaces in error message
14286
14287 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14288
14289         * buffer.C (readLyXformat2): initialize the ert comp. variables.
14290         (readLyXformat2): rename return_par to first_par, use lyxlex's
14291         pushToken and remove the manual push handling.
14292         (parseSingleLyXformat2Token): add another ert comp. variable:
14293         in_tabular, rename return_par to first_par. handle newlines better
14294
14295 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14296
14297         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14298
14299 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14300
14301         * text2.C (getParFromID): removed
14302
14303         * buffer.C (getParFromID): new method moved form lyxtext.
14304         * BufferView2.C (insertErrors): adjust
14305         (setCursorFromRow): adjust
14306         * BufferView_pimpl.C (restorePosition): adjust
14307         * lyxfunc.C (Dispatch): adjust
14308         * undo_funcs.C (textUndo): adjust
14309         (textRedo): adjust
14310         (textHandleUndo): adjust
14311         (textHandleUndo): adjust
14312
14313 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14314
14315         * buffer.C: up' the LYX_FORMAT
14316
14317         * lyxfont.h: turn NO_LATEX on as default
14318
14319         * buffer.C (insertErtContents): new methods of tex style compability.
14320         (parseSingleLyXformat2Token): use it several places.
14321         * tabular.C (OldFormatRead): and here
14322
14323 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14324
14325         * text2.C: remove some commented code.
14326         reindent file.
14327
14328         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14329         * trans.C: changes because of the above.
14330
14331 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
14332
14333         * text2.C (setCounter): Fix counters bug with bibliography layout.
14334
14335 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14336
14337         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14338         own member functions
14339         (simpleTeXSpecialChars): ditto
14340
14341 2001-07-06  Juergen Vigna  <jug@sad.it>
14342
14343         * a lot of files: changed the access to LyXText::status and the
14344         call of undo-functions.
14345
14346         * undo.[Ch]: added a inset_id to the undo informations.
14347
14348         * undo_funcs.[Ch]: added and moved here all undo functions.
14349
14350         * lyxtext.h: give the status enum a weight, made status_ a private
14351         variable and made accessor functions for it, removed the whole bunch
14352         of undo-functions as they are now in their own file, make some
14353         functions publically available. Added function ownerParagraph with
14354         int parameter.
14355
14356         * paragraph.[Ch]: added "bool same_ids" to the constructor,
14357         made InInset() a const function, added getParFromID() function.
14358
14359         * buffer.[Ch]: added const version for inset_iterator functions,
14360         added getInsetFromID() function.
14361
14362         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14363         changed undo functions for new version.
14364
14365 2001-07-05  Juergen Vigna  <jug@sad.it>
14366
14367         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14368         unknow mechanism does not call the proper constructor but only this
14369         one also if I request the other!?
14370
14371 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14372
14373         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14374
14375         * text2.C (LyXText): use initialization lists.
14376
14377         * lyxtext.h (Selection): initialize set_ and mark_
14378         (init): remove method
14379
14380 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
14381
14382         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14383
14384 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14385
14386         * screen.[Ch]: change method names to begin with lowercase
14387
14388         * BufferView_pimpl.C (updateScrollbar): simplify further and
14389         hopefully make it a bit faster.
14390
14391 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14392
14393         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14394         calling directly xforms functions.
14395
14396         * Painter.C (Painter):
14397         * lyx_cb.C (MenuWrite):
14398         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14399         fl_display.
14400
14401         * lyx_gui.C: remove bogus guiruntime extern declaration.
14402
14403 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14404
14405         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14406         in NEW_INSETS
14407         (redoDrawingOfParagraph): ditto
14408         (redoParagraphs): ditto
14409         (cutSelection): don't create a object for CutAndPaste use the
14410         static method directly
14411         (pasteSelection): ditto
14412
14413         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14414         LyXview (+ rename)
14415
14416 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14417
14418         * modifications to some other files because of this.
14419
14420         * Makefile.am (lyx_SOURCES): add XFormsView
14421
14422         * XFormsView.[Ch]: new files
14423
14424         * LyXView.[Ch]: make LyXView a base class for the gui handling for
14425         the main window. Move the gui dependent stuff to XFormsView
14426
14427 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14428
14429         * tabular.C (GetCellInset): update cur_cell also in the row/col
14430         version of this function.
14431
14432         * lyxfunc.C: no need to include figure_form.h here.
14433
14434         * FontLoader.h:
14435         * lyxfunc.h:
14436         * lyxscreen.h:
14437         * text2.C:
14438         * lyxvc.C: no need to include forms.h here.
14439
14440 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14441
14442         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14443
14444         * lyxfunc.C (Dispatch):
14445         * Spacing.C (set):
14446         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14447         constructor argument.
14448
14449 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14450
14451         * paragraph.C (Paragraph): dont't clear, and just set layout.
14452         (makeSameLayout): use params's copy contructor.
14453
14454         * ParagraphParameters.[Ch] (makeSame): delete method
14455
14456 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
14457
14458         * Variables.[Ch]: fix indentation, rename set to isSet
14459
14460 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14461
14462         * lyxfunc.C (Dispatch): fix typo
14463
14464 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14465
14466         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14467         upper_bound.
14468
14469         * bufferlist.C: include assert.h for emergencyWrite().
14470
14471 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14472
14473         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14474           give up at last (bug #425202) !
14475
14476 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
14477
14478         * lyx_gui_misc.C:
14479         * sp_form.h:
14480         * sp_form.C:
14481         * spellchecker.h:
14482         * spellchecker.C: strip spellchecker options and bring up
14483           preferences tab instead
14484
14485 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14486
14487         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14488         the istringstream constructor
14489
14490 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14491
14492         * paragraph.C (getLayout): fix return value
14493
14494         * paragraph.h: do not declare getLayout as inline.
14495
14496         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14497
14498 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14499
14500         * lyxcursor.h (operator<): new func
14501         (operator>): new func
14502         (operator>=): new func
14503         (operator<=): new func
14504
14505         * text.C (changeCase): use selection.start and selection.end
14506         (changeRegionCase): require from to be <= to. Require par to be a
14507         valid paragraph.
14508
14509         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14510
14511 2001-06-27  Juergen Vigna  <jug@sad.it>
14512
14513         * text.C (cursorLeftOneWord): changed to return the cursor and added
14514         overlay with BufferView * parameter which calls this one.
14515         (getWord): added
14516         (selectWord): use new getWord function.
14517         (changeCase): renamed from changeWordCase as and extended to work
14518         also on selections.
14519
14520         * lyxtext.h: added enum word_location
14521
14522         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14523         changeCase as this operates now also on selections.
14524
14525 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
14526
14527         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14528
14529         * many files: send debug output to Debug::INFO instead of
14530         Debug::ANY.
14531
14532         * converter.C (View):
14533         (Convert):
14534         (Move): send debug output to Debug::FILES instead of console.
14535
14536 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
14537
14538         * lyxfunc.C (getStatus): use func_status
14539
14540         * func_status.h: new header, describing the results of
14541         LyXFunc::getStatus;
14542
14543         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14544         LFUN_MATH_HALIGN.
14545
14546 2001-06-25  The LyX Project  <jug@sad.it>
14547
14548         * buffer.C (sgmlOpenTag):
14549         (sgmlCloseTag):
14550         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
14551
14552 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14553
14554         * text2.C: remove some dead code
14555
14556         * tabular.C (GetCellInset): store the last cell checked (gotten)
14557
14558         * tabular.h: add the helper for the speedup
14559
14560         * lyxtext.h: remove some dead code
14561
14562 2001-06-26  The LyX Project  <Asger>
14563
14564         * paragraph.C: Change export to LaTeX of alignment to
14565         \begin{center} and family for better roundtrip work with reLyX.
14566
14567         * Tune the math drawing a bit.
14568
14569 2001-06-25  The LyX Project  <Asger>
14570
14571         * LColor.C (LColor): New color for math background. New color
14572         for buttons.
14573
14574 2001-06-25  The LyX Project  <jug@sad.it>
14575
14576         * lyxfunc.C (MenuNew): remove extra check for .lyx file
14577
14578         * lyxfunc.C (Open):
14579         * bufferlist.C (newFile): do not restrict to files ending with
14580         .lyx
14581
14582         * BufferView_pimpl.C (MenuInsertLyXFile):
14583
14584 2001-06-24  The LyX Project  <jug@sad.it>
14585
14586         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14587         of compare_no_case
14588
14589 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14590
14591         * lyxtext.h: rename most methods to begin with a small char.
14592         Lots of changes because of this.
14593
14594         * paragraph.C (Paragraph): do not call fitToSize
14595         (erase): call Pimpl::erase
14596         (insertChar): call Pimpl::insertChar
14597         (insertInset): call Pipl::insertInset
14598         (breakParagraph): do not call fitToSize
14599         (breakParagraphConservative): do not call fitToSize
14600         (fitToSize): remove method
14601
14602         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14603
14604 2001-06-24  The LyX Project  <Asger>
14605
14606         * Fix Qt compilation^2
14607
14608 2001-06-24  The LyX Project  <jug@sad.it>
14609
14610         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14611         depthHook(getDepth()-1).
14612
14613         * paragraph.h:
14614         * ParagraphParameters.h:
14615         * ParameterStruct.h: change type of depth to unsigned int ==
14616         depth_type. Many adaptations to other files before of that.
14617
14618 2001-06-24  The LyX Project  <Asger>
14619
14620         * Fix Qt compilation.
14621
14622 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14623
14624         * paragraph.h: renamed several methods to begin with small letter.
14625         several changes to many parts of the code because of this.
14626
14627 2001-06-23  The LyX Project  <jug@sad.it>
14628
14629         * text2.C (InsertStringAsLines): renamed from InsertStringA;
14630         rewritten to discard all double spaces when KeepEmpty is off
14631         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14632         to only handle newlines but not fiddle with spaces and friends.
14633
14634         * lyxfunc.C (MenuNew): when doing 'new from template', use
14635         template_path as default directory
14636
14637 2001-06-23  The LyX Project  <Asger>
14638
14639         * Clean-up of header file includes all over
14640         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14641
14642 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14643
14644         * paragraph.h: renamed from lyxparagraph.h
14645
14646 2001-06-23  Asger  <lyx@violet.home.sad.it>
14647
14648         * Buffer.h: Removed Buffer::resize
14649         * BufferList.h: Removed BufferList::resize
14650         * LyXView.h: Added LyXView::resize. This way, we will only reflow
14651         the document lazily when we change the width, or the font settings.
14652
14653 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14654
14655         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14656
14657 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14658
14659         * buffer.h: remove out of date comment
14660
14661 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14662
14663         * lyxscreen.h:
14664         * screen.C: fix "theoretical" GC leak
14665
14666 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14667
14668         * LaTeX.C (scanAuxFile):
14669         (deplog): remove trailing \r when reading stream (useful under
14670         win32)
14671
14672 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
14673
14674         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14675         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14676         and BufferView::theLockingInset(Inset*), so should use them and not
14677         access bv_->text->the_locking_inset directly.
14678
14679         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14680
14681 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14682
14683         * Makefile.am:
14684         * tex-defs.h: remove old unused file
14685
14686 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
14687
14688         * BufferView_pimpl.C: fix typo, remove minibuffer message
14689           when buffer has loaded
14690
14691 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14692
14693         * lyxfunc.C (Dispatch): use stringstream
14694         (MenuNew): use stringstream
14695         (Open): use stringstream
14696
14697         * importer.C (Import): use stringstream
14698
14699         * bufferview_funcs.C (CurrentState): use stringstream
14700
14701         * LaTeX.C (run): use stringstream
14702
14703         * BufferView_pimpl.C (savePosition): use stringstream
14704         (restorePosition): use stringstream
14705         (MenuInsertLyXFile): use stringstream
14706
14707 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
14708
14709         * BufferView.C:
14710         * Bullet.C:
14711         * ColorHandler.C:
14712         * FontInfo.C:
14713         * FontLoader.C:
14714         * LColor.C:
14715         * LaTeXFeatures.C:
14716         * Painter.C:
14717         * gettext.C:
14718         * lyx_gui_misc.C:
14719         * lyxserver.C:
14720         * vspace.C: removed // -*- C++ -*- as first line.
14721
14722         * lyxfind.h:
14723         * version.h: added // -*- C++ -*- as first line.
14724
14725 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14726
14727         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14728
14729         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14730         of string
14731
14732 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14733
14734         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14735         of floats.
14736
14737 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14738
14739         * gettext.C: include LString.h even when --disable-nls is on.
14740
14741 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
14742
14743         * converter.h (Get): changed argument type from int to
14744         FormatList::size_type to avoid unnecessary conversion.
14745
14746         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14747         before using it.
14748
14749 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14750
14751         * gettext.h: include LString.h even when --disable-nls is on.
14752
14753 2001-06-07  Juergen Vigna  <jug@sad.it>
14754
14755         * text.C (BreakAgain): subst spaces with tabs.
14756
14757         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14758         (resizeInsetsLyXText): set force on resizeLyXText.
14759
14760 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14761
14762         * gettext.h (gettext_init):
14763         (locale_init): use a real definition instead of a macro
14764
14765 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14766
14767         * Bufferview_pimpl.C:
14768         * LColor.h:
14769         * LColor.C: further lcolor tidies
14770
14771 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14772
14773         * BufferView_pimpl.C (updateScrollbar): simplify.
14774
14775         * BufferView2.C: don't include insets/insetinfo.h, change
14776         prototype for insertInset and call the Pimpl version. let
14777         updateInset call Pimpl version.
14778
14779         * BufferView.h: move inset_slept to BufferView::Pimpl, move
14780         gotoInset to BufferView::Pimpl
14781
14782 2001-06-01  Juergen Vigna  <jug@sad.it>
14783
14784         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14785         inside a LockingInset (is the update needed at all?).
14786
14787 2001-05-31  Juergen Vigna  <jug@sad.it>
14788
14789         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14790         here not the old one otherwise how should we compare it afterwards
14791         if it's the same!
14792
14793 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14794
14795         * lyxfont.C:
14796         * tabular.C:
14797         * tabular-old.C:
14798         * FontInfo.C: bring C functions into global namespace when
14799         necessary
14800
14801 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14802
14803         * LString.h: make sure config.h has been loaded before LString.h.
14804
14805         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14806         (one for each char read by EatLine!).
14807
14808         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14809         variables.
14810
14811 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14812
14813         * paragraph.C (BreakParagraph): set the inset_owner in the new par
14814         to the same as the par we break from
14815
14816 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14817
14818         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14819
14820         * MenuBackend.C (expand): also create menu entries for wide
14821         versions of the floats.
14822
14823         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14824
14825         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14826
14827         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14828         frontends/Makefile.am
14829
14830         * text2.C: adjust
14831         * text.C: adjust
14832
14833
14834         * tabular.C (getTokenValue): add std::
14835
14836         * tabular-old.C (getTokenValue): add std::
14837         (getTokenValue): ditto
14838         (getTokenValue): ditto
14839
14840         * screen.C (ToggleSelection): adjust
14841
14842         * lyxtext.h: put selection cursors inside a Selection struct.
14843
14844         * lyxfunc.C (moveCursorUpdate): adjust
14845
14846         * lyxfont.C (latexWriteStartChanges): add std::
14847
14848         * lyxfind.C: adjust
14849
14850         * font.h: delete with(char const *, LyXFont const &)
14851
14852         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14853
14854         * FontInfo.C (getFontname): add std::
14855
14856         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14857         (workAreaButtonPress): adjust
14858         (tripleClick): adjust
14859         (update): adjust
14860         (moveCursorUpdate): adjust
14861         (Dispatch): adjust
14862
14863         * BufferView2.C (gotoInset): adjust
14864
14865 2001-05-30  Juergen Vigna  <jug@sad.it>
14866
14867         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14868         to check pspell I add this as default as I now have new pspell
14869         libraries and they seem to use this.
14870
14871 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14872
14873         * text2.C (CutSelection): make the cursor valid before the call to
14874         ClearSelection.
14875
14876 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14877
14878         * kbsequence.C (parse): de-uglify a bit the parsing code, which
14879         relied on 0 terminated strings and other horrors. Bug found due to
14880         the new assert in lyxstring!
14881
14882         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14883         KP_ keys.
14884
14885 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14886
14887         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14888         to latinkeys.bind.
14889
14890         * lyxfunc.C (processKeySym): change method of getting to the
14891         self-insert char.
14892
14893         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14894         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14895         * BufferView_pimpl.[Ch]: here as private methods.
14896
14897 2001-05-28  Juergen Vigna  <jug@sad.it>
14898
14899         * text.C (SetHeightOfRow): added the update() call again as it is
14900         needed to initialize inset dimensions!
14901
14902 2001-05-16  Juergen Vigna  <jug@sad.it>
14903
14904         * text2.C (SetCharFont): Add new function with BufferView * and
14905         bool toggleall parameters for setting insets internal fonts.
14906         (SetFont): Freeze the undo as we may change fonts in Insets and
14907         all this change should be inside only one Undo!
14908
14909         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14910         setting font's in insets as for them we have the SetFont function!
14911
14912 2001-05-15  Juergen Vigna  <jug@sad.it>
14913
14914         * text2.C (ClearSelection): to be sure we REALLY don't have any
14915         selection anymore!
14916
14917         * tabular.C (TeXCellPreamble): fixed the left border problem for
14918         multicolumn cells.
14919
14920 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
14921
14922         * LaTeX.C (deplog): Make sure that the main .tex file is in the
14923         dependancy file
14924
14925 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14926
14927         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14928         LFUN_BREAKPARAGRAPH.
14929
14930         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14931         help test to "internal only", similar for LFUN_INSERT_URL
14932
14933         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14934         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14935         auto_region_delete and deadkeys.
14936
14937 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
14938
14939         * LColor.h:
14940         * LColor.C: remove some dead entries, tidy a little
14941
14942 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14943
14944         * lyxfunc.C (processKeySym): comment the Escape handling, remove
14945         commented code.
14946         (Dispatch): implement LFUN_ESCAPE
14947
14948         * commandtags.h: add LFUN_ESCAPE
14949
14950         * LyXAction.C (init): add entry for LFUN_ESCAPE
14951
14952         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14953         Remove commented code.
14954         (insertNote): moved here
14955         (open_new_inset): moved here
14956
14957         * BufferView[2].[Ch]: move insertNote and open_new_inset to
14958         BufferView_pimpl
14959
14960 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14961
14962         * kbmap.C (findbinding): clean it up and make it work correctly.
14963
14964         * lyx_main.C (init): do not pass argc and argv as parameters
14965
14966 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
14967
14968         * buffer.C: fix path for OS/2 & Win32
14969
14970         * lyx_gui.C:
14971         * lyx_main:
14972         * lyx_main.C: Added os:: class.
14973
14974         * os2_defines.h: update
14975
14976 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14977
14978         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14979         better by trying again with reduced state.
14980
14981 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14982
14983         * lyxrc.C (read): print error about invalid key sequence only when
14984         debugging (because not all latinX keysyms are known to some X
14985         servers)
14986
14987         * kbsequence.C (getiso): add a few std:: qualifiers
14988         (getiso): comment out extra return statement.
14989
14990 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14991
14992         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14993         handling.
14994         (Dispatch): enhance the accent inset a bit. (not perfect)
14995
14996 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14997
14998         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14999
15000 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15001
15002         * bufferlist.C (emergencyWrite): fix assert() call
15003
15004 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
15005
15006         * text.C (InsertChar): Added trivial patch to only send the "you
15007         can not do multiple spaces this way" message once during a
15008         session.
15009
15010 2001-05-08  Baruch Even  <baruch@lyx.org>
15011
15012         * Makefile.am: Changed order of libraries to get LyX to link properly
15013         with the gnome frontend.
15014
15015 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15016
15017         * LaTeXFeatures.h: add a std:: qualifier
15018
15019 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15020
15021         * paragraph.C (String): use stringstream
15022
15023 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15024
15025         * paragraph.C (writeFile): remove footflag arg
15026
15027         * buffer.C (makeLaTeXFile): use stringstream
15028         (latexParagraphs): remove footnot gurba
15029
15030         * LaTeXFeatures.C (getPackages): use stringstream
15031         (getMacros): likewise
15032         (getTClassPreamble): likewise
15033         (getFloatDefinitions): new method
15034
15035         * paragraph.C (writeFile): reindent
15036         (Erase): reindent
15037
15038         * WorkArea.h: revert the xpos + etc changes.
15039
15040         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15041
15042         * lyxparagraph.[Ch]: add copy constructor, remove Clone
15043
15044         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15045         (pasteSelection): likewise
15046         * text2.C (CreateUndo): likewise
15047
15048 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15049
15050         * minibuffer.C (peek_event): temporarily reduce the functionality
15051         of the minibuffer (to allow args on lfuns)
15052
15053         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15054         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15055
15056         * buffer.C (readInset): add compability reading of old float
15057         lists, add reading of new style float list.
15058         (readInset): avoid reevaluation of inscmd.getCmdName()
15059         (getLists): reindent
15060
15061         * MenuBackend.C (MenuItem): implement parsing of
15062         md_floatlistinsert and md_floatinsert.
15063         (expand::LastFiles): move initalizaton of iterators out of loop,
15064         avoid reevaluation.
15065         (expand::Documents): introduce typdedef vector<string> Strings,
15066         and use it.
15067         (expand::ExportFormats): introduce typedef vector<Format const *>
15068         Formats, and use it.
15069         (expand): implement FloatListInsert and FloatInsert.
15070
15071         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15072         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15073         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15074
15075         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15076         handling.
15077         (Dispatch::LFUN_FLOAT_LIST): implement
15078
15079 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15080
15081         * LaTeX.C (run): Fix problem with --export code.
15082
15083 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15084
15085         * BufferView.[Ch] (workarea): removed.
15086         (getClipboard) new method; wrapper for workarea()->getClipboard()
15087
15088         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15089         bug.
15090
15091         * WorkArea.h (width, height, xpos, ypos): These methods all
15092         returned the dimensions of the work_area sub-area of WorkArea,
15093         resulting in a position error if the WorkArea were resized. Now
15094         return the dimensions of the entire WorkArea.
15095
15096         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15097
15098 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15099
15100         * LaTeX.C (deplog): correct the syntax of regex reg1
15101
15102 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15103
15104         * undo.C: remove !NEW_INSETS cruft
15105
15106 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15107
15108         * text2.C: remove !NEW_INSETS cruft
15109
15110         * text.C: remove !NEW_INSETS cruft
15111
15112         * tabular.C: remove !NEW_INSETS cruft
15113
15114         * spellchecker.C: remove !NEW_INSETS cruft
15115
15116         * lyxtext.h: remove !NEW_INSETS cruft
15117
15118         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15119
15120         * lyxfunc.C: remove !NEW_INSETS cruft
15121
15122         * lyxfind.C: remove !NEW_INSETS cruft
15123
15124         * lyx_cb.C: remove !NEW_INSETS cruft
15125
15126         * figureForm.C: remove  !NEW_INSETS cruft
15127
15128         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15129
15130         * buffer.[Ch]: remove !NEW_INSETS cruft
15131
15132         * ToolbarDefaults.C: remove !NEW_INSETS cruft
15133
15134         * CutAndPaste.C: remove !NEW_INSETS cruft
15135
15136         * BufferView_pimpl.C: remove !NEW_INSETS cruft
15137
15138         * BufferView2.C: remove !NEW_INSETS cruft
15139
15140         * BufferView.h: remove !NEW_INSETS cruft
15141
15142 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15143
15144         * Lsstream.h: include LString.h before the sstream headers to
15145         fix problem with gcc 2.95.3 and lyxstring
15146
15147 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15148
15149         * lyx_main.C: add using directives when needed for C functions
15150         declared in std:: namespace.
15151
15152 2001-04-27  Juergen Vigna  <jug@sad.it>
15153
15154         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15155         (SetHeightOfRow): comment out the update call should not be needed!
15156
15157 2001-04-13  Juergen Vigna  <jug@sad.it>
15158
15159         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15160         (LyXTabular): tried to minimize operator= operations (and realized
15161         hopfully Lars wish).
15162
15163 2001-04-27  Juergen Vigna  <jug@sad.it>
15164
15165         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15166
15167 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15168
15169         * lyxfunc.C (Dispatch): hack to make listof algorithm work
15170
15171         * buffer.C (readInset): hack to make listof algorithm work
15172
15173         * BufferView_pimpl.C: hack to make listof algorithm work
15174
15175 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15176
15177         * LyXAction.C: removed all !NEW_INSETS cruft
15178         (init): moved lfun_item in method
15179
15180         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15181
15182 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15183
15184         * BufferView2.C (theLockingInset): white space.
15185
15186 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15187
15188         * minibuffer.C: include <iostream>
15189
15190         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15191
15192         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15193
15194         * commandtags.h: add LFUN_TRANSPOSE_CHARS
15195
15196         * text.[Ch] (TransposeChars): new method
15197
15198 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15199
15200         * call message directly through LyXView instead of through LyXFunc
15201         * BufferView2.C: adjust
15202         * BufferView_pimpl.C: adjust
15203         * FontLoader.C: adjust
15204         * buffer.C: adjust
15205         * bufferview_funcs.C: adjust
15206         * converter.C: adjust
15207         * figureForm.C: adjust
15208         * importer.C: adjust
15209         * lyx_cb.C: adjust
15210         * lyx_gui_misc.C: adjust
15211         * lyxfunc.C: adjust
15212         * lyxvc.C: adjust
15213         * text2.C: adjust
15214         + more files in subdirs
15215
15216         * lyxparagraph.h (size): move up int file
15217         (GetLayout): ditto
15218
15219         * adjust all uses of Assert to lyx::Assert.
15220
15221         * BufferView2.C (ChangeCitationsIfUnique): adjust for
15222         lyxfunctional in namespace lyx
15223         * layout.C (hasLayout): ditto
15224         (GetLayout): ditto
15225         (GetLayout): ditto
15226         (delete_layout): ditto
15227         (NumberOfClass): ditto
15228         * converter.C (GetFormat): ditto
15229         (GetNumber): ditto
15230         (Add): ditto
15231         (Delete): ditto
15232         (SetViewer): ditto
15233         * bufferlist.C (getFileNames): ditto
15234         (emergencyWriteAll): ditto
15235         (exists): ditto
15236         (getBuffer): ditto
15237         * MenuBackend.C (hasSubmenu): ditto
15238         (hasMenu): ditto
15239         (getMenu): ditto
15240         * BufferView_pimpl.C (getInsetByCode): ditto
15241
15242 2001-04-18  Juergen Vigna  <jug@sad.it>
15243
15244         * vspace.C (asLatexString): fixed the 100% problem.
15245
15246 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15247
15248         * lyxfunc.C (Dispatch):
15249         * minibuffer.C:
15250         * minibuffer.h: add a few std:: qualifiers
15251
15252 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15253
15254         * minibuffer.[Ch]: reimplement so that commands is initiated and
15255         run from lyxfunc, simplified som handling, and made the completion
15256         and history code for complete. wip.
15257
15258         * lyxfunc.C (processKeySym): call message
15259         (miniDispatch): new temporary method
15260         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15261         (LFUN_MESSAGE): implement
15262         (LFUN_MESSAGE_PUSH): implement
15263         (LFUN_MESSAGE_POP): implement
15264         (initMiniBuffer): the initial/defualt minibuffer message.
15265
15266         * lyxfont.[Ch]: inline some more getters
15267
15268         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15269
15270         * lyx_gui_misc.[Ch] (WriteStatus): remove method
15271
15272         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15273         (AutoSave): use LFUN_MESSAGE
15274         (Reconfigure): ditto
15275
15276         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15277
15278         * figureForm.C: use LFUN_MESSAGE
15279
15280         * converter.C (runLaTeX): use LFUN_MESSAGE
15281
15282         * bufferview_funcs.C: use LFUN_MESSAGE
15283         (Melt): ditto
15284         (changeDepth): ditto
15285
15286         * bufferparams.h: use boost::
15287
15288         * bufferlist.h: inherit privately from noncopyable
15289
15290         * bufferlist.C (loadLyXFile): remove some commented code.
15291
15292         * buffer.C (runChktex): use LFUN_MESSAGE
15293
15294         * ShareContainer.h: inherit privately from noncopyable
15295
15296         * ParagraphParameters.[hC] (depth): inline it.
15297
15298         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15299         methods.
15300         (message): new method
15301         (messagePush): ditto
15302         (messagePop): ditto
15303         (show): init minibuffer
15304         (showState): direct call
15305
15306         * LaTeX.[Ch]: inherit privately from noncopyable
15307         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15308         instead of WriteStatus.
15309
15310         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15311
15312         * BufferView_pimpl.C (buffer): don't init minibuffer
15313         (workAreaButtonPress): use LFUN_MESSAGE
15314         (workAreaButtonRelease): ditto
15315         (savePosition): ditto
15316         (restorePosition): ditto
15317         (MenuInsertLyXFile): ditto
15318         (workAreaExpose): don't init minibuffer
15319         (update): remove commented code, simplify
15320
15321         * BufferView2.C (openStuff): use LFUN_MESSAGE
15322         (toggleFloat): ditto
15323         (menuUndo): ditto
15324         (menuRedo): ditto
15325         (copyEnvironment): ditto
15326         (pasteEnvironment): ditto
15327         (copy): ditto
15328         (cut): ditto
15329         (paste): ditto
15330         (gotoInset): ditto
15331         (updateInset): remove some commented code
15332
15333         * lastfiles.h: inherit privately from noncopyable
15334         * layout.h: ditto
15335         * lyx_gui.h: ditto
15336         * lyx_main.h: ditto
15337         * lyxlex.h: ditto
15338         * lyxlex_pimpl.h: ditto
15339
15340         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15341         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15342         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15343
15344         * LyXAction.h: inherit privately from noncopyable, add methods
15345         func_begin, func_end, returning iterators to the func map.
15346
15347         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15348         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15349         (func_begin): new method
15350         (func_end): new method
15351
15352         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15353         and not)
15354         (copySelection): ditto
15355         (pasteSelection): ditto
15356
15357         * BufferView.C: whitespace change
15358         * BufferView.h: inherit privately from noncopyable
15359
15360 2001-04-16  Allan Rae  <rae@lyx.org>
15361
15362         * tabular-old.C (l_getline):
15363         * spellchecker.C (sc_check_word):
15364         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15365         an unrecognised preprocessor directive.  So ensure they're wrapped.
15366
15367 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
15368
15369         * src/exporter.C (Export): Give an error message when path to file
15370         contains spaces.
15371
15372 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
15373
15374         * LaTeX.C (deplog): Always check that foundfile exists.
15375
15376 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15377
15378         * lyx_main.h:
15379         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15380
15381 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15382
15383         * tabular.[Ch] (getLabelList): implement new method
15384
15385         * minibuffer.h: comment ouf setTiimer
15386
15387         * minibuffer.C (ExecutingCB): constify res
15388         (peek_event): constify s
15389         (Set): constify ntext
15390         (Init): constify nicename
15391
15392         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15393
15394         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15395         (savePosition): use two params to Minibuffer::Set
15396         (restorePosition): ditto
15397
15398 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15399
15400         * lyx_main.C: include language.h
15401
15402         * Makefile.am (lyx_main.o): add language.h
15403
15404 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15405
15406         * exporter.C:
15407         * paragraph.C:
15408         * screen.C:
15409         * tabular.C:
15410         * CutAndPaste.C: include gettext.h
15411
15412         * lyxfont.h: remove old hack with ON and OFF.
15413
15414         * lyxparagraph.h:
15415         * lyxfont.h: do not include language.h...
15416
15417         * BufferView2.C:
15418         * LaTeXFeatures.C:
15419         * Painter.C:
15420         * bufferview_funcs.C:
15421         * font.C:
15422         * lyxfont.C:
15423         * text.C:
15424         * text2.C:
15425         * trans_mgr.C:
15426         * paragraph.C: ... but do it here instead
15427
15428 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15429
15430         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15431
15432         * tabular.C: small reformat
15433
15434         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15435         NEW_INSETS version
15436         (GetChar): ditto
15437         (BreakParagraph): ditto
15438         (SetOnlyLayout): ditto
15439         (SetLayout): ditto
15440
15441         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15442         with one arg less.
15443
15444         * lastfiles.C: removed most using decl, add std:: where needed
15445
15446         * buffer.C: ws changes
15447
15448         * MenuBackend.C (class compare_format): put into anon namespace
15449         (expand): constify label, names, action, action2
15450         (expand):
15451
15452         * text.C (SingleWidth): constify font
15453         (IsBoundary): constify rtl2
15454         (GetVisibleRow): constify ww
15455
15456         * LaTeX.C (deplog): constify logfile
15457
15458         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15459         start_x, end_x
15460         (workAreaExpose): constify widthChange, heightChange
15461
15462         * lyxrow.C (par): moved
15463         (height): moved
15464         (next): moved
15465         * lyxrow.h: as inlines here
15466
15467         * lyxfont.h (shape): moved from lyxfont.C
15468         (emph): moved from lyxfont.C
15469
15470         * lyxfont.C (LyXFont): use initialization list for all
15471         constructors
15472         (shape): move to lyxfont.h as inline
15473         (emph): move to lyxfont.h as inline
15474
15475
15476 2001-04-04  Juergen Vigna  <jug@sad.it>
15477
15478         * vspace.C: had to include stdio.h for use of sscanf
15479
15480 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
15481
15482         * BufferView.h:
15483         * BufferView_pimpl.h: remove xforms cruft. Both classes are
15484         independent of xforms.
15485
15486 2001-04-02  Juergen Vigna  <jug@sad.it>
15487
15488         * spellchecker.C: fixed namespace placing!
15489
15490 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
15491
15492         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15493         the LyXParagraph * is 0.
15494
15495 2001-03-29  Juergen Vigna  <jug@sad.it>
15496
15497         * vspace.C: added support for %, c%, p%, l%.
15498         (stringFromUnit): added helper function.
15499         (asLatexString): changed to give right results for the %-values.
15500
15501         * buffer.C: convert the widthp in a width%.
15502
15503 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
15504
15505         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15506         figureForm.[Ch].
15507
15508         * figureForm.[Ch]: stripped the FD_from_figure manipulation
15509         code out of lux_cb.[Ch], ready for its (imminent?) removal.
15510
15511         * lyx_cb.[Ch]: see above.
15512
15513         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15514         form1.[Ch].
15515
15516         * form1.[Ch]:
15517         * lyx.[Ch]: replaced by figure_form.[Ch].
15518
15519         * lyx_gui.C:
15520         * lyx_gui_misc.C:
15521         * lyxfunc.C: changed headers associated with above changes.
15522
15523 2001-03-27  Juergen Vigna  <jug@sad.it>
15524
15525         * BufferView_pimpl.C: set the temporary cursor right!
15526
15527 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
15528
15529         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15530
15531 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
15532
15533         * LString.h: removed "using std::getline"!
15534
15535         * BufferView_pimpl.C (Dispatch): changes due to changes in
15536         InsetInclude::Params.
15537
15538         * buffer.C (tag_name): removed redundant break statements as they were
15539         producing lots of warnings with my compiler.
15540
15541 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15542
15543         * LString.h: add "using std::getline" when using the real <string>.
15544
15545 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
15546
15547         * buffer.C: removed bitset usage.
15548         PAR_TAG moved to an anonymous name space.
15549         (tag_name): new funtion, also in the anonymous namespace.
15550         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15551         (makeDocBookFile): clean code. Completed transition from string arrays
15552         to string vectors.
15553         (SimpleDocBookOnePar): code clean.
15554
15555 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15556
15557         * tabular.C: add some comments.
15558
15559 2001-03-22  Juergen Vigna  <jug@sad.it>
15560
15561         * buffer.C (parseSingleLyXformat2Token): redone the minipage
15562         compatibility read a bit and fixed bug with minipage in different
15563         depth.
15564
15565 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
15566
15567         * buffer.C (pop_tag): removed.
15568         (push_tag): removed.
15569         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15570         array replaced with vector. Added support for CDATA sections.
15571         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15572         at any nest level.
15573         (makeDocBookFile): XML conformant declaration of CDATA section,
15574         fixed bug related to <emphasis> in the first paragraph char.
15575         (sgmlOpenTag): exclude empty tags.
15576         (sgmlCloseTag): ditto.
15577
15578         * buffer.h (pop_tag): removed.
15579         (push_tag): removed.
15580
15581 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
15582
15583         * language.h (Languages): added size_type and size().
15584
15585 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15586
15587         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15588         response on compability reading of minipages. One probliem is that
15589         the old usage of minipages was «flertydig»
15590
15591         * several files here and in subdirs: don't use static at file
15592         scope use anon namespaces instead.
15593
15594 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
15595
15596         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15597         LaTeX output. This is necessary for Literate document
15598         processing.
15599
15600 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15601
15602         * buffer.C: insert hfill when needed.
15603
15604         * tabular.C (l_getline): use string::erase, small whitespace change.
15605
15606         * BufferView_pimpl.C: try the anon namespace.
15607         * WorkArea.C: ditto
15608
15609 2001-03-16  Juergen Vigna  <jug@sad.it>
15610
15611         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15612         otherwise it won't open options-dialogs.
15613
15614         * buffer.C: honor pextraWidth(p) on converting minipages.
15615
15616         * tabular.C (l_getline): changed the functions to strip trailing \r.
15617
15618 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
15619
15620         * BufferView_pimpl.C:
15621         * minibuffer..C: added "using SigC::slot" declaration.
15622
15623 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15624
15625         * lyxlex_pimpl.h: noncopyable is in namespace boost.
15626
15627         * text2.C: ditto
15628
15629         * text.C: ditto
15630
15631         * paragraph.C: ditto
15632
15633         * lyxtext.h: NO_PEXTRA
15634
15635         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15636
15637         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15638         * ParameterStruct.h: ditto
15639         * ParagraphParameters.h: ditto
15640         * lyxparagraph.h: ditto
15641
15642 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15643
15644         * buffer.C: add compability for minipage alignment.
15645         (latexParagraphs): remove unwanted pextra check.
15646
15647         * several files: remove CXX_WORKING_NAMESPACES
15648
15649         * buffer.C (pop_tag): tie is in namespace boost
15650
15651         * BufferView.h: noncopyable is in namespace boost
15652         * lyxlex.h: ditto
15653         * lyx_main.h: ditto
15654         * lyx_gui.h: ditto
15655         * layout.h: ditto
15656         * lastfiles.h: ditto
15657         * bufferlist.h: ditto
15658         * ShareContainer.h: ditto
15659         * LyXView.h: ditto
15660         * LyXAction.h: ditto
15661         * LaTeX.h: ditto
15662
15663 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15664
15665         * Merging changes from BRANCH_MVC back into HEAD.
15666
15667         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15668
15669 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
15670
15671         * BufferView_pimpl.C: change from intl.C
15672
15673         * combox.h:
15674         * combox.C:
15675         * Makefile.am: move combox.*
15676
15677         * form1.h:
15678         * form1.C:
15679         * lyx_gui.C:
15680         * intl.h:
15681         * intl.C: remove dialog (covered by prefs)
15682
15683 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15684
15685         * lyxfunc.C (Dispatch): removed redundant break statement.
15686
15687 2001-03-14  Juergen Vigna  <jug@sad.it>
15688
15689         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15690
15691 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15692
15693         * buffer.C: add hack to fix compability reading of minipages.
15694
15695 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
15696
15697         * buffer.C (getLists): Cleanup.
15698
15699 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15700
15701         * lyxfont.C (update): don't honor toggleall on font size.
15702
15703 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
15704
15705         * bmtable.c:
15706         * bmtable.h:
15707         * Makefile.am: moved to frontends/xforms/
15708
15709         * lyx_gui_misc.C:
15710         * lyxfunc.C:
15711         * BufferView_pimpl.C: changes for moved mathpanel
15712
15713 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15714
15715         * gettext.h: fix gettext_init() in --disable-nls
15716
15717 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15718
15719         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15720
15721 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
15722
15723         * lyx.C:
15724         * lyx.h: strip external form
15725
15726 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15727
15728         * BufferView_pimpl.C: add comment, destroySplash()
15729
15730 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15731
15732         * BufferView_pimpl.C:
15733         * LyXAction.C:
15734         * buffer.C:
15735         * commandtags.h:
15736         * lyxfunc.C: use re-worked insetinclude
15737
15738 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15739
15740         * buffer.C: add using std::stringstream.
15741
15742         * lyx_cb.C: readd using std::ios.
15743
15744         * buffer.C: add using std::map.
15745
15746         * BufferView_pimpl.C: add using std::vector.
15747
15748         * ShareContainer.h: add std:: to swap.
15749
15750         * buffer.h: add some typedefs
15751         * buffer.C (getLists): use them
15752         (getLists): renamed from getTocList.
15753         add a counter for the different float types and use it in the
15754         generated string.
15755         (getLists): use the same counter for the NEW_INSETS and the "non"
15756         NEW_INSETS
15757
15758         * lyx_cb.h: remove unused items, includes, using etc.
15759
15760         * ShareContainer.h: remove some commented code, add more comments
15761         and "documentation".
15762
15763 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15764
15765         * buffer.C (getTocList): make the list also when NEW_INSETS is
15766         defined.
15767
15768         * buffer.h: remove TocType
15769
15770         * buffer.C (getTocList): change to return a map<string,
15771         vector<TocItem> >, implement for dynamic number of list.
15772
15773         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15774         * text2.C (PasteSelection): adjust
15775         * CutAndPaste.C (pasteSelection): adjust
15776
15777         * FloatList.C (FloatList): update from the new_insets branch.
15778         * Floating.[Ch]: ditto
15779         * LaTeXFeatures.C: ditto
15780         * buffer.C: ditto
15781         * lyxlex_pimpl.C: ditto
15782
15783         * paragraph.C (Last): remove when NEW_INSETS is defined.
15784
15785         * other file: changes because of the above.
15786
15787 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15788
15789         * lyxparagraph.h: rename next to next_, previous to previous_,
15790         make them private for NEW_INSETS. Rename Next() to next(),
15791         Previous() to previous().
15792
15793         * other files: changes because of the above.
15794
15795 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
15796
15797         * BufferView.h:
15798         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15799         problem.
15800
15801 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15802
15803         * main.C (main): pass lyx_localedir to gettext_init().
15804
15805         * gettext.h: remove locale_init and gettext_init macros
15806
15807         * gettext.C (locale_init): new function
15808         (gettext_init): new function
15809
15810         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15811         setlocale().
15812
15813 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
15814
15815         * Moved credits to frontends:
15816         * credits.[Ch]: removed
15817         * credits_form.[Ch]: removed
15818         * lyx_gui_misc.C: remove credits stuff
15819         * Makefile.am:
15820
15821 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15822
15823         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15824
15825         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15826         unneeded destructor.
15827
15828         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15829         a standalone pointer again.
15830
15831         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15832
15833 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
15834
15835         * Makefile.am:
15836         * filedlg.h:
15837         * filedlg.C:
15838         * LyXAction.C:
15839         * ToolbarDefaults.C:
15840         * bufferlist.C:
15841         * commandtags.h:
15842         * form1.C:
15843         * form1.h:
15844         * lyx_cb.C:
15845         * lyx_cb.h:
15846         * lyxfunc.h:
15847         * lyxfunc.C:
15848         * BufferView_pimpl.C: use new file dialog in GUII
15849
15850         * lyx_cb.h:
15851         * lyx_cb.C: remove LayoutsCB to Toolbar
15852
15853 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15854
15855         * ShareContainer.h (get): add std:: qualifier
15856
15857 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15858
15859         * ShareContainer.h: define a proper ShareContainer::value_type
15860         type (and use typename to please compaq cxx)
15861
15862 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15863
15864         * lyxparagraph.h: move serveral local vars to
15865         ParameterStruct/ParagraphParameters., use ShareContainer in
15866         FontTable., make vars in FontTable private and add getter and
15867         setter.
15868
15869         * paragraph.C: changes because of the above.
15870
15871         * lyxfont.h: remove copy constructor and copy assignment. (the
15872         default ones is ok), move number inside FontBits. move inlines to
15873         lyxfont.C
15874
15875         * lyxfont.C: add number to initializaton of statics, move several
15876         inlines here. constify several local vars. some whitespace
15877         cleanup. Dont hide outerscope variables.
15878
15879         * Spacing.h: add two new constructors to match the set methods.
15880
15881         * ShareContainer.h: new file, will perhaps be moved to support
15882
15883         * ParameterStruct.h: new file
15884
15885         * ParagraphParameters.h: new file
15886
15887         * ParagraphParameters.C: new file
15888
15889         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15890         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15891
15892         * BufferView_pimpl.C: ParagraphParameter changes.
15893         * buffer.C: Likewise.
15894         * bufferview_funcs.C: Likewise.
15895         * text.C: Likewise.
15896         * text2.C: Likewise.
15897
15898 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15899
15900         * lyxfind.C (LyXReplace): do not redefine default argument in
15901         implementation.
15902         (IsStringInText): ditto
15903         (SearchForward): ditto
15904         (SearchBackward): ditto
15905
15906 2001-03-06  Juergen Vigna  <jug@sad.it>
15907
15908         * lyxfind.C (IsStringInText): put parentes around expressions.
15909
15910 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
15911
15912         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15913
15914 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
15915
15916         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15917
15918         * stl_string_fwd.h: add comment
15919
15920         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15921
15922         * tabular.h:
15923         * tabular.C: remove unused DocBook methods
15924
15925         * intl.C:
15926         * language.C:
15927         * paragraph.C:
15928         * buffer.C:
15929         killed DO_USE_DEFAULT_LANGUAGE
15930
15931 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15932
15933         * lyx_gui.C: do not include language.h.
15934
15935         * bufferview_funcs.C (ToggleAndShow): do not provide optional
15936         arguments in function implementation.
15937
15938 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15939
15940         * BufferView_pimpl.C: add <ctime>
15941
15942 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15943
15944         * BufferView_pimpl.C: add using std::find_if
15945
15946 2001-02-27  José Matos  <jamatos@fep.up.pt>
15947
15948         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15949         by OnlyPath.
15950
15951 2001-02-11  José Matos  <jamatos@fep.up.pt>
15952
15953         * buffer.C (makeDocBookFile): command styles now have a parameter as
15954         "title" by default.
15955
15956 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
15957
15958         * layout_forms.[Ch]: removed
15959         * lyx_cb.[Ch]: out character
15960         * lyx_gui.C: out character
15961         * lyx_gui_misc.C: out character
15962         * bufferview_funcs.C: : out character,
15963         added toggleall as parameter in ToggleAndShow
15964
15965 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
15966
15967         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15968
15969         * text2.C (SetCurrentFont): Disable number property at boundary.
15970
15971 2001-02-26  Juergen Vigna  <jug@sad.it>
15972
15973         * lyxfunc.C (getStatus): added a string argument override function so
15974         that this is correctly called from LyXFunc::Dispatch if it contains a
15975         do_not_use_argument which is used!
15976         (Dispatch): added check for "custom" export and call appropriate func.
15977
15978 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
15979
15980         * lyxrc.C: Add language_command_local, language_use_babel and
15981         language_global_options.
15982
15983         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15984
15985         * buffer.C (makeLaTeXFile): Use language_use_babel and
15986         language_global_options.
15987
15988 2001-02-23  Juergen Vigna  <jug@sad.it>
15989
15990         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15991         which works with LyXText and putted it inside BufferView. Here now we
15992         only call for that part the BufferView::Dispatch() function.
15993
15994         * BufferView.C (Dispatch): added.
15995
15996         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15997         functions which needs to use a LyXText over from LyXFunc.
15998         (MenuInsertLyXFile): added
15999         (getInsetByCode): added
16000         (moveCursorUpdate): added
16001         (static TEXT): added
16002
16003 2001-02-22  Juergen Vigna  <jug@sad.it>
16004
16005         * BufferView_pimpl.C (update): call a status update to see if LyXText
16006         needs it.
16007
16008 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16009
16010         * vc-backend.C (revert): implement for CVS
16011         (getLog): implement for CVS
16012
16013 2001-02-20  Juergen Vigna  <jug@sad.it>
16014
16015         * text2.C (ClearSelection): added BufferView param for inset_owner call
16016
16017         * lyxfunc.C (TEXT): added this function and use it instead of
16018         directly owner->view()-text of getLyXText().
16019
16020 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
16021
16022         * src/layout_forms.C: out preamble
16023         * src/layout_forms.h: out preamble
16024         * src/lyx_cb.C: out preamble
16025         * src/lyx_cb.h: out preamble
16026         * src/lyx_gui.C: out preamble
16027         * src/lyx_gui_misc.C: out preamble
16028         * src/lyxfunc.C: connect with guii preamble
16029
16030 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
16031
16032         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16033
16034 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
16035
16036         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16037         whether to run bibtex.
16038
16039 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
16040
16041         * Makefile.am (lyx_SOURCES): Remove BackStack.h
16042
16043 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
16044
16045         * Makefile.am (lyx_SOURCES): removed bibforms.h
16046
16047         * vspace.h: doxygen
16048
16049         * text.C (GetVisibleRow): make several local vars const
16050
16051         * tabular.C: small cleanup.
16052
16053         * lyxserver.C (callback): use compare instead of strncmp
16054
16055         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16056         inlines to after class or to paragraph.C
16057
16058         * lyxfont.h: remove friend operator!=
16059
16060         * converter.h: move friend bool operator< to non friend and after
16061         class def.
16062
16063         * combox.h: small cleanup
16064
16065         * buffer.h: doxygen, remove unused constructor, move inclas inlies
16066         to inlines after class def.
16067
16068         * buffer.C (pop_tag): use string operations instead of strcmp
16069
16070         * bmtable.c: doxygen, small cleanup
16071
16072         * LaTeX.h: remove friend operator==
16073
16074 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
16075
16076         * screen.C:
16077         * lyxrc.[Ch]:
16078         * lyxfunc.C:
16079         * lyxfont.[Ch]:
16080         * lyx_cb.C:
16081         * intl.[Ch]:
16082         * commandtags.h:
16083         * buffer.C:
16084         * WorkArea.[Ch]:
16085         * LyXAction.C:
16086         * BufferView_pimpl.C:
16087         * BufferView.[Ch]: remove cruft
16088
16089 2001-02-14  Juergen Vigna  <jug@sad.it>
16090
16091         * lyxfunc.C: removed #if 0 unused code
16092
16093         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16094
16095         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16096
16097         * text2.C (SetSelection): added a BufferView * parameter
16098
16099 2001-02-13  Juergen Vigna  <jug@sad.it>
16100
16101         * lyxfunc.C (Dispatch): fixed protected blank problem.
16102         * BufferView2.C (protectedBlank): added LyxText * parameter.
16103
16104         * tabular.C (AppendRow): forgot to set row_info of newly added row.
16105         (AppendColumn): same as above for column_info.
16106
16107         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16108         (moveCursorUpdate): use a LyXText param for support of InsetText.
16109
16110         * BufferView_pimpl.C (doubleClick): added support for InsetText.
16111         (tripleClick): ditto
16112
16113         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16114
16115         * BufferView_pimpl.C (update): added LyXText param to honor insets.
16116
16117         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16118
16119         * text2.C (SetSelection): set correct update status if inset_owner
16120         (ToggleFree): ditto
16121
16122 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
16123
16124         * tabular.C: remove some commented code.
16125
16126 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
16127
16128         * BufferView_pimpl.C: call hideSplash()
16129
16130         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16131
16132         * include_form.h:
16133         * bibforms.h: remove
16134
16135         * lyxfunc.C:
16136         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16137           add LFUN_CHILD_CREATE
16138
16139         * counters.h: fix tiny typo
16140
16141         * lyx_cb.C:
16142         * lyx.h:
16143         * lyx_gui.C:
16144         * lyx.C: move splash to frontends/xforms/
16145
16146         * lyx_gui_misc.C: move Include and Bibform to frontends
16147
16148         * lyxvc.h: clarify comment
16149
16150         * vspace.C: tiny housekeeping
16151
16152 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
16153
16154         * text.C (PrepareToPrint): RTL Fix.
16155
16156         * paragraph.C (GetUChar): New method.
16157         (String):  Use GetUChar.
16158
16159         * buffer.C (asciiParagraph): Use GetUChar.
16160
16161 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
16162
16163         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16164
16165 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
16166
16167         * buffer.h:
16168         * buffer.C: rename to getLogName(), handle
16169           build log / latex log nicely
16170
16171 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16172
16173         * MenuBackend.C:
16174         * MenuBackend.h: remove support for reference menuitem type.
16175
16176 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
16177
16178         * BufferView_pimpl.C: housekeeping
16179         * BufferView_pimpl.h:
16180         * LyXView.h:
16181         * Makefile.am:
16182         * Timeout.C:
16183         * Timeout.h:
16184         * minibuffer.h: move Timeout GUI-I
16185
16186 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
16187
16188         * lyxrc.C (read): Update converters data-structures.
16189
16190 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
16191
16192         * LaTeX.h (operator!=): add operator != for Aux_Info
16193
16194 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
16195
16196         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16197
16198         * LaTeXLog.C: deleted, useful code moved to Buffer
16199
16200         * buffer.h:
16201         * buffer.C: new function getLatexLogName()
16202
16203         * lyx_gui_misc.C:
16204         * lyx_gui.C:
16205         * lyxvc.C:
16206         * lyxvc.h:
16207         * lyxfunc.C: use frontends for LaTeX and VC logs
16208
16209 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16210
16211         * LaTeX.h: yet another std:: that Allan forgot.
16212
16213         * Variables.C (set): renamed from isset(), because this clashes
16214         with some HP-UX macros (grr).
16215
16216 2001-02-06  Allan Rae  <rae@lyx.org>
16217
16218         * LaTeX.h: Another bug fix.  Missing std:: this time.
16219
16220 2001-02-04  Allan Rae  <rae@lyx.org>
16221
16222         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16223         floats problem. I've left it commented out because it's not quite
16224         correct.  It should also test that the current object is a table or
16225         figure inset.  But I haven't gotten around to figuring out how to do
16226         that.  I *think* it'll be something like: "table" == inset.type()
16227
16228         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16229         bool.
16230
16231 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
16232
16233         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16234         all the citation/databases/styles in the auxilary file.
16235         (run): Rerun latex if there was a babel language error.
16236
16237 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
16238
16239         * text.C (Backspace): Preserve the font when changing newline char
16240         with a space.
16241         (BreakParagraph): If the cursor is before a space, delete the space.
16242
16243         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16244
16245 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
16246
16247         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16248         new argument (code).
16249         (ChangeCitationsIfUnique): New method.
16250
16251         * paragraph.C (GetPositionOfInset): Handle bibkey.
16252
16253 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16254
16255         * BufferView_pimpl.h: change type of Position::par_pos to
16256         LyXParagraph::size_type.
16257
16258 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
16259
16260         * BufferView_pimpl.C (savePosition, restorePosition): Write
16261         messages to minibuffer.
16262
16263 2001-01-28  José Matos  <jamatos@fep.up.pt>
16264
16265         * buffer.C (makeDocBookFile): adds support for document language.
16266         A silly restriction on the name of LatexCommand types where removed.
16267         Added support for CDATA sections, allows to chars unescaped, used
16268         among others in code, to avoid escape < and >.
16269
16270 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16271
16272         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16273         saved positions instrad of a stack. Furthermore, a position is
16274         stored using paragraph id/paragraph position.
16275
16276         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16277         Remove LFUN_REF_BACK.
16278
16279 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16280
16281         * converter.C (dvipdfm_options): New method.
16282
16283 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
16284
16285         * vspace.C (isValidLength): Fix for empty input string.
16286
16287 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16288
16289         * LyXAction.C (init): change description of LFUN_FIGURE to
16290         "Insert Graphics"
16291
16292 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16293
16294         * LaTeX.C: add using directive
16295
16296 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16297
16298         * MenuBackend.C (expand): Fix the sorting of the formats.
16299
16300 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
16301
16302         * lyx_main.C: tiny error message fix
16303
16304 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16305
16306         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16307         calling fl_initialize(). This fixes the problem with ',' as
16308         decimal separator in text files.
16309
16310 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16311
16312         * trans.C (process): Fix the keymap bug.
16313
16314 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
16315
16316         * LaTeX.C (scanAuxFiles): New method. Provides support for
16317         multiple bibliographies (when using the bibtopic/bibunits pacakges).
16318         (scanLogFile) Scan for "run BibTeX" messages.
16319
16320         * buffer.C (makeLaTeXFile): Do not load the ae package when using
16321         OT1 font encoding. Also, load the aecompl package if the ae
16322         package is loaded.
16323
16324         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16325
16326 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16327
16328         * texrow.C (increasePos): turn two error messages into debug
16329         messages.
16330
16331 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
16332
16333         * LaTeX.C (scanAux): Handle the \@input macro.
16334         (runBibTeX): Use scanAux().
16335
16336         * language.C (latex_options_): New field.
16337
16338         * LaTeXFeatures.C (getMacros): Add language macros.
16339
16340         * buffer.C (makeLaTeXFile): Small fix.
16341
16342 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16343
16344         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16345
16346         * text2.C: add a using directive.
16347
16348 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
16349
16350         * BufferView2.C:
16351         * lyx_gui_misc.h:
16352         * lyxfr1.C:
16353         * lyxfunc.C: kill LyXBell.
16354
16355 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
16356
16357         * text.C (IsBoundary): Remove the error message
16358
16359         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16360
16361         * lyxrc.C (setDefaults): Correct initialization value for
16362         font_norm_type.
16363
16364 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
16365
16366         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16367         gotoError().
16368
16369         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16370         and GotoNextNote().
16371
16372         * src/LyXAction.C: Added reference-next.
16373
16374         * text.C (InsertChar): Use contains instead of strchr.
16375
16376         * lyx_cb.C (MenuInsertLabel): Enable default value code.
16377
16378 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
16379
16380         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16381         alignment commands (when needed).
16382
16383         * text.C (InsertChar): Add ':' to number separator chars.