]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
Juergen's compiler warning fixes
[lyx.git] / src / ChangeLog
1 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2
3         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
4         number of InsetOptArgs has already been inserted.
5
6         * output_latex.C (latexOptArgInsets): new method. This outputs all
7         the optarg insets, up to the limit defined in the layout file.
8         (optArgInset): removed
9         (TeXOnePar): call latexOptArgInsets; correctly update texrow
10
11 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12
13         * paragraph.C (isLetter): remove special spellchecker-related
14         code; return true also for digits
15         (isWord, isKomma): remove
16
17         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord): 
18         * lyxfind.C (MatchString()): use isLetter instead of isWord
19
20 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
21
22         * pariterator.h (operatir=): comment out un-implemented member
23         function. 
24
25         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
26         static cast.
27
28 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
29
30         * lyxfont.h: include LColor.h to satisfy concept checks.
31
32 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
33
34         * pariterator.h: add typdefs for value_type, difference_type,
35         pointer and reference to satisfy concept checks. Also add default
36         constructor for same reason.
37
38         * pariterator.C (operator++): add post-increment operator to
39         satisfy concept checks.
40
41         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
42         checks.
43
44         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
45
46         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
47         checks. Also rename base_type to BaseType to follow naming
48         standard better.
49
50         * FloatList.h: include Floating.h to satisfy concept checks.
51
52 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
53
54         * lyxfunc.C (getStatus): when the origin of the request is menu or
55         toolbar, and the LyXView does not have focus, do as if there was
56         no buffer (bug 1720)
57
58         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
59         FuncRequest to individual entries of LFUN_SEQUENCE
60
61 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
62
63         * output_latex.C (TeXOnePar): override runparams.moving_arg
64         according to the needprotect value of the current paragraph (bug
65         1739)
66
67         * paragraph.C (simpleTeXOnePar): no need to override
68         runparams.moving_args here
69
70 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
71
72         * vspace.C: fix off-by-one-error, related to fix #1682
73
74 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
75
76         * lengthcommon.C: a more general fix for bug 1682
77
78 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
79
80         * text.C (backspace): fix crash
81
82 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
83
84         * format.[Ch] (getFormatFromFile): new method
85         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
86
87 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
88
89         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
90
91 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
92
93         * lyxfunc.C (dispatch): remove the verbose argument
94         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
95         instead
96
97         * kbmap.C (defkey): set the origin of func to KEYBOARD
98
99         * MenuBackend.C (MenuItem):
100         * ToolbarBackend.C (add): set the origin of func to UI
101
102         * funcrequest.[Ch]: add origin member, which indicates which part
103         of LyX requests an action
104
105 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
106
107         * converter.C (move): don't lie in the error message
108         * converter.h (isReachable, move): document
109
110 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
111
112         * buffer.C: remove unused using lyx::support::atoi
113         * paragraph_funcs.C: ditto
114
115 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
116
117         * bufferlist.C (exists): use bind and equal_to instead of
118         compare_memfun
119         (getBuffer): ditto
120         * lyxtextclasslist.C (NumberOfClass): ditto
121
122         * cursor.C (insert): use for_each instead of explicit for loop
123
124         * bufferlist.C (getFileNames): use std::transform and
125         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
126
127         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
128         for loop
129
130         * buffer.C (changeLanguage): use for_each instead of explicit for
131         loop
132         (hasParWithID): implement using getParFromID
133
134         * LaTeXFeatures.C: ws change only
135
136         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
137         to cleanup a bit.
138
139         * BufferView_pimpl.C (trackChanges): use for_each instead of
140         expilicit for loop
141
142 2004-11-04  André Pönitz  <poenitz@gmx.net>
143
144         * undo.h:
145         * undo.C (textUndoOrRedo): fix crash when creating undo information.
146
147         * dociterator.C (asDocIterator): use hard assert again.
148
149 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
150
151         * lyxlength.C (asLatexString): rewrite so that it does not use
152         snprintf anymore
153
154 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
155
156         * text3.C (specialChar, dispatch): make sure cursor moves to the
157         right after inserting an inset
158
159 2004-11-02  José Matos  <jamatos@lyx.org>
160
161         * output_docbook.C (docbook):
162         * paragraph.C (getID):
163         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
164         garantee that the output is always legal.
165
166         * tabular.C (docbook):
167         * outputprams.[Ch]: remove mixed contents.
168
169 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
170
171         * text2.C (setCounter): prevent endless loop
172
173 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
174
175         * exporter.C (copyFile): use the mover instead of support::copy()
176         * exporter.C (Export): pass format and latex name to copyFile()
177         * exporter.h (addExternalFile): document
178         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
179
180 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
181
182         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
183
184 2004-10-30  José Matos  <jamatos@lyx.org>
185
186         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
187         text and no inset or font change. This allows to use CDATA
188         sections just for the whole paragraph.
189
190 2004-10-30  José Matos  <jamatos@lyx.org>
191
192         * paragraph.C (getFirstWord): remove unused variable.
193
194 2004-10-30  José Matos  <jamatos@lyx.org>
195
196         * paragraph.C (getFirstWord): the content should always be escaped
197         there.
198         (simpleDocBookOnePar):
199         * output_docbook.C (makeEnvironment): replace reference to CDATA
200         to style pass_thru.
201
202 2004-10-30  José Matos  <jamatos@lyx.org>
203
204         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
205
206 2004-10-30  José Matos  <jamatos@lyx.org>
207
208         * output_docbook.C (makeParagraphs):
209         * paragraph.[Ch] (emptyTag): for docbook and company, if the
210         standard paragraph has only a given type of content drop the wrapper.
211
212 2004-10-29  José Matos  <jamatos@lyx.org>
213
214         * output_docbook.C (makeEnvironment):
215         * sgml.C (openTag):
216         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
217
218 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
219
220         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
221         (cleanID): sanitize any id.
222
223 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
224
225         * buffer.C, lyxlex_pimpl.C:
226         * lyxlex_pimpl.C (setFile):
227         s/getExtFromContents/getFormatFromContents/
228
229 2004-10-28  José Matos  <jamatos@lyx.org>
230
231         * output_docbook.C (makeEnvironment): move id to broadest possible
232         scope.
233
234         * sgml.C (openTag): apply substitution of <> for all attributes.
235
236 2004-10-28  José Matos  <jamatos@lyx.org>
237
238         * buffer.C (makeLinuxDocFile, makeDocBookFile):
239         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
240         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
241
242         * sgml.[Ch]: new version for open and closeTag for paragraph and
243         for strings. Now they handle the ids of paragraphs.
244
245 2004-10-26  Angus Leeming  <leeming@lyx.org>
246
247         * Makefile.am: add mover.[Ch].
248
249         * converter.C (convert, move): use the new Movers to move external
250         files to the temp directory.
251
252         * lyx_main.C (init): ensure that the global system_movers data
253         is initialised.
254
255         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
256         preferences file.
257
258         * mover.[Ch]: new files, defining a Mover as a utility to move an
259         external file between directories and, if necessary, manipulate this
260         file using a helper script.
261
262 2004-10-25  José Matos  <jamatos@lyx.org>
263
264         * output_docbook.C (makeCommand): merge two if's that tested the
265         same condition.
266
267 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
268
269         * sgml.C (escapeString): fix warning in a better way
270
271 2004-10-25  José Matos  <jamatos@lyx.org>
272
273         * sgml.C (escapeString): import the require boosts header file for
274         tie, and avoid a signed unsigned comparison.
275
276 2004-10-25  José Matos  <jamatos@lyx.org>
277
278         * sgml.h: add #include <string>
279
280 2004-10-25  José Matos  <jamatos@lyx.org>
281
282         * sgml.[Ch] (escapeString): new function to escape all the string.
283
284 2004-10-24  José Matos  <jamatos@lyx.org>
285
286         * paragraph.[Ch] (getFirstWord): new function to get the first
287         word. Useful for description.
288         (simpleDocBookOnePar): remove depth argument, add another that
289         says where to start the paragraph.
290
291         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
292         use the new functions to fix cleanly the support for descriptions.
293
294 2004-10-24  José Matos  <jamatos@lyx.org>
295
296         * buffer.C (makeLinuxDocFile, makeDocBookFile):
297         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
298         * output_linuxdoc.C (linuxdocParagraphs):
299         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
300         add buffer as argument.
301
302 2004-10-24  José Matos  <jamatos@lyx.org>
303
304         * output_docbook.C (makeEnvironment, searchEnvironment): place
305         CDATA inside paragraphs and fix scope for listitems.
306
307 2004-10-24  José Matos  <jamatos@lyx.org>
308
309         * output_docbook.C: remove using statement for stack.
310
311 2004-10-23  José Matos  <jamatos@lyx.org>
312
313         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
314         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
315         docbook. The new scheme is recursive and makes use of iterators, the
316         same as latex export works.
317         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
318         directly with the paragraph contents. This code was moved up to
319         output_docbook.C (docbookParagraphs).
320         * sgml.C (openTag, closeTag): removed unneeded newlines.
321         (closeEnvTags) removed.
322
323 2004-10-23  André Pönitz  <poenitz@gmx.net>
324
325         * undo.C (textUndoOrRedo):
326         * dociterator.C (asDocIterator): work around crash
327
328         * cursor.C (getStatus): replace ASSERT by more verbose error message
329           and manual correction of the problem. Should increase stability
330           while providing more sensible information.
331
332 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
333
334         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
335
336         * bufferlist.C (previous, next): new methods
337
338         * lfuns.h:
339         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
340
341 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
342
343         * buffer.C (makeDocBookFile): add dsssl stylesheet control
344         entities to preamble.
345
346 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
347
348         * messages.C (Pimpl): strip off translation context information
349
350 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
351
352         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
353         the cursor is correct (bug 1694)
354
355 2004-10-13  José Matos  <jamatos@lyx.org>
356
357         * output_docbook.C (docbookParagraphs): fix closing tags in the
358         end of the document.
359
360 2004-10-09  José Matos  <jamatos@lyx.org>
361
362         * buffer.C: format up to 237.
363         * bufferparams.C (write): use tostr to convert booleans to strings.
364
365 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
366
367         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
368
369 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
370
371         * LaTeX.C: implement use of babel language in xindy.
372
373 2004-10-05  José Matos  <jamatos@lyx.org>
374
375         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
376         Add new translators to help reading and writing the lyx file.
377
378 2004-10-05  José Matos  <jamatos@lyx.org>
379
380         * ParagraphParameters.C (read):
381         * text.C (readParToken): replace nexToken by more appropriate lex
382         methods.
383
384 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
385
386         * LaTeX.C (runMakeIndex):
387         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
388         (usually 'makeindex') configurable.
389
390         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
391         with a variable rather than with a number.
392
393 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
394
395         * output_latex.C (TeXOnePar): make sure font setting is the first
396         thing that gets output (and the last at the end). Should fix bug
397         1404.
398
399 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
400
401         * pch.h: use proper signal include
402
403         * LaTeX.h: Use preferred calling of Boost.Signal
404         * buffer.h: ditto
405
406 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
407
408         * pch.h: dont include <boost/function/function0.hpp>
409
410         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
411
412         * paragraph_pimpl.h: remove usage of ShareContainer
413
414         * paragraph_pimpl.C: remove initialization of ShareContainer.
415
416 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
417
418         Fix bug #1666
419
420         * BufferView.C (putSelectionAt): change the semantics when
421         backwards == true: now, this just swaps cursor and anchor wrt the
422         forward case
423
424         * BufferView.h (putSelectionAt): add some documentation
425
426         * lyxfind.C (findBackwards): rewrite using while(). In particular,
427         make sure backwardChar is done at least once (to avoid getting
428         stuck)
429         (findNextChange): use putSelectionAt in the forward direction
430         (operator()): use Paragraph::isWord
431
432 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
433
434         * Spacing.C (set): c_str fix
435
436 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
437
438         * lyx_cb.C (Reconfigure): quote the name of configure script in
439         case it contains spaces
440
441 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
442
443         * client: new dir
444
445         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
446         (BOOST_LIBS): use top_buildir when looking for the file
447
448 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
449
450         * pch.h: do not use include boost/format.hpp, multiple symbols
451                 will result (gcc bug)
452
453
454 2004-08-23  José Matos  <jamatos@lyx.org>
455
456         * bufferparams.C (readToken): fix reading of the author field.
457
458 2004-08-20  José Matos  <jamatos@lyx.org>
459
460         * lyxrc.C: remove support/translator.h inclusion since it is not used.
461
462 2004-08-20  José Matos  <jamatos@lyx.org>
463
464         * lyxlex.[Ch] (findToken): remove function.
465
466         * ParagraphParameters.C (findToken):
467         * bufferparams.C (findToken): replace call for previous function
468         with local copy. This local function has one more argument, the
469         read string argument.
470
471 2004-08-16  José Matos  <jamatos@lyx.org>
472
473         * ParagraphParameters.C (write):
474         * Spacing.C (writeFile):
475         * bufferparams.C (writeLaTeX):
476         * lyx_cb.C (Reconfigure):
477         * paragraph.C (write):
478         * tabular.C (write): remove unnecessary space at end of line.
479
480
481 2004-08-16  José Matos  <jamatos@lyx.org>
482
483         * text.C (readParagraph): remove debug message.
484
485 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
486
487         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
488         crash
489
490         * output_plaintext.C (asciiParagraph): set depth correctly
491
492         * outputparams.h: add member depth
493
494         * paragraph_funcs.C (ownerPar): remove.
495
496         * text2.C (setCounter): remove first_pit; comment out some
497         non-working code that uses ownerPar
498
499         * BufferView.C (getParentLanguage): remove. Not used anymore, and
500         uses ownerPar
501
502 2004-08-16  José Matos  <jamatos@lyx.org>
503
504         * text.C (readParToken, readParagraph, read): report all unknown tokens.
505         For the same level of importance use the same chanel to report problems.
506         (read): add code to deal with \begin_body and \end_body.
507
508
509 2004-08-15  José Matos  <jamatos@lyx.org>
510
511         * lyxlex.C (getString): fix comment, buffer::readBody is now
512         buffer:readDocument.
513
514         * tex-strings.C (string_papersize): Default -> default,
515         Custom -> custom, for consistency with other options.
516
517 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
518
519         * pch.h: new file
520
521         * Makefile.am: support pch
522
523 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
524
525         * text.C (readParToken): remove the static LyXFont variable and
526         pass it as a parameter instead. This fixes a nasty bug where an
527         inset will be inserted with a bad font in some situations
528         (readParagraph): adapt
529
530         * text2.C (setCounter): reduce number of calls to pars_[pit]
531
532         * text.C (singleWidth): add an assert, fix a test
533
534         * rowpainter.C (paintText): reduce number of calls to singleWidth
535
536         * paragraph.C (isHfill):
537         (isNewline): ws only
538
539 2004-08-14  André Pönitz  <poenitz@gmx.net>
540
541         * text.C:
542         * text2.C:
543         * rowpainter.C:
544         * lyxtext.h (several functions): use a Paragraph & argument
545         instead of par_type
546
547 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
548
549         * metricsinfo.h: add a new field ltr_pos to PainterInfo
550
551         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
552
553         * text.C (singleWidth): remove useless test
554
555 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
556
557         * tabular.h: remove bogus comments
558
559         * tabular.C (getDescentOfRow):
560         (isPartOfMultiColumn): add assertions
561
562         * lyxlength.C (inPixels): remove #warning
563
564 2004-08-14  André Pönitz  <poenitz@gmx.net>
565
566         * paragraph.h: inline getChar()
567
568         * BufferView.h: remove unused declarations
569
570 2004-08-14  José Matos  <jamatos@lyx.org>
571
572         * Buffer.[Ch] (readDocument): new name for old readBody.
573         * Buffer.C: new file format, new keywords: \begin_document,
574         \begin_header, \begin_body, \end_body.
575
576         * bufferparams.C (readToken): replace all calls to lex.nextToken
577         by lex.next(). Do the same to eatLine except where really needed.
578
579         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
580         line when writing to the lyx file.
581
582         * output_plaintext.C (asciiParagraph): fix Bibliography style
583         handling.
584
585         * text.C (read): fix end of file handling.
586
587 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
588
589         * MenuBackend.C (Menu::operator[]): new method to access
590         individual menu items
591         (Menu::hasFunc): new method. search for an item that corresponds
592         to a given func
593         (MenuBackend::specialMenu): new method
594         (MenuBackend::expand): if a special menu has been set, skip
595         entries whose func() appears in this menu
596
597 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
598
599         * text3.C: use Debug::DEBUG a bit more
600
601         * text.C (leftMargin): try to simplify a tiny bit change var x to
602         l_margin. Dont output the wide margins always.
603         (rightMargin): no margin in inner texts
604
605         * rowpainter.h (nestMargin): new func
606         (changebarMargin): new func
607         (rightMargin): new func
608
609         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
610         now functions.
611         (paintLast): ditto
612
613         * factory.C (createInset): modify setDrawFrame
614
615         * cursor.C: use Debug::DEBUG a bit more
616
617 2004-08-14  André Pönitz  <poenitz@gmx.net>
618
619         * coordcache.[Ch]:
620         * Makefile.am: new files to accomodate an 'external' (x,y)-position
621         cache for all insets in (at least partially) visible (top-level)
622         paragraphs.
623
624         * BufferView_pimpl.C: reset external coord cache before every update.
625         This means the coord cache only contains valid entries.
626
627 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
628
629         bug 1096
630         * BufferView_pimpl.C (getInsetByCode): move function out of class
631         and change in to a template in anon namespace. Also fix to do what
632         suits us better.
633
634 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
635
636         bug 1305
637         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
638         of char
639         (breakParagraph): rename par to par_offset and use a local
640         reference. Add code to keep the language over a rebreak.
641         (breakParagraphConservative): rename par to par_offset, use a
642         local reference
643         (mergeParagraph): ditto
644         (outerHook): ditto
645         (isFirstInSequence): ditto
646         (outerFont): rename pit to par_offset
647
648         * paragraph.C: ws change
649         * paragraph.h: ditto
650         * text3.C: ditto
651         * text.C: ditto
652
653 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
654
655         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
656         treatment for ']'
657
658         * paragraph.C (simpleTeXOnePar): when we have a \item with
659         optional argument, enclose the argument with curly brackets (in
660         case it contains a closing square bracket)
661
662         * text2.C (editXY):
663         * text2.C (editXY):
664         * text3.C (checkInsetHit): constify
665
666 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
667
668         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
669         documents (bug 1629)
670
671 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
672
673         Fix toggling of collapsable insets with the mouse (bug 1558)
674
675         * lyxfunc.C (dispatch): adapt to LCursor changes
676
677         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
678         make sure that dispatch is not invoked twice
679
680         * cursor.C (needsUpdate): new method
681         (dispatch): return void
682         (result): new method, to access the DispatchResult of the cursor.
683
684 2004-08-13  José Matos  <jamatos@lyx.org>
685
686         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
687
688 2004-08-13  André Pönitz  <poenitz@gmx.net>
689
690         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
691
692         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
693           multiple cells
694
695 2004-08-12  André Pönitz  <poenitz@gmx.net>
696
697         * text3.C: take out the 'cursor right' form insertInset and only
698         do it in those places when it is really needed. Fixes crash on
699         C-m...
700
701 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
702
703         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
704
705         * BufferView_pimpl.C (setBuffer): initialize the current font of
706         the underlying LyXText
707
708 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
709
710         * kbsequence.C (print): use UI native formatting for menu
711         shortcuts
712
713         * text.C (insertChar): call Paragraph::insertChar with a font
714         argument (cosmetic)
715
716         * paragraph.C (insertInset, insertChar): the version that takes a
717         LyXFont argument is now a wrapper around the other one (the
718         opposite used to be true).
719
720         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
721         argument. Font setting is done in Paragraph now.
722
723 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
724
725         * outputparams.h: add new members intitle and lang.
726
727         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
728         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
729
730 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
731
732         * text3.C (dispatch): remove special handling of button 4 and 5,
733         it is now taken care of in the frontend code.
734
735 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
736
737         * Spacing.h: add <string> (STLPort compile fix)
738
739 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
740
741         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
742
743 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
744
745         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
746         to bool.
747
748         * converter.C (showMessage): inherit from unary_function, make
749         operator() const.
750
751         * buffer.C (writeFile): initialize retval
752
753         * InsetList.h: rename private variable list to list_
754         * InsetList.[Ch]: adjust accordingly.
755
756 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
757
758         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
759         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
760         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
761         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
762         * ParagraphParameters.C, LaTeXFeatures.C: replace
763         "support/std_sstream.h" with <sstream>
764
765 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
766
767         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
768         * lyxsocket.C (LyXServerSocket): ditto
769         (serverCallback): ditto
770
771 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
772
773         * LaTeXFeatures.C: check release date when loading jurabib.
774
775 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
776
777         * lyxserver.C (startPipe): call register_socket_callback
778         (endPipe): call unregister_socket_callback
779
780 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
781
782         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
783         (LyXServerSocket): register the callback
784         (LyXServerSocket): unregister the callback
785         (fd): delete function
786         (serverCallback): improve error checking and setup the callbacks.
787         (dataCallback): change arg to fd.
788         (writeln): new func (copied fro the client socket) used for server
789         write to client.
790         (LyXDataSocket): simplify
791         (~LyXDataSocket): close ann unregiser callback
792         (server): delete function
793         (fd): delete function
794         (readln): small changes, improve some std::string usage
795         (writeln): constify a bit
796
797 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
798
799         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
800         Qt frontend
801
802 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
803
804         * BufferView_pimpl.C (setBuffer): set the layout combox value only
805         after it has been populated
806
807 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
808
809         * text2.C (insertInset): move cursor when inserting inset.
810
811 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
812
813         * kbmap.C (findbindings): a couple of new methods. returns a
814         container of kb_sequence objects. The real work is done by the
815         private recursive version
816         (printbindings): uses findbindings to print out a bracketed list
817         of bindings (renamed from findbinding).
818
819         * MenuBackend.C (binding): use kb_keymap::findbindings
820
821         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
822
823 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
824
825         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
826
827 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
828
829         * paragraph.C (isWord): return true on insets that report
830         isLetter().
831
832         * text.C (getWord): use Paragraph::isWord to decide what is in a
833         word and what is not; fix bug 1609.
834
835 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
836
837         * tex-strings.C: add "none" to string_paperpackages[], fixes
838         off-by-one-error in the paperpackage selection.
839
840         * lyxlex.[Ch]:
841         * tex-strings.[Ch]: char const * string[n]
842         -> char const * const string[]
843
844 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
845
846         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
847         command, return early.
848
849 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
850
851         * debug.h: add DEBUG to enum and fix size of ANY.
852
853         * debug.C: add support for Debug::DEBUG
854         (showTags): cast errorTags.level to unsigned int
855
856         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
857         (redoCurrentBuffer): ditto
858         (updateScrollbar): ditto
859         * cursor.C (dispatch): ditto
860         * text2.C (setLayout): ditto
861         (setFont): ditto
862         (updateCounters): ditto
863         (editXY): ditto
864         (deleteEmptyParagraphMechanism): ditto
865
866 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
867
868         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
869         annotations to cleanup the Makefile slightly.
870
871 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
872
873         * lyxrc.C: do not set user_email to a default value but use empty
874         instead. The entry used to be translated, which does not work
875         since at the point where lyxrc is constructed there is no
876         translation service available
877
878         * messages.C (getLocaleDir): remove and use directly
879         lyx_localedir() instead
880
881 2004-06-02  Angus Leeming  <leeming@lyx.org>
882
883         Fix crash caused by dereferencing null pointer 'exportdata' in
884         OutputParams by creating a new ExportData variable on the heap,
885         storing it in a boost::shared_ptr.
886         The crash was triggered when generating an Instant Preview
887         of an external inset.
888
889         * Makefile.am: add outputparams.C
890
891         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
892         (c-tor): allocate memory to it.
893
894         * exporter.C (c-tor): associated changes.
895
896 2004-06-01  Angus Leeming  <leeming@lyx.org>
897
898         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
899         contains data before calling isInset(0). (Bug 1513.)
900
901 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
902
903         * exporter.C (checkOverwrite): new method
904         * exporter.C (copyFile): new method
905         * exporter.C (Export): copy referenced files to the document dir
906         * exporter.[Ch]: new class ExportedFile
907         * exporter.[Ch]: new class ExportData. Contains currently the
908         names of referenced external files
909         * outputparams.h: add exportdata member.
910
911 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
912
913         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
914         version.C-tmp
915
916 2004-05-19  Angus Leeming  <leeming@lyx.org>
917
918         * LaTeXFeatures.C:
919         * ToolbarBackend.C:
920         * bufferparams.C:
921         * lyxfunc.C: small changes due to the introduction of namespace
922         lyx::frontend and the moving of namespace biblio to lyx::biblio.
923
924 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
925
926         * text3.C (dispatch): supress update when only moving the cursor
927         * cursor.C (selHandle): remove commented code
928
929 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
930
931         * paragraph.C (startTeXParParams): correct column count
932         * CutAndPaste.C (pasteSelection): remove const_cast
933         * output_docbook.C (docbookParagraphs): remove const_cast
934         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
935         const_cast and return ParagraphList::const_iterator
936         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
937         * output_plaintext.C (writeFileAscii): remove const_cast
938         * paragraph.[Ch] (simpleTeXOnePar): make const
939         * paragraph_funcs.C (outerPar): use const iterators
940         * paragraph_pimpl.C (validate): use const iterators
941         * text.C (setHeightOfRow): use const iterators
942
943 2004-05-17  Angus Leeming  <leeming@lyx.org>
944
945         * lfuns.h:
946         * LyXAction.C (init): new LFUN_INSET_REFRESH.
947
948         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
949         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
950         if the citation engine has changed.
951
952 2004-05-14  José Matos  <jamatos@lyx.org>
953
954         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
955         if the textclass does not provide it. Have it different for sgml and
956         xml.
957         support the language of document.
958         * output_docbook.C (docbookParagraphs):
959         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
960         first anchor as the id of the paragraph, remove special case code.
961         * sgml.C (escapeChar): escape only < & >.
962
963 2004-05-14  Angus Leeming  <leeming@lyx.org>
964
965         * bufferparams.h: move biblio::CiteEngine enum here to minimize
966         dependencies on src/frontends/controllers/biblio.h. Define a
967         CiteEngine_enum wrapper class to enable the enum to be forward
968         declared.
969
970 2004-05-12  Angus Leeming  <leeming@lyx.org>
971
972         * buffer.C: up LYX_FORMAT to 234.
973         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
974         use_numerical_citations with a single biblio::CiteEngine cite_engine
975         variable.
976         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
977
978 2004-05-13  José Matos  <jamatos@lyx.org>
979
980         * converter.h:
981         * converter.C (Converter, readFlags): add xml member.
982         * outputparams.h: add XML flavor.
983         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
984
985 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
986
987         * lyxfunc.C (dispatch):
988         (getStatus): fix handling of LFUN_SEQUENCE
989
990 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
991
992         * debug.C (showLevel): do not forget the end-of-line marker
993
994 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
995
996         * kbmap.C (read): do not stop parsing a bind file when an error
997         occurs (bug 1575)
998
999 2004-04-29  Angus Leeming  <leeming@lyx.org>
1000
1001         * cursor.C:
1002         * factory.C:
1003         * pariterator.C:
1004         * text2.C: wrap a bunch of #warning statements
1005         inside #ifdef WITH_WARNINGS blocks.
1006
1007 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1008
1009         * buffer.C: increment format to 233.
1010
1011 2004-04-28  Angus Leeming  <leeming@lyx.org>
1012
1013         * BufferView_pimpl.C:
1014         * lyxfunc.C:
1015         * text3.C:
1016         s/updateToolbar()/updateToolbars()/
1017         s/Toolbar.h/Toolbars.h/
1018
1019 2004-04-28  Angus Leeming  <leeming@lyx.org>
1020
1021         * BufferView.[Ch] (c-tor):
1022         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1023         No longer passes these data to the WorkArea generator.
1024
1025 2004-04-28  Angus Leeming  <leeming@lyx.org>
1026
1027         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1028
1029 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1030
1031         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1032
1033 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1034
1035         * output_latex.C (TeXEnvironment): make sure that there is a line
1036         break before \end{foo} for the last paragraph of a document
1037         (TeXOnePar): if the paragraph is at the end of the document (or
1038         inset) and the language has to be reset, then make sure that the
1039         line break is _before_ the language command, not after (fixes bug
1040         1225); also make sure that the language reset command is the first
1041         thing after the paragraph (to ensure proper nesting of
1042         environments and thus fix bug 1404)
1043
1044 2004-04-21  John Levon  <levon@movementarian.org>
1045
1046         * ToolbarBackend.h:
1047         * ToolbarBackend.C: make "name" be a programmatic name
1048         and a gui_name field.
1049
1050         * lyxfunc.C: display the minibuffer on M-x
1051
1052 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1053
1054         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1055         (bug 1526)
1056
1057 2004-04-19  Angus Leeming  <leeming@lyx.org>
1058
1059         * BufferView_pimpl.C (setBuffer): changed preview interface.
1060
1061         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1062         possible values.
1063
1064 2004-04-19  John Levon  <levon@movementarian.org>
1065
1066         * BufferView_pimpl.C:
1067         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1068
1069 2004-04-05  Angus Leeming  <leeming@lyx.org>
1070
1071         * text.C (redoParagraphs): add call to updateCounters(), thereby
1072         fixing the missing "Figure #:" label from the caption of a
1073         figure float.
1074
1075 2004-04-13  Angus Leeming  <leeming@lyx.org>
1076
1077         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1078         cursor is clicked out of an inset.
1079
1080 2004-04-13  Angus Leeming  <leeming@lyx.org>
1081
1082         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1083         than an InsetOld one.
1084
1085 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1086
1087         * format.[Ch]: add editor to Format
1088         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1089         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1090
1091 2004-04-08  André Pönitz  <poenitz@gmx.net>
1092
1093         * metricsinfo.h: remove PainterInfo::width member
1094
1095 2004-04-08  Angus Leeming  <leeming@lyx.org>
1096
1097         * lyx_sty.C (boldsymbol_def): modify so that it outputs
1098         "\providecommand" rather than "\newcommand", thereby preventing
1099         clashes with packages that define "\boldsymbol" themselves.
1100         Eg, beamer.
1101
1102 2004-04-08  Angus Leeming  <leeming@lyx.org>
1103
1104         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1105         thereby squashing an unnecessary warning.
1106
1107 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1108
1109         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1110         setBuffer()
1111
1112 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
1113
1114         * BufferView.C (setCursor): call redoParagraph (some insets could
1115         have been opened)
1116         (putSelectionAt): remove the 'double update' trick
1117
1118         * BufferView_pimpl.C (fitCursor): call refreshPar
1119         (workAreaDispatch): remove an uneeded update call
1120         (dispatch): remove some manual update calls
1121
1122         * cursor.[Ch]: remove cached_y_, updatePos
1123         (selHandle): set noUpdate when appropriate
1124
1125         * lyxfunc.C (dispatch): track if we need an update
1126
1127         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1128
1129         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1130         (paintSelection): cheap optimization, do not call cursorX when not
1131         needed
1132         (paintPars): change signature
1133         (refreshPar): add
1134         (paintText): adjust
1135         (paintTextInset): adjust
1136
1137         * text.C: adjust
1138
1139 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1140
1141         * lengthcommon.C: compilation fix: remove explicit array size from
1142         unit_name[] and friends
1143
1144 2004-04-05  Angus Leeming  <leeming@lyx.org>
1145
1146         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1147
1148         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1149         present only for the preferences dialog.
1150         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1151
1152 2004-04-05  Angus Leeming  <leeming@lyx.org>
1153
1154         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1155         to enable the frontends to export changes to lyxrc correctly.
1156
1157         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1158
1159 2004-04-07  André Pönitz  <poenitz@gmx.net>
1160
1161         * cursor.[Ch] (selClear, adjust): remove math
1162
1163         * cursor_slice.C: more agressive assert
1164
1165         * lyxfunc.C:
1166         * BufferView_pimpl.C: rework mouse event dispatch
1167
1168         * dociterator.C:
1169         * paragraph.C:
1170         * text2.C:
1171         * text3.C: adjust
1172
1173 2004-04-05  André Pönitz  <poenitz@gmx.net>
1174
1175         * cursor.[Ch] (valign, halign...): remove unneeded functions
1176
1177 2004-04-05  Angus Leeming  <leeming@lyx.org>
1178
1179         * lyxlength.[Ch] (unit_name et al.): const-correct.
1180
1181 2004-04-05  Angus Leeming  <leeming@lyx.org>
1182
1183         * BufferView_pimpl.C:
1184         * buffer.C:
1185         * counters.C:
1186         * cursor.C:
1187         * lyxfunc.C
1188         * paragraph.C:
1189         * pariterator.C:
1190         * text.C:
1191         * text2.C:
1192         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1193
1194 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1195
1196         * text3.C (getStatus): add LFUN_BEGINNINGBUF
1197
1198 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1199
1200         * lyxfind.C: add a couple of inTexted() tests + other small fixes
1201         * BufferView_pimpl.[Ch] (getStatus)
1202         * BufferView.[Ch] (getStatus): add
1203         * lyxfunc.C (getStatus): move lfuns handled in
1204         BufferView::dispatch to te function above
1205         * Cursor.C (setSelection): set selection() = true
1206
1207 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1208
1209         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1210
1211 2004-03-31  Angus Leeming  <leeming@lyx.org>
1212
1213         * lyxfunc.C (dispatch): Fall through to the generic
1214         Dialogs::show("preamble").
1215
1216 2004-03-31  Angus Leeming  <leeming@lyx.org>
1217
1218         * lyxfunc.C (dispatch): Fall through to the generic
1219         Dialogs::show("spellchecker").
1220
1221 2004-03-31  Angus Leeming  <leeming@lyx.org>
1222
1223         * lyxfunc.C (getStatus, dispatch): changed invocation of the
1224         preferences dialog.
1225
1226 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1227
1228         * BufferView.C
1229         * cursor.[Ch]
1230         * dociterator.[Ch]:
1231         * insetiterator.[Ch]:
1232         * lyxfind.C:
1233         * lyxfunc.C:
1234         * pariterator.[Ch]:
1235         * text2.C:
1236         * undo.[Ch]: s/DocumentIterator/DocIterator/g
1237
1238 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1239
1240         * BufferView.C (setCursor, putSelectionAt): call edit to open the
1241         insets where we are putting the cursor.
1242
1243 2004-03-31  Angus Leeming  <leeming@lyx.org>
1244
1245         * lfuns.h:
1246         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1247
1248         * lyxrc.[Ch] (read, write): overloaded member functions taking
1249         a std::[io]stream arguments.
1250
1251         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1252
1253 2004-03-31  Angus Leeming  <leeming@lyx.org>
1254
1255         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1256         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1257
1258         * lyxtextclass.C (load): if the text class couldn't be loaded, then
1259         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1260
1261 2004-03-31  Angus Leeming  <leeming@lyx.org>
1262
1263         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1264         the LFUN_ALL_INSETS_TOGGLE code.
1265
1266 2004-03-30  Angus Leeming  <leeming@lyx.org>
1267
1268         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1269         has died. Fall through to the generic Dialogs::show("document").
1270
1271 2004-03-30  Angus Leeming  <leeming@lyx.org>
1272
1273         * lfuns.h:
1274         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1275         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1276
1277         * lyxfunc.C (getStatus, dispatch): define the actions for these
1278         lfuns. Little more than a cut and pste job from ControlDocument.C
1279
1280         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1281
1282 2004-03-30  Angus Leeming  <leeming@lyx.org>
1283
1284         * lfuns.h:
1285         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1286         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1287
1288         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1289         open/closed state of ollapsable insets. Usage:
1290
1291         all-inset-toggle <state> <name>, where
1292         <state> == "open" || "closed" || "toggle" and
1293         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1294
1295         * lyxtext.h, text2.C (toggleInset): removed.
1296
1297         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1298         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1299         now passes LFUN_INSET_TOGGLE to the found inset.
1300
1301         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1302         is now invoked as "all-insets-toggle toggle branch".
1303
1304 2004-03-30  Angus Leeming  <leeming@lyx.org>
1305
1306         * dociterator.C:
1307         * insetiterator.C:
1308         * pariterator.[Ch]: added/corrected header blurb.
1309
1310 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
1311
1312         * dociterator.[Ch]: add an inset_ member
1313         (backwardPos): implemented
1314         (backwardPos, forwardPos): use inset_ when the stack is empty.
1315         (doc_iterator_begin, doc_iterator_end): implemented
1316         * pariterator.[Ch]: adjust, add begin, end
1317         * insetiterator.[Ch]: adjust, add begin, end
1318         * cursor.C:
1319         * document.C:
1320         * BufferView.C:
1321         * BufferView_pimpl.C:
1322         * CutAndPaste.C: adjust
1323
1324 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1325
1326         * buffer.C: increment file format to 232.
1327         * LaTeXFeatures.C: add bibtopic package.
1328         * bufferparams.[Ch]: param \use_bibtopic.
1329
1330         * lyxrc.[Ch]: add lyxrc bibtex_command
1331         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1332
1333         * buffer.C: increment file format to 231.
1334
1335 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1336
1337         * dociterator.C: implement forwardPar
1338         * iterators.[Ch]: remove, replaced by
1339         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1340         * BufferView.C:
1341         * BufferView_pimpl.C:
1342         * CutAndPaste.C:
1343         * buffer.C:
1344         * bufferview_funcs.C:
1345         * cursor.C:
1346         * lyxfind.C
1347         * lyxfunc.C
1348         * paragraph_funcs.C
1349         * toc.C:
1350         * Makefile.am: adjust
1351
1352 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1353
1354         * CutAndPaste.C (pasteSelection): fix 2 crashes
1355         (eraseSelection): fix a crash
1356         * paragraph_funcs.C: remove a warning
1357
1358 2004-03-28  Angus Leeming  <leeming@lyx.org>
1359
1360         * lfuns.h:
1361         * LyXAction.C (init): new LFUN_PRINT.
1362
1363         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1364
1365 2004-03-27  Angus Leeming  <leeming@lyx.org>
1366
1367         * lfuns.h:
1368         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1369
1370         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1371
1372 2004-03-27  Angus Leeming  <leeming@lyx.org>
1373
1374         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1375         insetlist always contains non-null pointers to insets.
1376
1377 2004-03-26  Angus Leeming  <leeming@lyx.org>
1378
1379         * src/BufferView_pimpl.C:
1380         * src/CutAndPaste.C:
1381         * src/buffer.C:
1382         * src/iterators.C:
1383         * src/output_plaintext.C:
1384         * src/outputparams.h:
1385         * src/paragraph_funcs.C:
1386         * src/rowpainter.C:
1387         * src/text.C:
1388         * src/text2.C:
1389         * src/frontends/controllers/ControlErrorList.C:
1390         * src/frontends/gtk/FileDialogPrivate.C:
1391         * src/frontends/gtk/GPainter.C:
1392         * src/frontends/gtk/GToolbar.C:
1393         * src/frontends/qt2/QRef.C:
1394         * src/mathed/math_scriptinset.C: squash compiler warnings.
1395
1396 2004-03-26  Angus Leeming  <leeming@lyx.org>
1397
1398         * ispell.C (LaunchIspell::start):
1399         * lyx_cb.C (AutoSaveBuffer::start):
1400         invoke run(DontWait) rather than runNonBlocking().
1401
1402 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
1403
1404         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1405
1406 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1407
1408         * kbsequence.C (print): adjust
1409
1410         * kbmap.C (printKeySym): rename and change signature
1411         (printKey): use LyXKeySym::print()
1412
1413 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
1414
1415         * undo.C: add using std::advance to compile for stlport
1416
1417 2004-03-24  Angus Leeming  <leeming@lyx.org>
1418
1419         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1420         it leads to a crash when no buffer is present.
1421
1422 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1423             Martin Vermeer  <martin.vermeer@hut.fi>
1424
1425         * lyxfunc.C (dispatch):
1426         * bufferparams.C (readToken): use the new LColor::setColor
1427
1428         * LColor.[Ch] (setColor): new version that takes two strings as
1429         argument and creates a new color entry if necessary
1430
1431 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1432
1433         * buffer.C (makeLaTeXFile): if the main latex file that is
1434         processed is usually a subdocument of some master, then pretend
1435         for a while that it is actually the master
1436
1437 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1438
1439         * buffer.C (getLabelList):
1440         (getBibkeyList): use getMasterBuffer()
1441         (getMasterBuffer): new method. Returns the main document in the
1442         case where one is using included documents.
1443
1444 2004-03-25  André Pönitz  <poenitz@gmx.net>
1445
1446         * Makefile.am:
1447         * iterators.[Ch]:
1448         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1449
1450         * ParagraphList_fwd.h: change ParagraphList to a std::vector
1451
1452         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1453         text*.C over here. Rename namespace CutAndPaste to lyx::cap
1454
1455         * ParameterStruct.h: merge with ParagraphParameters
1456
1457         * lyxtext.h: remove LyXText::parOffset() and getPar()
1458
1459         * text3.C: Remove all 'manual' update calls. We do now one per user
1460         interaction which is completely sufficient.
1461
1462         * Bidi.C:
1463         * BufferView.[Ch]:
1464         * BufferView_pimpl.C:
1465         * FontIterator.[Ch]:
1466         * MenuBackend.C:
1467         * ParagraphParameters.[Ch]:
1468         * buffer.C:
1469         * buffer.h:
1470         * bufferlist.C:
1471         * cursor.[Ch]:
1472         * cursor_slice.[Ch]:
1473         * dociterator.[Ch]:
1474         * errorlist.[Ch]:
1475         * factory.C:
1476         * lfuns.h:
1477         * lyxfind.C:
1478         * lyxfunc.C:
1479         * output_docbook.[Ch]:
1480         * output_latex.[Ch]:
1481         * output_linuxdoc.[Ch]:
1482         * output_plaintext.[Ch]:
1483         * paragraph.[Ch]:
1484         * paragraph_funcs.[Ch]:
1485         * paragraph_pimpl.[Ch]:
1486         * rowpainter.C:
1487         * tabular.[Ch]:
1488         * text.C:
1489         * text2.C:
1490         * toc.C:
1491         * undo.[Ch]: adjust
1492
1493         * frontends/controllers/ControlDocument.C:
1494         * frontends/controllers/ControlErrorList.C:
1495         * frontends/controllers/ControlSpellchecker.C:
1496         * insets/inset.C:
1497         * insets/inset.h:
1498         * insets/insetbase.h:
1499         * insets/insetbibitem.C:
1500         * insets/insetbox.C:
1501         * insets/insetbranch.C:
1502         * insets/insetcaption.C:
1503         * insets/insetcharstyle.C:
1504         * insets/insetcharstyle.h:
1505         * insets/insetcollapsable.C:
1506         * insets/insetcollapsable.h:
1507         * insets/insetert.C:
1508         * insets/insetfloat.C:
1509         * insets/insetfoot.C:
1510         * insets/insetmarginal.C:
1511         * insets/insetnote.C:
1512         * insets/insetoptarg.C:
1513         * insets/insettabular.C:
1514         * insets/insettext.C:
1515         * insets/insettext.h:
1516         * insets/insetwrap.C:
1517         * mathed/math_mboxinset.C:
1518         * mathed/math_nestinset.C:
1519         * mathed/math_scriptinset.C:
1520         * mathed/math_scriptinset.h:
1521         * support/types.h:
1522
1523 2004-03-24  Angus Leeming  <leeming@lyx.org>
1524
1525         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1526         deal with any child processes that have finished but are waiting to
1527         communicate this fact to the rest of LyX.
1528
1529 2004-03-24  Angus Leeming  <leeming@lyx.org>
1530
1531         64-bit compile fixes.
1532
1533         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1534         (c-tor): pass lyx::pos_types rather than ints.
1535
1536         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1537         lyx::pos_type.
1538
1539         * text.C (Delete): compile fix.
1540         (getPar): ensure that function declaration is the same as that in
1541         the header file.
1542
1543 2004-03-23  Angus Leeming  <leeming@lyx.org>
1544
1545         * ispell.C (LaunchIspell):
1546         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1547         a boost::shred_ptr rather than a std::auto_ptr.
1548
1549 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1550
1551         * lyxfunc.C (getStatus): handle read-only buffers correctly;
1552         handle LFUN_FILE_INSERT_*
1553
1554         * lyxrc.C (setDefaults, getDescription, output, read):
1555         * lyxrc.h: remove ps_command
1556
1557 2004-03-22  Angus Leeming  <leeming@lyx.org>
1558
1559         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1560         Ensure that error_handler is processed once only and that all data
1561         is saved before attempting to output any warning messages.
1562
1563         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1564
1565 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
1566
1567         * tabular.C (TeXRow): crash fix (from Kayvan and André)
1568
1569 2004-03-19  André Pönitz  <poenitz@gmx.net>
1570
1571         * cursor.[Ch] (reset): take main text inset as argument
1572
1573         * BufferView: adjust
1574         * BufferView_pimpl.C: adjust
1575
1576         * paragraph.[Ch]: fix completely broken operator=()
1577
1578 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1579
1580         * LColor.C (getFromLyXName): make sure that the color name is used
1581         as lowercase.
1582
1583 2004-03-17  Angus Leeming  <leeming@lyx.org>
1584
1585         * lfuns.h:
1586         * LyXAction.C (init): remove LFUN_FORKS_KILL.
1587
1588         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1589         dialog and to kill a forked process.
1590
1591 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1592
1593         * text2.C (setCursorFromCoordinates): fix font problem
1594
1595 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1596
1597         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1598         bogus "rebuild cursor" code
1599
1600 2004-03-11  André Pönitz  <poenitz@gmx.net>
1601
1602         * buffer.[Ch]: use InsetText instead of LyXText as container for
1603         the main lyx text.
1604
1605         * dociterator.[Ch]: drop the BufferView * member which is not needed
1606         anymore after the change to buffer.C
1607
1608         * paragraph_funcs.C:
1609         * text.C:
1610         * text2.C:
1611         * BufferView.[Ch]:
1612         * BufferView_pimpl.[Ch]:
1613         * cursor.[Ch]:
1614         * cursor_slice.[Ch]: adjust
1615
1616         * text3.C: fix bug in mathDispatch
1617
1618 2004-03-08  André Pönitz  <poenitz@gmx.net>
1619
1620         * undo.[Ch]: use 'StableDocumentIterator' as base for
1621         the Undo struct.
1622
1623 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1624
1625         * LaTeXFeatures.C:
1626         * bufferparams.[Ch]: add jurabib support and param.
1627
1628         * LaTeX.C: add FIXME/comment.
1629
1630 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1631
1632         * buffer.C: increment file format to 230.
1633
1634 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
1635
1636         * cursor.C (dispatch): avoid infinite loops
1637
1638 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1639
1640         * rowpainter.C (paintSelection): fix x coordinates
1641
1642 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1643
1644         * text.C (rowBreakPoint): fix breaking before displayed insets
1645
1646 2004-03-01  André Pönitz  <poenitz@gmx.net>
1647
1648         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1649
1650         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1651
1652         * Makefile.am:
1653         * BufferView.C:
1654         * BufferView_pimpl.C:
1655         * buffer.C:
1656         * lyxfind.C:
1657         * lyxfunc.C:
1658         * text.C:
1659         * text2.C:
1660         * text3.C: adjust
1661
1662 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1663
1664         * lyxtext.h:
1665         * text.C:
1666         * text2.C:
1667         * rowpainter.C:
1668         * BufferView_pimpl.C: rename textwidth -> maxwidth,
1669         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1670
1671 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1672
1673         * Bidi.[Ch] (computeTables): const correctness
1674         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1675         fill_hfill, fill_label_hfill and x from Row
1676         * lyxtext.h: prepareToPrint returns a RowMetrics
1677         * rowPainter.C: adjust
1678         * text.C (prepareToPrint): use width, not textWidth. adjust
1679         (redoParagraphInternal, cursorX): adjust
1680         * text2.C (getColumnNearX): adjust
1681         (init): put a default value to the top LyXText::width
1682
1683 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1684
1685         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1686
1687 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1688
1689         * lyxtext.h: add FontIterator class
1690
1691         * text.C (FontIterator, operator*, operator->, operator++): add
1692         (rowBreakPoint, setRowWidth): adjust (fixing a
1693         rebreaking bug)
1694
1695 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1696
1697         * BufferView_pimpl.C (workAreaDispatch): allow also
1698         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1699
1700 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
1701
1702         * text.C (rowBreakPoint): fix a bug showing with very large insets
1703
1704 2004-02-25  André Pönitz  <poenitz@gmx.net>
1705
1706         * text3.C:
1707         * cursor.[Ch]: move some mathed specific code to mathed
1708
1709 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1710
1711         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1712         use_tempdir in preferences
1713         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1714         tempfile creation
1715         * lyx_main.C: ensure that tempdir is valid
1716         * lyxlex.h: correct typo
1717         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1718         * paragraph.[Ch] (isMultiLingual): make const
1719         * cursor.[Ch] (openable): make const
1720
1721 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1722
1723         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1724
1725 2004-02-20  André Pönitz  <poenitz@gmx.net>
1726
1727         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1728
1729         * cursor.[Ch]: prepare for localized getStatus()
1730
1731         * lyxtext.h:
1732         * tabular.C:
1733         * text.C:
1734         * text2.C:
1735         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
1736
1737 2004-02-20  André Pönitz  <poenitz@gmx.net>
1738
1739         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1740
1741 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1742
1743         * text2.C (setCursorFromCoordinates): switch to absolute coords
1744         (cursorUp): adjust
1745         (cursorDown): adjust
1746         * text3.C (dispatch): adjust
1747
1748 2004-02-16  André Pönitz  <poenitz@gmx.net>
1749
1750         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1751           insets/ChangeLog)
1752
1753         * cursor_slice.[Ch]: remove unneeded acessor function
1754
1755         * lyxtext.h: rename rtl() to isRTL()
1756
1757         * rowpainter.C:
1758         * tabular.C:
1759         * text.C:
1760         * text2.C:
1761         * text3.C: adjust
1762
1763 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1764
1765         * rowpainter.C (paintSelection): coord fix
1766
1767 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
1768
1769         * Spacing.C: compile fix
1770
1771 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1772
1773         * cursor.C (dispatch): restore current_ before returning
1774
1775 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1776
1777         * text2.C (cursorUp, cursorDown): fix coords
1778         (moveUp): fix crash
1779
1780 2004-02-12  André Pönitz  <poenitz@gmx.net>
1781
1782         * lyxtext.h:
1783         * text.C:
1784         * text2.C:
1785         * text3.C: add LCursor & parameter to most cursor movement functions
1786           remove usage of LyXText::cursorRow() and cursorPar()
1787
1788         * cursor.[Ch]: add textRow() needed members
1789
1790         * BufferView.C:
1791         * BufferView_pimpl.C:
1792         * paragraph.[Ch]:
1793         * BufferView.C:
1794         * BufferView_pimpl.C: adjust
1795
1796 2004-02-11  André Pönitz  <poenitz@gmx.net>
1797
1798         * lyxfunc.C:
1799         * BufferView.[Ch]:
1800         * BufferView_pimpl.C: shift undo/redo handling
1801
1802         * cursor.[Ch]: fix mathed crash
1803
1804         * lyxfind.C:
1805         * lyxtext.h: move selectionAsText to LCursor
1806
1807         * output_latex.C:
1808         * paragraph.C:
1809         * text.C:
1810         * text2.C:
1811         * text3.C: adjust
1812
1813         * rowpainter.C: fix excessive drawing
1814
1815 2004-02-06  André Pönitz  <poenitz@gmx.net>
1816
1817         * BufferView.[Ch]:
1818         * BufferView_pimpl.[Ch]:
1819         * text3.C: move some text specific LFUN handling
1820
1821 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
1822
1823         * text3.C (checkInsetHit): adjust coords
1824         * text2.C (getColumnNearX): adjust coords
1825         (edit): adjust coords
1826         * text.C (getRowNearY): add two asserts
1827
1828 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
1829
1830         * converter.C:
1831         * format.C: add using std::distance to compile on gcc 2.95/stlport
1832
1833 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
1834
1835         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1836
1837 2004-02-04  André Pönitz  <poenitz@gmx.net>
1838
1839         * BufferView.[Ch] (insertInset):
1840         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1841
1842         * text2.C:
1843         * text3.C: adjust
1844
1845 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1846
1847         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1848         on the default clause of the switch
1849         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1850         wasn't catched by LCursor::dispatch
1851
1852 2004-02-03  André Pönitz  <poenitz@gmx.net>
1853
1854         * BufferView.C:
1855         * cursor.[Ch]: some additional asserts
1856
1857         * undo.[Ch]: remove LyXText dependency in interface
1858
1859         * lyxfunc.C: adjust
1860
1861         * lyxtext.h (firstPar, lastPar): remove dead functions
1862
1863         * text.C:
1864         * text2.C:
1865         * text3.C:
1866         * paragraph.[Ch]: adjust
1867
1868 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1869
1870         * lyxfind.C (find): fix argument order in call to ::find
1871
1872 2004-02-02  André Pönitz  <poenitz@gmx.net>
1873
1874         * cursor.[Ch]: remove direct access to anchor
1875
1876         * text.C: remove findText() hack
1877
1878 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1879
1880         * iterators.[Ch] (lockPath): remove in favour of...
1881         * BufferView.[Ch] (setCursor): this addition
1882         * BufferView.C (putSelectionAt): adjust
1883         * undo.C (performUndoOrRedo): adjust
1884         * lyxfunc.C (dispatch): adjust
1885
1886 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1887
1888         * iterators.C (lockPath): add a missing slice
1889         * undo.C (performUndoOrRedo): remove redundant positioning code
1890
1891 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1892
1893         * vc-backend.C (scanMaster): ";" -> ';'
1894
1895 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
1896
1897         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1898         std::binary_function
1899
1900         * lyxtextclass.C (compare_name): rename to...
1901         (LayoutNamesEqual): ...this
1902
1903         * lyxlex_pimpl.C (compare_tags): inherit from
1904         std::binary_function, put back into anon namespace
1905
1906         * lyxfind.C (MatchString): inherig from std::binary_function
1907         (findChange): use empty() istead of !size()
1908
1909         * format.C (FormatNamesEqual): new functor
1910         (getFormat): use it
1911         (getNumber): use it
1912         (add): use it
1913         (erase): use it
1914         (setViewer): use it
1915
1916         * converter.C (compare_Converter): rename to...
1917         (ConverterEqual): ...this, and fixup a bit.
1918         (getConverter): use it, and make function const
1919         (getNumber): use it, and make function const
1920         (add): use it
1921         (erase): use it:
1922
1923         * bufferlist.C: add using boost::bind
1924
1925         * MenuBackend.C (MenuNamesEqual): new functor
1926         (hasMenu): use it, and make function const
1927         (hasSubmenu): use nested bind to get rid of compare_memfun.
1928
1929 2004-01-30  André Pönitz  <poenitz@gmx.net>
1930
1931         * BufferView_pimpl.C:
1932         * cursor.C:
1933         * cursor.h:
1934         * cursor_slice.[Ch]:
1935         * lyxfunc.C:
1936         * lyxtext.h:
1937         * paragraph_funcs.C:
1938         * paragraph_funcs.h:
1939         * rowpainter.C:
1940         * text.C:
1941         * text2.C:
1942         * text3.C: move some of the edit(x,y) handling to the insets
1943         some coordinate changes.
1944
1945 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1946
1947         * text.C: add using statements for std::advance and std::distance
1948
1949         * paragraph.C: add using statement for std::distance
1950
1951         * lyxfind.C: add using statement for std::advance
1952
1953         * cursor.C (region): remove std:: from swap
1954         (openable): use nucleus in stead of operator->
1955
1956         * BufferView.C: add using statements for std::distance and std::swap
1957
1958 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
1959
1960         * iterators.C: Remove the pimple, move the needed structures to
1961         the header file. Create accessor for the positions stack.
1962         (asPosIterator): remove function
1963
1964         * PosIterator.C (PosIterator): move constructors to top of file
1965         (PosIterator): reimplement the constructor taking a ParIterator in
1966         terms of setFrom.
1967         (setFrom): new function
1968         (operator!=): inline it
1969
1970 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1971
1972         * lyxfind.C (replaceAll): use std::advance
1973
1974         * iterators.h: inherit from std::iterator.
1975
1976         * PosIterator.C (advance, distance): remove
1977         * PosIterator.h: interit from std::iterator.
1978
1979 2004-01-26  André Pönitz  <poenitz@gmx.net>
1980
1981         * BufferView.[Ch]:
1982         * BufferView_pimpl.[Ch]:
1983         * InsetList.[Ch]:
1984         * PosIterator.[Ch]:
1985         * buffer.h:
1986         * bufferview_funcs.C:
1987         * cursor.[Ch]:
1988         * cursor_slice.h:
1989         * factory.[Ch]:
1990         * iterators.[Ch]:
1991         * lyxfind.C:
1992         * lyxfunc.C:
1993         * lyxtext.h:
1994         * output_docbook.C:
1995         * output_latex.C:
1996         * output_linuxdoc.C:
1997         * output_plaintext.C:
1998         * paragraph.[Ch]:
1999         * paragraph_funcs.[Ch]:
2000         * paragraph_pimpl.[Ch]:
2001         * rowpainter.C:
2002         * tabular.C:
2003         * tabular.h:
2004         * text.C:
2005         * text2.C:
2006         * text3.C: more IU:  dumps most of the rest of the mathcursor
2007     implementation into cursor.[Ch]; "globalize" a bit of it.
2008
2009 2004-01-25  Angus Leeming  <leeming@lyx.org>
2010
2011         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2012
2013 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2014
2015         * LaTeXFeatures.h: add nice_ and nice() const
2016         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2017
2018 2004-01-20  André Pönitz  <poenitz@gmx.net>
2019
2020         * BufferView.[Ch]:
2021         * BufferView_pimpl.C:
2022         * PosIterator.C:
2023         * bufferview_funcs.C:
2024         * cursor.[Ch]:
2025         * cursor_slice.[Ch]:
2026         * factory.C:
2027         * iterators.C:
2028         * lyx_cb.C:
2029         * lyxfind.C:
2030         * lyxfunc.C:
2031         * lyxtext.h:
2032         * rowpainter.C:
2033         * text.C:
2034         * text2.C:
2035         * text3.C:
2036         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2037           LCursor and mathcursor parts to LCursor and InsetBase.
2038
2039 2004-01-15  André Pönitz  <poenitz@gmx.net>
2040
2041         * cursor_slice.[Ch]: add a few covienience functions
2042
2043         * funcrequest.[Ch]: remove BufferView * member
2044
2045         * BufferView_pimpl.C:
2046         * cursor.C:
2047         * factory.[Ch]:
2048         * lyxfind.[Ch]:
2049         * lyxfunc.C:
2050         * lyxtext.h:
2051         * text3.C:
2052         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2053
2054 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
2055
2056         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2057         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2058
2059 2004-01-13  André Pönitz  <poenitz@gmx.net>
2060
2061         * textcursor.[Ch]:
2062         * lyxtext.h: hide cursor and selection anchor behind accessor function
2063
2064         * BufferView.C:
2065         * BufferView_pimpl.[Ch]:
2066         * PosIterator.C:
2067         * bufferview_funcs.C:
2068         * cursor.h:
2069         * lyxfind.C:
2070         * lyxfunc.C:
2071         * text.C:
2072         * text2.C:
2073         * text3.C:
2074         * undo.C: adjust
2075
2076         * cursor.h:
2077         * cursor_slice.[Ch]: some integer type changes for inset unification
2078
2079         * lyxcursor.[hC]: remove, it's CursorSlice now.
2080
2081         * Makefile.am:
2082         * BufferView_pimpl.[Ch]:
2083         * bufferview_funcs.C:
2084         * cursor_slice.C:
2085         * lyxtext.h:
2086         * text.C:
2087         * text2.C:
2088         * text3.C:
2089         * textcursor.[Ch]: adjust
2090
2091 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
2092
2093         * text2.C (undoSpan): add and use
2094         * text.C (breakParagraph): use undoSpan (fix bug 578)
2095         * lyxtext.h: adjust
2096
2097 2004-01-08  Angus Leeming  <leeming@lyx.org>
2098
2099         * BufferView_pimpl.C (MenuInsertLyXFile):
2100         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2101         * lyxfunc.C (menuNew, open, doImport):
2102         FileFilterList change to the FileDialog open and save functions.
2103
2104 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
2105
2106         * ShareContainer.h: make isEqual and isUnique adaptable
2107
2108         * CutAndPaste.C: make resetOwnerAndChanges adaptable
2109
2110 2004-01-07  Angus Leeming  <leeming@lyx.org>
2111
2112         * LyXAction.C:
2113         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2114
2115         * BufferView_pimpl.C (dispatch): act on these LFUNs.
2116
2117         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2118         functions replacing find, replace and replaceAll.
2119
2120         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2121         LFUN_WORDFIND(FORWARD|BACKWARD).
2122
2123 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2124
2125         * text.C (breakParagraph): remove an outdated #warning
2126
2127 2004-01-07  André Pönitz  <poenitz@gmx.net>
2128
2129         * lyxfind.C: somewhat clearer logic
2130
2131         * text.C: prevent crash in cursorX on unitialized row cache
2132
2133 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2134
2135         * lyxcursor.[Ch] (operator>): add
2136         * textcursor.C (selStart, selEnd): use std::min and std::max
2137
2138 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
2139
2140         * Chktex.C: include boost/format.hpp
2141
2142 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
2143
2144         * InsetList.C: replace functor MathcIt with adaptable functor
2145         InsetTablePosLess
2146         (insetIterator): modify accordingly
2147
2148         * BranchList.h: move the BranchNamesEqual functor here from...
2149         * BranchList.C: ... to here
2150
2151         * BranchList.C: new BranchListEqual fuctor, use it. Remove
2152         SameName and match.
2153         (add): replace a finding loop with std::find_if.
2154
2155 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
2156
2157         * output_docbook.C: moving LatexParam functionality into
2158         .layout files
2159
2160 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2161
2162         * buffer.C: increment format to 229.
2163
2164 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
2165
2166         * LaTeXFeatures.C:
2167         * lyx_sty.[Ch]: remove minipageindent_def
2168
2169         * LyXAction.C:
2170         * factory.C:
2171         * lfuns.h:
2172         * lyxfunc.C:
2173         * text3.C: remove LFUN_INSET_MINIPAGE
2174
2175 2003-12-28  Angus Leeming  <leeming@lyx.org>
2176
2177         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2178
2179 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
2180
2181         * text2.C (setParagraph): fix off-by-one crash
2182
2183 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
2184
2185         * output_docbook.C: header stuff for AGU
2186
2187 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
2188
2189         * text2.C (redoCursor): remove
2190         * text.C:
2191         * text3.C:
2192         * BufferView_pimpl.C: remove calls to redoCursor and
2193         setCursor(cursor.par(), cursor.pos()) all around
2194
2195 2003-12-15  Angus Leeming  <leeming@lyx.org>
2196
2197         * buffer.C: up the format to 228.
2198
2199 2003-12-15  André Pönitz  <poenitz@gmx.net>
2200
2201         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2202         slices
2203
2204         * Makefile.am:
2205
2206         * BufferView_pimpl.C:
2207         * cursor.[Ch]:
2208         * lyxcursor.[Ch]:
2209         * rowpainter.[Ch]:
2210         * lyxtext.h:
2211         * text.C:
2212         * text2.C:
2213         * text3.C: adjust
2214
2215 2003-12-15  Angus Leeming  <leeming@lyx.org>
2216
2217         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2218         than getFromGUIName to manipulate the color.
2219
2220 2003-12-14  Angus Leeming  <leeming@lyx.org>
2221
2222         * BranchList.[Ch]: minimize the API.
2223         (Branch::getBranch, getColor): now return a 'const &'.
2224         (Branch::setSelected) now returns a bool set to true if the
2225         selection status changes.
2226         (BranchList::clear, size, getColor, setColor, setSelected,
2227         allBranches, allSelected, separator): removed.
2228         (BranchList::find): new functions, returning the Branch with
2229         the given name.
2230         (BranchList::add, remove): return a bool indicating that
2231         the operation was successful.
2232
2233         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2234         new InsetBranch::isBranchSlected member function.
2235
2236         * LColor.[Ch]: mimimize the API.
2237         (fill): renamed as addColor and made private.
2238         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2239         versions of these functions taking a string arg have been removed.
2240
2241         * bufferparams.C (readToken):
2242         * lyxfunc.C (dispatch):
2243         * lyxrc.C (read): changes due to the altered BranchList and
2244         LColor APIs.
2245
2246         * factory.C (createInset, readInset): changes due to altered
2247         InsetBranch c-tor.
2248
2249 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2250
2251         * factory.C:
2252         * lyxfunc.C: remove insetminipage. "minipage-insert"
2253         now produces a frameless minipage box inset.
2254
2255 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2256
2257         * textcursor.[Ch] (selStart,selEnd): add new methods
2258         remove selection::start, end, use LyXCursor::operator<
2259         * lyxcursor.[Ch] (operator<): add
2260         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2261         * BufferView.[Ch] (unsetXSel): add
2262         * text2.C (clearSelection): use unsetXSel,adjust
2263         * text.C: adjust
2264         * text3.C: adjust
2265         * rowpainter.C: adjust
2266         * bufferview_funcs.C (put_selection_at): adjust
2267
2268 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2269
2270         * BufferView_pimpl.C: small coord. correction
2271
2272 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2273
2274         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2275         dragging over the splash screen.
2276
2277 2003-12-11  Angus Leeming  <leeming@lyx.org>
2278
2279         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2280         as it is now handled in LyXText::dispatch.
2281
2282         * text3.C (doInsertInset): remove a level of nesting.
2283
2284 2003-12-11  Angus Leeming  <leeming@lyx.org>
2285
2286         * factory.C (createInset): changes due to the changed interface to
2287         InsetCommandMailer::string2params.
2288
2289 2003-12-10  Angus Leeming  <leeming@lyx.org>
2290
2291         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2292         'dialog-show-new-inset <inset name>'
2293
2294 2003-12-10  Angus Leeming  <leeming@lyx.org>
2295
2296         * buffer.C: up the format to 227.
2297
2298         * factory.C: the box inset is now identified simply by 'Box'.
2299
2300 2003-12-10  Angus Leeming  <leeming@lyx.org>
2301
2302         * buffer.C: up the format to 226.
2303
2304         * factory.C: the note inset is now identified simply by 'Note'.
2305
2306 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
2307
2308         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2309         when a pit is enough. Standarize a couple of loops.
2310
2311 2003-12-05  Angus Leeming  <leeming@lyx.org>
2312
2313         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2314         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2315         data to the re-worked "log" dialog.
2316
2317 2003-12-03  André Pönitz  <poenitz@gmx.net>
2318
2319         * PosIterator.C:
2320         * iterators.C:
2321         * lyxtext.h:
2322         * output_latex.C:
2323         * paragraph_funcs.C:
2324         * text.C:
2325         * text2.C: use Inset::getText instead of Inset::getParagraph
2326
2327 2003-12-03  André Pönitz  <poenitz@gmx.net>
2328
2329         * buffer.[Ch]:
2330         * lyxtext.h:
2331         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2332         InsetText::read() as LyXText::read()
2333
2334 2003-12-02  Angus Leeming  <leeming@lyx.org>
2335
2336         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2337         type. Add a comment in the implementation that the function uses
2338         the stream's bad() function rather than fail() as the std::streams
2339         would do.
2340
2341 2003-12-02  André Pönitz  <poenitz@gmx.net>
2342
2343         * lyxlex.[Ch]: make interface more similar to std::stream
2344
2345         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2346
2347 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
2348
2349         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2350
2351 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
2352
2353         * vspace.[Ch]: remove VSpace::NONE
2354
2355 2003-12-01  André Pönitz  <poenitz@gmx.net>
2356
2357         * buffer.[Ch]:
2358         * lyxtext.h: move ParagraphList member to LyXText
2359         rename LyXText::ownerParagraphs to LyXText::paragraph
2360
2361         * CutAndPaste.C:
2362         * bufferview_funcs.C:
2363         * iterators.[Ch]:
2364         * lyx_cb.C:
2365         * paragraph.C:
2366         * rowpainter.C:
2367         * tabular.C:
2368         * text.C:
2369         * text2.C:
2370         * text3.C: adjust
2371
2372         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2373
2374         * undo.C: fix cursor positioning
2375
2376 2003-12-01  John Levon  <levon@movementarian.org>
2377
2378         * BufferView_pimpl.C: fix a crash on exit with
2379         a buffer open
2380
2381 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
2382
2383         * BranchList.C: fix setSelected() method.
2384
2385 2003-11-28  André Pönitz  <poenitz@gmx.net>
2386
2387         * ParagraphParameters.[Ch]:
2388         * ParameterStruct.h: remove space above/below from Paragraph to
2389          InsetVSpace
2390
2391         * BufferView_pimpl.C:
2392         * factory.C:
2393         * lyxfunc.C:
2394         * lyxtext.h:
2395         * output_latex.C:
2396         * paragraph.C:
2397         * paragraph_funcs.C:
2398         * rowpainter.[Ch]:
2399         * text.C:
2400         * text2.C:
2401         * text3.C: adjust
2402
2403 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
2404
2405         * factory.C: Syntax change for CharStyles
2406
2407 2003-11-28  André Pönitz  <poenitz@gmx.net>
2408
2409         * BufferView.[Ch]:
2410         * BufferView.[Ch]:
2411         * buffer.[Ch]:
2412         * buffer.[Ch]: move LyXText member
2413
2414 2003-11-28  André Pönitz  <poenitz@gmx.net>
2415
2416         * BufferView.[Ch]: make LyXText * text a private member
2417
2418         * BufferView_pimpl.C:
2419         * cursor.C:
2420         * iterators.C:
2421         * lyx_cb.C:
2422         * lyxfind.C:
2423         * lyxtext.h:
2424         * rowpainter.[Ch]:
2425         * text.C:
2426         * text2.C:
2427         * undo.C: adjust
2428
2429         * output_plaintext.C: cleanup
2430
2431 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2432
2433         * buffer.C:
2434         * lyxtextclass.[Ch]: parametrize SGML document header
2435
2436 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2437
2438         * converter.[Ch]:
2439         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2440         getFlavor().
2441
2442 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
2443
2444         * text2.C (setFont): rework using PosIterator (no more recursive)
2445         (setCharFont): no more needed
2446         (setLayout): no more selection cursors fiddling (done by redoCursor)
2447         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2448         destroy remaining ones)
2449
2450 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
2451
2452         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2453         * lyxtext.h: ditto
2454         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2455         selection cursors
2456         * lyxfunc.C: adjust
2457         * text3.C: adjust + re-allow multi par depth changes
2458         * textcursor.C: simplify a bit
2459
2460 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
2461
2462         * src/buffer.C:
2463         * src/lyxlayout.C:
2464         * src/lyxlayout.h:
2465         * src/lyxtext.h:
2466         * src/output_docbook.C:
2467         * src/output_latex.C:
2468         * src/paragraph.C:
2469         * src/paragraph.h:
2470         * src/sgml.C:
2471         * src/sgml.h:
2472         * src/text2.C: Introducing a number of tags parametrizing various
2473         XML formats that we may want to support
2474
2475 2003-11-25  André Pönitz  <poenitz@gmx.net>
2476
2477         * InsetList.[Ch] (begein, end): inline as suggested by profiler
2478
2479         * lyxtext.h (leftMargin/rightMargin): simplify interface
2480
2481         * rowpainter.C:
2482         * text.C:
2483         * text2.C:
2484         * text3.C: adjust
2485
2486 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2487
2488         * lyxfunc.C (dispatch): propogate the bibtex databases from the
2489         master file to any child files. Fixes bug 546.
2490
2491 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2492
2493         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2494
2495 2003-11-24  André Pönitz  <poenitz@gmx.net>
2496
2497         * rowpainter.C: simplification
2498
2499         * text2.C (updateCounters): remove call to redoParagraph on
2500         changed labels as this is far too expensive.
2501
2502 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2503
2504         * converter.C (convert): fix a crash: this function gets
2505         called with buffer == 0 from importer code.
2506
2507 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
2508
2509         * text3.C (cursorPrevious): make sure that we do not compare
2510         iterators form different containers.
2511         (cursorNext): ditto
2512
2513         * rowpainter.C (paintSelection): make sure that we do not compare
2514         iterators from different containers.
2515
2516         * text3.C (dispatch): [PRIOR] make sure that we do not compare
2517         iterators from different ParagraphList containers.
2518         [NEXT] ditto
2519
2520         * text2.C (LyXText): change order of initialization slightly
2521         (operator=): new function. copy all variables except cache_par_
2522         (moveUp): make sure that we do not compare iterators from
2523         different ParagraphList constainers.
2524         (moveDown): ditto
2525
2526         * text.C (firstPar): new function
2527         (lastPar): new function
2528         (endPar): new function
2529
2530         * lyxtext.h: move things around and group public functions, public
2531         variables, private functions, private variables
2532
2533 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
2534
2535         * factory.C: change call to InsetERT constructor to avoid
2536         additional invocation of method status
2537         * text2.C (toggleInset): remove redundant update() call
2538         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2539         instead of a Bufferview pointer
2540
2541 2003-11-21  André Pönitz  <poenitz@gmx.net>
2542
2543         * rowpainter.C: simplification
2544
2545 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2546
2547         * text3.C (dispatch): make possible to extend a word/row selection
2548         with the mouse
2549
2550 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2551
2552         * lyxtext.h: x0_,y0_ -> xo_,yo_
2553         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2554         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2555         * rowpainter.C (paintRows): paint full paragraphs
2556
2557 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2558
2559         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2560         screen coordinates)
2561
2562 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2563
2564         * lyxtext.h: add x0_, y0_
2565         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2566         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2567
2568 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
2569
2570         * text2.C (setCursorIntern): move the x_target update here *
2571         * text3.C: change some bv() to true/false in calls to
2572         cursorUp/Down/Right/Left
2573         * cursor.C: use helper function.
2574
2575 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2576
2577         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2578         * paragraph_funcs.[Ch]: correct comment
2579         * rowpainter.C: do not paint selections away from bv->cursor()
2580         Fix a long standing selection painting bug.
2581         * text3.C: generalize mouse-selection code to LyXTexts other that
2582         top one
2583         * textcursor.C: do not use y coords if we can use par offsets
2584
2585 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2586
2587         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2588         cursor position after e.g. inset insert)
2589
2590 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
2591
2592         * lyxfind.C (replace): adjust to locking removal + some
2593         code simplification
2594
2595 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
2596
2597         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2598         of the path
2599
2600 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
2601
2602         * lyxlayout.[Ch]:
2603         * output_docbook.C: XML sanitation: new layout
2604         parameters InnerTag and CommandDepth
2605
2606 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
2607
2608         * BufferView_pimpl.C:
2609         * factory.C:
2610         * text3.C: Fix the insertion and modification of button-style
2611         insets
2612
2613 2003-11-13  André Pönitz  <poenitz@gmx.net>
2614
2615         * InsetList.[Ch]: remove deleteLyXText
2616
2617         * paragraph.[Ch]: cache beginOfBody position
2618
2619         * Bidi.C:
2620         * text.C:
2621         * text2.C:
2622         * text3.C: remove superfluous update() calls
2623
2624         * vspace.C: cleanup
2625
2626 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
2627
2628         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2629         * BufferView.C (fitLockedInsetCursor): remove
2630         * cursor.[Ch] (getDim): add
2631         * text.C (getRowNearY): add faster version
2632         * text3.C: remove some update calls
2633
2634 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
2635
2636         * LaTeXFeatures.C:
2637         * LyXAction.C:
2638         * MenuBackend.C:
2639         * MenuBackend.h:
2640         * dispatchresult.h:
2641         * factory.C:
2642         * lfuns.h:
2643         * lyxfunc.C:
2644         * lyxtextclass.C:
2645         * lyxtextclass.h:
2646         * text3.C: The Character Style /XML short element patch.
2647
2648 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
2649
2650         * text3.C:
2651         * factory.C: Small step to solving 'unable to insert some insets'
2652         problem
2653
2654 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2655
2656         * cursor.[Ch] (updatePos): new function for updating the y
2657         position of the tip inset
2658         * bufferview_funcs.C (put_selection_at):
2659         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2660
2661 2003-11-11  André Pönitz  <poenitz@gmx.net>
2662
2663         * text.C: remove big comment on invalid Paragraph pointers as it is
2664         not valid anymore
2665
2666 2003-11-11  André Pönitz  <poenitz@gmx.net>
2667
2668         * text_funcs.[Ch]: merge with ...
2669
2670         * text.C: ... this
2671
2672         * lyxtext.h:
2673         * text2.C:
2674         * text3.C: adjust
2675
2676         * Makefile.am: remove text_funcs.[Ch]
2677
2678 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
2679
2680         * cursor.C (getPos): return absolute cached y coord
2681
2682         * BufferView_pimpl.C (fitCursor): new simplistic code
2683         (workAreaDispatch): add a fitCursor call
2684
2685 2003-11-10  André Pönitz  <poenitz@gmx.net>
2686
2687         * BufferView.[Ch]:
2688         * BufferView_pimpl.[Ch]: merge update() and updateInset()
2689
2690 2003-11-10  André Pönitz  <poenitz@gmx.net>
2691
2692         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2693         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2694         indicate that the cursor needs to leave an inset
2695
2696         * lyxtext.h: remove inset locking
2697
2698         * cursor.[Ch]: re-implement functionality provided by inset locking
2699
2700         * BufferView.[Ch]:
2701         * BufferView_pimpl.[Ch]:
2702         * LyXAction.C:
2703         * bufferview_funcs.[Ch]:
2704         * factory.C:
2705         * funcrequest.[Ch]:
2706         * iterators.C:
2707         * lyx_cb.C:
2708         * lyxfind.C:
2709         * lyxfunc.C:
2710         * text.C:
2711         * text2.C:
2712         * text3.C:
2713         * undo.C: adjust
2714
2715 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
2716
2717         * PosIterator.[Ch]: replace the stack with a vector, add inset
2718         accesor
2719         * iterators.[C]: adjust
2720
2721 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2722
2723         * lyxfind.C (replaceAll): mark the buffer dirty if something was
2724         replaced
2725         * paragraph_funcs.C (readParToken): put the correct id in the
2726         error item, not the id of the top paragraph
2727
2728 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2729
2730         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2731         * bufferview_funcs.C (put_selection_at): use the above
2732
2733 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2734
2735         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2736
2737 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2738
2739         * output_linuxdoc.h:
2740         * output_plaintext.h:
2741         * output.h:
2742         * output_docbook.h: add #include statements
2743
2744 2003-11-05  José Matos  <jamatos@lyx.org>
2745
2746         * output_docbook.[Ch]:
2747         * output_latex.[Ch]:
2748         * output_linuxdoc.[Ch]:
2749         * output_plaintext.[Ch]: New files for output formats.
2750         * output.[Ch]: New file for helper functions.
2751
2752         * buffer.[Ch]:
2753         * paragraph_funcs.[Ch]: output functions moved to new files.
2754
2755         * outputparams.h: rename of latexrunparams.h
2756
2757         * LaTeX.[Ch]:
2758         * buffer.[Ch]:
2759         * bufferlist.[Ch]:
2760         * converter.[Ch]:
2761         * exporter.C:
2762         * paragraph.[Ch]:
2763         * paragraph_funcs.[Ch]:
2764         * paragraph_pimpl.[Ch]:
2765         * tabular.[Ch]: rename ascii to plaintext
2766         and LatexRunParams to OutputParams.
2767
2768 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2769
2770         * iterators.[Ch] (text): require bv argument
2771         * undo.C (recordUndo):
2772         * lyxfunc.C (dispatch):
2773         * bufferview_funcs.C (put_selection_at): adjust
2774
2775 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
2776
2777         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2778
2779 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2780
2781         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2782         nestings
2783
2784 2003-11-04  André Pönitz  <poenitz@gmx.net>
2785
2786         * cursor.[Ch]: restructure
2787
2788         * BufferView.[Ch]:
2789         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2790
2791         * iterators.[Ch] (asCursor): remove
2792
2793         * lfuns.h: remove LFUN_INSET_EDIT
2794
2795         * lyxfunc.C:
2796         * tabular.C:
2797         * text.C:
2798         * text2.C:
2799         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2800
2801 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2802
2803         * lyxfind.[Ch]: complete overhaul
2804         * BufferView_pimpl.C:
2805         * lyxfunc.C: adjust
2806         * paragraph.[Ch] (insert): add
2807
2808 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2809
2810         * BufferView.[Ch]:
2811         * lyxtext.h:
2812         * text.C: remove dead spellcheck code
2813
2814 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2815
2816         * dispatchresult.h: add a val setter
2817
2818         * cursor.C (dispatch): use a tempvar for data_[i]
2819
2820 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2821
2822         * PosIterator.[Ch]: compile fix
2823
2824 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2825
2826         * text.C (cursorPar): deactivate the cursor cache
2827
2828 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2829
2830         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2831
2832 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2833
2834         * text3.C (dispatch): adjust for new DisptchResult semantics.
2835
2836         * lyxfunc.C (dispatch): handle update when return from
2837         Cursor::dispatch, adjust for new DispatchResult semantics.
2838
2839         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2840         DispatchResult(true) mean to not update. Add class functions for
2841         setting dispatched and update, as well as reading.
2842
2843         * cursor.C (dispatch): don't handle update here
2844
2845 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2846
2847         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2848         * trans_mgr.C: adjust
2849
2850         * paragraph_funcs.C (readParToken): exception safety
2851
2852         * lyxvc.h: store the vcs pointer in a scoped_ptr
2853         * lyxvc.C: adjust
2854
2855         * lyxsocket.C (serverCallback): exception safety
2856
2857         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2858
2859         * ispell.C (clone): make it return a auto_ptr
2860
2861         * factory.C (createInset): exception safety
2862         (readInset): exception safety
2863
2864         * bufferlist.C (newBuffer): exception safety
2865
2866         * Thesaurus.C (Thesaurus): use initialization for aik_
2867
2868         * MenuBackend.C (expandToc): exception safety.
2869
2870 2003-11-03  André Pönitz  <poenitz@gmx.net>
2871
2872         * buffer.C:
2873         * buffer.h:
2874         * bufferview_funcs.C: remove getInsetFromId()
2875
2876         * lyxcursor.[Ch]:
2877         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2878
2879         * lyxfunc.C:
2880         * text2.C:
2881         * text3.C: adjust
2882
2883 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2884
2885         * PosIterator.C (distance, advance): new
2886         * bufferview_funcs.[Ch] (put_selection_at): new
2887         * iterators.[Ch] (lockPath): new
2888
2889 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
2890
2891         * iterators.[Ch] (asPosIterator): added
2892         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2893         * PosIterator.[Ch]: added
2894
2895 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2896
2897         * text3.C:
2898         * lyxfunc.C:
2899         * cursor.C (dispatch):
2900         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2901
2902         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2903         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2904         contructor, add a class function dispatched. Remove operator>=
2905
2906 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2907
2908         * debug.C: only use the default constructor for debugstream
2909         (lyxerr) here.
2910
2911         * main.C (main): include debug.h and setup the lyxerr streambuf
2912         here.
2913
2914 2003-10-31  José Matos  <jamatos@lyx.org>
2915
2916         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2917
2918         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2919         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2920         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2921         * paragraph_pimpl.C (simpleTeXSpecialC):
2922         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2923         add LatexRunParams argument.
2924
2925         * exporter.C (Export): change call accordingly.
2926
2927         * latexrunparams.h: add new member to take care of the other backends.
2928 2003-10-30  José Matos  <jamatos@lyx.org>
2929
2930         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2931         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2932         factorise code for paragraph output.
2933         * buffer.[Ch]:
2934         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2935         move functions.
2936
2937 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2938
2939         * text3.C (dispatch):
2940         * lyxfunc.C (dispatch):
2941         * cursor.C (dispatch):
2942         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2943
2944         * dispatchresult.h: make the dispatch_result_t ctor explicit
2945
2946 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
2947
2948         * sgml.[Ch]:
2949         * buffer.C: small refactoring of docbook stuff
2950
2951 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2952
2953         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2954         meaning.
2955
2956 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2957
2958         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2959         operator dispatch_result_t, and operators for == != and >=
2960
2961         * cursor.C (dispatch): adjust for operator dispatch_result_t
2962         removal. comment out call to update
2963
2964         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2965
2966 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2967
2968         * text3.C:
2969         * text2.C:
2970         * text.C:
2971         * lyxtext.h:
2972         * lyxfunc.C:
2973         * cursor.C:
2974         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2975         (dispatch):
2976
2977         * dispatchresult.h: new file, DispatchResult broken out of
2978         insets/insetbase.h
2979
2980         * Makefile.am (lyx_SOURCES): add dispatchresult.h
2981
2982 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2983
2984         * text.C (rowBreakPoint): put a hack inside #if 0
2985
2986 2003-10-28  André Pönitz  <poenitz@gmx.net>
2987
2988         * lyxtext.h:
2989         * metricsinfo.C:
2990         * paragraph_funcs.C:
2991         * rowpainter.C:
2992         * text.C:
2993         * text2.C: general cleanup (lots of small stuff)
2994
2995 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2996
2997         * text2.C (cursorEnd): simple fix to the "end key goes to one
2998         before the end on last row" bug
2999
3000 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3001
3002         * text.C (backspace): fix the "zombie characters"
3003
3004 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3005
3006         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3007
3008 2003-10-27  André Pönitz  <poenitz@gmx.net>
3009
3010         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3011
3012         * factory.C: handle new InsetPagebreak, InsetLine
3013
3014         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3015         and move handling into new InsetPagebreak, InsetLine
3016
3017         * BufferView_pimpl.C:
3018         * LyXAction.C:
3019         * ParagraphParameters.C:
3020         * ParameterStruct.h:
3021         * lyxfunc.C:
3022         * lyxtext.h:
3023         * paragraph.C:
3024         * paragraph.h:
3025         * paragraph_funcs.C:
3026         * paragraph_pimpl.C:
3027         * rowpainter.C:
3028         * text.C:
3029         * text2.C:
3030         * text3.C: adjust
3031
3032 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3033
3034         * text.C:
3035         * lyxrow_funcs.[Ch]:
3036         * Bidi.C:
3037         * paragraph.C:
3038         * lyxtext.h:
3039         * rowpainter.C:
3040         * text2.C:
3041         * text3.C: remove lastPos uses in favour of Row::endpos
3042
3043 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3044
3045         * undo.C (performUndoOrRedo): fix two crashes by setting a
3046         cursor by hand and reordering some calls. Use bv->lockInset instead
3047         of inset->edit because the latter loses cursor information
3048
3049 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
3050
3051         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3052         by Martin
3053         (rowBreakPoint): fix width. change point to point + 1.
3054         Add a missing check.
3055
3056 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
3057
3058         * MenuBackend.C:
3059         * lyxfunc.C: fix (at least partly) the problems
3060         with the Nav menu and headers inside branch insets
3061         reported by Kayvan
3062
3063 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
3064
3065         * paragraph.C (getChar): add strong asserts
3066
3067         * lyxrow_funcs.C (lastPos): remove hideous hack
3068
3069         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3070         (fill): adjust to that (avoid an infinite loop)
3071
3072 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3073
3074         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3075
3076 2003-10-23  André Pönitz  <poenitz@gmx.net>
3077
3078         * RowList_fwd.h: change list<> to vector<> to gain speed
3079         after suggestion from Alfredo
3080
3081 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3082
3083         * lyxtext.h: move the bidi stuff from here...
3084         * text.C: and here
3085         * text2.C: and here
3086         * Bidi.[Ch]: ... to here
3087
3088 2003-10-23  André Pönitz  <poenitz@gmx.net>
3089
3090         * lyxtext.h:
3091         * text.C (isLastRow, isFirstRow): new functions
3092
3093         * paragraph.h: new width cache member
3094
3095         * rowpainter.C: replace RowList::iterator with Row & where possible
3096
3097         * lyxfunc.C: replace several view()->text with a single call
3098
3099         * toc.C: fix 'unused' warning
3100
3101 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3102
3103         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3104         when woring with stream::pos_type
3105         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3106
3107 2003-10-22  André Pönitz  <poenitz@gmx.net>
3108
3109         * lyxtext.h:
3110         * text.C: use Row & instead of RowList::iterator
3111
3112         * lyxrow.h: rename end() to endpos()
3113
3114         * rowpainter.C:
3115         * text.C:
3116         * text2.C: adjust
3117
3118 2003-10-22  Angus Leeming  <leeming@lyx.org>
3119
3120         * buffer.[Ch] (fully_loaded): new member function, returning true
3121         only when the file has been loaded fully.
3122         Used to prevent the premature generation of previews and by the
3123         citation inset to prevent computation of the natbib-style label.
3124
3125         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3126         templates are all set up.
3127
3128         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3129
3130 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
3131
3132         * text.C: fixed an "oops" in the "is a bit silly"
3133         bug fix
3134
3135 2003-10-21  André Pönitz  <poenitz@gmx.net>
3136
3137         * FuncStatus.[Ch]: small stuff, whitespace
3138
3139         * lyxfont.[Ch]: operator<<() for debug reasons
3140
3141         * lyxfunc.C:
3142         * lyxrow_funcs.C:
3143         * lyxtext.h: whitespace, spelling
3144
3145         * paragraph.C: naming of variables
3146
3147         * text.C:
3148         * text2.C: small stuff
3149
3150
3151 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
3152
3153         * text.C: (1) finish off the inset display() work;
3154         (2) fix the "is a bit silly" bug (accessing char
3155         past end of par).
3156
3157 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
3158
3159         * text.C: re-introduce display() for insets, fixing the
3160         various bugs (stretch of line above, math inset
3161         positioning, ...)
3162
3163 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3164
3165         * text.C (rightMargin): remove spurious semicolon
3166
3167         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3168         1415)
3169
3170 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
3171
3172         * text3.C: fix one crash due to wrong cursor def
3173
3174 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3175
3176         * vc-backend.C (scanMaster): make the regex static
3177
3178         * LaTeX.C (scanAuxFile): make the regexs static
3179
3180         * text3.C (doInsertInset, dispatch, dispatch):
3181         * text2.C (cursorUp, cursorDown):
3182         * text.C (selectNextWordToSpellcheck):
3183         * BufferView_pimpl.C (dispatch):
3184         * lyxfunc.C (dispatch):  localDispatch -> dispatch
3185
3186 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3187
3188         * lyxsocket.C: include <cerrno>
3189
3190 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3191
3192         * lyxfunc.C (dispatch): remove textcache stuff
3193
3194         * bufferlist.C (release): remove textcache stuff
3195         (closeAll): ditto
3196
3197         * TextCache.C: delete file
3198         * TextCache.h: delete file
3199
3200         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3201
3202         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3203         delete of the bv_->text.
3204         (resizeCurrentBuffer): remove texcache stuff
3205         (workAreaResize): ditto
3206
3207 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3208
3209         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3210         action.
3211
3212 2003-10-16  André Pönitz  <poenitz@gmx.net>
3213
3214         * lyxrow.[Ch]:
3215         * paragraph.h:
3216         * rowpainter.C:
3217         * text.C:
3218         * text2.C:
3219         * text3.C: speed up by storing y positions per paragraph plus per-row
3220         offset instead of having a 'full' y position in the row.
3221
3222 2003-10-15  André Pönitz  <poenitz@gmx.net>
3223
3224         * iterators.[Ch]:
3225         * iterators.[Ch]:
3226         * undo.[Ch]: make undo aware of inner insets
3227
3228 2003-10-14  Angus Leeming  <leeming@lyx.org>
3229
3230         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3231         static member functions LyX::ref() and LyX::cref.
3232         (lastfiles): new accessor functions for the new lastfiles_ member var.
3233         (addLyXView, views_): add a new LyXView to the list of views_.
3234         (updateInset): loop over all LyXViews to call their own updateInset
3235         member function, returning a pointer to the Buffer owning the inset.
3236
3237         * BufferView_pimpl.C (loadLyXFile):
3238         * MenuBackend.C (expandLastfiles):
3239         * bufferlist.C (MenuWrite, QuitLyX):
3240         lastfiles is no longer a global variable.
3241         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3242
3243         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3244         static function. Access through LyX::cref().emergencyCleanup().
3245
3246 2003-10-14  André Pönitz  <poenitz@gmx.net>
3247
3248         * iterators.[Ch]: new direct access to innermost LyXText and Inset
3249
3250         * undo.[Ch]: restoring part of 'undo in insets'
3251
3252         * Makefile.am:
3253         * undo_funcs.[Ch]: merge with undo.[Ch]
3254
3255         * tabular.C: small cleansing stuff
3256
3257 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
3258
3259         * paragraph_funcs.C (readParToken): report unknown insets as error
3260         boxes. Use the outer paragraph as location (also for unknown
3261         tokens).
3262
3263         * factory.C (readInset): do not abort on reading an unknown inset.
3264         Eat it and return 0.
3265
3266 2003-10-13  Angus Leeming  <leeming@lyx.org>
3267
3268         * lyx_main.C (LyX): remove call to setDisplayTranslator().
3269
3270         * lyxrc.C: displayTranslator is now a function,
3271         declared in GraphicsTypes.h.
3272
3273 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3274
3275         * format.C: new placeholder $$a to pass the socket address.
3276
3277         * bufferlist.[Ch]: new function getBufferFromTmp.
3278
3279         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3280           files in the temporary dir.
3281
3282 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3283
3284         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3285
3286         * Makefile.am: add lyxsocket.[Ch].
3287
3288         * lyx_main.C (error_handler): handle SIGPIPE.
3289
3290 2003-10-13  André Pönitz  <poenitz@gmx.net>
3291
3292         * BufferView_pimpl.C:
3293         * lyxtext.h:
3294         * text.C:
3295         * text2.C:
3296         * text3.C:
3297         * undo_funcs.[Ch]: use paroffset_type instead of
3298           ParagraphList::iterators to prevent multiple conversion
3299           (and get a more robust interface)
3300
3301 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3302
3303         * lyxfunc.C (dispatch): RESULT -> dispatch_result
3304         * lyxtext.h: ditto
3305         * text3.C (dispatch): ditto
3306
3307 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3308
3309         * LaTeX.C (handleFoundFile): move the static to smaller scope,
3310         move the onlyfile, use onlyfile instead of foundfile in a couple
3311         of places.
3312
3313         * DepTable.C (update): flush the error stream a bit more
3314
3315 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3316
3317         * lyxserver.C (callback): adjust
3318
3319         * lyxfunc.C (getStatus): add a missing brace in commented code
3320         (ensureBufferClean): reindent
3321         (dispatch): delete version taking a string
3322
3323 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3324
3325         * LaTeX.C (deplog): move found file handlig from here...
3326         (handleFoundFile): .. to new function here.
3327         (deplog): make sure to discover several files mentioned on the
3328         same log line.
3329
3330 2003-10-10  André Pönitz  <poenitz@gmx.net>
3331
3332         * lyxfunc.C:
3333         * lyxtext.h:
3334         * tabular.C:
3335         * text.C:
3336         * text2.C:
3337         * text3.C: fix some of the tabular crashes
3338
3339 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3340
3341         * MenuBackend.C (binding): put debug message into Debug::KBMAP
3342
3343         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3344
3345 2003-10-09  André Pönitz  <poenitz@gmx.net>
3346
3347         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3348
3349         * BufferView.C:
3350         * BufferView_pimpl.C:
3351         * bufferview_funcs.C:
3352         * lyx_cb.C:
3353         * lyxcursor.C:
3354         * lyxfind.C:
3355         * lyxfunc.C:
3356         * lyxtext.h:
3357         * text.C:
3358         * text2.C:
3359         * text3.C:
3360         * text_funcs.[Ch]:
3361         * textcursor.[Ch]:
3362         * undo_funcs.C: adjust
3363
3364 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3365
3366         * text2.C (incrementItemDepth): new function, use a backtracking
3367         algorithm to discover the correct item depth.
3368         (resetEnumCounterIfNeeded): new function, use a backtracking
3369         algorithm to discover if counter reset is needed.
3370         (setCounter): use them. Simplify a bit. Add different labels for
3371         different item depths for itemize.
3372
3373         * paragraph.C (Paragraph): remove initialization of enumdepth
3374         (operator=): ditto
3375
3376         * paragraph.h: get rid of enumdepth, and use itemdepth both for
3377         enumerate and itemize. Change the type of itemdepth to signed char.
3378
3379 2003-10-08  André Pönitz  <poenitz@gmx.net>
3380
3381         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3382           thing assignable.
3383         * text.C:
3384         * text2.C: adjust
3385
3386         * tabular.[Ch]: fix crash after 'row-insert'
3387
3388 2003-10-08  Angus Leeming  <leeming@lyx.org>
3389
3390         Fix doxygen warnings.
3391
3392         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3393         Remove CutAndPaste:: prefix from header file declaration.
3394
3395         * LColor.h (fill): remove LColor:: prefix from declaration.
3396
3397         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3398         use lyx::depth_type rather than Paragraph::depth_type so that
3399         header file and .C file match.
3400
3401         * converter.h (intToFormat): remove Converters:: prefix from declaration.
3402
3403         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3404         * aspell.C: \file aspell_local.C -> \file aspell.C
3405         * gettext.C: \file gettext.C -> \file src/gettext.C
3406         * gettext.h: \file gettext.h -> \file src/gettext.h
3407         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3408         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3409         * text.C: \file text.C -> \file src/text.C
3410
3411         * toc.C: move comment so that doxygen is not confused.
3412
3413 2003-10-07  Angus Leeming  <leeming@lyx.org>
3414
3415         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3416
3417 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3418
3419         * aspell.C:
3420         * aspell_local.h: add forgotten std::string's.
3421
3422 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3423
3424         * LaTeXFeatures.C:
3425         * LyXAction.C:
3426         * factory.C:
3427         * lfuns.h:
3428         * lyxfunc.C:
3429         * text3.C: The Box patch. Fancybox support, minipage, parbox
3430
3431 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3432
3433         * CutAndPaste.h:
3434         * DepTable.h:
3435         * FloatList.h:
3436         * LaTeXFeatures.h:
3437         * ParagraphParameters.h:
3438         * TextCache.h:
3439         * Thesaurus.h:
3440         * bufferlist.h:
3441         * exporter.h:
3442         * importer.h:
3443         * lastfiles.h:
3444         * lyxfind.h:
3445         * lyxfont.h:
3446         * lyxlex.h:
3447         * lyxtextclasslist.h:
3448         * messages.h:
3449         * paragraph.h:
3450         * paragraph_pimpl.C:
3451         * textcursor.h: add <string> and other small fixes to make Lars'
3452         std::string patch compile with STLport.
3453
3454 2003-10-06  Angus Leeming  <leeming@lyx.org>
3455
3456         * LColor.h: Add missing #include <string>.
3457
3458 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3459
3460         * All most all file in all subdirs: Make <string> be the prefered
3461         way of getting to std::string, add using declarations.
3462
3463 2003-10-06  André Pönitz  <poenitz@gmx.net>
3464
3465         * metricsinfo.C: initialize LyXFont before changing attribute.
3466         (fixes the 'math in \emph is upright' bug)
3467
3468 2003-10-06  André Pönitz  <poenitz@gmx.net>
3469
3470         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3471
3472 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
3473
3474         * graph.C:
3475         * paragraph_pimpl.C: Small fixes to build using STLport
3476
3477 2003-10-02  André Pönitz  <poenitz@gmx.net>
3478
3479         * lyxfunc.C:
3480         * text3.C: move handling of LFUN_DEPTH *; fix #1360
3481
3482 2003-10-01  André Pönitz  <poenitz@gmx.net>
3483
3484         * factory.C: assert early
3485
3486 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3487
3488         * lyx_main.C: remove the global debug object
3489
3490         * debug.h: adjust for new debugstream
3491
3492         * debug.C: adjust for new debugstream and keep the global debug
3493         object here.
3494
3495 2003-09-22  Angus Leeming  <leeming@lyx.org>
3496
3497         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3498         of g++ which otherwise complain that the scoped_ptr destructor can't delete
3499         an incomplete class LyXFont.
3500
3501 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
3502
3503         * factory.C: bug fix in branches
3504
3505 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3506
3507         * lyxfunc.C (processKeySym): adjust
3508         (dispatch): adjust
3509         (dispatch): change arg name from ev to func, adjust
3510         (sendDispatchMessage): ditto
3511
3512         * lyx_main.C (defaultKeyBindings): adjust keybindings
3513         (deadKeyBindings): ditto
3514
3515         * kbsequence.C (addkey): return a FuncRequest
3516
3517         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3518
3519         * kbmap.C (bind): take a FuncRequest as arg, adjust
3520         (read): adjust
3521         (lookup): adjust
3522         (defkey): change to take a FuncRequest as arg, adjust
3523         (findbinding): take a FuncRequest as arg, adjust.
3524
3525         * funcrequest.h (operator=): added
3526
3527         * funcrequest.C (FuncRequest): default kb_action changed from
3528         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3529
3530         * buffer.C (dispatch): simplify
3531         (dispatch): adjust to take a FuncRequest as arg, adjust
3532
3533         * boost.C (assertion_failed): change assertion message slightly
3534
3535         * ToolbarBackend.C (read): simplify
3536
3537         * MenuBackend.C (binding): adjust call to findbinding, add a
3538         message if no binding is found.
3539         (read): simplify
3540         (expandToc): correct by adding a empty FuncRequest
3541
3542         * LyXAction.C: include <boost/assert.hpp>
3543         (isPseudoAction): delete function
3544         (LookupFunc): change name to...
3545         (lookupFunc): this. change return type to FuncRequest.
3546         (getActionName): take kb_action as arg, simplify
3547         (funcHasFlag): add an assert, simplify.
3548
3549 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3550
3551         * toc.C (action): return a FuncRequest, simplify
3552
3553         * lyxfunc.C (processKeySym): adjust
3554         (getStatus): delete version that takes an int.
3555         (getStatus): adjust
3556         (dispatch): delete version that takes action as int
3557         (dispatch): adjust
3558         (sendDispatchMessage): simplify and adjust
3559
3560         * funcrequest.C (getArg): take unsigned int as arg
3561
3562         * ToolbarBackend.C (read): adjust
3563         (add): delete version that takes func as a string.
3564         (getIton): take a FuncRequest as arg
3565
3566         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3567         action.
3568
3569         * MenuBackend.C (MenuItem): add a new construct that only takes a
3570         Kind, simplify the constructor use for submenus.
3571         (add): adjust
3572         (expandLastfiles): adjust
3573         (expandDocuments): adjust
3574         (expandFormats): adjust
3575         (expandFloatListInsert): adjust
3576         (expandFloatInsert): adjust
3577         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3578
3579         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3580         Remove class variables lyx_pseudo_map and lyx_arg_map
3581
3582         * LyXAction.C (searchActionArg): delete function
3583         (getPseudoAction): delete function
3584         (retrieveActionArg): delete function
3585         (LookupFunc): make it return kb_action, simplify.
3586         (getActionName): simplify
3587
3588         * factory.C (createInset): fix new bug
3589
3590 2003-09-19  Angus Leeming  <leeming@lyx.org>
3591
3592         * CutAndPaste.C (pasteSelection): remove fudge used to set the
3593         masterFilename_ parameter in the include inset.
3594
3595         * factory.C (createInset): changes due to the changes to InsetInclude.
3596
3597 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3598
3599         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3600
3601 2003-09-18  Angus Leeming  <leeming@lyx.org>
3602
3603         * buffer.C:
3604         * BufferView.C: pass the buffer when calling Inset::getLabelList,
3605         Inset::fillWithBibKeys.
3606         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3607
3608 2003-09-18  Angus Leeming  <leeming@lyx.org>
3609
3610         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3611         variables.
3612         (ctor): pass and store a 'Buffer const &'
3613         (buffer): new member function.
3614
3615         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3616         '*this' to the LaTeXFeatures ctor.
3617
3618 2003-09-18  Angus Leeming  <leeming@lyx.org>
3619
3620         * LColor.h:
3621         * lyxfont.C:
3622         * lyxfont.h:
3623         * lyxtext.h:
3624         * text.C: rename EnumLColor as LColor_color.
3625
3626 2003-09-18  Angus Leeming  <leeming@lyx.org>
3627
3628         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3629         remove #include "insets/insetbase.h" from cursor.h.
3630
3631 2003-09-18  Angus Leeming  <leeming@lyx.org>
3632
3633         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3634         InsetOld_code to remove #include "inset.h".
3635
3636         * iterators.C: add #include "insets/inset.h"
3637
3638 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
3639
3640         * BufferView.C: remove more locking stuff that apparently doesn't
3641         do anything sensible.
3642
3643 2003-09-16  André Pönitz  <poenitz@gmx.net>
3644
3645         * paragraph.[Ch]:
3646         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3647           performance boost.
3648
3649 2003-09-16  Angus Leeming  <leeming@lyx.org>
3650
3651         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3652
3653         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3654         arg/return type.
3655
3656         * paragraph.h: remove #include "lyxfont.h". Forward declare
3657         LyXFont_size.
3658
3659 2003-09-16  Angus Leeming  <leeming@lyx.org>
3660
3661         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3662         of support/textutils.h.
3663         (isWord): move the contents of support/textutils.h's IsWordChar here.
3664
3665         * buffer.C:
3666         * lyxfind.C:
3667         * rowpainter.C:
3668         * text.C:
3669         * text2.C: add #include "paragraph.h".
3670
3671         * rowpainter.C:
3672         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3673
3674 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3675
3676         * main.C:
3677         * lyx_main.C:
3678         * lyx_cb.C:
3679         * buffer.C:
3680         * LaTeX.C: use namespace alias for lyx::support::os
3681
3682 2003-09-16  Angus Leeming  <leeming@lyx.org>
3683
3684         * bufferparams.C:
3685         * bufferview_funcs.C:
3686         * factory.C:
3687         * lyxfunc.C:
3688         * paragraph_pimpl.C:
3689         * rowpainter.C:
3690         * text.C: add #include "LColor.h".
3691
3692 2003-09-16  Angus Leeming  <leeming@lyx.org>
3693
3694         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3695         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3696         return LyXFont &.
3697         Store the FontBits::color variable as an int rather than as an
3698         LColor::colorso that we can move LColor.h out of the lyxfont.h header
3699         file.
3700
3701         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3702         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3703         string calls together.
3704
3705         * lyxrc.C: add #include "LColor.h".
3706
3707 2003-09-15  Angus Leeming  <leeming@lyx.org>
3708
3709         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3710         a cow_ptr.
3711
3712 2003-09-15  Angus Leeming  <leeming@lyx.org>
3713
3714         * LColor.h: add an EnumLColor wrapper for LColor::color.
3715
3716         * lyxfont.[Ch] (color, setColor, realColor):
3717         * lyxtext.h, text.C (backgroundColor):
3718         pass EnumLColor args to/from the functions, rather than LColor::color
3719         ones.
3720
3721         * lyxfont.h:
3722         * lyxtext.h: forward declare EnumLColor.
3723
3724         * lyx_main.C: add #include "LColor.h".
3725
3726 2003-09-15  Angus Leeming  <leeming@lyx.org>
3727
3728         * .cvsignore: add lyx-gtk.
3729
3730 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3731
3732         * Chktex.C
3733         * LaTeX.C
3734         * LaTeXFeatures.C
3735         * ParagraphParameters.C
3736         * Spacing.C
3737         * buffer.C
3738         * bufferparams.C
3739         * bufferview_funcs.C
3740         * chset.C
3741         * counters.C
3742         * funcrequest.C
3743         * lyxfont.C
3744         * lyxgluelength.C
3745         * lyxlength.C
3746         * paragraph.C
3747         * paragraph_funcs.C
3748         * text3.C
3749         * vc-backend.C: remove usage of STRCONV
3750
3751 2003-09-15  Angus Leeming  <leeming@lyx.org>
3752
3753         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3754         explicitly define the color passed to the painter.
3755
3756 2003-09-15  Angus Leeming  <leeming@lyx.org>
3757
3758         * bufferparams.C (BufferParams): reorder member initializers to avoid
3759         compiler warning.
3760
3761 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
3762
3763         * CutAndPaste.C (pasteSelection): remove an outdated #warning
3764         * text.C (updateRowPositions): remove an unusual nop
3765
3766 2003-09-12  André Pönitz  <poenitz@gmx.net>
3767
3768         * BufferView_pimpl.C:
3769         * Bullet.C:
3770         * layout.h:
3771         * lyxfunc.C:
3772         * lyxlayout.[Ch]:
3773         * lyxtextclass.C:
3774         * rowpainter.C:
3775         * text.C:
3776         * text2.C:
3777         * Counters.[Ch]: finish the 'automatic counters' job
3778
3779 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3780
3781         * aspell.C: include <boost/assert.cpp> (compile fix)
3782
3783 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
3784
3785         * boost.C (assertion_failed): use lyx::support::abort instead of
3786         assert.
3787
3788 2003-09-10  Angus Leeming  <leeming@lyx.org>
3789
3790         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3791         with their _fwd progeny.
3792
3793 2003-09-09  Angus Leeming  <leeming@lyx.org>
3794
3795         134 files throughtout the source tree: replace 'using namespace abc;'
3796         directives with the appropriate 'using abc::xyz;' declarations.
3797
3798 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3799
3800         * boost.C (emergencyCleanup): moved here from LAssert.c
3801         (assertion_failed): new function, called by BOOST_ASSERT
3802
3803         * several files: change Assert to BOOST_ASSERT
3804
3805 2003-09-09  Angus Leeming  <leeming@lyx.org>
3806
3807         * buffer.[Ch]: Add an Impl class and move Buffer's member
3808         variables into it. As a result move several header files out of
3809         buffer.h.
3810
3811         Add header files to lots of .C files all over the tree as a result.
3812
3813 2003-09-09  Angus Leeming  <leeming@lyx.org>
3814
3815         * buffer.[Ch]: make Buffer's member variables private. Add
3816         accessor functions.
3817
3818         Lots of changes all over the tree as a result.
3819
3820 2003-09-08  Angus Leeming  <leeming@lyx.org>
3821
3822         * graph.C: #include <config.h>.
3823
3824 2003-09-08  Angus Leeming  <leeming@lyx.org>
3825
3826         * BranchList.C:
3827         * BufferView.C:
3828         * BufferView_pimpl.C:
3829         * CutAndPaste.C:
3830         * DepTable.C:
3831         * LaTeX.C:
3832         * LaTeXFeatures.C:
3833         * LyXAction.C:
3834         * MenuBackend.C:
3835         * TextCache.C:
3836         * aspell.C:
3837         * buffer.C:
3838         * bufferlist.C:
3839         * changes.C:
3840         * chset.C:
3841         * converter.C:
3842         * counters.C:
3843         * debug.C:
3844         * graph.C:
3845         * ispell.C:
3846         * lyx_cb.C:
3847         * lyxfind.C:
3848         * lyxfunc.C:
3849         * lyxlex_pimpl.C:
3850         * lyxrc.C:
3851         * lyxrow.C:
3852         * paragraph.C:
3853         * rowpainter.C:
3854         * texrow.C:
3855         * text.C:
3856         * text2.C:
3857         * toc.C: remove redundant using directives.
3858
3859 2003-09-07  Angus Leeming  <leeming@lyx.org>
3860
3861         * LaTeXFeatures.h: remove #include "support/types.h".
3862         * ToolbarBackend.h: remove #include <algorithm>.
3863         * changes.h: remove #include <ctime>.
3864         * debug.h: remove #include <iosfwd>.
3865         * graph.h: remove #include "support/std_string.h".
3866         * lyx_main.h: remove #include <csignal>.
3867         * lyxlex_pimpl.h: remove #include <fstream>.
3868         * sgml.h: remove #include <algorithm>, <utility>.
3869         * toc.h: remove #include "support/std_ostream.h".
3870         Add #include <iosfwd>.
3871
3872 2003-09-07  Angus Leeming  <leeming@lyx.org>
3873
3874         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3875
3876         * converter.h: forward declare LatexRunParams.
3877         * encoding.h: remove #include "lyxrc.h".
3878         * lyxtext.h: remove #include "LColor.h".
3879         * lyxtextclass.h: remove #include "support/types.h".
3880         * trans.h: remove #include "tex-accent.h".
3881         * trans_mgr.h: remove #include "tex-accent.h".
3882         * insets/inset.h: remove #include "support/types.h", <vector>.
3883         * insets/insetcollapsable.h: remove #include "LColor.h".
3884         * insets/insetinclude.h: remove #include "dimension.h".
3885         * insets/insetlatexaccent.h: remove #include "dimension.h".
3886         * insets/insetoptarg.h:: remove #include "insettext.h".
3887         * insets/insettext.h: remove #include "dimension.h",
3888         <boost/shared_ptr.hpp>
3889
3890         * insets/renderers.h: add #include "dimension.h".
3891         * insets/updatableinset.h: add #include "support/types.h".
3892
3893         * many .C files: Associated changes.
3894
3895 2003-09-06  Angus Leeming  <leeming@lyx.org>
3896
3897         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3898         one, inside testInvariant.
3899
3900         * PrinterParams.C: new file.
3901         * PrinterParams.[Ch]: move the function bodies out of line.
3902
3903 2003-09-06  Angus Leeming  <leeming@lyx.org>
3904
3905         * ParagraphParameters.h: forward declare ParameterStruct rather than
3906         including its header file.
3907         (depth): moved out-of-line.
3908
3909 2003-09-06  Angus Leeming  <leeming@lyx.org>
3910
3911         * BufferView_pimpl.h:
3912         * kbmap.h:
3913         * kbsequence.h:
3914         * lyxfunc.h: forward declare LyXKeySym rather than
3915         #include "frontends/LyXKeySym.h".
3916
3917         * BufferView_pimpl.C:
3918         * kbmap.C:
3919         * kbsequence.C:
3920         * lyxfunc.C: associated changes.
3921
3922 2003-09-06  Angus Leeming  <leeming@lyx.org>
3923
3924         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3925         As a result, can remove the #include "insets/inset.h" from BufferView.h
3926
3927 2003-09-06  Angus Leeming  <leeming@lyx.org>
3928
3929         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3930         As a result, can remove the #include "insets/inset.h" from BufferView.h
3931
3932 2003-09-06  Angus Leeming  <leeming@lyx.org>
3933
3934         * buffer_funcs.C:
3935         * buffer.h:
3936         * bufferlist.C:
3937         * BufferView.C:
3938         * bufferview_funcs.C:
3939         * BufferView_pimpl.C:
3940         * CutAndPaste.C:
3941         * lyx_cb.C:
3942         * lyxfunc.C:
3943         * paragraph.h:
3944         * ParagraphParameters.C:
3945         * tabular.C:
3946         * text3.C:
3947         * toc.C:
3948         * undo_funcs.C:
3949         * frontends/controllers/ControlDocument.C:
3950         * insets/insetcaption.C: rearrange the #includes into some sort of
3951         coherent order.
3952
3953         * buffer.h: remove #includes ErrorList.h, undo.h
3954
3955 2003-09-06  Angus Leeming  <leeming@lyx.org>
3956
3957         * support/types.h: add a 'depth_type' typedef, used to store the
3958         nesting depth of a paragraph.
3959
3960         * paragraph.h:
3961         * ParameterStruct.h: use this lyx::depth_type typedef rather than
3962         defining explicitly.
3963
3964         * buffer.h:
3965         * paragraph_funcs.h:
3966         * ParagraphParameters.h:
3967         * sgml.h: use lyx::depth_type rather than Paragraph or
3968         ParameterStruct's depth_type.
3969
3970         * buffer.h
3971         * paragraph_funcs.h: no need to #include paragraph.h anymore.
3972
3973         * BufferView.C:
3974         * BufferView_pimpl.C:
3975         * CutAndPaste.C:
3976         * ParagraphParameters.C:
3977         * buffer_funcs.C:
3978         * bufferlist.C:
3979         * bufferview_funcs.C:
3980         * lyx_cb.C:
3981         * lyxfunc.C:
3982         * tabular.C:
3983         * text3.C:
3984         * toc.C:
3985         * undo_funcs.C:
3986         * frontends/LyXView.C:
3987         * frontends/controllers/ControlDocument.C:
3988         * frontends/controllers/ControlErrorList.C:
3989         * insets/insetbibitem.C:
3990         * insets/insetbranch.C:
3991         * insets/insetcaption.C:
3992         * insets/insetcollapsable.C:
3993         * insets/insetenv.C:
3994         * insets/insetert.C:
3995         * insets/insetfloat.C:
3996         * insets/insetfoot.C:
3997         * insets/insetfootlike.C:
3998         * insets/insetnewline.C:
3999         * insets/insetquotes.C:
4000         * insets/insettabular.C:
4001         * insets/insettext.C:
4002         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4003
4004         * frontends/controllers/ControlChanges.C: #include "changes.h".
4005
4006 2003-09-06  Angus Leeming  <leeming@lyx.org>
4007
4008         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4009         than #including paragraph.h.
4010
4011         * ParagraphList.h:
4012         * RowList.h: deleted. Superfluous.
4013
4014         * CutAndPaste.h:
4015         * iterators.h:
4016         * lyxcursor.h:
4017         * lyxtext.h:
4018         * text_funcs.h:
4019         * undo.h:
4020         * undo_funcs.h:
4021         * insets/inset.h:
4022         * insets/insettext.h: use ParagraphList_fwd.h rather than
4023         ParagraphList.h.
4024
4025         * paragraph.h: don't forward declare ParagraphList.
4026
4027         * buffer.h:
4028         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4029         rather than ParagraphList.h. paragraph.h is still needed for the
4030         Paragraph::depth_type parameters.
4031
4032         * textcursor.h: enable it to compile stand-alone in light of the
4033         above changes.
4034
4035         * bufferview_funcs.C:
4036         * iterators.C:
4037         * lyxfunc.C:
4038         * lyxrow_funcs.C:
4039         * paragraph.C:
4040         * rowpainter.C:
4041         * text.C:
4042         * text2.C:
4043         * text3.C:
4044         * text_funcs.C:
4045         * textcursor.C:
4046         * undo.C:
4047         * frontends/controllers/ControlParagraph.C:
4048         * frontends/controllers/ControlTabular.C:
4049         * insets/insetmarginal.C:
4050         * insets/insetminipage.C:
4051         * insets/insetnote.C:
4052         * insets/insetoptarg.C: add header files needed to compile again.
4053
4054 2003-09-06  Angus Leeming  <leeming@lyx.org>
4055
4056         * RowList_fwd.h: new file, forward-declaring Row rather than
4057         #including lyxrow.h.
4058
4059         * lyxrow_funcs.h:
4060         * lyxtext.h:
4061         * paragraph.h:
4062         * insets/insettext.h: use it instead of RowList.h
4063
4064         * bufferview_funcs.C:
4065         * lyxfunc.C:
4066         * lyxrow_funcs.C:
4067         * paragraph.C:
4068         * rowpainter.C:
4069         * text.C:
4070         * text2.C:
4071         * text3.C: #include "RowList.h".
4072
4073 2003-09-05  Angus Leeming  <leeming@lyx.org>
4074
4075         * factory.C (createInset):
4076         * vspace.C (c-tor): replace sscanf call with an istringstream.
4077         * ispell.C: re-add missing HP/UX headers.
4078         * lyxserver.C: re-add missing  os2 headers.
4079
4080 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
4081
4082         * BranchList.C:
4083         * graph.C:
4084         * ispell.C:
4085         * lastfiles.C:
4086         * lyx_cb.C:
4087         * lyxserver.C:
4088         * texrow.C:
4089         * text3.C: re-add missing system headers, needed for 2.95.2.
4090
4091 2003-09-05  Angus Leeming  <leeming@lyx.org>
4092
4093         Changes most place everywhere due to the removal of using directives
4094         from support/std_sstream.h.
4095
4096 2003-09-05  Angus Leeming  <leeming@lyx.org>
4097
4098         Replace LString.h with support/std_string.h,
4099         Lsstream.h with support/std_sstream.h,
4100         support/LIstream.h with support/std_istream.h,
4101         support/LOstream.h with support/std_ostream.h.
4102
4103         Changes resulting throughout the tree.
4104
4105 2003-09-05  Angus Leeming  <leeming@lyx.org>
4106
4107         * sgml.h: ensure that the header file can be compiled stand-alone.
4108         * *.C: strip out redundant #includes. (320 in total.)
4109
4110 2003-09-04  Angus Leeming  <leeming@lyx.org>
4111
4112         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4113         here (from getPackages).
4114
4115         * debug.[Ch]: add a new EXTERNAL tag.
4116
4117 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4118
4119         * text2.C (cursorEnd): simplify
4120         (setCursor): adjust
4121         (getColumnNearX): adjust
4122
4123         * text.C (computeBidiTables): adjust
4124         (fill): adjust
4125
4126         * rowpainter.C (paintChars): adjust
4127         (paintSelection): adjust
4128         (paintChangeBar): adjust
4129         (paintText): adjust
4130
4131         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4132         lastPos instead.
4133         (numberOfSeparators): adjust
4134
4135 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4136
4137         * LyXAction.C:
4138         * box.[Ch]:
4139         * lfuns.h:
4140         * lyxfunc.C:
4141         * text3.C: Restricts the mouse click functionality
4142         of insets like bibtex, include, toc and floatlist to the visible
4143         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4144         up the dialogs. Cursor has to be in front of the inset (i.e.
4145         start of row) for this to function.
4146
4147 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4148
4149         * bufferview_funcs.C (currentState): output row information
4150
4151 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4152
4153         * bufferview_funcs.C (currentState): output paragraph position
4154
4155 2003-09-04  Angus Leeming  <leeming@lyx.org>
4156
4157         * FloatList.h: move out #include "Floating.h".
4158         * LaTeX.h: move out #include "DepTable.h".
4159         * LyXAction.h: move out #include "funcrequest.h".
4160         * buffer.h: move out #include "author.h", "iterators.h".
4161         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4162         * lyx_main.h: move out #include "errorlist.h".
4163         * lyxfunc.h: move out #include "FuncStatus.h".
4164         * lyxtext: move out #include "lyxcursor.h".
4165         * paragraph_pimpl.h: move out #include "counters.h".
4166
4167 2003-09-03  Angus Leeming  <leeming@lyx.org>
4168
4169         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4170         preamble_snippets list, enabling us to add snippets to the preamble
4171         only if the snippet was not there already.
4172
4173 2003-09-04  Angus Leeming  <leeming@lyx.org>
4174
4175         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4176
4177 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4178
4179         * lyxfunc.C (dispatch): if fitCursor did something be sure to
4180         update
4181
4182 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4183
4184         * BranchList.C: point fix, earlier forgotten
4185
4186 2003-09-02  Angus Leeming  <leeming@lyx.org>
4187
4188         * box.C (contains): renamed from 'contained' after a fantastic
4189         amount of hot air.
4190
4191 2003-09-02  John Levon  <levon@movementarian.org>
4192
4193         * BufferView.C:
4194         * lyxcursor.h:
4195         * lyxcursor.C:
4196         * lyxfunc.C:
4197         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4198
4199 2003-09-02  John Levon  <levon@movementarian.org>
4200
4201         * text2.C: simplification of cursorEnd(), including partial
4202         fix for bug 1376
4203
4204 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4205
4206         * buffer.C (readFile): add a space
4207
4208 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
4209
4210         * BufferView_pimpl.C (update): remove bogus fitCursor() call
4211
4212 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4213
4214         * buffer.C (readFile): new function, take a filename and a
4215         ParagraphList::iterator
4216         (readFile): adjust
4217         (readFile): adjust, make it private. don't use setStream, make
4218         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4219         always contain the filename.
4220
4221         * BufferView.C (insertLyXFile): simplify and make it work for
4222         gzipped files.
4223
4224 2003-08-30  John Levon  <levon@movementarian.org>
4225
4226         * Makefile.am: fix dist (from Kayvan)
4227
4228 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4229
4230         * most files: change to use const Buffer refs
4231
4232 2003-08-27  André Pönitz  <poenitz@gmx.net>
4233
4234         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4235         on top of ownerPar().
4236
4237 2003-08-27  John Levon  <levon@movementarian.org>
4238
4239         * funcrequest.C: properly initialise POD members
4240
4241 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4242
4243         * lyxtext.h (top_y): move top_y from here
4244         * text.C:
4245         * text2.C:
4246         * text3.C:
4247         * BufferView.[Ch]:
4248         * BufferView_pimpl.[Ch]: to here
4249         * frontends/screen.C:
4250         * insets/insettabular.C:
4251         * insets/insettext.C: adjust
4252         * rowpainter.[Ch] (paintRows): remove LyXText & argument
4253
4254 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4255
4256         * BufferView.[Ch]:
4257         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4258
4259 2003-08-26  André Pönitz  <poenitz@gmx.net>
4260
4261         * paragraph_func.[Ch] (outerPar): new function
4262
4263         * paragraph.C:
4264         * paragraph_funcs.C:
4265         * paragraph_funcs.h:
4266         * paragraph_pimpl.C:
4267         * text2.C: remove Inset::par_owner
4268
4269 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
4270
4271         * lyxrow_funcs.C:
4272         * lyxtext.h:
4273         * text.C:
4274         * text2.C: eliminates the needFullRow/display() stuff
4275         altogether, putting the logic in metrics/draw in the insets.
4276
4277 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
4278
4279         * text2.C (redoParagraphInternal, redoParagraphs):
4280         * text.C (redoParagraph): add a call to updateRowPositions at the
4281         end of each 'metrics-like' call. Remove all others.
4282         (getRow): remove the 'y-computing' version.
4283         (getRowNearY): do not compute nor return the real y. Solve the
4284         'y < 0' problem and simplify.
4285
4286 2003-08-22  Angus Leeming  <leeming@lyx.org>
4287
4288         * *.[Ch]: clean-up of licence and author blurbs.
4289         Also move config.h out of a few .h files and into a few .C files.
4290
4291 2003-08-22  André Pönitz  <poenitz@gmx.net>
4292
4293         * lyxrow.[Ch]: add x_ and *fill_ members
4294
4295         * lyxtext.h:
4296         * text.C:
4297         * rowpainter.C:
4298         * text2.C: adjust/remove prepareToPrint() calls
4299
4300 2003-08-22  André Pönitz  <poenitz@gmx.net>
4301
4302         * lyxrow.[Ch]: add  end_ member
4303
4304         * lyxrow_funcs.C: use LyXRow::end_
4305
4306         * lyxtext.h (singleWidth): add LyXFont parameter
4307
4308         * rowpainter.C:
4309         * text2.C: adjust LyXText::singleWidth() calls
4310
4311         * text.C (redoParagraph): simplify row breaking logic
4312
4313
4314 2003-08-19  André Pönitz  <poenitz@gmx.net>
4315
4316         * funcrequest.C: initialize button_ member
4317
4318         * text3.C:
4319         * rowpainter.[Ch]: interface consolidation
4320
4321 2003-08-18  André Pönitz  <poenitz@gmx.net>
4322
4323         * BufferView.C:
4324         * BufferView_pimpl.C:
4325         * lyxfind.C:
4326         * paragraph_funcs.C:
4327         * rowpainter.C:
4328         * text3.C: remove LyXScreen::draw() and fitCursor calls
4329
4330         * BranchList.h: remove spurious semicolons
4331
4332         * MenuBackend.C: fix branchlist related crash
4333
4334 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
4335
4336         * BranchList.[Ch]:
4337         * InsetList.[Ch]:
4338         * LColor.[Ch]:
4339         * LyXAction.C:
4340         * Makefile.am:
4341         * MenuBackend.[Ch]:
4342         * bufferparams.[Ch]:
4343         * factory.C:
4344         * lfuns.h:
4345         * lyxfunc.C:
4346         * text3.C: implements the 'branch inset'
4347         idea. This allows the output of various versions of a document
4348         from a single source version, selectively outputing or suppressing
4349         output of parts of the text.
4350         This implementation contains a 'branch list editor' in a separate
4351         tab of the document settings dialog. Branches are user definable
4352         and have a "display colour" to distinguish them on-screen.
4353
4354         ColorHandler was somewhat cleaned up.
4355         (1) make possible a dynamically growing LColor list by allowing
4356         the graphic context cache to grow along (vector);
4357         (2) eliminate an IMHO unnecessary step in colour allocation.
4358
4359 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
4360
4361         * BufferView_pimpl.C: compile fix
4362
4363 2003-08-15  André Pönitz  <poenitz@gmx.net>
4364
4365         * rowpainter.C: remove extra metrics calls
4366
4367         * lyxtext.h: merge the two constructors into a single one,
4368           pass reference to owner's par list
4369
4370         * BufferView_pimpl.C:
4371         * text.C:
4372         * text2.C: adjust
4373
4374 2003-08-15  André Pönitz  <poenitz@gmx.net>
4375
4376         * lyxrow_funcs.[Ch]:
4377         * lyxtext.h:
4378         * paragraph.h:
4379         * paragraph_funcs.C:
4380         * rowpainter.C:
4381         * text.C:
4382         * text2.C:
4383         * text3.C:
4384         * text_funcs.C: split LyXText::rowlist_ into individual
4385         Paragraph::rows_ chunks
4386
4387         * BufferView.[Ch]:
4388         * BufferView_pimpl.[Ch]:
4389         * lyxfind.C:
4390         * lyxtext.h:
4391         * text3.C: remove toggleSelection()
4392
4393 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
4394
4395         * bufferlist.C: beautify two alerts (shorter text of buttons)
4396         * buffer.C: Remove redundant ' ' from message
4397         * tabular.h:
4398         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4399         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4400         rename VALIGN_CENTER to VALIGN_MIDDLE
4401
4402 2003-08-11  André Pönitz  <poenitz@gmx.net>
4403
4404         * lyxtext.h (getPar):
4405         * text.C: new function
4406
4407 2003-08-11  André Pönitz  <poenitz@gmx.net>
4408
4409         * Makefile.am:
4410         * tracer.[Ch]: remove unneeded files
4411
4412         * InsetList.[Ch]: remove resizeInsetsLyXText()
4413
4414         * lyxtext.h:
4415         * text.C:
4416         * text2.C:
4417         * text3.C: merge insertParagraphs() and appendParagraph()
4418         remove breakAgain(), update()
4419
4420         * BufferView_pimpl.[Ch]:
4421         * bufferview_funcs.[Ch]:
4422         * lyxfunc.C:
4423         * paragraph.[Ch]:
4424         * rowpainter.C:
4425         * tabular.C: adjust after text & InsetList changes.
4426
4427 2003-08-08  André Pönitz  <poenitz@gmx.net>
4428
4429         * text.C (insertChar, backspace): replace rowlist fiddling
4430         with rebreak of full par
4431
4432         * lyxtext.h:
4433         * text.C (breakAgainOneRow, redoHeightOfParagraph,
4434         checkParagraph, updateInset): removed
4435
4436 2003-08-07  André Pönitz  <poenitz@gmx.net>
4437
4438         * paragraph.C:
4439         * text3.C: merge some LFUN handlers, remove dead code
4440
4441 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4442
4443         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4444
4445 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
4446
4447         * text2.C (DEPM): fix part of bug 1255 and 1256
4448
4449 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4450
4451         * BufferView_pimpl.C (workAreaDispatch): change to use
4452         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4453         that are no mouse related.
4454
4455 2003-08-05  André Pönitz  <poenitz@gmx.net>
4456
4457         * BufferView.[Ch]:
4458         * BufferView_pimpl.[Ch]:
4459         * bufferview_funcs.C:
4460         * text2.C:
4461         * text3.C: rip out "deep update"
4462
4463         * textcursor.[Ch] (last_sel_cursor): remove unused member
4464
4465 2003-08-04  André Pönitz  <poenitz@gmx.net>
4466
4467         * BufferView.[Ch]:
4468         * BufferView_pimpl.[Ch]:
4469         * ParagraphParameters.C:
4470         * bufferview_funcs.C:
4471         * lyx_cb.C:
4472         * lyxfind.C:
4473         * lyxfunc.C:
4474         * text.C:
4475         * text2.C:
4476         * text3.C: replace "complicated" BufferView::update(...) calls with
4477         simpler ones.
4478
4479         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4480
4481 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
4482
4483         * Makefile.am (lyx_SOURCES): add paper.h
4484
4485 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4486
4487         * Makefile.am: move things around so that both lyx-qt and
4488         lyx-xforms can be built (according to --with-frontend). Then lyx
4489         is a symbolic link to lyx-[firstfrontend]
4490
4491 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
4492
4493         * Always use std::endl with lyxerr
4494
4495 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
4496
4497         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4498
4499 2003-08-01  André Pönitz  <poenitz@gmx.net>
4500
4501         * BufferView.[Ch]:
4502         * BufferView_pimpl.[Ch]:
4503         * lyxfunc.C:
4504         * text3.C: merge BufferView::repaint() and BufferView::update()
4505
4506 2003-08-01  José Matos  <jamatos@lyx.org>
4507
4508         * buffer.[Ch]: file_format is no longer a buffer data element.
4509
4510 2003-08-01  André Pönitz  <poenitz@gmx.net>
4511
4512         * BufferView.C:
4513         * lyxtext.h:
4514         * text.C:
4515         * text2.C: make redoParagraph more independent of current cursor
4516
4517         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4518         * text.C:
4519         * text2.C: remove unneeded members
4520
4521 2003-07-30  André Pönitz  <poenitz@gmx.net>
4522
4523         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4524
4525         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4526           create a single function...
4527
4528         * paragraph_funcs.C (moveItem): ... here.
4529
4530         * text.C:
4531           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4532
4533 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
4534
4535         * LColor.[Ch]: Add comment and greyedout logical colors.
4536
4537 2003-07-30  André Pönitz  <poenitz@gmx.net>
4538
4539         * tabular.C: don't use Assert too heavily. This crashes where it
4540           shouldn't
4541
4542 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
4543
4544         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4545         is disabled (bug 1232)
4546
4547 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4548
4549         * factory.C: limited 'arg' scope
4550
4551 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4552
4553         * factory.C: fixed Note submenu issues
4554
4555 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4556
4557         * factory.C: submenu for Note/Comment/Greyedout
4558
4559 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
4560
4561         * lyx_main.C (LyX):
4562         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4563
4564 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
4565
4566         * LaTeXFeatures.C:
4567         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4568         greyedout. Patch provided by Jürgen Spitzmüller.
4569
4570 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4571
4572         * kbmap.C (read): fix error message when reading bind files
4573
4574 2003-07-29  Angus Leeming  <leeming@lyx.org>
4575
4576         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4577         certainly does not do what it purports to do. I am doing it, and
4578         us, a favour by killing it.
4579
4580 2003-07-28  José Matos  <jamatos@lyx.org>
4581
4582         * buffer.C (readBody, do_writeFile):
4583         * paragraph.C(readParagraph): \end_document replaces \the_end.
4584
4585 2003-07-29  André Pönitz  <poenitz@gmx.net>
4586
4587         * BufferView.[Ch]:
4588         * BufferView_pimpl.[Ch]:
4589         * lyxfunc.C:
4590         * text2.C:
4591         * text3.C:
4592         * textcursor.[Ch]: remove toggleToggle & Co
4593
4594 2003-07-28  José Matos  <jamatos@fep.up.pt>
4595
4596         * buffer.C (readParagraph):
4597         * params_func (readParToken, readParagraph):
4598         * paragraph.C (write): \layout -> \begin_layout.
4599
4600 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4601
4602         * lyxlex_pimpl.C (setFile): clean up slightly.
4603
4604         * bufferparams.h: add compressed var
4605
4606         * buffer_funcs.C (readFile): adjust for LyXLex change
4607         (newFile): ditto + simplify
4608
4609         * buffer.C (writeFile): handle writing of compressed files
4610
4611         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4612         Check if the file is compressed and set a bufferparm if so.
4613
4614         * Makefile.am (lyx_LDADD): remove explicit -lz
4615
4616 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4617
4618         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4619         makeDocBookFile): put the real LyX version in the first line of
4620         the file
4621
4622         * version.h:
4623         * version.C.in: remove lyx_docversion
4624
4625         * tabular.C (write_attribute): add a template-based version to
4626         write enums properly
4627
4628 2003-07-28  André Pönitz  <poenitz@gmx.net>
4629
4630         * lyxtext.h:
4631         * text.C:
4632         * text2.C:
4633         * text3.C: use doubles again for x-coordinates. They are needed.
4634
4635 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4636
4637         * messages.C (getLocaleDir): use lyx_localedir()
4638
4639         * lyxlex_pimpl.C (setFile): compress stuff
4640
4641         * buffer.C (writeFile): add some compression stuff
4642         (do_writeFile): new func, dont call expliti close... will this
4643         breake anything?
4644
4645         * Makefile.am (lyx_LDADD): add -lz
4646
4647 2003-07-28  José Matos  <jamatos@fep.up.pt>
4648
4649         * buffer.C: increment file format.
4650         * paragraph_funcs (readParagraph, readParToken):
4651         * paragraph.C (readParagraph): add \end_layout.
4652
4653 2003-07-27  Angus Leeming  <leeming@lyx.org>
4654
4655         * Makefile.am: remove special casing for configure-time setting of
4656         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4657
4658         * lyx_main.C (init): remove all Jean-Marc's magic setting of
4659         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4660
4661 2003-07-26  André Pönitz  <poenitz@gmx.net>
4662
4663         * paragraph_func.[Ch]:
4664         * paragraph.C (realizeFont): inline it whereever it is used
4665
4666         * rowpainter.C:
4667         * text.C:
4668         * text2.C:
4669         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4670
4671
4672 2003-07-26  André Pönitz  <poenitz@gmx.net>
4673
4674         *       lyxtext.h:
4675         * text.C:
4676         * text2.C: get rid of LyXText::need_break_row
4677
4678 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4679
4680         * toc.[Ch]: put namespace toc inside namespace lyx
4681
4682         * MenuBackend.C (expandToc2): adjust for lyx::toc
4683         (expandToc): ditto
4684
4685         * lyxfunc.C (dispatch): adjust for lyx::find
4686
4687         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4688         lyx::find instead. Reorganize a bit.
4689         (LyXReplace): rename to replace
4690         (LyXFind): rename to find
4691
4692         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4693         (dispatch): ditto
4694
4695 2003-07-26  André Pönitz  <poenitz@gmx.net>
4696
4697         * text.C (setHeightOfRow): restrict scope of temporary variable
4698
4699         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
4700           code (never has been used?)
4701
4702 2003-07-27  Asger Alstrup  <alstrup@local>
4703
4704         * text.C (fill): Optimise algorithm to exploit that we can reuse
4705         the LyXFont for many characters.
4706         (setHeightOfRow): Same thing.
4707         (rowBreakPoint): Same thing.
4708
4709 2003-07-26  Asger Alstrup  <alstrup@local>
4710
4711         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4712
4713         * text.C (singleWidth): Spurious font copying in hot-spot
4714         singleWidth avoided. Reorder tests for arabic for efficiency.
4715
4716         * text.C (fill): handle empty paragraphs better.
4717
4718 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4719
4720         * ispell.C:
4721         * encoding.h: add includes
4722
4723         * lyxrc.C: remove reading of bind files
4724
4725         * lyx_main.C (init): setup bindings and menus only if we have a
4726         gui.
4727
4728         * kbmap.C (read): new method. Do the actual reading of bind
4729         files.
4730
4731         * converter.C (dvipdfm_options):
4732         * bufferparams.C:
4733         * lyxrc.C (read):
4734         (output): adapt PAPER_* enums.
4735
4736         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4737
4738         * bufferparams.h: remove paper-related enums from there
4739
4740         * paper.h: New file. A trivial header file to hold paper-related
4741         enums. It should later expand to contain many paper-related
4742         horrors access.
4743
4744         * lyxrc.C: declare extern displayTranslator
4745
4746 2003-07-27  José Matos  <jamatos@fep.up.pt>
4747
4748         * tabular.[Ch] (linuxdoc): add support for tables and figures
4749         (linuxdoc).
4750
4751 2003-07-27  José Matos  <jamatos@fep.up.pt>
4752
4753         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4754         consistency in both functions.
4755         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4756
4757 2003-07-26  Asger Alstrup  <alstrup@local>
4758
4759         * rowpainter.C (paintRows): Change algorithm to work directly on
4760         the insets rather than asking every character in the document
4761         whether its an inset.
4762
4763 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
4764
4765         * buffer.C (openFileWrite): factorize some code
4766
4767 2003-07-26  Angus Leeming  <leeming@lyx.org>
4768
4769         * lyx_cb.C:
4770         * lyx_main.[Ch]: replace occurances of system_tempdir with
4771         os::getTmpDir().
4772
4773 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4774
4775         * rename Inset to InsetOld
4776
4777 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
4778
4779         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4780         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4781         which I think is a bit clearer. EDIT is gone, since it was
4782         premature optimisation, and broken for mathed anyway.
4783         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4784         with cursor positioning in insets as well (math insets still do not
4785         work, but that's a different story anyway.) It mysteriously
4786         crashes sometimes with undo in the first paragraph, but I'm fairly
4787         confident that this is a compiler bug.
4788
4789 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4790
4791         * paragraph.C (Paragraph): adjust for new clone return type
4792         (operator==): ditto
4793         (copyIntoMinibuffer): ditto
4794
4795 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
4796
4797         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4798         by not having a special case, and always doing a full rebreak of
4799         the document after undo.
4800
4801 2003-07-23  Angus Leeming  <leeming@lyx.org>
4802
4803         * factory.C (createInset): InsetExternal::setParams now takes a
4804         Buffer const * arg.
4805
4806 2003-07-23  Angus Leeming  <leeming@lyx.org>
4807
4808         * factory.C (createInset): changed interface to the external and
4809         graphics mailers' string2params functions.
4810
4811 2003-07-23  Angus Leeming  <leeming@lyx.org>
4812
4813         * factory.C (createInset): pass a
4814         Buffer const * parameter to InsetExternalMailer's string2params.
4815
4816 2003-07-22  John Levon  <levon@movementarian.org>
4817
4818         * Thesaurus.h: include the right aiksaurus header
4819
4820 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4821
4822         * MenuBackend.C (expand): check menu shortcuts unconditionally
4823
4824 2003-07-21  Angus Leeming  <leeming@lyx.org>
4825
4826         * factory.C (createInset): pass a
4827         buffer_path parameter to InsetGraphicsMailer's string2params.
4828
4829 2003-07-21  Angus Leeming  <leeming@lyx.org>
4830
4831         * BufferView_pimpl.C (buffer):
4832         * buffer.C (d-tor):
4833         * lyx_main.C (LyX):
4834         * lyxfunc.C (dispatch):
4835         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4836         rather than the grfx shortcut.
4837
4838 2003-07-21  André Pönitz  <poenitz@gmx.net>
4839
4840         * rowpainter.C: remove unused variables
4841
4842         * tabular_funcs.C:
4843         * tabular_funcs.h: move to tabular.C
4844         * Makefile.am: adjust
4845
4846         * tabular.[Ch]: basic optical cleaning
4847
4848         * author.h: pass references, not values
4849
4850 2003-07-18  André Pönitz  <poenitz@gmx.net>
4851
4852         * lyxtext.h:
4853         * metricsinfo.C:
4854         * metricsinfo.h:
4855         * rowpainter.C:
4856         * text.C:
4857         * text2.C:
4858         * text3.C: two-phase drawing for InsetText and InsetTabular
4859         some float -> int changes.
4860
4861 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4862
4863         * lyx_main.C: fix the fix
4864
4865 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4866
4867         * lyx_main.C: fix a crash in batch mode if no files specified
4868         * converter.C: ws
4869
4870 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
4871
4872         * format.[Ch] (papersize): moved to BufferParams
4873         * converter.[Ch] (dvips_options): moved to BufferParams
4874         (dvipdfm_options): moved to anon namespace
4875         * bufferparams.[Ch]: added above functions.
4876
4877 2003-07-17  André Pönitz  <poenitz@gmx.net>
4878
4879         * lyxtext.h:
4880         * rowpainter.C:
4881         * text2.C: don't call inset->update() anymore
4882
4883         * metricsinfo.[Ch]: add convenience constructor
4884
4885 2003-07-16  André Pönitz  <poenitz@gmx.net>
4886
4887         * lyxcursor.[Ch]:
4888         * lyxfunc.[Ch]:
4889         * text.C:
4890         * text2.C: replace the LyXCursor::irow_ member with
4891          on-demand computation of the value
4892
4893 2003-07-16  John Levon  <levon@movementarian.org>
4894
4895         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4896
4897 2003-07-15  André Pönitz  <poenitz@gmx.net>
4898
4899         * text.C:
4900         * text2.C: remove no more needed refresh_row
4901
4902 2003-07-15  André Pönitz  <poenitz@gmx.net>
4903
4904         * lyxtext.h:
4905         * rowpainter.C:
4906         * text2.C:
4907         * text3.C: refresh_status tristate -> need_update bool
4908
4909 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
4910
4911         * lyxtext.h (init): remove reinit argument (act as if always true)
4912         * text2.C: adjust to that
4913
4914 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4915
4916         * bufferview_funcs.[Ch]: introduce function replaceSelection()
4917         * text3.C: use it to delete selections in some cases
4918         (bugs 441, 673, 702, 954).
4919
4920 2003-07-14  André Pönitz  <poenitz@gmx.net>
4921
4922         * rowpainter.[Ch]: reduce interface
4923
4924 2003-07-14  André Pönitz  <poenitz@gmx.net>
4925
4926         * BufferView_pimpl.C:
4927         * text2.C: adjust after removing unused BufferView * argument
4928
4929 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
4930
4931         * text2.C (init): fix a crash fired on resize
4932
4933 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
4934
4935         * buffer.[Ch]: added new closing signal
4936         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4937         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4938         BufferView::Pimpl via the closing the signal
4939
4940 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
4941
4942         * buffer.[Ch]: take out all bv-related from buffer
4943         * BufferView.C:
4944         * BufferView_pimpl.[Ch]: connect to new signals
4945         * CutAndPaste.C: removed useless asserts
4946         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4947         * lyxvc.[Ch]:
4948         * vc-backend.[Ch]:
4949         * lyxfunc.C: moved view-related funciontality from vc here
4950         * paragraph.C: removed outdated comments
4951         * text.C: ws
4952
4953 2003-07-10  André Pönitz  <poenitz@gmx.net>
4954
4955         * BufferView_pimpl.C:
4956         * tabular.h:
4957         * tabular_funcs.C:
4958         * text.C:
4959         * text2.C: remove InsetText::InnerCache, clean up consequences
4960
4961 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
4962
4963         * ispell.C: fix two typos in error messages
4964
4965 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
4966
4967         * Extend Note inset to other forms of annotation like Comment
4968         and Greyedout. Right button click gives dialog.
4969
4970         Files modified or added (+):
4971
4972         * insetnote.[Ch]
4973         * FormNote.[Ch]      +
4974         * ControlNote.[Ch]   +
4975         * form_note.fd       +
4976         * Makefile.am in frontends/xforms, frontends/xforms/forms,
4977         frontends/controllers
4978         * xforms/Dialogs.C
4979         * factory.C
4980
4981 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4982
4983         * aspell.C: add missing namespace lyx::support
4984
4985 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
4986
4987         * BufferView.[Ch] (newFile): Add
4988         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4989         * LaTeX.[Ch] (message): added this signal and use it
4990         * buffer.[Ch] (busy, message): added these signals and use them
4991         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4992         * converter.C:
4993         * exporter.C:
4994         * format.C:
4995         * importer.C: use buffer signals instead of direct bv calling
4996         * lyx_cb.[Ch] (ShowMessage): removed
4997         * lyx_main.C:
4998         * lyxfunc.C:
4999         * paragraph_funcs.C:
5000         * text2.C: use buffer signals
5001
5002 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5003
5004         * introduce namespace lyx::graphics
5005
5006 2003-07-02  André Pönitz  <poenitz@gmx.net>
5007
5008         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5009
5010 2003-07-01  André Pönitz  <poenitz@gmx.net>
5011
5012         * text.C:
5013         * text2.C:
5014         * text3.C:
5015         * text_funcs.[Ch]:
5016         * textcursor.h:
5017         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5018           text*.C to text_func.C
5019
5020 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5021
5022         * introduce namespace lyx::support
5023
5024 2003-06-30  André Pönitz  <poenitz@gmx.net>
5025
5026         * Chktex.C:
5027         * funcrequest.C:
5028         * lyxtext.h:
5029         * text.C: re-enable --with-included-string
5030
5031 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5032
5033         * textcursor.C: add <config.h>
5034
5035         * text.C (getWord): remove const from word_location arg
5036
5037         * lyxvc.C (getLogFile): fix const type order
5038
5039         * lyxtext.h: remove const from word_location arg, add arg name
5040
5041         * lyxlayout.h: currect type on labeltype.
5042
5043         * importer.C: correct \file
5044
5045         * converter.C (intToFormat): use std:: on ret val, ws changes
5046
5047         * bufferlist.h: correct \file
5048
5049         * buffer.C (makeLinuxDocFile): fix const type order
5050         (makeDocBookFile): ditto
5051         (fillWithBibKeys): use std:: on stdlib args.
5052
5053         * CutAndPaste.C: fix authors.
5054         (availableSelections): use std:: on return vector
5055
5056 2003-06-27  André Pönitz  <poenitz@gmx.net>
5057
5058         * BufferView_pimpl.C:
5059         * bufferview_funcs.C:
5060         * lyxcursor.C:
5061         * lyxcursor.h:
5062         * lyxfunc.C:
5063         * lyxtext.h:
5064         * rowpainter.C:
5065         * text.C:
5066         * text2.C:
5067         * text3.C: remove LyXCursor::row_ member
5068
5069         * lyxtext.h:
5070         * text.C: rename fullRebreak() to partialRebreak() and implement
5071           a fullRebreak() that really bereks fully
5072
5073         * textcursor.h: new struct for cursor-related data
5074
5075 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
5076
5077         * lyx_main.C (LyX): get full path of document loaded on the
5078         command line
5079
5080 2003-06-26  André Pönitz  <poenitz@gmx.net>
5081
5082         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5083           remove unused/broken operator>,<,>=.
5084
5085         *       text.C: remove only use of broken operator<= in an Assert().
5086
5087 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5088
5089         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5090         moved errorlist_.clear to showErrorList
5091
5092 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5093
5094         * converter.C (scanLog, runLaTeX):
5095         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5096         move the bv->showErrorList call to the callers
5097         * lyxfunc.C: i.e. here...
5098         * text2.C: and here
5099         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5100         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5101         namespace, the second to...
5102         * buffer_funcs (BufferFormat, parseErrors): added
5103         * errorlist.C (ErrorList(TeXErrors const &)): removed
5104
5105 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5106
5107         * ToolbarBackend.C (getIcon): complain when icon cannot be found
5108
5109 2003-06-24  "Garst R. Reese" <reese@isn.net>
5110
5111         * debug.C: fix typo
5112
5113 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5114
5115         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5116
5117         * version.C.in: change docversion to 1.4
5118
5119 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
5120
5121         * buffer.C: fix a bug just introduced
5122
5123 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
5124
5125         * buffer.[Ch]: added the parseError signal and use it, removed
5126         sgmlError
5127         * BufferView.[Ch] (addError): moved to ...
5128         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5129         to the Buffer::parseError signal to catch (guess what) parse errors
5130         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5131
5132 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
5133
5134         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5135         ability to create a buffer and to return an existing one from
5136         the list. Moved these functions to...
5137         * buffer_funcs.[Ch]: added
5138         * BufferView.[Ch] (loadLyXFile): added
5139         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5140         job removed from bufferlist::loadLyXFile.
5141         * buffer.C (setReadOnly): make it work without view
5142         (i.e added an if (users))
5143
5144 2003-06-19  Angus Leeming  <leeming@lyx.org>
5145
5146         * lfuns.h:
5147         * LyXAction.C (init):
5148         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5149         with LFUN_DIALOG_SHOW <name> <data>.
5150
5151 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5152
5153         * CutAndPaste.C (availableSelections): small compilation fix for
5154         ancient (gcc 2.9x) compilers
5155
5156 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
5157
5158         * text3.C (cursorNext): add tmp var
5159
5160         * text2.C (updateCounters): for function calling out of for clause
5161         (replaceSelectionWithString): ditto
5162         (insertStringAsParagraphs): ditto
5163         (getColumnNearX): add tmp var
5164         (setCursorFromCoordinates): add tmp var
5165         (cursorDownParagraph): add tmp var
5166         (deleteEmptyParagraphMechanism): add tmp var
5167
5168         * text.C (insertChar): add tmp var
5169
5170         * rowpainter.C (paintDepthBar): add tmp var
5171
5172         * CutAndPaste.C (availableSelections): potentially check all
5173         paragraphs in a cut to fill the shown strings.
5174
5175 2003-06-18  André Pönitz  <poenitz@gmx.net>
5176
5177         * kbmap.[Ch]: use vector<> instead of list<>
5178
5179 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
5180
5181         * text3.C (dispatch): handle arg to LFUN_PASTE, call
5182         pasteSelection with index
5183
5184         * text2.C (pasteSelection): modify, call pasteSelection with index
5185
5186         * paragraph.C (asString): reimplement version with no interval to
5187         call the one with interval.
5188
5189         * lyxtext.h: add index arg to pasteSelection
5190
5191         * MenuBackend.C (MenuItem): handle PasteRecent
5192         (Menu::read::Menutags): add md_pasterecent
5193         (read): handle it
5194         (expandPasteRecent): new function
5195         (expand): use it
5196
5197         * MenuBackend.h: add PasteRecent to MenuItem::Kind
5198
5199         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5200         the limited stack
5201         (availableSelections): new function
5202
5203 2003-06-17  Angus Leeming  <leeming@lyx.org>
5204
5205         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5206
5207 2003-06-17  Angus Leeming  <leeming@lyx.org>
5208
5209         * lfuns.h:
5210         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5211
5212         * lyxfunc.C (dispatch): invoke it.
5213
5214 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5215
5216         * iterators.C (operator++, ParPosition): reintroduce some
5217         const_cast for the benefit of older compilers.
5218
5219 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5220
5221         * text3.C (dispatch): do not modify clipboard when doing
5222         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5223         LFUN_DELETE_SKIP on a selection selection
5224
5225 2003-06-16  André Pönitz  <poenitz@gmx.net>
5226
5227         * BufferView.C:
5228         * buffer.C:
5229         * buffer.h:
5230         * paragraph.C:
5231         * tabular.[Ch]: IU of clone() and getLabelList();
5232
5233 2003-06-13  André Pönitz  <poenitz@gmx.net>
5234
5235         * tabular.h: compactification
5236
5237 2003-06-12  André Pönitz  <poenitz@gmx.net>
5238
5239         * tabular.C:
5240         * tabular.h:
5241         * tabular_funcs.h: some renaming plus whitespace
5242
5243 2003-06-12  André Pönitz  <poenitz@gmx.net>
5244
5245         * BufferView.C:
5246         * BufferView_pimpl.C:
5247         * CutAndPaste.C:
5248         * buffer.C:
5249         * iterators.[Ch]:
5250         * lyxfunc.C:
5251         * text.C:
5252         * toc.C: Return a Paragraph & for ParIterator::operator*()
5253
5254 2003-06-11  John Levon  <levon@movementarian.org>
5255
5256         * lyx_main.C:
5257         * ToolbarBackend.h:
5258         * ToolbarBackend.C: add "Toolbars" section and
5259         put the flags there
5260
5261 2003-06-10  Angus Leeming  <leeming@lyx.org>
5262
5263         * lfuns.h:
5264         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5265
5266         * lyxfunc.C (dispatch): invoke it.
5267
5268 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5269
5270         * main.C: protect <ios> with HAVE_IOS
5271         (main): protect sync_with_stdio with HAVE_IOS
5272
5273 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
5274
5275         * text2.C (cutSelection): adjust
5276         (pasteSelection): adjust
5277
5278         * messages.C: handle get of empty string
5279
5280         * main.C (main): use sync_with_stdio(false)
5281
5282         * lyxfunc.C (dispatch): adjust
5283
5284         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5285         (WriteAs): remove unneeded BufferView arg.
5286
5287         * bufferparams.h: use correct types on papersize, papersize2 and
5288         paperpackage.
5289
5290         * bufferparams.C (readToken): adjust for type
5291         (writeLaTeX): add missing cases to switch.
5292
5293         * bufferlist.C (quitWriteBuffer): adjust
5294         (close): adjust
5295
5296         * buffer.C (asciiParagraph): remove some commented code.
5297
5298         * CutAndPaste.C: remove current_view extern variable.
5299         (cutSelection): add BufferParams arg.
5300         (eraseSelection): add BufferParams arg.
5301         (pasteSelection): add Buffer const & arg
5302
5303 2003-06-07  John Levon  <levon@movementarian.org>
5304
5305         * buffer.C:
5306         * paragraph_funcs.C:
5307         * paragraph_pimpl.C:
5308         * text.C:
5309         * text2.C:
5310         * paragraph.h:
5311         * paragraph.C: allow InsetERT to freely space lines,
5312         and some consolidation of code
5313
5314 2003-06-06  José Matos  <jamatos@fep.up.pt>
5315
5316         * buffer.C (makeDocBookFile): fix bug #821
5317
5318 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
5319
5320         * BufferView_pimpl.C (dispatch): use Dialogs::visible
5321
5322 2003-06-04  Angus Leeming  <leeming@lyx.org>
5323
5324         * buffer.C: bump format to 224.
5325
5326 2003-06-05  André Pönitz  <poenitz@gmx.net>
5327
5328         * text2.C (redoParagraphs): remove two const_cast<>
5329
5330 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5331
5332         * ParagraphList.h: remove last remnants of NO_STD_LIST
5333
5334 2003-06-03  Angus Leeming  <leeming@lyx.org>
5335
5336         * factory.C (createInset): small change to the way InsetExternal's params
5337         are set.
5338
5339 2003-06-04  André Pönitz  <poenitz@gmx.net>
5340
5341         * buffer.h: use Undo directly instead of shared_ptr<Undo>
5342
5343         * paragraph_pimpl.h:
5344         * paragraph.[Ch]: some Inset -> UpdatableInset changes
5345
5346         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5347
5348         * undo_funcs.C: make some simple cases of undo work again
5349
5350 2003-06-03  John Levon  <levon@movementarian.org>
5351
5352         * ispell.C: HPUX doesn't have sys/select.h
5353         (from Albert Chin)
5354
5355 2003-06-03  John Levon  <levon@movementarian.org>
5356
5357         * CutAndPaste.C: update tabular and include inset
5358         buffer references
5359
5360         * buffer.h:
5361         * paragraph.h:
5362         * paragraph.C: remove owningBuffer(), don't pass Buffer
5363         to clone()
5364
5365         * factory.C: insetGraphicsParams changed
5366
5367 2003-06-02  John Levon  <levon@movementarian.org>
5368
5369         * LyXAction.C:
5370         * factory.C:
5371         * lfuns.h:
5372         * lyxfunc.C:
5373         * text3.C: remove insetparent
5374
5375 2003-06-02  John Levon  <levon@movementarian.org>
5376
5377         * buffer.h:
5378         * buffer.C: fix inset_iterator.end(), move out of line
5379         (bug 1149)
5380
5381 2003-06-01  John Levon  <levon@movementarian.org>
5382
5383         * text3.C: use a proper cut/paste when doing inset
5384         insert (from Jürgen Spitzmüller)
5385
5386 2003-06-01  John Levon  <levon@movementarian.org>
5387
5388         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5389
5390 2003-05-30  André Pönitz  <poenitz@gmx.net>
5391
5392         * rowpainter.C: unify second drawing phase
5393
5394 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5395
5396         * trans_mgr.C: remove one case of current_view
5397
5398         * text2.C (cursorBottom): delete NO_STD_LIST stuff
5399
5400         * paragraph_funcs.h: remove paragraph.h include
5401
5402         * paragraph.h: delete NO_STD_LIST stuff
5403
5404         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5405
5406         * buffer.h: remove paragraph.h include
5407
5408         * ParagraphList.C: delete file
5409
5410         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5411
5412         * toc.C (getTocList): adjust
5413
5414         * paragraph_pimpl.C (validate): adjust
5415
5416         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5417
5418         * paragraph.C (Paragraph): adjust
5419         (getPositionOfInset): use const_iterator, adjust
5420         (bibitem): use const_iterator, adjust
5421         (setInsetOwner): adjust
5422
5423         * iterators.C (operator++): adjust
5424
5425         * InsetList.[Ch]: Replace selfmade iterator with standard
5426         vector::iterator also introduce const_iterator. Remove getPos,
5427         getInset and setInset from InsetTable. Adjust accordingly.
5428
5429         * BufferView.C (lockInset): adjust
5430         (ChangeInsets): adjust
5431
5432         * tabular.[Ch]: delete commented same_id functions
5433
5434 2003-05-28  John Levon  <levon@movementarian.org>
5435
5436         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5437
5438 2003-05-28  André Pönitz  <poenitz@gmx.net>
5439
5440         * metricsinfo.[Ch]: remove 'fullredraw' member
5441
5442 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
5443
5444         * lyxtextclass.C (operator): remove caching.
5445
5446 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5447
5448         * text3.C: adjust
5449
5450         * text2.C (cursorBottom): adjust
5451         (setCounter): use ParagraphList::find, adjust
5452
5453         * text.C (workWidth): use ParagraphList::find, adjust
5454
5455         * lyxcursor.C (LyXCursor): adjust
5456
5457         * buffer.C (inset_iterator): adjust
5458
5459         * ParagraphList.h: make iterator(value_type) private, make
5460         ParagraphList a friend of iterator.
5461
5462         * ParagraphList.C (find): new function
5463
5464         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5465
5466 2003-05-27  André Pönitz  <poenitz@gmx.net>
5467
5468         * dimension.[Ch]: a -> asc, d -> des, w -> wid
5469
5470 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5471
5472         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5473
5474 2003-05-26  John Levon  <levon@movementarian.org>
5475
5476         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5477
5478 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5479
5480         * remove same_id from function signatures, adjust.
5481
5482 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5483
5484         * undo_funcs.C (createUndo): use the id functions directly, adjust.
5485
5486         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5487
5488         * paragraph.C (Paragraph): get rid of same_ids parameter
5489
5490         * ParagraphList.C (insert): adjust
5491         (push_back): adjust
5492
5493 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5494
5495         * paragraph_funcs.C (breakParagraph): adjust
5496         (breakParagraphConservative): adjust
5497
5498         * buffer.C (readParagraph): adjust
5499
5500         * ParagraphList.C (insert): take a reference instead of a pointer
5501         (insert): adjust
5502
5503         * paragraph.[Ch] (id): new function
5504
5505         * bufferlist.C (newFile): adjust
5506
5507         * ParagraphList.C (ParagraphList): adjust
5508         (assign): adjust
5509         (push_back): take a reference instead of a pointer.
5510
5511         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5512
5513         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5514         instead.
5515
5516         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5517         set else use old code.
5518
5519         * ParagraphList.C: remove all NO_NEXT code and only compile this
5520         code of NO_STD_LIST is set.
5521
5522 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5523
5524         * BufferView_pimpl.C:
5525         * TextCache.C:
5526         * TextCache.h:
5527         * bufferlist.C:
5528         * errorlist.h:
5529         * format.C:
5530         * format.h:
5531         * graph.C:
5532         * lyxfunc.C:
5533         * lyxrc.C:
5534         * graphics/GraphicsConverter.C:
5535         * graphics/PreviewLoader.C: header adjustment
5536
5537 2003-05-23  Angus Leeming  <leeming@lyx.org>
5538
5539         * LaTeXFeatures.[Ch] (useBabel): new method.
5540         * bufferparams.C (writeLaTeX): use it.
5541
5542 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5543
5544         * ParagraphList.h (set): remove unused function.
5545
5546 2003-05-23  André Pönitz  <poenitz@gmx.net>
5547
5548         * BufferView.C:
5549         * BufferView_pimpl.C:
5550         * buffer.C:
5551         * buffer.h:
5552         * lyxfunc.C:
5553         * undo_funcs.C: setUndo reworked
5554
5555         * iterators.[Ch]: add access to topmost ParagraphList
5556
5557         * lyxtext.[Ch] (workWidth): add a const
5558
5559 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5560
5561         * texrow.[Ch] (increasePos): remove function
5562         * exporter.C (export): removed unused var and outdated comment
5563
5564 2003-05-23  Angus Leeming  <leeming@lyx.org>
5565
5566         * latexrunparams.h: rename fragile as moving_arg.
5567         * paragraph.C (simpleTeXOnePar): ditto.
5568         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5569
5570 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5571
5572         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5573         (createUndo): ditto
5574         (textUndoOrRedo): comment out a currently unused var.
5575
5576         * paragraph.h (NO_NEXT): enable NO_NEXT
5577
5578         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5579
5580         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5581
5582         * exporter.C (Export): adjust for removeAutoInsets removal.
5583
5584         * buffer.C (runChktex): adjust for removeAutoInsets removal.
5585
5586         * LyXAction.C (init): remove LFUN_REMOVEERRORS
5587
5588         * BufferView.[Ch] (removeAutoInsets): delete function
5589
5590 2003-05-22  Angus Leeming  <leeming@lyx.org>
5591
5592         * latexrunparams.h: add a free_spacing variable.
5593
5594         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5595         to pass moving_arg, as the data is stored in runparams.fragile.
5596
5597         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5598         to Inset::latexOptional or to simpleTeXOnePar.
5599
5600         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5601         free_spacing arg to Inset::latexOptional.
5602
5603         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5604         free_spacing arg.
5605
5606 2003-05-22  Angus Leeming  <leeming@lyx.org>
5607
5608         * latexrunparams.h: add fragile and use_babel variables.
5609
5610         * bufferparams.[Ch] (writeLaTeX): return use_babel.
5611         * buffer.C (makeLaTeXFile): store this returned value in
5612         runparams.use_babel, thus passing it to the inset::latex methods.
5613
5614         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5615         simpleTeXSpecialChars as it is now stored in runparams.fragile.
5616
5617         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5618         longer has a fragile arg, as it is stored in runparams.fragile.
5619
5620         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5621         moving_arg parameter as the data is stored in runparams.fragile.
5622
5623         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5624         a fragile parameter as the data is stored in runparams.fragile.
5625
5626 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5627
5628         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5629
5630 2003-05-22  Angus Leeming  <leeming@lyx.org>
5631
5632         * latexrunparams.h: add a 'bool nice' which defaults to false.
5633
5634         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5635         now encapsulated within runparams.
5636
5637         * bufferlist.C (updateIncludedTeXfiles):
5638         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5639
5640 2003-05-22  Angus Leeming  <leeming@lyx.org>
5641
5642         * latexrunparams.h: new file containing struct LatexRunParams.
5643         * Makefile.am: add new file.
5644
5645         * LaTeX.[Ch] (c-tor, run):
5646         * buffer.[Ch] (makeLaTeXFile):
5647         * bufferlist.[Ch] (updateIncludedTeXfiles):
5648         * converter.C (convert, scanLog):
5649         * converter.[Ch] (runLaTeX):
5650         * exporter.C (Export):
5651         * paragraph.[Ch] (simpleTeXOnePar):
5652         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5653         * paragraph_funcs.[Ch] (latexParagraphs):
5654         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5655         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5656         pass around a LatexRunParams parameter.
5657
5658 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5659
5660         * paragraph.[Ch]: remove unused constructor
5661
5662         * ParagraphList.C (erase): new function, taking two iterators
5663
5664 2003-05-22  André Pönitz  <poenitz@gmx.net>
5665
5666         * undo_funcs.C: remove duplicated code
5667
5668         * iterator.[Ch]: operator=
5669
5670 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5671
5672         * tabular.C (SetMultiColumn): ws changes
5673
5674         * rowpainter.C (paintFirst): get rid of a ->previous
5675
5676         * lyx_cb.C (getPossibleLabel): parlist simplification
5677
5678         * BufferView.C (ChangeInsets): simplify slightly.
5679
5680 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
5681
5682         * LyXAction.C: new lfun space-insert, kill protected-space-insert
5683         * lfuns.h: new LFUN_SPACE
5684         * lyxfunc.C: protected space has a new lfun
5685         * paragraph_funcs.C: read new space insets
5686         * text3.C:
5687         * factory.C: handle new space insets
5688
5689 2003-05-22  André Pönitz  <poenitz@gmx.net>
5690
5691         * BufferView.C:
5692         * BufferView_pimpl.C:
5693         * buffer.[Ch]:
5694         * lyxfunc.C:
5695         * undo_funcs.C: return a ParIterator from getParFromID.
5696
5697         * iterators.[Ch]: add two const's
5698
5699 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5700
5701         * toc.C (getTocList): adjust
5702
5703         * iterators.[Ch]: rework for parlist
5704
5705         * buffer.C (par_iterator_begin): adjust
5706         (par_iterator_end): adjust
5707
5708         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5709
5710         * BufferView.C (removeAutoInsets): adjust
5711         (ChangeInsets): adjust
5712
5713 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
5714
5715         * text.C (top_y): fix bug 1110
5716
5717 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
5718
5719         * errorlist.[Ch]: added
5720         * buffer.C:
5721         * BufferView.[Ch]:
5722         * BufferView_pimpl.C:
5723         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5724         instead
5725
5726 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5727
5728         * Makefile.am: ensure that lyx is relinked upon changes to the
5729         various "convenience" libs.
5730
5731 2003-05-20  Angus Leeming  <leeming@lyx.org>
5732
5733         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5734         files are compiled in alphabetical order again.
5735
5736         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5737
5738 2003-05-19  Angus Leeming  <leeming@lyx.org>
5739
5740         * gettext.[Ch]: remove "char const * _(char const *)".
5741
5742 2003-05-19  André Pönitz  <poenitz@gmx.net>
5743
5744         * dimension.[Ch]: promote from mathed/dimension.[Ch]
5745
5746         * Makefile.am:
5747         * BufferView.C:
5748         * DepTable.h:
5749         * LaTeXFeatures.C:
5750         * buffer.C:
5751         * lyxfont.C:
5752         * lyxlex.h:
5753         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5754
5755 2003-05-19  André Pönitz  <poenitz@gmx.net>
5756
5757         * buffer.C:
5758         * lyxlayout.[Ch]:
5759         * lyxtextclass.[Ch]:
5760         * paragraph.C:
5761         * paragraph_funcs.[Ch]:
5762         * text2.C:
5763         * text3.C: more insetenv work
5764
5765 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
5766
5767         * ParagraphParameters.C (params2string): small bug fixed
5768
5769 2003-05-16  André Pönitz  <poenitz@gmx.net>
5770
5771         * debug.C:
5772         * bufferview_funcs.C: patch from Kornel Benko to prevent
5773           crash when _(...) is called twice in a statement
5774
5775 2003-05-16  André Pönitz  <poenitz@gmx.net>
5776
5777         * BufferView.C:
5778         * lyxfunc.C:
5779         * text.C:
5780         * text2.C:
5781         * text3.C:
5782         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5783
5784 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
5785
5786         * lyx_main.C (init): remove spurious static_cast
5787
5788 2003-05-14  André Pönitz  <poenitz@gmx.net>
5789
5790         * BufferView.C: fix format string
5791
5792 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
5793
5794         * BufferView.[Ch] (insertErrors): removed
5795         * BufferView.[Ch] (showErrorList): added
5796         * buffer.C (runChkTeX):
5797         * converter.C (scanLog): call showErrorList instead of inserterrors
5798
5799 2003-05-13  André Pönitz  <poenitz@gmx.net>
5800
5801         * BufferView_pimpl.C:
5802         * buffer.C:
5803         * bufferview_func.C:
5804         * MenuBackend.C:
5805         * lyxfunc.C:
5806         * lyxrc.C:
5807         * tex-accent.C:
5808         * text3.C:
5809         * toc.C:
5810         * tabular_funcs.h: tostr() from its own header
5811
5812         * ParagraphParameters.C:
5813         * ToolbarBackend.C:
5814         * bufferparams.C:
5815         * format.C:
5816         * lyxlex_pimpl.C:
5817         * text3.C: STRCONV()
5818
5819 2003-05-12  André Pönitz  <poenitz@gmx.net>
5820
5821         * BufferView.C:
5822         * BufferView_pimpl.C:
5823         * CutAndPaste.C:
5824         * LaTeX.C:
5825         * LaTeXFeatures.C:
5826         * ParagraphParameters.C:
5827         * buffer.C:
5828         * bufferlist.C:
5829         * bufferparams.C:
5830         * bufferview_funcs.C:
5831         * converter.C:
5832         * counters.C:
5833         * debug.C:
5834         * exporter.C:
5835         * format.C:
5836         * importer.C:
5837         * lyx_cb.C:
5838         * lyx_main.C:
5839         * lyxfont.C:
5840         * lyxfunc.C:
5841         * lyxvc.C:
5842         * paragraph.C:
5843         * paragraph_funcs.C:
5844         * tabular.C:
5845         * tabular_funcs.C:
5846         * text2.C:
5847         * text3.C:  boost::format -> bformat  all over the place
5848
5849
5850 2003-05-09  André Pönitz  <poenitz@gmx.net>
5851
5852         * LColor.[Ch]: Pimpl the #include <map> away
5853
5854 2003-05-09  John Levon  <levon@movementarian.org>
5855
5856         * bufferlist.C: never remove emergency saves
5857
5858 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5859
5860         * Makefile.am: better lib building
5861
5862 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
5863
5864         * texrow.[Ch]: remove dependency on Paragraph and just store a id
5865         instead.
5866         * paragraph_pimpl.C (simpleTeXBlanks): adjust
5867         (simpleTeXSpecialChars): adjust
5868         (simpleTeXSpecialChars): adjust
5869         * paragraph.C (simpleTeXOnePar): adjust
5870         * buffer.C (makeLaTeXFile): adjust
5871
5872         * Makefile.am (BOOST_LIBS): allow boost as system lib.
5873
5874         * text2.C (changeDepth): parlist cleanup
5875         (getColumnNearX): ditto
5876
5877         * rowpainter.C (getLabelFont): parlist cleanup
5878
5879         * bufferlist.C (newFile): parlist cleanup
5880
5881         * CutAndPaste.C (eraseSelection): parlist cleanup
5882
5883         * BufferView_pimpl.C (trackChanges): parlist cleanup
5884         (dispatch): ditto
5885
5886         * BufferView.C (lockInset): parlist cleanup.
5887         (ChangeInsets): ditto
5888
5889 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5890
5891         * CutAndPaste.h: Update file header.
5892
5893         * CutAndPaste.C: Update file header.
5894         Store the parts cut out of the Document in a limited_stack.
5895         (copySelection): adjust
5896         (pasteSelection): new function, takes the index in the limited stack.
5897         (nrOfParagraphs): adjust
5898         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5899         simplify error inset insertion.
5900         (checkPastePossible): adjust
5901
5902 2003-05-06  John Levon  <levon@movementarian.org>
5903
5904         * text2.C: don't cast wrap inset to float
5905
5906 2003-05-05  André Pönitz  <poenitz@gmx.net>
5907
5908         * iterator.C:
5909         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5910
5911         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5912           few naked Paragraph *.
5913
5914 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
5915
5916         * bufferparams.C: Output warning if a document with missing
5917         TeX document class is loaded
5918         * exporter.C: Disable TeX exports if the document class is missing
5919         * lyxtextclass.C:
5920         * lyxtextclass.h:
5921         * lyxtextclasslist.C: Handle new textclass.lst format; new method
5922         isTeXClassAvailable()
5923
5924 2003-05-03  John Levon  <levon@movementarian.org>
5925
5926         * BufferView.h:
5927         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5928         explicit cursor show/hide
5929
5930         * BufferView_pimpl.h:
5931         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5932         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5933
5934         * lyxfunc.C: hide cursor before dispatching.
5935
5936         * lyx_cb.C:
5937         * lyxfind.C:
5938         * text.C:
5939         * text3.C: remove explicit cursor hides
5940
5941 2003-05-02  André Pönitz  <poenitz@gmx.net>
5942
5943         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5944
5945         * undo_funcs.C:
5946         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5947           linked lists
5948
5949         * text2.C: tiny whitespace
5950
5951 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5952
5953         * undo_funcs.C: almost only ws changes.
5954
5955         * ParagraphList.C (splice): just return if pl is empty.
5956
5957 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5958
5959         * ParagraphList.C (splice): new function.
5960
5961         * CutAndPaste.C (pasteSelection): use it
5962
5963 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5964
5965         * CutAndPaste.C (pasteSelection): remove the last next and
5966         previous from this file.
5967
5968 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5969
5970         * CutAndPaste.C (pasteSelection): more clean up, user proper
5971         ParagraphList functions for pasteing.
5972
5973         * ParagraphList.C (insert): new function, three arg insert
5974
5975 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5976
5977         * ParagraphList.C (insert): new function, three arg insert
5978
5979         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5980         not on paragraphs.
5981
5982 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5983
5984         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5985
5986 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5987
5988         * CutAndPaste.C (pasteSelection): remove some unneeded code.
5989
5990 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5991
5992         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5993         (copySelection): clean up a bit.
5994         (pasteSelection): use make_pair
5995
5996         * ParagraphList.C (ParagraphList): implement copy constructor
5997         (operator=): implement, base on copy constructor.
5998         (assign): new func
5999
6000         * paragraph.C (erase): return a bool
6001
6002         * paragraph_pimpl.C (erasePos): remove function, move contents...
6003         (erase): ... here. Return a bool.
6004         (erase): call erase instead of erasePos.
6005
6006 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
6007
6008         * ParagraphList.h: define PitPosPair
6009         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6010         ParagraphList, fix a bug on pasting multiple pars
6011         * text2.C: change interface to C&P
6012
6013 2003-04-30  André Pönitz  <poenitz@gmx.net>
6014
6015         * undo_func.C: revert part of yesterday's patch 2
6016
6017 2003-04-30  John Levon  <levon@movementarian.org>
6018
6019         * LColor.C: s/tabular/table/
6020
6021 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6022
6023         * text3.C (dispatch): do not convert iterator -> pointer
6024         * undo_funcs.C (setCursorParUndo): ditto
6025         * text_funcs.C (transposeChars): ditto
6026
6027         * text2.C (setLayout): ws changes only
6028
6029         * text.C (breakParagraph): do not convert iterator -> pointer
6030         (insertChar): ditto
6031         (acceptChange): ditto
6032         (rejectChange): ditto
6033         (changeCase): ditto
6034         (Delete): ditto
6035         (backspace): ditto
6036
6037         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6038         pointer
6039
6040 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6041
6042         * text3.C (gotoInset): YABG (yet another bad getChar)
6043
6044 2003-04-29  André Pönitz  <poenitz@gmx.net>
6045
6046         * paragraph.h: make operator= private unimplemented as long as
6047           it is unusable
6048
6049         * ParagraphList.C: whitespace
6050
6051         * paragraph.[Ch]:
6052         * paragraph_pimpl.[Ch]:
6053         * paragraph_funcs.C:
6054         * CutAndPaste.C:
6055         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
6056
6057         * text2.C:
6058           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6059
6060 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6061
6062         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6063         * paragraph.[Ch] (erase):
6064         * paragraph_pimpl.[Ch] (erase): change return type and value
6065         * text2.C (cutSelection): some rework
6066
6067 2003-04-28  John Levon  <levon@movementarian.org>
6068
6069         * bufferlist.C: changes for unsaved changes dialog
6070
6071 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6072
6073         * bufferlist.C (newFile): set language (messages_) for new
6074         documents also.
6075
6076         * buffer.C (readFile): ws changes only.
6077
6078 2003-04-28  André Pönitz  <poenitz@gmx.net>
6079
6080         * undo_funcs.C:
6081         * lyxfunc.C:
6082         * buffer.[Ch]:
6083         * BufferView_pimpl.C:
6084         * BufferView.C: getParFromID related ParagraphList::iterator changes
6085
6086 2003-04-28  André Pönitz  <poenitz@gmx.net>
6087
6088         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6089           Changes
6090
6091 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6092
6093         * messages.C: remove one more localedir class variable.
6094
6095 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6096
6097         * messages.C (getLocaleDir): singleton generation function
6098         (Pimpl): use it.
6099         (Messages): add a default constructor.
6100
6101         * main.C (main): do not setup localedir here, do not call
6102         gettext_init.
6103
6104         * gettext.C (_): use it.
6105         (gettext_init): delete funciton
6106
6107 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6108
6109         * gettext.C (getLyXMessages): new singleton generating function.
6110
6111         * buffer.C (updateDocLang): adjust
6112
6113         * Makefile.am (messages.o): add target
6114         (main.o): remove target
6115
6116 2003-04-27  John Levon  <levon@movementarian.org>
6117
6118         * bufferlist.C:
6119         * lyx_cb.C:
6120         * lyxfunc.C:
6121         * lyxvc.C: specify cancel button in Alert::prompt
6122
6123 2003-04-26  John Levon  <levon@movementarian.org>
6124
6125         * text3.C:
6126         * lyxfunc.C:
6127         * lfuns.h:
6128         * LyXAction.C: add LFUN_INSET_SETTINGS
6129
6130         * lyxfunc.C: don't enable tabular-feature when there's
6131         just any locking inset
6132
6133 2003-04-26  John Levon  <levon@movementarian.org>
6134
6135         * bufferlist.C: re-add Cancel to buffer close question
6136
6137         * lyxfunc.C: fix import UI a bit
6138
6139 2003-04-25  John Levon  <levon@movementarian.org>
6140
6141         * gettext.C: remove the broken asserts for now
6142
6143 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6144
6145         * messages.C: make case where setlocale cannot comply work better.
6146
6147         * buffer.C (updateDocLang): new function
6148         (changeLanguage): use it
6149         (readFile): use it
6150
6151         * text2.C (setCounter): use B_ a bit.
6152
6153         * lyxlayout.C (Read): be sure to trim the label strings.
6154
6155         * messages.C (Messages): fix typo in comment
6156
6157         * buffer.C (readFile): set message_ after file is loaded.
6158         (makeDocBookFile): remove double return
6159         (changeLanguage): reset message_ upon language change.
6160         (B_): new func, use this to get translated buffer strings.
6161
6162         * main.C: add myself and Jean Marc as authors.
6163
6164 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6165
6166         * messages.[hC]: pimplify Messages, and three different pimpls to be
6167         used in different circumstances.
6168
6169         * gettext.[Ch]: change for use with new message code.
6170
6171 2003-04-24 André Pönitz <poenitz@gmx.net>
6172
6173         * factory.C: support for eqref
6174
6175 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6176
6177         * messages.[Ch]: add missing char
6178
6179         * Makefile.am (lyx_SOURCES): add messages.[Ch]
6180
6181         * messages.[Ch]: New files
6182
6183 2003-04-18  John Levon  <levon@movementarian.org>
6184
6185         * BufferView.h:
6186         * BufferView.C:
6187         * BufferView_pimpl.C:
6188         * lfuns.h:
6189         * LyXAction.C:
6190         * lyxtext.h:
6191         * text2.C: remove layout-copy/paste (bug 778)
6192
6193 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6194
6195         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6196
6197 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6198
6199         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6200         if they succeed. Act accordingly.
6201
6202 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6203
6204         * text2.C (setCharFont): adjust
6205         (setCounter): adjust
6206         (insertStringAsLines): adjust
6207
6208         * text.C (leftMargin): adjust
6209         (setHeightOfRow): adjust
6210
6211         * rowpainter.C (paintFirst): adjust
6212         (paintLast): adjust
6213
6214         * paragraph_funcs.C (depthHook): ParagraphList::iterators
6215         (outerHook): ditto
6216         (isFirstInSequence): ditto
6217         (getEndLabel): ditto
6218         (outerFont): adjust
6219
6220         * paragraph.C (getParLanguage): comment out some hard stuff.
6221
6222         * buffer.C (insertStringAsLines): take a ParagraphList as arg
6223         (sgmlError): ditto
6224         (simpleDocBookOnePar): ditto
6225         (makeDocBookFile): use ParagraphList::iterator
6226
6227         * CutAndPaste.C (pasteSelection): adjust
6228
6229 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6230
6231         * text2.C (getFont): adjust
6232         (getLayoutFont): adjust
6233         (getLabelFont): adjust
6234
6235         * paragraph_funcs.C (TeXOnePar): adjust
6236
6237         * buffer.C (simpleLinuxDocOnePar): adjust
6238         (simpleDocBookOnePar): adjust
6239
6240         * CutAndPaste.C (pasteSelection): adjust
6241
6242         * BufferView.C (getEncoding): adjust
6243
6244         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6245
6246 2003-04-16  John Levon  <levon@movementarian.org>
6247
6248         * lyxfind.C: use parlist stuff for search/changes
6249
6250 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6251
6252         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6253
6254         * text2.C (deleteEmptyParagraphMechanism): adjust
6255
6256         * text2.[Ch] (ownerParagraph): delete func (both of them
6257
6258 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6259
6260         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6261
6262 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6263
6264         * ParagraphList.C: prepare for NO_NEXT
6265
6266 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6267
6268         * text2.C (getFont): adjust
6269         (getLayoutFont): adjust
6270         (getLabelFont): adjust
6271
6272         * paragraph.C (getFont): adjust
6273         (getLabelFont): adjust
6274         (getLayoutFont): adjust
6275
6276         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6277
6278 2003-04-15  John Levon  <levon@movementarian.org>
6279
6280         From Angus Leeming
6281
6282         * lyx_main.C: handle Include in .ui files
6283
6284 2003-04-15  John Levon  <levon@movementarian.org>
6285
6286         * MenuBackend.C: make the doc files length shorter
6287
6288         * ToolbarBackend.h:
6289         * ToolbarBackend.C: handle toolbar placement flags,
6290         Minibuffer
6291
6292 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6293
6294         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6295         adjust
6296
6297         * paragraph_funcs.C (TeXOnePar): adjust
6298
6299         * paragraph.C (getLabelFont): add outerfont arg, adjust
6300         (getLayoutFont): ditto
6301         (simpleTeXOnePar): adjust
6302
6303         * paragraph_pimpl.C (realizeFont): delete func
6304
6305 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
6306
6307         * text2.C (beforeFullRowInset): added a bad getchar check, removed
6308         row argument, constify cur argument.
6309
6310 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6311
6312         * text2.C (getFont): adjust
6313         (getLayoutFont): adjust
6314         (getLabelFont): adjust
6315
6316         * paragraph_funcs.C (TeXOnePar): adjust
6317         (outerFont): new func...
6318         (realizeFont): ...moved out from here, changed this to facilitate
6319         transition
6320
6321         * paragraph.C (getFont): take outerfont as arg, adjust
6322         (simpleTeXOnePar): add outerfont arg, adjust
6323
6324         * buffer.C (simpleLinuxDocOnePar): adjust
6325         (simpleDocBookOnePar): adjust
6326
6327         * CutAndPaste.C (pasteSelection): adjust
6328
6329         * BufferView.C (getEncoding): adjust
6330
6331 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6332
6333         * text2.C (setCharFont): adjust
6334         (setCounter): adjust
6335
6336         * text.C (leftMargin): adjust
6337         (setHeightOfRow): adjust
6338
6339         * rowpainter.C (paintFirst): adjust
6340         (paintLast): adjust
6341
6342         * paragraph_pimpl.C (realizeFont): adjust
6343
6344         * paragraph.C (isFirstInSequence): move from here...
6345         * paragraph_funcs.C (isFirstInSequence): ...to here
6346
6347         * paragraph.C (outerHook): move from here...
6348         * paragraph_funcs.C (outerHook): ...to here
6349
6350         * paragraph.C (depthHook): move from here...
6351         * paragraph_funcs.C (depthHook): ...to here
6352
6353         * paragraph.C (getEndLabel): move from here...
6354         * paragraph_funcs.C (getEndLabel): ...to here
6355
6356         * text2.C (realizeFont): move from here...
6357         * paragraph_funcs.C (realizeFont): ...to here
6358
6359 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6360
6361         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6362
6363 2003-04-14  Angus Leeming  <leeming@lyx.org>
6364
6365         * LColor.[Ch]: scrap LColor mathcursor.
6366
6367 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6368
6369         * lyxlex.[Ch] (text): delete function
6370         * trans.C (Load): adjust
6371         * paragraph_funcs.C (readParToken): adjust
6372
6373 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6374
6375         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6376         vector<char> instead of a char[].
6377
6378         * lyxlex_pimpl.C (getString): adjust
6379         (next): adjust
6380         (lex): use getString
6381         (eatLine): adjust
6382         (nextToken): adjust
6383
6384         * lyxlex.C (text): use pimpl_->getString()
6385         (getBool): ditto
6386         (findToken): ditto
6387
6388 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6389
6390         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6391         (makeFontEntriesLayoutSpecific): temp var for par.size()
6392         (setLayout): temp var for ownerParagraphs().end()
6393         (fullRebreak): temp var for rows().end()
6394         (selectionAsString): temp var for boost::next(startpit), realize
6395         that the while really is a regular for loop.
6396         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6397         setCursor in one place.
6398         (setParagraph): temp vr for ownerParagraphs().end()
6399         (updateCounters): make the while loop a for loop
6400         (cutSelection): temp var for ownerParagraphs().end()
6401         (updateInset): make the do {} while() a regular for loop
6402         (getCursorX): use temp vars
6403         (setCurrentFont): use temp vars
6404         (getColumnNearX): use temp vars
6405
6406 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6407
6408         * text.C (transformChar): use temp var for getChar
6409         (computeBidiTables): use temp var for row->par()
6410         (fill): move temp vars for row->par() and pit->layout() earlier in
6411         the function.
6412         (labelFill): use temp var for row->par()
6413         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6414         asc and desc, realize that pit never changes and that firstpit is
6415         just a duplicate and not needed. Exchange rit->par() with pit in a
6416         lot of places.
6417         (breakAgain): use a temp var for boost::next(rit)
6418         (breakAgainOneRow): ditto
6419         (breakParagraph): use a temp var for rows().begin()
6420         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6421         (cursorRightOneWord): use temp var for cursor.par() and
6422         cursor.pos(), remove usage of tmpcursor.
6423         (cursorLeftOneWord): use temp var for cursor.par() and
6424         cursor.pos() only set cur at end of function.
6425
6426 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6427
6428         * text.C, text2.C: exchange all usage of Paragraph::next with
6429         boost::next(ParagraphList::iterator)
6430
6431         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6432
6433         * text2.C (cursorTop): simplify implementation
6434         (cursorBottom): ditto
6435         (setParagraph): use ParagraphList::iterator
6436         (setCurrentFont): adjust
6437         (getColumnNearX): adjust
6438         (cursorRight): adjust
6439         (cursorLeft): remove usage of Paragraph::previous
6440         (cursorUpParagraph): ditto
6441         (deleteEmptyParagraphMechanism): slight cleanup
6442
6443         * text.C (isBoundary): take a Paragraph const & instead of a
6444         pointer as arg.
6445         (addressBreakPoint): ditto
6446         (leftMargin): remove usage of Paragraph::previous.
6447         (setHeightOfRow): ditto
6448         (cursorLeftOneWord): ditto
6449         (selectNextWordToSpellcheck): ditto
6450         (Delete): ditto
6451         (backspace): ditto
6452         (breakParagraph): remove one usage of Paragraph::next
6453         (redoParagraph): ditto
6454         (acceptChange): ditto
6455         (insertChar): adjust
6456         (rowBreakPoint): adjust
6457
6458         * bufferview_funcs.C (toggleAndShow): adjust
6459
6460 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
6461
6462         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6463         methods to access it.
6464         * lyxtext.h:
6465         * text.C: Added updateRowPositions to compute all row positions.
6466         Make top_y and getRowNearY() to use the cached y position
6467
6468 2003-04-11  John Levon  <levon@movementarian.org>
6469
6470         * text.C (rowBreakPoint): reintroduce the labelEnd
6471         checks, code copied from the row fill stuff. Deep voodoo.
6472
6473         * text.C (fill): add a comment and debugging for the
6474         next poor soul.
6475
6476 2003-04-11  John Levon  <levon@movementarian.org>
6477
6478         * text.C: make sure fullrow insets get wrapped to the next line,
6479         even when they're in a manual label
6480
6481 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6482
6483         * text2.C (insertParagraph): make it take ParagraphList::iterator
6484         as arg.
6485         (setLayout): make it return ParagraphList::iterator
6486         (redoParagraphs): ditto
6487         (setCounter): ditto
6488         (checkParagraph): ditto
6489
6490         * text.C (getRow): make getrow take ParagraphList::iterator as arg
6491
6492         * text2.C: adjust several funcs.
6493         (realizeFont): take a ParagraphList::iterator as arg.
6494         (getLayoutFont): ditto
6495         (getLabelFont): ditto
6496         (setCharFont): ditto
6497
6498         * text.C: adjust several funcs.
6499
6500 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6501
6502         * text.C (selectNextWordToSpellcheck): don't accidentally
6503         skip insets
6504
6505 2003-04-10  John Levon  <levon@movementarian.org>
6506
6507         * ToolbarBackend.C (getIcon): special handling for
6508         LFUN_MATH_DELIM
6509
6510 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6511
6512         * text2.C (cursorRight): a getChar assert fixed
6513
6514 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6515
6516         * text2.C (getFont): change to take a ParagraphList::iterator
6517         instead of Paragraph*
6518         Adjust several functions.
6519
6520         * text.C (transformChar): change to take a ParagraphList::iterator
6521         instead of Paragraph*
6522         (singleWidth): ditto
6523         Adjust several functions.
6524
6525         * rowpainter.C: adjust several functions
6526         * rowpainter.h:store a ParagraphList::iterator and not a
6527         Paragraph&.
6528
6529
6530 2003-04-09  John Levon  <levon@movementarian.org>
6531
6532         * lyxfunc.C:
6533         * lfuns.h:
6534         * LyXAction.h:
6535         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6536         and the "help" bits as well
6537
6538 2003-04-09  John Levon  <levon@movementarian.org>
6539
6540         * ToolbarBackend.h:
6541         * ToolbarBackend.C: allow multiple toolbars
6542
6543 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6544
6545         * undo_funcs.C (setCursorParUndo): adjust
6546
6547         * text_funcs.C (transposeChars): adjust
6548
6549         * text3.C (gotoNextInset): adjust
6550         (dispatch): adjust
6551
6552         * text2.C (setLayout): adjust
6553         (changeDepth): adjust
6554         (setFont): adjust
6555         (redoParagraphs): adjust
6556         (selectionAsString): adjust
6557         (setParagraph): adjust
6558         (insertInset): adjust
6559         (cutSelection): adjust
6560         (copySelection): adjust
6561         (pasteSelection): adjust
6562         (insertStringAsLines): adjust
6563         (updateInset): adjust
6564         (setCursor): change to take a ParagraphList::iterator parameter
6565         (setCursorIntern): change to take a ParagraphList::iterator parameter
6566         (setCurrentFont): adjust
6567         (cursorLeft): adjust
6568         (cursorRight): adjust
6569         (deleteEmptyParagraphMechanism): adjust
6570
6571         * text.C (breakParagraph): adjust
6572         (insertChar): adjust
6573         (acceptChange): adjust
6574         (rejectChange): adjust
6575         (selectNextWordToSpellcheck): adjust
6576         (changeCase): adjust
6577         (Delete): adjust
6578         (backspace): adjust
6579
6580         * lyxfind.C (SearchForward): adjust
6581         (SearchBackward): adjust
6582         (nextChange): adjust
6583
6584         * lyxcursor.C (par): adjust
6585
6586         * lyxcursor.h: store a ParagraphList::iterator instead of a
6587         Paragraph*
6588
6589         * lyx_cb.C (getPossibleLabel): adjust
6590
6591         * bufferview_funcs.C (toggleAndShow): adjust
6592
6593         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6594         (dispatch): adjust
6595
6596         * BufferView.C (removeAutoInsets): adjust
6597         (lockedInsetStoreUndo): adjust
6598
6599 2003-04-09  John Levon  <levon@movementarian.org>
6600
6601         * ToolbarBackend.C: try icon without argument
6602         if with argument fails
6603
6604 2003-04-08  John Levon  <levon@movementarian.org>
6605
6606         * ToolbarBackend.h:
6607         * ToolbarBackend.C: add getIcon(), handle tooltip,
6608         and change from "Icon" to "Item".
6609
6610 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6611
6612         * BufferView.C (lockInset): another bad getchar crunched
6613
6614 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6615
6616         * text2.C (changeDepth): do not setUndo on test_only (make undo work
6617         again)
6618
6619 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
6620
6621         * lyxfind.C (searchForward, searchBackwards): bug 782
6622
6623 2003-04-07  John Levon  <levon@movementarian.org>
6624
6625         * paragraph.C: remove dead comment
6626
6627         * text.C: remove troublesome depth-fiddling code
6628         in leftMargin() and rightMargin() (bug 1017)
6629
6630         * text.C: fix breaking of rows in nested lists
6631         (bug 1004)
6632
6633         * text2.C (updateCounters): fix up depth values
6634         (bug 1013)
6635
6636 2003-04-07  John Levon  <levon@movementarian.org>
6637
6638         * BufferView_pimpl.C: clear message when doc finishes resizing,
6639         and after a mouse event
6640
6641         * lyxfunc.C: clear message after exiting inset
6642
6643 2003-04-07  John Levon  <levon@movementarian.org>
6644
6645         * bufferview_funcs.C: show math status not outside
6646         status in the statusbar
6647
6648 2003-04-07  John Levon  <levon@movementarian.org>
6649
6650         * lyxfunc.C: note status changed after a depth change
6651
6652 2003-04-04  Angus Leeming  <leeming@lyx.org>
6653
6654         * LaTeX.h: move AuxInfo operator==, != out of line.
6655         Remove LaTeX virtual destructor; nothing derives from it.
6656         Move operator()() out of public area and rename it startscript().
6657         Change protected for private.
6658
6659 2003-04-04  Angus Leeming  <leeming@lyx.org>
6660
6661         * lyxfunc.C:
6662         * text2.C: remove unneeded #includes.
6663
6664 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6665
6666         * text2.C (dEPM): fix the heigth of the next row
6667
6668 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6669
6670         * text.C: squashed an invalid getChar requester + some ws changes
6671
6672 2003-04-03  John Levon  <levon@movementarian.org>
6673
6674         * bufferview_funcs.h:
6675         * bufferview_funcs.C:
6676         * lyxfunc.C:
6677         * lyxtext.h:
6678         * text2.C: make getStatus work for the env depth lfuns
6679
6680 2003-04-03  John Levon  <levon@movementarian.org>
6681
6682         * bufferview_funcs.h:
6683         * bufferview_funcs.C:
6684         * lyxfunc.C:
6685         * lyxtext.h:
6686         * text2.C: parlistize decDepth(), by merging it with incDepth()
6687
6688 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6689
6690         * lyxrow.h: store a ParagraphList::iterator instead of a
6691         Paragraph* and adjust other class functions to suit.
6692
6693         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6694         above.
6695
6696 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6697
6698         * text2.C (setCursor): do not anchor to cursor row for the time being
6699
6700 2003-04-02  John Levon  <levon@movementarian.org>
6701
6702         * LyXAction.C:
6703         * lfuns.h:
6704         * lyx_main.C:
6705         * lyxtext.h:
6706         * text.C:
6707         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6708
6709 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6710
6711         * paragraph.h: make ParagraphList and ParagraphList::iterator
6712         friends of Paragraph.
6713
6714         * buffer.C (makeLinuxDocFile): move towards ParagraphList
6715
6716         * ParagraphList.C: Use the private next_ and previous_ from
6717         Paragraph.
6718
6719 2003-04-01  John Levon  <levon@movementarian.org>
6720
6721         * ToolbarBackend.h:
6722         * ToolbarBackend.C:
6723         * Makefile.am: rename, remove defaults gunk
6724
6725         * MenuBackend.h:
6726         * MenuBackend.C: remove defaults gunk
6727
6728         * Languages.h:
6729         * Languages.C: remove defaults gunk
6730
6731         * lyx_main.h:
6732         * lyx_main.C: error out if files couldn't be found.
6733
6734 2003-04-02  John Levon  <levon@movementarian.org>
6735
6736         * text2.C: make incDepth() use parlist
6737
6738 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6739
6740         * undo_funcs.C (firstUndoParagraph): adjust
6741
6742         * text3.C (gotoInset): adjust
6743         (dispatch): adjust, and rewrite loop.
6744
6745         * text2.C (init): adjust, and rewrite loop.
6746         (redoParagraphs): adjust
6747         (updateInset): adjust, and rewrite loop.
6748         (deleteEmptyParagraphMechanism): adjust
6749
6750         * tabular.C (LyXTabular): adjust
6751         (SetMultiColumn): adjust
6752         (TeXRow): adjust
6753
6754         * lyxtext.[Ch] (ownerParagraph): delete function
6755         (ownerParagraphs): new function returns a ParagraphList.
6756
6757         * BufferView.C (removeAutoInsets): adjust
6758         (insertErrors): adjust
6759         (setCursorFromRow): adjust
6760
6761 2003-04-01  Angus Leeming  <leeming@lyx.org>
6762
6763         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6764         in the frontends.
6765
6766 2003-04-02  John Levon  <levon@movementarian.org>
6767
6768         * lyxtext.h:
6769         * text.C:
6770         * Makefile.am:
6771         * text_funcs.h:
6772         * text_funcs.C: make transposeChars a free function
6773
6774         * lyxrow_funcs.C: remove wrong comment
6775
6776 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6777
6778         * lyxtext.h: adjust
6779         * rowpainter.C: adjust
6780         * text.C: adjust
6781         * text2.C: adjust
6782         * text3.C: adjust
6783
6784         * lyxrow_funcs. [Ch]: new files
6785
6786         * lyxrow.[Ch]: remove next and previous pointers
6787         (next,previous): remove accessor functions
6788         (isParEnd): move to lyxrow_funcs
6789         (lastPos): move to lyxrow_funcs
6790         (nextRowIsAllInset): move to lyxrow_funcs
6791         (lastPrintablePos): move to lyxrow_funcs
6792         (numberOfSeparators): move to lyxrow_funcs
6793         (numberOfHfills): move to lyxrow_funcs
6794         (numberOfLabelHfills): move to lyxrow_funcs
6795         (hfillExpansion): move to lyxrow_funcs
6796
6797         * lyxfunc.C: adjust
6798
6799         * bufferview_funcs.C (toggleAndShow): adjust
6800
6801         * RowList.h: Remove class RowList from file leave just a
6802         std::list<Row>.
6803
6804         * RowList.C: delete file
6805
6806         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6807         and lyxrow_funcs.h
6808
6809 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6810
6811         * text3.C (cursorPrevious): adjust
6812         (cursorNext): adjust
6813         (dispatch): adjust
6814
6815         * text2.C (redoHeightOfParagraph): adjust
6816         (redoDrawingOfParagraph): adjust
6817         (setCursor): adjust
6818
6819         * text.C (breakParagraph): adjust
6820         (insertChar): adjust
6821         (backspace): adjust
6822
6823         * rowpainter.C (RowPainter): adjust
6824         (leftMargin): simplify and adjust
6825         (most rowpainter functions): adjust.
6826
6827         * rowpainter.h: store the row as RowList::iterator not as Row*
6828
6829         * lyxcursor.C (row): taka RowList::iterator as arg
6830         (irow): ditto
6831
6832         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6833         of Row*.
6834
6835 2003-04-01  Angus Leeming  <leeming@lyx.org>
6836
6837         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6838         stuff like bool Bool.
6839
6840 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6841
6842         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6843         rewrite a loop
6844
6845 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6846
6847         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6848         RowList::iterator.
6849
6850         * lyxtext.h (rows): drop one version and leve a const variant that
6851         returns a RowList::iterator.
6852
6853 2003-03-31  Angus Leeming  <leeming@lyx.org>
6854
6855         * text.C (fill): ensure that the signature is the same as that in the
6856         header file.
6857
6858 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
6859
6860         * text2.C (redoParagraphs): adjust
6861         (updateCounters): adjust
6862         (checkParagraph): adjust
6863         (getColumnNearX): adjust and reformat a bit.
6864
6865         * text.C (top_y): adjust
6866         (workWidth): adjust
6867         (leftMargin): adjust
6868         (prepareToPrint): adjust
6869         (getRow): adjust
6870         (getRowNearY): adjust
6871
6872         * lyxtext.h: make rowlist_ mutable.
6873
6874         * RowList.h: add const_iterator
6875         * RowList.C: adjust for RowList::const_iterator.
6876
6877         * text2.C (getCursorX): make it take a RowList::iterator as arg,
6878         adjust.
6879
6880 2003-03-31  John Levon  <levon@movementarian.org>
6881
6882         * lyxrc.h:
6883         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6884
6885         * lyx_main.C: set default fonts from using lyx_gui funcs
6886
6887         * exporter.C: pdf_mode moved from lyxrc
6888
6889         * lyx_cb.C:
6890         * lyxfunc.C: changes from above
6891
6892 2003-03-31  John Levon  <levon@movementarian.org>
6893
6894         * lyx_main.C: fix to the last fix
6895
6896 2003-03-31  John Levon  <levon@movementarian.org>
6897
6898         * bufferlist.C: "Load original" -> "Load Original"
6899
6900         * converter.C:
6901         * exporter.C:
6902         * importer.C:
6903         * lyx_main.C:
6904         * format.C: more Alert cleanups
6905
6906 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6907
6908         * text2.C (removeParagraph): make it take a RowList::iterator as
6909         arg, adjust.
6910         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6911         (postRowPaint): make it take a RowList::iterator as arg, adjust.
6912
6913         * text.C (anchor_row): make it take a RowList::iterator as arg,
6914         adjust.
6915         (computeBidiTables): make it take a const reference to Row instead
6916         of Row pointer, adjust.
6917         (leftMargin): make it take a RowList::iterator as arg, adjust.
6918         (rowBreakPoint): adjust
6919         (breakAgainOneRow): make it take a RowList::iterator as arg,
6920         adjust.
6921         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6922
6923         * bufferview_funcs.C (toggleAndShow): adjust
6924
6925 2003-03-30  John Levon  <levon@movementarian.org>
6926
6927         * Makefile.am:
6928         * BoostFormat.h:
6929         * boost-inst.C: moved to support
6930
6931         * several files: changes as a result
6932
6933 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6934
6935         * text2.C (LyXText): adjust.
6936         (init): adjust
6937         (removeRow): make it take a RowList::iterator as arg, adjust.
6938         (fullRebreak): adjust
6939         (deleteEmptyParagraphMechanism): adjust
6940         (clearPaint): adjust
6941         (postPaint): adjust
6942
6943         * text.C (top_y): adjust
6944         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6945         (breakAgain): make it take a RowList::iterator as arg, adjust.
6946         (breakParagraph): adjust
6947         (insertChar): adjust
6948         (backspace): adjust
6949
6950         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6951         need_break_row, and refresh_row.
6952
6953         * text3.C (dispatch): adjust
6954
6955         * text2.C (checkParagraph): adjust
6956         (setCursor): adjust
6957         (setCursorFromCoordinates): adjust
6958
6959         * text.C (top_y): adjust
6960         (workWidth): adjust
6961         (getRow): make it return a RowList::iterator, adjust
6962         (getRowNearY): make it return a RowList::iterator, adjust
6963
6964         * text2.C (init): adjust
6965         (insertRow): remove function
6966         (insertParagraph): adjust
6967         (redoParagraphs): adjust
6968         (fullRebreak): adjust
6969         (updateCounters): adjust
6970
6971         * text.C (top_y): rewrite to use RowList iterators.
6972         (top_y): adjust
6973         (setHeightOfRow): rewrite to sue RowList iterators.
6974         (appendParagraph): adjust
6975         (breakAgain): adjust
6976         (breakAgainOneRow): adjust
6977         (breakParagraph): adjust
6978         (getRow): adjust
6979         (getRowNearY): adjust, and remove commented code.
6980
6981         * lyxtext.h (firstRow): delete function
6982         (lastRow): delete function
6983         (rows): new function (const and non-const versions.)
6984         (insertRow): delete function
6985
6986         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6987
6988 2003-03-29  John Levon  <levon@movementarian.org>
6989
6990         * BufferView_pimpl.C: always update scrollbar top
6991         because pasting text when we're anchored could mean we
6992         miss an update altogether
6993
6994 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6995
6996         * text2.C (init): use rowlist_.end() and not 0.
6997         (insertRow): change to take a RowList::iterator as arg, adjust
6998         for this.
6999         (insertParagraph): change to take a RowList::iterator as arg,
7000         adjust for this.
7001         (redoParagraphs): remove some debug msgs.
7002
7003         * text.C (appendParagraph): change to take a RowList::iterator
7004         arg, adjust for this.
7005         (breakAgain): add an assert
7006         (breakAgainOneRow): ditto
7007
7008 2003-03-29  John Levon  <levon@movementarian.org>
7009
7010         * text2.C: do not clear selection after inc/decDepth
7011         (bug 550)
7012
7013 2003-03-29  John Levon  <levon@movementarian.org>
7014
7015         * BufferView.C:
7016         * buffer.C: fix broken strerrors according to Lars
7017
7018 2003-03-29  John Levon  <levon@movementarian.org>
7019
7020         * converters.C: more Alert cleanups
7021
7022 2003-03-29  John Levon  <levon@movementarian.org>
7023
7024         * bufferview_funcs.C: remove pointless Alert
7025
7026         * buffer.C: fix confusing error message when
7027         a template is chmoded 000
7028
7029 2003-03-29  John Levon  <levon@movementarian.org>
7030
7031         * BufferView.C:
7032         * BufferView.h:
7033         * BufferView_pimpl.C: Alert fixes
7034
7035         * Makefile.am:
7036         * tabular.C:
7037         * tabular-old.C: remove unused table compat reading
7038
7039 2003-03-29  John Levon  <levon@movementarian.org>
7040
7041         * BufferView.C:
7042         * buffer.C:
7043         * lyx_cb.h:
7044         * lyx_cb.C: more Alert cleanups
7045
7046         * lyxfunc.C: don't allow chktex if not latex document
7047
7048 2003-03-29  John Levon  <levon@movementarian.org>
7049
7050         * lyx_cb.C:
7051         * BufferView.C:
7052         * buffer.C: warnings pushed down from support/,
7053         kill err_alert
7054
7055 2003-03-29  John Levon  <levon@movementarian.org>
7056
7057         * lyxfunc.C: safety check for C-r (revert)
7058
7059 2003-03-29  John Levon  <levon@movementarian.org>
7060
7061         * bufferlist.h:
7062         * bufferlist.C: several UI fixes using Alert::prompt.
7063         Fix the pointless looping quit code. Fix stupid revert
7064         behaviour (bug 938)
7065
7066         * lyxvc.h:
7067         * lyxvc.C:
7068         * lyx_cb.C: use Alert::prompt
7069
7070         * lyx_main.C: remove a silly question
7071
7072         * lyxfunc.C: remove a couple of silly questions,
7073         use Alert::prompt
7074
7075 2003-03-28  John Levon  <levon@movementarian.org>
7076
7077         * text2.C: fix bug 974 (End on empty par)
7078
7079 2003-03-28  John Levon  <levon@movementarian.org>
7080
7081         * BufferView_pimpl.C:
7082         * LyXAction.C:
7083         * lfuns.h: remove do-nothing math greek lfuns
7084
7085 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7086
7087         * lyxgluelength.h (isValidGlueLength): add default arg on
7088         parameter 2. Remove default arg from friend in class.
7089
7090         * lyxlength.h (isValidLength): add default arg on parameter 2.
7091         Remove default arg from friend in class.
7092
7093         * text2.C (LyXText): adjust, initialize refresh_row.
7094         (init): adjust
7095         (removeRow): adjust
7096         (insertRow): adjust
7097         (insertParagraph): adjst
7098         (redoParagraphs): adjust
7099         (fullRebreak): adjust
7100         (updateCounters): adjust
7101         (deleteEmptyParagraphMechanism): first attempt at fixing a
7102         crashing bug.
7103
7104         * text.C (top_y): adjust
7105         (setHeightOfRow): adjust
7106         (getRow): adjust
7107         (getRowNearY): adjust
7108
7109         * lyxtext.h: include RowList.h
7110         (~LyXText): not needed anymore, deleted.
7111         (firstRow): modify for RowList
7112         (lastRow): new function
7113         Delete firstrow and lastrow class variables, add a Rowlist
7114         rowlist_ class variable.
7115
7116         * lyxrow.C (lastPos): use empty() and not !size() to check if a
7117         paragraph is empty.
7118
7119         * RowList.C (insert): fix case where it == begin().
7120
7121 2003-03-26  Angus Leeming  <leeming@lyx.org>
7122
7123         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7124         the thesaurus dialog.
7125
7126 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7127
7128         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7129
7130         * RowList.[Ch]: new files
7131
7132         * ParagraphList.C (erase): handle the case where it == begin
7133         correctly.
7134
7135 2003-03-25  John Levon  <levon@movementarian.org>
7136
7137         * Makefile.am:
7138         * aspell_local.h:
7139         * aspell.C: add new aspell support
7140
7141         * lyxrc.h:
7142         * lyxrc.C: Make use_pspell be use_spell_lib. Always
7143         have it accessible.
7144
7145 2003-03-25  Angus Leeming  <leeming@lyx.org>
7146
7147         * lfuns.h:
7148         * LyXAction.C (init): new LFUN_INSET_INSERT.
7149
7150         * BufferView_pimpl.C (dispatch): split out part of the
7151         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7152
7153         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7154         LFUN_INSET_APPLY.
7155
7156 2003-03-25  Angus Leeming  <leeming@lyx.org>
7157
7158         * lyxfunc.C (dispatch): changes to the Dialogs interface.
7159
7160 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
7161
7162         * text2.C:
7163         * text3.C: remove useless row->height(0)
7164
7165 2003-03-25  John Levon  <levon@movementarian.org>
7166
7167         * lyxtext.h:
7168         * text2.C:
7169         * text3.C: rename the refreshing stuff to better names
7170
7171 2003-03-24  John Levon  <levon@movementarian.org>
7172
7173         * BufferView_pimpl.h:
7174         * BufferView_pimpl.C: update layout choice on a mouse
7175         press/release
7176
7177 2003-03-23  John Levon  <levon@movementarian.org>
7178
7179         * Makefile.am: fix commandtags.h reference
7180
7181 2003-03-22  John Levon  <levon@movementarian.org>
7182
7183         * BufferView_pimpl.C:
7184         * lyxtext.h:
7185         * rowpainter.C:
7186         * rowpainter.h:
7187         * text.C:
7188         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7189
7190 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
7191
7192         * lyxtext.h:
7193         * text.C: take the rtl methods out of line
7194
7195 2003-03-21 André Pönitz <poenitz@gmx.net>
7196
7197         * metricsinfo.[Ch]: new files containing structures to be passed around
7198         during the two-phase-drawing...
7199
7200 2003-03-21 André Pönitz <poenitz@gmx.net>
7201
7202         * lyxtextclass.C: read 'environment' tag.
7203
7204 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
7205
7206         * text2.C (removeRow): fix bug 964
7207
7208 2003-03-20  John Levon  <levon@movementarian.org>
7209
7210         * rowpainter.C:
7211         * text.C:
7212         * text2.C: paint cleanups. Inset::update() dropped font
7213         parameter
7214
7215 2003-03-19  John Levon  <levon@movementarian.org>
7216
7217         * lyxfunc.C: only fitcursor/markDirty if available()
7218
7219 2003-03-19  John Levon  <levon@movementarian.org>
7220
7221         * commandtags.h: rename to ...
7222
7223         * lfuns.h: ... this, and renumber / cleanup
7224
7225 2003-03-19  John Levon  <levon@movementarian.org>
7226
7227         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7228         fit the cursor after an lfun
7229
7230         * BufferView.h:
7231         * BufferView.C:
7232         * BufferView_pimpl.h:
7233         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7234
7235         * LyXAction.C: layout-character should have ReadOnly
7236
7237         * ParagraphParameters.C:
7238         * buffer.C:
7239         * bufferview_funcs.C:
7240         * lyx_cb.C:
7241         * lyxfind.C:
7242         * lyxtext.h:
7243         * text.C:
7244         * text2.C:
7245         * text3.C:
7246         * undo_funcs.C: changes from above
7247
7248 2003-03-18  John Levon  <levon@movementarian.org>
7249
7250         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7251         remove it from update()
7252
7253         * lyxfunc.C: update layout choice after an lfun
7254
7255         * text3.C: remove extra updateLayoutChoice()s
7256
7257 2003-03-18  John Levon  <levon@movementarian.org>
7258
7259         * text.C: top_y change means full repaint, fix
7260         a drawing bug with cursor movement
7261
7262 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7263
7264         * lyxtext.h:
7265         * text.C:
7266         * text2.C: anchor row on setCursor
7267
7268 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7269
7270         * lyxtext.h: remove almost all mutable keywords
7271         * text.C:
7272         * text2.C:
7273         * text3.C: remove const keywords accordingly
7274
7275 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7276
7277         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7278         anon namespace
7279         (TeXEnvironment): ditto
7280         (TeXOnePar): ditto
7281
7282 2003-03-17  John Levon  <levon@movementarian.org>
7283
7284         * text.C (rowBreakPoint): remove attempt to fix displayed
7285         math insets inside a manual label
7286
7287 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7288
7289         * lyxtext.h: remove BufferView* as first arg from almost all class
7290         functions.
7291         * other files: adjust.
7292
7293 2003-03-17  John Levon  <levon@movementarian.org>
7294
7295         * lyxtext.h:
7296         * undo_funcs.C:
7297         * text2.C: more paint cleanups
7298
7299         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7300
7301         * rowpainter.h:
7302         * rowpainter.C: remove "smart" background painting code
7303
7304 2003-03-16  John Levon  <levon@movementarian.org>
7305
7306         * lyxtext.h:
7307         * text.C:
7308         * text2.C:
7309         * text3.C: add helper functions for setting refresh_row/y
7310
7311 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
7312
7313         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7314         newline inset which *can* get inserted in the pass_thru layouts.
7315         This is primarily for literate documents.
7316
7317 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
7318
7319         * buffer.C: increment LYX_FORMAT to 223
7320
7321 2003-03-14 André Pönitz <poenitz@gmx.net>
7322
7323         * textclass.h: prepare for environment handling, ws changes
7324         * lyxlayout.C: read latexheader and latexfooter tags
7325
7326 2003-03-14  John Levon  <levon@movementarian.org>
7327
7328         * text2.C: rewrite ::status() a bit
7329
7330 2003-03-13  John Levon  <levon@movementarian.org>
7331
7332         * lyxtext.h: add some docs
7333
7334 2003-03-13  John Levon  <levon@movementarian.org>
7335
7336         * lyxtext.h:
7337         * text.C:
7338         * text2.C:
7339         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7340
7341 2003-03-13  John Levon  <levon@movementarian.org>
7342
7343         * text3.C: fix appendix redrawing
7344
7345 2003-03-13  John Levon  <levon@movementarian.org>
7346
7347         * text.C (setHeightOfRow):
7348         * rowpainter.h:
7349         * rowpainter.C: make appendix mark have the text
7350           "Appendix" so the user knows what it is
7351
7352         * LColor.h:
7353         * LColor.C: s/appendixline/appendix/ from above
7354
7355 2003-03-13  John Levon  <levon@movementarian.org>
7356
7357         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7358
7359         * text.C: fix a getChar(pos) bug properly
7360
7361 2003-03-13  Angus Leeming  <leeming@lyx.org>
7362
7363         * commandtags.h:
7364         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7365         Probably only temporary. Let's see how things pan out.
7366
7367         * BufferView.C (unlockInset):
7368         * BufferView_pimpl.C (fitCursor):
7369         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7370
7371         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7372         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7373
7374         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7375         new functions that convert ParagraphParameters to and from a string.
7376
7377         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7378         BufferView::Pimpl's dispatch.
7379         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7380
7381 2003-03-13 André Pönitz <poenitz@gmx.net>
7382
7383         * lyxfunc.C:
7384         * text3.C:
7385         * factory.C: make it aware of InsetEnv
7386
7387 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7388
7389         * text2.C (setCursor): never ask for one past last
7390         (setCursor): add some debugging messages.
7391
7392         * text.C (singleWidth): never ask for one past last
7393         (singleWidth): ditto
7394         (leftMargin): ditto
7395         (rightMargin): ditto
7396         (rowBreakPoint): ditto
7397         (setHeightOfRow): ditto
7398         (prepareToPrint): ditto
7399
7400         * rowpainter.C (paintBackground): never ask for one past last
7401         (paintText): never ask for one past last
7402
7403         * paragraph_pimpl.C (getChar): make the assert stricter, never
7404         allow the one past last pos to be taken
7405
7406         * paragraph.C (getChar): ws changes only
7407
7408         * lyxrow.C (nextRowIsAllInset): never ask for one past last
7409         (numberOfSeparators): ditto
7410         (numberOfHfills): ditto
7411
7412 2003-03-12  John Levon  <levon@movementarian.org>
7413
7414         * author.h:
7415         * author.C:
7416         * bufferparams.h:
7417         * bufferparams.C:
7418         * paragraph_funcs.C: fix per-buffer authorlists
7419
7420 2003-03-12  John Levon  <levon@movementarian.org>
7421
7422         * text.C: fix newline in right address
7423
7424 2003-03-12  Angus Leeming  <leeming@lyx.org>
7425
7426         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7427         duplicate those in LyXFunc::dispatch.
7428
7429         * commandtags.h:
7430         * LyXAction.C:
7431         * ToolbarDefaults.C:
7432         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7433         Add LFUN_FONTFREE_UPDATE.
7434
7435         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7436         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7437
7438         * bufferview_func.[Ch]: several new functions to facilliate
7439         transfer of data to and from the character dialog.
7440
7441 2003-03-12  John Levon  <levon@movementarian.org>
7442
7443         * buffer.C:
7444         * paragraph.h:
7445         * paragraph.C:
7446         * paragraph_funcs.C:
7447         * paragraph_pimpl.C:
7448         * sgml.C:
7449         * tabular.C:
7450         * text.C:
7451         * text3.C: remove META_NEWLINE in favour of an inset
7452
7453         * rowpainter.h:
7454         * rowpainter.C: remove paintNewline (done by inset)
7455
7456 2003-03-12  John Levon  <levon@movementarian.org>
7457
7458         * paragraph_pimpl.C: complain about bad getChar()s
7459         for a while at least
7460
7461 2003-03-12  John Levon  <levon@movementarian.org>
7462
7463         * buffer.h:
7464         * buffer.C: move paragraph read into a separate function,
7465         a little renaming to reflect that.
7466
7467         * bufferparams.h:
7468         * bufferparams.C: remove the author_ids map, not necessary now
7469
7470         * factory.h:
7471         * factory.C: moved Buffer::readInset to here
7472
7473         * paragraph_funcs.h:
7474         * paragraph_funcs.C: readParagraph free function moved from
7475         buffer.C
7476
7477         * tabular.C: name change
7478
7479 2003-03-12  John Levon  <levon@movementarian.org>
7480
7481         * buffer.C:
7482         * ParagraphParameters.C: move par params input to
7483         a read() method
7484
7485         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7486         behave like a normal read from the stream wrt reading
7487         a line vs. a \\token
7488
7489 2003-03-12  John Levon  <levon@movementarian.org>
7490
7491         * paragraph.C:
7492         * ParagraphParameters.h:
7493         * ParagraphParameters.C: move output code to a
7494         ::write() method
7495
7496 2003-03-12  John Levon  <levon@movementarian.org>
7497
7498         * BufferView.C (insertLyXFile):
7499         * buffer.h:
7500         * buffer.C:
7501         * tabular.C: use a parlist iterator for creating the
7502           document.
7503
7504 2003-03-12  John Levon  <levon@movementarian.org>
7505
7506         * buffer.C: make current_change static local not
7507           static file-scope
7508
7509 2003-03-12  John Levon  <levon@movementarian.org>
7510
7511         * buffer.C: fix insertStringAsLines for change tracking
7512
7513 2003-03-12  John Levon  <levon@movementarian.org>
7514
7515         * BufferView.C:
7516         * tabular.C:
7517         * buffer.h:
7518         * buffer.C:
7519         * bufferparams.h:
7520         * bufferparams.C: move author list into params. Rename some
7521           functions. Move the header reading into a separate token
7522           loop. Move the header token reading into BufferParams.
7523
7524 2003-03-12  John Levon  <levon@movementarian.org>
7525
7526         * changes.C: put debug inside lyxerr.debugging() checks
7527
7528 2003-03-11 André Pönitz <poenitz@gmx.net>
7529
7530         * factory.C: make it aware of InsetHFill
7531
7532 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7533
7534         * buffer.C (latexParagraphs): move function from here...
7535         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7536         args.
7537
7538 2003-03-10  Angus Leeming  <leeming@lyx.org>
7539
7540         * LyXAction.C (init): fix bug in poplating array with multiple entries
7541         with the same LFUN (spotted by JMarc).
7542
7543 2003-03-10  John Levon  <levon@movementarian.org>
7544
7545         * text.C:
7546         * text2.C: move getColumnNearX() near its
7547         only call site
7548
7549 2003-03-10  John Levon  <levon@movementarian.org>
7550
7551         * text.C: fix break before a minipage
7552
7553 2003-03-10  John Levon  <levon@movementarian.org>
7554
7555         * text.C: fix the last commit
7556
7557 2003-03-09  John Levon  <levon@movementarian.org>
7558
7559         * lyxtext.h:
7560         * text.C:
7561         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7562         bug 365 (don't break before insets unless needed). Don't
7563         return a value > last under any circumstances.
7564
7565 2003-03-09  Angus Leeming  <leeming@lyx.org>
7566
7567         * BufferView_pimpl.C (trackChanges, dispatch): call
7568         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7569
7570 2003-03-09  Angus Leeming  <leeming@lyx.org>
7571
7572         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7573         than Dialogs::showAboutlyx().
7574
7575 2003-03-09  Angus Leeming  <leeming@lyx.org>
7576
7577         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7578         than Dialogs::showTabularCreate().
7579
7580 2003-03-09  John Levon  <levon@movementarian.org>
7581
7582         * lyxtext.h:
7583         * text.C:
7584         * text2.C: 3rd arg to nextBreakPoint was always the same.
7585           Use references.
7586
7587 2003-03-08  John Levon  <levon@movementarian.org>
7588
7589         * lyxrow.C:
7590         * paragraph.C:
7591         * paragraph.h:
7592         * rowpainter.C:
7593         * text.C:
7594         * text2.C: Remove the "main" bit from the "main body"
7595           notion.
7596
7597 2003-03-08  John Levon  <levon@movementarian.org>
7598
7599         * text.C (leftMargin): The left margin of an empty
7600         manual label paragraph should not include the label width
7601         string length.
7602
7603         * text.C (prepareToPrint): don't attempt to measure hfills
7604         for empty manual label paragraphs - the answer should be 0
7605
7606 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7607
7608         * CutAndPaste.C: remove commented code and reindent.
7609
7610 2003-03-08  John Levon  <levon@movementarian.org>
7611
7612         * lyxfunc.h:
7613         * lyxfunc.C: move reloadBuffer()
7614
7615         * BufferView.h:
7616         * BufferView.C: to here
7617
7618         * lyxvc.C: add comment
7619
7620         * vc-backend.h:
7621         * vc-backend.C: call bv->reload() to avoid
7622           getStatus() check on MENURELOAD
7623
7624 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
7625
7626         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7627         to an old format .dep file.
7628
7629 2003-03-07  Angus Leeming  <leeming@lyx.org>
7630
7631         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7632         when the LFUN_MOUSE_RELEASE should have been handled by
7633         inset->localDispatch.
7634
7635 2003-03-07  Angus Leeming  <leeming@lyx.org>
7636
7637         * BufferView_pimpl.C (dispatch):
7638         * LyXAction.C (init):
7639         * ToolbarDefaults.C (init):
7640         * commandtags.h:
7641         * lyxfunc.C (getStatus):
7642         remove LFUN_INSET_GRAPHICS.
7643
7644         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7645
7646 2003-03-07  Angus Leeming  <leeming@lyx.org>
7647
7648         * commandtags.h:
7649         * LyXAction.C (init):
7650         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7651
7652         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7653
7654         * commandtags.h:
7655         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7656
7657         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7658         localDispatch method LFUN_INSET_DIALOG_UPDATE.
7659
7660 2003-03-07  Angus Leeming  <leeming@lyx.org>
7661
7662         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7663         remove "ert".
7664
7665 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7666
7667         * ParagraphList.C (front): new function
7668         (back): implement
7669
7670 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
7671
7672         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7673         and top_row_offset_. removed var first_y.
7674         * text.C (top_y):
7675         * text2.C (LyXText, removeRow):
7676         * text3.C:
7677         * BufferView_pimpl.C:
7678         use these methods instead of using first_y
7679
7680 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7681
7682         * text2.C (pasteSelection): adjust for checkPastePossible
7683
7684         * CutAndPaste.C: remove Paragraph * buf and replace with
7685         ParagraphList paragraphs.
7686         (DeleteBuffer): delete
7687         (cutSelection): change the tc type to textclass_type
7688         (copySelection): change the tc type to textclass_type
7689         (copySelection): adjust for ParagraphList
7690         (pasteSelection): change the tc type to textclass_type
7691         (pasteSelection): adjust for Paragraphlist
7692         (nrOfParagraphs): simplify for ParagraphList
7693         (checkPastePossible): simplify for ParagraphList
7694         (checkPastePossible): remove unused arg
7695
7696         * ParagraphList.C (insert): handle the case where there are no
7697         paragraphs yet.
7698
7699         * CutAndPaste.h: make CutAndPaste a namespace.
7700
7701         * text3.C (dispatch): adjust
7702
7703         * text.C (breakParagraph): add a ParagraphList as arg
7704
7705         * paragraph_funcs.C (breakParagraph): change to take a
7706         BufferParams and a ParagraphList as args.
7707         (breakParagraphConservative): ditto
7708         (mergeParagraph): ditto
7709         (TeXDeeper): add a ParagraphList arg
7710         (TeXEnvironment): ditto
7711         (TeXOnePar): ditto
7712
7713         * buffer.C (readLyXformat2): adjust
7714         (insertStringAsLines): adjust
7715         (latexParagraphs): adjust
7716
7717         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7718         (cutSelection): adjust
7719         (pasteSelection): adjust
7720
7721         * BufferView_pimpl.C (insertInset): adjust
7722
7723 2003-03-05  Angus Leeming  <leeming@lyx.org>
7724
7725         * commandtags.h:
7726         * LyXAction.C (init):
7727         * BufferView_pimpl.C (dispatch):
7728         * lyxfunc.C (getStatus):
7729         remove LFUN_CHILD_INSERT.
7730
7731         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7732
7733 2003-03-05  Angus Leeming  <leeming@lyx.org>
7734
7735         * commandtags.h:
7736         * LyXAction.C (init):
7737         * src/factory.C (createInset):
7738         * lyxfunc.C (getStatus):
7739         * text3.C (dispatch):
7740         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7741
7742         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7743
7744 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7745
7746         * ParagraphList.C (insert): handle insert right before end()
7747         (erase): fix cases where it can be first or last paragraph.
7748
7749 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7750
7751         * paragraph_funcs.C (TeXEnvironment): remove all usage of
7752         Paragraph::next and Paragraph::previous
7753         (TeXOnePar): ditto
7754
7755         * text.C (breakParagraph): adjust
7756
7757         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7758         BufferParams& as arg.
7759         (breakParagraph): use ParagraphList::insert
7760         (breakParagraphConservative): take a Buffer* instead of a
7761         BufferParams& as arg.
7762         (breakParagraphConservative): use ParagraphList::insert.
7763
7764         * buffer.C (insertStringAsLines): un-const it
7765         (insertStringAsLines): adjust
7766
7767         * ParagraphList.C (insert): new function
7768
7769         * CutAndPaste.C (pasteSelection): adjust
7770
7771         * text.C (backspace): adjust
7772
7773         * tabular.C (SetMultiColumn): adjust
7774
7775         * CutAndPaste.C (cutSelection): adjust
7776         (pasteSelection): adjust
7777
7778         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7779         Buffer const * as arg
7780
7781         * ParagraphList.C (erase): new function
7782         * paragraph_funcs.C (mergeParagraph): use it
7783         (mergeParagraph): make it take a Buffer* instead of a
7784         BufferParams* as arg
7785
7786         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7787         as arg
7788         (breakParagraphConservative): ditto
7789
7790         * paragraph.h: remove the breakParagraph friend
7791
7792         * paragraph.C (eraseIntern): new function
7793         (setChange): new function
7794
7795         * paragraph_funcs.C (mergeParagraph): make it take a
7796         ParagraphList::iterator instead of a Paragraph *, adjust
7797         accordingly.
7798
7799         * paragraph.h: move an #endif so that the change tracking stuff
7800         also works in the NO_NEXT case.
7801
7802 2003-03-04  Angus Leeming  <leeming@lyx.org>
7803
7804         * commandtags.h:
7805         * LyXAction.C: new LFUN_INSET_MODIFY.
7806
7807         * BufferView_pimpl.C (dispatch): if an inset is found to be open
7808         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7809
7810 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7811
7812         * several files: ws changes only
7813
7814         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7815         (TeXEnvironment): ditto
7816         (TeXDeeper): ditto
7817
7818         * buffer.C (makeLaTeXFile): adjust
7819         (latexParagraphs): make it take ParagraphList::iterator as args
7820
7821 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7822
7823         * buffer.C (latexParagraphs): adjust
7824
7825         * paragraph.C (TeXOnePar): move function...
7826         (optArgInset): move function...
7827         (TeXEnvironment): move function...
7828         * paragraph_pimpl.C (TeXDeeper): move function...
7829         * paragraph_funcs.C: ...here
7830
7831         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7832
7833 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7834
7835         * buffer.C (readInset): remove compability code for old Figure and
7836         InsetInfo insets
7837
7838 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7839
7840         * buffer.C: ws changes
7841         (readInset):
7842
7843         * BufferView_pimpl.C: ditto
7844         * author.C: ditto
7845         * buffer.h: ditto
7846         * bufferlist.h: ditto
7847         * changes.h: ditto
7848         * lyxfunc.C: ditto
7849
7850 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
7851
7852         * converter.[Ch]: split into itself +
7853         * graph.[Ch]
7854         * format.[Ch]
7855         * Makefile.am: += graph.[Ch] + format.[Ch]
7856         * MenuBackend.C
7857         * buffer.C
7858         * exporter.C
7859         * importer.C
7860         * lyx_main.C
7861         * lyxfunc.C
7862         * lyxrc.C: added #include "format.h"
7863
7864 2003-02-27  Angus Leeming  <leeming@lyx.org>
7865
7866         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7867           a label.
7868
7869         * factory.C (createInset): add "label" to the factory.
7870
7871         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7872           string and do no more.
7873
7874 2003-02-27  Angus Leeming  <leeming@lyx.org>
7875
7876         * commandtags.h:
7877         * LyXAction.C (init):
7878         * factory.C (createInset):
7879         * BufferView_pimpl.C (dispatch):
7880           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7881
7882         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7883
7884         * lyxfunc.C (dispatch):
7885         * text3.C (dispatch): pass name to params2string.
7886
7887 2003-02-26  Angus Leeming  <leeming@lyx.org>
7888
7889         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7890           blocks together.
7891           Rearrange the ~includes. Strip out the unnecessary ones.
7892
7893         * factory.C (createInset): reformat.
7894           create new insets for the various LFUN_XYZ_APPLY lfuns.
7895
7896 2003-02-26  John Levon  <levon@movementarian.org>
7897
7898         * lyxrow.h:
7899         * lyxrow.C: add isParStart,isParEnd helpers
7900
7901         * paragraph.h: make isInserted/DeletedText take refs
7902
7903         * paragraph_funcs.h:
7904         * paragraph_funcs.C: remove #if 0'd code
7905
7906         * lyxtext.h:
7907         * text3.C:
7908         * text2.C:
7909         * text.C: use lyxrow helpers above.
7910           Move draw and paint routines to RowPainter.
7911           Make several methods use refs not pointers.
7912           Make backgroundColor() const.
7913           Add markChangeInDraw(), isInInset().
7914           Merge changeRegionCase into changeCase.
7915           Make workWidth() shouldn't-happen code into an Assert.
7916
7917         * rowpainter.h:
7918         * rowpainter.C: new class for painting a row.
7919
7920         * vspace.h:
7921         * vspace.C: make inPixels take a ref
7922
7923 2003-02-26  Angus Leeming  <leeming@lyx.org>
7924
7925         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7926         LFUN_REF_APPLY.
7927
7928 2003-02-25  John Levon  <levon@movementarian.org>
7929
7930         * ispell.C: give the forked command a more accurate name
7931
7932 2003-02-22  John Levon  <levon@movementarian.org>
7933
7934         * toc.h:
7935         * toc.C: make TocItem store an id not a Paragraph *
7936           (bug #913)
7937
7938 2003-02-21  Angus Leeming  <leeming@lyx.org>
7939
7940         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7941           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7942           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7943           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7944           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7945           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7946
7947         * BufferView_pimpl.C (dispatch):
7948         * LyXAction.C (init):
7949         * factory.C (createInset):
7950         * lyxfunc.C (getStatus, dispatch):
7951         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7952
7953 2003-02-21  Angus Leeming  <leeming@lyx.org>
7954
7955         * BufferView_pimpl.C (MenuInsertLyXFile):
7956         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7957         * lyxfunc.C (menuNew, open, doImport):
7958           no longer pass a LyXView & to fileDlg.
7959
7960 2003-02-21  Angus Leeming  <leeming@lyx.org>
7961
7962         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7963         * LyXAction.C: change, BIBKEY to BIBITEM.
7964         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7965         Change InsetBibKey to InsetBibitem.
7966         Change BIBKEY_CODE to BIBITEM_CODE.
7967         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7968         * factory.C: replace insetbib.h with insetbibitem.h.
7969         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7970         * paragraph.C: replace insetbib.h with insetbibitem.h.
7971         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7972         Change bibkey() to bibitem().
7973         * text.C: remove insetbib.h.
7974         * text2.C: replace insetbib.h with insetbibitem.h.
7975         change bibkey() to bibitem().
7976         * text3.C: remove insetbib.h.
7977         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7978
7979 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7980
7981         * lyxrc.C (output): enclose user email in quotes (in case there are
7982         several words)
7983
7984 2003-02-18  John Levon  <levon@movementarian.org>
7985
7986         * buffer.h: add std::
7987
7988 2003-02-17  John Levon  <levon@movementarian.org>
7989
7990         * SpellBase.h:
7991         * ispell.h:
7992         * ispell.C:
7993         * pspell.h:
7994         * pspell.C: reworking. Especially in ispell, a large
7995           number of clean ups and bug fixes.
7996
7997         * lyxfunc.C: fix revert to behave sensibly
7998
7999 2003-02-17 André Pönitz <poenitz@gmx.net>
8000
8001         * LyXAction.C:
8002         * commandtags.h: new LFUN_INSERT_BIBKEY
8003
8004         * layout.h:
8005         * lyxlayout.C:
8006         * buffer.C:
8007         * factory.C:
8008         * text.C:
8009         * text2.C:
8010         * text3.C:
8011         * paragraph.[Ch]:
8012         * paragraph_func.C: remove special bibkey handling
8013
8014 2003-02-17  John Levon  <levon@movementarian.org>
8015
8016         * text.C (Delete): fix case where delete at the end of
8017           the very first paragraph would not merge the pars
8018
8019 2003-02-17  John Levon  <levon@movementarian.org>
8020
8021         * lyxrow.C: fix lastPrintablePos()
8022
8023 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8024
8025         * bufferparams.C (writeLaTeX): add a std:here
8026
8027         * buffer.C: and remove a using directive there
8028
8029 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8030
8031         * buffer.C (makeLaTeXFile): move the code that generates the
8032           preamble...
8033
8034         * bufferparams.C (writeLaTeX): ... in this new method
8035
8036         * LaTeXFeatures.C (getEncodingSet): make const
8037           (getLanguages): make const
8038
8039         * MenuBackend.C (binding): returns the binding associated to this
8040           action
8041           (add): sets the status of each item by calling getStatus. Adds
8042           some intelligence.
8043           (read): add support for OptSubMenu
8044           (expand): remove extra separator at the end of expanded menu
8045
8046 2003-02-15  John Levon  <levon@movementarian.org>
8047
8048         * BufferView.C:
8049         * BufferView_pimpl.C:
8050         * bufferlist.h:
8051         * bufferlist.C: remove pointless BufferStorage bloat. Remove
8052           inset code that had no actual effect. Remove unneeded status
8053           code.
8054
8055 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8056
8057         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8058           in preamble
8059
8060 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
8061
8062         * text.C (drawLengthMarker): also draw an arrow marker for
8063           symbolic lengths (medskip...)
8064
8065 2003-02-14  John Levon  <levon@movementarian.org>
8066
8067         * tabular.h:
8068         * tabular.C: better method names
8069
8070 2003-02-14  John Levon  <levon@movementarian.org>
8071
8072         * BufferView_pimpl.C:
8073         * bufferlist.C:
8074         * buffer.C:
8075         * converter.C:
8076         * lyx_cb.C:
8077         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8078           it's a more accurate name. Remove some pointless uses.
8079
8080 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8081
8082         * text2.C (LyXText): change order of initilizers to shut off
8083           warnings
8084
8085 2003-02-14  John Levon  <levon@movementarian.org>
8086
8087         * buffer.C: use ParIterator for getParFromID()
8088
8089         * paragraph.h:
8090         * paragraph.C:
8091         * paragraph_pimpl.h:
8092         * paragraph_pimpl.C: remove unused getParFromID()
8093
8094 2003-02-14  John Levon  <levon@movementarian.org>
8095
8096         * buffer.C: remove some very old #if 0'd parse code
8097
8098 2003-02-13  John Levon  <levon@movementarian.org>
8099
8100         * text.h:
8101         * text.C:
8102         * text2.C: move hfillExpansion(), numberOfSeparators(),
8103           rowLast(), rowLastPrintable(), numberofHfills(),
8104           numberOfLabelHfills() ...
8105
8106         * lyxrow.h:
8107         * lyxrow.C: ... to member functions here.
8108
8109         * paragraph.h:
8110         * paragraph.C:
8111         * lyxtext.h:
8112         * text.C: remove LyXText::beginningOfMainBody(), and call
8113           p->beginningOfMainBody() directly. Move the check for
8114           LABEL_MANUAL into the latter.
8115
8116         * text.h:
8117         * text.C:
8118         * text2.C:
8119         * vspace.C:
8120         * BufferView.h:
8121         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8122
8123         * text.h:
8124         * text.C:
8125         * text2.C:
8126         * text3.C:
8127         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8128           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8129
8130 2003-02-13  John Levon  <levon@movementarian.org>
8131
8132         * CutAndPaste.C: remove debug
8133
8134 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8135
8136         * paragraph.C (asString): remove two unused variables
8137
8138         * lyxtextclass.C (readTitleType):
8139           (Read):
8140           (LyXTextClass): handle new members titletype_ and titlename_
8141
8142         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8143
8144 2003-02-09  John Levon  <levon@movementarian.org>
8145
8146         * buffer.h:
8147         * buffer.C: replace hand-coded list with a map for the dep clean
8148
8149 2003-02-08  John Levon  <levon@movementarian.org>
8150
8151         * LaTeX.C: consolidate code into showRunMessage() helper
8152
8153 2003-02-08  John Levon  <levon@movementarian.org>
8154
8155         * lyxfind.C:
8156         * lyxtext.h:
8157         * text2.C:
8158         * BufferView.C: change setSelectionOverString() to setSelectionRange()
8159           and pass the size in explicitly
8160
8161         * BufferView_pimpl.h:
8162         * BufferView_pimpl.C:
8163         * BufferView.h:
8164         * BufferView.C: add getCurrentChange()
8165
8166         * BufferView_pimpl.h:
8167         * BufferView_pimpl.C: handle change lfuns
8168
8169         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8170           for changes. Mark pasted paragraphs as new.
8171
8172         * support/lyxtime.h:
8173         * support/lyxtime.C:
8174         * DepTable.C: abstract time_t as lyx::time_type
8175
8176         * LColor.h:
8177         * LColor.C: add colours for new text, deleted text, changebars
8178
8179         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8180           package use "usenames" option.
8181
8182         * commandtags.h:
8183         * lyxfunc.C:
8184         * LyXAction.C: add change lfuns
8185
8186         * Makefile.am:
8187         * author.h:
8188         * author.C: author handling
8189
8190         * buffer.h:
8191         * buffer.C: add a per-buffer author list, with first entry as
8192           current author. Handle new .lyx tokens for change tracking. Output
8193           author list to .lyx file. Output dvipost stuff to .tex preamble.
8194           Bump lyx format to 222.
8195
8196         * bufferlist.h:
8197         * bufferlist.C: add setCurrentAuthor() to reset current author details
8198           in all buffers.
8199
8200         * bufferparams.h:
8201         * bufferparams.C: add param for tracking
8202
8203         * bufferview_funcs.C: output change info in minibuffer
8204
8205         * Makefile.am:
8206         * changes.h:
8207         * changes.C: add change-tracking structure
8208
8209         * debug.h:
8210         * debug.C: add CHANGES debug flag
8211
8212         * lyxfind.h:
8213         * lyxfind.C: add code for finding the next change piece
8214
8215         * lyxrc.h:
8216         * lyxrc.C: add user_name and user_email
8217
8218         * lyxrow.h:
8219         * lyxrow.C: add a metric for the top of the text line
8220
8221         * lyxtext.h:
8222         * text.C: implement accept/rejectChange()
8223
8224         * lyxtext.h:
8225         * text.C: paint changebars. Paint new/deleted text in the chosen
8226         colours. Strike through deleted text.
8227
8228         * paragraph.h:
8229         * paragraph.C:
8230         * paragraph_pimpl.h:
8231         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8232           in the current change to the insert functions. Rework erase to
8233           mark text as deleted, adding an eraseIntern() and a range-based
8234           erase(). Implement per-paragraph change lookup and
8235           accept/reject.
8236
8237         * paragraph_funcs.C: Fixup paste for change tracking.
8238
8239         * tabular.C: mark added row/columns as new.
8240
8241         * text.C: fix rowLast() to never return -1. Don't allow
8242           spellchecking of deleted text. Track transpose changes. Don't
8243           allow paragraph break or merge where appropriate.
8244
8245         * text2.C: leave cursor at end of selection after a cut.
8246
8247 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8248
8249         * text.C (getLengthMarkerHeight):
8250         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8251         visible on screen too.
8252
8253 2003-02-07  John Levon  <levon@movementarian.org>
8254
8255         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8256
8257 2003-02-05  Angus Leeming  <leeming@lyx.org>
8258
8259         * lyxserver.C (read_ready): revert my patch of 11 September last year
8260         as it sends PC cpu through the roof. Presumably this means that
8261         the lyxserver will no longer run on an Alpha...
8262
8263 2003-01-30  Angus Leeming  <leeming@lyx.org>
8264
8265         * factory.C (createInset): create an InsetCommandParam of type "index"
8266         and use it to 'do the right thing'.
8267
8268         * text2.C (getStringToIndex): ensure that cursor position is always
8269         reset to the reset_cursor position.
8270
8271 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8272
8273         * lyxfunc.C (getStatus): "buffer-export custom" should never be
8274         disabled.
8275
8276 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
8277
8278         * bufferview.C:
8279         * lyxcb.C:
8280         * lyxfunc.C: Output messages with identical spelling, punctuation,
8281         and spaces
8282
8283 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
8284
8285         * MenuBackend.C (expandFormats): List only viewable export formats
8286         in "View" menu
8287
8288         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8289         message
8290
8291         * lyxfunc.C (getStatus): Make sure that formats other than
8292         "fax" can also be disabled
8293
8294 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8295
8296         * text3.C (dispatch): put the lfuns that insert insets in 3
8297         groups, and call doInsertInset with appropriate arguments.
8298         (doInsertInset): new function, that creates an inset and inserts
8299         it according to some boolean parameters.
8300
8301 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8302
8303         * buffer.C (readFile): remember to pass on 'par' when calling
8304         readFile recursively.
8305
8306 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8307
8308         * MenuBackend.C (expandFormats): add "..." to import formats.
8309
8310 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
8311
8312         * paragraph.C (asString): Remove XForms RTL hacks.
8313
8314 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
8315         * buffer.C: fix typo
8316
8317 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8318
8319         * Makefile.am (LIBS): delete var
8320         (lyx_LDADD): add @LIBS@ here instead.
8321
8322 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
8323
8324         * Clarify the meaning of "wheel mouse jump"
8325
8326 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8327
8328         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8329         tabular in a float
8330
8331 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8332
8333         * importer.C (Loaders): do not preallocate 3 elements in the
8334         vector, since one ends up with 6 elements otherwise
8335
8336 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8337
8338         * DepTable.C (write): write the file name as last element of the
8339         .dep file (because it may contain spaces)
8340         (read): read info in the right order
8341
8342 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8343
8344         * paragraph_pimpl.C (simpleTeXBlanks):
8345         (simpleTeXSpecialChars):
8346         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8347
8348         * tabular.C (latex): add some missing case statements. Reindent.
8349
8350         * MenuBackend.C (expandToc): remove unused variable.
8351
8352 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
8353
8354         * LColor.C:
8355         * LaTeX.C:
8356         * LyXAction.C:
8357         * MenuBackend.C:
8358         * buffer.C:
8359         * exporter.C:
8360         * lyxfunc.C:
8361         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8362         and the like.
8363
8364 2003-01-05  John Levon  <levon@movementarian.org>
8365
8366         * BufferView.h:
8367         * BufferView.C: add getEncoding()
8368
8369         * kbsequence.h:
8370         * kbsequence.C: do not store last keypress
8371
8372         * lyxfunc.h:
8373         * lyxfunc.C: store last keypress here instead. Pass encoding
8374           to getISOEncoded()
8375
8376 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8377
8378         * lyx_main.C (init): remove annoying error message when following
8379         symbolic links (bug #780)
8380
8381 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8382
8383         * text.C (insertChar):
8384         * lyxrc.C (getDescription): remove extra spaces
8385
8386 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8387
8388         * lyxrc.C (getDescription): remove extra spaces
8389
8390 2002-12-20  John Levon  <levon@movementarian.org>
8391
8392         * text3.C: hack fix for page up/down across tall rows
8393
8394 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8395
8396         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8397         not been invoked
8398
8399 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8400
8401         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8402         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8403         thesaurus is not compiled in
8404
8405 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
8406
8407         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
8408
8409 2002-12-16  Angus Leeming  <leeming@lyx.org>
8410
8411         * lyxrc.[Ch]:
8412         * lyx_main.C (init): remove override_x_deadkeys stuff.
8413
8414 2002-12-12  John Levon  <levon@movementarian.org>
8415
8416         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8417           insert. Only remove shift modifier under strict
8418           circumstances.
8419
8420 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8421
8422         * MenuBackend.C (expandToc): fix crash.
8423
8424 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8425
8426         * MenuBackend.C (expandToc): gettext on float names.
8427
8428 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
8429
8430         * lyxlength.[Ch]: set default unit to UNIT_NONE,
8431         implement bool empty() [bug 490]
8432
8433 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8434
8435         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8436
8437 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8438
8439         * several files: ws changes
8440
8441 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8442
8443         * text2.C (setCounter): clean up a bit, use boost.format.
8444         (updateCounters): initialize par upon declaration.
8445
8446         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8447         if the layout exists. We do not just store the layout any more.
8448         (SwitchLayoutsBetweenClasses): use boost.format
8449
8450 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8451
8452         * converter.C (convert): if from and to files are the same, use a
8453         temporary files as intermediary
8454
8455 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8456
8457         * commandtags.h:
8458         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8459
8460 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
8461
8462         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8463
8464 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8465
8466         * tabular.C (asciiPrintCell): use string(size, char) instead of
8467         explicit loop.
8468
8469         * sgml.C (openTag): fix order of arguments to string constructor
8470         (closeTag): ditto
8471
8472         * lyxfunc.C (dispatch): use boost.format
8473
8474         * lots of files: change "c" -> 'c'
8475
8476 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
8477
8478         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8479
8480 2002-11-25  Angus Leeming  <leeming@lyx.org>
8481
8482         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8483
8484         * lyx_main.C (init): compile fix.
8485
8486 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8487
8488         * lyx_cb.C (start): boost.formatify
8489         do not include <iostream>
8490
8491         * lengthcommon.C: ws only
8492
8493         * boost-inst.C,BoostFormat.h: add more explict instantations
8494
8495 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8496
8497         * lots of files: handle USE_BOOST_FORMAT
8498
8499 2002-11-21  John Levon  <levon@movementarian.org>
8500
8501         * pspell.C: fix compile
8502
8503 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8504
8505         * lyxfunc.C (dispatch): use boost::format
8506         (open): ditto
8507         (doImport): ditto
8508
8509         * lyxfont.C (stateText): use boost::format
8510
8511         * lyx_main.C (LyX): use boost::format
8512         (init): ditto
8513         (queryUserLyXDir): ditto
8514         (readRcFile): ditto
8515         (parse_dbg): ditto
8516         (typedef boost::function): use the recommened syntax.
8517
8518         * importer.C (Import): use boost::format
8519
8520         * debug.C (showLevel): use boost::format
8521
8522         * converter.C (view): use boost::format
8523         (convert): ditto
8524         (move): ditto
8525         (scanLog): ditto
8526
8527         * bufferview_funcs.C (currentState): use boost::format
8528
8529         * bufferlist.C (emergencyWrite): use boost::format
8530
8531         * buffer.C (readLyXformat2): use boost::format
8532         (parseSingleLyXformat2Token): ditto
8533
8534         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8535
8536         * LaTeX.C (run): use boost::format
8537
8538         * Chktex.C (scanLogFile): use boost::format
8539
8540         * BufferView_pimpl.C (savePosition): use boost::format
8541         (restorePosition): ditto
8542         (MenuInsertLyXFile): ditto
8543
8544         * BoostFormat.h: help file for explicit instation.
8545
8546 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
8547
8548         * tabular.C (latex): Support for block alignment in fixed width
8549         columns.
8550
8551 2002-11-17  John Levon  <levon@movementarian.org>
8552
8553         * BufferView_pimpl.C:
8554         * lyx_cb.C:
8555         * lyxfunc.C: split filedialog into open/save
8556
8557 2002-11-08  Juergen Vigna  <jug@sad.it>
8558
8559         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8560         by my last patch (hopefully).
8561
8562 2002-11-08  John Levon  <levon@movementarian.org>
8563
8564         * iterators.h:
8565         * iterators.C:
8566         * buffer.h:
8567         * buffer.C:
8568         * paragraph.h:
8569         * paragraph.C:
8570         * toc.h:
8571         * toc.C: ParConstIterator, and use it (from Lars)
8572
8573 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
8574
8575         * lyxtextclass.[Ch]: revise and add doxygen comments
8576
8577 2002-11-07  John Levon  <levon@movementarian.org>
8578
8579         * text.C: fix progress value for spellchecker
8580
8581         * toc.C: fix navigate menu for insetwrap inside minipage
8582
8583         * paragraph_funcs.C: added FIXME for suspect code
8584
8585 2002-11-07  John Levon  <levon@movementarian.org>
8586
8587         * BufferView_pimpl.C: fix redrawing of insets
8588           on buffer switch
8589
8590 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8591
8592         * text2.C (updateCounters): fix bug 668
8593
8594 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
8595
8596         * text3.C (dispatch): Do not make the buffer dirty when moving the
8597         cursor.
8598
8599 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8600
8601         * vc-backend.C: STRCONV
8602         (scanMaster): ditto
8603
8604         * text2.C (setCounter): STRCONV
8605
8606         * paragraph.C (asString): STRCONV
8607
8608         * lyxlength.C (asString): STRCONV
8609         (asLatexString): ditto
8610
8611         * lyxgluelength.C (asString): STRCONV
8612         (asLatexString): ditto
8613
8614         * lyxfunc.C (dispatch): STRCONV
8615         (open): ditto
8616
8617         * lyxfont.C (stateText): STRCONV
8618
8619         * importer.C (Import): STRCONV
8620
8621         * counters.C (labelItem): STRCONV
8622         (numberLabel): ditto
8623         (numberLabel): remove unused ostringstream o
8624
8625         * chset.C: STRCONV
8626         (loadFile): ditto
8627
8628         * bufferview_funcs.C (currentState): STRCONV
8629
8630         * buffer.C (readFile): STRCONV
8631         (asciiParagraph): ditto
8632         (makeLaTeXFile): ditto
8633
8634         * Spacing.C (writeEnvirBegin): STRCONV
8635
8636         * LaTeXFeatures.C (getLanguages): STRCONV
8637         (getPackages): ditto
8638         (getMacros): ditto
8639         (getBabelOptions): ditto
8640         (getTClassPreamble): ditto
8641         (getLyXSGMLEntities): ditto
8642         (getIncludedFiles): ditto
8643
8644         * LaTeX.C: STRCONV
8645         (run): ditto
8646         (scanAuxFile): ditto
8647         (deplog): ditto
8648
8649         * LString.h: add the STRCONV macros
8650
8651         * BufferView_pimpl.C (savePosition): STRCONV
8652         (restorePosition): ditto
8653         (MenuInsertLyXFile): ditto
8654
8655         * vc-backend.C (scanMaster): change from submatch[...] to
8656         submatch.str(...)
8657
8658         * funcrequest.C: include config.h
8659
8660         * factory.C: include config.h
8661
8662         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8663
8664         * box.C: include config.h
8665
8666         * LaTeX.C (scanAuxFile): change from submatch[...] to
8667         submatch.str(...)
8668         (deplog): ditto
8669
8670 2002-10-25  Angus Leeming  <leeming@lyx.org>
8671
8672         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8673
8674         * ispell.[Ch] (setError): new method.
8675         * ispell.C (c-tor): move out child process into new class LaunchIspell.
8676         Use setError() insetead of goto END.
8677
8678         * lyx_cb.C (AutoSave): move out child process into new class
8679         AutoSaveBuffer.
8680
8681 2002-10-30  John Levon  <levon@movementarian.org>
8682
8683         * text3.C: make start appendix undoable
8684
8685 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
8686
8687         * lyxlength.C (inPixels): Fix returned value.
8688
8689         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8690         environment.
8691
8692 2002-10-24  Angus Leeming  <leeming@lyx.org>
8693
8694         * lyxgluelength.h: no need to forward declare BufferParams
8695         or BufferView, so don't.
8696
8697 2002-10-21  John Levon  <levon@movementarian.org>
8698
8699         * BufferView.C: menuUndo ->undo, redo
8700
8701         * BufferView.h: document, remove dead, make some methods private
8702
8703         * paragraph_funcs.h:
8704         * paragraph_funcs.C:
8705         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8706
8707         * buffer.h:
8708         * buffer.C:
8709         * sgml.h:
8710         * sgml.C: move sgml open/close tag into sgml.C
8711
8712         * bufferview_funcs.h: unused prototype
8713
8714         * lyxfunc.h:
8715         * lyxfunc.C: remove unused
8716
8717         * lyxtext.h:
8718         * text.C: remove unused
8719
8720 2002-10-21  John Levon  <levon@movementarian.org>
8721
8722         * BufferView.h:
8723         * BufferView.C:
8724         * BufferView_pimpl.h:
8725         * BufferView_pimpl.C: fix mouse wheel handling based on
8726           patch from Darren Freeman
8727
8728 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
8729
8730         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8731
8732 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
8733
8734         * lyxlength.C (inPixels): Fix hanfling of negative length.
8735         Fix LyXLength::MU case.
8736
8737 2002-10-16  John Levon  <levon@movementarian.org>
8738
8739         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8740
8741 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8742
8743         * converter.C (view): add support for $$i (file name) and $$p
8744         (file path) for the viewer command. If $$i is not specified, then
8745         it is appended to the command (for compatibility with old syntax)
8746
8747 2002-10-14  Juergen Vigna  <jug@sad.it>
8748
8749         * undo_funcs.C (textHandleUndo): alter the order in which the
8750         new undopar is added to the LyXText, as we have to set first
8751         the right prev/next and then add it as otherwise the rebuild of
8752         LyXText is not correct. Also reset the cursor to the right paragraph,
8753         with this IMO we could remove the hack in "redoParagraphs()".
8754
8755 2002-10-09  Angus Leeming  <leeming@lyx.org>
8756
8757         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8758         to turn off an optimisation if a new inset is to be inserted.
8759
8760 2002-10-11 André Pönitz <poenitz@gmx.net>
8761
8762         * lyxtext.h: make some functions public to allow access
8763         from inset/lyxtext for handling LFUN_PRIOR/NEXT
8764
8765 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8766
8767         * text3.C (dispatch): when changing layout, avoid an infinite loop
8768         [bug #652]
8769
8770 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8771
8772         * lyxrc.C (read): treat a viewer or converter command of "none" as
8773         if it were empty.
8774
8775         * MenuBackend.C (expandFormats): for an update, also allow the
8776         formats that are not viewable
8777
8778         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8779         script if it is newer than the lyxrc.defaults in user directory
8780
8781 2002-10-07 André Pönitz <poenitz@gmx.net>
8782
8783         * text.C: Vitaly Lipatov's small i18n fix
8784
8785 2002-09-25  Angus Leeming  <leeming@lyx.org>
8786
8787         * ispell.h: doxygen fix.
8788
8789 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
8790
8791         * buffer.h (readFile): Add a new argument to the method, to allow
8792         reading of old-format templates.
8793
8794 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
8795
8796         * toc.C (getTocList): Get TOC from InsetWrap.
8797
8798 2002-09-16  John Levon  <levon@movementarian.org>
8799
8800         * lyxfunc.C: check tabular for cut/copy too
8801
8802 2002-09-12  John Levon  <levon@movementarian.org>
8803
8804         * LyXAction.C: tidy
8805
8806         * factory.h:
8807         * factory.C: add header
8808
8809         * paragraph_funcs.h:
8810         * paragraph_funcs.C: cleanup
8811
8812 2002-09-11  John Levon  <levon@movementarian.org>
8813
8814         * PrinterParams.h: odd/even default to true
8815
8816 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
8817
8818         * PrinterParams.h: update printer parameters for new xforms dialog
8819
8820 2002-09-11  Angus Leeming  <leeming@lyx.org>
8821
8822         * lyxserver.C (read_ready): re-write to make it more transparent
8823         and to make it work in coherent fashion under Tru64 Unix.
8824
8825 2002-09-11  André Pönitz <poenitz@gmx.net>
8826
8827         * commandtags.h:
8828         * LyXAction.C:
8829         * text3.C: implement LFUN_WORDSEL
8830
8831 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8832
8833         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8834         make floatlist_ a boost::shared_ptr<FloatList>
8835
8836         * lyxtextclass.C: include FloatList.h
8837         (LyXTextClass): initialize floatlist_
8838         (TextClassTags): add TC_NOFLOAT
8839         (Read): match "nofloat" to TC_NOFLOAT and use it.
8840         (readFloat): modify call to floatlist_
8841         (floats): ditto
8842         (floats): ditto
8843
8844         * FloatList.[Ch] (FloatList): remove commented out float
8845         initialization.
8846         (erase): new function
8847
8848 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8849
8850         * MenuBackend.C (expandToc): fix crash when there is no document
8851         open
8852
8853 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
8854
8855         * many files: Add insetwrap.
8856
8857 2002-09-09  John Levon  <levon@movementarian.org>
8858
8859         * text2.C: remove confusing and awkward depth wraparound
8860
8861 2002-09-09  John Levon  <levon@movementarian.org>
8862
8863         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8864
8865         * buffer.h:
8866         * buffer.C: remove getIncludeonlyList()
8867
8868         * paragraph.C:
8869         * lyxfunc.C: remove headers
8870
8871 2002-09-09  Juergen Vigna  <jug@sad.it>
8872
8873         * text.C (getColumnNearX): fix form Michael this is most
8874         probably a cut&paste bug.
8875
8876 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8877
8878         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8879
8880         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8881         references, ws changes.
8882
8883         * text2.C (init): update counters after init
8884         (insertParagraph): no need to set counter on idividual paragraphs.
8885         (setCounter): access the counters object in the textclass object
8886         on in the buffer object.
8887         (updateCounters): ditto
8888
8889         * lyxtextclass.C: include counters.h, add variable ctrs_ as
8890         shared_ptr<Counters> to avoid loading counters.h in all
8891         compilation units.
8892         (LyXTextClass): initialize ctrs_
8893         (TextClassTags): add TC_COUNTER, and ...
8894         (Read): use it here.
8895         (CounterTags): new tags
8896         (readCounter): new function
8897         (counters): new funtion
8898         (defaultLayoutName): return a const reference
8899
8900         * counters.C (Counters): remove contructor
8901         (newCounter): remove a couple of unneeded statements.
8902         (newCounter): simplify a bit.
8903         (numberLabel): some small formatting changes.
8904
8905         * buffer.[Ch]: remove all traces of counters, move the Counters
8906         object to the LyXTextClass.
8907
8908 2002-09-06  Alain Castera  <castera@in2p3.fr>
8909
8910         * tabular.C: uses \tabularnewline; uses >{...} construct from array
8911         package to set the horizontal alignment on fixed width columns.
8912
8913         * lyx_sty.C:
8914         * lyx_sty.h: added tabularnewline macro def.
8915
8916         * LaTeXFeatures.C: added NeedTabularnewline macro feature
8917
8918 2002-09-06  John Levon  <levon@movementarian.org>
8919
8920         * LyXAction.C: tooltips for sub/superscript
8921
8922         * MenuBackend.C: a bit more verbose
8923
8924         * lyxfunc.C: tiny clean
8925
8926         * undo_funcs.C: document undo_frozen
8927
8928 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8929
8930         * counters.C (Counters): add missing algorithm counter.
8931
8932         * text2.C (setCounter): lookup the counter with layouts latexname
8933         instead of by section number.
8934         (setCounter): use a hackish way to lookup the correct enum
8935         counter.
8936         a float name->type change
8937         reset enum couners with counter name directly instead of depth value.
8938
8939         * counters.C (Counters): remove the push_backs, change to use the
8940         float type not the float name.
8941         (labelItem): remove unused string, float name->type change
8942
8943         * counters.h: don't include vector, loose the enums and sects vectors
8944
8945 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8946
8947         * lyxtextclass.C (TextClassTags): add TC_FLOAT
8948         (Read): add float->TC_FLOAT to textclassTags
8949         (Read): and handle it in the switch
8950         (readFloat): new function
8951
8952         * FloatList.C (FloatList): comment out the hardcoded float
8953         definitions.
8954
8955         * lyxlayout.h: ws change.
8956
8957 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
8958
8959         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8960
8961 2002-09-03  Angus Leeming  <leeming@lyx.org>
8962
8963         * BufferView_pimpl.h: qualified name is not allowed in member
8964         declaration: WorkArea & Pimpl::workarea() const;
8965
8966         * factory.C: added using std::endl directive.
8967
8968         * text3.C: added using std::find and std::vector directives.
8969
8970 2002-08-29  André Pönitz <poenitz@gmx.net>
8971
8972         * lyxtext.h:
8973         * text2.C: remove unused member number_of_rows
8974
8975         * Makefile.am:
8976         * BufferView2.C: remove file, move contents to...
8977         * BufferView.C: ... here
8978
8979         * BufferView_pimpl.C:
8980         * factory.C: move more inset creation to factory
8981
8982         * vspace.C: avoid direct usage of LyXText, ws changes
8983
8984         * BufferView.[Ch]:
8985                 don't provide direct access to WorkArea, use two simple
8986                 acessors haveSelction() and workHeight() instead
8987
8988
8989 2002-08-29  John Levon  <levon@movementarian.org>
8990
8991         * BufferView_pimpl.C (dispatch): do not continue when
8992           no buffer
8993
8994 2002-08-28  André Pönitz <poenitz@gmx.net>
8995
8996         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8997
8998         * BufferView.h:
8999         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9000
9001 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
9002
9003         * buffer.C: increment LYX_FORMAT to 221
9004
9005         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9006         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9007
9008         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9009
9010         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9011
9012 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9013
9014         * factory.C (createInset): use LyXTextClass::floats
9015
9016         * MenuBackend.C (expandFloatListInsert):
9017         (expandFloatInsert):
9018         (expandToc):
9019
9020         * text2.C (setCounter):
9021
9022         * LaTeXFeatures.C (useFloat):
9023         (getFloatDefinitions):
9024
9025         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9026
9027         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9028         floatlist_, with accessor floats().
9029
9030         * FloatList.h: remove global FloatList
9031
9032 2002-08-26  André Pönitz <poenitz@gmx.net>
9033
9034         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9035
9036         * BufferView.h:
9037         * BufferView2.C:
9038         * BufferView_pimpl.C:
9039         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9040
9041 2002-08-25  John Levon  <levon@movementarian.org>
9042
9043         * LyXAction.C: fix margin note description
9044
9045 2002-08-24  John Levon  <levon@movementarian.org>
9046
9047         * buffer.C:
9048         * bufferlist.C:
9049         * bufferview_funcs.C:
9050         * lyxfont.C:
9051         * undo_funcs.C: cleanups
9052
9053         * lyxfunc.C: disable CUT/COPY when no selection
9054
9055 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
9056
9057         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9058         in "enum UNIT"; e.g. PTW for Percent of TextWidth
9059
9060         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9061         Add backward compatibility to "mono", "gray" and "no".
9062
9063 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
9064
9065         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9066         (and file_format >= 200).
9067
9068 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9069
9070         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9071
9072 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9073
9074         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9075
9076 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
9077
9078         * BufferView_pimpl.C:
9079         * LyXAction.C:
9080         * buffer.C:
9081         * commandtags.h:
9082         * lyxfunc.C:
9083         * paragraph.[Ch]:
9084         * text2.C:
9085         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9086         inset and code to make it  work with the paragraph code. The inset
9087         can be anywhere in the paragraph, but will only do the expected
9088         thing in LaTeX if the layout file contains the parameter line
9089                         OptionalArgs    1
9090         (or more generally, a nonzero value) for that layout.
9091
9092 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
9093
9094         * paragraph.h: remove the declaration of undefined counters class
9095         function.
9096
9097 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
9098
9099         * text2.C (setCounter):  fixed enumeration mis-count as reported by
9100         Dr. Richard Hawkins.
9101
9102 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9103
9104         * paragraph_funcs.h: remove some unneeded includes
9105
9106         * text.C (backspace): pasteParagraph now in global scipe
9107
9108         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9109         (pasteSelection): ditto
9110
9111         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9112         * paragraph_funcs.C (pasteParagraph): ... here
9113
9114 2002-08-20  André Pönitz <poenitz@gmx.net>
9115
9116         * commandtags.h: new LFUNs for swapping/copying table row/colums
9117
9118         * LyXAction.C:
9119         * lyxfunc.C: support for new lfuns
9120
9121 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
9122
9123         * tabular.C:
9124         * buffer.[Ch]: remove NO_COMPABILITY stuff
9125
9126 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
9127
9128         * boost.C (throw_exception): new file, with helper function for
9129         boost compiled without exceptions.
9130
9131         * paragraph.h:
9132         * lyxlength.C:
9133         * buffer.C:
9134         * ParameterStruct.h:
9135         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9136
9137         * bufferlist.C (emergencyWriteAll): use boost bind
9138
9139         * BufferView_pimpl.C (moveCursorUpdate): remove inline
9140
9141         * text.C: include paragraph_funcs.h
9142         (breakParagraph): breakParagraph is now in global scope
9143
9144         * paragraph_funcs.[Ch]: new files
9145
9146         * paragraph.C (breakParagraph,breakParagraphConservative): move to
9147         global scope
9148
9149         * buffer.C: include paragraph_funcs.h
9150         (insertStringAsLines): breakParagraph is now in global scope
9151
9152         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9153         paragraph_funcs.C
9154
9155         * CutAndPaste.C: include paragraph_funcs.h
9156         (cutSelection): breakParagraphConservative is now in global scope
9157         (pasteSelection): ditto
9158
9159         * buffer.h: declare oprator== and operator!= for
9160         Buffer::inset_iterator
9161
9162         * bufferlist.C (emergencyWrite): don't use fmt(...)
9163
9164         * text3.C: add using std::endl
9165
9166         * BufferView.C (moveCursorUpdate): remove default arg
9167
9168 2002-08-20  André Pönitz <poenitz@gmx.net>
9169
9170         * buffer.[Ch]: move inline functions to .C
9171
9172         * BufferView2.C:
9173         * BufferView_pimpl.C:
9174         * text.C:
9175         * buffer.[Ch]: use improved inset_iterator
9176
9177         * buffer.C:
9178         * paragraph.[Ch]: write one paragraph at a time
9179
9180 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
9181
9182         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9183         style if style is not specified.
9184
9185 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9186
9187         * text2.C (setCounter): when searching for right label for a
9188         caption, make sure to recurse to parent insets (so that a caption
9189         in a minipage in a figure float works) (bug #568)
9190
9191 2002-08-20  André Pönitz <poenitz@gmx.net>
9192
9193         * text3.C: new file for LyXText::dispatch() and helpers
9194
9195         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9196
9197         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9198
9199 2002-08-19  André Pönitz <poenitz@gmx.net>
9200
9201         * lyxtext.h:
9202         * text.C: new LyXText::dispatch()
9203
9204         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9205
9206 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
9207
9208         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9209
9210         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9211         Hebrew text.
9212
9213 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9214
9215         * Makefile.am: use $(variables) instead of @substitutions@
9216
9217 2002-08-15  André Pönitz <poenitz@gmx.net>
9218
9219         * lyxfunc.C:
9220         * BufferView_pimpl.C: streamlining mathed <-> outer world
9221         interaction
9222
9223         * commandtags.h:
9224         * LyXAction.C: remove unused LFUN_MATH
9225
9226 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9227
9228         * paragraph.[Ch]: add some NO_NEXT ifdefs.
9229
9230 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9231
9232         * paragraph.C (Paragraph): reformat a bit
9233         (cutIntoMinibuffer): use builtin InsetList function instad of
9234         doing it manually.
9235         (getInset): ditto
9236
9237         * buffer.C: include boost/bind.hpp, add using std::for_each
9238         (writeFileAscii): use ParagraphList iterators
9239         (validate): use for_each for validate traversal of paragraphs
9240         (getBibkeyList): use ParagraphList iterators
9241         (resizeInsets): use for_each to resizeInsetsLyXText for all
9242         paragraphs.
9243         (getParFromID): use ParagraphList iterators
9244
9245         * BufferView2.C (lockInset): use paragraph list and iterators
9246
9247 2002-08-14  John Levon  <levon@movementarian.org>
9248
9249         * lyxserver.C: remove spurious xforms include
9250
9251 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9252
9253         * lyxfunc.C (getStatus): disable math-extern outside of math mode
9254
9255 2002-08-13  André Pönitz <poenitz@gmx.net>
9256
9257         * LyXAction.[Ch]:
9258         * lyxfunc.C: further cleaning
9259
9260 2002-08-13  André Pönitz <poenitz@gmx.net>
9261
9262         * funcrequest.h: new constructor
9263
9264         * funcrequest.C: move stuff here from .h
9265
9266         * Makefile.am:
9267         * BufferView_pimpl.C:
9268         * LyXAction.C:
9269         * toc.C:
9270         * lyxfunc.C: subsequent changes
9271
9272         * lyxfunc.h: new view() member function
9273
9274         * lyxfunc.C: subsequent changes
9275
9276 2002-08-13  Angus Leeming  <leeming@lyx.org>
9277
9278         * BufferView2.C:
9279         * BufferView_pimpl.C:
9280         * buffer.C:
9281         * converter.C:
9282         * importer.C:
9283         * lyxfunc.C:
9284         * lyxvc.C:
9285         * toc.C:
9286         * vc-backend.C:
9287         changes due to the changed LyXView interface that now returns references
9288         to member variables not pointers.
9289
9290 2002-08-13  Angus Leeming  <leeming@lyx.org>
9291
9292         * WordLangTuple (word, lang_code): return references to strings,
9293         not strings.
9294
9295         * BufferView.h:
9296         * SpellBase.h:
9297         * lyxtext.h: forward-declare WordLangTuple.
9298
9299         * BufferView2.C:
9300         * ispell.C:
9301         * pspell.C:
9302         * text.C: #include "WordLangTuple.h".
9303
9304         * lyxtext.h:
9305         * text.C: (selectNextWordToSpellcheck): constify return type.
9306
9307 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
9308
9309         * buffer.C:
9310         * buffer.h:
9311         * lyxtext.h:
9312         * paragraph.C:
9313         * paragraph_pimpl.h:
9314         * text.C:
9315         * text2.C:
9316         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9317         suggested by Angus.
9318         Made updateCounter always count from start of buffer, and removed
9319         second argument (par).
9320         Reverted floats number display to '#'. Perhaps I'll try again when the
9321         code base is sanitized a bit.
9322
9323 2002-08-12  Angus Leeming  <leeming@lyx.org>
9324
9325         * buffer.[Ch] (getLabelList): constify.
9326
9327 2002-08-07  André Pönitz <poenitz@gmx.net>
9328
9329         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9330
9331         * funcrequest.h: extension to keep mouse (x,y) position
9332
9333 2002-08-12  Juergen Vigna  <jug@sad.it>
9334
9335         * BufferView2.C (insertErrors): forbid undo when inserting error
9336         insets.
9337
9338         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9339
9340 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9341
9342         * ParagraphList.[Ch]: new files
9343
9344         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9345
9346         * BufferView2.C (lockInset): ParagraphList changes
9347         * toc.C: ditto
9348         * text2.C: ditto
9349         * bufferlist.C: ditto
9350         * buffer.h: ditto
9351         * buffer.C: ditto
9352
9353 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9354
9355         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9356         unused class variable counter_,
9357
9358         * paragraph.[Ch] (getFirstCounter): delete unused function
9359
9360         * counters.C: include LAssert.h
9361         (reset): add a new function with no arg, change other version to
9362         not have def. arg and to not allow empty arg.
9363
9364         * text2.C (setCounter): remove empty arg from call to Counters::reset
9365
9366 2002-08-11  John Levon  <levon@movementarian.org>
9367
9368         * Makefile.am: add WordLangTuple.h
9369
9370 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9371
9372         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9373         lyxfunc.C lyxlex_pimpl.C: ws changes only.
9374
9375         * insets/insettext.C: InsetList changes
9376
9377         * graphics/GraphicsSupport.C (operator()): InsetList changes
9378
9379         * toc.C (getTocList): InsetList changes
9380
9381         * paragraph_pimpl.[Ch]: InsetList changes
9382
9383         * paragraph.[Ch]: InsetList changes
9384
9385         * buffer.C (inset_iterator): InsetList changes
9386         (setParagraph): ditto
9387         * buffer.h (inset_iterator): ditto
9388         * iterators.C (operator++): ditto
9389         * iterators.h: ditto
9390
9391         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9392
9393         * InsetList.[Ch]: new files, most InsetList handling moved out of
9394         paragraph.C.
9395
9396         * BufferView2.C (removeAutoInsets): InsetList changes
9397         (lockInset): ditto
9398         (ChangeInsets): ditto
9399
9400 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
9401
9402         * paragraph_pimpl.h (empty): new function
9403
9404         * paragraph.[Ch] (empty): new function
9405
9406         * other files: use the new Paragraph::empty function
9407
9408 2002-08-09  John Levon  <levon@movementarian.org>
9409
9410         * lyxtext.h: remove unused refresh_height
9411
9412 2002-08-09  John Levon  <levon@movementarian.org>
9413
9414         * Makefile.am:
9415         * sgml.h:
9416         * sgml.C:
9417         * buffer.C:
9418         * paragraph.h:
9419         * paragraph.C: move sgml char escaping out of paragraph
9420
9421         * paragraph.h:
9422         * paragraph.C: remove id setter
9423
9424         * buffer.C:
9425         * paragraph.C:
9426         * paragraph_pimpl.C: remove dead tex_code_break_column
9427
9428         * bufferview_funcs.C: small cleanup
9429
9430         * lyxfunc.C: remove dead proto
9431
9432         * lyxtext.h: make some stuff private. Remove some dead stuff.
9433
9434         * lyxgluelength.C: make as[LyX]String() readable
9435
9436 2002-08-08  John Levon  <levon@movementarian.org>
9437
9438         * LyXAction.h:
9439         * LyXAction.C:
9440         * MenuBackend.C:
9441         * ToolbarDefaults.C:
9442         * lyxfunc.C:
9443         * lyxrc.C:
9444         * toc.C: lyxaction cleanup
9445
9446 2002-08-08  John Levon  <levon@movementarian.org>
9447
9448         * BufferView2.C: small cleanup
9449
9450         * lyxfind.h:
9451         * lyxfind.C: move unnecessary header into the .C
9452
9453 2002-08-08  John Levon  <levon@movementarian.org>
9454
9455         * funcrequest.h: just tedious nonsense
9456
9457         * lyx_main.h:
9458         * lyx_main.C: cleanups
9459
9460         * buffer.C:
9461         * vspace.C: remove dead header lyx_main.h
9462
9463 2002-08-07  Angus Leeming  <leeming@lyx.org>
9464
9465         * Paragraph.[Ch]:
9466         * paragraph_pimpl.h:
9467         Forward declare class Counters in paragraph.h by moving the ctrs member
9468         variable into Paragraph::Pimpl.
9469         (counters): new method, returning a reference to pimpl_->ctrs.
9470
9471         * text2.C: ensuing changes.
9472
9473 2002-08-07  John Levon  <levon@movementarian.org>
9474
9475         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9476
9477         * BufferView_pimpl.C: announce X selection on double/triple
9478           click
9479
9480         * lyx_main.C: use correct bool in batch dispatch
9481
9482         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9483
9484 2002-08-07  André Pönitz <poenitz@gmx.net>
9485
9486         * funcrequest.h: new class to wrap a kb_action and its argument
9487
9488         * BufferView.[Ch]:
9489         * BufferView_pimpl[Ch]:
9490         * LaTeX.C:
9491         * LyXAction.[Ch]:
9492         * lyxfunc.[Ch]:
9493         * lyxrc.C: subsequent changes
9494
9495
9496 2002-08-07  John Levon  <levon@movementarian.org>
9497
9498         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9499           document options change.
9500
9501 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
9502
9503         * counters.[Ch]
9504         * text2.C
9505         * paragraph.[Ch]
9506         * makefile.am: move counters functionality over from
9507         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9508
9509 2002-08-06  John Levon  <levon@movementarian.org>
9510
9511         * WordLangTuple.h: new file for word + language code tuple
9512
9513         * SpellBase.h:
9514         * pspell.h:
9515         * pspell.C:
9516         * ispell.h:
9517         * ispell.C:
9518         * lyxtext.h:
9519         * text.C:
9520         * text2.C:
9521         * BufferView.h:
9522         * BufferView2.C: use WordLangTuple
9523
9524         * layout.h:
9525         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9526
9527 2002-08-06  John Levon  <levon@movementarian.org>
9528
9529         * lyx_main.C: fix cmdline batch handling
9530
9531 2002-08-06  André Pönitz <poenitz@gmx.net>
9532
9533         * lyxrc.C: set default for show_banner to true
9534
9535 2002-08-06  John Levon  <levon@movementarian.org>
9536
9537         * pspell.C: fix a crash, and allow new aspell to work
9538
9539 2002-08-06  John Levon  <levon@movementarian.org>
9540
9541         * lyxfunc.C:
9542         * kbmap.C: small cleanup
9543
9544         * vspace.h:
9545         * vspace.C: add const
9546
9547 2002-08-05  John Levon  <levon@movementarian.org>
9548
9549         * LyXAction.C: back to tabular-insert
9550
9551 2002-08-04  John Levon  <levon@movementarian.org>
9552
9553         * BufferView.h:
9554         * BufferView.C: cosmetic change
9555
9556         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9557
9558         * bufferlist.C:
9559         * buffer.h:
9560         * buffer.C:
9561         * lyxcb.h:
9562         * lyxcb.C:
9563         * lyxserver.C:
9564         * lyxvc.C:
9565         * vc-backend.C:
9566         * BufferView2.C: purge all "Lyx" not "LyX" strings
9567
9568         * lyxcursor.h:
9569         * lyxcursor.C: attempt to add some documentation
9570
9571         * lyxfunc.C:
9572         * commandtags.h:
9573         * LyXAction.C:
9574         * ToolbarDefaults.C:
9575         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9576           merge with LFUN_TABULAR_INSERT
9577
9578         * Makefile.am:
9579         * SpellBase.h:
9580         * ispell.h:
9581         * ispell.C:
9582         * pspell.h:
9583         * pspell.C: split up i/pspell implementations into separate
9584           files, many cleanups
9585
9586         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9587
9588         * text2.C: some cleanup
9589
9590         * lyxfunc.C: don't check for isp_command == "none" any more, it
9591           didn't make any sense
9592
9593 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
9594
9595         * counters.[Ch]
9596         * text2.C
9597         * paragraph.[Ch]
9598         * makefile.am: move counters functionality over
9599         from text2.C/paragraph.[Ch] to counters.[Ch], and
9600         make proper C++.
9601 2002-08-02  John Levon  <levon@movementarian.org>
9602
9603         * buffer.C: s/lyxconvert/lyx2lyx/
9604
9605 2002-08-02  Angus Leeming  <leeming@lyx.org>
9606
9607         * lyxlex.C: revert John's change as it breaks reading of the user
9608         preamble.
9609
9610 2002-08-02  Angus Leeming  <leeming@lyx.org>
9611
9612         * importer.C (Import):
9613         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9614         changes due to LyXView::view() now returning a boost::shared_ptr.
9615
9616 2002-08-02  John Levon  <levon@movementarian.org>
9617
9618         * lyxlex.C: small cleanup
9619
9620 2002-08-02  John Levon  <levon@movementarian.org>
9621
9622         * text2.C (status): small cleanup, no logic change
9623
9624 2002-08-01  John Levon  <levon@movementarian.org>
9625
9626         * buffer.h:
9627         * buffer.C (writeFile): don't output alerts, caller
9628           handles this
9629
9630         * bufferlist.C:
9631         * lyx_cb.C: from above
9632
9633         * lyxfunc.C: allow to open non-existent files
9634
9635 2002-07-31  John Levon  <levon@movementarian.org>
9636
9637         * lyxserver.C: don't let incidental errors get
9638           in the way (errno)
9639
9640 2002-07-30  John Levon  <levon@movementarian.org>
9641
9642         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9643
9644 2002-07-30  John Levon  <levon@movementarian.org>
9645
9646         * lyxserver.h:
9647         * lyxserver.C: remove I/O callback too
9648
9649 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9650
9651         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9652         log.
9653
9654 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9655
9656         * many files: strip,frontStrip -> trim,ltrim,rtrim
9657
9658 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
9659
9660         * PrinterParams.h: remove extern containsOnly, and include
9661         support/lstrings.h instead.
9662
9663         * LaTeX.C (scanAuxFile): modify because of strip changes
9664         (deplog): ditto
9665         * buffer.C (makeLaTeXFile): ditto
9666         * bufferparams.C (writeFile): ditt
9667         * lyxfont.C (stateText): ditto
9668         * lyxserver.C (read_ready): ditto
9669         * vc-backend.C (scanMaster): ditto
9670
9671         * BufferView_pimpl.h: ws changes
9672
9673         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9674
9675 2002-07-26  André Pönitz <poenitz@gmx.net>
9676
9677         * kb_sequence.C: remove unnedred usings
9678
9679 2002-07-26  Juergen Vigna  <jug@sad.it>
9680
9681         * lyxfind.C (LyXReplace): we have to check better if the returned
9682         text is not of theLockingInset()->getLockingInset().
9683
9684 2002-07-25  Juergen Vigna  <jug@sad.it>
9685
9686         * lyxfind.C (LyXReplace): don't replace if we don't get the
9687         right LyXText.
9688
9689         * undo_funcs.C (createUndo): remove debugging code.
9690
9691 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
9692
9693         * buffer.C (parseSingleLyXformat2Token): Use default placement
9694         when reading old floats.
9695
9696         * FloatList.C (FloatList): Change the default placement of figure
9697         and tables to "tbp".
9698
9699 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
9700
9701         * MenuBackend.C: using std::max
9702
9703 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9704
9705         * MenuBackend.C (expandToc):
9706         (expandToc2): code moved from xforms menu frontend. It is now
9707         generic and TOCs are transparent to menu frontends.
9708
9709 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9710
9711         * toc.C (getTocList): protect against buf=0
9712
9713         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9714         Menu as first parameter. Now, this calls itself recursively to
9715         expand a whole tree (this will be useful for TOC handling)
9716         (expandFloatInsert): remove 'wide' version of floats
9717
9718         * MenuBackend.h (submenuname): returns the name of the submenu.
9719         (submenu): returns the submenu itself, provided it has been
9720         created by MenuBackend::expand
9721
9722 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9723
9724         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9725         insets which have noFontChange == true. (bug #172)
9726
9727 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9728
9729         * BufferView_pimpl.C: add connection objects and use them...
9730         (Pimpl): here.
9731
9732 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9733
9734         * MenuBackend.C (expandLastfiles):
9735         (expandDocuments):
9736         (expandFormats):
9737         (expandFloatListInsert):
9738         (expandFloatInsert):
9739         (expand): split expand in parts
9740
9741 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9742
9743         * lyx_gui.C: use lyx_gui::exit()
9744
9745 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9746
9747         * LyXAction.C: show the failing pseudo action
9748
9749 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
9750
9751         * buffer.C (readFile): Run the lyxconvert script in order to read
9752         old files.
9753
9754 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9755
9756         * LyXAction.C:
9757         * commandtags.h:
9758         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9759
9760 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9761
9762         * LyXAction.C:
9763         * commandtags.h:
9764         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9765
9766 2002-07-22  Herbert Voss  <voss@lyx.org>
9767
9768         * lengthcommon.C:
9769         * lyxlength.[Ch]: add support for the vertical lengths
9770
9771 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
9772
9773         * toc.[Ch]: std:: fixes
9774
9775 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9776
9777         * lyxrc.C: do not include lyx_main.h
9778
9779         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9780         for layouts
9781
9782         * lyxrc.C:
9783         * encoding.C:
9784         * bufferlist.C:
9785         * BufferView2.C: include "lyxlex.h"
9786
9787         * tabular.h:
9788         * bufferparams.h: do not #include "lyxlex.h"
9789
9790         * lyxtextclasslist.C (Add): remove method
9791         (classlist): renamed to classlist_
9792
9793         * paragraph_pimpl.C:
9794         * paragraph.C:
9795         * text2.C:
9796         * CutAndPaste.C:
9797         * bufferview_funcs.C:
9798         * bufferlist.C:
9799         * text.C:
9800         * LaTeXFeatures.C:
9801         * buffer.C:
9802         * toc.C (getTocList): use BufferParams::getLyXTextClass
9803
9804         * toc.C (getTocList): use InsetFloat::addToToc
9805
9806         * toc.[Ch]: new files, containing helper functions to handle table
9807         of contents
9808
9809         * lyxfunc.C (dispatch): no need to remove spaces around command
9810         given as a string
9811         (getStatus): handle LFUN_SEQUENCE by returning the status of the
9812         first command of the sequence; it is not very clever, but I do not
9813         have a better idea, actually
9814
9815         * LyXAction.C (LookupFunc): make sure to remove space at the
9816         beginning and end of the command
9817
9818 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9819
9820         * MenuBackend.C (getMenubar): new method: return the menubar of
9821         this menu set
9822         (read): treat differently reading of menu and menubar (in
9823         particular, the menubar has no name now)
9824         (Menu::menubar): remove
9825
9826         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9827         saving is finished
9828
9829 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9830
9831         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9832         a bibitem inset in a RTL paragraph.
9833
9834 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
9835
9836         * paragraph_pimpl.C: constify
9837
9838         * BufferView_pimpl.C:
9839         * LaTeX.C:
9840         * lyxfunc.C: fix dispatch in a nicer way
9841
9842 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9843
9844         * lyxfunc.C (dispatch):
9845         * BufferView_pimpl.C:
9846         * BufferView_pimpl.h:
9847         * BufferView.C:
9848         * BufferView.h: rename Dispatch() to dispatch()
9849
9850         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9851
9852         * lyxlayout.C (Read): honor DependsOn tag
9853
9854         * lyxlayout.[Ch] (depends_on): new method
9855
9856         * version.C.in: update lyx_docversion
9857
9858         * LaTeXFeatures.C (getMacros): only define \LyX when needed
9859
9860         * paragraph.C (validate): remove from here...
9861         * paragraph_pimpl.C (validate): ... and move here
9862         (isTextAt): make it const
9863
9864         * buffer.C (getLists): ws cleanup
9865
9866 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9867
9868         * language.C (read): Use iso8859-1 encoding in latex_lang
9869         (this prevents LyX from crashing when using iso10646-1 encoding).
9870
9871 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9872
9873         * text2.C (toggleInset): if cursor is inside an inset, close the
9874         inset and leave cursor _after_ it
9875
9876 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9877
9878         * lyxfunc.C: move minibuffer completion handling out of here
9879
9880 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9881
9882         * BufferView_pimpl.C:
9883         * LaTeX.C: fix dispatch calls
9884
9885 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
9886
9887         * text.C (drawChars): Fix Arabic text rendering.
9888
9889 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
9890
9891         * LyXAction.C:
9892         * commandtags.h:
9893         * lyxfunc.C: remove message-push/pop
9894
9895         * lyxserver.C:
9896         * lyxfunc.h:
9897         * lyxfunc.C: rationalise some code by removing verboseDispatch
9898           in favour of a bool argument to dispatch()
9899
9900 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9901
9902         * lyx_main.C (init): make sure to read symlinks as absolute paths
9903
9904 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9905
9906         * lyxfunc.h:
9907         * lyxfunc.C: no need for commandshortcut to be a member
9908
9909 2002-07-15  André Pönitz <poenitz@gmx.net>
9910
9911         * converter.C: add support for $$s (scripts from lib/scripts dir)
9912         * lyx_main.C: white space
9913
9914 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9915
9916         * bufferlist.C:
9917         * lyxrc.h:
9918         * lyxrc.C: remove second exit confirmation
9919
9920 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9921
9922         * BufferView.h:
9923         * BufferView.C:
9924         * BufferView2.C:
9925         * BufferView_pimpl.h:
9926         * BufferView_pimpl.C:
9927         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9928
9929 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9930
9931         * MenuBackend.C (expand): add numeric shortcuts to document menu
9932
9933         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9934
9935 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9936
9937         * lyxfont.C (setLyXFamily):
9938         (setLyXSeries):
9939         (setLyXShape):
9940         (setLyXSize):
9941         (setLyXMisc):
9942         (lyxRead):
9943         * debug.C (value):
9944         * buffer.C (asciiParagraph): use ascii_lowercase
9945
9946 2002-07-15  Mike Fabian  <mfabian@suse.de>
9947
9948         * lyxlex_pimpl.C (search_kw):
9949         * lyxlex.C (getLongString):
9950         * converter.h (operator<):
9951         * converter.C (operator<):
9952         * buffer.C (parseSingleLyXformat2Token):
9953         (asciiParagraph):
9954         * ToolbarDefaults.C (read):
9955         * MenuBackend.C (checkShortcuts):
9956         (read):
9957         * LColor.C (getFromGUIName):
9958         (getFromLyXName): use the compare_ascii_no_case instead of
9959         compare_no_case, because in turkish, 'i' is not the lowercase
9960         version of 'I', and thus turkish locale breaks parsing of tags.
9961
9962 2002-07-16  Angus Leeming  <leeming@lyx.org>
9963
9964         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9965         now takes a Buffer const & argument.
9966
9967 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
9968
9969         * BufferView.C (resize): check there's a buffer to resize
9970
9971 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
9972
9973         * lyxfunc.C: remove dead code
9974
9975         * lyxserver.h:
9976         * lyxserver.C: use lyx_guii::set_read_callback
9977
9978 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
9979
9980         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9981         an inset in a RTL paragraph.
9982
9983 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9984
9985         * lyxfunc.C: repaint after a font size update
9986
9987 2002-07-15  André Pönitz <poenitz@gmx.net>
9988
9989         * lyxlength.C: inBP should be able to return negative values
9990
9991 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9992
9993         * lyxfunc.C: use lyx_gui::update_fonts()
9994
9995 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9996
9997         * lyxfunc.C: use lyx_gui::update_color()
9998
9999 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10000
10001         * bufferlist.C:
10002         * lyxfunc.h:
10003         * lyxfunc.C:
10004         * lyxrc.h:
10005         * lyxrc.C: remove file->new asks for name option, and let
10006           buffer-new take an argument
10007
10008 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10009
10010         * BufferView_pimpl.C: remove unneeded extra repaint()
10011
10012 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
10013
10014         * LyXAction.C: allow command-sequence with NoBuffer
10015
10016         * lyxfunc.C: don't insist on trailing ';' for command-sequence
10017
10018 2002-07-10  Angus Leeming  <leeming@lyx.org>
10019
10020         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10021
10022 2002-07-09  Angus Leeming  <leeming@lyx.org>
10023
10024         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10025
10026 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10027
10028         * lengthcommon.h: whitespace
10029
10030         * lyxfunc.C: update scrollbar after goto paragraph
10031
10032         * lyxtext.h: factor out page break drawing, and fix it so
10033           page break/added space paints as selected nicely
10034
10035 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10036
10037         * BufferView_pimpl.C: add FIXMEs, clean up a little
10038
10039 2002-07-09  André Pönitz <poenitz@gmx.net>
10040
10041         * lyxfont.[Ch]: support for wasy symbols
10042
10043 2002-07-08  André Pönitz <poenitz@gmx.net>
10044
10045         * BufferView_pimpl.C: apply John's patch for #93.
10046
10047 2002-07-05  Angus Leeming  <leeming@lyx.org>
10048
10049         * BufferView_pimpl.C (buffer): generate previews if desired.
10050
10051         * LColor.h: add "preview" to the color enum.
10052
10053         * LColor.C (LColor): add a corresponding entry to the items array.
10054
10055         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10056         with this buffer.
10057
10058 2002-07-05  Angus Leeming  <leeming@lyx.org>
10059
10060         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10061         The body of the code is now in the method that is passed an ostream &
10062         rather than a file name.
10063         Pass an additional only_preamble parameter, useful for the forthcoming
10064         preview stuff.
10065
10066 2002-07-03  André Pönitz <poenitz@gmx.net>
10067
10068         * lyxfunc.C: simplify getStatus() a bit for math stuff
10069
10070 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10071
10072         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10073
10074 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10075
10076         * text.C (changeRegionCase): do not change case of all the
10077         document when region ends at paragraph end (bug #461)
10078
10079 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10080
10081         * paragraph.C (startTeXParParams):
10082         (endTeXParParams): add \protect when necessary
10083
10084 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10085
10086         * BufferView_pimpl.C (workAreaExpose): remove warning
10087
10088 2002-06-27  Angus Leeming  <leeming@lyx.org>
10089
10090         * Makefile.am: add lyxlayout_ptr_fwd.h.
10091
10092 2002-06-26  André Pönitz <poenitz@gmx.net>
10093
10094         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10095
10096 2002-06-25  Angus Leeming  <leeming@lyx.org>
10097
10098         * lyxfunc.C (dispatch): Comment out the call to
10099         grfx::GCache::changeDisplay. The method no longer exists now that the
10100         pixmap generation part of the graphics loader has been moved into
10101         InsetGraphics.
10102
10103 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10104
10105         * text2.C: layout as layout
10106
10107         * text.C: layout as layout
10108
10109         * tabular.C (OldFormatRead): layout as layout
10110
10111         * paragraph_pimpl.C (TeXDeeper): layout as layout
10112         (realizeFont): layout as layout
10113
10114         * paragraph.C (writeFile): layout as layout
10115         (validate): layout as layout
10116         (getFont): layout as layout
10117         (getLabelFont): layout as layout
10118         (getLayoutFont): layout as layout
10119         (breakParagraph): layout as layout
10120         (stripLeadingSpaces): layout as layout
10121         (getEndLabel): layout as layout
10122         (getMaxDepthAfter): layout as layout
10123         (applyLayout): layout as layout
10124         (TeXOnePar): layout as layout
10125         (simpleTeXOnePar): layout as layout
10126         (TeXEnvironment): layout as layout
10127         (layout): layout as layout
10128         (layout): layout as layout
10129
10130         * lyxtextclass.C (compare_name): new functor to work with
10131         shared_ptr, layout as layout
10132         (Read): layout as layout
10133         (hasLayout): layout as layout
10134         (operator): layout as layout
10135         (delete_layout): layout as layout
10136         (defaultLayout): layout as layout
10137
10138         * lyxlayout_ptr_fwd.h: new file
10139
10140         * lyxlayout.C (Read): layout as layout
10141
10142         * lyx_cb.C (MenuInsertLabel): layout as layout
10143
10144         * bufferlist.C (newFile): layout as layout
10145
10146         * buffer.C (readLyXformat2): layout as layout
10147         (parseSingleLyXformat2Token): layout as layout
10148         (insertStringAsLines): layout as layout
10149         (asciiParagraph): layout as layout
10150         (latexParagraphs): layout as layout
10151         (makeLinuxDocFile): layout as layout
10152         (simpleLinuxDocOnePar): layout as layout
10153         (makeDocBookFile): layout as layout
10154         (simpleDocBookOnePar): layout as layout
10155         (getLists): layout as layout
10156
10157         * LaTeXFeatures.C (getTClassPreamble): layout as layout
10158
10159         * CutAndPaste.C (cutSelection): layout as layout
10160         (pasteSelection): layout as layout
10161         (SwitchLayoutsBetweenClasses): layout as layout
10162
10163         * BufferView_pimpl.C (Dispatch): layout as layout
10164         (smartQuote): layout as layout
10165
10166         * BufferView2.C (unlockInset): layout as layout
10167
10168 2002-06-24  André Pönitz <poenitz@gmx.net>
10169
10170         * lyxfunc.C: fix #487
10171
10172 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10173
10174         * lyxrc.h:
10175         * lyxrc.C:
10176         * lyxfunc.C: remove display_shortcuts, show_banner
10177
10178 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10179
10180         * Buffer_pimpl.C: oops, update on resize
10181
10182 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10183
10184         * buffer.C:
10185         * converter.C:
10186         * exporter.C:
10187         * lyxfunc.C:
10188         * BufferView.h:
10189         * BufferView.C: use repaint()
10190
10191         * BufferView_pimpl.h:
10192         * BufferView_pimpl.C: s/updateScreen()/repaint()/
10193           as it's a clearer description. Remove superfluous
10194           redraws.
10195
10196 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10197
10198         * text.C: fix bug 488. Not ideal, but getting
10199           getWord() to work properly for the insets that
10200           matter is more difficult ...
10201
10202 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10203
10204         * BufferView_pimpl.C:
10205         * LyXAction.C:
10206         * commandtags.h:
10207         * lyxfunc.C: remove the six million index lyxfuncs to just
10208           one, and DTRT (bug 458)
10209
10210 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10211
10212         * BufferView.h:
10213         * BufferView.C:
10214         * BufferView_pimpl.h:
10215         * BufferView_pimpl.C: clean up resize() stuff,
10216           and unnecessary updateScreen()s
10217
10218 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10219
10220         * BufferView.h:
10221         * BufferView.C:
10222         * BufferView_pimpl.h:
10223         * BufferView_pimpl.C:
10224         * lyxfind.h:
10225         * lyxfind.C:
10226         * minibuffer.C: remove focus management of workarea,
10227           not needed. Use screen's greyOut()
10228
10229 2002-06-17  Herbert Voss  <voss@lyx.org>
10230
10231         * converter.C: (convert) do not post a message, when converting
10232         fails, let the calling function decide what to do in this case
10233
10234 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
10235
10236         * lyxfunc.C: tidy up a little
10237
10238 2002-06-16    <alstrup@diku.dk>
10239
10240         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10241         Got rid of FORMS_H_LOCATION include. Now we are
10242         GUII.
10243
10244 2002-06-15  LyX Development team  <lyx@rilke>
10245
10246         * buffer.[Ch] (sgmlOpenTag):
10247         (sgmlCloseTag): Added support for avoiding pernicious mixed
10248         content. Return number of lines written.
10249
10250         (makeLinuxDocFile):
10251         (makeDocBookFile): Fixed calls to sgml*Tag.
10252         Simple white space clean.
10253
10254         (simpleDocBookOnePar): Simple white space clean.
10255
10256         * tabular.[Ch] (docBook): Renamed to docbook and got another
10257         argument to related with the pernicious mixed content.
10258
10259         (docbookRow): Fixed calls for docbook inset method.
10260
10261 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
10262
10263         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10264         so it's X11 independent.
10265
10266         * kb*.[Ch]: ditto.
10267
10268         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10269
10270 2002-06-15  Lyx Development team  <lyx@electronia>
10271
10272         * intl.h: Renamed getTrans to getTransManager.
10273
10274 2002-06-14  Angus Leeming  <leeming@lyx.org>
10275
10276         * Makefile.am: nuke forgotten stl_string_fwd.h.
10277
10278 2002-06-12  Angus Leeming  <leeming@lyx.org>
10279
10280         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10281
10282 2002-06-13  Angus Leeming  <leeming@lyx.org>
10283
10284         * LaTeX.C:
10285         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10286
10287 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
10288
10289         * kbmap.C (getiso): add support for cyrillic and greek
10290
10291 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10292
10293         * BufferView.h:
10294         * BufferView.C:
10295         * BufferView_pimpl.h:
10296         * BufferView_pimpl.C: move bogus scrolling logic
10297           to xforms
10298
10299 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10300
10301         * lyxfunc.C:
10302         * BufferView_pimpl.C: view->resize() change
10303
10304 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10305
10306         * BufferView_pimpl.C: topCursorVisible
10307           prototype change
10308
10309 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10310
10311         * Makefile.am:
10312         * lyx_gui.h:
10313         * lyx_gui.C: move to frontends/
10314
10315         * main.C:
10316         * lyx_main.h:
10317         * lyx_main.C: changes from above
10318
10319 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10320
10321         * intl.C:
10322         * intl.h:
10323         * kbmap.C:
10324         * kbsequence.C:
10325         * lyx_cb.C:
10326         * lyx_main.C: minor tidy
10327
10328 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10329
10330         * BufferView_pimpl.h:
10331         * BufferView_pimpl.C:
10332         * BufferView.h:
10333         * BufferView.C: make painter() const,
10334           remove dead code
10335
10336         * BufferView2.C: use screen() accessor
10337
10338         * lyx_main.h:
10339         * lyx_main.C: some minor cleanup
10340
10341 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10342
10343         * BufferView_pimpl.h:
10344         * BufferView_pimpl.C: remove enter/leaveView,
10345           use workHeight()
10346
10347 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10348
10349         * BufferView.h:
10350         * BufferView.C:
10351         * BufferView2.C:
10352         * BufferView_pimpl.h:
10353         * BufferView_pimpl.C: only construct screen once,
10354           rename
10355
10356         * lyxrc.C: remove pointless comment
10357
10358 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10359
10360         * BufferView.h:
10361         * BufferView.C: remove active() and belowMouse()
10362
10363         * BufferView_pimpl.h:
10364         * BufferView_pimpl.C: use workarea() not workarea_,
10365           and make it use a scoped_ptr instead
10366
10367 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10368
10369         * lyx_gui.C: add debug message on BadWindow
10370
10371 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10372
10373         * sp_spell.C: fdopen is not part of the C++ standard.
10374
10375         * paragraph.C (InsetIterator): use >= instead of ==
10376
10377 2002-06-07  Angus Leeming  <leeming@lyx.org>
10378
10379         Fixes needed to compile with Compaq cxx 6.5.
10380         * BufferView_pimpl.C:
10381         * DepTable.C:
10382         * buffer.C:
10383         * converter.C:
10384         * encoding.C:
10385         * lyx_gui.C:
10386         * lyx_main.C:
10387         * lyxtextclasslist.C:
10388         * minibuffer.C:
10389         * sp_spell.C:
10390         * tabular_funcs.C:
10391         * vc-backend.C:
10392         all c-library variables have been moved into namespace std. Wrap
10393         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10394
10395         * lyxlength.C:
10396         * tabular-old.C:
10397         * tabular.C:
10398         Add a using std::abs declaration.
10399
10400         * kbmap.h (modifier_pair):
10401         * paragraph.h (InsetTable, InsetList):
10402         * lyxfont.h (FontBits):
10403         type definition made public.
10404
10405         * bufferlist.C (emergencyWriteAll): the compiler complains that
10406         there is more than one possible lyx::class_fun template to choose from.
10407         I re-named the void specialisation as lyx::void_class_fun.
10408
10409         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10410
10411         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10412         the compiler is is unable to find tostr in write_attribute.
10413
10414 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10415
10416         * buffer.C (sgmlError): hide #warning
10417
10418 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10419
10420         * xtl/*: get rid of xtl, which is not in use anyway
10421
10422         * LyXAction.C (init):
10423         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10424         were unimplemented xtl experimentation
10425
10426 2002-06-04  André Pönitz <poenitz@gmx.net>
10427
10428         * lyxfunc.C: disable array operation on simple formulae
10429
10430 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
10431
10432         * converter.C: constify a bit
10433
10434 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
10435
10436         * lyx_gui.C: check xforms version correctly
10437
10438 2002-04-30  Herbert Voss  <voss@lyx.org>
10439
10440         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10441         "keep" option
10442
10443 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
10444
10445         * lyxvc.C: fix bug 416 (make sure buffer is saved before
10446           attempt to register it with a VCS)
10447
10448 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10449
10450         * lyx_main.C (init): honor variables LYX_DIR_13x and
10451         LYX_USERDIR_13x
10452
10453 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10454
10455         * buffer.h:
10456         * buffer.C:
10457         * lyx_main.C: fix a crash on bad command line,
10458           and give a useful exit status on error
10459
10460         * lyxfunc.C (doImport): allow -i lyx to work
10461
10462 2002-03-30  André Pönitz <poenitz@gmx.net>
10463
10464         * lyxfunc.C: mathed font changes
10465
10466 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10467
10468         * LaTeX.C:
10469         * importer.h:
10470         * importer.C:
10471         * lyx_sty.h:
10472         * lyx_sty.C:
10473         * lyxlex.C:
10474         * lyxrow.h:
10475         * lyxtext.h:
10476         * paragraph.h:
10477         * paragraph.C:
10478         * texrow.h:
10479         * texrow.C:
10480         * text.C:
10481         * trans_mgr.h: srcdocs, and some minor cleanups
10482
10483 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10484
10485         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10486         call getFont all the time)
10487
10488 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10489
10490         * switch from SigC signals to boost::signals
10491
10492 2002-05-29  André Pönitz <poenitz@gmx.net>
10493
10494         * paragraph_pimpl.C (getChar): don't call size() too often...
10495
10496 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10497
10498         * paragraph_pimpl.C (insertChar): do not try to update tables when
10499         appending (pos == size())
10500
10501         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10502         in order to reduce drastically the number of comparisons needed to
10503         parse a large document
10504
10505 2002-05-29  André Pönitz <poenitz@gmx.net>
10506
10507         * text.C:
10508         * text2.C:
10509         * lyxtextclass.C:
10510         * sp_pspell.h:
10511         * textclasslist.[Ch]:
10512         * sp_ispell.h: whitespace change
10513
10514 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10515
10516         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10517         lyxaction directly now.
10518
10519 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
10520
10521         * trans.C:
10522         * lyxfont.C:
10523         * lyxvc.C: remove unused headers
10524
10525 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10526
10527         * Makefile.am:
10528         * buffer.h:
10529         * undostack.h:
10530         * undostack.C:
10531         * undo_funcs.h:
10532         * undo_funcs.C: some cleanups. Use shared_ptr
10533           and a template for the undo stacks.
10534
10535 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10536
10537         * BufferView_pimpl.h:
10538         * BufferView_pimpl.C:
10539         * kbmap.h:
10540         * kbmap.C:
10541         * kbsequence.h:
10542         * kbsequence.C:
10543         * lyxfunc.h:
10544         * lyxfunc.C:
10545         * text2.C: use key_state/mouse_state
10546
10547 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10548
10549         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10550         and LSubstring
10551
10552         * chset.C: change include order
10553         (loadFile): use boost regex and get rid of LRegex and LSubstring
10554
10555         * Makefile.am (BOOST_LIBS): new variable
10556         (lyx_LDADD): use it
10557
10558         * LaTeX.C: change include order.
10559         (scanAuxFile): use boost regex and get rid of LRegex and
10560         LSubstring
10561         (deplog): ditto
10562
10563 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10564
10565         * ColorHandler.h:
10566         * ColorHandler.C:
10567         * FontInfo.h:
10568         * FontInfo.C: moved to frontends/xforms/
10569
10570         * FontLoader.h:
10571         * FontLoader.C: moved into frontends for GUIIzation
10572
10573         * Makefile.am:
10574         * lyx_gui.C:
10575         * lyxfont.C:
10576         * lyxfunc.C: changes from above
10577
10578 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10579
10580         * LColor.C: remove spurious X include
10581
10582         * BufferView_pimpl.C:
10583         * Makefile.am:
10584         * font.h:
10585         * font.C:
10586         * text.C:
10587         * text2.C: move font metrics to frontends/
10588
10589 2002-05-24  Juergen Vigna  <jug@sad.it>
10590
10591         * undo_funcs.C (textHandleUndo): fix the cursor selection after
10592         setting the undo_cursor.
10593
10594         * ParagraphParameters.h: include local includes first.
10595
10596 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10597
10598         * BufferView_pimpl.C:
10599         * BufferView_pimpl.h:
10600         * Makefile.am:
10601         * WorkArea.h:
10602         * WorkArea.C:
10603         * screen.C: move WorkArea into frontends/
10604
10605         * lyxscreen.h:
10606         * screen.C:
10607         * text.C:
10608         * BufferView.C:
10609         * BufferView2.C: move LyXScreen into frontends/
10610
10611         * lyxlookup.h:
10612         * lyxlookup.C:
10613         * lyx_gui.C: move lyxlookup into frontends/xforms/
10614
10615 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10616
10617         * BufferView2.C:
10618         * BufferView_pimpl.C:
10619         * FontLoader.C:
10620         * LyXView.h:
10621         * LyXView.C:
10622         * Makefile.am:
10623         * WorkArea.C:
10624         * XFormsView.h:
10625         * XFormsView.C:
10626         * buffer.C:
10627         * bufferlist.C:
10628         * bufferview_funcs.C:
10629         * converter.C:
10630         * importer.C:
10631         * lyx_cb.C:
10632         * lyx_gui.C:
10633         * lyx_main.C:
10634         * lyx_find.C:
10635         * lyxfunc.C:
10636         * lyxvc.C:
10637         * minibuffer.C:
10638         * text.C:
10639         * text2.C:
10640         * trans.C:
10641         * vc-backend.C: move LyX/XFormsView into frontends/
10642
10643 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10644
10645         * Makefile.am:
10646         * PainterBase.C:
10647         * PainterBase.h:
10648         * Painter.C:
10649         * Painter.h:
10650         * WorkArea.C:
10651         * WorkArea.h:
10652         * screen.C:
10653         * tabular.C:
10654         * text.C:
10655         * text2.C: move Painter to frontends/
10656
10657 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10658
10659         * buffer.C: comment out some some code that depend upon lyx_format
10660         < 220
10661
10662         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10663         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10664
10665         * buffer.h (NO_COMPABILITY): turn off compability
10666
10667         * ColorHandler.C: include scoped_array.hpp
10668
10669         * font.C: Use more specific smart_ptr header.
10670         * Painter.C: ditto
10671         * gettext.C: ditto
10672         * ShareContainer.h: ditto
10673         * lyx_main.h: ditto
10674         * kbmap.h: ditto
10675         * FontInfo.h: ditto
10676         * BufferView_pimpl.h: ditto
10677         * ColorHandler.h: ditto
10678
10679         * kbmap.C (defkey): change call to shared_ptr::reset
10680
10681 2002-05-21  Juergen Vigna  <jug@sad.it>
10682
10683         * buffer.C (insertErtContents): fix to insert ert asis if it is
10684         non empty. Skip it completely if it contains only whitespaces.
10685
10686 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
10687
10688         * BufferView_pimpl.C:
10689         * BufferView2.C: clear selection on paste (bug 393)
10690
10691 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10692
10693         * DepTable.C: include ctime
10694
10695 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
10696
10697         * buffer.C (latexParagraphs): Add new argument (moving_arg).
10698
10699 2002-05-14  Juergen Vigna  <jug@sad.it>
10700
10701         * text.C (breakParagraph): fixed function to honor the keepempty
10702         layout in the right maner and also to permit the right breaking
10703         algorithm on empty or non empyt keepempty paragraphs.
10704
10705         * paragraph.C (breakParagraph): we have to check also if the par
10706         is really empty (!size()) for isempty otherwise we do the wrong
10707         paragraph break.
10708
10709 2002-05-10  Juergen Vigna  <jug@sad.it>
10710
10711         * buffer.[Ch] : The following are only changes to the ert
10712         compatibility read reading old LaTeX layout and font stuff and
10713         convert it to ERTInsets.
10714
10715         * buffer.h: added isErtInset().
10716
10717         * buffer.C (struct ErtComp): add a fromlayout bool to check
10718         if we're inside a LaTeX layout.
10719         (isErtInset): new helper function.
10720         (insertErtContents): look for other ert insets before this one
10721         and insert the contents there, so that we don't have subsequent
10722         ERT insets with nothing between them. This way we create only one
10723         inset with multiple paragraphs. Also check if we don't insert only
10724         spaces ' ' as they are ignored anyway afterwards in the .tex file
10725         so if we have only spaces we will ignore this latex part in the
10726         new file.
10727         (parseSingleLyXformat2Token \\layout): better compatibility when
10728         reading layout-latex stuff.
10729         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10730         language tag.
10731         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10732         stuff after reading the inset only get the information back from
10733         the stack.
10734
10735 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
10736
10737         * buffer.C (makeLaTeXFile): Put language options after loading babel.
10738
10739         * LaTeXFeatures.C (getBabelOptions): New method.
10740
10741 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10742
10743         * BufferView_pimpl.C (Dispatch): work around missing argument for
10744         'layout'
10745
10746 2002-05-08  Juergen Vigna  <jug@sad.it>
10747
10748         * text.C (leftMargin): handle paragraph leftindent.
10749
10750         * paragraph.C (writeFile): write the new \\leftindent tag.
10751         (validate): handle leftindent code.
10752         (TeXEnvironment): handle paragraphleftindent code again.
10753
10754         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10755
10756         * buffer.C (parseSingleLyXformat2Token): added compatibility code
10757         for paragrap_extra indent code and new token \\leftindent.
10758         (latexParagraphs): handle the leftindent as environment.
10759
10760         * ParameterStruct.h: added leftindent support.
10761
10762         * ParagraphParameters.C (leftIndent): added support functions for
10763         the paragraph left indent.
10764
10765         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10766         more appropriate.
10767
10768 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
10769
10770         * paragraph.C (isRightToLeftPar): Return false for a paragraph
10771         inside insetERT.
10772
10773         * text.C (computeBidiTables): No bidi in insetERT.
10774
10775         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10776         in RTL documents.
10777
10778 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10779
10780         * version.C.in: pre 5
10781
10782 2002-05-02  José Matos  <jamatos@fep.up.pt>
10783         * buffer.C (makeDocBookFile): white space changes, add newline to
10784         command styles.
10785         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10786
10787         * tabular.C (docBook): fix typo.
10788
10789 2002-05-03  Juergen Vigna  <jug@sad.it>
10790
10791         * screen.C (drawFromTo): recalculate the rowpointer if we had a
10792         change in LyXText as we can not be sure it was not freed.
10793         (drawOneRow): remove unused code.
10794
10795         * text.C (drawInset): redo the calculation of the need_break_row as
10796         it could have a row which was already freed.
10797         (draw): look at the return value of drawInset and return false if
10798         it also returned false.
10799         (paintRowText): look at the return value of draw and return false if
10800         it also returned false.
10801
10802         * lyxtext.h: added bool return type to drawInset() and draw() so that
10803         if we have a change in the row so that the rowbreak has to be redone
10804         we abort drawing as it will be called again.
10805
10806 2002-05-02  Juergen Vigna  <jug@sad.it>
10807
10808         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10809         a change in the maintext also if we're inside an inset.
10810         (Dispatch): set the cursor again after a break line and after the
10811         screen has been updated as it could be we're in a different row.
10812
10813         * text2.C (fixCursorAfterDelete): check to make sure we don't request
10814         to set the cursor behind the pargraph with > size().
10815         (setCursor): check also for the same paragraph when checking where
10816         to put the cursor if we have a NFR inset.
10817
10818         * buffer.C (parseSingleLyXformat2Token): move the compatibility
10819         parts of layout read further up as it still was in the wrong
10820         position.
10821
10822 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10823
10824         * screen.C (drawFromTo): change sine fullRebreak always return
10825         true.
10826
10827         * buffer.C (parseSingleLyXformat2Token): reindent some
10828
10829         * BufferView_pimpl.C (update): change since fullRebreak always
10830         return true.
10831         (Dispatch): git rid of the last hardcoded "Standard"s.
10832
10833 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10834
10835         * text2.[Ch] (fullRebreak): make it return void now that we always
10836         returned true.
10837
10838 2002-04-30  Juergen Vigna  <jug@sad.it>
10839
10840         * buffer.C (parseSingleLyXformat2Token): reset the font before the
10841         ert compatibility check for "latex" layout.
10842
10843 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
10844
10845         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10846         minipages: use col% instead of p%, and also use the current font.
10847         (makeLaTeXFile): Fix use babel condition.
10848         (parseSingleLyXformat2Token): Correct font when reading old floats.
10849
10850 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
10851
10852         * BufferView_pimpl.C (Dispatch): Check that float type exists when
10853         inserting list of floats.
10854
10855 2002-04-25  Herbert Voss  <voss@lyx.org>
10856
10857         * MenuBackend.C (expand): don't add the graphics extensions to the
10858         export menu
10859
10860 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10861
10862         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10863         non-existing layout, do not complain if it was the default layout
10864         of the original class (bug #342)
10865
10866 2002-04-24  Juergen Vigna  <jug@sad.it>
10867
10868         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10869         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10870
10871 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
10872
10873         * buffer.C (getBibkeyList): If using \bibliography, return the
10874         option field with the reference itself. Enables us to provide natbib
10875         support when using \bibliography.
10876
10877 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
10878
10879         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10880
10881         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10882         natbib is provided by the LaTeX class.
10883
10884 2002-04-23  Juergen Vigna  <jug@sad.it>
10885
10886         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10887         Wakeup functions.
10888
10889         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10890
10891 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10892
10893         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10894
10895         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10896         ensuremath around textordmasculine, textordfeminine and
10897         textdegree.
10898
10899 2002-04-19  Juergen Vigna  <jug@sad.it>
10900
10901         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10902         reinitializing the buffer otherwise row-dimensions may be wrong.
10903         (update): reset also the selection cursors if they do exits otherwise
10904         their x/y positions may be wrong.
10905
10906         * text2.C (cursorDown): don't enter the inset if we came from a row
10907         above and are one row over the inset.
10908
10909         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10910         really leaving an inset.
10911
10912 2002-04-18  Juergen Vigna  <jug@sad.it>
10913
10914         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10915         of the selected paragraph does not have the selected layout also if
10916         the last one had!
10917
10918         * text2.C (setLayout): fixed bug which did not change last selected
10919         paragraph.
10920
10921         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10922         changed the read and substituted \\end_float with \\end_inset!
10923
10924         * BufferView_pimpl.C (cursorPrevious):
10925         (cursorNext): fixed to make it work with rows heigher than the work
10926         area without moving the cursor only the draw of the row.
10927         (workAreaMotionNotify): fix jumping over high rows.
10928
10929 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10930
10931         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10932         Ressler.
10933
10934 2002-04-16  Juergen Vigna  <jug@sad.it>
10935
10936         * text2.C (setCursor): set also the irow().
10937         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10938         (cursorUp):
10939         (cursorDown): support for locking an inset if the x_fix value goes
10940         inside it. That way I can transverse insets too with cursor up/down.
10941
10942         * lyxrow.h: added irow helper function same as other (i) functions.
10943
10944         * BufferView_pimpl.C (cursorPrevious):
10945         (cursorNext): fixed for insets!
10946
10947 2002-04-15  Juergen Vigna  <jug@sad.it>
10948
10949         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10950         position otherwise it is wrong in some cases.
10951
10952         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10953         inside the inset before the call.
10954
10955 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
10956
10957         * buffer.[Ch] (getBibkeyList): make it const.
10958
10959 2002-04-12  Juergen Vigna  <jug@sad.it>
10960
10961         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10962
10963         * text2.C (getCursorX): new helper function
10964         (setCursor): compute also ix_
10965         (setCursorFromCoordinates): set also ix.
10966
10967         * lyxcursor.h: added ix_ and helper functions.
10968
10969         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10970
10971         * buffer.C (insertStringAsLines): dont break paragraph if the this
10972         paragraph is inside an inset which does not permit it!
10973
10974         * text.C (breakParagraph): honor keepempty flag and break the paragraph
10975         also with no chars on this paragraph.
10976         (paintRowText): only paint stuff if it's inside the workarea!
10977
10978         * paragraph.C (breakParagraph): honor keepempty flag and break the
10979         paragraph always below not above.
10980
10981         * BufferView2.C (unlockInset): update the paragraph layout on inset
10982         unlock as we changed paragraph in such a case.
10983
10984         * lyxfind.C (LyXFind): clear the former selection if not found!
10985
10986         * text2.C (insertInset): freeze Undo after setUndo so that it is not
10987         again called in insertChar().
10988
10989         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10990         an inset which uses the whole row!
10991         (rightMargin): ditto.
10992         (insertChar): force a rebreak if we inserted an inset!
10993
10994 2002-03-28  Herbert Voss  <voss@lyx.org>
10995
10996         * lyxlength.[Ch]: add inBP() to get the right PS-point
10997         units (BigPoint). With inPixels we have rounding errors
10998
10999 2002-04-11  Juergen Vigna  <jug@sad.it>
11000
11001         * text2.C (setCursorFromCoordinates): set iy to the right value.
11002         (setCursor): add check if row->previous exists!
11003
11004         * buffer.C (parseSingleLyXformat2Token): reset font after read of
11005         an old float_type as this was the case in the old code!
11006
11007         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11008
11009         * BufferView2.C (showLockedInsetCursor): use iy
11010         (fitLockedInsetCursor): ditto
11011
11012         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11013         locked insets as there we have the right value now.
11014
11015         * lyxcursor.C: added iy_ variable and iy functions to set to the
11016         baseline of cursor-y of the locked inset.
11017
11018         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11019         (setCursor): fixed for insets which need a full row.
11020
11021         * text.C (rowLastPrintable): don't ignore the last space when before
11022         an inset which needs a full row.
11023         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11024         as last character of a row when before a inset which needs a full row.
11025
11026 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11027
11028         * version.C.in: update date
11029
11030         * text2.C (fullRebreak): try to always return true and see what
11031         happens...
11032
11033 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11034
11035         * MenuBackend.C (expand): use Floating::listName
11036
11037         * FloatList.C (FloatList): add listName argument to the built-in
11038         floats
11039
11040         * Floating.[Ch]: add listName member, which is the 'List of XXX'
11041         text associated with the float.
11042
11043 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11044
11045         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11046
11047 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11048
11049         * ShareContainer.h: add a couple of missing typenames.
11050
11051 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
11052
11053         * lyxrc.C (getDescription): use _() correctly rather than N_().
11054
11055 2002-03-28  Herbert Voss  <voss@lyx.org>
11056
11057         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11058         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11059
11060 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11061
11062         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11063         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11064
11065 2002-03-29  Juergen Vigna  <jug@sad.it>
11066
11067         * lyxfunc.C (dispatch): add a missing fitCursor call.
11068
11069         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11070         it was scrolled by a cursor move, so return the bool status.
11071
11072         * BufferView.C (fitCursor): return the bool flag also to the outside
11073         world as this is needed.
11074
11075         * screen.C (toggleToggle): don't subtract the offset if it's positive.
11076
11077         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11078         call the edit() as it is not needed (and wrong) IMO.
11079         (workAreaButtonPress): set the screen_first variable before evt.
11080         unlock the inset as this may change screen_first and then we have
11081         a wrong y position for the click!
11082
11083 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11084
11085         * MenuBackend.C (expand): another translation that I missed
11086
11087 2002-03-28  Juergen Vigna  <jug@sad.it>
11088
11089         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11090
11091         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11092
11093 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11094
11095         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11096
11097         * MenuBackend.C (expand): fix export/view/update when there is no
11098         document open.
11099
11100 2002-03-27  Herbert Voss  <voss@lyx.org>
11101
11102         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11103         and text%
11104
11105 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11106
11107         * bufferview_funcs.C (currentState): only show paragraph number
11108         for is DEVEL_VERSION is set.
11109
11110         * lyxfunc.C (dispatch): put warning in INFO channel
11111
11112         * MenuBackend.C (expand): translate the name of floats
11113
11114         * FloatList.C (FloatList): mark the float names for translation
11115
11116         * converter.C (convert): use LibScriptSearch
11117
11118 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11119
11120         * MenuBackend.C (defaults): fix default menu (we might as well get
11121         rid of it...)
11122
11123 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11124
11125         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11126         directory.
11127
11128 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11129
11130         * lyxvc.C: reorder includes.
11131
11132 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
11133
11134         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11135           properly
11136
11137 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
11138
11139         * CutAndPaste.C: change layouts earlier on paste
11140           to avoid crashing when calling getFont()
11141
11142 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
11143
11144         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11145         irritating #error.
11146
11147 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11148
11149         * WorkArea.C: remove 'Pending' debug message.
11150
11151         * most files: ws cleanup
11152
11153         * buffer.[Ch]: ws changes
11154
11155         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11156
11157 2002-03-21  Juergen Vigna  <jug@sad.it>
11158
11159         * tabular.C (SetMultiColumn): collapse also the contents of the
11160         cells and set the last border right. Added a Buffer const * param.
11161
11162 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11163
11164         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11165         linking or not.
11166
11167 2002-03-19  Juergen Vigna  <jug@sad.it>
11168
11169         * text2.C (clearSelection): reset also xsel_cache.
11170
11171         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11172         where it needs to be called (John tells us to do so too :)
11173         (selectionLost): reset sel_cache.
11174
11175         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11176
11177 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11178
11179         * text2.C (setCursorIntern): put debuging code in INSETS channel
11180
11181 2002-03-19  André Pönitz <poenitz@gmx.net>
11182
11183         * lyxfunc.C: tiny whitespace change
11184
11185 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11186
11187         * ToolbarDefaults.C (init):
11188         * LyXAction.C (init):
11189         * commandtags.h:
11190         * BufferView_pimpl.C (Dispatch):
11191         * lyxfunc.C (dispatch): remove LFUN_DEPTH
11192
11193 2002-03-19  Allan Rae  <rae@lyx.org>
11194
11195         * exporter.C (Export): removeAutoInsets before doing anything else.
11196         While I've just introduced a dependency on BufferView this really is
11197         the best place to clean the buffer otherwise you need to cleanup in
11198         a dozen places before calling export or cleanup in a dozen functions
11199         that export calls.
11200
11201         * converter.C (runLaTeX):
11202         (scanLog): Better handling of removeAutoInsets and screen updates.
11203
11204         * lyxfunc.C (dispatch): small whitespace changes
11205
11206 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11207
11208         * WorkArea.C (C_WorkAreaEvent): return a value.
11209         (event_cb): return 1 if we handled the event, 0 otherwise.
11210
11211         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11212
11213 2002-03-18  Juergen Vigna  <jug@sad.it>
11214
11215         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11216         (GetAdditionalWidth): ditto.
11217         (RightLine): ditto.
11218         (LeftLine): ditto.
11219
11220         * BufferView2.C (copy): use getLyXText() so that we do it inside an
11221         inset if we're there actually (probably not used right now but this
11222         is the direction to go for unifying code).
11223         (paste): disable code to clear the selection.
11224
11225         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11226         inside an InsetText and move the check further up as it is in the
11227         wrong place.
11228
11229         * text2.C (pasteSelection): set a selection over the pasted text.
11230
11231 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
11232
11233         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11234         and libgraphics to build on Cygwin.
11235
11236 2002-03-15  Juergen Vigna  <jug@sad.it>
11237
11238         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11239         inserting an Inset into the paragraph. I know this is not the best
11240         fix but we already use current_view in CutAndPaste so we will remove
11241         all of it's using at the same time.
11242
11243         * buffer.C (sgmlError): deactivated function till it is rewritten in
11244         the right mode, now it can create problems.
11245
11246         * paragraph.C (isLineSeparator): check if getInset returns != 0,
11247         before accessing it.
11248
11249 2002-03-14  Juergen Vigna  <jug@sad.it>
11250
11251         * undo_funcs.C (textHandleUndo): do the right thing when updating
11252         the inset after the undo/redo.
11253
11254         * text2.C (setCursor): just some testcode for #44 not ready yet.
11255
11256         * undo_funcs.C (textHandleUndo): set the next() and previous()
11257         pointers of the paragraph to 0 before deleting otherwise we have
11258         problems with the Paragraph::[destructor].
11259
11260         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11261         on a paragraph insertion.
11262
11263 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11264
11265         * buffer.C (asciiParagraph): use += operator for char append to
11266         string.
11267
11268         * paragraph.C (getFontSettings): compare >= not just >
11269         (highestFontInRange): ditto
11270         (setFont): ditto
11271
11272 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11273
11274         * paragraph.C: change several algorithm to be more appripriate for
11275         the problem domain. This is lookip in FontList and in the InsetList.
11276
11277 2002-03-13  André Pönitz <poenitz@gmx.net>
11278
11279         * commandtags.h:
11280         * LyXAction.C: remove unused LFUN_MATH_MACROARG
11281
11282 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
11283
11284         * commandtags.h:
11285         * LyXAction.C:
11286         * lyxfunc.C:
11287         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11288
11289 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11290
11291         * Painter.C (display): anon helper function, adjust code for this
11292         change.
11293         (pixmap): remove function.
11294
11295         * Painter.h: remove private display variable.
11296
11297         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11298
11299 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
11300
11301         * WorkArea.[Ch]: remove figinset_canvas cruft.
11302
11303 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11304
11305         * lyxtextclass.C (operator): add one item cache optimization.
11306
11307         * bufferlist.h: doxy changes
11308
11309         * bufferlist.C: ws changes
11310
11311         * DepTable.[Ch] (ext_exist): place const in the right spot.
11312
11313         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11314         call resizeInsets.
11315         (workAreaExpose): call resizeInsets when the with BufferView changes.
11316         (Dispatch): adjust for protectedBlank removal
11317         (specialChar): call updateInset if the insert went ok.
11318
11319         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11320         specialChar instead.
11321
11322         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11323
11324         * BufferView.h: doxy change
11325
11326         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11327
11328         * lyxtextclass.C (operator[]): remove non-const version
11329         (defaultLayout): remove non-const version
11330
11331 2002-03-12  Juergen Vigna  <jug@sad.it>
11332
11333         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11334         did resize the LyXText too.
11335
11336         * buffer.C (readLyXformat2): set layout information on newly allocated
11337         paragraphs.
11338
11339         * tabular.C (OldFormatRead): set layout information on the paragraph.
11340
11341 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11342
11343         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11344
11345 2002-03-11  Juergen Vigna  <jug@sad.it>
11346
11347         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11348         plainly wrong.
11349         (resizeCurrentBuffer): force also the insets to resize themselfes.
11350         (moveCursorUpdate): fixed up for InsetText.
11351
11352 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
11353
11354         * commandtags.h:
11355         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11356         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11357         value of Dialogs::tooltipsEnabled().
11358         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11359
11360 2002-03-08  Juergen Vigna  <jug@sad.it>
11361
11362         * BufferView_pimpl.C (updateInset): update inset inside inset also
11363         if it isn't inside theLockingInset().
11364
11365 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11366
11367         * buffer.C (asciiParagraph): redo some of the word and line length
11368         handling.
11369         (getLists): look for Caption instead of caption.
11370
11371 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11372
11373         * buffer.C (Buffer): initialize niceFile to true
11374         (makeLaTeXFile):
11375         (makeLinuxDocFile):
11376         (makeDocBookFile): make sure niceFile is true on exit
11377
11378 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11379
11380         * buffer.C (makeLaTeXFile): escape ~ in \input@path
11381
11382 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
11383
11384         * LyXSendto.C: remove.
11385         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11386         * lyx_gui.C: remove now-redundant comment.
11387         * ColorHandler.h: remove forward declaration of class WorkArea.
11388         * lyxfunc.C: remove #include "WorkArea.h".
11389
11390 2002-03-07  Juergen Vigna  <jug@sad.it>
11391
11392         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11393         got moved away with the DEPM and also set the inset_owner always
11394         right which before could have been omitted.
11395
11396 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11397
11398         * buffer.C (parseSingleLyXformat2Token): use default layout is the
11399         wanted layout is not found.
11400
11401 2002-03-07  Juergen Vigna  <jug@sad.it>
11402
11403         * CutAndPaste.C (cutSelection): another layout settings forgotten.
11404
11405 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11406
11407         * paragraph.C (breakParagraph): use default layout not layout of
11408         prev paragraph.
11409         (Paragraph): clear ParagraphParameters.
11410
11411 2002-03-06  Juergen Vigna  <jug@sad.it>
11412
11413         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11414         otherwise it would not be a valid lenght. Fixed a special case in
11415         the minipage compatibility read where we end the document with a
11416         minipage.
11417
11418         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11419         was set as it could be 0 for InsetTexts first entry.
11420
11421 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11422
11423         * paragraph.C (writeFile): if layout is empty write out
11424         defaultLayoutName().
11425
11426         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11427         file without named layout we set layout to defaultLayoutName().
11428
11429 2002-03-06  Juergen Vigna  <jug@sad.it>
11430
11431         * CutAndPaste.C (copySelection): set layout for new paragraph.
11432
11433         * text.C (prepareToPrint): leave ERT inset left aligned
11434         (leftMargin): don't indent paragraphs inside ERT insets
11435
11436 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11437
11438         * paragraph.C (breakParagraph): dont call clear do the work manually
11439
11440         * paragraph.[Ch] (clear): remove function
11441
11442 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11443
11444         * paragraph.C (Paragraph): dont call clear, the work has already
11445         been done.
11446
11447         * lyxtextclass.C (operator): assert if n is empty
11448
11449         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11450         work manually instead.
11451
11452 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11453
11454         * BufferView_pimpl.C: protect selectionLost against text == 0
11455
11456 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11457
11458         * text.C (breakParagraph): fix a setting layout to '0' problem.
11459
11460 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11461
11462         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11463         final location of file, for the included files, and graphics.
11464
11465 2002-03-05  Juergen Vigna  <jug@sad.it>
11466
11467         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11468
11469 2002-03-04  Juergen Vigna  <jug@sad.it>
11470
11471         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11472
11473         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11474         last column of multicolumn cells.
11475         (SetWidthOfMulticolCell): recalculate NMC and real columns.
11476
11477 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11478
11479         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11480         file if it doesn't go to a temporary file.
11481
11482         * buffer.C (sgmlOpenTag):
11483         (sgmlCloseTag):  remove extra newline insertion.
11484
11485 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11486
11487         * text.C (getRowNearY): comment out debug msg
11488
11489 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11490
11491         * text2.C: first -> first_y
11492
11493         * text.C (getRowNearY): add some attemts at a possible
11494         optimization, not working.
11495
11496         * tabular.[Ch]: add BufferParams to several function so that newly
11497         created paragraph can be initialized to he default layotu for the
11498         buffers textclass.
11499
11500         * tabular-old.C (ReadOld): add buf->params to call of Init
11501
11502         * screen.C: rename text->first to text->first_y
11503
11504         * paragraph.C (breakParagraph): always set layout in the broken
11505         paragraph
11506
11507         * lyxtextclass.C (Read): remove lowercase
11508         (hasLayout): ditto
11509         (operator): ditto
11510         (delete_layout): ditto
11511
11512         * lyxtext.h: rename first -> first_y
11513
11514         * lyxlayout.C (Read): remove lowercase
11515         (name): ditto
11516         (setName): ditto
11517         (obsoleted_by): ditto
11518
11519         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11520
11521         * buffer.C (insertErtContents): add params are to InsetERT
11522         (parseSingleLyXformat2Token): add code to check if a paragraphs
11523         layout really exist.
11524         (parseSingleLyXformat2Token): add params to several inset
11525         constructors
11526         (asciiParagraph): remove lowercase, do the layout comparisons with
11527         no_case
11528
11529         * BufferView_pimpl.C (cursorNext): first -> first_y
11530         (resizeCurrentBuffer): first -> first_y
11531         (updateScrollbar): first -> first_y
11532         (scrollCB): first -> first_y
11533         (workAreaMotionNotify): first -> first_y
11534         (workAreaButtonPress): first -> first_y
11535         (checkInsetHit): first -> first_y
11536         (cursorPrevious): first -> first_y
11537         (cursorNext): first -> first_y
11538         (Dispatch): add buffer_->params to severl inset contructors
11539
11540 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11541
11542         * lyxlayout.C (Read): remove some debug info that I forgot.
11543
11544         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11545         clean up the code slightly.
11546         (makeLinuxDocFile): ditto
11547         (makeDocBookFile): ditto
11548
11549         * text2.C: layout as string
11550
11551         * text.C: layout as string
11552
11553         * paragraph_pimpl.C: layout as string
11554
11555         * paragraph.[Ch]: layout as string
11556
11557         * lyxtextclasslist.[Ch]: layout as string
11558
11559         * lyxtextclass.[Ch]: layout as string
11560
11561         * lyxtext.h: layout as string
11562
11563         * lyxlayout.[Ch]: layout as string
11564
11565         * lyx_cb.C: layout as string
11566
11567         * bufferview_funcs.C: layout as string
11568
11569         * bufferparams.C: layout as string
11570
11571         * buffer.C: layout as string
11572
11573         * LyXView.[Ch]: layout as string
11574
11575         * LaTeXFeatures.[Ch]: layout as string
11576
11577         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11578
11579         * BufferView_pimpl.C: change current_layout to string, remove
11580         lyx::layout_type.
11581         (Dispatch):
11582         (smartQuote):
11583         (insertInset):
11584         (workAreaButtonRelease): layout as string
11585
11586         * BufferView2.C (unlockInset): adjust
11587
11588         * vspace.C (asLatexCommand): use an explict temp variable.
11589
11590 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11591
11592         * Makefile.am: use FRONTEND_*
11593
11594 2002-03-01  Juergen Vigna  <jug@sad.it>
11595
11596         * tabular.C (SetWidthOfMulticolCell): changed to something better
11597         I hope but still work in progress.
11598         (recalculateMulticolumnsOfColumn): renamed function from
11599         recalculateMulticolCells as it is more appropriate now.
11600         (SetWidthOfCell): calculate multicols better.
11601
11602 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11603
11604         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11605
11606         * lyxfunc.C (processKeySym): print sequence also if it is
11607         `deleted' (complete)
11608
11609         * kbsequence.C (print): print sequence even if it is deleted
11610         (complete would be a better word, actually).
11611
11612         * lyxfunc.C (dispatch): print complete options after a prefix key
11613
11614         * vspace.C (asLatexCommand): rewrite in a slightly different form.
11615
11616 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
11617
11618         * text2.C (setCharFont): eliminate setCharFont code duplication.
11619
11620 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11621
11622         * BufferView_pimpl.C (Dispatch): remove bogus handling of
11623         LFUN_TABULAR_FEATURE (bug #177)
11624
11625 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
11626
11627         * Makefile.am: remove figure.h
11628
11629 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
11630
11631         * Bufferview_pimpl.C:
11632         * CutAndPasteC:
11633         * LaTeX.C:
11634         * LyXSendto.C:
11635         * buffer.C:
11636         * bufferlist.C:
11637         * converter.C:
11638         * language.C:
11639         * lyxfunc.C:
11640         * lyxvc.C:
11641         * paragraph.C:
11642         * text.C:
11643         * text2.C: remove #include "lyx_gui_misc.h".
11644
11645         * LaTeX.C: added #include <cstdio>
11646
11647 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11648
11649         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11650         that the paragraph following this one can have.
11651
11652         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11653
11654         * vspace.C (asLatexCommand): fix bogus gcc warning
11655
11656         * Makefile.am (lyx_SOURCES): remove vms_defines.h
11657
11658 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
11659
11660         * text2.C (setLayout): get rid of redundant code
11661
11662 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
11663
11664         * text2.C (incDepth): make sure depth cannot be increased beyond
11665         reasonable values.
11666
11667 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
11668
11669         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11670         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11671
11672         * PainterBase.h (image):
11673         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11674         a LyXImage const *.
11675
11676 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11677
11678         * BufferView.C:
11679         * BufferView.h:
11680         * BufferView_pimpl.C:
11681         * BufferView_pimpl.h:
11682         * LaTeXFeatures.C:
11683         * LyXAction.C:
11684         * LyXView.C:
11685         * Makefile.am:
11686         * UpdateList.h:
11687         * UpdateList.C:
11688         * buffer.C:
11689         * figure.h:
11690         * figureForm.C:
11691         * figureForm.h:
11692         * figure_form.C:
11693         * figure_form.h:
11694         * lyx_cb.C:
11695         * lyx_gui.C:
11696         * lyx_gui_misc.C:
11697         * lyxfunc.C:
11698         * sp_base.h:
11699         * sp_ispell.h:
11700         * sp_pspell.h:
11701         * sp_spell.C: remove fig inset, and the crap house of
11702           cards that follows it
11703
11704 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11705
11706         * Makefile.am:
11707         * lyxserver.C:
11708         * os2_defines.h:
11709         * os2_errortable.h:
11710         * nt_defines.h: move .h into support/
11711
11712         * vms_defines.h: remove
11713
11714         * WorkArea.C: add space in debug output
11715
11716         * text2.C:
11717         * paragraph.C:
11718         * buffer.C: add WITH_WARNINGS
11719
11720         * vc-backend.h:
11721         * vc-backend.C:
11722         * bufferlist.C: s/retrive/retrieve/, add docs
11723
11724         * vspace.h:
11725         * vspace.C:
11726         * kbmap.h:
11727         * lyxlength.h:
11728         * lyxgluelength.h:
11729         * length_common.h:
11730         * chset.h:
11731         * chset.C: add docs
11732
11733         * lyxgui.C: add ID to X error handler
11734
11735         * lyxtestclass.c: fix typo
11736
11737 2002-02-26  Juergen Vigna  <jug@sad.it>
11738
11739         * tabular_funcs.C (write_attribute): changed so that some default
11740         attributes are not written at all.
11741         (getTokenValue): set default values before trying to read the
11742         value so we have the return value always set as default if we don't
11743         find the token we search for.
11744
11745         * tabular.C (Write): write bools as bools not as strings!
11746
11747 2002-02-22  Juergen Vigna  <jug@sad.it>
11748
11749         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11750         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11751
11752         * text.C (leftMargin): don't add an indent for paragraphs inside
11753         tabular cells (fix #208).
11754
11755 2002-02-21  José Matos  <jamatos@fep.up.pt>
11756
11757         * tabular.C (docBook): fixed support for long tables.
11758
11759 2002-02-20  Juergen Vigna  <jug@sad.it>
11760
11761         * text2.C (getFont): get the drawing font of the Inset if this
11762         paragraph is inside an inset (only important for InsetERT for now).
11763
11764         * buffer.C (insertErtContents): use new lanugage params in ERT
11765         constructor.
11766
11767         * CutAndPaste.C: commenting out seemingly uneeded code.
11768
11769 2002-02-19  Allan Rae  <rae@lyx.org>
11770
11771         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11772         Iterators might be simple to use but they also get invalidated.
11773         (removeAutoInsets): renamed saved cursor tracking variables and added
11774         some comments to clarify what everything does.
11775
11776 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
11777
11778         * Chktex.C:
11779         * LaTeX.C:
11780         * LyXSendto.C:
11781         * converter.C:
11782         * lyx_cb.C:
11783         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11784         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11785
11786         * lyxfunc.C:
11787         * vc-backend.h: remove #include "support/syscall.h"
11788
11789         * LaTeX.C:
11790         * LyXSendto.C:
11791         * converter.C: rearrange #includes in Lars' approved fashion.
11792
11793         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11794         forward declare class Timeout in the header file.
11795
11796         * XFormsView.C: changes due to the above.
11797
11798         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11799         similar to LyXView.
11800
11801         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11802         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11803
11804 2002-02-18  José Matos  <jamatos@fep.up.pt>
11805
11806         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11807         insets contents.
11808
11809 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
11810
11811         * a lot of small ws changes
11812         * add a lot of using std::XXX
11813         * use std construcs some places where approp.
11814         * use some exisint stuff from lyxfunctional where approp.
11815         * Make file changes to use partial linking (lets test this now...)
11816
11817 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11818
11819         * Chktex.C:
11820         * buffer.C:
11821         remove #include "support/syscontr.h" as it's redundant. Always has been.
11822
11823         * Chktex.C:
11824         * LaTeX.C:
11825         * LyXSendto.C:
11826         * converter.C:
11827         * lyx_cb.C:
11828         * vc-backend.C:
11829         change Systemcalls::System to Systemcalls::Wait and
11830         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11831         No change of functionality, just reflects the stripped down Systemcalls
11832         class.
11833
11834 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11835
11836         * debug.[Ch]: add a GRAPHICS type to the enum.
11837
11838 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11839
11840         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11841
11842         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11843         there is an inset.
11844
11845 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11846
11847         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11848         match the changes below.
11849
11850         * text2.C (toggleInset): if there is not editable inset at cursor
11851         position, try to see if cursor is _inside_ a collapsable inset
11852         and close it.
11853
11854 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11855
11856         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11857         document menu has a nice checkbox
11858
11859 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11860
11861         * lyxlength.C (asLatexString): change PW to output as percent of
11862         \textwidth.
11863
11864         * lengthcommon.C: change '%' to 't%'
11865
11866         * lyxfunc.C (dispatch): a few comments from Martin
11867
11868 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
11869
11870         * WorkArea.h:
11871         * WorkArea.C:
11872         * BufferView_pimpl.h:
11873         * BufferView_pimpl.C: clear our selection when X tells us we've lost
11874           the X selection.
11875
11876 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11877
11878         * vspace.C (inPixels): fix compiler warning
11879
11880 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11881
11882         * lyxfunc.C (getStatus): fix status message for disabled commands.
11883
11884 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
11885
11886         * BufferView_pimpl.C: fix crash on close buffer
11887         during selection (#227)
11888
11889 2002-01-27  Herbert Voss  <voss@lyx.org>
11890
11891         * buffer.C: link old Figure to new graphic inset
11892
11893 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
11894
11895         * FontLoader.C (getFontinfo): Change the latex font names in order
11896         to match the names of type1inst.
11897
11898 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11899
11900         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11901
11902         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11903         (extchanged): ditto
11904         (ext_exist): ditto
11905         (remove_files_with_extension): ditto
11906         (remove_file): ditto
11907         (write): ditto
11908
11909         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11910         document is smaller than the work area height. Do not initialize
11911         static variables to 0.
11912
11913 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11914
11915         * lyx_gui.C (init): give the toolbar tooltips a normal font.
11916
11917         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11918         LFUN_LAYOUT_PARAGRAPHS.
11919
11920         * tabular.C (GetCellFromInset): new method. Finds an inset in a
11921         tabular. It is possible to provide a possible cell, which will
11922         typically be the actcell from the corresponding insettabular
11923
11924         * lyxfunc.C (getStatus): small cleanup; disable
11925         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11926         true
11927
11928 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11929
11930         * tabular.C (Validate): remove broken optimization (fixes bug #201)
11931
11932         * paragraph.C (startTeXParParams):
11933         (endTeXParParams): new methods. The LaTeX code to
11934         start/end paragraph formatting
11935         (simpleTeXOnePar): call startTeXParParams also when paragraph is
11936         empty (fixes bug #200)
11937
11938         * vspace.C (inPixels): adapt to the change below
11939         (inPixels): [later] more cleanups (remove unused variables)
11940
11941         * lyxlength.C (inPixels): change to use a width and a height as
11942         parameter.
11943
11944 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11945
11946         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11947         Replaced with \paperwidth
11948
11949         * DepTable.C (insert): add std:: qualifier
11950
11951 2002-01-18  Allan Rae  <rae@lyx.org>
11952
11953         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
11954         updated also?
11955
11956         * text.C (drawInset): Turned out I didn't know enough about how
11957         rebreaking worked.  This fixes most of the redraw problems.  I see
11958         an occasional cursor trail when a line is broken now and the cursor
11959         placement can seem out by a few pixels also after a rebreak.
11960
11961 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11962
11963         * buffer.C (parseSingleLyXformat2Token): update because minipage
11964         width is now a LyXLength
11965
11966         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11967
11968         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11969         math insets
11970
11971 2002-01-17  Juergen Vigna  <jug@sad.it>
11972
11973         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11974
11975         * BufferView2.C (lockInset): call edit() so that theLockingInset()
11976         is set correctly and the inset is updated correctly.
11977
11978 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11979
11980         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11981         the beginning of the loop.
11982
11983 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
11984
11985         * lyxrc.C: improve help for use_scalable_fonts
11986
11987 2002-01-17  Allan Rae  <rae@lyx.org>
11988
11989         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11990
11991 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11992
11993         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11994         make sure to set their inset_owner to the right value (bug #171)
11995
11996 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
11997
11998         * DepTable.h
11999         * DepTable.C: Implement mtime checking to reduce time spent doing
12000         CRCs.
12001
12002 2002-01-16  Juergen Vigna  <jug@sad.it>
12003
12004         * tabular.C (GetAdditionalHeight): one of error fixed.
12005
12006         * lyxrc.C (output): small fix in writing use_pspell.
12007
12008 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
12009
12010         * sp_base.h: #include LString.h
12011
12012 2002-01-16  Allan Rae  <rae@lyx.org>
12013
12014         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
12015         Can someone check this please?
12016
12017         * text.C (drawInset): It was possible that p.row would be removed by
12018         breakAgainOneRow upsetting a few other settings.  There may be another
12019         small tweak possible by setting need_break_row = 0 when p.row has been
12020         removed but I don't know enough about the logic here.
12021
12022 2002-01-15  Allan Rae  <rae@lyx.org>
12023
12024         * text.C (insertChar): removed conditional truism.
12025
12026         * BufferView2.C (removeAutoInsets): More tweaks.
12027         cur_par_prev could be a stray pointer.  Check for trailing empty line
12028         in case last line was cur_par and only had an error inset on it.
12029
12030 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12031
12032         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12033         absolute
12034
12035         * vc-backend.C (most methods):
12036         * exporter.C (Export):
12037         * converter.C (convert):
12038         (runLaTeX):
12039         * LyXSendto.C (SendtoApplyCB):
12040         * lyxfunc.C (dispatch):
12041         (menuNew):
12042         (open):
12043         (doImport):
12044         * lyx_cb.C (AutoSave):
12045         (InsertAsciiFile):
12046         * BufferView_pimpl.C (MenuInsertLyXFile):
12047         * buffer.C (runChktex): use Buffer::filePath().
12048
12049         * buffer.h: rename filename to filename_; rename filepath to
12050         filepath_ and make it private
12051         (filePath): new method
12052
12053         * buffer.C (writeFile): use fileName()
12054         (getLatexName):
12055
12056         * lyx_main.C (init): fix starting  of LyX when the binary is a
12057         link from so,ewhere else.
12058
12059         * minibuffer.C: include <cctype> for isprint
12060
12061 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12062
12063         * buffer.C (parseSingleLyXformat2Token): changes associated with the
12064         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12065         name clash with InsetCollapsable's width function.
12066
12067 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12068
12069         * lastfiles.C: include <iterator>
12070
12071 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12072
12073         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12074         std::count.
12075
12076         * buffer.C (makeLaTeXFile): ditto.
12077         Also make loop operation more transparent.
12078
12079 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12080
12081         * ToolbarDefaults.C: remove trailing comma closing namespace.
12082
12083         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12084
12085         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12086         as in WorkArea.
12087
12088         * trans.C (Load): comment out unused variable, allowed.
12089
12090 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12091
12092         * minibuffer.[Ch] (append_char): new method to recieve input from the
12093         drop-down completion browser. If a key was pressed, then recieve this
12094         char and append it to the existing string.
12095         (peek_event): modify the positioning data passed to the completion
12096         browser so that it can be placed above the minibuffer rather than below.
12097 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12098
12099         * LyXAction.C (init): alloe error-next for readonly documents.
12100
12101         * BufferView2.C (ChangeRefsIfUnique): use standard version of
12102         count.
12103
12104 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12105
12106         * bufferlist.C (readFile): create the buffer _after_ checking that
12107         the file exists.
12108
12109         * lyxfunc.C (verboseDispatch): fix handling of arguments
12110
12111         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12112
12113         * lyxrc.C: use string::erase() instead of initializing to "".
12114
12115
12116 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12117
12118         * BufferView_pimpl.h:
12119         * BufferView_pimpl.C:
12120         * WorkArea.h:
12121         * WorkArea.C:
12122         * text2.C: tell X when we have made a selection for copying
12123
12124 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12125
12126         * BufferView_pimpl.C (MenuInsertLyXFile):
12127         * lyxfunc.C (menuNew):
12128         (open):
12129         (doImport): add shortcuts to directory buttons
12130
12131         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12132         open a float)
12133
12134         * lyxfunc.C (setStatusMessage):
12135         (getStatusMessage): new methods
12136         (getStatus):use setStatusMessage instead of setErrorMessage
12137         (dispatch): when function is disabled, set error message here
12138         [instead of in getStatus previously]
12139
12140         * BufferView_pimpl.C (workAreaButtonRelease): update
12141         toolbar/menubar here too.
12142
12143 2002-01-13  Allan Rae  <rae@lyx.org>
12144
12145         * BufferView2.C (removeAutoInsets): finished off earlier fix.
12146         Now seems indestructible.  Remaining task is to audit all other
12147         code affected by deleteEmptyParagraphMechanism.  One small quirk
12148         left is that an empty document with an error in the preamble can
12149         be made to report an error but no error box appears.  I don't know
12150         where it goes.
12151         (removeAutoInsets): Improved comments.
12152
12153 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
12154
12155         * Thesaurus.h:
12156         * Thesaurus.C: update for Aiksaurus 0.14
12157
12158 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12159
12160         * text2.C (firstParagraph): removed member function, all uses
12161         replaces with ownerParagraph
12162         (redoParagraphs): here
12163         (updateInset): here
12164         (toggleAppendix): here
12165         * BufferView2.C (insertErrors): here
12166         (setCursorFromRow): here
12167
12168 2002-01-13  Allan Rae  <rae@lyx.org>
12169
12170         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12171         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12172         There is still a way to segfault this although you may have to do this
12173         multiple times: Have an InsetERT with an unknown command in it.
12174         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12175         <down-arrow>, <Enter> again, View->DVI, BANG!
12176
12177         * text2.C (setCursor):
12178         (deleteEmptyParagraphMechanism):
12179         * lyxtext.h (setCursor):
12180         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12181         Making use of the return value may help fix other bugs.
12182
12183 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12184
12185         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12186
12187         * LyXView.C (updateMenubar): call MenuBar::update here
12188         (updateToolbar): but not here
12189         (showState): do not update toolbar/menubar
12190
12191         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12192         should need to care about that.
12193
12194         * lyxfunc.C (verboseDispatch): simplify a bit
12195         (getStatus): have a version which takes a pseudoaction, and
12196         another which requires a (kb_action,string).
12197
12198         * LyXAction.C (retrieveActionArg): make it work also when action
12199         is not a pseudo-action.
12200         (getActionName): simplify a bit
12201         (helpText):
12202
12203 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12204
12205         * lyxfunc.C (verboseDispatch): new families of methods with
12206         several ways to specify a command and a bool to indicate whether
12207         the command name and shortcut should be displayed in minibuffer
12208         (eventually, we could extend that to a finer bitmask like
12209         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12210         (dispatch): the pristine dispatch command which just, well,
12211         dispatchs! Note it still sets its result to minibuffer; I'm not
12212         sure we want that.
12213
12214         * lyxfunc.h: remove setHintMessage
12215
12216         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12217
12218 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12219
12220         * BufferView_pimpl.C (specialChar): delete new inset if we have
12221         not been able to insert it.
12222
12223         * kbmap.C: revert to using int instead of kb_action, since all we
12224         are dealing with is pseudo-actions.
12225
12226         * LyXAction.C (searchActionArg): change to return int instead of
12227         kb_action, since the result is a pseudoaction.
12228
12229 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
12230
12231         * buffer.C (insertErtContents): Fix (partially) the font bug.
12232
12233 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12234
12235         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12236         as the other one is broken on my machine!
12237
12238 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
12239
12240         * commandtags.h:
12241         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12242
12243 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
12244
12245         * lyxrc.[Ch]: change names and descriptions of popup font variables to
12246         reflect their actual use. Provide compatibility code for older lyxrc
12247         files.
12248
12249         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12250         FL_NORMAL_STYLE.
12251         change names of popup font variables in line with the changes to lyxrc.C
12252
12253 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12254
12255         * buffer.C (asciiParagraph): avoid outputing a word twice after
12256         an inset.
12257
12258         * lyxrc.C (getDescription): document that document_path and
12259         template_path can be empty.
12260
12261 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12262
12263         * LaTeXFeatures.C (getMacros):
12264         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12265
12266         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12267
12268         * LaTeXFeatures.C (useFloat): require "float" here instead of in
12269         getPackages.
12270         (getPackages): rename feature "floats" to "float". Use an array to
12271         iterate over 'simple' features (i.e. just a \usepackage). Add
12272         handling of "amsmath" (renamed from "amsstyle").
12273
12274 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
12275
12276         * LaTeXFeatures.C (require): Prevent duplicate entries in the
12277         features list.
12278
12279 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
12280
12281         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12282         FuncStaus::FuncStatus & FuncStaus::some_method().
12283
12284 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
12285
12286         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12287         of the func_satus stuff. Edited and massaged in various ways by
12288         JMarc.
12289
12290         * lyxfunc.C (getStatus): use FuncStatus
12291
12292 2002-01-08  Juergen Vigna  <jug@sad.it>
12293
12294         * text.C (nextBreakPoint): use function Inset::isChar().
12295
12296         * paragraph.C (TeXOnePar): use function
12297         Inset::forceDefaultParagraphs.
12298
12299         * buffer.C (latexParagraphs): use function
12300         Inset::forceDefaultParagraphs.
12301
12302 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12303
12304         * lyx_gui.C (init): set the style of the menu popups to
12305         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12306
12307 2002-01-07  Juergen Vigna  <jug@sad.it>
12308
12309         * text.C (setHeightOfRow): small fix
12310         (prepareToPrint): don't look at alignment if we don't have the place
12311         for doing it.
12312
12313 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12314
12315         * box.C: New file. Move the Box methods and functions out of box.h,
12316         following Lars' suggestion.
12317
12318 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12319
12320         * box.h: #include "support/LOstream.h", needed for inlined function.
12321
12322         * lyxtextclass.C:
12323         * lyxtextclasslist.C: added some using std declarations.
12324
12325 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
12326
12327         * box.h: make signed dimensions to allow insets wider than
12328           the screen (bug #162)
12329
12330         * BufferView_pimpl.C: add some insetHit debug
12331
12332 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
12333
12334         * vc-backend.C: add FIXME
12335
12336 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12337
12338         * lyxfunc.C (getStatus): enable code for showing math font status
12339         in toolbar/menu.
12340
12341 2002-01-07  Juergen Vigna  <jug@sad.it>
12342
12343         * text.C (nextBreakPoint): removed debug output not needed anymore.
12344
12345 2002-01-06  Juergen Vigna  <jug@sad.it>
12346
12347         * text.C (nextBreakPoint): fixed up this function we had this bug
12348         since ever but now hopefully we break row better.
12349         (insertChar): we have to check if an inset is the next char as it
12350         could now happen that a large inset is causing a break.
12351
12352 2002-01-05  Juergen Vigna  <jug@sad.it>
12353
12354         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12355         if it doesn't like to be drawed.
12356
12357 2002-01-04  Juergen Vigna  <jug@sad.it>
12358
12359         * BufferView2.C (lockInset): forgot to set a cursor.
12360
12361         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12362
12363 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
12364
12365         * FormMathsPanel.C:
12366         * FormMathsPanel.h
12367         * MathsSymbols.C:
12368         * form_maths_panel.C:
12369         * form_maths_panel.h:
12370         * form_maths_panel.fd: implemented sub- and super- buttons in math
12371         panel.
12372
12373         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12374         (or ^ space) to be used as in TeX (req'd by André).
12375
12376         * lyxfunc.C: Allow ^ and _ again to be used both as
12377         super/subscript (mathed) and as themselves (in text).
12378
12379 2002-01-03  Allan Rae  <rae@lyx.org>
12380
12381         * LyXView.C (updateWindowTitle): Setup a short icon title of either
12382         "LyX" or the filename of the current buffer if it has one.  This is a
12383         modified form of John Levon's patch.
12384
12385         * XFormsView.C (setWindowTitle): also set icon title.
12386
12387         * LyXView.h (setWindowTitle): signature changed.
12388         * XFormsView.h (setWindowTitle): ditto.
12389
12390 2002-01-02  Juergen Vigna  <jug@sad.it>
12391
12392         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12393
12394 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12395
12396         * screen.C (topCursorVisible): introduce a temp var for
12397         text->cursor.row(), handle the case where this row is null. (kindo
12398         hachish)
12399
12400         * text2.C (setCursor): add a couple of asserts.
12401
12402         * paragraph.h (inset_iterator): add -> operator
12403
12404         * paragraph.[Ch] (autoDeleteInsets): remove member function
12405
12406         * BufferView2.C (removeAutoInsets): rewrite to handle the old
12407         cursor pos correctly and handle inset deletion by itself.
12408         (insertErrors): move iterator declaration out of for expression
12409
12410         * lyxtextclass.C: add <algorithm>
12411
12412         * Makefile.am: added the new files to sources, removed layout.C
12413
12414         * layout.C: removed file
12415
12416         * layout.h: remove LYX_DUMMY_LAYOUT
12417
12418         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12419         layout.
12420
12421         * lyxlayout.[Ch]:
12422         * lyxtextclass.[Ch]:
12423         * lyxtextclasslist.[Ch]: new files
12424
12425         * include order changes to a lot of files, also changes because of
12426         the six new files.
12427
12428 2001-12-27  Juergen Vigna  <jug@sad.it>
12429
12430         * buffer.C (asciiParagraph): more fixes.
12431
12432         * tabular.C (ascii): make ascii export support export of only the
12433         data separated by a column-delimiter.
12434         (ascii): better support for ascii export.
12435
12436         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12437
12438 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12439
12440         * tabular_funcs.C: use a "using std::getline" instead of the
12441         previous fix from Angus (necessary for cxx + lyxstring)
12442
12443 2001-12-24  Juergen Vigna  <jug@sad.it>
12444
12445         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12446
12447         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12448         problems. First check a minipage also if we have some ert-contents
12449         (not only on par->size(), second set the right depth of the paragraph
12450         on the relink to the root-paragraph-list!
12451
12452         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12453         which then did not anymore update the main paragraphs on undo/redo!
12454
12455 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12456
12457         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12458         code. Support all font-changing funcs (even those which are not in
12459         menu currently). Support for reporting font settings in
12460         mathed (disabled until Andre provides a function on mathed's side).
12461
12462         * func_status.h (toggle): small helper function to set toggle
12463         state on a flag.
12464
12465 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
12466
12467         * tabular_funcs.C: getline -> std::getline
12468
12469 2001-12-21  Juergen Vigna  <jug@sad.it>
12470
12471         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12472         accessed and could be 0 (I couldn't generate this but it seems
12473         Michael could!).
12474
12475 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12476
12477         * tabular_funcs.C: add LIstream.h, move write_attribute to..
12478         * tabular_funcs.h: here and include iosfwd
12479
12480 2001-12-20  Juergen Vigna  <jug@sad.it>
12481
12482         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12483         inside inset but undo_par was.
12484
12485 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12486
12487         * Thesaurus.C: always include <config.h> in sources.
12488
12489         * Painter.h:
12490         * lyxlookup.h:
12491         * box.h: do not include <config.h> in header files
12492
12493         * text.C (paintLastRow): remove unused variable
12494
12495         * text.C (transformChar):
12496         (insertChar):
12497         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12498
12499         * Painter.C (text):
12500         * font.C (width): rewrite to use uppercase() instead of
12501         islower/toupper.
12502
12503         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12504
12505 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
12506
12507         * lyxfind.C: clean up of find failure position change
12508
12509 2001-12-20  Juergen Vigna  <jug@sad.it>
12510
12511         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12512
12513         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12514         (TeXRow): added to LaTeX a single tabular row.
12515         (TeXLongtableHeaderFooter): added to output LT-h/f data.
12516         (Latex): simplified and finally good LT-h/f support.
12517         (various_functions): just small adaptions for LT-h/f support.
12518
12519         * tabular_funcs.[hC]: added and moved here all not classfunctions
12520         of LyXTabular.
12521
12522 2001-12-19  Juergen Vigna  <jug@sad.it>
12523
12524         * tabular.[Ch]: better support for longtabular options (not finished
12525         yet!)
12526
12527 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12528
12529         * text.C (paintLastRow): use the label font instead of the font of
12530         the last character to compute the size of *_BOX. This makes more
12531         sense and avoids a crash with empty paragraphs.
12532         Use Painter::rectangle to draw EMPTY_BOX.
12533
12534 2001-12-19  Juergen Vigna  <jug@sad.it>
12535
12536         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12537         the paragraphs if the replaced paragraph is not the first one!
12538         Tried to delete not used paragraphs but does not work yet so for
12539         now it's inside #ifdef's and by default off!
12540
12541 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12542
12543         * MenuBackend.C: include "lyx_main.h" instead of declaring
12544         lastfiles (actually was declared as LastFiles* instead of a
12545         scoped_ptr).
12546
12547 2001-12-17  Juergen Vigna  <jug@sad.it>
12548
12549         * tabular.C (AppendColumn): applied John's fix
12550
12551 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
12552
12553         * BufferView.h:
12554         * BufferView.C:
12555         * BufferView_pimpl.h:
12556         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12557
12558         * Makefile.am:
12559         * box.h: new start of class for above
12560
12561         * lyxfunc.C: ignore space-only minibuffer dispatches.
12562           Show the command name when it doesn't exist
12563
12564         * minibuffer.C: don't add empty lines to the history
12565
12566         * minibuffer.C: add a space on dropdown completion
12567
12568 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
12569
12570         * text.C: fix line above/below drawing in insets
12571
12572 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12573
12574         * lyxlength.C (LyXLength): Initialize private variables.
12575
12576 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
12577
12578         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12579         when inserting error insets.
12580
12581 2001-12-13  Juergen Vigna  <jug@sad.it>
12582
12583         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12584         actually sometimes the before-paragraph.
12585         (setUndo): don't clear the redostack if we're not actually undoing!
12586
12587 2001-12-06  Juergen Vigna  <jug@sad.it>
12588
12589         * undo_funcs.C (textHandleUndo): well after John's hint I got here
12590         and fixed redoing of main paragraph, so we can use it now ;)
12591
12592         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12593
12594 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12595
12596         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12597         Juergen's request
12598
12599 2001-12-13  André Pönitz <poenitz@gmx.net>
12600
12601         * undostack.[Ch]:
12602         * undo_func.C: minor cleanup
12603
12604 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12605
12606         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12607         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12608         font in urw-fonts package which is marked as -urw-fontspecific and
12609         does not work (incidentally, changing the encoding in the
12610         fonts.dir of this package to -adobe-fontspecific fixes the
12611         problem).
12612
12613         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12614         is a crash when undoing first paragraph (Juergen, please take a
12615         look). THis does not mean the undo fix is wrong, just that it
12616         uncovers problems.
12617
12618         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12619         the (Paragraph*) version when needed instead of duplicating the
12620         code.
12621
12622         * text.C (workWidth): use Inset::parOwner to find out where the
12623         inset has been inserted. This is a huge performance gain for large
12624         documents with lots of insets. If Inset::parOwner is not set, fall
12625         back on the brute force method
12626
12627         * paragraph_pimpl.C (insertInset):
12628         * paragraph.C (Paragraph):
12629         (cutIntoMinibuffer): set parOwner of insets when
12630         inserting/removing them
12631
12632         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12633
12634 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
12635
12636         * commandtags.h:
12637         * LyXAction.C:
12638         * lyx_main.C:
12639         * lyxfunc.C:
12640         * mathed/formulabase.C:
12641         * mathed/math_cursor.[Ch]:
12642         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12643
12644
12645 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12646
12647         * lyxlength.[Ch] (operator!=): new function
12648
12649 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12650
12651         * text.C (workWidth): use Inset::parOwner to find out where the
12652         inset has been inserted. This is a huge performance gain for large
12653         documents with lots of insets. If Inset::parOwner is not set, fall
12654         back on the brute force method
12655
12656         * paragraph_pimpl.C (insertInset):
12657         * paragraph.C (Paragraph):
12658         (cutIntoMinibuffer): set parOwner of insets when
12659         inserting/removing them
12660
12661         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12662
12663 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12664
12665         * tabular-old.C (getTokenValue):
12666         * tabular.C (getTokenValue):
12667         (write_attribute): new versions for LyXLength
12668         (everywhere): adjust the use of widths
12669
12670         * tabular.h: change the type of widths from string to LyXLength
12671
12672 2001-12-11  Ben Stanley <bds02@uow.edu.au>
12673
12674         * paragraph.C: fixed missing line number count when exporting
12675         Environments to LaTeX file
12676
12677         * buffer.C: added informational message for checking line numbers.
12678
12679 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12680
12681         * text2.C (deleteEmptyParagraphMechanism): if there is only one
12682         paragraph, do the 'double space' part, but not the 'empty
12683         paragraph' one.
12684
12685         * text.C (workWidth): small optimization
12686         (getLengthMarkerHeight): use minimal size for negative lengths.
12687
12688 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
12689
12690         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12691
12692         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12693
12694 2001-12-11  André Pönitz <poenitz@gmx.net>
12695
12696         * FontLoader.C:
12697         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12698
12699 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12700
12701         * text2.C: keep selection on a setFont()
12702
12703 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12704
12705         * lyx_cb.C: another bv->text misuse, from insert label
12706
12707 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12708
12709         * kbsequence.h:
12710         * kbsequence.C: re-instate nmodifier mask
12711
12712 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
12713
12714         * lyx_main.h: make lyxGUI private.
12715
12716 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12717
12718         * lyxfind.C: place the cursor correctly on failed search
12719
12720 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12721
12722         * text.C (getLengthMarkerHeight): for small heights, the arrows
12723         are not always on top/bottom of the text
12724         (drawLengthMarker): smaller arrows; take the left margin in
12725         account; draw also vfills.
12726         (paintFirstRow):
12727         (paintLastRow): remove special code for vfill and standard spaces,
12728         since everything is handled in drawLengthMarker now.
12729
12730 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12731
12732         * buffer.C (insertErtContents): try to handle font and language
12733         interaction a bit better.g
12734
12735         * ColorHandler.C (updateColor): change the hash to cover the whole
12736         LColor enum, ws cleanup
12737         (getGCLinepars): ditto
12738         (getGCLinepars): only lookup in the linecache once.
12739
12740 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
12741
12742         * iterators.C (operator++): Make the iterator more robust
12743
12744         * BufferView2.C (removeAutoInsets): Use paragraph iterators
12745         (John's patch)
12746         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12747
12748 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12749
12750         * lyxtext.h:
12751         * text.C: better added space drawing
12752
12753 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12754
12755         * LyXView.C:
12756         * BufferView2.C: fix layout combo update on inset unlock
12757
12758 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12759
12760         * Makefile.am: don't compile unused files
12761
12762 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12763
12764         * lyxfunc.C:
12765         * commandtags.h:
12766         * LyXAction.C: remove old LFUN_LAYOUTNO
12767
12768 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12769
12770         * paragraph_pimpl.h:
12771         * paragraph_pimpl.C: isTextAt() doesn't need font param
12772
12773 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12774
12775         * lyxlex.h:
12776         * lyxlex.C: little cleanup
12777
12778 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12779
12780         * BufferView_pimpl.C: fix insertAscii for insets
12781
12782 2001-12-05  Juergen Vigna  <jug@sad.it>
12783
12784         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12785         set the right font on the "multi" paragraph paste!
12786
12787 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12788
12789         * trans_decl.h:
12790         * trans_mgr.[Ch]:
12791         * trans.[Ch]:
12792         * lyxgluelength.C:
12793         * lyxlength.C: remove out-commented code.
12794
12795         * BufferView_pimpl:
12796         * CutAndPaste.C:
12797         * DepTable.C:
12798         * buffer.C:
12799         * chset.C:
12800         * lastfiles.C:
12801         * lyxlex.C:
12802         * lyxlex_pimpl.C:
12803         * lyxserver.C:
12804         * screen.C:
12805         * tabular-old.C:
12806         * tabular.C:
12807         * text.C:
12808         * trans_mgr.C:
12809         * vc-backend.C: change "while(" to "while ("
12810
12811         * lyxlength.[Ch]: add zero function to check if length is zero or
12812         not
12813         * lyxgluelength.C: use it
12814
12815 2001-12-05  Allan Rae  <rae@lyx.org>
12816
12817         * lyxlength.C: Attempted a fix for the abs(int) header selection.
12818         Works for 2.95.3, from what I understand of Garst's reports this should
12819         work for other g++ versions.  We're screwed if the abs(int) definition
12820         changed between bugfix releases of gcc.
12821
12822 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12823
12824         * text.C: fix chapter label offset !
12825
12826 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12827
12828         * lyxtext.h:
12829         * text.C: fix hfill at end of line, clean up
12830
12831 2001-12-04  Juergen Vigna  <jug@sad.it>
12832
12833         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12834         that we force an update of the inset and it's owners if neccessary.
12835
12836 2001-12-03  Juergen Vigna  <jug@sad.it>
12837
12838         * text.C (rowLast): simplified code
12839
12840 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12841
12842         * lyxfunc.C: fix show options on timeout
12843
12844 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12845
12846         * screen.C (topCursorVisible): scroll half a page when the cursor
12847         reached top of bottom of screen
12848
12849 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
12850
12851         * minibuffer.C: deactivate on loss of focus
12852
12853 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12854
12855         * vspace.[Ch] (operator!=): add operator.
12856
12857 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
12858
12859         * BufferView_pimpl.C: refuse to open an inset when
12860         there's a selection.
12861
12862 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
12863
12864         * BufferView_pimpl.C: allow to click on RHS of full row insets
12865
12866 2001-11-30  Juergen Vigna  <jug@sad.it>
12867
12868         * tabular.C (LyXTabular): add a same_id to set the same id's in the
12869         insets for undo reasons.
12870
12871 2001-11-28  André Pönitz <poenitz@gmx.net>
12872
12873         * vspace.[Ch]: cosmetical changes
12874
12875 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12876
12877         * LyXAction.h:
12878         * LyXAction.C:
12879         * lyxfunc.h:
12880         * lyxfunc.C:
12881         * kbmap.h:
12882         * kbmap.C:
12883         * lyxrc.C:
12884         * kbsequence.h:
12885         * kbsequence.C: part re-write of old kb code
12886
12887         * Painter.C:
12888         * WorkArea.C: remove Lgb_bug_find_hack
12889
12890 2001-11-30  José Matos <jamatos@fep.up.pt>
12891
12892         * buffer.C (makeDocBookFile): add a comment to point a hack.
12893         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12894         Fixed a double write of labels.
12895
12896 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12897
12898         * LaTeX.C:
12899         * LaTeX.h Fixed bug in LaTeX class where it would not
12900         re-run latex if no depfiles were changed, but the .dvi was removed.
12901
12902 2001-11-28  André Pönitz <poenitz@gmx.net>
12903
12904         * all the files from the change on 2001/11/26:
12905         use lyx::layout_type instead of LyXTextClass::size_type
12906         use lyx::textclass_type instead of LyXTextClassList::size_type
12907
12908 2001-11-29  Juergen Vigna  <jug@sad.it>
12909
12910         * text.C: added support for paragraph::isFreeSpacing()
12911
12912         * buffer.C: same as above
12913
12914         * paragraph.h: inserted isFreeSpacing() function to enable
12915         FreeSpacing inside InsetERT.
12916
12917         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12918         of the paragraph's in the cut/copy buffer to 0!
12919
12920         * text2.C (removeRow): remove the assert as it can!
12921
12922         * lyxtext.h: added helper function firstRow returning firstrow and
12923         made firstrow private again.
12924
12925         * BufferView2.C (lockInset): don't relock if we're already locked!
12926
12927         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12928         the only paragraph.
12929         (removeRow): added Assert::(firstrow)
12930
12931         * debug.C: forgot to add INSETTEXT here.
12932
12933 2001-11-28  Juergen Vigna  <jug@sad.it>
12934
12935         * sp_spell.C (initialize): changed error text to more general
12936         spellchecker command use (not only ispell!)
12937
12938         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12939
12940         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12941
12942 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12943
12944         * vspace.C: initialise lyxgluelength on failure
12945
12946 2001-11-28  Allan Rae  <rae@lyx.org>
12947
12948         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12949         declaration & definition that looks like a function declaration.
12950
12951 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12952
12953         * BufferView2.C (copy):
12954         (copyEnvironment): do not clear the selection when doing a copy.
12955
12956         * text.C (paintFirstRow): compilation fix
12957
12958 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
12959
12960         * tabular.C (Latex): correct line count when writing latex.
12961
12962 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
12963
12964         * paragraph_pimpl.h:
12965         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12966           bug a bit
12967
12968 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12969
12970         * text.C:
12971         * LColor.h:
12972         * LColor.C: change vfillline->added_space
12973
12974         * text.C: add markers and text for added space
12975
12976         * vspace.C: fix comment
12977
12978 2001-11-28  André Pönitz <poenitz@gmx.net>
12979
12980         * paragraph.C: whitespace changes
12981         * all the other files from the change on 2001/11/26:
12982         change *::pos_type into lyx::pos_type
12983
12984 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
12985
12986         * buffer.C (parseSingleLyXformat2Token): Set the language to the
12987         language of the document when inserting error insets.
12988
12989 2001-11-26  André Pönitz <poenitz@gmx.net>
12990
12991         * BufferView_pimpl.[Ch]:
12992         *       CutAndPaste.C:
12993         * buffer.[Ch]:
12994         * lyxcursor.[Ch]:
12995         * lyxfind.C:
12996         * lyxfunc.C:
12997         * lyxrow.[Ch]:
12998         * paragraph.[Ch]:
12999         * paragraph_pimpl.[Ch]:
13000         * sp_spell.C:
13001         * text.C:
13002         * text2.C: reduce header dependencies, introduce type for positions
13003
13004 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13005
13006         * <various>: change to use Alert.h
13007
13008 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
13009
13010         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13011         when encountering an unknown token.
13012         (readLyXformat2): Show an error message if there were unknown tokens.
13013
13014 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
13015
13016         * BufferView2.C:
13017         * BufferView_pimpl.C:
13018         * buffer.C:
13019         * paragraph.h:
13020         * text.C:
13021         * text2.C: use par->isInset()
13022
13023 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13024
13025         * paragraph_pimpl.h:
13026         * paragraph_pimpl.C: cleanup
13027
13028 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13029
13030         * text2.C (removeRow):
13031         * text.C (setHeightOfRow): remove useless (and costly) call to
13032         getRow.
13033
13034 2001-11-20  Allan Rae  <rae@lyx.org>
13035
13036         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13037         Now need Inset*::checkInsertChar() to return true for appropriate
13038         cases so that the characters in the minibuffer will actually be
13039         inserted.
13040
13041 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13042
13043         * text.C: change the order of the includes.
13044         (workWidth): initialize it at once.
13045         (workWidth): make maxw unsigned
13046         (setHeightOfRow): remove unused variable (inset)
13047         (selectSelectedWord): remove unused variable (inset)
13048         (paintRowText): fix drawing of hfill characters, and clean up a bit.
13049
13050 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13051
13052         * lyxserver.C (emergencyCleanup): do not try to close pipes if
13053         server is not running.
13054         (openConnection):
13055         (closeConnection): add debug info when server is disabled.
13056
13057         * ColorHandler.C (getGCForeground): send debug message to GUI
13058         channel.
13059
13060         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13061
13062         * kbmap.C (bind): modify because return conventions of
13063         kb_sequence::parse have changed.
13064
13065         * kbsequence.C (parse): only ignore spaces and not any stupid
13066         control character. This avoids tests like s[i] <= ' ', which are
13067         guaranteed to fail with 8bit characters and signed chars.
13068         Change return code to string::npos when there have been no error
13069         (0 was a bad idea when error is at first character)
13070
13071 2001-11-14  José Matos  <jamatos@fep.up.pt>
13072
13073         * buffer.h:
13074         * buffer.C (simpleDocBookOnePar): removed unused argument.
13075
13076 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13077
13078         * text.C (selectNextWordToSpellcheck): do not test explicitely for
13079         insets which are part of a word. Paragraph::isLetter takes care of
13080         that now. Use Paragraph::isInset to identify insets.
13081         (selectSelectedWord): do not test for hyphenation break.
13082
13083         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13084         that protected spaces are considered as spaces.
13085
13086         * paragraph.C (isLetter): cleanup the code for ispell extras; use
13087         Inset::isLetter.
13088
13089 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
13090
13091         * lyxserver.h:
13092         * lyxserver.C: fix it. and small cleanup.
13093
13094 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13095
13096         * BufferView_pimpl.C: use inline helpers
13097
13098         * LaTeXFeatures.h:
13099         * LaTeXFeatures.C: fix typos
13100
13101         * Spacing.h:
13102         * Spacing.C: move spacing_string into class
13103
13104         * ToolbarDefaults.C: move stuff into namespace anon
13105
13106         * layout.h: update enum
13107
13108         * lyxfunc.C: use better debug
13109
13110         * minibuffer.h: fix typo
13111
13112         * debug.h:
13113         * debug.C:
13114         * WorkArea.C: add and use Debug::WORKAREA
13115
13116         * lyxtext.h:
13117         * text.C:
13118         * text2.C: code re-organisation, inline helpers
13119
13120 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
13121
13122         * Layout.C: replaced a few cases of std::vector.size() == 0 with
13123         std::vector.empty().
13124
13125 2001-11-09  Allan Rae  <rae@lyx.org>
13126
13127         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13128         '\n's after tables.  Tabular and ERT inset work now makes this no
13129         longer necessary.
13130
13131 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13132
13133         * minibuffer.h:
13134         * minibuffer.C: fix crash, improve drop-down completion
13135
13136 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
13137
13138         * lyxserver.h:
13139         * lyxserver.C: invalidate fd's when doing endPipe()
13140
13141 2001-11-08  José Matos  <jamatos@fep.up.pt>
13142
13143         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13144         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13145
13146         * paragraph.h:
13147         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13148
13149 2001-11-07  José Matos  <jamatos@fep.up.pt>
13150
13151         * buffer.h:
13152         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13153         const qualifier.
13154
13155         * buffer.C (sgmlOpenTag):
13156         * buffer.C (sgmlCloseTag): removed debug info.
13157
13158         * buffer.h (sgmlOpenTag):
13159         * buffer.h (sgmlCloseTag): made public.
13160
13161 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13162
13163         * buffer.C (saveParamsAsDefaults):
13164         * lyx_cb.C (MenuLayoutSave): remove
13165
13166         * LyXAction.C (init):
13167         * commandtags.h:
13168         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13169
13170 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13171
13172         * buffer.C (setPaperStuff): removed from here...
13173
13174         * bufferparams.C (setPaperStuff): ... and moved there.
13175
13176 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
13177
13178         * minibuffer.h:
13179         * minibuffer.C:
13180         * XFormsView.C: add support for drop-down completion
13181
13182 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
13183
13184         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13185         commands.
13186
13187 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13188
13189         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13190         disabled.
13191
13192 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
13193
13194         * lyx_main.C: change ref to known bugs
13195
13196 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
13197
13198         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13199         to work around older babel problems.
13200
13201 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13202
13203         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13204
13205 2001-10-24  Juergen Vigna  <jug@sad.it>
13206
13207         * tabular-old.C (ReadOld): below variable changes reflected.
13208
13209         * tabular.[Ch]: added ltType struct for longtable header/footer
13210         defines and changed all instances where they are used. Added
13211         future support for double top/bottom rows.
13212
13213 2001-10-24  José Matos  <jamatos@fep.up.pt>
13214
13215         * buffer.h (docbookHandleCaption):
13216         * buffer.C (docbookHandleCaption): removed unused function.
13217         (makeDocBookFile): moved docbook supported version to v4.1.
13218
13219 2001-10-24  José Matos  <jamatos@fep.up.pt>
13220
13221         * tabular.h:
13222         * tabular.C (docbookRow): new function to export docbook code of a row.
13223         (DocBook): now honors the longtable flags.
13224
13225 2001-10-23  José Matos  <jamatos@fep.up.pt>
13226
13227         * LaTeXFeatures.h:
13228         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13229         of the lyx defined sgml entities used in a docbook/linuxdoc document.
13230
13231         * buffer.C (makeLinuxDocFile):
13232         (makeDocBookFile): reworked the preamble, more clean, and with
13233         support for lyx defined entities. Changed the document declaration
13234         to be more XML friendly.
13235
13236         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13237         if we need to output XML that should be done with a filter.
13238
13239 2001-10-22  Juergen Vigna  <jug@sad.it>
13240
13241         * sp_pspell.h (class PSpell): add alive function needed in the
13242         controller to see if the spellchecker could be started.
13243
13244 2001-10-22  Juergen Vigna  <jug@sad.it>
13245
13246         * buffer.C (insertStringAsLines): modify the font for inserting
13247         chars in certain conditions by calling checkInsertChar(font).
13248
13249 2001-10-19  Juergen Vigna  <jug@sad.it>
13250
13251         * text.C (workWidth): use getRow instead of wrong algorithm.
13252         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13253
13254 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
13255
13256         * lyxserver.h:
13257         * lyxserver.C:
13258         * lyx_main.h:
13259         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13260
13261 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13262
13263         * text.C (workWidth): do not search for the exact row when
13264         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13265         optimization for big documents.
13266
13267 2001-10-18  Juergen Vigna  <jug@sad.it>
13268
13269         * text.C (workWidth): new function with added Inset * parameter.
13270
13271 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13272
13273         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13274
13275         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13276         change return type of getColumnNearX.
13277
13278
13279         * text.C (changeRegionCase): use uppercase/lowercase instead of
13280         toupper/tolower.
13281         (leftMargin):
13282         (rightMargin): simplify code by factoring out the uses of
13283         textclasslist.
13284         (labelFill):
13285         (numberOfHfills):
13286         (setHeightOfRow):
13287         (appendParagraph): use Paragraph::size_type
13288
13289 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13290
13291         * vspace.C (asLatexString): add a missing break
13292
13293 2001-10-15  Herbert Voss  <voss@perce.de>
13294
13295         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13296
13297 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13298
13299         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13300         is not available.
13301
13302 2001-10-10  André Pönitz <poenitz@gmx.net>
13303
13304         * lyxfunc.C: removed greek_kb_flag.
13305
13306 2001-10-10  Herbert Voss  <voss@perce.de>
13307
13308         * lyx_main.C: delete global string help_lyxdir.
13309
13310 2001-10-09  Herbert Voss  <voss@perce.de>
13311
13312         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13313
13314         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13315
13316         * lyx_main.C: added global string help_lyxdir.
13317
13318         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13319
13320 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13321
13322         * lyxrc.C (set_font_norm_type): support iso8859-4
13323
13324 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
13325
13326         * LaTeX.C (deplog): add another regex for MikTeX
13327
13328 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13329
13330         * lyxrc.C (set_font_norm_type): support iso8859-3
13331
13332 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13333
13334         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13335
13336         * LaTeXFeatures.C: remove special case of french and index
13337
13338         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13339         before \begin{document}). This solves several incompatibilities.
13340
13341 2001-10-03  Garst Reese  <reese@isn.net>
13342
13343         * lyx_cb.C: change CheckTex error msg.
13344
13345 2001-10-03  José Matos  <jamatos@fep.up.pt>
13346
13347         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13348
13349 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13350
13351         * .cvsignore: update
13352
13353         * lyx_main.C (commandLineVersionInfo): use new style version info.
13354
13355         * buffer.C (writeFile):
13356         (makeLaTeXFile):
13357         (makeLinuxDocFile):
13358         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13359
13360         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13361
13362         * version.h: update to use stuff in version.C
13363
13364         * version.C.in: new file. Contains version information determined
13365         at compile time. This is a merging of version.h and
13366         version_info.h.in.
13367
13368 2001-10-03  Juergen Vigna  <jug@sad.it>
13369
13370         * BufferView_pimpl.C (update): don't change "dirty" status in
13371         updateInset call.
13372
13373 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
13374
13375         * WorkArea.C (c-tor): re-position version string slightly.
13376
13377 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
13378
13379         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13380         revert to previous code.
13381
13382         WorkArea.[Ch]: (show, destroySplash): methods removed.
13383
13384         WorkArea.C: rework code so that it's an amalgam of the codes before and
13385         after the splash screen was moved to WorkArea.
13386
13387 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13388
13389         * lyxrc.C (read):
13390         * vspace.C (inPixels):
13391         (lyx_advance):
13392         * kbmap.C (bind):
13393         * buffer.C (insertStringAsLines):
13394         (asciiParagraph): fix types to be large enough
13395
13396         * lyxlex_pimpl.h: change member status from short to int
13397
13398         * layout.h: fix type of endlabeltype
13399
13400         * kbmap.C (bind):
13401         * kbsequence.C (parse): change return type to string::size_type
13402
13403         * LaTeX.C (updateBibtexDependencies): comment out unneeded
13404         variable
13405
13406         * Bullet.C (bulletSize):
13407         (bulletEntry): do not use short ints as parameters
13408
13409         * BufferView2.C (insertLyXFile): change a char to an int.
13410
13411         * WorkArea.C (WorkArea): remove unneeded floats in computation
13412
13413 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
13414
13415         * buffer.C (asciiParagraph): Treat '\\' as other chars.
13416
13417         * paragraph.C (asString): Do not ignore newline/hfill chars when
13418         copying to the clipboard.
13419
13420 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
13421
13422         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13423         after a multi-line inset.
13424
13425 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
13426
13427         * paragraph.C (validate): Set NeedLyXFootnoteCode
13428
13429 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13430
13431         * lyxfont.C (LyXSizeNames): changed increase-error to increase
13432         and decrease-error to decrease.
13433
13434 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13435
13436         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13437         it more readable (should be equivalent)
13438
13439 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13440
13441         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13442
13443 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13444
13445         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13446         of a cursor (row, etc.) after a character has been deleted
13447         (deleteEmptyParagraphMechanism): call the method above on _all_
13448         cursors held by the LyXText when a double space has been
13449         detected/deleted.
13450
13451 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13452
13453         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13454         pixmap.
13455         (resizeCurrentBuff): remove code to destroy the old splash dialog.
13456
13457         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13458         background. Use greyOut() and the new show() methods to toggle between
13459         the foreground and background. Add code to remove the splash after
13460         its initial showing.
13461
13462         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13463         (create_forms): no longer call Dialogs::showSplash.
13464
13465 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13466
13467         * .cvsignore: add version_info.h
13468
13469 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13470
13471         * version_info.h.in: new file
13472
13473         * Makefile.am: add version_info.h.in
13474
13475         * lyx_main.C (commandLineVersionInfo): use version_info defined in
13476         version_info.h instead of VERSION_INFO
13477
13478 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
13479
13480         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13481         The ERT inset now returns string().
13482
13483 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
13484
13485         * lyxtext.h, text.C (selectNextWord): renamed as
13486         selectNextWordToSpellcheck.
13487
13488         * text.C (selectNextWordToSpellcheck): Modified to not select
13489         words inside an ERT inset.
13490
13491 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13492
13493         * lyx_cb.C (MenuLayoutSave): change a bit the question
13494
13495         * sp_base.h: include <sys/types.h>
13496
13497 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
13498
13499         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13500
13501 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
13502
13503         * several files: fix typos in user-visible strings
13504
13505 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13506
13507         * text2.C (pasteSelection): do not set the selection, since it
13508         will be cleared later. Actually, the intent was to fix the way the
13509         selection was set, but I figured rmoving the code was just as good.
13510
13511 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
13512
13513         * FontLoader.C (available): Check if font is available without
13514         loading the font.
13515
13516 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
13517
13518         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13519
13520 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
13521
13522         * lyxrc.[Ch]: added display_graphics variable and associated code.
13523
13524 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13525
13526         * bufferparams.C (hasClassDefaults): new method. Returns true if
13527         the buffer parameters correspond to known class defaults
13528
13529 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
13530
13531         * XFormsView.C (show): set minimum size to the main window.
13532
13533 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13534
13535         * text2.C (copySelection):
13536         (cutSelection):
13537         * lyxfind.C (LyXReplace):
13538         * BufferView_pimpl.C (Dispatch): pass the correct flag to
13539         LyXText::selectionAsString.
13540
13541         * paragraph.C (asString): add "label" argument to the second form
13542
13543         * text2.C (selectionAsString): add "label" argument and pass it to
13544         Paragraph::asString.
13545
13546 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13547
13548         * lyx_main.C (commandLineHelp): remove version information
13549
13550 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
13551
13552         * lyx_main.C: add -version commandline option
13553
13554 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13555
13556         * paragraph.h: make the optional constructor arg required instead.
13557         some modifications to other files because of this.
13558
13559         * minibuffer.C (C_MiniBuffer_peek_event): make it static
13560
13561         * lyxserver.C (C_LyXComm_callback): make it static
13562
13563         * lyx_main.C (error_handler): make it static
13564
13565         * lyx_gui.C (LyX_XErrHandler): make it static
13566
13567         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13568
13569         * WorkArea.C: make the extern "C" methods static.
13570
13571         * Makefile.am (lyx_LDADD): simplify
13572
13573 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13574
13575         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13576         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13577
13578         * LyXAction.C (init):
13579         * lyxfunc.C (dispatch): associated code removal.
13580
13581 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13582
13583         * lyxfont.h (isSymbolFont): shut off warning
13584
13585         * text.C (setHeightOfRow):
13586         (getVisibleRow): fix crash with empty paragraphs which have a
13587         bottom line
13588
13589 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
13590
13591         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13592         code.
13593
13594 2001-09-04  José Matos  <jamatos@fep.up.pt>
13595         * buffer.C
13596         * buffer.h
13597         * tabular.C (docbook): rename docBook method to docbook.
13598
13599 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13600
13601         * Makefile.am: add dependencies to main.o.
13602
13603 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
13604
13605         * FontLoader.C (available): Return false if !lyxrc.use_gui
13606
13607 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
13608
13609         * FontInfo.C (query):
13610         * converter.C (view):
13611         * importer.C (Import):
13612         * exporter.C (Export): Can not -> cannot.
13613
13614 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
13615
13616         * BufferView_pimpl.C: allow to create index inset even if
13617           string is empty
13618
13619 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13620
13621         * buffer.C (getLists): replace boost::tie code with an explicit pair
13622         as boost::tie can break some compilers.
13623
13624         * iterators.h: Added a std:: declaration to the return type of
13625         ParIterator::size.
13626
13627 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
13628
13629         * lyxrc.C: add help for view_dvi_paper_option, default to safe
13630           case.
13631
13632 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
13633
13634         * iterators.[Ch]: New files. Provide paragraph iterators.
13635
13636         * buffer.C (changeLanguage): Use paragraph iterators.
13637         (isMultiLingual): ditto
13638
13639         * BufferView2.C (ChangeInsets): Use paragraph iterators.
13640
13641 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
13642
13643         * FontLoader.C: Support for cmr font.
13644
13645 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
13646
13647         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13648         (available): New method.
13649
13650         * FontInfo.C (getFontname): Use scalable fonts even when
13651         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13652         found.
13653
13654 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13655
13656         * converter.C (Formats::view): reverted! Incorrect fix.
13657
13658 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13659
13660         * converter.C (Formats::view): only output the -paper option
13661         if the dvi viewer is xdvi, thereby fixing bug #233429.
13662
13663 2001-08-23  Herbert Voss  <voss@perce>
13664
13665         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13666
13667 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
13668
13669         * Spacing.h (Spacing): Set space to Default on in the default
13670         constructor.
13671
13672 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13673
13674         * vc-backend.h (RCS::versionString): add RCS to version
13675         (CVS::versionString): add CVS to version
13676
13677         * vc-backend.C (scanMaster): do not add CVS to version.
13678         (scanMaster): do not add RCS to version
13679
13680         * lyxvc.C (versionString): new method
13681
13682         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13683
13684 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13685
13686         * Spacing.C (set): initialize fval
13687
13688 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
13689
13690         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13691         " or \.
13692
13693 2001-08-16  Juergen Vigna  <jug@sad.it>
13694
13695         * lyxfunc.C (dispatch): implemented the new FINISHED states.
13696
13697 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13698
13699         * BufferView_pimpl.C:
13700         * figureForm.C:
13701         * lyxtext.h:
13702         * text2.C: setParagraph takes linespacing now
13703
13704 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
13705
13706         * LyxAction.C: add internal LFUN_CITATION_INSERT
13707
13708         * LyXView.C: actually apply fix
13709
13710         * bufferlist.C: fix open non-existent file
13711
13712         * lyxfind.C: fix indentation
13713
13714         * lyxfunc.C: remove unneeded assert, fix typo
13715
13716 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13717
13718         * MenuBackend.C: use "Floatname List"
13719
13720 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
13721
13722         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13723         when converting LaTeX layout to insetERT.
13724         Generate a non-collapsed float when reading old float
13725
13726 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13727
13728         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13729         ERT insets.
13730
13731 2001-08-13  Juergen Vigna  <jug@sad.it>
13732
13733         * text.C (fill): return 0 instead of 20 as this seems to be the more
13734         correct value.
13735
13736 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13737
13738         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13739         lyxrc.font_norm.
13740
13741 2001-08-13  Juergen Vigna  <jug@sad.it>
13742
13743         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13744         casesensitive off.
13745         (SearchBackward): comment out the unlocking of the inset_owner this
13746         should not be needed!
13747
13748 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
13749
13750         * Many files: Remove inherit_language, and add latex_language
13751
13752         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13753         collapsible insets.
13754
13755 2001-08-10  Juergen Vigna  <jug@sad.it>
13756
13757         * text.C (prepareToPrint): fixed hfill-width in draw!
13758
13759         * BufferView2.C (selectLastWord): save the selection cursor as this
13760         now is cleared in the function LyXText::clearSelection!
13761
13762 2001-08-08  Juergen Vigna  <jug@sad.it>
13763
13764         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13765         BACKSPACE type functions.
13766
13767         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13768         is only cutted from the document but not put in the cut-buffer, where
13769         still the old stuff should be.
13770
13771         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13772
13773         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13774
13775         * tabular.C (SetWidthOfCell): fixed special case where the width
13776         was not updated!
13777         (LeftLine): handle '|' in align_special.
13778         (RightLine): ditto
13779         (LeftAlreadyDrawed): ditto
13780         (SetWidthOfCell): ditto
13781
13782 2001-08-07  Juergen Vigna  <jug@sad.it>
13783
13784         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13785
13786 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13787
13788         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13789         * lyxlex.[hC]: ditto
13790
13791 2001-08-06  Juergen Vigna  <jug@sad.it>
13792
13793         * text.C (getVisibleRow): fix up row clearing a bit.
13794
13795 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13796
13797         * minibuffer.C: make sure the X server sees the changes in the input.
13798
13799 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13800
13801         * paragraph.C (getFont): split into...
13802         (getLabelFont): this
13803         (getLayoutFont): and this
13804         * paragraph_pimpl.C (realizeFont): calling this
13805
13806         * text2.C (getFont): split into...
13807         (getLayoutFont): this
13808         (getLabelFont): and this
13809         (realizeFont): all three calling this
13810
13811         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13812         files where used.
13813
13814 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13815
13816         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13817
13818 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
13819
13820         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13821         layouts from the Quote inset insertion.
13822
13823 2001-08-03  Juergen Vigna  <jug@sad.it>
13824
13825         * BufferView_pimpl.C (update): do the fitCursor only at the end!
13826
13827         * screen.C (drawFromTo): don't call fitcursor here and do the loop
13828         only if status not is already CHANGED_IN_DRAW (second level).
13829
13830         * text.C (draw): don't set the need_break_row when inside an
13831         InsetText LyXText.
13832
13833 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13834
13835         * buffer.C (parseSingleLyXformat2Token): handle more latex
13836         conversion cases.
13837
13838         * bufferview_funcs.[hC]: change function names to
13839         begin with small char, adjust other files.
13840
13841 2001-08-02  André Pönitz <poenitz@gmx.net>
13842
13843         * lyxfunc.C:
13844         BufferView_pimpl.C: remove broken special code for math-greek
13845
13846 2001-08-02  Juergen Vigna  <jug@sad.it>
13847
13848         * BufferView_pimpl.C (update): redone this function so that we
13849         update the text again if there was a CHANGE_IN_DRAW.
13850
13851         * screen.C (cursorToggle): removed LyXText parameter and recoded.
13852         (drawFromTo): added a new internal bool which is used by draw() and
13853         redraw() function.
13854         (general): some cursor drawing problems fixed.
13855
13856 2001-08-01  Juergen Vigna  <jug@sad.it>
13857
13858         * lyxfind.C (LyXFind): fixed
13859         (SearchForward): ditto
13860         (SearchBackward): ditto
13861
13862         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13863         spurius drawing of the cursor in the main area.
13864
13865         * text2.C (status): small fix which could lead to a segfault!
13866         (clearSelection): remove unneeded BufferView param.
13867
13868 2001-08-01  André Pönitz <poenitz@gmx.net>
13869
13870         * lyxfunc.C: small change due to changed mathed interface
13871
13872 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13873
13874         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13875
13876 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
13877
13878         * lyxfunc.c: fail gracefully if file doesn't exist
13879
13880         * LyXSendto.C:
13881         * buffer.C:
13882         * lyxfunc.C:
13883         * BufferView_pimpl.C: IsDirWriteable() proto changed
13884
13885         * LyXView.C: fix updateWindowTitle() to store the last title
13886
13887 2001-07-31  Juergen Vigna  <jug@sad.it>
13888
13889         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13890         the font (wrong since using of Paragraph::highestFontInRange).
13891
13892         * paragraph.C (highestFontInRange): added a default_size parameter.
13893
13894         * text.C (getVisibleRow): minor clear row changes (still not perfect).
13895         (setHeightOfRow): reformat
13896
13897 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13898
13899         * converter.[hC] + affected files: move to (inital-char)lowercase
13900         function names.
13901
13902         * ParagraphParameters.C (ParagraphParameters): remove commented code
13903
13904         * PainterBase.[Ch]: remove commented code
13905
13906         * LaTeXFeatures.h: add "bool floats" for float.sty
13907
13908         * LaTeXFeatures.C (LaTeXFeatures): init floats
13909         (require): handle float
13910         (getPackages): do it with floats
13911
13912 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13913
13914         * BufferView_pimpl.C (Dispatch): improve handling of
13915         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13916
13917         * commandtags.h: #include lyxfont.h here temporarily to avoid
13918         keybinding bug.
13919
13920         * bufferlist.h: include LString.h here.
13921
13922 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13923
13924         * text2.C (getStringToIndex): new method.
13925
13926 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
13927
13928         * *: Reduced header file dependencies all over.
13929
13930 2001-07-30  Baruch Even  <baruch@lyx.org>
13931
13932         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13933
13934 2001-07-29  Baruch Even  <baruch@lyx.org>
13935
13936         * buffer.C (readInset): Changed GRAPHICS to Graphics.
13937
13938 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13939
13940         * ParameterStruct.h (endif): add a default constructor to make
13941         sure that all variables is initialized.
13942
13943         * ParagraphParameters.C (ParagraphParameters): adjust
13944
13945 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13946
13947         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13948         index; also, check that there is something to index, and that it
13949         does not span over several paragraphs.
13950         (doubleClick): use WHOLE_WORD_STRICT for double click.
13951
13952         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13953
13954         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13955         scheme.
13956
13957 2001-07-26  Baruch Even  <baruch@lyx.org>
13958
13959         * buffer.C (readInset): Changed to call up InsetGraphics when reading
13960         an InsetFig figure, backwards compatible reading of old figure code.
13961
13962 2001-07-27  Juergen Vigna  <jug@sad.it>
13963
13964         * text2.C: font.realize function adaption.
13965
13966         * text.C (draw): add a warnings lyxerr text if needed.
13967
13968         * layout.C: font.realize function adaption.
13969
13970         * language.C: add inherit_language and implement it's handlings
13971
13972         * bufferview_funcs.C (StyleReset): remove language parameter from
13973         font creation (should be language_inherit now).
13974
13975         * bufferparams.C (writeFile): handle ignore_language.
13976
13977         * paragraph.C (getFontSettings): the language has to be resolved
13978         otherwise we have problems in LyXFont!
13979
13980         * lyxfont.C (lyxWriteChanges): added document_language parameter
13981         (update): removed unneeded language parameter
13982
13983         * paragraph.C (validate): fixed wrong output of color-package when
13984         using interface colors for certain fonts in certain environments,
13985         which should not seen as that on the final output.
13986
13987 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
13988
13989         * BufferView_pimpl.C:
13990         * Thesaurus.h:
13991         * Thesaurus.C:
13992         * Makefile.am:
13993         * commandtags.h:
13994         * LyXAction.C: add thesaurus support
13995
13996         * lyxfind.h:
13997         * lyxfind.C: add "once" parameter, for thesaurus, to not
13998           move to the next match
13999
14000 2001-07-26  Juergen Vigna  <jug@sad.it>
14001
14002         * lyxfont.C (realize): honor ignore_language too!
14003         (resolved): ditto.
14004
14005         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14006
14007         * text.C (draw): one place more for ignore_language to not draw
14008         itself!
14009
14010 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
14011
14012         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14013
14014 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14015
14016         * buffer.C (parseSingleLyXformat2Token): a more general fix for
14017         the minipage conversion problem.
14018
14019 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14020
14021         * buffer.C (parseSingleLyXformat2Token): check minipage if we
14022         insert an inset.
14023
14024 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14025
14026         * BufferView.h: don't forward declare WorkArea
14027
14028         * BufferView.C: don't include WorkArea.h
14029
14030 2001-07-25  André Pönitz <poenitz@gmx.net>
14031
14032         * commandtags.h:
14033         * LyXAction.C:
14034         * lyxfunc.C:  new LFUN 'math-space'
14035
14036         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14037
14038 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14039
14040         * text2.C (toggleInset): call open/close
14041
14042 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14043
14044         * lyxfunc.C (dispatch): add debug for the disabled case
14045
14046         * font.C (buttonText): make similar to rectText
14047
14048         * buffer.C (readInset): comment out parsing of insetlist and
14049         insttheorem
14050
14051         * PainterBase.C (rectText): small correction
14052
14053         * BufferView_pimpl.C: comment out insettheorem and insetlist
14054         * LyXAction.C: ditto
14055         * commandtags.h: ditto
14056
14057 2001-07-24  Juergen Vigna  <jug@sad.it>
14058
14059         * text.C (draw): honor the ignore_language.
14060
14061         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14062
14063 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14064
14065         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14066         char inset.
14067
14068 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14069
14070         * lyxtext.h: remove unused (and unimplemented) methods
14071
14072 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14073
14074         * text.C (getVisibleRow): honor background color
14075
14076         * PainterBase.h:
14077         * Painter.h: remove default color argument for fillRectangle
14078
14079         * text.C (backgroundColor): new method
14080
14081 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14082
14083         * text.C (getVisibleRow): adjust
14084
14085         * font.[Ch] (rectText): new method, metrics
14086         (buttonText): new method, metrics
14087
14088         * PainterBase.[hC]: make rectText and buttonText always draw and take
14089         fewer paramteres.
14090
14091 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14092
14093         * ToolbarDefaults.C (read):
14094         * MenuBackend.C (read): allow escaping in all strings
14095
14096         * BufferView_pimpl.C (insertAndEditInset): new method.
14097         (Dispatch): use insertAndEditInset whenever appropriate.
14098
14099         * BufferView_pimpl.C (insertNote): removed
14100
14101         * BufferView_pimpl.C (smartQuote): new method, moved from
14102         BufferView; if an insetquote cannot be inserted, insert a '"'
14103         character instead.
14104
14105         * BufferView2.C: remove insertCorrectQuote();
14106
14107         * lyxfunc.C (getStatus): Add support for all remaingin
14108         inset-insert lfuns.
14109
14110         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14111
14112         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14113         command (necessary to pass " as parameter of self-insert.
14114
14115         * text.C (selectWordWhenUnderCursor):
14116         (selectWord): add word_location parameter
14117         (selectWordWhenUnderCursor): same + remove special code for word
14118         boundary.
14119         (selectNextWord): use kind() to guess type of insetspecialchar,
14120         not latex().
14121
14122         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14123         (insertErtContents): create ert insets as collapsed.
14124         (readInset): better compatibility code for Info inset.
14125
14126 2001-07-20  Juergen Vigna  <jug@sad.it>
14127
14128         * lyxfunc.C (dispatch): use always LyXFind now!
14129
14130         * text2.C (init): add a reinit flag so that the LyXText can be
14131         reinited instead of deleted and reallocated (used in InsetText).
14132
14133         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14134
14135         * text.C: ditto
14136
14137         * text2.C: ditto
14138
14139 2001-07-18  Juergen Vigna  <jug@sad.it>
14140
14141         * text.C (selectNextWord): handle insets inside inset by calling
14142         always the bv->text functions so that we can go up the_locking_inset!
14143
14144         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14145         in strange locations when inside an inset!
14146
14147         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14148         handling to include insets.
14149
14150         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14151
14152 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14153
14154         * LyXAction.C (init):
14155         * commandtags.h:
14156         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14157         LIGATURE_BREAK, since the name is so stupid.
14158
14159 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14160
14161         * buffer.C (readInset): enable reading of new InsetNotes as well as old
14162         InsetInfos.
14163
14164         * FontLoader.C: remove FORMS_H_LOCATION cruft.
14165
14166         * sp_form.[Ch]: remove.
14167
14168         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14169
14170         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14171         InsetInfo.
14172
14173         * src/buffer.C (readInset): ditto.
14174
14175 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14176
14177         * BufferView_pimpl.C (specialChar): new method. Obsoletes
14178         menuSeparator(), endOfSentenceDot(), ldots() and
14179         hyphenationPoint(), which are therefore removed.
14180         (Dispatch): handle LFUN_HYPHENATION_BREAK.
14181
14182         * LyXAction.C (init):
14183         * commandtags.h: add LFUN_HYPHENATION_BREAK.
14184
14185         * paragraph.C (getWord): removed.
14186
14187         * BufferView_pimpl.C (Dispatch): use last word or selection for
14188         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14189
14190         * lyx_main.C (queryUserLyXDir): do not ask before creating
14191         user_dir, except if it has been named explicitely.
14192
14193 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14194
14195         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14196         a document of zero size.
14197
14198 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
14199
14200         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14201         approriately in the c-tor and in require().
14202         (getPackages): output the appropriate LaTeX for natbib support.
14203
14204         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14205         variables "use_natbib" and "use_numerical_citations" when reading the
14206         LyX file.
14207         (readInset): read the various natbib cite commands.
14208         (validate): white-space change.
14209
14210         * bufferparams.[Ch]: new variables "bool use_natbib" and
14211         "bool use_numerical_citations".
14212         (writeFile): output them in the LyX file.
14213
14214 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14215
14216         * lyxfunc.C (getStatus): add support for all the inset insertion
14217         commands.
14218
14219         * text2.C (insertInset):
14220         * paragraph.C (insetAllowed):
14221         * BufferView_pimpl.C (insertInset): update to take in account the
14222         renaming of insertInsetAllowed
14223
14224         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14225
14226         * text2.C (getInset): new method. returns inset at cursor position.
14227
14228         * BufferView_pimpl.C (Dispatch): changes because of this.
14229
14230         * LyXAction.C (init): rename open-stuff to inset-toggle.
14231
14232         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14233
14234         * text2.C (toggleInset): renamed from openStuff; use
14235         Inset::open().
14236
14237 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
14238
14239         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14240
14241         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14242
14243 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
14244
14245         * buffer.C (readLyXformat2): Add filename to the error dialog
14246
14247 2001-07-18  Juergen Vigna  <jug@sad.it>
14248
14249         * tabular.C (GetCellNumber): put an assert here instead of the check!
14250
14251 2001-07-17  Juergen Vigna  <jug@sad.it>
14252
14253         * BufferView_pimpl.C (toggleSelection): adapted too.
14254
14255         * text.C (selectNextWord): adapted for use with insets.
14256         (selectSelectedWord): ditto
14257
14258 2001-07-17  Juergen Vigna  <jug@sad.it>
14259
14260         * sp_spell.C (PSpell): fix initialitation order.
14261
14262 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14263
14264         * paragraph.C: spacing
14265
14266 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
14267
14268         * sp_spell.C: repair language selection for pspell
14269
14270 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14271
14272         * lyxfunc.h: change more methods to begin with lower char.
14273
14274 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
14275
14276         * buffer.C (parseSingleLyXformat2Token): Generate error insets
14277         for unknown layouts.
14278
14279 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
14280
14281         * buffer.C (readLyXformat2): Generate an error dialog if there are
14282         unknown layouts.
14283
14284 2001-07-16  Juergen Vigna  <jug@sad.it>
14285
14286         * sp_spell.C: always compile ISpell part.
14287
14288         * lyxrc.C: added use_pspell entry and it's handling.
14289
14290 2001-07-13  Juergen Vigna  <jug@sad.it>
14291
14292         * sp_spell.C: removed double includes.
14293
14294 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
14295
14296         Consistent use of Lsstream.h:
14297         * Lsstream.h: added using std::stringstream for consistencies sake.
14298
14299         * buffer.C: removed using std::stringstream
14300
14301         * lyxfont.C (stateText):
14302         * paragraph.C (asString):
14303         * text.C (selectNextWord, selectSelectedWord):
14304         * text2.C (setCounter):
14305         * vspace.C (asString, asLatexString):
14306         std::ostringstream -> ostringstream.
14307
14308 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14309
14310         * LyXAction.C: add LFUN_HELP_ABOUTLYX
14311         * commandtags.h: add LFUN_HELP_ABOUTLYX
14312         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14313
14314 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14315
14316         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14317         cursorToggle()
14318         * lyx_gui_misc.C: remove spellchecker
14319         * lyxfunc.C: showSpellchecker
14320         * sp_base.h: added
14321         * sp_ispell.h: added
14322         * sp_pspell.h: added
14323         * sp_spell.C: added
14324         * sp_form.[Ch]: removed
14325         * spellchecker.[Ch]: removed
14326
14327 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
14328
14329         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14330         is set.
14331         (simpleTeXSpecialChars): Simply print the input character without
14332         any special translation if pass_thru is set.
14333
14334         * layout.h: Added bool pass_thru to layout class for being able to
14335         implement pass through of a paragraph for Literate Programming.
14336
14337         * layout.C: add LT_PASS_THRU to LayoutTags enum.
14338         * layout.C (LyXLayout): set pass_thru to flase in constructor.
14339         * layout.C (Read): add "passthru" to list of layout tags and add
14340         code to set the pass_thru boolean when it is read.
14341
14342 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14343
14344         * trans_decl.h: remove allowed from KmodInfo
14345
14346         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14347         remove allowed code
14348         (Load): adjust
14349
14350         * paragraph_pimpl.C (erase): use boost::prior
14351
14352         * Painter.C (text): use data() instead of c_str() when length is
14353         also provided.
14354         * WorkArea.C (putClipboard): ditto
14355         * font.h (width): ditto
14356
14357         * BufferView2.C: use it-> instead of (*it). for iterators
14358         * texrow.C: ditto
14359         * paragraph_pimpl.C: ditto
14360         * paragraph.C: ditto
14361         * minibuffer.C: ditto
14362         * language.C: ditto
14363         * kbmap.C: ditto
14364         * encoding.C: ditto
14365         * counters.C: ditto
14366         * converter.C: ditto
14367         * chset.C: ditto
14368         * Variables.C: ditto
14369         * TextCache.C: ditto
14370         * MenuBackend.C: ditto
14371         * LyXAction.C: ditto
14372         * LColor.C: ditto
14373         * FloatList.C: ditto
14374         * DepTable.C: ditto
14375         * ColorHandler.C (LyXColorHandler): ditto
14376
14377 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14378
14379         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14380
14381         * text2.C (openStuff): reintroduce this method (which had been
14382         nuked in NEW_INSETS frenzy).
14383
14384         * lyxfunc.C (Dispatch): when an action has not been handled, use
14385         its name in the error message, not its number.
14386
14387         * paragraph.C (inInset): change method name to begin with lowercase.
14388
14389         * undo_funcs.C:
14390         * text2.C: updates because of this.
14391
14392 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14393
14394         * ToolbarDefaults.C (add): add spaces in error message
14395
14396 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14397
14398         * buffer.C (readLyXformat2): initialize the ert comp. variables.
14399         (readLyXformat2): rename return_par to first_par, use lyxlex's
14400         pushToken and remove the manual push handling.
14401         (parseSingleLyXformat2Token): add another ert comp. variable:
14402         in_tabular, rename return_par to first_par. handle newlines better
14403
14404 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14405
14406         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14407
14408 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14409
14410         * text2.C (getParFromID): removed
14411
14412         * buffer.C (getParFromID): new method moved form lyxtext.
14413         * BufferView2.C (insertErrors): adjust
14414         (setCursorFromRow): adjust
14415         * BufferView_pimpl.C (restorePosition): adjust
14416         * lyxfunc.C (Dispatch): adjust
14417         * undo_funcs.C (textUndo): adjust
14418         (textRedo): adjust
14419         (textHandleUndo): adjust
14420         (textHandleUndo): adjust
14421
14422 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14423
14424         * buffer.C: up' the LYX_FORMAT
14425
14426         * lyxfont.h: turn NO_LATEX on as default
14427
14428         * buffer.C (insertErtContents): new methods of tex style compability.
14429         (parseSingleLyXformat2Token): use it several places.
14430         * tabular.C (OldFormatRead): and here
14431
14432 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14433
14434         * text2.C: remove some commented code.
14435         reindent file.
14436
14437         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14438         * trans.C: changes because of the above.
14439
14440 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
14441
14442         * text2.C (setCounter): Fix counters bug with bibliography layout.
14443
14444 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14445
14446         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14447         own member functions
14448         (simpleTeXSpecialChars): ditto
14449
14450 2001-07-06  Juergen Vigna  <jug@sad.it>
14451
14452         * a lot of files: changed the access to LyXText::status and the
14453         call of undo-functions.
14454
14455         * undo.[Ch]: added a inset_id to the undo informations.
14456
14457         * undo_funcs.[Ch]: added and moved here all undo functions.
14458
14459         * lyxtext.h: give the status enum a weight, made status_ a private
14460         variable and made accessor functions for it, removed the whole bunch
14461         of undo-functions as they are now in their own file, make some
14462         functions publically available. Added function ownerParagraph with
14463         int parameter.
14464
14465         * paragraph.[Ch]: added "bool same_ids" to the constructor,
14466         made InInset() a const function, added getParFromID() function.
14467
14468         * buffer.[Ch]: added const version for inset_iterator functions,
14469         added getInsetFromID() function.
14470
14471         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14472         changed undo functions for new version.
14473
14474 2001-07-05  Juergen Vigna  <jug@sad.it>
14475
14476         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14477         unknow mechanism does not call the proper constructor but only this
14478         one also if I request the other!?
14479
14480 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14481
14482         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14483
14484         * text2.C (LyXText): use initialization lists.
14485
14486         * lyxtext.h (Selection): initialize set_ and mark_
14487         (init): remove method
14488
14489 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
14490
14491         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14492
14493 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14494
14495         * screen.[Ch]: change method names to begin with lowercase
14496
14497         * BufferView_pimpl.C (updateScrollbar): simplify further and
14498         hopefully make it a bit faster.
14499
14500 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14501
14502         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14503         calling directly xforms functions.
14504
14505         * Painter.C (Painter):
14506         * lyx_cb.C (MenuWrite):
14507         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14508         fl_display.
14509
14510         * lyx_gui.C: remove bogus guiruntime extern declaration.
14511
14512 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14513
14514         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14515         in NEW_INSETS
14516         (redoDrawingOfParagraph): ditto
14517         (redoParagraphs): ditto
14518         (cutSelection): don't create a object for CutAndPaste use the
14519         static method directly
14520         (pasteSelection): ditto
14521
14522         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14523         LyXview (+ rename)
14524
14525 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14526
14527         * modifications to some other files because of this.
14528
14529         * Makefile.am (lyx_SOURCES): add XFormsView
14530
14531         * XFormsView.[Ch]: new files
14532
14533         * LyXView.[Ch]: make LyXView a base class for the gui handling for
14534         the main window. Move the gui dependent stuff to XFormsView
14535
14536 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14537
14538         * tabular.C (GetCellInset): update cur_cell also in the row/col
14539         version of this function.
14540
14541         * lyxfunc.C: no need to include figure_form.h here.
14542
14543         * FontLoader.h:
14544         * lyxfunc.h:
14545         * lyxscreen.h:
14546         * text2.C:
14547         * lyxvc.C: no need to include forms.h here.
14548
14549 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14550
14551         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14552
14553         * lyxfunc.C (Dispatch):
14554         * Spacing.C (set):
14555         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14556         constructor argument.
14557
14558 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14559
14560         * paragraph.C (Paragraph): dont't clear, and just set layout.
14561         (makeSameLayout): use params's copy contructor.
14562
14563         * ParagraphParameters.[Ch] (makeSame): delete method
14564
14565 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
14566
14567         * Variables.[Ch]: fix indentation, rename set to isSet
14568
14569 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14570
14571         * lyxfunc.C (Dispatch): fix typo
14572
14573 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14574
14575         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14576         upper_bound.
14577
14578         * bufferlist.C: include assert.h for emergencyWrite().
14579
14580 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14581
14582         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14583           give up at last (bug #425202) !
14584
14585 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
14586
14587         * lyx_gui_misc.C:
14588         * sp_form.h:
14589         * sp_form.C:
14590         * spellchecker.h:
14591         * spellchecker.C: strip spellchecker options and bring up
14592           preferences tab instead
14593
14594 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14595
14596         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14597         the istringstream constructor
14598
14599 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14600
14601         * paragraph.C (getLayout): fix return value
14602
14603         * paragraph.h: do not declare getLayout as inline.
14604
14605         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14606
14607 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14608
14609         * lyxcursor.h (operator<): new func
14610         (operator>): new func
14611         (operator>=): new func
14612         (operator<=): new func
14613
14614         * text.C (changeCase): use selection.start and selection.end
14615         (changeRegionCase): require from to be <= to. Require par to be a
14616         valid paragraph.
14617
14618         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14619
14620 2001-06-27  Juergen Vigna  <jug@sad.it>
14621
14622         * text.C (cursorLeftOneWord): changed to return the cursor and added
14623         overlay with BufferView * parameter which calls this one.
14624         (getWord): added
14625         (selectWord): use new getWord function.
14626         (changeCase): renamed from changeWordCase as and extended to work
14627         also on selections.
14628
14629         * lyxtext.h: added enum word_location
14630
14631         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14632         changeCase as this operates now also on selections.
14633
14634 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
14635
14636         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14637
14638         * many files: send debug output to Debug::INFO instead of
14639         Debug::ANY.
14640
14641         * converter.C (View):
14642         (Convert):
14643         (Move): send debug output to Debug::FILES instead of console.
14644
14645 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
14646
14647         * lyxfunc.C (getStatus): use func_status
14648
14649         * func_status.h: new header, describing the results of
14650         LyXFunc::getStatus;
14651
14652         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14653         LFUN_MATH_HALIGN.
14654
14655 2001-06-25  The LyX Project  <jug@sad.it>
14656
14657         * buffer.C (sgmlOpenTag):
14658         (sgmlCloseTag):
14659         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
14660
14661 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14662
14663         * text2.C: remove some dead code
14664
14665         * tabular.C (GetCellInset): store the last cell checked (gotten)
14666
14667         * tabular.h: add the helper for the speedup
14668
14669         * lyxtext.h: remove some dead code
14670
14671 2001-06-26  The LyX Project  <Asger>
14672
14673         * paragraph.C: Change export to LaTeX of alignment to
14674         \begin{center} and family for better roundtrip work with reLyX.
14675
14676         * Tune the math drawing a bit.
14677
14678 2001-06-25  The LyX Project  <Asger>
14679
14680         * LColor.C (LColor): New color for math background. New color
14681         for buttons.
14682
14683 2001-06-25  The LyX Project  <jug@sad.it>
14684
14685         * lyxfunc.C (MenuNew): remove extra check for .lyx file
14686
14687         * lyxfunc.C (Open):
14688         * bufferlist.C (newFile): do not restrict to files ending with
14689         .lyx
14690
14691         * BufferView_pimpl.C (MenuInsertLyXFile):
14692
14693 2001-06-24  The LyX Project  <jug@sad.it>
14694
14695         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14696         of compare_no_case
14697
14698 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14699
14700         * lyxtext.h: rename most methods to begin with a small char.
14701         Lots of changes because of this.
14702
14703         * paragraph.C (Paragraph): do not call fitToSize
14704         (erase): call Pimpl::erase
14705         (insertChar): call Pimpl::insertChar
14706         (insertInset): call Pipl::insertInset
14707         (breakParagraph): do not call fitToSize
14708         (breakParagraphConservative): do not call fitToSize
14709         (fitToSize): remove method
14710
14711         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14712
14713 2001-06-24  The LyX Project  <Asger>
14714
14715         * Fix Qt compilation^2
14716
14717 2001-06-24  The LyX Project  <jug@sad.it>
14718
14719         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14720         depthHook(getDepth()-1).
14721
14722         * paragraph.h:
14723         * ParagraphParameters.h:
14724         * ParameterStruct.h: change type of depth to unsigned int ==
14725         depth_type. Many adaptations to other files before of that.
14726
14727 2001-06-24  The LyX Project  <Asger>
14728
14729         * Fix Qt compilation.
14730
14731 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14732
14733         * paragraph.h: renamed several methods to begin with small letter.
14734         several changes to many parts of the code because of this.
14735
14736 2001-06-23  The LyX Project  <jug@sad.it>
14737
14738         * text2.C (InsertStringAsLines): renamed from InsertStringA;
14739         rewritten to discard all double spaces when KeepEmpty is off
14740         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14741         to only handle newlines but not fiddle with spaces and friends.
14742
14743         * lyxfunc.C (MenuNew): when doing 'new from template', use
14744         template_path as default directory
14745
14746 2001-06-23  The LyX Project  <Asger>
14747
14748         * Clean-up of header file includes all over
14749         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14750
14751 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14752
14753         * paragraph.h: renamed from lyxparagraph.h
14754
14755 2001-06-23  Asger  <lyx@violet.home.sad.it>
14756
14757         * Buffer.h: Removed Buffer::resize
14758         * BufferList.h: Removed BufferList::resize
14759         * LyXView.h: Added LyXView::resize. This way, we will only reflow
14760         the document lazily when we change the width, or the font settings.
14761
14762 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14763
14764         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14765
14766 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14767
14768         * buffer.h: remove out of date comment
14769
14770 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14771
14772         * lyxscreen.h:
14773         * screen.C: fix "theoretical" GC leak
14774
14775 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14776
14777         * LaTeX.C (scanAuxFile):
14778         (deplog): remove trailing \r when reading stream (useful under
14779         win32)
14780
14781 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
14782
14783         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14784         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14785         and BufferView::theLockingInset(Inset*), so should use them and not
14786         access bv_->text->the_locking_inset directly.
14787
14788         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14789
14790 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14791
14792         * Makefile.am:
14793         * tex-defs.h: remove old unused file
14794
14795 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
14796
14797         * BufferView_pimpl.C: fix typo, remove minibuffer message
14798           when buffer has loaded
14799
14800 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14801
14802         * lyxfunc.C (Dispatch): use stringstream
14803         (MenuNew): use stringstream
14804         (Open): use stringstream
14805
14806         * importer.C (Import): use stringstream
14807
14808         * bufferview_funcs.C (CurrentState): use stringstream
14809
14810         * LaTeX.C (run): use stringstream
14811
14812         * BufferView_pimpl.C (savePosition): use stringstream
14813         (restorePosition): use stringstream
14814         (MenuInsertLyXFile): use stringstream
14815
14816 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
14817
14818         * BufferView.C:
14819         * Bullet.C:
14820         * ColorHandler.C:
14821         * FontInfo.C:
14822         * FontLoader.C:
14823         * LColor.C:
14824         * LaTeXFeatures.C:
14825         * Painter.C:
14826         * gettext.C:
14827         * lyx_gui_misc.C:
14828         * lyxserver.C:
14829         * vspace.C: removed // -*- C++ -*- as first line.
14830
14831         * lyxfind.h:
14832         * version.h: added // -*- C++ -*- as first line.
14833
14834 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14835
14836         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14837
14838         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14839         of string
14840
14841 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14842
14843         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14844         of floats.
14845
14846 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14847
14848         * gettext.C: include LString.h even when --disable-nls is on.
14849
14850 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
14851
14852         * converter.h (Get): changed argument type from int to
14853         FormatList::size_type to avoid unnecessary conversion.
14854
14855         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14856         before using it.
14857
14858 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14859
14860         * gettext.h: include LString.h even when --disable-nls is on.
14861
14862 2001-06-07  Juergen Vigna  <jug@sad.it>
14863
14864         * text.C (BreakAgain): subst spaces with tabs.
14865
14866         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14867         (resizeInsetsLyXText): set force on resizeLyXText.
14868
14869 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14870
14871         * gettext.h (gettext_init):
14872         (locale_init): use a real definition instead of a macro
14873
14874 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14875
14876         * Bufferview_pimpl.C:
14877         * LColor.h:
14878         * LColor.C: further lcolor tidies
14879
14880 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14881
14882         * BufferView_pimpl.C (updateScrollbar): simplify.
14883
14884         * BufferView2.C: don't include insets/insetinfo.h, change
14885         prototype for insertInset and call the Pimpl version. let
14886         updateInset call Pimpl version.
14887
14888         * BufferView.h: move inset_slept to BufferView::Pimpl, move
14889         gotoInset to BufferView::Pimpl
14890
14891 2001-06-01  Juergen Vigna  <jug@sad.it>
14892
14893         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14894         inside a LockingInset (is the update needed at all?).
14895
14896 2001-05-31  Juergen Vigna  <jug@sad.it>
14897
14898         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14899         here not the old one otherwise how should we compare it afterwards
14900         if it's the same!
14901
14902 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14903
14904         * lyxfont.C:
14905         * tabular.C:
14906         * tabular-old.C:
14907         * FontInfo.C: bring C functions into global namespace when
14908         necessary
14909
14910 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14911
14912         * LString.h: make sure config.h has been loaded before LString.h.
14913
14914         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14915         (one for each char read by EatLine!).
14916
14917         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14918         variables.
14919
14920 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14921
14922         * paragraph.C (BreakParagraph): set the inset_owner in the new par
14923         to the same as the par we break from
14924
14925 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14926
14927         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14928
14929         * MenuBackend.C (expand): also create menu entries for wide
14930         versions of the floats.
14931
14932         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14933
14934         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14935
14936         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14937         frontends/Makefile.am
14938
14939         * text2.C: adjust
14940         * text.C: adjust
14941
14942
14943         * tabular.C (getTokenValue): add std::
14944
14945         * tabular-old.C (getTokenValue): add std::
14946         (getTokenValue): ditto
14947         (getTokenValue): ditto
14948
14949         * screen.C (ToggleSelection): adjust
14950
14951         * lyxtext.h: put selection cursors inside a Selection struct.
14952
14953         * lyxfunc.C (moveCursorUpdate): adjust
14954
14955         * lyxfont.C (latexWriteStartChanges): add std::
14956
14957         * lyxfind.C: adjust
14958
14959         * font.h: delete with(char const *, LyXFont const &)
14960
14961         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14962
14963         * FontInfo.C (getFontname): add std::
14964
14965         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14966         (workAreaButtonPress): adjust
14967         (tripleClick): adjust
14968         (update): adjust
14969         (moveCursorUpdate): adjust
14970         (Dispatch): adjust
14971
14972         * BufferView2.C (gotoInset): adjust
14973
14974 2001-05-30  Juergen Vigna  <jug@sad.it>
14975
14976         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14977         to check pspell I add this as default as I now have new pspell
14978         libraries and they seem to use this.
14979
14980 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14981
14982         * text2.C (CutSelection): make the cursor valid before the call to
14983         ClearSelection.
14984
14985 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14986
14987         * kbsequence.C (parse): de-uglify a bit the parsing code, which
14988         relied on 0 terminated strings and other horrors. Bug found due to
14989         the new assert in lyxstring!
14990
14991         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14992         KP_ keys.
14993
14994 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14995
14996         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14997         to latinkeys.bind.
14998
14999         * lyxfunc.C (processKeySym): change method of getting to the
15000         self-insert char.
15001
15002         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15003         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15004         * BufferView_pimpl.[Ch]: here as private methods.
15005
15006 2001-05-28  Juergen Vigna  <jug@sad.it>
15007
15008         * text.C (SetHeightOfRow): added the update() call again as it is
15009         needed to initialize inset dimensions!
15010
15011 2001-05-16  Juergen Vigna  <jug@sad.it>
15012
15013         * text2.C (SetCharFont): Add new function with BufferView * and
15014         bool toggleall parameters for setting insets internal fonts.
15015         (SetFont): Freeze the undo as we may change fonts in Insets and
15016         all this change should be inside only one Undo!
15017
15018         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15019         setting font's in insets as for them we have the SetFont function!
15020
15021 2001-05-15  Juergen Vigna  <jug@sad.it>
15022
15023         * text2.C (ClearSelection): to be sure we REALLY don't have any
15024         selection anymore!
15025
15026         * tabular.C (TeXCellPreamble): fixed the left border problem for
15027         multicolumn cells.
15028
15029 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
15030
15031         * LaTeX.C (deplog): Make sure that the main .tex file is in the
15032         dependancy file
15033
15034 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15035
15036         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15037         LFUN_BREAKPARAGRAPH.
15038
15039         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15040         help test to "internal only", similar for LFUN_INSERT_URL
15041
15042         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15043         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15044         auto_region_delete and deadkeys.
15045
15046 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
15047
15048         * LColor.h:
15049         * LColor.C: remove some dead entries, tidy a little
15050
15051 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15052
15053         * lyxfunc.C (processKeySym): comment the Escape handling, remove
15054         commented code.
15055         (Dispatch): implement LFUN_ESCAPE
15056
15057         * commandtags.h: add LFUN_ESCAPE
15058
15059         * LyXAction.C (init): add entry for LFUN_ESCAPE
15060
15061         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15062         Remove commented code.
15063         (insertNote): moved here
15064         (open_new_inset): moved here
15065
15066         * BufferView[2].[Ch]: move insertNote and open_new_inset to
15067         BufferView_pimpl
15068
15069 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15070
15071         * kbmap.C (findbinding): clean it up and make it work correctly.
15072
15073         * lyx_main.C (init): do not pass argc and argv as parameters
15074
15075 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
15076
15077         * buffer.C: fix path for OS/2 & Win32
15078
15079         * lyx_gui.C:
15080         * lyx_main:
15081         * lyx_main.C: Added os:: class.
15082
15083         * os2_defines.h: update
15084
15085 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15086
15087         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15088         better by trying again with reduced state.
15089
15090 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15091
15092         * lyxrc.C (read): print error about invalid key sequence only when
15093         debugging (because not all latinX keysyms are known to some X
15094         servers)
15095
15096         * kbsequence.C (getiso): add a few std:: qualifiers
15097         (getiso): comment out extra return statement.
15098
15099 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15100
15101         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15102         handling.
15103         (Dispatch): enhance the accent inset a bit. (not perfect)
15104
15105 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15106
15107         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15108
15109 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15110
15111         * bufferlist.C (emergencyWrite): fix assert() call
15112
15113 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
15114
15115         * text.C (InsertChar): Added trivial patch to only send the "you
15116         can not do multiple spaces this way" message once during a
15117         session.
15118
15119 2001-05-08  Baruch Even  <baruch@lyx.org>
15120
15121         * Makefile.am: Changed order of libraries to get LyX to link properly
15122         with the gnome frontend.
15123
15124 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15125
15126         * LaTeXFeatures.h: add a std:: qualifier
15127
15128 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15129
15130         * paragraph.C (String): use stringstream
15131
15132 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15133
15134         * paragraph.C (writeFile): remove footflag arg
15135
15136         * buffer.C (makeLaTeXFile): use stringstream
15137         (latexParagraphs): remove footnot gurba
15138
15139         * LaTeXFeatures.C (getPackages): use stringstream
15140         (getMacros): likewise
15141         (getTClassPreamble): likewise
15142         (getFloatDefinitions): new method
15143
15144         * paragraph.C (writeFile): reindent
15145         (Erase): reindent
15146
15147         * WorkArea.h: revert the xpos + etc changes.
15148
15149         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15150
15151         * lyxparagraph.[Ch]: add copy constructor, remove Clone
15152
15153         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15154         (pasteSelection): likewise
15155         * text2.C (CreateUndo): likewise
15156
15157 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15158
15159         * minibuffer.C (peek_event): temporarily reduce the functionality
15160         of the minibuffer (to allow args on lfuns)
15161
15162         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15163         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15164
15165         * buffer.C (readInset): add compability reading of old float
15166         lists, add reading of new style float list.
15167         (readInset): avoid reevaluation of inscmd.getCmdName()
15168         (getLists): reindent
15169
15170         * MenuBackend.C (MenuItem): implement parsing of
15171         md_floatlistinsert and md_floatinsert.
15172         (expand::LastFiles): move initalizaton of iterators out of loop,
15173         avoid reevaluation.
15174         (expand::Documents): introduce typdedef vector<string> Strings,
15175         and use it.
15176         (expand::ExportFormats): introduce typedef vector<Format const *>
15177         Formats, and use it.
15178         (expand): implement FloatListInsert and FloatInsert.
15179
15180         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15181         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15182         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15183
15184         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15185         handling.
15186         (Dispatch::LFUN_FLOAT_LIST): implement
15187
15188 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15189
15190         * LaTeX.C (run): Fix problem with --export code.
15191
15192 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15193
15194         * BufferView.[Ch] (workarea): removed.
15195         (getClipboard) new method; wrapper for workarea()->getClipboard()
15196
15197         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15198         bug.
15199
15200         * WorkArea.h (width, height, xpos, ypos): These methods all
15201         returned the dimensions of the work_area sub-area of WorkArea,
15202         resulting in a position error if the WorkArea were resized. Now
15203         return the dimensions of the entire WorkArea.
15204
15205         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15206
15207 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15208
15209         * LaTeX.C (deplog): correct the syntax of regex reg1
15210
15211 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15212
15213         * undo.C: remove !NEW_INSETS cruft
15214
15215 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15216
15217         * text2.C: remove !NEW_INSETS cruft
15218
15219         * text.C: remove !NEW_INSETS cruft
15220
15221         * tabular.C: remove !NEW_INSETS cruft
15222
15223         * spellchecker.C: remove !NEW_INSETS cruft
15224
15225         * lyxtext.h: remove !NEW_INSETS cruft
15226
15227         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15228
15229         * lyxfunc.C: remove !NEW_INSETS cruft
15230
15231         * lyxfind.C: remove !NEW_INSETS cruft
15232
15233         * lyx_cb.C: remove !NEW_INSETS cruft
15234
15235         * figureForm.C: remove  !NEW_INSETS cruft
15236
15237         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15238
15239         * buffer.[Ch]: remove !NEW_INSETS cruft
15240
15241         * ToolbarDefaults.C: remove !NEW_INSETS cruft
15242
15243         * CutAndPaste.C: remove !NEW_INSETS cruft
15244
15245         * BufferView_pimpl.C: remove !NEW_INSETS cruft
15246
15247         * BufferView2.C: remove !NEW_INSETS cruft
15248
15249         * BufferView.h: remove !NEW_INSETS cruft
15250
15251 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15252
15253         * Lsstream.h: include LString.h before the sstream headers to
15254         fix problem with gcc 2.95.3 and lyxstring
15255
15256 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15257
15258         * lyx_main.C: add using directives when needed for C functions
15259         declared in std:: namespace.
15260
15261 2001-04-27  Juergen Vigna  <jug@sad.it>
15262
15263         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15264         (SetHeightOfRow): comment out the update call should not be needed!
15265
15266 2001-04-13  Juergen Vigna  <jug@sad.it>
15267
15268         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15269         (LyXTabular): tried to minimize operator= operations (and realized
15270         hopfully Lars wish).
15271
15272 2001-04-27  Juergen Vigna  <jug@sad.it>
15273
15274         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15275
15276 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15277
15278         * lyxfunc.C (Dispatch): hack to make listof algorithm work
15279
15280         * buffer.C (readInset): hack to make listof algorithm work
15281
15282         * BufferView_pimpl.C: hack to make listof algorithm work
15283
15284 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15285
15286         * LyXAction.C: removed all !NEW_INSETS cruft
15287         (init): moved lfun_item in method
15288
15289         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15290
15291 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15292
15293         * BufferView2.C (theLockingInset): white space.
15294
15295 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15296
15297         * minibuffer.C: include <iostream>
15298
15299         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15300
15301         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15302
15303         * commandtags.h: add LFUN_TRANSPOSE_CHARS
15304
15305         * text.[Ch] (TransposeChars): new method
15306
15307 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15308
15309         * call message directly through LyXView instead of through LyXFunc
15310         * BufferView2.C: adjust
15311         * BufferView_pimpl.C: adjust
15312         * FontLoader.C: adjust
15313         * buffer.C: adjust
15314         * bufferview_funcs.C: adjust
15315         * converter.C: adjust
15316         * figureForm.C: adjust
15317         * importer.C: adjust
15318         * lyx_cb.C: adjust
15319         * lyx_gui_misc.C: adjust
15320         * lyxfunc.C: adjust
15321         * lyxvc.C: adjust
15322         * text2.C: adjust
15323         + more files in subdirs
15324
15325         * lyxparagraph.h (size): move up int file
15326         (GetLayout): ditto
15327
15328         * adjust all uses of Assert to lyx::Assert.
15329
15330         * BufferView2.C (ChangeCitationsIfUnique): adjust for
15331         lyxfunctional in namespace lyx
15332         * layout.C (hasLayout): ditto
15333         (GetLayout): ditto
15334         (GetLayout): ditto
15335         (delete_layout): ditto
15336         (NumberOfClass): ditto
15337         * converter.C (GetFormat): ditto
15338         (GetNumber): ditto
15339         (Add): ditto
15340         (Delete): ditto
15341         (SetViewer): ditto
15342         * bufferlist.C (getFileNames): ditto
15343         (emergencyWriteAll): ditto
15344         (exists): ditto
15345         (getBuffer): ditto
15346         * MenuBackend.C (hasSubmenu): ditto
15347         (hasMenu): ditto
15348         (getMenu): ditto
15349         * BufferView_pimpl.C (getInsetByCode): ditto
15350
15351 2001-04-18  Juergen Vigna  <jug@sad.it>
15352
15353         * vspace.C (asLatexString): fixed the 100% problem.
15354
15355 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15356
15357         * lyxfunc.C (Dispatch):
15358         * minibuffer.C:
15359         * minibuffer.h: add a few std:: qualifiers
15360
15361 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15362
15363         * minibuffer.[Ch]: reimplement so that commands is initiated and
15364         run from lyxfunc, simplified som handling, and made the completion
15365         and history code for complete. wip.
15366
15367         * lyxfunc.C (processKeySym): call message
15368         (miniDispatch): new temporary method
15369         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15370         (LFUN_MESSAGE): implement
15371         (LFUN_MESSAGE_PUSH): implement
15372         (LFUN_MESSAGE_POP): implement
15373         (initMiniBuffer): the initial/defualt minibuffer message.
15374
15375         * lyxfont.[Ch]: inline some more getters
15376
15377         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15378
15379         * lyx_gui_misc.[Ch] (WriteStatus): remove method
15380
15381         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15382         (AutoSave): use LFUN_MESSAGE
15383         (Reconfigure): ditto
15384
15385         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15386
15387         * figureForm.C: use LFUN_MESSAGE
15388
15389         * converter.C (runLaTeX): use LFUN_MESSAGE
15390
15391         * bufferview_funcs.C: use LFUN_MESSAGE
15392         (Melt): ditto
15393         (changeDepth): ditto
15394
15395         * bufferparams.h: use boost::
15396
15397         * bufferlist.h: inherit privately from noncopyable
15398
15399         * bufferlist.C (loadLyXFile): remove some commented code.
15400
15401         * buffer.C (runChktex): use LFUN_MESSAGE
15402
15403         * ShareContainer.h: inherit privately from noncopyable
15404
15405         * ParagraphParameters.[hC] (depth): inline it.
15406
15407         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15408         methods.
15409         (message): new method
15410         (messagePush): ditto
15411         (messagePop): ditto
15412         (show): init minibuffer
15413         (showState): direct call
15414
15415         * LaTeX.[Ch]: inherit privately from noncopyable
15416         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15417         instead of WriteStatus.
15418
15419         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15420
15421         * BufferView_pimpl.C (buffer): don't init minibuffer
15422         (workAreaButtonPress): use LFUN_MESSAGE
15423         (workAreaButtonRelease): ditto
15424         (savePosition): ditto
15425         (restorePosition): ditto
15426         (MenuInsertLyXFile): ditto
15427         (workAreaExpose): don't init minibuffer
15428         (update): remove commented code, simplify
15429
15430         * BufferView2.C (openStuff): use LFUN_MESSAGE
15431         (toggleFloat): ditto
15432         (menuUndo): ditto
15433         (menuRedo): ditto
15434         (copyEnvironment): ditto
15435         (pasteEnvironment): ditto
15436         (copy): ditto
15437         (cut): ditto
15438         (paste): ditto
15439         (gotoInset): ditto
15440         (updateInset): remove some commented code
15441
15442         * lastfiles.h: inherit privately from noncopyable
15443         * layout.h: ditto
15444         * lyx_gui.h: ditto
15445         * lyx_main.h: ditto
15446         * lyxlex.h: ditto
15447         * lyxlex_pimpl.h: ditto
15448
15449         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15450         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15451         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15452
15453         * LyXAction.h: inherit privately from noncopyable, add methods
15454         func_begin, func_end, returning iterators to the func map.
15455
15456         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15457         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15458         (func_begin): new method
15459         (func_end): new method
15460
15461         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15462         and not)
15463         (copySelection): ditto
15464         (pasteSelection): ditto
15465
15466         * BufferView.C: whitespace change
15467         * BufferView.h: inherit privately from noncopyable
15468
15469 2001-04-16  Allan Rae  <rae@lyx.org>
15470
15471         * tabular-old.C (l_getline):
15472         * spellchecker.C (sc_check_word):
15473         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15474         an unrecognised preprocessor directive.  So ensure they're wrapped.
15475
15476 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
15477
15478         * src/exporter.C (Export): Give an error message when path to file
15479         contains spaces.
15480
15481 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
15482
15483         * LaTeX.C (deplog): Always check that foundfile exists.
15484
15485 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15486
15487         * lyx_main.h:
15488         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15489
15490 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15491
15492         * tabular.[Ch] (getLabelList): implement new method
15493
15494         * minibuffer.h: comment ouf setTiimer
15495
15496         * minibuffer.C (ExecutingCB): constify res
15497         (peek_event): constify s
15498         (Set): constify ntext
15499         (Init): constify nicename
15500
15501         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15502
15503         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15504         (savePosition): use two params to Minibuffer::Set
15505         (restorePosition): ditto
15506
15507 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15508
15509         * lyx_main.C: include language.h
15510
15511         * Makefile.am (lyx_main.o): add language.h
15512
15513 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15514
15515         * exporter.C:
15516         * paragraph.C:
15517         * screen.C:
15518         * tabular.C:
15519         * CutAndPaste.C: include gettext.h
15520
15521         * lyxfont.h: remove old hack with ON and OFF.
15522
15523         * lyxparagraph.h:
15524         * lyxfont.h: do not include language.h...
15525
15526         * BufferView2.C:
15527         * LaTeXFeatures.C:
15528         * Painter.C:
15529         * bufferview_funcs.C:
15530         * font.C:
15531         * lyxfont.C:
15532         * text.C:
15533         * text2.C:
15534         * trans_mgr.C:
15535         * paragraph.C: ... but do it here instead
15536
15537 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15538
15539         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15540
15541         * tabular.C: small reformat
15542
15543         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15544         NEW_INSETS version
15545         (GetChar): ditto
15546         (BreakParagraph): ditto
15547         (SetOnlyLayout): ditto
15548         (SetLayout): ditto
15549
15550         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15551         with one arg less.
15552
15553         * lastfiles.C: removed most using decl, add std:: where needed
15554
15555         * buffer.C: ws changes
15556
15557         * MenuBackend.C (class compare_format): put into anon namespace
15558         (expand): constify label, names, action, action2
15559         (expand):
15560
15561         * text.C (SingleWidth): constify font
15562         (IsBoundary): constify rtl2
15563         (GetVisibleRow): constify ww
15564
15565         * LaTeX.C (deplog): constify logfile
15566
15567         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15568         start_x, end_x
15569         (workAreaExpose): constify widthChange, heightChange
15570
15571         * lyxrow.C (par): moved
15572         (height): moved
15573         (next): moved
15574         * lyxrow.h: as inlines here
15575
15576         * lyxfont.h (shape): moved from lyxfont.C
15577         (emph): moved from lyxfont.C
15578
15579         * lyxfont.C (LyXFont): use initialization list for all
15580         constructors
15581         (shape): move to lyxfont.h as inline
15582         (emph): move to lyxfont.h as inline
15583
15584
15585 2001-04-04  Juergen Vigna  <jug@sad.it>
15586
15587         * vspace.C: had to include stdio.h for use of sscanf
15588
15589 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
15590
15591         * BufferView.h:
15592         * BufferView_pimpl.h: remove xforms cruft. Both classes are
15593         independent of xforms.
15594
15595 2001-04-02  Juergen Vigna  <jug@sad.it>
15596
15597         * spellchecker.C: fixed namespace placing!
15598
15599 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
15600
15601         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15602         the LyXParagraph * is 0.
15603
15604 2001-03-29  Juergen Vigna  <jug@sad.it>
15605
15606         * vspace.C: added support for %, c%, p%, l%.
15607         (stringFromUnit): added helper function.
15608         (asLatexString): changed to give right results for the %-values.
15609
15610         * buffer.C: convert the widthp in a width%.
15611
15612 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
15613
15614         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15615         figureForm.[Ch].
15616
15617         * figureForm.[Ch]: stripped the FD_from_figure manipulation
15618         code out of lux_cb.[Ch], ready for its (imminent?) removal.
15619
15620         * lyx_cb.[Ch]: see above.
15621
15622         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15623         form1.[Ch].
15624
15625         * form1.[Ch]:
15626         * lyx.[Ch]: replaced by figure_form.[Ch].
15627
15628         * lyx_gui.C:
15629         * lyx_gui_misc.C:
15630         * lyxfunc.C: changed headers associated with above changes.
15631
15632 2001-03-27  Juergen Vigna  <jug@sad.it>
15633
15634         * BufferView_pimpl.C: set the temporary cursor right!
15635
15636 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
15637
15638         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15639
15640 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
15641
15642         * LString.h: removed "using std::getline"!
15643
15644         * BufferView_pimpl.C (Dispatch): changes due to changes in
15645         InsetInclude::Params.
15646
15647         * buffer.C (tag_name): removed redundant break statements as they were
15648         producing lots of warnings with my compiler.
15649
15650 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15651
15652         * LString.h: add "using std::getline" when using the real <string>.
15653
15654 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
15655
15656         * buffer.C: removed bitset usage.
15657         PAR_TAG moved to an anonymous name space.
15658         (tag_name): new funtion, also in the anonymous namespace.
15659         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15660         (makeDocBookFile): clean code. Completed transition from string arrays
15661         to string vectors.
15662         (SimpleDocBookOnePar): code clean.
15663
15664 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15665
15666         * tabular.C: add some comments.
15667
15668 2001-03-22  Juergen Vigna  <jug@sad.it>
15669
15670         * buffer.C (parseSingleLyXformat2Token): redone the minipage
15671         compatibility read a bit and fixed bug with minipage in different
15672         depth.
15673
15674 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
15675
15676         * buffer.C (pop_tag): removed.
15677         (push_tag): removed.
15678         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15679         array replaced with vector. Added support for CDATA sections.
15680         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15681         at any nest level.
15682         (makeDocBookFile): XML conformant declaration of CDATA section,
15683         fixed bug related to <emphasis> in the first paragraph char.
15684         (sgmlOpenTag): exclude empty tags.
15685         (sgmlCloseTag): ditto.
15686
15687         * buffer.h (pop_tag): removed.
15688         (push_tag): removed.
15689
15690 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
15691
15692         * language.h (Languages): added size_type and size().
15693
15694 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15695
15696         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15697         response on compability reading of minipages. One probliem is that
15698         the old usage of minipages was «flertydig»
15699
15700         * several files here and in subdirs: don't use static at file
15701         scope use anon namespaces instead.
15702
15703 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
15704
15705         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15706         LaTeX output. This is necessary for Literate document
15707         processing.
15708
15709 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15710
15711         * buffer.C: insert hfill when needed.
15712
15713         * tabular.C (l_getline): use string::erase, small whitespace change.
15714
15715         * BufferView_pimpl.C: try the anon namespace.
15716         * WorkArea.C: ditto
15717
15718 2001-03-16  Juergen Vigna  <jug@sad.it>
15719
15720         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15721         otherwise it won't open options-dialogs.
15722
15723         * buffer.C: honor pextraWidth(p) on converting minipages.
15724
15725         * tabular.C (l_getline): changed the functions to strip trailing \r.
15726
15727 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
15728
15729         * BufferView_pimpl.C:
15730         * minibuffer..C: added "using SigC::slot" declaration.
15731
15732 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15733
15734         * lyxlex_pimpl.h: noncopyable is in namespace boost.
15735
15736         * text2.C: ditto
15737
15738         * text.C: ditto
15739
15740         * paragraph.C: ditto
15741
15742         * lyxtext.h: NO_PEXTRA
15743
15744         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15745
15746         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15747         * ParameterStruct.h: ditto
15748         * ParagraphParameters.h: ditto
15749         * lyxparagraph.h: ditto
15750
15751 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15752
15753         * buffer.C: add compability for minipage alignment.
15754         (latexParagraphs): remove unwanted pextra check.
15755
15756         * several files: remove CXX_WORKING_NAMESPACES
15757
15758         * buffer.C (pop_tag): tie is in namespace boost
15759
15760         * BufferView.h: noncopyable is in namespace boost
15761         * lyxlex.h: ditto
15762         * lyx_main.h: ditto
15763         * lyx_gui.h: ditto
15764         * layout.h: ditto
15765         * lastfiles.h: ditto
15766         * bufferlist.h: ditto
15767         * ShareContainer.h: ditto
15768         * LyXView.h: ditto
15769         * LyXAction.h: ditto
15770         * LaTeX.h: ditto
15771
15772 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15773
15774         * Merging changes from BRANCH_MVC back into HEAD.
15775
15776         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15777
15778 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
15779
15780         * BufferView_pimpl.C: change from intl.C
15781
15782         * combox.h:
15783         * combox.C:
15784         * Makefile.am: move combox.*
15785
15786         * form1.h:
15787         * form1.C:
15788         * lyx_gui.C:
15789         * intl.h:
15790         * intl.C: remove dialog (covered by prefs)
15791
15792 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15793
15794         * lyxfunc.C (Dispatch): removed redundant break statement.
15795
15796 2001-03-14  Juergen Vigna  <jug@sad.it>
15797
15798         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15799
15800 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15801
15802         * buffer.C: add hack to fix compability reading of minipages.
15803
15804 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
15805
15806         * buffer.C (getLists): Cleanup.
15807
15808 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15809
15810         * lyxfont.C (update): don't honor toggleall on font size.
15811
15812 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
15813
15814         * bmtable.c:
15815         * bmtable.h:
15816         * Makefile.am: moved to frontends/xforms/
15817
15818         * lyx_gui_misc.C:
15819         * lyxfunc.C:
15820         * BufferView_pimpl.C: changes for moved mathpanel
15821
15822 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15823
15824         * gettext.h: fix gettext_init() in --disable-nls
15825
15826 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15827
15828         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15829
15830 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
15831
15832         * lyx.C:
15833         * lyx.h: strip external form
15834
15835 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15836
15837         * BufferView_pimpl.C: add comment, destroySplash()
15838
15839 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15840
15841         * BufferView_pimpl.C:
15842         * LyXAction.C:
15843         * buffer.C:
15844         * commandtags.h:
15845         * lyxfunc.C: use re-worked insetinclude
15846
15847 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15848
15849         * buffer.C: add using std::stringstream.
15850
15851         * lyx_cb.C: readd using std::ios.
15852
15853         * buffer.C: add using std::map.
15854
15855         * BufferView_pimpl.C: add using std::vector.
15856
15857         * ShareContainer.h: add std:: to swap.
15858
15859         * buffer.h: add some typedefs
15860         * buffer.C (getLists): use them
15861         (getLists): renamed from getTocList.
15862         add a counter for the different float types and use it in the
15863         generated string.
15864         (getLists): use the same counter for the NEW_INSETS and the "non"
15865         NEW_INSETS
15866
15867         * lyx_cb.h: remove unused items, includes, using etc.
15868
15869         * ShareContainer.h: remove some commented code, add more comments
15870         and "documentation".
15871
15872 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15873
15874         * buffer.C (getTocList): make the list also when NEW_INSETS is
15875         defined.
15876
15877         * buffer.h: remove TocType
15878
15879         * buffer.C (getTocList): change to return a map<string,
15880         vector<TocItem> >, implement for dynamic number of list.
15881
15882         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15883         * text2.C (PasteSelection): adjust
15884         * CutAndPaste.C (pasteSelection): adjust
15885
15886         * FloatList.C (FloatList): update from the new_insets branch.
15887         * Floating.[Ch]: ditto
15888         * LaTeXFeatures.C: ditto
15889         * buffer.C: ditto
15890         * lyxlex_pimpl.C: ditto
15891
15892         * paragraph.C (Last): remove when NEW_INSETS is defined.
15893
15894         * other file: changes because of the above.
15895
15896 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15897
15898         * lyxparagraph.h: rename next to next_, previous to previous_,
15899         make them private for NEW_INSETS. Rename Next() to next(),
15900         Previous() to previous().
15901
15902         * other files: changes because of the above.
15903
15904 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
15905
15906         * BufferView.h:
15907         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15908         problem.
15909
15910 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15911
15912         * main.C (main): pass lyx_localedir to gettext_init().
15913
15914         * gettext.h: remove locale_init and gettext_init macros
15915
15916         * gettext.C (locale_init): new function
15917         (gettext_init): new function
15918
15919         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15920         setlocale().
15921
15922 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
15923
15924         * Moved credits to frontends:
15925         * credits.[Ch]: removed
15926         * credits_form.[Ch]: removed
15927         * lyx_gui_misc.C: remove credits stuff
15928         * Makefile.am:
15929
15930 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15931
15932         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15933
15934         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15935         unneeded destructor.
15936
15937         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15938         a standalone pointer again.
15939
15940         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15941
15942 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
15943
15944         * Makefile.am:
15945         * filedlg.h:
15946         * filedlg.C:
15947         * LyXAction.C:
15948         * ToolbarDefaults.C:
15949         * bufferlist.C:
15950         * commandtags.h:
15951         * form1.C:
15952         * form1.h:
15953         * lyx_cb.C:
15954         * lyx_cb.h:
15955         * lyxfunc.h:
15956         * lyxfunc.C:
15957         * BufferView_pimpl.C: use new file dialog in GUII
15958
15959         * lyx_cb.h:
15960         * lyx_cb.C: remove LayoutsCB to Toolbar
15961
15962 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15963
15964         * ShareContainer.h (get): add std:: qualifier
15965
15966 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15967
15968         * ShareContainer.h: define a proper ShareContainer::value_type
15969         type (and use typename to please compaq cxx)
15970
15971 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15972
15973         * lyxparagraph.h: move serveral local vars to
15974         ParameterStruct/ParagraphParameters., use ShareContainer in
15975         FontTable., make vars in FontTable private and add getter and
15976         setter.
15977
15978         * paragraph.C: changes because of the above.
15979
15980         * lyxfont.h: remove copy constructor and copy assignment. (the
15981         default ones is ok), move number inside FontBits. move inlines to
15982         lyxfont.C
15983
15984         * lyxfont.C: add number to initializaton of statics, move several
15985         inlines here. constify several local vars. some whitespace
15986         cleanup. Dont hide outerscope variables.
15987
15988         * Spacing.h: add two new constructors to match the set methods.
15989
15990         * ShareContainer.h: new file, will perhaps be moved to support
15991
15992         * ParameterStruct.h: new file
15993
15994         * ParagraphParameters.h: new file
15995
15996         * ParagraphParameters.C: new file
15997
15998         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15999         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16000
16001         * BufferView_pimpl.C: ParagraphParameter changes.
16002         * buffer.C: Likewise.
16003         * bufferview_funcs.C: Likewise.
16004         * text.C: Likewise.
16005         * text2.C: Likewise.
16006
16007 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16008
16009         * lyxfind.C (LyXReplace): do not redefine default argument in
16010         implementation.
16011         (IsStringInText): ditto
16012         (SearchForward): ditto
16013         (SearchBackward): ditto
16014
16015 2001-03-06  Juergen Vigna  <jug@sad.it>
16016
16017         * lyxfind.C (IsStringInText): put parentes around expressions.
16018
16019 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
16020
16021         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16022
16023 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
16024
16025         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16026
16027         * stl_string_fwd.h: add comment
16028
16029         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16030
16031         * tabular.h:
16032         * tabular.C: remove unused DocBook methods
16033
16034         * intl.C:
16035         * language.C:
16036         * paragraph.C:
16037         * buffer.C:
16038         killed DO_USE_DEFAULT_LANGUAGE
16039
16040 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16041
16042         * lyx_gui.C: do not include language.h.
16043
16044         * bufferview_funcs.C (ToggleAndShow): do not provide optional
16045         arguments in function implementation.
16046
16047 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16048
16049         * BufferView_pimpl.C: add <ctime>
16050
16051 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16052
16053         * BufferView_pimpl.C: add using std::find_if
16054
16055 2001-02-27  José Matos  <jamatos@fep.up.pt>
16056
16057         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16058         by OnlyPath.
16059
16060 2001-02-11  José Matos  <jamatos@fep.up.pt>
16061
16062         * buffer.C (makeDocBookFile): command styles now have a parameter as
16063         "title" by default.
16064
16065 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
16066
16067         * layout_forms.[Ch]: removed
16068         * lyx_cb.[Ch]: out character
16069         * lyx_gui.C: out character
16070         * lyx_gui_misc.C: out character
16071         * bufferview_funcs.C: : out character,
16072         added toggleall as parameter in ToggleAndShow
16073
16074 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
16075
16076         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16077
16078         * text2.C (SetCurrentFont): Disable number property at boundary.
16079
16080 2001-02-26  Juergen Vigna  <jug@sad.it>
16081
16082         * lyxfunc.C (getStatus): added a string argument override function so
16083         that this is correctly called from LyXFunc::Dispatch if it contains a
16084         do_not_use_argument which is used!
16085         (Dispatch): added check for "custom" export and call appropriate func.
16086
16087 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
16088
16089         * lyxrc.C: Add language_command_local, language_use_babel and
16090         language_global_options.
16091
16092         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16093
16094         * buffer.C (makeLaTeXFile): Use language_use_babel and
16095         language_global_options.
16096
16097 2001-02-23  Juergen Vigna  <jug@sad.it>
16098
16099         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16100         which works with LyXText and putted it inside BufferView. Here now we
16101         only call for that part the BufferView::Dispatch() function.
16102
16103         * BufferView.C (Dispatch): added.
16104
16105         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16106         functions which needs to use a LyXText over from LyXFunc.
16107         (MenuInsertLyXFile): added
16108         (getInsetByCode): added
16109         (moveCursorUpdate): added
16110         (static TEXT): added
16111
16112 2001-02-22  Juergen Vigna  <jug@sad.it>
16113
16114         * BufferView_pimpl.C (update): call a status update to see if LyXText
16115         needs it.
16116
16117 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16118
16119         * vc-backend.C (revert): implement for CVS
16120         (getLog): implement for CVS
16121
16122 2001-02-20  Juergen Vigna  <jug@sad.it>
16123
16124         * text2.C (ClearSelection): added BufferView param for inset_owner call
16125
16126         * lyxfunc.C (TEXT): added this function and use it instead of
16127         directly owner->view()-text of getLyXText().
16128
16129 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
16130
16131         * src/layout_forms.C: out preamble
16132         * src/layout_forms.h: out preamble
16133         * src/lyx_cb.C: out preamble
16134         * src/lyx_cb.h: out preamble
16135         * src/lyx_gui.C: out preamble
16136         * src/lyx_gui_misc.C: out preamble
16137         * src/lyxfunc.C: connect with guii preamble
16138
16139 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
16140
16141         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16142
16143 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
16144
16145         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16146         whether to run bibtex.
16147
16148 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
16149
16150         * Makefile.am (lyx_SOURCES): Remove BackStack.h
16151
16152 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
16153
16154         * Makefile.am (lyx_SOURCES): removed bibforms.h
16155
16156         * vspace.h: doxygen
16157
16158         * text.C (GetVisibleRow): make several local vars const
16159
16160         * tabular.C: small cleanup.
16161
16162         * lyxserver.C (callback): use compare instead of strncmp
16163
16164         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16165         inlines to after class or to paragraph.C
16166
16167         * lyxfont.h: remove friend operator!=
16168
16169         * converter.h: move friend bool operator< to non friend and after
16170         class def.
16171
16172         * combox.h: small cleanup
16173
16174         * buffer.h: doxygen, remove unused constructor, move inclas inlies
16175         to inlines after class def.
16176
16177         * buffer.C (pop_tag): use string operations instead of strcmp
16178
16179         * bmtable.c: doxygen, small cleanup
16180
16181         * LaTeX.h: remove friend operator==
16182
16183 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
16184
16185         * screen.C:
16186         * lyxrc.[Ch]:
16187         * lyxfunc.C:
16188         * lyxfont.[Ch]:
16189         * lyx_cb.C:
16190         * intl.[Ch]:
16191         * commandtags.h:
16192         * buffer.C:
16193         * WorkArea.[Ch]:
16194         * LyXAction.C:
16195         * BufferView_pimpl.C:
16196         * BufferView.[Ch]: remove cruft
16197
16198 2001-02-14  Juergen Vigna  <jug@sad.it>
16199
16200         * lyxfunc.C: removed #if 0 unused code
16201
16202         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16203
16204         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16205
16206         * text2.C (SetSelection): added a BufferView * parameter
16207
16208 2001-02-13  Juergen Vigna  <jug@sad.it>
16209
16210         * lyxfunc.C (Dispatch): fixed protected blank problem.
16211         * BufferView2.C (protectedBlank): added LyxText * parameter.
16212
16213         * tabular.C (AppendRow): forgot to set row_info of newly added row.
16214         (AppendColumn): same as above for column_info.
16215
16216         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16217         (moveCursorUpdate): use a LyXText param for support of InsetText.
16218
16219         * BufferView_pimpl.C (doubleClick): added support for InsetText.
16220         (tripleClick): ditto
16221
16222         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16223
16224         * BufferView_pimpl.C (update): added LyXText param to honor insets.
16225
16226         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16227
16228         * text2.C (SetSelection): set correct update status if inset_owner
16229         (ToggleFree): ditto
16230
16231 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
16232
16233         * tabular.C: remove some commented code.
16234
16235 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
16236
16237         * BufferView_pimpl.C: call hideSplash()
16238
16239         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16240
16241         * include_form.h:
16242         * bibforms.h: remove
16243
16244         * lyxfunc.C:
16245         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16246           add LFUN_CHILD_CREATE
16247
16248         * counters.h: fix tiny typo
16249
16250         * lyx_cb.C:
16251         * lyx.h:
16252         * lyx_gui.C:
16253         * lyx.C: move splash to frontends/xforms/
16254
16255         * lyx_gui_misc.C: move Include and Bibform to frontends
16256
16257         * lyxvc.h: clarify comment
16258
16259         * vspace.C: tiny housekeeping
16260
16261 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
16262
16263         * text.C (PrepareToPrint): RTL Fix.
16264
16265         * paragraph.C (GetUChar): New method.
16266         (String):  Use GetUChar.
16267
16268         * buffer.C (asciiParagraph): Use GetUChar.
16269
16270 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
16271
16272         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16273
16274 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
16275
16276         * buffer.h:
16277         * buffer.C: rename to getLogName(), handle
16278           build log / latex log nicely
16279
16280 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16281
16282         * MenuBackend.C:
16283         * MenuBackend.h: remove support for reference menuitem type.
16284
16285 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
16286
16287         * BufferView_pimpl.C: housekeeping
16288         * BufferView_pimpl.h:
16289         * LyXView.h:
16290         * Makefile.am:
16291         * Timeout.C:
16292         * Timeout.h:
16293         * minibuffer.h: move Timeout GUI-I
16294
16295 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
16296
16297         * lyxrc.C (read): Update converters data-structures.
16298
16299 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
16300
16301         * LaTeX.h (operator!=): add operator != for Aux_Info
16302
16303 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
16304
16305         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16306
16307         * LaTeXLog.C: deleted, useful code moved to Buffer
16308
16309         * buffer.h:
16310         * buffer.C: new function getLatexLogName()
16311
16312         * lyx_gui_misc.C:
16313         * lyx_gui.C:
16314         * lyxvc.C:
16315         * lyxvc.h:
16316         * lyxfunc.C: use frontends for LaTeX and VC logs
16317
16318 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16319
16320         * LaTeX.h: yet another std:: that Allan forgot.
16321
16322         * Variables.C (set): renamed from isset(), because this clashes
16323         with some HP-UX macros (grr).
16324
16325 2001-02-06  Allan Rae  <rae@lyx.org>
16326
16327         * LaTeX.h: Another bug fix.  Missing std:: this time.
16328
16329 2001-02-04  Allan Rae  <rae@lyx.org>
16330
16331         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16332         floats problem. I've left it commented out because it's not quite
16333         correct.  It should also test that the current object is a table or
16334         figure inset.  But I haven't gotten around to figuring out how to do
16335         that.  I *think* it'll be something like: "table" == inset.type()
16336
16337         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16338         bool.
16339
16340 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
16341
16342         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16343         all the citation/databases/styles in the auxilary file.
16344         (run): Rerun latex if there was a babel language error.
16345
16346 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
16347
16348         * text.C (Backspace): Preserve the font when changing newline char
16349         with a space.
16350         (BreakParagraph): If the cursor is before a space, delete the space.
16351
16352         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16353
16354 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
16355
16356         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16357         new argument (code).
16358         (ChangeCitationsIfUnique): New method.
16359
16360         * paragraph.C (GetPositionOfInset): Handle bibkey.
16361
16362 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16363
16364         * BufferView_pimpl.h: change type of Position::par_pos to
16365         LyXParagraph::size_type.
16366
16367 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
16368
16369         * BufferView_pimpl.C (savePosition, restorePosition): Write
16370         messages to minibuffer.
16371
16372 2001-01-28  José Matos  <jamatos@fep.up.pt>
16373
16374         * buffer.C (makeDocBookFile): adds support for document language.
16375         A silly restriction on the name of LatexCommand types where removed.
16376         Added support for CDATA sections, allows to chars unescaped, used
16377         among others in code, to avoid escape < and >.
16378
16379 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16380
16381         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16382         saved positions instrad of a stack. Furthermore, a position is
16383         stored using paragraph id/paragraph position.
16384
16385         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16386         Remove LFUN_REF_BACK.
16387
16388 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16389
16390         * converter.C (dvipdfm_options): New method.
16391
16392 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
16393
16394         * vspace.C (isValidLength): Fix for empty input string.
16395
16396 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16397
16398         * LyXAction.C (init): change description of LFUN_FIGURE to
16399         "Insert Graphics"
16400
16401 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16402
16403         * LaTeX.C: add using directive
16404
16405 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16406
16407         * MenuBackend.C (expand): Fix the sorting of the formats.
16408
16409 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
16410
16411         * lyx_main.C: tiny error message fix
16412
16413 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16414
16415         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16416         calling fl_initialize(). This fixes the problem with ',' as
16417         decimal separator in text files.
16418
16419 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16420
16421         * trans.C (process): Fix the keymap bug.
16422
16423 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
16424
16425         * LaTeX.C (scanAuxFiles): New method. Provides support for
16426         multiple bibliographies (when using the bibtopic/bibunits pacakges).
16427         (scanLogFile) Scan for "run BibTeX" messages.
16428
16429         * buffer.C (makeLaTeXFile): Do not load the ae package when using
16430         OT1 font encoding. Also, load the aecompl package if the ae
16431         package is loaded.
16432
16433         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16434
16435 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16436
16437         * texrow.C (increasePos): turn two error messages into debug
16438         messages.
16439
16440 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
16441
16442         * LaTeX.C (scanAux): Handle the \@input macro.
16443         (runBibTeX): Use scanAux().
16444
16445         * language.C (latex_options_): New field.
16446
16447         * LaTeXFeatures.C (getMacros): Add language macros.
16448
16449         * buffer.C (makeLaTeXFile): Small fix.
16450
16451 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16452
16453         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16454
16455         * text2.C: add a using directive.
16456
16457 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
16458
16459         * BufferView2.C:
16460         * lyx_gui_misc.h:
16461         * lyxfr1.C:
16462         * lyxfunc.C: kill LyXBell.
16463
16464 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
16465
16466         * text.C (IsBoundary): Remove the error message
16467
16468         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16469
16470         * lyxrc.C (setDefaults): Correct initialization value for
16471         font_norm_type.
16472
16473 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
16474
16475         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16476         gotoError().
16477
16478         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16479         and GotoNextNote().
16480
16481         * src/LyXAction.C: Added reference-next.
16482
16483         * text.C (InsertChar): Use contains instead of strchr.
16484
16485         * lyx_cb.C (MenuInsertLabel): Enable default value code.
16486
16487 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
16488
16489         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16490         alignment commands (when needed).
16491
16492         * text.C (InsertChar): Add ':' to number separator chars.