]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
21118ccdbe187993bd68636ed63b533977440727
[lyx.git] / src / ChangeLog
1 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
2
3         * pariterator.h: add typdefs for value_type, difference_type,
4         pointer and reference to satisfy concept checks. Also add default
5         constructor for same reason.
6
7         * pariterator.C (operator++): add post-increment operator to
8         satisfy concept checks.
9
10         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
11         checks.
12
13         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
14
15         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
16         checks. Also rename base_type to BaseType to follow naming
17         standard better.
18
19         * FloatList.h: include Floating.h to satisfy concept checks.
20
21 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
22
23         * lyxfunc.C (getStatus): when the origin of the request is menu or
24         toolbar, and the LyXView does not have focus, do as if there was
25         no buffer (bug 1720)
26
27         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
28         FuncRequest to individual entries of LFUN_SEQUENCE
29
30 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
31
32         * output_latex.C (TeXOnePar): override runparams.moving_arg
33         according to the needprotect value of the current paragraph (bug
34         1739)
35
36         * paragraph.C (simpleTeXOnePar): no need to override
37         runparams.moving_args here
38
39 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
40
41         * vspace.C: fix off-by-one-error, related to fix #1682
42
43 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
44
45         * lengthcommon.C: a more general fix for bug 1682
46
47 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
48
49         * text.C (backspace): fix crash
50
51 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
52
53         * format.[Ch] (getFormatFromFile): new method
54         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
55
56 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
57
58         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
59
60 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
61
62         * lyxfunc.C (dispatch): remove the verbose argument
63         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
64         instead
65
66         * kbmap.C (defkey): set the origin of func to KEYBOARD
67
68         * MenuBackend.C (MenuItem):
69         * ToolbarBackend.C (add): set the origin of func to UI
70
71         * funcrequest.[Ch]: add origin member, which indicates which part
72         of LyX requests an action
73
74 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
75
76         * converter.C (move): don't lie in the error message
77         * converter.h (isReachable, move): document
78
79 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
80
81         * buffer.C: remove unused using lyx::support::atoi
82         * paragraph_funcs.C: ditto
83
84 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
85
86         * bufferlist.C (exists): use bind and equal_to instead of
87         compare_memfun
88         (getBuffer): ditto
89         * lyxtextclasslist.C (NumberOfClass): ditto
90
91         * cursor.C (insert): use for_each instead of explicit for loop
92
93         * bufferlist.C (getFileNames): use std::transform and
94         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
95
96         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
97         for loop
98
99         * buffer.C (changeLanguage): use for_each instead of explicit for
100         loop
101         (hasParWithID): implement using getParFromID
102
103         * LaTeXFeatures.C: ws change only
104
105         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
106         to cleanup a bit.
107
108         * BufferView_pimpl.C (trackChanges): use for_each instead of
109         expilicit for loop
110
111 2004-11-04  André Pönitz  <poenitz@gmx.net>
112
113         * undo.h:
114         * undo.C (textUndoOrRedo): fix crash when creating undo information.
115
116         * dociterator.C (asDocIterator): use hard assert again.
117
118 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
119
120         * lyxlength.C (asLatexString): rewrite so that it does not use
121         snprintf anymore
122
123 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
124
125         * text3.C (specialChar, dispatch): make sure cursor moves to the
126         right after inserting an inset
127
128 2004-11-02  José Matos  <jamatos@lyx.org>
129
130         * output_docbook.C (docbook):
131         * paragraph.C (getID):
132         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
133         garantee that the output is always legal.
134
135         * tabular.C (docbook):
136         * outputprams.[Ch]: remove mixed contents.
137
138 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
139
140         * text2.C (setCounter): prevent endless loop
141
142 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
143
144         * exporter.C (copyFile): use the mover instead of support::copy()
145         * exporter.C (Export): pass format and latex name to copyFile()
146         * exporter.h (addExternalFile): document
147         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
148
149 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
150
151         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
152
153 2004-10-30  José Matos  <jamatos@lyx.org>
154
155         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
156         text and no inset or font change. This allows to use CDATA
157         sections just for the whole paragraph.
158
159 2004-10-30  José Matos  <jamatos@lyx.org>
160
161         * paragraph.C (getFirstWord): remove unused variable.
162
163 2004-10-30  José Matos  <jamatos@lyx.org>
164
165         * paragraph.C (getFirstWord): the content should always be escaped
166         there.
167         (simpleDocBookOnePar):
168         * output_docbook.C (makeEnvironment): replace reference to CDATA
169         to style pass_thru.
170
171 2004-10-30  José Matos  <jamatos@lyx.org>
172
173         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
174
175 2004-10-30  José Matos  <jamatos@lyx.org>
176
177         * output_docbook.C (makeParagraphs):
178         * paragraph.[Ch] (emptyTag): for docbook and company, if the
179         standard paragraph has only a given type of content drop the wrapper.
180
181 2004-10-29  José Matos  <jamatos@lyx.org>
182
183         * output_docbook.C (makeEnvironment):
184         * sgml.C (openTag):
185         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
186
187 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
188
189         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
190         (cleanID): sanitize any id.
191
192 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
193
194         * buffer.C, lyxlex_pimpl.C:
195         * lyxlex_pimpl.C (setFile):
196         s/getExtFromContents/getFormatFromContents/
197
198 2004-10-28  José Matos  <jamatos@lyx.org>
199
200         * output_docbook.C (makeEnvironment): move id to broadest possible
201         scope.
202
203         * sgml.C (openTag): apply substitution of <> for all attributes.
204
205 2004-10-28  José Matos  <jamatos@lyx.org>
206
207         * buffer.C (makeLinuxDocFile, makeDocBookFile):
208         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
209         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
210
211         * sgml.[Ch]: new version for open and closeTag for paragraph and
212         for strings. Now they handle the ids of paragraphs.
213
214 2004-10-26  Angus Leeming  <leeming@lyx.org>
215
216         * Makefile.am: add mover.[Ch].
217
218         * converter.C (convert, move): use the new Movers to move external
219         files to the temp directory.
220
221         * lyx_main.C (init): ensure that the global system_movers data
222         is initialised.
223
224         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
225         preferences file.
226
227         * mover.[Ch]: new files, defining a Mover as a utility to move an
228         external file between directories and, if necessary, manipulate this
229         file using a helper script.
230
231 2004-10-25  José Matos  <jamatos@lyx.org>
232
233         * output_docbook.C (makeCommand): merge two if's that tested the
234         same condition.
235
236 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
237
238         * sgml.C (escapeString): fix warning in a better way
239
240 2004-10-25  José Matos  <jamatos@lyx.org>
241
242         * sgml.C (escapeString): import the require boosts header file for
243         tie, and avoid a signed unsigned comparison.
244
245 2004-10-25  José Matos  <jamatos@lyx.org>
246
247         * sgml.h: add #include <string>
248
249 2004-10-25  José Matos  <jamatos@lyx.org>
250
251         * sgml.[Ch] (escapeString): new function to escape all the string.
252
253 2004-10-24  José Matos  <jamatos@lyx.org>
254
255         * paragraph.[Ch] (getFirstWord): new function to get the first
256         word. Useful for description.
257         (simpleDocBookOnePar): remove depth argument, add another that
258         says where to start the paragraph.
259
260         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
261         use the new functions to fix cleanly the support for descriptions.
262
263 2004-10-24  José Matos  <jamatos@lyx.org>
264
265         * buffer.C (makeLinuxDocFile, makeDocBookFile):
266         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
267         * output_linuxdoc.C (linuxdocParagraphs):
268         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
269         add buffer as argument.
270
271 2004-10-24  José Matos  <jamatos@lyx.org>
272
273         * output_docbook.C (makeEnvironment, searchEnvironment): place
274         CDATA inside paragraphs and fix scope for listitems.
275
276 2004-10-24  José Matos  <jamatos@lyx.org>
277
278         * output_docbook.C: remove using statement for stack.
279
280 2004-10-23  José Matos  <jamatos@lyx.org>
281
282         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
283         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
284         docbook. The new scheme is recursive and makes use of iterators, the
285         same as latex export works.
286         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
287         directly with the paragraph contents. This code was moved up to
288         output_docbook.C (docbookParagraphs).
289         * sgml.C (openTag, closeTag): removed unneeded newlines.
290         (closeEnvTags) removed.
291
292 2004-10-23  André Pönitz  <poenitz@gmx.net>
293
294         * undo.C (textUndoOrRedo):
295         * dociterator.C (asDocIterator): work around crash
296
297         * cursor.C (getStatus): replace ASSERT by more verbose error message
298           and manual correction of the problem. Should increase stability
299           while providing more sensible information.
300
301 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
302
303         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
304
305         * bufferlist.C (previous, next): new methods
306
307         * lfuns.h:
308         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
309
310 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
311
312         * buffer.C (makeDocBookFile): add dsssl stylesheet control
313         entities to preamble.
314
315 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
316
317         * messages.C (Pimpl): strip off translation context information
318
319 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
320
321         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
322         the cursor is correct (bug 1694)
323
324 2004-10-13  José Matos  <jamatos@lyx.org>
325
326         * output_docbook.C (docbookParagraphs): fix closing tags in the
327         end of the document.
328
329 2004-10-09  José Matos  <jamatos@lyx.org>
330
331         * buffer.C: format up to 237.
332         * bufferparams.C (write): use tostr to convert booleans to strings.
333
334 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
335
336         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
337
338 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
339
340         * LaTeX.C: implement use of babel language in xindy.
341
342 2004-10-05  José Matos  <jamatos@lyx.org>
343
344         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
345         Add new translators to help reading and writing the lyx file.
346
347 2004-10-05  José Matos  <jamatos@lyx.org>
348
349         * ParagraphParameters.C (read):
350         * text.C (readParToken): replace nexToken by more appropriate lex
351         methods.
352
353 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
354
355         * LaTeX.C (runMakeIndex):
356         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
357         (usually 'makeindex') configurable.
358
359         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
360         with a variable rather than with a number.
361
362 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
363
364         * output_latex.C (TeXOnePar): make sure font setting is the first
365         thing that gets output (and the last at the end). Should fix bug
366         1404.
367
368 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
369
370         * pch.h: use proper signal include
371
372         * LaTeX.h: Use preferred calling of Boost.Signal
373         * buffer.h: ditto
374
375 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
376
377         * pch.h: dont include <boost/function/function0.hpp>
378
379         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
380
381         * paragraph_pimpl.h: remove usage of ShareContainer
382
383         * paragraph_pimpl.C: remove initialization of ShareContainer.
384
385 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
386
387         Fix bug #1666
388
389         * BufferView.C (putSelectionAt): change the semantics when
390         backwards == true: now, this just swaps cursor and anchor wrt the
391         forward case
392
393         * BufferView.h (putSelectionAt): add some documentation
394
395         * lyxfind.C (findBackwards): rewrite using while(). In particular,
396         make sure backwardChar is done at least once (to avoid getting
397         stuck)
398         (findNextChange): use putSelectionAt in the forward direction
399         (operator()): use Paragraph::isWord
400
401 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
402
403         * Spacing.C (set): c_str fix
404
405 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
406
407         * lyx_cb.C (Reconfigure): quote the name of configure script in
408         case it contains spaces
409
410 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
411
412         * client: new dir
413
414         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
415         (BOOST_LIBS): use top_buildir when looking for the file
416
417 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
418
419         * pch.h: do not use include boost/format.hpp, multiple symbols
420                 will result (gcc bug)
421
422
423 2004-08-23  José Matos  <jamatos@lyx.org>
424
425         * bufferparams.C (readToken): fix reading of the author field.
426
427 2004-08-20  José Matos  <jamatos@lyx.org>
428
429         * lyxrc.C: remove support/translator.h inclusion since it is not used.
430
431 2004-08-20  José Matos  <jamatos@lyx.org>
432
433         * lyxlex.[Ch] (findToken): remove function.
434
435         * ParagraphParameters.C (findToken):
436         * bufferparams.C (findToken): replace call for previous function
437         with local copy. This local function has one more argument, the
438         read string argument.
439
440 2004-08-16  José Matos  <jamatos@lyx.org>
441
442         * ParagraphParameters.C (write):
443         * Spacing.C (writeFile):
444         * bufferparams.C (writeLaTeX):
445         * lyx_cb.C (Reconfigure):
446         * paragraph.C (write):
447         * tabular.C (write): remove unnecessary space at end of line.
448
449
450 2004-08-16  José Matos  <jamatos@lyx.org>
451
452         * text.C (readParagraph): remove debug message.
453
454 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
455
456         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
457         crash
458
459         * output_plaintext.C (asciiParagraph): set depth correctly
460
461         * outputparams.h: add member depth
462
463         * paragraph_funcs.C (ownerPar): remove.
464
465         * text2.C (setCounter): remove first_pit; comment out some
466         non-working code that uses ownerPar
467
468         * BufferView.C (getParentLanguage): remove. Not used anymore, and
469         uses ownerPar
470
471 2004-08-16  José Matos  <jamatos@lyx.org>
472
473         * text.C (readParToken, readParagraph, read): report all unknown tokens.
474         For the same level of importance use the same chanel to report problems.
475         (read): add code to deal with \begin_body and \end_body.
476
477
478 2004-08-15  José Matos  <jamatos@lyx.org>
479
480         * lyxlex.C (getString): fix comment, buffer::readBody is now
481         buffer:readDocument.
482
483         * tex-strings.C (string_papersize): Default -> default,
484         Custom -> custom, for consistency with other options.
485
486 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
487
488         * pch.h: new file
489
490         * Makefile.am: support pch
491
492 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
493
494         * text.C (readParToken): remove the static LyXFont variable and
495         pass it as a parameter instead. This fixes a nasty bug where an
496         inset will be inserted with a bad font in some situations
497         (readParagraph): adapt
498
499         * text2.C (setCounter): reduce number of calls to pars_[pit]
500
501         * text.C (singleWidth): add an assert, fix a test
502
503         * rowpainter.C (paintText): reduce number of calls to singleWidth
504
505         * paragraph.C (isHfill):
506         (isNewline): ws only
507
508 2004-08-14  André Pönitz  <poenitz@gmx.net>
509
510         * text.C:
511         * text2.C:
512         * rowpainter.C:
513         * lyxtext.h (several functions): use a Paragraph & argument
514         instead of par_type
515
516 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
517
518         * metricsinfo.h: add a new field ltr_pos to PainterInfo
519
520         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
521
522         * text.C (singleWidth): remove useless test
523
524 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
525
526         * tabular.h: remove bogus comments
527
528         * tabular.C (getDescentOfRow):
529         (isPartOfMultiColumn): add assertions
530
531         * lyxlength.C (inPixels): remove #warning
532
533 2004-08-14  André Pönitz  <poenitz@gmx.net>
534
535         * paragraph.h: inline getChar()
536
537         * BufferView.h: remove unused declarations
538
539 2004-08-14  José Matos  <jamatos@lyx.org>
540
541         * Buffer.[Ch] (readDocument): new name for old readBody.
542         * Buffer.C: new file format, new keywords: \begin_document,
543         \begin_header, \begin_body, \end_body.
544
545         * bufferparams.C (readToken): replace all calls to lex.nextToken
546         by lex.next(). Do the same to eatLine except where really needed.
547
548         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
549         line when writing to the lyx file.
550
551         * output_plaintext.C (asciiParagraph): fix Bibliography style
552         handling.
553
554         * text.C (read): fix end of file handling.
555
556 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
557
558         * MenuBackend.C (Menu::operator[]): new method to access
559         individual menu items
560         (Menu::hasFunc): new method. search for an item that corresponds
561         to a given func
562         (MenuBackend::specialMenu): new method
563         (MenuBackend::expand): if a special menu has been set, skip
564         entries whose func() appears in this menu
565
566 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
567
568         * text3.C: use Debug::DEBUG a bit more
569
570         * text.C (leftMargin): try to simplify a tiny bit change var x to
571         l_margin. Dont output the wide margins always.
572         (rightMargin): no margin in inner texts
573
574         * rowpainter.h (nestMargin): new func
575         (changebarMargin): new func
576         (rightMargin): new func
577
578         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
579         now functions.
580         (paintLast): ditto
581
582         * factory.C (createInset): modify setDrawFrame
583
584         * cursor.C: use Debug::DEBUG a bit more
585
586 2004-08-14  André Pönitz  <poenitz@gmx.net>
587
588         * coordcache.[Ch]:
589         * Makefile.am: new files to accomodate an 'external' (x,y)-position
590         cache for all insets in (at least partially) visible (top-level)
591         paragraphs.
592
593         * BufferView_pimpl.C: reset external coord cache before every update.
594         This means the coord cache only contains valid entries.
595
596 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
597
598         bug 1096
599         * BufferView_pimpl.C (getInsetByCode): move function out of class
600         and change in to a template in anon namespace. Also fix to do what
601         suits us better.
602
603 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
604
605         bug 1305
606         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
607         of char
608         (breakParagraph): rename par to par_offset and use a local
609         reference. Add code to keep the language over a rebreak.
610         (breakParagraphConservative): rename par to par_offset, use a
611         local reference
612         (mergeParagraph): ditto
613         (outerHook): ditto
614         (isFirstInSequence): ditto
615         (outerFont): rename pit to par_offset
616
617         * paragraph.C: ws change
618         * paragraph.h: ditto
619         * text3.C: ditto
620         * text.C: ditto
621
622 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
623
624         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
625         treatment for ']'
626
627         * paragraph.C (simpleTeXOnePar): when we have a \item with
628         optional argument, enclose the argument with curly brackets (in
629         case it contains a closing square bracket)
630
631         * text2.C (editXY):
632         * text2.C (editXY):
633         * text3.C (checkInsetHit): constify
634
635 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
636
637         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
638         documents (bug 1629)
639
640 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
641
642         Fix toggling of collapsable insets with the mouse (bug 1558)
643
644         * lyxfunc.C (dispatch): adapt to LCursor changes
645
646         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
647         make sure that dispatch is not invoked twice
648
649         * cursor.C (needsUpdate): new method
650         (dispatch): return void
651         (result): new method, to access the DispatchResult of the cursor.
652
653 2004-08-13  José Matos  <jamatos@lyx.org>
654
655         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
656
657 2004-08-13  André Pönitz  <poenitz@gmx.net>
658
659         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
660
661         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
662           multiple cells
663
664 2004-08-12  André Pönitz  <poenitz@gmx.net>
665
666         * text3.C: take out the 'cursor right' form insertInset and only
667         do it in those places when it is really needed. Fixes crash on
668         C-m...
669
670 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
671
672         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
673
674         * BufferView_pimpl.C (setBuffer): initialize the current font of
675         the underlying LyXText
676
677 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
678
679         * kbsequence.C (print): use UI native formatting for menu
680         shortcuts
681
682         * text.C (insertChar): call Paragraph::insertChar with a font
683         argument (cosmetic)
684
685         * paragraph.C (insertInset, insertChar): the version that takes a
686         LyXFont argument is now a wrapper around the other one (the
687         opposite used to be true).
688
689         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
690         argument. Font setting is done in Paragraph now.
691
692 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
693
694         * outputparams.h: add new members intitle and lang.
695
696         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
697         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
698
699 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
700
701         * text3.C (dispatch): remove special handling of button 4 and 5,
702         it is now taken care of in the frontend code.
703
704 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
705
706         * Spacing.h: add <string> (STLPort compile fix)
707
708 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
709
710         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
711
712 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
713
714         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
715         to bool.
716
717         * converter.C (showMessage): inherit from unary_function, make
718         operator() const.
719
720         * buffer.C (writeFile): initialize retval
721
722         * InsetList.h: rename private variable list to list_
723         * InsetList.[Ch]: adjust accordingly.
724
725 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
726
727         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
728         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
729         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
730         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
731         * ParagraphParameters.C, LaTeXFeatures.C: replace
732         "support/std_sstream.h" with <sstream>
733
734 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
735
736         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
737         * lyxsocket.C (LyXServerSocket): ditto
738         (serverCallback): ditto
739
740 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
741
742         * LaTeXFeatures.C: check release date when loading jurabib.
743
744 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
745
746         * lyxserver.C (startPipe): call register_socket_callback
747         (endPipe): call unregister_socket_callback
748
749 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
750
751         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
752         (LyXServerSocket): register the callback
753         (LyXServerSocket): unregister the callback
754         (fd): delete function
755         (serverCallback): improve error checking and setup the callbacks.
756         (dataCallback): change arg to fd.
757         (writeln): new func (copied fro the client socket) used for server
758         write to client.
759         (LyXDataSocket): simplify
760         (~LyXDataSocket): close ann unregiser callback
761         (server): delete function
762         (fd): delete function
763         (readln): small changes, improve some std::string usage
764         (writeln): constify a bit
765
766 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
767
768         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
769         Qt frontend
770
771 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
772
773         * BufferView_pimpl.C (setBuffer): set the layout combox value only
774         after it has been populated
775
776 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
777
778         * text2.C (insertInset): move cursor when inserting inset.
779
780 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
781
782         * kbmap.C (findbindings): a couple of new methods. returns a
783         container of kb_sequence objects. The real work is done by the
784         private recursive version
785         (printbindings): uses findbindings to print out a bracketed list
786         of bindings (renamed from findbinding).
787
788         * MenuBackend.C (binding): use kb_keymap::findbindings
789
790         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
791
792 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
793
794         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
795
796 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
797
798         * paragraph.C (isWord): return true on insets that report
799         isLetter().
800
801         * text.C (getWord): use Paragraph::isWord to decide what is in a
802         word and what is not; fix bug 1609.
803
804 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
805
806         * tex-strings.C: add "none" to string_paperpackages[], fixes
807         off-by-one-error in the paperpackage selection.
808
809         * lyxlex.[Ch]:
810         * tex-strings.[Ch]: char const * string[n]
811         -> char const * const string[]
812
813 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
814
815         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
816         command, return early.
817
818 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
819
820         * debug.h: add DEBUG to enum and fix size of ANY.
821
822         * debug.C: add support for Debug::DEBUG
823         (showTags): cast errorTags.level to unsigned int
824
825         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
826         (redoCurrentBuffer): ditto
827         (updateScrollbar): ditto
828         * cursor.C (dispatch): ditto
829         * text2.C (setLayout): ditto
830         (setFont): ditto
831         (updateCounters): ditto
832         (editXY): ditto
833         (deleteEmptyParagraphMechanism): ditto
834
835 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
836
837         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
838         annotations to cleanup the Makefile slightly.
839
840 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
841
842         * lyxrc.C: do not set user_email to a default value but use empty
843         instead. The entry used to be translated, which does not work
844         since at the point where lyxrc is constructed there is no
845         translation service available
846
847         * messages.C (getLocaleDir): remove and use directly
848         lyx_localedir() instead
849
850 2004-06-02  Angus Leeming  <leeming@lyx.org>
851
852         Fix crash caused by dereferencing null pointer 'exportdata' in
853         OutputParams by creating a new ExportData variable on the heap,
854         storing it in a boost::shared_ptr.
855         The crash was triggered when generating an Instant Preview
856         of an external inset.
857
858         * Makefile.am: add outputparams.C
859
860         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
861         (c-tor): allocate memory to it.
862
863         * exporter.C (c-tor): associated changes.
864
865 2004-06-01  Angus Leeming  <leeming@lyx.org>
866
867         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
868         contains data before calling isInset(0). (Bug 1513.)
869
870 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
871
872         * exporter.C (checkOverwrite): new method
873         * exporter.C (copyFile): new method
874         * exporter.C (Export): copy referenced files to the document dir
875         * exporter.[Ch]: new class ExportedFile
876         * exporter.[Ch]: new class ExportData. Contains currently the
877         names of referenced external files
878         * outputparams.h: add exportdata member.
879
880 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
881
882         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
883         version.C-tmp
884
885 2004-05-19  Angus Leeming  <leeming@lyx.org>
886
887         * LaTeXFeatures.C:
888         * ToolbarBackend.C:
889         * bufferparams.C:
890         * lyxfunc.C: small changes due to the introduction of namespace
891         lyx::frontend and the moving of namespace biblio to lyx::biblio.
892
893 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
894
895         * text3.C (dispatch): supress update when only moving the cursor
896         * cursor.C (selHandle): remove commented code
897
898 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
899
900         * paragraph.C (startTeXParParams): correct column count
901         * CutAndPaste.C (pasteSelection): remove const_cast
902         * output_docbook.C (docbookParagraphs): remove const_cast
903         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
904         const_cast and return ParagraphList::const_iterator
905         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
906         * output_plaintext.C (writeFileAscii): remove const_cast
907         * paragraph.[Ch] (simpleTeXOnePar): make const
908         * paragraph_funcs.C (outerPar): use const iterators
909         * paragraph_pimpl.C (validate): use const iterators
910         * text.C (setHeightOfRow): use const iterators
911
912 2004-05-17  Angus Leeming  <leeming@lyx.org>
913
914         * lfuns.h:
915         * LyXAction.C (init): new LFUN_INSET_REFRESH.
916
917         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
918         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
919         if the citation engine has changed.
920
921 2004-05-14  José Matos  <jamatos@lyx.org>
922
923         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
924         if the textclass does not provide it. Have it different for sgml and
925         xml.
926         support the language of document.
927         * output_docbook.C (docbookParagraphs):
928         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
929         first anchor as the id of the paragraph, remove special case code.
930         * sgml.C (escapeChar): escape only < & >.
931
932 2004-05-14  Angus Leeming  <leeming@lyx.org>
933
934         * bufferparams.h: move biblio::CiteEngine enum here to minimize
935         dependencies on src/frontends/controllers/biblio.h. Define a
936         CiteEngine_enum wrapper class to enable the enum to be forward
937         declared.
938
939 2004-05-12  Angus Leeming  <leeming@lyx.org>
940
941         * buffer.C: up LYX_FORMAT to 234.
942         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
943         use_numerical_citations with a single biblio::CiteEngine cite_engine
944         variable.
945         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
946
947 2004-05-13  José Matos  <jamatos@lyx.org>
948
949         * converter.h:
950         * converter.C (Converter, readFlags): add xml member.
951         * outputparams.h: add XML flavor.
952         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
953
954 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
955
956         * lyxfunc.C (dispatch):
957         (getStatus): fix handling of LFUN_SEQUENCE
958
959 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
960
961         * debug.C (showLevel): do not forget the end-of-line marker
962
963 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
964
965         * kbmap.C (read): do not stop parsing a bind file when an error
966         occurs (bug 1575)
967
968 2004-04-29  Angus Leeming  <leeming@lyx.org>
969
970         * cursor.C:
971         * factory.C:
972         * pariterator.C:
973         * text2.C: wrap a bunch of #warning statements
974         inside #ifdef WITH_WARNINGS blocks.
975
976 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
977
978         * buffer.C: increment format to 233.
979
980 2004-04-28  Angus Leeming  <leeming@lyx.org>
981
982         * BufferView_pimpl.C:
983         * lyxfunc.C:
984         * text3.C:
985         s/updateToolbar()/updateToolbars()/
986         s/Toolbar.h/Toolbars.h/
987
988 2004-04-28  Angus Leeming  <leeming@lyx.org>
989
990         * BufferView.[Ch] (c-tor):
991         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
992         No longer passes these data to the WorkArea generator.
993
994 2004-04-28  Angus Leeming  <leeming@lyx.org>
995
996         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
997
998 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
999
1000         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1001
1002 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1003
1004         * output_latex.C (TeXEnvironment): make sure that there is a line
1005         break before \end{foo} for the last paragraph of a document
1006         (TeXOnePar): if the paragraph is at the end of the document (or
1007         inset) and the language has to be reset, then make sure that the
1008         line break is _before_ the language command, not after (fixes bug
1009         1225); also make sure that the language reset command is the first
1010         thing after the paragraph (to ensure proper nesting of
1011         environments and thus fix bug 1404)
1012
1013 2004-04-21  John Levon  <levon@movementarian.org>
1014
1015         * ToolbarBackend.h:
1016         * ToolbarBackend.C: make "name" be a programmatic name
1017         and a gui_name field.
1018
1019         * lyxfunc.C: display the minibuffer on M-x
1020
1021 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1022
1023         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1024         (bug 1526)
1025
1026 2004-04-19  Angus Leeming  <leeming@lyx.org>
1027
1028         * BufferView_pimpl.C (setBuffer): changed preview interface.
1029
1030         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1031         possible values.
1032
1033 2004-04-19  John Levon  <levon@movementarian.org>
1034
1035         * BufferView_pimpl.C:
1036         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1037
1038 2004-04-05  Angus Leeming  <leeming@lyx.org>
1039
1040         * text.C (redoParagraphs): add call to updateCounters(), thereby
1041         fixing the missing "Figure #:" label from the caption of a
1042         figure float.
1043
1044 2004-04-13  Angus Leeming  <leeming@lyx.org>
1045
1046         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1047         cursor is clicked out of an inset.
1048
1049 2004-04-13  Angus Leeming  <leeming@lyx.org>
1050
1051         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1052         than an InsetOld one.
1053
1054 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1055
1056         * format.[Ch]: add editor to Format
1057         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1058         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1059
1060 2004-04-08  André Pönitz  <poenitz@gmx.net>
1061
1062         * metricsinfo.h: remove PainterInfo::width member
1063
1064 2004-04-08  Angus Leeming  <leeming@lyx.org>
1065
1066         * lyx_sty.C (boldsymbol_def): modify so that it outputs
1067         "\providecommand" rather than "\newcommand", thereby preventing
1068         clashes with packages that define "\boldsymbol" themselves.
1069         Eg, beamer.
1070
1071 2004-04-08  Angus Leeming  <leeming@lyx.org>
1072
1073         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1074         thereby squashing an unnecessary warning.
1075
1076 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1077
1078         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1079         setBuffer()
1080
1081 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
1082
1083         * BufferView.C (setCursor): call redoParagraph (some insets could
1084         have been opened)
1085         (putSelectionAt): remove the 'double update' trick
1086
1087         * BufferView_pimpl.C (fitCursor): call refreshPar
1088         (workAreaDispatch): remove an uneeded update call
1089         (dispatch): remove some manual update calls
1090
1091         * cursor.[Ch]: remove cached_y_, updatePos
1092         (selHandle): set noUpdate when appropriate
1093
1094         * lyxfunc.C (dispatch): track if we need an update
1095
1096         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1097
1098         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1099         (paintSelection): cheap optimization, do not call cursorX when not
1100         needed
1101         (paintPars): change signature
1102         (refreshPar): add
1103         (paintText): adjust
1104         (paintTextInset): adjust
1105
1106         * text.C: adjust
1107
1108 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1109
1110         * lengthcommon.C: compilation fix: remove explicit array size from
1111         unit_name[] and friends
1112
1113 2004-04-05  Angus Leeming  <leeming@lyx.org>
1114
1115         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1116
1117         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1118         present only for the preferences dialog.
1119         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1120
1121 2004-04-05  Angus Leeming  <leeming@lyx.org>
1122
1123         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1124         to enable the frontends to export changes to lyxrc correctly.
1125
1126         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1127
1128 2004-04-07  André Pönitz  <poenitz@gmx.net>
1129
1130         * cursor.[Ch] (selClear, adjust): remove math
1131
1132         * cursor_slice.C: more agressive assert
1133
1134         * lyxfunc.C:
1135         * BufferView_pimpl.C: rework mouse event dispatch
1136
1137         * dociterator.C:
1138         * paragraph.C:
1139         * text2.C:
1140         * text3.C: adjust
1141
1142 2004-04-05  André Pönitz  <poenitz@gmx.net>
1143
1144         * cursor.[Ch] (valign, halign...): remove unneeded functions
1145
1146 2004-04-05  Angus Leeming  <leeming@lyx.org>
1147
1148         * lyxlength.[Ch] (unit_name et al.): const-correct.
1149
1150 2004-04-05  Angus Leeming  <leeming@lyx.org>
1151
1152         * BufferView_pimpl.C:
1153         * buffer.C:
1154         * counters.C:
1155         * cursor.C:
1156         * lyxfunc.C
1157         * paragraph.C:
1158         * pariterator.C:
1159         * text.C:
1160         * text2.C:
1161         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1162
1163 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1164
1165         * text3.C (getStatus): add LFUN_BEGINNINGBUF
1166
1167 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1168
1169         * lyxfind.C: add a couple of inTexted() tests + other small fixes
1170         * BufferView_pimpl.[Ch] (getStatus)
1171         * BufferView.[Ch] (getStatus): add
1172         * lyxfunc.C (getStatus): move lfuns handled in
1173         BufferView::dispatch to te function above
1174         * Cursor.C (setSelection): set selection() = true
1175
1176 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1177
1178         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1179
1180 2004-03-31  Angus Leeming  <leeming@lyx.org>
1181
1182         * lyxfunc.C (dispatch): Fall through to the generic
1183         Dialogs::show("preamble").
1184
1185 2004-03-31  Angus Leeming  <leeming@lyx.org>
1186
1187         * lyxfunc.C (dispatch): Fall through to the generic
1188         Dialogs::show("spellchecker").
1189
1190 2004-03-31  Angus Leeming  <leeming@lyx.org>
1191
1192         * lyxfunc.C (getStatus, dispatch): changed invocation of the
1193         preferences dialog.
1194
1195 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1196
1197         * BufferView.C
1198         * cursor.[Ch]
1199         * dociterator.[Ch]:
1200         * insetiterator.[Ch]:
1201         * lyxfind.C:
1202         * lyxfunc.C:
1203         * pariterator.[Ch]:
1204         * text2.C:
1205         * undo.[Ch]: s/DocumentIterator/DocIterator/g
1206
1207 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1208
1209         * BufferView.C (setCursor, putSelectionAt): call edit to open the
1210         insets where we are putting the cursor.
1211
1212 2004-03-31  Angus Leeming  <leeming@lyx.org>
1213
1214         * lfuns.h:
1215         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1216
1217         * lyxrc.[Ch] (read, write): overloaded member functions taking
1218         a std::[io]stream arguments.
1219
1220         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1221
1222 2004-03-31  Angus Leeming  <leeming@lyx.org>
1223
1224         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1225         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1226
1227         * lyxtextclass.C (load): if the text class couldn't be loaded, then
1228         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1229
1230 2004-03-31  Angus Leeming  <leeming@lyx.org>
1231
1232         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1233         the LFUN_ALL_INSETS_TOGGLE code.
1234
1235 2004-03-30  Angus Leeming  <leeming@lyx.org>
1236
1237         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1238         has died. Fall through to the generic Dialogs::show("document").
1239
1240 2004-03-30  Angus Leeming  <leeming@lyx.org>
1241
1242         * lfuns.h:
1243         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1244         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1245
1246         * lyxfunc.C (getStatus, dispatch): define the actions for these
1247         lfuns. Little more than a cut and pste job from ControlDocument.C
1248
1249         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1250
1251 2004-03-30  Angus Leeming  <leeming@lyx.org>
1252
1253         * lfuns.h:
1254         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1255         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1256
1257         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1258         open/closed state of ollapsable insets. Usage:
1259
1260         all-inset-toggle <state> <name>, where
1261         <state> == "open" || "closed" || "toggle" and
1262         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1263
1264         * lyxtext.h, text2.C (toggleInset): removed.
1265
1266         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1267         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1268         now passes LFUN_INSET_TOGGLE to the found inset.
1269
1270         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1271         is now invoked as "all-insets-toggle toggle branch".
1272
1273 2004-03-30  Angus Leeming  <leeming@lyx.org>
1274
1275         * dociterator.C:
1276         * insetiterator.C:
1277         * pariterator.[Ch]: added/corrected header blurb.
1278
1279 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
1280
1281         * dociterator.[Ch]: add an inset_ member
1282         (backwardPos): implemented
1283         (backwardPos, forwardPos): use inset_ when the stack is empty.
1284         (doc_iterator_begin, doc_iterator_end): implemented
1285         * pariterator.[Ch]: adjust, add begin, end
1286         * insetiterator.[Ch]: adjust, add begin, end
1287         * cursor.C:
1288         * document.C:
1289         * BufferView.C:
1290         * BufferView_pimpl.C:
1291         * CutAndPaste.C: adjust
1292
1293 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1294
1295         * buffer.C: increment file format to 232.
1296         * LaTeXFeatures.C: add bibtopic package.
1297         * bufferparams.[Ch]: param \use_bibtopic.
1298
1299         * lyxrc.[Ch]: add lyxrc bibtex_command
1300         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1301
1302         * buffer.C: increment file format to 231.
1303
1304 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1305
1306         * dociterator.C: implement forwardPar
1307         * iterators.[Ch]: remove, replaced by
1308         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1309         * BufferView.C:
1310         * BufferView_pimpl.C:
1311         * CutAndPaste.C:
1312         * buffer.C:
1313         * bufferview_funcs.C:
1314         * cursor.C:
1315         * lyxfind.C
1316         * lyxfunc.C
1317         * paragraph_funcs.C
1318         * toc.C:
1319         * Makefile.am: adjust
1320
1321 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1322
1323         * CutAndPaste.C (pasteSelection): fix 2 crashes
1324         (eraseSelection): fix a crash
1325         * paragraph_funcs.C: remove a warning
1326
1327 2004-03-28  Angus Leeming  <leeming@lyx.org>
1328
1329         * lfuns.h:
1330         * LyXAction.C (init): new LFUN_PRINT.
1331
1332         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1333
1334 2004-03-27  Angus Leeming  <leeming@lyx.org>
1335
1336         * lfuns.h:
1337         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1338
1339         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1340
1341 2004-03-27  Angus Leeming  <leeming@lyx.org>
1342
1343         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1344         insetlist always contains non-null pointers to insets.
1345
1346 2004-03-26  Angus Leeming  <leeming@lyx.org>
1347
1348         * src/BufferView_pimpl.C:
1349         * src/CutAndPaste.C:
1350         * src/buffer.C:
1351         * src/iterators.C:
1352         * src/output_plaintext.C:
1353         * src/outputparams.h:
1354         * src/paragraph_funcs.C:
1355         * src/rowpainter.C:
1356         * src/text.C:
1357         * src/text2.C:
1358         * src/frontends/controllers/ControlErrorList.C:
1359         * src/frontends/gtk/FileDialogPrivate.C:
1360         * src/frontends/gtk/GPainter.C:
1361         * src/frontends/gtk/GToolbar.C:
1362         * src/frontends/qt2/QRef.C:
1363         * src/mathed/math_scriptinset.C: squash compiler warnings.
1364
1365 2004-03-26  Angus Leeming  <leeming@lyx.org>
1366
1367         * ispell.C (LaunchIspell::start):
1368         * lyx_cb.C (AutoSaveBuffer::start):
1369         invoke run(DontWait) rather than runNonBlocking().
1370
1371 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
1372
1373         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1374
1375 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1376
1377         * kbsequence.C (print): adjust
1378
1379         * kbmap.C (printKeySym): rename and change signature
1380         (printKey): use LyXKeySym::print()
1381
1382 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
1383
1384         * undo.C: add using std::advance to compile for stlport
1385
1386 2004-03-24  Angus Leeming  <leeming@lyx.org>
1387
1388         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1389         it leads to a crash when no buffer is present.
1390
1391 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1392             Martin Vermeer  <martin.vermeer@hut.fi>
1393
1394         * lyxfunc.C (dispatch):
1395         * bufferparams.C (readToken): use the new LColor::setColor
1396
1397         * LColor.[Ch] (setColor): new version that takes two strings as
1398         argument and creates a new color entry if necessary
1399
1400 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1401
1402         * buffer.C (makeLaTeXFile): if the main latex file that is
1403         processed is usually a subdocument of some master, then pretend
1404         for a while that it is actually the master
1405
1406 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1407
1408         * buffer.C (getLabelList):
1409         (getBibkeyList): use getMasterBuffer()
1410         (getMasterBuffer): new method. Returns the main document in the
1411         case where one is using included documents.
1412
1413 2004-03-25  André Pönitz  <poenitz@gmx.net>
1414
1415         * Makefile.am:
1416         * iterators.[Ch]:
1417         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1418
1419         * ParagraphList_fwd.h: change ParagraphList to a std::vector
1420
1421         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1422         text*.C over here. Rename namespace CutAndPaste to lyx::cap
1423
1424         * ParameterStruct.h: merge with ParagraphParameters
1425
1426         * lyxtext.h: remove LyXText::parOffset() and getPar()
1427
1428         * text3.C: Remove all 'manual' update calls. We do now one per user
1429         interaction which is completely sufficient.
1430
1431         * Bidi.C:
1432         * BufferView.[Ch]:
1433         * BufferView_pimpl.C:
1434         * FontIterator.[Ch]:
1435         * MenuBackend.C:
1436         * ParagraphParameters.[Ch]:
1437         * buffer.C:
1438         * buffer.h:
1439         * bufferlist.C:
1440         * cursor.[Ch]:
1441         * cursor_slice.[Ch]:
1442         * dociterator.[Ch]:
1443         * errorlist.[Ch]:
1444         * factory.C:
1445         * lfuns.h:
1446         * lyxfind.C:
1447         * lyxfunc.C:
1448         * output_docbook.[Ch]:
1449         * output_latex.[Ch]:
1450         * output_linuxdoc.[Ch]:
1451         * output_plaintext.[Ch]:
1452         * paragraph.[Ch]:
1453         * paragraph_funcs.[Ch]:
1454         * paragraph_pimpl.[Ch]:
1455         * rowpainter.C:
1456         * tabular.[Ch]:
1457         * text.C:
1458         * text2.C:
1459         * toc.C:
1460         * undo.[Ch]: adjust
1461
1462         * frontends/controllers/ControlDocument.C:
1463         * frontends/controllers/ControlErrorList.C:
1464         * frontends/controllers/ControlSpellchecker.C:
1465         * insets/inset.C:
1466         * insets/inset.h:
1467         * insets/insetbase.h:
1468         * insets/insetbibitem.C:
1469         * insets/insetbox.C:
1470         * insets/insetbranch.C:
1471         * insets/insetcaption.C:
1472         * insets/insetcharstyle.C:
1473         * insets/insetcharstyle.h:
1474         * insets/insetcollapsable.C:
1475         * insets/insetcollapsable.h:
1476         * insets/insetert.C:
1477         * insets/insetfloat.C:
1478         * insets/insetfoot.C:
1479         * insets/insetmarginal.C:
1480         * insets/insetnote.C:
1481         * insets/insetoptarg.C:
1482         * insets/insettabular.C:
1483         * insets/insettext.C:
1484         * insets/insettext.h:
1485         * insets/insetwrap.C:
1486         * mathed/math_mboxinset.C:
1487         * mathed/math_nestinset.C:
1488         * mathed/math_scriptinset.C:
1489         * mathed/math_scriptinset.h:
1490         * support/types.h:
1491
1492 2004-03-24  Angus Leeming  <leeming@lyx.org>
1493
1494         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1495         deal with any child processes that have finished but are waiting to
1496         communicate this fact to the rest of LyX.
1497
1498 2004-03-24  Angus Leeming  <leeming@lyx.org>
1499
1500         64-bit compile fixes.
1501
1502         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1503         (c-tor): pass lyx::pos_types rather than ints.
1504
1505         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1506         lyx::pos_type.
1507
1508         * text.C (Delete): compile fix.
1509         (getPar): ensure that function declaration is the same as that in
1510         the header file.
1511
1512 2004-03-23  Angus Leeming  <leeming@lyx.org>
1513
1514         * ispell.C (LaunchIspell):
1515         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1516         a boost::shred_ptr rather than a std::auto_ptr.
1517
1518 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1519
1520         * lyxfunc.C (getStatus): handle read-only buffers correctly;
1521         handle LFUN_FILE_INSERT_*
1522
1523         * lyxrc.C (setDefaults, getDescription, output, read):
1524         * lyxrc.h: remove ps_command
1525
1526 2004-03-22  Angus Leeming  <leeming@lyx.org>
1527
1528         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1529         Ensure that error_handler is processed once only and that all data
1530         is saved before attempting to output any warning messages.
1531
1532         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1533
1534 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
1535
1536         * tabular.C (TeXRow): crash fix (from Kayvan and André)
1537
1538 2004-03-19  André Pönitz  <poenitz@gmx.net>
1539
1540         * cursor.[Ch] (reset): take main text inset as argument
1541
1542         * BufferView: adjust
1543         * BufferView_pimpl.C: adjust
1544
1545         * paragraph.[Ch]: fix completely broken operator=()
1546
1547 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1548
1549         * LColor.C (getFromLyXName): make sure that the color name is used
1550         as lowercase.
1551
1552 2004-03-17  Angus Leeming  <leeming@lyx.org>
1553
1554         * lfuns.h:
1555         * LyXAction.C (init): remove LFUN_FORKS_KILL.
1556
1557         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1558         dialog and to kill a forked process.
1559
1560 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1561
1562         * text2.C (setCursorFromCoordinates): fix font problem
1563
1564 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1565
1566         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1567         bogus "rebuild cursor" code
1568
1569 2004-03-11  André Pönitz  <poenitz@gmx.net>
1570
1571         * buffer.[Ch]: use InsetText instead of LyXText as container for
1572         the main lyx text.
1573
1574         * dociterator.[Ch]: drop the BufferView * member which is not needed
1575         anymore after the change to buffer.C
1576
1577         * paragraph_funcs.C:
1578         * text.C:
1579         * text2.C:
1580         * BufferView.[Ch]:
1581         * BufferView_pimpl.[Ch]:
1582         * cursor.[Ch]:
1583         * cursor_slice.[Ch]: adjust
1584
1585         * text3.C: fix bug in mathDispatch
1586
1587 2004-03-08  André Pönitz  <poenitz@gmx.net>
1588
1589         * undo.[Ch]: use 'StableDocumentIterator' as base for
1590         the Undo struct.
1591
1592 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1593
1594         * LaTeXFeatures.C:
1595         * bufferparams.[Ch]: add jurabib support and param.
1596
1597         * LaTeX.C: add FIXME/comment.
1598
1599 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1600
1601         * buffer.C: increment file format to 230.
1602
1603 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
1604
1605         * cursor.C (dispatch): avoid infinite loops
1606
1607 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1608
1609         * rowpainter.C (paintSelection): fix x coordinates
1610
1611 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1612
1613         * text.C (rowBreakPoint): fix breaking before displayed insets
1614
1615 2004-03-01  André Pönitz  <poenitz@gmx.net>
1616
1617         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1618
1619         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1620
1621         * Makefile.am:
1622         * BufferView.C:
1623         * BufferView_pimpl.C:
1624         * buffer.C:
1625         * lyxfind.C:
1626         * lyxfunc.C:
1627         * text.C:
1628         * text2.C:
1629         * text3.C: adjust
1630
1631 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1632
1633         * lyxtext.h:
1634         * text.C:
1635         * text2.C:
1636         * rowpainter.C:
1637         * BufferView_pimpl.C: rename textwidth -> maxwidth,
1638         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1639
1640 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1641
1642         * Bidi.[Ch] (computeTables): const correctness
1643         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1644         fill_hfill, fill_label_hfill and x from Row
1645         * lyxtext.h: prepareToPrint returns a RowMetrics
1646         * rowPainter.C: adjust
1647         * text.C (prepareToPrint): use width, not textWidth. adjust
1648         (redoParagraphInternal, cursorX): adjust
1649         * text2.C (getColumnNearX): adjust
1650         (init): put a default value to the top LyXText::width
1651
1652 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1653
1654         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1655
1656 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1657
1658         * lyxtext.h: add FontIterator class
1659
1660         * text.C (FontIterator, operator*, operator->, operator++): add
1661         (rowBreakPoint, setRowWidth): adjust (fixing a
1662         rebreaking bug)
1663
1664 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1665
1666         * BufferView_pimpl.C (workAreaDispatch): allow also
1667         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1668
1669 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
1670
1671         * text.C (rowBreakPoint): fix a bug showing with very large insets
1672
1673 2004-02-25  André Pönitz  <poenitz@gmx.net>
1674
1675         * text3.C:
1676         * cursor.[Ch]: move some mathed specific code to mathed
1677
1678 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1679
1680         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1681         use_tempdir in preferences
1682         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1683         tempfile creation
1684         * lyx_main.C: ensure that tempdir is valid
1685         * lyxlex.h: correct typo
1686         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1687         * paragraph.[Ch] (isMultiLingual): make const
1688         * cursor.[Ch] (openable): make const
1689
1690 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1691
1692         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1693
1694 2004-02-20  André Pönitz  <poenitz@gmx.net>
1695
1696         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1697
1698         * cursor.[Ch]: prepare for localized getStatus()
1699
1700         * lyxtext.h:
1701         * tabular.C:
1702         * text.C:
1703         * text2.C:
1704         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
1705
1706 2004-02-20  André Pönitz  <poenitz@gmx.net>
1707
1708         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1709
1710 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1711
1712         * text2.C (setCursorFromCoordinates): switch to absolute coords
1713         (cursorUp): adjust
1714         (cursorDown): adjust
1715         * text3.C (dispatch): adjust
1716
1717 2004-02-16  André Pönitz  <poenitz@gmx.net>
1718
1719         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1720           insets/ChangeLog)
1721
1722         * cursor_slice.[Ch]: remove unneeded acessor function
1723
1724         * lyxtext.h: rename rtl() to isRTL()
1725
1726         * rowpainter.C:
1727         * tabular.C:
1728         * text.C:
1729         * text2.C:
1730         * text3.C: adjust
1731
1732 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1733
1734         * rowpainter.C (paintSelection): coord fix
1735
1736 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
1737
1738         * Spacing.C: compile fix
1739
1740 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1741
1742         * cursor.C (dispatch): restore current_ before returning
1743
1744 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1745
1746         * text2.C (cursorUp, cursorDown): fix coords
1747         (moveUp): fix crash
1748
1749 2004-02-12  André Pönitz  <poenitz@gmx.net>
1750
1751         * lyxtext.h:
1752         * text.C:
1753         * text2.C:
1754         * text3.C: add LCursor & parameter to most cursor movement functions
1755           remove usage of LyXText::cursorRow() and cursorPar()
1756
1757         * cursor.[Ch]: add textRow() needed members
1758
1759         * BufferView.C:
1760         * BufferView_pimpl.C:
1761         * paragraph.[Ch]:
1762         * BufferView.C:
1763         * BufferView_pimpl.C: adjust
1764
1765 2004-02-11  André Pönitz  <poenitz@gmx.net>
1766
1767         * lyxfunc.C:
1768         * BufferView.[Ch]:
1769         * BufferView_pimpl.C: shift undo/redo handling
1770
1771         * cursor.[Ch]: fix mathed crash
1772
1773         * lyxfind.C:
1774         * lyxtext.h: move selectionAsText to LCursor
1775
1776         * output_latex.C:
1777         * paragraph.C:
1778         * text.C:
1779         * text2.C:
1780         * text3.C: adjust
1781
1782         * rowpainter.C: fix excessive drawing
1783
1784 2004-02-06  André Pönitz  <poenitz@gmx.net>
1785
1786         * BufferView.[Ch]:
1787         * BufferView_pimpl.[Ch]:
1788         * text3.C: move some text specific LFUN handling
1789
1790 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
1791
1792         * text3.C (checkInsetHit): adjust coords
1793         * text2.C (getColumnNearX): adjust coords
1794         (edit): adjust coords
1795         * text.C (getRowNearY): add two asserts
1796
1797 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
1798
1799         * converter.C:
1800         * format.C: add using std::distance to compile on gcc 2.95/stlport
1801
1802 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
1803
1804         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1805
1806 2004-02-04  André Pönitz  <poenitz@gmx.net>
1807
1808         * BufferView.[Ch] (insertInset):
1809         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1810
1811         * text2.C:
1812         * text3.C: adjust
1813
1814 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1815
1816         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1817         on the default clause of the switch
1818         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1819         wasn't catched by LCursor::dispatch
1820
1821 2004-02-03  André Pönitz  <poenitz@gmx.net>
1822
1823         * BufferView.C:
1824         * cursor.[Ch]: some additional asserts
1825
1826         * undo.[Ch]: remove LyXText dependency in interface
1827
1828         * lyxfunc.C: adjust
1829
1830         * lyxtext.h (firstPar, lastPar): remove dead functions
1831
1832         * text.C:
1833         * text2.C:
1834         * text3.C:
1835         * paragraph.[Ch]: adjust
1836
1837 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1838
1839         * lyxfind.C (find): fix argument order in call to ::find
1840
1841 2004-02-02  André Pönitz  <poenitz@gmx.net>
1842
1843         * cursor.[Ch]: remove direct access to anchor
1844
1845         * text.C: remove findText() hack
1846
1847 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1848
1849         * iterators.[Ch] (lockPath): remove in favour of...
1850         * BufferView.[Ch] (setCursor): this addition
1851         * BufferView.C (putSelectionAt): adjust
1852         * undo.C (performUndoOrRedo): adjust
1853         * lyxfunc.C (dispatch): adjust
1854
1855 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1856
1857         * iterators.C (lockPath): add a missing slice
1858         * undo.C (performUndoOrRedo): remove redundant positioning code
1859
1860 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1861
1862         * vc-backend.C (scanMaster): ";" -> ';'
1863
1864 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
1865
1866         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1867         std::binary_function
1868
1869         * lyxtextclass.C (compare_name): rename to...
1870         (LayoutNamesEqual): ...this
1871
1872         * lyxlex_pimpl.C (compare_tags): inherit from
1873         std::binary_function, put back into anon namespace
1874
1875         * lyxfind.C (MatchString): inherig from std::binary_function
1876         (findChange): use empty() istead of !size()
1877
1878         * format.C (FormatNamesEqual): new functor
1879         (getFormat): use it
1880         (getNumber): use it
1881         (add): use it
1882         (erase): use it
1883         (setViewer): use it
1884
1885         * converter.C (compare_Converter): rename to...
1886         (ConverterEqual): ...this, and fixup a bit.
1887         (getConverter): use it, and make function const
1888         (getNumber): use it, and make function const
1889         (add): use it
1890         (erase): use it:
1891
1892         * bufferlist.C: add using boost::bind
1893
1894         * MenuBackend.C (MenuNamesEqual): new functor
1895         (hasMenu): use it, and make function const
1896         (hasSubmenu): use nested bind to get rid of compare_memfun.
1897
1898 2004-01-30  André Pönitz  <poenitz@gmx.net>
1899
1900         * BufferView_pimpl.C:
1901         * cursor.C:
1902         * cursor.h:
1903         * cursor_slice.[Ch]:
1904         * lyxfunc.C:
1905         * lyxtext.h:
1906         * paragraph_funcs.C:
1907         * paragraph_funcs.h:
1908         * rowpainter.C:
1909         * text.C:
1910         * text2.C:
1911         * text3.C: move some of the edit(x,y) handling to the insets
1912         some coordinate changes.
1913
1914 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1915
1916         * text.C: add using statements for std::advance and std::distance
1917
1918         * paragraph.C: add using statement for std::distance
1919
1920         * lyxfind.C: add using statement for std::advance
1921
1922         * cursor.C (region): remove std:: from swap
1923         (openable): use nucleus in stead of operator->
1924
1925         * BufferView.C: add using statements for std::distance and std::swap
1926
1927 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
1928
1929         * iterators.C: Remove the pimple, move the needed structures to
1930         the header file. Create accessor for the positions stack.
1931         (asPosIterator): remove function
1932
1933         * PosIterator.C (PosIterator): move constructors to top of file
1934         (PosIterator): reimplement the constructor taking a ParIterator in
1935         terms of setFrom.
1936         (setFrom): new function
1937         (operator!=): inline it
1938
1939 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1940
1941         * lyxfind.C (replaceAll): use std::advance
1942
1943         * iterators.h: inherit from std::iterator.
1944
1945         * PosIterator.C (advance, distance): remove
1946         * PosIterator.h: interit from std::iterator.
1947
1948 2004-01-26  André Pönitz  <poenitz@gmx.net>
1949
1950         * BufferView.[Ch]:
1951         * BufferView_pimpl.[Ch]:
1952         * InsetList.[Ch]:
1953         * PosIterator.[Ch]:
1954         * buffer.h:
1955         * bufferview_funcs.C:
1956         * cursor.[Ch]:
1957         * cursor_slice.h:
1958         * factory.[Ch]:
1959         * iterators.[Ch]:
1960         * lyxfind.C:
1961         * lyxfunc.C:
1962         * lyxtext.h:
1963         * output_docbook.C:
1964         * output_latex.C:
1965         * output_linuxdoc.C:
1966         * output_plaintext.C:
1967         * paragraph.[Ch]:
1968         * paragraph_funcs.[Ch]:
1969         * paragraph_pimpl.[Ch]:
1970         * rowpainter.C:
1971         * tabular.C:
1972         * tabular.h:
1973         * text.C:
1974         * text2.C:
1975         * text3.C: more IU:  dumps most of the rest of the mathcursor
1976     implementation into cursor.[Ch]; "globalize" a bit of it.
1977
1978 2004-01-25  Angus Leeming  <leeming@lyx.org>
1979
1980         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1981
1982 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1983
1984         * LaTeXFeatures.h: add nice_ and nice() const
1985         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1986
1987 2004-01-20  André Pönitz  <poenitz@gmx.net>
1988
1989         * BufferView.[Ch]:
1990         * BufferView_pimpl.C:
1991         * PosIterator.C:
1992         * bufferview_funcs.C:
1993         * cursor.[Ch]:
1994         * cursor_slice.[Ch]:
1995         * factory.C:
1996         * iterators.C:
1997         * lyx_cb.C:
1998         * lyxfind.C:
1999         * lyxfunc.C:
2000         * lyxtext.h:
2001         * rowpainter.C:
2002         * text.C:
2003         * text2.C:
2004         * text3.C:
2005         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2006           LCursor and mathcursor parts to LCursor and InsetBase.
2007
2008 2004-01-15  André Pönitz  <poenitz@gmx.net>
2009
2010         * cursor_slice.[Ch]: add a few covienience functions
2011
2012         * funcrequest.[Ch]: remove BufferView * member
2013
2014         * BufferView_pimpl.C:
2015         * cursor.C:
2016         * factory.[Ch]:
2017         * lyxfind.[Ch]:
2018         * lyxfunc.C:
2019         * lyxtext.h:
2020         * text3.C:
2021         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2022
2023 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
2024
2025         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2026         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2027
2028 2004-01-13  André Pönitz  <poenitz@gmx.net>
2029
2030         * textcursor.[Ch]:
2031         * lyxtext.h: hide cursor and selection anchor behind accessor function
2032
2033         * BufferView.C:
2034         * BufferView_pimpl.[Ch]:
2035         * PosIterator.C:
2036         * bufferview_funcs.C:
2037         * cursor.h:
2038         * lyxfind.C:
2039         * lyxfunc.C:
2040         * text.C:
2041         * text2.C:
2042         * text3.C:
2043         * undo.C: adjust
2044
2045         * cursor.h:
2046         * cursor_slice.[Ch]: some integer type changes for inset unification
2047
2048         * lyxcursor.[hC]: remove, it's CursorSlice now.
2049
2050         * Makefile.am:
2051         * BufferView_pimpl.[Ch]:
2052         * bufferview_funcs.C:
2053         * cursor_slice.C:
2054         * lyxtext.h:
2055         * text.C:
2056         * text2.C:
2057         * text3.C:
2058         * textcursor.[Ch]: adjust
2059
2060 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
2061
2062         * text2.C (undoSpan): add and use
2063         * text.C (breakParagraph): use undoSpan (fix bug 578)
2064         * lyxtext.h: adjust
2065
2066 2004-01-08  Angus Leeming  <leeming@lyx.org>
2067
2068         * BufferView_pimpl.C (MenuInsertLyXFile):
2069         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2070         * lyxfunc.C (menuNew, open, doImport):
2071         FileFilterList change to the FileDialog open and save functions.
2072
2073 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
2074
2075         * ShareContainer.h: make isEqual and isUnique adaptable
2076
2077         * CutAndPaste.C: make resetOwnerAndChanges adaptable
2078
2079 2004-01-07  Angus Leeming  <leeming@lyx.org>
2080
2081         * LyXAction.C:
2082         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2083
2084         * BufferView_pimpl.C (dispatch): act on these LFUNs.
2085
2086         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2087         functions replacing find, replace and replaceAll.
2088
2089         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2090         LFUN_WORDFIND(FORWARD|BACKWARD).
2091
2092 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2093
2094         * text.C (breakParagraph): remove an outdated #warning
2095
2096 2004-01-07  André Pönitz  <poenitz@gmx.net>
2097
2098         * lyxfind.C: somewhat clearer logic
2099
2100         * text.C: prevent crash in cursorX on unitialized row cache
2101
2102 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2103
2104         * lyxcursor.[Ch] (operator>): add
2105         * textcursor.C (selStart, selEnd): use std::min and std::max
2106
2107 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
2108
2109         * Chktex.C: include boost/format.hpp
2110
2111 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
2112
2113         * InsetList.C: replace functor MathcIt with adaptable functor
2114         InsetTablePosLess
2115         (insetIterator): modify accordingly
2116
2117         * BranchList.h: move the BranchNamesEqual functor here from...
2118         * BranchList.C: ... to here
2119
2120         * BranchList.C: new BranchListEqual fuctor, use it. Remove
2121         SameName and match.
2122         (add): replace a finding loop with std::find_if.
2123
2124 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
2125
2126         * output_docbook.C: moving LatexParam functionality into
2127         .layout files
2128
2129 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2130
2131         * buffer.C: increment format to 229.
2132
2133 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
2134
2135         * LaTeXFeatures.C:
2136         * lyx_sty.[Ch]: remove minipageindent_def
2137
2138         * LyXAction.C:
2139         * factory.C:
2140         * lfuns.h:
2141         * lyxfunc.C:
2142         * text3.C: remove LFUN_INSET_MINIPAGE
2143
2144 2003-12-28  Angus Leeming  <leeming@lyx.org>
2145
2146         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2147
2148 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
2149
2150         * text2.C (setParagraph): fix off-by-one crash
2151
2152 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
2153
2154         * output_docbook.C: header stuff for AGU
2155
2156 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
2157
2158         * text2.C (redoCursor): remove
2159         * text.C:
2160         * text3.C:
2161         * BufferView_pimpl.C: remove calls to redoCursor and
2162         setCursor(cursor.par(), cursor.pos()) all around
2163
2164 2003-12-15  Angus Leeming  <leeming@lyx.org>
2165
2166         * buffer.C: up the format to 228.
2167
2168 2003-12-15  André Pönitz  <poenitz@gmx.net>
2169
2170         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2171         slices
2172
2173         * Makefile.am:
2174
2175         * BufferView_pimpl.C:
2176         * cursor.[Ch]:
2177         * lyxcursor.[Ch]:
2178         * rowpainter.[Ch]:
2179         * lyxtext.h:
2180         * text.C:
2181         * text2.C:
2182         * text3.C: adjust
2183
2184 2003-12-15  Angus Leeming  <leeming@lyx.org>
2185
2186         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2187         than getFromGUIName to manipulate the color.
2188
2189 2003-12-14  Angus Leeming  <leeming@lyx.org>
2190
2191         * BranchList.[Ch]: minimize the API.
2192         (Branch::getBranch, getColor): now return a 'const &'.
2193         (Branch::setSelected) now returns a bool set to true if the
2194         selection status changes.
2195         (BranchList::clear, size, getColor, setColor, setSelected,
2196         allBranches, allSelected, separator): removed.
2197         (BranchList::find): new functions, returning the Branch with
2198         the given name.
2199         (BranchList::add, remove): return a bool indicating that
2200         the operation was successful.
2201
2202         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2203         new InsetBranch::isBranchSlected member function.
2204
2205         * LColor.[Ch]: mimimize the API.
2206         (fill): renamed as addColor and made private.
2207         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2208         versions of these functions taking a string arg have been removed.
2209
2210         * bufferparams.C (readToken):
2211         * lyxfunc.C (dispatch):
2212         * lyxrc.C (read): changes due to the altered BranchList and
2213         LColor APIs.
2214
2215         * factory.C (createInset, readInset): changes due to altered
2216         InsetBranch c-tor.
2217
2218 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2219
2220         * factory.C:
2221         * lyxfunc.C: remove insetminipage. "minipage-insert"
2222         now produces a frameless minipage box inset.
2223
2224 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2225
2226         * textcursor.[Ch] (selStart,selEnd): add new methods
2227         remove selection::start, end, use LyXCursor::operator<
2228         * lyxcursor.[Ch] (operator<): add
2229         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2230         * BufferView.[Ch] (unsetXSel): add
2231         * text2.C (clearSelection): use unsetXSel,adjust
2232         * text.C: adjust
2233         * text3.C: adjust
2234         * rowpainter.C: adjust
2235         * bufferview_funcs.C (put_selection_at): adjust
2236
2237 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2238
2239         * BufferView_pimpl.C: small coord. correction
2240
2241 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2242
2243         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2244         dragging over the splash screen.
2245
2246 2003-12-11  Angus Leeming  <leeming@lyx.org>
2247
2248         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2249         as it is now handled in LyXText::dispatch.
2250
2251         * text3.C (doInsertInset): remove a level of nesting.
2252
2253 2003-12-11  Angus Leeming  <leeming@lyx.org>
2254
2255         * factory.C (createInset): changes due to the changed interface to
2256         InsetCommandMailer::string2params.
2257
2258 2003-12-10  Angus Leeming  <leeming@lyx.org>
2259
2260         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2261         'dialog-show-new-inset <inset name>'
2262
2263 2003-12-10  Angus Leeming  <leeming@lyx.org>
2264
2265         * buffer.C: up the format to 227.
2266
2267         * factory.C: the box inset is now identified simply by 'Box'.
2268
2269 2003-12-10  Angus Leeming  <leeming@lyx.org>
2270
2271         * buffer.C: up the format to 226.
2272
2273         * factory.C: the note inset is now identified simply by 'Note'.
2274
2275 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
2276
2277         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2278         when a pit is enough. Standarize a couple of loops.
2279
2280 2003-12-05  Angus Leeming  <leeming@lyx.org>
2281
2282         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2283         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2284         data to the re-worked "log" dialog.
2285
2286 2003-12-03  André Pönitz  <poenitz@gmx.net>
2287
2288         * PosIterator.C:
2289         * iterators.C:
2290         * lyxtext.h:
2291         * output_latex.C:
2292         * paragraph_funcs.C:
2293         * text.C:
2294         * text2.C: use Inset::getText instead of Inset::getParagraph
2295
2296 2003-12-03  André Pönitz  <poenitz@gmx.net>
2297
2298         * buffer.[Ch]:
2299         * lyxtext.h:
2300         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2301         InsetText::read() as LyXText::read()
2302
2303 2003-12-02  Angus Leeming  <leeming@lyx.org>
2304
2305         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2306         type. Add a comment in the implementation that the function uses
2307         the stream's bad() function rather than fail() as the std::streams
2308         would do.
2309
2310 2003-12-02  André Pönitz  <poenitz@gmx.net>
2311
2312         * lyxlex.[Ch]: make interface more similar to std::stream
2313
2314         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2315
2316 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
2317
2318         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2319
2320 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
2321
2322         * vspace.[Ch]: remove VSpace::NONE
2323
2324 2003-12-01  André Pönitz  <poenitz@gmx.net>
2325
2326         * buffer.[Ch]:
2327         * lyxtext.h: move ParagraphList member to LyXText
2328         rename LyXText::ownerParagraphs to LyXText::paragraph
2329
2330         * CutAndPaste.C:
2331         * bufferview_funcs.C:
2332         * iterators.[Ch]:
2333         * lyx_cb.C:
2334         * paragraph.C:
2335         * rowpainter.C:
2336         * tabular.C:
2337         * text.C:
2338         * text2.C:
2339         * text3.C: adjust
2340
2341         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2342
2343         * undo.C: fix cursor positioning
2344
2345 2003-12-01  John Levon  <levon@movementarian.org>
2346
2347         * BufferView_pimpl.C: fix a crash on exit with
2348         a buffer open
2349
2350 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
2351
2352         * BranchList.C: fix setSelected() method.
2353
2354 2003-11-28  André Pönitz  <poenitz@gmx.net>
2355
2356         * ParagraphParameters.[Ch]:
2357         * ParameterStruct.h: remove space above/below from Paragraph to
2358          InsetVSpace
2359
2360         * BufferView_pimpl.C:
2361         * factory.C:
2362         * lyxfunc.C:
2363         * lyxtext.h:
2364         * output_latex.C:
2365         * paragraph.C:
2366         * paragraph_funcs.C:
2367         * rowpainter.[Ch]:
2368         * text.C:
2369         * text2.C:
2370         * text3.C: adjust
2371
2372 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
2373
2374         * factory.C: Syntax change for CharStyles
2375
2376 2003-11-28  André Pönitz  <poenitz@gmx.net>
2377
2378         * BufferView.[Ch]:
2379         * BufferView.[Ch]:
2380         * buffer.[Ch]:
2381         * buffer.[Ch]: move LyXText member
2382
2383 2003-11-28  André Pönitz  <poenitz@gmx.net>
2384
2385         * BufferView.[Ch]: make LyXText * text a private member
2386
2387         * BufferView_pimpl.C:
2388         * cursor.C:
2389         * iterators.C:
2390         * lyx_cb.C:
2391         * lyxfind.C:
2392         * lyxtext.h:
2393         * rowpainter.[Ch]:
2394         * text.C:
2395         * text2.C:
2396         * undo.C: adjust
2397
2398         * output_plaintext.C: cleanup
2399
2400 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2401
2402         * buffer.C:
2403         * lyxtextclass.[Ch]: parametrize SGML document header
2404
2405 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2406
2407         * converter.[Ch]:
2408         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2409         getFlavor().
2410
2411 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
2412
2413         * text2.C (setFont): rework using PosIterator (no more recursive)
2414         (setCharFont): no more needed
2415         (setLayout): no more selection cursors fiddling (done by redoCursor)
2416         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2417         destroy remaining ones)
2418
2419 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
2420
2421         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2422         * lyxtext.h: ditto
2423         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2424         selection cursors
2425         * lyxfunc.C: adjust
2426         * text3.C: adjust + re-allow multi par depth changes
2427         * textcursor.C: simplify a bit
2428
2429 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
2430
2431         * src/buffer.C:
2432         * src/lyxlayout.C:
2433         * src/lyxlayout.h:
2434         * src/lyxtext.h:
2435         * src/output_docbook.C:
2436         * src/output_latex.C:
2437         * src/paragraph.C:
2438         * src/paragraph.h:
2439         * src/sgml.C:
2440         * src/sgml.h:
2441         * src/text2.C: Introducing a number of tags parametrizing various
2442         XML formats that we may want to support
2443
2444 2003-11-25  André Pönitz  <poenitz@gmx.net>
2445
2446         * InsetList.[Ch] (begein, end): inline as suggested by profiler
2447
2448         * lyxtext.h (leftMargin/rightMargin): simplify interface
2449
2450         * rowpainter.C:
2451         * text.C:
2452         * text2.C:
2453         * text3.C: adjust
2454
2455 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2456
2457         * lyxfunc.C (dispatch): propogate the bibtex databases from the
2458         master file to any child files. Fixes bug 546.
2459
2460 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2461
2462         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2463
2464 2003-11-24  André Pönitz  <poenitz@gmx.net>
2465
2466         * rowpainter.C: simplification
2467
2468         * text2.C (updateCounters): remove call to redoParagraph on
2469         changed labels as this is far too expensive.
2470
2471 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2472
2473         * converter.C (convert): fix a crash: this function gets
2474         called with buffer == 0 from importer code.
2475
2476 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
2477
2478         * text3.C (cursorPrevious): make sure that we do not compare
2479         iterators form different containers.
2480         (cursorNext): ditto
2481
2482         * rowpainter.C (paintSelection): make sure that we do not compare
2483         iterators from different containers.
2484
2485         * text3.C (dispatch): [PRIOR] make sure that we do not compare
2486         iterators from different ParagraphList containers.
2487         [NEXT] ditto
2488
2489         * text2.C (LyXText): change order of initialization slightly
2490         (operator=): new function. copy all variables except cache_par_
2491         (moveUp): make sure that we do not compare iterators from
2492         different ParagraphList constainers.
2493         (moveDown): ditto
2494
2495         * text.C (firstPar): new function
2496         (lastPar): new function
2497         (endPar): new function
2498
2499         * lyxtext.h: move things around and group public functions, public
2500         variables, private functions, private variables
2501
2502 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
2503
2504         * factory.C: change call to InsetERT constructor to avoid
2505         additional invocation of method status
2506         * text2.C (toggleInset): remove redundant update() call
2507         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2508         instead of a Bufferview pointer
2509
2510 2003-11-21  André Pönitz  <poenitz@gmx.net>
2511
2512         * rowpainter.C: simplification
2513
2514 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2515
2516         * text3.C (dispatch): make possible to extend a word/row selection
2517         with the mouse
2518
2519 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2520
2521         * lyxtext.h: x0_,y0_ -> xo_,yo_
2522         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2523         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2524         * rowpainter.C (paintRows): paint full paragraphs
2525
2526 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2527
2528         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2529         screen coordinates)
2530
2531 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2532
2533         * lyxtext.h: add x0_, y0_
2534         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2535         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2536
2537 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
2538
2539         * text2.C (setCursorIntern): move the x_target update here *
2540         * text3.C: change some bv() to true/false in calls to
2541         cursorUp/Down/Right/Left
2542         * cursor.C: use helper function.
2543
2544 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2545
2546         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2547         * paragraph_funcs.[Ch]: correct comment
2548         * rowpainter.C: do not paint selections away from bv->cursor()
2549         Fix a long standing selection painting bug.
2550         * text3.C: generalize mouse-selection code to LyXTexts other that
2551         top one
2552         * textcursor.C: do not use y coords if we can use par offsets
2553
2554 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2555
2556         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2557         cursor position after e.g. inset insert)
2558
2559 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
2560
2561         * lyxfind.C (replace): adjust to locking removal + some
2562         code simplification
2563
2564 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
2565
2566         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2567         of the path
2568
2569 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
2570
2571         * lyxlayout.[Ch]:
2572         * output_docbook.C: XML sanitation: new layout
2573         parameters InnerTag and CommandDepth
2574
2575 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
2576
2577         * BufferView_pimpl.C:
2578         * factory.C:
2579         * text3.C: Fix the insertion and modification of button-style
2580         insets
2581
2582 2003-11-13  André Pönitz  <poenitz@gmx.net>
2583
2584         * InsetList.[Ch]: remove deleteLyXText
2585
2586         * paragraph.[Ch]: cache beginOfBody position
2587
2588         * Bidi.C:
2589         * text.C:
2590         * text2.C:
2591         * text3.C: remove superfluous update() calls
2592
2593         * vspace.C: cleanup
2594
2595 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
2596
2597         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2598         * BufferView.C (fitLockedInsetCursor): remove
2599         * cursor.[Ch] (getDim): add
2600         * text.C (getRowNearY): add faster version
2601         * text3.C: remove some update calls
2602
2603 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
2604
2605         * LaTeXFeatures.C:
2606         * LyXAction.C:
2607         * MenuBackend.C:
2608         * MenuBackend.h:
2609         * dispatchresult.h:
2610         * factory.C:
2611         * lfuns.h:
2612         * lyxfunc.C:
2613         * lyxtextclass.C:
2614         * lyxtextclass.h:
2615         * text3.C: The Character Style /XML short element patch.
2616
2617 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
2618
2619         * text3.C:
2620         * factory.C: Small step to solving 'unable to insert some insets'
2621         problem
2622
2623 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2624
2625         * cursor.[Ch] (updatePos): new function for updating the y
2626         position of the tip inset
2627         * bufferview_funcs.C (put_selection_at):
2628         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2629
2630 2003-11-11  André Pönitz  <poenitz@gmx.net>
2631
2632         * text.C: remove big comment on invalid Paragraph pointers as it is
2633         not valid anymore
2634
2635 2003-11-11  André Pönitz  <poenitz@gmx.net>
2636
2637         * text_funcs.[Ch]: merge with ...
2638
2639         * text.C: ... this
2640
2641         * lyxtext.h:
2642         * text2.C:
2643         * text3.C: adjust
2644
2645         * Makefile.am: remove text_funcs.[Ch]
2646
2647 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
2648
2649         * cursor.C (getPos): return absolute cached y coord
2650
2651         * BufferView_pimpl.C (fitCursor): new simplistic code
2652         (workAreaDispatch): add a fitCursor call
2653
2654 2003-11-10  André Pönitz  <poenitz@gmx.net>
2655
2656         * BufferView.[Ch]:
2657         * BufferView_pimpl.[Ch]: merge update() and updateInset()
2658
2659 2003-11-10  André Pönitz  <poenitz@gmx.net>
2660
2661         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2662         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2663         indicate that the cursor needs to leave an inset
2664
2665         * lyxtext.h: remove inset locking
2666
2667         * cursor.[Ch]: re-implement functionality provided by inset locking
2668
2669         * BufferView.[Ch]:
2670         * BufferView_pimpl.[Ch]:
2671         * LyXAction.C:
2672         * bufferview_funcs.[Ch]:
2673         * factory.C:
2674         * funcrequest.[Ch]:
2675         * iterators.C:
2676         * lyx_cb.C:
2677         * lyxfind.C:
2678         * lyxfunc.C:
2679         * text.C:
2680         * text2.C:
2681         * text3.C:
2682         * undo.C: adjust
2683
2684 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
2685
2686         * PosIterator.[Ch]: replace the stack with a vector, add inset
2687         accesor
2688         * iterators.[C]: adjust
2689
2690 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2691
2692         * lyxfind.C (replaceAll): mark the buffer dirty if something was
2693         replaced
2694         * paragraph_funcs.C (readParToken): put the correct id in the
2695         error item, not the id of the top paragraph
2696
2697 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2698
2699         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2700         * bufferview_funcs.C (put_selection_at): use the above
2701
2702 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2703
2704         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2705
2706 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2707
2708         * output_linuxdoc.h:
2709         * output_plaintext.h:
2710         * output.h:
2711         * output_docbook.h: add #include statements
2712
2713 2003-11-05  José Matos  <jamatos@lyx.org>
2714
2715         * output_docbook.[Ch]:
2716         * output_latex.[Ch]:
2717         * output_linuxdoc.[Ch]:
2718         * output_plaintext.[Ch]: New files for output formats.
2719         * output.[Ch]: New file for helper functions.
2720
2721         * buffer.[Ch]:
2722         * paragraph_funcs.[Ch]: output functions moved to new files.
2723
2724         * outputparams.h: rename of latexrunparams.h
2725
2726         * LaTeX.[Ch]:
2727         * buffer.[Ch]:
2728         * bufferlist.[Ch]:
2729         * converter.[Ch]:
2730         * exporter.C:
2731         * paragraph.[Ch]:
2732         * paragraph_funcs.[Ch]:
2733         * paragraph_pimpl.[Ch]:
2734         * tabular.[Ch]: rename ascii to plaintext
2735         and LatexRunParams to OutputParams.
2736
2737 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2738
2739         * iterators.[Ch] (text): require bv argument
2740         * undo.C (recordUndo):
2741         * lyxfunc.C (dispatch):
2742         * bufferview_funcs.C (put_selection_at): adjust
2743
2744 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
2745
2746         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2747
2748 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2749
2750         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2751         nestings
2752
2753 2003-11-04  André Pönitz  <poenitz@gmx.net>
2754
2755         * cursor.[Ch]: restructure
2756
2757         * BufferView.[Ch]:
2758         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2759
2760         * iterators.[Ch] (asCursor): remove
2761
2762         * lfuns.h: remove LFUN_INSET_EDIT
2763
2764         * lyxfunc.C:
2765         * tabular.C:
2766         * text.C:
2767         * text2.C:
2768         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2769
2770 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2771
2772         * lyxfind.[Ch]: complete overhaul
2773         * BufferView_pimpl.C:
2774         * lyxfunc.C: adjust
2775         * paragraph.[Ch] (insert): add
2776
2777 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2778
2779         * BufferView.[Ch]:
2780         * lyxtext.h:
2781         * text.C: remove dead spellcheck code
2782
2783 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2784
2785         * dispatchresult.h: add a val setter
2786
2787         * cursor.C (dispatch): use a tempvar for data_[i]
2788
2789 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2790
2791         * PosIterator.[Ch]: compile fix
2792
2793 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2794
2795         * text.C (cursorPar): deactivate the cursor cache
2796
2797 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2798
2799         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2800
2801 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2802
2803         * text3.C (dispatch): adjust for new DisptchResult semantics.
2804
2805         * lyxfunc.C (dispatch): handle update when return from
2806         Cursor::dispatch, adjust for new DispatchResult semantics.
2807
2808         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2809         DispatchResult(true) mean to not update. Add class functions for
2810         setting dispatched and update, as well as reading.
2811
2812         * cursor.C (dispatch): don't handle update here
2813
2814 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2815
2816         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2817         * trans_mgr.C: adjust
2818
2819         * paragraph_funcs.C (readParToken): exception safety
2820
2821         * lyxvc.h: store the vcs pointer in a scoped_ptr
2822         * lyxvc.C: adjust
2823
2824         * lyxsocket.C (serverCallback): exception safety
2825
2826         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2827
2828         * ispell.C (clone): make it return a auto_ptr
2829
2830         * factory.C (createInset): exception safety
2831         (readInset): exception safety
2832
2833         * bufferlist.C (newBuffer): exception safety
2834
2835         * Thesaurus.C (Thesaurus): use initialization for aik_
2836
2837         * MenuBackend.C (expandToc): exception safety.
2838
2839 2003-11-03  André Pönitz  <poenitz@gmx.net>
2840
2841         * buffer.C:
2842         * buffer.h:
2843         * bufferview_funcs.C: remove getInsetFromId()
2844
2845         * lyxcursor.[Ch]:
2846         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2847
2848         * lyxfunc.C:
2849         * text2.C:
2850         * text3.C: adjust
2851
2852 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2853
2854         * PosIterator.C (distance, advance): new
2855         * bufferview_funcs.[Ch] (put_selection_at): new
2856         * iterators.[Ch] (lockPath): new
2857
2858 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
2859
2860         * iterators.[Ch] (asPosIterator): added
2861         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2862         * PosIterator.[Ch]: added
2863
2864 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2865
2866         * text3.C:
2867         * lyxfunc.C:
2868         * cursor.C (dispatch):
2869         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2870
2871         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2872         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2873         contructor, add a class function dispatched. Remove operator>=
2874
2875 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2876
2877         * debug.C: only use the default constructor for debugstream
2878         (lyxerr) here.
2879
2880         * main.C (main): include debug.h and setup the lyxerr streambuf
2881         here.
2882
2883 2003-10-31  José Matos  <jamatos@lyx.org>
2884
2885         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2886
2887         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2888         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2889         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2890         * paragraph_pimpl.C (simpleTeXSpecialC):
2891         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2892         add LatexRunParams argument.
2893
2894         * exporter.C (Export): change call accordingly.
2895
2896         * latexrunparams.h: add new member to take care of the other backends.
2897 2003-10-30  José Matos  <jamatos@lyx.org>
2898
2899         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2900         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2901         factorise code for paragraph output.
2902         * buffer.[Ch]:
2903         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2904         move functions.
2905
2906 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2907
2908         * text3.C (dispatch):
2909         * lyxfunc.C (dispatch):
2910         * cursor.C (dispatch):
2911         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2912
2913         * dispatchresult.h: make the dispatch_result_t ctor explicit
2914
2915 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
2916
2917         * sgml.[Ch]:
2918         * buffer.C: small refactoring of docbook stuff
2919
2920 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2921
2922         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2923         meaning.
2924
2925 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2926
2927         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2928         operator dispatch_result_t, and operators for == != and >=
2929
2930         * cursor.C (dispatch): adjust for operator dispatch_result_t
2931         removal. comment out call to update
2932
2933         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2934
2935 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2936
2937         * text3.C:
2938         * text2.C:
2939         * text.C:
2940         * lyxtext.h:
2941         * lyxfunc.C:
2942         * cursor.C:
2943         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2944         (dispatch):
2945
2946         * dispatchresult.h: new file, DispatchResult broken out of
2947         insets/insetbase.h
2948
2949         * Makefile.am (lyx_SOURCES): add dispatchresult.h
2950
2951 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2952
2953         * text.C (rowBreakPoint): put a hack inside #if 0
2954
2955 2003-10-28  André Pönitz  <poenitz@gmx.net>
2956
2957         * lyxtext.h:
2958         * metricsinfo.C:
2959         * paragraph_funcs.C:
2960         * rowpainter.C:
2961         * text.C:
2962         * text2.C: general cleanup (lots of small stuff)
2963
2964 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2965
2966         * text2.C (cursorEnd): simple fix to the "end key goes to one
2967         before the end on last row" bug
2968
2969 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2970
2971         * text.C (backspace): fix the "zombie characters"
2972
2973 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2974
2975         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2976
2977 2003-10-27  André Pönitz  <poenitz@gmx.net>
2978
2979         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2980
2981         * factory.C: handle new InsetPagebreak, InsetLine
2982
2983         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2984         and move handling into new InsetPagebreak, InsetLine
2985
2986         * BufferView_pimpl.C:
2987         * LyXAction.C:
2988         * ParagraphParameters.C:
2989         * ParameterStruct.h:
2990         * lyxfunc.C:
2991         * lyxtext.h:
2992         * paragraph.C:
2993         * paragraph.h:
2994         * paragraph_funcs.C:
2995         * paragraph_pimpl.C:
2996         * rowpainter.C:
2997         * text.C:
2998         * text2.C:
2999         * text3.C: adjust
3000
3001 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3002
3003         * text.C:
3004         * lyxrow_funcs.[Ch]:
3005         * Bidi.C:
3006         * paragraph.C:
3007         * lyxtext.h:
3008         * rowpainter.C:
3009         * text2.C:
3010         * text3.C: remove lastPos uses in favour of Row::endpos
3011
3012 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3013
3014         * undo.C (performUndoOrRedo): fix two crashes by setting a
3015         cursor by hand and reordering some calls. Use bv->lockInset instead
3016         of inset->edit because the latter loses cursor information
3017
3018 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
3019
3020         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3021         by Martin
3022         (rowBreakPoint): fix width. change point to point + 1.
3023         Add a missing check.
3024
3025 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
3026
3027         * MenuBackend.C:
3028         * lyxfunc.C: fix (at least partly) the problems
3029         with the Nav menu and headers inside branch insets
3030         reported by Kayvan
3031
3032 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
3033
3034         * paragraph.C (getChar): add strong asserts
3035
3036         * lyxrow_funcs.C (lastPos): remove hideous hack
3037
3038         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3039         (fill): adjust to that (avoid an infinite loop)
3040
3041 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3042
3043         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3044
3045 2003-10-23  André Pönitz  <poenitz@gmx.net>
3046
3047         * RowList_fwd.h: change list<> to vector<> to gain speed
3048         after suggestion from Alfredo
3049
3050 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3051
3052         * lyxtext.h: move the bidi stuff from here...
3053         * text.C: and here
3054         * text2.C: and here
3055         * Bidi.[Ch]: ... to here
3056
3057 2003-10-23  André Pönitz  <poenitz@gmx.net>
3058
3059         * lyxtext.h:
3060         * text.C (isLastRow, isFirstRow): new functions
3061
3062         * paragraph.h: new width cache member
3063
3064         * rowpainter.C: replace RowList::iterator with Row & where possible
3065
3066         * lyxfunc.C: replace several view()->text with a single call
3067
3068         * toc.C: fix 'unused' warning
3069
3070 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3071
3072         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3073         when woring with stream::pos_type
3074         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3075
3076 2003-10-22  André Pönitz  <poenitz@gmx.net>
3077
3078         * lyxtext.h:
3079         * text.C: use Row & instead of RowList::iterator
3080
3081         * lyxrow.h: rename end() to endpos()
3082
3083         * rowpainter.C:
3084         * text.C:
3085         * text2.C: adjust
3086
3087 2003-10-22  Angus Leeming  <leeming@lyx.org>
3088
3089         * buffer.[Ch] (fully_loaded): new member function, returning true
3090         only when the file has been loaded fully.
3091         Used to prevent the premature generation of previews and by the
3092         citation inset to prevent computation of the natbib-style label.
3093
3094         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3095         templates are all set up.
3096
3097         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3098
3099 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
3100
3101         * text.C: fixed an "oops" in the "is a bit silly"
3102         bug fix
3103
3104 2003-10-21  André Pönitz  <poenitz@gmx.net>
3105
3106         * FuncStatus.[Ch]: small stuff, whitespace
3107
3108         * lyxfont.[Ch]: operator<<() for debug reasons
3109
3110         * lyxfunc.C:
3111         * lyxrow_funcs.C:
3112         * lyxtext.h: whitespace, spelling
3113
3114         * paragraph.C: naming of variables
3115
3116         * text.C:
3117         * text2.C: small stuff
3118
3119
3120 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
3121
3122         * text.C: (1) finish off the inset display() work;
3123         (2) fix the "is a bit silly" bug (accessing char
3124         past end of par).
3125
3126 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
3127
3128         * text.C: re-introduce display() for insets, fixing the
3129         various bugs (stretch of line above, math inset
3130         positioning, ...)
3131
3132 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3133
3134         * text.C (rightMargin): remove spurious semicolon
3135
3136         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3137         1415)
3138
3139 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
3140
3141         * text3.C: fix one crash due to wrong cursor def
3142
3143 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3144
3145         * vc-backend.C (scanMaster): make the regex static
3146
3147         * LaTeX.C (scanAuxFile): make the regexs static
3148
3149         * text3.C (doInsertInset, dispatch, dispatch):
3150         * text2.C (cursorUp, cursorDown):
3151         * text.C (selectNextWordToSpellcheck):
3152         * BufferView_pimpl.C (dispatch):
3153         * lyxfunc.C (dispatch):  localDispatch -> dispatch
3154
3155 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3156
3157         * lyxsocket.C: include <cerrno>
3158
3159 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3160
3161         * lyxfunc.C (dispatch): remove textcache stuff
3162
3163         * bufferlist.C (release): remove textcache stuff
3164         (closeAll): ditto
3165
3166         * TextCache.C: delete file
3167         * TextCache.h: delete file
3168
3169         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3170
3171         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3172         delete of the bv_->text.
3173         (resizeCurrentBuffer): remove texcache stuff
3174         (workAreaResize): ditto
3175
3176 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3177
3178         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3179         action.
3180
3181 2003-10-16  André Pönitz  <poenitz@gmx.net>
3182
3183         * lyxrow.[Ch]:
3184         * paragraph.h:
3185         * rowpainter.C:
3186         * text.C:
3187         * text2.C:
3188         * text3.C: speed up by storing y positions per paragraph plus per-row
3189         offset instead of having a 'full' y position in the row.
3190
3191 2003-10-15  André Pönitz  <poenitz@gmx.net>
3192
3193         * iterators.[Ch]:
3194         * iterators.[Ch]:
3195         * undo.[Ch]: make undo aware of inner insets
3196
3197 2003-10-14  Angus Leeming  <leeming@lyx.org>
3198
3199         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3200         static member functions LyX::ref() and LyX::cref.
3201         (lastfiles): new accessor functions for the new lastfiles_ member var.
3202         (addLyXView, views_): add a new LyXView to the list of views_.
3203         (updateInset): loop over all LyXViews to call their own updateInset
3204         member function, returning a pointer to the Buffer owning the inset.
3205
3206         * BufferView_pimpl.C (loadLyXFile):
3207         * MenuBackend.C (expandLastfiles):
3208         * bufferlist.C (MenuWrite, QuitLyX):
3209         lastfiles is no longer a global variable.
3210         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3211
3212         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3213         static function. Access through LyX::cref().emergencyCleanup().
3214
3215 2003-10-14  André Pönitz  <poenitz@gmx.net>
3216
3217         * iterators.[Ch]: new direct access to innermost LyXText and Inset
3218
3219         * undo.[Ch]: restoring part of 'undo in insets'
3220
3221         * Makefile.am:
3222         * undo_funcs.[Ch]: merge with undo.[Ch]
3223
3224         * tabular.C: small cleansing stuff
3225
3226 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
3227
3228         * paragraph_funcs.C (readParToken): report unknown insets as error
3229         boxes. Use the outer paragraph as location (also for unknown
3230         tokens).
3231
3232         * factory.C (readInset): do not abort on reading an unknown inset.
3233         Eat it and return 0.
3234
3235 2003-10-13  Angus Leeming  <leeming@lyx.org>
3236
3237         * lyx_main.C (LyX): remove call to setDisplayTranslator().
3238
3239         * lyxrc.C: displayTranslator is now a function,
3240         declared in GraphicsTypes.h.
3241
3242 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3243
3244         * format.C: new placeholder $$a to pass the socket address.
3245
3246         * bufferlist.[Ch]: new function getBufferFromTmp.
3247
3248         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3249           files in the temporary dir.
3250
3251 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3252
3253         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3254
3255         * Makefile.am: add lyxsocket.[Ch].
3256
3257         * lyx_main.C (error_handler): handle SIGPIPE.
3258
3259 2003-10-13  André Pönitz  <poenitz@gmx.net>
3260
3261         * BufferView_pimpl.C:
3262         * lyxtext.h:
3263         * text.C:
3264         * text2.C:
3265         * text3.C:
3266         * undo_funcs.[Ch]: use paroffset_type instead of
3267           ParagraphList::iterators to prevent multiple conversion
3268           (and get a more robust interface)
3269
3270 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3271
3272         * lyxfunc.C (dispatch): RESULT -> dispatch_result
3273         * lyxtext.h: ditto
3274         * text3.C (dispatch): ditto
3275
3276 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3277
3278         * LaTeX.C (handleFoundFile): move the static to smaller scope,
3279         move the onlyfile, use onlyfile instead of foundfile in a couple
3280         of places.
3281
3282         * DepTable.C (update): flush the error stream a bit more
3283
3284 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3285
3286         * lyxserver.C (callback): adjust
3287
3288         * lyxfunc.C (getStatus): add a missing brace in commented code
3289         (ensureBufferClean): reindent
3290         (dispatch): delete version taking a string
3291
3292 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3293
3294         * LaTeX.C (deplog): move found file handlig from here...
3295         (handleFoundFile): .. to new function here.
3296         (deplog): make sure to discover several files mentioned on the
3297         same log line.
3298
3299 2003-10-10  André Pönitz  <poenitz@gmx.net>
3300
3301         * lyxfunc.C:
3302         * lyxtext.h:
3303         * tabular.C:
3304         * text.C:
3305         * text2.C:
3306         * text3.C: fix some of the tabular crashes
3307
3308 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3309
3310         * MenuBackend.C (binding): put debug message into Debug::KBMAP
3311
3312         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3313
3314 2003-10-09  André Pönitz  <poenitz@gmx.net>
3315
3316         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3317
3318         * BufferView.C:
3319         * BufferView_pimpl.C:
3320         * bufferview_funcs.C:
3321         * lyx_cb.C:
3322         * lyxcursor.C:
3323         * lyxfind.C:
3324         * lyxfunc.C:
3325         * lyxtext.h:
3326         * text.C:
3327         * text2.C:
3328         * text3.C:
3329         * text_funcs.[Ch]:
3330         * textcursor.[Ch]:
3331         * undo_funcs.C: adjust
3332
3333 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3334
3335         * text2.C (incrementItemDepth): new function, use a backtracking
3336         algorithm to discover the correct item depth.
3337         (resetEnumCounterIfNeeded): new function, use a backtracking
3338         algorithm to discover if counter reset is needed.
3339         (setCounter): use them. Simplify a bit. Add different labels for
3340         different item depths for itemize.
3341
3342         * paragraph.C (Paragraph): remove initialization of enumdepth
3343         (operator=): ditto
3344
3345         * paragraph.h: get rid of enumdepth, and use itemdepth both for
3346         enumerate and itemize. Change the type of itemdepth to signed char.
3347
3348 2003-10-08  André Pönitz  <poenitz@gmx.net>
3349
3350         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3351           thing assignable.
3352         * text.C:
3353         * text2.C: adjust
3354
3355         * tabular.[Ch]: fix crash after 'row-insert'
3356
3357 2003-10-08  Angus Leeming  <leeming@lyx.org>
3358
3359         Fix doxygen warnings.
3360
3361         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3362         Remove CutAndPaste:: prefix from header file declaration.
3363
3364         * LColor.h (fill): remove LColor:: prefix from declaration.
3365
3366         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3367         use lyx::depth_type rather than Paragraph::depth_type so that
3368         header file and .C file match.
3369
3370         * converter.h (intToFormat): remove Converters:: prefix from declaration.
3371
3372         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3373         * aspell.C: \file aspell_local.C -> \file aspell.C
3374         * gettext.C: \file gettext.C -> \file src/gettext.C
3375         * gettext.h: \file gettext.h -> \file src/gettext.h
3376         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3377         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3378         * text.C: \file text.C -> \file src/text.C
3379
3380         * toc.C: move comment so that doxygen is not confused.
3381
3382 2003-10-07  Angus Leeming  <leeming@lyx.org>
3383
3384         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3385
3386 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3387
3388         * aspell.C:
3389         * aspell_local.h: add forgotten std::string's.
3390
3391 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3392
3393         * LaTeXFeatures.C:
3394         * LyXAction.C:
3395         * factory.C:
3396         * lfuns.h:
3397         * lyxfunc.C:
3398         * text3.C: The Box patch. Fancybox support, minipage, parbox
3399
3400 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3401
3402         * CutAndPaste.h:
3403         * DepTable.h:
3404         * FloatList.h:
3405         * LaTeXFeatures.h:
3406         * ParagraphParameters.h:
3407         * TextCache.h:
3408         * Thesaurus.h:
3409         * bufferlist.h:
3410         * exporter.h:
3411         * importer.h:
3412         * lastfiles.h:
3413         * lyxfind.h:
3414         * lyxfont.h:
3415         * lyxlex.h:
3416         * lyxtextclasslist.h:
3417         * messages.h:
3418         * paragraph.h:
3419         * paragraph_pimpl.C:
3420         * textcursor.h: add <string> and other small fixes to make Lars'
3421         std::string patch compile with STLport.
3422
3423 2003-10-06  Angus Leeming  <leeming@lyx.org>
3424
3425         * LColor.h: Add missing #include <string>.
3426
3427 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3428
3429         * All most all file in all subdirs: Make <string> be the prefered
3430         way of getting to std::string, add using declarations.
3431
3432 2003-10-06  André Pönitz  <poenitz@gmx.net>
3433
3434         * metricsinfo.C: initialize LyXFont before changing attribute.
3435         (fixes the 'math in \emph is upright' bug)
3436
3437 2003-10-06  André Pönitz  <poenitz@gmx.net>
3438
3439         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3440
3441 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
3442
3443         * graph.C:
3444         * paragraph_pimpl.C: Small fixes to build using STLport
3445
3446 2003-10-02  André Pönitz  <poenitz@gmx.net>
3447
3448         * lyxfunc.C:
3449         * text3.C: move handling of LFUN_DEPTH *; fix #1360
3450
3451 2003-10-01  André Pönitz  <poenitz@gmx.net>
3452
3453         * factory.C: assert early
3454
3455 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3456
3457         * lyx_main.C: remove the global debug object
3458
3459         * debug.h: adjust for new debugstream
3460
3461         * debug.C: adjust for new debugstream and keep the global debug
3462         object here.
3463
3464 2003-09-22  Angus Leeming  <leeming@lyx.org>
3465
3466         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3467         of g++ which otherwise complain that the scoped_ptr destructor can't delete
3468         an incomplete class LyXFont.
3469
3470 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
3471
3472         * factory.C: bug fix in branches
3473
3474 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3475
3476         * lyxfunc.C (processKeySym): adjust
3477         (dispatch): adjust
3478         (dispatch): change arg name from ev to func, adjust
3479         (sendDispatchMessage): ditto
3480
3481         * lyx_main.C (defaultKeyBindings): adjust keybindings
3482         (deadKeyBindings): ditto
3483
3484         * kbsequence.C (addkey): return a FuncRequest
3485
3486         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3487
3488         * kbmap.C (bind): take a FuncRequest as arg, adjust
3489         (read): adjust
3490         (lookup): adjust
3491         (defkey): change to take a FuncRequest as arg, adjust
3492         (findbinding): take a FuncRequest as arg, adjust.
3493
3494         * funcrequest.h (operator=): added
3495
3496         * funcrequest.C (FuncRequest): default kb_action changed from
3497         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3498
3499         * buffer.C (dispatch): simplify
3500         (dispatch): adjust to take a FuncRequest as arg, adjust
3501
3502         * boost.C (assertion_failed): change assertion message slightly
3503
3504         * ToolbarBackend.C (read): simplify
3505
3506         * MenuBackend.C (binding): adjust call to findbinding, add a
3507         message if no binding is found.
3508         (read): simplify
3509         (expandToc): correct by adding a empty FuncRequest
3510
3511         * LyXAction.C: include <boost/assert.hpp>
3512         (isPseudoAction): delete function
3513         (LookupFunc): change name to...
3514         (lookupFunc): this. change return type to FuncRequest.
3515         (getActionName): take kb_action as arg, simplify
3516         (funcHasFlag): add an assert, simplify.
3517
3518 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3519
3520         * toc.C (action): return a FuncRequest, simplify
3521
3522         * lyxfunc.C (processKeySym): adjust
3523         (getStatus): delete version that takes an int.
3524         (getStatus): adjust
3525         (dispatch): delete version that takes action as int
3526         (dispatch): adjust
3527         (sendDispatchMessage): simplify and adjust
3528
3529         * funcrequest.C (getArg): take unsigned int as arg
3530
3531         * ToolbarBackend.C (read): adjust
3532         (add): delete version that takes func as a string.
3533         (getIton): take a FuncRequest as arg
3534
3535         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3536         action.
3537
3538         * MenuBackend.C (MenuItem): add a new construct that only takes a
3539         Kind, simplify the constructor use for submenus.
3540         (add): adjust
3541         (expandLastfiles): adjust
3542         (expandDocuments): adjust
3543         (expandFormats): adjust
3544         (expandFloatListInsert): adjust
3545         (expandFloatInsert): adjust
3546         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3547
3548         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3549         Remove class variables lyx_pseudo_map and lyx_arg_map
3550
3551         * LyXAction.C (searchActionArg): delete function
3552         (getPseudoAction): delete function
3553         (retrieveActionArg): delete function
3554         (LookupFunc): make it return kb_action, simplify.
3555         (getActionName): simplify
3556
3557         * factory.C (createInset): fix new bug
3558
3559 2003-09-19  Angus Leeming  <leeming@lyx.org>
3560
3561         * CutAndPaste.C (pasteSelection): remove fudge used to set the
3562         masterFilename_ parameter in the include inset.
3563
3564         * factory.C (createInset): changes due to the changes to InsetInclude.
3565
3566 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3567
3568         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3569
3570 2003-09-18  Angus Leeming  <leeming@lyx.org>
3571
3572         * buffer.C:
3573         * BufferView.C: pass the buffer when calling Inset::getLabelList,
3574         Inset::fillWithBibKeys.
3575         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3576
3577 2003-09-18  Angus Leeming  <leeming@lyx.org>
3578
3579         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3580         variables.
3581         (ctor): pass and store a 'Buffer const &'
3582         (buffer): new member function.
3583
3584         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3585         '*this' to the LaTeXFeatures ctor.
3586
3587 2003-09-18  Angus Leeming  <leeming@lyx.org>
3588
3589         * LColor.h:
3590         * lyxfont.C:
3591         * lyxfont.h:
3592         * lyxtext.h:
3593         * text.C: rename EnumLColor as LColor_color.
3594
3595 2003-09-18  Angus Leeming  <leeming@lyx.org>
3596
3597         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3598         remove #include "insets/insetbase.h" from cursor.h.
3599
3600 2003-09-18  Angus Leeming  <leeming@lyx.org>
3601
3602         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3603         InsetOld_code to remove #include "inset.h".
3604
3605         * iterators.C: add #include "insets/inset.h"
3606
3607 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
3608
3609         * BufferView.C: remove more locking stuff that apparently doesn't
3610         do anything sensible.
3611
3612 2003-09-16  André Pönitz  <poenitz@gmx.net>
3613
3614         * paragraph.[Ch]:
3615         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3616           performance boost.
3617
3618 2003-09-16  Angus Leeming  <leeming@lyx.org>
3619
3620         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3621
3622         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3623         arg/return type.
3624
3625         * paragraph.h: remove #include "lyxfont.h". Forward declare
3626         LyXFont_size.
3627
3628 2003-09-16  Angus Leeming  <leeming@lyx.org>
3629
3630         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3631         of support/textutils.h.
3632         (isWord): move the contents of support/textutils.h's IsWordChar here.
3633
3634         * buffer.C:
3635         * lyxfind.C:
3636         * rowpainter.C:
3637         * text.C:
3638         * text2.C: add #include "paragraph.h".
3639
3640         * rowpainter.C:
3641         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3642
3643 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3644
3645         * main.C:
3646         * lyx_main.C:
3647         * lyx_cb.C:
3648         * buffer.C:
3649         * LaTeX.C: use namespace alias for lyx::support::os
3650
3651 2003-09-16  Angus Leeming  <leeming@lyx.org>
3652
3653         * bufferparams.C:
3654         * bufferview_funcs.C:
3655         * factory.C:
3656         * lyxfunc.C:
3657         * paragraph_pimpl.C:
3658         * rowpainter.C:
3659         * text.C: add #include "LColor.h".
3660
3661 2003-09-16  Angus Leeming  <leeming@lyx.org>
3662
3663         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3664         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3665         return LyXFont &.
3666         Store the FontBits::color variable as an int rather than as an
3667         LColor::colorso that we can move LColor.h out of the lyxfont.h header
3668         file.
3669
3670         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3671         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3672         string calls together.
3673
3674         * lyxrc.C: add #include "LColor.h".
3675
3676 2003-09-15  Angus Leeming  <leeming@lyx.org>
3677
3678         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3679         a cow_ptr.
3680
3681 2003-09-15  Angus Leeming  <leeming@lyx.org>
3682
3683         * LColor.h: add an EnumLColor wrapper for LColor::color.
3684
3685         * lyxfont.[Ch] (color, setColor, realColor):
3686         * lyxtext.h, text.C (backgroundColor):
3687         pass EnumLColor args to/from the functions, rather than LColor::color
3688         ones.
3689
3690         * lyxfont.h:
3691         * lyxtext.h: forward declare EnumLColor.
3692
3693         * lyx_main.C: add #include "LColor.h".
3694
3695 2003-09-15  Angus Leeming  <leeming@lyx.org>
3696
3697         * .cvsignore: add lyx-gtk.
3698
3699 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3700
3701         * Chktex.C
3702         * LaTeX.C
3703         * LaTeXFeatures.C
3704         * ParagraphParameters.C
3705         * Spacing.C
3706         * buffer.C
3707         * bufferparams.C
3708         * bufferview_funcs.C
3709         * chset.C
3710         * counters.C
3711         * funcrequest.C
3712         * lyxfont.C
3713         * lyxgluelength.C
3714         * lyxlength.C
3715         * paragraph.C
3716         * paragraph_funcs.C
3717         * text3.C
3718         * vc-backend.C: remove usage of STRCONV
3719
3720 2003-09-15  Angus Leeming  <leeming@lyx.org>
3721
3722         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3723         explicitly define the color passed to the painter.
3724
3725 2003-09-15  Angus Leeming  <leeming@lyx.org>
3726
3727         * bufferparams.C (BufferParams): reorder member initializers to avoid
3728         compiler warning.
3729
3730 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
3731
3732         * CutAndPaste.C (pasteSelection): remove an outdated #warning
3733         * text.C (updateRowPositions): remove an unusual nop
3734
3735 2003-09-12  André Pönitz  <poenitz@gmx.net>
3736
3737         * BufferView_pimpl.C:
3738         * Bullet.C:
3739         * layout.h:
3740         * lyxfunc.C:
3741         * lyxlayout.[Ch]:
3742         * lyxtextclass.C:
3743         * rowpainter.C:
3744         * text.C:
3745         * text2.C:
3746         * Counters.[Ch]: finish the 'automatic counters' job
3747
3748 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3749
3750         * aspell.C: include <boost/assert.cpp> (compile fix)
3751
3752 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
3753
3754         * boost.C (assertion_failed): use lyx::support::abort instead of
3755         assert.
3756
3757 2003-09-10  Angus Leeming  <leeming@lyx.org>
3758
3759         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3760         with their _fwd progeny.
3761
3762 2003-09-09  Angus Leeming  <leeming@lyx.org>
3763
3764         134 files throughtout the source tree: replace 'using namespace abc;'
3765         directives with the appropriate 'using abc::xyz;' declarations.
3766
3767 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3768
3769         * boost.C (emergencyCleanup): moved here from LAssert.c
3770         (assertion_failed): new function, called by BOOST_ASSERT
3771
3772         * several files: change Assert to BOOST_ASSERT
3773
3774 2003-09-09  Angus Leeming  <leeming@lyx.org>
3775
3776         * buffer.[Ch]: Add an Impl class and move Buffer's member
3777         variables into it. As a result move several header files out of
3778         buffer.h.
3779
3780         Add header files to lots of .C files all over the tree as a result.
3781
3782 2003-09-09  Angus Leeming  <leeming@lyx.org>
3783
3784         * buffer.[Ch]: make Buffer's member variables private. Add
3785         accessor functions.
3786
3787         Lots of changes all over the tree as a result.
3788
3789 2003-09-08  Angus Leeming  <leeming@lyx.org>
3790
3791         * graph.C: #include <config.h>.
3792
3793 2003-09-08  Angus Leeming  <leeming@lyx.org>
3794
3795         * BranchList.C:
3796         * BufferView.C:
3797         * BufferView_pimpl.C:
3798         * CutAndPaste.C:
3799         * DepTable.C:
3800         * LaTeX.C:
3801         * LaTeXFeatures.C:
3802         * LyXAction.C:
3803         * MenuBackend.C:
3804         * TextCache.C:
3805         * aspell.C:
3806         * buffer.C:
3807         * bufferlist.C:
3808         * changes.C:
3809         * chset.C:
3810         * converter.C:
3811         * counters.C:
3812         * debug.C:
3813         * graph.C:
3814         * ispell.C:
3815         * lyx_cb.C:
3816         * lyxfind.C:
3817         * lyxfunc.C:
3818         * lyxlex_pimpl.C:
3819         * lyxrc.C:
3820         * lyxrow.C:
3821         * paragraph.C:
3822         * rowpainter.C:
3823         * texrow.C:
3824         * text.C:
3825         * text2.C:
3826         * toc.C: remove redundant using directives.
3827
3828 2003-09-07  Angus Leeming  <leeming@lyx.org>
3829
3830         * LaTeXFeatures.h: remove #include "support/types.h".
3831         * ToolbarBackend.h: remove #include <algorithm>.
3832         * changes.h: remove #include <ctime>.
3833         * debug.h: remove #include <iosfwd>.
3834         * graph.h: remove #include "support/std_string.h".
3835         * lyx_main.h: remove #include <csignal>.
3836         * lyxlex_pimpl.h: remove #include <fstream>.
3837         * sgml.h: remove #include <algorithm>, <utility>.
3838         * toc.h: remove #include "support/std_ostream.h".
3839         Add #include <iosfwd>.
3840
3841 2003-09-07  Angus Leeming  <leeming@lyx.org>
3842
3843         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3844
3845         * converter.h: forward declare LatexRunParams.
3846         * encoding.h: remove #include "lyxrc.h".
3847         * lyxtext.h: remove #include "LColor.h".
3848         * lyxtextclass.h: remove #include "support/types.h".
3849         * trans.h: remove #include "tex-accent.h".
3850         * trans_mgr.h: remove #include "tex-accent.h".
3851         * insets/inset.h: remove #include "support/types.h", <vector>.
3852         * insets/insetcollapsable.h: remove #include "LColor.h".
3853         * insets/insetinclude.h: remove #include "dimension.h".
3854         * insets/insetlatexaccent.h: remove #include "dimension.h".
3855         * insets/insetoptarg.h:: remove #include "insettext.h".
3856         * insets/insettext.h: remove #include "dimension.h",
3857         <boost/shared_ptr.hpp>
3858
3859         * insets/renderers.h: add #include "dimension.h".
3860         * insets/updatableinset.h: add #include "support/types.h".
3861
3862         * many .C files: Associated changes.
3863
3864 2003-09-06  Angus Leeming  <leeming@lyx.org>
3865
3866         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3867         one, inside testInvariant.
3868
3869         * PrinterParams.C: new file.
3870         * PrinterParams.[Ch]: move the function bodies out of line.
3871
3872 2003-09-06  Angus Leeming  <leeming@lyx.org>
3873
3874         * ParagraphParameters.h: forward declare ParameterStruct rather than
3875         including its header file.
3876         (depth): moved out-of-line.
3877
3878 2003-09-06  Angus Leeming  <leeming@lyx.org>
3879
3880         * BufferView_pimpl.h:
3881         * kbmap.h:
3882         * kbsequence.h:
3883         * lyxfunc.h: forward declare LyXKeySym rather than
3884         #include "frontends/LyXKeySym.h".
3885
3886         * BufferView_pimpl.C:
3887         * kbmap.C:
3888         * kbsequence.C:
3889         * lyxfunc.C: associated changes.
3890
3891 2003-09-06  Angus Leeming  <leeming@lyx.org>
3892
3893         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3894         As a result, can remove the #include "insets/inset.h" from BufferView.h
3895
3896 2003-09-06  Angus Leeming  <leeming@lyx.org>
3897
3898         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3899         As a result, can remove the #include "insets/inset.h" from BufferView.h
3900
3901 2003-09-06  Angus Leeming  <leeming@lyx.org>
3902
3903         * buffer_funcs.C:
3904         * buffer.h:
3905         * bufferlist.C:
3906         * BufferView.C:
3907         * bufferview_funcs.C:
3908         * BufferView_pimpl.C:
3909         * CutAndPaste.C:
3910         * lyx_cb.C:
3911         * lyxfunc.C:
3912         * paragraph.h:
3913         * ParagraphParameters.C:
3914         * tabular.C:
3915         * text3.C:
3916         * toc.C:
3917         * undo_funcs.C:
3918         * frontends/controllers/ControlDocument.C:
3919         * insets/insetcaption.C: rearrange the #includes into some sort of
3920         coherent order.
3921
3922         * buffer.h: remove #includes ErrorList.h, undo.h
3923
3924 2003-09-06  Angus Leeming  <leeming@lyx.org>
3925
3926         * support/types.h: add a 'depth_type' typedef, used to store the
3927         nesting depth of a paragraph.
3928
3929         * paragraph.h:
3930         * ParameterStruct.h: use this lyx::depth_type typedef rather than
3931         defining explicitly.
3932
3933         * buffer.h:
3934         * paragraph_funcs.h:
3935         * ParagraphParameters.h:
3936         * sgml.h: use lyx::depth_type rather than Paragraph or
3937         ParameterStruct's depth_type.
3938
3939         * buffer.h
3940         * paragraph_funcs.h: no need to #include paragraph.h anymore.
3941
3942         * BufferView.C:
3943         * BufferView_pimpl.C:
3944         * CutAndPaste.C:
3945         * ParagraphParameters.C:
3946         * buffer_funcs.C:
3947         * bufferlist.C:
3948         * bufferview_funcs.C:
3949         * lyx_cb.C:
3950         * lyxfunc.C:
3951         * tabular.C:
3952         * text3.C:
3953         * toc.C:
3954         * undo_funcs.C:
3955         * frontends/LyXView.C:
3956         * frontends/controllers/ControlDocument.C:
3957         * frontends/controllers/ControlErrorList.C:
3958         * insets/insetbibitem.C:
3959         * insets/insetbranch.C:
3960         * insets/insetcaption.C:
3961         * insets/insetcollapsable.C:
3962         * insets/insetenv.C:
3963         * insets/insetert.C:
3964         * insets/insetfloat.C:
3965         * insets/insetfoot.C:
3966         * insets/insetfootlike.C:
3967         * insets/insetnewline.C:
3968         * insets/insetquotes.C:
3969         * insets/insettabular.C:
3970         * insets/insettext.C:
3971         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3972
3973         * frontends/controllers/ControlChanges.C: #include "changes.h".
3974
3975 2003-09-06  Angus Leeming  <leeming@lyx.org>
3976
3977         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3978         than #including paragraph.h.
3979
3980         * ParagraphList.h:
3981         * RowList.h: deleted. Superfluous.
3982
3983         * CutAndPaste.h:
3984         * iterators.h:
3985         * lyxcursor.h:
3986         * lyxtext.h:
3987         * text_funcs.h:
3988         * undo.h:
3989         * undo_funcs.h:
3990         * insets/inset.h:
3991         * insets/insettext.h: use ParagraphList_fwd.h rather than
3992         ParagraphList.h.
3993
3994         * paragraph.h: don't forward declare ParagraphList.
3995
3996         * buffer.h:
3997         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3998         rather than ParagraphList.h. paragraph.h is still needed for the
3999         Paragraph::depth_type parameters.
4000
4001         * textcursor.h: enable it to compile stand-alone in light of the
4002         above changes.
4003
4004         * bufferview_funcs.C:
4005         * iterators.C:
4006         * lyxfunc.C:
4007         * lyxrow_funcs.C:
4008         * paragraph.C:
4009         * rowpainter.C:
4010         * text.C:
4011         * text2.C:
4012         * text3.C:
4013         * text_funcs.C:
4014         * textcursor.C:
4015         * undo.C:
4016         * frontends/controllers/ControlParagraph.C:
4017         * frontends/controllers/ControlTabular.C:
4018         * insets/insetmarginal.C:
4019         * insets/insetminipage.C:
4020         * insets/insetnote.C:
4021         * insets/insetoptarg.C: add header files needed to compile again.
4022
4023 2003-09-06  Angus Leeming  <leeming@lyx.org>
4024
4025         * RowList_fwd.h: new file, forward-declaring Row rather than
4026         #including lyxrow.h.
4027
4028         * lyxrow_funcs.h:
4029         * lyxtext.h:
4030         * paragraph.h:
4031         * insets/insettext.h: use it instead of RowList.h
4032
4033         * bufferview_funcs.C:
4034         * lyxfunc.C:
4035         * lyxrow_funcs.C:
4036         * paragraph.C:
4037         * rowpainter.C:
4038         * text.C:
4039         * text2.C:
4040         * text3.C: #include "RowList.h".
4041
4042 2003-09-05  Angus Leeming  <leeming@lyx.org>
4043
4044         * factory.C (createInset):
4045         * vspace.C (c-tor): replace sscanf call with an istringstream.
4046         * ispell.C: re-add missing HP/UX headers.
4047         * lyxserver.C: re-add missing  os2 headers.
4048
4049 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
4050
4051         * BranchList.C:
4052         * graph.C:
4053         * ispell.C:
4054         * lastfiles.C:
4055         * lyx_cb.C:
4056         * lyxserver.C:
4057         * texrow.C:
4058         * text3.C: re-add missing system headers, needed for 2.95.2.
4059
4060 2003-09-05  Angus Leeming  <leeming@lyx.org>
4061
4062         Changes most place everywhere due to the removal of using directives
4063         from support/std_sstream.h.
4064
4065 2003-09-05  Angus Leeming  <leeming@lyx.org>
4066
4067         Replace LString.h with support/std_string.h,
4068         Lsstream.h with support/std_sstream.h,
4069         support/LIstream.h with support/std_istream.h,
4070         support/LOstream.h with support/std_ostream.h.
4071
4072         Changes resulting throughout the tree.
4073
4074 2003-09-05  Angus Leeming  <leeming@lyx.org>
4075
4076         * sgml.h: ensure that the header file can be compiled stand-alone.
4077         * *.C: strip out redundant #includes. (320 in total.)
4078
4079 2003-09-04  Angus Leeming  <leeming@lyx.org>
4080
4081         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4082         here (from getPackages).
4083
4084         * debug.[Ch]: add a new EXTERNAL tag.
4085
4086 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4087
4088         * text2.C (cursorEnd): simplify
4089         (setCursor): adjust
4090         (getColumnNearX): adjust
4091
4092         * text.C (computeBidiTables): adjust
4093         (fill): adjust
4094
4095         * rowpainter.C (paintChars): adjust
4096         (paintSelection): adjust
4097         (paintChangeBar): adjust
4098         (paintText): adjust
4099
4100         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4101         lastPos instead.
4102         (numberOfSeparators): adjust
4103
4104 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4105
4106         * LyXAction.C:
4107         * box.[Ch]:
4108         * lfuns.h:
4109         * lyxfunc.C:
4110         * text3.C: Restricts the mouse click functionality
4111         of insets like bibtex, include, toc and floatlist to the visible
4112         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4113         up the dialogs. Cursor has to be in front of the inset (i.e.
4114         start of row) for this to function.
4115
4116 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4117
4118         * bufferview_funcs.C (currentState): output row information
4119
4120 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4121
4122         * bufferview_funcs.C (currentState): output paragraph position
4123
4124 2003-09-04  Angus Leeming  <leeming@lyx.org>
4125
4126         * FloatList.h: move out #include "Floating.h".
4127         * LaTeX.h: move out #include "DepTable.h".
4128         * LyXAction.h: move out #include "funcrequest.h".
4129         * buffer.h: move out #include "author.h", "iterators.h".
4130         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4131         * lyx_main.h: move out #include "errorlist.h".
4132         * lyxfunc.h: move out #include "FuncStatus.h".
4133         * lyxtext: move out #include "lyxcursor.h".
4134         * paragraph_pimpl.h: move out #include "counters.h".
4135
4136 2003-09-03  Angus Leeming  <leeming@lyx.org>
4137
4138         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4139         preamble_snippets list, enabling us to add snippets to the preamble
4140         only if the snippet was not there already.
4141
4142 2003-09-04  Angus Leeming  <leeming@lyx.org>
4143
4144         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4145
4146 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4147
4148         * lyxfunc.C (dispatch): if fitCursor did something be sure to
4149         update
4150
4151 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4152
4153         * BranchList.C: point fix, earlier forgotten
4154
4155 2003-09-02  Angus Leeming  <leeming@lyx.org>
4156
4157         * box.C (contains): renamed from 'contained' after a fantastic
4158         amount of hot air.
4159
4160 2003-09-02  John Levon  <levon@movementarian.org>
4161
4162         * BufferView.C:
4163         * lyxcursor.h:
4164         * lyxcursor.C:
4165         * lyxfunc.C:
4166         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4167
4168 2003-09-02  John Levon  <levon@movementarian.org>
4169
4170         * text2.C: simplification of cursorEnd(), including partial
4171         fix for bug 1376
4172
4173 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4174
4175         * buffer.C (readFile): add a space
4176
4177 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
4178
4179         * BufferView_pimpl.C (update): remove bogus fitCursor() call
4180
4181 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4182
4183         * buffer.C (readFile): new function, take a filename and a
4184         ParagraphList::iterator
4185         (readFile): adjust
4186         (readFile): adjust, make it private. don't use setStream, make
4187         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4188         always contain the filename.
4189
4190         * BufferView.C (insertLyXFile): simplify and make it work for
4191         gzipped files.
4192
4193 2003-08-30  John Levon  <levon@movementarian.org>
4194
4195         * Makefile.am: fix dist (from Kayvan)
4196
4197 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4198
4199         * most files: change to use const Buffer refs
4200
4201 2003-08-27  André Pönitz  <poenitz@gmx.net>
4202
4203         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4204         on top of ownerPar().
4205
4206 2003-08-27  John Levon  <levon@movementarian.org>
4207
4208         * funcrequest.C: properly initialise POD members
4209
4210 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4211
4212         * lyxtext.h (top_y): move top_y from here
4213         * text.C:
4214         * text2.C:
4215         * text3.C:
4216         * BufferView.[Ch]:
4217         * BufferView_pimpl.[Ch]: to here
4218         * frontends/screen.C:
4219         * insets/insettabular.C:
4220         * insets/insettext.C: adjust
4221         * rowpainter.[Ch] (paintRows): remove LyXText & argument
4222
4223 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4224
4225         * BufferView.[Ch]:
4226         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4227
4228 2003-08-26  André Pönitz  <poenitz@gmx.net>
4229
4230         * paragraph_func.[Ch] (outerPar): new function
4231
4232         * paragraph.C:
4233         * paragraph_funcs.C:
4234         * paragraph_funcs.h:
4235         * paragraph_pimpl.C:
4236         * text2.C: remove Inset::par_owner
4237
4238 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
4239
4240         * lyxrow_funcs.C:
4241         * lyxtext.h:
4242         * text.C:
4243         * text2.C: eliminates the needFullRow/display() stuff
4244         altogether, putting the logic in metrics/draw in the insets.
4245
4246 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
4247
4248         * text2.C (redoParagraphInternal, redoParagraphs):
4249         * text.C (redoParagraph): add a call to updateRowPositions at the
4250         end of each 'metrics-like' call. Remove all others.
4251         (getRow): remove the 'y-computing' version.
4252         (getRowNearY): do not compute nor return the real y. Solve the
4253         'y < 0' problem and simplify.
4254
4255 2003-08-22  Angus Leeming  <leeming@lyx.org>
4256
4257         * *.[Ch]: clean-up of licence and author blurbs.
4258         Also move config.h out of a few .h files and into a few .C files.
4259
4260 2003-08-22  André Pönitz  <poenitz@gmx.net>
4261
4262         * lyxrow.[Ch]: add x_ and *fill_ members
4263
4264         * lyxtext.h:
4265         * text.C:
4266         * rowpainter.C:
4267         * text2.C: adjust/remove prepareToPrint() calls
4268
4269 2003-08-22  André Pönitz  <poenitz@gmx.net>
4270
4271         * lyxrow.[Ch]: add  end_ member
4272
4273         * lyxrow_funcs.C: use LyXRow::end_
4274
4275         * lyxtext.h (singleWidth): add LyXFont parameter
4276
4277         * rowpainter.C:
4278         * text2.C: adjust LyXText::singleWidth() calls
4279
4280         * text.C (redoParagraph): simplify row breaking logic
4281
4282
4283 2003-08-19  André Pönitz  <poenitz@gmx.net>
4284
4285         * funcrequest.C: initialize button_ member
4286
4287         * text3.C:
4288         * rowpainter.[Ch]: interface consolidation
4289
4290 2003-08-18  André Pönitz  <poenitz@gmx.net>
4291
4292         * BufferView.C:
4293         * BufferView_pimpl.C:
4294         * lyxfind.C:
4295         * paragraph_funcs.C:
4296         * rowpainter.C:
4297         * text3.C: remove LyXScreen::draw() and fitCursor calls
4298
4299         * BranchList.h: remove spurious semicolons
4300
4301         * MenuBackend.C: fix branchlist related crash
4302
4303 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
4304
4305         * BranchList.[Ch]:
4306         * InsetList.[Ch]:
4307         * LColor.[Ch]:
4308         * LyXAction.C:
4309         * Makefile.am:
4310         * MenuBackend.[Ch]:
4311         * bufferparams.[Ch]:
4312         * factory.C:
4313         * lfuns.h:
4314         * lyxfunc.C:
4315         * text3.C: implements the 'branch inset'
4316         idea. This allows the output of various versions of a document
4317         from a single source version, selectively outputing or suppressing
4318         output of parts of the text.
4319         This implementation contains a 'branch list editor' in a separate
4320         tab of the document settings dialog. Branches are user definable
4321         and have a "display colour" to distinguish them on-screen.
4322
4323         ColorHandler was somewhat cleaned up.
4324         (1) make possible a dynamically growing LColor list by allowing
4325         the graphic context cache to grow along (vector);
4326         (2) eliminate an IMHO unnecessary step in colour allocation.
4327
4328 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
4329
4330         * BufferView_pimpl.C: compile fix
4331
4332 2003-08-15  André Pönitz  <poenitz@gmx.net>
4333
4334         * rowpainter.C: remove extra metrics calls
4335
4336         * lyxtext.h: merge the two constructors into a single one,
4337           pass reference to owner's par list
4338
4339         * BufferView_pimpl.C:
4340         * text.C:
4341         * text2.C: adjust
4342
4343 2003-08-15  André Pönitz  <poenitz@gmx.net>
4344
4345         * lyxrow_funcs.[Ch]:
4346         * lyxtext.h:
4347         * paragraph.h:
4348         * paragraph_funcs.C:
4349         * rowpainter.C:
4350         * text.C:
4351         * text2.C:
4352         * text3.C:
4353         * text_funcs.C: split LyXText::rowlist_ into individual
4354         Paragraph::rows_ chunks
4355
4356         * BufferView.[Ch]:
4357         * BufferView_pimpl.[Ch]:
4358         * lyxfind.C:
4359         * lyxtext.h:
4360         * text3.C: remove toggleSelection()
4361
4362 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
4363
4364         * bufferlist.C: beautify two alerts (shorter text of buttons)
4365         * buffer.C: Remove redundant ' ' from message
4366         * tabular.h:
4367         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4368         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4369         rename VALIGN_CENTER to VALIGN_MIDDLE
4370
4371 2003-08-11  André Pönitz  <poenitz@gmx.net>
4372
4373         * lyxtext.h (getPar):
4374         * text.C: new function
4375
4376 2003-08-11  André Pönitz  <poenitz@gmx.net>
4377
4378         * Makefile.am:
4379         * tracer.[Ch]: remove unneeded files
4380
4381         * InsetList.[Ch]: remove resizeInsetsLyXText()
4382
4383         * lyxtext.h:
4384         * text.C:
4385         * text2.C:
4386         * text3.C: merge insertParagraphs() and appendParagraph()
4387         remove breakAgain(), update()
4388
4389         * BufferView_pimpl.[Ch]:
4390         * bufferview_funcs.[Ch]:
4391         * lyxfunc.C:
4392         * paragraph.[Ch]:
4393         * rowpainter.C:
4394         * tabular.C: adjust after text & InsetList changes.
4395
4396 2003-08-08  André Pönitz  <poenitz@gmx.net>
4397
4398         * text.C (insertChar, backspace): replace rowlist fiddling
4399         with rebreak of full par
4400
4401         * lyxtext.h:
4402         * text.C (breakAgainOneRow, redoHeightOfParagraph,
4403         checkParagraph, updateInset): removed
4404
4405 2003-08-07  André Pönitz  <poenitz@gmx.net>
4406
4407         * paragraph.C:
4408         * text3.C: merge some LFUN handlers, remove dead code
4409
4410 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4411
4412         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4413
4414 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
4415
4416         * text2.C (DEPM): fix part of bug 1255 and 1256
4417
4418 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4419
4420         * BufferView_pimpl.C (workAreaDispatch): change to use
4421         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4422         that are no mouse related.
4423
4424 2003-08-05  André Pönitz  <poenitz@gmx.net>
4425
4426         * BufferView.[Ch]:
4427         * BufferView_pimpl.[Ch]:
4428         * bufferview_funcs.C:
4429         * text2.C:
4430         * text3.C: rip out "deep update"
4431
4432         * textcursor.[Ch] (last_sel_cursor): remove unused member
4433
4434 2003-08-04  André Pönitz  <poenitz@gmx.net>
4435
4436         * BufferView.[Ch]:
4437         * BufferView_pimpl.[Ch]:
4438         * ParagraphParameters.C:
4439         * bufferview_funcs.C:
4440         * lyx_cb.C:
4441         * lyxfind.C:
4442         * lyxfunc.C:
4443         * text.C:
4444         * text2.C:
4445         * text3.C: replace "complicated" BufferView::update(...) calls with
4446         simpler ones.
4447
4448         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4449
4450 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
4451
4452         * Makefile.am (lyx_SOURCES): add paper.h
4453
4454 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4455
4456         * Makefile.am: move things around so that both lyx-qt and
4457         lyx-xforms can be built (according to --with-frontend). Then lyx
4458         is a symbolic link to lyx-[firstfrontend]
4459
4460 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
4461
4462         * Always use std::endl with lyxerr
4463
4464 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
4465
4466         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4467
4468 2003-08-01  André Pönitz  <poenitz@gmx.net>
4469
4470         * BufferView.[Ch]:
4471         * BufferView_pimpl.[Ch]:
4472         * lyxfunc.C:
4473         * text3.C: merge BufferView::repaint() and BufferView::update()
4474
4475 2003-08-01  José Matos  <jamatos@lyx.org>
4476
4477         * buffer.[Ch]: file_format is no longer a buffer data element.
4478
4479 2003-08-01  André Pönitz  <poenitz@gmx.net>
4480
4481         * BufferView.C:
4482         * lyxtext.h:
4483         * text.C:
4484         * text2.C: make redoParagraph more independent of current cursor
4485
4486         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4487         * text.C:
4488         * text2.C: remove unneeded members
4489
4490 2003-07-30  André Pönitz  <poenitz@gmx.net>
4491
4492         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4493
4494         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4495           create a single function...
4496
4497         * paragraph_funcs.C (moveItem): ... here.
4498
4499         * text.C:
4500           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4501
4502 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
4503
4504         * LColor.[Ch]: Add comment and greyedout logical colors.
4505
4506 2003-07-30  André Pönitz  <poenitz@gmx.net>
4507
4508         * tabular.C: don't use Assert too heavily. This crashes where it
4509           shouldn't
4510
4511 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
4512
4513         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4514         is disabled (bug 1232)
4515
4516 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4517
4518         * factory.C: limited 'arg' scope
4519
4520 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4521
4522         * factory.C: fixed Note submenu issues
4523
4524 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4525
4526         * factory.C: submenu for Note/Comment/Greyedout
4527
4528 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
4529
4530         * lyx_main.C (LyX):
4531         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4532
4533 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
4534
4535         * LaTeXFeatures.C:
4536         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4537         greyedout. Patch provided by Jürgen Spitzmüller.
4538
4539 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4540
4541         * kbmap.C (read): fix error message when reading bind files
4542
4543 2003-07-29  Angus Leeming  <leeming@lyx.org>
4544
4545         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4546         certainly does not do what it purports to do. I am doing it, and
4547         us, a favour by killing it.
4548
4549 2003-07-28  José Matos  <jamatos@lyx.org>
4550
4551         * buffer.C (readBody, do_writeFile):
4552         * paragraph.C(readParagraph): \end_document replaces \the_end.
4553
4554 2003-07-29  André Pönitz  <poenitz@gmx.net>
4555
4556         * BufferView.[Ch]:
4557         * BufferView_pimpl.[Ch]:
4558         * lyxfunc.C:
4559         * text2.C:
4560         * text3.C:
4561         * textcursor.[Ch]: remove toggleToggle & Co
4562
4563 2003-07-28  José Matos  <jamatos@fep.up.pt>
4564
4565         * buffer.C (readParagraph):
4566         * params_func (readParToken, readParagraph):
4567         * paragraph.C (write): \layout -> \begin_layout.
4568
4569 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4570
4571         * lyxlex_pimpl.C (setFile): clean up slightly.
4572
4573         * bufferparams.h: add compressed var
4574
4575         * buffer_funcs.C (readFile): adjust for LyXLex change
4576         (newFile): ditto + simplify
4577
4578         * buffer.C (writeFile): handle writing of compressed files
4579
4580         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4581         Check if the file is compressed and set a bufferparm if so.
4582
4583         * Makefile.am (lyx_LDADD): remove explicit -lz
4584
4585 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4586
4587         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4588         makeDocBookFile): put the real LyX version in the first line of
4589         the file
4590
4591         * version.h:
4592         * version.C.in: remove lyx_docversion
4593
4594         * tabular.C (write_attribute): add a template-based version to
4595         write enums properly
4596
4597 2003-07-28  André Pönitz  <poenitz@gmx.net>
4598
4599         * lyxtext.h:
4600         * text.C:
4601         * text2.C:
4602         * text3.C: use doubles again for x-coordinates. They are needed.
4603
4604 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4605
4606         * messages.C (getLocaleDir): use lyx_localedir()
4607
4608         * lyxlex_pimpl.C (setFile): compress stuff
4609
4610         * buffer.C (writeFile): add some compression stuff
4611         (do_writeFile): new func, dont call expliti close... will this
4612         breake anything?
4613
4614         * Makefile.am (lyx_LDADD): add -lz
4615
4616 2003-07-28  José Matos  <jamatos@fep.up.pt>
4617
4618         * buffer.C: increment file format.
4619         * paragraph_funcs (readParagraph, readParToken):
4620         * paragraph.C (readParagraph): add \end_layout.
4621
4622 2003-07-27  Angus Leeming  <leeming@lyx.org>
4623
4624         * Makefile.am: remove special casing for configure-time setting of
4625         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4626
4627         * lyx_main.C (init): remove all Jean-Marc's magic setting of
4628         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4629
4630 2003-07-26  André Pönitz  <poenitz@gmx.net>
4631
4632         * paragraph_func.[Ch]:
4633         * paragraph.C (realizeFont): inline it whereever it is used
4634
4635         * rowpainter.C:
4636         * text.C:
4637         * text2.C:
4638         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4639
4640
4641 2003-07-26  André Pönitz  <poenitz@gmx.net>
4642
4643         *       lyxtext.h:
4644         * text.C:
4645         * text2.C: get rid of LyXText::need_break_row
4646
4647 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4648
4649         * toc.[Ch]: put namespace toc inside namespace lyx
4650
4651         * MenuBackend.C (expandToc2): adjust for lyx::toc
4652         (expandToc): ditto
4653
4654         * lyxfunc.C (dispatch): adjust for lyx::find
4655
4656         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4657         lyx::find instead. Reorganize a bit.
4658         (LyXReplace): rename to replace
4659         (LyXFind): rename to find
4660
4661         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4662         (dispatch): ditto
4663
4664 2003-07-26  André Pönitz  <poenitz@gmx.net>
4665
4666         * text.C (setHeightOfRow): restrict scope of temporary variable
4667
4668         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
4669           code (never has been used?)
4670
4671 2003-07-27  Asger Alstrup  <alstrup@local>
4672
4673         * text.C (fill): Optimise algorithm to exploit that we can reuse
4674         the LyXFont for many characters.
4675         (setHeightOfRow): Same thing.
4676         (rowBreakPoint): Same thing.
4677
4678 2003-07-26  Asger Alstrup  <alstrup@local>
4679
4680         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4681
4682         * text.C (singleWidth): Spurious font copying in hot-spot
4683         singleWidth avoided. Reorder tests for arabic for efficiency.
4684
4685         * text.C (fill): handle empty paragraphs better.
4686
4687 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4688
4689         * ispell.C:
4690         * encoding.h: add includes
4691
4692         * lyxrc.C: remove reading of bind files
4693
4694         * lyx_main.C (init): setup bindings and menus only if we have a
4695         gui.
4696
4697         * kbmap.C (read): new method. Do the actual reading of bind
4698         files.
4699
4700         * converter.C (dvipdfm_options):
4701         * bufferparams.C:
4702         * lyxrc.C (read):
4703         (output): adapt PAPER_* enums.
4704
4705         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4706
4707         * bufferparams.h: remove paper-related enums from there
4708
4709         * paper.h: New file. A trivial header file to hold paper-related
4710         enums. It should later expand to contain many paper-related
4711         horrors access.
4712
4713         * lyxrc.C: declare extern displayTranslator
4714
4715 2003-07-27  José Matos  <jamatos@fep.up.pt>
4716
4717         * tabular.[Ch] (linuxdoc): add support for tables and figures
4718         (linuxdoc).
4719
4720 2003-07-27  José Matos  <jamatos@fep.up.pt>
4721
4722         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4723         consistency in both functions.
4724         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4725
4726 2003-07-26  Asger Alstrup  <alstrup@local>
4727
4728         * rowpainter.C (paintRows): Change algorithm to work directly on
4729         the insets rather than asking every character in the document
4730         whether its an inset.
4731
4732 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
4733
4734         * buffer.C (openFileWrite): factorize some code
4735
4736 2003-07-26  Angus Leeming  <leeming@lyx.org>
4737
4738         * lyx_cb.C:
4739         * lyx_main.[Ch]: replace occurances of system_tempdir with
4740         os::getTmpDir().
4741
4742 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4743
4744         * rename Inset to InsetOld
4745
4746 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
4747
4748         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4749         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4750         which I think is a bit clearer. EDIT is gone, since it was
4751         premature optimisation, and broken for mathed anyway.
4752         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4753         with cursor positioning in insets as well (math insets still do not
4754         work, but that's a different story anyway.) It mysteriously
4755         crashes sometimes with undo in the first paragraph, but I'm fairly
4756         confident that this is a compiler bug.
4757
4758 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4759
4760         * paragraph.C (Paragraph): adjust for new clone return type
4761         (operator==): ditto
4762         (copyIntoMinibuffer): ditto
4763
4764 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
4765
4766         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4767         by not having a special case, and always doing a full rebreak of
4768         the document after undo.
4769
4770 2003-07-23  Angus Leeming  <leeming@lyx.org>
4771
4772         * factory.C (createInset): InsetExternal::setParams now takes a
4773         Buffer const * arg.
4774
4775 2003-07-23  Angus Leeming  <leeming@lyx.org>
4776
4777         * factory.C (createInset): changed interface to the external and
4778         graphics mailers' string2params functions.
4779
4780 2003-07-23  Angus Leeming  <leeming@lyx.org>
4781
4782         * factory.C (createInset): pass a
4783         Buffer const * parameter to InsetExternalMailer's string2params.
4784
4785 2003-07-22  John Levon  <levon@movementarian.org>
4786
4787         * Thesaurus.h: include the right aiksaurus header
4788
4789 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4790
4791         * MenuBackend.C (expand): check menu shortcuts unconditionally
4792
4793 2003-07-21  Angus Leeming  <leeming@lyx.org>
4794
4795         * factory.C (createInset): pass a
4796         buffer_path parameter to InsetGraphicsMailer's string2params.
4797
4798 2003-07-21  Angus Leeming  <leeming@lyx.org>
4799
4800         * BufferView_pimpl.C (buffer):
4801         * buffer.C (d-tor):
4802         * lyx_main.C (LyX):
4803         * lyxfunc.C (dispatch):
4804         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4805         rather than the grfx shortcut.
4806
4807 2003-07-21  André Pönitz  <poenitz@gmx.net>
4808
4809         * rowpainter.C: remove unused variables
4810
4811         * tabular_funcs.C:
4812         * tabular_funcs.h: move to tabular.C
4813         * Makefile.am: adjust
4814
4815         * tabular.[Ch]: basic optical cleaning
4816
4817         * author.h: pass references, not values
4818
4819 2003-07-18  André Pönitz  <poenitz@gmx.net>
4820
4821         * lyxtext.h:
4822         * metricsinfo.C:
4823         * metricsinfo.h:
4824         * rowpainter.C:
4825         * text.C:
4826         * text2.C:
4827         * text3.C: two-phase drawing for InsetText and InsetTabular
4828         some float -> int changes.
4829
4830 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4831
4832         * lyx_main.C: fix the fix
4833
4834 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4835
4836         * lyx_main.C: fix a crash in batch mode if no files specified
4837         * converter.C: ws
4838
4839 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
4840
4841         * format.[Ch] (papersize): moved to BufferParams
4842         * converter.[Ch] (dvips_options): moved to BufferParams
4843         (dvipdfm_options): moved to anon namespace
4844         * bufferparams.[Ch]: added above functions.
4845
4846 2003-07-17  André Pönitz  <poenitz@gmx.net>
4847
4848         * lyxtext.h:
4849         * rowpainter.C:
4850         * text2.C: don't call inset->update() anymore
4851
4852         * metricsinfo.[Ch]: add convenience constructor
4853
4854 2003-07-16  André Pönitz  <poenitz@gmx.net>
4855
4856         * lyxcursor.[Ch]:
4857         * lyxfunc.[Ch]:
4858         * text.C:
4859         * text2.C: replace the LyXCursor::irow_ member with
4860          on-demand computation of the value
4861
4862 2003-07-16  John Levon  <levon@movementarian.org>
4863
4864         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4865
4866 2003-07-15  André Pönitz  <poenitz@gmx.net>
4867
4868         * text.C:
4869         * text2.C: remove no more needed refresh_row
4870
4871 2003-07-15  André Pönitz  <poenitz@gmx.net>
4872
4873         * lyxtext.h:
4874         * rowpainter.C:
4875         * text2.C:
4876         * text3.C: refresh_status tristate -> need_update bool
4877
4878 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
4879
4880         * lyxtext.h (init): remove reinit argument (act as if always true)
4881         * text2.C: adjust to that
4882
4883 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4884
4885         * bufferview_funcs.[Ch]: introduce function replaceSelection()
4886         * text3.C: use it to delete selections in some cases
4887         (bugs 441, 673, 702, 954).
4888
4889 2003-07-14  André Pönitz  <poenitz@gmx.net>
4890
4891         * rowpainter.[Ch]: reduce interface
4892
4893 2003-07-14  André Pönitz  <poenitz@gmx.net>
4894
4895         * BufferView_pimpl.C:
4896         * text2.C: adjust after removing unused BufferView * argument
4897
4898 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
4899
4900         * text2.C (init): fix a crash fired on resize
4901
4902 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
4903
4904         * buffer.[Ch]: added new closing signal
4905         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4906         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4907         BufferView::Pimpl via the closing the signal
4908
4909 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
4910
4911         * buffer.[Ch]: take out all bv-related from buffer
4912         * BufferView.C:
4913         * BufferView_pimpl.[Ch]: connect to new signals
4914         * CutAndPaste.C: removed useless asserts
4915         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4916         * lyxvc.[Ch]:
4917         * vc-backend.[Ch]:
4918         * lyxfunc.C: moved view-related funciontality from vc here
4919         * paragraph.C: removed outdated comments
4920         * text.C: ws
4921
4922 2003-07-10  André Pönitz  <poenitz@gmx.net>
4923
4924         * BufferView_pimpl.C:
4925         * tabular.h:
4926         * tabular_funcs.C:
4927         * text.C:
4928         * text2.C: remove InsetText::InnerCache, clean up consequences
4929
4930 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
4931
4932         * ispell.C: fix two typos in error messages
4933
4934 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
4935
4936         * Extend Note inset to other forms of annotation like Comment
4937         and Greyedout. Right button click gives dialog.
4938
4939         Files modified or added (+):
4940
4941         * insetnote.[Ch]
4942         * FormNote.[Ch]      +
4943         * ControlNote.[Ch]   +
4944         * form_note.fd       +
4945         * Makefile.am in frontends/xforms, frontends/xforms/forms,
4946         frontends/controllers
4947         * xforms/Dialogs.C
4948         * factory.C
4949
4950 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4951
4952         * aspell.C: add missing namespace lyx::support
4953
4954 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
4955
4956         * BufferView.[Ch] (newFile): Add
4957         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4958         * LaTeX.[Ch] (message): added this signal and use it
4959         * buffer.[Ch] (busy, message): added these signals and use them
4960         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4961         * converter.C:
4962         * exporter.C:
4963         * format.C:
4964         * importer.C: use buffer signals instead of direct bv calling
4965         * lyx_cb.[Ch] (ShowMessage): removed
4966         * lyx_main.C:
4967         * lyxfunc.C:
4968         * paragraph_funcs.C:
4969         * text2.C: use buffer signals
4970
4971 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4972
4973         * introduce namespace lyx::graphics
4974
4975 2003-07-02  André Pönitz  <poenitz@gmx.net>
4976
4977         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4978
4979 2003-07-01  André Pönitz  <poenitz@gmx.net>
4980
4981         * text.C:
4982         * text2.C:
4983         * text3.C:
4984         * text_funcs.[Ch]:
4985         * textcursor.h:
4986         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4987           text*.C to text_func.C
4988
4989 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4990
4991         * introduce namespace lyx::support
4992
4993 2003-06-30  André Pönitz  <poenitz@gmx.net>
4994
4995         * Chktex.C:
4996         * funcrequest.C:
4997         * lyxtext.h:
4998         * text.C: re-enable --with-included-string
4999
5000 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5001
5002         * textcursor.C: add <config.h>
5003
5004         * text.C (getWord): remove const from word_location arg
5005
5006         * lyxvc.C (getLogFile): fix const type order
5007
5008         * lyxtext.h: remove const from word_location arg, add arg name
5009
5010         * lyxlayout.h: currect type on labeltype.
5011
5012         * importer.C: correct \file
5013
5014         * converter.C (intToFormat): use std:: on ret val, ws changes
5015
5016         * bufferlist.h: correct \file
5017
5018         * buffer.C (makeLinuxDocFile): fix const type order
5019         (makeDocBookFile): ditto
5020         (fillWithBibKeys): use std:: on stdlib args.
5021
5022         * CutAndPaste.C: fix authors.
5023         (availableSelections): use std:: on return vector
5024
5025 2003-06-27  André Pönitz  <poenitz@gmx.net>
5026
5027         * BufferView_pimpl.C:
5028         * bufferview_funcs.C:
5029         * lyxcursor.C:
5030         * lyxcursor.h:
5031         * lyxfunc.C:
5032         * lyxtext.h:
5033         * rowpainter.C:
5034         * text.C:
5035         * text2.C:
5036         * text3.C: remove LyXCursor::row_ member
5037
5038         * lyxtext.h:
5039         * text.C: rename fullRebreak() to partialRebreak() and implement
5040           a fullRebreak() that really bereks fully
5041
5042         * textcursor.h: new struct for cursor-related data
5043
5044 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
5045
5046         * lyx_main.C (LyX): get full path of document loaded on the
5047         command line
5048
5049 2003-06-26  André Pönitz  <poenitz@gmx.net>
5050
5051         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5052           remove unused/broken operator>,<,>=.
5053
5054         *       text.C: remove only use of broken operator<= in an Assert().
5055
5056 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5057
5058         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5059         moved errorlist_.clear to showErrorList
5060
5061 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5062
5063         * converter.C (scanLog, runLaTeX):
5064         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5065         move the bv->showErrorList call to the callers
5066         * lyxfunc.C: i.e. here...
5067         * text2.C: and here
5068         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5069         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5070         namespace, the second to...
5071         * buffer_funcs (BufferFormat, parseErrors): added
5072         * errorlist.C (ErrorList(TeXErrors const &)): removed
5073
5074 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5075
5076         * ToolbarBackend.C (getIcon): complain when icon cannot be found
5077
5078 2003-06-24  "Garst R. Reese" <reese@isn.net>
5079
5080         * debug.C: fix typo
5081
5082 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5083
5084         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5085
5086         * version.C.in: change docversion to 1.4
5087
5088 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
5089
5090         * buffer.C: fix a bug just introduced
5091
5092 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
5093
5094         * buffer.[Ch]: added the parseError signal and use it, removed
5095         sgmlError
5096         * BufferView.[Ch] (addError): moved to ...
5097         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5098         to the Buffer::parseError signal to catch (guess what) parse errors
5099         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5100
5101 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
5102
5103         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5104         ability to create a buffer and to return an existing one from
5105         the list. Moved these functions to...
5106         * buffer_funcs.[Ch]: added
5107         * BufferView.[Ch] (loadLyXFile): added
5108         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5109         job removed from bufferlist::loadLyXFile.
5110         * buffer.C (setReadOnly): make it work without view
5111         (i.e added an if (users))
5112
5113 2003-06-19  Angus Leeming  <leeming@lyx.org>
5114
5115         * lfuns.h:
5116         * LyXAction.C (init):
5117         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5118         with LFUN_DIALOG_SHOW <name> <data>.
5119
5120 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5121
5122         * CutAndPaste.C (availableSelections): small compilation fix for
5123         ancient (gcc 2.9x) compilers
5124
5125 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
5126
5127         * text3.C (cursorNext): add tmp var
5128
5129         * text2.C (updateCounters): for function calling out of for clause
5130         (replaceSelectionWithString): ditto
5131         (insertStringAsParagraphs): ditto
5132         (getColumnNearX): add tmp var
5133         (setCursorFromCoordinates): add tmp var
5134         (cursorDownParagraph): add tmp var
5135         (deleteEmptyParagraphMechanism): add tmp var
5136
5137         * text.C (insertChar): add tmp var
5138
5139         * rowpainter.C (paintDepthBar): add tmp var
5140
5141         * CutAndPaste.C (availableSelections): potentially check all
5142         paragraphs in a cut to fill the shown strings.
5143
5144 2003-06-18  André Pönitz  <poenitz@gmx.net>
5145
5146         * kbmap.[Ch]: use vector<> instead of list<>
5147
5148 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
5149
5150         * text3.C (dispatch): handle arg to LFUN_PASTE, call
5151         pasteSelection with index
5152
5153         * text2.C (pasteSelection): modify, call pasteSelection with index
5154
5155         * paragraph.C (asString): reimplement version with no interval to
5156         call the one with interval.
5157
5158         * lyxtext.h: add index arg to pasteSelection
5159
5160         * MenuBackend.C (MenuItem): handle PasteRecent
5161         (Menu::read::Menutags): add md_pasterecent
5162         (read): handle it
5163         (expandPasteRecent): new function
5164         (expand): use it
5165
5166         * MenuBackend.h: add PasteRecent to MenuItem::Kind
5167
5168         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5169         the limited stack
5170         (availableSelections): new function
5171
5172 2003-06-17  Angus Leeming  <leeming@lyx.org>
5173
5174         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5175
5176 2003-06-17  Angus Leeming  <leeming@lyx.org>
5177
5178         * lfuns.h:
5179         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5180
5181         * lyxfunc.C (dispatch): invoke it.
5182
5183 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5184
5185         * iterators.C (operator++, ParPosition): reintroduce some
5186         const_cast for the benefit of older compilers.
5187
5188 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5189
5190         * text3.C (dispatch): do not modify clipboard when doing
5191         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5192         LFUN_DELETE_SKIP on a selection selection
5193
5194 2003-06-16  André Pönitz  <poenitz@gmx.net>
5195
5196         * BufferView.C:
5197         * buffer.C:
5198         * buffer.h:
5199         * paragraph.C:
5200         * tabular.[Ch]: IU of clone() and getLabelList();
5201
5202 2003-06-13  André Pönitz  <poenitz@gmx.net>
5203
5204         * tabular.h: compactification
5205
5206 2003-06-12  André Pönitz  <poenitz@gmx.net>
5207
5208         * tabular.C:
5209         * tabular.h:
5210         * tabular_funcs.h: some renaming plus whitespace
5211
5212 2003-06-12  André Pönitz  <poenitz@gmx.net>
5213
5214         * BufferView.C:
5215         * BufferView_pimpl.C:
5216         * CutAndPaste.C:
5217         * buffer.C:
5218         * iterators.[Ch]:
5219         * lyxfunc.C:
5220         * text.C:
5221         * toc.C: Return a Paragraph & for ParIterator::operator*()
5222
5223 2003-06-11  John Levon  <levon@movementarian.org>
5224
5225         * lyx_main.C:
5226         * ToolbarBackend.h:
5227         * ToolbarBackend.C: add "Toolbars" section and
5228         put the flags there
5229
5230 2003-06-10  Angus Leeming  <leeming@lyx.org>
5231
5232         * lfuns.h:
5233         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5234
5235         * lyxfunc.C (dispatch): invoke it.
5236
5237 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5238
5239         * main.C: protect <ios> with HAVE_IOS
5240         (main): protect sync_with_stdio with HAVE_IOS
5241
5242 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
5243
5244         * text2.C (cutSelection): adjust
5245         (pasteSelection): adjust
5246
5247         * messages.C: handle get of empty string
5248
5249         * main.C (main): use sync_with_stdio(false)
5250
5251         * lyxfunc.C (dispatch): adjust
5252
5253         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5254         (WriteAs): remove unneeded BufferView arg.
5255
5256         * bufferparams.h: use correct types on papersize, papersize2 and
5257         paperpackage.
5258
5259         * bufferparams.C (readToken): adjust for type
5260         (writeLaTeX): add missing cases to switch.
5261
5262         * bufferlist.C (quitWriteBuffer): adjust
5263         (close): adjust
5264
5265         * buffer.C (asciiParagraph): remove some commented code.
5266
5267         * CutAndPaste.C: remove current_view extern variable.
5268         (cutSelection): add BufferParams arg.
5269         (eraseSelection): add BufferParams arg.
5270         (pasteSelection): add Buffer const & arg
5271
5272 2003-06-07  John Levon  <levon@movementarian.org>
5273
5274         * buffer.C:
5275         * paragraph_funcs.C:
5276         * paragraph_pimpl.C:
5277         * text.C:
5278         * text2.C:
5279         * paragraph.h:
5280         * paragraph.C: allow InsetERT to freely space lines,
5281         and some consolidation of code
5282
5283 2003-06-06  José Matos  <jamatos@fep.up.pt>
5284
5285         * buffer.C (makeDocBookFile): fix bug #821
5286
5287 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
5288
5289         * BufferView_pimpl.C (dispatch): use Dialogs::visible
5290
5291 2003-06-04  Angus Leeming  <leeming@lyx.org>
5292
5293         * buffer.C: bump format to 224.
5294
5295 2003-06-05  André Pönitz  <poenitz@gmx.net>
5296
5297         * text2.C (redoParagraphs): remove two const_cast<>
5298
5299 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5300
5301         * ParagraphList.h: remove last remnants of NO_STD_LIST
5302
5303 2003-06-03  Angus Leeming  <leeming@lyx.org>
5304
5305         * factory.C (createInset): small change to the way InsetExternal's params
5306         are set.
5307
5308 2003-06-04  André Pönitz  <poenitz@gmx.net>
5309
5310         * buffer.h: use Undo directly instead of shared_ptr<Undo>
5311
5312         * paragraph_pimpl.h:
5313         * paragraph.[Ch]: some Inset -> UpdatableInset changes
5314
5315         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5316
5317         * undo_funcs.C: make some simple cases of undo work again
5318
5319 2003-06-03  John Levon  <levon@movementarian.org>
5320
5321         * ispell.C: HPUX doesn't have sys/select.h
5322         (from Albert Chin)
5323
5324 2003-06-03  John Levon  <levon@movementarian.org>
5325
5326         * CutAndPaste.C: update tabular and include inset
5327         buffer references
5328
5329         * buffer.h:
5330         * paragraph.h:
5331         * paragraph.C: remove owningBuffer(), don't pass Buffer
5332         to clone()
5333
5334         * factory.C: insetGraphicsParams changed
5335
5336 2003-06-02  John Levon  <levon@movementarian.org>
5337
5338         * LyXAction.C:
5339         * factory.C:
5340         * lfuns.h:
5341         * lyxfunc.C:
5342         * text3.C: remove insetparent
5343
5344 2003-06-02  John Levon  <levon@movementarian.org>
5345
5346         * buffer.h:
5347         * buffer.C: fix inset_iterator.end(), move out of line
5348         (bug 1149)
5349
5350 2003-06-01  John Levon  <levon@movementarian.org>
5351
5352         * text3.C: use a proper cut/paste when doing inset
5353         insert (from Jürgen Spitzmüller)
5354
5355 2003-06-01  John Levon  <levon@movementarian.org>
5356
5357         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5358
5359 2003-05-30  André Pönitz  <poenitz@gmx.net>
5360
5361         * rowpainter.C: unify second drawing phase
5362
5363 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5364
5365         * trans_mgr.C: remove one case of current_view
5366
5367         * text2.C (cursorBottom): delete NO_STD_LIST stuff
5368
5369         * paragraph_funcs.h: remove paragraph.h include
5370
5371         * paragraph.h: delete NO_STD_LIST stuff
5372
5373         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5374
5375         * buffer.h: remove paragraph.h include
5376
5377         * ParagraphList.C: delete file
5378
5379         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5380
5381         * toc.C (getTocList): adjust
5382
5383         * paragraph_pimpl.C (validate): adjust
5384
5385         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5386
5387         * paragraph.C (Paragraph): adjust
5388         (getPositionOfInset): use const_iterator, adjust
5389         (bibitem): use const_iterator, adjust
5390         (setInsetOwner): adjust
5391
5392         * iterators.C (operator++): adjust
5393
5394         * InsetList.[Ch]: Replace selfmade iterator with standard
5395         vector::iterator also introduce const_iterator. Remove getPos,
5396         getInset and setInset from InsetTable. Adjust accordingly.
5397
5398         * BufferView.C (lockInset): adjust
5399         (ChangeInsets): adjust
5400
5401         * tabular.[Ch]: delete commented same_id functions
5402
5403 2003-05-28  John Levon  <levon@movementarian.org>
5404
5405         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5406
5407 2003-05-28  André Pönitz  <poenitz@gmx.net>
5408
5409         * metricsinfo.[Ch]: remove 'fullredraw' member
5410
5411 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
5412
5413         * lyxtextclass.C (operator): remove caching.
5414
5415 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5416
5417         * text3.C: adjust
5418
5419         * text2.C (cursorBottom): adjust
5420         (setCounter): use ParagraphList::find, adjust
5421
5422         * text.C (workWidth): use ParagraphList::find, adjust
5423
5424         * lyxcursor.C (LyXCursor): adjust
5425
5426         * buffer.C (inset_iterator): adjust
5427
5428         * ParagraphList.h: make iterator(value_type) private, make
5429         ParagraphList a friend of iterator.
5430
5431         * ParagraphList.C (find): new function
5432
5433         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5434
5435 2003-05-27  André Pönitz  <poenitz@gmx.net>
5436
5437         * dimension.[Ch]: a -> asc, d -> des, w -> wid
5438
5439 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5440
5441         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5442
5443 2003-05-26  John Levon  <levon@movementarian.org>
5444
5445         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5446
5447 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5448
5449         * remove same_id from function signatures, adjust.
5450
5451 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5452
5453         * undo_funcs.C (createUndo): use the id functions directly, adjust.
5454
5455         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5456
5457         * paragraph.C (Paragraph): get rid of same_ids parameter
5458
5459         * ParagraphList.C (insert): adjust
5460         (push_back): adjust
5461
5462 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5463
5464         * paragraph_funcs.C (breakParagraph): adjust
5465         (breakParagraphConservative): adjust
5466
5467         * buffer.C (readParagraph): adjust
5468
5469         * ParagraphList.C (insert): take a reference instead of a pointer
5470         (insert): adjust
5471
5472         * paragraph.[Ch] (id): new function
5473
5474         * bufferlist.C (newFile): adjust
5475
5476         * ParagraphList.C (ParagraphList): adjust
5477         (assign): adjust
5478         (push_back): take a reference instead of a pointer.
5479
5480         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5481
5482         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5483         instead.
5484
5485         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5486         set else use old code.
5487
5488         * ParagraphList.C: remove all NO_NEXT code and only compile this
5489         code of NO_STD_LIST is set.
5490
5491 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5492
5493         * BufferView_pimpl.C:
5494         * TextCache.C:
5495         * TextCache.h:
5496         * bufferlist.C:
5497         * errorlist.h:
5498         * format.C:
5499         * format.h:
5500         * graph.C:
5501         * lyxfunc.C:
5502         * lyxrc.C:
5503         * graphics/GraphicsConverter.C:
5504         * graphics/PreviewLoader.C: header adjustment
5505
5506 2003-05-23  Angus Leeming  <leeming@lyx.org>
5507
5508         * LaTeXFeatures.[Ch] (useBabel): new method.
5509         * bufferparams.C (writeLaTeX): use it.
5510
5511 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5512
5513         * ParagraphList.h (set): remove unused function.
5514
5515 2003-05-23  André Pönitz  <poenitz@gmx.net>
5516
5517         * BufferView.C:
5518         * BufferView_pimpl.C:
5519         * buffer.C:
5520         * buffer.h:
5521         * lyxfunc.C:
5522         * undo_funcs.C: setUndo reworked
5523
5524         * iterators.[Ch]: add access to topmost ParagraphList
5525
5526         * lyxtext.[Ch] (workWidth): add a const
5527
5528 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5529
5530         * texrow.[Ch] (increasePos): remove function
5531         * exporter.C (export): removed unused var and outdated comment
5532
5533 2003-05-23  Angus Leeming  <leeming@lyx.org>
5534
5535         * latexrunparams.h: rename fragile as moving_arg.
5536         * paragraph.C (simpleTeXOnePar): ditto.
5537         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5538
5539 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5540
5541         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5542         (createUndo): ditto
5543         (textUndoOrRedo): comment out a currently unused var.
5544
5545         * paragraph.h (NO_NEXT): enable NO_NEXT
5546
5547         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5548
5549         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5550
5551         * exporter.C (Export): adjust for removeAutoInsets removal.
5552
5553         * buffer.C (runChktex): adjust for removeAutoInsets removal.
5554
5555         * LyXAction.C (init): remove LFUN_REMOVEERRORS
5556
5557         * BufferView.[Ch] (removeAutoInsets): delete function
5558
5559 2003-05-22  Angus Leeming  <leeming@lyx.org>
5560
5561         * latexrunparams.h: add a free_spacing variable.
5562
5563         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5564         to pass moving_arg, as the data is stored in runparams.fragile.
5565
5566         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5567         to Inset::latexOptional or to simpleTeXOnePar.
5568
5569         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5570         free_spacing arg to Inset::latexOptional.
5571
5572         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5573         free_spacing arg.
5574
5575 2003-05-22  Angus Leeming  <leeming@lyx.org>
5576
5577         * latexrunparams.h: add fragile and use_babel variables.
5578
5579         * bufferparams.[Ch] (writeLaTeX): return use_babel.
5580         * buffer.C (makeLaTeXFile): store this returned value in
5581         runparams.use_babel, thus passing it to the inset::latex methods.
5582
5583         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5584         simpleTeXSpecialChars as it is now stored in runparams.fragile.
5585
5586         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5587         longer has a fragile arg, as it is stored in runparams.fragile.
5588
5589         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5590         moving_arg parameter as the data is stored in runparams.fragile.
5591
5592         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5593         a fragile parameter as the data is stored in runparams.fragile.
5594
5595 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5596
5597         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5598
5599 2003-05-22  Angus Leeming  <leeming@lyx.org>
5600
5601         * latexrunparams.h: add a 'bool nice' which defaults to false.
5602
5603         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5604         now encapsulated within runparams.
5605
5606         * bufferlist.C (updateIncludedTeXfiles):
5607         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5608
5609 2003-05-22  Angus Leeming  <leeming@lyx.org>
5610
5611         * latexrunparams.h: new file containing struct LatexRunParams.
5612         * Makefile.am: add new file.
5613
5614         * LaTeX.[Ch] (c-tor, run):
5615         * buffer.[Ch] (makeLaTeXFile):
5616         * bufferlist.[Ch] (updateIncludedTeXfiles):
5617         * converter.C (convert, scanLog):
5618         * converter.[Ch] (runLaTeX):
5619         * exporter.C (Export):
5620         * paragraph.[Ch] (simpleTeXOnePar):
5621         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5622         * paragraph_funcs.[Ch] (latexParagraphs):
5623         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5624         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5625         pass around a LatexRunParams parameter.
5626
5627 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5628
5629         * paragraph.[Ch]: remove unused constructor
5630
5631         * ParagraphList.C (erase): new function, taking two iterators
5632
5633 2003-05-22  André Pönitz  <poenitz@gmx.net>
5634
5635         * undo_funcs.C: remove duplicated code
5636
5637         * iterator.[Ch]: operator=
5638
5639 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5640
5641         * tabular.C (SetMultiColumn): ws changes
5642
5643         * rowpainter.C (paintFirst): get rid of a ->previous
5644
5645         * lyx_cb.C (getPossibleLabel): parlist simplification
5646
5647         * BufferView.C (ChangeInsets): simplify slightly.
5648
5649 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
5650
5651         * LyXAction.C: new lfun space-insert, kill protected-space-insert
5652         * lfuns.h: new LFUN_SPACE
5653         * lyxfunc.C: protected space has a new lfun
5654         * paragraph_funcs.C: read new space insets
5655         * text3.C:
5656         * factory.C: handle new space insets
5657
5658 2003-05-22  André Pönitz  <poenitz@gmx.net>
5659
5660         * BufferView.C:
5661         * BufferView_pimpl.C:
5662         * buffer.[Ch]:
5663         * lyxfunc.C:
5664         * undo_funcs.C: return a ParIterator from getParFromID.
5665
5666         * iterators.[Ch]: add two const's
5667
5668 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5669
5670         * toc.C (getTocList): adjust
5671
5672         * iterators.[Ch]: rework for parlist
5673
5674         * buffer.C (par_iterator_begin): adjust
5675         (par_iterator_end): adjust
5676
5677         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5678
5679         * BufferView.C (removeAutoInsets): adjust
5680         (ChangeInsets): adjust
5681
5682 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
5683
5684         * text.C (top_y): fix bug 1110
5685
5686 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
5687
5688         * errorlist.[Ch]: added
5689         * buffer.C:
5690         * BufferView.[Ch]:
5691         * BufferView_pimpl.C:
5692         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5693         instead
5694
5695 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5696
5697         * Makefile.am: ensure that lyx is relinked upon changes to the
5698         various "convenience" libs.
5699
5700 2003-05-20  Angus Leeming  <leeming@lyx.org>
5701
5702         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5703         files are compiled in alphabetical order again.
5704
5705         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5706
5707 2003-05-19  Angus Leeming  <leeming@lyx.org>
5708
5709         * gettext.[Ch]: remove "char const * _(char const *)".
5710
5711 2003-05-19  André Pönitz  <poenitz@gmx.net>
5712
5713         * dimension.[Ch]: promote from mathed/dimension.[Ch]
5714
5715         * Makefile.am:
5716         * BufferView.C:
5717         * DepTable.h:
5718         * LaTeXFeatures.C:
5719         * buffer.C:
5720         * lyxfont.C:
5721         * lyxlex.h:
5722         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5723
5724 2003-05-19  André Pönitz  <poenitz@gmx.net>
5725
5726         * buffer.C:
5727         * lyxlayout.[Ch]:
5728         * lyxtextclass.[Ch]:
5729         * paragraph.C:
5730         * paragraph_funcs.[Ch]:
5731         * text2.C:
5732         * text3.C: more insetenv work
5733
5734 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
5735
5736         * ParagraphParameters.C (params2string): small bug fixed
5737
5738 2003-05-16  André Pönitz  <poenitz@gmx.net>
5739
5740         * debug.C:
5741         * bufferview_funcs.C: patch from Kornel Benko to prevent
5742           crash when _(...) is called twice in a statement
5743
5744 2003-05-16  André Pönitz  <poenitz@gmx.net>
5745
5746         * BufferView.C:
5747         * lyxfunc.C:
5748         * text.C:
5749         * text2.C:
5750         * text3.C:
5751         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5752
5753 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
5754
5755         * lyx_main.C (init): remove spurious static_cast
5756
5757 2003-05-14  André Pönitz  <poenitz@gmx.net>
5758
5759         * BufferView.C: fix format string
5760
5761 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
5762
5763         * BufferView.[Ch] (insertErrors): removed
5764         * BufferView.[Ch] (showErrorList): added
5765         * buffer.C (runChkTeX):
5766         * converter.C (scanLog): call showErrorList instead of inserterrors
5767
5768 2003-05-13  André Pönitz  <poenitz@gmx.net>
5769
5770         * BufferView_pimpl.C:
5771         * buffer.C:
5772         * bufferview_func.C:
5773         * MenuBackend.C:
5774         * lyxfunc.C:
5775         * lyxrc.C:
5776         * tex-accent.C:
5777         * text3.C:
5778         * toc.C:
5779         * tabular_funcs.h: tostr() from its own header
5780
5781         * ParagraphParameters.C:
5782         * ToolbarBackend.C:
5783         * bufferparams.C:
5784         * format.C:
5785         * lyxlex_pimpl.C:
5786         * text3.C: STRCONV()
5787
5788 2003-05-12  André Pönitz  <poenitz@gmx.net>
5789
5790         * BufferView.C:
5791         * BufferView_pimpl.C:
5792         * CutAndPaste.C:
5793         * LaTeX.C:
5794         * LaTeXFeatures.C:
5795         * ParagraphParameters.C:
5796         * buffer.C:
5797         * bufferlist.C:
5798         * bufferparams.C:
5799         * bufferview_funcs.C:
5800         * converter.C:
5801         * counters.C:
5802         * debug.C:
5803         * exporter.C:
5804         * format.C:
5805         * importer.C:
5806         * lyx_cb.C:
5807         * lyx_main.C:
5808         * lyxfont.C:
5809         * lyxfunc.C:
5810         * lyxvc.C:
5811         * paragraph.C:
5812         * paragraph_funcs.C:
5813         * tabular.C:
5814         * tabular_funcs.C:
5815         * text2.C:
5816         * text3.C:  boost::format -> bformat  all over the place
5817
5818
5819 2003-05-09  André Pönitz  <poenitz@gmx.net>
5820
5821         * LColor.[Ch]: Pimpl the #include <map> away
5822
5823 2003-05-09  John Levon  <levon@movementarian.org>
5824
5825         * bufferlist.C: never remove emergency saves
5826
5827 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5828
5829         * Makefile.am: better lib building
5830
5831 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
5832
5833         * texrow.[Ch]: remove dependency on Paragraph and just store a id
5834         instead.
5835         * paragraph_pimpl.C (simpleTeXBlanks): adjust
5836         (simpleTeXSpecialChars): adjust
5837         (simpleTeXSpecialChars): adjust
5838         * paragraph.C (simpleTeXOnePar): adjust
5839         * buffer.C (makeLaTeXFile): adjust
5840
5841         * Makefile.am (BOOST_LIBS): allow boost as system lib.
5842
5843         * text2.C (changeDepth): parlist cleanup
5844         (getColumnNearX): ditto
5845
5846         * rowpainter.C (getLabelFont): parlist cleanup
5847
5848         * bufferlist.C (newFile): parlist cleanup
5849
5850         * CutAndPaste.C (eraseSelection): parlist cleanup
5851
5852         * BufferView_pimpl.C (trackChanges): parlist cleanup
5853         (dispatch): ditto
5854
5855         * BufferView.C (lockInset): parlist cleanup.
5856         (ChangeInsets): ditto
5857
5858 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5859
5860         * CutAndPaste.h: Update file header.
5861
5862         * CutAndPaste.C: Update file header.
5863         Store the parts cut out of the Document in a limited_stack.
5864         (copySelection): adjust
5865         (pasteSelection): new function, takes the index in the limited stack.
5866         (nrOfParagraphs): adjust
5867         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5868         simplify error inset insertion.
5869         (checkPastePossible): adjust
5870
5871 2003-05-06  John Levon  <levon@movementarian.org>
5872
5873         * text2.C: don't cast wrap inset to float
5874
5875 2003-05-05  André Pönitz  <poenitz@gmx.net>
5876
5877         * iterator.C:
5878         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5879
5880         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5881           few naked Paragraph *.
5882
5883 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
5884
5885         * bufferparams.C: Output warning if a document with missing
5886         TeX document class is loaded
5887         * exporter.C: Disable TeX exports if the document class is missing
5888         * lyxtextclass.C:
5889         * lyxtextclass.h:
5890         * lyxtextclasslist.C: Handle new textclass.lst format; new method
5891         isTeXClassAvailable()
5892
5893 2003-05-03  John Levon  <levon@movementarian.org>
5894
5895         * BufferView.h:
5896         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5897         explicit cursor show/hide
5898
5899         * BufferView_pimpl.h:
5900         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5901         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5902
5903         * lyxfunc.C: hide cursor before dispatching.
5904
5905         * lyx_cb.C:
5906         * lyxfind.C:
5907         * text.C:
5908         * text3.C: remove explicit cursor hides
5909
5910 2003-05-02  André Pönitz  <poenitz@gmx.net>
5911
5912         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5913
5914         * undo_funcs.C:
5915         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5916           linked lists
5917
5918         * text2.C: tiny whitespace
5919
5920 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5921
5922         * undo_funcs.C: almost only ws changes.
5923
5924         * ParagraphList.C (splice): just return if pl is empty.
5925
5926 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5927
5928         * ParagraphList.C (splice): new function.
5929
5930         * CutAndPaste.C (pasteSelection): use it
5931
5932 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5933
5934         * CutAndPaste.C (pasteSelection): remove the last next and
5935         previous from this file.
5936
5937 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5938
5939         * CutAndPaste.C (pasteSelection): more clean up, user proper
5940         ParagraphList functions for pasteing.
5941
5942         * ParagraphList.C (insert): new function, three arg insert
5943
5944 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5945
5946         * ParagraphList.C (insert): new function, three arg insert
5947
5948         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5949         not on paragraphs.
5950
5951 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5952
5953         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5954
5955 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5956
5957         * CutAndPaste.C (pasteSelection): remove some unneeded code.
5958
5959 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5960
5961         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5962         (copySelection): clean up a bit.
5963         (pasteSelection): use make_pair
5964
5965         * ParagraphList.C (ParagraphList): implement copy constructor
5966         (operator=): implement, base on copy constructor.
5967         (assign): new func
5968
5969         * paragraph.C (erase): return a bool
5970
5971         * paragraph_pimpl.C (erasePos): remove function, move contents...
5972         (erase): ... here. Return a bool.
5973         (erase): call erase instead of erasePos.
5974
5975 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
5976
5977         * ParagraphList.h: define PitPosPair
5978         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5979         ParagraphList, fix a bug on pasting multiple pars
5980         * text2.C: change interface to C&P
5981
5982 2003-04-30  André Pönitz  <poenitz@gmx.net>
5983
5984         * undo_func.C: revert part of yesterday's patch 2
5985
5986 2003-04-30  John Levon  <levon@movementarian.org>
5987
5988         * LColor.C: s/tabular/table/
5989
5990 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5991
5992         * text3.C (dispatch): do not convert iterator -> pointer
5993         * undo_funcs.C (setCursorParUndo): ditto
5994         * text_funcs.C (transposeChars): ditto
5995
5996         * text2.C (setLayout): ws changes only
5997
5998         * text.C (breakParagraph): do not convert iterator -> pointer
5999         (insertChar): ditto
6000         (acceptChange): ditto
6001         (rejectChange): ditto
6002         (changeCase): ditto
6003         (Delete): ditto
6004         (backspace): ditto
6005
6006         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6007         pointer
6008
6009 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6010
6011         * text3.C (gotoInset): YABG (yet another bad getChar)
6012
6013 2003-04-29  André Pönitz  <poenitz@gmx.net>
6014
6015         * paragraph.h: make operator= private unimplemented as long as
6016           it is unusable
6017
6018         * ParagraphList.C: whitespace
6019
6020         * paragraph.[Ch]:
6021         * paragraph_pimpl.[Ch]:
6022         * paragraph_funcs.C:
6023         * CutAndPaste.C:
6024         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
6025
6026         * text2.C:
6027           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6028
6029 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6030
6031         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6032         * paragraph.[Ch] (erase):
6033         * paragraph_pimpl.[Ch] (erase): change return type and value
6034         * text2.C (cutSelection): some rework
6035
6036 2003-04-28  John Levon  <levon@movementarian.org>
6037
6038         * bufferlist.C: changes for unsaved changes dialog
6039
6040 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6041
6042         * bufferlist.C (newFile): set language (messages_) for new
6043         documents also.
6044
6045         * buffer.C (readFile): ws changes only.
6046
6047 2003-04-28  André Pönitz  <poenitz@gmx.net>
6048
6049         * undo_funcs.C:
6050         * lyxfunc.C:
6051         * buffer.[Ch]:
6052         * BufferView_pimpl.C:
6053         * BufferView.C: getParFromID related ParagraphList::iterator changes
6054
6055 2003-04-28  André Pönitz  <poenitz@gmx.net>
6056
6057         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6058           Changes
6059
6060 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6061
6062         * messages.C: remove one more localedir class variable.
6063
6064 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6065
6066         * messages.C (getLocaleDir): singleton generation function
6067         (Pimpl): use it.
6068         (Messages): add a default constructor.
6069
6070         * main.C (main): do not setup localedir here, do not call
6071         gettext_init.
6072
6073         * gettext.C (_): use it.
6074         (gettext_init): delete funciton
6075
6076 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6077
6078         * gettext.C (getLyXMessages): new singleton generating function.
6079
6080         * buffer.C (updateDocLang): adjust
6081
6082         * Makefile.am (messages.o): add target
6083         (main.o): remove target
6084
6085 2003-04-27  John Levon  <levon@movementarian.org>
6086
6087         * bufferlist.C:
6088         * lyx_cb.C:
6089         * lyxfunc.C:
6090         * lyxvc.C: specify cancel button in Alert::prompt
6091
6092 2003-04-26  John Levon  <levon@movementarian.org>
6093
6094         * text3.C:
6095         * lyxfunc.C:
6096         * lfuns.h:
6097         * LyXAction.C: add LFUN_INSET_SETTINGS
6098
6099         * lyxfunc.C: don't enable tabular-feature when there's
6100         just any locking inset
6101
6102 2003-04-26  John Levon  <levon@movementarian.org>
6103
6104         * bufferlist.C: re-add Cancel to buffer close question
6105
6106         * lyxfunc.C: fix import UI a bit
6107
6108 2003-04-25  John Levon  <levon@movementarian.org>
6109
6110         * gettext.C: remove the broken asserts for now
6111
6112 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6113
6114         * messages.C: make case where setlocale cannot comply work better.
6115
6116         * buffer.C (updateDocLang): new function
6117         (changeLanguage): use it
6118         (readFile): use it
6119
6120         * text2.C (setCounter): use B_ a bit.
6121
6122         * lyxlayout.C (Read): be sure to trim the label strings.
6123
6124         * messages.C (Messages): fix typo in comment
6125
6126         * buffer.C (readFile): set message_ after file is loaded.
6127         (makeDocBookFile): remove double return
6128         (changeLanguage): reset message_ upon language change.
6129         (B_): new func, use this to get translated buffer strings.
6130
6131         * main.C: add myself and Jean Marc as authors.
6132
6133 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6134
6135         * messages.[hC]: pimplify Messages, and three different pimpls to be
6136         used in different circumstances.
6137
6138         * gettext.[Ch]: change for use with new message code.
6139
6140 2003-04-24 André Pönitz <poenitz@gmx.net>
6141
6142         * factory.C: support for eqref
6143
6144 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6145
6146         * messages.[Ch]: add missing char
6147
6148         * Makefile.am (lyx_SOURCES): add messages.[Ch]
6149
6150         * messages.[Ch]: New files
6151
6152 2003-04-18  John Levon  <levon@movementarian.org>
6153
6154         * BufferView.h:
6155         * BufferView.C:
6156         * BufferView_pimpl.C:
6157         * lfuns.h:
6158         * LyXAction.C:
6159         * lyxtext.h:
6160         * text2.C: remove layout-copy/paste (bug 778)
6161
6162 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6163
6164         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6165
6166 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6167
6168         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6169         if they succeed. Act accordingly.
6170
6171 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6172
6173         * text2.C (setCharFont): adjust
6174         (setCounter): adjust
6175         (insertStringAsLines): adjust
6176
6177         * text.C (leftMargin): adjust
6178         (setHeightOfRow): adjust
6179
6180         * rowpainter.C (paintFirst): adjust
6181         (paintLast): adjust
6182
6183         * paragraph_funcs.C (depthHook): ParagraphList::iterators
6184         (outerHook): ditto
6185         (isFirstInSequence): ditto
6186         (getEndLabel): ditto
6187         (outerFont): adjust
6188
6189         * paragraph.C (getParLanguage): comment out some hard stuff.
6190
6191         * buffer.C (insertStringAsLines): take a ParagraphList as arg
6192         (sgmlError): ditto
6193         (simpleDocBookOnePar): ditto
6194         (makeDocBookFile): use ParagraphList::iterator
6195
6196         * CutAndPaste.C (pasteSelection): adjust
6197
6198 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6199
6200         * text2.C (getFont): adjust
6201         (getLayoutFont): adjust
6202         (getLabelFont): adjust
6203
6204         * paragraph_funcs.C (TeXOnePar): adjust
6205
6206         * buffer.C (simpleLinuxDocOnePar): adjust
6207         (simpleDocBookOnePar): adjust
6208
6209         * CutAndPaste.C (pasteSelection): adjust
6210
6211         * BufferView.C (getEncoding): adjust
6212
6213         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6214
6215 2003-04-16  John Levon  <levon@movementarian.org>
6216
6217         * lyxfind.C: use parlist stuff for search/changes
6218
6219 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6220
6221         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6222
6223         * text2.C (deleteEmptyParagraphMechanism): adjust
6224
6225         * text2.[Ch] (ownerParagraph): delete func (both of them
6226
6227 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6228
6229         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6230
6231 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6232
6233         * ParagraphList.C: prepare for NO_NEXT
6234
6235 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6236
6237         * text2.C (getFont): adjust
6238         (getLayoutFont): adjust
6239         (getLabelFont): adjust
6240
6241         * paragraph.C (getFont): adjust
6242         (getLabelFont): adjust
6243         (getLayoutFont): adjust
6244
6245         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6246
6247 2003-04-15  John Levon  <levon@movementarian.org>
6248
6249         From Angus Leeming
6250
6251         * lyx_main.C: handle Include in .ui files
6252
6253 2003-04-15  John Levon  <levon@movementarian.org>
6254
6255         * MenuBackend.C: make the doc files length shorter
6256
6257         * ToolbarBackend.h:
6258         * ToolbarBackend.C: handle toolbar placement flags,
6259         Minibuffer
6260
6261 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6262
6263         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6264         adjust
6265
6266         * paragraph_funcs.C (TeXOnePar): adjust
6267
6268         * paragraph.C (getLabelFont): add outerfont arg, adjust
6269         (getLayoutFont): ditto
6270         (simpleTeXOnePar): adjust
6271
6272         * paragraph_pimpl.C (realizeFont): delete func
6273
6274 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
6275
6276         * text2.C (beforeFullRowInset): added a bad getchar check, removed
6277         row argument, constify cur argument.
6278
6279 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6280
6281         * text2.C (getFont): adjust
6282         (getLayoutFont): adjust
6283         (getLabelFont): adjust
6284
6285         * paragraph_funcs.C (TeXOnePar): adjust
6286         (outerFont): new func...
6287         (realizeFont): ...moved out from here, changed this to facilitate
6288         transition
6289
6290         * paragraph.C (getFont): take outerfont as arg, adjust
6291         (simpleTeXOnePar): add outerfont arg, adjust
6292
6293         * buffer.C (simpleLinuxDocOnePar): adjust
6294         (simpleDocBookOnePar): adjust
6295
6296         * CutAndPaste.C (pasteSelection): adjust
6297
6298         * BufferView.C (getEncoding): adjust
6299
6300 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6301
6302         * text2.C (setCharFont): adjust
6303         (setCounter): adjust
6304
6305         * text.C (leftMargin): adjust
6306         (setHeightOfRow): adjust
6307
6308         * rowpainter.C (paintFirst): adjust
6309         (paintLast): adjust
6310
6311         * paragraph_pimpl.C (realizeFont): adjust
6312
6313         * paragraph.C (isFirstInSequence): move from here...
6314         * paragraph_funcs.C (isFirstInSequence): ...to here
6315
6316         * paragraph.C (outerHook): move from here...
6317         * paragraph_funcs.C (outerHook): ...to here
6318
6319         * paragraph.C (depthHook): move from here...
6320         * paragraph_funcs.C (depthHook): ...to here
6321
6322         * paragraph.C (getEndLabel): move from here...
6323         * paragraph_funcs.C (getEndLabel): ...to here
6324
6325         * text2.C (realizeFont): move from here...
6326         * paragraph_funcs.C (realizeFont): ...to here
6327
6328 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6329
6330         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6331
6332 2003-04-14  Angus Leeming  <leeming@lyx.org>
6333
6334         * LColor.[Ch]: scrap LColor mathcursor.
6335
6336 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6337
6338         * lyxlex.[Ch] (text): delete function
6339         * trans.C (Load): adjust
6340         * paragraph_funcs.C (readParToken): adjust
6341
6342 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6343
6344         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6345         vector<char> instead of a char[].
6346
6347         * lyxlex_pimpl.C (getString): adjust
6348         (next): adjust
6349         (lex): use getString
6350         (eatLine): adjust
6351         (nextToken): adjust
6352
6353         * lyxlex.C (text): use pimpl_->getString()
6354         (getBool): ditto
6355         (findToken): ditto
6356
6357 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6358
6359         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6360         (makeFontEntriesLayoutSpecific): temp var for par.size()
6361         (setLayout): temp var for ownerParagraphs().end()
6362         (fullRebreak): temp var for rows().end()
6363         (selectionAsString): temp var for boost::next(startpit), realize
6364         that the while really is a regular for loop.
6365         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6366         setCursor in one place.
6367         (setParagraph): temp vr for ownerParagraphs().end()
6368         (updateCounters): make the while loop a for loop
6369         (cutSelection): temp var for ownerParagraphs().end()
6370         (updateInset): make the do {} while() a regular for loop
6371         (getCursorX): use temp vars
6372         (setCurrentFont): use temp vars
6373         (getColumnNearX): use temp vars
6374
6375 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6376
6377         * text.C (transformChar): use temp var for getChar
6378         (computeBidiTables): use temp var for row->par()
6379         (fill): move temp vars for row->par() and pit->layout() earlier in
6380         the function.
6381         (labelFill): use temp var for row->par()
6382         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6383         asc and desc, realize that pit never changes and that firstpit is
6384         just a duplicate and not needed. Exchange rit->par() with pit in a
6385         lot of places.
6386         (breakAgain): use a temp var for boost::next(rit)
6387         (breakAgainOneRow): ditto
6388         (breakParagraph): use a temp var for rows().begin()
6389         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6390         (cursorRightOneWord): use temp var for cursor.par() and
6391         cursor.pos(), remove usage of tmpcursor.
6392         (cursorLeftOneWord): use temp var for cursor.par() and
6393         cursor.pos() only set cur at end of function.
6394
6395 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6396
6397         * text.C, text2.C: exchange all usage of Paragraph::next with
6398         boost::next(ParagraphList::iterator)
6399
6400         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6401
6402         * text2.C (cursorTop): simplify implementation
6403         (cursorBottom): ditto
6404         (setParagraph): use ParagraphList::iterator
6405         (setCurrentFont): adjust
6406         (getColumnNearX): adjust
6407         (cursorRight): adjust
6408         (cursorLeft): remove usage of Paragraph::previous
6409         (cursorUpParagraph): ditto
6410         (deleteEmptyParagraphMechanism): slight cleanup
6411
6412         * text.C (isBoundary): take a Paragraph const & instead of a
6413         pointer as arg.
6414         (addressBreakPoint): ditto
6415         (leftMargin): remove usage of Paragraph::previous.
6416         (setHeightOfRow): ditto
6417         (cursorLeftOneWord): ditto
6418         (selectNextWordToSpellcheck): ditto
6419         (Delete): ditto
6420         (backspace): ditto
6421         (breakParagraph): remove one usage of Paragraph::next
6422         (redoParagraph): ditto
6423         (acceptChange): ditto
6424         (insertChar): adjust
6425         (rowBreakPoint): adjust
6426
6427         * bufferview_funcs.C (toggleAndShow): adjust
6428
6429 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
6430
6431         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6432         methods to access it.
6433         * lyxtext.h:
6434         * text.C: Added updateRowPositions to compute all row positions.
6435         Make top_y and getRowNearY() to use the cached y position
6436
6437 2003-04-11  John Levon  <levon@movementarian.org>
6438
6439         * text.C (rowBreakPoint): reintroduce the labelEnd
6440         checks, code copied from the row fill stuff. Deep voodoo.
6441
6442         * text.C (fill): add a comment and debugging for the
6443         next poor soul.
6444
6445 2003-04-11  John Levon  <levon@movementarian.org>
6446
6447         * text.C: make sure fullrow insets get wrapped to the next line,
6448         even when they're in a manual label
6449
6450 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6451
6452         * text2.C (insertParagraph): make it take ParagraphList::iterator
6453         as arg.
6454         (setLayout): make it return ParagraphList::iterator
6455         (redoParagraphs): ditto
6456         (setCounter): ditto
6457         (checkParagraph): ditto
6458
6459         * text.C (getRow): make getrow take ParagraphList::iterator as arg
6460
6461         * text2.C: adjust several funcs.
6462         (realizeFont): take a ParagraphList::iterator as arg.
6463         (getLayoutFont): ditto
6464         (getLabelFont): ditto
6465         (setCharFont): ditto
6466
6467         * text.C: adjust several funcs.
6468
6469 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6470
6471         * text.C (selectNextWordToSpellcheck): don't accidentally
6472         skip insets
6473
6474 2003-04-10  John Levon  <levon@movementarian.org>
6475
6476         * ToolbarBackend.C (getIcon): special handling for
6477         LFUN_MATH_DELIM
6478
6479 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6480
6481         * text2.C (cursorRight): a getChar assert fixed
6482
6483 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6484
6485         * text2.C (getFont): change to take a ParagraphList::iterator
6486         instead of Paragraph*
6487         Adjust several functions.
6488
6489         * text.C (transformChar): change to take a ParagraphList::iterator
6490         instead of Paragraph*
6491         (singleWidth): ditto
6492         Adjust several functions.
6493
6494         * rowpainter.C: adjust several functions
6495         * rowpainter.h:store a ParagraphList::iterator and not a
6496         Paragraph&.
6497
6498
6499 2003-04-09  John Levon  <levon@movementarian.org>
6500
6501         * lyxfunc.C:
6502         * lfuns.h:
6503         * LyXAction.h:
6504         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6505         and the "help" bits as well
6506
6507 2003-04-09  John Levon  <levon@movementarian.org>
6508
6509         * ToolbarBackend.h:
6510         * ToolbarBackend.C: allow multiple toolbars
6511
6512 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6513
6514         * undo_funcs.C (setCursorParUndo): adjust
6515
6516         * text_funcs.C (transposeChars): adjust
6517
6518         * text3.C (gotoNextInset): adjust
6519         (dispatch): adjust
6520
6521         * text2.C (setLayout): adjust
6522         (changeDepth): adjust
6523         (setFont): adjust
6524         (redoParagraphs): adjust
6525         (selectionAsString): adjust
6526         (setParagraph): adjust
6527         (insertInset): adjust
6528         (cutSelection): adjust
6529         (copySelection): adjust
6530         (pasteSelection): adjust
6531         (insertStringAsLines): adjust
6532         (updateInset): adjust
6533         (setCursor): change to take a ParagraphList::iterator parameter
6534         (setCursorIntern): change to take a ParagraphList::iterator parameter
6535         (setCurrentFont): adjust
6536         (cursorLeft): adjust
6537         (cursorRight): adjust
6538         (deleteEmptyParagraphMechanism): adjust
6539
6540         * text.C (breakParagraph): adjust
6541         (insertChar): adjust
6542         (acceptChange): adjust
6543         (rejectChange): adjust
6544         (selectNextWordToSpellcheck): adjust
6545         (changeCase): adjust
6546         (Delete): adjust
6547         (backspace): adjust
6548
6549         * lyxfind.C (SearchForward): adjust
6550         (SearchBackward): adjust
6551         (nextChange): adjust
6552
6553         * lyxcursor.C (par): adjust
6554
6555         * lyxcursor.h: store a ParagraphList::iterator instead of a
6556         Paragraph*
6557
6558         * lyx_cb.C (getPossibleLabel): adjust
6559
6560         * bufferview_funcs.C (toggleAndShow): adjust
6561
6562         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6563         (dispatch): adjust
6564
6565         * BufferView.C (removeAutoInsets): adjust
6566         (lockedInsetStoreUndo): adjust
6567
6568 2003-04-09  John Levon  <levon@movementarian.org>
6569
6570         * ToolbarBackend.C: try icon without argument
6571         if with argument fails
6572
6573 2003-04-08  John Levon  <levon@movementarian.org>
6574
6575         * ToolbarBackend.h:
6576         * ToolbarBackend.C: add getIcon(), handle tooltip,
6577         and change from "Icon" to "Item".
6578
6579 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6580
6581         * BufferView.C (lockInset): another bad getchar crunched
6582
6583 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6584
6585         * text2.C (changeDepth): do not setUndo on test_only (make undo work
6586         again)
6587
6588 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
6589
6590         * lyxfind.C (searchForward, searchBackwards): bug 782
6591
6592 2003-04-07  John Levon  <levon@movementarian.org>
6593
6594         * paragraph.C: remove dead comment
6595
6596         * text.C: remove troublesome depth-fiddling code
6597         in leftMargin() and rightMargin() (bug 1017)
6598
6599         * text.C: fix breaking of rows in nested lists
6600         (bug 1004)
6601
6602         * text2.C (updateCounters): fix up depth values
6603         (bug 1013)
6604
6605 2003-04-07  John Levon  <levon@movementarian.org>
6606
6607         * BufferView_pimpl.C: clear message when doc finishes resizing,
6608         and after a mouse event
6609
6610         * lyxfunc.C: clear message after exiting inset
6611
6612 2003-04-07  John Levon  <levon@movementarian.org>
6613
6614         * bufferview_funcs.C: show math status not outside
6615         status in the statusbar
6616
6617 2003-04-07  John Levon  <levon@movementarian.org>
6618
6619         * lyxfunc.C: note status changed after a depth change
6620
6621 2003-04-04  Angus Leeming  <leeming@lyx.org>
6622
6623         * LaTeX.h: move AuxInfo operator==, != out of line.
6624         Remove LaTeX virtual destructor; nothing derives from it.
6625         Move operator()() out of public area and rename it startscript().
6626         Change protected for private.
6627
6628 2003-04-04  Angus Leeming  <leeming@lyx.org>
6629
6630         * lyxfunc.C:
6631         * text2.C: remove unneeded #includes.
6632
6633 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6634
6635         * text2.C (dEPM): fix the heigth of the next row
6636
6637 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6638
6639         * text.C: squashed an invalid getChar requester + some ws changes
6640
6641 2003-04-03  John Levon  <levon@movementarian.org>
6642
6643         * bufferview_funcs.h:
6644         * bufferview_funcs.C:
6645         * lyxfunc.C:
6646         * lyxtext.h:
6647         * text2.C: make getStatus work for the env depth lfuns
6648
6649 2003-04-03  John Levon  <levon@movementarian.org>
6650
6651         * bufferview_funcs.h:
6652         * bufferview_funcs.C:
6653         * lyxfunc.C:
6654         * lyxtext.h:
6655         * text2.C: parlistize decDepth(), by merging it with incDepth()
6656
6657 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6658
6659         * lyxrow.h: store a ParagraphList::iterator instead of a
6660         Paragraph* and adjust other class functions to suit.
6661
6662         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6663         above.
6664
6665 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6666
6667         * text2.C (setCursor): do not anchor to cursor row for the time being
6668
6669 2003-04-02  John Levon  <levon@movementarian.org>
6670
6671         * LyXAction.C:
6672         * lfuns.h:
6673         * lyx_main.C:
6674         * lyxtext.h:
6675         * text.C:
6676         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6677
6678 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6679
6680         * paragraph.h: make ParagraphList and ParagraphList::iterator
6681         friends of Paragraph.
6682
6683         * buffer.C (makeLinuxDocFile): move towards ParagraphList
6684
6685         * ParagraphList.C: Use the private next_ and previous_ from
6686         Paragraph.
6687
6688 2003-04-01  John Levon  <levon@movementarian.org>
6689
6690         * ToolbarBackend.h:
6691         * ToolbarBackend.C:
6692         * Makefile.am: rename, remove defaults gunk
6693
6694         * MenuBackend.h:
6695         * MenuBackend.C: remove defaults gunk
6696
6697         * Languages.h:
6698         * Languages.C: remove defaults gunk
6699
6700         * lyx_main.h:
6701         * lyx_main.C: error out if files couldn't be found.
6702
6703 2003-04-02  John Levon  <levon@movementarian.org>
6704
6705         * text2.C: make incDepth() use parlist
6706
6707 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6708
6709         * undo_funcs.C (firstUndoParagraph): adjust
6710
6711         * text3.C (gotoInset): adjust
6712         (dispatch): adjust, and rewrite loop.
6713
6714         * text2.C (init): adjust, and rewrite loop.
6715         (redoParagraphs): adjust
6716         (updateInset): adjust, and rewrite loop.
6717         (deleteEmptyParagraphMechanism): adjust
6718
6719         * tabular.C (LyXTabular): adjust
6720         (SetMultiColumn): adjust
6721         (TeXRow): adjust
6722
6723         * lyxtext.[Ch] (ownerParagraph): delete function
6724         (ownerParagraphs): new function returns a ParagraphList.
6725
6726         * BufferView.C (removeAutoInsets): adjust
6727         (insertErrors): adjust
6728         (setCursorFromRow): adjust
6729
6730 2003-04-01  Angus Leeming  <leeming@lyx.org>
6731
6732         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6733         in the frontends.
6734
6735 2003-04-02  John Levon  <levon@movementarian.org>
6736
6737         * lyxtext.h:
6738         * text.C:
6739         * Makefile.am:
6740         * text_funcs.h:
6741         * text_funcs.C: make transposeChars a free function
6742
6743         * lyxrow_funcs.C: remove wrong comment
6744
6745 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6746
6747         * lyxtext.h: adjust
6748         * rowpainter.C: adjust
6749         * text.C: adjust
6750         * text2.C: adjust
6751         * text3.C: adjust
6752
6753         * lyxrow_funcs. [Ch]: new files
6754
6755         * lyxrow.[Ch]: remove next and previous pointers
6756         (next,previous): remove accessor functions
6757         (isParEnd): move to lyxrow_funcs
6758         (lastPos): move to lyxrow_funcs
6759         (nextRowIsAllInset): move to lyxrow_funcs
6760         (lastPrintablePos): move to lyxrow_funcs
6761         (numberOfSeparators): move to lyxrow_funcs
6762         (numberOfHfills): move to lyxrow_funcs
6763         (numberOfLabelHfills): move to lyxrow_funcs
6764         (hfillExpansion): move to lyxrow_funcs
6765
6766         * lyxfunc.C: adjust
6767
6768         * bufferview_funcs.C (toggleAndShow): adjust
6769
6770         * RowList.h: Remove class RowList from file leave just a
6771         std::list<Row>.
6772
6773         * RowList.C: delete file
6774
6775         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6776         and lyxrow_funcs.h
6777
6778 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6779
6780         * text3.C (cursorPrevious): adjust
6781         (cursorNext): adjust
6782         (dispatch): adjust
6783
6784         * text2.C (redoHeightOfParagraph): adjust
6785         (redoDrawingOfParagraph): adjust
6786         (setCursor): adjust
6787
6788         * text.C (breakParagraph): adjust
6789         (insertChar): adjust
6790         (backspace): adjust
6791
6792         * rowpainter.C (RowPainter): adjust
6793         (leftMargin): simplify and adjust
6794         (most rowpainter functions): adjust.
6795
6796         * rowpainter.h: store the row as RowList::iterator not as Row*
6797
6798         * lyxcursor.C (row): taka RowList::iterator as arg
6799         (irow): ditto
6800
6801         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6802         of Row*.
6803
6804 2003-04-01  Angus Leeming  <leeming@lyx.org>
6805
6806         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6807         stuff like bool Bool.
6808
6809 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6810
6811         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6812         rewrite a loop
6813
6814 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6815
6816         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6817         RowList::iterator.
6818
6819         * lyxtext.h (rows): drop one version and leve a const variant that
6820         returns a RowList::iterator.
6821
6822 2003-03-31  Angus Leeming  <leeming@lyx.org>
6823
6824         * text.C (fill): ensure that the signature is the same as that in the
6825         header file.
6826
6827 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
6828
6829         * text2.C (redoParagraphs): adjust
6830         (updateCounters): adjust
6831         (checkParagraph): adjust
6832         (getColumnNearX): adjust and reformat a bit.
6833
6834         * text.C (top_y): adjust
6835         (workWidth): adjust
6836         (leftMargin): adjust
6837         (prepareToPrint): adjust
6838         (getRow): adjust
6839         (getRowNearY): adjust
6840
6841         * lyxtext.h: make rowlist_ mutable.
6842
6843         * RowList.h: add const_iterator
6844         * RowList.C: adjust for RowList::const_iterator.
6845
6846         * text2.C (getCursorX): make it take a RowList::iterator as arg,
6847         adjust.
6848
6849 2003-03-31  John Levon  <levon@movementarian.org>
6850
6851         * lyxrc.h:
6852         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6853
6854         * lyx_main.C: set default fonts from using lyx_gui funcs
6855
6856         * exporter.C: pdf_mode moved from lyxrc
6857
6858         * lyx_cb.C:
6859         * lyxfunc.C: changes from above
6860
6861 2003-03-31  John Levon  <levon@movementarian.org>
6862
6863         * lyx_main.C: fix to the last fix
6864
6865 2003-03-31  John Levon  <levon@movementarian.org>
6866
6867         * bufferlist.C: "Load original" -> "Load Original"
6868
6869         * converter.C:
6870         * exporter.C:
6871         * importer.C:
6872         * lyx_main.C:
6873         * format.C: more Alert cleanups
6874
6875 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6876
6877         * text2.C (removeParagraph): make it take a RowList::iterator as
6878         arg, adjust.
6879         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6880         (postRowPaint): make it take a RowList::iterator as arg, adjust.
6881
6882         * text.C (anchor_row): make it take a RowList::iterator as arg,
6883         adjust.
6884         (computeBidiTables): make it take a const reference to Row instead
6885         of Row pointer, adjust.
6886         (leftMargin): make it take a RowList::iterator as arg, adjust.
6887         (rowBreakPoint): adjust
6888         (breakAgainOneRow): make it take a RowList::iterator as arg,
6889         adjust.
6890         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6891
6892         * bufferview_funcs.C (toggleAndShow): adjust
6893
6894 2003-03-30  John Levon  <levon@movementarian.org>
6895
6896         * Makefile.am:
6897         * BoostFormat.h:
6898         * boost-inst.C: moved to support
6899
6900         * several files: changes as a result
6901
6902 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6903
6904         * text2.C (LyXText): adjust.
6905         (init): adjust
6906         (removeRow): make it take a RowList::iterator as arg, adjust.
6907         (fullRebreak): adjust
6908         (deleteEmptyParagraphMechanism): adjust
6909         (clearPaint): adjust
6910         (postPaint): adjust
6911
6912         * text.C (top_y): adjust
6913         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6914         (breakAgain): make it take a RowList::iterator as arg, adjust.
6915         (breakParagraph): adjust
6916         (insertChar): adjust
6917         (backspace): adjust
6918
6919         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6920         need_break_row, and refresh_row.
6921
6922         * text3.C (dispatch): adjust
6923
6924         * text2.C (checkParagraph): adjust
6925         (setCursor): adjust
6926         (setCursorFromCoordinates): adjust
6927
6928         * text.C (top_y): adjust
6929         (workWidth): adjust
6930         (getRow): make it return a RowList::iterator, adjust
6931         (getRowNearY): make it return a RowList::iterator, adjust
6932
6933         * text2.C (init): adjust
6934         (insertRow): remove function
6935         (insertParagraph): adjust
6936         (redoParagraphs): adjust
6937         (fullRebreak): adjust
6938         (updateCounters): adjust
6939
6940         * text.C (top_y): rewrite to use RowList iterators.
6941         (top_y): adjust
6942         (setHeightOfRow): rewrite to sue RowList iterators.
6943         (appendParagraph): adjust
6944         (breakAgain): adjust
6945         (breakAgainOneRow): adjust
6946         (breakParagraph): adjust
6947         (getRow): adjust
6948         (getRowNearY): adjust, and remove commented code.
6949
6950         * lyxtext.h (firstRow): delete function
6951         (lastRow): delete function
6952         (rows): new function (const and non-const versions.)
6953         (insertRow): delete function
6954
6955         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6956
6957 2003-03-29  John Levon  <levon@movementarian.org>
6958
6959         * BufferView_pimpl.C: always update scrollbar top
6960         because pasting text when we're anchored could mean we
6961         miss an update altogether
6962
6963 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6964
6965         * text2.C (init): use rowlist_.end() and not 0.
6966         (insertRow): change to take a RowList::iterator as arg, adjust
6967         for this.
6968         (insertParagraph): change to take a RowList::iterator as arg,
6969         adjust for this.
6970         (redoParagraphs): remove some debug msgs.
6971
6972         * text.C (appendParagraph): change to take a RowList::iterator
6973         arg, adjust for this.
6974         (breakAgain): add an assert
6975         (breakAgainOneRow): ditto
6976
6977 2003-03-29  John Levon  <levon@movementarian.org>
6978
6979         * text2.C: do not clear selection after inc/decDepth
6980         (bug 550)
6981
6982 2003-03-29  John Levon  <levon@movementarian.org>
6983
6984         * BufferView.C:
6985         * buffer.C: fix broken strerrors according to Lars
6986
6987 2003-03-29  John Levon  <levon@movementarian.org>
6988
6989         * converters.C: more Alert cleanups
6990
6991 2003-03-29  John Levon  <levon@movementarian.org>
6992
6993         * bufferview_funcs.C: remove pointless Alert
6994
6995         * buffer.C: fix confusing error message when
6996         a template is chmoded 000
6997
6998 2003-03-29  John Levon  <levon@movementarian.org>
6999
7000         * BufferView.C:
7001         * BufferView.h:
7002         * BufferView_pimpl.C: Alert fixes
7003
7004         * Makefile.am:
7005         * tabular.C:
7006         * tabular-old.C: remove unused table compat reading
7007
7008 2003-03-29  John Levon  <levon@movementarian.org>
7009
7010         * BufferView.C:
7011         * buffer.C:
7012         * lyx_cb.h:
7013         * lyx_cb.C: more Alert cleanups
7014
7015         * lyxfunc.C: don't allow chktex if not latex document
7016
7017 2003-03-29  John Levon  <levon@movementarian.org>
7018
7019         * lyx_cb.C:
7020         * BufferView.C:
7021         * buffer.C: warnings pushed down from support/,
7022         kill err_alert
7023
7024 2003-03-29  John Levon  <levon@movementarian.org>
7025
7026         * lyxfunc.C: safety check for C-r (revert)
7027
7028 2003-03-29  John Levon  <levon@movementarian.org>
7029
7030         * bufferlist.h:
7031         * bufferlist.C: several UI fixes using Alert::prompt.
7032         Fix the pointless looping quit code. Fix stupid revert
7033         behaviour (bug 938)
7034
7035         * lyxvc.h:
7036         * lyxvc.C:
7037         * lyx_cb.C: use Alert::prompt
7038
7039         * lyx_main.C: remove a silly question
7040
7041         * lyxfunc.C: remove a couple of silly questions,
7042         use Alert::prompt
7043
7044 2003-03-28  John Levon  <levon@movementarian.org>
7045
7046         * text2.C: fix bug 974 (End on empty par)
7047
7048 2003-03-28  John Levon  <levon@movementarian.org>
7049
7050         * BufferView_pimpl.C:
7051         * LyXAction.C:
7052         * lfuns.h: remove do-nothing math greek lfuns
7053
7054 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7055
7056         * lyxgluelength.h (isValidGlueLength): add default arg on
7057         parameter 2. Remove default arg from friend in class.
7058
7059         * lyxlength.h (isValidLength): add default arg on parameter 2.
7060         Remove default arg from friend in class.
7061
7062         * text2.C (LyXText): adjust, initialize refresh_row.
7063         (init): adjust
7064         (removeRow): adjust
7065         (insertRow): adjust
7066         (insertParagraph): adjst
7067         (redoParagraphs): adjust
7068         (fullRebreak): adjust
7069         (updateCounters): adjust
7070         (deleteEmptyParagraphMechanism): first attempt at fixing a
7071         crashing bug.
7072
7073         * text.C (top_y): adjust
7074         (setHeightOfRow): adjust
7075         (getRow): adjust
7076         (getRowNearY): adjust
7077
7078         * lyxtext.h: include RowList.h
7079         (~LyXText): not needed anymore, deleted.
7080         (firstRow): modify for RowList
7081         (lastRow): new function
7082         Delete firstrow and lastrow class variables, add a Rowlist
7083         rowlist_ class variable.
7084
7085         * lyxrow.C (lastPos): use empty() and not !size() to check if a
7086         paragraph is empty.
7087
7088         * RowList.C (insert): fix case where it == begin().
7089
7090 2003-03-26  Angus Leeming  <leeming@lyx.org>
7091
7092         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7093         the thesaurus dialog.
7094
7095 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7096
7097         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7098
7099         * RowList.[Ch]: new files
7100
7101         * ParagraphList.C (erase): handle the case where it == begin
7102         correctly.
7103
7104 2003-03-25  John Levon  <levon@movementarian.org>
7105
7106         * Makefile.am:
7107         * aspell_local.h:
7108         * aspell.C: add new aspell support
7109
7110         * lyxrc.h:
7111         * lyxrc.C: Make use_pspell be use_spell_lib. Always
7112         have it accessible.
7113
7114 2003-03-25  Angus Leeming  <leeming@lyx.org>
7115
7116         * lfuns.h:
7117         * LyXAction.C (init): new LFUN_INSET_INSERT.
7118
7119         * BufferView_pimpl.C (dispatch): split out part of the
7120         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7121
7122         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7123         LFUN_INSET_APPLY.
7124
7125 2003-03-25  Angus Leeming  <leeming@lyx.org>
7126
7127         * lyxfunc.C (dispatch): changes to the Dialogs interface.
7128
7129 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
7130
7131         * text2.C:
7132         * text3.C: remove useless row->height(0)
7133
7134 2003-03-25  John Levon  <levon@movementarian.org>
7135
7136         * lyxtext.h:
7137         * text2.C:
7138         * text3.C: rename the refreshing stuff to better names
7139
7140 2003-03-24  John Levon  <levon@movementarian.org>
7141
7142         * BufferView_pimpl.h:
7143         * BufferView_pimpl.C: update layout choice on a mouse
7144         press/release
7145
7146 2003-03-23  John Levon  <levon@movementarian.org>
7147
7148         * Makefile.am: fix commandtags.h reference
7149
7150 2003-03-22  John Levon  <levon@movementarian.org>
7151
7152         * BufferView_pimpl.C:
7153         * lyxtext.h:
7154         * rowpainter.C:
7155         * rowpainter.h:
7156         * text.C:
7157         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7158
7159 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
7160
7161         * lyxtext.h:
7162         * text.C: take the rtl methods out of line
7163
7164 2003-03-21 André Pönitz <poenitz@gmx.net>
7165
7166         * metricsinfo.[Ch]: new files containing structures to be passed around
7167         during the two-phase-drawing...
7168
7169 2003-03-21 André Pönitz <poenitz@gmx.net>
7170
7171         * lyxtextclass.C: read 'environment' tag.
7172
7173 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
7174
7175         * text2.C (removeRow): fix bug 964
7176
7177 2003-03-20  John Levon  <levon@movementarian.org>
7178
7179         * rowpainter.C:
7180         * text.C:
7181         * text2.C: paint cleanups. Inset::update() dropped font
7182         parameter
7183
7184 2003-03-19  John Levon  <levon@movementarian.org>
7185
7186         * lyxfunc.C: only fitcursor/markDirty if available()
7187
7188 2003-03-19  John Levon  <levon@movementarian.org>
7189
7190         * commandtags.h: rename to ...
7191
7192         * lfuns.h: ... this, and renumber / cleanup
7193
7194 2003-03-19  John Levon  <levon@movementarian.org>
7195
7196         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7197         fit the cursor after an lfun
7198
7199         * BufferView.h:
7200         * BufferView.C:
7201         * BufferView_pimpl.h:
7202         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7203
7204         * LyXAction.C: layout-character should have ReadOnly
7205
7206         * ParagraphParameters.C:
7207         * buffer.C:
7208         * bufferview_funcs.C:
7209         * lyx_cb.C:
7210         * lyxfind.C:
7211         * lyxtext.h:
7212         * text.C:
7213         * text2.C:
7214         * text3.C:
7215         * undo_funcs.C: changes from above
7216
7217 2003-03-18  John Levon  <levon@movementarian.org>
7218
7219         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7220         remove it from update()
7221
7222         * lyxfunc.C: update layout choice after an lfun
7223
7224         * text3.C: remove extra updateLayoutChoice()s
7225
7226 2003-03-18  John Levon  <levon@movementarian.org>
7227
7228         * text.C: top_y change means full repaint, fix
7229         a drawing bug with cursor movement
7230
7231 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7232
7233         * lyxtext.h:
7234         * text.C:
7235         * text2.C: anchor row on setCursor
7236
7237 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7238
7239         * lyxtext.h: remove almost all mutable keywords
7240         * text.C:
7241         * text2.C:
7242         * text3.C: remove const keywords accordingly
7243
7244 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7245
7246         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7247         anon namespace
7248         (TeXEnvironment): ditto
7249         (TeXOnePar): ditto
7250
7251 2003-03-17  John Levon  <levon@movementarian.org>
7252
7253         * text.C (rowBreakPoint): remove attempt to fix displayed
7254         math insets inside a manual label
7255
7256 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7257
7258         * lyxtext.h: remove BufferView* as first arg from almost all class
7259         functions.
7260         * other files: adjust.
7261
7262 2003-03-17  John Levon  <levon@movementarian.org>
7263
7264         * lyxtext.h:
7265         * undo_funcs.C:
7266         * text2.C: more paint cleanups
7267
7268         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7269
7270         * rowpainter.h:
7271         * rowpainter.C: remove "smart" background painting code
7272
7273 2003-03-16  John Levon  <levon@movementarian.org>
7274
7275         * lyxtext.h:
7276         * text.C:
7277         * text2.C:
7278         * text3.C: add helper functions for setting refresh_row/y
7279
7280 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
7281
7282         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7283         newline inset which *can* get inserted in the pass_thru layouts.
7284         This is primarily for literate documents.
7285
7286 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
7287
7288         * buffer.C: increment LYX_FORMAT to 223
7289
7290 2003-03-14 André Pönitz <poenitz@gmx.net>
7291
7292         * textclass.h: prepare for environment handling, ws changes
7293         * lyxlayout.C: read latexheader and latexfooter tags
7294
7295 2003-03-14  John Levon  <levon@movementarian.org>
7296
7297         * text2.C: rewrite ::status() a bit
7298
7299 2003-03-13  John Levon  <levon@movementarian.org>
7300
7301         * lyxtext.h: add some docs
7302
7303 2003-03-13  John Levon  <levon@movementarian.org>
7304
7305         * lyxtext.h:
7306         * text.C:
7307         * text2.C:
7308         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7309
7310 2003-03-13  John Levon  <levon@movementarian.org>
7311
7312         * text3.C: fix appendix redrawing
7313
7314 2003-03-13  John Levon  <levon@movementarian.org>
7315
7316         * text.C (setHeightOfRow):
7317         * rowpainter.h:
7318         * rowpainter.C: make appendix mark have the text
7319           "Appendix" so the user knows what it is
7320
7321         * LColor.h:
7322         * LColor.C: s/appendixline/appendix/ from above
7323
7324 2003-03-13  John Levon  <levon@movementarian.org>
7325
7326         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7327
7328         * text.C: fix a getChar(pos) bug properly
7329
7330 2003-03-13  Angus Leeming  <leeming@lyx.org>
7331
7332         * commandtags.h:
7333         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7334         Probably only temporary. Let's see how things pan out.
7335
7336         * BufferView.C (unlockInset):
7337         * BufferView_pimpl.C (fitCursor):
7338         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7339
7340         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7341         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7342
7343         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7344         new functions that convert ParagraphParameters to and from a string.
7345
7346         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7347         BufferView::Pimpl's dispatch.
7348         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7349
7350 2003-03-13 André Pönitz <poenitz@gmx.net>
7351
7352         * lyxfunc.C:
7353         * text3.C:
7354         * factory.C: make it aware of InsetEnv
7355
7356 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7357
7358         * text2.C (setCursor): never ask for one past last
7359         (setCursor): add some debugging messages.
7360
7361         * text.C (singleWidth): never ask for one past last
7362         (singleWidth): ditto
7363         (leftMargin): ditto
7364         (rightMargin): ditto
7365         (rowBreakPoint): ditto
7366         (setHeightOfRow): ditto
7367         (prepareToPrint): ditto
7368
7369         * rowpainter.C (paintBackground): never ask for one past last
7370         (paintText): never ask for one past last
7371
7372         * paragraph_pimpl.C (getChar): make the assert stricter, never
7373         allow the one past last pos to be taken
7374
7375         * paragraph.C (getChar): ws changes only
7376
7377         * lyxrow.C (nextRowIsAllInset): never ask for one past last
7378         (numberOfSeparators): ditto
7379         (numberOfHfills): ditto
7380
7381 2003-03-12  John Levon  <levon@movementarian.org>
7382
7383         * author.h:
7384         * author.C:
7385         * bufferparams.h:
7386         * bufferparams.C:
7387         * paragraph_funcs.C: fix per-buffer authorlists
7388
7389 2003-03-12  John Levon  <levon@movementarian.org>
7390
7391         * text.C: fix newline in right address
7392
7393 2003-03-12  Angus Leeming  <leeming@lyx.org>
7394
7395         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7396         duplicate those in LyXFunc::dispatch.
7397
7398         * commandtags.h:
7399         * LyXAction.C:
7400         * ToolbarDefaults.C:
7401         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7402         Add LFUN_FONTFREE_UPDATE.
7403
7404         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7405         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7406
7407         * bufferview_func.[Ch]: several new functions to facilliate
7408         transfer of data to and from the character dialog.
7409
7410 2003-03-12  John Levon  <levon@movementarian.org>
7411
7412         * buffer.C:
7413         * paragraph.h:
7414         * paragraph.C:
7415         * paragraph_funcs.C:
7416         * paragraph_pimpl.C:
7417         * sgml.C:
7418         * tabular.C:
7419         * text.C:
7420         * text3.C: remove META_NEWLINE in favour of an inset
7421
7422         * rowpainter.h:
7423         * rowpainter.C: remove paintNewline (done by inset)
7424
7425 2003-03-12  John Levon  <levon@movementarian.org>
7426
7427         * paragraph_pimpl.C: complain about bad getChar()s
7428         for a while at least
7429
7430 2003-03-12  John Levon  <levon@movementarian.org>
7431
7432         * buffer.h:
7433         * buffer.C: move paragraph read into a separate function,
7434         a little renaming to reflect that.
7435
7436         * bufferparams.h:
7437         * bufferparams.C: remove the author_ids map, not necessary now
7438
7439         * factory.h:
7440         * factory.C: moved Buffer::readInset to here
7441
7442         * paragraph_funcs.h:
7443         * paragraph_funcs.C: readParagraph free function moved from
7444         buffer.C
7445
7446         * tabular.C: name change
7447
7448 2003-03-12  John Levon  <levon@movementarian.org>
7449
7450         * buffer.C:
7451         * ParagraphParameters.C: move par params input to
7452         a read() method
7453
7454         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7455         behave like a normal read from the stream wrt reading
7456         a line vs. a \\token
7457
7458 2003-03-12  John Levon  <levon@movementarian.org>
7459
7460         * paragraph.C:
7461         * ParagraphParameters.h:
7462         * ParagraphParameters.C: move output code to a
7463         ::write() method
7464
7465 2003-03-12  John Levon  <levon@movementarian.org>
7466
7467         * BufferView.C (insertLyXFile):
7468         * buffer.h:
7469         * buffer.C:
7470         * tabular.C: use a parlist iterator for creating the
7471           document.
7472
7473 2003-03-12  John Levon  <levon@movementarian.org>
7474
7475         * buffer.C: make current_change static local not
7476           static file-scope
7477
7478 2003-03-12  John Levon  <levon@movementarian.org>
7479
7480         * buffer.C: fix insertStringAsLines for change tracking
7481
7482 2003-03-12  John Levon  <levon@movementarian.org>
7483
7484         * BufferView.C:
7485         * tabular.C:
7486         * buffer.h:
7487         * buffer.C:
7488         * bufferparams.h:
7489         * bufferparams.C: move author list into params. Rename some
7490           functions. Move the header reading into a separate token
7491           loop. Move the header token reading into BufferParams.
7492
7493 2003-03-12  John Levon  <levon@movementarian.org>
7494
7495         * changes.C: put debug inside lyxerr.debugging() checks
7496
7497 2003-03-11 André Pönitz <poenitz@gmx.net>
7498
7499         * factory.C: make it aware of InsetHFill
7500
7501 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7502
7503         * buffer.C (latexParagraphs): move function from here...
7504         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7505         args.
7506
7507 2003-03-10  Angus Leeming  <leeming@lyx.org>
7508
7509         * LyXAction.C (init): fix bug in poplating array with multiple entries
7510         with the same LFUN (spotted by JMarc).
7511
7512 2003-03-10  John Levon  <levon@movementarian.org>
7513
7514         * text.C:
7515         * text2.C: move getColumnNearX() near its
7516         only call site
7517
7518 2003-03-10  John Levon  <levon@movementarian.org>
7519
7520         * text.C: fix break before a minipage
7521
7522 2003-03-10  John Levon  <levon@movementarian.org>
7523
7524         * text.C: fix the last commit
7525
7526 2003-03-09  John Levon  <levon@movementarian.org>
7527
7528         * lyxtext.h:
7529         * text.C:
7530         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7531         bug 365 (don't break before insets unless needed). Don't
7532         return a value > last under any circumstances.
7533
7534 2003-03-09  Angus Leeming  <leeming@lyx.org>
7535
7536         * BufferView_pimpl.C (trackChanges, dispatch): call
7537         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7538
7539 2003-03-09  Angus Leeming  <leeming@lyx.org>
7540
7541         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7542         than Dialogs::showAboutlyx().
7543
7544 2003-03-09  Angus Leeming  <leeming@lyx.org>
7545
7546         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7547         than Dialogs::showTabularCreate().
7548
7549 2003-03-09  John Levon  <levon@movementarian.org>
7550
7551         * lyxtext.h:
7552         * text.C:
7553         * text2.C: 3rd arg to nextBreakPoint was always the same.
7554           Use references.
7555
7556 2003-03-08  John Levon  <levon@movementarian.org>
7557
7558         * lyxrow.C:
7559         * paragraph.C:
7560         * paragraph.h:
7561         * rowpainter.C:
7562         * text.C:
7563         * text2.C: Remove the "main" bit from the "main body"
7564           notion.
7565
7566 2003-03-08  John Levon  <levon@movementarian.org>
7567
7568         * text.C (leftMargin): The left margin of an empty
7569         manual label paragraph should not include the label width
7570         string length.
7571
7572         * text.C (prepareToPrint): don't attempt to measure hfills
7573         for empty manual label paragraphs - the answer should be 0
7574
7575 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7576
7577         * CutAndPaste.C: remove commented code and reindent.
7578
7579 2003-03-08  John Levon  <levon@movementarian.org>
7580
7581         * lyxfunc.h:
7582         * lyxfunc.C: move reloadBuffer()
7583
7584         * BufferView.h:
7585         * BufferView.C: to here
7586
7587         * lyxvc.C: add comment
7588
7589         * vc-backend.h:
7590         * vc-backend.C: call bv->reload() to avoid
7591           getStatus() check on MENURELOAD
7592
7593 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
7594
7595         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7596         to an old format .dep file.
7597
7598 2003-03-07  Angus Leeming  <leeming@lyx.org>
7599
7600         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7601         when the LFUN_MOUSE_RELEASE should have been handled by
7602         inset->localDispatch.
7603
7604 2003-03-07  Angus Leeming  <leeming@lyx.org>
7605
7606         * BufferView_pimpl.C (dispatch):
7607         * LyXAction.C (init):
7608         * ToolbarDefaults.C (init):
7609         * commandtags.h:
7610         * lyxfunc.C (getStatus):
7611         remove LFUN_INSET_GRAPHICS.
7612
7613         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7614
7615 2003-03-07  Angus Leeming  <leeming@lyx.org>
7616
7617         * commandtags.h:
7618         * LyXAction.C (init):
7619         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7620
7621         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7622
7623         * commandtags.h:
7624         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7625
7626         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7627         localDispatch method LFUN_INSET_DIALOG_UPDATE.
7628
7629 2003-03-07  Angus Leeming  <leeming@lyx.org>
7630
7631         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7632         remove "ert".
7633
7634 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7635
7636         * ParagraphList.C (front): new function
7637         (back): implement
7638
7639 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
7640
7641         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7642         and top_row_offset_. removed var first_y.
7643         * text.C (top_y):
7644         * text2.C (LyXText, removeRow):
7645         * text3.C:
7646         * BufferView_pimpl.C:
7647         use these methods instead of using first_y
7648
7649 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7650
7651         * text2.C (pasteSelection): adjust for checkPastePossible
7652
7653         * CutAndPaste.C: remove Paragraph * buf and replace with
7654         ParagraphList paragraphs.
7655         (DeleteBuffer): delete
7656         (cutSelection): change the tc type to textclass_type
7657         (copySelection): change the tc type to textclass_type
7658         (copySelection): adjust for ParagraphList
7659         (pasteSelection): change the tc type to textclass_type
7660         (pasteSelection): adjust for Paragraphlist
7661         (nrOfParagraphs): simplify for ParagraphList
7662         (checkPastePossible): simplify for ParagraphList
7663         (checkPastePossible): remove unused arg
7664
7665         * ParagraphList.C (insert): handle the case where there are no
7666         paragraphs yet.
7667
7668         * CutAndPaste.h: make CutAndPaste a namespace.
7669
7670         * text3.C (dispatch): adjust
7671
7672         * text.C (breakParagraph): add a ParagraphList as arg
7673
7674         * paragraph_funcs.C (breakParagraph): change to take a
7675         BufferParams and a ParagraphList as args.
7676         (breakParagraphConservative): ditto
7677         (mergeParagraph): ditto
7678         (TeXDeeper): add a ParagraphList arg
7679         (TeXEnvironment): ditto
7680         (TeXOnePar): ditto
7681
7682         * buffer.C (readLyXformat2): adjust
7683         (insertStringAsLines): adjust
7684         (latexParagraphs): adjust
7685
7686         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7687         (cutSelection): adjust
7688         (pasteSelection): adjust
7689
7690         * BufferView_pimpl.C (insertInset): adjust
7691
7692 2003-03-05  Angus Leeming  <leeming@lyx.org>
7693
7694         * commandtags.h:
7695         * LyXAction.C (init):
7696         * BufferView_pimpl.C (dispatch):
7697         * lyxfunc.C (getStatus):
7698         remove LFUN_CHILD_INSERT.
7699
7700         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7701
7702 2003-03-05  Angus Leeming  <leeming@lyx.org>
7703
7704         * commandtags.h:
7705         * LyXAction.C (init):
7706         * src/factory.C (createInset):
7707         * lyxfunc.C (getStatus):
7708         * text3.C (dispatch):
7709         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7710
7711         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7712
7713 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7714
7715         * ParagraphList.C (insert): handle insert right before end()
7716         (erase): fix cases where it can be first or last paragraph.
7717
7718 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7719
7720         * paragraph_funcs.C (TeXEnvironment): remove all usage of
7721         Paragraph::next and Paragraph::previous
7722         (TeXOnePar): ditto
7723
7724         * text.C (breakParagraph): adjust
7725
7726         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7727         BufferParams& as arg.
7728         (breakParagraph): use ParagraphList::insert
7729         (breakParagraphConservative): take a Buffer* instead of a
7730         BufferParams& as arg.
7731         (breakParagraphConservative): use ParagraphList::insert.
7732
7733         * buffer.C (insertStringAsLines): un-const it
7734         (insertStringAsLines): adjust
7735
7736         * ParagraphList.C (insert): new function
7737
7738         * CutAndPaste.C (pasteSelection): adjust
7739
7740         * text.C (backspace): adjust
7741
7742         * tabular.C (SetMultiColumn): adjust
7743
7744         * CutAndPaste.C (cutSelection): adjust
7745         (pasteSelection): adjust
7746
7747         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7748         Buffer const * as arg
7749
7750         * ParagraphList.C (erase): new function
7751         * paragraph_funcs.C (mergeParagraph): use it
7752         (mergeParagraph): make it take a Buffer* instead of a
7753         BufferParams* as arg
7754
7755         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7756         as arg
7757         (breakParagraphConservative): ditto
7758
7759         * paragraph.h: remove the breakParagraph friend
7760
7761         * paragraph.C (eraseIntern): new function
7762         (setChange): new function
7763
7764         * paragraph_funcs.C (mergeParagraph): make it take a
7765         ParagraphList::iterator instead of a Paragraph *, adjust
7766         accordingly.
7767
7768         * paragraph.h: move an #endif so that the change tracking stuff
7769         also works in the NO_NEXT case.
7770
7771 2003-03-04  Angus Leeming  <leeming@lyx.org>
7772
7773         * commandtags.h:
7774         * LyXAction.C: new LFUN_INSET_MODIFY.
7775
7776         * BufferView_pimpl.C (dispatch): if an inset is found to be open
7777         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7778
7779 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7780
7781         * several files: ws changes only
7782
7783         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7784         (TeXEnvironment): ditto
7785         (TeXDeeper): ditto
7786
7787         * buffer.C (makeLaTeXFile): adjust
7788         (latexParagraphs): make it take ParagraphList::iterator as args
7789
7790 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7791
7792         * buffer.C (latexParagraphs): adjust
7793
7794         * paragraph.C (TeXOnePar): move function...
7795         (optArgInset): move function...
7796         (TeXEnvironment): move function...
7797         * paragraph_pimpl.C (TeXDeeper): move function...
7798         * paragraph_funcs.C: ...here
7799
7800         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7801
7802 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7803
7804         * buffer.C (readInset): remove compability code for old Figure and
7805         InsetInfo insets
7806
7807 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7808
7809         * buffer.C: ws changes
7810         (readInset):
7811
7812         * BufferView_pimpl.C: ditto
7813         * author.C: ditto
7814         * buffer.h: ditto
7815         * bufferlist.h: ditto
7816         * changes.h: ditto
7817         * lyxfunc.C: ditto
7818
7819 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
7820
7821         * converter.[Ch]: split into itself +
7822         * graph.[Ch]
7823         * format.[Ch]
7824         * Makefile.am: += graph.[Ch] + format.[Ch]
7825         * MenuBackend.C
7826         * buffer.C
7827         * exporter.C
7828         * importer.C
7829         * lyx_main.C
7830         * lyxfunc.C
7831         * lyxrc.C: added #include "format.h"
7832
7833 2003-02-27  Angus Leeming  <leeming@lyx.org>
7834
7835         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7836           a label.
7837
7838         * factory.C (createInset): add "label" to the factory.
7839
7840         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7841           string and do no more.
7842
7843 2003-02-27  Angus Leeming  <leeming@lyx.org>
7844
7845         * commandtags.h:
7846         * LyXAction.C (init):
7847         * factory.C (createInset):
7848         * BufferView_pimpl.C (dispatch):
7849           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7850
7851         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7852
7853         * lyxfunc.C (dispatch):
7854         * text3.C (dispatch): pass name to params2string.
7855
7856 2003-02-26  Angus Leeming  <leeming@lyx.org>
7857
7858         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7859           blocks together.
7860           Rearrange the ~includes. Strip out the unnecessary ones.
7861
7862         * factory.C (createInset): reformat.
7863           create new insets for the various LFUN_XYZ_APPLY lfuns.
7864
7865 2003-02-26  John Levon  <levon@movementarian.org>
7866
7867         * lyxrow.h:
7868         * lyxrow.C: add isParStart,isParEnd helpers
7869
7870         * paragraph.h: make isInserted/DeletedText take refs
7871
7872         * paragraph_funcs.h:
7873         * paragraph_funcs.C: remove #if 0'd code
7874
7875         * lyxtext.h:
7876         * text3.C:
7877         * text2.C:
7878         * text.C: use lyxrow helpers above.
7879           Move draw and paint routines to RowPainter.
7880           Make several methods use refs not pointers.
7881           Make backgroundColor() const.
7882           Add markChangeInDraw(), isInInset().
7883           Merge changeRegionCase into changeCase.
7884           Make workWidth() shouldn't-happen code into an Assert.
7885
7886         * rowpainter.h:
7887         * rowpainter.C: new class for painting a row.
7888
7889         * vspace.h:
7890         * vspace.C: make inPixels take a ref
7891
7892 2003-02-26  Angus Leeming  <leeming@lyx.org>
7893
7894         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7895         LFUN_REF_APPLY.
7896
7897 2003-02-25  John Levon  <levon@movementarian.org>
7898
7899         * ispell.C: give the forked command a more accurate name
7900
7901 2003-02-22  John Levon  <levon@movementarian.org>
7902
7903         * toc.h:
7904         * toc.C: make TocItem store an id not a Paragraph *
7905           (bug #913)
7906
7907 2003-02-21  Angus Leeming  <leeming@lyx.org>
7908
7909         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7910           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7911           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7912           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7913           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7914           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7915
7916         * BufferView_pimpl.C (dispatch):
7917         * LyXAction.C (init):
7918         * factory.C (createInset):
7919         * lyxfunc.C (getStatus, dispatch):
7920         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7921
7922 2003-02-21  Angus Leeming  <leeming@lyx.org>
7923
7924         * BufferView_pimpl.C (MenuInsertLyXFile):
7925         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7926         * lyxfunc.C (menuNew, open, doImport):
7927           no longer pass a LyXView & to fileDlg.
7928
7929 2003-02-21  Angus Leeming  <leeming@lyx.org>
7930
7931         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7932         * LyXAction.C: change, BIBKEY to BIBITEM.
7933         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7934         Change InsetBibKey to InsetBibitem.
7935         Change BIBKEY_CODE to BIBITEM_CODE.
7936         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7937         * factory.C: replace insetbib.h with insetbibitem.h.
7938         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7939         * paragraph.C: replace insetbib.h with insetbibitem.h.
7940         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7941         Change bibkey() to bibitem().
7942         * text.C: remove insetbib.h.
7943         * text2.C: replace insetbib.h with insetbibitem.h.
7944         change bibkey() to bibitem().
7945         * text3.C: remove insetbib.h.
7946         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7947
7948 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7949
7950         * lyxrc.C (output): enclose user email in quotes (in case there are
7951         several words)
7952
7953 2003-02-18  John Levon  <levon@movementarian.org>
7954
7955         * buffer.h: add std::
7956
7957 2003-02-17  John Levon  <levon@movementarian.org>
7958
7959         * SpellBase.h:
7960         * ispell.h:
7961         * ispell.C:
7962         * pspell.h:
7963         * pspell.C: reworking. Especially in ispell, a large
7964           number of clean ups and bug fixes.
7965
7966         * lyxfunc.C: fix revert to behave sensibly
7967
7968 2003-02-17 André Pönitz <poenitz@gmx.net>
7969
7970         * LyXAction.C:
7971         * commandtags.h: new LFUN_INSERT_BIBKEY
7972
7973         * layout.h:
7974         * lyxlayout.C:
7975         * buffer.C:
7976         * factory.C:
7977         * text.C:
7978         * text2.C:
7979         * text3.C:
7980         * paragraph.[Ch]:
7981         * paragraph_func.C: remove special bibkey handling
7982
7983 2003-02-17  John Levon  <levon@movementarian.org>
7984
7985         * text.C (Delete): fix case where delete at the end of
7986           the very first paragraph would not merge the pars
7987
7988 2003-02-17  John Levon  <levon@movementarian.org>
7989
7990         * lyxrow.C: fix lastPrintablePos()
7991
7992 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7993
7994         * bufferparams.C (writeLaTeX): add a std:here
7995
7996         * buffer.C: and remove a using directive there
7997
7998 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7999
8000         * buffer.C (makeLaTeXFile): move the code that generates the
8001           preamble...
8002
8003         * bufferparams.C (writeLaTeX): ... in this new method
8004
8005         * LaTeXFeatures.C (getEncodingSet): make const
8006           (getLanguages): make const
8007
8008         * MenuBackend.C (binding): returns the binding associated to this
8009           action
8010           (add): sets the status of each item by calling getStatus. Adds
8011           some intelligence.
8012           (read): add support for OptSubMenu
8013           (expand): remove extra separator at the end of expanded menu
8014
8015 2003-02-15  John Levon  <levon@movementarian.org>
8016
8017         * BufferView.C:
8018         * BufferView_pimpl.C:
8019         * bufferlist.h:
8020         * bufferlist.C: remove pointless BufferStorage bloat. Remove
8021           inset code that had no actual effect. Remove unneeded status
8022           code.
8023
8024 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8025
8026         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8027           in preamble
8028
8029 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
8030
8031         * text.C (drawLengthMarker): also draw an arrow marker for
8032           symbolic lengths (medskip...)
8033
8034 2003-02-14  John Levon  <levon@movementarian.org>
8035
8036         * tabular.h:
8037         * tabular.C: better method names
8038
8039 2003-02-14  John Levon  <levon@movementarian.org>
8040
8041         * BufferView_pimpl.C:
8042         * bufferlist.C:
8043         * buffer.C:
8044         * converter.C:
8045         * lyx_cb.C:
8046         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8047           it's a more accurate name. Remove some pointless uses.
8048
8049 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8050
8051         * text2.C (LyXText): change order of initilizers to shut off
8052           warnings
8053
8054 2003-02-14  John Levon  <levon@movementarian.org>
8055
8056         * buffer.C: use ParIterator for getParFromID()
8057
8058         * paragraph.h:
8059         * paragraph.C:
8060         * paragraph_pimpl.h:
8061         * paragraph_pimpl.C: remove unused getParFromID()
8062
8063 2003-02-14  John Levon  <levon@movementarian.org>
8064
8065         * buffer.C: remove some very old #if 0'd parse code
8066
8067 2003-02-13  John Levon  <levon@movementarian.org>
8068
8069         * text.h:
8070         * text.C:
8071         * text2.C: move hfillExpansion(), numberOfSeparators(),
8072           rowLast(), rowLastPrintable(), numberofHfills(),
8073           numberOfLabelHfills() ...
8074
8075         * lyxrow.h:
8076         * lyxrow.C: ... to member functions here.
8077
8078         * paragraph.h:
8079         * paragraph.C:
8080         * lyxtext.h:
8081         * text.C: remove LyXText::beginningOfMainBody(), and call
8082           p->beginningOfMainBody() directly. Move the check for
8083           LABEL_MANUAL into the latter.
8084
8085         * text.h:
8086         * text.C:
8087         * text2.C:
8088         * vspace.C:
8089         * BufferView.h:
8090         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8091
8092         * text.h:
8093         * text.C:
8094         * text2.C:
8095         * text3.C:
8096         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8097           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8098
8099 2003-02-13  John Levon  <levon@movementarian.org>
8100
8101         * CutAndPaste.C: remove debug
8102
8103 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8104
8105         * paragraph.C (asString): remove two unused variables
8106
8107         * lyxtextclass.C (readTitleType):
8108           (Read):
8109           (LyXTextClass): handle new members titletype_ and titlename_
8110
8111         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8112
8113 2003-02-09  John Levon  <levon@movementarian.org>
8114
8115         * buffer.h:
8116         * buffer.C: replace hand-coded list with a map for the dep clean
8117
8118 2003-02-08  John Levon  <levon@movementarian.org>
8119
8120         * LaTeX.C: consolidate code into showRunMessage() helper
8121
8122 2003-02-08  John Levon  <levon@movementarian.org>
8123
8124         * lyxfind.C:
8125         * lyxtext.h:
8126         * text2.C:
8127         * BufferView.C: change setSelectionOverString() to setSelectionRange()
8128           and pass the size in explicitly
8129
8130         * BufferView_pimpl.h:
8131         * BufferView_pimpl.C:
8132         * BufferView.h:
8133         * BufferView.C: add getCurrentChange()
8134
8135         * BufferView_pimpl.h:
8136         * BufferView_pimpl.C: handle change lfuns
8137
8138         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8139           for changes. Mark pasted paragraphs as new.
8140
8141         * support/lyxtime.h:
8142         * support/lyxtime.C:
8143         * DepTable.C: abstract time_t as lyx::time_type
8144
8145         * LColor.h:
8146         * LColor.C: add colours for new text, deleted text, changebars
8147
8148         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8149           package use "usenames" option.
8150
8151         * commandtags.h:
8152         * lyxfunc.C:
8153         * LyXAction.C: add change lfuns
8154
8155         * Makefile.am:
8156         * author.h:
8157         * author.C: author handling
8158
8159         * buffer.h:
8160         * buffer.C: add a per-buffer author list, with first entry as
8161           current author. Handle new .lyx tokens for change tracking. Output
8162           author list to .lyx file. Output dvipost stuff to .tex preamble.
8163           Bump lyx format to 222.
8164
8165         * bufferlist.h:
8166         * bufferlist.C: add setCurrentAuthor() to reset current author details
8167           in all buffers.
8168
8169         * bufferparams.h:
8170         * bufferparams.C: add param for tracking
8171
8172         * bufferview_funcs.C: output change info in minibuffer
8173
8174         * Makefile.am:
8175         * changes.h:
8176         * changes.C: add change-tracking structure
8177
8178         * debug.h:
8179         * debug.C: add CHANGES debug flag
8180
8181         * lyxfind.h:
8182         * lyxfind.C: add code for finding the next change piece
8183
8184         * lyxrc.h:
8185         * lyxrc.C: add user_name and user_email
8186
8187         * lyxrow.h:
8188         * lyxrow.C: add a metric for the top of the text line
8189
8190         * lyxtext.h:
8191         * text.C: implement accept/rejectChange()
8192
8193         * lyxtext.h:
8194         * text.C: paint changebars. Paint new/deleted text in the chosen
8195         colours. Strike through deleted text.
8196
8197         * paragraph.h:
8198         * paragraph.C:
8199         * paragraph_pimpl.h:
8200         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8201           in the current change to the insert functions. Rework erase to
8202           mark text as deleted, adding an eraseIntern() and a range-based
8203           erase(). Implement per-paragraph change lookup and
8204           accept/reject.
8205
8206         * paragraph_funcs.C: Fixup paste for change tracking.
8207
8208         * tabular.C: mark added row/columns as new.
8209
8210         * text.C: fix rowLast() to never return -1. Don't allow
8211           spellchecking of deleted text. Track transpose changes. Don't
8212           allow paragraph break or merge where appropriate.
8213
8214         * text2.C: leave cursor at end of selection after a cut.
8215
8216 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8217
8218         * text.C (getLengthMarkerHeight):
8219         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8220         visible on screen too.
8221
8222 2003-02-07  John Levon  <levon@movementarian.org>
8223
8224         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8225
8226 2003-02-05  Angus Leeming  <leeming@lyx.org>
8227
8228         * lyxserver.C (read_ready): revert my patch of 11 September last year
8229         as it sends PC cpu through the roof. Presumably this means that
8230         the lyxserver will no longer run on an Alpha...
8231
8232 2003-01-30  Angus Leeming  <leeming@lyx.org>
8233
8234         * factory.C (createInset): create an InsetCommandParam of type "index"
8235         and use it to 'do the right thing'.
8236
8237         * text2.C (getStringToIndex): ensure that cursor position is always
8238         reset to the reset_cursor position.
8239
8240 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8241
8242         * lyxfunc.C (getStatus): "buffer-export custom" should never be
8243         disabled.
8244
8245 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
8246
8247         * bufferview.C:
8248         * lyxcb.C:
8249         * lyxfunc.C: Output messages with identical spelling, punctuation,
8250         and spaces
8251
8252 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
8253
8254         * MenuBackend.C (expandFormats): List only viewable export formats
8255         in "View" menu
8256
8257         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8258         message
8259
8260         * lyxfunc.C (getStatus): Make sure that formats other than
8261         "fax" can also be disabled
8262
8263 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8264
8265         * text3.C (dispatch): put the lfuns that insert insets in 3
8266         groups, and call doInsertInset with appropriate arguments.
8267         (doInsertInset): new function, that creates an inset and inserts
8268         it according to some boolean parameters.
8269
8270 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8271
8272         * buffer.C (readFile): remember to pass on 'par' when calling
8273         readFile recursively.
8274
8275 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8276
8277         * MenuBackend.C (expandFormats): add "..." to import formats.
8278
8279 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
8280
8281         * paragraph.C (asString): Remove XForms RTL hacks.
8282
8283 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
8284         * buffer.C: fix typo
8285
8286 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8287
8288         * Makefile.am (LIBS): delete var
8289         (lyx_LDADD): add @LIBS@ here instead.
8290
8291 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
8292
8293         * Clarify the meaning of "wheel mouse jump"
8294
8295 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8296
8297         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8298         tabular in a float
8299
8300 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8301
8302         * importer.C (Loaders): do not preallocate 3 elements in the
8303         vector, since one ends up with 6 elements otherwise
8304
8305 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8306
8307         * DepTable.C (write): write the file name as last element of the
8308         .dep file (because it may contain spaces)
8309         (read): read info in the right order
8310
8311 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8312
8313         * paragraph_pimpl.C (simpleTeXBlanks):
8314         (simpleTeXSpecialChars):
8315         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8316
8317         * tabular.C (latex): add some missing case statements. Reindent.
8318
8319         * MenuBackend.C (expandToc): remove unused variable.
8320
8321 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
8322
8323         * LColor.C:
8324         * LaTeX.C:
8325         * LyXAction.C:
8326         * MenuBackend.C:
8327         * buffer.C:
8328         * exporter.C:
8329         * lyxfunc.C:
8330         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8331         and the like.
8332
8333 2003-01-05  John Levon  <levon@movementarian.org>
8334
8335         * BufferView.h:
8336         * BufferView.C: add getEncoding()
8337
8338         * kbsequence.h:
8339         * kbsequence.C: do not store last keypress
8340
8341         * lyxfunc.h:
8342         * lyxfunc.C: store last keypress here instead. Pass encoding
8343           to getISOEncoded()
8344
8345 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8346
8347         * lyx_main.C (init): remove annoying error message when following
8348         symbolic links (bug #780)
8349
8350 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8351
8352         * text.C (insertChar):
8353         * lyxrc.C (getDescription): remove extra spaces
8354
8355 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8356
8357         * lyxrc.C (getDescription): remove extra spaces
8358
8359 2002-12-20  John Levon  <levon@movementarian.org>
8360
8361         * text3.C: hack fix for page up/down across tall rows
8362
8363 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8364
8365         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8366         not been invoked
8367
8368 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8369
8370         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8371         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8372         thesaurus is not compiled in
8373
8374 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
8375
8376         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
8377
8378 2002-12-16  Angus Leeming  <leeming@lyx.org>
8379
8380         * lyxrc.[Ch]:
8381         * lyx_main.C (init): remove override_x_deadkeys stuff.
8382
8383 2002-12-12  John Levon  <levon@movementarian.org>
8384
8385         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8386           insert. Only remove shift modifier under strict
8387           circumstances.
8388
8389 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8390
8391         * MenuBackend.C (expandToc): fix crash.
8392
8393 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8394
8395         * MenuBackend.C (expandToc): gettext on float names.
8396
8397 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
8398
8399         * lyxlength.[Ch]: set default unit to UNIT_NONE,
8400         implement bool empty() [bug 490]
8401
8402 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8403
8404         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8405
8406 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8407
8408         * several files: ws changes
8409
8410 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8411
8412         * text2.C (setCounter): clean up a bit, use boost.format.
8413         (updateCounters): initialize par upon declaration.
8414
8415         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8416         if the layout exists. We do not just store the layout any more.
8417         (SwitchLayoutsBetweenClasses): use boost.format
8418
8419 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8420
8421         * converter.C (convert): if from and to files are the same, use a
8422         temporary files as intermediary
8423
8424 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8425
8426         * commandtags.h:
8427         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8428
8429 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
8430
8431         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8432
8433 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8434
8435         * tabular.C (asciiPrintCell): use string(size, char) instead of
8436         explicit loop.
8437
8438         * sgml.C (openTag): fix order of arguments to string constructor
8439         (closeTag): ditto
8440
8441         * lyxfunc.C (dispatch): use boost.format
8442
8443         * lots of files: change "c" -> 'c'
8444
8445 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
8446
8447         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8448
8449 2002-11-25  Angus Leeming  <leeming@lyx.org>
8450
8451         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8452
8453         * lyx_main.C (init): compile fix.
8454
8455 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8456
8457         * lyx_cb.C (start): boost.formatify
8458         do not include <iostream>
8459
8460         * lengthcommon.C: ws only
8461
8462         * boost-inst.C,BoostFormat.h: add more explict instantations
8463
8464 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8465
8466         * lots of files: handle USE_BOOST_FORMAT
8467
8468 2002-11-21  John Levon  <levon@movementarian.org>
8469
8470         * pspell.C: fix compile
8471
8472 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8473
8474         * lyxfunc.C (dispatch): use boost::format
8475         (open): ditto
8476         (doImport): ditto
8477
8478         * lyxfont.C (stateText): use boost::format
8479
8480         * lyx_main.C (LyX): use boost::format
8481         (init): ditto
8482         (queryUserLyXDir): ditto
8483         (readRcFile): ditto
8484         (parse_dbg): ditto
8485         (typedef boost::function): use the recommened syntax.
8486
8487         * importer.C (Import): use boost::format
8488
8489         * debug.C (showLevel): use boost::format
8490
8491         * converter.C (view): use boost::format
8492         (convert): ditto
8493         (move): ditto
8494         (scanLog): ditto
8495
8496         * bufferview_funcs.C (currentState): use boost::format
8497
8498         * bufferlist.C (emergencyWrite): use boost::format
8499
8500         * buffer.C (readLyXformat2): use boost::format
8501         (parseSingleLyXformat2Token): ditto
8502
8503         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8504
8505         * LaTeX.C (run): use boost::format
8506
8507         * Chktex.C (scanLogFile): use boost::format
8508
8509         * BufferView_pimpl.C (savePosition): use boost::format
8510         (restorePosition): ditto
8511         (MenuInsertLyXFile): ditto
8512
8513         * BoostFormat.h: help file for explicit instation.
8514
8515 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
8516
8517         * tabular.C (latex): Support for block alignment in fixed width
8518         columns.
8519
8520 2002-11-17  John Levon  <levon@movementarian.org>
8521
8522         * BufferView_pimpl.C:
8523         * lyx_cb.C:
8524         * lyxfunc.C: split filedialog into open/save
8525
8526 2002-11-08  Juergen Vigna  <jug@sad.it>
8527
8528         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8529         by my last patch (hopefully).
8530
8531 2002-11-08  John Levon  <levon@movementarian.org>
8532
8533         * iterators.h:
8534         * iterators.C:
8535         * buffer.h:
8536         * buffer.C:
8537         * paragraph.h:
8538         * paragraph.C:
8539         * toc.h:
8540         * toc.C: ParConstIterator, and use it (from Lars)
8541
8542 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
8543
8544         * lyxtextclass.[Ch]: revise and add doxygen comments
8545
8546 2002-11-07  John Levon  <levon@movementarian.org>
8547
8548         * text.C: fix progress value for spellchecker
8549
8550         * toc.C: fix navigate menu for insetwrap inside minipage
8551
8552         * paragraph_funcs.C: added FIXME for suspect code
8553
8554 2002-11-07  John Levon  <levon@movementarian.org>
8555
8556         * BufferView_pimpl.C: fix redrawing of insets
8557           on buffer switch
8558
8559 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8560
8561         * text2.C (updateCounters): fix bug 668
8562
8563 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
8564
8565         * text3.C (dispatch): Do not make the buffer dirty when moving the
8566         cursor.
8567
8568 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8569
8570         * vc-backend.C: STRCONV
8571         (scanMaster): ditto
8572
8573         * text2.C (setCounter): STRCONV
8574
8575         * paragraph.C (asString): STRCONV
8576
8577         * lyxlength.C (asString): STRCONV
8578         (asLatexString): ditto
8579
8580         * lyxgluelength.C (asString): STRCONV
8581         (asLatexString): ditto
8582
8583         * lyxfunc.C (dispatch): STRCONV
8584         (open): ditto
8585
8586         * lyxfont.C (stateText): STRCONV
8587
8588         * importer.C (Import): STRCONV
8589
8590         * counters.C (labelItem): STRCONV
8591         (numberLabel): ditto
8592         (numberLabel): remove unused ostringstream o
8593
8594         * chset.C: STRCONV
8595         (loadFile): ditto
8596
8597         * bufferview_funcs.C (currentState): STRCONV
8598
8599         * buffer.C (readFile): STRCONV
8600         (asciiParagraph): ditto
8601         (makeLaTeXFile): ditto
8602
8603         * Spacing.C (writeEnvirBegin): STRCONV
8604
8605         * LaTeXFeatures.C (getLanguages): STRCONV
8606         (getPackages): ditto
8607         (getMacros): ditto
8608         (getBabelOptions): ditto
8609         (getTClassPreamble): ditto
8610         (getLyXSGMLEntities): ditto
8611         (getIncludedFiles): ditto
8612
8613         * LaTeX.C: STRCONV
8614         (run): ditto
8615         (scanAuxFile): ditto
8616         (deplog): ditto
8617
8618         * LString.h: add the STRCONV macros
8619
8620         * BufferView_pimpl.C (savePosition): STRCONV
8621         (restorePosition): ditto
8622         (MenuInsertLyXFile): ditto
8623
8624         * vc-backend.C (scanMaster): change from submatch[...] to
8625         submatch.str(...)
8626
8627         * funcrequest.C: include config.h
8628
8629         * factory.C: include config.h
8630
8631         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8632
8633         * box.C: include config.h
8634
8635         * LaTeX.C (scanAuxFile): change from submatch[...] to
8636         submatch.str(...)
8637         (deplog): ditto
8638
8639 2002-10-25  Angus Leeming  <leeming@lyx.org>
8640
8641         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8642
8643         * ispell.[Ch] (setError): new method.
8644         * ispell.C (c-tor): move out child process into new class LaunchIspell.
8645         Use setError() insetead of goto END.
8646
8647         * lyx_cb.C (AutoSave): move out child process into new class
8648         AutoSaveBuffer.
8649
8650 2002-10-30  John Levon  <levon@movementarian.org>
8651
8652         * text3.C: make start appendix undoable
8653
8654 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
8655
8656         * lyxlength.C (inPixels): Fix returned value.
8657
8658         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8659         environment.
8660
8661 2002-10-24  Angus Leeming  <leeming@lyx.org>
8662
8663         * lyxgluelength.h: no need to forward declare BufferParams
8664         or BufferView, so don't.
8665
8666 2002-10-21  John Levon  <levon@movementarian.org>
8667
8668         * BufferView.C: menuUndo ->undo, redo
8669
8670         * BufferView.h: document, remove dead, make some methods private
8671
8672         * paragraph_funcs.h:
8673         * paragraph_funcs.C:
8674         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8675
8676         * buffer.h:
8677         * buffer.C:
8678         * sgml.h:
8679         * sgml.C: move sgml open/close tag into sgml.C
8680
8681         * bufferview_funcs.h: unused prototype
8682
8683         * lyxfunc.h:
8684         * lyxfunc.C: remove unused
8685
8686         * lyxtext.h:
8687         * text.C: remove unused
8688
8689 2002-10-21  John Levon  <levon@movementarian.org>
8690
8691         * BufferView.h:
8692         * BufferView.C:
8693         * BufferView_pimpl.h:
8694         * BufferView_pimpl.C: fix mouse wheel handling based on
8695           patch from Darren Freeman
8696
8697 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
8698
8699         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8700
8701 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
8702
8703         * lyxlength.C (inPixels): Fix hanfling of negative length.
8704         Fix LyXLength::MU case.
8705
8706 2002-10-16  John Levon  <levon@movementarian.org>
8707
8708         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8709
8710 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8711
8712         * converter.C (view): add support for $$i (file name) and $$p
8713         (file path) for the viewer command. If $$i is not specified, then
8714         it is appended to the command (for compatibility with old syntax)
8715
8716 2002-10-14  Juergen Vigna  <jug@sad.it>
8717
8718         * undo_funcs.C (textHandleUndo): alter the order in which the
8719         new undopar is added to the LyXText, as we have to set first
8720         the right prev/next and then add it as otherwise the rebuild of
8721         LyXText is not correct. Also reset the cursor to the right paragraph,
8722         with this IMO we could remove the hack in "redoParagraphs()".
8723
8724 2002-10-09  Angus Leeming  <leeming@lyx.org>
8725
8726         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8727         to turn off an optimisation if a new inset is to be inserted.
8728
8729 2002-10-11 André Pönitz <poenitz@gmx.net>
8730
8731         * lyxtext.h: make some functions public to allow access
8732         from inset/lyxtext for handling LFUN_PRIOR/NEXT
8733
8734 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8735
8736         * text3.C (dispatch): when changing layout, avoid an infinite loop
8737         [bug #652]
8738
8739 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8740
8741         * lyxrc.C (read): treat a viewer or converter command of "none" as
8742         if it were empty.
8743
8744         * MenuBackend.C (expandFormats): for an update, also allow the
8745         formats that are not viewable
8746
8747         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8748         script if it is newer than the lyxrc.defaults in user directory
8749
8750 2002-10-07 André Pönitz <poenitz@gmx.net>
8751
8752         * text.C: Vitaly Lipatov's small i18n fix
8753
8754 2002-09-25  Angus Leeming  <leeming@lyx.org>
8755
8756         * ispell.h: doxygen fix.
8757
8758 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
8759
8760         * buffer.h (readFile): Add a new argument to the method, to allow
8761         reading of old-format templates.
8762
8763 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
8764
8765         * toc.C (getTocList): Get TOC from InsetWrap.
8766
8767 2002-09-16  John Levon  <levon@movementarian.org>
8768
8769         * lyxfunc.C: check tabular for cut/copy too
8770
8771 2002-09-12  John Levon  <levon@movementarian.org>
8772
8773         * LyXAction.C: tidy
8774
8775         * factory.h:
8776         * factory.C: add header
8777
8778         * paragraph_funcs.h:
8779         * paragraph_funcs.C: cleanup
8780
8781 2002-09-11  John Levon  <levon@movementarian.org>
8782
8783         * PrinterParams.h: odd/even default to true
8784
8785 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
8786
8787         * PrinterParams.h: update printer parameters for new xforms dialog
8788
8789 2002-09-11  Angus Leeming  <leeming@lyx.org>
8790
8791         * lyxserver.C (read_ready): re-write to make it more transparent
8792         and to make it work in coherent fashion under Tru64 Unix.
8793
8794 2002-09-11  André Pönitz <poenitz@gmx.net>
8795
8796         * commandtags.h:
8797         * LyXAction.C:
8798         * text3.C: implement LFUN_WORDSEL
8799
8800 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8801
8802         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8803         make floatlist_ a boost::shared_ptr<FloatList>
8804
8805         * lyxtextclass.C: include FloatList.h
8806         (LyXTextClass): initialize floatlist_
8807         (TextClassTags): add TC_NOFLOAT
8808         (Read): match "nofloat" to TC_NOFLOAT and use it.
8809         (readFloat): modify call to floatlist_
8810         (floats): ditto
8811         (floats): ditto
8812
8813         * FloatList.[Ch] (FloatList): remove commented out float
8814         initialization.
8815         (erase): new function
8816
8817 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8818
8819         * MenuBackend.C (expandToc): fix crash when there is no document
8820         open
8821
8822 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
8823
8824         * many files: Add insetwrap.
8825
8826 2002-09-09  John Levon  <levon@movementarian.org>
8827
8828         * text2.C: remove confusing and awkward depth wraparound
8829
8830 2002-09-09  John Levon  <levon@movementarian.org>
8831
8832         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8833
8834         * buffer.h:
8835         * buffer.C: remove getIncludeonlyList()
8836
8837         * paragraph.C:
8838         * lyxfunc.C: remove headers
8839
8840 2002-09-09  Juergen Vigna  <jug@sad.it>
8841
8842         * text.C (getColumnNearX): fix form Michael this is most
8843         probably a cut&paste bug.
8844
8845 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8846
8847         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8848
8849         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8850         references, ws changes.
8851
8852         * text2.C (init): update counters after init
8853         (insertParagraph): no need to set counter on idividual paragraphs.
8854         (setCounter): access the counters object in the textclass object
8855         on in the buffer object.
8856         (updateCounters): ditto
8857
8858         * lyxtextclass.C: include counters.h, add variable ctrs_ as
8859         shared_ptr<Counters> to avoid loading counters.h in all
8860         compilation units.
8861         (LyXTextClass): initialize ctrs_
8862         (TextClassTags): add TC_COUNTER, and ...
8863         (Read): use it here.
8864         (CounterTags): new tags
8865         (readCounter): new function
8866         (counters): new funtion
8867         (defaultLayoutName): return a const reference
8868
8869         * counters.C (Counters): remove contructor
8870         (newCounter): remove a couple of unneeded statements.
8871         (newCounter): simplify a bit.
8872         (numberLabel): some small formatting changes.
8873
8874         * buffer.[Ch]: remove all traces of counters, move the Counters
8875         object to the LyXTextClass.
8876
8877 2002-09-06  Alain Castera  <castera@in2p3.fr>
8878
8879         * tabular.C: uses \tabularnewline; uses >{...} construct from array
8880         package to set the horizontal alignment on fixed width columns.
8881
8882         * lyx_sty.C:
8883         * lyx_sty.h: added tabularnewline macro def.
8884
8885         * LaTeXFeatures.C: added NeedTabularnewline macro feature
8886
8887 2002-09-06  John Levon  <levon@movementarian.org>
8888
8889         * LyXAction.C: tooltips for sub/superscript
8890
8891         * MenuBackend.C: a bit more verbose
8892
8893         * lyxfunc.C: tiny clean
8894
8895         * undo_funcs.C: document undo_frozen
8896
8897 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8898
8899         * counters.C (Counters): add missing algorithm counter.
8900
8901         * text2.C (setCounter): lookup the counter with layouts latexname
8902         instead of by section number.
8903         (setCounter): use a hackish way to lookup the correct enum
8904         counter.
8905         a float name->type change
8906         reset enum couners with counter name directly instead of depth value.
8907
8908         * counters.C (Counters): remove the push_backs, change to use the
8909         float type not the float name.
8910         (labelItem): remove unused string, float name->type change
8911
8912         * counters.h: don't include vector, loose the enums and sects vectors
8913
8914 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8915
8916         * lyxtextclass.C (TextClassTags): add TC_FLOAT
8917         (Read): add float->TC_FLOAT to textclassTags
8918         (Read): and handle it in the switch
8919         (readFloat): new function
8920
8921         * FloatList.C (FloatList): comment out the hardcoded float
8922         definitions.
8923
8924         * lyxlayout.h: ws change.
8925
8926 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
8927
8928         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8929
8930 2002-09-03  Angus Leeming  <leeming@lyx.org>
8931
8932         * BufferView_pimpl.h: qualified name is not allowed in member
8933         declaration: WorkArea & Pimpl::workarea() const;
8934
8935         * factory.C: added using std::endl directive.
8936
8937         * text3.C: added using std::find and std::vector directives.
8938
8939 2002-08-29  André Pönitz <poenitz@gmx.net>
8940
8941         * lyxtext.h:
8942         * text2.C: remove unused member number_of_rows
8943
8944         * Makefile.am:
8945         * BufferView2.C: remove file, move contents to...
8946         * BufferView.C: ... here
8947
8948         * BufferView_pimpl.C:
8949         * factory.C: move more inset creation to factory
8950
8951         * vspace.C: avoid direct usage of LyXText, ws changes
8952
8953         * BufferView.[Ch]:
8954                 don't provide direct access to WorkArea, use two simple
8955                 acessors haveSelction() and workHeight() instead
8956
8957
8958 2002-08-29  John Levon  <levon@movementarian.org>
8959
8960         * BufferView_pimpl.C (dispatch): do not continue when
8961           no buffer
8962
8963 2002-08-28  André Pönitz <poenitz@gmx.net>
8964
8965         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8966
8967         * BufferView.h:
8968         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8969
8970 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
8971
8972         * buffer.C: increment LYX_FORMAT to 221
8973
8974         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8975         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8976
8977         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8978
8979         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8980
8981 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8982
8983         * factory.C (createInset): use LyXTextClass::floats
8984
8985         * MenuBackend.C (expandFloatListInsert):
8986         (expandFloatInsert):
8987         (expandToc):
8988
8989         * text2.C (setCounter):
8990
8991         * LaTeXFeatures.C (useFloat):
8992         (getFloatDefinitions):
8993
8994         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8995
8996         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8997         floatlist_, with accessor floats().
8998
8999         * FloatList.h: remove global FloatList
9000
9001 2002-08-26  André Pönitz <poenitz@gmx.net>
9002
9003         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9004
9005         * BufferView.h:
9006         * BufferView2.C:
9007         * BufferView_pimpl.C:
9008         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9009
9010 2002-08-25  John Levon  <levon@movementarian.org>
9011
9012         * LyXAction.C: fix margin note description
9013
9014 2002-08-24  John Levon  <levon@movementarian.org>
9015
9016         * buffer.C:
9017         * bufferlist.C:
9018         * bufferview_funcs.C:
9019         * lyxfont.C:
9020         * undo_funcs.C: cleanups
9021
9022         * lyxfunc.C: disable CUT/COPY when no selection
9023
9024 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
9025
9026         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9027         in "enum UNIT"; e.g. PTW for Percent of TextWidth
9028
9029         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9030         Add backward compatibility to "mono", "gray" and "no".
9031
9032 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
9033
9034         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9035         (and file_format >= 200).
9036
9037 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9038
9039         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9040
9041 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9042
9043         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9044
9045 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
9046
9047         * BufferView_pimpl.C:
9048         * LyXAction.C:
9049         * buffer.C:
9050         * commandtags.h:
9051         * lyxfunc.C:
9052         * paragraph.[Ch]:
9053         * text2.C:
9054         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9055         inset and code to make it  work with the paragraph code. The inset
9056         can be anywhere in the paragraph, but will only do the expected
9057         thing in LaTeX if the layout file contains the parameter line
9058                         OptionalArgs    1
9059         (or more generally, a nonzero value) for that layout.
9060
9061 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
9062
9063         * paragraph.h: remove the declaration of undefined counters class
9064         function.
9065
9066 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
9067
9068         * text2.C (setCounter):  fixed enumeration mis-count as reported by
9069         Dr. Richard Hawkins.
9070
9071 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9072
9073         * paragraph_funcs.h: remove some unneeded includes
9074
9075         * text.C (backspace): pasteParagraph now in global scipe
9076
9077         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9078         (pasteSelection): ditto
9079
9080         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9081         * paragraph_funcs.C (pasteParagraph): ... here
9082
9083 2002-08-20  André Pönitz <poenitz@gmx.net>
9084
9085         * commandtags.h: new LFUNs for swapping/copying table row/colums
9086
9087         * LyXAction.C:
9088         * lyxfunc.C: support for new lfuns
9089
9090 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
9091
9092         * tabular.C:
9093         * buffer.[Ch]: remove NO_COMPABILITY stuff
9094
9095 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
9096
9097         * boost.C (throw_exception): new file, with helper function for
9098         boost compiled without exceptions.
9099
9100         * paragraph.h:
9101         * lyxlength.C:
9102         * buffer.C:
9103         * ParameterStruct.h:
9104         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9105
9106         * bufferlist.C (emergencyWriteAll): use boost bind
9107
9108         * BufferView_pimpl.C (moveCursorUpdate): remove inline
9109
9110         * text.C: include paragraph_funcs.h
9111         (breakParagraph): breakParagraph is now in global scope
9112
9113         * paragraph_funcs.[Ch]: new files
9114
9115         * paragraph.C (breakParagraph,breakParagraphConservative): move to
9116         global scope
9117
9118         * buffer.C: include paragraph_funcs.h
9119         (insertStringAsLines): breakParagraph is now in global scope
9120
9121         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9122         paragraph_funcs.C
9123
9124         * CutAndPaste.C: include paragraph_funcs.h
9125         (cutSelection): breakParagraphConservative is now in global scope
9126         (pasteSelection): ditto
9127
9128         * buffer.h: declare oprator== and operator!= for
9129         Buffer::inset_iterator
9130
9131         * bufferlist.C (emergencyWrite): don't use fmt(...)
9132
9133         * text3.C: add using std::endl
9134
9135         * BufferView.C (moveCursorUpdate): remove default arg
9136
9137 2002-08-20  André Pönitz <poenitz@gmx.net>
9138
9139         * buffer.[Ch]: move inline functions to .C
9140
9141         * BufferView2.C:
9142         * BufferView_pimpl.C:
9143         * text.C:
9144         * buffer.[Ch]: use improved inset_iterator
9145
9146         * buffer.C:
9147         * paragraph.[Ch]: write one paragraph at a time
9148
9149 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
9150
9151         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9152         style if style is not specified.
9153
9154 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9155
9156         * text2.C (setCounter): when searching for right label for a
9157         caption, make sure to recurse to parent insets (so that a caption
9158         in a minipage in a figure float works) (bug #568)
9159
9160 2002-08-20  André Pönitz <poenitz@gmx.net>
9161
9162         * text3.C: new file for LyXText::dispatch() and helpers
9163
9164         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9165
9166         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9167
9168 2002-08-19  André Pönitz <poenitz@gmx.net>
9169
9170         * lyxtext.h:
9171         * text.C: new LyXText::dispatch()
9172
9173         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9174
9175 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
9176
9177         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9178
9179         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9180         Hebrew text.
9181
9182 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9183
9184         * Makefile.am: use $(variables) instead of @substitutions@
9185
9186 2002-08-15  André Pönitz <poenitz@gmx.net>
9187
9188         * lyxfunc.C:
9189         * BufferView_pimpl.C: streamlining mathed <-> outer world
9190         interaction
9191
9192         * commandtags.h:
9193         * LyXAction.C: remove unused LFUN_MATH
9194
9195 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9196
9197         * paragraph.[Ch]: add some NO_NEXT ifdefs.
9198
9199 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9200
9201         * paragraph.C (Paragraph): reformat a bit
9202         (cutIntoMinibuffer): use builtin InsetList function instad of
9203         doing it manually.
9204         (getInset): ditto
9205
9206         * buffer.C: include boost/bind.hpp, add using std::for_each
9207         (writeFileAscii): use ParagraphList iterators
9208         (validate): use for_each for validate traversal of paragraphs
9209         (getBibkeyList): use ParagraphList iterators
9210         (resizeInsets): use for_each to resizeInsetsLyXText for all
9211         paragraphs.
9212         (getParFromID): use ParagraphList iterators
9213
9214         * BufferView2.C (lockInset): use paragraph list and iterators
9215
9216 2002-08-14  John Levon  <levon@movementarian.org>
9217
9218         * lyxserver.C: remove spurious xforms include
9219
9220 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9221
9222         * lyxfunc.C (getStatus): disable math-extern outside of math mode
9223
9224 2002-08-13  André Pönitz <poenitz@gmx.net>
9225
9226         * LyXAction.[Ch]:
9227         * lyxfunc.C: further cleaning
9228
9229 2002-08-13  André Pönitz <poenitz@gmx.net>
9230
9231         * funcrequest.h: new constructor
9232
9233         * funcrequest.C: move stuff here from .h
9234
9235         * Makefile.am:
9236         * BufferView_pimpl.C:
9237         * LyXAction.C:
9238         * toc.C:
9239         * lyxfunc.C: subsequent changes
9240
9241         * lyxfunc.h: new view() member function
9242
9243         * lyxfunc.C: subsequent changes
9244
9245 2002-08-13  Angus Leeming  <leeming@lyx.org>
9246
9247         * BufferView2.C:
9248         * BufferView_pimpl.C:
9249         * buffer.C:
9250         * converter.C:
9251         * importer.C:
9252         * lyxfunc.C:
9253         * lyxvc.C:
9254         * toc.C:
9255         * vc-backend.C:
9256         changes due to the changed LyXView interface that now returns references
9257         to member variables not pointers.
9258
9259 2002-08-13  Angus Leeming  <leeming@lyx.org>
9260
9261         * WordLangTuple (word, lang_code): return references to strings,
9262         not strings.
9263
9264         * BufferView.h:
9265         * SpellBase.h:
9266         * lyxtext.h: forward-declare WordLangTuple.
9267
9268         * BufferView2.C:
9269         * ispell.C:
9270         * pspell.C:
9271         * text.C: #include "WordLangTuple.h".
9272
9273         * lyxtext.h:
9274         * text.C: (selectNextWordToSpellcheck): constify return type.
9275
9276 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
9277
9278         * buffer.C:
9279         * buffer.h:
9280         * lyxtext.h:
9281         * paragraph.C:
9282         * paragraph_pimpl.h:
9283         * text.C:
9284         * text2.C:
9285         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9286         suggested by Angus.
9287         Made updateCounter always count from start of buffer, and removed
9288         second argument (par).
9289         Reverted floats number display to '#'. Perhaps I'll try again when the
9290         code base is sanitized a bit.
9291
9292 2002-08-12  Angus Leeming  <leeming@lyx.org>
9293
9294         * buffer.[Ch] (getLabelList): constify.
9295
9296 2002-08-07  André Pönitz <poenitz@gmx.net>
9297
9298         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9299
9300         * funcrequest.h: extension to keep mouse (x,y) position
9301
9302 2002-08-12  Juergen Vigna  <jug@sad.it>
9303
9304         * BufferView2.C (insertErrors): forbid undo when inserting error
9305         insets.
9306
9307         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9308
9309 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9310
9311         * ParagraphList.[Ch]: new files
9312
9313         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9314
9315         * BufferView2.C (lockInset): ParagraphList changes
9316         * toc.C: ditto
9317         * text2.C: ditto
9318         * bufferlist.C: ditto
9319         * buffer.h: ditto
9320         * buffer.C: ditto
9321
9322 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9323
9324         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9325         unused class variable counter_,
9326
9327         * paragraph.[Ch] (getFirstCounter): delete unused function
9328
9329         * counters.C: include LAssert.h
9330         (reset): add a new function with no arg, change other version to
9331         not have def. arg and to not allow empty arg.
9332
9333         * text2.C (setCounter): remove empty arg from call to Counters::reset
9334
9335 2002-08-11  John Levon  <levon@movementarian.org>
9336
9337         * Makefile.am: add WordLangTuple.h
9338
9339 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9340
9341         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9342         lyxfunc.C lyxlex_pimpl.C: ws changes only.
9343
9344         * insets/insettext.C: InsetList changes
9345
9346         * graphics/GraphicsSupport.C (operator()): InsetList changes
9347
9348         * toc.C (getTocList): InsetList changes
9349
9350         * paragraph_pimpl.[Ch]: InsetList changes
9351
9352         * paragraph.[Ch]: InsetList changes
9353
9354         * buffer.C (inset_iterator): InsetList changes
9355         (setParagraph): ditto
9356         * buffer.h (inset_iterator): ditto
9357         * iterators.C (operator++): ditto
9358         * iterators.h: ditto
9359
9360         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9361
9362         * InsetList.[Ch]: new files, most InsetList handling moved out of
9363         paragraph.C.
9364
9365         * BufferView2.C (removeAutoInsets): InsetList changes
9366         (lockInset): ditto
9367         (ChangeInsets): ditto
9368
9369 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
9370
9371         * paragraph_pimpl.h (empty): new function
9372
9373         * paragraph.[Ch] (empty): new function
9374
9375         * other files: use the new Paragraph::empty function
9376
9377 2002-08-09  John Levon  <levon@movementarian.org>
9378
9379         * lyxtext.h: remove unused refresh_height
9380
9381 2002-08-09  John Levon  <levon@movementarian.org>
9382
9383         * Makefile.am:
9384         * sgml.h:
9385         * sgml.C:
9386         * buffer.C:
9387         * paragraph.h:
9388         * paragraph.C: move sgml char escaping out of paragraph
9389
9390         * paragraph.h:
9391         * paragraph.C: remove id setter
9392
9393         * buffer.C:
9394         * paragraph.C:
9395         * paragraph_pimpl.C: remove dead tex_code_break_column
9396
9397         * bufferview_funcs.C: small cleanup
9398
9399         * lyxfunc.C: remove dead proto
9400
9401         * lyxtext.h: make some stuff private. Remove some dead stuff.
9402
9403         * lyxgluelength.C: make as[LyX]String() readable
9404
9405 2002-08-08  John Levon  <levon@movementarian.org>
9406
9407         * LyXAction.h:
9408         * LyXAction.C:
9409         * MenuBackend.C:
9410         * ToolbarDefaults.C:
9411         * lyxfunc.C:
9412         * lyxrc.C:
9413         * toc.C: lyxaction cleanup
9414
9415 2002-08-08  John Levon  <levon@movementarian.org>
9416
9417         * BufferView2.C: small cleanup
9418
9419         * lyxfind.h:
9420         * lyxfind.C: move unnecessary header into the .C
9421
9422 2002-08-08  John Levon  <levon@movementarian.org>
9423
9424         * funcrequest.h: just tedious nonsense
9425
9426         * lyx_main.h:
9427         * lyx_main.C: cleanups
9428
9429         * buffer.C:
9430         * vspace.C: remove dead header lyx_main.h
9431
9432 2002-08-07  Angus Leeming  <leeming@lyx.org>
9433
9434         * Paragraph.[Ch]:
9435         * paragraph_pimpl.h:
9436         Forward declare class Counters in paragraph.h by moving the ctrs member
9437         variable into Paragraph::Pimpl.
9438         (counters): new method, returning a reference to pimpl_->ctrs.
9439
9440         * text2.C: ensuing changes.
9441
9442 2002-08-07  John Levon  <levon@movementarian.org>
9443
9444         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9445
9446         * BufferView_pimpl.C: announce X selection on double/triple
9447           click
9448
9449         * lyx_main.C: use correct bool in batch dispatch
9450
9451         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9452
9453 2002-08-07  André Pönitz <poenitz@gmx.net>
9454
9455         * funcrequest.h: new class to wrap a kb_action and its argument
9456
9457         * BufferView.[Ch]:
9458         * BufferView_pimpl[Ch]:
9459         * LaTeX.C:
9460         * LyXAction.[Ch]:
9461         * lyxfunc.[Ch]:
9462         * lyxrc.C: subsequent changes
9463
9464
9465 2002-08-07  John Levon  <levon@movementarian.org>
9466
9467         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9468           document options change.
9469
9470 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
9471
9472         * counters.[Ch]
9473         * text2.C
9474         * paragraph.[Ch]
9475         * makefile.am: move counters functionality over from
9476         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9477
9478 2002-08-06  John Levon  <levon@movementarian.org>
9479
9480         * WordLangTuple.h: new file for word + language code tuple
9481
9482         * SpellBase.h:
9483         * pspell.h:
9484         * pspell.C:
9485         * ispell.h:
9486         * ispell.C:
9487         * lyxtext.h:
9488         * text.C:
9489         * text2.C:
9490         * BufferView.h:
9491         * BufferView2.C: use WordLangTuple
9492
9493         * layout.h:
9494         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9495
9496 2002-08-06  John Levon  <levon@movementarian.org>
9497
9498         * lyx_main.C: fix cmdline batch handling
9499
9500 2002-08-06  André Pönitz <poenitz@gmx.net>
9501
9502         * lyxrc.C: set default for show_banner to true
9503
9504 2002-08-06  John Levon  <levon@movementarian.org>
9505
9506         * pspell.C: fix a crash, and allow new aspell to work
9507
9508 2002-08-06  John Levon  <levon@movementarian.org>
9509
9510         * lyxfunc.C:
9511         * kbmap.C: small cleanup
9512
9513         * vspace.h:
9514         * vspace.C: add const
9515
9516 2002-08-05  John Levon  <levon@movementarian.org>
9517
9518         * LyXAction.C: back to tabular-insert
9519
9520 2002-08-04  John Levon  <levon@movementarian.org>
9521
9522         * BufferView.h:
9523         * BufferView.C: cosmetic change
9524
9525         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9526
9527         * bufferlist.C:
9528         * buffer.h:
9529         * buffer.C:
9530         * lyxcb.h:
9531         * lyxcb.C:
9532         * lyxserver.C:
9533         * lyxvc.C:
9534         * vc-backend.C:
9535         * BufferView2.C: purge all "Lyx" not "LyX" strings
9536
9537         * lyxcursor.h:
9538         * lyxcursor.C: attempt to add some documentation
9539
9540         * lyxfunc.C:
9541         * commandtags.h:
9542         * LyXAction.C:
9543         * ToolbarDefaults.C:
9544         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9545           merge with LFUN_TABULAR_INSERT
9546
9547         * Makefile.am:
9548         * SpellBase.h:
9549         * ispell.h:
9550         * ispell.C:
9551         * pspell.h:
9552         * pspell.C: split up i/pspell implementations into separate
9553           files, many cleanups
9554
9555         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9556
9557         * text2.C: some cleanup
9558
9559         * lyxfunc.C: don't check for isp_command == "none" any more, it
9560           didn't make any sense
9561
9562 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
9563
9564         * counters.[Ch]
9565         * text2.C
9566         * paragraph.[Ch]
9567         * makefile.am: move counters functionality over
9568         from text2.C/paragraph.[Ch] to counters.[Ch], and
9569         make proper C++.
9570 2002-08-02  John Levon  <levon@movementarian.org>
9571
9572         * buffer.C: s/lyxconvert/lyx2lyx/
9573
9574 2002-08-02  Angus Leeming  <leeming@lyx.org>
9575
9576         * lyxlex.C: revert John's change as it breaks reading of the user
9577         preamble.
9578
9579 2002-08-02  Angus Leeming  <leeming@lyx.org>
9580
9581         * importer.C (Import):
9582         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9583         changes due to LyXView::view() now returning a boost::shared_ptr.
9584
9585 2002-08-02  John Levon  <levon@movementarian.org>
9586
9587         * lyxlex.C: small cleanup
9588
9589 2002-08-02  John Levon  <levon@movementarian.org>
9590
9591         * text2.C (status): small cleanup, no logic change
9592
9593 2002-08-01  John Levon  <levon@movementarian.org>
9594
9595         * buffer.h:
9596         * buffer.C (writeFile): don't output alerts, caller
9597           handles this
9598
9599         * bufferlist.C:
9600         * lyx_cb.C: from above
9601
9602         * lyxfunc.C: allow to open non-existent files
9603
9604 2002-07-31  John Levon  <levon@movementarian.org>
9605
9606         * lyxserver.C: don't let incidental errors get
9607           in the way (errno)
9608
9609 2002-07-30  John Levon  <levon@movementarian.org>
9610
9611         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9612
9613 2002-07-30  John Levon  <levon@movementarian.org>
9614
9615         * lyxserver.h:
9616         * lyxserver.C: remove I/O callback too
9617
9618 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9619
9620         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9621         log.
9622
9623 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9624
9625         * many files: strip,frontStrip -> trim,ltrim,rtrim
9626
9627 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
9628
9629         * PrinterParams.h: remove extern containsOnly, and include
9630         support/lstrings.h instead.
9631
9632         * LaTeX.C (scanAuxFile): modify because of strip changes
9633         (deplog): ditto
9634         * buffer.C (makeLaTeXFile): ditto
9635         * bufferparams.C (writeFile): ditt
9636         * lyxfont.C (stateText): ditto
9637         * lyxserver.C (read_ready): ditto
9638         * vc-backend.C (scanMaster): ditto
9639
9640         * BufferView_pimpl.h: ws changes
9641
9642         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9643
9644 2002-07-26  André Pönitz <poenitz@gmx.net>
9645
9646         * kb_sequence.C: remove unnedred usings
9647
9648 2002-07-26  Juergen Vigna  <jug@sad.it>
9649
9650         * lyxfind.C (LyXReplace): we have to check better if the returned
9651         text is not of theLockingInset()->getLockingInset().
9652
9653 2002-07-25  Juergen Vigna  <jug@sad.it>
9654
9655         * lyxfind.C (LyXReplace): don't replace if we don't get the
9656         right LyXText.
9657
9658         * undo_funcs.C (createUndo): remove debugging code.
9659
9660 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
9661
9662         * buffer.C (parseSingleLyXformat2Token): Use default placement
9663         when reading old floats.
9664
9665         * FloatList.C (FloatList): Change the default placement of figure
9666         and tables to "tbp".
9667
9668 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
9669
9670         * MenuBackend.C: using std::max
9671
9672 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9673
9674         * MenuBackend.C (expandToc):
9675         (expandToc2): code moved from xforms menu frontend. It is now
9676         generic and TOCs are transparent to menu frontends.
9677
9678 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9679
9680         * toc.C (getTocList): protect against buf=0
9681
9682         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9683         Menu as first parameter. Now, this calls itself recursively to
9684         expand a whole tree (this will be useful for TOC handling)
9685         (expandFloatInsert): remove 'wide' version of floats
9686
9687         * MenuBackend.h (submenuname): returns the name of the submenu.
9688         (submenu): returns the submenu itself, provided it has been
9689         created by MenuBackend::expand
9690
9691 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9692
9693         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9694         insets which have noFontChange == true. (bug #172)
9695
9696 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9697
9698         * BufferView_pimpl.C: add connection objects and use them...
9699         (Pimpl): here.
9700
9701 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9702
9703         * MenuBackend.C (expandLastfiles):
9704         (expandDocuments):
9705         (expandFormats):
9706         (expandFloatListInsert):
9707         (expandFloatInsert):
9708         (expand): split expand in parts
9709
9710 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9711
9712         * lyx_gui.C: use lyx_gui::exit()
9713
9714 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9715
9716         * LyXAction.C: show the failing pseudo action
9717
9718 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
9719
9720         * buffer.C (readFile): Run the lyxconvert script in order to read
9721         old files.
9722
9723 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9724
9725         * LyXAction.C:
9726         * commandtags.h:
9727         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9728
9729 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9730
9731         * LyXAction.C:
9732         * commandtags.h:
9733         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9734
9735 2002-07-22  Herbert Voss  <voss@lyx.org>
9736
9737         * lengthcommon.C:
9738         * lyxlength.[Ch]: add support for the vertical lengths
9739
9740 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
9741
9742         * toc.[Ch]: std:: fixes
9743
9744 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9745
9746         * lyxrc.C: do not include lyx_main.h
9747
9748         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9749         for layouts
9750
9751         * lyxrc.C:
9752         * encoding.C:
9753         * bufferlist.C:
9754         * BufferView2.C: include "lyxlex.h"
9755
9756         * tabular.h:
9757         * bufferparams.h: do not #include "lyxlex.h"
9758
9759         * lyxtextclasslist.C (Add): remove method
9760         (classlist): renamed to classlist_
9761
9762         * paragraph_pimpl.C:
9763         * paragraph.C:
9764         * text2.C:
9765         * CutAndPaste.C:
9766         * bufferview_funcs.C:
9767         * bufferlist.C:
9768         * text.C:
9769         * LaTeXFeatures.C:
9770         * buffer.C:
9771         * toc.C (getTocList): use BufferParams::getLyXTextClass
9772
9773         * toc.C (getTocList): use InsetFloat::addToToc
9774
9775         * toc.[Ch]: new files, containing helper functions to handle table
9776         of contents
9777
9778         * lyxfunc.C (dispatch): no need to remove spaces around command
9779         given as a string
9780         (getStatus): handle LFUN_SEQUENCE by returning the status of the
9781         first command of the sequence; it is not very clever, but I do not
9782         have a better idea, actually
9783
9784         * LyXAction.C (LookupFunc): make sure to remove space at the
9785         beginning and end of the command
9786
9787 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9788
9789         * MenuBackend.C (getMenubar): new method: return the menubar of
9790         this menu set
9791         (read): treat differently reading of menu and menubar (in
9792         particular, the menubar has no name now)
9793         (Menu::menubar): remove
9794
9795         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9796         saving is finished
9797
9798 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9799
9800         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9801         a bibitem inset in a RTL paragraph.
9802
9803 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
9804
9805         * paragraph_pimpl.C: constify
9806
9807         * BufferView_pimpl.C:
9808         * LaTeX.C:
9809         * lyxfunc.C: fix dispatch in a nicer way
9810
9811 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9812
9813         * lyxfunc.C (dispatch):
9814         * BufferView_pimpl.C:
9815         * BufferView_pimpl.h:
9816         * BufferView.C:
9817         * BufferView.h: rename Dispatch() to dispatch()
9818
9819         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9820
9821         * lyxlayout.C (Read): honor DependsOn tag
9822
9823         * lyxlayout.[Ch] (depends_on): new method
9824
9825         * version.C.in: update lyx_docversion
9826
9827         * LaTeXFeatures.C (getMacros): only define \LyX when needed
9828
9829         * paragraph.C (validate): remove from here...
9830         * paragraph_pimpl.C (validate): ... and move here
9831         (isTextAt): make it const
9832
9833         * buffer.C (getLists): ws cleanup
9834
9835 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9836
9837         * language.C (read): Use iso8859-1 encoding in latex_lang
9838         (this prevents LyX from crashing when using iso10646-1 encoding).
9839
9840 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9841
9842         * text2.C (toggleInset): if cursor is inside an inset, close the
9843         inset and leave cursor _after_ it
9844
9845 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9846
9847         * lyxfunc.C: move minibuffer completion handling out of here
9848
9849 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9850
9851         * BufferView_pimpl.C:
9852         * LaTeX.C: fix dispatch calls
9853
9854 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
9855
9856         * text.C (drawChars): Fix Arabic text rendering.
9857
9858 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
9859
9860         * LyXAction.C:
9861         * commandtags.h:
9862         * lyxfunc.C: remove message-push/pop
9863
9864         * lyxserver.C:
9865         * lyxfunc.h:
9866         * lyxfunc.C: rationalise some code by removing verboseDispatch
9867           in favour of a bool argument to dispatch()
9868
9869 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9870
9871         * lyx_main.C (init): make sure to read symlinks as absolute paths
9872
9873 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9874
9875         * lyxfunc.h:
9876         * lyxfunc.C: no need for commandshortcut to be a member
9877
9878 2002-07-15  André Pönitz <poenitz@gmx.net>
9879
9880         * converter.C: add support for $$s (scripts from lib/scripts dir)
9881         * lyx_main.C: white space
9882
9883 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9884
9885         * bufferlist.C:
9886         * lyxrc.h:
9887         * lyxrc.C: remove second exit confirmation
9888
9889 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9890
9891         * BufferView.h:
9892         * BufferView.C:
9893         * BufferView2.C:
9894         * BufferView_pimpl.h:
9895         * BufferView_pimpl.C:
9896         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9897
9898 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9899
9900         * MenuBackend.C (expand): add numeric shortcuts to document menu
9901
9902         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9903
9904 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9905
9906         * lyxfont.C (setLyXFamily):
9907         (setLyXSeries):
9908         (setLyXShape):
9909         (setLyXSize):
9910         (setLyXMisc):
9911         (lyxRead):
9912         * debug.C (value):
9913         * buffer.C (asciiParagraph): use ascii_lowercase
9914
9915 2002-07-15  Mike Fabian  <mfabian@suse.de>
9916
9917         * lyxlex_pimpl.C (search_kw):
9918         * lyxlex.C (getLongString):
9919         * converter.h (operator<):
9920         * converter.C (operator<):
9921         * buffer.C (parseSingleLyXformat2Token):
9922         (asciiParagraph):
9923         * ToolbarDefaults.C (read):
9924         * MenuBackend.C (checkShortcuts):
9925         (read):
9926         * LColor.C (getFromGUIName):
9927         (getFromLyXName): use the compare_ascii_no_case instead of
9928         compare_no_case, because in turkish, 'i' is not the lowercase
9929         version of 'I', and thus turkish locale breaks parsing of tags.
9930
9931 2002-07-16  Angus Leeming  <leeming@lyx.org>
9932
9933         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9934         now takes a Buffer const & argument.
9935
9936 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
9937
9938         * BufferView.C (resize): check there's a buffer to resize
9939
9940 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
9941
9942         * lyxfunc.C: remove dead code
9943
9944         * lyxserver.h:
9945         * lyxserver.C: use lyx_guii::set_read_callback
9946
9947 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
9948
9949         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9950         an inset in a RTL paragraph.
9951
9952 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9953
9954         * lyxfunc.C: repaint after a font size update
9955
9956 2002-07-15  André Pönitz <poenitz@gmx.net>
9957
9958         * lyxlength.C: inBP should be able to return negative values
9959
9960 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9961
9962         * lyxfunc.C: use lyx_gui::update_fonts()
9963
9964 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9965
9966         * lyxfunc.C: use lyx_gui::update_color()
9967
9968 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9969
9970         * bufferlist.C:
9971         * lyxfunc.h:
9972         * lyxfunc.C:
9973         * lyxrc.h:
9974         * lyxrc.C: remove file->new asks for name option, and let
9975           buffer-new take an argument
9976
9977 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9978
9979         * BufferView_pimpl.C: remove unneeded extra repaint()
9980
9981 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
9982
9983         * LyXAction.C: allow command-sequence with NoBuffer
9984
9985         * lyxfunc.C: don't insist on trailing ';' for command-sequence
9986
9987 2002-07-10  Angus Leeming  <leeming@lyx.org>
9988
9989         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9990
9991 2002-07-09  Angus Leeming  <leeming@lyx.org>
9992
9993         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9994
9995 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9996
9997         * lengthcommon.h: whitespace
9998
9999         * lyxfunc.C: update scrollbar after goto paragraph
10000
10001         * lyxtext.h: factor out page break drawing, and fix it so
10002           page break/added space paints as selected nicely
10003
10004 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10005
10006         * BufferView_pimpl.C: add FIXMEs, clean up a little
10007
10008 2002-07-09  André Pönitz <poenitz@gmx.net>
10009
10010         * lyxfont.[Ch]: support for wasy symbols
10011
10012 2002-07-08  André Pönitz <poenitz@gmx.net>
10013
10014         * BufferView_pimpl.C: apply John's patch for #93.
10015
10016 2002-07-05  Angus Leeming  <leeming@lyx.org>
10017
10018         * BufferView_pimpl.C (buffer): generate previews if desired.
10019
10020         * LColor.h: add "preview" to the color enum.
10021
10022         * LColor.C (LColor): add a corresponding entry to the items array.
10023
10024         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10025         with this buffer.
10026
10027 2002-07-05  Angus Leeming  <leeming@lyx.org>
10028
10029         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10030         The body of the code is now in the method that is passed an ostream &
10031         rather than a file name.
10032         Pass an additional only_preamble parameter, useful for the forthcoming
10033         preview stuff.
10034
10035 2002-07-03  André Pönitz <poenitz@gmx.net>
10036
10037         * lyxfunc.C: simplify getStatus() a bit for math stuff
10038
10039 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10040
10041         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10042
10043 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10044
10045         * text.C (changeRegionCase): do not change case of all the
10046         document when region ends at paragraph end (bug #461)
10047
10048 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10049
10050         * paragraph.C (startTeXParParams):
10051         (endTeXParParams): add \protect when necessary
10052
10053 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10054
10055         * BufferView_pimpl.C (workAreaExpose): remove warning
10056
10057 2002-06-27  Angus Leeming  <leeming@lyx.org>
10058
10059         * Makefile.am: add lyxlayout_ptr_fwd.h.
10060
10061 2002-06-26  André Pönitz <poenitz@gmx.net>
10062
10063         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10064
10065 2002-06-25  Angus Leeming  <leeming@lyx.org>
10066
10067         * lyxfunc.C (dispatch): Comment out the call to
10068         grfx::GCache::changeDisplay. The method no longer exists now that the
10069         pixmap generation part of the graphics loader has been moved into
10070         InsetGraphics.
10071
10072 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10073
10074         * text2.C: layout as layout
10075
10076         * text.C: layout as layout
10077
10078         * tabular.C (OldFormatRead): layout as layout
10079
10080         * paragraph_pimpl.C (TeXDeeper): layout as layout
10081         (realizeFont): layout as layout
10082
10083         * paragraph.C (writeFile): layout as layout
10084         (validate): layout as layout
10085         (getFont): layout as layout
10086         (getLabelFont): layout as layout
10087         (getLayoutFont): layout as layout
10088         (breakParagraph): layout as layout
10089         (stripLeadingSpaces): layout as layout
10090         (getEndLabel): layout as layout
10091         (getMaxDepthAfter): layout as layout
10092         (applyLayout): layout as layout
10093         (TeXOnePar): layout as layout
10094         (simpleTeXOnePar): layout as layout
10095         (TeXEnvironment): layout as layout
10096         (layout): layout as layout
10097         (layout): layout as layout
10098
10099         * lyxtextclass.C (compare_name): new functor to work with
10100         shared_ptr, layout as layout
10101         (Read): layout as layout
10102         (hasLayout): layout as layout
10103         (operator): layout as layout
10104         (delete_layout): layout as layout
10105         (defaultLayout): layout as layout
10106
10107         * lyxlayout_ptr_fwd.h: new file
10108
10109         * lyxlayout.C (Read): layout as layout
10110
10111         * lyx_cb.C (MenuInsertLabel): layout as layout
10112
10113         * bufferlist.C (newFile): layout as layout
10114
10115         * buffer.C (readLyXformat2): layout as layout
10116         (parseSingleLyXformat2Token): layout as layout
10117         (insertStringAsLines): layout as layout
10118         (asciiParagraph): layout as layout
10119         (latexParagraphs): layout as layout
10120         (makeLinuxDocFile): layout as layout
10121         (simpleLinuxDocOnePar): layout as layout
10122         (makeDocBookFile): layout as layout
10123         (simpleDocBookOnePar): layout as layout
10124         (getLists): layout as layout
10125
10126         * LaTeXFeatures.C (getTClassPreamble): layout as layout
10127
10128         * CutAndPaste.C (cutSelection): layout as layout
10129         (pasteSelection): layout as layout
10130         (SwitchLayoutsBetweenClasses): layout as layout
10131
10132         * BufferView_pimpl.C (Dispatch): layout as layout
10133         (smartQuote): layout as layout
10134
10135         * BufferView2.C (unlockInset): layout as layout
10136
10137 2002-06-24  André Pönitz <poenitz@gmx.net>
10138
10139         * lyxfunc.C: fix #487
10140
10141 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10142
10143         * lyxrc.h:
10144         * lyxrc.C:
10145         * lyxfunc.C: remove display_shortcuts, show_banner
10146
10147 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10148
10149         * Buffer_pimpl.C: oops, update on resize
10150
10151 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10152
10153         * buffer.C:
10154         * converter.C:
10155         * exporter.C:
10156         * lyxfunc.C:
10157         * BufferView.h:
10158         * BufferView.C: use repaint()
10159
10160         * BufferView_pimpl.h:
10161         * BufferView_pimpl.C: s/updateScreen()/repaint()/
10162           as it's a clearer description. Remove superfluous
10163           redraws.
10164
10165 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10166
10167         * text.C: fix bug 488. Not ideal, but getting
10168           getWord() to work properly for the insets that
10169           matter is more difficult ...
10170
10171 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10172
10173         * BufferView_pimpl.C:
10174         * LyXAction.C:
10175         * commandtags.h:
10176         * lyxfunc.C: remove the six million index lyxfuncs to just
10177           one, and DTRT (bug 458)
10178
10179 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10180
10181         * BufferView.h:
10182         * BufferView.C:
10183         * BufferView_pimpl.h:
10184         * BufferView_pimpl.C: clean up resize() stuff,
10185           and unnecessary updateScreen()s
10186
10187 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10188
10189         * BufferView.h:
10190         * BufferView.C:
10191         * BufferView_pimpl.h:
10192         * BufferView_pimpl.C:
10193         * lyxfind.h:
10194         * lyxfind.C:
10195         * minibuffer.C: remove focus management of workarea,
10196           not needed. Use screen's greyOut()
10197
10198 2002-06-17  Herbert Voss  <voss@lyx.org>
10199
10200         * converter.C: (convert) do not post a message, when converting
10201         fails, let the calling function decide what to do in this case
10202
10203 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
10204
10205         * lyxfunc.C: tidy up a little
10206
10207 2002-06-16    <alstrup@diku.dk>
10208
10209         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10210         Got rid of FORMS_H_LOCATION include. Now we are
10211         GUII.
10212
10213 2002-06-15  LyX Development team  <lyx@rilke>
10214
10215         * buffer.[Ch] (sgmlOpenTag):
10216         (sgmlCloseTag): Added support for avoiding pernicious mixed
10217         content. Return number of lines written.
10218
10219         (makeLinuxDocFile):
10220         (makeDocBookFile): Fixed calls to sgml*Tag.
10221         Simple white space clean.
10222
10223         (simpleDocBookOnePar): Simple white space clean.
10224
10225         * tabular.[Ch] (docBook): Renamed to docbook and got another
10226         argument to related with the pernicious mixed content.
10227
10228         (docbookRow): Fixed calls for docbook inset method.
10229
10230 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
10231
10232         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10233         so it's X11 independent.
10234
10235         * kb*.[Ch]: ditto.
10236
10237         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10238
10239 2002-06-15  Lyx Development team  <lyx@electronia>
10240
10241         * intl.h: Renamed getTrans to getTransManager.
10242
10243 2002-06-14  Angus Leeming  <leeming@lyx.org>
10244
10245         * Makefile.am: nuke forgotten stl_string_fwd.h.
10246
10247 2002-06-12  Angus Leeming  <leeming@lyx.org>
10248
10249         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10250
10251 2002-06-13  Angus Leeming  <leeming@lyx.org>
10252
10253         * LaTeX.C:
10254         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10255
10256 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
10257
10258         * kbmap.C (getiso): add support for cyrillic and greek
10259
10260 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10261
10262         * BufferView.h:
10263         * BufferView.C:
10264         * BufferView_pimpl.h:
10265         * BufferView_pimpl.C: move bogus scrolling logic
10266           to xforms
10267
10268 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10269
10270         * lyxfunc.C:
10271         * BufferView_pimpl.C: view->resize() change
10272
10273 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10274
10275         * BufferView_pimpl.C: topCursorVisible
10276           prototype change
10277
10278 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10279
10280         * Makefile.am:
10281         * lyx_gui.h:
10282         * lyx_gui.C: move to frontends/
10283
10284         * main.C:
10285         * lyx_main.h:
10286         * lyx_main.C: changes from above
10287
10288 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10289
10290         * intl.C:
10291         * intl.h:
10292         * kbmap.C:
10293         * kbsequence.C:
10294         * lyx_cb.C:
10295         * lyx_main.C: minor tidy
10296
10297 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10298
10299         * BufferView_pimpl.h:
10300         * BufferView_pimpl.C:
10301         * BufferView.h:
10302         * BufferView.C: make painter() const,
10303           remove dead code
10304
10305         * BufferView2.C: use screen() accessor
10306
10307         * lyx_main.h:
10308         * lyx_main.C: some minor cleanup
10309
10310 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10311
10312         * BufferView_pimpl.h:
10313         * BufferView_pimpl.C: remove enter/leaveView,
10314           use workHeight()
10315
10316 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10317
10318         * BufferView.h:
10319         * BufferView.C:
10320         * BufferView2.C:
10321         * BufferView_pimpl.h:
10322         * BufferView_pimpl.C: only construct screen once,
10323           rename
10324
10325         * lyxrc.C: remove pointless comment
10326
10327 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10328
10329         * BufferView.h:
10330         * BufferView.C: remove active() and belowMouse()
10331
10332         * BufferView_pimpl.h:
10333         * BufferView_pimpl.C: use workarea() not workarea_,
10334           and make it use a scoped_ptr instead
10335
10336 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10337
10338         * lyx_gui.C: add debug message on BadWindow
10339
10340 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10341
10342         * sp_spell.C: fdopen is not part of the C++ standard.
10343
10344         * paragraph.C (InsetIterator): use >= instead of ==
10345
10346 2002-06-07  Angus Leeming  <leeming@lyx.org>
10347
10348         Fixes needed to compile with Compaq cxx 6.5.
10349         * BufferView_pimpl.C:
10350         * DepTable.C:
10351         * buffer.C:
10352         * converter.C:
10353         * encoding.C:
10354         * lyx_gui.C:
10355         * lyx_main.C:
10356         * lyxtextclasslist.C:
10357         * minibuffer.C:
10358         * sp_spell.C:
10359         * tabular_funcs.C:
10360         * vc-backend.C:
10361         all c-library variables have been moved into namespace std. Wrap
10362         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10363
10364         * lyxlength.C:
10365         * tabular-old.C:
10366         * tabular.C:
10367         Add a using std::abs declaration.
10368
10369         * kbmap.h (modifier_pair):
10370         * paragraph.h (InsetTable, InsetList):
10371         * lyxfont.h (FontBits):
10372         type definition made public.
10373
10374         * bufferlist.C (emergencyWriteAll): the compiler complains that
10375         there is more than one possible lyx::class_fun template to choose from.
10376         I re-named the void specialisation as lyx::void_class_fun.
10377
10378         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10379
10380         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10381         the compiler is is unable to find tostr in write_attribute.
10382
10383 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10384
10385         * buffer.C (sgmlError): hide #warning
10386
10387 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10388
10389         * xtl/*: get rid of xtl, which is not in use anyway
10390
10391         * LyXAction.C (init):
10392         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10393         were unimplemented xtl experimentation
10394
10395 2002-06-04  André Pönitz <poenitz@gmx.net>
10396
10397         * lyxfunc.C: disable array operation on simple formulae
10398
10399 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
10400
10401         * converter.C: constify a bit
10402
10403 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
10404
10405         * lyx_gui.C: check xforms version correctly
10406
10407 2002-04-30  Herbert Voss  <voss@lyx.org>
10408
10409         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10410         "keep" option
10411
10412 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
10413
10414         * lyxvc.C: fix bug 416 (make sure buffer is saved before
10415           attempt to register it with a VCS)
10416
10417 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10418
10419         * lyx_main.C (init): honor variables LYX_DIR_13x and
10420         LYX_USERDIR_13x
10421
10422 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10423
10424         * buffer.h:
10425         * buffer.C:
10426         * lyx_main.C: fix a crash on bad command line,
10427           and give a useful exit status on error
10428
10429         * lyxfunc.C (doImport): allow -i lyx to work
10430
10431 2002-03-30  André Pönitz <poenitz@gmx.net>
10432
10433         * lyxfunc.C: mathed font changes
10434
10435 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10436
10437         * LaTeX.C:
10438         * importer.h:
10439         * importer.C:
10440         * lyx_sty.h:
10441         * lyx_sty.C:
10442         * lyxlex.C:
10443         * lyxrow.h:
10444         * lyxtext.h:
10445         * paragraph.h:
10446         * paragraph.C:
10447         * texrow.h:
10448         * texrow.C:
10449         * text.C:
10450         * trans_mgr.h: srcdocs, and some minor cleanups
10451
10452 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10453
10454         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10455         call getFont all the time)
10456
10457 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10458
10459         * switch from SigC signals to boost::signals
10460
10461 2002-05-29  André Pönitz <poenitz@gmx.net>
10462
10463         * paragraph_pimpl.C (getChar): don't call size() too often...
10464
10465 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10466
10467         * paragraph_pimpl.C (insertChar): do not try to update tables when
10468         appending (pos == size())
10469
10470         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10471         in order to reduce drastically the number of comparisons needed to
10472         parse a large document
10473
10474 2002-05-29  André Pönitz <poenitz@gmx.net>
10475
10476         * text.C:
10477         * text2.C:
10478         * lyxtextclass.C:
10479         * sp_pspell.h:
10480         * textclasslist.[Ch]:
10481         * sp_ispell.h: whitespace change
10482
10483 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10484
10485         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10486         lyxaction directly now.
10487
10488 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
10489
10490         * trans.C:
10491         * lyxfont.C:
10492         * lyxvc.C: remove unused headers
10493
10494 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10495
10496         * Makefile.am:
10497         * buffer.h:
10498         * undostack.h:
10499         * undostack.C:
10500         * undo_funcs.h:
10501         * undo_funcs.C: some cleanups. Use shared_ptr
10502           and a template for the undo stacks.
10503
10504 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10505
10506         * BufferView_pimpl.h:
10507         * BufferView_pimpl.C:
10508         * kbmap.h:
10509         * kbmap.C:
10510         * kbsequence.h:
10511         * kbsequence.C:
10512         * lyxfunc.h:
10513         * lyxfunc.C:
10514         * text2.C: use key_state/mouse_state
10515
10516 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10517
10518         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10519         and LSubstring
10520
10521         * chset.C: change include order
10522         (loadFile): use boost regex and get rid of LRegex and LSubstring
10523
10524         * Makefile.am (BOOST_LIBS): new variable
10525         (lyx_LDADD): use it
10526
10527         * LaTeX.C: change include order.
10528         (scanAuxFile): use boost regex and get rid of LRegex and
10529         LSubstring
10530         (deplog): ditto
10531
10532 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10533
10534         * ColorHandler.h:
10535         * ColorHandler.C:
10536         * FontInfo.h:
10537         * FontInfo.C: moved to frontends/xforms/
10538
10539         * FontLoader.h:
10540         * FontLoader.C: moved into frontends for GUIIzation
10541
10542         * Makefile.am:
10543         * lyx_gui.C:
10544         * lyxfont.C:
10545         * lyxfunc.C: changes from above
10546
10547 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10548
10549         * LColor.C: remove spurious X include
10550
10551         * BufferView_pimpl.C:
10552         * Makefile.am:
10553         * font.h:
10554         * font.C:
10555         * text.C:
10556         * text2.C: move font metrics to frontends/
10557
10558 2002-05-24  Juergen Vigna  <jug@sad.it>
10559
10560         * undo_funcs.C (textHandleUndo): fix the cursor selection after
10561         setting the undo_cursor.
10562
10563         * ParagraphParameters.h: include local includes first.
10564
10565 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10566
10567         * BufferView_pimpl.C:
10568         * BufferView_pimpl.h:
10569         * Makefile.am:
10570         * WorkArea.h:
10571         * WorkArea.C:
10572         * screen.C: move WorkArea into frontends/
10573
10574         * lyxscreen.h:
10575         * screen.C:
10576         * text.C:
10577         * BufferView.C:
10578         * BufferView2.C: move LyXScreen into frontends/
10579
10580         * lyxlookup.h:
10581         * lyxlookup.C:
10582         * lyx_gui.C: move lyxlookup into frontends/xforms/
10583
10584 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10585
10586         * BufferView2.C:
10587         * BufferView_pimpl.C:
10588         * FontLoader.C:
10589         * LyXView.h:
10590         * LyXView.C:
10591         * Makefile.am:
10592         * WorkArea.C:
10593         * XFormsView.h:
10594         * XFormsView.C:
10595         * buffer.C:
10596         * bufferlist.C:
10597         * bufferview_funcs.C:
10598         * converter.C:
10599         * importer.C:
10600         * lyx_cb.C:
10601         * lyx_gui.C:
10602         * lyx_main.C:
10603         * lyx_find.C:
10604         * lyxfunc.C:
10605         * lyxvc.C:
10606         * minibuffer.C:
10607         * text.C:
10608         * text2.C:
10609         * trans.C:
10610         * vc-backend.C: move LyX/XFormsView into frontends/
10611
10612 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10613
10614         * Makefile.am:
10615         * PainterBase.C:
10616         * PainterBase.h:
10617         * Painter.C:
10618         * Painter.h:
10619         * WorkArea.C:
10620         * WorkArea.h:
10621         * screen.C:
10622         * tabular.C:
10623         * text.C:
10624         * text2.C: move Painter to frontends/
10625
10626 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10627
10628         * buffer.C: comment out some some code that depend upon lyx_format
10629         < 220
10630
10631         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10632         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10633
10634         * buffer.h (NO_COMPABILITY): turn off compability
10635
10636         * ColorHandler.C: include scoped_array.hpp
10637
10638         * font.C: Use more specific smart_ptr header.
10639         * Painter.C: ditto
10640         * gettext.C: ditto
10641         * ShareContainer.h: ditto
10642         * lyx_main.h: ditto
10643         * kbmap.h: ditto
10644         * FontInfo.h: ditto
10645         * BufferView_pimpl.h: ditto
10646         * ColorHandler.h: ditto
10647
10648         * kbmap.C (defkey): change call to shared_ptr::reset
10649
10650 2002-05-21  Juergen Vigna  <jug@sad.it>
10651
10652         * buffer.C (insertErtContents): fix to insert ert asis if it is
10653         non empty. Skip it completely if it contains only whitespaces.
10654
10655 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
10656
10657         * BufferView_pimpl.C:
10658         * BufferView2.C: clear selection on paste (bug 393)
10659
10660 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10661
10662         * DepTable.C: include ctime
10663
10664 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
10665
10666         * buffer.C (latexParagraphs): Add new argument (moving_arg).
10667
10668 2002-05-14  Juergen Vigna  <jug@sad.it>
10669
10670         * text.C (breakParagraph): fixed function to honor the keepempty
10671         layout in the right maner and also to permit the right breaking
10672         algorithm on empty or non empyt keepempty paragraphs.
10673
10674         * paragraph.C (breakParagraph): we have to check also if the par
10675         is really empty (!size()) for isempty otherwise we do the wrong
10676         paragraph break.
10677
10678 2002-05-10  Juergen Vigna  <jug@sad.it>
10679
10680         * buffer.[Ch] : The following are only changes to the ert
10681         compatibility read reading old LaTeX layout and font stuff and
10682         convert it to ERTInsets.
10683
10684         * buffer.h: added isErtInset().
10685
10686         * buffer.C (struct ErtComp): add a fromlayout bool to check
10687         if we're inside a LaTeX layout.
10688         (isErtInset): new helper function.
10689         (insertErtContents): look for other ert insets before this one
10690         and insert the contents there, so that we don't have subsequent
10691         ERT insets with nothing between them. This way we create only one
10692         inset with multiple paragraphs. Also check if we don't insert only
10693         spaces ' ' as they are ignored anyway afterwards in the .tex file
10694         so if we have only spaces we will ignore this latex part in the
10695         new file.
10696         (parseSingleLyXformat2Token \\layout): better compatibility when
10697         reading layout-latex stuff.
10698         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10699         language tag.
10700         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10701         stuff after reading the inset only get the information back from
10702         the stack.
10703
10704 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
10705
10706         * buffer.C (makeLaTeXFile): Put language options after loading babel.
10707
10708         * LaTeXFeatures.C (getBabelOptions): New method.
10709
10710 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10711
10712         * BufferView_pimpl.C (Dispatch): work around missing argument for
10713         'layout'
10714
10715 2002-05-08  Juergen Vigna  <jug@sad.it>
10716
10717         * text.C (leftMargin): handle paragraph leftindent.
10718
10719         * paragraph.C (writeFile): write the new \\leftindent tag.
10720         (validate): handle leftindent code.
10721         (TeXEnvironment): handle paragraphleftindent code again.
10722
10723         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10724
10725         * buffer.C (parseSingleLyXformat2Token): added compatibility code
10726         for paragrap_extra indent code and new token \\leftindent.
10727         (latexParagraphs): handle the leftindent as environment.
10728
10729         * ParameterStruct.h: added leftindent support.
10730
10731         * ParagraphParameters.C (leftIndent): added support functions for
10732         the paragraph left indent.
10733
10734         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10735         more appropriate.
10736
10737 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
10738
10739         * paragraph.C (isRightToLeftPar): Return false for a paragraph
10740         inside insetERT.
10741
10742         * text.C (computeBidiTables): No bidi in insetERT.
10743
10744         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10745         in RTL documents.
10746
10747 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10748
10749         * version.C.in: pre 5
10750
10751 2002-05-02  José Matos  <jamatos@fep.up.pt>
10752         * buffer.C (makeDocBookFile): white space changes, add newline to
10753         command styles.
10754         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10755
10756         * tabular.C (docBook): fix typo.
10757
10758 2002-05-03  Juergen Vigna  <jug@sad.it>
10759
10760         * screen.C (drawFromTo): recalculate the rowpointer if we had a
10761         change in LyXText as we can not be sure it was not freed.
10762         (drawOneRow): remove unused code.
10763
10764         * text.C (drawInset): redo the calculation of the need_break_row as
10765         it could have a row which was already freed.
10766         (draw): look at the return value of drawInset and return false if
10767         it also returned false.
10768         (paintRowText): look at the return value of draw and return false if
10769         it also returned false.
10770
10771         * lyxtext.h: added bool return type to drawInset() and draw() so that
10772         if we have a change in the row so that the rowbreak has to be redone
10773         we abort drawing as it will be called again.
10774
10775 2002-05-02  Juergen Vigna  <jug@sad.it>
10776
10777         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10778         a change in the maintext also if we're inside an inset.
10779         (Dispatch): set the cursor again after a break line and after the
10780         screen has been updated as it could be we're in a different row.
10781
10782         * text2.C (fixCursorAfterDelete): check to make sure we don't request
10783         to set the cursor behind the pargraph with > size().
10784         (setCursor): check also for the same paragraph when checking where
10785         to put the cursor if we have a NFR inset.
10786
10787         * buffer.C (parseSingleLyXformat2Token): move the compatibility
10788         parts of layout read further up as it still was in the wrong
10789         position.
10790
10791 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10792
10793         * screen.C (drawFromTo): change sine fullRebreak always return
10794         true.
10795
10796         * buffer.C (parseSingleLyXformat2Token): reindent some
10797
10798         * BufferView_pimpl.C (update): change since fullRebreak always
10799         return true.
10800         (Dispatch): git rid of the last hardcoded "Standard"s.
10801
10802 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10803
10804         * text2.[Ch] (fullRebreak): make it return void now that we always
10805         returned true.
10806
10807 2002-04-30  Juergen Vigna  <jug@sad.it>
10808
10809         * buffer.C (parseSingleLyXformat2Token): reset the font before the
10810         ert compatibility check for "latex" layout.
10811
10812 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
10813
10814         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10815         minipages: use col% instead of p%, and also use the current font.
10816         (makeLaTeXFile): Fix use babel condition.
10817         (parseSingleLyXformat2Token): Correct font when reading old floats.
10818
10819 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
10820
10821         * BufferView_pimpl.C (Dispatch): Check that float type exists when
10822         inserting list of floats.
10823
10824 2002-04-25  Herbert Voss  <voss@lyx.org>
10825
10826         * MenuBackend.C (expand): don't add the graphics extensions to the
10827         export menu
10828
10829 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10830
10831         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10832         non-existing layout, do not complain if it was the default layout
10833         of the original class (bug #342)
10834
10835 2002-04-24  Juergen Vigna  <jug@sad.it>
10836
10837         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10838         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10839
10840 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
10841
10842         * buffer.C (getBibkeyList): If using \bibliography, return the
10843         option field with the reference itself. Enables us to provide natbib
10844         support when using \bibliography.
10845
10846 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
10847
10848         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10849
10850         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10851         natbib is provided by the LaTeX class.
10852
10853 2002-04-23  Juergen Vigna  <jug@sad.it>
10854
10855         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10856         Wakeup functions.
10857
10858         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10859
10860 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10861
10862         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10863
10864         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10865         ensuremath around textordmasculine, textordfeminine and
10866         textdegree.
10867
10868 2002-04-19  Juergen Vigna  <jug@sad.it>
10869
10870         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10871         reinitializing the buffer otherwise row-dimensions may be wrong.
10872         (update): reset also the selection cursors if they do exits otherwise
10873         their x/y positions may be wrong.
10874
10875         * text2.C (cursorDown): don't enter the inset if we came from a row
10876         above and are one row over the inset.
10877
10878         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10879         really leaving an inset.
10880
10881 2002-04-18  Juergen Vigna  <jug@sad.it>
10882
10883         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10884         of the selected paragraph does not have the selected layout also if
10885         the last one had!
10886
10887         * text2.C (setLayout): fixed bug which did not change last selected
10888         paragraph.
10889
10890         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10891         changed the read and substituted \\end_float with \\end_inset!
10892
10893         * BufferView_pimpl.C (cursorPrevious):
10894         (cursorNext): fixed to make it work with rows heigher than the work
10895         area without moving the cursor only the draw of the row.
10896         (workAreaMotionNotify): fix jumping over high rows.
10897
10898 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10899
10900         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10901         Ressler.
10902
10903 2002-04-16  Juergen Vigna  <jug@sad.it>
10904
10905         * text2.C (setCursor): set also the irow().
10906         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10907         (cursorUp):
10908         (cursorDown): support for locking an inset if the x_fix value goes
10909         inside it. That way I can transverse insets too with cursor up/down.
10910
10911         * lyxrow.h: added irow helper function same as other (i) functions.
10912
10913         * BufferView_pimpl.C (cursorPrevious):
10914         (cursorNext): fixed for insets!
10915
10916 2002-04-15  Juergen Vigna  <jug@sad.it>
10917
10918         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10919         position otherwise it is wrong in some cases.
10920
10921         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10922         inside the inset before the call.
10923
10924 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
10925
10926         * buffer.[Ch] (getBibkeyList): make it const.
10927
10928 2002-04-12  Juergen Vigna  <jug@sad.it>
10929
10930         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10931
10932         * text2.C (getCursorX): new helper function
10933         (setCursor): compute also ix_
10934         (setCursorFromCoordinates): set also ix.
10935
10936         * lyxcursor.h: added ix_ and helper functions.
10937
10938         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10939
10940         * buffer.C (insertStringAsLines): dont break paragraph if the this
10941         paragraph is inside an inset which does not permit it!
10942
10943         * text.C (breakParagraph): honor keepempty flag and break the paragraph
10944         also with no chars on this paragraph.
10945         (paintRowText): only paint stuff if it's inside the workarea!
10946
10947         * paragraph.C (breakParagraph): honor keepempty flag and break the
10948         paragraph always below not above.
10949
10950         * BufferView2.C (unlockInset): update the paragraph layout on inset
10951         unlock as we changed paragraph in such a case.
10952
10953         * lyxfind.C (LyXFind): clear the former selection if not found!
10954
10955         * text2.C (insertInset): freeze Undo after setUndo so that it is not
10956         again called in insertChar().
10957
10958         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10959         an inset which uses the whole row!
10960         (rightMargin): ditto.
10961         (insertChar): force a rebreak if we inserted an inset!
10962
10963 2002-03-28  Herbert Voss  <voss@lyx.org>
10964
10965         * lyxlength.[Ch]: add inBP() to get the right PS-point
10966         units (BigPoint). With inPixels we have rounding errors
10967
10968 2002-04-11  Juergen Vigna  <jug@sad.it>
10969
10970         * text2.C (setCursorFromCoordinates): set iy to the right value.
10971         (setCursor): add check if row->previous exists!
10972
10973         * buffer.C (parseSingleLyXformat2Token): reset font after read of
10974         an old float_type as this was the case in the old code!
10975
10976         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10977
10978         * BufferView2.C (showLockedInsetCursor): use iy
10979         (fitLockedInsetCursor): ditto
10980
10981         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10982         locked insets as there we have the right value now.
10983
10984         * lyxcursor.C: added iy_ variable and iy functions to set to the
10985         baseline of cursor-y of the locked inset.
10986
10987         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10988         (setCursor): fixed for insets which need a full row.
10989
10990         * text.C (rowLastPrintable): don't ignore the last space when before
10991         an inset which needs a full row.
10992         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10993         as last character of a row when before a inset which needs a full row.
10994
10995 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10996
10997         * version.C.in: update date
10998
10999         * text2.C (fullRebreak): try to always return true and see what
11000         happens...
11001
11002 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11003
11004         * MenuBackend.C (expand): use Floating::listName
11005
11006         * FloatList.C (FloatList): add listName argument to the built-in
11007         floats
11008
11009         * Floating.[Ch]: add listName member, which is the 'List of XXX'
11010         text associated with the float.
11011
11012 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11013
11014         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11015
11016 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11017
11018         * ShareContainer.h: add a couple of missing typenames.
11019
11020 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
11021
11022         * lyxrc.C (getDescription): use _() correctly rather than N_().
11023
11024 2002-03-28  Herbert Voss  <voss@lyx.org>
11025
11026         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11027         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11028
11029 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11030
11031         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11032         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11033
11034 2002-03-29  Juergen Vigna  <jug@sad.it>
11035
11036         * lyxfunc.C (dispatch): add a missing fitCursor call.
11037
11038         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11039         it was scrolled by a cursor move, so return the bool status.
11040
11041         * BufferView.C (fitCursor): return the bool flag also to the outside
11042         world as this is needed.
11043
11044         * screen.C (toggleToggle): don't subtract the offset if it's positive.
11045
11046         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11047         call the edit() as it is not needed (and wrong) IMO.
11048         (workAreaButtonPress): set the screen_first variable before evt.
11049         unlock the inset as this may change screen_first and then we have
11050         a wrong y position for the click!
11051
11052 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11053
11054         * MenuBackend.C (expand): another translation that I missed
11055
11056 2002-03-28  Juergen Vigna  <jug@sad.it>
11057
11058         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11059
11060         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11061
11062 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11063
11064         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11065
11066         * MenuBackend.C (expand): fix export/view/update when there is no
11067         document open.
11068
11069 2002-03-27  Herbert Voss  <voss@lyx.org>
11070
11071         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11072         and text%
11073
11074 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11075
11076         * bufferview_funcs.C (currentState): only show paragraph number
11077         for is DEVEL_VERSION is set.
11078
11079         * lyxfunc.C (dispatch): put warning in INFO channel
11080
11081         * MenuBackend.C (expand): translate the name of floats
11082
11083         * FloatList.C (FloatList): mark the float names for translation
11084
11085         * converter.C (convert): use LibScriptSearch
11086
11087 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11088
11089         * MenuBackend.C (defaults): fix default menu (we might as well get
11090         rid of it...)
11091
11092 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11093
11094         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11095         directory.
11096
11097 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11098
11099         * lyxvc.C: reorder includes.
11100
11101 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
11102
11103         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11104           properly
11105
11106 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
11107
11108         * CutAndPaste.C: change layouts earlier on paste
11109           to avoid crashing when calling getFont()
11110
11111 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
11112
11113         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11114         irritating #error.
11115
11116 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11117
11118         * WorkArea.C: remove 'Pending' debug message.
11119
11120         * most files: ws cleanup
11121
11122         * buffer.[Ch]: ws changes
11123
11124         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11125
11126 2002-03-21  Juergen Vigna  <jug@sad.it>
11127
11128         * tabular.C (SetMultiColumn): collapse also the contents of the
11129         cells and set the last border right. Added a Buffer const * param.
11130
11131 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11132
11133         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11134         linking or not.
11135
11136 2002-03-19  Juergen Vigna  <jug@sad.it>
11137
11138         * text2.C (clearSelection): reset also xsel_cache.
11139
11140         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11141         where it needs to be called (John tells us to do so too :)
11142         (selectionLost): reset sel_cache.
11143
11144         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11145
11146 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11147
11148         * text2.C (setCursorIntern): put debuging code in INSETS channel
11149
11150 2002-03-19  André Pönitz <poenitz@gmx.net>
11151
11152         * lyxfunc.C: tiny whitespace change
11153
11154 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11155
11156         * ToolbarDefaults.C (init):
11157         * LyXAction.C (init):
11158         * commandtags.h:
11159         * BufferView_pimpl.C (Dispatch):
11160         * lyxfunc.C (dispatch): remove LFUN_DEPTH
11161
11162 2002-03-19  Allan Rae  <rae@lyx.org>
11163
11164         * exporter.C (Export): removeAutoInsets before doing anything else.
11165         While I've just introduced a dependency on BufferView this really is
11166         the best place to clean the buffer otherwise you need to cleanup in
11167         a dozen places before calling export or cleanup in a dozen functions
11168         that export calls.
11169
11170         * converter.C (runLaTeX):
11171         (scanLog): Better handling of removeAutoInsets and screen updates.
11172
11173         * lyxfunc.C (dispatch): small whitespace changes
11174
11175 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11176
11177         * WorkArea.C (C_WorkAreaEvent): return a value.
11178         (event_cb): return 1 if we handled the event, 0 otherwise.
11179
11180         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11181
11182 2002-03-18  Juergen Vigna  <jug@sad.it>
11183
11184         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11185         (GetAdditionalWidth): ditto.
11186         (RightLine): ditto.
11187         (LeftLine): ditto.
11188
11189         * BufferView2.C (copy): use getLyXText() so that we do it inside an
11190         inset if we're there actually (probably not used right now but this
11191         is the direction to go for unifying code).
11192         (paste): disable code to clear the selection.
11193
11194         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11195         inside an InsetText and move the check further up as it is in the
11196         wrong place.
11197
11198         * text2.C (pasteSelection): set a selection over the pasted text.
11199
11200 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
11201
11202         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11203         and libgraphics to build on Cygwin.
11204
11205 2002-03-15  Juergen Vigna  <jug@sad.it>
11206
11207         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11208         inserting an Inset into the paragraph. I know this is not the best
11209         fix but we already use current_view in CutAndPaste so we will remove
11210         all of it's using at the same time.
11211
11212         * buffer.C (sgmlError): deactivated function till it is rewritten in
11213         the right mode, now it can create problems.
11214
11215         * paragraph.C (isLineSeparator): check if getInset returns != 0,
11216         before accessing it.
11217
11218 2002-03-14  Juergen Vigna  <jug@sad.it>
11219
11220         * undo_funcs.C (textHandleUndo): do the right thing when updating
11221         the inset after the undo/redo.
11222
11223         * text2.C (setCursor): just some testcode for #44 not ready yet.
11224
11225         * undo_funcs.C (textHandleUndo): set the next() and previous()
11226         pointers of the paragraph to 0 before deleting otherwise we have
11227         problems with the Paragraph::[destructor].
11228
11229         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11230         on a paragraph insertion.
11231
11232 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11233
11234         * buffer.C (asciiParagraph): use += operator for char append to
11235         string.
11236
11237         * paragraph.C (getFontSettings): compare >= not just >
11238         (highestFontInRange): ditto
11239         (setFont): ditto
11240
11241 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11242
11243         * paragraph.C: change several algorithm to be more appripriate for
11244         the problem domain. This is lookip in FontList and in the InsetList.
11245
11246 2002-03-13  André Pönitz <poenitz@gmx.net>
11247
11248         * commandtags.h:
11249         * LyXAction.C: remove unused LFUN_MATH_MACROARG
11250
11251 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
11252
11253         * commandtags.h:
11254         * LyXAction.C:
11255         * lyxfunc.C:
11256         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11257
11258 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11259
11260         * Painter.C (display): anon helper function, adjust code for this
11261         change.
11262         (pixmap): remove function.
11263
11264         * Painter.h: remove private display variable.
11265
11266         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11267
11268 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
11269
11270         * WorkArea.[Ch]: remove figinset_canvas cruft.
11271
11272 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11273
11274         * lyxtextclass.C (operator): add one item cache optimization.
11275
11276         * bufferlist.h: doxy changes
11277
11278         * bufferlist.C: ws changes
11279
11280         * DepTable.[Ch] (ext_exist): place const in the right spot.
11281
11282         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11283         call resizeInsets.
11284         (workAreaExpose): call resizeInsets when the with BufferView changes.
11285         (Dispatch): adjust for protectedBlank removal
11286         (specialChar): call updateInset if the insert went ok.
11287
11288         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11289         specialChar instead.
11290
11291         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11292
11293         * BufferView.h: doxy change
11294
11295         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11296
11297         * lyxtextclass.C (operator[]): remove non-const version
11298         (defaultLayout): remove non-const version
11299
11300 2002-03-12  Juergen Vigna  <jug@sad.it>
11301
11302         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11303         did resize the LyXText too.
11304
11305         * buffer.C (readLyXformat2): set layout information on newly allocated
11306         paragraphs.
11307
11308         * tabular.C (OldFormatRead): set layout information on the paragraph.
11309
11310 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11311
11312         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11313
11314 2002-03-11  Juergen Vigna  <jug@sad.it>
11315
11316         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11317         plainly wrong.
11318         (resizeCurrentBuffer): force also the insets to resize themselfes.
11319         (moveCursorUpdate): fixed up for InsetText.
11320
11321 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
11322
11323         * commandtags.h:
11324         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11325         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11326         value of Dialogs::tooltipsEnabled().
11327         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11328
11329 2002-03-08  Juergen Vigna  <jug@sad.it>
11330
11331         * BufferView_pimpl.C (updateInset): update inset inside inset also
11332         if it isn't inside theLockingInset().
11333
11334 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11335
11336         * buffer.C (asciiParagraph): redo some of the word and line length
11337         handling.
11338         (getLists): look for Caption instead of caption.
11339
11340 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11341
11342         * buffer.C (Buffer): initialize niceFile to true
11343         (makeLaTeXFile):
11344         (makeLinuxDocFile):
11345         (makeDocBookFile): make sure niceFile is true on exit
11346
11347 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11348
11349         * buffer.C (makeLaTeXFile): escape ~ in \input@path
11350
11351 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
11352
11353         * LyXSendto.C: remove.
11354         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11355         * lyx_gui.C: remove now-redundant comment.
11356         * ColorHandler.h: remove forward declaration of class WorkArea.
11357         * lyxfunc.C: remove #include "WorkArea.h".
11358
11359 2002-03-07  Juergen Vigna  <jug@sad.it>
11360
11361         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11362         got moved away with the DEPM and also set the inset_owner always
11363         right which before could have been omitted.
11364
11365 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11366
11367         * buffer.C (parseSingleLyXformat2Token): use default layout is the
11368         wanted layout is not found.
11369
11370 2002-03-07  Juergen Vigna  <jug@sad.it>
11371
11372         * CutAndPaste.C (cutSelection): another layout settings forgotten.
11373
11374 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11375
11376         * paragraph.C (breakParagraph): use default layout not layout of
11377         prev paragraph.
11378         (Paragraph): clear ParagraphParameters.
11379
11380 2002-03-06  Juergen Vigna  <jug@sad.it>
11381
11382         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11383         otherwise it would not be a valid lenght. Fixed a special case in
11384         the minipage compatibility read where we end the document with a
11385         minipage.
11386
11387         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11388         was set as it could be 0 for InsetTexts first entry.
11389
11390 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11391
11392         * paragraph.C (writeFile): if layout is empty write out
11393         defaultLayoutName().
11394
11395         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11396         file without named layout we set layout to defaultLayoutName().
11397
11398 2002-03-06  Juergen Vigna  <jug@sad.it>
11399
11400         * CutAndPaste.C (copySelection): set layout for new paragraph.
11401
11402         * text.C (prepareToPrint): leave ERT inset left aligned
11403         (leftMargin): don't indent paragraphs inside ERT insets
11404
11405 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11406
11407         * paragraph.C (breakParagraph): dont call clear do the work manually
11408
11409         * paragraph.[Ch] (clear): remove function
11410
11411 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11412
11413         * paragraph.C (Paragraph): dont call clear, the work has already
11414         been done.
11415
11416         * lyxtextclass.C (operator): assert if n is empty
11417
11418         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11419         work manually instead.
11420
11421 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11422
11423         * BufferView_pimpl.C: protect selectionLost against text == 0
11424
11425 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11426
11427         * text.C (breakParagraph): fix a setting layout to '0' problem.
11428
11429 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11430
11431         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11432         final location of file, for the included files, and graphics.
11433
11434 2002-03-05  Juergen Vigna  <jug@sad.it>
11435
11436         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11437
11438 2002-03-04  Juergen Vigna  <jug@sad.it>
11439
11440         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11441
11442         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11443         last column of multicolumn cells.
11444         (SetWidthOfMulticolCell): recalculate NMC and real columns.
11445
11446 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11447
11448         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11449         file if it doesn't go to a temporary file.
11450
11451         * buffer.C (sgmlOpenTag):
11452         (sgmlCloseTag):  remove extra newline insertion.
11453
11454 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11455
11456         * text.C (getRowNearY): comment out debug msg
11457
11458 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11459
11460         * text2.C: first -> first_y
11461
11462         * text.C (getRowNearY): add some attemts at a possible
11463         optimization, not working.
11464
11465         * tabular.[Ch]: add BufferParams to several function so that newly
11466         created paragraph can be initialized to he default layotu for the
11467         buffers textclass.
11468
11469         * tabular-old.C (ReadOld): add buf->params to call of Init
11470
11471         * screen.C: rename text->first to text->first_y
11472
11473         * paragraph.C (breakParagraph): always set layout in the broken
11474         paragraph
11475
11476         * lyxtextclass.C (Read): remove lowercase
11477         (hasLayout): ditto
11478         (operator): ditto
11479         (delete_layout): ditto
11480
11481         * lyxtext.h: rename first -> first_y
11482
11483         * lyxlayout.C (Read): remove lowercase
11484         (name): ditto
11485         (setName): ditto
11486         (obsoleted_by): ditto
11487
11488         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11489
11490         * buffer.C (insertErtContents): add params are to InsetERT
11491         (parseSingleLyXformat2Token): add code to check if a paragraphs
11492         layout really exist.
11493         (parseSingleLyXformat2Token): add params to several inset
11494         constructors
11495         (asciiParagraph): remove lowercase, do the layout comparisons with
11496         no_case
11497
11498         * BufferView_pimpl.C (cursorNext): first -> first_y
11499         (resizeCurrentBuffer): first -> first_y
11500         (updateScrollbar): first -> first_y
11501         (scrollCB): first -> first_y
11502         (workAreaMotionNotify): first -> first_y
11503         (workAreaButtonPress): first -> first_y
11504         (checkInsetHit): first -> first_y
11505         (cursorPrevious): first -> first_y
11506         (cursorNext): first -> first_y
11507         (Dispatch): add buffer_->params to severl inset contructors
11508
11509 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11510
11511         * lyxlayout.C (Read): remove some debug info that I forgot.
11512
11513         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11514         clean up the code slightly.
11515         (makeLinuxDocFile): ditto
11516         (makeDocBookFile): ditto
11517
11518         * text2.C: layout as string
11519
11520         * text.C: layout as string
11521
11522         * paragraph_pimpl.C: layout as string
11523
11524         * paragraph.[Ch]: layout as string
11525
11526         * lyxtextclasslist.[Ch]: layout as string
11527
11528         * lyxtextclass.[Ch]: layout as string
11529
11530         * lyxtext.h: layout as string
11531
11532         * lyxlayout.[Ch]: layout as string
11533
11534         * lyx_cb.C: layout as string
11535
11536         * bufferview_funcs.C: layout as string
11537
11538         * bufferparams.C: layout as string
11539
11540         * buffer.C: layout as string
11541
11542         * LyXView.[Ch]: layout as string
11543
11544         * LaTeXFeatures.[Ch]: layout as string
11545
11546         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11547
11548         * BufferView_pimpl.C: change current_layout to string, remove
11549         lyx::layout_type.
11550         (Dispatch):
11551         (smartQuote):
11552         (insertInset):
11553         (workAreaButtonRelease): layout as string
11554
11555         * BufferView2.C (unlockInset): adjust
11556
11557         * vspace.C (asLatexCommand): use an explict temp variable.
11558
11559 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11560
11561         * Makefile.am: use FRONTEND_*
11562
11563 2002-03-01  Juergen Vigna  <jug@sad.it>
11564
11565         * tabular.C (SetWidthOfMulticolCell): changed to something better
11566         I hope but still work in progress.
11567         (recalculateMulticolumnsOfColumn): renamed function from
11568         recalculateMulticolCells as it is more appropriate now.
11569         (SetWidthOfCell): calculate multicols better.
11570
11571 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11572
11573         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11574
11575         * lyxfunc.C (processKeySym): print sequence also if it is
11576         `deleted' (complete)
11577
11578         * kbsequence.C (print): print sequence even if it is deleted
11579         (complete would be a better word, actually).
11580
11581         * lyxfunc.C (dispatch): print complete options after a prefix key
11582
11583         * vspace.C (asLatexCommand): rewrite in a slightly different form.
11584
11585 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
11586
11587         * text2.C (setCharFont): eliminate setCharFont code duplication.
11588
11589 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11590
11591         * BufferView_pimpl.C (Dispatch): remove bogus handling of
11592         LFUN_TABULAR_FEATURE (bug #177)
11593
11594 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
11595
11596         * Makefile.am: remove figure.h
11597
11598 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
11599
11600         * Bufferview_pimpl.C:
11601         * CutAndPasteC:
11602         * LaTeX.C:
11603         * LyXSendto.C:
11604         * buffer.C:
11605         * bufferlist.C:
11606         * converter.C:
11607         * language.C:
11608         * lyxfunc.C:
11609         * lyxvc.C:
11610         * paragraph.C:
11611         * text.C:
11612         * text2.C: remove #include "lyx_gui_misc.h".
11613
11614         * LaTeX.C: added #include <cstdio>
11615
11616 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11617
11618         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11619         that the paragraph following this one can have.
11620
11621         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11622
11623         * vspace.C (asLatexCommand): fix bogus gcc warning
11624
11625         * Makefile.am (lyx_SOURCES): remove vms_defines.h
11626
11627 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
11628
11629         * text2.C (setLayout): get rid of redundant code
11630
11631 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
11632
11633         * text2.C (incDepth): make sure depth cannot be increased beyond
11634         reasonable values.
11635
11636 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
11637
11638         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11639         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11640
11641         * PainterBase.h (image):
11642         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11643         a LyXImage const *.
11644
11645 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11646
11647         * BufferView.C:
11648         * BufferView.h:
11649         * BufferView_pimpl.C:
11650         * BufferView_pimpl.h:
11651         * LaTeXFeatures.C:
11652         * LyXAction.C:
11653         * LyXView.C:
11654         * Makefile.am:
11655         * UpdateList.h:
11656         * UpdateList.C:
11657         * buffer.C:
11658         * figure.h:
11659         * figureForm.C:
11660         * figureForm.h:
11661         * figure_form.C:
11662         * figure_form.h:
11663         * lyx_cb.C:
11664         * lyx_gui.C:
11665         * lyx_gui_misc.C:
11666         * lyxfunc.C:
11667         * sp_base.h:
11668         * sp_ispell.h:
11669         * sp_pspell.h:
11670         * sp_spell.C: remove fig inset, and the crap house of
11671           cards that follows it
11672
11673 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11674
11675         * Makefile.am:
11676         * lyxserver.C:
11677         * os2_defines.h:
11678         * os2_errortable.h:
11679         * nt_defines.h: move .h into support/
11680
11681         * vms_defines.h: remove
11682
11683         * WorkArea.C: add space in debug output
11684
11685         * text2.C:
11686         * paragraph.C:
11687         * buffer.C: add WITH_WARNINGS
11688
11689         * vc-backend.h:
11690         * vc-backend.C:
11691         * bufferlist.C: s/retrive/retrieve/, add docs
11692
11693         * vspace.h:
11694         * vspace.C:
11695         * kbmap.h:
11696         * lyxlength.h:
11697         * lyxgluelength.h:
11698         * length_common.h:
11699         * chset.h:
11700         * chset.C: add docs
11701
11702         * lyxgui.C: add ID to X error handler
11703
11704         * lyxtestclass.c: fix typo
11705
11706 2002-02-26  Juergen Vigna  <jug@sad.it>
11707
11708         * tabular_funcs.C (write_attribute): changed so that some default
11709         attributes are not written at all.
11710         (getTokenValue): set default values before trying to read the
11711         value so we have the return value always set as default if we don't
11712         find the token we search for.
11713
11714         * tabular.C (Write): write bools as bools not as strings!
11715
11716 2002-02-22  Juergen Vigna  <jug@sad.it>
11717
11718         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11719         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11720
11721         * text.C (leftMargin): don't add an indent for paragraphs inside
11722         tabular cells (fix #208).
11723
11724 2002-02-21  José Matos  <jamatos@fep.up.pt>
11725
11726         * tabular.C (docBook): fixed support for long tables.
11727
11728 2002-02-20  Juergen Vigna  <jug@sad.it>
11729
11730         * text2.C (getFont): get the drawing font of the Inset if this
11731         paragraph is inside an inset (only important for InsetERT for now).
11732
11733         * buffer.C (insertErtContents): use new lanugage params in ERT
11734         constructor.
11735
11736         * CutAndPaste.C: commenting out seemingly uneeded code.
11737
11738 2002-02-19  Allan Rae  <rae@lyx.org>
11739
11740         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11741         Iterators might be simple to use but they also get invalidated.
11742         (removeAutoInsets): renamed saved cursor tracking variables and added
11743         some comments to clarify what everything does.
11744
11745 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
11746
11747         * Chktex.C:
11748         * LaTeX.C:
11749         * LyXSendto.C:
11750         * converter.C:
11751         * lyx_cb.C:
11752         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11753         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11754
11755         * lyxfunc.C:
11756         * vc-backend.h: remove #include "support/syscall.h"
11757
11758         * LaTeX.C:
11759         * LyXSendto.C:
11760         * converter.C: rearrange #includes in Lars' approved fashion.
11761
11762         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11763         forward declare class Timeout in the header file.
11764
11765         * XFormsView.C: changes due to the above.
11766
11767         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11768         similar to LyXView.
11769
11770         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11771         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11772
11773 2002-02-18  José Matos  <jamatos@fep.up.pt>
11774
11775         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11776         insets contents.
11777
11778 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
11779
11780         * a lot of small ws changes
11781         * add a lot of using std::XXX
11782         * use std construcs some places where approp.
11783         * use some exisint stuff from lyxfunctional where approp.
11784         * Make file changes to use partial linking (lets test this now...)
11785
11786 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11787
11788         * Chktex.C:
11789         * buffer.C:
11790         remove #include "support/syscontr.h" as it's redundant. Always has been.
11791
11792         * Chktex.C:
11793         * LaTeX.C:
11794         * LyXSendto.C:
11795         * converter.C:
11796         * lyx_cb.C:
11797         * vc-backend.C:
11798         change Systemcalls::System to Systemcalls::Wait and
11799         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11800         No change of functionality, just reflects the stripped down Systemcalls
11801         class.
11802
11803 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11804
11805         * debug.[Ch]: add a GRAPHICS type to the enum.
11806
11807 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11808
11809         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11810
11811         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11812         there is an inset.
11813
11814 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11815
11816         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11817         match the changes below.
11818
11819         * text2.C (toggleInset): if there is not editable inset at cursor
11820         position, try to see if cursor is _inside_ a collapsable inset
11821         and close it.
11822
11823 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11824
11825         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11826         document menu has a nice checkbox
11827
11828 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11829
11830         * lyxlength.C (asLatexString): change PW to output as percent of
11831         \textwidth.
11832
11833         * lengthcommon.C: change '%' to 't%'
11834
11835         * lyxfunc.C (dispatch): a few comments from Martin
11836
11837 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
11838
11839         * WorkArea.h:
11840         * WorkArea.C:
11841         * BufferView_pimpl.h:
11842         * BufferView_pimpl.C: clear our selection when X tells us we've lost
11843           the X selection.
11844
11845 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11846
11847         * vspace.C (inPixels): fix compiler warning
11848
11849 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11850
11851         * lyxfunc.C (getStatus): fix status message for disabled commands.
11852
11853 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
11854
11855         * BufferView_pimpl.C: fix crash on close buffer
11856         during selection (#227)
11857
11858 2002-01-27  Herbert Voss  <voss@lyx.org>
11859
11860         * buffer.C: link old Figure to new graphic inset
11861
11862 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
11863
11864         * FontLoader.C (getFontinfo): Change the latex font names in order
11865         to match the names of type1inst.
11866
11867 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11868
11869         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11870
11871         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11872         (extchanged): ditto
11873         (ext_exist): ditto
11874         (remove_files_with_extension): ditto
11875         (remove_file): ditto
11876         (write): ditto
11877
11878         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11879         document is smaller than the work area height. Do not initialize
11880         static variables to 0.
11881
11882 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11883
11884         * lyx_gui.C (init): give the toolbar tooltips a normal font.
11885
11886         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11887         LFUN_LAYOUT_PARAGRAPHS.
11888
11889         * tabular.C (GetCellFromInset): new method. Finds an inset in a
11890         tabular. It is possible to provide a possible cell, which will
11891         typically be the actcell from the corresponding insettabular
11892
11893         * lyxfunc.C (getStatus): small cleanup; disable
11894         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11895         true
11896
11897 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11898
11899         * tabular.C (Validate): remove broken optimization (fixes bug #201)
11900
11901         * paragraph.C (startTeXParParams):
11902         (endTeXParParams): new methods. The LaTeX code to
11903         start/end paragraph formatting
11904         (simpleTeXOnePar): call startTeXParParams also when paragraph is
11905         empty (fixes bug #200)
11906
11907         * vspace.C (inPixels): adapt to the change below
11908         (inPixels): [later] more cleanups (remove unused variables)
11909
11910         * lyxlength.C (inPixels): change to use a width and a height as
11911         parameter.
11912
11913 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11914
11915         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11916         Replaced with \paperwidth
11917
11918         * DepTable.C (insert): add std:: qualifier
11919
11920 2002-01-18  Allan Rae  <rae@lyx.org>
11921
11922         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
11923         updated also?
11924
11925         * text.C (drawInset): Turned out I didn't know enough about how
11926         rebreaking worked.  This fixes most of the redraw problems.  I see
11927         an occasional cursor trail when a line is broken now and the cursor
11928         placement can seem out by a few pixels also after a rebreak.
11929
11930 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11931
11932         * buffer.C (parseSingleLyXformat2Token): update because minipage
11933         width is now a LyXLength
11934
11935         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11936
11937         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11938         math insets
11939
11940 2002-01-17  Juergen Vigna  <jug@sad.it>
11941
11942         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11943
11944         * BufferView2.C (lockInset): call edit() so that theLockingInset()
11945         is set correctly and the inset is updated correctly.
11946
11947 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11948
11949         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11950         the beginning of the loop.
11951
11952 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
11953
11954         * lyxrc.C: improve help for use_scalable_fonts
11955
11956 2002-01-17  Allan Rae  <rae@lyx.org>
11957
11958         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11959
11960 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11961
11962         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11963         make sure to set their inset_owner to the right value (bug #171)
11964
11965 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
11966
11967         * DepTable.h
11968         * DepTable.C: Implement mtime checking to reduce time spent doing
11969         CRCs.
11970
11971 2002-01-16  Juergen Vigna  <jug@sad.it>
11972
11973         * tabular.C (GetAdditionalHeight): one of error fixed.
11974
11975         * lyxrc.C (output): small fix in writing use_pspell.
11976
11977 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
11978
11979         * sp_base.h: #include LString.h
11980
11981 2002-01-16  Allan Rae  <rae@lyx.org>
11982
11983         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
11984         Can someone check this please?
11985
11986         * text.C (drawInset): It was possible that p.row would be removed by
11987         breakAgainOneRow upsetting a few other settings.  There may be another
11988         small tweak possible by setting need_break_row = 0 when p.row has been
11989         removed but I don't know enough about the logic here.
11990
11991 2002-01-15  Allan Rae  <rae@lyx.org>
11992
11993         * text.C (insertChar): removed conditional truism.
11994
11995         * BufferView2.C (removeAutoInsets): More tweaks.
11996         cur_par_prev could be a stray pointer.  Check for trailing empty line
11997         in case last line was cur_par and only had an error inset on it.
11998
11999 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12000
12001         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12002         absolute
12003
12004         * vc-backend.C (most methods):
12005         * exporter.C (Export):
12006         * converter.C (convert):
12007         (runLaTeX):
12008         * LyXSendto.C (SendtoApplyCB):
12009         * lyxfunc.C (dispatch):
12010         (menuNew):
12011         (open):
12012         (doImport):
12013         * lyx_cb.C (AutoSave):
12014         (InsertAsciiFile):
12015         * BufferView_pimpl.C (MenuInsertLyXFile):
12016         * buffer.C (runChktex): use Buffer::filePath().
12017
12018         * buffer.h: rename filename to filename_; rename filepath to
12019         filepath_ and make it private
12020         (filePath): new method
12021
12022         * buffer.C (writeFile): use fileName()
12023         (getLatexName):
12024
12025         * lyx_main.C (init): fix starting  of LyX when the binary is a
12026         link from so,ewhere else.
12027
12028         * minibuffer.C: include <cctype> for isprint
12029
12030 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12031
12032         * buffer.C (parseSingleLyXformat2Token): changes associated with the
12033         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12034         name clash with InsetCollapsable's width function.
12035
12036 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12037
12038         * lastfiles.C: include <iterator>
12039
12040 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12041
12042         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12043         std::count.
12044
12045         * buffer.C (makeLaTeXFile): ditto.
12046         Also make loop operation more transparent.
12047
12048 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12049
12050         * ToolbarDefaults.C: remove trailing comma closing namespace.
12051
12052         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12053
12054         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12055         as in WorkArea.
12056
12057         * trans.C (Load): comment out unused variable, allowed.
12058
12059 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12060
12061         * minibuffer.[Ch] (append_char): new method to recieve input from the
12062         drop-down completion browser. If a key was pressed, then recieve this
12063         char and append it to the existing string.
12064         (peek_event): modify the positioning data passed to the completion
12065         browser so that it can be placed above the minibuffer rather than below.
12066 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12067
12068         * LyXAction.C (init): alloe error-next for readonly documents.
12069
12070         * BufferView2.C (ChangeRefsIfUnique): use standard version of
12071         count.
12072
12073 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12074
12075         * bufferlist.C (readFile): create the buffer _after_ checking that
12076         the file exists.
12077
12078         * lyxfunc.C (verboseDispatch): fix handling of arguments
12079
12080         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12081
12082         * lyxrc.C: use string::erase() instead of initializing to "".
12083
12084
12085 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12086
12087         * BufferView_pimpl.h:
12088         * BufferView_pimpl.C:
12089         * WorkArea.h:
12090         * WorkArea.C:
12091         * text2.C: tell X when we have made a selection for copying
12092
12093 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12094
12095         * BufferView_pimpl.C (MenuInsertLyXFile):
12096         * lyxfunc.C (menuNew):
12097         (open):
12098         (doImport): add shortcuts to directory buttons
12099
12100         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12101         open a float)
12102
12103         * lyxfunc.C (setStatusMessage):
12104         (getStatusMessage): new methods
12105         (getStatus):use setStatusMessage instead of setErrorMessage
12106         (dispatch): when function is disabled, set error message here
12107         [instead of in getStatus previously]
12108
12109         * BufferView_pimpl.C (workAreaButtonRelease): update
12110         toolbar/menubar here too.
12111
12112 2002-01-13  Allan Rae  <rae@lyx.org>
12113
12114         * BufferView2.C (removeAutoInsets): finished off earlier fix.
12115         Now seems indestructible.  Remaining task is to audit all other
12116         code affected by deleteEmptyParagraphMechanism.  One small quirk
12117         left is that an empty document with an error in the preamble can
12118         be made to report an error but no error box appears.  I don't know
12119         where it goes.
12120         (removeAutoInsets): Improved comments.
12121
12122 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
12123
12124         * Thesaurus.h:
12125         * Thesaurus.C: update for Aiksaurus 0.14
12126
12127 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12128
12129         * text2.C (firstParagraph): removed member function, all uses
12130         replaces with ownerParagraph
12131         (redoParagraphs): here
12132         (updateInset): here
12133         (toggleAppendix): here
12134         * BufferView2.C (insertErrors): here
12135         (setCursorFromRow): here
12136
12137 2002-01-13  Allan Rae  <rae@lyx.org>
12138
12139         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12140         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12141         There is still a way to segfault this although you may have to do this
12142         multiple times: Have an InsetERT with an unknown command in it.
12143         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12144         <down-arrow>, <Enter> again, View->DVI, BANG!
12145
12146         * text2.C (setCursor):
12147         (deleteEmptyParagraphMechanism):
12148         * lyxtext.h (setCursor):
12149         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12150         Making use of the return value may help fix other bugs.
12151
12152 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12153
12154         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12155
12156         * LyXView.C (updateMenubar): call MenuBar::update here
12157         (updateToolbar): but not here
12158         (showState): do not update toolbar/menubar
12159
12160         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12161         should need to care about that.
12162
12163         * lyxfunc.C (verboseDispatch): simplify a bit
12164         (getStatus): have a version which takes a pseudoaction, and
12165         another which requires a (kb_action,string).
12166
12167         * LyXAction.C (retrieveActionArg): make it work also when action
12168         is not a pseudo-action.
12169         (getActionName): simplify a bit
12170         (helpText):
12171
12172 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12173
12174         * lyxfunc.C (verboseDispatch): new families of methods with
12175         several ways to specify a command and a bool to indicate whether
12176         the command name and shortcut should be displayed in minibuffer
12177         (eventually, we could extend that to a finer bitmask like
12178         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12179         (dispatch): the pristine dispatch command which just, well,
12180         dispatchs! Note it still sets its result to minibuffer; I'm not
12181         sure we want that.
12182
12183         * lyxfunc.h: remove setHintMessage
12184
12185         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12186
12187 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12188
12189         * BufferView_pimpl.C (specialChar): delete new inset if we have
12190         not been able to insert it.
12191
12192         * kbmap.C: revert to using int instead of kb_action, since all we
12193         are dealing with is pseudo-actions.
12194
12195         * LyXAction.C (searchActionArg): change to return int instead of
12196         kb_action, since the result is a pseudoaction.
12197
12198 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
12199
12200         * buffer.C (insertErtContents): Fix (partially) the font bug.
12201
12202 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12203
12204         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12205         as the other one is broken on my machine!
12206
12207 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
12208
12209         * commandtags.h:
12210         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12211
12212 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
12213
12214         * lyxrc.[Ch]: change names and descriptions of popup font variables to
12215         reflect their actual use. Provide compatibility code for older lyxrc
12216         files.
12217
12218         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12219         FL_NORMAL_STYLE.
12220         change names of popup font variables in line with the changes to lyxrc.C
12221
12222 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12223
12224         * buffer.C (asciiParagraph): avoid outputing a word twice after
12225         an inset.
12226
12227         * lyxrc.C (getDescription): document that document_path and
12228         template_path can be empty.
12229
12230 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12231
12232         * LaTeXFeatures.C (getMacros):
12233         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12234
12235         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12236
12237         * LaTeXFeatures.C (useFloat): require "float" here instead of in
12238         getPackages.
12239         (getPackages): rename feature "floats" to "float". Use an array to
12240         iterate over 'simple' features (i.e. just a \usepackage). Add
12241         handling of "amsmath" (renamed from "amsstyle").
12242
12243 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
12244
12245         * LaTeXFeatures.C (require): Prevent duplicate entries in the
12246         features list.
12247
12248 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
12249
12250         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12251         FuncStaus::FuncStatus & FuncStaus::some_method().
12252
12253 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
12254
12255         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12256         of the func_satus stuff. Edited and massaged in various ways by
12257         JMarc.
12258
12259         * lyxfunc.C (getStatus): use FuncStatus
12260
12261 2002-01-08  Juergen Vigna  <jug@sad.it>
12262
12263         * text.C (nextBreakPoint): use function Inset::isChar().
12264
12265         * paragraph.C (TeXOnePar): use function
12266         Inset::forceDefaultParagraphs.
12267
12268         * buffer.C (latexParagraphs): use function
12269         Inset::forceDefaultParagraphs.
12270
12271 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12272
12273         * lyx_gui.C (init): set the style of the menu popups to
12274         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12275
12276 2002-01-07  Juergen Vigna  <jug@sad.it>
12277
12278         * text.C (setHeightOfRow): small fix
12279         (prepareToPrint): don't look at alignment if we don't have the place
12280         for doing it.
12281
12282 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12283
12284         * box.C: New file. Move the Box methods and functions out of box.h,
12285         following Lars' suggestion.
12286
12287 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12288
12289         * box.h: #include "support/LOstream.h", needed for inlined function.
12290
12291         * lyxtextclass.C:
12292         * lyxtextclasslist.C: added some using std declarations.
12293
12294 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
12295
12296         * box.h: make signed dimensions to allow insets wider than
12297           the screen (bug #162)
12298
12299         * BufferView_pimpl.C: add some insetHit debug
12300
12301 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
12302
12303         * vc-backend.C: add FIXME
12304
12305 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12306
12307         * lyxfunc.C (getStatus): enable code for showing math font status
12308         in toolbar/menu.
12309
12310 2002-01-07  Juergen Vigna  <jug@sad.it>
12311
12312         * text.C (nextBreakPoint): removed debug output not needed anymore.
12313
12314 2002-01-06  Juergen Vigna  <jug@sad.it>
12315
12316         * text.C (nextBreakPoint): fixed up this function we had this bug
12317         since ever but now hopefully we break row better.
12318         (insertChar): we have to check if an inset is the next char as it
12319         could now happen that a large inset is causing a break.
12320
12321 2002-01-05  Juergen Vigna  <jug@sad.it>
12322
12323         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12324         if it doesn't like to be drawed.
12325
12326 2002-01-04  Juergen Vigna  <jug@sad.it>
12327
12328         * BufferView2.C (lockInset): forgot to set a cursor.
12329
12330         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12331
12332 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
12333
12334         * FormMathsPanel.C:
12335         * FormMathsPanel.h
12336         * MathsSymbols.C:
12337         * form_maths_panel.C:
12338         * form_maths_panel.h:
12339         * form_maths_panel.fd: implemented sub- and super- buttons in math
12340         panel.
12341
12342         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12343         (or ^ space) to be used as in TeX (req'd by André).
12344
12345         * lyxfunc.C: Allow ^ and _ again to be used both as
12346         super/subscript (mathed) and as themselves (in text).
12347
12348 2002-01-03  Allan Rae  <rae@lyx.org>
12349
12350         * LyXView.C (updateWindowTitle): Setup a short icon title of either
12351         "LyX" or the filename of the current buffer if it has one.  This is a
12352         modified form of John Levon's patch.
12353
12354         * XFormsView.C (setWindowTitle): also set icon title.
12355
12356         * LyXView.h (setWindowTitle): signature changed.
12357         * XFormsView.h (setWindowTitle): ditto.
12358
12359 2002-01-02  Juergen Vigna  <jug@sad.it>
12360
12361         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12362
12363 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12364
12365         * screen.C (topCursorVisible): introduce a temp var for
12366         text->cursor.row(), handle the case where this row is null. (kindo
12367         hachish)
12368
12369         * text2.C (setCursor): add a couple of asserts.
12370
12371         * paragraph.h (inset_iterator): add -> operator
12372
12373         * paragraph.[Ch] (autoDeleteInsets): remove member function
12374
12375         * BufferView2.C (removeAutoInsets): rewrite to handle the old
12376         cursor pos correctly and handle inset deletion by itself.
12377         (insertErrors): move iterator declaration out of for expression
12378
12379         * lyxtextclass.C: add <algorithm>
12380
12381         * Makefile.am: added the new files to sources, removed layout.C
12382
12383         * layout.C: removed file
12384
12385         * layout.h: remove LYX_DUMMY_LAYOUT
12386
12387         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12388         layout.
12389
12390         * lyxlayout.[Ch]:
12391         * lyxtextclass.[Ch]:
12392         * lyxtextclasslist.[Ch]: new files
12393
12394         * include order changes to a lot of files, also changes because of
12395         the six new files.
12396
12397 2001-12-27  Juergen Vigna  <jug@sad.it>
12398
12399         * buffer.C (asciiParagraph): more fixes.
12400
12401         * tabular.C (ascii): make ascii export support export of only the
12402         data separated by a column-delimiter.
12403         (ascii): better support for ascii export.
12404
12405         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12406
12407 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12408
12409         * tabular_funcs.C: use a "using std::getline" instead of the
12410         previous fix from Angus (necessary for cxx + lyxstring)
12411
12412 2001-12-24  Juergen Vigna  <jug@sad.it>
12413
12414         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12415
12416         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12417         problems. First check a minipage also if we have some ert-contents
12418         (not only on par->size(), second set the right depth of the paragraph
12419         on the relink to the root-paragraph-list!
12420
12421         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12422         which then did not anymore update the main paragraphs on undo/redo!
12423
12424 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12425
12426         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12427         code. Support all font-changing funcs (even those which are not in
12428         menu currently). Support for reporting font settings in
12429         mathed (disabled until Andre provides a function on mathed's side).
12430
12431         * func_status.h (toggle): small helper function to set toggle
12432         state on a flag.
12433
12434 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
12435
12436         * tabular_funcs.C: getline -> std::getline
12437
12438 2001-12-21  Juergen Vigna  <jug@sad.it>
12439
12440         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12441         accessed and could be 0 (I couldn't generate this but it seems
12442         Michael could!).
12443
12444 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12445
12446         * tabular_funcs.C: add LIstream.h, move write_attribute to..
12447         * tabular_funcs.h: here and include iosfwd
12448
12449 2001-12-20  Juergen Vigna  <jug@sad.it>
12450
12451         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12452         inside inset but undo_par was.
12453
12454 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12455
12456         * Thesaurus.C: always include <config.h> in sources.
12457
12458         * Painter.h:
12459         * lyxlookup.h:
12460         * box.h: do not include <config.h> in header files
12461
12462         * text.C (paintLastRow): remove unused variable
12463
12464         * text.C (transformChar):
12465         (insertChar):
12466         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12467
12468         * Painter.C (text):
12469         * font.C (width): rewrite to use uppercase() instead of
12470         islower/toupper.
12471
12472         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12473
12474 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
12475
12476         * lyxfind.C: clean up of find failure position change
12477
12478 2001-12-20  Juergen Vigna  <jug@sad.it>
12479
12480         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12481
12482         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12483         (TeXRow): added to LaTeX a single tabular row.
12484         (TeXLongtableHeaderFooter): added to output LT-h/f data.
12485         (Latex): simplified and finally good LT-h/f support.
12486         (various_functions): just small adaptions for LT-h/f support.
12487
12488         * tabular_funcs.[hC]: added and moved here all not classfunctions
12489         of LyXTabular.
12490
12491 2001-12-19  Juergen Vigna  <jug@sad.it>
12492
12493         * tabular.[Ch]: better support for longtabular options (not finished
12494         yet!)
12495
12496 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12497
12498         * text.C (paintLastRow): use the label font instead of the font of
12499         the last character to compute the size of *_BOX. This makes more
12500         sense and avoids a crash with empty paragraphs.
12501         Use Painter::rectangle to draw EMPTY_BOX.
12502
12503 2001-12-19  Juergen Vigna  <jug@sad.it>
12504
12505         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12506         the paragraphs if the replaced paragraph is not the first one!
12507         Tried to delete not used paragraphs but does not work yet so for
12508         now it's inside #ifdef's and by default off!
12509
12510 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12511
12512         * MenuBackend.C: include "lyx_main.h" instead of declaring
12513         lastfiles (actually was declared as LastFiles* instead of a
12514         scoped_ptr).
12515
12516 2001-12-17  Juergen Vigna  <jug@sad.it>
12517
12518         * tabular.C (AppendColumn): applied John's fix
12519
12520 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
12521
12522         * BufferView.h:
12523         * BufferView.C:
12524         * BufferView_pimpl.h:
12525         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12526
12527         * Makefile.am:
12528         * box.h: new start of class for above
12529
12530         * lyxfunc.C: ignore space-only minibuffer dispatches.
12531           Show the command name when it doesn't exist
12532
12533         * minibuffer.C: don't add empty lines to the history
12534
12535         * minibuffer.C: add a space on dropdown completion
12536
12537 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
12538
12539         * text.C: fix line above/below drawing in insets
12540
12541 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12542
12543         * lyxlength.C (LyXLength): Initialize private variables.
12544
12545 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
12546
12547         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12548         when inserting error insets.
12549
12550 2001-12-13  Juergen Vigna  <jug@sad.it>
12551
12552         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12553         actually sometimes the before-paragraph.
12554         (setUndo): don't clear the redostack if we're not actually undoing!
12555
12556 2001-12-06  Juergen Vigna  <jug@sad.it>
12557
12558         * undo_funcs.C (textHandleUndo): well after John's hint I got here
12559         and fixed redoing of main paragraph, so we can use it now ;)
12560
12561         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12562
12563 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12564
12565         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12566         Juergen's request
12567
12568 2001-12-13  André Pönitz <poenitz@gmx.net>
12569
12570         * undostack.[Ch]:
12571         * undo_func.C: minor cleanup
12572
12573 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12574
12575         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12576         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12577         font in urw-fonts package which is marked as -urw-fontspecific and
12578         does not work (incidentally, changing the encoding in the
12579         fonts.dir of this package to -adobe-fontspecific fixes the
12580         problem).
12581
12582         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12583         is a crash when undoing first paragraph (Juergen, please take a
12584         look). THis does not mean the undo fix is wrong, just that it
12585         uncovers problems.
12586
12587         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12588         the (Paragraph*) version when needed instead of duplicating the
12589         code.
12590
12591         * text.C (workWidth): use Inset::parOwner to find out where the
12592         inset has been inserted. This is a huge performance gain for large
12593         documents with lots of insets. If Inset::parOwner is not set, fall
12594         back on the brute force method
12595
12596         * paragraph_pimpl.C (insertInset):
12597         * paragraph.C (Paragraph):
12598         (cutIntoMinibuffer): set parOwner of insets when
12599         inserting/removing them
12600
12601         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12602
12603 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
12604
12605         * commandtags.h:
12606         * LyXAction.C:
12607         * lyx_main.C:
12608         * lyxfunc.C:
12609         * mathed/formulabase.C:
12610         * mathed/math_cursor.[Ch]:
12611         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12612
12613
12614 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12615
12616         * lyxlength.[Ch] (operator!=): new function
12617
12618 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12619
12620         * text.C (workWidth): use Inset::parOwner to find out where the
12621         inset has been inserted. This is a huge performance gain for large
12622         documents with lots of insets. If Inset::parOwner is not set, fall
12623         back on the brute force method
12624
12625         * paragraph_pimpl.C (insertInset):
12626         * paragraph.C (Paragraph):
12627         (cutIntoMinibuffer): set parOwner of insets when
12628         inserting/removing them
12629
12630         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12631
12632 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12633
12634         * tabular-old.C (getTokenValue):
12635         * tabular.C (getTokenValue):
12636         (write_attribute): new versions for LyXLength
12637         (everywhere): adjust the use of widths
12638
12639         * tabular.h: change the type of widths from string to LyXLength
12640
12641 2001-12-11  Ben Stanley <bds02@uow.edu.au>
12642
12643         * paragraph.C: fixed missing line number count when exporting
12644         Environments to LaTeX file
12645
12646         * buffer.C: added informational message for checking line numbers.
12647
12648 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12649
12650         * text2.C (deleteEmptyParagraphMechanism): if there is only one
12651         paragraph, do the 'double space' part, but not the 'empty
12652         paragraph' one.
12653
12654         * text.C (workWidth): small optimization
12655         (getLengthMarkerHeight): use minimal size for negative lengths.
12656
12657 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
12658
12659         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12660
12661         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12662
12663 2001-12-11  André Pönitz <poenitz@gmx.net>
12664
12665         * FontLoader.C:
12666         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12667
12668 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12669
12670         * text2.C: keep selection on a setFont()
12671
12672 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12673
12674         * lyx_cb.C: another bv->text misuse, from insert label
12675
12676 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12677
12678         * kbsequence.h:
12679         * kbsequence.C: re-instate nmodifier mask
12680
12681 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
12682
12683         * lyx_main.h: make lyxGUI private.
12684
12685 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12686
12687         * lyxfind.C: place the cursor correctly on failed search
12688
12689 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12690
12691         * text.C (getLengthMarkerHeight): for small heights, the arrows
12692         are not always on top/bottom of the text
12693         (drawLengthMarker): smaller arrows; take the left margin in
12694         account; draw also vfills.
12695         (paintFirstRow):
12696         (paintLastRow): remove special code for vfill and standard spaces,
12697         since everything is handled in drawLengthMarker now.
12698
12699 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12700
12701         * buffer.C (insertErtContents): try to handle font and language
12702         interaction a bit better.g
12703
12704         * ColorHandler.C (updateColor): change the hash to cover the whole
12705         LColor enum, ws cleanup
12706         (getGCLinepars): ditto
12707         (getGCLinepars): only lookup in the linecache once.
12708
12709 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
12710
12711         * iterators.C (operator++): Make the iterator more robust
12712
12713         * BufferView2.C (removeAutoInsets): Use paragraph iterators
12714         (John's patch)
12715         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12716
12717 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12718
12719         * lyxtext.h:
12720         * text.C: better added space drawing
12721
12722 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12723
12724         * LyXView.C:
12725         * BufferView2.C: fix layout combo update on inset unlock
12726
12727 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12728
12729         * Makefile.am: don't compile unused files
12730
12731 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12732
12733         * lyxfunc.C:
12734         * commandtags.h:
12735         * LyXAction.C: remove old LFUN_LAYOUTNO
12736
12737 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12738
12739         * paragraph_pimpl.h:
12740         * paragraph_pimpl.C: isTextAt() doesn't need font param
12741
12742 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12743
12744         * lyxlex.h:
12745         * lyxlex.C: little cleanup
12746
12747 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12748
12749         * BufferView_pimpl.C: fix insertAscii for insets
12750
12751 2001-12-05  Juergen Vigna  <jug@sad.it>
12752
12753         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12754         set the right font on the "multi" paragraph paste!
12755
12756 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12757
12758         * trans_decl.h:
12759         * trans_mgr.[Ch]:
12760         * trans.[Ch]:
12761         * lyxgluelength.C:
12762         * lyxlength.C: remove out-commented code.
12763
12764         * BufferView_pimpl:
12765         * CutAndPaste.C:
12766         * DepTable.C:
12767         * buffer.C:
12768         * chset.C:
12769         * lastfiles.C:
12770         * lyxlex.C:
12771         * lyxlex_pimpl.C:
12772         * lyxserver.C:
12773         * screen.C:
12774         * tabular-old.C:
12775         * tabular.C:
12776         * text.C:
12777         * trans_mgr.C:
12778         * vc-backend.C: change "while(" to "while ("
12779
12780         * lyxlength.[Ch]: add zero function to check if length is zero or
12781         not
12782         * lyxgluelength.C: use it
12783
12784 2001-12-05  Allan Rae  <rae@lyx.org>
12785
12786         * lyxlength.C: Attempted a fix for the abs(int) header selection.
12787         Works for 2.95.3, from what I understand of Garst's reports this should
12788         work for other g++ versions.  We're screwed if the abs(int) definition
12789         changed between bugfix releases of gcc.
12790
12791 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12792
12793         * text.C: fix chapter label offset !
12794
12795 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12796
12797         * lyxtext.h:
12798         * text.C: fix hfill at end of line, clean up
12799
12800 2001-12-04  Juergen Vigna  <jug@sad.it>
12801
12802         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12803         that we force an update of the inset and it's owners if neccessary.
12804
12805 2001-12-03  Juergen Vigna  <jug@sad.it>
12806
12807         * text.C (rowLast): simplified code
12808
12809 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12810
12811         * lyxfunc.C: fix show options on timeout
12812
12813 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12814
12815         * screen.C (topCursorVisible): scroll half a page when the cursor
12816         reached top of bottom of screen
12817
12818 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
12819
12820         * minibuffer.C: deactivate on loss of focus
12821
12822 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12823
12824         * vspace.[Ch] (operator!=): add operator.
12825
12826 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
12827
12828         * BufferView_pimpl.C: refuse to open an inset when
12829         there's a selection.
12830
12831 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
12832
12833         * BufferView_pimpl.C: allow to click on RHS of full row insets
12834
12835 2001-11-30  Juergen Vigna  <jug@sad.it>
12836
12837         * tabular.C (LyXTabular): add a same_id to set the same id's in the
12838         insets for undo reasons.
12839
12840 2001-11-28  André Pönitz <poenitz@gmx.net>
12841
12842         * vspace.[Ch]: cosmetical changes
12843
12844 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12845
12846         * LyXAction.h:
12847         * LyXAction.C:
12848         * lyxfunc.h:
12849         * lyxfunc.C:
12850         * kbmap.h:
12851         * kbmap.C:
12852         * lyxrc.C:
12853         * kbsequence.h:
12854         * kbsequence.C: part re-write of old kb code
12855
12856         * Painter.C:
12857         * WorkArea.C: remove Lgb_bug_find_hack
12858
12859 2001-11-30  José Matos <jamatos@fep.up.pt>
12860
12861         * buffer.C (makeDocBookFile): add a comment to point a hack.
12862         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12863         Fixed a double write of labels.
12864
12865 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12866
12867         * LaTeX.C:
12868         * LaTeX.h Fixed bug in LaTeX class where it would not
12869         re-run latex if no depfiles were changed, but the .dvi was removed.
12870
12871 2001-11-28  André Pönitz <poenitz@gmx.net>
12872
12873         * all the files from the change on 2001/11/26:
12874         use lyx::layout_type instead of LyXTextClass::size_type
12875         use lyx::textclass_type instead of LyXTextClassList::size_type
12876
12877 2001-11-29  Juergen Vigna  <jug@sad.it>
12878
12879         * text.C: added support for paragraph::isFreeSpacing()
12880
12881         * buffer.C: same as above
12882
12883         * paragraph.h: inserted isFreeSpacing() function to enable
12884         FreeSpacing inside InsetERT.
12885
12886         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12887         of the paragraph's in the cut/copy buffer to 0!
12888
12889         * text2.C (removeRow): remove the assert as it can!
12890
12891         * lyxtext.h: added helper function firstRow returning firstrow and
12892         made firstrow private again.
12893
12894         * BufferView2.C (lockInset): don't relock if we're already locked!
12895
12896         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12897         the only paragraph.
12898         (removeRow): added Assert::(firstrow)
12899
12900         * debug.C: forgot to add INSETTEXT here.
12901
12902 2001-11-28  Juergen Vigna  <jug@sad.it>
12903
12904         * sp_spell.C (initialize): changed error text to more general
12905         spellchecker command use (not only ispell!)
12906
12907         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12908
12909         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12910
12911 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12912
12913         * vspace.C: initialise lyxgluelength on failure
12914
12915 2001-11-28  Allan Rae  <rae@lyx.org>
12916
12917         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12918         declaration & definition that looks like a function declaration.
12919
12920 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12921
12922         * BufferView2.C (copy):
12923         (copyEnvironment): do not clear the selection when doing a copy.
12924
12925         * text.C (paintFirstRow): compilation fix
12926
12927 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
12928
12929         * tabular.C (Latex): correct line count when writing latex.
12930
12931 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
12932
12933         * paragraph_pimpl.h:
12934         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12935           bug a bit
12936
12937 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12938
12939         * text.C:
12940         * LColor.h:
12941         * LColor.C: change vfillline->added_space
12942
12943         * text.C: add markers and text for added space
12944
12945         * vspace.C: fix comment
12946
12947 2001-11-28  André Pönitz <poenitz@gmx.net>
12948
12949         * paragraph.C: whitespace changes
12950         * all the other files from the change on 2001/11/26:
12951         change *::pos_type into lyx::pos_type
12952
12953 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
12954
12955         * buffer.C (parseSingleLyXformat2Token): Set the language to the
12956         language of the document when inserting error insets.
12957
12958 2001-11-26  André Pönitz <poenitz@gmx.net>
12959
12960         * BufferView_pimpl.[Ch]:
12961         *       CutAndPaste.C:
12962         * buffer.[Ch]:
12963         * lyxcursor.[Ch]:
12964         * lyxfind.C:
12965         * lyxfunc.C:
12966         * lyxrow.[Ch]:
12967         * paragraph.[Ch]:
12968         * paragraph_pimpl.[Ch]:
12969         * sp_spell.C:
12970         * text.C:
12971         * text2.C: reduce header dependencies, introduce type for positions
12972
12973 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12974
12975         * <various>: change to use Alert.h
12976
12977 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
12978
12979         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12980         when encountering an unknown token.
12981         (readLyXformat2): Show an error message if there were unknown tokens.
12982
12983 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
12984
12985         * BufferView2.C:
12986         * BufferView_pimpl.C:
12987         * buffer.C:
12988         * paragraph.h:
12989         * text.C:
12990         * text2.C: use par->isInset()
12991
12992 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12993
12994         * paragraph_pimpl.h:
12995         * paragraph_pimpl.C: cleanup
12996
12997 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12998
12999         * text2.C (removeRow):
13000         * text.C (setHeightOfRow): remove useless (and costly) call to
13001         getRow.
13002
13003 2001-11-20  Allan Rae  <rae@lyx.org>
13004
13005         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13006         Now need Inset*::checkInsertChar() to return true for appropriate
13007         cases so that the characters in the minibuffer will actually be
13008         inserted.
13009
13010 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13011
13012         * text.C: change the order of the includes.
13013         (workWidth): initialize it at once.
13014         (workWidth): make maxw unsigned
13015         (setHeightOfRow): remove unused variable (inset)
13016         (selectSelectedWord): remove unused variable (inset)
13017         (paintRowText): fix drawing of hfill characters, and clean up a bit.
13018
13019 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13020
13021         * lyxserver.C (emergencyCleanup): do not try to close pipes if
13022         server is not running.
13023         (openConnection):
13024         (closeConnection): add debug info when server is disabled.
13025
13026         * ColorHandler.C (getGCForeground): send debug message to GUI
13027         channel.
13028
13029         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13030
13031         * kbmap.C (bind): modify because return conventions of
13032         kb_sequence::parse have changed.
13033
13034         * kbsequence.C (parse): only ignore spaces and not any stupid
13035         control character. This avoids tests like s[i] <= ' ', which are
13036         guaranteed to fail with 8bit characters and signed chars.
13037         Change return code to string::npos when there have been no error
13038         (0 was a bad idea when error is at first character)
13039
13040 2001-11-14  José Matos  <jamatos@fep.up.pt>
13041
13042         * buffer.h:
13043         * buffer.C (simpleDocBookOnePar): removed unused argument.
13044
13045 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13046
13047         * text.C (selectNextWordToSpellcheck): do not test explicitely for
13048         insets which are part of a word. Paragraph::isLetter takes care of
13049         that now. Use Paragraph::isInset to identify insets.
13050         (selectSelectedWord): do not test for hyphenation break.
13051
13052         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13053         that protected spaces are considered as spaces.
13054
13055         * paragraph.C (isLetter): cleanup the code for ispell extras; use
13056         Inset::isLetter.
13057
13058 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
13059
13060         * lyxserver.h:
13061         * lyxserver.C: fix it. and small cleanup.
13062
13063 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13064
13065         * BufferView_pimpl.C: use inline helpers
13066
13067         * LaTeXFeatures.h:
13068         * LaTeXFeatures.C: fix typos
13069
13070         * Spacing.h:
13071         * Spacing.C: move spacing_string into class
13072
13073         * ToolbarDefaults.C: move stuff into namespace anon
13074
13075         * layout.h: update enum
13076
13077         * lyxfunc.C: use better debug
13078
13079         * minibuffer.h: fix typo
13080
13081         * debug.h:
13082         * debug.C:
13083         * WorkArea.C: add and use Debug::WORKAREA
13084
13085         * lyxtext.h:
13086         * text.C:
13087         * text2.C: code re-organisation, inline helpers
13088
13089 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
13090
13091         * Layout.C: replaced a few cases of std::vector.size() == 0 with
13092         std::vector.empty().
13093
13094 2001-11-09  Allan Rae  <rae@lyx.org>
13095
13096         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13097         '\n's after tables.  Tabular and ERT inset work now makes this no
13098         longer necessary.
13099
13100 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13101
13102         * minibuffer.h:
13103         * minibuffer.C: fix crash, improve drop-down completion
13104
13105 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
13106
13107         * lyxserver.h:
13108         * lyxserver.C: invalidate fd's when doing endPipe()
13109
13110 2001-11-08  José Matos  <jamatos@fep.up.pt>
13111
13112         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13113         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13114
13115         * paragraph.h:
13116         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13117
13118 2001-11-07  José Matos  <jamatos@fep.up.pt>
13119
13120         * buffer.h:
13121         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13122         const qualifier.
13123
13124         * buffer.C (sgmlOpenTag):
13125         * buffer.C (sgmlCloseTag): removed debug info.
13126
13127         * buffer.h (sgmlOpenTag):
13128         * buffer.h (sgmlCloseTag): made public.
13129
13130 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13131
13132         * buffer.C (saveParamsAsDefaults):
13133         * lyx_cb.C (MenuLayoutSave): remove
13134
13135         * LyXAction.C (init):
13136         * commandtags.h:
13137         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13138
13139 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13140
13141         * buffer.C (setPaperStuff): removed from here...
13142
13143         * bufferparams.C (setPaperStuff): ... and moved there.
13144
13145 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
13146
13147         * minibuffer.h:
13148         * minibuffer.C:
13149         * XFormsView.C: add support for drop-down completion
13150
13151 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
13152
13153         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13154         commands.
13155
13156 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13157
13158         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13159         disabled.
13160
13161 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
13162
13163         * lyx_main.C: change ref to known bugs
13164
13165 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
13166
13167         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13168         to work around older babel problems.
13169
13170 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13171
13172         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13173
13174 2001-10-24  Juergen Vigna  <jug@sad.it>
13175
13176         * tabular-old.C (ReadOld): below variable changes reflected.
13177
13178         * tabular.[Ch]: added ltType struct for longtable header/footer
13179         defines and changed all instances where they are used. Added
13180         future support for double top/bottom rows.
13181
13182 2001-10-24  José Matos  <jamatos@fep.up.pt>
13183
13184         * buffer.h (docbookHandleCaption):
13185         * buffer.C (docbookHandleCaption): removed unused function.
13186         (makeDocBookFile): moved docbook supported version to v4.1.
13187
13188 2001-10-24  José Matos  <jamatos@fep.up.pt>
13189
13190         * tabular.h:
13191         * tabular.C (docbookRow): new function to export docbook code of a row.
13192         (DocBook): now honors the longtable flags.
13193
13194 2001-10-23  José Matos  <jamatos@fep.up.pt>
13195
13196         * LaTeXFeatures.h:
13197         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13198         of the lyx defined sgml entities used in a docbook/linuxdoc document.
13199
13200         * buffer.C (makeLinuxDocFile):
13201         (makeDocBookFile): reworked the preamble, more clean, and with
13202         support for lyx defined entities. Changed the document declaration
13203         to be more XML friendly.
13204
13205         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13206         if we need to output XML that should be done with a filter.
13207
13208 2001-10-22  Juergen Vigna  <jug@sad.it>
13209
13210         * sp_pspell.h (class PSpell): add alive function needed in the
13211         controller to see if the spellchecker could be started.
13212
13213 2001-10-22  Juergen Vigna  <jug@sad.it>
13214
13215         * buffer.C (insertStringAsLines): modify the font for inserting
13216         chars in certain conditions by calling checkInsertChar(font).
13217
13218 2001-10-19  Juergen Vigna  <jug@sad.it>
13219
13220         * text.C (workWidth): use getRow instead of wrong algorithm.
13221         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13222
13223 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
13224
13225         * lyxserver.h:
13226         * lyxserver.C:
13227         * lyx_main.h:
13228         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13229
13230 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13231
13232         * text.C (workWidth): do not search for the exact row when
13233         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13234         optimization for big documents.
13235
13236 2001-10-18  Juergen Vigna  <jug@sad.it>
13237
13238         * text.C (workWidth): new function with added Inset * parameter.
13239
13240 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13241
13242         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13243
13244         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13245         change return type of getColumnNearX.
13246
13247
13248         * text.C (changeRegionCase): use uppercase/lowercase instead of
13249         toupper/tolower.
13250         (leftMargin):
13251         (rightMargin): simplify code by factoring out the uses of
13252         textclasslist.
13253         (labelFill):
13254         (numberOfHfills):
13255         (setHeightOfRow):
13256         (appendParagraph): use Paragraph::size_type
13257
13258 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13259
13260         * vspace.C (asLatexString): add a missing break
13261
13262 2001-10-15  Herbert Voss  <voss@perce.de>
13263
13264         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13265
13266 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13267
13268         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13269         is not available.
13270
13271 2001-10-10  André Pönitz <poenitz@gmx.net>
13272
13273         * lyxfunc.C: removed greek_kb_flag.
13274
13275 2001-10-10  Herbert Voss  <voss@perce.de>
13276
13277         * lyx_main.C: delete global string help_lyxdir.
13278
13279 2001-10-09  Herbert Voss  <voss@perce.de>
13280
13281         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13282
13283         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13284
13285         * lyx_main.C: added global string help_lyxdir.
13286
13287         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13288
13289 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13290
13291         * lyxrc.C (set_font_norm_type): support iso8859-4
13292
13293 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
13294
13295         * LaTeX.C (deplog): add another regex for MikTeX
13296
13297 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13298
13299         * lyxrc.C (set_font_norm_type): support iso8859-3
13300
13301 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13302
13303         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13304
13305         * LaTeXFeatures.C: remove special case of french and index
13306
13307         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13308         before \begin{document}). This solves several incompatibilities.
13309
13310 2001-10-03  Garst Reese  <reese@isn.net>
13311
13312         * lyx_cb.C: change CheckTex error msg.
13313
13314 2001-10-03  José Matos  <jamatos@fep.up.pt>
13315
13316         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13317
13318 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13319
13320         * .cvsignore: update
13321
13322         * lyx_main.C (commandLineVersionInfo): use new style version info.
13323
13324         * buffer.C (writeFile):
13325         (makeLaTeXFile):
13326         (makeLinuxDocFile):
13327         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13328
13329         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13330
13331         * version.h: update to use stuff in version.C
13332
13333         * version.C.in: new file. Contains version information determined
13334         at compile time. This is a merging of version.h and
13335         version_info.h.in.
13336
13337 2001-10-03  Juergen Vigna  <jug@sad.it>
13338
13339         * BufferView_pimpl.C (update): don't change "dirty" status in
13340         updateInset call.
13341
13342 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
13343
13344         * WorkArea.C (c-tor): re-position version string slightly.
13345
13346 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
13347
13348         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13349         revert to previous code.
13350
13351         WorkArea.[Ch]: (show, destroySplash): methods removed.
13352
13353         WorkArea.C: rework code so that it's an amalgam of the codes before and
13354         after the splash screen was moved to WorkArea.
13355
13356 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13357
13358         * lyxrc.C (read):
13359         * vspace.C (inPixels):
13360         (lyx_advance):
13361         * kbmap.C (bind):
13362         * buffer.C (insertStringAsLines):
13363         (asciiParagraph): fix types to be large enough
13364
13365         * lyxlex_pimpl.h: change member status from short to int
13366
13367         * layout.h: fix type of endlabeltype
13368
13369         * kbmap.C (bind):
13370         * kbsequence.C (parse): change return type to string::size_type
13371
13372         * LaTeX.C (updateBibtexDependencies): comment out unneeded
13373         variable
13374
13375         * Bullet.C (bulletSize):
13376         (bulletEntry): do not use short ints as parameters
13377
13378         * BufferView2.C (insertLyXFile): change a char to an int.
13379
13380         * WorkArea.C (WorkArea): remove unneeded floats in computation
13381
13382 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
13383
13384         * buffer.C (asciiParagraph): Treat '\\' as other chars.
13385
13386         * paragraph.C (asString): Do not ignore newline/hfill chars when
13387         copying to the clipboard.
13388
13389 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
13390
13391         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13392         after a multi-line inset.
13393
13394 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
13395
13396         * paragraph.C (validate): Set NeedLyXFootnoteCode
13397
13398 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13399
13400         * lyxfont.C (LyXSizeNames): changed increase-error to increase
13401         and decrease-error to decrease.
13402
13403 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13404
13405         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13406         it more readable (should be equivalent)
13407
13408 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13409
13410         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13411
13412 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13413
13414         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13415         of a cursor (row, etc.) after a character has been deleted
13416         (deleteEmptyParagraphMechanism): call the method above on _all_
13417         cursors held by the LyXText when a double space has been
13418         detected/deleted.
13419
13420 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13421
13422         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13423         pixmap.
13424         (resizeCurrentBuff): remove code to destroy the old splash dialog.
13425
13426         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13427         background. Use greyOut() and the new show() methods to toggle between
13428         the foreground and background. Add code to remove the splash after
13429         its initial showing.
13430
13431         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13432         (create_forms): no longer call Dialogs::showSplash.
13433
13434 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13435
13436         * .cvsignore: add version_info.h
13437
13438 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13439
13440         * version_info.h.in: new file
13441
13442         * Makefile.am: add version_info.h.in
13443
13444         * lyx_main.C (commandLineVersionInfo): use version_info defined in
13445         version_info.h instead of VERSION_INFO
13446
13447 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
13448
13449         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13450         The ERT inset now returns string().
13451
13452 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
13453
13454         * lyxtext.h, text.C (selectNextWord): renamed as
13455         selectNextWordToSpellcheck.
13456
13457         * text.C (selectNextWordToSpellcheck): Modified to not select
13458         words inside an ERT inset.
13459
13460 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13461
13462         * lyx_cb.C (MenuLayoutSave): change a bit the question
13463
13464         * sp_base.h: include <sys/types.h>
13465
13466 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
13467
13468         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13469
13470 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
13471
13472         * several files: fix typos in user-visible strings
13473
13474 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13475
13476         * text2.C (pasteSelection): do not set the selection, since it
13477         will be cleared later. Actually, the intent was to fix the way the
13478         selection was set, but I figured rmoving the code was just as good.
13479
13480 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
13481
13482         * FontLoader.C (available): Check if font is available without
13483         loading the font.
13484
13485 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
13486
13487         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13488
13489 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
13490
13491         * lyxrc.[Ch]: added display_graphics variable and associated code.
13492
13493 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13494
13495         * bufferparams.C (hasClassDefaults): new method. Returns true if
13496         the buffer parameters correspond to known class defaults
13497
13498 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
13499
13500         * XFormsView.C (show): set minimum size to the main window.
13501
13502 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13503
13504         * text2.C (copySelection):
13505         (cutSelection):
13506         * lyxfind.C (LyXReplace):
13507         * BufferView_pimpl.C (Dispatch): pass the correct flag to
13508         LyXText::selectionAsString.
13509
13510         * paragraph.C (asString): add "label" argument to the second form
13511
13512         * text2.C (selectionAsString): add "label" argument and pass it to
13513         Paragraph::asString.
13514
13515 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13516
13517         * lyx_main.C (commandLineHelp): remove version information
13518
13519 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
13520
13521         * lyx_main.C: add -version commandline option
13522
13523 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13524
13525         * paragraph.h: make the optional constructor arg required instead.
13526         some modifications to other files because of this.
13527
13528         * minibuffer.C (C_MiniBuffer_peek_event): make it static
13529
13530         * lyxserver.C (C_LyXComm_callback): make it static
13531
13532         * lyx_main.C (error_handler): make it static
13533
13534         * lyx_gui.C (LyX_XErrHandler): make it static
13535
13536         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13537
13538         * WorkArea.C: make the extern "C" methods static.
13539
13540         * Makefile.am (lyx_LDADD): simplify
13541
13542 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13543
13544         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13545         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13546
13547         * LyXAction.C (init):
13548         * lyxfunc.C (dispatch): associated code removal.
13549
13550 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13551
13552         * lyxfont.h (isSymbolFont): shut off warning
13553
13554         * text.C (setHeightOfRow):
13555         (getVisibleRow): fix crash with empty paragraphs which have a
13556         bottom line
13557
13558 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
13559
13560         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13561         code.
13562
13563 2001-09-04  José Matos  <jamatos@fep.up.pt>
13564         * buffer.C
13565         * buffer.h
13566         * tabular.C (docbook): rename docBook method to docbook.
13567
13568 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13569
13570         * Makefile.am: add dependencies to main.o.
13571
13572 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
13573
13574         * FontLoader.C (available): Return false if !lyxrc.use_gui
13575
13576 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
13577
13578         * FontInfo.C (query):
13579         * converter.C (view):
13580         * importer.C (Import):
13581         * exporter.C (Export): Can not -> cannot.
13582
13583 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
13584
13585         * BufferView_pimpl.C: allow to create index inset even if
13586           string is empty
13587
13588 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13589
13590         * buffer.C (getLists): replace boost::tie code with an explicit pair
13591         as boost::tie can break some compilers.
13592
13593         * iterators.h: Added a std:: declaration to the return type of
13594         ParIterator::size.
13595
13596 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
13597
13598         * lyxrc.C: add help for view_dvi_paper_option, default to safe
13599           case.
13600
13601 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
13602
13603         * iterators.[Ch]: New files. Provide paragraph iterators.
13604
13605         * buffer.C (changeLanguage): Use paragraph iterators.
13606         (isMultiLingual): ditto
13607
13608         * BufferView2.C (ChangeInsets): Use paragraph iterators.
13609
13610 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
13611
13612         * FontLoader.C: Support for cmr font.
13613
13614 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
13615
13616         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13617         (available): New method.
13618
13619         * FontInfo.C (getFontname): Use scalable fonts even when
13620         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13621         found.
13622
13623 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13624
13625         * converter.C (Formats::view): reverted! Incorrect fix.
13626
13627 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13628
13629         * converter.C (Formats::view): only output the -paper option
13630         if the dvi viewer is xdvi, thereby fixing bug #233429.
13631
13632 2001-08-23  Herbert Voss  <voss@perce>
13633
13634         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13635
13636 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
13637
13638         * Spacing.h (Spacing): Set space to Default on in the default
13639         constructor.
13640
13641 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13642
13643         * vc-backend.h (RCS::versionString): add RCS to version
13644         (CVS::versionString): add CVS to version
13645
13646         * vc-backend.C (scanMaster): do not add CVS to version.
13647         (scanMaster): do not add RCS to version
13648
13649         * lyxvc.C (versionString): new method
13650
13651         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13652
13653 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13654
13655         * Spacing.C (set): initialize fval
13656
13657 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
13658
13659         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13660         " or \.
13661
13662 2001-08-16  Juergen Vigna  <jug@sad.it>
13663
13664         * lyxfunc.C (dispatch): implemented the new FINISHED states.
13665
13666 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13667
13668         * BufferView_pimpl.C:
13669         * figureForm.C:
13670         * lyxtext.h:
13671         * text2.C: setParagraph takes linespacing now
13672
13673 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
13674
13675         * LyxAction.C: add internal LFUN_CITATION_INSERT
13676
13677         * LyXView.C: actually apply fix
13678
13679         * bufferlist.C: fix open non-existent file
13680
13681         * lyxfind.C: fix indentation
13682
13683         * lyxfunc.C: remove unneeded assert, fix typo
13684
13685 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13686
13687         * MenuBackend.C: use "Floatname List"
13688
13689 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
13690
13691         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13692         when converting LaTeX layout to insetERT.
13693         Generate a non-collapsed float when reading old float
13694
13695 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13696
13697         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13698         ERT insets.
13699
13700 2001-08-13  Juergen Vigna  <jug@sad.it>
13701
13702         * text.C (fill): return 0 instead of 20 as this seems to be the more
13703         correct value.
13704
13705 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13706
13707         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13708         lyxrc.font_norm.
13709
13710 2001-08-13  Juergen Vigna  <jug@sad.it>
13711
13712         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13713         casesensitive off.
13714         (SearchBackward): comment out the unlocking of the inset_owner this
13715         should not be needed!
13716
13717 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
13718
13719         * Many files: Remove inherit_language, and add latex_language
13720
13721         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13722         collapsible insets.
13723
13724 2001-08-10  Juergen Vigna  <jug@sad.it>
13725
13726         * text.C (prepareToPrint): fixed hfill-width in draw!
13727
13728         * BufferView2.C (selectLastWord): save the selection cursor as this
13729         now is cleared in the function LyXText::clearSelection!
13730
13731 2001-08-08  Juergen Vigna  <jug@sad.it>
13732
13733         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13734         BACKSPACE type functions.
13735
13736         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13737         is only cutted from the document but not put in the cut-buffer, where
13738         still the old stuff should be.
13739
13740         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13741
13742         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13743
13744         * tabular.C (SetWidthOfCell): fixed special case where the width
13745         was not updated!
13746         (LeftLine): handle '|' in align_special.
13747         (RightLine): ditto
13748         (LeftAlreadyDrawed): ditto
13749         (SetWidthOfCell): ditto
13750
13751 2001-08-07  Juergen Vigna  <jug@sad.it>
13752
13753         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13754
13755 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13756
13757         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13758         * lyxlex.[hC]: ditto
13759
13760 2001-08-06  Juergen Vigna  <jug@sad.it>
13761
13762         * text.C (getVisibleRow): fix up row clearing a bit.
13763
13764 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13765
13766         * minibuffer.C: make sure the X server sees the changes in the input.
13767
13768 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13769
13770         * paragraph.C (getFont): split into...
13771         (getLabelFont): this
13772         (getLayoutFont): and this
13773         * paragraph_pimpl.C (realizeFont): calling this
13774
13775         * text2.C (getFont): split into...
13776         (getLayoutFont): this
13777         (getLabelFont): and this
13778         (realizeFont): all three calling this
13779
13780         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13781         files where used.
13782
13783 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13784
13785         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13786
13787 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
13788
13789         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13790         layouts from the Quote inset insertion.
13791
13792 2001-08-03  Juergen Vigna  <jug@sad.it>
13793
13794         * BufferView_pimpl.C (update): do the fitCursor only at the end!
13795
13796         * screen.C (drawFromTo): don't call fitcursor here and do the loop
13797         only if status not is already CHANGED_IN_DRAW (second level).
13798
13799         * text.C (draw): don't set the need_break_row when inside an
13800         InsetText LyXText.
13801
13802 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13803
13804         * buffer.C (parseSingleLyXformat2Token): handle more latex
13805         conversion cases.
13806
13807         * bufferview_funcs.[hC]: change function names to
13808         begin with small char, adjust other files.
13809
13810 2001-08-02  André Pönitz <poenitz@gmx.net>
13811
13812         * lyxfunc.C:
13813         BufferView_pimpl.C: remove broken special code for math-greek
13814
13815 2001-08-02  Juergen Vigna  <jug@sad.it>
13816
13817         * BufferView_pimpl.C (update): redone this function so that we
13818         update the text again if there was a CHANGE_IN_DRAW.
13819
13820         * screen.C (cursorToggle): removed LyXText parameter and recoded.
13821         (drawFromTo): added a new internal bool which is used by draw() and
13822         redraw() function.
13823         (general): some cursor drawing problems fixed.
13824
13825 2001-08-01  Juergen Vigna  <jug@sad.it>
13826
13827         * lyxfind.C (LyXFind): fixed
13828         (SearchForward): ditto
13829         (SearchBackward): ditto
13830
13831         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13832         spurius drawing of the cursor in the main area.
13833
13834         * text2.C (status): small fix which could lead to a segfault!
13835         (clearSelection): remove unneeded BufferView param.
13836
13837 2001-08-01  André Pönitz <poenitz@gmx.net>
13838
13839         * lyxfunc.C: small change due to changed mathed interface
13840
13841 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13842
13843         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13844
13845 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
13846
13847         * lyxfunc.c: fail gracefully if file doesn't exist
13848
13849         * LyXSendto.C:
13850         * buffer.C:
13851         * lyxfunc.C:
13852         * BufferView_pimpl.C: IsDirWriteable() proto changed
13853
13854         * LyXView.C: fix updateWindowTitle() to store the last title
13855
13856 2001-07-31  Juergen Vigna  <jug@sad.it>
13857
13858         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13859         the font (wrong since using of Paragraph::highestFontInRange).
13860
13861         * paragraph.C (highestFontInRange): added a default_size parameter.
13862
13863         * text.C (getVisibleRow): minor clear row changes (still not perfect).
13864         (setHeightOfRow): reformat
13865
13866 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13867
13868         * converter.[hC] + affected files: move to (inital-char)lowercase
13869         function names.
13870
13871         * ParagraphParameters.C (ParagraphParameters): remove commented code
13872
13873         * PainterBase.[Ch]: remove commented code
13874
13875         * LaTeXFeatures.h: add "bool floats" for float.sty
13876
13877         * LaTeXFeatures.C (LaTeXFeatures): init floats
13878         (require): handle float
13879         (getPackages): do it with floats
13880
13881 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13882
13883         * BufferView_pimpl.C (Dispatch): improve handling of
13884         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13885
13886         * commandtags.h: #include lyxfont.h here temporarily to avoid
13887         keybinding bug.
13888
13889         * bufferlist.h: include LString.h here.
13890
13891 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13892
13893         * text2.C (getStringToIndex): new method.
13894
13895 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
13896
13897         * *: Reduced header file dependencies all over.
13898
13899 2001-07-30  Baruch Even  <baruch@lyx.org>
13900
13901         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13902
13903 2001-07-29  Baruch Even  <baruch@lyx.org>
13904
13905         * buffer.C (readInset): Changed GRAPHICS to Graphics.
13906
13907 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13908
13909         * ParameterStruct.h (endif): add a default constructor to make
13910         sure that all variables is initialized.
13911
13912         * ParagraphParameters.C (ParagraphParameters): adjust
13913
13914 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13915
13916         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13917         index; also, check that there is something to index, and that it
13918         does not span over several paragraphs.
13919         (doubleClick): use WHOLE_WORD_STRICT for double click.
13920
13921         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13922
13923         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13924         scheme.
13925
13926 2001-07-26  Baruch Even  <baruch@lyx.org>
13927
13928         * buffer.C (readInset): Changed to call up InsetGraphics when reading
13929         an InsetFig figure, backwards compatible reading of old figure code.
13930
13931 2001-07-27  Juergen Vigna  <jug@sad.it>
13932
13933         * text2.C: font.realize function adaption.
13934
13935         * text.C (draw): add a warnings lyxerr text if needed.
13936
13937         * layout.C: font.realize function adaption.
13938
13939         * language.C: add inherit_language and implement it's handlings
13940
13941         * bufferview_funcs.C (StyleReset): remove language parameter from
13942         font creation (should be language_inherit now).
13943
13944         * bufferparams.C (writeFile): handle ignore_language.
13945
13946         * paragraph.C (getFontSettings): the language has to be resolved
13947         otherwise we have problems in LyXFont!
13948
13949         * lyxfont.C (lyxWriteChanges): added document_language parameter
13950         (update): removed unneeded language parameter
13951
13952         * paragraph.C (validate): fixed wrong output of color-package when
13953         using interface colors for certain fonts in certain environments,
13954         which should not seen as that on the final output.
13955
13956 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
13957
13958         * BufferView_pimpl.C:
13959         * Thesaurus.h:
13960         * Thesaurus.C:
13961         * Makefile.am:
13962         * commandtags.h:
13963         * LyXAction.C: add thesaurus support
13964
13965         * lyxfind.h:
13966         * lyxfind.C: add "once" parameter, for thesaurus, to not
13967           move to the next match
13968
13969 2001-07-26  Juergen Vigna  <jug@sad.it>
13970
13971         * lyxfont.C (realize): honor ignore_language too!
13972         (resolved): ditto.
13973
13974         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13975
13976         * text.C (draw): one place more for ignore_language to not draw
13977         itself!
13978
13979 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
13980
13981         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13982
13983 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13984
13985         * buffer.C (parseSingleLyXformat2Token): a more general fix for
13986         the minipage conversion problem.
13987
13988 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13989
13990         * buffer.C (parseSingleLyXformat2Token): check minipage if we
13991         insert an inset.
13992
13993 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13994
13995         * BufferView.h: don't forward declare WorkArea
13996
13997         * BufferView.C: don't include WorkArea.h
13998
13999 2001-07-25  André Pönitz <poenitz@gmx.net>
14000
14001         * commandtags.h:
14002         * LyXAction.C:
14003         * lyxfunc.C:  new LFUN 'math-space'
14004
14005         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14006
14007 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14008
14009         * text2.C (toggleInset): call open/close
14010
14011 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14012
14013         * lyxfunc.C (dispatch): add debug for the disabled case
14014
14015         * font.C (buttonText): make similar to rectText
14016
14017         * buffer.C (readInset): comment out parsing of insetlist and
14018         insttheorem
14019
14020         * PainterBase.C (rectText): small correction
14021
14022         * BufferView_pimpl.C: comment out insettheorem and insetlist
14023         * LyXAction.C: ditto
14024         * commandtags.h: ditto
14025
14026 2001-07-24  Juergen Vigna  <jug@sad.it>
14027
14028         * text.C (draw): honor the ignore_language.
14029
14030         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14031
14032 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14033
14034         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14035         char inset.
14036
14037 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14038
14039         * lyxtext.h: remove unused (and unimplemented) methods
14040
14041 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14042
14043         * text.C (getVisibleRow): honor background color
14044
14045         * PainterBase.h:
14046         * Painter.h: remove default color argument for fillRectangle
14047
14048         * text.C (backgroundColor): new method
14049
14050 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14051
14052         * text.C (getVisibleRow): adjust
14053
14054         * font.[Ch] (rectText): new method, metrics
14055         (buttonText): new method, metrics
14056
14057         * PainterBase.[hC]: make rectText and buttonText always draw and take
14058         fewer paramteres.
14059
14060 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14061
14062         * ToolbarDefaults.C (read):
14063         * MenuBackend.C (read): allow escaping in all strings
14064
14065         * BufferView_pimpl.C (insertAndEditInset): new method.
14066         (Dispatch): use insertAndEditInset whenever appropriate.
14067
14068         * BufferView_pimpl.C (insertNote): removed
14069
14070         * BufferView_pimpl.C (smartQuote): new method, moved from
14071         BufferView; if an insetquote cannot be inserted, insert a '"'
14072         character instead.
14073
14074         * BufferView2.C: remove insertCorrectQuote();
14075
14076         * lyxfunc.C (getStatus): Add support for all remaingin
14077         inset-insert lfuns.
14078
14079         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14080
14081         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14082         command (necessary to pass " as parameter of self-insert.
14083
14084         * text.C (selectWordWhenUnderCursor):
14085         (selectWord): add word_location parameter
14086         (selectWordWhenUnderCursor): same + remove special code for word
14087         boundary.
14088         (selectNextWord): use kind() to guess type of insetspecialchar,
14089         not latex().
14090
14091         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14092         (insertErtContents): create ert insets as collapsed.
14093         (readInset): better compatibility code for Info inset.
14094
14095 2001-07-20  Juergen Vigna  <jug@sad.it>
14096
14097         * lyxfunc.C (dispatch): use always LyXFind now!
14098
14099         * text2.C (init): add a reinit flag so that the LyXText can be
14100         reinited instead of deleted and reallocated (used in InsetText).
14101
14102         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14103
14104         * text.C: ditto
14105
14106         * text2.C: ditto
14107
14108 2001-07-18  Juergen Vigna  <jug@sad.it>
14109
14110         * text.C (selectNextWord): handle insets inside inset by calling
14111         always the bv->text functions so that we can go up the_locking_inset!
14112
14113         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14114         in strange locations when inside an inset!
14115
14116         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14117         handling to include insets.
14118
14119         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14120
14121 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14122
14123         * LyXAction.C (init):
14124         * commandtags.h:
14125         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14126         LIGATURE_BREAK, since the name is so stupid.
14127
14128 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14129
14130         * buffer.C (readInset): enable reading of new InsetNotes as well as old
14131         InsetInfos.
14132
14133         * FontLoader.C: remove FORMS_H_LOCATION cruft.
14134
14135         * sp_form.[Ch]: remove.
14136
14137         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14138
14139         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14140         InsetInfo.
14141
14142         * src/buffer.C (readInset): ditto.
14143
14144 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14145
14146         * BufferView_pimpl.C (specialChar): new method. Obsoletes
14147         menuSeparator(), endOfSentenceDot(), ldots() and
14148         hyphenationPoint(), which are therefore removed.
14149         (Dispatch): handle LFUN_HYPHENATION_BREAK.
14150
14151         * LyXAction.C (init):
14152         * commandtags.h: add LFUN_HYPHENATION_BREAK.
14153
14154         * paragraph.C (getWord): removed.
14155
14156         * BufferView_pimpl.C (Dispatch): use last word or selection for
14157         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14158
14159         * lyx_main.C (queryUserLyXDir): do not ask before creating
14160         user_dir, except if it has been named explicitely.
14161
14162 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14163
14164         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14165         a document of zero size.
14166
14167 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
14168
14169         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14170         approriately in the c-tor and in require().
14171         (getPackages): output the appropriate LaTeX for natbib support.
14172
14173         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14174         variables "use_natbib" and "use_numerical_citations" when reading the
14175         LyX file.
14176         (readInset): read the various natbib cite commands.
14177         (validate): white-space change.
14178
14179         * bufferparams.[Ch]: new variables "bool use_natbib" and
14180         "bool use_numerical_citations".
14181         (writeFile): output them in the LyX file.
14182
14183 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14184
14185         * lyxfunc.C (getStatus): add support for all the inset insertion
14186         commands.
14187
14188         * text2.C (insertInset):
14189         * paragraph.C (insetAllowed):
14190         * BufferView_pimpl.C (insertInset): update to take in account the
14191         renaming of insertInsetAllowed
14192
14193         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14194
14195         * text2.C (getInset): new method. returns inset at cursor position.
14196
14197         * BufferView_pimpl.C (Dispatch): changes because of this.
14198
14199         * LyXAction.C (init): rename open-stuff to inset-toggle.
14200
14201         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14202
14203         * text2.C (toggleInset): renamed from openStuff; use
14204         Inset::open().
14205
14206 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
14207
14208         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14209
14210         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14211
14212 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
14213
14214         * buffer.C (readLyXformat2): Add filename to the error dialog
14215
14216 2001-07-18  Juergen Vigna  <jug@sad.it>
14217
14218         * tabular.C (GetCellNumber): put an assert here instead of the check!
14219
14220 2001-07-17  Juergen Vigna  <jug@sad.it>
14221
14222         * BufferView_pimpl.C (toggleSelection): adapted too.
14223
14224         * text.C (selectNextWord): adapted for use with insets.
14225         (selectSelectedWord): ditto
14226
14227 2001-07-17  Juergen Vigna  <jug@sad.it>
14228
14229         * sp_spell.C (PSpell): fix initialitation order.
14230
14231 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14232
14233         * paragraph.C: spacing
14234
14235 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
14236
14237         * sp_spell.C: repair language selection for pspell
14238
14239 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14240
14241         * lyxfunc.h: change more methods to begin with lower char.
14242
14243 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
14244
14245         * buffer.C (parseSingleLyXformat2Token): Generate error insets
14246         for unknown layouts.
14247
14248 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
14249
14250         * buffer.C (readLyXformat2): Generate an error dialog if there are
14251         unknown layouts.
14252
14253 2001-07-16  Juergen Vigna  <jug@sad.it>
14254
14255         * sp_spell.C: always compile ISpell part.
14256
14257         * lyxrc.C: added use_pspell entry and it's handling.
14258
14259 2001-07-13  Juergen Vigna  <jug@sad.it>
14260
14261         * sp_spell.C: removed double includes.
14262
14263 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
14264
14265         Consistent use of Lsstream.h:
14266         * Lsstream.h: added using std::stringstream for consistencies sake.
14267
14268         * buffer.C: removed using std::stringstream
14269
14270         * lyxfont.C (stateText):
14271         * paragraph.C (asString):
14272         * text.C (selectNextWord, selectSelectedWord):
14273         * text2.C (setCounter):
14274         * vspace.C (asString, asLatexString):
14275         std::ostringstream -> ostringstream.
14276
14277 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14278
14279         * LyXAction.C: add LFUN_HELP_ABOUTLYX
14280         * commandtags.h: add LFUN_HELP_ABOUTLYX
14281         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14282
14283 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14284
14285         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14286         cursorToggle()
14287         * lyx_gui_misc.C: remove spellchecker
14288         * lyxfunc.C: showSpellchecker
14289         * sp_base.h: added
14290         * sp_ispell.h: added
14291         * sp_pspell.h: added
14292         * sp_spell.C: added
14293         * sp_form.[Ch]: removed
14294         * spellchecker.[Ch]: removed
14295
14296 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
14297
14298         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14299         is set.
14300         (simpleTeXSpecialChars): Simply print the input character without
14301         any special translation if pass_thru is set.
14302
14303         * layout.h: Added bool pass_thru to layout class for being able to
14304         implement pass through of a paragraph for Literate Programming.
14305
14306         * layout.C: add LT_PASS_THRU to LayoutTags enum.
14307         * layout.C (LyXLayout): set pass_thru to flase in constructor.
14308         * layout.C (Read): add "passthru" to list of layout tags and add
14309         code to set the pass_thru boolean when it is read.
14310
14311 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14312
14313         * trans_decl.h: remove allowed from KmodInfo
14314
14315         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14316         remove allowed code
14317         (Load): adjust
14318
14319         * paragraph_pimpl.C (erase): use boost::prior
14320
14321         * Painter.C (text): use data() instead of c_str() when length is
14322         also provided.
14323         * WorkArea.C (putClipboard): ditto
14324         * font.h (width): ditto
14325
14326         * BufferView2.C: use it-> instead of (*it). for iterators
14327         * texrow.C: ditto
14328         * paragraph_pimpl.C: ditto
14329         * paragraph.C: ditto
14330         * minibuffer.C: ditto
14331         * language.C: ditto
14332         * kbmap.C: ditto
14333         * encoding.C: ditto
14334         * counters.C: ditto
14335         * converter.C: ditto
14336         * chset.C: ditto
14337         * Variables.C: ditto
14338         * TextCache.C: ditto
14339         * MenuBackend.C: ditto
14340         * LyXAction.C: ditto
14341         * LColor.C: ditto
14342         * FloatList.C: ditto
14343         * DepTable.C: ditto
14344         * ColorHandler.C (LyXColorHandler): ditto
14345
14346 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14347
14348         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14349
14350         * text2.C (openStuff): reintroduce this method (which had been
14351         nuked in NEW_INSETS frenzy).
14352
14353         * lyxfunc.C (Dispatch): when an action has not been handled, use
14354         its name in the error message, not its number.
14355
14356         * paragraph.C (inInset): change method name to begin with lowercase.
14357
14358         * undo_funcs.C:
14359         * text2.C: updates because of this.
14360
14361 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14362
14363         * ToolbarDefaults.C (add): add spaces in error message
14364
14365 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14366
14367         * buffer.C (readLyXformat2): initialize the ert comp. variables.
14368         (readLyXformat2): rename return_par to first_par, use lyxlex's
14369         pushToken and remove the manual push handling.
14370         (parseSingleLyXformat2Token): add another ert comp. variable:
14371         in_tabular, rename return_par to first_par. handle newlines better
14372
14373 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14374
14375         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14376
14377 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14378
14379         * text2.C (getParFromID): removed
14380
14381         * buffer.C (getParFromID): new method moved form lyxtext.
14382         * BufferView2.C (insertErrors): adjust
14383         (setCursorFromRow): adjust
14384         * BufferView_pimpl.C (restorePosition): adjust
14385         * lyxfunc.C (Dispatch): adjust
14386         * undo_funcs.C (textUndo): adjust
14387         (textRedo): adjust
14388         (textHandleUndo): adjust
14389         (textHandleUndo): adjust
14390
14391 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14392
14393         * buffer.C: up' the LYX_FORMAT
14394
14395         * lyxfont.h: turn NO_LATEX on as default
14396
14397         * buffer.C (insertErtContents): new methods of tex style compability.
14398         (parseSingleLyXformat2Token): use it several places.
14399         * tabular.C (OldFormatRead): and here
14400
14401 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14402
14403         * text2.C: remove some commented code.
14404         reindent file.
14405
14406         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14407         * trans.C: changes because of the above.
14408
14409 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
14410
14411         * text2.C (setCounter): Fix counters bug with bibliography layout.
14412
14413 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14414
14415         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14416         own member functions
14417         (simpleTeXSpecialChars): ditto
14418
14419 2001-07-06  Juergen Vigna  <jug@sad.it>
14420
14421         * a lot of files: changed the access to LyXText::status and the
14422         call of undo-functions.
14423
14424         * undo.[Ch]: added a inset_id to the undo informations.
14425
14426         * undo_funcs.[Ch]: added and moved here all undo functions.
14427
14428         * lyxtext.h: give the status enum a weight, made status_ a private
14429         variable and made accessor functions for it, removed the whole bunch
14430         of undo-functions as they are now in their own file, make some
14431         functions publically available. Added function ownerParagraph with
14432         int parameter.
14433
14434         * paragraph.[Ch]: added "bool same_ids" to the constructor,
14435         made InInset() a const function, added getParFromID() function.
14436
14437         * buffer.[Ch]: added const version for inset_iterator functions,
14438         added getInsetFromID() function.
14439
14440         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14441         changed undo functions for new version.
14442
14443 2001-07-05  Juergen Vigna  <jug@sad.it>
14444
14445         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14446         unknow mechanism does not call the proper constructor but only this
14447         one also if I request the other!?
14448
14449 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14450
14451         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14452
14453         * text2.C (LyXText): use initialization lists.
14454
14455         * lyxtext.h (Selection): initialize set_ and mark_
14456         (init): remove method
14457
14458 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
14459
14460         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14461
14462 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14463
14464         * screen.[Ch]: change method names to begin with lowercase
14465
14466         * BufferView_pimpl.C (updateScrollbar): simplify further and
14467         hopefully make it a bit faster.
14468
14469 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14470
14471         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14472         calling directly xforms functions.
14473
14474         * Painter.C (Painter):
14475         * lyx_cb.C (MenuWrite):
14476         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14477         fl_display.
14478
14479         * lyx_gui.C: remove bogus guiruntime extern declaration.
14480
14481 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14482
14483         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14484         in NEW_INSETS
14485         (redoDrawingOfParagraph): ditto
14486         (redoParagraphs): ditto
14487         (cutSelection): don't create a object for CutAndPaste use the
14488         static method directly
14489         (pasteSelection): ditto
14490
14491         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14492         LyXview (+ rename)
14493
14494 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14495
14496         * modifications to some other files because of this.
14497
14498         * Makefile.am (lyx_SOURCES): add XFormsView
14499
14500         * XFormsView.[Ch]: new files
14501
14502         * LyXView.[Ch]: make LyXView a base class for the gui handling for
14503         the main window. Move the gui dependent stuff to XFormsView
14504
14505 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14506
14507         * tabular.C (GetCellInset): update cur_cell also in the row/col
14508         version of this function.
14509
14510         * lyxfunc.C: no need to include figure_form.h here.
14511
14512         * FontLoader.h:
14513         * lyxfunc.h:
14514         * lyxscreen.h:
14515         * text2.C:
14516         * lyxvc.C: no need to include forms.h here.
14517
14518 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14519
14520         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14521
14522         * lyxfunc.C (Dispatch):
14523         * Spacing.C (set):
14524         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14525         constructor argument.
14526
14527 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14528
14529         * paragraph.C (Paragraph): dont't clear, and just set layout.
14530         (makeSameLayout): use params's copy contructor.
14531
14532         * ParagraphParameters.[Ch] (makeSame): delete method
14533
14534 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
14535
14536         * Variables.[Ch]: fix indentation, rename set to isSet
14537
14538 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14539
14540         * lyxfunc.C (Dispatch): fix typo
14541
14542 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14543
14544         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14545         upper_bound.
14546
14547         * bufferlist.C: include assert.h for emergencyWrite().
14548
14549 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14550
14551         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14552           give up at last (bug #425202) !
14553
14554 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
14555
14556         * lyx_gui_misc.C:
14557         * sp_form.h:
14558         * sp_form.C:
14559         * spellchecker.h:
14560         * spellchecker.C: strip spellchecker options and bring up
14561           preferences tab instead
14562
14563 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14564
14565         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14566         the istringstream constructor
14567
14568 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14569
14570         * paragraph.C (getLayout): fix return value
14571
14572         * paragraph.h: do not declare getLayout as inline.
14573
14574         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14575
14576 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14577
14578         * lyxcursor.h (operator<): new func
14579         (operator>): new func
14580         (operator>=): new func
14581         (operator<=): new func
14582
14583         * text.C (changeCase): use selection.start and selection.end
14584         (changeRegionCase): require from to be <= to. Require par to be a
14585         valid paragraph.
14586
14587         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14588
14589 2001-06-27  Juergen Vigna  <jug@sad.it>
14590
14591         * text.C (cursorLeftOneWord): changed to return the cursor and added
14592         overlay with BufferView * parameter which calls this one.
14593         (getWord): added
14594         (selectWord): use new getWord function.
14595         (changeCase): renamed from changeWordCase as and extended to work
14596         also on selections.
14597
14598         * lyxtext.h: added enum word_location
14599
14600         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14601         changeCase as this operates now also on selections.
14602
14603 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
14604
14605         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14606
14607         * many files: send debug output to Debug::INFO instead of
14608         Debug::ANY.
14609
14610         * converter.C (View):
14611         (Convert):
14612         (Move): send debug output to Debug::FILES instead of console.
14613
14614 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
14615
14616         * lyxfunc.C (getStatus): use func_status
14617
14618         * func_status.h: new header, describing the results of
14619         LyXFunc::getStatus;
14620
14621         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14622         LFUN_MATH_HALIGN.
14623
14624 2001-06-25  The LyX Project  <jug@sad.it>
14625
14626         * buffer.C (sgmlOpenTag):
14627         (sgmlCloseTag):
14628         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
14629
14630 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14631
14632         * text2.C: remove some dead code
14633
14634         * tabular.C (GetCellInset): store the last cell checked (gotten)
14635
14636         * tabular.h: add the helper for the speedup
14637
14638         * lyxtext.h: remove some dead code
14639
14640 2001-06-26  The LyX Project  <Asger>
14641
14642         * paragraph.C: Change export to LaTeX of alignment to
14643         \begin{center} and family for better roundtrip work with reLyX.
14644
14645         * Tune the math drawing a bit.
14646
14647 2001-06-25  The LyX Project  <Asger>
14648
14649         * LColor.C (LColor): New color for math background. New color
14650         for buttons.
14651
14652 2001-06-25  The LyX Project  <jug@sad.it>
14653
14654         * lyxfunc.C (MenuNew): remove extra check for .lyx file
14655
14656         * lyxfunc.C (Open):
14657         * bufferlist.C (newFile): do not restrict to files ending with
14658         .lyx
14659
14660         * BufferView_pimpl.C (MenuInsertLyXFile):
14661
14662 2001-06-24  The LyX Project  <jug@sad.it>
14663
14664         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14665         of compare_no_case
14666
14667 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14668
14669         * lyxtext.h: rename most methods to begin with a small char.
14670         Lots of changes because of this.
14671
14672         * paragraph.C (Paragraph): do not call fitToSize
14673         (erase): call Pimpl::erase
14674         (insertChar): call Pimpl::insertChar
14675         (insertInset): call Pipl::insertInset
14676         (breakParagraph): do not call fitToSize
14677         (breakParagraphConservative): do not call fitToSize
14678         (fitToSize): remove method
14679
14680         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14681
14682 2001-06-24  The LyX Project  <Asger>
14683
14684         * Fix Qt compilation^2
14685
14686 2001-06-24  The LyX Project  <jug@sad.it>
14687
14688         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14689         depthHook(getDepth()-1).
14690
14691         * paragraph.h:
14692         * ParagraphParameters.h:
14693         * ParameterStruct.h: change type of depth to unsigned int ==
14694         depth_type. Many adaptations to other files before of that.
14695
14696 2001-06-24  The LyX Project  <Asger>
14697
14698         * Fix Qt compilation.
14699
14700 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14701
14702         * paragraph.h: renamed several methods to begin with small letter.
14703         several changes to many parts of the code because of this.
14704
14705 2001-06-23  The LyX Project  <jug@sad.it>
14706
14707         * text2.C (InsertStringAsLines): renamed from InsertStringA;
14708         rewritten to discard all double spaces when KeepEmpty is off
14709         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14710         to only handle newlines but not fiddle with spaces and friends.
14711
14712         * lyxfunc.C (MenuNew): when doing 'new from template', use
14713         template_path as default directory
14714
14715 2001-06-23  The LyX Project  <Asger>
14716
14717         * Clean-up of header file includes all over
14718         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14719
14720 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14721
14722         * paragraph.h: renamed from lyxparagraph.h
14723
14724 2001-06-23  Asger  <lyx@violet.home.sad.it>
14725
14726         * Buffer.h: Removed Buffer::resize
14727         * BufferList.h: Removed BufferList::resize
14728         * LyXView.h: Added LyXView::resize. This way, we will only reflow
14729         the document lazily when we change the width, or the font settings.
14730
14731 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14732
14733         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14734
14735 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14736
14737         * buffer.h: remove out of date comment
14738
14739 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14740
14741         * lyxscreen.h:
14742         * screen.C: fix "theoretical" GC leak
14743
14744 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14745
14746         * LaTeX.C (scanAuxFile):
14747         (deplog): remove trailing \r when reading stream (useful under
14748         win32)
14749
14750 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
14751
14752         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14753         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14754         and BufferView::theLockingInset(Inset*), so should use them and not
14755         access bv_->text->the_locking_inset directly.
14756
14757         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14758
14759 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14760
14761         * Makefile.am:
14762         * tex-defs.h: remove old unused file
14763
14764 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
14765
14766         * BufferView_pimpl.C: fix typo, remove minibuffer message
14767           when buffer has loaded
14768
14769 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14770
14771         * lyxfunc.C (Dispatch): use stringstream
14772         (MenuNew): use stringstream
14773         (Open): use stringstream
14774
14775         * importer.C (Import): use stringstream
14776
14777         * bufferview_funcs.C (CurrentState): use stringstream
14778
14779         * LaTeX.C (run): use stringstream
14780
14781         * BufferView_pimpl.C (savePosition): use stringstream
14782         (restorePosition): use stringstream
14783         (MenuInsertLyXFile): use stringstream
14784
14785 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
14786
14787         * BufferView.C:
14788         * Bullet.C:
14789         * ColorHandler.C:
14790         * FontInfo.C:
14791         * FontLoader.C:
14792         * LColor.C:
14793         * LaTeXFeatures.C:
14794         * Painter.C:
14795         * gettext.C:
14796         * lyx_gui_misc.C:
14797         * lyxserver.C:
14798         * vspace.C: removed // -*- C++ -*- as first line.
14799
14800         * lyxfind.h:
14801         * version.h: added // -*- C++ -*- as first line.
14802
14803 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14804
14805         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14806
14807         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14808         of string
14809
14810 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14811
14812         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14813         of floats.
14814
14815 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14816
14817         * gettext.C: include LString.h even when --disable-nls is on.
14818
14819 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
14820
14821         * converter.h (Get): changed argument type from int to
14822         FormatList::size_type to avoid unnecessary conversion.
14823
14824         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14825         before using it.
14826
14827 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14828
14829         * gettext.h: include LString.h even when --disable-nls is on.
14830
14831 2001-06-07  Juergen Vigna  <jug@sad.it>
14832
14833         * text.C (BreakAgain): subst spaces with tabs.
14834
14835         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14836         (resizeInsetsLyXText): set force on resizeLyXText.
14837
14838 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14839
14840         * gettext.h (gettext_init):
14841         (locale_init): use a real definition instead of a macro
14842
14843 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14844
14845         * Bufferview_pimpl.C:
14846         * LColor.h:
14847         * LColor.C: further lcolor tidies
14848
14849 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14850
14851         * BufferView_pimpl.C (updateScrollbar): simplify.
14852
14853         * BufferView2.C: don't include insets/insetinfo.h, change
14854         prototype for insertInset and call the Pimpl version. let
14855         updateInset call Pimpl version.
14856
14857         * BufferView.h: move inset_slept to BufferView::Pimpl, move
14858         gotoInset to BufferView::Pimpl
14859
14860 2001-06-01  Juergen Vigna  <jug@sad.it>
14861
14862         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14863         inside a LockingInset (is the update needed at all?).
14864
14865 2001-05-31  Juergen Vigna  <jug@sad.it>
14866
14867         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14868         here not the old one otherwise how should we compare it afterwards
14869         if it's the same!
14870
14871 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14872
14873         * lyxfont.C:
14874         * tabular.C:
14875         * tabular-old.C:
14876         * FontInfo.C: bring C functions into global namespace when
14877         necessary
14878
14879 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14880
14881         * LString.h: make sure config.h has been loaded before LString.h.
14882
14883         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14884         (one for each char read by EatLine!).
14885
14886         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14887         variables.
14888
14889 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14890
14891         * paragraph.C (BreakParagraph): set the inset_owner in the new par
14892         to the same as the par we break from
14893
14894 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14895
14896         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14897
14898         * MenuBackend.C (expand): also create menu entries for wide
14899         versions of the floats.
14900
14901         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14902
14903         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14904
14905         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14906         frontends/Makefile.am
14907
14908         * text2.C: adjust
14909         * text.C: adjust
14910
14911
14912         * tabular.C (getTokenValue): add std::
14913
14914         * tabular-old.C (getTokenValue): add std::
14915         (getTokenValue): ditto
14916         (getTokenValue): ditto
14917
14918         * screen.C (ToggleSelection): adjust
14919
14920         * lyxtext.h: put selection cursors inside a Selection struct.
14921
14922         * lyxfunc.C (moveCursorUpdate): adjust
14923
14924         * lyxfont.C (latexWriteStartChanges): add std::
14925
14926         * lyxfind.C: adjust
14927
14928         * font.h: delete with(char const *, LyXFont const &)
14929
14930         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14931
14932         * FontInfo.C (getFontname): add std::
14933
14934         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14935         (workAreaButtonPress): adjust
14936         (tripleClick): adjust
14937         (update): adjust
14938         (moveCursorUpdate): adjust
14939         (Dispatch): adjust
14940
14941         * BufferView2.C (gotoInset): adjust
14942
14943 2001-05-30  Juergen Vigna  <jug@sad.it>
14944
14945         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14946         to check pspell I add this as default as I now have new pspell
14947         libraries and they seem to use this.
14948
14949 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14950
14951         * text2.C (CutSelection): make the cursor valid before the call to
14952         ClearSelection.
14953
14954 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14955
14956         * kbsequence.C (parse): de-uglify a bit the parsing code, which
14957         relied on 0 terminated strings and other horrors. Bug found due to
14958         the new assert in lyxstring!
14959
14960         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14961         KP_ keys.
14962
14963 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14964
14965         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14966         to latinkeys.bind.
14967
14968         * lyxfunc.C (processKeySym): change method of getting to the
14969         self-insert char.
14970
14971         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14972         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14973         * BufferView_pimpl.[Ch]: here as private methods.
14974
14975 2001-05-28  Juergen Vigna  <jug@sad.it>
14976
14977         * text.C (SetHeightOfRow): added the update() call again as it is
14978         needed to initialize inset dimensions!
14979
14980 2001-05-16  Juergen Vigna  <jug@sad.it>
14981
14982         * text2.C (SetCharFont): Add new function with BufferView * and
14983         bool toggleall parameters for setting insets internal fonts.
14984         (SetFont): Freeze the undo as we may change fonts in Insets and
14985         all this change should be inside only one Undo!
14986
14987         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14988         setting font's in insets as for them we have the SetFont function!
14989
14990 2001-05-15  Juergen Vigna  <jug@sad.it>
14991
14992         * text2.C (ClearSelection): to be sure we REALLY don't have any
14993         selection anymore!
14994
14995         * tabular.C (TeXCellPreamble): fixed the left border problem for
14996         multicolumn cells.
14997
14998 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
14999
15000         * LaTeX.C (deplog): Make sure that the main .tex file is in the
15001         dependancy file
15002
15003 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15004
15005         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15006         LFUN_BREAKPARAGRAPH.
15007
15008         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15009         help test to "internal only", similar for LFUN_INSERT_URL
15010
15011         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15012         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15013         auto_region_delete and deadkeys.
15014
15015 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
15016
15017         * LColor.h:
15018         * LColor.C: remove some dead entries, tidy a little
15019
15020 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15021
15022         * lyxfunc.C (processKeySym): comment the Escape handling, remove
15023         commented code.
15024         (Dispatch): implement LFUN_ESCAPE
15025
15026         * commandtags.h: add LFUN_ESCAPE
15027
15028         * LyXAction.C (init): add entry for LFUN_ESCAPE
15029
15030         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15031         Remove commented code.
15032         (insertNote): moved here
15033         (open_new_inset): moved here
15034
15035         * BufferView[2].[Ch]: move insertNote and open_new_inset to
15036         BufferView_pimpl
15037
15038 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15039
15040         * kbmap.C (findbinding): clean it up and make it work correctly.
15041
15042         * lyx_main.C (init): do not pass argc and argv as parameters
15043
15044 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
15045
15046         * buffer.C: fix path for OS/2 & Win32
15047
15048         * lyx_gui.C:
15049         * lyx_main:
15050         * lyx_main.C: Added os:: class.
15051
15052         * os2_defines.h: update
15053
15054 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15055
15056         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15057         better by trying again with reduced state.
15058
15059 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15060
15061         * lyxrc.C (read): print error about invalid key sequence only when
15062         debugging (because not all latinX keysyms are known to some X
15063         servers)
15064
15065         * kbsequence.C (getiso): add a few std:: qualifiers
15066         (getiso): comment out extra return statement.
15067
15068 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15069
15070         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15071         handling.
15072         (Dispatch): enhance the accent inset a bit. (not perfect)
15073
15074 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15075
15076         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15077
15078 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15079
15080         * bufferlist.C (emergencyWrite): fix assert() call
15081
15082 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
15083
15084         * text.C (InsertChar): Added trivial patch to only send the "you
15085         can not do multiple spaces this way" message once during a
15086         session.
15087
15088 2001-05-08  Baruch Even  <baruch@lyx.org>
15089
15090         * Makefile.am: Changed order of libraries to get LyX to link properly
15091         with the gnome frontend.
15092
15093 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15094
15095         * LaTeXFeatures.h: add a std:: qualifier
15096
15097 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15098
15099         * paragraph.C (String): use stringstream
15100
15101 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15102
15103         * paragraph.C (writeFile): remove footflag arg
15104
15105         * buffer.C (makeLaTeXFile): use stringstream
15106         (latexParagraphs): remove footnot gurba
15107
15108         * LaTeXFeatures.C (getPackages): use stringstream
15109         (getMacros): likewise
15110         (getTClassPreamble): likewise
15111         (getFloatDefinitions): new method
15112
15113         * paragraph.C (writeFile): reindent
15114         (Erase): reindent
15115
15116         * WorkArea.h: revert the xpos + etc changes.
15117
15118         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15119
15120         * lyxparagraph.[Ch]: add copy constructor, remove Clone
15121
15122         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15123         (pasteSelection): likewise
15124         * text2.C (CreateUndo): likewise
15125
15126 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15127
15128         * minibuffer.C (peek_event): temporarily reduce the functionality
15129         of the minibuffer (to allow args on lfuns)
15130
15131         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15132         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15133
15134         * buffer.C (readInset): add compability reading of old float
15135         lists, add reading of new style float list.
15136         (readInset): avoid reevaluation of inscmd.getCmdName()
15137         (getLists): reindent
15138
15139         * MenuBackend.C (MenuItem): implement parsing of
15140         md_floatlistinsert and md_floatinsert.
15141         (expand::LastFiles): move initalizaton of iterators out of loop,
15142         avoid reevaluation.
15143         (expand::Documents): introduce typdedef vector<string> Strings,
15144         and use it.
15145         (expand::ExportFormats): introduce typedef vector<Format const *>
15146         Formats, and use it.
15147         (expand): implement FloatListInsert and FloatInsert.
15148
15149         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15150         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15151         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15152
15153         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15154         handling.
15155         (Dispatch::LFUN_FLOAT_LIST): implement
15156
15157 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15158
15159         * LaTeX.C (run): Fix problem with --export code.
15160
15161 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15162
15163         * BufferView.[Ch] (workarea): removed.
15164         (getClipboard) new method; wrapper for workarea()->getClipboard()
15165
15166         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15167         bug.
15168
15169         * WorkArea.h (width, height, xpos, ypos): These methods all
15170         returned the dimensions of the work_area sub-area of WorkArea,
15171         resulting in a position error if the WorkArea were resized. Now
15172         return the dimensions of the entire WorkArea.
15173
15174         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15175
15176 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15177
15178         * LaTeX.C (deplog): correct the syntax of regex reg1
15179
15180 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15181
15182         * undo.C: remove !NEW_INSETS cruft
15183
15184 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15185
15186         * text2.C: remove !NEW_INSETS cruft
15187
15188         * text.C: remove !NEW_INSETS cruft
15189
15190         * tabular.C: remove !NEW_INSETS cruft
15191
15192         * spellchecker.C: remove !NEW_INSETS cruft
15193
15194         * lyxtext.h: remove !NEW_INSETS cruft
15195
15196         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15197
15198         * lyxfunc.C: remove !NEW_INSETS cruft
15199
15200         * lyxfind.C: remove !NEW_INSETS cruft
15201
15202         * lyx_cb.C: remove !NEW_INSETS cruft
15203
15204         * figureForm.C: remove  !NEW_INSETS cruft
15205
15206         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15207
15208         * buffer.[Ch]: remove !NEW_INSETS cruft
15209
15210         * ToolbarDefaults.C: remove !NEW_INSETS cruft
15211
15212         * CutAndPaste.C: remove !NEW_INSETS cruft
15213
15214         * BufferView_pimpl.C: remove !NEW_INSETS cruft
15215
15216         * BufferView2.C: remove !NEW_INSETS cruft
15217
15218         * BufferView.h: remove !NEW_INSETS cruft
15219
15220 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15221
15222         * Lsstream.h: include LString.h before the sstream headers to
15223         fix problem with gcc 2.95.3 and lyxstring
15224
15225 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15226
15227         * lyx_main.C: add using directives when needed for C functions
15228         declared in std:: namespace.
15229
15230 2001-04-27  Juergen Vigna  <jug@sad.it>
15231
15232         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15233         (SetHeightOfRow): comment out the update call should not be needed!
15234
15235 2001-04-13  Juergen Vigna  <jug@sad.it>
15236
15237         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15238         (LyXTabular): tried to minimize operator= operations (and realized
15239         hopfully Lars wish).
15240
15241 2001-04-27  Juergen Vigna  <jug@sad.it>
15242
15243         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15244
15245 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15246
15247         * lyxfunc.C (Dispatch): hack to make listof algorithm work
15248
15249         * buffer.C (readInset): hack to make listof algorithm work
15250
15251         * BufferView_pimpl.C: hack to make listof algorithm work
15252
15253 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15254
15255         * LyXAction.C: removed all !NEW_INSETS cruft
15256         (init): moved lfun_item in method
15257
15258         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15259
15260 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15261
15262         * BufferView2.C (theLockingInset): white space.
15263
15264 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15265
15266         * minibuffer.C: include <iostream>
15267
15268         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15269
15270         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15271
15272         * commandtags.h: add LFUN_TRANSPOSE_CHARS
15273
15274         * text.[Ch] (TransposeChars): new method
15275
15276 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15277
15278         * call message directly through LyXView instead of through LyXFunc
15279         * BufferView2.C: adjust
15280         * BufferView_pimpl.C: adjust
15281         * FontLoader.C: adjust
15282         * buffer.C: adjust
15283         * bufferview_funcs.C: adjust
15284         * converter.C: adjust
15285         * figureForm.C: adjust
15286         * importer.C: adjust
15287         * lyx_cb.C: adjust
15288         * lyx_gui_misc.C: adjust
15289         * lyxfunc.C: adjust
15290         * lyxvc.C: adjust
15291         * text2.C: adjust
15292         + more files in subdirs
15293
15294         * lyxparagraph.h (size): move up int file
15295         (GetLayout): ditto
15296
15297         * adjust all uses of Assert to lyx::Assert.
15298
15299         * BufferView2.C (ChangeCitationsIfUnique): adjust for
15300         lyxfunctional in namespace lyx
15301         * layout.C (hasLayout): ditto
15302         (GetLayout): ditto
15303         (GetLayout): ditto
15304         (delete_layout): ditto
15305         (NumberOfClass): ditto
15306         * converter.C (GetFormat): ditto
15307         (GetNumber): ditto
15308         (Add): ditto
15309         (Delete): ditto
15310         (SetViewer): ditto
15311         * bufferlist.C (getFileNames): ditto
15312         (emergencyWriteAll): ditto
15313         (exists): ditto
15314         (getBuffer): ditto
15315         * MenuBackend.C (hasSubmenu): ditto
15316         (hasMenu): ditto
15317         (getMenu): ditto
15318         * BufferView_pimpl.C (getInsetByCode): ditto
15319
15320 2001-04-18  Juergen Vigna  <jug@sad.it>
15321
15322         * vspace.C (asLatexString): fixed the 100% problem.
15323
15324 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15325
15326         * lyxfunc.C (Dispatch):
15327         * minibuffer.C:
15328         * minibuffer.h: add a few std:: qualifiers
15329
15330 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15331
15332         * minibuffer.[Ch]: reimplement so that commands is initiated and
15333         run from lyxfunc, simplified som handling, and made the completion
15334         and history code for complete. wip.
15335
15336         * lyxfunc.C (processKeySym): call message
15337         (miniDispatch): new temporary method
15338         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15339         (LFUN_MESSAGE): implement
15340         (LFUN_MESSAGE_PUSH): implement
15341         (LFUN_MESSAGE_POP): implement
15342         (initMiniBuffer): the initial/defualt minibuffer message.
15343
15344         * lyxfont.[Ch]: inline some more getters
15345
15346         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15347
15348         * lyx_gui_misc.[Ch] (WriteStatus): remove method
15349
15350         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15351         (AutoSave): use LFUN_MESSAGE
15352         (Reconfigure): ditto
15353
15354         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15355
15356         * figureForm.C: use LFUN_MESSAGE
15357
15358         * converter.C (runLaTeX): use LFUN_MESSAGE
15359
15360         * bufferview_funcs.C: use LFUN_MESSAGE
15361         (Melt): ditto
15362         (changeDepth): ditto
15363
15364         * bufferparams.h: use boost::
15365
15366         * bufferlist.h: inherit privately from noncopyable
15367
15368         * bufferlist.C (loadLyXFile): remove some commented code.
15369
15370         * buffer.C (runChktex): use LFUN_MESSAGE
15371
15372         * ShareContainer.h: inherit privately from noncopyable
15373
15374         * ParagraphParameters.[hC] (depth): inline it.
15375
15376         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15377         methods.
15378         (message): new method
15379         (messagePush): ditto
15380         (messagePop): ditto
15381         (show): init minibuffer
15382         (showState): direct call
15383
15384         * LaTeX.[Ch]: inherit privately from noncopyable
15385         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15386         instead of WriteStatus.
15387
15388         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15389
15390         * BufferView_pimpl.C (buffer): don't init minibuffer
15391         (workAreaButtonPress): use LFUN_MESSAGE
15392         (workAreaButtonRelease): ditto
15393         (savePosition): ditto
15394         (restorePosition): ditto
15395         (MenuInsertLyXFile): ditto
15396         (workAreaExpose): don't init minibuffer
15397         (update): remove commented code, simplify
15398
15399         * BufferView2.C (openStuff): use LFUN_MESSAGE
15400         (toggleFloat): ditto
15401         (menuUndo): ditto
15402         (menuRedo): ditto
15403         (copyEnvironment): ditto
15404         (pasteEnvironment): ditto
15405         (copy): ditto
15406         (cut): ditto
15407         (paste): ditto
15408         (gotoInset): ditto
15409         (updateInset): remove some commented code
15410
15411         * lastfiles.h: inherit privately from noncopyable
15412         * layout.h: ditto
15413         * lyx_gui.h: ditto
15414         * lyx_main.h: ditto
15415         * lyxlex.h: ditto
15416         * lyxlex_pimpl.h: ditto
15417
15418         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15419         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15420         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15421
15422         * LyXAction.h: inherit privately from noncopyable, add methods
15423         func_begin, func_end, returning iterators to the func map.
15424
15425         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15426         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15427         (func_begin): new method
15428         (func_end): new method
15429
15430         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15431         and not)
15432         (copySelection): ditto
15433         (pasteSelection): ditto
15434
15435         * BufferView.C: whitespace change
15436         * BufferView.h: inherit privately from noncopyable
15437
15438 2001-04-16  Allan Rae  <rae@lyx.org>
15439
15440         * tabular-old.C (l_getline):
15441         * spellchecker.C (sc_check_word):
15442         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15443         an unrecognised preprocessor directive.  So ensure they're wrapped.
15444
15445 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
15446
15447         * src/exporter.C (Export): Give an error message when path to file
15448         contains spaces.
15449
15450 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
15451
15452         * LaTeX.C (deplog): Always check that foundfile exists.
15453
15454 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15455
15456         * lyx_main.h:
15457         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15458
15459 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15460
15461         * tabular.[Ch] (getLabelList): implement new method
15462
15463         * minibuffer.h: comment ouf setTiimer
15464
15465         * minibuffer.C (ExecutingCB): constify res
15466         (peek_event): constify s
15467         (Set): constify ntext
15468         (Init): constify nicename
15469
15470         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15471
15472         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15473         (savePosition): use two params to Minibuffer::Set
15474         (restorePosition): ditto
15475
15476 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15477
15478         * lyx_main.C: include language.h
15479
15480         * Makefile.am (lyx_main.o): add language.h
15481
15482 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15483
15484         * exporter.C:
15485         * paragraph.C:
15486         * screen.C:
15487         * tabular.C:
15488         * CutAndPaste.C: include gettext.h
15489
15490         * lyxfont.h: remove old hack with ON and OFF.
15491
15492         * lyxparagraph.h:
15493         * lyxfont.h: do not include language.h...
15494
15495         * BufferView2.C:
15496         * LaTeXFeatures.C:
15497         * Painter.C:
15498         * bufferview_funcs.C:
15499         * font.C:
15500         * lyxfont.C:
15501         * text.C:
15502         * text2.C:
15503         * trans_mgr.C:
15504         * paragraph.C: ... but do it here instead
15505
15506 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15507
15508         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15509
15510         * tabular.C: small reformat
15511
15512         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15513         NEW_INSETS version
15514         (GetChar): ditto
15515         (BreakParagraph): ditto
15516         (SetOnlyLayout): ditto
15517         (SetLayout): ditto
15518
15519         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15520         with one arg less.
15521
15522         * lastfiles.C: removed most using decl, add std:: where needed
15523
15524         * buffer.C: ws changes
15525
15526         * MenuBackend.C (class compare_format): put into anon namespace
15527         (expand): constify label, names, action, action2
15528         (expand):
15529
15530         * text.C (SingleWidth): constify font
15531         (IsBoundary): constify rtl2
15532         (GetVisibleRow): constify ww
15533
15534         * LaTeX.C (deplog): constify logfile
15535
15536         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15537         start_x, end_x
15538         (workAreaExpose): constify widthChange, heightChange
15539
15540         * lyxrow.C (par): moved
15541         (height): moved
15542         (next): moved
15543         * lyxrow.h: as inlines here
15544
15545         * lyxfont.h (shape): moved from lyxfont.C
15546         (emph): moved from lyxfont.C
15547
15548         * lyxfont.C (LyXFont): use initialization list for all
15549         constructors
15550         (shape): move to lyxfont.h as inline
15551         (emph): move to lyxfont.h as inline
15552
15553
15554 2001-04-04  Juergen Vigna  <jug@sad.it>
15555
15556         * vspace.C: had to include stdio.h for use of sscanf
15557
15558 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
15559
15560         * BufferView.h:
15561         * BufferView_pimpl.h: remove xforms cruft. Both classes are
15562         independent of xforms.
15563
15564 2001-04-02  Juergen Vigna  <jug@sad.it>
15565
15566         * spellchecker.C: fixed namespace placing!
15567
15568 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
15569
15570         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15571         the LyXParagraph * is 0.
15572
15573 2001-03-29  Juergen Vigna  <jug@sad.it>
15574
15575         * vspace.C: added support for %, c%, p%, l%.
15576         (stringFromUnit): added helper function.
15577         (asLatexString): changed to give right results for the %-values.
15578
15579         * buffer.C: convert the widthp in a width%.
15580
15581 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
15582
15583         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15584         figureForm.[Ch].
15585
15586         * figureForm.[Ch]: stripped the FD_from_figure manipulation
15587         code out of lux_cb.[Ch], ready for its (imminent?) removal.
15588
15589         * lyx_cb.[Ch]: see above.
15590
15591         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15592         form1.[Ch].
15593
15594         * form1.[Ch]:
15595         * lyx.[Ch]: replaced by figure_form.[Ch].
15596
15597         * lyx_gui.C:
15598         * lyx_gui_misc.C:
15599         * lyxfunc.C: changed headers associated with above changes.
15600
15601 2001-03-27  Juergen Vigna  <jug@sad.it>
15602
15603         * BufferView_pimpl.C: set the temporary cursor right!
15604
15605 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
15606
15607         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15608
15609 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
15610
15611         * LString.h: removed "using std::getline"!
15612
15613         * BufferView_pimpl.C (Dispatch): changes due to changes in
15614         InsetInclude::Params.
15615
15616         * buffer.C (tag_name): removed redundant break statements as they were
15617         producing lots of warnings with my compiler.
15618
15619 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15620
15621         * LString.h: add "using std::getline" when using the real <string>.
15622
15623 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
15624
15625         * buffer.C: removed bitset usage.
15626         PAR_TAG moved to an anonymous name space.
15627         (tag_name): new funtion, also in the anonymous namespace.
15628         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15629         (makeDocBookFile): clean code. Completed transition from string arrays
15630         to string vectors.
15631         (SimpleDocBookOnePar): code clean.
15632
15633 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15634
15635         * tabular.C: add some comments.
15636
15637 2001-03-22  Juergen Vigna  <jug@sad.it>
15638
15639         * buffer.C (parseSingleLyXformat2Token): redone the minipage
15640         compatibility read a bit and fixed bug with minipage in different
15641         depth.
15642
15643 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
15644
15645         * buffer.C (pop_tag): removed.
15646         (push_tag): removed.
15647         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15648         array replaced with vector. Added support for CDATA sections.
15649         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15650         at any nest level.
15651         (makeDocBookFile): XML conformant declaration of CDATA section,
15652         fixed bug related to <emphasis> in the first paragraph char.
15653         (sgmlOpenTag): exclude empty tags.
15654         (sgmlCloseTag): ditto.
15655
15656         * buffer.h (pop_tag): removed.
15657         (push_tag): removed.
15658
15659 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
15660
15661         * language.h (Languages): added size_type and size().
15662
15663 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15664
15665         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15666         response on compability reading of minipages. One probliem is that
15667         the old usage of minipages was «flertydig»
15668
15669         * several files here and in subdirs: don't use static at file
15670         scope use anon namespaces instead.
15671
15672 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
15673
15674         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15675         LaTeX output. This is necessary for Literate document
15676         processing.
15677
15678 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15679
15680         * buffer.C: insert hfill when needed.
15681
15682         * tabular.C (l_getline): use string::erase, small whitespace change.
15683
15684         * BufferView_pimpl.C: try the anon namespace.
15685         * WorkArea.C: ditto
15686
15687 2001-03-16  Juergen Vigna  <jug@sad.it>
15688
15689         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15690         otherwise it won't open options-dialogs.
15691
15692         * buffer.C: honor pextraWidth(p) on converting minipages.
15693
15694         * tabular.C (l_getline): changed the functions to strip trailing \r.
15695
15696 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
15697
15698         * BufferView_pimpl.C:
15699         * minibuffer..C: added "using SigC::slot" declaration.
15700
15701 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15702
15703         * lyxlex_pimpl.h: noncopyable is in namespace boost.
15704
15705         * text2.C: ditto
15706
15707         * text.C: ditto
15708
15709         * paragraph.C: ditto
15710
15711         * lyxtext.h: NO_PEXTRA
15712
15713         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15714
15715         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15716         * ParameterStruct.h: ditto
15717         * ParagraphParameters.h: ditto
15718         * lyxparagraph.h: ditto
15719
15720 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15721
15722         * buffer.C: add compability for minipage alignment.
15723         (latexParagraphs): remove unwanted pextra check.
15724
15725         * several files: remove CXX_WORKING_NAMESPACES
15726
15727         * buffer.C (pop_tag): tie is in namespace boost
15728
15729         * BufferView.h: noncopyable is in namespace boost
15730         * lyxlex.h: ditto
15731         * lyx_main.h: ditto
15732         * lyx_gui.h: ditto
15733         * layout.h: ditto
15734         * lastfiles.h: ditto
15735         * bufferlist.h: ditto
15736         * ShareContainer.h: ditto
15737         * LyXView.h: ditto
15738         * LyXAction.h: ditto
15739         * LaTeX.h: ditto
15740
15741 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15742
15743         * Merging changes from BRANCH_MVC back into HEAD.
15744
15745         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15746
15747 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
15748
15749         * BufferView_pimpl.C: change from intl.C
15750
15751         * combox.h:
15752         * combox.C:
15753         * Makefile.am: move combox.*
15754
15755         * form1.h:
15756         * form1.C:
15757         * lyx_gui.C:
15758         * intl.h:
15759         * intl.C: remove dialog (covered by prefs)
15760
15761 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15762
15763         * lyxfunc.C (Dispatch): removed redundant break statement.
15764
15765 2001-03-14  Juergen Vigna  <jug@sad.it>
15766
15767         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15768
15769 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15770
15771         * buffer.C: add hack to fix compability reading of minipages.
15772
15773 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
15774
15775         * buffer.C (getLists): Cleanup.
15776
15777 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15778
15779         * lyxfont.C (update): don't honor toggleall on font size.
15780
15781 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
15782
15783         * bmtable.c:
15784         * bmtable.h:
15785         * Makefile.am: moved to frontends/xforms/
15786
15787         * lyx_gui_misc.C:
15788         * lyxfunc.C:
15789         * BufferView_pimpl.C: changes for moved mathpanel
15790
15791 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15792
15793         * gettext.h: fix gettext_init() in --disable-nls
15794
15795 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15796
15797         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15798
15799 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
15800
15801         * lyx.C:
15802         * lyx.h: strip external form
15803
15804 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15805
15806         * BufferView_pimpl.C: add comment, destroySplash()
15807
15808 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15809
15810         * BufferView_pimpl.C:
15811         * LyXAction.C:
15812         * buffer.C:
15813         * commandtags.h:
15814         * lyxfunc.C: use re-worked insetinclude
15815
15816 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15817
15818         * buffer.C: add using std::stringstream.
15819
15820         * lyx_cb.C: readd using std::ios.
15821
15822         * buffer.C: add using std::map.
15823
15824         * BufferView_pimpl.C: add using std::vector.
15825
15826         * ShareContainer.h: add std:: to swap.
15827
15828         * buffer.h: add some typedefs
15829         * buffer.C (getLists): use them
15830         (getLists): renamed from getTocList.
15831         add a counter for the different float types and use it in the
15832         generated string.
15833         (getLists): use the same counter for the NEW_INSETS and the "non"
15834         NEW_INSETS
15835
15836         * lyx_cb.h: remove unused items, includes, using etc.
15837
15838         * ShareContainer.h: remove some commented code, add more comments
15839         and "documentation".
15840
15841 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15842
15843         * buffer.C (getTocList): make the list also when NEW_INSETS is
15844         defined.
15845
15846         * buffer.h: remove TocType
15847
15848         * buffer.C (getTocList): change to return a map<string,
15849         vector<TocItem> >, implement for dynamic number of list.
15850
15851         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15852         * text2.C (PasteSelection): adjust
15853         * CutAndPaste.C (pasteSelection): adjust
15854
15855         * FloatList.C (FloatList): update from the new_insets branch.
15856         * Floating.[Ch]: ditto
15857         * LaTeXFeatures.C: ditto
15858         * buffer.C: ditto
15859         * lyxlex_pimpl.C: ditto
15860
15861         * paragraph.C (Last): remove when NEW_INSETS is defined.
15862
15863         * other file: changes because of the above.
15864
15865 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15866
15867         * lyxparagraph.h: rename next to next_, previous to previous_,
15868         make them private for NEW_INSETS. Rename Next() to next(),
15869         Previous() to previous().
15870
15871         * other files: changes because of the above.
15872
15873 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
15874
15875         * BufferView.h:
15876         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15877         problem.
15878
15879 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15880
15881         * main.C (main): pass lyx_localedir to gettext_init().
15882
15883         * gettext.h: remove locale_init and gettext_init macros
15884
15885         * gettext.C (locale_init): new function
15886         (gettext_init): new function
15887
15888         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15889         setlocale().
15890
15891 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
15892
15893         * Moved credits to frontends:
15894         * credits.[Ch]: removed
15895         * credits_form.[Ch]: removed
15896         * lyx_gui_misc.C: remove credits stuff
15897         * Makefile.am:
15898
15899 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15900
15901         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15902
15903         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15904         unneeded destructor.
15905
15906         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15907         a standalone pointer again.
15908
15909         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15910
15911 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
15912
15913         * Makefile.am:
15914         * filedlg.h:
15915         * filedlg.C:
15916         * LyXAction.C:
15917         * ToolbarDefaults.C:
15918         * bufferlist.C:
15919         * commandtags.h:
15920         * form1.C:
15921         * form1.h:
15922         * lyx_cb.C:
15923         * lyx_cb.h:
15924         * lyxfunc.h:
15925         * lyxfunc.C:
15926         * BufferView_pimpl.C: use new file dialog in GUII
15927
15928         * lyx_cb.h:
15929         * lyx_cb.C: remove LayoutsCB to Toolbar
15930
15931 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15932
15933         * ShareContainer.h (get): add std:: qualifier
15934
15935 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15936
15937         * ShareContainer.h: define a proper ShareContainer::value_type
15938         type (and use typename to please compaq cxx)
15939
15940 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15941
15942         * lyxparagraph.h: move serveral local vars to
15943         ParameterStruct/ParagraphParameters., use ShareContainer in
15944         FontTable., make vars in FontTable private and add getter and
15945         setter.
15946
15947         * paragraph.C: changes because of the above.
15948
15949         * lyxfont.h: remove copy constructor and copy assignment. (the
15950         default ones is ok), move number inside FontBits. move inlines to
15951         lyxfont.C
15952
15953         * lyxfont.C: add number to initializaton of statics, move several
15954         inlines here. constify several local vars. some whitespace
15955         cleanup. Dont hide outerscope variables.
15956
15957         * Spacing.h: add two new constructors to match the set methods.
15958
15959         * ShareContainer.h: new file, will perhaps be moved to support
15960
15961         * ParameterStruct.h: new file
15962
15963         * ParagraphParameters.h: new file
15964
15965         * ParagraphParameters.C: new file
15966
15967         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15968         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15969
15970         * BufferView_pimpl.C: ParagraphParameter changes.
15971         * buffer.C: Likewise.
15972         * bufferview_funcs.C: Likewise.
15973         * text.C: Likewise.
15974         * text2.C: Likewise.
15975
15976 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15977
15978         * lyxfind.C (LyXReplace): do not redefine default argument in
15979         implementation.
15980         (IsStringInText): ditto
15981         (SearchForward): ditto
15982         (SearchBackward): ditto
15983
15984 2001-03-06  Juergen Vigna  <jug@sad.it>
15985
15986         * lyxfind.C (IsStringInText): put parentes around expressions.
15987
15988 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
15989
15990         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15991
15992 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
15993
15994         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15995
15996         * stl_string_fwd.h: add comment
15997
15998         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15999
16000         * tabular.h:
16001         * tabular.C: remove unused DocBook methods
16002
16003         * intl.C:
16004         * language.C:
16005         * paragraph.C:
16006         * buffer.C:
16007         killed DO_USE_DEFAULT_LANGUAGE
16008
16009 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16010
16011         * lyx_gui.C: do not include language.h.
16012
16013         * bufferview_funcs.C (ToggleAndShow): do not provide optional
16014         arguments in function implementation.
16015
16016 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16017
16018         * BufferView_pimpl.C: add <ctime>
16019
16020 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16021
16022         * BufferView_pimpl.C: add using std::find_if
16023
16024 2001-02-27  José Matos  <jamatos@fep.up.pt>
16025
16026         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16027         by OnlyPath.
16028
16029 2001-02-11  José Matos  <jamatos@fep.up.pt>
16030
16031         * buffer.C (makeDocBookFile): command styles now have a parameter as
16032         "title" by default.
16033
16034 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
16035
16036         * layout_forms.[Ch]: removed
16037         * lyx_cb.[Ch]: out character
16038         * lyx_gui.C: out character
16039         * lyx_gui_misc.C: out character
16040         * bufferview_funcs.C: : out character,
16041         added toggleall as parameter in ToggleAndShow
16042
16043 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
16044
16045         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16046
16047         * text2.C (SetCurrentFont): Disable number property at boundary.
16048
16049 2001-02-26  Juergen Vigna  <jug@sad.it>
16050
16051         * lyxfunc.C (getStatus): added a string argument override function so
16052         that this is correctly called from LyXFunc::Dispatch if it contains a
16053         do_not_use_argument which is used!
16054         (Dispatch): added check for "custom" export and call appropriate func.
16055
16056 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
16057
16058         * lyxrc.C: Add language_command_local, language_use_babel and
16059         language_global_options.
16060
16061         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16062
16063         * buffer.C (makeLaTeXFile): Use language_use_babel and
16064         language_global_options.
16065
16066 2001-02-23  Juergen Vigna  <jug@sad.it>
16067
16068         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16069         which works with LyXText and putted it inside BufferView. Here now we
16070         only call for that part the BufferView::Dispatch() function.
16071
16072         * BufferView.C (Dispatch): added.
16073
16074         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16075         functions which needs to use a LyXText over from LyXFunc.
16076         (MenuInsertLyXFile): added
16077         (getInsetByCode): added
16078         (moveCursorUpdate): added
16079         (static TEXT): added
16080
16081 2001-02-22  Juergen Vigna  <jug@sad.it>
16082
16083         * BufferView_pimpl.C (update): call a status update to see if LyXText
16084         needs it.
16085
16086 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16087
16088         * vc-backend.C (revert): implement for CVS
16089         (getLog): implement for CVS
16090
16091 2001-02-20  Juergen Vigna  <jug@sad.it>
16092
16093         * text2.C (ClearSelection): added BufferView param for inset_owner call
16094
16095         * lyxfunc.C (TEXT): added this function and use it instead of
16096         directly owner->view()-text of getLyXText().
16097
16098 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
16099
16100         * src/layout_forms.C: out preamble
16101         * src/layout_forms.h: out preamble
16102         * src/lyx_cb.C: out preamble
16103         * src/lyx_cb.h: out preamble
16104         * src/lyx_gui.C: out preamble
16105         * src/lyx_gui_misc.C: out preamble
16106         * src/lyxfunc.C: connect with guii preamble
16107
16108 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
16109
16110         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16111
16112 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
16113
16114         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16115         whether to run bibtex.
16116
16117 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
16118
16119         * Makefile.am (lyx_SOURCES): Remove BackStack.h
16120
16121 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
16122
16123         * Makefile.am (lyx_SOURCES): removed bibforms.h
16124
16125         * vspace.h: doxygen
16126
16127         * text.C (GetVisibleRow): make several local vars const
16128
16129         * tabular.C: small cleanup.
16130
16131         * lyxserver.C (callback): use compare instead of strncmp
16132
16133         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16134         inlines to after class or to paragraph.C
16135
16136         * lyxfont.h: remove friend operator!=
16137
16138         * converter.h: move friend bool operator< to non friend and after
16139         class def.
16140
16141         * combox.h: small cleanup
16142
16143         * buffer.h: doxygen, remove unused constructor, move inclas inlies
16144         to inlines after class def.
16145
16146         * buffer.C (pop_tag): use string operations instead of strcmp
16147
16148         * bmtable.c: doxygen, small cleanup
16149
16150         * LaTeX.h: remove friend operator==
16151
16152 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
16153
16154         * screen.C:
16155         * lyxrc.[Ch]:
16156         * lyxfunc.C:
16157         * lyxfont.[Ch]:
16158         * lyx_cb.C:
16159         * intl.[Ch]:
16160         * commandtags.h:
16161         * buffer.C:
16162         * WorkArea.[Ch]:
16163         * LyXAction.C:
16164         * BufferView_pimpl.C:
16165         * BufferView.[Ch]: remove cruft
16166
16167 2001-02-14  Juergen Vigna  <jug@sad.it>
16168
16169         * lyxfunc.C: removed #if 0 unused code
16170
16171         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16172
16173         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16174
16175         * text2.C (SetSelection): added a BufferView * parameter
16176
16177 2001-02-13  Juergen Vigna  <jug@sad.it>
16178
16179         * lyxfunc.C (Dispatch): fixed protected blank problem.
16180         * BufferView2.C (protectedBlank): added LyxText * parameter.
16181
16182         * tabular.C (AppendRow): forgot to set row_info of newly added row.
16183         (AppendColumn): same as above for column_info.
16184
16185         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16186         (moveCursorUpdate): use a LyXText param for support of InsetText.
16187
16188         * BufferView_pimpl.C (doubleClick): added support for InsetText.
16189         (tripleClick): ditto
16190
16191         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16192
16193         * BufferView_pimpl.C (update): added LyXText param to honor insets.
16194
16195         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16196
16197         * text2.C (SetSelection): set correct update status if inset_owner
16198         (ToggleFree): ditto
16199
16200 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
16201
16202         * tabular.C: remove some commented code.
16203
16204 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
16205
16206         * BufferView_pimpl.C: call hideSplash()
16207
16208         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16209
16210         * include_form.h:
16211         * bibforms.h: remove
16212
16213         * lyxfunc.C:
16214         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16215           add LFUN_CHILD_CREATE
16216
16217         * counters.h: fix tiny typo
16218
16219         * lyx_cb.C:
16220         * lyx.h:
16221         * lyx_gui.C:
16222         * lyx.C: move splash to frontends/xforms/
16223
16224         * lyx_gui_misc.C: move Include and Bibform to frontends
16225
16226         * lyxvc.h: clarify comment
16227
16228         * vspace.C: tiny housekeeping
16229
16230 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
16231
16232         * text.C (PrepareToPrint): RTL Fix.
16233
16234         * paragraph.C (GetUChar): New method.
16235         (String):  Use GetUChar.
16236
16237         * buffer.C (asciiParagraph): Use GetUChar.
16238
16239 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
16240
16241         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16242
16243 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
16244
16245         * buffer.h:
16246         * buffer.C: rename to getLogName(), handle
16247           build log / latex log nicely
16248
16249 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16250
16251         * MenuBackend.C:
16252         * MenuBackend.h: remove support for reference menuitem type.
16253
16254 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
16255
16256         * BufferView_pimpl.C: housekeeping
16257         * BufferView_pimpl.h:
16258         * LyXView.h:
16259         * Makefile.am:
16260         * Timeout.C:
16261         * Timeout.h:
16262         * minibuffer.h: move Timeout GUI-I
16263
16264 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
16265
16266         * lyxrc.C (read): Update converters data-structures.
16267
16268 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
16269
16270         * LaTeX.h (operator!=): add operator != for Aux_Info
16271
16272 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
16273
16274         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16275
16276         * LaTeXLog.C: deleted, useful code moved to Buffer
16277
16278         * buffer.h:
16279         * buffer.C: new function getLatexLogName()
16280
16281         * lyx_gui_misc.C:
16282         * lyx_gui.C:
16283         * lyxvc.C:
16284         * lyxvc.h:
16285         * lyxfunc.C: use frontends for LaTeX and VC logs
16286
16287 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16288
16289         * LaTeX.h: yet another std:: that Allan forgot.
16290
16291         * Variables.C (set): renamed from isset(), because this clashes
16292         with some HP-UX macros (grr).
16293
16294 2001-02-06  Allan Rae  <rae@lyx.org>
16295
16296         * LaTeX.h: Another bug fix.  Missing std:: this time.
16297
16298 2001-02-04  Allan Rae  <rae@lyx.org>
16299
16300         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16301         floats problem. I've left it commented out because it's not quite
16302         correct.  It should also test that the current object is a table or
16303         figure inset.  But I haven't gotten around to figuring out how to do
16304         that.  I *think* it'll be something like: "table" == inset.type()
16305
16306         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16307         bool.
16308
16309 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
16310
16311         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16312         all the citation/databases/styles in the auxilary file.
16313         (run): Rerun latex if there was a babel language error.
16314
16315 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
16316
16317         * text.C (Backspace): Preserve the font when changing newline char
16318         with a space.
16319         (BreakParagraph): If the cursor is before a space, delete the space.
16320
16321         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16322
16323 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
16324
16325         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16326         new argument (code).
16327         (ChangeCitationsIfUnique): New method.
16328
16329         * paragraph.C (GetPositionOfInset): Handle bibkey.
16330
16331 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16332
16333         * BufferView_pimpl.h: change type of Position::par_pos to
16334         LyXParagraph::size_type.
16335
16336 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
16337
16338         * BufferView_pimpl.C (savePosition, restorePosition): Write
16339         messages to minibuffer.
16340
16341 2001-01-28  José Matos  <jamatos@fep.up.pt>
16342
16343         * buffer.C (makeDocBookFile): adds support for document language.
16344         A silly restriction on the name of LatexCommand types where removed.
16345         Added support for CDATA sections, allows to chars unescaped, used
16346         among others in code, to avoid escape < and >.
16347
16348 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16349
16350         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16351         saved positions instrad of a stack. Furthermore, a position is
16352         stored using paragraph id/paragraph position.
16353
16354         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16355         Remove LFUN_REF_BACK.
16356
16357 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16358
16359         * converter.C (dvipdfm_options): New method.
16360
16361 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
16362
16363         * vspace.C (isValidLength): Fix for empty input string.
16364
16365 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16366
16367         * LyXAction.C (init): change description of LFUN_FIGURE to
16368         "Insert Graphics"
16369
16370 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16371
16372         * LaTeX.C: add using directive
16373
16374 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16375
16376         * MenuBackend.C (expand): Fix the sorting of the formats.
16377
16378 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
16379
16380         * lyx_main.C: tiny error message fix
16381
16382 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16383
16384         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16385         calling fl_initialize(). This fixes the problem with ',' as
16386         decimal separator in text files.
16387
16388 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16389
16390         * trans.C (process): Fix the keymap bug.
16391
16392 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
16393
16394         * LaTeX.C (scanAuxFiles): New method. Provides support for
16395         multiple bibliographies (when using the bibtopic/bibunits pacakges).
16396         (scanLogFile) Scan for "run BibTeX" messages.
16397
16398         * buffer.C (makeLaTeXFile): Do not load the ae package when using
16399         OT1 font encoding. Also, load the aecompl package if the ae
16400         package is loaded.
16401
16402         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16403
16404 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16405
16406         * texrow.C (increasePos): turn two error messages into debug
16407         messages.
16408
16409 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
16410
16411         * LaTeX.C (scanAux): Handle the \@input macro.
16412         (runBibTeX): Use scanAux().
16413
16414         * language.C (latex_options_): New field.
16415
16416         * LaTeXFeatures.C (getMacros): Add language macros.
16417
16418         * buffer.C (makeLaTeXFile): Small fix.
16419
16420 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16421
16422         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16423
16424         * text2.C: add a using directive.
16425
16426 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
16427
16428         * BufferView2.C:
16429         * lyx_gui_misc.h:
16430         * lyxfr1.C:
16431         * lyxfunc.C: kill LyXBell.
16432
16433 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
16434
16435         * text.C (IsBoundary): Remove the error message
16436
16437         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16438
16439         * lyxrc.C (setDefaults): Correct initialization value for
16440         font_norm_type.
16441
16442 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
16443
16444         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16445         gotoError().
16446
16447         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16448         and GotoNextNote().
16449
16450         * src/LyXAction.C: Added reference-next.
16451
16452         * text.C (InsertChar): Use contains instead of strchr.
16453
16454         * lyx_cb.C (MenuInsertLabel): Enable default value code.
16455
16456 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
16457
16458         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16459         alignment commands (when needed).
16460
16461         * text.C (InsertChar): Add ':' to number separator chars.